Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enedil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
enedil
4y ago
I do not agree. When you benchmark you usually measure the differences between times needed to complete. This is because it is highly non-obvious that if you increase workload twice, the time increases also twice. Perhaps the algorithm is n
62.
▲
by
enedil
4y ago
Went from 4.139s to 2.413s. I fail to see how it is 70%. I think it is explained as 4.139/2.413 = 1.7 which of course doesn't make sense here.
63.
▲
by
enedil
4y ago
I doubt that if somebody cannot afford a haircut, their data would be that pricey.
64.
▲
by
enedil
4y ago
I didn't see anybody mention arbitrary code execution
65.
▲
by
enedil
4y ago
Yes, this approach is followed as well, but now you're at the problem of writing a memory allocator by yourself (which might of course turn out to be better for your usecase). So the issue of writing code that avoids allocation still p
66.
▲
by
enedil
4y ago
I wonder why you got downvoted, the comments are on point. Disclaimer: I work for ScyllaDB, although not on drivers. I can forward your question to relevant people.
67.
▲
by
enedil
4y ago
When I'm on sick leave in Poland, first two weeks are covered by the employer (80%) and only after that it's covered by tax money.
68.
▲
by
enedil
4y ago
I'm not sure how it's counted, but in Poland we initially get 20 days and 26 after you work several years. Maybe the 4 weeks include national holidays, which don't count into the limit I mentioned.
69.
▲
by
enedil
4y ago
Well, in Polish, Monday is poniedziałek, which means "after Sunday" (Sunday is "niedziela") and not "start of the week" and it looks analogous in Russian...
70.
▲
by
enedil
4y ago
I believe that it is in spirit of this website that you are encouraged to explain poorness of a joke, if you find it poor. After all, if it inspires curiosity what's the issue?
71.
▲
by
enedil
4y ago
Imo that's a bit of a failed analogy. More appropriate would be, imagine coffee is something very precious and Starbucks suddenly stopped selling to women. In this case, women need to go to other cafes, increasing their competition ove
72.
▲
by
enedil
4y ago
Quote 3 from https://pl.m.wikiquote.org/wiki/Janusz_Filipiak Sadly only in Polish.
73.
▲
by
enedil
4y ago
mutable x = y in my opinion should be allowed. After all the new variable is just a copy of old one. Why shouldn't you be able to modify it?
74.
▲
by
enedil
4y ago
Google in Poland doesn't pay in USD. Why would you think they want simpler solutions?
75.
▲
by
enedil
4y ago
You need to give away your contacts in order to chat with anyone.
76.
▲
by
enedil
4y ago
There are quite a few: - free large file upload (max 2GB), - native (non-electron) app for all the desktop platforms, - custom stickers (and not so limited as reactions on Discord, anybody can use any sticker set anywhere) - nice bot api (d
77.
▲
by
enedil
4y ago
Parent commenter asked for little o, not for big O. So to be safe, better say n^o(n^2).
78.
▲
by
enedil
5y ago
In our codebase though we have some places where we do `delete this;` and later use placement new, to restore `this` to some valid state.
79.
▲
by
enedil
5y ago
Well, if you know anonymous function, it should be easy to understand what happens. Functions are first-class objects here. Q is a procedure that takes an arbitrary procedure. It's not that you run the procedure. In fact, it's ano
80.
▲
by
enedil
5y ago
I think that the website tells you to provide yearly income in yens, but it treats the number as if it was USD. I got the info that I'm in top 1.2% when I input my salary in PLN.
81.
▲
by
enedil
5y ago
Why editioralize, when you can just flag.
82.
▲
by
enedil
5y ago
I can tell you, that I saw my native Polish, and I wish I didn't. The automatic translation is so bad, that I automatically rush to switch to English.
83.
▲
by
enedil
5y ago
C++ adds a few time-consuming stuff, like templates, however my belief was that what uses the most time is optimization passes, which won't be much faster for C. The actual benchmarks should be done however.
84.
▲
by
enedil
5y ago
Kernel has thousands of compilation units. Each of them is compiled by a separate compiler process. Only the linking at the end doesn't parallelise, however it should take a much smaller part of the time. The proportions change of cour
85.
▲
by
enedil
5y ago
C mandates that arrays have positive size. It's not really a discussion about what the target platform does, rather it's what the abstract C machine mandates.
86.
▲
by
enedil
5y ago
Manual says > If size is 0, then malloc() returns either NULL, or a unique pointer value that can later be successfully passed to free(). So it's not really an array of bytes of size 0.
87.
▲
by
enedil
5y ago
Facebook requires employees to provide their personal account, which will be used throughout the work.
88.
▲
by
enedil
5y ago
It becomes even funnier with a dual-boot setup. My headphones think they are connected with my laptop, but either the pairing was with Linux or Windows, in which case I need to disconnect and connect again.
89.
▲
by
enedil
5y ago
I believe this is just an example of what are the implications of 1 query per ms, not indication that it actually took 1 ms.
90.
▲
by
enedil
5y ago
In 2019 it was in C++17. Now it's in C++20.
More ›