HNHacker News
TopNewBestAskShowJobs

simendsjo

101 karma · joined August 5, 2010

submissionscomments
simendsjo··on Using Guile for Emacs
You might be thinking of https://lem-project.github.io/
simendsjo··on Windows feature that resets system clocks based on random data is wreaking havoc
Remember to tell w32tm to reload the configuration too.
simendsjo··on Windows feature that resets system clocks based on random data is wreaking havoc
> I can't imagine the sequence of horrible decisions that led to doing this.

My guess is that it was created because of Windows Phone 10. But it's not a feature I'd like even on my phone.

simendsjo··on Windows feature that resets system clocks based on random data is wreaking havoc
Funny thing is that it does refuse to change the time when the delta is large. So it trusts these random bytes in the TLS handshake blindly, but when it gets the correct time from the time server some seconds later, it doesn't dare to change the time as the delta is too large!
simendsjo··on Windows feature that resets system clocks based on random data is wreaking havoc
I wrote more details in a ServerFault answer before contacting Ars Technica: https://serverfault.com/a/1132383/45588
simendsjo··on Windows feature that resets system clocks based on random data is wreaking havoc
It's easy to turn off the feature, and its described in their original blog post. The article doesn't mention it directly though.
simendsjo··on Nordic Quack (2009)
I'm Norwegian too, and remember watching it on a Swedish broadcasting channel when I was a kid. We had two channels, the Norwegian state funded broadcasting channel, and the Swedish state funded broadcasting channel. Good times!
simendsjo··on Open ≠ Free ≠ Gratis
> Jesus almighty that is a lot of licenses. No wonder MIT has just become the unquestioned default.

This is a specific thing per ecosystem/community. Some use a lot of MIT, some Apache, some BSD, some LGPL, some Boost and so on.

I suspect a lot of this is due to the viral nature of licenses. What license is compatible with MIT? MIT obviously, so let's just choose that :)

simendsjo··on Functional Generative Art Using ClojureScript
Really inspiring! Nicely structured, and easy to follow along, especially with the "Try it yourself" links. Amazingly addictive to tweak with variables :)
simendsjo··on Tail Recursion
A nice and clear explanation of why tail recursion is necessary and how it works. I usually don't like mathy examples, but it worked fine here. I especially liked the section on trampolines as I didn't know how transpilers usually did that. Well worth the read.
simendsjo··on Xamarin Forms
This doesn't sound good at all. On the flipside, I've heard and read several people who say Xamarin has been a critical part of their success and like the ecosystem and libraries.

Three years in IT is a long time, so maybe things have changed? I would love to hear other experience reports too.

PS: "Indian code farm developrs (...) low quality garbage (...)" is a gross simplification and generalization which further strengthen negative stereotypes. I advice a different wording to avoid feeding trolls and haters.

simendsjo··on Xamarin Forms
Any why are christmas trees green?
simendsjo··on Xamarin Forms
> What is the size of a minimal Fabulous app?

Agree this is interesting. Historically, Mono-applications on mobile was at least 10x bigger than Java application as they included the entire runtime system.

Can the runtime system be shared now? Is .NET Core a thing on mobile, and is the resulting download smaller?

While download size is no longer a problem for me, my guess is it is still a big problem many places in the world.

simendsjo··on Gitmoji – Yay or Nay?
And it also contains lots of other symbols (non-emojis) easily accessible! How could I not know about this! Thanks.
simendsjo··on Schönfinkelisation and Partial Application
Nice article! Partial application is a feature I sorely miss in other languages now. Wonder if the term Schönfinkelisation will catch on :)
simendsjo··on An Overview of the Monad
Bartosz Milewskis Category Theory for Programmers also has nice explanations for all these concepts. Haven't read through everything, but what I've read has been very high quality.

https://bartoszmilewski.com/2014/10/28/category-theory-for-p...

simendsjo··on Never Use toString() for Behaviour
More like "beginning software architecture". While this is "common knowledge" after coding for years, it's actually hard-earned, battle-scarred knowledge. Sharing experience on how to design software is very useful for all the people just starting out.
simendsjo··on Never Use toString() for Behaviour
A complete waste of time for some, and very useful for others. I don't believe comments like this is constructive for anyone.
simendsjo··on Never Use toString() for Behaviour
There's nothing wrong with returning something well-specified from toString, but I agree this should never be relied upon. And even if toString actually return something well-specified, the same functionality should be available as a distinct method.

Any form of (semi-)automatic SomeObject -> String should be treated as a convenience for the developer to avoid getting a non-descriptive memory location reported.

Having the automatic toString isn't the problem, but maybe the name of the method is. It could be called "asDebugHelpRepresentation" or something more descriptive.

simendsjo··on F# introduction for my coworkers
I've written an F# introduction for my C# coworkers. It haven't been reviewed, so it probably has many faults. Might still be useful for others. Any feedback is appreciated.
simendsjo··on Stop Using the Daylight Savings Time
I guess you don't live far up north. All wake hours in total darkness is quite depressing.
simendsjo··on Improve your touch typing
I even did this during a test running in a browser at school. Luckily it was possible to reopen it and nobody noticed. I've done this so many times that I have some setup always running vim in the background in a tmux session only a keypress away. Super+Shift+v then type <leader>y and paste in the browser.
simendsjo··on Code Keyboards
I've been using TypeMatrix 2030[1] for about four years. While not a mechanical keyboard, it still feels much like it. Together with the Programmer Dvorak[2] keyboard layout, I cannot really think of a better "code keyboard".

[1] http://www.typematrix.com/2030/features.php [2] http://www.kaufmann.no/roland/dvorak/

simendsjo··on Asynchronous I/O that doesn’t get in your way, written in D
Not answering your question, but there is a research project implementing a Javascript JIT compiler in D: http://pointersgonewild.wordpress.com/higgs/
simendsjo··on Asynchronous I/O that doesn’t get in your way, written in D
The documentation for raw TCP might be a bit sparse: http://vibed.org/docs#raw-tcp

There was a talk on dconf 2013 about vibe: http://dconf.org/2013/talks/panteleev.html Notice the slides and video links. It focuses on web development, but you'll get some insight into vibe.d that's valid for TCP too.

simendsjo··on Asynchronous I/O that doesn’t get in your way, written in D
They are, and even talked about it at dconf 2014. The video will be uploaded within some days. http://dconf.org/2014/talks/simpkins.html

Here's one of the projects written for Facebook by Walter Bright: https://github.com/facebook/warp

simendsjo··on Facebook puts bounties on bugs in the D programming language implementation
Shared libraries work on gnu/linux (since 2.063..?), they just haven't been announced (the devs want some "beta" testing first I seem to remember). EDIT: Ok, since 2.064
simendsjo··on Facebook puts bounties on bugs in the D programming language implementation
The sneaky possibility has already begun. You just have to follow the depths of the newsgroup :) http://forum.dlang.org/post/l54orn$tn3$1@digitalmars.com
simendsjo··on Facebook puts bounties on bugs in the D programming language implementation
I noticed this too. But I wouldn't single them out. A lot of sites I visit has problems without js. It's even worse when the site isn't blank - _some_ things just doesn't work or show as they should...
simendsjo··on Facebook puts bounties on bugs in the D programming language implementation
"New" paradigms? Care to elaborate?
Page 1 of 2Next →