skysight-inc/HackerNews huggingface dataset:
Wikipedia is the place for all factual, verifiable, minimally notable information. When stuff gets rejected from WP, it's almost always because it fails one of those three simple tests.

For instance: someone downthread complained that WP was missing coverage of local bands and an interesting BBC documentary. The BBC documentary should be in Wikipedia, and if it isn't, it's probably because whoever wrote the stub article for it wrote it poorly; someone else should re-add it. But the local bands most likely fail both notability and verifiability: if nobody has written about them, (a) chances are they aren't notable, and (b) whatever is notable about them can't be tied to a specific reliable source, which would make a Wikipedia article about the band original research.

A really common place you run into trouble with Wikipedia is when your proposed article breaks new facts about its subject. That's not supposed to happen. Wikipedia is a tertiary source; if it makes a claim, that claim needs to be sourced from something else. "Original research" is a confusing term for this, but it makes a lot of sense once you grok it. From the perspective of an encyclopedia, there isn't much difference between someone's random harebrained theory about cold fusion and a discussion of the lineup of some New York hardcore band nobody's ever heard of outside of NYC.
> #ifdefs don't protect you from misspelled words, #ifs do.

That's not (typically) correct. If an undefined identifier is used in a preprocessor expression, it expands (contracts?) to a constant 0. gcc does not warn about using undefined identifiers by default, and if there's an option to make it do so I'm not familiar with it. (EDIT: I am now, it's "-Wundef". Thanks, sigjuice.) For example, this program:

#include <stdio.h>

#define MISPELLED

int main(void) {
#if MISPELED
puts("MISPELED is true");
#else
puts("MISPELED is false");
#endif

#ifdef MISPELED
puts("MISPELED is defined");
#else
puts("MISPELED is not defined");
#endif
}

produces no compile-time diagnostics and prints this output:

MISPELED is false
MISPELED is not defined

If you have a C compiler that warns about this, that's great -- but you're likely to get spurious warnings for some code.
I'm pretty sure you're mistaken. We didn't touch the original, on-topic comment (11195956) at all. It's right where it always was.

"Detached" means we disconnected a reply (11195956) from its original parent (11195956) and moved it to the top level instead. That moved all its child comments too. Then we marked the entire subthread offtopic, which moves it lower on the page.
It depends on the nature of the city, of course. I live in SF, and I actually find myself lusting for both the peace of the countryside and a more urban city. Seriously, I do mean the peace of a big city.

I actually think many parts of SF are in a suboptimal density band where it is quite dense, but still car dependent, dense enough to add a lot of cars and concrete but not quite dense enough to reclaim some of the pedestrian space… this link explains it pretty well.

http://www.spur.org/publications/article/2008-06-01/eye-stre...
You can't compare mortgage payments and rent that way. Rent payments are money you will never see again. Mortgage payments are equity purchases.
>and that is a reason to blame "old" people for what exactly? Because young are lazy to vote ?

Who said that that, in itself, is reason to blame anybody?

It's just an empirical, quantifiable, observation.

That said, there are many OTHER, valid, reasons to blame "old" people, or the baby boomer generation, and lots of them have been laid out in the comment section.

>Only if you go by extension that I intentionally raised my kids to not to vote as a part of my evil plan for dominance over young. sheesh

Well, I don't think anybody brought this conspiracy shit up, or even implied it. Just that:

a) older people are over-representent at elections,

b) thus they exert the most political influence

c) most politicians elected are crap

d) that these get elected is predominantly the fault of older people

One might argue that younger people are also to blame for not participating as much in elections, but that's probably not as bad as actively voting for and supporting crap.
Fuck free, but fuck forever too. Neither one is realistic.
Garry and I have the same goals and motivations (and we are good friends).
My main use cases for manipulating indices directly are:

(0) Implementing lexical contexts and environments whose variables are identified with de Bruijn indices or levels.

(1) Implementing multidimensional arrays and operations on them (e.g., matrix multiplication).

In both of these cases, a solver for the theory of integer arithmetic can check that I'm using my indices right.
She. ;)
Enums can be used for that purpose.
Twitter isn't going away. But will it make money in the same way that, for example, buying $10 billion of real estate and renting it out would make money?
The slow text input problem is probably because they're updating their redux or flux store on every keypress.
You were describing life in the valley, not the city. People in the city walk and bike and ride muni and uber.
We're discussing adding a 'test the merge' ability in 8.7 in https://gitlab.com/gitlab-org/gitlab-ce/issues/4176

This will test the 'current merge' as soon as a commit is pushed, not the merge result when it happens.
Companies can't be completely invisible -- they have customers and employees, they file legal and tax disclosures...
Open source needs you
The rationale for #if vs #ifdef was interesting, though.
Glad you pointed out the vast differences in wealth as a negative of the Bay Area. Even if you're not an envious person by nature, it's really depressing and grates on you when you see it day in and day out. A 15 minute drive can take you from "bullets whizzing over your head crime and poverty" to filthy, shameful mega-wealth. Parking my Toyota between a Tesla and a Maserati when I go downtown with the family. People at work talking about paying [my salary * 0.5] for their kid's private school. Sheesh...

I come from a small town where the best off made maybe 3X the worst off. The Bay Area is total culture shock.
I lived in the bay for 10 years - 2004-2014. Half of my friends from there are now up in Seattle where I am. Wait until you stop seeing all those friendly familiar faces around the city because their landlord decided to sell the place. I don't think I have any friends left in the bay that are in an industry other than tech.
If the device can't communicate outbound then no you're completely safe. There's no magic into this, hole punching is just a silly name for a simple technique.

Hole punching works when both A and B are behind NAT. It also allows B to contact A if A is behind a NAT (no matter if B is behind one or not). If both A and B have public IP's then the hole punching is "already done", they can already connect to eachother.
The Irrepressible Lightness of Umberto Eco
Cyprus is pretty good for creating a company. They have low taxes and a nice industry of accounting firms revolving around this which makes things pretty easy. You can create a company without setting foot in Cyprus. Doing the paperwork for a company in Greece is a nightmare. Plus tax is 28% and constantly changes always upwards.

You are also obliged to pay for state health insurance in order to own a company which also changes constantly and upwards all the time. I you fail to pay your own health insurance you can go to jail. You cannot stop the health insurance. You have to close the company. If you owe health insurance payments and cannot pay them you cannot close the company and the health insurance debt keeps mounting up.
> Patrick has more followers than I do; how'd he get there? Blog posts and Bingo Card Creator.

In other words, because he too is Internet Famous.
> you can customize your place to a significant degree

Good point. There's definitely benefit in that for a lot of people.

> you can't be forced to move if you don't want to

If you buy cash, yes. If you are practically leasing from your bank, no.

You don't really own it until it's paid off.
Create a GIF in under 10 seconds, add filters, and share it
Unfortunately in Greece of 2016 and for 7 years of crisis now there has been nothing made to help business. Every government passed and left without improving bureaucracy and limiting corruption even a little bit on the government services.
And these stuff are FREE! What can you expect from such a bad business legislative framework?
Right now the taxation, even without the payments in advance the government asks from the enterprises, exceeds 80%! Who can make business with such numbers?
are you insinuating that the commoners dont know the difference between ivy bridge and skylake? Between a richland and a kaveri apu? Are you telling me.... Actually, I think I see your point.
I feel sorry for you whenever you post. I was an asshole about your forks post, (and I'm sorry for that, (EDIT: I should have apologised before now)), and people are kind of being assholes now.

I mean, here you're saying "I'm thinking of the users in case I FREAKING DIE" and even that isn't good enough for some people.
That doesn’t make sense. If your goal is to leave your children an inheritance, presumably they are supposed to either directly buy goods with it, or hire people to do useful work for them.

The price of goods, services, salaries, etc. have all gone up by roughly 3–4x in the US (with some notable exceptions like housing in certain areas and college tuition). Someone who invested in the S&P 500 and has 29x as many nominal dollars as they did in 1976 can buy about 8 times as much of other people’s labor as they could before.

Some fixed percentage of the total size of the S&P 500 is a practically useless measuring stick. If we use that as a standard, 90%+ of the population in the USA is 8x poorer than they were in 1976.
An algorithm for contextual prediction of human behavior
Mate there is no scientific consensus that organic is more nutritional than non-organic. And there is no scientific consensus the the pesticides are harmful in the levels in which they appear.

'Organic' food is a middle class indulgence and a fashion.

Their biggest problem is not that they don't have a a Whole Foods. You're ignorant.
A preprocessor "trick" not mentioned in the article is the use of GNU statement expressions.

The article describes the do {} while(0) trick to make macros look like statements. They can then basically be used like inline void function calls. But what if you want to write a macro to replace an inline function that returns a result?

Statement expressions [1] solve that problem. Now you can finally do this:

int _foo(int x) { return 2 * x; }

#ifdef __DEBUG__
# define foo(x) \({ \
int r = _foo(x); \
printf( \
"foo returned: %d (%s:%d)\n", \
r, __FILE__, __LINE__ \
); \
r; \
})
#else
# define foo _foo
#endif

They are supported by most popular compilers which are not made by Microsoft (including GCC and clang).

[1] https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html
Auto-generate a command line interface from a data type
You realize at the end of those 30 years, you're happy to have $40,000 over $1,000,000 (in the form of a property you can now sell) right?
Excellent point
This is probably true, but then it involves learning powershell, which is only useful on Windows.
Ve found that I'm more likely to journal if I don't feel like I'm being heard by my friends and family. Example, SO and I stopped communicating as well for a bit and I journalled every night. Maybe you don't need your thoughts and feelings to be free because they already are set free.
It's not a marketing gimmick--it's a promise. It's how I want my own blog to be treated.

We announced this publicly so that you now know: if you write on Svbtle, your content is vastly more likely to survive for a long time than if you used your own server (probably) or if you used another publishing startup.
I highly doubt that powershell is better than bash, unless you're perhaps only counting bash and its builtins and disregarding the whole environment of binaries around it.
shill somewhere else
been using this a lot with my friends
gcc has -Wundef (Warn if an undefined identifier is evaluated in an #if directive.)
Well, not really. What you're describing is the floor for any product I'll consider (depending on what "fundamental flaws" means), but that's not security.

Security is process.

- Do the engineers writing the code have sufficient time to do a good job (assuming they are competent in the first place? Which gets to the hiring process), or does marketing win that battle?

- What is the security audit process? Who has the keys to the servers, who changes the keys when one of those people leaves/dies?

- What processes exist to deliver security fixes to the lightbulb/baby monitor/robo-proctologist? How are consumers notified of the need, and how does the update payload delivery work?

- etc. etc. etc.

I mean, I do have a checklist of features for networked devices for my house. Those include things like user-serviceable certificates, root on things I own, etc. But unfortunately, when searching for a product, the important parts of the security picture are invisible, and reputation and visible implementation are really all there is to go on.

Which is why my lightbulbs don't get wifi.
> Software Engineers in Vancouver make ~US$45,000 a year...

Which is $60K CAD. If you get roommates, rent can be $600-1000 (again, CAD)/month. Health insurance is $72/month, single-payer, and increasingly being 100% covered by tech companies. You don't have to worry about a car if you live downtown, and transit is good enough that living downtown isn't your only option if you don't want a hellish commute. (e.g. Hastings-Sunrise, Metrotown, New West)
If the compromised data somehow becomes public, a class-action suit (a la Sony) is not out of the question. At least Snapchat is trying to get ahead of the problem which undoubtedly helps them in the court of public opinion.
Land value tax would replace other taxes such as income tax.

I don't see how the market would absorb this tax. Rent is set at what the market can bear. If you raise further in light of being taxed more your renter cannot pay.

Rents are set by wages. Land values are set by the ability of banks to lend against land based on the price they just lend on ... land, all "financed" by fiat money created by banks.

http://www.economist.com/blogs/economist-explains/2014/11/ec...

"Land value taxation is so beloved of economists because, in theory, it does not distort decision making. Suppose a land value tax of one per cent on land value is introduced tomorrow. There can be no supply response: there would still be as much land as there is today. Neither would consumers’ preferences change, as land would be no more useful, either. So if the market for land is competitive, no transactions would be deterred or encouraged. All that changes is the price, which falls until it exactly offsets the discounted cost of paying the tax forever. The buyer assumes the burden of paying the tax, so all things considered is no better or worse off. Landlords are unable to pass the tax on to tenants, because the supply and demand of rented land is unchanged too. Furthermore, if LVTs replaced property taxes, incentives against improving homes and developing land would be removed. Yet LVT would continue to account for "undeserved" gains landowners make on the investment of others, such as the government improving nearby transport links (this feature of the tax appealed to Winston Churchill)."
A promise the buyer will be required to keep a service alive is certainly worth something when services are frequently shut down by acquirers despite being possible to operate profitably simply because they're not that interested in it.
It's cheaper to borrow against a stock portfolio than real estate (since it's much easier for a broker to liquidate your stocks than for your bank to foreclose on your home): https://www.interactivebrokers.com/en/index.php?f=1595

Although they only give you 4x leverage vs. the 5x-20x common in residential real estate.

Anyways, I think you're grossly overestimating how good of an investment real estate is. Unless you have some kind of edge (like you're a developer and your friend is on the zoning board or whatever) you're not going to magically get rich doing it. It's just another asset class.
> I disagree. For example, look at the other powers in Asia: None have militarized or coercive conflicts with anyone[1] - except China, who has such a conflict with most of them.

This is really not true. Bear in mind the Middle-East is considered part of Asia. The Western Pacific consists mostly of countries that were dominated by the US (Japan, SK, Phillipines). Vietnam is an exception.

Europe was torn apart by war not so long ago, let us not forget that. Most European countries went through stages of both economic and territorial expansion on a scale not seen ever before. The US did a similar thing on the North American continent. Remember Manifest Destiny? Mexican-American war and the annexation of California etc. etc.

Everything must be taken in context. China is in the same stage of development as the US and other European countries were before. All countries tend to go through similar stages of development.

Let me say that I don't condone the actions taken by China, what I'm arguing for is that the reasons for them are fundamental different than "Chinese Government is evil". That kind of thinking hinders the process of effective diplomacy between countries.

> Russia might not be the best model of behavior. Yes, all nations are concerned about what happens on their borders, but in 2016 the great majority follow the rules-based international order rather than the older, barbaric mechanisms of killing people and stealing their land by force.

Who is doing that? China is not invading other countries. They are building artificial islands on uninhabited part of the sea. Posturing is part and parcel of international diplomacy. Don't be fooled by what they say but what they are actually willing to do.
OT... But while I've had to implement and used linked list tons of times (because C) I never use them anymore (because Python and Java Collections API.)

Why is it an acid test of competence to you? For the theoretical knowledge they imply?
Four pitfalls of hill climbing
Love this way of thinking. Why not charge something, anything, like even $1 a year to cover server costs? While it may not seem worthwhile perhaps it would protect this promise by ensuring that the service at least pays for itself.
"This is insecure, of course."
No really it's not insecure per se. I _can_ be insecure if not done properly just as well as it can be safe if done properly.
Yes! Even just a green 'ding' to replace the scary red one.
The canonical use of which being safe min/max:

#define min(a, b) ({ \
__typeof__(a) _a = (a); \
__typeof__(b) _b = (b); \
_a > _b ? _b : _a; \
})

#define max(a, b) ({ \
__typeof__(a) _a = (a); \
__typeof__(b) _b = (b); \
_b > _a ? _b : _a; \
})

which avoid evaluating their arguments twice.
I had no idea what this was, or why it might have been dangerous, so I tried it out.

I typed stream of consciousness stuff about not really being sure why I was typing for about two minutes, and then paused briefly.

I happened to spot the words fading away just as I resumed typing, so I typed some more about how I was curious about what happens when it fades all the way away. Then I paused for a moment again to find out.

I found out.
It's quite clever actually , it's a combination of X for 'ex' and then ...
Multithreading in C++11/14 – Part 9
The promises they make are really tempting. However, when I experimented with Blazegraph last year, it ended up stuck more often than I could count, whether during bulk import or in answering some ad-hoc SPARQL queries.

I can imagine that with extensive tuning, BlazeGraph provides a good database. Just don't expect it to have the polish and convenience of a modern RDBMS or a shiny NoSQL store :)
Probably because only they had both the education and the free time to pursue these things.
My wife is a professional violinist. If you've seen a recent Australian movie or watched commercial news, you most likely have heard her play.

The way she practices, the way she "gets in the flow" is VASTLY different to a new pupil.

Perhaps if you have been doing (anything!) for 25 years, comparing yourself (and the steps you take) to get into the right head space is different.

That being said, if you've been doing this for 25 years - how do you get in the flow? What techniques do you use? If this doesn't work, what does?

Help us / help me! Seriously, I'd like to know.
As someone who built a content platform to address most of the same issues, I tend to agree. I'm definitely starting out with the mindset of "I want to grow this into a modest and long-term sustainable business, but...".

It turns out making sure my product isn't on the critical path for you always having a copy of your data, should I go out of business with zero warning, is actually a lot of work.
Selection and Use of Manganese Dioxide by Neanderthals
You know, there are a lot of blogging and micro-blogging sites popping up in the last 10 years (Wordpress, Blogger, Medium, Svbtle, Octopress, etc), but I can't help but feel that nobody cares what most people have to say. Twitter has devolved into this weird sort of micro-marketing medium, Medium and Svbtle have devolved into Wordpress, Facebook has devolved into Yahoo's old front page. Any given person's software blog is probably only used as knowledge-portfolios on resumes, and are almost always abandoned for anything else more worthy of that person's time. The whole social aspect of blogs and micro-blogs seems completely useless compared to more transient services like snapchat or whatever. I just keep wondering when all these tons of mass-communication services are going to go the way of our old geocities pages.
I have spent a bit of time in Bend and it is a great place, and definitely more affordable than Boulder. The issue I have with it is the 3 hour drive to a city of any size.

But, your blog post about Boulder hit the nail on the head. So far we have dealt with growth by pushing lower income residents to the L cities (Longmont, Louisville, Lafayette) and accepting large amounts of in-commuting.
Conflict of interest does not at all imply bullshit of this nature -- it may imply a biased presentation, but a biased presentation is not the same as deliberately repeating arguments one knows are bad. Also, more often than not the source of the conflict of interest is simply the desire to protect one's reputation -- there are not many authors who do not suffer from that :)

Best way to deal with biased bullshit is open discussion where the biased parties make their arguments, and others evaluate them on quality and completeness. Competition on who is better at hiding biases and conflicts of interest, as opposed to who has the strongest argument, is not the best way at getting at the truth.

Now, knowingly and repeatedly making the same questionable arguments without even mentioning criticism, is quite another matter and should indeed count against one's reputation. Too bad we so often see all sides guilty of that one :(
Twitter have a problem with trolls and noise for more popular users, but it's still compelling enough for someone like Paul Graham to publish tweets like this and continue using the platform: https://twitter.com/paulg/status/703705844614094848 and, as the article states, for the popular and the notable to use it as a broadcast platform and others to use it as a way of consuming the zeitgeist.

I think the replies to that pg tweet are the perfect distillation of all that is glorious and depressing about twitter - an open conversation with everyone in the world leads to repeated questions from the crowd punctuated by spam and trolls, and amidst the cacophony serendipitous discoveries and some interesting responses, for there is in twitter all that life can afford.
About 100 Workers Walk Out at Tesla Battery Plant Building Site