Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
unscaled
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
391.
▲
by
unscaled
6y ago
Semitic languages never had a neuter gender. That's one of the prominent differences between classic Semitic and Indo-European languages. Otherwise this description is pretty correct, but it omits an important part. Middle English was
392.
▲
by
unscaled
6y ago
It was true for a while that Kotlin got stuck on JVM 8 for its target bytecode, but it's no longer true, Kotlin supports all versions up to 15 now: https://kotlinlang.org/docs/compiler-reference.html#jvm-targ... I
393.
▲
by
unscaled
6y ago
It's a rather recent thing, and it's touted as a security feature. To be fair, Japan seems to be safer than most of the world when it SIM swapping (there are pretty strict identification requirements defined by law) and for portin
394.
▲
by
unscaled
6y ago
This is not emphasized enough. Many companies enable SMS both as a second authentication factor AND a single-factor account recovery mechanism. As bad as passwords, savvy users can use a password manager and generate unique high-entropy pas
395.
▲
by
unscaled
6y ago
This is not about (runtime) performance. Like the the article mentions, the block-end version lets you implement everything without dynamic allocations and (I guess) pointer de-reference. The C3 implementation of block-end defer described i
396.
▲
by
unscaled
6y ago
Boost has had the BOOST_SCOPE_EXIT macro at least since Boost 1.38 (February 2009), a few months before the first public announcement of Go. Judging by the copyright, the earliest versions of this library (before acceptance into Boost) are
397.
▲
by
unscaled
6y ago
I think Go can only be defined as "simple" in the New Jersey (worse is better) sense of simple, that is: "it is more important for the implementation to be simple than the interface." A lot of things about Go are not sim
398.
▲
by
unscaled
6y ago
This is mostly relegated to Latin and some Greek plurals: Latin: stimulus/stimuli, fungus/fungi (2nd declension masculine) medium/media (2nd declension neuter) alga/algae, larva/larvae (1st declension) ind
399.
▲
by
unscaled
6y ago
+1000 on that point. Yes, I've dealt with systems that had bad abstractions. And I've also dealt with systems where knowledge of highly nameable things - like how to authenticate a user, or how to connect to a database, how to obt
400.
▲
by
unscaled
6y ago
7-8M yen is perhaps a good estimate for a foreign software developer salary, but it is really more about the company that you'll be working with than the market. There is a huge pay gap between small PHP shops paying 4M per year on a y
401.
▲
by
unscaled
6y ago
> The dominant perspective on writing in academia teaches people to do exactly what you are saying. Dominant perspective among whom? Surely not the entirety of Academia. Very few academic writing I've seen are written in plain (let
402.
▲
by
unscaled
6y ago
Also, as most of the commentators from Japan here noted - most people here have never seen or heard of these utensils. There are obviously some differences in how the Japanese eat stuff, but in general I can't say that Japanese are not
403.
▲
by
unscaled
6y ago
Japanese butter actually comes in many sizes, and unlike what this article says, it comes both in slabs and sticks. You can get a 100g stick, which has pre-cut slots every 10g. This one is easy enough to break evenly with a normal knife: h
404.
▲
by
unscaled
6y ago
Interesting. The only other instance I remember of (sort-of) awaits being converted into callbacks are LiveScript "backcalls": https://livescript.net/#functions-backcalls
405.
▲
by
unscaled
6y ago
Please remember the approach is "every context switch should go through a centralized channel". This including waiting on all other channels. I need to see some benchmark to this level to be proven the overhead is negligible. And
406.
▲
by
unscaled
6y ago
Communicating through channels is completely orthogonal to the type of coroutines (stackless or stackful). I would argue that Kotlin does channels strictly better than Go, since Kotlin channels do not have any of the problem of Go channels[
407.
▲
by
unscaled
6y ago
Custom stackless coroutine schedulers are also available in Kotlin. Python also also allows you to customize the event loop, I think, but overriding AbstractEventLoop. A M:N implementation would probably be inefficient though because of the
408.
▲
by
unscaled
6y ago
Not true: https://www.jtolio.com/2016/03/go-channels-are-bad-and-you-s... I'm pretty sure the implementation has seen some improvements since then. But using a channel for async await is the same as using a g
409.
▲
by
unscaled
6y ago
This used to be my assumption long ago, but this is incorrect for almost every implementation async await. The compiler does not syntactically converts your awaits to callbacks - it converts everything into state machines.
410.
▲
by
unscaled
6y ago
Since stackless coroutine schedulers can often be customized, you could (and are encouraged to) launch coroutine code doing heavy performance on a thread based scheduler.
411.
▲
by
unscaled
6y ago
Something that looks like async/await and has a rather bad performance can be implemented through channels. Nestable stackless coroutines cannot. By definition they require compiler support. Your proposed solution will not have any of
412.
▲
by
unscaled
6y ago
Calling the stackful coroutine model as offered by Go superior to stackless coroutines ("async/await") is highly controversial. Stackful coroutines are not new - it might surprise you to know that they are older than async&#x
413.
▲
by
unscaled
6y ago
ASP (the original version) and JSP are probably what you're looking for, although they're probably worse overall for this kind of thing compared to PHP. Now, most of the application servers that implement JSP will implement at lea
414.
▲
by
unscaled
6y ago
I think I agree with many points (especially avoiding frameworks and patterns when you don't need them), but even though this manifesto is warning against extremism, it makes some points that seem extreme for me. For instance, it'
415.
▲
by
unscaled
6y ago
I didn't read it as criticism of the engineers reading “Cracking The Coding Interview.” - if you want to pass algorithmic interviews you have to read it or something equivalent - or be fresh out of college. But just as this post says,
416.
▲
by
unscaled
6y ago
I also (want to) understand the article this way, but I think the article is a bit vague about this point. It focuses on Programmer X, who is coming after many iterations of trying to retrofit features into a very wrong abstraction. The art
417.
▲
by
unscaled
6y ago
To be fair, Sandi suggests adding dup tags (essentially comments with links to other duplicates, I guess) in the linked video. I can see how this could work in some cases, but I remain skeptical about this technique. I have a strong gut fee
418.
▲
by
unscaled
6y ago
I think that it depends on what you define as an abstraction. I think we're often just counting wrong or plainly heavy-handed abstractions here. There are many abstractions which you can cut and reduce code size, e.g.: * Complex framew
419.
▲
by
unscaled
6y ago
I think it's a bit of misleading marketing. Sure, Micronaut (just like Quarkus and Helidon) is ready to be compiled with Graal out-of-the-box. But it doesn't magically make any library you use work with Graal, and it also doesn&#x
420.
▲
by
unscaled
6y ago
I think Loom is thrown around too haphazardly here. Loom will present an ergonomic alternative for concurrency that is strictly superior to futures, but it will not replace or significantly simplify RxJava[1]. Project Loom is also orthogona
More ›