skysight-inc/HackerNews huggingface dataset:
Hello all

This tutorial i wanted to publish for along time now.

As i see that the indie IO games are building their servers in C++.

It is intro to writing MMO games but not with the usual Node.js and and similar.

But this time i'm showing you how to assemble WebSocket server using libuv
(node.js C networking lib) for the server networking and libwebsocktes for the web-sockets layer.

All server side is in simple pure C

And for client side im using Cocos2d-x the HTML5 version
.

P.S

im planing to do the same tutorial using more flexible c++ 11.

And later i will publish tutorial about connecting the
server with mongoDB for persistence

So please register to my news latter list to get updates .
Yes, and those references are even cited in this article. Title link should be changed to one of these, away from wrapper article.
Why? Should he also be telling them that Santa Clause and the tooth fairy are imaginary?

Why can't kids be kids and believe in whatever makes them happy? They'll have plenty of time later to be old and cynical.
Better the people read it here and maybe click once then people trying emacs elpa updates 10x before they realize the GNU.org is down I guess ;)
No Wonder You’re Hot. You’re Being Blasted by a Trillion Suns
That doesn't mean much considering you don't know what the application needs to do on each request.
RedHat is hiring to make Linux run better on laptops
I find it obscene that you can even entertain the notion of "legal war" in your mind. Is there such a thing as legal theft, legal rape, or legal murder?
A shock from 50V DC can be fatal.

This is more a cost cutting measure than a feature. Instead you lose a feature: safety.
read this and thought i was talking to myself! those marketing videos with kids opening toys or "acting" with barbie dolls make me want to puke. we're debating getting rid of youtube kids because of all the garbage.

pbs kids is much better "educationally", meaning i guess the danes and the article author would hate it. the point of numbers and letters at an early age is not some parental obsession "achievement" but rather acclimation to things critical to life. you can't read -- whatever the hell you like to read -- if you can't spell, and for us, the sooner our kids can read themselves the better.
Moz's founder reflects on his mistakes to $120 mill valuation
Or use isNaN
I desperately want a 10-12" e-ink ebook reader. Trying to read textbooks or programming tomes on a standard size Kindle is too painful. Not a whole lot of options out there though.
> To claim they should simply not return any data if they do not have an accuracy level to your arbitrary standards would make the service useless

Ideally they'd offer version of the service that gives a probability 'heat map', but in reality 99% of users would use a simplified version with an app configured threshold for what constitutes useful info for that app, and also how to convert a heat map to a single point (since that what most people seem to want) or a very localised region (e.g. within 100 meters or so).

In reality the simplified version would be provided as a service with a default threshold, anything under the threshold would not report a position, but could still report a country ISO code and perhaps state, county as optional extras. These are workable compromises to the ideal of everyone consuming a heat map in a sensible way (IMO).
rathas/ratha Actually means a chariot (horse powered, two wheeled, for warfare) in Sanskrit

rat ("t" pronounced as dental) means wheel
You know where this is going?

iPads. Kept in a Faraday cage and provisioned with apps over a cable from a neutered host (read-only drive, maybe? Anyway: locked down and firewalled to prevent unapproved software updates).

Alternatively: the market for refurbed LSI-11s is booming.
If you have n signs with different languages next to each other then everybody can read the sign at the same time. If you have one sign that can switch between n different languages then only a subset of the people there can read the sign at the same time.
i've never met a more evangelical (from the greek) crowd than atheists.
My favourite resource is time.
I think a big part of this is that they concentrate on younger programmers. Too many stories of older ones unable to find a new job to be anecdotal by now. The younger people are much less experienced and are eager to work and neglect family, which often they don't even have yet. I think that shifts the power quite a bit.
Docker Opspack Overview
that's the point the author's making.
> seamlessly blending in with the paintings

Certainly does not like so from the pictures.
“A good programmer is someone who looks both ways before
crossing a one-way street.” — Doug Linder

This one is so spot on in my view it made me giggle here. Gonna be using it. It's a very naive way to explain why we tend to become little control freaks, that like to find problems in everything.

It's very common to have to stop myself from arguing/questioning a lot about what people said, my brain just start searching problems while people are talking, sometimes it's really annoying.
This link isn't even worthy of being called a summary. It's a single line comment pointing to http://failedevolution.blogspot.com/2016/08/the-establishmen... . The evidence mentioned in WikiLeaks August 10, 2016 tweet is a video clip from 2010 of Bob Beckel on Fox, described further at https://en.wikipedia.org/wiki/Bob_Beckel#Controversial_comme... .

The tweet says Beckel is a 'Hillary Clinton strategist'. He is currently an analyst and commentator on CNN. He does not appear to have ever been a Clinton strategist.

Oh. Snopes already covered this: http://www.snopes.com/bob-beckel-julian-assange/ .

Flagged.
CWDM uses lasers too, the reduced wavelength tolerance simply means that the lasers can be uncooled (reducing the power draw) and that chirp (frequency shift during modulation) does not cause interference with neighbouring channels, making them easier to modulate directly. The 'loose' CWDM banding is actually smaller than the bandwidth of typical LEDs.
How about that ?

https://www.amazon.com/Kindle-DX-Wireless-Reader-3G-Global/d...

Even better maybe, the Onyx Boox Max at 13.3 inches:

http://www.banggood.com/ONYX-BOOX-Max-13_3-Inch-1G16G-Flexib...
Flashing LEDs is a possibility too. Like Morse Code, you could flash a dit and a dah (1 and 0) to represents bits. More advanced techniques using proper timing and spacing to form letters and words may allow for more data extraction. I bet you could get about 60 characters (bytes) per minute. Maybe more. Would need a smart phone or camera to read it.
The FDA Is Prohibited from Going Germline
Definitely not, but it needs to be explicitly discussed. The previous claim seemed to have the implicit assumption that any retraining/reallocation is de-facto impossible.

Automation isn't unambiguously bad news for society at large, although you would expect it to be negative for the people being automated. The extent to which this can be mitigated by retraining/wealth transfers is an interesting question that depends as much on the country's culture and political climate as the properties of the technological advancement.
How far into the future are you looking at? There's got to be a server somewhere. Somebody has to write code for those, aside from caring and feeding.

Smaller applications, in the Big Data sense, will still be used on site. At least say, 10 years down (yeah, pulled that figure from my ass).

So no. I don't believe that back-end development will be obsolete. Middle is the new back.
Mmm, in this case, as long as the labels are just labels, I think on the whole for the lifetime of product for net changes.

From the eink site under the bistable display, the device draws once then really isn't drawing power. [1] They claim that theoretically as long as nothing needs to change, it will stay that way.

So, I guess it really depends on how often museums have to change labels or wish to update the labels. Even if it's a one and done, I do think that the net energy savings of a horde of labels as opposed to new label printings every time would result in net savings both financially and ecologically. Often the labels are not just simple paper and require more resources to make, etc.

I don't think this is necessarily saving any rainforests, per say, but I also don't think it's draining electricity.

[1] http://www.eink.com/technology.html
"can't we just" is top of the list as a trigger for my bullshit detector.

In a system of any complexity, changing your data model is an activity that requires due diligence to mitigate any downstream risk.
I think Brave (Chromium based) has a similar feature called Partition Tabs or something.
Works fine from Germany. And now I'm watching bizarre Danish children's TV. There goes my day.
Various stores in the Netherlands are currently using EPaper like screens as price-tags. Examples are Mediamarkt/Saturn and Makro/Metro.
Nice way to automatically update pricing and have up-to-date pricetags.
Most likely reason? Ignorance. Very few people (sub 1% of the earth's population) actually know how an IP works, how an IP is assigned, or what their weak and often non-relationship to physical locations or GPS coordinates are. So when said people use a product that pretends to offer accurate correlation, they don't know any better.
Bell's inequality refutes theories with local hidden variables (e.g. some unknown property of particles or spacetime). That leaves two possibilities: no hidden variables (the results truly are non-deterministic) or non-local hidden variables (e.g. some property which exists outside the spacetime which we're constrained to)
"It probably related more to the CRTs of the day, and the less noisy UIs."

I imagine it's easier with stronger emissions (e.g. CRTs), but also still relevant with EM emitting from modern displays
Sony has one which seems really nice (based on the 2 minutes I played with it once):
https://pro.sony.com/bbsc/ssr/product-DPTS1/

Unfortunately it is a bit limited (only supports PDF's out of the box) in what it can do and much too expensive.
I knew I'd find this comment when I came here.
People host their blogs on AWS lambda for less than dollar per month [1] compared to "standard" $5 or so for VPS. How's that a waste of money?
Docker and containers are also a paradigm change, but the world seem to have adopted it just fine.

[1] https://news.ycombinator.com/item?id=11644042
It may be a terrible approach in your view but it's essentially universal and is often the best one. If I ask just about any database for the Lat/Long of some city, it's going to return the location of some approximation for the center of the city--which may be a park, a house, or the middle of a river. It's not going to, nor should it, tell me "invalid question" because the city (or really any address within that city) isn't really represented by a single Lat/Long point.
Anyone seen cheap E-paper solutions, one could use at home for various things?
All Published Business of Software Talks Ever – “TED for Software Businesses”
That assumes that all the worker cares about is money. However, not having a job has psychological consequences, and the chances for being able to switch to another job are reduced dramatically the longer one is unemployed. Humans are more concerned about their outlook than their current condition, and the outlook for the unemployed worker is worse than for the employed one.
I agree that the factor might be 1.5 instead of 2, or even below 1 in some cases.
Combination of both.

There's a reason aviation is many times safer than driving and an expensive field to play in. It came slowly though.

An old engine or airframe means they're well understood and don't trigger need for re-certifying. Every time an issue is found or production improvement is made it'll show up in EASA or FAA revised certification, maintenance schedules, time between checks, or even how you're allowed to operate it. Every identified accident cause filters into the system similarly.

A famous case came when jet liners were new, in the early 50s. The ground breaking DH Comet, and the world's first jetliner, was mysteriously falling out of the sky [1] with loss of all on board after around a year in service. That was when the world learned about metal fatigue in airframes and stress points. If it hadn't been DH it would have happened to Boeing or someone else [2].

The legacy was such that DH lost commercial opportunity for half a decade, and the world started along the track to a recognisably modern accident investigation and aircraft certification regime. Histories of that period in aviation are fascinating as it was also a particularly vibrant period as all the wartime progress was applied to lots of new designs of civil aircraft.

I'm not sure the thresholds differentiating between "it's a new engine now, full prototype testing and certification please", and the aviation equivalent of a revision note, but it seems incredibly low. Those Lycoming engines don't even put out a few more bhp than they did when newly designed back in 1950-something. A simple improvement in say carburettor design that would see a car maker just add the change doesn't happen easily in aviation. That's so some vanishingly rare circumstance doesn't cause it to fail in service with associated loss of life.

I dread to think what GA or Transport certification runs in at, but plenty have gone bust trying to make better GA planes or engines. Microlight, Light Sport and homebuilt (lightly certified) sectors have dozens of interesting weird designs and ideas, and experiments with new materials.

Even with all that mistakes are made, and people die, especially with new designs. The deaths stop much more quickly than in many other fields.

When a helicopter like a Super Puma, favourite of offshore operators, a 40 year old relatively simple airframe and engine has a $15m price tag faster progress becomes prohibitive. It's the aviation equivalent of a minibus. Just it's a very safe minibus with bookshelves full of accident history and safety revisions.

[1] https://en.wikipedia.org/wiki/De_Havilland_Comet
[2] https://en.wikipedia.org/wiki/De_Havilland_Comet#Legacy (relevant section)
The financial exchanges running in Java would like to disagree with your gross generalization.
I'm a Dane, and grew up with Danish children's television, including the shows mentioned in the article. I just recently re-watched one of my favorite shows "Nanna", which you can now stream from the archives of DR. Even as an adult, I still enjoy watching it for its humor and creativity, and for the fact that it doesn't speak down to its audience. I don't think that can be said about most other children's shows.

https://www.youtube.com/watch?v=h1kBNCRB6hw

Nanna: "What're you doing?"

Mother: "We're having sex, what're you doing?"
Exactly. It's often very educative.

I am raising Danish kids abroad myself so I have watched a fair share of the Ramasjang shows from here.

To be fair, Danish children's shows are often inspired by American shows, to the point where many of the characters are - visually - clones of popular American versions: Check out this bird from what is maybe the most popular Danish children's show ever (5 sec in): https://www.youtube.com/watch?v=AGOf_cV5ebc Looks like Big Bird. Or this popular show, Ramajetterne, which is visually completely like Sesame Street: https://www.youtube.com/watch?v=G-jk_VuoJsg
With the name I thought this was going to be a browser focused on privacy and removing digital fingerprints.

What a disappointing waste of good name and trademark.
The proposed French translation is awful :)
Facebook's plans to circumvent adblockers is illegal in Europe
Nothing is risk free.
CQRS/ES #4 Events and Event Store
Housing official in SV resigns because she can't afford to live there
Hewlett Packard Enterprise to buy SGI
For anybody interested, http://www.mrmoneymustache.com is very much aligned with OP's testimony and also contains a lot of practical advice.
With games like these I feel like we all lose
As time goes on the necessity of a for-use economy becomes more and more apparent. A for-profit system where human labor becomes less and less necessary is going to lead to a massive concentration of wealth and the destruction of the economic middle class.

It's time to accept that a worker planned economy is necessary. Not a government planned one, but one run by the people for all society. Personally I propose a syndicalist economy. Profit where the citizens in society don't see returns, or can only exist by living off of government assistance bodes a very grim future for all mankind.
> But unlike syslogd, Fluentd was built from the ground up to unify log sources from microservices, so they can be used efficiently for production and analytics.

syslogd(8) -r This option will enable the facility to receive message from the network using an internet domain socket with the syslog service (see services(5)).

Why won't this work with dynamic DNS ?
My two kids (6, 9) fell in love with the regular show years ago. It's the only show I can watch with them. The writing is strange and psychadelic with hidden messages I'm sure only I pick up on and the artists (is this show computer animated?) are great.
Separating Android's encryption and lockscreen passwords (2015)
I'm not sure that this widespread assumption on HN that most people would continue their education or pursue interesting hobbies if they had sufficient income to not work is correct. Most people would sit around the house, get high and watch the tube.

Work provides much more than the goods produced and services rendered. For many or most, it also provides a sense of identity and purpose and well-being. When there's no work available, a lot of that is replaced with negative behaviors, not some noble pursuit of improving humanity.

The unhappiness seen in low income neighborhoods isn't solely due to lack of resources. Hell, a lot of times in the U.S. people on welfare are materially better off than farmers who eked out a living during the Depression. What's at least as destructive is the sense that there's no purpose in life.

The bright future of AI, robotics, and automation providing a robust supply of material wealth, combined with UBI, will be millions of people sitting stoned or drunk in front of the tv while their children entertain themselves by hacking robot-driven trucks to make them crash into each other.
It doesn't seem to work for me on Firefox and Chrome..?
Because false beliefs that are later dashed make kids cynical? Being prepared to distinguish reality from fanatasy is an essential skill needed to rise above the whims of crowds. However, if I had a kid in a similar situation as the OP, I might have tried to teach them about the dangers of confronting other kids' parents when those kids stop believing in Santa at four instead of whatever age they'd hoped.
What does the fact that developers are expensive has in common with infrastructure/ops? You mean that developers shouldn't be working on it? I couldn't agree more, just like I wouldn't like my dentist being my heart surgeon! Developers should write the code, but they should not be doing infrastructure nor operations, and they should not enforce some 'serverless' utopia on projects/situations where pure infrastructure competence would do its job.
3 Essential Questions When Creating Your Customer Support Experience
"If computers can be programmed to understand speech as well as humans do, 66 percent of jobs in finance and insurance could be replaced, the most recent report says."

If computers can be programmed to understand speech as well as humans do, probably >99% of all jobs could be replaced, 'cause it's pretty close to passing the Turing test. I'm willing to get monthly payments from anyone who wants to bet until this happens, and then pay out monthly payments after this happens till I die.
The Kindle DX would be nice, but I'm a little wary of buying used consumer electronics.

I looked at the Boox Max and it looks awesome, but it's a little rich for my blood right now. The regular Kindle costs $80, 10" Fire tablets are selling for $180, so nearly $800 seems like a lot.
Ok, then: Ireland, Baden-Wurtemberg, Austria, Lombardy.

Max Weber was a smart guy, but he died 100 years ago. I hope we have better things to correlate with prosperity than just one strain of a particular religion.
Of course it's important. Governments representing a few thousand or even few hundred people are by definition going to be very weak. For the most part any government below the state level is going to be at least three of "understaffed, underfunded, incompetent, [and/or] defunct." When the pool of people you have to draw from is 1,500 (a small fraction of that being those with the time or inclination to run for office) it's unlikely you're going to pull 7-9 people together who have a passion for local governance and are actually good at it.

I've lived in several areas of my state and have worked with local and county government extensively, and the statement to which I was responding ("City councils' are probably the most corrupt governing bodies today.") is simply not true.

State legislatures are the most corrupt by an impressively wide margin because they're in the sweet spot of plenty of power to cause real damage and not enough real press coverage outside of the political horse race.
Timestamps are even worse. They're slow to get and have a multitude of other problems, like timezones, system clock adjustments (manual or NTP), rate drift, offset errors, etc.

Some solve it by caching a low res timestamp, but that means losing ability to get side channel information about precisely how long time passed between two events. High resolution (micro/nanosecond range) timestamps give so much more information than just time.
One reason for them to scale to 10x F-Large on Heroku is that their app gets super-slammed (150x more than average traffic) around college application deadlines. So they can spend most their time on cheap Heroku and just temporarily scale to super expensive Heroku for a short time.
I am so unhappy, because I can not play such games with Java... ;-)
Can you elaborate on the use case you are referring to where a single request spans multiple containers? Are you referring to a "fan-out"?
> I'm a Dane

with possibly the most Danish name I have ever seen, heh.
I'd love to support python.

If you find a way to evaluate python code in the browser, please let me know: viebel@gmail.com
You missed Bamse ("Teddy"): A self-absorbed egocentric narcissist, taking advantage of his naive, little-minded friend Kylling ("chicken"), episode after episode with zero negative impact. After +20 years he's now joined by Bruno, also a teddy bear, sharing similar personal flaws except with much refined insults bordering on psychopathic abuse, bullying kids instead of chickens, believing firmly that the world exists solely to please him in every which way.

However, mostly you may have missed the subtle, educational point (yes, there is one) underpinning these characters: Critical thinking. Is it right to behave like this, even if there is no negative consequence (as is often the case in real life)? Do you emphasize with someone taking advantage of their friends? In Denmark, we have this crazy idea that kids are interested in distinguishing right from wrong, even when the answer isn't spoon-fed by a morally correct television character - and maybe exactly because it isn't.

The kids don't like Ramasjang because it's a training ground for inspiring film makers. The like it because naughty is fun. And, if done right, it just may induce some critical thinking. It'll take more than a few days of watching, but just like the kids, you'll see the point :-)

Best regards from a grown-up, bottle-fed on Bamse, somewhat certain of right from wrong.
I don't exactly know what I did, but it did say that I win.
The question is why are they using something people generally expect to be very precise (lat, lon coordinates) to communicate information that is only accurate to a country or state level. That is where the problem is.
I'd endorse https://en.m.wikipedia.org/wiki/Basic_income_around_the_worl...