skysight-inc/HackerNews huggingface dataset:
This looks like a fairly good read for C programming, but it does seem to be showing it's age and has some (now) misinformation. The Copyright is 1996 to 1999, so from what I've looked at this is all C89, no C99 which is what you'll probably see at this point if you look at some C code.

I admit to not having read the entire thing, but I've looked through most of it. A few things that stood out to me:

1. They dance around what a multidimensional array in C actually is, and the line "C does not have true multidimensional arrays." is simply false. I'd let it go, but there's a disconnect from when they go from sections 23 and 23.1 to section 23.2. Section 23.2 is most definitely not a multidimension array. Allocating an actual multidimensional array is actually much simpler, just malloc a block of memory into a pointer to an array:

int (*a)[3] = malloc(2 * 3 * sizeof(int));

This allocated array works just like any other multidimensional array in C and can be passed as such, and it's much easier to use then the pointer-to-pointer approach. The pointer-to-pointer approach is the only one shown though, as though it's the only option, even though it's not equivalent.

2. In section 18.1.7, type qualifiers, they say 'const' is fairly rare to see. That may have been true when this was written, but in properly written code today it should be decently common to see, mostly in the case that functions are receiving pointers to data they shouldn't be changing and for string literals that shouldn't be changed. Not using const correctly is a source for lots of annoying compilation warnings and runtime errors.

3. The very end of section 20.1 notes that there is no way to define a variable argument macro. That was true at the time of writing (kinda), but it's not true with C99.

4. In section 18.3.1, the switch statement, everything's perfectly fine except that where it says it's common to use a list of #define's over a switch. It's much better to use an enum type to do so since it can annotate your code a bit better, acts basically the same way, you'll get better compilation warnings from it, and in most cases you can let the compiler assign the numbers for you and thus not risk any conflicts from adding and removing options. For whatever reason, I couldn't find any info on enum's in the entire read, which is a huge red-flag.

5. A lot of their function pointer information involves pointers defined as:

int (*p)();

The huge issue with that is that they defined it with an unknown parameter list, and it was intended by the author. There are basically zero times when you actually want to do that, in most cases you should either include the argument types, such as:

int (*p)(int);

Or put void to indicate no arguments:

int (*p)(void);
Ground up mummies also made a popular paint colour: Mummy Brown.

http://www.ancient-origins.net/ancient-technology/mummy-brow...
Interesting point, but certainly there must be a reason why they can't use green light other than just "evolution is slow".
hmm I may have to iron out some bugs.
This is a damn impressive demo, but it's not really "in the browser". The browser is the shell, but absolutely all of the heavy lifting is being done on the GPU. No matter what you're using to push shaders over to the GPU, you're really looking at the same performance (so long as that's all that's happening -- it's obviously easy to do horrible things and slow down WebGL or D3D or whatever you happen to be using for a graphics API).
I am really sorry that you feel that way. May be truth is just harsh.
Looks like just the threat worked in the case of a soldier who went to Afghanistan and returned to find that his renters had become squatters.

http://www.wfla.com/story/25320239/outpouring-of-support-for...
There are performance reasons why you may not want to do so, though. GCC has a warning option (-Waggregate-return) to detect this.
This happens today also. Strangely, I observed this more in the us than in India.

I'm now in India and have dated a number of African girls here. I'm very tall, Africans are tall, Indians are short, hence I am the last man on earth. The reaction of Indians is interesting. If they look up at the girl (I.e. they are 5'8", she is 6'2"), they say I should marry her. If they look straight (she is 5'9") they say I should find a white girl.
Ask HN: How to become a more data-driven person/employee?
I have been doing SaaS sales for a YC company for 2 years now and am by far the top performer and top revenue driver for my company. I love closing deals and have a natural ability for sales, however I know that I am lacking in taking a data-driven approach to my work.

As opportunities open to progress into management roles, I want to start refining my aptitude for identifying patterns and relationships in data making informed data-driven decisions.

If anyone has resources or recommendations for building up this skill-set, it would be much appreciated!
The overview literally just sounds like encrypted archive files. How is this different from putting a password on a .7z or .rar file?
Guys... I think this is supposed to be a jokey proof of concept. Lighten up...
Could you recommend some modern books on C programming?
Maybe (I don't know what TX law looks like) but that's not a lot of comfort once you've been shot.
Facebook epoch overflow bug?
While I agree with what you say, I wouldn't draw the same parallel. Its more along the lines of ending a phone call when the other person is in a low-service area. The point of talking is to communicate, and communication only happens when the people understand each other.

I get the same thing with my sometimes spotty grasp on the German language. While, for the most part, I can be understood just fine from Berlin to Munich, eventually people get frustrated and ask me to switch to English. Not because I'm American, but because I'm terrible at speaking German. It just takes too long for me to understand them or to make myself understood.

So I agree that racism sometimes stems from being uncomfortable around people who are different, but I wouldn't go as far as to say being uncomfortable around people who are different is necessarily similar to being racist.
Aren't there a lot of people living in really bad conditions in China?

Why does the Chinese government not allow these people to move into these empty buildings? Wouldn't any rent being paid be better than the buildings sitting there earning nothing?

It could be done with a lottery or with very clever analysis of who would be best suited for these buildings. (need teachers, butchers, shop keepers/merchants, police, fire-fighters, etc., in the appropriate amounts)

The buildings just sitting there seems like the worst option, doesn't it?

I'm probably very ignorant on the economics of this type of thing but I would be very interested in learning. Does anyone know of a detailed explanation of why these buildings aren't being populated?

There are several Eiffel Tower replicas all over the world, 3 in China, 1 of them is full-scale: http://en.wikipedia.org/wiki/List_of_Eiffel_Tower_replicas
Yeah, sometimes video formats are better, but for some purposes AnimGIFs are fine.

How difficult it seems to pick a default codec for the web+mobile web?

EDIT: Looks like everyone is concerned with it being open source, but they don't want to pay for it? Or they can pay for it and get a commercial license. Either way, you should be forced to pay! XD
Say Yes to Undress
Profiles of Victims of Malaysia Airlines Flight 17
This is one of those things that makes sense to me from a physics perspective, but I can never really wrap my head around it. And of course I've tried to fold paper in half ten times and failed. Still blows my mind.
If have to look it up, but I don't think the AP would get the plaintext password during the WPA2 key exchange.
The Dropbox File System
Apparently it's done through controlling the MTRR registers on the CPU:

http://rere.qmqm.pl/~mirq/cache_as_ram_lb_09142006.pdf
The Internet’s Own Boy: The Story of Aaron Swartz
I'm curious on the performance issues. IIRC, common x86 C calling convention does returning structs by requiring the caller to allocate memory for the struct (on the stack or otherwise) and then pass a pointer. If that happens then it becomes no different then if you had simply allocated the array on the stack and then passed a pointer to it to the function.

Are the performance issues in the case the architecture does aggregate type returning differently?
A low rental price on a high-end condo would immediately devalue the condo and any surrounding units - which is worse to the property development people than no rental income at all. They live by essentially propagating high prices for development.
Speed up Bootstrap theming with a library of LESS variables
Even sadder is the fact that (according to a recent Algerian speaking at TED), while westerners are calling all Muslims (and Sikhs) terrorists, they ignore that 85% of the direct victims of terrorism (ignoring USA drone strikes etc) are non-fundamentalist Muslims in Afghanistan, Algeria, Egypt, etc.
This is basically something forked off Telescope right? I'm just curious. Since you are using Meteor, what's it like using Meteor in production. Where have the scaling issues been?
Author here! It's very true that the GPU does the heavy lifting, although I'm not sure exactly where an "in the browser" line could be drawn (conceptually any page uses the browser as an execution engine and library).

It's a bit trickier due to restrictions in WebGL (OpenGL ES based) compared to the desktop (e.g. no bitwise operators makes it a pain to get randomness that doesn't bias the result), but it's basically the same.
South China Mall is still empty? Should take an online street view research before bad journalism.
เสื้อผ้าแฟชั่น
People are going to be racist and xenophobic assholes no matter what unfortunately. Anyone outside of their race / religion / country will be hated upon with the fire of a thousand suns.
By "property development people" do you mean the hired construction companies or the Chinese government?

Doesn't the Chinese government own these cities and buildings?
Hopefully doesn't do what 123catch does and upload everything you scan to their public database. Looks a lot like it does.
"Doesn't the Chinese government own these cities and buildings?"

No. There is private property in China, even if the laws for it isn't as strongly protected as in other countries.
The packet tracer is an interface to a tcpdump-like facility that's used for debugging. It requires you to connect the device to a Mac host. The interface is publicly documented: https://developer.apple.com/library/Mac/qa/qa1176/_index.htm...
I wonder if it can create output suitable for 3d printers
What's real need to be fixed is how to provide an easy copy-pastable way of viral spreading like GIF.

GIF is popular simply because people can copy it around by 2 clicks. Copying video files is PITA because bullshits like region restrictions, CDN providers, dynamic URLs, etc.
OT, but I'd GLADLY trade 2-5mm of phone thickness for a longer-lasting battery; one that can still make it through a long day of heavy usage in a city with lots of interference to power over after the phone is a year old.
Understanding the Y Combinator – a programmer-friendly perspective [2011]
> hiring an accent trainer or even taking some advanced English lessons would probably help your career

Hiring a reading trainer might help your career. Re-read the post you replied to more carefully.
For laptops it might be easier to avoid storing any of your sensitive data to disk.

Use a non-local encrypted filesystem per project to get the isolation and to avoid your local storage. Mount the project filesystem when needed, unmount it when done, and when not in use it is simply inaccessible to the laptop.

While any encrypted filesystem not stored on your laptop would work for this, ours[1] makes this workflow very easy.

[1] https://objectivefs.com
Ask HN: I want to transition from marketing to product. Where do I go from here?
I've been a Product Marketing Manager for 3 years out of college (w/ an undergrad business degree) at an enterprise networking company in Silicon Valley, but I find the company, its products, and my role a bore. But I love consumer tech– wearables, mobile hardware, mobile apps, social, latest web technologies– you name it.

I've taken a couple courses (One Month Rails, Learn Python the Hard Way, and Coursera) to get a basic understanding of coding. I've learned I'm not a very fast learner in terms of coding and while passionate about it, and don't think I would do well as a software engineer (took me 6 months to get through half of the Learning Python the Hard way to give you an idea).

I've decided I want to get into product, but not sure how or what way. I love tech, and I want to contribute to building a product but have no technical (official) experience.

I have 2 questions:

1. What role/title should I be looking at to transition from PMM to product? Product Manager (but those require experience)? Operations? What's my best option here?

2. Is this too difficult a transition? Should I go to an MBA or back to an undergrad program?

I don't mean to come off as lazy– if it does sound that way, I apologise. I really want to pour my passion into products I love, but I just can't get that with routers and data centre software. I also feel that "marketing" in tech is somewhat redundant, since the product's features by definition are its marketing.
15th-century paper has a fairly different smell from aged 19th-/20th-century books; it was generally made from a pressed paste of old rags and clothes (broken down by boiling). i have no idea how to describe the smell in a way that distinguishes it from newer 'antiquarian' books, since it's still a musty smell, a bit like some old drywall and construction materials. that said, parchment manuscripts from the same period (written on animal skins) have a very similar smell, so maybe it's more the dust and binding materials than the paper itself which is the main component.
http://www.thenanfang.com/blog/tag/south-china-mall/

TLDR: Not empty anymore, but they must be making a hell of a lot less than planned, and have taken a huge hit to their projected profitability doing this. I'm sure they reflected this in their stock price and GDP projections, right ?
I also never understand why it's seen as so important that real estate prices go up. Statements like "Chinese-based parents who are funding their children's purchases are helping the Irish property recovery." from the article always baffle me. Isn't it great if real estate is cheap? It means people can afford to live there and spend there money on other things and keep the economy going that way. I certainly prefer that over what's going on in SF.
I understand that often times people will take out mortgages against there houses if the price goes up and that way money goes back into the economy. But in my opinion that's not real money and will only lead to another 2008.
So when do the investors of these properties expect these buildings to start generating income?

Who are these wealthy investors? Couldn't the money be better invested in thousands of ways?

Sorry if these questions are dumb, I'm just really interested in this and can't wrap my head around it.
iBeacon is purely passive and cannot track you.
That's what I'm thinking, even if the property and surrounding properties are devalued now at least they would be creating an economy in the city. They could always raise the prices later. I just don't understand how empty could ever be better unless the cost of maintaining a lived in building was higher than a non-lived in building..

Then again, I see the same thing here in the US. Companies like Cisco buy huge office buildings and leave them empty for years. I suppose it's because building prices are cheap now. I always thought it was because there was a movement for workers to work from home more.
You can just decline to report the complicated parts of your income (but report the majority, so you don't look like a cheater), and IRS will fill in the parts you skipped (reported by others, banks, etc) and a and you a bill for the difference with a bit of interest added on.
I'm only involved in the cryptography stuff.
JPA 2.1 Performance Tuning Tips
I'm just at a complete loss at to how I was down-voted so much without a single comment as to the reason why. I was trying to be constructive and on topic.
There's nothing I can say in response to this comment that I haven't already said upthread and here:

http://sockpuppet.org/blog/2014/04/30/you-dont-want-xts/
The iSEC people use Windows and Linux, but I don't know what they use for encryption. Everyone at Matasano is on OS X.
List of security products recommended by Edward Snowden
It's interesting that a place that has such overwhelmingly friendly people gives the impression of being a terribly dangerous place to visit to so many Americans.
FYI this is one of 18 known surviving copies of Caxton's translation of the "Stories of Troy," not a completely unique item...except that every surviving print or manuscript from this period really is uniquely valuable, taking into account marginal annotations, bindings, stop-press corrections, etc (which are often of greater academic interest than just another printed copy of a known text). It's crazy to think how many scholarly treasures might be sitting unknown in the private possession of rich collectors, things which could change academic views significantly were they available for study (for example, there are so few surviving music manuscripts produced in England in the later 15th century that any new discovery changes the lay of the land).
and why is this better?
Stympy/faker: A library for generating fake data
It is in fact a dangerous place to visit. Having an incredibly friendly and hospitable population is something it has in common with several other dangerous places to visit.
This is very impressive. Well done!
phantom already does a full headless web kit browser. with screen shot capabilities.
The Last of Us Remastered Devs Discuss Making 60fps the New Standard in Games
The stubborn refusal of humans to act as though they were identical frictionless spherical humanoids of uniform density and heat transfer characteristics. And their stubborn insistence on acting like self-interested jerks who put their own comfort, well-being and survival well ahead of the interests of any of their con-specifics; much less any other animals sentient or otherwise.
We run into the same problem on ARM systems, but they tend to be much more forgiving when using cache as RAM. Generally there is a bit you can flip (either in memory-mapped IO or as a coprocessor instruction) to turn cache into RAM, which is how most ARM boot roms work.

Furthermore, most embedded platforms simply hardcode the timing values for the variety of RAM that they put down on the board. Since you know that the RAM, CPU, and board won't change, you can calibrate once and be done with it.

For Novena, we support swapping DDR3 modules, so we need to recalibrate on every boot. We're not so restricted, since we have a good 128k (or 256k) of on-chip cache-as-RAM, so we just do it all in C. Of course it starts out with reading the RAM configuration out of the SPD chip on the module, but timing calibration must be completed regardless. If you're curious, the code we use to do this is available at https://github.com/xobs/u-boot-novena-spl/blob/u-boot-spl-no...
I definitely don't dispute that fact. But if you ask most people in America what their opinion is of the Yemeni population, "friendly and welcoming" would not be the most common response.
Show HN: BoxPx – Photo Albums for DropBox
They aren't sending the PASSWORD in the clear, they're sending (effectively) a public key.

Bob sends public key to Alice. Alice uses public key to encrypt file and sends to Bob. ONLY Bob can decrypt the file (using his PRIVATE key).

If you sent a password, then anyone who intercepted it AND the encrypted archive would be able to decrypt it.
The Naval Research Laboratory built an app that can 3D map a room on an Android phone: http://www.technologyreview.com/view/429394/placeraider-the-...

Google is building a phone to make it very accurate: https://www.google.com/atap/projecttango/#project

This might enable it if anyone wants to build the app: http://octomap.github.io/

http://wiki.openstreetmap.org/wiki/IndoorOSM_on_Android
Everybody should care, it has a direct impact on you. If workers in China and India are earning more money and there is less of a gap between what an American gets paid, it makes less sense to outsource.

I could hire workers locally for similar wages and not have a 12 week lead time on manufactured goods.
Show HN: A text-based fantasy RPG for iPhone
I have a feeling the problem is jobs. What are the industrial jobs that will form the community's foundation? No jobs means nobody wants to move there.
Ask HN: Business name availability and issues.
Is there a website or something where you type in your desired business name, and it displays all the names of all the companies with the name within all 50 states?

Also, is it ok if my business name is Example, LLC while someone elses is Go Example, LLC? With just the Go at the beginning?

And, I have a company name which is used by someone else in a different state, but theirs is Example while mine is Example, LLC. They sell designs online, I make apps for the app store. Any problems there?
Vice on HBO did a good segment on this. Definitely worth checking out if you have access. A little extra bit here: https://www.youtube.com/watch?v=qPjGWcM3Awc
The rent in San Francisco and Marin County is going up too
fast. I hate to say this on this board, but I'll be glad when the tech bubble bursts. I have some friends in San Francisco and I'm so glad they are protected by rent control. Marin County only has rent control in San Anselmo.
If you live in San Anselmo and you live in a detached "Mother in-law" unit you have rent control. As to Landlords, who consistently raise rents to whatever the market bares--don't complain when your Tenants really don't
give a dam about your property, or you? Your tenants know
the difference between gouging, and reasonable rent increases. Being a Landlord is a little different than
making money in the stock market. That person who has
carved out a litte life in your community, and home--sometimes as to pass you in the Hallway in order to get to
the bathroom? "But, I'm just doing what Everyone else is doing?" Sometimes--relationships are more important than
maximizing capital, maybe that's how the term mother in-law
unit came to fruition? "Hell, throw her out--I hear it's
cheap to live in Chicago? By Mom!" I just don't get it I
guess?
Actually you wouldn't be able to show any such thing. The license is a grant of one set of rights ( to use the software, make copies, resell it, incorporate it into products, etc. ) but the Patents would be the enforcement of another set of rights ( to prevent infringement of the protected idea ) the two sets of rights are orthogonal, and although you might have rights to use the software from a copyright licensing perspective; doing so might be an infringement on their patent rights.

And those two sets of rights need not inhere in the same organization. Remember when Microsoft was threatening to use it's patent portfolio against any company that used linux...?