Better HN
topnewbestaskshowjobs
Log inSign up

ursus_bonum

60 karma · joined Jul 16, 2015 (11y ago) · 50 submissions

Submissions

comment 7y ago · link · parent

This looks like a lot of complexity up front with no foreseeable payoff.

Why are we implementing a whole dynamically allocated stack for states before doing anything domain specific?

How many states could you possibly be expecting to have in a full game? 3? 12? 100? The examples of states were like the menu, action screen, and pause screen. So it sounds like very few. Drop the realloc'ing and free'ing and just statically allocate N states and be done with it. Save this complexity for something that really needs it.

Plus are you going to free the stack any time other than when you quit the app? I doubt it. The OS will free everything for you when you quit so there's no reason to waste time on that either.

The code so far looks like mostly a waste of time.

comment 7y ago · link · parent

This is clearly explained at the beginning of the article.

comment 8y ago · link · parent

Google would have stepped on Octocat's neck and blown its pretty little head off.

Microsoft will either low-key torture it to death or leave it alone. Who's to say?

comment 8y ago · link · parent

FlappyEve inspired my first "Tiny C Game", Flappy, now part of http://TinyC.games

comment 8y ago · link · parent

I use git in this particular way, and if you do anything different you are WRONG AND BAD or you have IMPURE MOTIVES!

comment 9y ago · link · parent

I think I'll just hold my breath until the next Apple embarrassment.

comment 9y ago · link · parent

Hmm yeah. Maybe censorship isn't the best weapon to use against Nazis.

comment 9y ago · link · parent

This just in: "P" ruled totally illogical for "paste" "V" remains totally logical though of course

comment 9y ago · link · parent

This satire is a little too subtle for me, assuming this isn't real.

comment 9y ago · link · parent

This precisely. What is going on in here? This story has nothing to do with Twitter banning certain accounts, so why is half the discussion about that?

comment 9y ago · link · parent

That's odd. gc shouldn't be collecting anything less than 2 weeks old by default.

comment 9y ago · link · parent

That's fine but the article doesn't mention any popups. It just makes it sound like all of this will happen in the background without bothering the user.

comment 9y ago · link · parent

This is such a classic example of not thinking things through.

The graphical manipulation stuff sounds cool until you think about what happens when it causes merge conflicts. I mean the graph stuff is still cool but it does very little for the hard problems.

The automatic committing for WIP and "magic" pushing/fetching sounds cool until someone switches branches and accidentally commits 3.1TB of junk files they left lying around and it automatically syncs to EVERYONE else on the project.

People complain now that Git is "too complex" just wait until it's automagically doing shit like that.

comment 9y ago · link · parent

This. By the time you get good enough at Git to make a reasonable GUI, you don't need/want it anymore.

comment 9y ago · link · parent

Me too. vim -u NONE is a life saver.

/me waits for someone to say we shouldn't have 3GB xml files in the first place, like I don't know that already.

comment 9y ago · link · parent

Indeed.

comment 9y ago · link · parent

That game would have only been improved had down-thrust been available from the beginning.

comment 10y ago · link · parent

Or you're using Chrome.

comment 10y ago · link · parent

Two strings walk into a bar.

The first string says, "I'll have a rum and coke."

The second string says, "Same here.#uu6€^My¥ZZ~~0◀<bell><bell><bell><tab>000x[,_5"

And the first says, "Sorry, my friend here's not null terminated."

comment 10y ago · link · parent

Maybe compilers shouldn't have stupid extensions that make it possible to crash/hang the compiler?

comment 10y ago · link · parent

Yeah but if I floss regularly my gums stop bleeding when I poke at them.

What more do I need?

comment 10y ago · link · parent

All I've learned is I can't stand any code called "elegant."

comment 10y ago · link · parent

IIRC some of his other videos show how you can duplicate and move objects around in-game.

comment 10y ago · link · parent

Why is this written as though all of Silicon valley is behind Soylent? It's mildly insulting.

comment 10y ago · link · parent

"is the problem with the technology, or is it the unnamed antagonist with that judgmental snark?"

Um yeah. I thought that was the point? No one seriously thinks it's Javascript's fault that there are a lot of frameworks and stuff. It's the culture around it.

comment 10y ago · link · parent

I'm terrified to install this b/c the crusty old Skype-for-Linux already works fine, whereas my up-to-date Skype-for-Windows doesn't work at all.

comment 10y ago · link · parent

The only problem I have with my Roomba is guests always freak out "Isn't it going to fall down the stairs?!?"

Other than that it works quite well.

12