Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
HellzStormer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
HellzStormer
1y ago
I disagree that it's just there to handle edge cases. It's a useful generalization. I think the "Building an intuition" section of my blog post[1] makes a good case for that. When dealing with loops, you have 3 neste
2.
▲
by
HellzStormer
1y ago
I don't understand what problem you are referring to? A different keyword for what? for the return? for the break? Care to share an example problem?
3.
▲
by
HellzStormer
1y ago
Yes you can, you use a finally clause around your call to yield, as you would already do to handle possible exceptions happening in the block. So no extra consideration is needed.
4.
▲
by
HellzStormer
1y ago
That keyboard is seriously bad. If you start pressing the next letter before you release the previous letter, you get neither!
5.
▲
by
HellzStormer
2y ago
I don't think that's a fair comparison. In Ruby, you always use the global name (with caps) that normally matches the library with possibly some nesting. (exceptions exists, but its also possible to add globals in Python) Unless y
6.
▲
by
HellzStormer
2y ago
I'm no expert here. You mention "either side" as if the light came from both the left and the right. But I think the light would be coming along a circle all around the sun depending on exact position. So the trick here is th
7.
▲
by
HellzStormer
2y ago
The article argues that most source available licenses also provide more freedom than only reading the code, such as using it and modifying with some limits. But "source available", english-wise, sounds like you can only read it.
8.
▲
by
HellzStormer
2y ago
> You may have noticed that Google Search, Bing, etc. don't require login or captcha to do a search. Are you saying you want adds in GitHub search's results? Google, Bing, etc. make money showing you adds. Adding barriers of en
9.
▲
by
HellzStormer
2y ago
Personally, I don't think this is a valid case of enshittifying. Products that you pay for that loses features or break or become more painful to use are enshittifying. A free feature that stays free but requires you to make a free acc
10.
▲
by
HellzStormer
2y ago
> Any code calling a function that can return a Null should know that being handed a Null is a possibility and handle it, right? Well right now, the only way to know is to read comments/docs. The problem is that for many older langu
11.
▲
by
HellzStormer
2y ago
I didn't use try Traefik's documentation, but the complains appear to be somewhat structural. Meaning a PR would need to possibly restructure at least part of the documentation, or add a whole section of documentation of a differe
12.
▲
by
HellzStormer
3y ago
Exactly! If the rules are clear from the start that youcwill offer the switch, then it's useless, so dont bother. If the rules are not clear that you will do it, then maybe you only offered it because you know I have the right one and
13.
▲
by
HellzStormer
3y ago
When talking about placebo effect, it's the idea that the same thing could have happened taking a fake pill, just because the mind knows you are taking something that should have an effect. Sure, the vitamin D in his blood may increase
14.
▲
by
HellzStormer
3y ago
Unless you are in a very hot path and know with absolute certainty that n will remain very low, I'd say you are doing clear premature optimization by comparing and choosing the O(n^2). I say very small because to me, n=10_000 sounds li
15.
▲
by
HellzStormer
3y ago
> and collected seven millilitres of my tears. Can you really collect half a table spoon of tears from tear ducts? How much tears are in there?
16.
▲
by
HellzStormer
3y ago
You can try drinking more water too to stop that before noon hunher signal.
17.
▲
by
HellzStormer
3y ago
From what I remember last time I checked on this. % of money goes to a pot. Money is then globally distributed based on time listened globally (nothing is specific to you for the distribution). So barely any of the money you put in goes to
18.
▲
by
HellzStormer
4y ago
Lagrange L1 is basically the only place you can place something between Earth and the Sun without heavy maintenance costs to maintain the position. L1 is at 1% of the distance from earth to the sun. This means that if you are going to put s
19.
▲
by
HellzStormer
4y ago
Side note about that: people doing amateur porn where their face doesn't show at all still get recognized because of particular marks on their skins. So this might help this very specific case, but maybe not as much as one would think.
20.
▲
by
HellzStormer
4y ago
Logically (and ideally), the incoming air and outgoing air would exchange heat until they are at the same temp, which would be in the middle. So I would not expect an efficiency higher than 50% unless there is some special tech I'm not
21.
▲
by
HellzStormer
4y ago
The analogy isn't the same, the lock could copy the actual key to make a replica in the future. ssh is only flashing the "name" printed on each key and asking if it should try one of them. (not exactly but it's more equi
22.
▲
by
HellzStormer
4y ago
Yep, and if you cash it in less than 5 years, you lose the last 3 months of interests.
23.
▲
by
HellzStormer
4y ago
This is dated "October 12, 2021", 8 months ago. This doesn't appear to be related much to what is currently going on with Celsius.
24.
▲
What makes Ruby's blocks great
(maxlap.dev)
4 points
by
HellzStormer
5y ago
|
0 comments
25.
▲
by
HellzStormer
5y ago
Small mistake, and maybe that's why this function exists, but it's actually combines `.map(fn).flat(1)`. I think conceptually, `flatMap` is a `map` where each iteration can return multiple values (or none). So it feels quite more
26.
▲
by
HellzStormer
5y ago
My take on the difference (not a physicist): Take that galaxy that just crossed our "observable universe horizon" so that we can't see it. If there is a civilization halfway between Earth and that galaxy, they can still see t
27.
▲
by
HellzStormer
5y ago
I mean, miners could agree on a different set of rules to apply and increase the supply. It's harder/unlikely, but its not "no way to".
28.
▲
by
HellzStormer
6y ago
There is still a lot of work that has to be done before the ball is given to LLVM. If that gets optimized, it can improve the results. Also, I would expect a more recent language to have a lot more low-hanging fruits than much older and hig
29.
▲
by
HellzStormer
6y ago
To be clear, crystal does have method_missing.
30.
▲
by
HellzStormer
8y ago
For those that want to see https://imgur.com/a/OuNiT2O
More ›