HNHacker News
TopNewBestAskShowJobs

niklasni1

413 karma · joined July 14, 2014

submissionscomments
niklasni1··on Lenovo collects usage data on ThinkPad, ThinkCentre and ThinkStation PCs
Still, do you want to give money to these wankers?
niklasni1··on Aboriginal storytelling accurately records sea level rises 7,000 years ago
Is lowering ever as dramatic as flooding?
niklasni1··on Ask a North Korean: what's life like in the army?
> Thanks to these diets, North Korean soldiers are said to be several inches shorter than their South Korean counterparts

If people join after high-school, how does that work?

niklasni1··on Neocities is implementing IPFS – distributed, permanent web
If somebody put something online fifteen years ago, they might not care about it anymore, but I might. With the current web, I can mirror that content by downloading it and putting it on a new server. With this system, that process would be part of the basic workings of the system.
niklasni1··on The Visual 6502
(OK, I said billions. Thousands will do.)
niklasni1··on The Visual 6502
Digital electronics means thinking of a transistor as a switch. It's got three terminals, if there's a positive voltage on the control terminal then the other two are connected and power can flow through it. That's basically it.

If you connect billions of switches in the right pattern you get a computer. Billions of little switches clicking on and off, no more, no less. No pixies or magic dust involved.

niklasni1··on Great MIPS chips of the past 30 years
> R3000 sold extremely well (over 1 million units were produced).

Although I know it's not directly comparable, I was at an ST event recently, and the representative said they were making one million STM32 ARM microcontrollers per day.

niklasni1··on Fifty
Hey, hang in there, it's only two more years till you hit your hexadecimal twenties, which is where the real party is!
niklasni1··on The most obsolete infrastructure money could buy – my worst job ever
In MUMPS, only the first two characters of function names are significant.
niklasni1··on Economics Has a Math Problem
The Danish ministry for Finance has an official macroeconomic model that is used to evaluate policies.

To the best of my knowledge, it includes a small (I think fixed) amount of structural unemployment but anything else is assumed to be transient. We might have some unemployment now, but it's always assumed to right itself after a few years.

niklasni1··on Economics Has a Math Problem
We recently had a parliamentary election here in Denmark, and economic models featured rather prominently as arguments on both sides. One particular party would consistently refer to the economic model they used as a "calculator", which obviously in most people's mind is something that cannot be wrong. This went unquestioned and even seems to have caught on.
niklasni1··on Ants are as Effective as Pesticides
I think invoking Monsanto falls under Godwin's.
niklasni1··on The End of Walking
I've got half an hour's walk to work every morning. It's a great way to start the day, especially because the route is through a couple of parks. It clears the mind and wakes me up. I really can't imagine living in a place where that wasn't possible.
niklasni1··on Phoenix 1.0
I suppose the main difference is the presence of algebraic data types. But does that even make sense without static typing?
niklasni1··on Phoenix 1.0
Having worked with Scala a lot recently, I've found that the ability to turn logic issues into type issues is an incredible gain for my productivity. OCaml programmer Yaron Minsky summed it up nicely with the advice that you should "make illegal states unrepresentable". He gives a good example of modelling a network connection in [0].

Another example is instead of shuffling a bunch of bare UUID objects around (or strings, for that matter) in a system where lots of different things have a UUID, I can make a simple reference type for the IDs of different entities. This way, calling a function that takes the UUID of one type of entity with that of another can be a type error that's caught by the compiler instead of a logic error that's caught by a unit test. This is cumbersome at best to do in Java or C, and obviously impossible in Python or Ruby, but in ML-inspired languages it's simply the most natural way to work.

[0] https://vimeo.com/14313378

niklasni1··on Phoenix 1.0
> The presence of a type system definitely improves maintainability, however it is only one of many factors. Being C and Haskell both statically typed, are they equally suitable for long term development?

They're both statically typed, but the type systems obviously aren't equal. I would argue that stricter types are in fact one of the main things that helps me be more productive in languages with MLish type systems compared to C which lacks e.g. generics and proper sum types.

That said, I find Elixir very interesting for the exact reasons you said.

niklasni1··on WordSafety – Check a name for unwanted meanings in foreign languages
I imagine "where is my pussy" would get a chuckle out of most anglophones today, too...
niklasni1··on Vulcan-74 – A 6502 Retro MegaProject
The 74-series is not just plain gates, there are multiplexers, latches, counters, adders, and even complete ALUs.
niklasni1··on Why Some Dead OSes Still Matter (2007) [pdf]
Haiku does not contain any code from BeOS, except the filemanager and launcher, which were open souced by Be before they folded. It is a complete rewrite, done by volunteers.
niklasni1··on We are barely halfway done
Thank you for your effort.
niklasni1··on Oracle’s license agreement as it pertains to reverse engineering
It's not that simple I don't think.

How much of my private information, as kept by government or private organizations, are stored in Oracle databases that are less secure because of their boneheaded stance on this?

People have all sorts of reasons for choosing Oracle solutions. I am not in a position to influence all those people, even when their choices affect me directly.

niklasni1··on XMPP Myths
On mobile you want messages to come through without each app maintaining a connection.
niklasni1··on Show HN: Tmux plugin manager
It's basically my window manager. I've one terminal that most stuff gets done in, which runs full screen.

I also use it remotely on a server, but it's just as important locally.

niklasni1··on Firefox exploit found in the wild
Even with all Mozilla's been doing lately (Hello, Pocket), I still trust them more than Google. That probably says more about the latter, though.
niklasni1··on We're heading for AOL 2.0
This is the entire point. I wish communications happened over an open protocol instead of over Twitter's protocol, not because it benefits Twitter, but because it benefits me.

Email is open. For some reason people think of email as different. GMail could've provided the exact same conditions and experience when they launched, but only enabled GMail-GMail communications. It would never have got to where it is, never.

And there's obviously no technical reason instant messaging, social networking, etc., should work any different, but for some reason it's perceived as different.

niklasni1··on A Scheme Interpreter for ARM Microcontrollers
I don't think Armpit is abandoned. There was an update just before Christmas. It's not developed in the open, sadly.

Also, being written in assembler means it could become self-hosting. I think it's a very interesting project for it and have been looking for things to do with it for a while.

niklasni1··on Scheme: Procedures that return another inner procedure
How lazy of you :)
niklasni1··on Scheme: Procedures that return another inner procedure
This is the "closure/object isomorphism", basically.

The outer function (cons) is a class constructor. It returns an object, which is a function of one argument, where the argument is equivalent to the name of a method. In this case, the methods are getters, so they evaluate to values. You could just as easily have stored more procedures in the object returned by the constructor.

In this case, numbers where chosen as method names and sugary procedures defined outside the object itself. You could have used symbols:

    (define (cons x y)
      (lambda (method)
        (cond ((eq? method 'car) x)
              ((eq? method 'cdr) y)
              (else (error "unknown method")))))
In which case what you have more closely resembles OO:

    # (define p (cons 1 2))
    # (p 'car)
    1
    # (p 'cdr)
    2
niklasni1··on Uber has defeated Bill de Blasio’s plan to rein them in
This is where people go wrong! You're not paying to be driven anywhere. You're paying the driver to want to go to the same place where you are, and then he might as well give you a ride there. So it's completely different, and the driver doesn't deserve any of the perks and protections people with real jobs get. Being an Uber driver obviously isn't a job, it's just doing something for money. And there's an app involved, so it's clearly different. It sounds like you're just conversative. Disruption, dude. Have you heard of it?
niklasni1··on It's Dark in the Box (1997)
The post about the revamped Amiga made me think of this. I'm a hardware nerd as well, but ultimately, hardware is a means to an end, isn't it?
Page 1 of 3Next →