Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
funnymony
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
funnymony
3y ago
These examples reminded me one more issue: change in column selection, might change number of rows, which means column addition/removal is so much riskier afair. > Not if distinct is the default. If that works for you, great, but le
2.
▲
by
funnymony
3y ago
1
3.
▲
by
funnymony
3y ago
Performance implication exist, but it is secondary. Primary reason: distinct on every select shows either lack of knowledge of schema, in particular which columns make rows unique, or unfortunate schema design. (Apart from niche cases, sche
4.
▲
by
funnymony
3y ago
Its a matter of your eyes being used to this. If for ten years you always indented the code this way Void F() { Foo(); Bar(); Baz();} Then following snippet will seem hard to parse mentally: Void F()
5.
▲
by
funnymony
3y ago
Somewhat relevant. Estonia has a law that financial instutions should have servers located on Estonian soil. (Exactly for this kind of scenario)
6.
▲
by
funnymony
3y ago
Link to exact section: https://dlang.org/spec/function.html#scope-parameters
7.
▲
by
funnymony
3y ago
This would be like learning everything from books vs learning by experience. (Can’t learn skiing from books. I talk from experience)
8.
▲
by
funnymony
3y ago
> deserialization is validation I saw similar, catchy phrase: “parse, don’t validate”. https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va...
9.
▲
by
funnymony
3y ago
Interesting idea. But this would require no intermixing between groups.
10.
▲
by
funnymony
3y ago
Problem is that despots want power, whatever system you have you will get despots wanting to be at the top, and doing what is necessary to get there. Democracy at least moves them around a bit.
11.
▲
by
funnymony
3y ago
I’ve read something like: there are bunch of observations of extremely dense masses in various suroundings. Talented people can find explanations other than black holes in each case. But that feels adhoc, and black hole fits quite nicely fo
12.
▲
by
funnymony
3y ago
:)
13.
▲
by
funnymony
3y ago
On its own, seeing ‘SQLException‘ in method signature, does not provide you with information: “this is part of bigger transaction, and you have ability and responsibility to retry or rollback”. That will be part of lib documentation, which
14.
▲
by
funnymony
3y ago
Yes, grep and nuclear reactor controller, and your gui grep are applications. They all use library for file reading. As author of file reading library you don’t know how critical is the failure to open a file or how it should be handled. My
15.
▲
by
funnymony
3y ago
“bad” might not be the right word. Maybe better “usefulness for current population of developers is very limited”.
16.
▲
by
funnymony
3y ago
Any chance you have a code/pseudo code example of this? My naive take on this would be “just use raii/closable”. (But easily and likely, I misunderstood)
17.
▲
by
funnymony
3y ago
> important failure that can't be dismissed But importance of the failure is determined completely by the program, not the library. Grep fails to open a file for reading -> message the user and exit Nuclear reactor controller fai
18.
▲
by
funnymony
3y ago
“I wrote some very good C# code“ We all do.. its always that other guy who is at fault :)
19.
▲
by
funnymony
3y ago
Possibly there should be emergency scenarios considered. Where government turns off video things (youtube and netflix) in case of major network degradation.
20.
▲
by
funnymony
3y ago
8 to 11 needed changes in application code.
21.
▲
by
funnymony
3y ago
How do you ensure quality? Review and testing. Reviewing is easier when there is less code (i.e. libraries are in use)
22.
▲
by
funnymony
3y ago
Could you elaborate? Why is it so?
23.
▲
by
funnymony
3y ago
Storing hydrogen is not the same as storing oil. Over time, hydrogen damages the tank. (Which is undesirable combo with “explosive gas when mixed with air”) I would like some breakthrough in material sciences here.
24.
▲
by
funnymony
3y ago
If you have some time: https://youtu.be/Zklo4Z1SqkE (Sabine Hossenfelder) If I remember video correctly, summary would be: not yet
25.
▲
by
funnymony
3y ago
Why restaurant business is bad for you?
26.
▲
by
funnymony
3y ago
Mega yacht costs bazilions. Yes, lot of people would not reject idea of having it, but at the same time actual demand (i.e. actual number of people who would think price is worth it, is quite lower compared to spagetti which is much cheaper
27.
▲
by
funnymony
3y ago
I must concede: 1000x increase in driver count is too far fetched. Though if forever growth is assumed, and goal post is moved to co2 total instead of per km, then some options exist to eat up that 1000x saving: Owning more than one vehicl
28.
▲
by
funnymony
3y ago
Lets say EV cut co2 emissions by factor of 100x for each km traveled. Lets say number of cars in total follows exponential progression, 5% growth per year. It follows that after 100 years due to growth co2 gets back to original level. (Log1
29.
▲
by
funnymony
3y ago
You should not reveal that you know the code and especially the content of neighbour’s safe. Your physical surroundings might be safe, but internet is not.
30.
▲
by
funnymony
3y ago
Easy fix. Do cgi of the control room.
More ›