9,713 karma · joined May 4, 2016 (10y ago) · 4,088 submissions
comment 6h ago · link · parent
(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
> 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
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 6d ago · link · parent
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
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
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
discussion: https://news.ycombinator.com/item?id=43678914
comment 1w ago · link · parent
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
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
comment 2w ago · link · parent
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
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
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 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
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
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
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
(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
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
(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
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
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.