Best of The New Stack2022

  1. 1
    Article
    Avatar of newstackThe New Stack·4y

    Improve your TypeScript Skills with Type Challenges

    The website tsch.js.org has a collection of Typescript-type challenges with an online judge editor. It is a real-world environment for executing, analyzing, learning, and sharing TypeScript code. The objective is to offer all the components required to create brief yet complicated types.

  2. 2
    Article
    Avatar of newstackThe New Stack·4y

    Meet Bun: A JavaScript Runtime for the Whole Dev Lifecycle

    Bun is a drop-in replacement for running JavaScript and Typescript applications. It was designed to be an all-in-one tool for bundling, transpiling, and running code at lightning speed. It processes about three times more HTTP requests per second than Node.js when rendering React server-side.

  3. 3
    Article
    Avatar of newstackThe New Stack·4y

    From PHP to Next.js: What Trivago Learned Rewriting Its Web App

    Hotel search service Trivago rewrote its frontend in Typescript on the Next.js framework, replacing a PHP codebase on a homegrown JavaScript framework, Melody. From April 2020 until late 2021 the platform team created, tested and deployed the new application which reduced page size by up to 37%.

  4. 4
    Article
    Avatar of newstackThe New Stack·4y

    TypeScript Tutorial: A Guide to Using the Programming Language

    JavaScript is one of the most widely-used programming languages for frontend web development on the planet. TypeScript is a strict syntactical superset of JavaScript that aims to extend the language, make it more user-friendly, and apply to modern development. I’m going to walk you through the installation of TypeScript and get you started by creating a basic Hello, World! application.

  5. 5
    Article
    Avatar of newstackThe New Stack·4y

    Brain.js Brings Deep Learning to the Browser and Node.js

    Brain.js is a JavaScript library for deploying a neural network in the browser or on Node.js. It uses a computer’s GPU (graphics processing unit) for calculations, or pure JavaScript when GPU isn’t available. A lot of deep learning projects will continue to use the likes of TensorFlow or big company platforms like IBM Watson Studio or Google Cloud AI Platform.

  6. 6
    Article
    Avatar of newstackThe New Stack·4y

    Adobe Buys Figma: What Does this Mean for Web Standards?

    Adobe Buys Figma: What Does this Mean for Web Standards? Figma is one of the most impressive web standards-compliant tools in recent memory. It's a bitter pill for Figma users, especially since Figma was originally marketed as an open web alternative to Adobe’s proprietary desktop tools.

  7. 7
    Article
    Avatar of newstackThe New Stack·4y

    Say Goodbye to Browsers and Passwords

    Authentication is no longer a simple act of providing a username and password. It’s a journey that the user takes to confirm their identity and gain secure access to their resources. The browser is a solid choice as it gives us essential security features. Hypermedia allows users to traverse authentication steps as needed.

  8. 8
    Article
    Avatar of newstackThe New Stack·4y

    A New Architecture for APIs

    Anant Jhingran Anant is the founder and CEO of StepZen. StepZen is a startup with a new approach for simplifying the way developers access the data they need to power digital experiences. Anant: There are two tricks that databases have done well, that will revolutionize how APIs are built and managed.

  9. 9
    Article
    Avatar of newstackThe New Stack·3y

    What TypeScript Brings to Node.js

    Node.js and TypeScript have roots firmly planted in JavaScript, which came from the Java language. Both tools trace their language syntax to Java which James Gosling developed at Sun Microsystems in the 1990s. TypeScript employs static type checking to allow consistent use of variables and reduce a potential source of programming errors.

  10. 10
    Article
    Avatar of newstackThe New Stack·4y

    HTTP/3 Is Now a Standard: Why Use It and How to Get Started

    The third major version of the Hypertext Transfer Protocol, i.e. HTTP/3, was adopted last month as an IETF standard (Internet Engineering Task Force) QUIC was initially developed by Google and is the successor of HTTP/2. Companies such as Google and Facebook already use QUIC to speed up the web.

  11. 11
    Article
    Avatar of newstackThe New Stack·4y

    Where Can Heroku Free Tier Users Go?

    Salesforce Heroku announced it will cease to support the free tier for Heroku Dynos, Postgres and Data for Redis. The company also laid out its product roadmap plans, which some skeptics viewed as lackluster and a sign that Salesforce is sunsetting Heroku.

  12. 12
    Article
    Avatar of newstackThe New Stack·4y

    TypeScript Tutorial: Go beyond ‘Hello, World!’

    The entire first section defines our function that will add the values of x and y that we’ll define in the next line that looks like this. The results of running the app will print out 13.14 (because we added 3.14 to 10) This is great. What about taking input from a user? That’s possible as well as using the parseInt function. You’re on fire!

  13. 13
    Article
    Avatar of newstackThe New Stack·3y

    GitHub Now Enables You to Find and Fix Code for Free

    GitHub's Secret scanning partner program will let you scan for your secrets in your code for free. In 2022 to date, GitHub notified its partners of over 1.7 million potential secrets exposed in public repositories. The service is only available to GitHub Enterprise customers.

  14. 14
    Article
    Avatar of newstackThe New Stack·4y

    How to Use Google Sheets as a Database with React and SSR

    How to use Google Sheets as a Database with React and SSR How to Use Google Sheet as a database with React or SSR. Data is sent from the browser to a Serverless Function that securely posts to a Google Sheet. To use Serverless Functions in React you can use either Next.js or Gatsby.

  15. 15
    Article
    Avatar of newstackThe New Stack·3y

    2022 a Golden Year as JavaScript Moves to the Edge

    2022 a Golden Year as JavaScript Moves to the Edge in Jan. 2022, The New Stack raised the question: ‘Will 2022 be a Golden Age for Full-Stack JavaScript?’ JavaScript had arguably another golden year, as it spread to the edge and its frameworks proliferated.

  16. 16
    Article
    Avatar of newstackThe New Stack·4y

    Roadmap.sh and The New Stack

    Road map.sh and The New Stack Roadmap.sh have joined forces to supplement each other’s efforts in serving developers and the DevOps community. Roadmap provides roadmaps, study plans, paths, and resources for developers.

  17. 17
    Article
    Avatar of newstackThe New Stack·4y

    What Is Zero Trust Architecture?

    Zero Trust Architecture (ZTA) builds on the foundational principles of zero trust security as defined by the National Institute of Standards and Technology. NIST recommends a focus on users, assets, and resources rather than traditional network boundary defenses. Identifying critical corporate information and how a user gains access to that information must be taken into consideration.

  18. 18
    Article
    Avatar of newstackThe New Stack·4y

    What Made GoLang So Popular? The Language’s Creators Look Back

    Go was created by five Google engineers in 2009. The language is now widely used in the cloud. Go’s creators look back at what made it so popular. They point to its focus on “the overall environment” where software projects get engineered. They also credit its support for concurrency and parallelism.

  19. 19
    Article
    Avatar of newstackThe New Stack·4y

    Redis Is Not Just a Cache

    Redis is used in the broader cloud native ecosystem, fits into many service-oriented architectures. Redis creator Salvatore Sanfilippo’s approach provides a lesson in how to contribute to open source. It is daunting to get into open source development work, Madelyn Olson said.

  20. 20
    Article
    Avatar of newstackThe New Stack·4y

    Learn React: Delete Functionality and the Set State Hook

    The Read Me has all the instructions needed to get started on GitHub. The helper addTask function is going to be the middle piece between grabbing the new task from the taskbar and adding it to the array. The purpose of the add task function is to blend both hooks together then return the newTask variable to its original state of an empty string.

  21. 21
    Article
    Avatar of newstackThe New Stack·4y

    GitHub Copilot and Open Source: A Love Story That Won’t End Well?

    GitHub’s recently commercialized offering of Copilot, which delivers AI-powered code composition/auto-completion, was built upon the sourcing of code from the millions of open source projects hosted in GitHub. The Software Freedom Conservancy (SFC) joined Free Software Foundation in a recommendation to cut ties with GitHub over the creation of GitHub Copilot.

  22. 22
    Article
    Avatar of newstackThe New Stack·4y

    Why Atlassian Failed So Hard

    On April 4, Atlassian’s web services went down for about 400 customers or from 50,000 to 400,000 users. Ten days later some users still don’t have access to Jira Software, Jira Work Management, and Opsgenie Cloud.

  23. 23
    Article
    Avatar of newstackThe New Stack·4y

    Radicle: a Decentralized Alternative to GitHub for Web3

    Radicle bills itself as a decentralized code collaboration network. They’ve basically taken the familiarity of GitHub and GitLab as centralized repositories for code collaboration, and added decentralization. Radicle also integrates with ENS, so that you can directly associate a .eth domain with a Radicle identity.

  24. 24
    Article
    Avatar of newstackThe New Stack·4y

    Pyscript: A Browser-Based Python Framework for the 99%

    Pyscript is the new Python framework being developed by Anaconda. It's designed for the 99% of web users who aren’t professional developers, CEO says. Peter Wang: Pyscript was inspired by HyperCard, a pre-web development kit for the Macintosh.

  25. 25
    Article
    Avatar of newstackThe New Stack·4y

    DevOps Is Dead. Embrace Platform Engineering

    Embrace Platform Engineering DevOps is dead, and that's a bad sign for DevOps, says Scott Carey. Some developers think it's beneficial, even sometimes necessary, that they take over operations tasks. Others are indifferent, with 41.8% of respondents saying yes to operations tasks, 42.1% saying no,