Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gary17the
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
gary17the
1y ago
> This is a false dichotomy. Focusing on grammar is not the opposite. I don't follow you. I did not claim that focusing on grammar was a literal opposite of anything. I claimed that in my case "repetitive learning by example&
32.
▲
by
gary17the
1y ago
> the same question kept coming I was under the same impression, but later the problem disappeared. You have to give Duolingo a couple of months of learning effort first, so that Duolingo has a larger base of sentences that you should al
33.
▲
by
gary17the
1y ago
> [learning by translation] [is] an utterly broken approach to learning languages I speak one foreign language fluently, which I learned in a traditional classroom environment with a teacher, and recently started to learn another languag
34.
▲
by
gary17the
2y ago
Possibly, but not necessarily. You burn out even harder if you do even more of the same kind of work that has burned you out already. The OP mentions: "if I have time, I might actually build something small", "I miss being a
35.
▲
by
gary17the
2y ago
> I don't have long work hours. I receive a good salary. Perhaps consider creating your own product as a "micropreneur": a mobile app, a SaaS service, a social media website, etc. Evenings/weekends at first, using you
36.
▲
by
gary17the
2y ago
I think it would be helpful to clearly distinguish between "good ideas" and "excellent ideas". It's relatively easy in the complex art of programming to come up with a dozen good ideas. It seems very hard in the com
37.
▲
by
gary17the
2y ago
No, Linus Torvalds doesn't work on the Rust compiler, but it is up to people like Linus to support or shoot down a particular PL for a particular use case. And here we arrive at the heart of our discussion: I am personally much more in
38.
▲
by
gary17the
2y ago
I think it would be helpful to clearly distinguish between PL simplification (e.g., " if let Some(x) = x, x == 42 {} ") and convenience-driven PL expansion (e.g., " let @discardable lhs = rhs ?? 0; "). In case of the for
39.
▲
by
gary17the
2y ago
Javascript has a quite different use-case audience than Rust. As an example, try to convince a guy like Linus Torvalds to officially support a particular PL for Linux kernel development, when his absolute priority (quite rightly so) is pred
40.
▲
by
gary17the
2y ago
> The rust RFC process is a graveyard of good ideas. I actually have quite an opposite view: I think the Rust core team is 100% correct to make it very hard to add new "features" to the PL, in order to prevent the "languag
41.
▲
by
gary17the
2y ago
"If you like that, you're gonna love this." (Private Hudson in "Aliens", 1986) - Ash Maurya, "Running Lean: Iterate from Plan A to a Plan That Works". Try to get your hands on a preview of the upcoming 3rd
42.
▲
by
gary17the
2y ago
I have been yearning for this feature unremittingly since 1992. Now the intolerable void inside me will finally have been filled.
43.
▲
by
gary17the
2y ago
Not if you want to actually execute the state of a human brain in a digital simulation to see how it works and whether it still displays certain abilities such as comprehension and consciousness. Otherwise a digital scan of a brain is just
44.
▲
by
gary17the
2y ago
> we may likely discover that a huge portion of [a human brain] is redundant Unless one's understanding of algorithmic inner workings of a particular black box system is actually very good, it is likely not possible not only to disc
45.
▲
by
gary17the
2y ago
[AI] "Frontier [supercomputer]: the storage capacity is reported to be up to 700 petabytes (PB)" (0.0007 ZB). [AI] "The installed base of global data storage capacity [is] expected to increase to around 16 zettabytes in 2025&
46.
▲
by
gary17the
2y ago
Lowest. Common. Denominator. Every sage switches Visual Studio Code to vi mode.
47.
▲
by
gary17the
3y ago
The distinction between `Rc<T>` and `Arc<T>` exists in the Rust world only to allow the Rust compiler to actually REFUSE to even COMPILE a program that uses a non- thread-safe primitive such as a non-atomic (thus susceptible to
48.
▲
by
gary17the
3y ago
I don't think it's necessary to understand every single `Rc<T>` method[1] to use Rust smart pointers to learn Rust. Perhaps try a different learning resource such as "Rust By Example"[2], instead? [1] https:/
49.
▲
by
gary17the
3y ago
An interesting point, but I would have to see some very serious performance benchmarks focused specifically on, say, RC Rust vs. GC Golang in order to entertain the notion that an RC PL might be slower than a GC PL. Swift isn't, AFAIK,
50.
▲
by
gary17the
3y ago
No, not really. Firstly, there is no significant "friction" to using Rust smart pointers and internal mutability primitives, as those constructs have been added to Rust for a reason: to solve certain borrow checker edge cases (e.g
51.
▲
by
gary17the
3y ago
If you do not want to mess with Rust borrow checker, you do not really need a garbage collector: you can rely on Rust reference counting. Use 1.) Rust reference-counted smart pointers[1] for shareable immutable references and 2.) Rust inter
52.
▲
by
gary17the
3y ago
Consider cross-platform -ness. For example, if you make a new app with domain logic in C++, you can build it on iOS through Swift/Objective-C++ >> C++, or on Android through Java JNI >> C++, or on React Native through JavaS
53.
▲
by
gary17the
3y ago
I could be wrong, but from my experience, serverless has only one crucial advantage over serverful: the ability to instantly scale up on a moment's notice. You deploy some code to an established cloud provider, the cloud infrastructure
54.
▲
by
gary17the
3y ago
I think the nomenclature comes from the fact that "traditionally", before you can upload a piece of code somewhere and have it executed, you have to first setup a server, as in: an instance of a particular operating system (a phys
55.
▲
by
gary17the
3y ago
I have to disagree with some of the other posters in this thread: I think the only way to learn to control growing complexity of a software project is to use software patterns extensively, disregarding any associated productivity costs. Don
56.
▲
by
gary17the
3y ago
The case for Rust is not only memory safety, but also unexpected state mutation safety, as well as multi-threaded programming safety, as well as async programming safety, as well as (partial) logic error safety (e.g., forgetting to release
57.
▲
by
gary17the
3y ago
Learn a strongly-typed programming language (so the compiler can guide you on how to fix your mistakes), preferably with garbage collection (so the compiler can take care of memory management for you), preferably one that supports modern la
58.
▲
by
gary17the
3y ago
> this is one of the main things Rust users don’t promote enough This is probably because using internal mutability not to achieve a valid design goal (such as a controlled side-effect on an otherwise immutable entity), but to side-step
59.
▲
by
gary17the
3y ago
The Entity Component System (ECS) pattern seems to side-step the Rust borrow checker entirely in order to solve the following issues, all at the same time: 1.) allow a "parent" entity to have a reference to a "related" e
60.
▲
by
gary17the
3y ago
> Now can I have just a safe C without all the other stuff, pretty please? :) Hmmmmm, if you are not being forced by others into any particular Rust feature set (standard) and you are not being forced into any preexisting Rust codebase,
More ›