FullStack Bulletin

Subscribe
Archives
July 22, 2024

🤓 #382: Poku: a cross-platform JavaScript test runner

A TypeScripter's Take on Zig, why-is-node-running, How fast is JavaScript, Malicious internet traffic, AWS let us be cloud engineers, Unethical design

View this email in your browser

Logo

Hello dear,

Welcome to issue #382!
Last week I was on holiday, so I edited this issue from sunny (and rather hot 🥵) Sicily! I had lots of time to read and keep myself up to date while enjoying the seaside, so I hope you'll appreciate the content I selected for this issue because the full-stack love never goes on holiday! (OK, I admit this one was a bit cringe, sorry!) 😝
ENJOY!
Your (sunburnt) editor, Luciano!

“All of the biggest technological inventions created by man - the airplane, the automobile, the computer - says little about his intelligence, but speaks volumes about his laziness“

— Mark Kennedy , Author

Reverse Engineering TicketMaster's Rotating Barcodes (SafeTix)

Poku: a cross-platform JavaScript test runner —  Poku is a new JavaScript test runner that promises to make it easy to write tests for projects that need to run on Node.js, Deno, and Bun. If you are creating a library that you want to ensure is well supported on all these different runtimes, Poku should make writing the tests quite easy following the spirit of "Write once, run it everywhere". I haven't tried this yet, but it seems like a good candidate for my financial library, which now has dedicated tests for different runtimes... which is a pain for maintenance! 🥲 View project

A TypeScripter's Take on Zig — What can Zig learn from TypeScript, and what can TypeScript learn from Zig? If you are into languages, this intro should be captivating enough! 😀 Read article

why-is-node-running — When writing JavaScript scripts (pun intended), you might accidentally end up allocating resources that will keep your Node.js process running indefinitely. If you are expecting your script to do something and then exit, this can be a problem... A new package, originally named why-is-node-running, is here to help you figure out what keeps your Node.js process from exiting! BTW, I was curious to see how this module was implemented and, by looking at the code, I discovered that this is a great example to see how useful Node.js async_hooks can be! View Repository

How fast is JavaScript? Simulating 20,000,000 particles —  The challenge, simulate 1,000,000 particles in plain JavaScript at 60 fps on a phone using only the CPU. This one is one hell of an experiment with really fascinating results. It doesn't run as smoothly on my Macbook Pro M2 in power-saving mode, but it's still impressive and you can easily reduce the number of particles to get better results that can suit your hardware! Experiment aside, there's lots to learn here about LOW_LEVEL JavaScript. Read article

Cloudflare reports almost 7% of internet traffic is malicious— Cloudflare's 2024 State of Application Security Report reveals a sharp rise in online threats, with malicious traffic hitting 6.8%. The rapid exploitation of vulnerabilities and the surge in sophisticated DDoS attacks underscore the urgent need for robust security measures. As API traffic grows and automated bots become more prevalent, understanding these threats is crucial to safeguarding your applications. Read article

Dear AWS, please let me be a cloud engineer again — My friend Luc is an AWS Serverless Hero and a principal engineer at an AWS-centric logistics company. Luc builds lots of cool stuff on AWS including the brilliant AWS News Feed. In this article, he makes the point that AWS is shifting their approach more and more to follow the current AI hype and it looks like they are forgetting about cloud engineers and what they need to succeed. I couldn't agree more with this post. If you are a heavy AWS user, you'll probably relate to this one too! Read article

Collection of Dark Patterns and Unethical Design — Nothing upsets web developers and UX designers more than some unhealthy dark patterns when you spot them on a random website! But to be fair they are also ingenious and interesting at times! On this website, you can discover a variety of dark pattern examples, sorted by category, to better understand deceptive design practices. My favourite? The roach motel! 🪳 Read article

Fluent Python: Clear, Concise, and Effective Programming

by Luciano Ramalho

Fluent Python: Clear, Concise, and Effective Programming

Don't waste time bending Python to fit patterns you've learned in other languages. Python's simplicity lets you become productive quickly, but often this means you aren't using everything the language has to offer. With the updated edition of this hands-on guide, you'll learn how to write effective, modern Python 3 code by leveraging its best ideas. Discover and apply idiomatic Python 3 features beyond your past experience. Author Luciano Ramalho guides you through Python's core language features and libraries and teaches you how to make your code shorter, faster, and more readable. Complete with major updates throughout, this new edition features five parts that work as five short books within the book:

  • Data structures: Sequences, dicts, sets, Unicode, and data classes
  • Functions as objects: First-class functions, related design patterns, and type hints in function declarations
  • Object-oriented idioms: Composition, inheritance, mixins, interfaces, operator overloading, protocols, and more static types
  • Control flow: Context managers, generators, coroutines, async/await, and thread/process pools
  • Metaprogramming: Properties, attribute descriptors, class decorators, and new class metaprogramming hooks that replace or simplify metaclasses

Buy on Amazon.com

Buy on Amazon.co.uk

The FullStack love never ends! 💖

  • Animating the Dialog Element
  • An update on invokers: Invoker commands in HTML
  • Understanding and implementing micro-frontends on AWS
  • Is AI part and parcel of web dev?
  • Parsing raw data with existential types
  • How to deploy your React app using Container Registry
  • JPEG History: Compressing It Down, Keeping The Essence
  • You are not looking for remote work

👋 That’s all for this week. See you next Monday!

Greetings from your full stack friends Luciano & Andrea

🙌 Support us

If you enjoy FullStack Bulletin, consider sharing this newsletter with your friends and colleagues.


If there's something we can improve, let us know!


You can also sponsor the next issue!

Website iconTwitter iconMastodon icon

Copyright (C) 2024 FullStack Bulletin. All rights reserved.
*|IFNOT:ARCHIVE_PAGE|*

FullStack Bulletin is a FREE weekly curated newsletter for ambitious full stack developers. We sift the internet for builders, covering frontend, backend, databases, DevOps, and architecture to find what truly matters. Expect practical picks, clear takeaways, and fresh ideas that cut the noise, sharpen your skills, and fuel your creativity so you can put them to work right away.

*|END:IF|*

Our mailing address is:
*|IFNOT:ARCHIVE_PAGE|**|HTML:LIST_ADDRESS|**|END:IF|*

Want to change how you receive these emails?

You can update your preferences or unsubscribe

Don't miss what's next. Subscribe to FullStack Bulletin:
Powered by Buttondown, the easiest way to start and grow your newsletter.