Better HN
topnewbestaskshowjobs
Log inSign up

theamk

9,713 karma · joined May 4, 2016 (10y ago) · 4,088 submissions

Submissions

comment 6h ago · link · parent

"Unlike regular computers, where a single installed malware has full access to all user's files and secrets, Android phones have pretty strong app isolation - one can install banking app and random downloaded game side-by-side and not worry about malware in the game getting access to banking. However, this strong isolation can be bypassed by "rooting" phone, which can be done by user (for example to debug phone software) or by malware (like the NoVoice malware which infected and rooted over 2.3 million phones via old exploits). While remote attestation cannot prevent such malware, it can detect it and lock out the selected apps. Sure, the malware will gain access to all user's messages and emails, but at least it won't be able to withdraw money from user's bank account."

(You can discuss more about accessibility setting and device control; or how certain kinds of non-perisstent kernel exploits can work without tripping the flag; but this is the overall idea)

comment 21h ago · link · parent

While I agree with general points that remote attestation is bad, I can't help wondering when reading sentences like those:

> Although remote attestation ostensibly exists to keep users safe from scams and viruses and so on, it can’t directly check for scams or viruses.

Does the author really not know how remote attestation keeps user safer? Or does the author know and they are just ignoring reality because this makes their argument weaker?

comment 3d ago · link · parent

The problem with those kind of people is you spend your time writing out detailed tickets and _still_ have to deal with the long tail of fallout.

Because if someone requires instruction on the level of "modify function x_y_z() in python_file.py...", then it's highly likely they won't be able to fix the failing tests without making things worse, nor would they able to address to other teams' concerns.

In the less extreme cases, people might be able to do follow-up work, but since they do not understand the reasons for the design, they won't be able to do it properly. Eventually system will become so wrong, it will fail, and you will again have to spend lots of time studying how it evolved and writing those super-detailed tickets.

Still, is it worth delegating the tasks? Before the AI, the answer was yes. Sure, you might be losing time by delegating simple tasks, but the other person is getting more experienced, and there is a chance they might become a proper software engineer. With AI however I seem to see some people just stop learning new stuff, being a human AI wrapper, which is very troubling.

comment 5d ago · link · parent

I feel for the poor engineers getting yelled by CEO, but I also think not having spam is more important.

comment 6d ago · link · parent

https://wallhop.io/https://www.nytimes.com/2026/11/18/us/pol...

comment 6d ago · link · parent

It's a reasonable point, undermined by fact that there is a much easier solution. That solution is:

When using short option which take arguments (like -f name), don't combine them with others, it is very easy to get the order wrong.

So author: Doing "tar -cvf NAME" is a bad idea. Don't do this. Change your habits to either do "tar cvf NAME", or "tar -cv -f NAME" and chance of error will decrease by a lot. The second one is easier to remember, too: there is no magic "cvf", tar simply takes "-f" argument, just like "make" or "sed" or countless other tools.

Combining single-letter arguments with inputs is just one of those sharp edges you have to learn and avoid. Just like not running stuff as root, or putting "set -e" on your shell scripts, or not adding . to $PATH, or not keeping 1 million files in a single directory. It's an unfortunate reality of having system backwards-compatible scripts made 50 years ago.

comment 6d ago · link · parent

maybe not everything needs to be IPv6?

No standard equipment can do 64K+ frames, so you are not going to be connecting to global internet soon.

Plus, why are you doing this at all?

If you are super-concerned with the overhead, you don't want IP stack anyway, with all its layers and tunables - you want something like RDMA which can work very close to metal.

And if you are OK with overhead, then why go with huge frames? Go with small ones and reassemble, your life would be much easier. (Normally reassembling is a pain because of possibility of lost or reordered packets, but if you are willing to go with such huge packet size, it must not be a concern with you)

(this reminds of the opposite direction: people stuffing IPv6 into sensor networks.. your frames are 32/64 _bytes_ and you want IPv6 headers in there???)

comment 6d ago · link · parent

Why would large companies care about all this stuff?

1. Only publicly-accessible IP was stolen, so only few companies care. Disney was suing a bunch of AI companies for example. But there is no need for pitchforks, companies suing each other is a regular part of business.

2. Others' spend does not affect company bottom line. The upside is real: AI allowed large companies to fire a bunch of people with no repercussions (note it does not matter if the AI helped or not, only others' perception matters)

3. This does not affect company's bottom line much.

4. This does not affect company's bottom line.

5. This does not affect company's bottom line.

6. This does not affect company's bottom line.

7. This does not affect company's bottom line.

See, not a single reason to take pitchforks out, or be angry or to rage... if you are a big company's high ranking officer.

(Your government, on the the other hand, is supposed to care about regular people. Whom did you vote for during last election? How do they feel about AI?)

comment 6d ago · link · parent

needs [2025]

discussion: https://news.ycombinator.com/item?id=43678914

comment 1w ago · link · parent

The Windows' idea that service accounts must have passwords seems like craziest thing to me.

I grudgingly admit that between unrelated security domains, the passwords ("API keys") are the easiest thing to use, although I much prefer machine OIDC where possible.

But within the same security boundary? Or even worse, on the same machine? The whole idea of password is just stupid. If I want to run service as user "mysvc", I write "User=mysvc", and that's it, the machine should trust itself.

At least I now know that gMSA is a thing, which is a great news.

comment 1w ago · link · parent

I don't think they "don't get it', it's more like that particular aspect (configuring Microsoft software on local machines) is becoming more and more niche.

We have multiple teams managing huge number of computers - but all of those run Linux in the cloud. Even if we had Active Directory and/or Policy engines, what good would it give? Those machines don't care about configured printers, and the "outbound proxy" is something for IT horror stories. All those nicely written policies by Microsoft engineers would not help a bit with running our self-developed "contoso processing app".

comment 1w ago · link · parent

You are still talking about local, physical machines - and the post talks about cloud. A CI runner spins up 20 throwaway EC2 instances - how is regular user's "Add workstations to domain" going to help here? What is the "regular user" anyway, if this was a scheduled run?

comment 1w ago · link · parent

so AI, it's painful to read

comment 2w ago · link · parent

Most of the people report different experiences. I like this blog post, it also directly answers who does one need to talk to to get website unblocked:

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

and another one, this was restored in a few hours:

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

Now I am not saying it's a good thing there are so many blocklists, but there are sites who got onto them and then came back. I guess you are required to actually fix stuff, you can't just change nothing in your website and expect to be unblocked.

comment 2w ago · link · parent

Work to add them to Google Safe Browsing blocklist (Why are they not on the list anyway? Surely Google will be interested in their technique)

Google, Facebook, Bing, other large platforms will get those websites blocked. Their traffic falls almost to zero. Then:

either web admin notices and fixes website

or people stop visiting yhem

either way, no more infected people, win for everyone.

comment 3w ago · link · parent

https://archive.is/LAenf

comment 3w ago · link · parent

that works too

For personal services, even something as simple as HTTP basic auth on the webserver dramatically reduces the attack surface by blocking all probers and drive-by attacks.

comment 3w ago · link · parent

I see no inherent problem with that, since it's a very good idea to run agent inside container/VM anyway. And if the only things agent can access is the docker container and /project directory? It can go wild inside.

The variable alone, however, is kinda suspicious - I'd do both variable and command-line flag, just for extra assurance.

(another idea might be to enforce docker, but I know some people run agents in VMs, so this won't work)

comment 4w ago · link · parent

Those "teen riders" were shooting toy guns at the passer-by.

As someone who walks on the streets / uses public transport, Waymo was 100% in the right there. Wish all taxi services were like that.

comment 4w ago · link · parent

Because of extra services. Unlike emails, which usually come with no guarantees or support, the money-sending services are protected. Even with something like EFT, consumers have 60 days in case of actual fraud or bank mistakes, and with credit cards, you are also protected from things like product non-delivery.

Those protections exist and cost money - both to pay for customer support handing those, as well as to reimburse customer when the original money cannot be found anymore.

(And related, this is one of the big problems with cryptocurrencies: most people are not happy to know that one typo / software bug means their money is lost forever. Those protections on regular baking are there for a reason.)

comment 1mo ago · link · parent

The language makes all the difference because defaults matter. As someone said once, you can write C in any language. You can even do a heartbleed in python - just create one big buffer, do your own allocator, and pass (buffer, index) everywhere instead of proper object.

But would anyone do this? No. If you are writing pool-based packet processor in Python, you'd deal in buffers (safe from overread), in C# you'd return Span/Memory (safe from overread) and only in C you'd return overread-prone raw pointer.

Not that you can blame programmers in this case - C simply lacks the facilities for safe memory access, such as bounded pointers or spans. And you can't really blame it on custom allocator - malloc() would have had the same problem.

comment 1mo ago · link · parent

No, they used a language where the preferred way to share memory is raw pointers. That is the problem.

Every language has a preferred way to deal with things. In C, it's raw pointers, which are very error prone. Other languages have something better. For example, if you were to implement custom allocator in C#, would you return raw pointer? Or maybe base array + offset pair? Of course not, you'd choose a Span or Memory, and those are not prone to buffer overruns.

comment 1mo ago · link · parent

> In my opinion, if you used Wikipedia, you should cite it [...] It's a really huge problem that people pull ideas from Wikipedia, attribute them to something like "paper 4"..

Your solution for using unreliable Wikipedia is to cite it. My solution (and the way I was taught) is to simply _never use it_ for stuff which goes into the paper.

If I wanted to claim something ("widgets are quux"), I might certainly _start_ with Wikipedia, just to make sure that my understanding is correct and that I am not wasting my time, but if I want to use this in the paper, I will need to move to primary sources, read them and ensure that there is a good evidence that widgets are indeed quux.

So now that I spent all that time reading primary sources, I'd certainly cite them and not Wikipedia - after all, primary sources are better, and a single citation is enough. And in the case the Wikipedia author was wrong, I will avoid a mistake.

By extension, if I am citing Wikipedia, this means I have not found/read any better sources, and that just shows that I am lazy or maybe those widgets are not quux at all. Any advisor/reviewer would immediately point to this mistake - "Why are you citing Wikipedia here? Find a better source or remove the claim"

And that's how the rule is made - it's not "Don't cite Wikipedia [put ideas unattributed instead]", it is actually "Don't cite Wikipedia [find a better source and cit it instead]".

(Although I agree that some lazy people do former rather than latter)

comment 1mo ago · link · parent

I think Heartbleed is close enough to memory safety to count. It was caused by memory allocator returning uninitialized memory and every memory safe language I know about does not allow this in best-practice code.

(And sure, there are escape hatches - like Python has "recv_into" that could be used to implement heartbleed if you are really inclined to - but this would not be a realistic python program. In python, even with buffer reuse, you'd be using memoryview or similar that can't have a heartbleed problem)

comment 1mo ago · link · parent

Isn't this directly against WP:NOR, specifically WP:TERTIARY? Every fact must be supported by reliable first-party source, and the idea's provenance is that source.

In the research, there are often long paths that lead to the ideas: lunch room conversation -> paper 1 -> web search on term seen -> paper 2 -> web search on another term seen -> wikipedia page -> another wikipedia page -> original source (paper 3) -> paper 3's citation list -> paper 4 -> fact for your own paper

We always cite only the very last item in the chain, paper 4. I'd might cite other papers I've seen, but only if they are relevant. I was taught that the tertiary sources, like encyclopedias, are never to be cited, unless they have original facts which cannot be traced to other sources.

comment 1mo ago · link · parent

Are there restrictive firewalls which block unknown HTTP/HTTPS but not Tor? I'd expect Tor to be blocked first.

(And then proxying via your home is much faster and safer. You can do websocket-based proxy, but even exposing ssh server on port 443 works in a lot of places!)

comment 1mo ago · link · parent

Can they? I believe SSH key bind the public key auth to the server identity, so this kind of MITM is impossible.

(Just don't turn on ForwardAgent)

comment 1mo ago · link · parent

    2>/dev/null && echo nopass || echo maybe) || echo none)"
Writing a longer command to get less details and shorter output - this is so LLM!

A human would simply run the two commands in sequence and parse errors on the remote side - this would have gave more information about unexpected errors.

comment 1mo ago · link · parent

huh, have not realized Obnam is still alive.

I remember Obnam being retired in 2017[0]. I was evaluating backup systems back then, and went to borg (and later to restic). But turns out, it came back 2020. I like the motivation [1]:

> Borg and Restic are both fine backup programs. I've been using Borg for a while. The point here for me is that I find implementing backup systems to be a fascinating hobby. Thus, I want to write my own. The act of developing being the point more than having something I can use myself. Everyone else should use something battle-tested, unless they want to help me build something they'd like to use themselves.

[0] https://blog.liw.fi/posts/2017/08/13/retiring_obnam/

[1] https://blog.liw.fi/posts/2020/11/10/why_write_obnam/

comment 1mo ago · link · parent

This is May version. If you look at the twitter thread, the October version is different and looks much more "stock"
12345
137