Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gurkendoktor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
gurkendoktor
5y ago
A good cost/benefit analysis would have to include this. And yes, I personally think that the developed world can drive change in other countries, otherwise I wouldn't donate to an NGO that attempts to do just that (not for plasti
92.
▲
by
gurkendoktor
5y ago
> Why does the fact that you have bigger problems in your backlog negate working on the smaller, quicker wins first? One should pick the tasks with the best cost/benefit ratio first. It seems intuitive enough to me that the same amo
93.
▲
by
gurkendoktor
5y ago
Exactly. And I don't even think the separation would be hard on a technical level. I spend a lot of time on websites where I rely on JavaScript (Google Maps, navigating GitHub etc.), but it's always the same handful of sites. Havi
94.
▲
by
gurkendoktor
5y ago
I don't think splitting up the controller part into multiple classes is a break from MVC. Nobody would demand that the view or model layer consists of a single class per screen, why should the controller layer follow this rule? I actua
95.
▲
by
gurkendoktor
5y ago
Even when you are in a situation where most of your code belongs in the controller layer, nobody forces you to put it all in one class.
96.
▲
by
gurkendoktor
5y ago
Duolingo's loading screen regularly highlights that: "Did you know that most people learning Swedish on Duolingo are in Sweden (refugees)?" (quote from memory)
97.
▲
by
gurkendoktor
5y ago
If it's any consolation, "Blender" is a actually negative word in German ("deceiver"; someone who blinds others).
98.
▲
by
gurkendoktor
5y ago
I've never learned bopomofo in earnest, and for pinyin I just memorized everything that felt like an exception to me, even though it might have some internal logic. For example, I guess that the "a" in "yan" is diff
99.
▲
by
gurkendoktor
5y ago
Pinyin is predictable if you memorize every single syllable that exists, it is not logical on a letter-by-letter basis. For example, "liu" should be pronounced "liou" and "shui" should be pronounced "shuei
100.
▲
by
gurkendoktor
5y ago
I can only offer counter-anecdata, but whenever I see a kid wearing Star Wars merchandise, it is from the original trilogy. I think the last trilogy will have even less cultural impact than episodes 1-3.
101.
▲
by
gurkendoktor
5y ago
Just going through the Mandarin onboarding in Duolingo again, and one of the common errors is that 得 is pronounced de2 in sentences where it should be dei3. There are also common words like 星期 where the characters are the same in SC/TC
102.
▲
by
gurkendoktor
5y ago
Offering Traditional Chinese would require a lot of review work to catch character mapping errors and phrases that are not idiomatic in Taiwan. Given the low quality of Duolingo's existing Chinese sentences, I wouldn't hold my bre
103.
▲
by
gurkendoktor
5y ago
> Why they don't offer this in the app is beyond me. Lesson instructions are even weirder: When you take the Japanese class in English, you can read the explanations for each lesson in the app. However, when learning French in Germa
104.
▲
by
gurkendoktor
5y ago
It depends. I've just been looking for (non-sleeper) tickets from Germany to Prague and back, found some for a group of five adults for 149€ one-way, three months into the future. The last sleeper train I took was Berlin-Budapest and t
105.
▲
by
gurkendoktor
5y ago
> ...but 6/4 cores, respectively, were defective, so they get disabled. I don’t think they’re crippling fully functional hardware. Hmm, but what if 3 cores are defective? If that can happen(?), then it seems one extra functional cor
106.
▲
by
gurkendoktor
5y ago
I suspect that this is because games have fixed rules: you can't use a hammer to smash the enemy's chess king. Reality is a lot more flexible.
107.
▲
by
gurkendoktor
5y ago
Great comment! > A hundred years ago, most people didn't even think of becoming an author. The following is a bit tangential, but I keep thinking about it: I was watching this video on the Barnum effect recently, which basically say
108.
▲
by
gurkendoktor
5y ago
I'm a iOS developer and don't mind Vala at all. The language directly encodes the GTK object model, and I'd rather pick up a boring C#-ish language on a weekend, than learn GTK and then understand how it is bridged into a l
109.
▲
by
gurkendoktor
5y ago
Agreed on the need for fractional scaling, there is no escape from 13" 1080p and 27" 4K screens. Dell used to sell some laptops and monitors that worked well at 200% zoom, but even they stopped. I've rolled my eyes at the &qu
110.
▲
by
gurkendoktor
5y ago
Good point. Honestly, in Spotify I don't even want to see political content from people I agree with. Sometimes I just want to take a break from my European duty to care about US politics 24/7, but it's getting hard to do so
111.
▲
by
gurkendoktor
5y ago
I had an Apple TV 4K and a couple of compatible gamepads, and I loved some of the early tvOS games! Rayman, Icycle (!!), Alto's Adventure, Badlands... Then I tried Apple Arcade and it's just terrible. First, performance for all th
112.
▲
by
gurkendoktor
5y ago
The SSD can be replaced. I loved my 2015 MBP to death, but the CPU has not aged well for heavyweight languages like C++ and Swift. Switched to an M1 Air with the same 1 TB of storage and 16 GB of RAM. https://www.ifixit.com/
113.
▲
by
gurkendoktor
5y ago
Podcasts have really ruined Spotify's mobile app. The worst part is that there is space for a "Podcasts" tab in the bottom bar that would have made everyone happy by clearly separating types of content. Apple has gone a simil
114.
▲
by
gurkendoktor
6y ago
Yes, pretty sure that this is a reference to the professional-managerial class. It's a common refrain on the populist left/"dirtbag left" that identity politics are often dishonest class warfare. (I agree.)
115.
▲
by
gurkendoktor
6y ago
Besides security concerns, mixed-DPI setups are such a major pain point with X11 that many people who use a laptop with additional screens would probably switch to Wayland just for that alone. That's a large demographic.
116.
▲
by
gurkendoktor
6y ago
There are many things that the complexity calculator could take into account: the specifics of the language, the libraries that are used (which could start threads or contain hidden conditionals), the kind of project (following a spec vs. e
117.
▲
by
gurkendoktor
6y ago
> It kind of encourages you to use a lookup table or polymorphism And I think that is a problem. switch()ing over an enum will give you a warning about unhandled cases in some languages. But if you start building your own lookup tables,
118.
▲
by
gurkendoktor
6y ago
Using a map also completely sidesteps the point of cyclomatic complexity because there are no code paths to count anymore; now they're data. And even though the function does the same as before, the linter will congratulate you on the
119.
▲
by
gurkendoktor
6y ago
Ouch, sorry for the typo. But I'll double down on this: The fact that the typo is so obvious underlines that the structure is easy to review :)
120.
▲
by
gurkendoktor
6y ago
The code was inspired by a piece of Java code that rendered geometric primitives. It was basically case "box": return parseBox(); as you suggested in your other post. Turning "box" into "parseBox" using string
More ›