back
user profile
lerno
1,422karma·409submissions·April 1, 2014
recent activity (409 total)
comment
I’ll buy it so that my kids can grow up learning basic in the old school way. The Spectrum basic was one of the best back in the day. I’ve been teaching them using a C64 emulator but that Basic is pre…
comment
Having a full size C64 that’s based on emulation I would respectfully like to disagree. First of all the emulations all end up with minor glitches. Second, a machine like the Spectrum Next outclasses…
comment
As alternative, I introduced “failables” into my programming language C3. It has the benefits of Go error handling but none of the downsides. I wrote two blog posts as I developed the idea: https:…
comment
Yeah you should totally do like Sweden where dead remains at a constant high level and where reduction to a low number of cases per day is very very far away. This “almost lockdown” strategy is almost…
comment
Oh, looks like they have a partly completed compiler with a c transpiler backend: https://cforall.uwaterloo.ca/trac/browser …
comment
I wonder how they propose to solve exceptions, destructors, constructors and overloading while being more compatible with C than D. Apparently a beta was promised for "early 2019" according …
comment
It’s interesting how “evolutionary approach” is used. Compare with C2: http://www.c2lang.org/ I think that in the case of C2 it’s still a language that will rely on the same paradigms…
comment
Pure desinformation. Taiwan is and remains an independent country despite the wishes of the Mainland Chinese regime.
comment
... and then the actual arguments included are basically things already convincingly refuted. But hey, repeat a lie enough times...
comment
My take on why OO - as usually taught and practiced - is problematic: https://link.medium.com/GEgk2vjLpZ
In short: it requires a lot of up front design and abstract thinking, plus the…
comment
Funny, I thought I would like the ”try”, but looking at these examples I prefer the Go1 version.
comment
If we assume average value of GDP at t = g(t) Energy usage per point of GDP = f(t) Then we can obviously construct a hypothetical scenario: lim t->inf g(t) * f(t) = C This is obviously possible if …
comment
I’ve read parts of most of those books. Some I’ve read from cover to cover. But none of them are books with info that you couldn’t read in other books. Some definitely better written or more up to dat…
comment
I wonder if it’s not that string theory gets its more reasonable results simply by reducing the singularity of a particle in one dimension. If we look at the idea of a ”point particle”, it’s clearly s…
comment
Yes, and Mainland China has been threatening with military action if they would simply call the country Taiwan. So yes your point was...?
comment
Wow, people using 512 bit keysizes in 2018?? Back in 2014 I got the recommendation to ditch 2048 in favor of 4096.
comment
This is why I have little confidence that Tokamaks and similar will have much success. Instead of trying to prevent the non-linear behaviour of plasma it should be utilized. Look at (grossly underfina…
comment
Been exactly there with a game. Solution? Take a data centered approach: a command object (just a function really) updates HP, XP, triggers visual effects etc. Monster and Player classes are just thin…
comment
The Rust Community has a Huge Crackpot Evangelist Problem and Developers Don’t Know how to Deal with It
comment
No, some logic simply isn’t cleanly decomposable, plus the main problem here is that objects lets you get away with implicit state (e.g. if (this.x == 0) doA() else doB(); ) for long enough that when …
comment
Really? I’d say the accidental distribution of state across objects due to cross cutting concerns is exactly where OO breaks down for me.
comment
Commando on the C64 didn’t have an ending. It just continued. I know since once you got good enough you could complete the stages effortlessly. My longest play was a couple of hours straight - enough …
comment
Ok, so a ”Maybe” avoided, but instead we added a coupling, plus moved the decision logic to the inside of the Customer object? I would consider this a very bad design. It’s one of those solutions that…
comment
No no no. That is a one-way trip to hell. There is no ”good for all threading scenarios” thread safe mutable array design. I’ve debugged too much java code where the programmers thought that ”thread-s…
comment
Interestingly generics seem to drive the addition of type inference in order to avoid having to write too complex types, losing the self documenting nature of the static type, but still not avoiding t…
comment
I find myself wondering how many Swift converts actually wrote Objective-C like it was supposed to. I’ve run into a lot of programmers that worked with ObjC as they would Java or C++, that is, using v…
comment
I can’t believe no-one is mentioning the difference between Elite, WC and X-wing in terms of flight controls. If you know your classic Elite, it’s basically roll and up/down. WC had (as basic con…
comment
Except for the fact that he was talking in context of Europe where this is - unfortunately - verifiably true.
comment
Let’s assume it is a physical process. We can then recreate it away from a body. We run the experiment. Something is now experienced. Who is it that experiences?
comment
To have fast compiles be within x2 (or thereabouts) of optimized build is very important for plain productivity reasons. Therefore it's a very valid concern.