13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 5y ago · link · parent
The context almost always exists in the writers head. We all have a specification of our program based on our expectations, and we type out code to turn that model into an implementation. We only spend so much time conveying that model though - most of us don't write formal proofs, but many of us will write out type annotations or doc comments.
The cost is usually as simple as expressing and typing out the model in our head as code. Languages that are famous for boilerplate, like Java, enforce this - and it makes writing Java slower, but can also make Java code quite explicit (I'm sure someone will respond talking about confusing Java code, that's not the point).
Reducing the cost of conveying context from writer to reader means we can convey more of that context in more places. That's a huge win, in my opinion, because I've personally found that so much implicit context gets lost over time, but it can be hard to always take the time to convey it.
Think about how many programs you've read with single character variable names, or no type annotations, or no comments. The more of that we can fix, the better, imo.
Tools like this do that. TabNine autocompletes full method type signatures for me in rust, meaning that the cost of actually writing out the types is gone. That's one less cost to pay for having clearer, faster code.
comment 5y ago · link · parent
writing the programs is definitely boring garbage work. Typing is so slow and annoying - hence autocomplete being a standard tool. This is, to me, just fancy autocomplete.
> to an increase in boilerplate and the acceptance of it because they make it easier to manage.
Boilerplate optimizes for the right things - code that's easier to read and analyze, but takes longer to write. IDEs and tools like this cut the cost of writing, giving us easier to read code and easier to analyze code for free.
IDEs have supported templates forever. I never write out a full unit test, I type `tmod` and `tfn` and then fill in the blanks. This is basically the same thing to me.
> Folks that still expect you to only check in code you understand and can explain will become a minority.
This isn't true at all. Having used TabNine I don't have it write code for me, it just autocompletes code that's already in my head, give or take some symbol names maybe being different.
All this is is a fancy autocomplete with a really cool demo.
comment 5y ago · link · parent
Maybe juniors, but I don't see this being likely for anyone else. I've been using TabNine for ages and it's closer to just a fancy autocomplete than a code assistant. Usually it writes what I would write, and if I don't see what I would write I just write it myself (until either I wrote the whole thing or it suggests the right thing). Of course, barring some variable names or whatever.
I don't have it "write code for me" - that happens in my head. It just does the typing.
comment 5y ago · link · parent
comment 5y ago · link · parent
This doesn't matter at all. Banks will hand your money over during a robbery - it's policy and it happens often. What matters is that banks have insurance and legal infrastructure to deal with theft. When a bank is robbed insurance covers the loss, the FBI begins investigations, etc. The lockboxes are for show (I worked in a bank, no one will tell you otherwise).
comment 5y ago · link · parent
Other than cash, this isn't viable. You'll have to launder your money no matter what, at some point. Crypto just makes transferring trivial, it's less regulated, you can't go to your bank and ask them for help, etc. It's good for criminals for these reasons.
There's radically more infrastructure for this sort of thing in existing systems. Crypto is far less regulated, you can transfer across countries easily, laundering becomes trivial, transfers via hacked accounts, etc.
comment 5y ago · link · parent
This may interest you: https://en.wikipedia.org/wiki/Rice's_theorem
comment 5y ago · link · parent
comment 5y ago · link · parent
> allowing third parties a say in what software is run is literally the entire point of remote attestation
No it isn't.
We're clearly of two very different minds, there's no way we're finding common ground on this, and I've already done the work of explaining to many people what TPM technology is, so I feel like I've done my part.
comment 5y ago · link · parent
How are you? You clearly assert this isn't murder. Convincing someone to commit suicide has at least garnered a manslaughter charge in the US.
edit: I also fall squarely in the "this is murder" side of this. This isn't even close to the first time KiwiFarms has done this - there is obvious intent, they seek people out to harass who are unstable, repeatedly. If you directly aim to kill someone, and your actions lead to their death, that is murder - a knife or a gun or doxxing as the weapon isn't relevant.
comment 5y ago · link · parent
I know this... I've even repeatedly stated as such in this thread.
The rest of your post is just a silly hypothetical and frankly linking gnu is just discrediting.
comment 5y ago · link · parent
I wouldn't be surprised if most people doing keto have way, way less fiber than they should.
comment 5y ago · link · parent
If you're asking about 1.2 vs 2.0, 2.0 makes considerable progress on the original specification both in terms of hardening of the TPM and its capabilities, allowing for it to be used in a much more broad set of authorization and authentication schemes.
If tomorrow every user had a TPM, and major services supported it, it would massively change the security landscape - I really can't stress enough that it eliminates some of the most widely exploited attacker techniques.
comment 5y ago · link · parent
edit: > Programs in those languages generally cannot read the entire address space, unless they have unsafe hooks.
Also, this isn't true? Unless we're splitting hairs about semantics (ie: "read that exact address that isn't allocated yet). Lots of memory safe languages can allocate and compute arbitrarily, and there is no isolation of what subroutines can or can't read the memory of others.
Anyway IDK what points you're trying to make, this all seems very specific to VMs, and this post is tackling other problems.
comment 5y ago · link · parent
This is an extremely niche scenario, basically it's just browsers. Most people don't accept arbitrary programs to execute in their address space.
comment 5y ago · link · parent
a) The intel stuff they're pushing is silly and should be loosened, and made part of their Windows 10 label OEM thing
b) TPM 2.0 will be a massive step forward for security, possibly the most significant since XP Service Pack 2, and I understand why Microsoft is getting aggressive about this.
Frankly, I think most people discussing this don't seem to know what the hell they're talking about. I'm really just presenting facts.
comment 5y ago · link · parent