Better HN
topnewbestaskshowjobs
Log inSign up

ifdefdebug

1,351 karma · joined Nov 26, 2014 (12y ago) · 480 submissions

Submissions

comment 10y ago · link · parent

Not being a communist myself, I recognize this as utter anticommunist propaganda not based on facts but on believes.

comment 10y ago · link · parent

At least I can be sure that I am not already shadowbanned because fuck you facebook. I am not interested in an AI feeding my ego with confirmation and protecting it from confrontation.

comment 10y ago · link · parent

I can't help thinking like a microprocessor. Even when mixing functional style into my code, my brain tries to get a grasp on how it's going to be processed.

So the first example looks to me like two loops (hopefully the compiler does a better job on that), while the second one is obviously one loop.

I am already trying to guess how a compiler would parallelize that...

comment 10y ago · link · parent

A function can be called from different places, maybe it will be used in code not yet written. So a programmer has a need to print every line. The code to be changed calls printEveryOtherLine. They won't change that function to print every line, because they know that would break things elsewhere.

comment 10y ago · link · parent

Well, I did skim a little bit through Eve's source code, specifically the files in https://github.com/witheve/Eve/tree/master/src and subs, and the first thing that stroke me was: it's not literate. As a matter of fact, it doesn't have more comments than an average code base, maybe even less.

Why? Where is the prose? What makes programs supposed to be written in Eve different from Eve itself?

comment 10y ago · link · parent

I humbly disagree. My kid is going to get something totally straight forward imperative and easy to begin with, something in the realm of «one print "I am the best", two goto one». I strongly believe these are the basic building blocks which make everything else easy to understand, and they give you a good feeling about how the things work at the bare metal.

comment 10y ago · link · parent

Well no, I think the argument is that this kind of comment gets outdated easily, so if the program works as expected, the comment is probably outdated (new requirement, the program was changed to print every line, forgetting about the comment). If the program does not work as expected, then it's a bug and the comment is still valid.

This does not happen in your function name example: if the program requirement changed to print every line, no sane programmer would change the code in this function, they'd write a new function printEveryLine() instead and use that. So you can be pretty sure this is a bug.

comment 10y ago · link · parent

I press home, of course. At least sites can't break that button.

comment 10y ago · link · parent

>But this is also about providing a better user experience.

Breaking the behavior of my back button is one of the worst user experiences I get these days. Usually it makes me so angry that I just leave the site right away.

> Rather than waiting for the HTML to be downloaded when a link is clicked, most of the UI can be displayed while a smaller payload is downloaded.

Browsers can do that on their own since forever, given a carefully crafted HTML page. Of course there are use cases where that is not enough, needing some load-on-scroll mechanism or something like that, but it gets abused all the time for things a browser could handle so much better (with proper HTM of course) - blobs, newspaper articles etc.

comment 10y ago · link · parent

Big problem for NASA: once they discontinued manned space flight, they now have a very hard time getting back into it. The Russians spacecraft is considered relatively safe because they are building upon a proven technology that has been "debugged" for decades now. NASA just has a prototype that hasn't proven anything yet, and I doubt it will be ready by 2023.

The decision to go for a lander with wings and wheels looked so progressive then, and looks so misguided from today's point of view. NASA could build upon decades of expertise with Apollo-like spacecrafts today in order to build their Orion. Having switched to a shuttle, now they have to begin from scratch.

comment 10y ago · link · parent

You sound like the one who'd have called BG back from his camping trip to fix up his code - a 3 hours drive and a ruined weekend for him, instead of maybe a 5 minute rollback to the latest stable version for you.

So with your mindset, it's no wonder people react to you the way you describe it. But believe it or not - most probably you are the problem, not them.

comment 10y ago · link · parent

> been following space news since I was a kid in the 70s

... me too. Fact is, NASA is currently not even doing human spaceflight. If it wasn't for the Russians and the Chinese, human spaceflight would be a thing of the past.

comment 10y ago · link · parent

That's not entirely fair, because treating it as "matter" gives a quite good mathematical fit for current observations so far, while the first experimental observation of light speed ever made immediately falsified the ether hypothesis.

comment 10y ago · link · parent

IMHO it's just turtles all the way down

comment 10y ago · link · parent

bandwidth is not a problem as long as your vid is just a still image

comment 10y ago · link · parent

its ok as long as people eat it because they like it... it gets worse when people resort to junk food because they cant afford fresh vegetables, and that is the sad reality for a lot of people as of today

comment 10y ago · link · parent

it is, and they shoot back. so stakes are high already.

comment 10y ago · link · parent

"A retail paper bag, comprising: a bag container formed of white paper ..."

Really, when I started reading this I first checked if this was some kind of late April fool's joke.

But no, it looks real :P

Why not apply for this, Apple:

"A wheel, comprising: something round ..."

comment 10y ago · link · parent

My WiX installer prepares the program folder location and installs exactly one downloader executable which pulls the rest of the desktop app from a location in the internet. Is this setup compatible with App Store via Desktop Bridge in principle or should I get problems with sandbox etc.? (No need to elaborate, if the answer is yes I'll work through the details on my own).

comment 10y ago · link · parent

Problems which go away alone tend to come back alone, so maybe a followup comes next week :)

comment 10y ago · link · parent

> It is funny how every AI post on HN turns into a speculative discussion forum full of words "I think", "likely", "I suspect", "My guess" etc

This is probably due to the fact that the field is very interesting and has lots of undefined boundaries, so people like to take educated guesses based on the knowledge they might have and on their intuition. Fair enough for this discussion.

> maybe language understanding will be solved in the coming years

maybe? :)

OK, here comes my guess: I think reasoning about and producing computer programs should be easier than reasoning about and producing natural language. So if that's possible (big if), then it should come first. And then maybe the NLP will be solved with the help of code writing computers. Or maybe just by code writing computers, and nobody here has a job anymore :)

comment 10y ago · link · parent

I don't think so, because if he claims "the code" is everything and even if the judges accept that argument, then the logical consequence is that, if "the code" allows for a hard fork, then the hard fork is "the code" as much as his attempt to drain funds.

comment 10y ago · link · parent

There is one thing I often think about when I see certain comments downvoted: downvoting a comment should cost one karma.

After all, this score system is called karma. And hurting someone else's Karma - even for valid reasons - is bad karma by definition :)

comment 10y ago · link · parent

>to punish the UK for having the audacity to leave

This is not about punishment or revenge. You want to leave? Fine. Let's be friends anyway. You want to talk about leaving before you leave? No thanks. Just do it, then we talk.

Seriously, some people from the exit league are promising British citizens full freedom of movement in the EU, while EU citizens are going to be submitted to immigration control. Is that the kind of things you want to talk about before leaving?

355.

Reality Check: Have Leave campaigners changed their minds?(bbc.com ↗)

41 points · by ifdefdebug · 10y ago · 100 comments

comment 10y ago · link · parent

well there is a chance for him to be the prime minister who lost scotland for the queen. and yesterday he looked regreatful so maybe his plan was to lose the referendum, continue to campaign against eu and win the next elections without having to remove britain from the eu.

comment 10y ago · link · parent

it's more like a queen sacrifice commencing an unstoppable mating sequence

comment 10y ago · link · parent

"This creates a feeling that’s quite rare in modern FPS: that you are powerful because you are agile, not because you’re a tank."

Thanks. I lost interest in FPS and after reading that chapter now I know why.

359.

750 GeV bump is going away(mobile.twitter.com ↗)

2 points · by ifdefdebug · 10y ago · discuss

360.

Rumor Mongering (750 GeV)(math.columbia.edu ↗)

1 points · by ifdefdebug · 10y ago · discuss

1
111213
16