Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KayEss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
KayEss
10y ago
Order them, don't bucket them. That is, the highest priority is head of the queue, and the lowest is at the bottom.
92.
▲
by
KayEss
10y ago
It's far better than what POSIX clocks do. They'll just drop back a second and you'll get the same time twice.
93.
▲
by
KayEss
10y ago
Is each frame looked at separately? Given what is shown there seems to be no memory building context and pruning the options. Is that really hard to add?
94.
▲
by
KayEss
10y ago
The reason is most likely that the top and bottom of the page are easiest to find so the comments at the bottom have a little more visibility than those in the middle.
95.
▲
by
KayEss
10y ago
We have a client's system that seems to get probed for this sort of thing. We keep seeing URLs like the following being requested: htttps://www.example.com/http://www.baidu.com/cache/global/
96.
▲
by
KayEss
10y ago
I still don't get it. The browser gets the session cookie even though the request processing crashed? Or does another request manage to pick up the session that was dropped from the crashed request? I don't do PHP. It just sounds
97.
▲
by
KayEss
10y ago
`posix_spawn` looks interesting. I'm kind of scared about fork in a multi-threaded context -- I see very little discussion about what happens (especially if you have many threads executing I/O). Is there anywhere to go to read abo
98.
▲
by
KayEss
10y ago
I still kind of think you can have great REST and JSON and make full use of a great RDBMS. REST/JSON with strong schemas (and loose where that makes sense), using Postgres and C++.
99.
▲
by
KayEss
10y ago
Not me, Kubuntu 16.04 and Chrome too. I did CTRL-+ a few times though -- maybe that helped?
100.
▲
by
KayEss
10y ago
And that works if you use the old C style variadic functions?I suppose I see no reason why it wouldn't, but that isn't the same.
101.
▲
by
KayEss
10y ago
Personally I think that looks pretty good. There's no templates, no inheritance. Not sure what would make bloat there nor latency. Whatever the faults of the syntax for folding, it's got to be better than VA_ARGS hasn't it?
102.
▲
by
KayEss
10y ago
Can you give some concrete examples?
103.
▲
by
KayEss
10y ago
Scott Adams (Dilbert) has been writing extensively on persuasion for the last year or so, covering many of the same points Dan does. He has put together a reading list: http://blog.dilbert.com/post/129784168866/the
104.
▲
by
KayEss
10y ago
That seems a horrific mix of SI and imperial units. How is it possible to reason about anything with such a mishmash?
105.
▲
by
KayEss
10y ago
That's not how it works. Those 525 lines include the beam moving from the bottom right of the screen back to the top left to start to display the next frame (vertical blanking). There are only around 480 lines visible on the screen. Th
106.
▲
by
KayEss
10y ago
It's too easy for the same attacker to MITM both the certificate and the DNS.
107.
▲
by
KayEss
10y ago
It's kind of hard because you really want to be able to use generator functions as well. Maybe that just can't be properly described Python. It would be shame to lose out on passing a generator because somebody has used `List[int]
108.
▲
by
KayEss
10y ago
For structurally typed languages you really want something like C++'s concepts so you can talk about `Iterable[str]` rather than forcing it to `List[str]`. Is this possible with Python's type annotations?
109.
▲
by
KayEss
10y ago
I guess using a unikernel also falls under this. Do they address some of the problems of trying this on a regular OS with a user space IP stack?
110.
▲
by
KayEss
10y ago
Thanks, really interesting to see some numbers. When I parse this on the server I use a composable parser that doesn't need to do the string manipulation you have to in Python. I have no reason to believe that the parsing speed would b
111.
▲
by
KayEss
10y ago
> rather than make a format which is harder to read Do you really believe that this is harder to read than JSON lines? We use both, and I've never heard a user complain that CSJ is hard to read, but the JSON lines has a lot of clutt
112.
▲
by
KayEss
10y ago
Nope, that's pretty much exactly it. It's the one thing JSON struggles with and this seems a good aT to deal with it and in a way that's still quite user friendly
113.
▲
Introduction to CSJ (file format)
(kirit.com)
5 points
by
KayEss
10y ago
|
2 comments
114.
▲
by
KayEss
10y ago
You can think of the random possibilities as exploring one path through a huge tree of possibilities. You can then pick 9 paths for the next step and have the user choose the one they prefer and keep repeating until the user feels that they
115.
▲
by
KayEss
10y ago
For trading debt I would certainly hope that the actual contracts under which the debt was agreed where included. Yes that would be difficult, but it ought to be a minimum requirement.
116.
▲
by
KayEss
10y ago
And the rest of us are doomed to keep re-implementing it.
117.
▲
by
KayEss
11y ago
Not really. The payoff is low unless it's done in exactly the right place. If I've already partitioned the work into threads the last thing I want is the compiler taking it upon itself to parallise loops that execute in those thre
118.
▲
by
KayEss
11y ago
The Warburg effect is a metabolic pathway involving anaerobic burning of glucose. When cells consume fats instead of sugar it must be aerobically. Burning glucose aerobically is much more efficient than doing so without O2. The belief is th
119.
▲
by
KayEss
11y ago
I do agree that this isn't quite so straightforward, but I also can't see that it's necessary for the compiler to guess what is meant here. Even supposing the array is initialised elsewhere there is a read past the end of the
120.
▲
by
KayEss
11y ago
That's also taking the view that the code is executing pointless busy work as the result is meaningless -- seems fair enough to optimise the whole thing away to me under those circumstances, although I suppose the compiler ought to put
More ›