Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dwattttt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
751.
▲
The CoInitializeSecurity function demands an absolute security descriptor
(devblogs.microsoft.com)
1 points
by
dwattttt
2y ago
|
1 comments
752.
▲
by
dwattttt
2y ago
WSL2 doesn't run under the Windows kernel, it runs the Linux kernel under the Windows hypervisor, side-by-side with the Windows kernel (in another lightweight VM). Honestly it's kinda crazy that Windows natively now runs as a VM.
753.
▲
by
dwattttt
2y ago
We don't have to assume buyers would ignore a pedestrian safety rating. It might make people feel uncomfortable, and that's entirely ok.
754.
▲
by
dwattttt
2y ago
It feels like Ladybird is going to reach "the last 10% of work takes 90% of the work"
755.
▲
by
dwattttt
2y ago
It's worth noting that unless the roads are degrading and not being repaired, those costs are already being paid. It's just a question of who is paying it.
756.
▲
by
dwattttt
2y ago
Yeah, I definitely wouldn't recommend hitting the APIs directly over AHK unless you're a developer who wants their control. FWIW if you want something to start maximised I'm sure there's a flag in STARTUP_INFO to say tha
757.
▲
by
dwattttt
2y ago
Or for a more "hackable" experience on Windows, you can do what (I expect) AutoHotKey does, and send window messages to apps to trigger "key press" and "mouse down at X coords". By analogy it's as is there
758.
▲
by
dwattttt
2y ago
We all love a good trolley problem
759.
▲
by
dwattttt
2y ago
Perhaps a better example would be & referring to AND operations (logical and bitwise), but also being a unary operator for taking the address of a variable.
760.
▲
by
dwattttt
2y ago
> There’s also the middle ground of Swift’s memory management which uses compiler-elided refcounting - i.e. the compiler detects when a count goes up then down again and removes those operations. In the face of threading that's not
761.
▲
by
dwattttt
2y ago
It's not clear that the author of the project is the one who posted, it may never have intended to get this attention. Given it only has the one commit & mentions having been presented, I imagine this project is "done".
762.
▲
by
dwattttt
2y ago
I dunno about that; suppose dozer completes its goal, and 1 year later you want to audit the bootstrap chain. Latest Rust probably won't be able to be compiled by it, so you now need to audit what, 6 months of changes to the Rust langu
763.
▲
by
dwattttt
2y ago
I dunno about that; it sounds like a PC in your sales department could connect to the RDP port on the AD, and the listed controls would have prevented that (RDP port on the DC should be firewalled down to the machines administrators use to
764.
▲
by
dwattttt
2y ago
Luckily utf-8 structure is _very_ trivial compared to the average parser. Not to say there can't be bugs, but that the internal states of a parser shouldn't be large, and can be exhaustively tested.
765.
▲
by
dwattttt
2y ago
I've most recently embraced more complex error objects. It's quite a feeling to get an error description a la Failed to open configuration file Caused by: Failed to open path PATH Error access denied
766.
▲
by
dwattttt
2y ago
Correct. The solution is to modify packages A and or B, which is a high cost approach (hence why FAANGs could throw warm bodies at it, but most everyone else throws their hands up in exasperation).
767.
▲
by
dwattttt
2y ago
I wouldn't try update grub from Windows, but the second strategy would work.
768.
▲
by
dwattttt
2y ago
It's as difficult as: Package A depends on C 1.0 and B depends on C 2.0. How much work it is to get down to one version of C in your dependencies is up to how different 1.0 & 2.0 is, and how A & B use it. But if you want them r
769.
▲
by
dwattttt
2y ago
It prevents Windows from running under it's own hypervisor, which it does to provide additional security (some configurations allow certain crypt operations to happen "outside" Windows).
770.
▲
by
dwattttt
2y ago
I'd also argue that even if vtable indirection can't be removed, it's unlikely to be a notable part of your performance profile, at least in the general case. Profile! You might instead see the hasher for your hash table has
771.
▲
by
dwattttt
2y ago
I can't speak to multiple users of sbrk, I assume that would fail. That's a property of sbrk though, not of malloc (or memory allocation in general); on Windows, you can have as many implementors of malloc as you want, so long as
772.
▲
by
dwattttt
2y ago
That's not a very clear example. You don't need to be using multiple versions of the same dependency to contend on access to stderr/out, just having a println in your code along with logging code will have the same effect. I
773.
▲
by
dwattttt
2y ago
That's a true effect, although I'd question whether it makes it harder or easier for things to be backwards compatible. I use Rust because I trust it to throw up a bunch of errors when I make changes; if I handle all the cases of
774.
▲
by
dwattttt
2y ago
Their internal states in Rust are also namespaced, so two incompatible crates in the same process won't observe each others symbols. If they access external resources that are not namespaced though, that could be a problem.
775.
▲
by
dwattttt
2y ago
IANAL. Damages are relevant in-so-far as a relevant law addresses or requires them. Nothing stops a law from assuming damages under some circumstances.
776.
▲
by
dwattttt
2y ago
The point is that you should check for null, then be able to represent the variable as something that can't be null. That way once you've checked it's not null (somewhere you're not forced to panic ideally), you can pass
777.
▲
by
dwattttt
2y ago
You can't avoid randomness and entropy, it's just something that's needed in too many places. For test repeatability though, whatever seeds a test run uses should be saved in order to repeat that test exactly. Best of both wo
778.
▲
by
dwattttt
2y ago
There was a very insightful comment here on HN a while back; someone noted how terrible some SAP UI for travel was, because it provided a huge list of destinations in random order. The insightful comment said they were sure that whoever was
779.
▲
by
dwattttt
2y ago
I actually write a fair bit of Rust, and there I'll still explicitly add types. Not always (in particular where I have an IDE that'll show me the inferred type & it's trivial), but in particular if any more complicated in
780.
▲
by
dwattttt
2y ago
I see this a lot, and I want to find the right words for it: I don't want the types automatically determined for what I write, because I write mistakes. I want to write the type, and for that to reveal the mistake.
More ›