HNHacker News
TopNewBestAskShowJobs

gngeal

987 karma · joined March 2, 2013

submissionscomments
gngeal··on PHP is the right tool for the job (for all the wrong reasons)
Somehow I don't think that the other languages prevent you from doing what you've just described. It's entirely up to you how you write your application. OTOH, sometimes you need some shared state, if it's handled in a careful fashion (stats collecting, anyone?). The last time I saw PHP, however, low-latency shared state was really awkward to handle.
gngeal··on Tern – Intelligent JavaScript editing
"whereas Tern tries to do whole-program analysis."

I suppose you're not doing live type feedback? Given a test suite for the code being edited, that would seem like a natural thing to do.

gngeal··on Tern – Intelligent JavaScript editing
"In fact i have been an "texteditor-only" type in the past, but coding C# in Visual Studio has really been a revelation for me."

The fact that application X is "just a text editor" is not a justification for X having poor editing functions. In fact, you'd expect a specialized text editor to have better editing functions that an IDE, since an IDE can have other selling points, such as an integrated build system, a version manager, a profiler or a debugger, whereas an editor can only impress you solely by its usability for...well, editing.

gngeal··on Ion Torrent’s chip-based genome sequencer is poised to revolutionize medicine
"Having your full genome sequenced would mean that we would know every single nucleotide from you"

Unless he's a genetic mosaic, also known as the "reality is hard to squeeze into our all too simplistic data model" problem.

gngeal··on Why is BIND 10 written in C++ and Python?
"Unique_ptrs are a total game changer"

You meant that a linear type system is a total game changes. Unique_ptrs are an ugly hack to emulate a linear type system in an inadequate language.

gngeal··on Vim Git Gutter
You'd have to implement a message queue, of course. As for the second part, who hasn't? Many applications are using Lua as we speak.
gngeal··on How Balanced Does Database Migrations With Zero Downtime
"- perform schema changes in a way that won’t break existing code (e.g., temporarily allowing new non-nullable columns to be NULL). - deploy code that works with both the old and new schema simultaneously, populating any new rows according to the new schema. - perform a data migration that backfills any old data correctly, and updates all constraints properly. - deploy code that only expects to see the new schema."

That sounds a lot like transactional schema updates in Firebird to me. Plus being careful about how the app handles the data. Schema updates in Firebird are essentially instantaneous, with the row updates performed lazily (although if you need it, a SELECT COUNT(*) will force an update of all rows immediately).

gngeal··on The Myth of Japanese Longevity
"It's new to western media though."

I'd be surprised, because western media is exactly from where I found out about this two years ago or so:

http://www.nytimes.com/2010/08/15/world/asia/15japan.html?_r...

(...and a few others.)

gngeal··on Vim Git Gutter
Or you could, e.g., use the Lua scripting extension, load one of the native threading libraries for Lua (Lua Lanes, for example) and fire away a few background tasks. Whatever actions the background tasks need to perform with the buffers you'd have to serialize, but that shouldn't be all that difficult.
gngeal··on The Myth of Japanese Longevity
That's hardly new, the Japanese have known for quite some time that their records about the elderly are "a little bit" off.
gngeal··on Monads explained by Eric Lippert
"For example, math has some very high-level/generic explanations, and curiously, I find them more understandable."

That's because math always "goes straight to the point". There's nothing but the raw substance in it.

gngeal··on Visualizing memory leaks in Ruby
An unfortunate header, innit? One wonders whether to parse it as "(Visualizing memory leaks) in Ruby" or as "Visualizing (memory leaks in Ruby)".
gngeal··on A NoSQL Database with ACID Transactions
I guess that the Python program generates some sort of internal AST that is either trivial or at least easier to interpret than the fuzz code (enhanced C++, blah...) generated from the AST.
gngeal··on A NoSQL Database with ACID Transactions
"FoundationDB founder here. Flow sounds crazy. What hubris to think that you need a new programming language for your project? Three years later: Best decision we ever made."

I don't think that should come as a surprise to anyone. In the long run, language-oriented approach seems to be the best approach to handling the intricacies of complex software systems. The only thing stopping it seems to be a certain lack of skills and experience on part of most developers, and the inadequacy of current language-building tools. (By any chance, are you familiar with the "let's simplify language construction"-related work of people at vpri.org?)

gngeal··on Ubuntu may switch to Android technologies to keep the Linux desktop competitive
"web apps run in a secure sandbox. Native code is insecure by comparison."

Of course it is safe. You have at least two options: software sandboxing (NaCl, Vx32, OS-based sandboxing...) or proof-carrying typed assembly. Of course, the first option is complicated by the horrible state of the most prevalent hardware architecture available today, but that's something to be fixed in the future anyway.

"irrelevant in the age of multi GHz CPUs in your phone"

Oh, thank you very much. You're perpetuating the trend of "What Andy giveth, Bill taketh away" with this kind of thinking.

"native platforms have bugs too"

And studies confirm that the amount of bugs is largely proportional to the LOCs. The web-based approach, however adds a few million lines of code to something that would have, say, tens of thousands at most on its own.

gngeal··on Soviet gamification
"In those days people could very well see the socialist economy improving their standard of living, education, health care, etc."

That was primarily because the previous regime was terribly bad, not because the new one was terribly good.

gngeal··on Show HN: Tiled Text – a Different Approach to Editing Text
I'm still waiting for a biofeedback/brainwave based text input. Or a combined approach? Combine a few digital signals with eye tracking?
gngeal··on Precious Ink – On handwriting
"My personal preference is a good/non-expensive fountain pen though. Still searching for one."

I happen to have a Parker Vector, but many people swear by the price/performance ratio of Pilot 78G. (I believe it's 78G, it's something-G anyway.) It's cheap, go ahead and try it. And keep in mind that Japanese nibs are finer than the designation (F, M...) would suggest.

gngeal··on Why Python, Ruby, and Javascript are Slow
"Deforestation is easily done in lazy languages like Haskell."

You can also do it in stream-based or data-flow-based languages. Or in pretty much any DSL you decide to implement, if the semantics of the language itself is reasonable.

gngeal··on Why Watching DVDs on Linux is Illegal in the USA
"It might be legal from criminal law POV but you can still be sued in a civil court for most of those use cases."

You can get sued for anything, but the court will throw it out if the civil case is unfounded. I don't know how you have it in Poland, but the Czech copyright act stipulates that private copies ("copies for sole personal use") of everything except software and "electronic databases" (telephone directories etc.) are completely outside the purview of copyright protection, up to and including the disregard for the legality of the source of the copy (confirmed by a verdict of the Supreme Court in 2006) If something similar is the case in Poland, what basis could a civil case possibly have?

gngeal··on The Deep Insights of Alan Kay
"but to be completely fair, if Squeak is the way forward, I think I'm happy where I am."

Well, it's still the language from the year 1980. The very fact that you judge a 1980-vintage system as "not bad" compared to existing alternatives is telling in itself. Alan is working on a 2010 version even as we speak. :-)

← PreviousPage 16 of 16