Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bboreham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
421.
▲
by
bboreham
10y ago
This bit is as interesting as the headline: > there was no significant difference in complaints between officers wearing cameras that week and those going without.
422.
▲
by
bboreham
10y ago
Cache eviction, eh? "There are only two really hard problems in computing..."
423.
▲
by
bboreham
10y ago
Experience suggests that things you didn't anticipate will rain on that plan. Queues, buffers, locks all have ways of interacting at high volume that defy prediction. And if you think your system has no queues or locks then you just ha
424.
▲
by
bboreham
10y ago
I sense this is the same feature that is used to implement Docker containers. Possibly browser isolation was the primary driver and it got co-opted for the server.
425.
▲
by
bboreham
10y ago
It means it's new; the API might change before it makes it through beta and into stable.
426.
▲
by
bboreham
10y ago
This is calling into something named "HNS"; what is that please?
427.
▲
by
bboreham
10y ago
That question already has an answer here: http://meta.stackoverflow.com/questions/326095/please-unpin-... (Actually many answers. But no resolution.)
428.
▲
by
bboreham
10y ago
They're still going, after merging with Getco and renaming as KGC.
429.
▲
by
bboreham
10y ago
Even worse, some banks use the initials "QA" for the function, completely ignoring the idea that those initials already have a meaning in software development.
430.
▲
by
bboreham
10y ago
I work on Weave Net http://github.com/weaveworks/weave .
431.
▲
by
bboreham
10y ago
Oh. Right. I happen to work on a different Docker network, which 'chunks' the address space so containers on the same machine are very likely to have contiguous addresses. Hadn't occurred to me theirs doesn't do that.
432.
▲
by
bboreham
10y ago
> I haven't yet found any good way to prioritize containers co-running on the local host You may find that RFC3484 helps; it prefers the address with the longest prefix in common with your own address so will tend to pick your own a
433.
▲
by
bboreham
10y ago
Yeah, I should really do that.
434.
▲
by
bboreham
10y ago
Hours and hours of narrowing down the symptom from a program that would recreate it, plus disassembling the Windows heap manager and tracing through it in the debugger.
435.
▲
by
bboreham
10y ago
Windows does more of it, in the sense the heap manager likes to give freed blocks back to the OS, whereas UNIX programs traditionally never gave memory back until program exit. I had a massive production outage a few years back involving th
436.
▲
by
bboreham
10y ago
Sadly, no, they're using the name "Docker for Windows" to refer to the Docker-on-Linux-in-a-VM-on-Windows version. Real native Windows containers and a Docker shim to manage them are coming: [1] but not released yet. [1] htt
437.
▲
by
bboreham
10y ago
The fundamental activity of software development is _learning_. Although it looks to an outsider like the main thing is typing stuff in (or pasting it in :-), the thing that takes all the time is learning what you should type, or learning w
438.
▲
by
bboreham
10y ago
Anyone can download the underlying data and look at it on their local machine. https://archive.org/details/stackexchange
439.
▲
by
bboreham
10y ago
Docker bridge only works between containers on one machine; this is exactly why we wrote Weave Net two years ago, to let you network simply between containers running anywhere. I hadn't considered using Virtual IPs to reverse out port-
440.
▲
by
bboreham
10y ago
> what's wrong with the Docker approach of rewriting ports It requires that you rewrite the software trying to talk to that port, to make it aware that you've put the new port number in a special environment variable.
441.
▲
by
bboreham
10y ago
People are networking their containers on IP address ranges segregated from their host addresses. So the routers have no idea where to send the packets, unless you take some additional steps.
442.
▲
by
bboreham
10y ago
Kubernetes now uses CNI to configure interfaces in its most common "kubenet" configuration, and (obviously) when you put it into "CNI" mode. Most container network offerings - Calico, Flannel, Weave, etc. ship with a CNI
443.
▲
by
bboreham
10y ago
Author seems to have missed that Calico also depends on etcd.
444.
▲
by
bboreham
10y ago
Nitpick: Google's managed Kubernetes is called GKE. However the OSS Kubernetes has code to configure routes on GCE same as it does for AWS.
445.
▲
by
bboreham
10y ago
Well, that first course was very basic and open to all students, and I didn't know who he was. Just seemed like a typical lecturer way down the front of a big hall. A couple of years later, he taught my class of ~20 his Calculus of Co
446.
▲
by
bboreham
10y ago
They make it sound like they invented the PIP, but it's absolutely standard at every bigco I've worked at. HR and lawyers drive the process, so the company doesn't get sued for unfair dismissal.
447.
▲
by
bboreham
10y ago
I always took it to be Milner Language. Prof Milner was my first CS lecturer, many years ago. Ironically the language for that course was Pascal.
448.
▲
by
bboreham
10y ago
But if those trades included insider trading or market manipulation then they were hidden from the regulators' investigations. Barings was brought down by trades in a special "error account" 88888 that was excluded from (diff
449.
▲
by
bboreham
10y ago
And to complete the circle... https://en.m.wikipedia.org/wiki/Feynman%27s_Lost_Lecture
450.
▲
by
bboreham
10y ago
I couldn't believe it was possible to write a new article about faster copies. Reminds me of reading "Inner Loops" by Rick Booth [0] in 1996, which first opened my mind to the darker corners of x86 optimizing. BTW, the artic
More ›