Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
onei
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
onei
4y ago
I think quay.io is run by RedHat, so I'd expect RHEL containers to be there if nowhere else.
62.
▲
by
onei
4y ago
Pure speculation on my part, but I've noticed Go has generate and build as separate steps and it's standard to check in generated code. This split no doubt makes compilation a lot simpler/faster, but perhaps it's a refle
63.
▲
by
onei
4y ago
I've been curious about the Dark Crystal - was it particularly groundbreaking when it came out? I watched it after watching the more recent Netflix series and found the story pretty dreary. Similarly, I've heard Tron was almost re
64.
▲
by
onei
4y ago
My disappointment with Rust, that in no way diminishes how much I enjoy using it in my own time, is that I have a hard time recommending it for microservices, which are arguably an average project at an average company. The ecosystem just d
65.
▲
by
onei
4y ago
I am one of those that didn't know chsh was a thing - thanks for the tip!
66.
▲
by
onei
4y ago
Y'know, now that you mention it, I don't recall changing the default editor in Ubuntu. I think I first noticed vi or vim as the default editor in Fedora around 6 years ago, and maybe also in git bash on Windows. Beyond that, my me
67.
▲
by
onei
4y ago
Most of the time I've seen people get stuck in vim is when they use "git commit" which opens up whatever you have $EDITOR set to. The default value in most distros I've used in vim/vi and I can't recall seeing
68.
▲
by
onei
4y ago
It's not strictly true to say a credit card number is not a number. It can be validated by Luhn's algorithm which is numeric in nature, but not in such a way that you would treat it as an integer.
69.
▲
by
onei
4y ago
I was a little curious about this too. It's contrary to what I see in the Go and Rust compilers. My understanding was that it's good to have a go at parsing all input if possible so the end-user can batch fix mistakes, but it'
70.
▲
by
onei
5y ago
The committee took a decision that the package manager /doesn't/ support. If I've learned one thing, it's that there's very little that software can't be made to do. Whether it should is an entirely valid
71.
▲
by
onei
5y ago
If you're using plain Go, you get static binaries for free. If you're linking against so C library you might be out of luck. You can try setting CGO_ENABLED=0 in your environment, but I've had mixed success in practice.
72.
▲
Arpanet pioneer Jack Haverty says the internet was never finished
(theregister.com)
134 points
by
onei
5y ago
|
51 comments
73.
▲
by
onei
5y ago
It's easy to forget, but the last 2 elections were based on getting Brexit done. The first one did not go terribly well for Theresa May, the second went well for Boris. The difference was the leader of the party - the policies were not
74.
▲
by
onei
5y ago
I'm not sure Theresa May gets any real credit for Brexit as a concept. She didn't campaign for it; she was just daft enough to think anyone could negotiate something that satisfied the multitude of unworkable or contrasting promis
75.
▲
ARPANET pioneer Jack Haverty says the internet was never finished
(theregister.com)
7 points
by
onei
5y ago
|
2 comments
76.
▲
by
onei
5y ago
HP did the same for 15.0.0.0/8 and 16.0.0.0/8 until the HP/HPE split at which point I think they couldn't figure out who should get the address space. As 2 x /8 is pretty valuable, they sold off chunks of it and are
77.
▲
by
onei
5y ago
Bicester (Bister) and Gloucester (Gloster) are another couple of gotchas off the top of my head, and it's not like it even stops with places with *cester in the name.
78.
▲
by
onei
5y ago
I have no clue how widely implemented it is, but as far as NTP is concerned we're currently in era 0 which spans from 1900 to 2036. When we reach 2036, we just move to era 1 and have another 136 years until we reach era 2. NTP itself s
79.
▲
by
onei
5y ago
You (or possibly your employer) own the copyright to the code you produce. And you are fine to say something like "copyright $me $yearIMadeACommit". What you can't do is claim copyright on work you did not produce or remove e
80.
▲
by
onei
5y ago
For your criticism regarding reproducible builds, I'm not sure it's entirely correct. The impression I got from a skim was that version control metadata was being embedded, such as the git commit hash or maybe a tag. Both of which
81.
▲
by
onei
5y ago
I use vendoring in Go because my team's builds happen within a huge, complicated corporate network that has been known to break arbitrarily in new and interesting ways (or rather when something gets changed unexpectedly and then it tak
82.
▲
by
onei
5y ago
Maybe I'm different, but if the repo has some dozens of issues open, I take it as a sign of health. It means people are using it enough to find problems or ask for more features. If there's no issues, it tends to mean I'm tre
83.
▲
by
onei
5y ago
It still is controlled by the US government. I've spent the last 2 months integrating with a system that performs export checks on software to confirm we're allowed to send certain software from one country to another and we'
84.
▲
by
onei
5y ago
To me, Somali origin but British citizen implies they were born in Somalia and then immigrated to the UK and later gained citizenship. Regardless, the term is designed to point out that the person is foreign and that's something that t
85.
▲
by
onei
5y ago
For the type after identifier, the converse is what you see in C family languages. For example: // in C int x = ... // in Rust let x: i32 = ... There's a couple of things that Rust can do bette
86.
▲
by
onei
5y ago
I really like the thiserror crate for cutting down boilerplate and you can add annotations to automatically implement From. However, if you want to handle errors with more granularity, e.g. IO errors as noted elsewhere in the discussion, th
87.
▲
by
onei
5y ago
The downside to derive_more from what I can tell is that it impacts compile times fairly noticeably compared to the equivalent handwritten code. YMMV, but I've seen it removed from some crates for that specific reason.
88.
▲
by
onei
5y ago
I would guess null is the default because many of us start out with languages like C or Java. I've seen some interns have FP experience with Haskell, but it tends to be a single module and they often don't appreciate the nuance an
89.
▲
by
onei
5y ago
I always understood the glibc versioning problem to be solved by just building on the oldest common ancestor. If you have rhel5 through 8, you build on rhel5 and move on. If you depend on more than glibc... Well rhel5 is less fun.
90.
▲
by
onei
5y ago
Because it's distributed and the larger the spread, the smaller the obvious scale. For example, let's say I'm a murderer and kill ever resident of a single street, one household a day. That's way too much of a coincidenc
More ›