Better HN
topnewbestaskshowjobs
Log inSign up

bad_alloc

1,447 karma · joined Dec 28, 2009 (16y ago) · 236 submissions

Programmer and roboticist at university.
Submissions

comment 14y ago · link · parent

Okay the reactor core MIGHT sill be contained but you still probably have a huge fire, inaccessible critical machinery and tons of damage to other essential equipment surrounding the reactor, like coolant valves. Besides, if you avoid the reinforced reactor and take out, say the control room or a cooling tower you can cause enough damage to shut down the power plant for some years.

212.

How can you program if you're blind?(stackoverflow.com ↗)

117 points · by bad_alloc · 14y ago · 43 comments

comment 14y ago · link · parent

The statistics show a typical HN-effect. Traffic is up from an average of 15 unique visitiors to 1419.

comment 14y ago · link · parent

I would prefer the editor that runs locally because

1) I can code offline. I must admit, that i have to regularly unplug my Ethernet cable to avoid being to distracted. An online editor would encourage just tabbing into a site with distractions

2) I can code offline. If I don't have an internet connection for some reason I can still work. This is especially important for people with instable connections.

3) I doubt an online editor will be as customizable as emacs

4) I can run it as root, if necessary. I wouldn't dare to run my browser as root.

5) I see no advantage concerning the use of one editor on many platforms. If I copy my .emacs to any other (Linux) box I have the same functionality everywhere.

comment 14y ago · link · parent

Is it likely for a CS student to find a job or an internship there or is this strictly intended for startup-founders? If the first case is true, I'm in.

comment 14y ago · link · parent

I think we're overlooking the fact that programming is hard per se. A program runs on a computer which is nothing more than a calculator with storage and peripherals. In the end everything is just numbercrunching. The whole point of a programming language is to overcome the "old days" where you had to use a computer for what it IS, namely a calculator. We did quite well regarding hiding stuff but as a consequence we lost control over parts of the machine. Setting a pin on your LPT-Port on high in Python? Just no. Doing the same thing in this guys "language"? I don't know if that will be included or even possible (if it is please tell me).

But in the end you're still writing code for a calculating machine. Things will never be as easy as "Sort this array by comparing each element for size" because the underlying hardware still is the same. Unless you figure out how to make that easier, for example by intorducing a "qsort [array]" assembler instruction within a processor, that has hardwired Quicksort logic, you're going to stay where you are: In the low-level lands of C and FORTRAN with some nifty little masquerades, like Python, for the same stuff all over again.

comment 14y ago · link · parent

If the number of startups declines due to SOPA, the rest of the world™ will benefit, as many US based internet firms and developers will go elsewhere in search of better legislation.

218.

Ask HN: SOPA in America - Will IT go overseas?

9 points · by bad_alloc · 14y ago · 3 comments

comment 14y ago · link · parent

<emacs partisan> Look at emacs. Now look at Sublime Text. Now back to emacs. It's in horseback-mode. "C-x S-( M-% sublime RET emacs RET y C-x S-)" will fix your post. </emacs partisan>

220.

The remains of robots once used in Tsernobyl(lplaces.com ↗)

1 points · by bad_alloc · 15y ago · discuss

221.

Subatomic Particle Zoo Plushies(particlezoo.net ↗)

1 points · by bad_alloc · 15y ago · discuss

222.

Video of 2053 nuclear tests between 1945 and 1998(youtube.com ↗)

1 points · by bad_alloc · 16y ago · discuss

comment 16y ago · link · parent

How do you convert a base two byte to information in neurons?

comment 16y ago · link · parent

If you ever write code like template<class T> struct Loop { Loop<T*> operator->(); }; Loop<int> i, j = i->hooray; at work you are shown by the language that you have probably failed to think before you code. A plus in C++, rather than a downsinde.

If you begin to realize that you need garbage collection you probably failed while choosing the appropriate language for your project or subproblem.

Same thing here: struct a{typedef int foo;};struct a1:a{};struct a2:a{}; #define X(b,a) struct a##1:b##1,b##2{};struct a##2:b##1,b##2{}; X(a,b)X(b,c)X(c,d)X(d,e)X(e,f)X(f,g)X(g,h)X(h,i)X(i,j)X(j,k)X(k,l) X(l,m)X(m,n) n1::foo main(){}

Wich sane person would consider writing this a good idea?

comment 16y ago · link · parent

Well at least we can compare ist to other things, like c++: http://www.google.com/trends?q=lisp%2C+c%2B%2B&ctab=0... Sadly lisp is in a steady decline now, just like C++. Are the old languages dying?

comment 16y ago · link · parent

Especially they confidently tell us, that the system is accurate to two feet. Sadly two feet is the difference between parking ok and damaging both cars significantly (i.e. you'll have to at least fix your bumpers.)

comment 16y ago · link · parent

On slide 12 you can read that the spill is supposed to be equivalent to "1,9301.5 mW wind turbines"; i.e. for the money spent on everything you could buy as many wind turbines as required to achieve the specified energy output. Sadly mW means milliwatts and not Megawatts, which they probably intended to say.

comment 16y ago · link · parent

Pretty much the same with google.de/google.de (36%), my blog (52%) and xkcd.com (44%). This killed it for me actually. Another observation is that the right window is always faster at my end. Can anybody else confirm this?

comment 16y ago · link · parent

Maybe he didn't drill straight.

comment 16y ago · link · parent

I see nothing new here because the German army used this in WW2 and possibly™ even sooner (they called it "Schanzspaten").

231.

Ask HN: Will Greece go bankrupt?

7 points · by bad_alloc · 16y ago · 6 comments

232.

Adding a Python style yield to C++(flipcode.com ↗)

10 points · by bad_alloc · 16y ago · 11 comments

comment 16y ago · link · parent

True, especially because an iPad will not replace the PC/Mac under the desk: Where do you let your children (or for this example teenagers) play gamey like CSS, Gothic 3 and so forth? Certainly not on the iPad. It is the same story with video encoding, rendering or even burning a cd/dvd. The """young hackers""" will still have their platforms to play with. Even if somebody only had an iPad, he might become a web security geek.

comment 16y ago · link · parent

Nice idea, but four hours battery time is just not enough.

comment 16y ago · link · parent

I'll have to discuss this with my teachers at drving school, maybe they'll train us in geometry too afterwards. I see just one problem: Does this approach incorporate tolerances too? Having to touch the car behind you may not be appreciated.

236.

Where to go from being a young, intermediate Programmer?

3 points · by bad_alloc · 16y ago · 3 comments

1
45678