Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halayli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
241.
▲
by
halayli
7y ago
most std libs rely on malloc lib underneath. so i am not sure what's being tested here. Especially that the standard allocator is being used.
242.
▲
by
halayli
7y ago
you're mixing 2 different concepts. Yes they end in oriented-programming in the end but one is an exploit technique and one is a programming model.
243.
▲
by
halayli
7y ago
i am still waiting for someone to replicate xtgold... but then I realize the generations gap and how it might never resurface again.
244.
▲
by
halayli
7y ago
correct. There are many parts of the db planner that checks if the output is sorted to take a more optimal path.
245.
▲
by
halayli
7y ago
I believe it's more due to the fact that sorting, and less/greater than operators come up way more often in databases and using an ordered index makes a much better use case. And the other reason is MVCC. It's easy to maintai
246.
▲
by
halayli
7y ago
web server tutorials should focus more on designing/building encoding/decoding pipelines. Because that's what it's really about. i/o can be disk, network, or proxing to another http client etc. Once the web server i
247.
▲
by
halayli
7y ago
I feel you need to rethink your goal. it's like you're trying to finding missing chapters from an undefined book. Try to be around problems that requires a high degree of math skills to solve. let the problems drive you. intuition
248.
▲
by
halayli
7y ago
Lookup time is widely different if you use std::map. But you can use std::vector in a similar fashion.
249.
▲
by
halayli
7y ago
Approaching OO with the mentality that it's easy is what makes OO looks bad. It doesn't get treated with the same focus/attention as other methodologies. This realization often comes in retrospect, after programming for many
250.
▲
by
halayli
8y ago
the point of a cdn is that they have thousands of pops spread globally to be closest to the user and their network is highly tuned to routing to the nearest pop using AS networks.
251.
▲
by
halayli
8y ago
> Note: Although confidential mode helps prevent the recipients from accidentally sharing your email, it doesn't prevent recipients from taking screenshots or photos of your messages or attachments. Recipients who have malicious pro
252.
▲
by
halayli
8y ago
Got it. Just to clarify, I didn't mean to implement the filters using ebpf inside the kernel but rather use ebpf's engine as a lib at the application layer.
253.
▲
by
halayli
8y ago
I am surprised ebpf wasn't mentioned. it's made for exactly that and you get bonus features like lite weight JIT and safety given that it supports a strict subset of asm commands that are deemed safe. The arguments against JIT are
254.
▲
by
halayli
8y ago
Reminded me of xtree gold https://en.wikipedia.org/wiki/XTree
255.
▲
by
halayli
8y ago
How so? If the stream's buf is HTTP and you do a seek(x); read(y); that can be converted to a an HTTP POST + Range: x-y; and the stream can decode/cast to the type required.
256.
▲
by
halayli
8y ago
IMO a stronger and more flexible concept is a stream. A stream takes a buffer reader/writer of some kind (mem, socket, file, etc..) and does the usual I/O & encoding/decoding. It's similar to read()/write() vs f
257.
▲
by
halayli
8y ago
You can use whatever prediction technique you like, but if your model is wrong, then so will the prediction. Predicting stock prices requires considering as many factors as you can gather that goes into setting the stock price, and how the
258.
▲
by
halayli
8y ago
my point was that they'd be screwing themselves.
259.
▲
by
halayli
8y ago
It's hard to believe that someone at youtube decided to screw probably 50%+ of their users in hopes they'll move to chrome.
260.
▲
by
halayli
8y ago
why don't they say it as it is, it failed miserably... instead of using security as an excuse to shutdown the service ?
261.
▲
by
halayli
8y ago
I live in SF as well, I find Portland a very good alternative.
262.
▲
by
halayli
8y ago
This still looks like a micro service architecture to me, or very close. A monolith solution would probably be everything in a single process (1 tier). Queues decouple services, whether the code base includes the consumer & producer tog
263.
▲
by
halayli
8y ago
Yes there is, and that's why tpc benchmarks exist. I didn't say there's a one-database-fits-all. But comparing kdb+ to mapd and clickhouse is a very reasonable comparison.
264.
▲
by
halayli
8y ago
mapd beats it and iirc so does clickhouse.
265.
▲
by
halayli
8y ago
Postgresql, llvm, Python, sqlite are pretty up there.
266.
▲
by
halayli
8y ago
This is completely useless if you don't mention what STL library version you're using. C++ sets define the interfaces and not the implementation.
267.
▲
by
halayli
8y ago
tabs where made of 3 images. left/right radius corner, and stretch background in between.
268.
▲
by
halayli
8y ago
Freebsd have had kqueue for the longest time. Unfortunately Linux didn't adopt it for political reasons and osx did a half port and dropped disk io support.
269.
▲
by
halayli
8y ago
Nothing you said addresses the issues they mentioned: > In early 2017 we reached a tipping point with a core piece of Segment’s product. It seemed as if we were falling from the microservices tree, hitting every branch on the way down. I
270.
▲
by
halayli
8y ago
Exactly! That's the context I was considering as well (including school) Schools do a pretty bad job at providing context to the problem. What we are taught are solutions. And these solutions came from problems that were objectives to
More ›