Hello fellow developer, let's take a look at the cost of AI and its efficiency, catch up on security issues and sing the praise of new JavaScript and CSS features.
News and Articles
The way we use AI these days seems powerful, but it isn't very efficient. This shows up in a spike in energy consumption of data centers and people compare how much more expensive it is to generate an answer rather than showing search results. One answer to work around that would be to host LLMs on your own computer. There are several options to do so, there's Use Anything, Chatty and Secret Llama to mention but a few. It is also worth while to question the effectiveness of LLMs, for example a study of AI copilots for lawyers didn't deliver good news, Mathew Duggan's GitHub Copilot Workspace review shows it failing simple tasks and comedians tried to get AI to write their routines and failed. Poster-child AI search engine Perplexity AI was caught lying about their User Agent, masquerading as Chrome to index more content and might be susceptible to prompt injection. That said, AI is still a goldmine, with AWS announcing a $230m pot for Generative AI startups. On the weirder side of things, a photographer won an AI-image contest submitting a real photo.
In security/privacy matters, the GitHub Security Bug Bounty program is 10, AI helped finding a CSRF vulnerability in a WordPress Plugin with 100k installs, and VS Code extensions are less secure than browser extensions or even npm packages. Yes, they are more powerful, but also have fewer users. A disgruntled ex-employee costs his company over $600k by deleting all 180 test servers and it isn't that hard to reverse engineer a restaurant pager system.
Code and Tools
In code land, Meta released a Threads API, React 19 almost slowed down the web, Node.js has a detailed test runner writeup, and whilst Rust grows fastest, JavaScript still reigns supreme. Talking of JavaScript, we will soon get some new promise, import, regex and error functionality, which inspired the amazing Bruce Lawson to come up with a TC39 song and performance. CSS will get an if() statement and in general CSS layout is awesome. If you are a visual learner, there are some lovely zines out about Git, How Git Works! and the delightful classic Oh shit, git! got an upgrade. Our runner-up winner of CODE100 Manchester, Salma Alam-Naylor published an article on Smashing magazine about hacking Google Lighthouse scores In 2024 and in utterly bonkers news, you can write Quake in 13k JavaScript.
Some tools for you:
- RTranslator is a free, and offline real-time translation Android app
- Share URL makes web share, copy or sharing to social media easier.
- Blocknote is an open source Block-Based rich text editor
- Clipbook - clipboard history for Mac
- Smart Paste for context-aware adjustments to pasted code
- Visual testing with Chromatic and Playwright
Videos
Kyle Daigle is the COO of GitHub and we caught up with him live at Merge Festival in Berlin to talk shop. Check out what's happening behind the scenes on GitHub!
Other videos of note:
- Dr Răzvan Ion - Edit Your Future: Queerverse Radical AI (32m)
- Jo Franchetti - Is everything difficult, or is it just me? (58m)
- Ixchel Ruiz - One size fits all! Not at all! (1h)
- Kevin Powell - We can now transition to and from display: none
- Fred K. Schott - The Future of Astro is...
- Evan You - 10 Years of Vue: the Past and the Future
Events
Call for moderators!
On the 17th to 19th of July we will run the WeAreDevelopers World Congress in Berlin and we are still looking for stage moderators to introduce speakers and run Q&A. Apply now!
Work and Jobs
Tech Staff wanted!
Verivox has been helping households save money for almost 25 years. In order to continue to grow and start new exciting projects, the well-known comparison portal is looking for experts from the Product, Tech and Data departments. Work in central locations in Heidelberg, Berlin, Munich, Leipzig or remotely from the mobile office. Send your CV directly to mehak-ali.shahid@verivox.com
Are you suffering from Senior Engineer Fatigue? Are you sure your designers feel engaged in your company? And what are your personal red flags when you're interviewing?
Procrastination Corner / Wonderful Weird Web
- Odd One Out - can you detect the AI generated image?
- Pong with a twist
- Lunar Lander's 55 year old bug
- Exhaustive survey of rickrolling in academic literature
What's happening at WeAreDevelopers…
WeAreDevelopers LIVE, our online event series. Next is Java Developer Day. on 11th of September. We are always looking for presenters, apply for LIVE days here.
WeAreDevelopers World Congress 17-19 July 2024 · Berlin
Find out who speaks and get your 15% Dev Digest discount ticket!