HNHacker News
TopNewBestAskShowJobs

darzu

1,016 karma · joined January 7, 2015

https://darzu.io/
submissionscomments
darzu··on Valve Releases Proton 8.0-1c
Tabloids being forced upon you: https://www.tomshardware.com/news/windows-keeps-feeding-tabl...

Microsoft account horribleness eg: https://www.jeffgeerling.com/blog/2023/my-daughters-school-t...

Win key being unbindable for app specific shortcuts.

Windows update undoing all user preferences https://twitter.com/rygorous/status/1504572255665201154?s=46...

Janky crashes: https://twitter.com/litherum/status/1279164544544157696?s=46...

Forced internet accounts: https://twitter.com/rianflo/status/1589346472335937536?s=46&...

I could go on. A lot of these i found just searching “windows update” amongst people i follow on twitter.

darzu··on Apple passwords deserve an app
My biggest complaint is that it doesn’t keep a history! One misclicked “remember password” at the wrong moment (safari plugin often guesses password fields wrong) and you’ve just locked yourself out of your bank account. Literally happened to me.
darzu··on Give babies peanut butter to cut peanut allergies, study says
Considering peanut allergies are ~1:50 - 1:200, that would be a lot of dead infants and I think that would show up in stats and news.
darzu··on Advanced Compilers: Self-Guided Online Course
Adrian is a great guy and I highly recommend all his content.

For undergrad level PL, I highly recommend Dan Grossman's MOOC[0] or recent class recorded lectures[1]. Dan's thesis work strongly influenced Rust's borrow checker.

Disclosure: Dan advised me in undergrad and Adrian is a friend.

[0] https://www.coursera.org/learn/programming-languages

[1] https://courses.cs.washington.edu/courses/cse341/19sp/ (ctrl-f "Videos")

darzu··on Chicago sold rights to 36k parking meters for $1.2B that generate $200M per year
Just take it back, pay compensation. People r so scared to set a bad precedent for future business deals and yet businesses repeatedly don’t care about leveraging every advantage they have for profit over people.
darzu··on CheatGPT
Personally I hate this question.

And I get it in every interview. Somehow my brain just doesn't care to remember the gritty details for tough bugs. I'll spend days on a bug but soon after I solve it I'll only remember the actionable takeaways like "next time I should try using X tool sooner" or "check your assumptions on Y part of the stack".

I think it's because I never spend any time revisiting that bug in my mind. I've got new problems to solve. You need to revisit something to remember it.

darzu··on A personal update from Susan
> Google offered Pichai $50 million and Mohan $100 million, respectively, to stay

Huh, they thought he was twice as valuable as Pichai at the time.

darzu··on Ugly Gerry – Gerrymandering font
sure you can, but you might not want to go that small.

(simple proof is to turn everything into triangles.)

darzu··on More developers use Linux than Mac, according to 2022 StackOverflow survey
The sampling biases are _really_ important here, stated another way:

Of developers who use WakaTime, most use Windows.

Of developers who answer StackOverflow surveys, most use Linux.

These aren't contradictions.

darzu··on Facebook increased satisfaction and usage by sending fewer notifications
“Reasonable” is doing some heavy lifting, but i just spent another 10 minutes hunting through all the in-app settings menus I could find and I haven’t found a way to disable these alerts.

They certainly don’t want you to disable deal notifications and make it very difficult to do so.

It’s like the old quote about fire extinguishers: if you don’t know where one is, it doesn’t exist. If a reasonable effort cannot find the setting, it doesn’t exist.

darzu··on Facebook increased satisfaction and usage by sending fewer notifications
Why? It’s our government (in theory), no reason we shouldn’t make laws to the benefit of the people.

When the private sector consistently refuses to self regulate bad behavior, the law can and should step in.

darzu··on Facebook increased satisfaction and usage by sending fewer notifications
Ads via notifications should be regulated.

For example, I have notifications enabled for Amazon because I need to know when a delivery is coming but they’ll use that channel to spam me about “deals”. There’s no reasonable way to disable all these ad-via-notifications.

darzu··on Facebook increased satisfaction and usage by sending fewer notifications
Citation? I got a lot of crap notifications for years and years and have completely abandoned FB at this point b/c of the low signal to noise.
darzu··on RadTrike Electric Tricycle
Yes, the Specialized is much lighter. I mention still being able to hang the bike because that's the situation where I notice the extra weight the most. If I couldn't, it would have been a deal breaker for me.
darzu··on RadTrike Electric Tricycle
I've a friend with an electric Specialized, and while his bike looks cooler my Rad is faster, half the price, with much better millage, and I can still hang it from the wall in my apt.

One thing I've noticed is that pretty much every established bike company is placing the motor on the pedal crank, whereas Rad uses a much bigger (750w in my case) in-wheel hub motor. The acceleration with a hub motor is so much better and doesn't depend on what gear I'm in.

darzu··on RadTrike Electric Tricycle
Just to add a different anecdote: I have a 2021 radrunner I use daily in Seattle (hilly & rainy), love it, and I have non of these complaints. I have 4 friends with Rads who love them as well.

I don't doubt any of your experiences, but I mention this so readers can get more perspectives.

Perhaps one significant difference between us is that Rad has a showroom / repair shop in Seattle, although I haven't needed them for anything other than easier parts pickup (fenders and break pads.)

darzu··on Why is Rosetta 2 fast?
If you're feeling inclined, here's a slew of questions:

What was the most surprising thing you learned while working on Rosetta 2?

Is there anything (that you can share) that you would do differently?

Can your recommend any great starting places for someone interested in instruction translation?

Looking forward, did your work on Rosetta give you ideas for unfilled needs in the virtualization/emulation/translation space?

What's the biggest inefficiency you see today in the tech stacks you interact most with?

A lot of hard decisions must have been made while building Rosetta 2; can you shed light on some of those and how you navigated them?

darzu··on Why is Rosetta 2 fast?
Should you feel inspired to share your learnings, insights, or future ideas about the computing spaces you know, me and I'm sure many other people would be interested to listen!

My preferred way to learn about a new (to me) area of tech is to hear the insights of the people who have provably advanced that field. There's a lot of noise to signal in tech blogs.

darzu··on Why is Rosetta 2 fast?
Does anyone know the names of the key people behind Rosetta 2?

In my experience, exceptionally well executed tech like this tends to have 1-2 very talented people leading. I'd like to follow their blog or Twitter.

darzu··on Why is Rosetta 2 fast?
You gotta think there's been a lot of churn and lost knowledge at the company between PPC->x86_64 (2006) and now though.
darzu··on Elon Musk owns Twitter: The story so far
I beg to differ. Especially if you care about outcomes.
darzu··on I help seniors with technology issues
Yes. Technologists seem to have a blindspot around Chromebooks even though they are quite popular.

Related rant to OP: compute power is so ubiquitously affordable nowadays that there is no excuse for apps to be slow even on these cheapest new devices.

I recently made a 3D game in my custom engine for the Ludum Dare 51 game jam[0] and I was shocked to see it run at a solid 50fps on a $118 IdeaPad 3[1].

50fps means every _20ms_ the game does at least:

- builds an oct-tree and auxiliary data structures for 1000+ physics objects, traverse this to find collisions, solve all physics constraints, compute new transform matrices for each obj.

- serialize and upload each object, view, and scene data to the igpu (no dedicated gpu)

- do vertex transformations on ~25k vertices + rasterize 30k triangles TWICE: once for the main camera, once for the shadow camera; rendering to 5 textures/gbuffers

- run two post processing passes over 1,049,088 pixels, doing outline + concavity detection, vignette, and gamma correction (18 texture samples per pixel).

- all the game logic including: reading inputs, character controller, firing cannons, updating projectiles, splintering meshes, updating game state, audio, UI, custom ECS query engine, etc.

The whole payload, unminified code + 3D assets + sound + textures, is 1.2mb over the wire. This is an engine I built over the last ~year in javascript(!), so it's not had nearly as much optimization as Unity etc.

And yet every day I encounter websites and apps that fail to be responsive to even basic button clicks. There's no excuse for this.

[0] https://ldjam.com/events/ludum-dare/51/darkstar-sailor

[1] https://www.amazon.com/gp/product/B087YW8FQB/ref=ppx_od_dt_b...

darzu··on I help seniors with technology issues
FTFY: The last TWO competitors to the current duopoly failed because they didn't gain traction, and they were both a multi billion dollar companies.

Windows Phone and Fire Phone.

darzu··on Sound
For those looking for more interactive content like this, albeit with more of a game dev focus, I highly recommend https://www.redblobgames.com

One of my favorite articles is this one on hex grids: https://www.redblobgames.com/grids/hexagons/ it blew my mind the first time I noticed that all the interactions and code change when you toggle between "flat topped" and "pointy topped".

darzu··on We're moving on from Firebase
https://liquidbit.com/killer-queen-black-update%EF%BF%BC/

Killer Queen Black is shutting down due to GameSpark being sunsetted. The game was released 2019.

darzu··on We're moving on from Firebase
AWS GameSparks. Being shut down end of November and bringing down one of my favorite games with it, because the devs were foolish enough to believe what you believe, that AWS sticks with its products.
darzu··on Algebraic Geometry for Computer Graphics
UW receives 37% of its funding from the state, the rest comes from tuition[0]. In 2002, it was 70% from the state. And of tuition, at least ~25% of that comes from public sources (grants, subsides loans)[1].

And even if some public universities are self-sustaining now, that doesn't lessen the fact that public money was the major cause that started that flywheel.

And regardless of funding, UW, like all public universities, has an explicit directive to operate for the "benefit of present and future citizens of the State of Washington"[2][3].

As for course lecture quality, if it's worthwhile to the students, it can be worthwhile for the public.

[0] https://www.washington.edu/opb/uw-data/fast-facts/ [1] https://educationdata.org/how-do-people-pay-for-college [2] https://www.washington.edu/regents/ [3] https://apps.leg.wa.gov/RCW/default.aspx?cite=28B.20.130

darzu··on Algebraic Geometry for Computer Graphics
Maybe it should be required that public or publicly funded universities have a set of relatively up-to-date lecture recordings for each course. Since covid, I know for a fact most UW CSE courses were/are being recorded and saved to Canvas CMS for students who miss lecture/have covid/worry about covid/etc. These should be made public!

The hairiest issue here is when there's student participation. But you don't need each quarter to be online, just once every time there are significant course changes. The quarter that will be uploaded could be announced as such and students could consent to being recorded. But this isn't a big deal, MIT has a lot of open courseware with students being recorded. It'd be easy to survey and compare student experiences with/without recordings. But the benefit for the public could be enormous! Think about the public good of every publicly funded university's courseware being accessible online for free.

darzu··on Artist uses DALL·E 2 generated image as a base for beautiful illustration
See the time-lapse at the bottom of the page to see Krzysztof Maziarz's process.

I found this to be an interesting example of generated art being used in the workflow of traditional art.

darzu··on DALL·E 2 prompt book [pdf]
Try MidJourney; 25 free images i think, any aspect ratio
← PreviousPage 2 of 7Next →