HNHacker News
TopNewBestAskShowJobs

deletes

2,329 karma · joined February 14, 2013

HN fix your downvoting problem...
submissionscomments
deletes··on StoreDot’s Bio-Organic Battery Tech Can Charge From Flat to Full in 30 Seconds?
It reckons the speedy charging battery technology could be on the market within three years.

According to this chart it really works: https://xkcd.com/678/

deletes··on Speed memory access by arranging data to take advantage of CPU caching
Of course that doesn't apply to games anymore but to high performance computing. Systems for gaming vary too much for that to be of any importance. Maybe if you are doing it for the consoles, but then you have to optimize each individually.
deletes··on Speed memory access by arranging data to take advantage of CPU caching
I was curious about this as I have never done any such testing, so I wrote a simple c program.

The object was a struct with a size of a typical game object( 100B ), then I trashed the memory by doing a lot of malloc/free using the size of the object. The two tests were one with an array of objects( contiguous array ) and the other an array of pointers to objects which were allocated separately. Then I iterated over the object doing some very simple operation( just enough to access it, and identical for each object ) and timed this. And of course I trashed the memory some more for each time.

The time taken ratio is:

array of objects : array of pointers to objects

1 : 1.189

The second test is identical except I made some extra effort to make sure that every object in array of pointers was not adjacent to any previous one in memory:

array of objects : array of pointers to objects

1 : 2.483

The difference got much smaller once the operation on each object became more time consuming.

deletes··on Why 'gallons per mile' is better than 'miles per gallon'
Frames per seconds is better in almost every way. When you use it to watch movies it is better since a normal human understands seconds but not what a frame is. In gaming, frame times usually vary quite a lot, and the average, which is fps, is the important part.
deletes··on 2048 implemented in 487 bytes of C
As an obfuscated c example I was expecting portable code. Anyone hoping that as many people as possible try their code should aim for that.
deletes··on 2048 implemented in 487 bytes of C
HN got really trigger happy in the last few weeks.

That part of the comment only is partially correct, and not was even the main point of my comment; what I really meant was that it doesn't belong in windows, and the main point was that the code is not portable.

deletes··on 2048 implemented in 487 bytes of C
Doesn't run correctly under windows. The code relies on the system call "stty cbreak", which is linux specific.

'stty' is not recognized as an internal or external command, operable program or batch file.

I would love to read comments instead of downvotes. Where am I wrong?

deletes··on Microsoft Will Soon Bring Back The Start Menu In Windows 8.1
right click >> Properties >> Disable metro

I hope there is an obscure setting somewhere that would disable metro completely. As a programmer I see no benefit to it.

deletes··on "60 Minutes" admits it manipulated the sound in its Tesla segment
This is why I don't like April F. Everything has to be rechecked/researched x times. The 60 minutes article is definitely not AF and I doubt my link is also.
deletes··on "60 Minutes" admits it manipulated the sound in its Tesla segment
The strangest outcome of all of this is that Bill O'Reilly's actually made some sense for the first time in history.

http://youtu.be/Pt0ot1LgXZQ?t=1m3s

deletes··on Google Maps now lets you find and catch wild Pokémon
Seriously, what are they waiting for. I'm not a teenager anymore, but If this was a serious app I would totally go catch a few, granted as a joke. And kids would go crazy over this, every single one already has the pokedex( smartphone ), that basically has all required capabilities.
deletes··on The Cache and Multithreading
Comment on the blog that got deleted:

I did a similar test in C and have gotten very similar results. When N is around 4000 the trashing version starts to differ substantially. A 3x difference can already be seen when N is 1000.

This means if your program is running on two threads over different parts of the matrix, every single iteration requires a request to RAM.

I'm skeptical over this part, I have tried to replicate this behavior but was unsuccessful. Even though cores are sharing L3, I doubt that a thread will overwrite the entire cache on every iteration.

deletes··on Oculus Says They Didn't Expect Such Negative Reactions to Selling to Facebook
Note the phrase might as well. The example was a stab at how you can't make such assumptions.
deletes··on Oculus Says They Didn't Expect Such Negative Reactions to Selling to Facebook
You don't know that, they might as well changed their opinion and are now too embarrassed to speak about it.

I think a lot of people were acting with pure emotion. Once the surprise subsides the logical reasoning kicks in and you get the bigger picture.

deletes··on Tesla Adds Titanium Underbody Shield and Aluminum Deflector Plates to Model S
I appreciate the response.

I'm still skeptical about the actual energy usage. If the % more kinetic energy applies equally to battery energy usage.

deletes··on Tesla Adds Titanium Underbody Shield and Aluminum Deflector Plates to Model S
Can we see your calculation and reasoning or did you make the numbers up?
deletes··on Tesla Adds Titanium Underbody Shield and Aluminum Deflector Plates to Model S
Official blog: http://www.teslamotors.com/blog/tesla-adds-titanium-underbod...
deletes··on MLB.com is using my Google Analytics code
This is exactly the reason they responded. By changing the code quietly, they would implicate themselves. An official PR statement like this is obligatory.

What is more probable, that they a lying, or that the random generator generated not a single code that matched, which is very(!) improbable by itself, but two codes that belong to the same account, generated at the same iteration.

deletes··on MLB.com is using my Google Analytics code
Look at the code as the author suggests; you will notice that a part of the code( ~40 lines ) is identical, including the comments.
deletes··on Facebook’s $2B Oculus deal happened over the last five days
I suppose I will get a FB account now, so that may lead to some writing a little longer than tweet length

If only there existed such a thing before facebook, a platform to enable others on the internet to read it,... a blog if you will.

Oh wait...

http://www.altdevblogaday.com/author/john-carmack/

--------

I guess If someone gives you a lot of money you have to talk nice about them.

deletes··on Facebook conference call about acquiring Oculus
Sound like an announcement to the shareholders via a large conference call, not an internal discussion.
deletes··on Facebook acquires Oculus VR
His ultimate goal is to make the holodeck.
deletes··on Facebook acquires Oculus VR
I think for Carmack the situation is the same as when Id was acquired by Zenimax. So for anyone curious just look what happened then. He doesn't care, as long he can work on the stuff he wants to and he left Id because he couldn't do that( work on VR ). If he leaves Facebook, the reasons will be similar.
deletes··on Facebook’s $2B Oculus deal happened over the last five days
I can't comprehend that John Carmack is now working for facebook.
deletes··on Range-Checks and Recklessness
How will assert help if the failure happens in production code? Wouldn't it be better if the error was logged to a file.
deletes··on “Netflix for Legos” is an awesome idea. But can it scale?
The phrase Netflix for Legos, gave me absolutely no idea what was their service, until I visited Pley website, where it clearly said, Rent LEGO. Sometimes you just can't apply software analogy to hardware.
deletes··on Poll: The new HN comment system – agree, disagree, or wait and see?
Your information is incorrect. The pending comments will be removed after a certain time and the user will be able to comment again.

You can also delete the comment in a certain time period.

There were also some suggestions about restrictions of the single comment.

deletes··on 8402: 2048 from the other side
It is very easy to win. You shouldn't be able to select 2 or 4. The decision should be random and that would be fair like the original.

The easiest solution is to have just one 2 on the table, then spam 4 in corners.

Best( lowest ) score: 1684

deletes··on Coming Soon to Hacker News: Pending Comments
I apologize if I have missed the answer, but the thread is very long.

Will clicking endorse automatically upvote the answer? It would only make sense to, and you wouldn't have to click twice.

deletes··on Coming Soon to Hacker News: Pending Comments
Not, years, months; assuming a couple of decent comments per day, with a couple of points per answer( my definition of a couple is ~ 2-4 here ).
Page 1 of 22Next →