HNHacker News
TopNewBestAskShowJobs

wmil

3,544 karma · joined May 27, 2010

submissionscomments
wmil··on Slice of Life: Pizza Orders Soar in D.C
It was all over Twitter/X. Google has live reporting of how busy shops are.

In DC pizza orders were unusually high and gay bars were unusually empty.

wmil··on Do grayscale images take less space?
JPEG / JFIF isn't really smart enough to take advantage of that. It's a file format from 1992, CPU speed was limited.
wmil··on Do grayscale images take less space?
Yeah the "without visual impact" bit is a lie. People working in image / video compression are in denial about the noticeable quality drop with 4:2:0. 4:2:0 is extremely noticeable if your computer monitor gets into that mode.

There are some major failure cases involving alternating single pixel width red / black lines. That caused issues with DVDs because the format also used interlaced frames, meaning things like red tail lights at night could end up looking awful.

Luckily AFAIK they've given up on interlacing.

I really think with modern tech they'd be better off trying to compress 4:4:4 instead of immediately throwing out a lot of colour information.

wmil··on I learned Vulkan and wrote a small game engine with it
OpenGL is deprecated on MacOS, so there's an argument that it's on it's way out and may not be supported in the future.
wmil··on Rethinking Text Resizing on Web
It's the intersection of a few problems.

- Scaling / reshaping a UI is a fundamentally hard problem that people love to pretend is easy. There are all kinds of tradeoffs that need to be made based on the layout. Which text needs to be preserved? When is it appropriate to show ellipsis? Should padding be dynamic? Apart from CSS another major attempt was GridBagLayout in early Java, which was also a mess.

- Designers tend to be visual arts people who aren't of the correct personality type to dive in and solve all of the nitty gritty issues when making their design. They also like to make complex designs to show how creative they are. They also use their superior social skills to rope high level people to develop and approve the designs with them so that things are final before a dev gets to have a look. Once that happens ego comes into play and they can't be simplified.

- CSS fundamentally doesn't have the correct tools to solve a lot of the issues. CSS first came out in 1996. Line clamping seems like an obvious problem to solve. Yet 28 years later we're still stuck with a prefixed -webkit-line-clamp. In general CSS sees overflowing text as a problem it doesn't want to deal with.

wmil··on Make timelapses easily using FFmpeg
To be fair, pulling out a professional video editor for small changes is like learning emacs to edit some config files. You don't need 99% of the features.

Also as an FYI to everyone, FFmpeg does support nVidia GPU acceleration but it might not be enabled in your build. So check if you use it a lot.

wmil··on A fourteen-day free trial ain’t gonna cut it
It'd be pretty hilarious if GoLand switched to a mobile pricing model where the IDE is free... But you have to use build gems to run things. You get a fixed number of build gems a week then you can buy more fro $9.99 or $19.99.

Your debug gems would recharge after watching a short ad.

wmil··on How to Use JSON Path
Those become a bit messier if store or book can be null.
wmil··on How to Use JSON Path
This first came out in 2007 without picking up much popularity, so I wouldn't worry about it becoming widespread.
wmil··on A Single Div
Depends what you mean by hand coded. When the page was made vector graphics tools couldn't just output to CSS. I'm not sure if they can now.

However some of divs were probably made by drawing in a vector tool that could export to text then converted with a script.

wmil··on A Single Div
Each little doodle is a single div. Or rather each one has a container div that they don't count. Then the main div that they do count. Then content inserted with ::before and ::after that they don't count.

It's interesting as a creative exercise. However I've alway found that abusing ::before and ::after is a bad practice. The desire for "clean" html is silly, clear html is easier to maintain.

wmil··on I now lack the juice to fuel the bluster to conceal that I am a simpleton
It's a mistake to internationalize it, the terms are usually used in the American context.

Black usually means the descendant of slaves. When Obama was starting his political career there was some debate in the Black community about if he really counted as Black, since he didn't really have much contact with the Black community until his 20s and his history is quite different.

White typically means descendants of various waves of settlers with limited ties to any specific European country. Generally they can trace their lineage to a mix of early and later arrivals. With a strong bias towards northern Europe.

Hispanic generally meant Mexican, Cuban, or Puerto Rican. Which were fairly geographically distinct communities in the 90s so one word for all three didn't cause much confusion.

wmil··on I now lack the juice to fuel the bluster to conceal that I am a simpleton
No one has more issues with Toronto writers who claim to be part of the "Canadian literary underground" than other Canadians.
wmil··on Tax consequences of WIN95 team members keeping a piece of software for testing
I think there are two Ctrl+C actions. The normal copy, which wouldn't be active for an ms-dos application. However there's a second Ctrl+C to cancel a long paste operation.

Pasting in Windows / Mac is more complex than most devs these days realize, you can copy vector graphics between MS Office and Adobe Illustrator and it will work out a transfer format.

Being able to cancel a long paste was an important feature.

wmil··on Doom Captcha (2021)
Can you make one based on the WoW fishing minigame? ie they need to click on the bobber at the right time.

I'm not expecting it to last longer, but there really should be some decent fishing bots at this point.

wmil··on Intel Brags of $152B in Stock Buybacks. Why Does It Need an $8B Subsidy?
If you're going to stretch the difference that much the why not go all out?

CEOs are constantly attempting to manipulate the stock price by trying their best to do a good job.

wmil··on Why is the LinkedIn app almost half a gig?
I'm suspicious that long initial loads and things like login queues are actually an advantage.

The user doesn't want to end there session until they are sure that they won't want to play for the next hour. They might quit a fast loading game after 15 minutes because it's so easy to start again when they want to.

wmil··on Why is the LinkedIn app almost half a gig?
IT departments like to controll all app permissions using just Active Directory because it simplfies their lives.

Teams uses Active Directory, and they can argue it's "good enough".

wmil··on Programmers are bad at managing state (2020)
"There are only two hard things in Computer Science: cache invalidation and naming things.

-- Phil Karlton"

This is cache invalidation.

wmil··on Mark Russinovich: "There is industry consensus on moving away from C/C++"
Combined with the US GOV statements, it may be the case that new projects for the federal gov won't be allowed to use C++ without a good reason.
wmil··on When every ketchup but one went extinct (2022)
Banana ketchup (dyed red) became popular in the Phillipines during and after WWII. There were tomato shortages.

Huy Fong Foods Sriracha is basically just red jalapeno ketchup.

If you can switch your brain to thinking of it as grape dipping sauce you'd probably like it.

wmil··on Feds want to ban the Flipper Zero – Experts say it's a scapegoat
The problem they are trying to solve is the perception they aren't doing anything to stop organized car theft.

Banning the Flipper is a minimal effort way to minimize it as an election issue.

wmil··on Homemade Pasta. Now Is the Time (2021)
This is something that always confuses me about cooking and commercial products.

Apparently making it at home, freezing it, and using it later is easy.

Having someone else make it, freeze it, then sell me the frozen product is somehow impossible and lower quality.

wmil··on How Much Architecture Is "Enough?"
You'll know your architecture is complex enough when diagrams of it land you a big raise at a new company.

Until then you need more services.

wmil··on ICANN proposes creating .INTERNAL domain to do the same job as 192.168.x.x
I think it's just reserving .internal for that use. So a network admin has a guarantee that he'll never have to deal with an external .internal domain.

Whereas something like .pri for private might one day be set up as a new TLD.

wmil··on Show HN: Phrasing – learn every language, to any level
The phrases weren't loading for me and it was the most obvious problem. They are working now.
wmil··on Show HN: Phrasing – learn every language, to any level
`env.js` is returning html for me and thus throwing an error.

Is it working for everyone else? Is this a cloudflare config problem?

wmil··on Helium is essential but nonrenewable and difficult to recycle
Worse, oil wells frequently flame off natural gas because it's not economical to capture it from those wells.

So there are layers of waste.

wmil··on Password may not contain: select, insert, update, delete, drop
They'll probably use the disclamer as an excuse to blame you if something breaks.
wmil··on Dynamic programming is not black magic
Effective web caching is black magic.
← PreviousPage 3 of 34Next →