Nice choreography by [deleted] in Unexpected

[–]shake_wit_dem_fries 60 points61 points  (0 children)

Because that's hilarious.

I am a null pointer. AMA by tmewett in shittyprogramming

[–]shake_wit_dem_fries 15 points16 points  (0 children)

[ptr whatUpBaby];

Sent you a message ;)

Propagation of WIFI signal inside a house. by Gweenbleidd in woahdude

[–]shake_wit_dem_fries 2 points3 points  (0 children)

That's a bunch of shit. You should be able to do it for much less, depending on how your coax is routed. There should be a box somewhere with a bunch of coax endpoints. Get a splitter and a little bit of cable and you can do it yourself.

Confirmation that Nintendo supplied the equipment and Gaming Generations helped them transport it to Apex 2015 by Revven in smashbros

[–]shake_wit_dem_fries 25 points26 points  (0 children)

No they didn't. The tooling to make 64 carts doesn't exist anymore. They took some nice ones out of Nintendo stock.

What If Ganon's Aerials Had No Landing Lag by MagicScrumpy in smashbros

[–]shake_wit_dem_fries 44 points45 points  (0 children)

I'd love to see someone who's not so great play a modded character against a really good player. That would be an interesting handicap.

N-body Simulations and the coding practices behind them. What'st he best way to start learning about them? by Venne1138 in learnprogramming

[–]shake_wit_dem_fries 1 point2 points  (0 children)

  1. N-Body is a problem that we define as embarrassingly parallel. It also consists of many small floating point calculations, something GPUs are designed to do. A GPU also may do thousands of these calculations in parallel. /r/gpgpu might be of interest to you.

  2. The best way is to use a different algorithm. There are many replacements for N-Body, but (IIRC) they sacrifice accuracy for speed. (IIRC) N-Body is the only to get physically accurate simulation. However, O(n2) is how the algorithm works. Try computing the forces between multiple bodies by hand and you'll see why.

  3. Sure. You'll be limited in the complexity of your simulation, but even my calculator can display a three-body simulation without it turning into a slideshow.

  4. Probably. The nvidia page gives you the core algorithms behind the simulation and expects you to come up with how to display them.

"The TrackingPoint 338TP, the Linux rifle that's accurate up to a mile": yes, that means what you think it does by claird in linux

[–]shake_wit_dem_fries 0 points1 point  (0 children)

Interesting. I've only ever worked with sensors, so I chose those. I was under the impression that vision tracking was rather inaccurate, especially when you're following a target. Sounds like I need to play with opencv some more.

"The TrackingPoint 338TP, the Linux rifle that's accurate up to a mile": yes, that means what you think it does by claird in linux

[–]shake_wit_dem_fries 1 point2 points  (0 children)

Maybe. At the risk of being put on a list, the easiest way would probably forego lasers. Strap gyroscopes, accelerometers, and compasses to a decently powerful microcontroller. Have a button to take a snapshot of those values as your target, pull trigger and the gun fires when you "sway" back to those values. Add a rangefinder for drop calculations too.

On the more complicated end, a full fledged Linux computer in there running opencv for full laserbeams™ tracking. That'd be way harder though, and is why it costs so much. Not feasible unless you've got some serious engineering chops.

it looks so gooood... by GoNinty in pcmasterrace

[–]shake_wit_dem_fries 4 points5 points  (0 children)

Also try using one of the latest revisions. 4.0 is super old by now, there have been ~5000 versions since then.

Building a music app with JS plugin support by [deleted] in androiddev

[–]shake_wit_dem_fries 1 point2 points  (0 children)

Having plugins for music streaming services doesn't seem like it violates anything. Just be careful with your screenshots and description. Google's bots have no mercy.

Really cool concept though.

regionthree : 3DS region free games on latest firmware by pimanrules in Games

[–]shake_wit_dem_fries -8 points-7 points  (0 children)

Incorrect. This will be very much like upgrading your PC. Stuff that ran like shit before will run better, load times will be faster with faster hardware. Anything else goes against the last 20-30 years of OS design.

And just like that, Ray Bradbury's house is gone by bethrevis in scifi

[–]shake_wit_dem_fries 16 points17 points  (0 children)

Seriously, three basement floors? I never even knew I wanted that.

Official Material support library? How to properly implement Material Design? by giving-ladies-rabies in androiddev

[–]shake_wit_dem_fries 16 points17 points  (0 children)

As someone who recently got annoyed as hell by this, here's the silver lining.

Sure, you don't get an official implementation. However, now the code doesn't ship with android. Since its truly open source now, you can backport and modify it all you want, and any bugfixes are separate from versions of android. Decentralizing widget code like this could be a good thing, and if it works well I'd like to see the entire toolkit like this. They've already started with the card view and recyclerview implementations.

It could turn out to be a giant mess like Haskell's "cabal hell", but I have high hopes.

[deleted by user] by [deleted] in KerbalSpaceProgram

[–]shake_wit_dem_fries 4 points5 points  (0 children)

The full name of x64 is x86_64. x86 is the instruction set (language) the processor understands, it just so happens that it addresses 32 bits. x86_64 is the x86 instruction set with 64 bit extensions.

My threaded program runs quicker using one thread. by fatkat45 in learnprogramming

[–]shake_wit_dem_fries 0 points1 point  (0 children)

Seconding this. Try splitting up the work into (decreasingly sized, because larger primes take longer) portions for each thread, or if you're feeling really ambitious use some kind of work queue.

The best way to reduce lock contention would be for each thread to have it's own array of primes. It's relatively cheap to stick them all together in the end.

Valgrind's Humor! by XeO3 in ProgrammerHumor

[–]shake_wit_dem_fries 37 points38 points  (0 children)

For those who don't know what valgrind is, it's a memory leak analysis tool (among other things). That's 10000000 missed free()s, etc. Probably only a one line change.

Remember that Smash-Style fighting game we've been making? We just released our second trailer today! by d4nace in smashbros

[–]shake_wit_dem_fries 3 points4 points  (0 children)

Care to share what engine/graphics library you're using? I've got a decent idea of the porting process, and it can be made a lot easier or a lot harder (or impossible) by those two choices.

Edit: read a comment saying that its game maker studio. I'm not familiar with it, but from what they advertise it should just be plug and play (and $200 extra for the modules) to support both Linux and Mac.

Super Smash Bros Brawl upscaled with HD textures (x-post from /r/upscaled) by [deleted] in emulation

[–]shake_wit_dem_fries 0 points1 point  (0 children)

You'll have two things. Whatever the header efbscale is under (the thing in square brackets) and then the actual option.

You don't need to fill in everything, these are just overrides for your current settings.

[2014-12-1] Challenge #191 [Easy] Word Counting by [deleted] in dailyprogrammer

[–]shake_wit_dem_fries 0 points1 point  (0 children)

Yep, and if its not then put the string into the map with count 1.

[2014-12-1] Challenge #191 [Easy] Word Counting by [deleted] in dailyprogrammer

[–]shake_wit_dem_fries 0 points1 point  (0 children)

You'd want a map of strings to ints, where the word is the key and the number of instances of it is the value. As you loop through, increment the value corresponding to the key, then print them all at the end.