Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbert
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
jbert
13y ago
I'm not sure what the definition of a tax haven is, but here's a page from the jersey govt. I don't study this, but it seems like it is a light/very light tax regime? http://www.gov.je/LifeEvents/Mov
122.
▲
by
jbert
13y ago
In 2013, does it make sense to put each user in a docker/lxc container? I don't know the resource overhead, but I'd hope/expect that it would be within tolerances. Then you can have rich features like includes without wo
123.
▲
by
jbert
13y ago
I think this is pretty the same thing as storing a secure cookie? Except the 'cookie' is the private key on the phone, so it's tied to the phone not to a particular browser. Other than that, I don't see a difference be
124.
▲
by
jbert
13y ago
Thanks. I misunderstood the original comment to refer to golang code. The edited comment is clearer.
125.
▲
by
jbert
13y ago
Thanks. I misunderstood your (original, unedited) comment to refer to a golang goro (go func()), not clojure go macro. Yes - this seems to be a key difference of golang's approach. The runtime+scheduler conspire to make a blocking goro
126.
▲
by
jbert
13y ago
> Doing blocking operations inside a go is a anti-pattern. Sorry - could you elaborate please? In my understanding, in golang it's fine to block a goro with a blocking call, whether that be a blocking syscall (read/write/s
127.
▲
by
jbert
13y ago
> Somebody on Quora once wrote beautifully about how it's impossible for the rich to ever understand what it's like to be truly, horribly poor- because there is no escape. There is no safety. Jarvis Cocker wrote quite a good so
128.
▲
by
jbert
13y ago
Interesting, thanks. Note however that the ZX spectrum also did tokenized input. Each key corresponded to a different basic token: http://fms.komkon.org/Speccy/SpeccyKeys.gif . In the context of lexing and parsing, I wa
129.
▲
by
jbert
13y ago
Are there many (computer) languages which don't use a text file (in some encoding or other) as their 'normal' representation? If the compiler interpreter wants a tokenized input, perhaps we could/should save in that form
130.
▲
by
jbert
13y ago
> I gathered current requirements and implemented them in the simplest way possible. If you can get complete current requirements, that's fine. The issue with this is "all the stuff which falls through the cracks". In th
131.
▲
by
jbert
13y ago
I'd guess: - write a little code to drive this API: http://stackoverflow.com/questions/7785096/read-laptop-batte... - and either use a task scheduler to run your code every minute, or startup a long-lived pro
132.
▲
by
jbert
13y ago
> Can someone explain the boiling water on his tongue? The main thing stopping the molecules of a liquid boiling away (flying off, out of the container) is the pressure exerted by the gas above or around them. If you make the liquid mole
133.
▲
by
jbert
13y ago
> but all they really could do is incur losses for the customer. If they could inject "incorrect" trades, could they put themselves on the other side of those trades via normal means and so benefit from such losses?
134.
▲
by
jbert
13y ago
OK, thanks for the detail. I've suffered from having designed bad/limited APIs before and watching as people dig into bits I didn't want them to dig into, limiting what I can do in the future. Not sure on the best way to avoi
135.
▲
by
jbert
13y ago
> You are allowed to deconstruct the id that way because it's the only way to get the information. If the API has a usable purpose without providing that info, then I think I'd disagree with you - since you're reverse-engi
136.
▲
by
jbert
13y ago
Perhaps his debt was in bitcoins, so it also increased (as priced in USD)
137.
▲
by
jbert
13y ago
I'm not an fb developer and don't know the platform, but was that documented as the format? i.e. were you expected/allowed to destructure an id in that way or was it intended to be opaque?
138.
▲
by
jbert
13y ago
> Because the "metal must be moved" number is way too low. I can see that the regulation might be ineffective because of that. But I don't see how anyone could claim such a regulation makes it more profitable to make late
139.
▲
by
jbert
13y ago
I still don't see how the claim made of "The only way that Goldman could possibly make more money by artificially delaying shipments would be because of a market-distorting regulation." gibes with "metal must be moved&qu
140.
▲
by
jbert
13y ago
Could you elaborate on how the "metal must be moved" rule incentivises delayed shipments?
141.
▲
by
jbert
13y ago
Interesting comparison. Would you rather implement POSIX over Win32 or Win32 over POSIX?
142.
▲
by
jbert
13y ago
Because if your adversary is monitoring all the telecoms networks and/or is reasonably capable of backdooring your laptop, you can assume that they'll be able to impersonate you to your digital lockers (and/or know where they
143.
▲
by
jbert
13y ago
Why should the manually managing your stringbuilders be preferable to having the compiler do it for you? The example given is: String result = foo() + arg; result += boo(); System.out.println(“result = “ + result); creates 3 Stri
144.
▲
by
jbert
13y ago
No, they just go into the zone. You run a server for example.net. Your server will respond to any requests sent to it for records in that zone. Someone attempting to reach your site will query the parent zone (.com) for NS records for your
145.
▲
by
jbert
13y ago
Thanks for the detail. I was worried about the escapes in the echo, but didn't check.
146.
▲
by
jbert
13y ago
Agree. Or actually I start with a 'head -100' so I don't handle too much data in my pipeline until it's ready.
147.
▲
by
jbert
13y ago
I've never aliased it, but yes I use your 'hist' a lot. Useful for things like "categorise log errors" etc. Does everyone else edit command history, stacking up 'grep -v xxxx' in the pipeline to remove noi
148.
▲
by
jbert
13y ago
I like slicing and dicing with awk, grep and friends too. One thing I find odd that you have to drop to a full language (awk, perl etc) to sum a column of numbers. Am I missing a utility? echo "1\n2\n3\n" | sum # should print
149.
▲
by
jbert
13y ago
I don't disagree that human-readable doesn't mean "verbose", but in answer to: > Why would I not save resources whenever I can, even though I don't need to do it? It's a cost-benefit. You don't spend yo
150.
▲
by
jbert
13y ago
> For who, how often and when exactly? As far as I have understood, we are doing something wrong if we have to deal with debugging protocols which implement an abstraction, rather than just let the abstraction do it's job. Any time
More ›