News for hackers. Stuff that matters.

lcvw

Re:Remote Attestation on Wednesday July 08, 2026 @09:32PM (#48839822)
I definitely want to do a post on confidential computing as well. Super cool stuff.
Re:Remote Attestation on Wednesday July 08, 2026 @09:30PM (#48839813)
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.
Re:Remote Attestation on Wednesday July 08, 2026 @08:53PM (#48839546)
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.

I don’t think that is at all accurate.

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

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.

Re:Stroustroup: We need better performance testing [pdf] on Tuesday November 26, 2024 @11:58AM (#42247392)
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.
Re:Stroustroup: We need better performance testing [pdf] on Monday November 25, 2024 @11:08PM (#42242519)
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.

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.
Re:Can solar costs keep shrinking? on Thursday August 29, 2024 @05:16PM (#41395387)
No because when the electricity is used it creates heat.
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.

Re:Flame Graphs: Making the Opaque Obvious (2017) on Friday June 28, 2024 @12:45PM (#40822423)
Doesn’t perf also support reverse callgraphs? I seem to remember doing this pretty easily with that.
That seems highly illegal. I’m not sure I believe that.
Re:On Microsoft, the U.S. Government Must Embrace the Stick on Saturday March 23, 2024 @06:20PM (#39803450)
Isn’t excel subscription only now?
Re:Heat Pumps Take on Cold Climates on Tuesday February 27, 2024 @11:03AM (#39525663)
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.
Re:The FCC wants to criminalize AI robocall spam on Friday February 02, 2024 @07:39AM (#39227906)
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.
Re:Linux runtime security agent powered by eBPF on Thursday October 19, 2023 @10:00PM (#37951447)
I don’t know about the past, but you can absolutely dereference userspace memory in ebpf.
Re:Linux runtime security agent powered by eBPF on Thursday October 19, 2023 @09:32PM (#37951231)
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.
Re:Compile time regular expression in C++ on Thursday September 14, 2023 @08:40PM (#37516722)
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

Re:eBPF Verification Is Untenable on Thursday June 22, 2023 @08:20PM (#36441082)
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.
Re:eBPF Verification Is Untenable on Thursday June 22, 2023 @08:13PM (#36441035)
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.
Re:eBPF Verification Is Untenable on Thursday June 22, 2023 @08:09PM (#36441009)
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.
Re:eBPF Verification Is Untenable on Thursday June 22, 2023 @08:06PM (#36440986)
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.

Re:eBPF Verification Is Untenable on Thursday June 22, 2023 @07:47PM (#36440837)
It requires root to use, if someone has root they’ve already owned your system anyway.
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.
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.
Those numbers are just for marketing. There is no feature on the chip that is actually 5 nm, 4 nm, or whatever.
Re:Is the Ride over for Uber? on Monday July 04, 2022 @12:07PM (#31978591)
How is it that you need the screenshot? Doesn’t the app/backend keep records of matches?
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.

Older »