Better HN
topnewbestaskshowjobs
Log inSign up

sn

300 karma · joined Jun 4, 2010 (16y ago) · 196 submissions

Submissions

comment 1w ago · link · parent

"Fixing large oopsies is just a prompt away" really depends on what you are doing.

I write software responsible for updating customer controlled devices. In theory, these devices may be in use for decades. I don't get to dictate when customers update their software. I have to use whatever software is on device as part of the update process, and the software update process really should work from every single version that's ever been deployed.

So whatever decisions I make / the team makes, generally we're stuck dealing with in some form for the device lifetime.

comment 1w ago · link · parent

A car, plane or train can travel long distances much faster than I can. I'm dependent on them for that task.

Does that mean I'm not in control of when and what I use them for?

comment 1w ago · link · parent

Yes - the probability of it getting surfaced over time increases. No grand conspiracy is needed.

I'm sure someone has made a lot of money off of it, however.

comment 1w ago · link · parent

I'm not reviewing entirely by hand - I'm using an LLM too - but I know enough to guide the LLM towards areas that look like problem areas.

comment 1w ago · link · parent

I think we're in violent agreement that the sort of code review we used to do is no longer necessary, but that some sort of review still is.

However, "doesn't scale" doesn't sound like a valid reason to skip code review to me. More code does not directly translate to more shipped features.

comment 1w ago · link · parent

I'm a principal engineer. Code reviews still matter for production software.

Maybe your opinion is that I'm not vibe coding hard enough, and if I did AI better we wouldn't need code reviews. I disagree - both engineers and LLMs are still adding unneeded complexity or choose the wrong abstractions in ways that will cause problems down the road, don't think about all the corner cases, and pick the wrong handling for error conditions. They add in things that seem like a good idea to them and don't stick to the spec.

If my company stops doing code reviews for the software that matters, I'll quit.

Engineers not in the startup crunch should aim for using LLMs to code better, not faster. Faster just creates technical debt and ups your long term costs.

comment 1mo ago · link · parent

If there's any company I trust to do this correctly, it's not NVIDIA.

It's been far too easy for me to notice security flaws in their products, and they take months to publish a fix.

comment 2mo ago · link · parent

I have already seen the LLM hallucinate prompts from me - in this case, hallucinating being asked to switch to a different programming language - because it wasn't able to complete the task asked for in a satisfactory way instead of giving up and telling me it's not able to do it.

If it doesn't already, I suspect training needs to include those no-solution scenarios and reward not overstepping bounds, or else we're going to see a lot more harmful side effects.

comment 4mo ago · link · parent

I got excited thinking maybe another one was going to be held, because it was a lot of fun to do! Oh well.

If I put my submission up on github, is that considered unethical in the days of LLMs?

comment 5mo ago · link · parent

This sounds like fun, but I'm not sure how changing build systems fixes the vendor problem. They will just ship their proprietary blobs built on top of this new build system instead of the old one, and will not change other behavior. Buying from vendors who upstream or minimally open source their work might help.

Yes, skipping builds from source can be faster, and, I don't know that you need to throw away yocto to do that https://rootcommit.com/pub/conferences/2024/elce/yocto-binar...

From the statement about "Caches builds so no piece of software is built twice." I'm guessing that the author has not enabled sstate caching https://docs.yoctoproject.org/dev/overview-manual/concepts.h...

I'm a little doubtful on the post's assertion that yocto is only needed for "deeply embedded regulated products." For products that have to follow the https://en.wikipedia.org/wiki/Cyber_Resilience_Act coming up, they will almost certainly need:

* SBOM management https://docs.yoctoproject.org/next/dev-manual/sbom.html

* CVE (or its successor) tracking https://docs.yoctoproject.org/dev/security-manual/vulnerabil...

* License management https://docs.yoctoproject.org/next/dev-manual/licenses.html

And I'll echo what some other folks have said here: if you don't need features like that, bundle your custom bootloaders and kernel with a binary distribution like Debian and call it a day.

comment 5mo ago · link · parent

There's a relatively easy technological solution to mold: buy a dehumidifier.

We bought two after moving to Ireland. Both have drainage hoses. One has a pump and empties into the kitchen sink, the other has no pump and the drainage hose empties into the shower. No more mold problems.

comment 7mo ago · link · parent

I'm not sure if I would have started using Linux but for buying an n800, so thanks for that.

We never did get around to our funeral for Nokia, sadly.

comment 8mo ago · link · parent

It's great marketing! But yes. He considers it an error to specify "Use the same knife for the jelly" even though it's considered correct to state "Wipe the knife clean before using it for jelly". The latter statement implies the former, and if you follow all the instructions both are not wrong.

I also consider some of the instructions to be under specified. For example, a piece of bread could be said to have 6 sides, but only 2 of those are helpful for making a sandwich.

comment 11mo ago · link · parent

Yes, the price is higher, maybe partially because it's not ad-subsidized. I was happy to pay it, this is what I bought: https://www.sharp.eu/sharp-nec-multisync-e868

There's historical speculation that a smart TV could connect to an open wireless access point, or more realistically, that it refuses to operate without internet access, perhaps after a certain number of power on hours.

comment 1y ago · link · parent

I think this is partially restating "try smarter, not harder" with a lot more words.

I also think it's unkind not to recognize that we have limited time and energy and it's simply not possible to address everything all at once.

IMO the better takeaway is to learn to admit when we're doing that (deprioritizing a problem we don't have the resources to address,) rather than pretending there is no choice, so it occurs to us to revisit the problem if and when there are the resources to do so. My personal approach to this would be to add it a todo list with no assigned due date.

Also, I don't know who the author is talking about, but when I read:

"These are people who could successfully launch a product in a foreign country with little instruction, but who complain that there aren’t any fun people to meet on the dating apps."

I hear someone who maybe isn't valuing romantic relationships but also views admitting that as socially taboo, so they come up with an excuse for why they're not in a relationship. I don't necessarily perceive someone who isn't applying agency to all areas of their life.

comment 1y ago · link · parent

With clothes, make it cheap so if you make the wrong decision it's not a big deal.

Also recognize you're engaging in the sunk cost fallacy by keeping clothes you don't actually want, and you're making the world better by allowing it to go to an owner who would better appreciate it.

Some more concrete ideas:

1. thrift stores

2. clothes rentals

3. clothing swaps

4. Buy the cheap version of what you think you might like (if it exists) first before buying the expensive version

5. Don't make your entire wardrobe trendy clothes. Make most of it relatively classic / basic and limit "trendy" to a subset of items.

comment 1y ago · link · parent

I am surprised to see it here too. I find it unkind.

Not that you need to hear it from me, but you will be remembered and missed.

comment 2y ago · link · parent

I'm not sure any party in office this last term could have won this election, given there was going to be significant inflation as a rebound from COVID.

comment 2y ago · link · parent

The doctors had to be so certain that it was life threatening before acting that once they decided it was life-threatening, she was already going to die no matter what they did. And this is not an isolated incident.

The law has to allow for more uncertainty for the carve-out to be effective.

comment 2y ago · link · parent

The way to do this is with MA3, not traditional AM:

https://www.federalregister.gov/documents/2020/12/03/2020-25...

"In addition, digital broadcasting allows visual and other metadata, such as song and artist identification, station identification, and emergency information, to be transmitted along with the audio content."

https://www.radioworld.com/tech-and-gear/upgrading-an-am-to-...

It looks like MA3 has a longer range:

https://www.radioworld.com/columns-and-views/guest-commentar...

comment 2y ago · link · parent

Me and my partner exclusively charge at work.

comment 2y ago · link · parent

https://zim-wiki.org/

comment 2y ago · link · parent

We are a 2 EV household. We charge exclusively at work (for free) or at public chargers.

comment 2y ago · link · parent

Yes this is Linux.

At this time we don't know exactly how much is affected and what originally drew the attention of the attacker(s).

comment 2y ago · link · parent

I wonder if there is anything else cmake related that should be looked at.

Wasn't cmake support originally added to xz to use with Windows and MSVC?

comment 2y ago · link · parent

My reading of the commit message is they're claiming the "data" should look random.

comment 2y ago · link · parent

For bad-3-corrupt_lzma2.xz, the claim was that "the original files were generated with random local to my machine. To better reproduce these files in the future, a constant seed was used to recreate these files." with no indication of what the seed was.

I got curious and decided to run 'ent' https://www.fourmilab.ch/random/ to see how likely the data in the bad stream was to be random. I used some python to split the data into 3 streams, since it's supposed to be the middle one that's "bad":

I used this regex to split in python, and wrote to "tmp":

    re.split(b'\xfd7zXZ', x)
I manually used dd and truncate to strip out the remaining header and footer according to the specification, which left 48 bytes:

    $ ent tmp2 # bad file payload
    Entropy = 4.157806 bits per byte.
    
    Optimum compression would reduce the size
    of this 48 byte file by 48 percent.
    
    Chi square distribution for 48 samples is 1114.67, and randomly
    would exceed this value less than 0.01 percent of the times.
    
    Arithmetic mean value of data bytes is 51.4167 (127.5 = random).
    Monte Carlo value for Pi is 4.000000000 (error 27.32 percent).
    Serial correlation coefficient is 0.258711 (totally uncorrelated = 0.0).
    
    $ ent tmp3 # urandom
    Entropy = 5.376629 bits per byte.
    
    Optimum compression would reduce the size
    of this 48 byte file by 32 percent.
    
    Chi square distribution for 48 samples is 261.33, and randomly
    would exceed this value 37.92 percent of the times.
    
    Arithmetic mean value of data bytes is 127.8125 (127.5 = random).
    Monte Carlo value for Pi is 3.500000000 (error 11.41 percent).
    Serial correlation coefficient is -0.067038 (totally uncorrelated = 0.0).
    
The data does not look random. From https://www.fourmilab.ch/random/ for the Chi-square Test, "We interpret the percentage as the degree to which the sequence tested is suspected of being non-random. If the percentage is greater than 99% or less than 1%, the sequence is almost certainly not random. If the percentage is between 99% and 95% or between 1% and 5%, the sequence is suspect. Percentages between 90% and 95% and 5% and 10% indicate the sequence is “almost suspect”."

comment 2y ago · link · parent

meta-conversation: why is this hacker news? What does it have to do with tech? I have enough places in my life where politics randomly intrudes.

comment 2y ago · link · parent

This was a lot of fun! I believe I copied and pasted a buggy method for detecting the number of processors from stack overflow.

comment 4y ago · link · parent

It could be that you aren't tired of coding but you're tired of coding with those languages, or for those given applications.

I personally really like the embedded space or any other role where I can lay hands on hardware, even if that's servers or networking equipment. I've worked in a data center, on gunshot detection systems, and also computer or network-controlled lighting, vehicles, and herbicide sprayers.

1234567