skysight-inc/HackerNews huggingface dataset:
Yes, (void * )0 gives a null pointer. I mentioned that. However, that doesn't mean all the bits of a null pointer are required to be all 0. The actual machine representation of a null pointer is implementation-defined. The only requirement C99 places on the actual value of a null pointer is that it compares unequal to a pointer to any object or function, and any two null pointers compare equal. See section 6.3.2.3 paragraphs 3 and 4:

An integer constant expression with the value 0, or
such an expression cast to type void *, is called a
null pointer constant. If a null pointer constant
is converted to a pointer type, the resulting pointer,
called a null pointer, is guaranteed to compare unequal
to a pointer to any object or function.

Conversion of a null pointer to another pointer type
yields a null pointer of that type. Any two null pointers
shall compare equal.

If you do this:

int pv = 0;
char * p = (char *)pv;

you are not guaranteed to have p set to a null pointer, because the zero you are casting and assigning is not an integer constant zero. The behavior is implementation-defined, as is going the other way. Section 6.3.2.3 paragraphs 5 and 6:

An integer may be converted to any pointer type. Except
as previously specified, the result is implementation-defined,
might not be correctly aligned, might not point to an entity
of the referenced type, and might be a trap representation.

Any pointer type may be converted to an integer type. Except
as previously specified, the result is implementation-defined.
If the result cannot be represented in the integer type, the
behavior is undefined. The result need not be in the range of
values of any integer type.
http://mathwithbaddrawings.com/

Assuming you're specifically demanding stick figures doing math. It tends towards middle school level math and light comedy. The mystery of "point nine repeating" which was pretty interesting in 7th grade, and a skit along the lines of four technical professions try to split the check at a restaurant.

If someone knows of higher level stick figure math (aside from the linked AES discussion) that would be interesting.

Theoretically there are probably startup ideas around stick figure presentation online (a blogging / image service oriented strictly around sequential stick figures and comics?) or maybe in the infrastructure of something not as formalized and boring as visio but a little more cleaned up than a phone camera shot. Or an online service dedicated to cleaning up phone camera pics WRT hand drawings maybe even with OCR.
Most companies drive what I like to call dipshit innovation. You know what I'm talking about. The new X sandwich from McDonalds. The new X flavor from Coca Cola. Repackaged servers from Amazon. The new X phone from Apple. A variant of an already existing drug X with a different name by Pfizer. These things are not hard to develop, and that makes sense, since a company's return horizon must be on the order of 7 years or less to stay in business. Things that only take 7 or so years to develop just cannot be that hard to do. To make real impact requires sustained investment at a loss over decade to century level time spans, a space in which only the largest companies in existence, namely nation states, can compete.

Now, that's not to say that we don't need dipshit innovation. Dipshit innovation does in fact serve a very useful purpose: it helps to reduce costs by forcing a diverse group of small agents to survive by maximizing short term profits, whilst simultaneously minimizing short term costs. Some of these profits can then be pushed back into creating the next wave of things that nation states help develop. This next wave can then be fed right back into the free market where once again a diverse group of capitalistic agents can copy, scale up and reduce the costs of the next generation of tech.

Problems seem to occur when there is too much of a focus on long term investment (Communist China's/Russia's fascination with producing iron), or when there is too much of a focus on short term investments (The world's fascination with short term leveraged trades before the global financial crisis).

You really want something of a 40-60 split of resources, with 40 being pushed back into government/public institutes for long term societal level investments, and the remaining 60 going back to the free market as an incentive for further cost reductions.

We need both types, in the right amounts, to keep the economy chugging along. We also need competent people working on both sides of the split for us to move forward. What we don't need is to deify one to the exclusion of the other.

Addendum: This talk is an amazing discussion of the ideas listed in my above hypothesis: http://www.youtube.com/watch?v=jyp3Bw5H0VA which was tipped to me from here: https://news.ycombinator.com/item?id=6310207.

It's always nice when others back up what you say. But it seems that I'm always a year late with said ideas (talk is from 2012, and I hadn't previously seen it).

I blame the state for funding such radical research. I blame YouTube for not showing me it earlier.
can you measure the speed and post it here ?
The part that annoys me is that the docstring mentions "dictionaries" when I see no `dict`s.
There have been initiatives to unify the different government services under one account in Germany, however, whenever someone proposes to aggregate all citizen data in one database, a huge outcry ensues. The basic reason is really that no government entity should know too much about a citizen, so that 39-45 will not that easily be repeated. Sort of security by obfuscation.

It is in a way similar to the current google story, google trying to unify all its offerings in one account, thereby making the experience much smoother and helpful, and people refusing this because they don't want google to know that much about them.
This article covers more advanced functionality than what's built in to shells but don't forget:

cd -

That goes to previous dir. A utility that follows this convention but adds some more features would be nice. For instance, maybe typing 'cd -2' could take me back two spots in history, like a web browser.
Syria latest: Obama will put Syria decision to Congress
Overkill. Cross borders clean. I reset my phone every time I cross any border. And then resync everything I need on the other side. I have a TrueCrypt volume I download to my travel laptop. It's small but contains what I need when abroad.
That can be an advantage in some cases, however. Not generally, though.

In particular, if you want the side effects of both operations. Trying to write multiple things while checking if any of them failed, for instance.
Stealth Startup Fantex Wants To Make It Possible For Celebrities To IPO
I think the real parts in these stories are -

1. Have free plan to pick up 10x more users (and gain more traction, exposure, feedback, etc).

2. When the time is right, remove free plan to convert some of those users.

The rest is just b.s. to justify a perfectly good strategy to those free users and the rest of the market. Which is b.s. in itself (...thinking you have to justify it with b.s.).

But it was so well done here that you kind of have to admire it.

Gaining H.N. exposure for a day, and getting picked up on some other sites is also not too bad.
> a) no country has ever tried it

Isn't the cash you get from "Social Services" (or whatever it's called) just that, a basic revenue that's guaranteed (as long as you follow some very simple/basic/normal rules)?
You're right.

A fairly large statistical portion of domestic violence is female to male, and the stereotype of the wife-beater has certainly led to a lot of false prosecutions against men (falsely accused of being the aggressor) and situations that police ignored until a female assailant escalated to deadly force.

I used it because it's the standard placeholder of an unwitnessed violent crime in law enforcement discussions.

Perpetuating harmful stereotypes is not cool in any case.
Sincere apologies. I lieu of editing, since the time's elapsed, have some karma :)
Thanks for an interesting comment among what will surely be a pile of modern libertarian disbelief and nonsense about to be poured all over this thread.
ROPgadget: search your binaries to facilitate return oriented programming
That is a common misconception. Moving to iterators adds a function call while list creation in C is quite fast. Every case has to be tested for performance.
(If you were just aiming for humor here, my apologies for missing the point. I blame the usual issues of unemotional text.)

Whether or not any given woman is fond of looking at pictures of naked women isn't the point. The issue is that it's difficult to give women assurances that they are being treated equally as colleagues if the professional environment also embraces cultural norms that treat women as eye candy or playthings.

And this isn't an assumption, in any case. Plenty of women have been quite explicit about feeling uncomfortable about erotically charged images in the workplace. (You know this.) I'm sure some women think it's fine, too, but that doesn't make the feelings of the others any less valid.

(Also, "females"? Really?)
http://SpeakerBlast.com
Beta 1 of Oracle UEK 3 - based on Linux 3.8.13, includes DTrace
For succintness' sake: you only need "0" a.k.a. FALSE. All else is TRUE.
You guys are having a phenomenally good discussion. This thread is fantastic and what I love to come to Hacker News and see. Right on, maximum A+.

Just wanted to squeeze that in edgewise.
See the (truncated) discussion: https://news.ycombinator.com/item?id=6309716

The other reason we know they were fake is that if they weren't, we would still be hearing about it.
Be sure you're right, then go ahead.

Going ahead means talking to higher management, laying out your concerns ("I'm worried this may be the case" not "This is the case, absolutely, and you must act now!") then asking if they think you're right.

I would also style this as a question of management theory, not the individual in question. "I believe Dan is using the STFU management technique and it's not a fit for our unique situation..."
"for a family"

Slightly unrelated: Of course children should receive BI. Why won't they?

Of course, legal care must be taken so 10% of a family first child's BI, 33% of second child's BI, 50% for thirg child's BI (and so on) go to some special saving account then used to finance housing or education for those children.
Or else a "family" collecting BI for their five children, living off it and then give children a boot after they grow up will become a social problem.
First, they said, "oh, it's just level 1, don't worry..."

Then, they said, "uhm, it's level 3, but still, don't worry..."

Now, they say, "it's actually x18 as bad".

Lesson learned: Never trust people in power in the slightest way, it's always full of lies and incompetence.

One of the new things that society needs on all levels is: Transparency.
Is a T-shirt which states we should move back towards traditional marriage as the retirement safety net one which is harassment? What if one has a T-shirt advocating banning sperm banks or IVF?

My problem is that if the state does not remain neutral on political issues then we have no semblance of democracy.
NASA funds 6 futuristic space exploration tech ideas
He's just pressuring you to work longer hours. That's cheaper for him but abusive to you.
You've crossed a lot of borders before, haven't you, mixmax? I thought about this proposal of yours for a while as I was eating breakfast, and I remember the ways that tangible property of travelers can be handled at a border.

First of all, if a particular kind of tangible property is declared to be contraband by some country, it can be seized at the border. There is nothing you could do about that, if you want to visit that country, except not bring along the property.

Another treatment of some kinds of property is charging a tariff, even if the property will remain in the traveler's possession after leaving the country. I have seen this done. Some items carried by Americans were dutiable in Taiwan even if they were not items that would be sold in Taiwan. (This was in the 1980s.) The customs duty for some items, by the tariff laws Taiwan then had, were equal to the full retail price of the items (mostly consumer electronics, as in the case I observed).

Or the property could be held in bonded storage at the airport until you finish your journey. That happens for some items in some countries too.

To sum up, just because you can lock your phone doesn't mean you will be able to travel around the world with your phone. Try that in North Korea. Try that in some other places, and see what happens. Countries can control the entry of tangible property into their territory if they so choose.
Here's the problem with your analysis: Just because someone doesn't have a job, doesn't make them a parasite. Here's an example, a granddaughter who lives with and helps take care of her poor grandmother who has Alzheimer's. In her spare time she does sonogram analysis to determine the sex of babies for newly pregnant mothers (Yes, this does exist.) But there is no money in any of this, even though she provides a service to society. Give it some thought and you can realize there are many variations on this. The problem with capital-driven society is that it only values a narrow range of activities that have high rates of money exchange. But there are many things in life worth doing, indeed that need to be done, that do not.
Ace is open source: http://github.com/ajaxorg/ace
Yeah, looks like a remnant that was never updated.
If you talk to higher management, make sure the project neglect and subsequent loss of income is forefront in your concern. If the problem person has friends in higher management, you may be screwed one way or the other, but if you keep it about the finances of the company you stand a much better chance of being heard and even appreciated. Otherwise, I'd say update your resume and quietly start looking elsewhere.
Jekyll is nice, but I sometime miss my old Wordpress
>Statistically, it becomes much less likely.

Yes, I agree with that claim.

>Tell that to Ada.

Why? I said "mostly", referring to the era of modern computing. In addition, Ada Lovelace wasn't a pioneeri in programming, she was confused about the subject.
Whatever happened to the French-designed water filtration systems they were testing at Fukushima last year...?

They were supposed to remove most of the radioactive material from the water, leaving behind a thick radioactive sludge (nasty stuff, but much less volume to store) and much less radioactive water (safer to store and much less problematic if there are leaks etc).

I remember they were having some clogging issues, but the system basically worked, and I'd have thought they would have worked out the kinks by now...
Your disaster response BI example is basically what the Reserves and National Guard did until about a decade or so ago. This was my experience in the USAR in the 90s. There have been a variety of (internal) doctrinal changes over the years which outsiders probably wouldn't understand, such that it certainly could not apply now. But, doctrine can change quickly.

One interesting issue is being in the Reserves meant a "basic income" which was wealthy for a kid, "about average" for a college student, and a rounding error once you get a real job. You probably need some kind of pay scale modifications, which inevitably results in considerable gaming of the system. "Well, as long as I don't graduate, I'll get an extra $500/month and I'm spending that on nicer rent so I'll take one class per semester for the remainder of my life" (I suppose there are worse unintended consequences)

Another problem is supply and demand. So you give young people $10K/yr. And everyone knows it. So colleges raise tuition $10K/yr because they have an obligation not to leave money on the table. And rents go up $10K/yr ditto reasoning. And sin taxes go up $10K/yr. And price of cars goes up $10K/yr. By the time you're done, the poor are more miserable than ever because they've only gained $10K but inflation has demanded an extra $50K/yr just to keep up with where they're at. I've seen this play out in govt sponsored day care cost sharing, govt sponsored housing (both welfare and nearby .mil bases), govt sponsored everything...
Ask HN: Quality Forums / Forums you Frequent
Let's start a list of quality forums. You can never have too many.
It's unfortunate you're having trouble. I'm running the latest (beta) version of VirtualBox and it seems to be fine for me.

A VM is not magic, it's emulating real hardware under there - a PIIX4 IDE controller by the look of the settings. You may have better luck picking another option in Settings under Storage.
So, suppose the secular humanists get their way and we remove religion as a class but ethnicity and race are.

Would that mean that advocating violence against Jews would be a problem but against Atheists would be ok? But at that point, do we have a problem where people are not equally protected under the laws?

This may seem manufactured, as a hypothetical and it is, but one can come up with plenty of cases where such would not. For example, if one advocates killing anyone with a felony drug record, this would hit blacks much harder than whites. One could effectively advocate genocide by attacking proxy issues like this just as one can effectively discriminate in such a way (why the EEOC has generally held that blanket policies of not hiring convicted felons are racially discriminatory).

But if you go to such analogies, I think you have a problem.

I don't think that hate speech bans are compatible with equal protection under the laws.
Becoming a better communicator surely requires practise, but there are some very easy steps that produce instant results. Short daily status emails and/or weekly email status reports are EASY and yet it isn't done by all developers. This is waaaay easier than improving your skills on debugging multi-threaded systems. The latter is definitely a noble goal, but will fail short if you don't even write that stupid status report once in a while.

And yes, these tips are utterly trivial but nonetheless important. Do you write status report emails?
> Picking Nokia as an example of innovation?

She used Apple as an example too, which around here is uncontroversial. If you want to learn more, she wrote an entire book explaining the article's statement: "And every technology that makes the iPhone a smartphone owes its vision and funding to the state: the Internet, GPS, touch-screen displays, and even the voice-activated smartphone assistant Siri all received state cash. The U.S. Defense Advanced Research Projects Agency bankrolled the Internet, and the CIA and the military funded GPS."

Furthermore, she clarifies in her TEDx talk [1], that Nokia's problems are its own executives' misjudgements, as is clear. (Just as the US isn't responsible for every failed US tech firm.) Nokia obviously did quite well from state subsidies, just as US firms do. (I recommend this TEDx talk, which goes deeper into the context than the brief Slate article.)

I find Mazzucato quite reserved in her critique of religious economic ideology, despite people willfully reading "madness" into a brief Slate essay, rather than carefully investigating her work. Not only did she explain in a book, but she even made a Youtube channel investigating this theme with other economic/political figures. [2] Her work came from an INET grant [3], not an insignificant institution. [4]

[1] http://www.youtube.com/watch?v=jyp3Bw5H0VA

[2] http://www.youtube.com/user/RethinkingTheState

[3] http://ineteconomics.org/blog/institute/ha-joon-chang-and-ma...

[4] http://en.wikipedia.org/wiki/Institute_for_New_Economic_Thin...
Java Native Layer Exploits Going Up
> the OS itself is written in assembler, so the mapping between the final result in the binary of the OS, and its source is probably close to 1:1

Since Assembly code is pretty much unreadable, human-written Assembly source code tends to be 50-90% comments. Some OS related programming tasks are very handy to write with Assembler macros, that wouldn't be visible in the binary. In addition to the comments, the binaries might not contain variable names, function names and other useful information.

Hell, even white space is important in Assembly sources! Those empty lines that separate a logical block of instructions or beginning and end of a loop, for example.

The source code to a computer program written in Assembly is as important as source code in languages written in any other language. Binary blobs are not (effectively) readable by humans.
I'm fairly sure that under German rules such a company (single director, Germany based) would be treated as German. Thus all taxes would need to be paid in Germany. You'd have double accounting, and have to file (manually) null accounts in the UK to satisfy Companies House, and file actual accounts in Germany. Royal pain in the ass.
You're assuming that the goal of a social safety net is to avoid or eliminate parasitic behaviour. I would suggest that reducing parasitism to zero is not possible. In fact the nature of any wealth transfer system is that some people will be drawing more out of it than they contribute.

One political problem with welfare schemes is getting over the psychological hurdle that hard-working people are funding welfare abusers. I, for one, do not care if there are a few egregious abusers if the overall system is cost-effective.

Focusing on eliminating parasitism leads to wasting even more money on administration, e.g. drug testing for welfare recipients.
Those services have very narrow windows of qualification. This create a lot of top heavy bureaucracy which wastes a great deal of money that could be going directly to people. In addition it create a bifurcation of society, "those parasites" vs everyone else, which is turn create social stigma which only further exacerbates poverty.
The Art of Enbugging
25 Free eBooks for Web Developers and Designers
Depends on what kind of company GmbH costs about 25,000 EUR to setup. You don't get that money back.
Not so much. It is not very easy to navigate and can take a while depending on how you end up there. Some of the money is also restricted use[1]. It is very much not guaranteed.

1) ok, in the last year or two some rules changed allowing EBT payments at strip clubs and liquor stores, but not buying a burrito at a gas station then cooking it in the gas station's microwave.
Hello Open Source World
Finnish State Railways (www.vr.fi), a monopoly that operates all the trains in Finland, closes their webshop from 1.30am to 4am every night. During the close time you cannot buy train tickets.
> "those parasites" vs everyone else, which is turn create social stigma which only further exacerbates poverty.

Yep, our cultural stupidity does exist. That's why everybody should get a good education.
for all y in Y, Y is the subset of all computer programming languages, y is dangerous if you do not understand Y.