HNHacker News
TopNewBestAskShowJobs

lcvw

526 karma · joined May 30, 2021

liamcvw.com
submissionscomments
lcvw··on Remote Attestation
I definitely want to do a post on confidential computing as well. Super cool stuff.
lcvw··on Remote Attestation
I think consumer devices should have opt-outs for sure. But personally I am much more comfortable with myself and my family having fully locked down apple phones then anything else on the market right now, precisely because of how difficult it is to get persistent malware into that ecosystem.
lcvw··on Remote Attestation
I mean, all tech can be used in different ways. My experience has been much more on the preventing root kits side, rather then vendor lock in.

Yes, there can be exploits, but hardware exploits over a restricted interface (TPM2) are significantly rarer then normal software vulns. Everything is about risk mitigation, there is no perfect security.

lcvw··on When the sun will literally set on what's left of the British Empire
I don’t think that is at all accurate.

https://en.m.wikipedia.org/wiki/British_genocide

lcvw··on Ask HN: SWEs how do you future-proof your career in light of LLMs?
I’ve carved out a niche of very low level systems programming and optimization. I think it’ll be awhile before LLMs can do what I do. I also moved to to staff so I think a lot of what I do now will still exist with junior/mid level devs being reduce by AI.

But I am focusing on maximizing my total comp so I can retire in 10-15 years if I need to. I think most devs are underestimating where this is eventually going to go.

lcvw··on Stroustroup: We need better performance testing [pdf]
I see safety issues all the time, even from mid level and seniorish devs who are not 100% familiar with cpp. I think it really depends on your codebase. Things like parsers tend to explode when you first put them in a fuzzer.
lcvw··on Stroustroup: We need better performance testing [pdf]
I feel like he is missing the boat here. C++ is on a path to dying as a language because of a lack of safety features, and he’s talking about zero cost abstractions. Exceptions cause massive compiler issues and are hardly zero cost anyway, I don’t know how he can compare them at all to std::expected. Also anyone who has worked in an exception heavy codebase can attest to the fact that they do not lead to simpler code.

I have worked with C++ almost every day for a decade now, and I’ll be sad to see it go. This is not what the thought leaders should be focusing on at all. If you’re unhappy with std:: expected just don’t use it? Why can’t we focus on fixing the thousands of security vulnerabilities that cause real harm and money and endless developer time to try to work around.

lcvw··on Mobile phones not linked to brain cancer, biggest study to date finds
How could it be? The radiation wavelength is far too high to cause any sort of chemistry. I know there are those that will still believe it does though.
lcvw··on Can solar costs keep shrinking?
No because when the electricity is used it creates heat.
lcvw··on United States discloses nuclear warhead numbers; restores nuclear transparency
My understanding is that the theory behind nuclear winter is that all of the nuked cities will ignite, and the massive firestorms will eject ash into the upper atmosphere where it will persist for years. Aka you still need to blow up some cities to cause the winter.

Also nuclear winter is somewhat controversial, I don’t know what the latest model results are.

lcvw··on Flame Graphs: Making the opaque obvious (2017)
Doesn’t perf also support reverse callgraphs? I seem to remember doing this pretty easily with that.
lcvw··on Microsoft ties executive pay to security after multiple failures and breaches
That seems highly illegal. I’m not sure I believe that.
lcvw··on On Microsoft, the U.S. Government Must Embrace the Stick
Isn’t excel subscription only now?
lcvw··on Heat Pumps Take on Cold Climates
Is there a way to get your house (currently with hydronic gas heat) retrofitted for heat pumps that doesn’t result in either a ton of demo or ugly lines all over the exterior? I tried to switch over last year only to find the savings were not that great in my climate, and that it would have an unacceptable aesthetic cost.
lcvw··on The FCC wants to criminalize AI robocall spam
There is a legal loophole campaigns use where if a text message was sent by a human it’s not considered spam. So of course a program exists that dispatches the message you want to send to a call center and they dial the thousands of numbers you want by hand.
lcvw··on Linux runtime security agent powered by eBPF
I don’t know about the past, but you can absolutely dereference userspace memory in ebpf.
lcvw··on Linux runtime security agent powered by eBPF
As someone who uses bpf for security monitoring every day, every one of those problems is a has a workaround. And the only real competitor is writing a kernel module which has serious safety issues.
lcvw··on Compile time regular expression in C++
One of the stated benefits is that the compiler optimizer can optimize the regex state machine that gets created, resulting in significantly faster match times at runtime. There are some benchmarks if you look up her cppcon talk about the library iirc.

Edit: here is her talk, at 39 minutes she shares the benchmarks. https://m.youtube.com/watch?v=QM3W36COnE4

lcvw··on eBPF Verification Is Untenable
You can write ebpf programs in rust. Bpftrace generates programs from an awk like language, you can make the program however you want. Solana does it with rust, I don’t know what it gains you though given the verifier protecting you from most of the pitfalls of C.
lcvw··on eBPF Verification Is Untenable
I feel that this proposal defeats the entire purpose of ebpf. The point is to have a bytecode language that can do simple processing in the kernel. This code is frequently generated adhoc, such as with bpftrace. I don’t like all the limitations that currently exist in bpf, but just replacing it with rust and signature verification basically turns this into kernel modules all over again.
lcvw··on eBPF Verification Is Untenable
It’s worth noting the verifier doesn’t verify C code, it verifies the compiled ebpf bytecode. You can generate that bytecode from rust (the solana cryptocurrency does this) but you still need to verify the actual instructions since someone can just write whatever they want by hand.
lcvw··on eBPF Verification Is Untenable
1. Using eBPF requires root

2. The verifier checks memory bounds access, guarantees termination in a certain number of instructions, and restricts function calls to a limited number of helper functions provided by the kernel.

3. BPF code runs on a vm, think like the jvm. It’s impossible to express a lot of nasty stuff given the restrictive bytecode language.

There have been bugs in the verifier, but overall it works very well, the biggest issue being that it drastically limits the complexity of your program.

lcvw··on eBPF Verification Is Untenable
It requires root to use, if someone has root they’ve already owned your system anyway.
lcvw··on Japan Breaks with U.S. Allies, Buys Russian Oil at Prices Above Cap
Agreed. Russia and China have alienated every one of their neighbors by invading them, trying to take them over economically, and other bs. The US is the global hegemon mainly because of fear of Russia/China, which is not going to go away short of regime change imo.
lcvw··on Nvidia Unveils CuLitho: A “Breakthrough in Computational Lithography”
You need the mirrors to focus the light. X-rays have been tried and they had problems, such as requiring the use of gold to block the x-rays in the mask.
lcvw··on Apple orders entire supply of TSMC's 3nm chips for iPhone 15 Pro and M3 Macs
Those numbers are just for marketing. There is no feature on the chip that is actually 5 nm, 4 nm, or whatever.
lcvw··on Is the Ride over for Uber?
How is it that you need the screenshot? Doesn’t the app/backend keep records of matches?
lcvw··on New California law requires high schools to start later
High school has sports and activities though. I know many families that use the sports team as if it were a day care. If they do sports the kids usually get out somewhere between 4:30 and 5:30. Where I live now, a lot of the high schoolers are in school 7:30-5:30. It’s pretty ridiculous, since they also have homework. Many high schools seem to be in the process of transforming themselves into juvenile prisons designed to keep teenagers away from the rest of society.
lcvw··on New California law requires high schools to start later
Depends on the school district. Growing up my district did it younger->older, my partner’s did it the reverse. I think it’s considered my progressive to do older kids later since they tend to go to bed later.
lcvw··on Purdue Starts Comprehensive Semiconductor Degree Programs in U.S.
Intel (and similar fab companies as well) is famous for even treating it’s phds as menial process engineers. When I graduated the only Intel fab jobs I was qualified for were in Indonesia or some other SE Asian country, and descriptions were basically “you are the SEM person, you do SEM all day.”

I know a surprising amount of people who came out of CNSE (without following up with grad school) and are now landscapers, waiters, or similar. The skillset is so specialized as to be almost worthless unless you can find the right role imo. Also the program there CNSE/SUNY Poly is absolute hot garbage, I advise active looking at this field to go into conventional EE, ChemE, or Materials.

Page 1 of 2Next →