> Markdown version of [/magazine/456-dev-digest-121-ai-goes-offline](https://www.wearedevelopers.com/magazine/456-dev-digest-121-ai-goes-offline). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Dev Digest 121 - AI goes offline **By:** [Chris Heilmann](https://www.wearedevelopers.com/@chris-heilmann) **Published:** May 27, 2024 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](https://cleantechnica.com/2024/06/04/data-centers-ai-are-sucking-up-huge-amounts-of-renewable-energy/) and people compare how much more expensive it is to [generate an answer rather than showing search results](https://www.scientificamerican.com/article/what-do-googles-ai-answers-cost-the-environment/). 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](https://useanything.com/), [Chatty](https://github.com/addyosmani/chatty) and [Secret Llama](https://github.com/abi/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](https://fortune.com/2024/06/04/stanford-hai-legal-ai-copilot-study-rag-llms-future-of-ai/) didn't deliver good news, **Mathew Duggan**'s [GitHub Copilot Workspace review](https://matduggan.com/reviewing-github-copilot-workspaces/) shows it failing simple tasks and [comedians tried to get AI to write their routines](https://www.technologyreview.com/2024/06/17/1093740/what-happened-when-20-comedians-got-ai-to-write-their-routines/) and failed. Poster-child AI search engine **Perplexity AI** was caught [lying about their User Agent](https://rknight.me/blog/perplexity-ai-is-lying-about-its-user-agent/), masquerading as **Chrome** to index more content and might be [susceptible to prompt injection](https://lewisdale.dev/post/perplexity-ai-is-susceptible-to-prompt-injection/). That said, AI is still a goldmine, with [**AWS** announcing a $230m pot for Generative AI startups](https://press.aboutamazon.com/2024/6/aws-announces-230-million-commitment-for-generative-ai-startups). On the weirder side of things, a [photographer won an AI-image contest](https://www.techspot.com/news/103422-photographer-wins-ai-image-contest-real-picture-gets.html) submitting a real photo. In security/privacy matters, the [**GitHub** Security Bug Bounty program is 10](https://github.blog/2024-06-11-10-years-of-the-github-security-bug-bounty-program), AI helped [finding a CSRF vulnerability in a WordPress Plugin with 100k installs](https://www.pluginvulnerabilities.com/2024/06/10/ai-helps-catch-csrf-vulnerability-being-introduced-in-to-100000-install-wordpress-plugin-modula/), and [VS Code extensions are less secure](https://www.baldurbjarnason.com/2024/vscode-extensions-are-insecure/) 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](https://www.tomshardware.com/tech-industry/disgruntled-ex-employee-costs-company-over-dollar600000-after-he-deletes-all-180-of-its-test-servers-found-server-deletion-scripts-on-google) and it isn't that hard to [reverse engineer a restaurant pager system](https://k3xec.com/td158/). ## Code and Tools In code land, Meta released a [Threads API](https://developers.facebook.com/blog/post/2024/06/18/the-threads-api-is-finally-here/), [React 19 almost slowed down the web](https://blog.codeminer42.com/how-react-19-almost-made-the-internet-slower/), Node.js has a detailed [test runner](https://nodejs.org/en/learn/test-runner/using-test-runner) writeup, and whilst [Rust grows fastest, JavaScript still reigns supreme](https://thenewstack.io/rust-growing-fastest-but-javascript-reigns-supreme/). Talking of JavaScript, we will soon get some new [promise, import, regex and error](https://socket.dev/blog/tc39-advances-key-proposals) functionality, which inspired the amazing Bruce Lawson to come up with a [TC39 song and performance](https://brucelawson.co.uk/2024/tc39-the-song/). CSS will get an [if() statement](https://lea.verou.me/blog/2024/css-conditionals/) and in general [CSS layout is awesome](https://css-irl.info/modern-css-layout-is-awesome/). If you are a visual learner, there are some lovely zines out about Git, [How Git Works!](https://jvns.ca/blog/2024/04/25/new-zine--how-git-works-/) and the delightful classic [Oh shit, git!](https://wizardzines.com/zines/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](https://www.smashingmagazine.com/2024/06/how-hack-google-lighthouse-scores-2024/) and in utterly bonkers news, you can write [Quake in 13k JavaScript](https://phoboslab.org/log/2021/09/q1k3-making-of). **Some tools for you:** - [RTranslator](https://github.com/niedev/RTranslator) is a free, and offline real-time translation Android app - [Share URL](https://nigelotoole.github.io/share-url/) makes web share, copy or sharing to social media easier. - [Blocknote](https://www.blocknotejs.org/) is an open source Block-Based rich text editor - [Clipbook](https://clipbook.app/) - clipboard history for Mac - [Smart Paste](https://research.google/blog/smart-paste-for-context-aware-adjustments-to-pasted-code/) for context-aware adjustments to pasted code - [Visual testing](https://tympanus.net/codrops/2024/06/17/how-to-visual-test-websites-with-chromatic-and-playwright/) with Chromatic and Playwright ## Videos ![Coffee with developers: Kyle Daigle - How and why GitHub works](https://wearedevelopers.imgix.net/public/magazine/articles/456/images/66747b2c30f7054fd12779e1_Kyle_Daigle_YouTube_thumbnail.png?w=720&fit=max&dpr=2&auto=format) **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](/videos/910-coffee-with-developers-kyle-daigle-coo-of-github)! **Other videos of note:** - **Dr Răzvan Ion** - [Edit Your Future: Queerverse Radical AI (32m)](/videos/909-edit-your-future-queerverse-radical-ai) - **Jo Franchetti** - [Is everything difficult, or is it just me? (58m)](/videos/907-is-everything-difficult-or-is-it-just-me) - **Ixchel Ruiz** - [One size fits all! Not at all! (1h)](/videos/906-one-size-fits-all-not-at-all) - **Kevin Powell -** [We can now transition to and from display: none](https://www.youtube.com/watch?v=vmDEHAzj2XE) - **Fred K. Schott -** [The Future of Astro is...](https://www.youtube.com/watch?v=AaCMvEXM-HQ) - **Evan You -** [10 Years of Vue: the Past and the Future](https://www.youtube.com/watch?v=OmrwRrZitv4) ## Events ![WeAre D](https://wearedevelopers.imgix.net/public/magazine/articles/456/images/666bef08ee3fb9b754dd8d8c_WWC24_black_(1).png?w=720&fit=max&dpr=2&auto=format) **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](https://youtu.be/vEUuc8yrXoc) to introduce speakers and run Q&A. [Apply now](https://www.wearedevelopers.com/world-congress/call-for-moderators)! ## Work and Jobs ![UX-8219_EB_Newsletter_WAD_20240614_waco](https://wearedevelopers.imgix.net/public/magazine/articles/456/images/66747b2bd991c12427c6edbb_UX-8219_EB_Newsletter_WAD_20240614_waco.png?w=720&fit=max&dpr=2&auto=format) **Tech Staff wanted!** [Verivox](https://www.verivox.de/) 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](mailto:mehak-ali.shahid@verivox.com) Are you suffering from [Senior Engineer Fatigue](https://luminousmen.com/post/senior-engineer-fatigue)? Are you sure your [designers feel engaged](https://matejlatin.com/blog/designer-engagement-report/) in your company? And what are your [personal red flags when you're interviewing](https://news.ycombinator.com/item?id=40649536)? ## Procrastination Corner / Wonderful Weird Web - [Odd One Out](https://artsandculture.google.com/experiment/odd-one-out/wAHNn4JsVTFOiw) - can you detect the AI generated image? - [Pong with a twist](https://github.com/raould/pn0gstr0m?tab=readme-ov-file) - [Lunar Lander's 55 year old bug](https://arstechnica.com/gaming/2024/06/retired-engineer-discovers-55-year-old-bug-in-lunar-lander-computer-game-code/) - [Exhaustive survey of rickrolling in academic literature](https://arxiv.org/abs/2204.06826) ## What's happening at WeAreDevelopers… **WeAreDevelopers LIVE** , our online event series. Next is [Java Developer Day](https://www.wearedevelopers.com/event/java-developer-day-september-2024). on 11th of September. We are always looking for presenters, [apply for LIVE days here](https://sessionize.com/wearedevelopers-live-2024-season-8). ## WeAreDevelopers World Congress 17-19 July 2024 · Berlin Find out [who speaks](https://www.wearedevelopers.com/world-congress/speakers) and [**get your 15% Dev Digest discount ticket**](https://ti.to/wearedevelopers/world-congress-2024/discount/WWC24_DevDigest)! ## Related Articles - [WeAreDevelopers Dev Digest Issue 116 - The new search wars…](https://www.wearedevelopers.com/magazine/445-wearedevelopers-dev-digest-issue-116-the-new-search-wars) - [Dev Digest 132 - Binging WADFlix?](https://www.wearedevelopers.com/magazine/473-dev-digest-132-binging-wadflix) - [Dev Digest 120 - Apple and peers](https://www.wearedevelopers.com/magazine/455-dev-digest-120-apple-and-peers) - [Dev Digest 123 - Easy as A, B, C1](https://www.wearedevelopers.com/magazine/459-dev-digest-123-easy-as-a-b-c1) ## Related Videos - [WeAreDevelopers LIVE – Keeping Up with Styles, Data & More](https://www.wearedevelopers.com/videos/1803-wearedevelopers-live-keeping-up-with-styles-data-more) - [WeAreDevelopers LIVE - Did AI or JS break the web?, Finding gems in the days of AI and One thing developers really need to know ](https://www.wearedevelopers.com/videos/1352-wearedevelopers-live-did-ai-or-js-break-the-web-finding-gems-in-the-days-of-ai-and-one-thing-developers-really-need-to-know) - [WeAreDevelopers LIVE - Dapr / Pixels and Generative Art / Open Source and Communities / and more](https://www.wearedevelopers.com/videos/1720-wearedevelopers-live-dapr-pixels-and-generative-art-open-source-and-communities-and-more) - [WeAreDevelopers LIVE - Should We Respect LLMs? Is Rust Taking Over? Developers as Content Creators and more](https://www.wearedevelopers.com/videos/1335-wearedevelopers-live-should-we-respect-llms-is-rust-taking-over-developers-as-content-creators-and-more) ## Related Jobs - [Senior Software Engineer](https://www.wearedevelopers.com/jobs/ext/15942-senior-software-engineer) at **GitHub** - [AI Software Engineer (Germany)](https://www.wearedevelopers.com/jobs/48317-ai-software-engineer-germany) at **Sunhat** - [Staff Developer Advocate, GitHub Security Lab](https://www.wearedevelopers.com/jobs/ext/1921051-staff-developer-advocate-github-security-lab) at **GitHub** - [Remote Senior Full-Stack Engineer](https://www.wearedevelopers.com/jobs/ext/679408-remote-senior-full-stack-engineer) at **Edge Impulse** - [Remote Senior Full-Stack Engineer](https://www.wearedevelopers.com/jobs/ext/643147-remote-senior-full-stack-engineer) at **Edge Impulse** - [Remote Senior Full-Stack Engineer](https://www.wearedevelopers.com/jobs/ext/683045-remote-senior-full-stack-engineer) at **Edge Impulse**