Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sean1708
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
Sean1708
4y ago
2006, I think. Or _maybe_ the early part of 2007, I can't remember exactly. Didn't really get popular until 2014 though.
2.
▲
by
Sean1708
7y ago
As other top-level posts have pointed out they're only removing it from the build process, it's still available to users. I wouldn't worry too much about about GCC going away, it's still the default compiler for most (
3.
▲
by
Sean1708
7y ago
> Somehow this works even across SSH connections… The source code[1] is quite simple to read (as long as you know Bash) but basically imgcat prints a special OSC[2] sequence (some bytes that tell the terminal to do something special) to
4.
▲
by
Sean1708
7y ago
WRT your edit: #[lang = "unsafe_cell"] This tells you that UnsafeCell is a Language Item[1], which basically means that the compiler does have knowledge of it. [1]: https://doc.rust-lang.org/beta/unst
5.
▲
by
Sean1708
7y ago
The article refers to that as escaping output rather than sanitising input: > And of course use your SQL engine’s parameterized query features so it properly escapes variables when building SQL:
6.
▲
by
Sean1708
7y ago
The most annoying part of development, your users can and will rely on any observable behaviours of your software.
7.
▲
by
Sean1708
7y ago
Nope, if you hash the inputs then you won't be able to order them properly.
8.
▲
by
Sean1708
7y ago
> an incomplete microservice migration where you've now got hobbled together half-service weirdware that you have to support forever. Ugh I have to deal with this at my current job, except it's not an incomplete microservice mi
9.
▲
by
Sean1708
7y ago
Am I reading that correctly? A porcelain command is one that's not supposed to be used in scripts, but the --porcelain flag is for when you do want to use things in scripts?
10.
▲
by
Sean1708
7y ago
> what is the benefit of the line format being character strings? Wouldn't a binary package not be just as easy translatable into human readable JSON formatted output as a compacted JSON string is? One benefit is that I can look at
11.
▲
by
Sean1708
7y ago
I think it's a lot more complicated than that. Yes there are plenty of people that use Docker as a package manager, but I think that's a failing of traditional package managers rather than a failing of Docker. You could, for exact
12.
▲
by
Sean1708
7y ago
> If I can reduce my entire desktop environment into a single config file and have it reliably reconstruct itself, it would be magical. I might be missing something, but it sounds like that's what home-manager[1] was designed to do.
13.
▲
by
Sean1708
7y ago
I actually did some benchmarking on this once upon a time[1] and it turns out that it's actually really easy to write something that is only ~5x slower[2] (until you get to matrices that don't fit in RAM): (4, 4, 4) (
14.
▲
by
Sean1708
7y ago
What would it even mean for a container to be ordered if you can't iterate through it?
15.
▲
by
Sean1708
7y ago
It's extra annoying because collections.OrderedDict has been in the standard library for ages.
16.
▲
by
Sean1708
7y ago
My main issue with it is that if someone figures out an even better way to do dictionaries but it doesn't preserve insertion order, then that technique can't be used. But I certainly wouldn't call it a stupid decision, the
17.
▲
by
Sean1708
7y ago
It is but in the context of this discussion it's very clear that they meant a tracing garbage collector, which has a very different cost than atomic reference counting. Or to put it another way: you're technically correct, the wor
18.
▲
by
Sean1708
7y ago
Nah, it's true for all columns: SQL*Plus: Release 11.2.0.4.0 Production on Mon Feb 3 15:56:30 2020 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Express Edition Release 11.
19.
▲
by
Sean1708
7y ago
> AFAICT there's no easy way to measure the LoC actually compiled I take it you can't just run it through the preprocessor then count the lines of code that are output from that?
20.
▲
by
Sean1708
7y ago
Firstly, I think you're taking this waaaayyyy more seriously than it was intended. Secondly double foo = 1.2; printf(foo); puts(foo); won't compile, while double foo = 1.2; display(foo); works fine. Incidentall
21.
▲
by
Sean1708
7y ago
That sounds like an example of it being exactly like this (since neither Go nor C++ have had any breaking changes either AFAIA), or am I not understanding something?
22.
▲
by
Sean1708
7y ago
Maybe I'm missing a joke here, but if that's your workflow then there's absolutely no advantage to notebooks over something like Spyder or even VS Code.
23.
▲
by
Sean1708
7y ago
Remember the paper is talking about entropy[1] rather than any kind of human-encoded information. [1]: https://www.port.ac.uk/about-us/structure-and-governance/our...
24.
▲
by
Sean1708
7y ago
What kind of storage device? I'm fairly sure in a HDD the 1 and 0 states have the same energy, and from what I know about SSDs I think the same is true there.
25.
▲
by
Sean1708
7y ago
Weirdly it's not like the author is some crackpot nobody, he has actual papers under his belt[1] and is a Senior Lecturer[2] (although not at a particularly prestigious university, admittedly). [1]: https://researchportal.po
26.
▲
by
Sean1708
7y ago
From the paper: > For 1Tb device the estimated mass change is 2.5 × 10^-25 Kg. I don't actually know how precise we're currently able to measure mass, though.
27.
▲
by
Sean1708
7y ago
I strongly believe that the biggest reason people struggle with the Magic Roundabout is because it's called a roundabout, when it's actually just a collection of 5 roundabouts. If you tackle it one roundabout at a time it's a
28.
▲
by
Sean1708
7y ago
Isn't this basically what SystemD is, except it just so happens that all of those components are in one git repo?
29.
▲
by
Sean1708
7y ago
> Why can’t cargo be simple enough like pypi where all the dependencies are in intranet and private or another way is all the dependencies are in my own simple folder and can update it separately whenever I need rather than relying on an
30.
▲
by
Sean1708
7y ago
But equally something being fun or worth doing doesn't mean you won't procrastinate doing it. Cleaning the house, for example, is definitely worth doing but many people procrastinate doing it, and it's actually a really goo
More ›