I was really rooting for Microsoft with its ChatGPT integration into the Bing search engine. You might have seen the hype, including the hilarious controversy around Bing’s ChatGPT threatening journalists and being easily provoked.
After a few weeks of closed access and insurmountable hype, Microsoft has opened the floodgates to many more people, and Bing’s ChatGPT integration is a dismal disappointment.
Perhaps the passive-aggressive and threatening nature of Microsoft’s ChatGPT integration forced their hand. Still, after trying it for a while, it’s clear it isn’t a rival to the original ChatGPT anymore. Despite having access to up-to-date information, it has been dumbed down as it’s obvious Microsoft has cut both legs off to get it under control.
I have been dual-booting Ubuntu Linux on my main desktop PC for development. Docker on macOS and Windows with WSL suffers from severe I/O performance issues for “reasons”. Docker is infuriating to use outside of Linux, so I started looking for alternative builds.
My primary 3900x gaming PC feels a little sacrilegious to use as a dedicated Linux machine to run some virtual machines and a Webpack server. I am not solving cryptographic problems here, so I just primarily need storage and ram; a decent CPU helps.
The PlayStation VR 2 is Sony’s second attempt at a virtual reality headset. The PlayStation 4 had a PSVR headset, but it was marred by screen door, performance issues, a cacophony of cables and dildo-like move controllers with a convoluted tracking process. The PSVR 1 had some great titles but never felt like an adequately supported device.
My first foray into the PSVR 2 as someone experienced with virtual reality headsets was enjoyable. My point of reference is my HP Reverb G2 headset which is similar in specs to the PSVR 2 but is frustrating to use as I have encountered numerous problems with Steam VR and Windows Mixed Reality software. The PSVR 2 is comfortable, and getting lost for hours is easy.
When hiring front-end developers, there are many ways to evaluate candidates’ skills and abilities. However, some assessment methods can be exclusionary, while others may not accurately reflect the type of work the candidate will do.
In this article, we’ll explore some efficient ways to test front-end developer hires without relying on coding puzzles and algorithms and how to be mindful of inclusivity.
I come from a self-taught background, a time when self-taught invited increased scrutiny because being self-taught in the early to mid-00s wasn’t as common as it is now. We have numerous online courses, boot camps and other resources. When I learned to code, these thick phonebook-like books that came with one or more CD-ROM discs with software and code examples were how many learned.
If you’re distributing a package, say a plugin, you may want to test it against multiple Node versions (especially if you’re using Jest for tests). In my situation, I have a popular plugin for Aurelia called Aurelia Google Maps. It’s for Aurelia 1, but many people use it, so I wanted to test it against the LTS of Node and the latest version.
name: Node.js Jest Tests on: [push, pull\_request] jobs: build-and-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} cache: 'yarn' - name: Install dependencies run: yarn install - name: Run Jest tests run: yarn test strategy: matrix: node-version: [18.x, 19.x] You will want to save this file in your .github/workflows directory at the root of your project. You can save it as whatever you want: run-tests.yml
I hate to be “that guy” that publishes a blog post and says, “Stop using X” and “Why you should be using X instead”, but after a recent situation in some code I wrote ages ago and updated, I felt it was worthy writing a blog post about why you should use globalThis instead. That’s not to say if you’re currently using window that you’re wrong (because globalThis aliases window in a browser context). However, by using globalThis, you can save yourself a lot of trouble, especially in unit tests.
If you have an application that has HTML imports like this import template from './my-component.html and then attempt to test this code in Jest 28+ (or previous versions, for that matter), you will get a syntax error similar to this one:
SyntaxError: Unexpected token ‘<’ HTML
Fortunately, there is an easy fix. Firstly, you need to install the package jest-html-loader. npm install jest-html-loader -D. Then you need to configure your Jest configuration as follows.
It’s been well over a decade since I started my journey as a front-end developer. I’ve worked on numerous projects, built and maintained websites, and developed applications. I have numerous open-source projects and am on the Aurelia Javascript framework core team. Over the years, I’ve gained experience and learned a lot of things, but there are still times when I feel like I don’t know what I’m doing.
I know I’m not alone in this. As developers, we face a lot of challenges, big and small. From dealing with complex algorithms to fixing simple bugs, obstacles always exist. But despite my experience, I still get caught up in stupid bugs, struggle to install and configure packages and spend hours stuck on things that ultimately have simple solutions.
TypeScript is a statically-typed superset of JavaScript introduced by Microsoft in 2012. It’s a language that some developers love to hate, but over the years, TypeScript has won over many sceptics, becoming an essential part of many modern JavaScript projects.
You now have developers that once hated TypeScript liking it. Perhaps one of the most known developer advocates to get their TypeScript stance wrong was Eric Elliott, who published an article where he discusses a TypeScript tax. To Eric’s credit, he doesn’t say not to use TypeScript but attempts to argue against its use.
The widespread tech layoffs over the past few months, and in January and February 2023 alone, have been causing concern for some. Is it a sign of a possible recession and economic avalanche that will see the unemployment rate skyrocket in different countries?
I am not an economist, so this is just more observational. But, I don’t believe the widespread tech exodus we are currently witnessing is symptomatic of an economic storm battering down on the tech sector. It’s a correction.