skysight-inc/HackerNews huggingface dataset:
Bonjour wsc! Your understanding of the economics I can only describe as: not even wrong. No money printing is going on, governments do not buy, but emit (..sell) bonds. The real issues are competitivity differences between countries, aging populations in dire need.of immigration (say a half syrian like Steve Jobs) and some wildly inefficient top heavy administrations, also Target2 imbalances. Read up! Bonne chance en Thailande ;-)
After 15 seconds of reading, "Structure of global buyer-supplier networks and its implications for conflict minerals regulations", "Buyer–Supplier Networks and Aggregate Volatility", "The Structure of Global Inter-firm Networks", and others..., seem relevant.

You didn't read your own link.
Well, most startups fail. (For various reasons)
Where I feel a lot of the animosity from the Wikipedia community stems from is that the people who have "cultivated expertise in governing" are actually Wikipedia volunteers, not WMF employees.
> Though couldn't you have it easier by making sure your top-level JSON structure is always an object?

Yes, this works too. You’re correct about any keys causing a syntax error.
I've never heard of Robot OS, looks interesting! Yea, unfortunately its the niche stuff like that which experience the most problems (or at least I assume its fairly niche - I do nothing with robotics).

In those cases, one can, without too much effort, write forward-compatible python 2 code at least.
Their per page hosting costs should be dropping. Something is objectively wrong with how WMF spends its money.
Well doesn't that depend on what metric you use to define speed?
It sounds like you are measuring latency... but if you were to measure throughput you may be getting a different answer.
The 100 ms flush may not do much good for latency, but it can allow some good batching on writes, which would most likely increase throughput vs having a write flush at every transaction commit.
And it's actually more complex than this, because it depends on the hardware you have, its cache size and whether you have a BBU with a battery that will last long enough to flush the contents of the cache to "permanent and durable storage" in case of power outage.
In other words: YMMV
Literal Streetwear
> and it's still hard to get any sort of machine readable data out of it.

Huh? https://dumps.wikimedia.org/

Doesn't that qualify?
COBOL Is Everywhere. Who Will Maintain It?
The Geneva border is under heavy drone surveillance. Try crossing with an AK on your back.
Not necessarily. For issues like the one discussed in this thread, a simple ssh-style "trust initially" would have sufficed, and would have prevented the malicious installer from running.

Note that I'm not proposing this as a replacement for the current cert system (which you pay into), but as a replacement for unsigned executables.
There is a saying that the market can stay irrational for longer than you can stay solvent.

esp. if you are betring against the ECB
Where Automation Poses the Biggest Threat to American Jobs
Yes. Or keep doing the same thing they're doing now and hope it gets better.
Thats a really interesting quote, I hadn't heard of it before today. Do you have any resources that talk of how to organise and combat this?
I haven't published it again because I hadn't thought of a name (and nothing published is using it, so no urgent need).

I like terminated! Good suggestion :D
For most applications a GC is fine. In addition, Nim's GC can handle soft real-time programs like games pretty well.
Would it be theoretically possible to get to this?

fn gimme_config(some_filename: &str) -> MyConfiguration
{
toml::from_file(some_filename).unwrap()
}
One more than however many I personally know, of course :).

I suppose the only defensible definition of the term would be more than one language, with some qualifier like "for any given context", because using C++ to serve your JavaScript app isn't polyglot. But then we just argue about how big a context is - are API servers and systems of record the same context?

A more fruitful perspective might be to look at how the decision to adopt a new language etc is made. If an individual developer can do it, it's a potentially polyglot environment, whether that potential has been realised or not. If it requires an organisation-wide process (whether CTO decree or consensus at an all-hands meeting), it's unlikely to be a polyglot environment.

This perspective is definitely a product of my own particular experiences, though, and might not be generally relevant.
But you can't reach perfect efficiency. Scaling will of course reduce costs in general, but it's not a given. If I had an app that had 5 users, my costs would increase if my user number grew to 5,000,000,000.

Without knowing more information about the financials, or how resources are allocated this is all conjecture. But a website that services 17bb page views/month is going to cost a lot of money to run. They could be spending their money very poorly, idk, but I also don't know whether or not what they are spending is an appropriate amount.
I know; I've often wondered if this was changed, never went back to look.
How would you quantify the success of spreading data as far and as wide as possible?
> Yeah, after all your parents had to endure the horror of no central heating occasionally, an unimaginable atrocity beyond comprehension that nobody - certainly that no pampered "Brit" living in their ivory towers - has ever had to endure.

That was caused by communism, and communism was brought to our country by us being on the wrong side of the Wall after WW2. And if you think that raising a kid with no fucking heat to speak of in the middle of an Eastern European winter (we're not talking about the foggy winters you got over there in the British Isles) then you really need to also learn about geography.

> Says the person who thinks Castro remained Cuban leader because the country is sunny.

There was a discussion in a thread about Venezuela recently where some HN-er was discovering the incredible truth about how the end of civilization, i.e. mass revolts, is about 6 missing meals away (too lazy to search for the link, the thread happened in the last 2 weeks or so). During the December 1989 revolt against communism people on the street were shouting for having electrical power and heating in their homes, and if possible more food in the stores. But you can't possibly know that, the British
haven't revolted or protested for anything meaningful since the Levellers.

I know that the audience in here tends to be pretty pampered, generally speaking, but I was also thinking that a lot of HN-ers would compensate that by reading more about what's happening and and what happened in the world.
Yet still no generics.

Python even has limited generics now through mypy and pep 484.
If you don't mind me asking, what in particular were you searching for? I agree that Nim's documentation needs a lot of love but would like suggestions on what specifically you had trouble with so that I can at least improve that (for now) :)
I don't share your opinion and most people I know that do C do not share it also. It's good base to get familiar with language, no one say you can't expand your knowledge further after reading this book.

I've read some other "modern" books about C like "21st century C" but they are not for people that do not know C and they are not so good for people that know it.

Can you provide any arguments to support what you wrote? What alternative you would propose for learning C?

https://www.amazon.com/Programming-Language-Brian-W-Kernigha...

Read what majority of opinions say. It's really easy to criticize without giving better alternative.
>is actually faster than Node.js

Uhhh I call BS until proven otherwise. Maybe the event loop is faster, but I'm willing to bet the callback code is slower.
The Japanese have low birthrate 1.42 per woman.
https://upload.wikimedia.org/wikipedia/commons/thumb/5/55/Ja...

The JCB japan central bank started money printing easy money by dumping interest rate after the last Japanese property bubble.
https://en.m.wikipedia.org/wiki/Japanese_asset_price_bubble

House prices should be cheap as the population decreases but the house are already built.
I think you are spouting a bit of hyperbole. Some might be unsafe but there are more good examples out there than you are willing to admit. And many use modern C++ and demonstrate smart techniques.

If you are not being hyperbolic then please backup your 90% claim.
I think you'll find that most conferences have their name trademarked. We would get trampled by IBM, Microsoft and the rest if we didn't hold the trademark: in this instance, IP law protects the little guy, and that's how it should work.

I have FOSS'd very, very significant IP in my time - most notably the Hexayurt Project - and it has been incredibly hard to get things done. In this instance, we need the protection in order to have our vision - rather than that of one of the big Stack companies - shape the future a little.

You'd grudge us that?
Of course not, they have other reasons.

Which are not valid, since the only good reasons are the ones you listed.
Imagine there would be Chuck Norris books in the DB.
Who says it hasn't?

Just because there are stragglers doesn't mean the community, as a whole, hasn't moved (or isn't moving).
Well, a shepherd protects sheep from danger, not hunts them. Makes sense to me that he'd eat beef -- he doesn't care about cows, after all.
It is inflammatory tactic to make those who already agree with you clap - but it won't convince those who disagree. It turns rational argument into attention seeking.
Keep in mind that I and the parent were mostly discussing C++, a very different language from C.
Okay, maybe it's just me.
IMHO: after 3.5, we are clearly in the next iteration of the language.

After 3.4, which was a stability release. The async stuff and the beginnings of optional typing went in at 3.5. Numbering probably should have gone from 3.4 to 4.0.
Surely bandwidth would be a better metric than number of pages, or even number of page views?

While I don't have any numbers, my gut tells me that 2017 Wikipedia has a lot more pictures and multimedia files than 2005 Wikipedia.

Edit: found some numbers.

https://en.wikipedia.org/wiki/Wikipedia:FAQ/Technical#How_bi...

In February 2003, a Wikipedia backup was about 4 GB in size. Today it's over 30 terabytes (4-6 TB for text, history, etc., and ~27 TB for images and other media).
No, I'm quite active with my feet (vibrating or how it is called in English) to help me thinking. It would make the other people in the room freak out by the sound of it.
No one outside of WMF is downloading and storing the dumps they provide to the public?

In the past, I have used these for parsing and database setup practice, making CSV and local databases that require no network access. I am mainly interested in the reference urls found in wikipedia pages.
>Performance can be measured.

Performance isn't the only metric.

>The opinion of the python community after almost 10 (!) years after after the first release is quiet obvious: 3.x sucks!

It's certainly not obvious to me. I've been seeing and hearing great things from/about Py3...

>I just don't know from where all the 3.x apologist appear as soon as there is a discussion

Consider this mind-bender: many people are very, very happy with Py3.
That gives you Wikitext encapsulated in XML. How do you get at the content of the Wikitext?

I work on a Wikitext parser [1]. So do many other people, in different ways. Wikitext syntax is horrible and it mixes content and presentation indiscriminately (for example, it contains most of HTML as a sub-syntax).

The problem is basically unsolvable, as the result of parsing a Wiki page is defined only by a complete implementation of MediaWiki (with all its recursively-evaluated template pages, PHP code, and Lua code), but if you run that whole stack what you get in the end is HTML -- just the presentation, not the content you presumably wanted.

So people solve various pieces of the problem instead, creating approximate parsers that oversimplify various situations to meet their needs.

One of these solutions is DBPedia [2], but if you use DBPedia you have to watch out for the parts that are false or misleading due to parse errors.

[1] https://github.com/LuminosoInsight/wikiparsec

[2] http://wiki.dbpedia.org/
Still interesting, but posted on April 27, 2015. Not exactly "right now".
Stick to the curated approach. That's the way to create something valuable. People will contribute if the service gets traction.
A better more original source of pithy organizational rules would be Robert Conquests three laws of politics

Everyone is conservative about what he knows best.

Any organization not explicitly right-wing sooner or later becomes left-wing.

The simplest way to explain the behavior of any bureaucratic organization is to assume that it is controlled by a cabal of its enemies.

If you transform Conquest's rules from politics to running (ruining?) the wikipedia, the transformed rules are

"We can change nothing not even our exponential growth spiral, not our policies, nothing"

"LOL We're not doing the fiscal conservatism thing. I like how the current top discussion is about popularity and the need for a circular firing squad, not something financial. A direct quote of an attempt to avoid working on the issues "I'm reminded of the inflammatory, low-rent campaign of Donald Trump." Yeah buddy that'll fix it, that'll fix it real good."

"We're headed off the financial cliff now get out of the way I'm going gas pedal to the floor as you can see in the exponential graphs. The problem is we're a CRUD app and that's cutting edge CS just like quantum computing so naturally there's no possibility of criticism there. After all, the Egyptians didn't have flush toilets and they built a pyramid, so any criticism of the toilet in my bathroom is either making fun of the entire Egyptian culture or pretending the pyramids were not a logistical challenge."

There is some humor in that the world of paper encyclopedia publishing ran on mostly capitalist operational principles for decades, centuries. It turns out that running an online encyclopedia off donations and extreme hand waving is powerful enough to destroy an industry on its way to its inevitable collapse. Maybe someday in the future we'll have encyclopedias again, but the era after wikipedia and before the next encyclopedia will be a bit of a dark age. That's too bad.
what a terrible background image
Link to Wikipedia article on cost disease: https://en.wikipedia.org/wiki/Baumol%27s_cost_disease
They bought Cryptography Research which is one of the most awesome crypto company out there (Paul Kocher, Mike Hamburg, ... I'm sure I'm missing others)
Wikipedia hires php programmers as well. Last year I saw a posting on stackoverflow. Think the devop work required, project management, handling media, ever increasing storage needs, the managers, etc.

300 feels like too much but 80 could be a logical number.
Brexit not yet through ...
While IBM is rotating through futuristic themes each year (Smart Cities, Watson, Predictive Analytics), its enterprise customers are lagging behind. Attend an average IBM user group meeting in your area, and you'll see that these customers are busy maintaining core systems with an increasingly outdated tooling. They're struggling with more mundane issues such as integration, reliability, compliance - all of these under cost pressures.

Also, Power is not selling that well in the mid-range segment. The new workloads are being designed for horizontal scalability which is where Linux comes in.
The EU has a plan in public: http://www.telegraph.co.uk/news/2017/03/31/full-eus-draft-gu...
The problem here is that survival while being unpopular is taken as the evidence of existence of privilege. So whether you are popular or not, both is the evidence that you are privileged.
And in Quebec, pâté chinois. Although that one really makes no sense -- there's nothing at all like it in Chinese cuisine!
Bone music: the Soviet bootleg records pressed on x-rays
Very nice. Now we just need enum variants to be first-class types, and some syntax for deriving on them.
You have a very narrow view of the left. How about civil rights, votes for women, basic protection from horrific working conditions?

How about the fight against absolute monarchy. How about the American Constitution and the Founding Fathers? Where does the term 'left' even come from? Who were Thomas Paine and Jefferson inspired by?

The long march towards basic decency in western society has been the task of 'the left' since the Enlightenment and maybe before.

EDIT:

> The Soviet Union, the gulags, China, North Korea.

To anyone on the libertarian left these are all abhorrences. I'm much more of a centrist than most who would identify with the left but - unless you swallow the narrative of state socialism whole, it's hard to include these examples in any authentic history of the left.

(not that that stopped a large percentage of leftist thinkers defending them way past the point of decency - to their eternal shame. Read up on the split between Sartre and Camus and the split between Orwell and most of the rest of the British left)

EDIT 2

> and every place else where Marxist ideas have infected the minds of the masses to give assent to dictatorship

Luckily there's no such thing as right-wing dictatorships, eh?
In 1981, when I was 12 years old, I visited my brothers university to watch him graduate. I didn't have much to do so they showed me the computer they had installed in one of the study rooms at his fraternity. It had a phone modem - they connected me to the campus network so I could play around. At the time everything was run out of one of the campus libraries. So, finding it all rather boring, I turned on a nearby stereo and put the phone to the speaker for a minute or so. Afterwards, I could no longer use the computer so I turned it off and went to wander campus.
While I was away the library (security?) visited the fraternity wanting to know who crashed their network. Nobody even suspected it was me. They were told that they might face a temporary suspension. I only found out about this part 20 years later.
So, which university was it? Stanford. ;)
I think of it more as having increased control over when you die, not being prevented from dying.
I have a 'w' search keyword in Firefox for Wikipedia.

"w <search phrase>" + enter takes you directly to the Wikipedia page.
That's really fun!
#macronleaks claims drugsdeal in Bitcoins. Proof is nonsense
Has the Heroku story improved at all for stateful services? I've always seen clustering as essentially unsupported. Doing websockets with something like Phoenix/Elixir means that you have to bring in Redis for pubsub between nodes, which has all sorts of quirks and limitations.
I’m a doctor. When my mother was dying, I wish her doctors had told me the truth
It might be a little too simplistic to credit the EU for 70 years of peace.

There is no major conflict directly involving two major powers for many decades (1945/WW2, or 1952/korean war if considering that China was a major power at that time, which is generous IMHO).

That's not limited to Europe, this statement is valid for the whole world.

Several factors can explain it:

* Better living conditions (far less frequent famines, less large scale epidemics, etc), mostly due to industrialization of many countries and consequently less tensions inside and between countries over resources.

* For a part, economic dependencies between countries.

* MAD, but also the realization after WW2 that a major conflict, using modern weapons, even only conventional ones, can only lead to both sides actually losing.

* Better worldwide coordination through the UN (imperfect, yet it helps).

* Better education for large parts of the world population.

* More pacifist views and reject of war.

This is still oversimplifying why there is this unprecedented peaceful period, but it shows the CECA/CEE/EU is far from being the only factor at play.
"Politicians used Freudian ideas to first convince Americans they needed capitalism" https://qz.com/976472/politicians-used-freudian-ideas-to-fir...

> ... Freud’s nephew, Edward Bernays, was a propagandist who used his uncle’s theories to sell capitalism to the American public.

> ... Psychoanalyst and psychologist Michael Donner, president of the San Francisco Center for psychoanalysis, says he recommends the documentary to everyone. “People ask, ‘How did Trump get elected in this country?’” he says. “Well here: Watch this [documentary].”

> ... “Freud understood that people are irrational,” says Donner. “We build a layer of rationality on top of it. But we’re driven by needs, wants, and desires that aren’t necessarily rational.”
Show HN: Apply any image transformation to full videos
My dad told me stories about hearing Little Richard and Ray Charles this way. And then somebody brought over a Beatles bone record. He was very excited from all the hype. These guys must be even more hard rocking than all the other ones! But when he heard "Love, love me do..." he was disappointed. Later he became a big fan, though.
I remember ten years ago WP doing multiple giga seemed huge. Now I could download that in one day and keep the uncompressed version on my phone or like in a ten bucks sd card
The author might consider Nim - https://nim-lang.org/. It is a statically-typed compiled language that about equals Rust in performance, but has a much cleaner higher-level Python-flavored syntax, and a very Pythonic parsecfg module in stdlib.

PS. To my earlier downvoters can I have my hard won karma back, please??? This is the response I have been advised to proffer after consulting on the Nim forum, after my earlier terse comment.
My first thought was, "there's no way Wikipedia still only needs $5000 per month for bandwidth"
It's very tricky to do cross platform file handling stuff, and only the most mature projects have ironed out this. Just look at your pet project and see if it handles

- Windows and unix line breaks in text files

- Windows and unix path separators

- BOM and non-BOM marked files if parsing UTF

- Forbidden filenames such as in this article

By "handling" I mean it should accept or fail nicely on unexpected input - e.g. say that line breaks should be unix style, or paths should be backslashes etc. Very few projects actually do this well. Even fewer will do even more complex things like handling too long paths with nice error messages etc.
Kafka also wanted his works to be burned after his death. Fortunately, Max Brod didn't comply.
> I never knew that NUL was a reserved word as a file. I would, and probably still will make this mistake in the future

While we're here: NUL, COM<n>, LPT<n> and AUX are reserved.
"Waterfall methodology" is the ultimate straw man.
It probably isn't cash in a bank account. Balance sheets typically list "cash and cash equivalents", which can include short-term investments of various sorts.

The WMF balance sheet for 2015-16[1] shows that they held $46.7 million in cash and cash equivalents. Long term investments are listed as $11 million.

Fun trivia from their Statement of Activities[2]: they spent more on processing donations ($3.6m) and conferences/travel ($2.3m) than on hosting costs ($2m).

[1] https://upload.wikimedia.org/wikipedia/foundation/4/43/Wikim...

[2] What a for-profit company might call Income Statement or Profit & Loss.
The evidence is to be found in the study of monetary policy. Depending on your political inclination, I suggest a web search for late Thatcher speeches, or Varoufakis books. Ideally, both.
Ask HN: What's with the YouTube upgrade dark pattern?
YouTube App on Android.

I am asked to upgrade and thus give the app more permissions. If I don't want to I am forced to wait 30s to use the app. Each time the screen dims to save power I also have to wait 30s.

Come on Google.
There are some good `assert_match` macros that allow you to pattern-match error cases instead.

Might also be possible for error-chain to implement PartialEq if you didn't want some of its generalized error-boxing bits. If that's something you need, you might file an issue.