Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Zababa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
421.
▲
by
Zababa
4y ago
> When my math teachers told me "just do the practice problems", I also thought they were idiots, but they were actually right... Reading more would be reading problems. Doing practice problems is equivalent to writing and havi
422.
▲
by
Zababa
4y ago
> The second important property of consciousness that any theory needs to explain is that consciousness is a single, cohesive experience. My consciousness is of my entire self. It is not of half of myself, nor is it some superposition of
423.
▲
by
Zababa
4y ago
You're right, idiomatic C# will have usually way more nulls than idiomatic Rust.
424.
▲
by
Zababa
4y ago
> In C# you can explicitly, in the language, basically say "Don't worry this won't be null" and the compiler takes your word for it and lets you do stuff that definitely isn't OK if it's null. You can do thi
425.
▲
by
Zababa
4y ago
Rust has a concept of null, though there are way more nulls in regular Java code than in regular Rust code: https://doc.rust-lang.org/std/ptr/fn.null.html . If the issue is representing non-existence, Kotlin, C# an
426.
▲
by
Zababa
4y ago
Go or even Java. The author talks about how they think Option would reduce errors. Turns out Java has Option. In fact, lots of languages have Option and don't come with all the Rust stuff that you may or may not need. For backend serve
427.
▲
by
Zababa
4y ago
Web applications are still applications, and web applications and desktop applications are closer than applications and games.
428.
▲
by
Zababa
4y ago
Funny that in a way we fall into the same pattern as GPT-3, reproducing the same two lines always. The first is "GPT-3 generated this", the second "but how do we know it really generated that?".
429.
▲
by
Zababa
4y ago
I don't remember "frens" being used as a symbol by a country/ideology commiting war crimes during a world war.
430.
▲
by
Zababa
4y ago
I use loop habit tracker, and the checkboxes are regular checkboxes: https://loophabits.org/screenshots/1.png .
431.
▲
by
Zababa
4y ago
Another obvious narrow waist is money. Language might be one, especially English today.
432.
▲
by
Zababa
4y ago
> I am reminded of a study where the hue of lights in a factory was changed, and the workers were reported happier and more productive. Then they changed it again (actually, to the original hue), and the workers reported being happier st
433.
▲
by
Zababa
4y ago
The correlary to that is that unless you go out of your way to create a "cool" desktop for yourself, the desktop you use will change every few years, usually breaking your habits and becoming less and less usable. For example, I&#
434.
▲
by
Zababa
4y ago
So the innovation here is instead of doing "User.findOne({name: "Glauber Costa", age: {superiorOrEqual: 40}});" you do what's in my previous comment?
435.
▲
by
Zababa
4y ago
Isn't this what an ORM does? You write "User.findOne(user => user.name == "Glauber Costa" && user.age >= 40);" and it will be translated into SQL. Maybe I'm missing something here, but I don'
436.
▲
by
Zababa
4y ago
That depends on the types. You can have something as basic as "int", something a bit more complex like arrays, or something even more complex like GADTs https://v2.ocaml.org/manual/gadts.html
437.
▲
by
Zababa
4y ago
I've found that this video https://watch.ocaml.org/videos/watch/74ece0a8-380f-4e2a-bef5... was a good explanation of effects with concrete examples, but I don't know if it's still up to date.
438.
▲
by
Zababa
4y ago
What does this have to do with OCaml?
439.
▲
by
Zababa
4y ago
You can also have that with Dart, F#, Go, Haskell, Haxe, Java, OCaml, Scala and probably some other languages.
440.
▲
by
Zababa
4y ago
> Ocaml's standard library is a huge sore point. I think this is a bit overstated. It's roughly the same size of JavaScript, missing regexes but having some stuff that JS lacks. And in lots of languages with large standard libr
441.
▲
by
Zababa
4y ago
> But you really don’t need much more engineer time than using another language, and you get the lower overhead when you actually run your program. That seems like an extraordinary claim to me. That would imply that when picking somethin
442.
▲
by
Zababa
4y ago
No, type inference avoids this issue.
443.
▲
by
Zababa
4y ago
I do, I even remember correcting that but it looks like I didn't.
444.
▲
by
Zababa
4y ago
I don't think that's true, I've made friends at school while only seeing them at school. I saw them in other contexts only after being friends with them.
445.
▲
by
Zababa
4y ago
I don't know if something is missing from this article or if I have a very restrictive view of friendship. For example, when I was in college, there were a few people with which I talked pretty much everyday, had lunch with them, went
446.
▲
by
Zababa
4y ago
Thank you for this, it's great to have passionate people working on interesting projects like those and sharing them with everyone.
447.
▲
by
Zababa
4y ago
Here's the RSS of the BBC: http://feeds.bbci.co.uk/news/world/europe/rss.xml
448.
▲
by
Zababa
4y ago
> - anyone can contribute to writing or editing! e.g. "source code"/content of the book is hosted in a Git instance; Open source doesn't mean open to contributions! For example, SQLite is open-source, but is not open
449.
▲
by
Zababa
4y ago
You're right, it's in another article by the same author: https://cajundiscordian.medium.com/what-is-lamda-and-what-do...
450.
▲
by
Zababa
4y ago
Trying to teach an AI transcendental meditation and assuming the AI is actually practicing it seems very unusual.
More ›