Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kreco
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
kreco
1y ago
Sometimes there are properties about generations that get carried "alternatively" as cycles. The generation that got too much authority will give the next generation more space (louder generation). Then the loud generation will cr
92.
▲
by
kreco
1y ago
My point is that it would make simpler for the lexer and for the human being.
93.
▲
by
kreco
1y ago
This Facebook repository also use a new "extension" to do a similar thing: https://github.com/facebookresearch/CParser#multiline-macros
94.
▲
by
kreco
1y ago
The backslashes itself make the preprocessor way more complicated for no real advantage (apart when it's unavoidable like in macros). For every single symbol you need to actually check if there is a splice (backslash + new line) in it.
95.
▲
by
kreco
1y ago
I don't think ballpoint pen belongs to history only because you don't use them. I use BIC ballpoint because they are the only ones who don't die when I carry them in my backpack. All others just cease to function for unknown
96.
▲
by
kreco
1y ago
> Every Electron app is going to feel incredibly out of place. Consistency with native app/style had never been an issue, ever. It's stylistic choice. while I get that someone would like to have the same theme everywhere it doe
97.
▲
by
kreco
1y ago
I don't fully disagree but this is not the root of the cause. If I'm being employed to create bad product (bad UI) then I'm bad at my job. Everything single decision should have a rational about it. You should fix what is bro
98.
▲
by
kreco
1y ago
> such micro-optimizations are totally unnecessary because modern CPUs are so fast that instructions are almost free. I'm amazed by the fact there is always someone who will say that such optimization are totally unnecessary.
99.
▲
by
kreco
1y ago
Why not both? The applications are launched at startup time because they have runtime startup slowness. The applications have startup slowness because of the JIT runtime/deps/.dll. At the end of the day, end users pay for the
100.
▲
by
kreco
1y ago
Not an expert but I'm wondering why this jellyfish does not age. Usually, at some point in time, cells cannot replicate correctly due to telomere shrinking. Are jellyfishes not subject to any of this?
101.
▲
by
kreco
1y ago
Your whole reply is focused at business level but not everybody can afford 32GB of RAM just to have a smooth experience on a web browser.
102.
▲
by
kreco
2y ago
And TOML.
103.
▲
by
kreco
2y ago
Not sure I really understand the "development" part of it even after reading the article.
104.
▲
by
kreco
2y ago
Makes sense! Thanks for the necessary addition. I should have mentioned the social aspect of the winning. Interestingly, I didn't even think about the single player game...
105.
▲
by
kreco
2y ago
I forget where I read this, but somehow, some people have the "brain stimuli award" associated with the "winning" aspect even when they are using cheats. So winning is winning. I'm still having hard time believing i
106.
▲
by
kreco
2y ago
The title of the article is "why you didn’t notice your teammate was cheating" Then you have the answer here: > Cheats have escaped the host PC > [...] > Colorbots are quite hard to detect. You can essentially just plug i
107.
▲
by
kreco
2y ago
Wouldn't you be happy if you could add attributes to functions,members etc (and obviously analyze them at compile time)?
108.
▲
by
kreco
2y ago
Thanks for the reply. I totally understand how those two features could be useful. For the parameter name feature, I can't imagine a strong reason for not implementing it (I mean, apart of "we have other stuff to prioritize")
109.
▲
by
kreco
2y ago
Could you describe briefly what feature you are sorely missing? I like the language intention but I can't get past the syntax.
110.
▲
by
kreco
2y ago
Definitely a feature to me. I don't have to be worried that a 3rd party library without dependency begins to have 30 transitive dependencies which now can conflict with other diamond dependencies. I need my dependency tree to be small
111.
▲
by
kreco
2y ago
Especially since the trace files are in .json. [0] [0] https://github.com/metacraft-labs/runtime_tracing#format
112.
▲
by
kreco
2y ago
> Would love feedback. What do you think? 1) It looks very nice. 2) However, the UI density is not good for me. I have a 23" monitor and I can only see 2,5 items of the "Trending Review This Week". I should be able to read
113.
▲
by
kreco
2y ago
In one of my past job, for some reasons I was the only one diving into legacy 12+ years old code. The other members kept producing new code and debugging new code. Disregarding of whether it's fair or not, there was a kind of balance t
114.
▲
by
kreco
2y ago
And from what I get it's basically the same idea as Ada's "subtyping"[0]. subtype Rainbow is Color range Red .. Blue; subtype Small_Int is Integer range -10 .. 10; [0] https://www.adaic.org/
115.
▲
by
kreco
2y ago
> But zero info on anything that could actually make this worth a buy. Obvious answer: no more game released on Switch 1 so you want a Switch 2 if you want to play new games. That's work well enough for Playstation/Xbox. The di
116.
▲
by
kreco
2y ago
> Evaluating Constant Expressions The examples are quite simple in the article but I believe more complex cases would significantly degrade the compiler speed (and probably the memory footprint as well) and would require a VM to leverage
117.
▲
by
kreco
2y ago
Kaiji is a fantastic manga! The atmosphere is quite unique and for 1996 it was so innovative.
118.
▲
by
kreco
2y ago
> Cool, you now invented your own DSL and half-baked meta programming macro language I'm not sure I'm following your statement. What he said was to use a C program to parse C code and emit additional C code. There is no mention
119.
▲
by
kreco
2y ago
That's interesting because maybe a byte will not be 8-bit in 45 years from now on. I'm mostly discussing from the sake of it because I don't really mind as a C/C++ user. We could just use "octet" and call it a
120.
▲
by
kreco
2y ago
Now you can also enjoy the fact that you can't even compile: std::cout << (std::byte)32 << std::endl; because there is no default operator<< defined.
More ›