HNHacker News
TopNewBestAskShowJobs

johkra

320 karma · joined January 3, 2010

You can contact me with my user name at gmail.
submissionscomments
johkra··on "Arduino for FPGAs" with simpler HDL (hardware description language)
This is a crowd funding campaign for an inexpensive FPGA board with a simpler HDL with an web IDE. I first heard about it at 30c3 (video links below) and I think it's a great starting point for everyone who always wanted to play around with FPGAs but found it too difficult or too expensive to get started.

More about the language: https://www.youtube.com/watch?v=5t7qO-RbqTw ; http://blog.pshdl.org/

Talk by author abouth FPGAs: https://www.youtube.com/watch?v=Er9luiBa32k

johkra··on Celebrating Niklaus Wirth's 80th Birthday
I was thinking about this, too, when I read his name.

Whereas Europeans generally pronounce his name the right way ('Nick-louse Veert'), Americans invariably mangle it into 'Nickel's Worth.' This is to say that Europeans call him by name, but Americans call him by value. [1]

[1] https://en.wikiquote.org/wiki/Niklaus_Wirth#Quotes_about_Nik...

johkra··on Notch gives his $3,000,000 Minecraft dividend to his employees
Would you be willing to say a bit more about which country and how you got there? (My E-Mail is in my profile.)

I'm currently in Switzerland, but I plan to live in Mediterranean countries other than Italy and Spain for some time in the future. I only ever lived in rich European countries, so I would be interested in your experiences.

johkra··on Git is exploding
https://en.wikipedia.org/wiki/Team_Foundation_Server
johkra··on Richard Stallman’s rider
If you want to get to know him a bit better, read his (freely licensed) biography: http://static.fsf.org/nosvn/faif-2.0.pdf
johkra··on The Joy of Indexing
This was a very graphic and easy-to-understand explanation of indexes in general. Although I thought I understood indexes, it helped me understand secondary indexes better. Thanks for linking!

Did they ever write the promised second part where they wanted to present B-trees in a similar form? I think I understand B-trees, but it wouldn't be the first time I realise I didn't really understand something after all...

johkra··on Welcome to Windows 8 – The Developer Preview
According to a twitter answer, yes. At least with Virtual PC. (See reply to question by MrComputerRevo on http://twitter.com/#!/windevs )

Edit: Direct link: http://twitter.com/#!/windevs/status/113690827217313792 (Thank you, Simon.)

BTW: How do you link to a twitter conversation?

johkra··on Show HN: PyCloud, a Python IDE in the web browser with interactive tutorials
This is a cool project. :-)

It also doesn't work in Opera, because the emscripten compiled CPython doesn't work with this browser. No problems in latest stable Firefox.

johkra··on Surprising Power Consumption Of Ubuntu 11.04 vs. Win 7
Is there a dedicated graphics processor or switchable graphics in this notebook? This might explain the rather big difference in battery time since many Linux graphics drivers are not power-optimized and switchable graphics does not work. [1]

Anecdotally, my rather old notebook (Fujitsu-Siemens Amilo Pro V3205) runs cooler, quiter and longer when using Linux compared to Windows Vista. I still get slightly more than 2 hours out of my battery (3000mAh left). Maybe this is less of a problem with older, well supported hardware.

[1] But people are working on it, see e.g. https://github.com/MrMEEE/bumblebee

johkra··on Lulzsec suspect arrested by scotland yard
Please change the title. "Lulzsec suspect arrested scotland yard" implies to me that it was the suspect who arrested scotland yard, whereas the suspect was actually arrested by scotland yard.

Edit: Thank you!

johkra··on Pandoc: universal document converter
Did you extend Pandoc or Gitit? I would be very interested in extending/changing Pandoc slightly, but so far I got along with doing my changes with sed and writing some inline LaTeX.

If you extended Pandoc, do you mind giving a pointer to your source? I write Haskell poorly, so an example would be appreciated.

johkra··on Pandoc: universal document converter
I'm actually writing my diploma thesis using Markdown and Pandoc. Some hacking is necessary (sed is so far sufficient), but it's a lot more pleasant then writing LaTeX directly.
johkra··on Skype protocol reverse engineered, source available
"intellectual property"

That's a really muddy term. How exactly can you protect a protocol? Trade secret? Patents?

Copyright shouldn't apply if it's a reimplementation.

Edit: s/since/if/

johkra··on Productivity tips for the easily distracted
xrandr (use "xrandr --output <output> --rotate (normal|right|left|inverted)", e.g. "xrandr --output DVI1 --rotate right")

Ubuntu also has a graphical tool for this, probably also other distributions.

johkra··on EveryJS: The Right Tool for the Right Job
Edit: Works now, thanks for fixing it so fast.

That's what I get now using Opera 11.11 32bit on Linux.

    Uncaught exception: ReferenceError: Security error: attempted to read protected variable: toString
    Error thrown at line 9, column 22266 in x(a, b, c) in http://www.everyjs.com/js/libs/sproutcore-2.0.a.3.min.js:
    if(g&&g.toString===e)
johkra··on EveryJS: The Right Tool for the Right Job
Some problem in Opera 11.11. Now I wonder if it works in any version of IE...
johkra··on Does the color temperature of a computer screen affect sleep patterns?
For X11 users, there's also redshift (http://jonls.dk/redshift/).

I use it when using the computer at night as it makes for easier reading.

johkra··on Implicitly-parallelizing programming - Flow Manifesto
When I read through the text, it didn't once think "this can't work". It seems plausible and if implemented, this could indeed be a big step forward.

I hope this, or a similar effort, will be actually be realized.

johkra··on Mozilla Chromeless 0.2
You can read the announcement here: https://mozillalabs.com/blog/2011/02/prism-is-now-chromeless...

Basically: Both can solve the same problem, but Chromeless is more powerful.

johkra··on Mozilla Chromeless 0.2
Looks like the decision to stop development of Mozilla Prism was not a bad one. "appify" looks very interesting.
johkra··on LSD: The Geek's Wonder Drug
For people like me, who didn't know what "Silk Road" was in this context: It's an anonymous market for drugs using Tor. [1] Bitcoins are used for paying.

[1] http://www.bitcoin.org/smf/index.php?topic=3984.0

johkra··on Ubuntu 11.04 (Natty Narwhal)
It's remembered. (I have been running it since beta 2 on my work computer.)
johkra··on That’s it, we’re quitting
Many applications have both a "close" and a "quit" option. The "close" option does what you describe - they want to get rid of the "quit" option, which is used to quit an application.

(Try opening two Firefox windows and you can easily see the difference.)

johkra··on Canonical to Banshee: either we disable affiliate code by default or we take 75%
As I understand it after reading http://quatermain.tumblr.com/post/3345687143/why-are-vendors... , there's a big difference:

Canonical wants to take 75% of revenue, leaving 25% to Gnome/Banshee.

Apple takes 30% of the sales price - the same part a vendor would get, taking away 100% of the revenue.

johkra··on One man's spam - graphing spam rates since 2002
You got 50 000 spam messages in one month? Is this just for one address or multiple?
johkra··on Kaspersky Antivirus 2009 source code leaked
Yes, downloading is akin to making a copy without consent of the copyright owner. (Edit: At least according to the Berne Convention, which most countries have signed.)

Edit2: I think dchest is right and illegality of the act of downloading does probably not follow from the Berne Convention, sorry. Distribution (offering for download) certainly is and I think at least according to German law the resulting copy has to be destroyed. Mind you, I'm no lawyer and might be mistaken.

johkra··on A Localization Horror Story: It Could Happen To You
Gettext [1] does actually offer a way around this problem, which works fairly well in practice.

You can define the number of plurals and rules to select a plural case. Then you have as many translations as plural forms in your translation (po) file.

Arabic for instance has 6 plural cases with the following rules [2]:

  nplurals=6; plural= n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;
See also http://wiki.amule.org/index.php/Translations#Plural_forms for an example of both a rule and the resulting code in the po file.

[1] http://www.gnu.org/software/gettext/manual/gettext.html#Plur... [2] http://translate.sourceforge.net/wiki/l10n/pluralforms

johkra··on Tell HN: After six days of DupDetector, time to take stock.
I first saw it today and I was about to thank the administration for this new feature when I realized that it was a user's (or bot's) comment.

The functionality is imho highly desirable, but a more dynamic solution (regularly updating the number of comments, for instance) would be a better implementation.

johkra··on Opera 11 goes final
In the first screen you have to click on "Options" to change this.

I like the streamlined installation process, but the options are indeed very easy to overlook.

johkra··on Humble Indie Bundle #2 is out
See http://www.wolfire.com/humble

(World of Goo, Aquaria, Gish, Lugaru, Penumbra + Samorost 2)

Page 1 of 4Next →