HNHacker News
TopNewBestAskShowJobs

sovande

693 karma · joined March 2, 2008

submissionscomments
sovande··on Parsing: The Solved Problem That Isn't (2011)
I was and also when scanning/lexing. My limited PEG parsing experience is with peg/leg by http://piumarta.com/software/peg/ and http://pegjs.majda.cz which is a Javascript PEG parser. Both very cool projects.
sovande··on Parsing: The Solved Problem That Isn't (2011)
Another issue is that it uses at least the same memory as the the input. Not that I'm a PEG expert, but it also basically feels like a formalised recursive decent parser. Nothing wrong with that, but changing the grammar afterwards can have a rippling effect and require much more work than with a traditional LALR parser.
sovande··on Show HN: Javelin Browser
The broad market is going to use the default browser that comes with the device.
sovande··on Show HN: Manage servers easily online with Commando.io
If someone manage to break into your server, won't it open up access to all your customer's servers?
sovande··on The mmap pattern
SQLite
sovande··on [dead]
Propaganda: "Information, esp. of a biased or misleading nature, used to promote or publicize a particular political cause or point of view". I mean, come on, a beautiful emotional girl, edited video, music, disturbing images. If this is not a text book example I don't know what is.

Propaganda, by nature does not show objective facts and depend on "useful idiots". There are countless examples, parent mention Nazi Germany which had its own propaganda ministerium. In recent history, during the first Gulf war, we could read how Iraqi soldiers pulled infants from incubators in Kuwait City, turned out to be false, but was part of legitimise the war. In the second Gulf war, do you remember secretary Powell's united nations WMD speech?

sovande··on FOSS Photoshop killer Krita may release on Steam [video]
Will it support vector drawings also? The screen cast with "nobel english" was very nice and the tool you used to draw the box was cool, never seen that before.
sovande··on Light Table is now open source
Your trying to pour oil on untroubled waters. Discussing the rationale and pro/con for selecting a specific Open Source License for a particular project _is_ generally interesting.
sovande··on Inkpad: Vector illustration app for the iPad, now open source
Many thanks for the analysis. Now it makes more sense. Also well done by the Inkpad developer. Reminds me of how Id open source old engines to the delight of aspiring game programmers, I'm sure aspiring iOS developers will feel the same about this.
sovande··on Inkpad: Vector illustration app for the iPad, now open source
This must have taken a few years to create. Why free and open source!?
sovande··on Free network and domain tools
I can do all this from my terminal. Much more interesting would be an alternative to domaintools.com, with reverse IP and NS, whois history etc. With sensible prices.
sovande··on Lightweight concurrency library for C, featuring symmetric coroutines
I don't understand why co-routines, green threads or any other n:1 user-level threading model are of much interest in today's multi-core processor world? To utilise the computing power in front of you, you really need to use 1:1 kernel level threads in your program.

This is also the biggest problem I have with node.js which is inherently single-threaded (libuv's thread-pool aside) and only uses a fraction of the CPU power available on your computer.

[Edit]: A trivial, but practical example which demonstrate the power of using your machine's capabilities compared to just a fraction. If you use Make to build your project. Try 'make -j n' where n is 2 x cores on your machine. And observed the speed of building in parallel compared to serialised.

sovande··on f.lux has been updated to a new version
Exactly. Nocturne, for instance, from the guy behind QuickSilver, was doing the same before Flux. http://code.google.com/p/blacktree-nocturne/
sovande··on f.lux has been updated to a new version
I'm using the latest Mountain Lion 10.8.5. On second though, I think I know what is going on.

First, linking with the webkit framework is not the problem, using the framework is. I was playing around with preferences and also location. As you say, this is when the Webkit frameworks kicks in, which might explain the memory blowup to 118MB.

Second, I seem to recall that modern OS allocators are reluctant to release memory back to the OS (pool) unless required (when available memory is low) hence the process appears to use more memory than what it actual might be using. When I just restart Flux without fiddling with preferences, memory usage stays at around 45MB. I still think this is way too high if you think about what the program is doing, but given the above, even if Activity Manager reports that Flux is using 45MB, it might not really use 45MB now, only at some point.

I remember I used Xcode's instruments to investigate my program and could then see that the real active memory used by the process was usually much less than what Activity Manager, top, and ps w/friends were reporting. So a large part of the memory the process is currently holding (45MB) might be released back to the OS if needed, I think. If someone has more details on this, please elaborate.

Edit: Flux is also running with 4 threads(!) which of course also adds to the process memory usage. Isn't a thread stack around 4-8 MB?

Also, Flux appears to use 0.1% CPU continuously which is sloppy since CPU usage can be remedied by putting (nano)sleep in the poll cycle to make it use zero CPU.

sovande··on f.lux has been updated to a new version
Being wary of using too much resources in my own programs I'm always a little surprised and disappointed when I see small utility programs like this use resources like a drunken sailor on shore leave. Flux is currently using 118 MB of real memory and 0.1% CPU.

Using otool -L /Applications/Flux.app/Contents/MacOS/Flux you can see an impressive number of frameworks included. I guess inclusion of the webkit framework is the biggest culprit. Why all this is needed to simply dim the light on my screen is beyond me.

That said, Flux is perfect functionality wise and very useful.

sovande··on Iconic: Advanced icons for the modern web
> Think of it as the Egyptian hieroglyphs.

Icons are not hieroglyphs, in fact the idea behind icons is the opposite. Icons trancend language and present a concept across language barriers. If you need to go to the bathroom in russia you will know which door to take thanks to an icon.

sovande··on Open Source made me the man I am
Does a few weekend projects on GitHub and blogging about it really count as "developing open source software"? Isn't this more like using the Open Source term to promote oneself? Compared to guys like Igor Sysoev churning away year after year working on nginx and _not_ using time to blog about it.
sovande··on Could we kill the icon?
Going from theory to practice, getting rid of the wall of icons on the iOS home screen would certainly be nice. But replacing it with what? Siri and spotlight maybe?
sovande··on Launched my iOS game as Open Source
Not quite. The main problem with GPL in the AppStore is that the GPL forbid additional terms and conditions to be added to the license, but Apple require that apps are distributed under their standard EULA or at least one that follows at minimum these terms and conditions, http://www.apple.com/legal/internet-services/itunes/appstore...
sovande··on Rambling On [PHP] Internals
The last link you posted has this though; "PHP is an incredibly popular scripting language which makes up the majority of our code-base. Its simple syntax lets us move fast and iterate on products." Not sure if I believe it though.
sovande··on Cello: Higher level programming in C
Not thread safe. For instance the exception stack is global.
sovande··on Web Development: A Crazy World
Ironic since the original comment complaints about too much diversity. Just because a good rant is recognised across cultures does not imply a loss of diversity. Somethings are just common on this planet, like gravity.
sovande··on IBM's Watson Gets Its First Piece Of Business In Healthcare
True, so called expert systems are nothing new, but the much improved ability to parse natural language and semantics is newish. It means the human-machine interface is easier to use and combined with portable access via tablets this might very well be the tipping point. Similar to how the iPad was adopted compared to decades of tablets before that never saw a wide-spread adoption, mainly because of the poor human-machine interface.
sovande··on This is How Wrong Kurzweil Is
"imagine that you are the subject of some mental event--perhaps you are experiencing an intense pain. Now imagine that one of your neurons is replaced by a silicon chip prosthesis that has the exact same input/output profile as the neuron it replaces. At the core of this thought experiment is the presumption that such a replacement would be unnoticeable to you or to anyone observing your behavior. Presumably, you would continue to experience pain even though the physical realization of those mental events includes a silicon chip where an organic neuron used to be. Now imagine that, one by one, the rest of your neurons are swapped for silicon prostheses. Presumably there would be no change in your mental life even though your brain, which was once made of lipid and protein neurons, is now entirely composed of silicon neuronoids." This thought experiment, first presented by Pylyshyn (1980) does not seem too far fetched today.
sovande··on PayPal Said to Cut as Many as 400 Jobs
In four years as a PayPal seller we have _not_ had one chargeback. So for us at least it seems that PayPal's fraud detecting system is working just fine.
sovande··on Show HN: Piki, a fresh take on the wiki
Congrats! You just reinvented a web page from 1993.
sovande··on Are Those Spidery Black Things On Mars Dangerous?
Why can't they just use nuclear power? Didn't the viking probes from the 70's use that? I might be wrong, but I thought that curiosity actually did use nuclear.
sovande··on “I am calling you from Windows”: A tech support scammer
The joke might be on you. Support calls to your ISP typically have a price per minute.
sovande··on Textmate2 Goes Open Source
I know and it's great, but from Alcor released QS as open source until it was picked up and new proper releases started to emerge, it took 2-3 years? So waiting 6 + 2 years (in the best case) for TM2 is too long even for me. RIP TM2.
sovande··on Textmate2 Goes Open Source
Browsing through the code, Objective-C seems to be used for the UI, but the guts of the code (the Frameworks directory) is in C++.

I have mixed feelings about TextMate going open source. If QuickSilver is any indication, it will now definitely take forever for a new release. Dang! and I seriously don't like ST2.

← PreviousPage 4 of 8Next →