Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sixthDot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
sixthDot
3y ago
But linking is slow, plus also only possible using ld.bfd. This causes problems here as I default to gold... For now; each time you start using or close lazarus you have to remind to change ld target. Otherwise compilation is indeed fast be
152.
▲
by
sixthDot
3y ago
That reminds me a problem I thought I had in STYX... For a few months I had the feeling that a good switch-expression requires the bottom type... It turns out that the `assert(0)` idiom, used in a lambda, is sufficient: var u32 a = sw
153.
▲
by
sixthDot
3y ago
> Google said the change was because of security reasons, highlighting that forgotten and unused accounts are more likely to be compromised. Some might think "unlikely", however this really happens. Old account are hacked and t
154.
▲
by
sixthDot
3y ago
> says one of the founders of MGMT LUX, who spoke to VICE anonymously. I did not like Vice because of that kind of things. That "fresh" aspect on first glance but you realize later that those guys are not real journalists.
155.
▲
by
sixthDot
3y ago
The only limit I've ever reached with BNF is that you cannot express permutations of given set of rules, you really have to write every possibility literally.
156.
▲
by
sixthDot
3y ago
> The BBC seems to be up in arms about substitution They are not. They inform the reader that this system exists. Then little cherry on the cake, this system eventually leads to child labor. Plus chocolate toping, eventually someone died
157.
▲
by
sixthDot
3y ago
> But these days folks are mostly used to the C style syntax. And I'm not even arguing that it is a better language than C or others. But the whole industry has gone overall into believing that anything newly 'invented' is
158.
▲
UX patterns for CLI tools (2022)
(lucasfcosta.com)
8 points
by
sixthDot
3y ago
|
0 comments
159.
▲
by
sixthDot
3y ago
LUA definition of an identifier seems not strong enough for a configuration file: > Names (also called identifiers) in Lua can be any string of letters, digits, and underscores, not beginning with a digit. This coincides with the definit
160.
▲
by
sixthDot
3y ago
More generally that relates to "innovation VS progress". Systematically linking the two concepts is a bias.
161.
▲
by
sixthDot
3y ago
This globally good, two remarks however: > you don’t need to write destructors I think this is not accurate. Destructors are not deallocators, they are supposed to set the object field in an invalid state. Now truth is that both are ofte
162.
▲
by
sixthDot
3y ago
no shit sherlock
163.
▲
by
sixthDot
3y ago
D too https://issues.dlang.org/show_bug.cgi?id=2043 . That's actually expected when capturing by reference.
164.
▲
by
sixthDot
3y ago
https://www.tensorflow.org/install/pip#windows-native
165.
▲
by
sixthDot
3y ago
I read C API... Can it be used like vte, e.g to embedd a terminal in a software ?
166.
▲
France Orders Apple iPhone 12 Sales Halted over Radiation
(barrons.com)
4 points
by
sixthDot
3y ago
|
1 comments
167.
▲
by
sixthDot
3y ago
Problem is that to avoid the not-exp, you transfer the cognitive load on the identifier. I think a good variable name is more important, if that avoids the not-exp nice, but that's secondary.
168.
▲
by
sixthDot
3y ago
Modified or not, legally R.S. Games owns it anyway.
169.
▲
by
sixthDot
3y ago
I suspect one aspect is a sort of "generational gap". In the 2010's a lot of new languages were created by younger people who wanted to put their own language on the tracks: NiM, Zig, Odin, to name a few. Similarly, a second
170.
▲
by
sixthDot
3y ago
I see that D is mentioned in the "other languages" paragraph. When the LLVM-based compiler is used we got the exact same codegen but just like for zig, it's possible to annotate the input buffer `@noalias` (essentially an LLV
171.
▲
by
sixthDot
3y ago
lexical passes duration: 0 min(s), 0 sec(s), 79 msec(s) semantic passes duration: 0 min(s), 0 sec(s), 272 msec(s) irgen pass duration: 0 min(s), 2 sec(s), 431 msec(s) linking duration: 0 min(s), 0 sec(s), 70 msec(s) for 25kslocs.
172.
▲
by
sixthDot
3y ago
https://probablydance.com/2023/04/27/beautiful-branchless-bi...
173.
▲
by
sixthDot
3y ago
Very well known https://en.wikipedia.org/wiki/Ninety%E2%80%93ninety_rule . > What are some common activities to go from 90% to 100%? To the list I'll add - 100% coverage - rewrite it in Rust (ha ha)
174.
▲
by
sixthDot
3y ago
The big question is: why do people still put a "Quit" MenuItem in their File menu ?
175.
▲
by
sixthDot
3y ago
D standard library uses much templates. So only what's used or what is not templatized get linked in the binary. The runtime somewhat tries to follows this too, aka the "pay-as-you-go" strategy as it is called in the dlang wo
176.
▲
by
sixthDot
3y ago
There's a similar issue on gitlab : https://gitlab.com/gitlab-org/gitlab/-/issues/255108 .
177.
▲
by
sixthDot
3y ago
It still does not support .init_array / .fini_array sections. Too bad I'd like to use it.
178.
▲
by
sixthDot
3y ago
> The closest I have found is the network, which is slow to render (unless it is already cached), does not offer nearly as much details $ gitk --all not mobile however
179.
▲
by
sixthDot
3y ago
This little caclulator might help : https://gitlab.com/kirill.saidov/fromago
180.
▲
by
sixthDot
3y ago
> Then for other languages its media blackout, hate, and an avalanche of trolling [...] > Just weirds me out, as to how reactions and perception goes. The prog lang world is a massive circle jerk, with plenty of toxicity, extreme fanb
More ›