HNHacker News
TopNewBestAskShowJobs

jensnockert

646 karma · joined October 7, 2010

Battle Programmer, interested in scientific computing and language. Looking for new opportunities, preferably remote, but Malmö and Copenhagen area is interesting.

I think at http://blog.aventine.se/ or mail me at jens@aventine.se

submissionscomments
jensnockert··on Ask HN: Are ergonomic keyboards really useful?
I don't know if they ('ergonomic' keyboards) are 'healthier', but I quite enjoy typing on them.
jensnockert··on Why can I Debug some Numerical Programs that You Can’t? Why should we care?
Also, most modern x86 processors can perform single-precision operations twice as fast as double-precision, which helps (and saving memory bandwidth is good too.)

On PPC/ARM, single-precision allows you to use Altivec/NEON, which can give significant performance boosts as well.

jensnockert··on Real-time Chess (not turn by turn): Ninja Chess
Yes, some explanation of the rules seem to be in order. How is en passant implemented for example?
jensnockert··on Real-time Chess (not turn by turn): Ninja Chess
Seems to work alright, but with a chat it would be more fun.
jensnockert··on Ask HN: What are you reading right now?
Auralia's Colors (by Jeffery Overstreet)
jensnockert··on I loved C. But it always fell short for me. Objective-C fixed that.
Yes, I am. And it is fine, either using ObjFW, GNUstep (which is essentially Cocoa) or just writing it raw with my own framework. It is a nice language, and the C apis to the runtimes are pretty nice.
jensnockert··on Real Security in Mac OS X Requires Apple-Signed Certificates
Sandboxing in the appstore is probably not intended to directly protect against malware, it is there to minimize the risk of programmer error. The application developer decides the restrictions it imposes on itself. And while the current entitlements system seems quite weak compared to the normal interface to the sandbox, I think that the number of entitlements that you can request will grow with time, and with user awareness. (The Scheme-derivative that is the configuration right now, is probably not fit for user consumption)

The OS X sandbox has been around for a long while (and trusted BSD has been around for even longer), it is of course not bug free, but it is in use in a few exposed applications (like Safari), and deploying it appstore-wide will only make it even better.

I, as a programmer, sleeps better at night knowing that my (and others) applications has safety nets that protect it from doing stupid stuff.

jensnockert··on Mac App Store apps must implement sandboxing as of March 2012
I'm not a registered dev, and opening the link works fine.
jensnockert··on Mac App Store apps must implement sandboxing as of March 2012
It should work just like for Objective-C applications, it isn't implemented in Cocoa but at a kernel level.

The sandbox has been around since Tiger (or at least Leopard) and with a proper configuration it works fine with Ruby/Python.

jensnockert··on My dad taught me cashflow with a soda machine
Essentially, except that playing Anno 1602 doesn't feel like a chore. More like being part of a work of gaming art.
jensnockert··on Poll to iPhone 4 users: Will you buy iPhone 4S?
While the new hardware seems nice, and I might get one for development reasons. I doubt I will buy one for any other reason. I am surprised that they managed to get the A5 into the 4S, I would be surprised if the clocks are the same as the iPad 2.

Siri doesn't attract me at all, I really dislike bad synthetic speech.

jensnockert··on Via sues Apple for patent infringement over 'microprocessor functionalities'
Except Apple is designing CPUs, I don't really doubt that the lawsuit makes sense. But somehow I have a feeling that the patents wouldn't make sense in a perfect world.
jensnockert··on [German] Google buys the German Groupon competitor DailyDeal
It seems like a reasonable thing for Google to do, while I agree that Groupon and friends are probably a bubble, I think Google could turn it into a feature that their advertisement customers want.
jensnockert··on Intel's Ivy Bridge Architecture Exposed
All Intel Sandy Bridge processors with an enabled GPU have them, also all AMD Fusion APU processors.
jensnockert··on VC11 (vNext) to have abysmal support for C++11
It is unfair to expect VC11 to have super C++11 support, it has just been a standard for a few months. Building compilers take time, maybe a more positive headline next time?
jensnockert··on Ask HN: I need you but have no money. What can I offer you instead?
A badge or Karma is fine for me, just the fact that they show that you are contributing and helping is fine with me.

But it doesn't only have to be when you provide time, peer-to-peer services could provide similar measures for bandwidth or computing-power.

jensnockert··on Google to Android Developers: 'Do Not Develop in the Open'
But can I fork it?

Nope, because I do not have access to the latest code, therefore I do not consider it open or open source.

jensnockert··on Talking about WebGL and Security...
That bug is not uncommon on OS X, it happens with a few of the drivers. (mostly seen on the nVidia 8xxx and 9xxx series?) And it is not that they are not cleared, it more often than not is things that should actually be in memory

But for some unknown reason, the driver maps memory the wrong way and poof you get the wrong texture, sometimes they are garbled sometimes not and sometimes hilarious results (was referred to as the 'Avril Lavigne issue' in the EVE community for a while.)

I would say it is an issue, but it is not a very serious one by current WebGL standards, there is not any controlled way of getting random textures of your bank account etc, there are probably worse issues with 3D graphics drivers than this.

jensnockert··on Is learning Assembly Language worth the effort?
Yes, and preferably on multiple machines/VMs. The JVM and CLR has some interesting ideas, x86-64 is very useful for performance, RISC might open your mind etc, just do it, the cost is not very high for people who already know C or Java or C++ or something among those lines.
jensnockert··on Why Handwriting Must Die
And some forms that are effortless to write by hand are very thought intensive to write on a keyboard. I am mostly thinking about mathematics.
jensnockert··on Should UTF-16 be considered harmful?
You mean that it is not ASCII compatible?

Also, Mac OS X, Java, .Net, Qt, ICU... there are a lot of support for UTF-16, for other reasons than backwards compatibility. Processing UTF-16 is easier in many situations.

jensnockert··on Should UTF-16 be considered harmful?
Unicode should be considered harmful, possibly even text. Never think you understand text, it is a very complex medium, and every time this topic is brought up, you learn something about some odd quality of some language that you might never have heard of. Yes, UTF-16 is variable length, yes, it does make many European scripts larger. Size is always a trade-off and there won't be one standard for encoding.

Text is hard, do not approach it with a C library you built in an afternoon, leave it to the professionals. I just wish I knew any...

jensnockert··on Ask HN: Do you contribute to open source projects with your real name?
A copyright assignment doesn't need to be public.

An employer might not own anything we create in our free time, or there might not be an employer at all.

And if I put that I worked on a project under a pen name on a resume then I would include the name I worked under, accepting that it is probably not that anonymous anymore.

jensnockert··on Ask HN: Do you contribute to open source projects with your real name?
I didn't sign code with my real name for a long while, and it was great, it feels honest. Doing work just to scratch your own itch, and in some cases I am still doing it. For most projects, things like copyright and responsibility is just things that get in the way, we just want things done, and the license will never be enforced in court.

I started signing code when I started going to meetups etc, doing it with people who actually knew me in real life, it started getting pointless to try to hold a cloak of anonymity.

jensnockert··on $310 Xiaomi Phone: 1.5GHz dual-core,1G RAM,4GB ROM,480x854 4',MIUI+Android2.3.5
They claim to have a huge 1930mAh battery (http://www.gadgetsbing.com/2011/08/first-chinese-phone-with-...) and that the display is a Sharp 480 x 854 LCD, but there might be many models.
jensnockert··on $310 Xiaomi Phone: 1.5GHz dual-core,1G RAM,4GB ROM,480x854 4',MIUI+Android2.3.5
Imitation is the highest form of flattery, and the specifications seem to be almost the best around.

At that price-point, some thing like the battery life might not be very good, especially with such a high-clocked processor, but it seems to be a quite reasonable design from the pictures, not counting the buttons, I prefer hardware buttons.

I don't own an Android phone right now, but I am definitely considering buying a Xiaomi Phone, and if you can actually import it at that price, well, then it is competing with phones like the Wildfire S. Which may make it quite a nice high-end phone popular with geeks and developers, befriending those groups is always important.

jensnockert··on The demise of the low level programmer
I wouldn't want to be taught in school about low-level optimizations, I am sometimes, and generally, they teach you stuff that is 10 to 20 years old.

I think many low-level optimization tricks each generation of programmers need to find for themselves, the technology changes so much that old tricks are not as useful anymore.

Memory wasn't as slow (compared to processors) as they are today etc. Many people still count FLOPS, while memory accesses is probably the most relevant metric today, especially on GPUs.

jensnockert··on Who is the man living in Fukushima evacuation zone?
On the other hand, he was measuring the radiation levels of his environment every day and probably never received any significant radiation dose. He was stubborn, sure, but not stupid.

Very nice pictures.

jensnockert··on The Most Important Parts of HTML5 (or why video and audio tags are boring)
They are not, but they make interesting stuff possible, unlike for example the audio/video tags which right now are close to useless unfortunatly.

WebGL/WebCL etc. are not part of HTML5 either, doesn't mean that they are not as game changing as the biggest features in HTML5.

jensnockert··on Catching Integer Overflows in C
Or use saturating arithmetic, loads of common processors have instructions for that.
← PreviousPage 6 of 8Next →