HNHacker News
TopNewBestAskShowJobs

calloc

1,131 karma · joined September 3, 2010

submissionscomments
calloc··on Show HN: movies.io — torrent search like it should be
There is nothing illegal about this. It provides magnet links, so it is not even linking to the files themselves, they aren't hosting infringing content...
calloc··on My Raspberry Pi Thinks It's a Mainframe
HDMI is compatible with DVI. You can convert from DVI to HDMI and vice versa (without requiring logic, simply hooking the right lines into the right port).
calloc··on Facebook Co-Founder Gives Up U.S. Citizenship
Depends on when it is done ... for example as a child the rules are different for a lot of countries and dual citizenship would be allowed.
calloc··on My Doctor's Office Asked Me To Lie
In the time period listed I've bought WAY more than 5 jars of Nutella, but I don't honestly think that I bought it thinking "Hey this is healthy!".
calloc··on My Doctor's Office Asked Me To Lie
The guy I was talking to was amused when I actually read what I was signing while purchasing my car. It asked me to sign saying I had received something, which was going to be printed next. He said I was the first person to refuse to initial/sign the paper until I had seen the next item on the list.
calloc··on Supporting IE Is Too Much Work
You can run an emulator for both the iPad/iPhone iOS stuff on top of an Apple Mac OS X machine, same with the Android development environment. At that point you can test your website using WebKit on a "mobile" device without actually owning a mobile device.
calloc··on Supporting IE Is Too Much Work
Safari is available for Windows. If developers were running Windows they could test IE, Chrome, FireFox and Safari all at once.
calloc··on Debian Handbook
I've been waiting for Linux distributions to pick up the idea behind FreeBSD's handbook (http://freebsd.org/handbook) which is an absolutely fantastic resource that has helped me even as a veteran FreeBSD user make sure I had all my ducks in a row before making modifications to my system.
calloc··on Why should I have written ZeroMQ in C, not C++
At least with clang/llvm and gcc you now have binary compatibility between two competing compilers.

You can take a .o built with gcc (g++) and link it with a .o generated by clang (clang++) without issues. Same name mangling, same everything. This means that I on my system at least don't care anymore whether the project is built with GCC or with clang and I can use either or for my own projects.

The thing though is that the C++ standard doesn't have a default ABI, so saying that it is non-standard isn't even the case, that we get any compatibility is nice at all, and I understand that complaint.

The biggest issue I've ran into is that even with the same compiler on the same platform (using MSVC 2008) setting different compiler flags generated completely different code and memory layouts for std::vector that caused me to not be able to link against a DLL. At least some consistency exists with other compilers and different flags don't necessarily change compatibility.

I don't think it is entirely fair to compare WinRT with Foundation/Cocoa. WinRT has an entirely different goal than what Foundation/Cocoa provide, and Foundation/Cocoa provide none of the same things that WinRT provides such as a object model that can be used across different programming languages fairly easily. Mac OS X has nothing that even comes close to COM.

calloc··on C (Cbang) - A system oriented programming language
Objective-C isn't used in XNU the kernel that Mac OS X uses, Mach is a mixture of C and C++ (A subset of it actually, known as IOKit).
calloc··on The guy who made it so difficult to open your bag of potato chips
I'm on Aderall, and by the time I watch the show its effect has worn off (watching it RIGHT before I go to sleep, the guys voice makes me go to sleep), making me slightly hungry, but not enough to get out of bed and actually make any food, besides I don't like eating right before I go to sleep.

Yes, there is a lot of food that is on there where I can find myself saying "well, definitely not eating that ever again".

calloc··on The guy who made it so difficult to open your bag of potato chips
I've been watching "How It's Made" on NetFlix, I am on Season 3 and it is awesome. Although, I do tend to get hungry for the foods they show :P
calloc··on WebGL Grand Theft Auto
Chrome on OS X 10.6.8, worked with no issues after giving it a minute or two.
calloc··on Microsoft sends GitHub DMCA shutdown for Skype open source project
Flag the post and move on. I don't see any Microsoft hating here, most of the posts are about Microsoft being in their right to take down a project that uses their copyrighted binaries and is distributing them wholesale after adding some extra code...
calloc··on Tumblr President Steps Down
Why an iDevice? Does Android add periods by default? (Space space doesn't on most Android devices, neither does Enter enter).

He could have written this on any mobile computing platform.

That being said, he did use short hand texting "speech" with his "w/".

calloc··on European server provider Hetzner now offers a 64GB RAM box for 109€/mon
You get an entire /64 for IPv6. Time to make the switch.
calloc··on European server provider Hetzner now offers a 64GB RAM box for 109€/mon
Does it have to be Xen? I've had a lot of good luck using KVM and so far it seems to be more stable... and it can run OS's unmodified.
calloc··on Your Bash Prompt Needs This
I never knew this, this is absolutely going to be a timesaver!
calloc··on Your Bash Prompt Needs This
For number 2, this has been the default for tcsh for years now...
calloc··on IPv6 is no longer considered optional
ULA addresses in IPv6 allow unique local addresses that can be used by a large enterprise to build their own network, so that they have specific IPv6 endpoints always available, and then when their ISP hands them a different /64 or /56 they can continue to function as normal without renumbering.
calloc··on IPv6 is no longer considered optional
There is one other one that you missed for IPv6. ULA addresses are unique local addresses that are not automatically assigned and are assigned by the administrator. They can be routed, but not on the public internet (only on your internal network (in an office, in multiple offices, datacenter, etc)).

Those are not just for automatic peer-to-peer they are for assigning addresses on your network that can stay the same no matter if you change ISP's and they hand out a new /64 prefix to your network...

calloc··on Peter Jackson's 48fps Presentation Of 'The Hobbit' Gets A Mixed Response
I for one am looking forward to 48 fps. I have too often that I am watching a movie and I can see "juttering" as the camera pans across a scene. I find it extremely annoying. I have also noticed that it is in various other aspects of life as well.

There is a traffic light near me that has three lights on it, and there is a noticeable difference between when the first light goes from green to orange to red and when the second goes through the same progression. My friends thought I was insane until I took high speed photography of the same traffic lights and proved them that it was off by the tiniest amount (don't remember exact figures). The same thing can be said for PWM'ed LED's, such as the ones in certain cars...

calloc··on Apple Q2 2012: 35.1M iPhones, 11.8M iPads, 4M Macs, and 7.7M iPods
94% growth Year-over-year. Any other company doing that well?
calloc··on Apple Q2 2012: 35.1M iPhones, 11.8M iPads, 4M Macs, and 7.7M iPods
Analysts were actually below what was posted this quarter. Next quarter looks to be disappointing for analysts, they are aiming higher and Apple's guidance is lower ...
calloc··on Something is deeply broken in OS X memory management
Only voids the warranty on the hard drive, in all actuality they don't care... They will simply call up and ask about it and you tell them you replaced it due to corporate policy and all is well.
calloc··on The ugly side of Kickstarter
Oh, you can ask for money, but don't be surprised if you don't get it :-)
calloc··on Megaupload Trial May Never Happen, Judge Says
So does this mean that all of the assets that were seized from Kim Dotcom were illegally seized (especially the assets in NZ)?

If so what does this mean for Kim Dotcom going forward? Does that mean he gets back all of the seized assets, and start rebuilding MU?

calloc··on I bought something from a Best Buy vending machine, and it didn't go so well.
Yeah, I was aware of them having terrible lifespan, one of the reasons why I purchased from Costco in the first place, but Aerobed always advertises their beds as being quality and staying that way for a long time so I was surprised that it only last about that long.
calloc··on Redesign: Users: Thrilled. Conversion Rates: Up. Sales: Unchanged.
Nice! Going to integrate this into my blogofile setup so that I can output nicer HTML!
calloc··on Redesign: Users: Thrilled. Conversion Rates: Up. Sales: Unchanged.
Not sure if this is the case or not, but certain templating systems make it really hard to remove extra whitespace/lines (I'm looking at you Jinja2) and they get added when you use standard templating stuff like "if/then" statements.

Removing them after the fact with a HTML tidier would work, or you could just not care and let gzip handle the compression.

Page 1 of 19Next →