Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
randomswede
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
randomswede
4y ago
Is't this basically what happened with Destiny 2 channels earlier this year? Someone faked DMCA claims from Bungie across a wide swathe of Destiny 2 channels, possibly as retribution for having "music archiving" (which probab
32.
▲
by
randomswede
4y ago
There are probably WebAssembly-specific things I am unaware of. So, the following is a general "TCO" discussion. I normally consider TCO something that is a compiler feature. Replace a call to the head of yourself, with a jump (po
33.
▲
by
randomswede
4y ago
There's also Cockermouth, in Cumbria.
34.
▲
by
randomswede
4y ago
If a few bash scripts is enough for you to manage your servers, you probably don't need puppet (or ansible, or chef). But, yes, I agree that the puppet documentation is (or at least was, I have not looked at it for several years) not e
35.
▲
by
randomswede
4y ago
In the same world where fascism isn't associated with the far right. There are many possible axes to divide politics, in many (but not necessarily all) conservative politics and fascism tends to be projected to similar spaces and Sovie
36.
▲
by
randomswede
4y ago
I have, on occasion, used a similar pattern, but instead of sending something, I simply close the channel (usually with a "defer close(c)" at the beginning of the function/closure that encompasses the main code of the gorouti
37.
▲
by
randomswede
4y ago
I suspect that a "certificate of course completion" (or, if you prefer, "a course grade") does not actually requiring comparing individuals A and B. It does, however, require gauging that individual X, for any individual
38.
▲
by
randomswede
4y ago
And hard-coding terminal escape codes intrinsically tie you to a VT102-derivative (because no one would hard-code VT-52 terminal codes) and that'd stop (say) my HP terminal from working. Sure, going with VT102-family codes probably cov
39.
▲
by
randomswede
4y ago
The Google Play video player sometimes does it (or at least sometimes used to).
40.
▲
by
randomswede
4y ago
Then there's Fred Dibnah, who built a replica coal mine in his backyard. https://en.wikipedia.org/wiki/Fred_Dibnah
41.
▲
by
randomswede
4y ago
If this is the first time, at the same company, it (probably) does not matter, that much. When I was an interviewer for a (second) technical phone interview at Google, one candidate performed pretty bad at one question. Later that week, or
42.
▲
by
randomswede
5y ago
I'd back that down to "most security issues aren't introduced intentionally".
43.
▲
by
randomswede
5y ago
This is, roughly, what "go install" does: It will copy a binary to $GOBIN. If the binary is not built, it will be built from source. If the source is not available on the local system, it will be fetched. During the build, any dep
44.
▲
by
randomswede
5y ago
Sharks, cats, possums, bored rural people with shotguns, a rockslide in the wrong valley in South America (there's pretty much just one pass that all east/west SA traffic passes through). All of these are things that occasionally
45.
▲
by
randomswede
5y ago
As someone who wrte a partial implementation of elisp in Common Lisp, at one point in time... Yes, elisp is in many ways closer to CL than it is to Scheme. But, it is not very close to CL, once you start looking at the details.
46.
▲
by
randomswede
5y ago
Yes, as I said, if you use a map[T]bool, you need to use something like: for k, v := range m { if v { } } But it also allows you to use "if m[key] { ... }". It is literally a trade-off for what convenience you want. And in
47.
▲
by
randomswede
5y ago
"Git push is prod push"
48.
▲
by
randomswede
5y ago
See the recent(ish) "but, hacker, prosecute!" case with teacher PII in, um, some US state or another. Where a journalist was looking likely to be put up on charges of "computer hacking" based on exactly just "view s
49.
▲
by
randomswede
5y ago
How? Why? If you use the map[T]bool, you obviously need to pay attention to the bool value, even in a range. Whereas in map[T]struct{} you don't need to pay attention to the values. In either way, even with that type of data type under
50.
▲
by
randomswede
5y ago
I would say that "exists in the set" is determined only and exactly by "mySet[thing]" returning true, not that there happens to be a key in the map. But, that's one of those "requires extensive documentation&qu
51.
▲
by
randomswede
5y ago
What I have done in the past when I've needed to pass various different types across a channel is to look at what the receiver of these messages actually need to do, factor that out into an interface, make a "chan myInterface"
52.
▲
by
randomswede
5y ago
There is a slight difference between the two. With a map[†]bool, you can do something like: if myset[thing] { ... } With a map[T]struct(), you end up with: if _, ok := myset[thing]; ok { ... } Sometimes, the saving in space is TOTALLY worth
53.
▲
by
randomswede
5y ago
Ethereum has had "proof of stake" as a goal for multiple years, with no obvious evidence that it is any closer to implemented today than it was 3 years ago. I will believe Ethereum to be proof of stake when I see it.
54.
▲
by
randomswede
5y ago
This is one of those "it depends" things. As usual, it's good to build an intuition for what you expect. But it is also worthwhile benchmarking it now and again. At a previous job, we were pushing against going to "netwo
55.
▲
by
randomswede
5y ago
And bash is really painful once you're trying to do clever things with structured data. Excellent glue, but there's also a skill in knowing when you should port your increasingly complicated shell script to another language.
56.
▲
by
randomswede
5y ago
It's basically a whole bunch of small "make it harder to correlate" issues. If you have a distributed system (which you probably do, if you care about time to the point of considering if daily ntpdate or continually running n
57.
▲
by
randomswede
5y ago
The bigger the clock skew, the harder it is to correlate events from logs. The harder it is to corelate, the more information needs to come from your machine-fueled winnowing stage, to the final inspection by eyeballs. 1-2 seconds is (proba
58.
▲
by
randomswede
5y ago
In the case of pretending to be someone else, and being found out on the first day, at least both UK and Sweden would have the probationary period exception, whereby you can be let go at a moment's notice (works both ways, either party
59.
▲
by
randomswede
5y ago
Typically, the IP stack places the port in TIMEWAIT after the listening process has exited, in order to ensure that packets that were in flight on the network at the time of exit has a chance to dissipate before the next program starts. But
60.
▲
by
randomswede
5y ago
Off the top of my head, I don't know. It MAY be related to the fact that 6*3 is 216, but I don't have deep enough statistics knowledge to say for sure. You coudl try it again with 3 8-sided dice and rolling 24, that should give yo
More ›