HNHacker News
TopNewBestAskShowJobs

bialpio

888 karma · joined June 23, 2016

FIRE. All opinions are my own and do not represent my employer, whom I don't have.
submissionscomments
bialpio··on Microsoft is open sourcing Windows 11's UI framework
You need to ask OP, I don't know what they meant, just how I personally understood it.
bialpio··on Coffeematic PC – A coffee maker computer that pumps hot coffee to the CPU
Was a reference to https://xkcd.com/1172/ intentional here?
bialpio··on Microsoft is open sourcing Windows 11's UI framework
> Your passion projects are not even considered to probably the vast majority of the world; that doesn't make you a loser.

Not OP but I understood this as "contributing for free to a project owned by a corporation worth more money than you could realistically spend in a lifetime is what makes you a loser".

bialpio··on H-1B program grew 81 percent from 2011 to 2022
> If it's top talent, then they should be forced to pay them the wage of a US worker, if not more.

They are forced to do that, and they in fact do that.

Source: I was hired by one big tech company as an H-1B worker (I was a new grad) over a decade ago (2012), my salary was ~15% higher than what the chart says for "class of 2014".

bialpio··on OpenAI’s Windsurf deal is off, and Windsurf’s CEO is going to Google
I'm assuming it's this:

https://news.ycombinator.com/item?id=44538243

bialpio··on FP8 is ~100 tflops faster when the kernel name has "cutlass" in it
Seems like a bad idea to rely on a name for deciding this then, unless it's documented somewhere that using names containing certain substrings may trigger unsafe optimizations...
bialpio··on Is an Intel N100 or N150 a better value than a Raspberry Pi?
You may be looking for "AC line splitter".

One example: https://www.harborfreight.com/15-amp-professional-ac-line-sp...

Edit: s/splicer/splitter, damn autocorrect.

bialpio··on Jemalloc Postmortem
> I picked the 5001st largest file with includes. It's zoom_view_controller.cc, 140 lines in the .cc file, size with includes: 19.5 MB.

> Initially I picked the 5000th largest file with includes, but for devtools_target_ui.cc, I see a bit more legitimacy for having lots of includes. It has 384 "own" lines in he .cc file and, of course, also about 19.5 MB size with includes.

> A C++20 source file including some standard library headers easily bloats to a little under 1 MB IIRC, and that's already kind of unreasonable. 20x of that is very unreasonable.

I think you're not arguing pro-forward-declarations vs anti-forward-declarations here though - it sounds more like an argument for more granular header/source files? In .cc file, each and every include should be necessary for the file to compile (although looking at your example, bind.h seems to be unused and could be removed - looks like the file was refactored and the includes weren't cleaned up).

With that said, in the corresponding zoom_view_controller.h, the tab_interface.h include looks to be unnecessary so you did find one good example. :)

bialpio··on Jemalloc Postmortem
> Because in current code, it was ~all includes last time I checked.

That's another matter - just because forward-declares are allowed, doesn't mean they are mandated, but in my experience the reviewers were paying attention to that pretty well.

Counter-exeamples to "~all includes": https://source.chromium.org/chromium/chromium/src/+/main:thi..., https://source.chromium.org/chromium/chromium/src/+/main:thi..., https://source.chromium.org/chromium/chromium/src/+/main:thi....

I picked couple random headers from the directory where I've contributed the most to blink, and from what I'm seeing, most of the classes that could be forward-declared, were. I have not looked at .cc files given that those tend to need to see the declaration (except when it's unused, but then why have a forward-decl at all?) or the compiler would complain about access into incomplete type.

> Well, I remember one - very biased - example where I had a look at a class that was especially expensive to compile, like 40 seconds (on a Ryzen 7950X) and maybe 2 GB of RAM. It had under 200 LOC and didn't seem to do anything that's typically expensive to compile... except for the stuff it included.

Maybe the stuff was actually being compiled because of some member in a class (so it was actually expensive to compile). Or maybe you stumbled upon a place where folks weren't paying attention. Hard to say without a concrete example. The "compile firewall" was added pretty recently I think, but I don't know if it's going to block anything from landing.

Edit: formatting (switched bulleted list into comma-separated because clearly I don't know how to format it).

bialpio··on Jemalloc Postmortem
Chromium deviates from Google-wide policy and allows forward-declarations: https://chromium.googlesource.com/chromium/src/+/main/styleg..., "Forward declarations vs. #includes".
bialpio··on Denmark to raise retirement age to 70
Not sure how it works in Denmark but in Poland you have to work certain amount of years (20-25) to qualify for retirement even though the retirement age is 60-65. The amount you get depends on how much you paid into the system, so you will get less for not working, but it'll not prevent you from receiving the pension. And in the US, you become eligible for pension after just 10 years of paying into the system.
bialpio··on The Windows Subsystem for Linux is now open source
"natively" is the key word here, this looks like a 3p hack.
bialpio··on The Windows Subsystem for Linux is now open source
Last time I checked, Windows 11 lost this capability and 3p solutions like Windhawk are needed. I'd be very happy if they brought this back though, feel free to share a link to some info about how to do it natively.
bialpio··on Strain gauge made out of PCB
TIL it may not necessarily be a misspelling: https://en.m.wikipedia.org/wiki/Wayback_Machine_(Peabody%27s...
bialpio··on $70M in 60 Seconds: How Insider Info Helped Someone 28x Their Money
Do you have more links handy about the situation in Portugal? I'd love to read more about that.
bialpio··on AR Computers to Terminate Eyestrain and Myopia
Then you're probably gonna be causing VAC: https://en.m.wikipedia.org/wiki/Vergence-accommodation_confl...
bialpio··on Alphabet spins out Taara – Internet over lasers
Tello is actually what I use for my secondary data, Fi is my main (mostly because I travel somewhat and the data costs the same in all the destinations I care about without having to juggle SIM cards).

I'm not a good case study because I rarely use more than 2gb in a month, so Mint would come closer to $10 a gig... :)

bialpio··on Alphabet spins out Taara – Internet over lasers
Who's your provider if you don't mind me asking?
bialpio··on Amazon plans to lay off 14,000 managerial positions to save $3.5B yearly
I think the main difference is that programmers have (or should have) more transparent processes that they go through (code reviews, design doc reviews / signoffs, CI/CD to catch mistakes) compared to managers. Granted, I'm an IC so I know more about those - maybe managerial roles have similar ways to ensure you catch the "bad" early enough.
bialpio··on Alphabet spins out Taara – Internet over lasers
And yet probably everyone you know in EU has a cheaper Internet per GB that folks in the US. I have 2 SIM cards, one provider charges me $10/GB, while the other has a 2-GB packet for $6.
bialpio··on Johnny.Decimal – A system to organise your life
When I saw Simone Giertz's build, I immediately wished she'd start selling those. https://www.youtube.com/watch?v=H175G8NH2Cg - "A chair built for your half-dirty clothes". I'd love this to be my "3rd basket".
bialpio··on Nearly half of Steam's users are still using Windows 10
Paying? I believe my Windows 10 got upgraded to Windows 11 for free. IIRC this OS install that I'm using originally started as a Windows 8 and I didn't have to pay to upgrade it even once, but may be misremembering...
bialpio··on Wild – A fast linker for Linux
How is the problem of "you signed a CLA without authorization by your employer to do so" solved? I'm mostly asking because I saw the following:

"I will not expose people taping out Hazard3 to the possibility of your employer chasing you for your contribution by harassing them legally. A contribution agreement does not solve this, because you may sign it without the legal capability to do so (...)"

https://github.com/Wren6991/Hazard3/blob/stable/Contributing... (this is I believe the repo with design for riscv cores running on RPi Pico 2)

bialpio··on Is the world becoming uninsurable?
It helps with availability of materials if people don't expect to have like 500sqft per person. But that's not how modern houses are built in US, at least not in my neck of the woods (Seattle suburbs). As for the quality of housing, I'm from ex-Soviet satellite state and lived in a prefab apartment block - yeah, it was a bit dated but no major problems with quality that I could tell. The main nuisance was lack of acoustic insulation.
bialpio··on TSMC begins producing 4-nanometer chips in Arizona
For context, https://www.rubyhome.com/blog/swimming-pool-stats/ estimates that there are ~500k residential pools in Arizona. Note that those will likely be smaller than a half olympic-size swimming pool.
bialpio··on "America Is in Decline": Truth or Informational Indoctrination?
I found it funny that it tried to use some economic indicators to gauge the state of the economy but failed to mention any metric related to wealth inequality and income inequality.
bialpio··on Debugging memory corruption: who the hell writes "2" into my stack? (2016)
WDYM? The root cause is "you passed ownership to stack-based memory to the kernel and didn't ensure it's valid when it called you back", why would "consent of lower frames" matter here? Exceptions (where lower frames matter) hid the control flow here, but that's one way to reach this situation (early return is another way, as shown by Raymond Chen's post).
bialpio··on Where can you go in Europe by train in 8h?
Gotcha. It's the same for me on an airplane (I think maybe because I'm unable to fall asleep on my back), but I didn't have problems on the sleeper train.

Do you think it's the noise for you, the movement, or something else (like lack of privacy)? I started taking earplugs with me for any kind of trip now, they are a godsend.

bialpio··on Where can you go in Europe by train in 8h?
"sleeper train" is the key here. Another keyword to search for is "couchette", I think that's how it's called in some places. See e.g. https://en.wikipedia.org/wiki/Couchette_car and the map.
bialpio··on Love being interrupted when my monitor asks me to accept user agreements
Dum spiro, spero. ; )

I forgot to add that the device doesn't seem to support DDC/CI, so input-switching via software is also out the window (TBH, that is what I hope they fix in the future).

← PreviousPage 3 of 17Next →