Better HN
topnewbestaskshowjobs
Log inSign up

simendsjo

101 karma · joined Aug 5, 2010 (16y ago) · 33 submissions

Submissions

comment 1y ago · link · parent

You might be thinking of https://lem-project.github.io/

comment 3y ago · link · parent

Remember to tell w32tm to reload the configuration too.

comment 3y ago · link · parent

> 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.

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

I wrote more details in a ServerFault answer before contacting Ars Technica: https://serverfault.com/a/1132383/45588

comment 3y ago · link · parent

It's easy to turn off the feature, and its described in their original blog post. The article doesn't mention it directly though.

7.

A Functional Architecture Demo(functional.christmas ↗)

2 points · by simendsjo · 5y ago · discuss

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

> 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 :)

comment 6y ago · link · parent

Really inspiring! Nicely structured, and easy to follow along, especially with the "Try it yourself" links. Amazingly addictive to tweak with variables :)

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Any why are christmas trees green?

comment 6y ago · link · parent

> 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.

comment 6y ago · link · parent

And it also contains lots of other symbols (non-emojis) easily accessible! How could I not know about this! Thanks.

comment 6y ago · link · parent

Nice article! Partial application is a feature I sorely miss in other languages now. Wonder if the term Schönfinkelisation will catch on :)

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

A complete waste of time for some, and very useful for others. I don't believe comments like this is constructive for anyone.

comment 6y ago · link · parent

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.

comment 9y ago · link · parent

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.

22.

F# introduction for my coworkers(simendsjo.me ↗)

3 points · by simendsjo · 9y ago · 1 comment

comment 10y ago · link · parent

I guess you don't live far up north. All wake hours in total darkness is quite depressing.

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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/

comment 12y ago · link · parent

Not answering your question, but there is a research project implementing a Javascript JIT compiler in D: http://pointersgonewild.wordpress.com/higgs/

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 13y ago · link · parent

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

comment 13y ago · link · parent

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
12