Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EvenThisAcronym
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
EvenThisAcronym
2mo ago
> We merged the tuple destructuring PR (that was open for years again so the author was happy to get it to land somewhere!) and upstream followed there too. FYI that had very little to do with OpenD merging the tuple syntax - at least fr
2.
▲
by
EvenThisAcronym
4y ago
I think the cognitive function model is fine and useful, which is why Dr. John Beebe's model is so appealing. My main issue with Meyers-Briggs is the use of a questionnaire to type people - I'm an ESFP, but every time I've ta
3.
▲
by
EvenThisAcronym
4y ago
Meyers-Briggs is absolute trash and should not be used by companies for anything. Big 5 is also almost completely worthless beyond vaguely describing a person's general tendencies. The only system that seems to have any sort of validit
4.
▲
by
EvenThisAcronym
5y ago
> The problem with all-chat in League of Legends, particularly in the ranked queue, is that it can only hurt your team's chances to win. At best, you're wasting time typing; at worst, you're actively frustrating and distra
5.
▲
by
EvenThisAcronym
5y ago
> As just one anecdote, the mere presence of a GC made me stop looking at D more or less immediately. That's a shame, because it is extremely easy to write GC-free code in D. One very important fact is that if you don't alloc
6.
▲
by
EvenThisAcronym
5y ago
> But it also seems like D is not suitable for a lot of things that C++ is, like embedded applications Not sure where you got this idea, as being usable for embedded programming is explicitly one of D's design goals. You can use D a
7.
▲
by
EvenThisAcronym
6y ago
> Rust has Non-Lexical-Lifetimes (and soon Polonius). D's documentation is very sparse about how lifetimes in @live will be determined, but I think it's safe to assume that it will be scope-based at first. @live also has non-le
8.
▲
by
EvenThisAcronym
6y ago
> I couldn't sleep much (sometimes 4 hours max) Did you find some way to mitigate this or did you just have to live with it during the fast?
9.
▲
by
EvenThisAcronym
6y ago
> Exercising might reduce the loss of muscle mass to some extent That does indeed seem to be the case, at least for a 16:8 intermittent fasting regimen (an 8 hour eating window with 16 hours of fasting): https://www.ncbi.nlm.n
10.
▲
by
EvenThisAcronym
6y ago
Then use garbage collection; it's an easy default.
11.
▲
by
EvenThisAcronym
6y ago
>If you need typed functional programming, your options are OCaml, Scala, F# or even subsets of Rust and TypeScript. And don't forget D. It's surprisingly well-suited for FP as its effects system has explicit support for pure f
12.
▲
by
EvenThisAcronym
6y ago
> However I MUST say this is from 4chan so BE CAREFUL about what you download and how you play with stuff. The only danger in downloading something leaked on 4chan is that you run the risk of learning a little more about dolphins than yo
13.
▲
by
EvenThisAcronym
6y ago
Rust does have auto; "let" and function literal parameter type inference, for a start. It just doesn't let you use it in the return type position.
14.
▲
by
EvenThisAcronym
6y ago
Returns A range with each fun applied to all the elements. If there is more than one fun, the element type will be Tuple containing one element for each fun.
15.
▲
by
EvenThisAcronym
6y ago
We already have this for food: services like Skip The Dishes, Uber Eats, etc.
16.
▲
by
EvenThisAcronym
6y ago
> Profit is not compensation for risk. Yes it is. The primary reason anyone takes on risk is because there is profit in it.
17.
▲
by
EvenThisAcronym
7y ago
Visual Studio with Visual D is a top notch D experience.
18.
▲
by
EvenThisAcronym
7y ago
> So what am I missing here? The Haskell program is multi-threaded (I don't know about wc's official implementation, but I assume it is as well), while the D program is single-threaded.
19.
▲
by
EvenThisAcronym
7y ago
> Rust came to be to address the issue with security and there is not really an alternative. What does Rust have to do with security? It's not even compliant with any modern security standards (at least not that I'm aware of).
20.
▲
by
EvenThisAcronym
7y ago
Yes, or if you don't want to use a template function, for whatever reason, you can wrap the result of iota(1000) into an InputRangeObject (see https://dlang.org/phobos/std_range_interfaces.html#InputRang... for an
21.
▲
by
EvenThisAcronym
7y ago
Visual D with Visual Studio is the gold standard, with full debugging, autocomplete, and static analysis support. Code-D with VS Code is also great, and it has fairly recently gotten funding from the D Language Foundation for further develo
22.
▲
by
EvenThisAcronym
7y ago
Let me give you a little guidance on this (if you happen to still be using D). Most functions in std.algorithm (and many more throughout the rest of the standard library) return "ranges", which is like a begin iterator and an end
23.
▲
by
EvenThisAcronym
7y ago
> This is different from being able to walk a directory and read random files. D doesn't allow you to do that either. You have to specify what files you are importing via a compiler switch: https://dlang.org/spec
24.
▲
by
EvenThisAcronym
7y ago
> D's contract mechanism [...] can provide very strong guarantees to the compiler... which the LLVM D compiler definitely uses. That's awesome. I didn't know LDC uses contracts like that. It'd be nice to have similar
25.
▲
by
EvenThisAcronym
7y ago
- D: lightning fast dev time; fast compile times; performance directly comparable to C and C++; metaprogramming capabilities second only to Lisp.
26.
▲
by
EvenThisAcronym
8y ago
Yes, thanks. Forgot to actually post the link.
27.
▲
by
EvenThisAcronym
8y ago
> Tangentially it’s not clear to me what relevance D should have for any greenfield projects where there is not already heavy investment in a code base to consider. Another one of Cybershadow's articles on D that blew my mind is, IM
28.
▲
by
EvenThisAcronym
8y ago
I'm not disputing that, just providing a data point that you can still live in Canada and work as a dev for good pay and a low cost of living. I could move to the US and make twice my current salary, but that comes with its own drawbac
29.
▲
by
EvenThisAcronym
8y ago
>"don't pay very well." is a key point in Canada. You say that, and it's probably true on average, but I'm making 33% above the average salary for my province. Granted, I don't live in one of the "big&q
30.
▲
by
EvenThisAcronym
8y ago
There's a strictly adhered to rule across Reddit/HN that every D article must consist primarily of people asking why the author did not use Rust/Go instead.
More ›