HN user

Swizec

24,653 karma

Swizec is a software engineer, instructor, blogger, vlogger, conference speaker, and author.

He's published several books and video courses including ReactForDataViz.com, ServerlessReact.Dev, Data Visualization with D3.js, and the work-in-progress SeverlessHandbook.Dev . He has trained the engineering teams from multiple Fortune 500 companies on React, Redux, GraphQL, Serverless, and other modern web technologies.

My work has been featured in Business Insider, LifeHacker, Huffington Post, and several dead-tree magazines. I’ve spoken on BBC Radio, appeared on Slovenian national television, and given talks all over the world.

Publishing regularly on https://swizec.com

Posts432
Comments5,896
View on HN
www.theatlantic.com 13d ago

The Age of Reading Is Over

Swizec
2pts1
swizec.com 15d ago

Theory of constraints, AI, and code review

Swizec
2pts0
jfdi.bot 2mo ago

AI Generated Content Broke the Social Contract

Swizec
2pts0
www.commerce.senate.gov 5mo ago

Gen Z first generation since 1800's with lower cognitive performance

Swizec
66pts46
swizec.com 5mo ago

The future of software engineering is SRE

Swizec
265pts138
www.hhs.gov 6mo ago

United States Completes WHO Withdrawal

Swizec
119pts39
www.scalingfastbook.com 7mo ago

Show HN: I wrote a book about software engineering in startups

Swizec
1pts0
github.com 1y ago

Doom-Like Game in DuckDB

Swizec
1pts0
www.economist.com 1y ago

What happens when a hegemon falls?

Swizec
6pts1
fee.org 1y ago

Trade wars lead to shooting wars and depressions (2018)

Swizec
6pts0
www.youtube.com 1y ago

Fiber optic drones are changing combat operations

Swizec
52pts54
www.huffpost.com 1y ago

Musk proposes ignoring all regulation

Swizec
38pts8
www.economist.com 1y ago

Americans' love affair with big cars is killing them

Swizec
8pts4
swizec.com 1y ago

Why SQL Is Forever

Swizec
3pts0
twitter.com 1y ago

Nike loses 25B market cap after investing in DTC marketing

Swizec
5pts1
www.crossrivertherapy.com 2y ago

54% of Americans have a below sixth grade reading level

Swizec
3pts9
www.morningstar.com 2y ago

Nvidia's now worth as much as the entire Chinese stock market

Swizec
8pts1
en.wikipedia.org 2y ago

Herman Potočnik – the man who invented space stations in 1929

Swizec
3pts1
www.joinprospect.com 2y ago

What stage startup offers the best risk-reward tradeoff?

Swizec
1pts0
www.economist.com 2y ago

Winston Churchill: From Prisoner to Prime Minister

Swizec
3pts0
www.washingtonpost.com 2y ago

Law enforcement took more stuff from people than burglars did last year (2015)

Swizec
73pts9
www.reuters.com 2y ago

Fed flags end of rate hikes

Swizec
20pts0
sfstandard.com 2y ago

A $13.5M Dirt Lot Explains San Francisco'sHousing Crisis

Swizec
34pts0
swizec.com 2y ago

Lessons learned from running GPT-4 on lots of data using the same task

Swizec
1pts0
blog.google 3y ago

Turn ideas into music with MusicLM

Swizec
195pts148
www.bloomberg.com 3y ago

ARM Files for IPO

Swizec
3pts0
www.economist.com 3y ago

“Leave now if you ever will”: running from mortar fire in Sudan

Swizec
3pts0
www.youtube.com 3y ago

Manufacturing Consent

Swizec
1pts0
www.whatispoint.xyz 3y ago

Show HN: Browser extension to summarize the key insight from articles with GPT

Swizec
2pts0
swizec.com 3y ago

Squash Merge … really?

Swizec
1pts0

Owning your own home does not align with the density required for a city to function

Much of Europe would like a word. I grew up in a block of flats where everybody owned. 16 apartments, around 60 people, lived on the footprint of a typical American house. All our parents were homeowners, together they owned the building. Two buildings actually and the land they stood on.

So a total of 32 apartments, 120 people, a small parking lot, and a bit of green lawn owned by the people who lived there and self-governed through a sort of HOA. Little communities like this were extremely common in the city.

Nowadays with my generation homeownership is becoming a little more rare. Still people own apartments in these self-governed buildings, but many have become priced out. Too much demand not enough build.

We can't prove a program will always halt, but we can check it halts in a specific execution.

The computer scientist says “The halting problem cannot be solved, I have proven it” and the software engineer goes “30 second timeout, if the answer’s not ready by then we don’t need it”

how some group would go about preserving a problem like homelessness, even unintentionally

Simplistic version: San Francisco spends roughly $100,000/year on each homeless person. In services, salaries for people working on it, rent for office buildings etc. I am willing to bet many of these people would not be homeless if we just gave them $100,000/year without all the middle bureaucracy layers.

where a preselected tip is selected. Default should be no.

A lot of this push to higher and higher and preselected tip options comes from POS software providers (Square et al) and credit card companies. They make money on transaction volume. Higher transaction -> more fees

You really shouldn’t make speeding up to make the light a habit

I agree! In this particular case we were dealing with bumper-to-bumper traffic, a light that takes many minutes, and very few cars making every green light. It took us 20 minutes to wait our turn. I really didn't want to wait for another cycle. 2 more cars rushed behind me.

Like I said: We need rush hour mode

Then there's the collision detection thing. It's basically guaranteed to beep at me whenever I enter my parents' narrow street with cars parked on both sides.

Some of my worst driving experiences have been with collision detection + auto brake.

You try to enter a narrow steep hill driveway and it slams on the brakes with half your car hanging out into [potentially] oncoming traffic. Thanks, car

Or you try to speed up across a wide open intersection because the light is about to turn and it slams on the brakes because there's cars on the other side waiting for the next light down the block. Plenty of room to stop after you've cleared the intersection mind you, but hte car really really doesn't like that you sped up from 25mph to 31mph when it thinks you should be slowly coasting to a stop.

On the other hand, driving a motorcycle, I love other people's auto brake. Makes lane splitting (at reasonable speed deltas) easier because every Tesla will tap the brakes when you cut into its lane.

Anyway, I wish driving assists had rush our mode. They're pretty decent in average conditions but ho boy tightly packed aggressive rush hour traffic is hell in a modern car. So much beeping and constantly fighting with the assists.

Just this week I had a package that was supposed to be delivered by Monday that lost tracking and didn't show up until Wednesday.

This is the sort of problem you solve with more funding not privatization.

Here’s how these privatizations work:

1. Cut funding for public service

2. Service becomes bad

3. Cut more funding because service is bad and unused

4. Service becomes worse

5. Privatize

6. Strip the service for parts, a bunch of people get rich, classic PE stuff but worse

7. Start extracting rents, you have a nice monopoly

8. Public has no or worse service for higher cost

On cigarettes 24 days ago

This must have had an effect, beyond health. Surely?

Watch old music videos and TV or movies, everyone looks so old! You’ll have 30 year olds running around looking 50.

Then you look at modern media and think “Wow look at that 30 year old baby” and the person is pushing 50. Everyone looks so young these days! Cigarettes age your skin super fast.

And if they want to keep their jobs they have to comply.

Worse still, many mariners are effectively prisoners and can become trapped if corporate decides to cut them loose without also providing passage off the vessel

Stranded sailor allowed to leave abandoned ship after four years https://www.bbc.com/news/world-middle-east-56842506

Stuck at sea for years, a sailor’s plight highlights a surge in shipowner abandonment https://apnews.com/article/abandoned-seafarers-labor-unpaid-...

the point from GP was that both cars brake/ decelerate at the same rate

Point is that’s not always true. If they are the same type of car, and the car happens to be the kind with downforce, then their rate of deceleration greatly depends on air speed. A downforce car decelerates faster at higher speeds.

This is why you often see race cars lock their wheels towards the end of the braking zone, never at the beginning. The driver has to release the brakes as the car decelerates because there’s less friction available. You go from pulling 4G at the beginning of the braking zone to pulling the usual 1G once your speed drops enough for downforce to become negligible.

Alos! Many non-race cars actualy produce lift. Meaning the faster car decelerates at a slower rate than the slower car (0.8G vs 1G), making the effect from OP even more pronounced.

The blue car, using ½mv², shed (~70²=) 4900 units of energy (we'll hand wave away the constants). So the red car, which had (100²=) 10000 units of kinetic energy to start, also shed 4900 units, which means it had 5100 units of energy when it collided, and so was going (√5100~) 71

But if the cars produce downforce this is no longer true because you brake harder (more friction available) at higher speeds!

This is how F1 cars pull 4G when breaking. Some custom cars (like one of Ken Block’s last monsters or the Valkyre) use active aero braking to even greater effect.

While vehicle sizes are indeed trending upward in Australia and Europe, giant SUV and especially giant truck penetration in both countries is still far behind US levels

Many big SUVs are flat out illegal in Europe, you’d need a small truck license. It’s hard to comprehend how large American cars are unless you’ve lived in both places.

For example:

we took an Uber to the airport for our annual pilgrimage back home. We had 4 suitcases this time because new babies need gifts. In USA we got picked up by a sedan and everything fit in the trunk. In Europe we rented an SUV and had to break down the rear seats to fit everything.

big companies need to self police and if a child can reach their service they have to pay the child like lets say GBP 10k per instance?

HIPAA has been super effective this way. As we all know, American companies don’t give two shits about user privacy or even security. But wave the HIPAA flag and everyone starts caring real hard and taking extremely cumbersome steps to comply with patient privacy.

Very simple: Each HIPAA violation comes with a financial penalty for the business and personal penalty for every person involved in the leak. Very effective.

(we’re celebrating 250 years - some folks in Europe live in houses older than that!)

We used to smoke weed on the roman wall behind my friend’s high school. Very popular hangout spot. Lots of people using it for rock climbing practice (you’re not far off the ground and can climb laterally for hundreds of meters).

The local castle, about 1000 years old, is a popular makeout spot for teens.

I lean very heavily towards outcome based prompting. Say exactly what do you want achieved and then maybe give some constraints, ie. what definitely not to do.

I do this when writing stories/projects/issues/epics for humans. Works great.

If you read any management book published in the last ~70 or so years, you’ll find that “Make sure people understand the goal” is the ultimate hack. They even use this in militaries!

“go take that hill” works a lot better than “walk 50ft to the right and shoot at those bushes”. You always get what you ask for :)

Yet! It is the next frontier

While researching my book I read papers from the 80’s saying this. If you get a good enough spec and define the contracts and architecture, you then just hand off implementation to juniors/offshore/etc

So far has not worked. Maybe this time!

We’re still missing a good way to express and measure architectural quality

Architectural complexity[1]! There’s several really good papers on this.

Unfortunately it never caught on and we don’t have great automated tools to spit out a number. Also the majority of people just don’t care enough. Research in this field kinda died out when we invented microservices and started treating those as a silver bullet to The Architecture Problem (it’s not [2])

[1] https://swizec.com/blog/why-taming-architectural-complexity-...

[2] https://youtu.be/y8OnoxKotPQ

As far as I could tell, nothing was substantially different from the Ellsworth translation and the Fable translation.

Crucially the full translation was part of ChatGPT’s training set. Recall is a pretty solved problem in machine learning.

How well does it translate a French novel published yesterday? Where neither the original novel nor any translations are in the training set yet? Or might not even exist!

I tried asking ChatGPT to translate a letter I wrote in Slovenian this weekend. It got the general gist but missed a lot of the nuance. Completely missed several of the little touches of tone where the right choice of synonym conveys a whole bunch of information.

Until that time, such countries would just not have access to systems before they were bulletproof.

Correct, most jurisdictions do not allow businesses which cannot be held liable for their actions. This is pretty core to a modern society.

Imagine if a company selling Knicks tickets was not expected to then actually provide said tickets and there was simply nothing you could do about it. Oopsies our sales page is for entertainment purposes only

To be fair, the internet has spent some 30 years figuring out how this works and it’s still not fully resolved. For the most part we’ve agreed that companies must follow the laws of both where they live and where they operate. This wasn’t always obvious!

Good. The true mark of AGI is when a company accepts liability and doesn’t bury “for entertainment purposes only” deep in their TOS. Same as it works with employees.

Same for self-driving. Your car is not self-driving until it accepts liability and you count as just a passenger.

But watch as Germany soon loses AI Google results.

Did they think, as they worked to transfer final say from users to corporations, by technical means, that politicians couldn't transfer that control to themselves by political means?

Makes me think of the most sobering line I ever saw in a museum (Berlin): The biggest atrocities were committed by people with a spreadsheet and a performance goal.

Now, a comparable energy budget we used to use "deciding what to build" (because labour was scarce) is now energy we can divert toward "unbuilding stuff that was a mistake"

The hard part is that you very quickly become Salesforce or Jira or <insert large confusing product>.

You have thousands of users who love your product and pay lots of money and find the features absolutely essential to their workflow. Everyone says your product is bloated and has too many useless features, if only you could delete a bunch of crap they don’t use your software would be perfect.

They all use a different 20%. Delete a feature, lose a fifth of your users.