Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lhecker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
lhecker
4y ago
You got the wrong person, I didn't write that. Once it became obvious that it's the only way to solve the issue and that a different use of Direct2D can't help with this, I implemented a prototype based on my pre-existing kno
32.
▲
by
lhecker
4y ago
I didn't say they were pointless anywhere. They were anything but. I did say however: If we had figured out a way to solve the issue while we continue using Direct2D, we would've definitely sticked with Direct2D. Since there was n
33.
▲
by
lhecker
4y ago
We actually took the same approach Casey suggested, at least when it comes to the drawing part which is what this is about. A lot of terminals implement it that way. We have a long way ahead of us to improve the performance of our text inge
34.
▲
by
lhecker
4y ago
I'll try to avoid sarcasm in the future. What I haven't understood yet is what significance "The solution is trivial" being sarcastic or not has on the article itself. I understand it's reflecting poorly on it due t
35.
▲
by
lhecker
4y ago
Thank you for your suggestion! I believe I can't just edit the article now, since that would be disingenuous, but I'll try to avoid sarcasm in the future and use something like you suggested instead.
36.
▲
by
lhecker
4y ago
Oh yeah, for sure. I can't tell you how much I regret being that defensive about something that benign. This was certainly a life lesson. I've apologized to Casey in person before (well, to my best ability) and I'll apologize
37.
▲
by
lhecker
4y ago
Hi! I'm the person who wrote that blog post. If you have any questions whatsoever, please let me know! English is not my native language and "The solution is trivial" was meant sarcastic. The solution isn't trivial at al
38.
▲
by
lhecker
6y ago
Some very important goods are almost exclusively produced in rural areas (food for instance, being produced by few people). The importance of these goods might be as important as the goods produced by people living in large cities (services
39.
▲
by
lhecker
8y ago
> Also, like k8s & Bazel, [gRPC] is less advanced and lower performance than their internal technology. Are you sure about that? As far as I know gRPC is literally just as good as Bazel, which is why Google is even migrating to it in
40.
▲
by
lhecker
10y ago
...which surely depends on the circumenstances. It could just as well be 3 years or more (for instance if you're part of a gang) and I think this is reasonably since you want that person to change (i.e. stop dealing) and not destroy hi
41.
▲
by
lhecker
10y ago
As I've written in another comment: > That's because the weight of the gas cylinder is relative and you got the point of reference wrong: The base weight is when it's a vacuum inside the cylinder, because otherwise it does
42.
▲
by
lhecker
10y ago
That's because the weight of the gas cylinder is relative and you got the point of reference wrong: The base weight is when it's a vacuum inside the cylinder, because otherwise it doesn't even displace the air which you don&#
43.
▲
by
lhecker
10y ago
Just put it into a gas cylinder (it doesn't even need to be compressed or anything). ELI5 version: It might be lighter than air, but that just means that it will "float" ontop of heavier things - like oil ontop of water. But
44.
▲
by
lhecker
10y ago
Can someone explain me why workers where only alive for 6 seconds? Even now: Why are they only alive for 20 minutes and why is that even acceptable? Is it due to memory leaks? I'd probably instantly lose my job if any of my systems wou
45.
▲
by
lhecker
10y ago
I think what'd be even more interesting is whether a candidate can transform a simple recursive algorithm to an iterative one and vice versa. It's taught in CS courses for instance but I know a lot of software "engineers"
46.
▲
by
lhecker
10y ago
tl;dr: Slashdot and SourceForge have a new owner which removed all this nonsense from those sites - including the adware. I believe the average HN reader - including you - should be interested in this then: https://www.reddit.com
47.
▲
by
lhecker
10y ago
And the "correct" code would be this for instance: export default function getUsers () { return getUsers().then(users => { return filterUsersWithFriends(users) .catch(err => trySomethingElse(users));
48.
▲
by
lhecker
10y ago
ASIO can be used standalone with any C++11 compiler and the compile times are quite good. If I should make a guess then I'd say that the original author of that part of the library either started before ASIO was standalone and/or
49.
▲
by
lhecker
11y ago
I'd be careful with "europeans", because primary school started at 7:00 for me in germany and gymnasium at 7:10. I had to stand up at 5:30 every day (and got to bed at about 23:00). Most german friends I know of started earli
50.
▲
by
lhecker
11y ago
AFAIK the raid was mainly coming from here: http://archive.is/bEyye There is also some stuff on here: http://archive.is/XEKxe
51.
▲
by
lhecker
11y ago
Your version is quite inefficient too... If you call `insert(_:atIndex:)` N times it will obviously move the entire content of the string N times by only a single character. The optimal solution would be instead if you create a `Collectio
52.
▲
by
lhecker
11y ago
Your code is a bit inefficient. I took the liberty of fixing that for you: https://gist.github.com/lhecker/8e89d998c156f0bfdd2d (You can use that code freely and without any attribution if you want to.) The important p
53.
▲
by
lhecker
11y ago
Because the linked article does not capture his original words well. Instead he said: > If machines produce everything we need, the outcome will depend on how things are distributed. > Everyone can enjoy a life of luxurious leisure
54.
▲
by
lhecker
11y ago
Maybe they just don't want to backport their backend code again and again for every LLVM snapshot they do, because that can be a tedious thing to do compared to just having it in origin/master forever for free.
55.
▲
by
lhecker
11y ago
You will probably like http://fakespot.com/ for discovering those fake reviews. ;) Unfortunately it does not always work accurately, but I think it gives a good estimation whether a product is legit. Example for AmazonBasic
56.
▲
by
lhecker
11y ago
I can definitely confirm that somewhere around the 8.0 release (I forgot when exactly) GitLab got a lot faster in general. Previously with the 7.x line it took about a couple seconds at least to load a page but now I barely get over a sec
57.
▲
by
lhecker
11y ago
Does this suffice? http://www.jqueryscript.net/demo/Responsive-Fluid-Sidebar-Pl... You need to use a Smartphone for the Demo above though (i.e. sth. that can produces touches and has a small enough screen), but it was
58.
▲
by
lhecker
11y ago
AFAIK most compiler will do tail-recursion optimization if the method ends in a tail call to the current function (obviously) or to a "sibling" function (i.e. if a() calls b() which calls a() again and so on) and is sufficiently s
59.
▲
by
lhecker
11y ago
Whenever I read stories like this about Microsoft I have to chuckle about all the similarities to Aperture-Science from Portal 2...
60.
▲
by
lhecker
11y ago
Oh... Thanks! :)
More ›