Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
jbert
14y ago
ssh with no cipher still requires authentication, and can stil use pubkey auth. So "ssh with no cipher" means "people can snoop, but I can use proper auth". But rsh means "plaintext pw - or worse things if allowed".
182.
▲
by
jbert
14y ago
Page search for '[s]' to find comments by the submitter.
183.
▲
by
jbert
14y ago
Does anyone have an idea what might cause the small bump/spike in performance is on the CPU-8 graph at approx 1e6 elements? It looks to be worth around 20-25% of the performance. If it's related to a sizing parameter of the parallelisation,
184.
▲
by
jbert
14y ago
As a counterpoint, perhaps it is reasonable, if interpreted more strictly. Taking the perl-over-c-stdlib example (but I think it applies in other cases), if the "perl layer" was more strict in what it sent to the stdlib layer, there would
185.
▲
by
jbert
14y ago
You only need a battery to support you while you are off-grid. Electric trains don't run on batteries. Wireless charging is getting better. Electricity which is "too cheap to meter" would mean we didn't need 'great' battery tech, current te
186.
▲
by
jbert
14y ago
I don't see how this issue is specific to C/C++. Don't all languages have "don't do that" corners, even if they are just bugs in the current versions of the compilers/interpreters? C and C++ at least tell you where some of these are, so a
187.
▲
by
jbert
14y ago
Oh, interesting, thanks. There was me thinking I was gifting the world a bit of prior art :-)
188.
▲
by
jbert
14y ago
The "ear and mouth" part of the phone interface can be a thin strip which you hold with your hand. Picture something like a short drinking straw, curved in a good way. With a little design, that could attach to the side of the tablet (snap
189.
▲
by
jbert
14y ago
This is a great gateway drug for getting kids into coding. The JS language also allows a transition to html5/web stuff (cool web pages they and their friends can see with some simple-to-setup hosting) and perhaps ultimately server side (n
190.
▲
by
jbert
14y ago
I guess that my point is that anyone who thinks that a market will give them long-term stable institutions/companies is wrong. I think that conclusion is likely to be surprising/controversial to some/many people.
191.
▲
by
jbert
14y ago
Sorry, I was only using banks as an example. My attempt to state the general case here: https://news.ycombinator.com/item?id=4942341 I think it is exactly a black swan issue. The markets punish companies which do not compete sufficiently
192.
▲
by
jbert
14y ago
The problem is not restricted to banking. The problem is that any two competitors X and Y, in any field. If X does not plan for low-probability failure and Y does, then Y will not have the additional inefficiency/overhead and so X will out-
193.
▲
by
jbert
14y ago
This is one thing to me which seems to me to be a genuine failing of an efficient market. Over the medium term, ignoring the low-frequency, high-risk event gives you a margin over your competition. Hence you succeed at their expense and the
194.
▲
by
jbert
14y ago
As far as I know, there isn't a pm facility on HN and I don't see any contact info in your profile. My email details are in my profile, if you have time to share some details of how exmap was/is used, I'd be grateful.
195.
▲
by
jbert
14y ago
Nice! /proc/<pid>/pagemap is basically an alternate to my kernel module. So I could do a pure userspace solution now. Can anyone recommend visualisation tools using pagemap? I'd like to get the exmap functionality (per-process 'effe
196.
▲
by
jbert
14y ago
I wrote some code to try and do this a while ago, 'exmap': https://github.com/jbert/exmap The basic idea was a linux kernel module which allowed you to get the underlying page id behind each VMA of any process. Putting this info together
197.
▲
by
jbert
14y ago
Would a closed, pressurised air system work as a one-off "push all diesel from this tank to the roof" system? So you could store: - tank full of diesel - some compressed air cylinders at a low level, and use them in the "everything is subme
198.
▲
by
jbert
14y ago
Yes, but that's saying the same thing as "you can write all binary numbers with the digits 0 and 1". These correspond to choosing a 'book length' of 1 bit. Each million-bit book is just a number in a base 2^1,000,000 Numbers larger than tha
199.
▲
by
jbert
14y ago
> Smart people are more aware of the things they don't know. Possibly, but I think it's more about insecurity. If you're less certain of your position, it's harder to "concede points". So yes - the good people say "I don't know", but ma
200.
▲
by
jbert
14y ago
One way to resolve it is to mark that user or session (or even just request) "sticky to the master" for long enough to cover your normal replication delay. When we saw it before, ensuring that a given request which issued a write also read
201.
▲
by
jbert
14y ago
Can someone who uses exceptions in large systems offer a comment on which exceptions they throw? One of the problems I have in trying to design with exceptions is that they seem to offer a lot of potential to break abstraction layers. As
202.
▲
by
jbert
14y ago
Does this mean that there is a room for a brand in which "everything just works"? Or would that so feature-poor/expensive/slow-moving/low-status that no-one would use it?
203.
▲
by
jbert
14y ago
One piece of advice I've heard is to benchmark your app under -Os compared to -O2 or higher. The idea is that in these days, cache misses are king, so smaller code means fewer misses. Of course, you need a real-world load, test on correct C
204.
▲
by
jbert
14y ago
Presumably not that exact algorithm. There's a race between (1) and (3) where new entries could be created (increasing the max primary key value) before the triggers are in place.
205.
▲
by
jbert
14y ago
If the object is contained in 10 different lists, wouldn't the C version have 20 ptrs (10x prev and next)? That seems to me to be roughly equivalent complexity to your proposed "10x iterator" in C++, if I've understood correctly. Basically,
206.
▲
by
jbert
14y ago
If you always reference the person in it's people list (i.e. the object is "owned" by the list), you never need to pass around a ptr to the object of type: person * Instead you can pass an list iterator which references the "person
207.
▲
by
jbert
14y ago
strace is fantastic. Since it captures the detail of (nearly) all interactions between the process and the outside world, you can use it to answer many questions. Why isn't this process invocation picking up my changed lib file? (strace, se
208.
▲
by
jbert
14y ago
If you tag objects as being either "owned" by a thread or "shared" then you could (in the python implementation) do something like: if (obj.owner == current_thread): # just get in and mess with it elsif (obj.owner == shared):
209.
▲
by
jbert
14y ago
Will go really multiplex goroutines which are blocking on system calls as well as those blocking on go-level entities (e.g. channels)? The underlying OS threads will do that, but if goroutines aren't 1-1 with OS threads (which I don't belie
210.
▲
by
jbert
14y ago
Thanks, that's a great paper (above link is timing out, I got it from this page): http://research.microsoft.com/en-us/um/people/lamport/pubs/p...
More ›