skysight-inc/HackerNews huggingface dataset:
Steve seems like a genuinely helpful guy, but I'm not sure my most recent headache is a documentation problem so much as a deficiency in the std/core library. I was trying to write a generic function that called abs() on some of the arguments. Here's a simplified version:

fn simplified_example<T>(a: T, b: T) -> T
where T: Copy + PartialOrd
{
if a.abs() < b.abs() {
// some irrelevant math goes here
} else {
// slightly different math goes here
}
}

I'd like to be able to call this generic function on anything that has a .abs() method. That includes i8, i16, i32, i64, f32, f64, and so on. Is that a shortcoming in documentation or an unfortunate consequence of Abs not being a trait? Several people on IRC recommended the rust-num/num crate, but that has several other deficiencies, and I don't think I should need another crate (unwanted dependency) to call .abs() on f32 or f64. With help, I came up with a workaround, but this was harder than I think it should be.

The grandparent poster said:

>> the developer community doesn't seem to realize that there's a massive gap between the toy example programs in their documentation and the level of knowledge needed to build something worthwhile.

I have to agree with him. The level of Rust-specific knowledge required to get the absolute value of a number/type in a generic function is pretty significant. The example above is just a small part of a library I'm working on and only one example.
Well, there are others factors at play today. Here are a couple of videos that discuss the general topic:

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

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

I have seen and continue to see some of the behaviors described in these two videos and it is deeply disturbing.

Attempting to lead people with deep social challenges is an exercise in frustration and futility. Leadership, in this context, is a very different thing than in what I'll call more traditional settings. It almost has to be reduced to appeasement and coddling. Latte's and ice cream.

We have a generation of adults who behave as petulant children half their age did in prior generations. Except they are in a 25 year old body. Some of these 25 year olds today would be slapped out of the building by 25 year olds a generation or two ago. They are weak, oversensitive, self-serving, entitled, delicate and disconnected from reality.

This is how you end-up with some of the crazy stuff coming out of outfits like Facebook and Google. They are completely devoid of real world social and business skills yet interact and affect the personal and business lives of millions.

One example that comes to mind are account suspensions and cancellations without even a shadow of customer care or service offered. If you can't swipe or click a problem away the option to actually engage with a real human being and exercise the ability to resolve problems simply isn't there.

How do you lead these people? Well, first they have to grow up. I suspect that will happen once they get to 35 or 40 years of age and finally understand reality. What will the consequences of such dysfunction be a few decades from now? Not sure.
List of Latest Portable USB Monitors for Travel
There'll be lots of support for reducing H1Bs (including me) or more accurately allocating them (auction, etc).

Wondering if there is a valid reason to keep the high H1B count?
It's very very solid, I have a friend with this setup for racing (he has the chair + the wheel mount), they are made out of very solid metal (mild steel bars) and weight quite a bit, the chair + the mount weighs like 50KG the mount alone would probably weight 20 you gotta be the rock to make it wobble.
That's like saying you don't understand why the government just sending Altay a $1billion check with the pre-condition that he spends it all gets a bad rap.

There's no reason to favor home ownership -- look at home ownership rates in Germany vs S. Europe. Then look at the health of their economies and living conditions.
Sadly that one try to be a little too funny.

For example: Express Route - "Should have been called Pretty good" that not really helpful. It should have been called "Azure MPLS" or "Azure direct connect"
The main problem I have is that these popups rarely preload the content. This means that if you are visiting the page internationally, you could be staring at a greyed-out page for a good second before the "X" loads. CTRL+F4 is now a reflex to that backdrop. If your page is less important than an advert then I can't imagine me finding it all that important.
You can switch jobs on and H-1B easier than you could in the past. The notion they are endentured to the employer who first brought them over isn't true.
Take look YouTube clone
"Saying I was lucky negates the hard work I put in and spits on that guy who’s freezing his ass off back in Brooklyn." - of course you can't tell people how they should take your comments. But saying that you/he/she was lucky does not negate the fact that they may have worked hard. Saying it was ONLY luck does.

Working hard of course put you in a position where you could gain from the luck. You won't suddenly end up as a world renowned producer if you work as a fireman. You invest in your future with a lot of hard work and then perhaps you are one of those who make it.

A lot of people work hard on whatever they have put their mind into. A lot of people are talented and great at what they do. But a lot of people from both groups never really gets the recognition/success/financial breakthrough as others of similar and perhaps even objectively less hard-working/talented people. They just had a little extra "luck".
Finally they added this! I submitted a PR for this over two years ago (https://github.com/docker/docker/pull/4232).
The capitalism pursuiting money by human labor may be doomed. The Capitalism, which pursues knowledge or a higher level of human nature, may survive or flourish,imagine that all people do not seek money but higher levels of knowledge. Human labor is transformed from a passive machine to a knowledge doctoral worker
It's not just risk mitigation; it's expectimax optimization, which sometimes involves absorbing additional risk rather than just mitigating or minimizing it.
There's something particularly grating about your comment. From the 'updoot' to the fetishization of Elon Musk.
When is the IPO?
http://shop.oreilly.com/product/mobile/0636920024149.do

The first part is mainly about erlang and the choices they made. But the last part is not at all specific to erlang and walk you all the way through all decisions to take to build that type of architecture.
Hey, Author here. This is old and I haven't added some of the new services that AWS has released since I first wrote it.

Whenever this list comes up there's generally a group of people that dislike it for trying to be at least mildly humorous (The whole concept for it started with my developer friends and I joking about some of the names and how opaque they were, so not sure what I'm supposed to do).

There were a couple substantial edits I made to it where a few funny lines were cut in favor of better explaining what/how something worked.

I also started fleshing out some of the services with slightly more in-depth articles about them (such as this discussion of AWS Buckets where I compare Amazon's CTO to a character from 28 Days Later - https://www.expeditedssl.com/aws-s3-buckets-of-objects

I've sometimes thought that I should try and make it into an ebook or something, but there's always been something more interesting to work on. Thanks to everyone who has enjoyed it, shared it with their friends and hopefully took their first steps to messing around with AWS.
What is the purpose of such lists? Aren't you just going to search via google or directly on github anyway?

My point is: A list is not worth much, if the criteria used for selecting the list's items, are not clearly stated.
3 Growth Lessons to Get Your First 5000 Customers – With Stuart McKeown
We got a new junior developer about a year ago. He acted exactly as you described. I don't consider myself as a superstar dev but I do know a thing or two. So the guy questioned every thing I did for months. At first I welcomed the challenge because it forced me to look up things I haven't been 100% sure about. But when months went by the questions got more and more irrelevant to the work he was doing. He was asking questions for the sake of questioning me not for the answers.
> The only reason the US population has continued to expand, is courtesy of vast immigration over the last 40 years.

Untrue; the US still has a positive rate of natural increase. Immigration is responsible for a hair more growth than natural increase, but isn't the sole source of increase.
Even if you have tons of RAM and the data IS there, performance is still disasterous if you have to perform seven, eight or nine digit logical reads. (millions or billions). Happens when SQL Server assumes it will use loop join because it thought there is only 1 row to join. Oops.
I definitely understand where you're coming from. I love Bloodborne, but it's really demanding. Which is why I don't play it when I want to relax after work. I play it in the weekend if I feel well rested and up for a challenge.

To unwind after work I gravitate towards RPG:s which let me get lost in the fantasy and forget about this world or FPS games which let me empty my mind and just focus on reflexes and simple tactics. Mario games are also an amazing way to unwind because they let me put intense focus into it without requiring much thought. The repetition of trying to reach the toughest secrets and attempting the same run time and time again for an hour or so feels very therapeutic.

On the other hand, I do play Magic: The Gathering at work during lunch. It may require a lot of thought, but it lets me drop work stuff entirely for an hour so I can come back to it with fresh eyes and new energy after lunch.
As far as I know, using anycast for geo routing is pretty standard. Eg. I'm not aware that my employer (large ecommerce) has had any routing issues. This being said, we mostly avoid long running connections today. With more messenger like products becoming ubiquitous, I expect that to change though.
That’s how we got cell phones from a toy for Wall Street to something that’s helping the poorest of the poor all over the world

I just don't see it, after spending time in third world countries I believe this is a
false statement. It's not free to use a cell phone in the third world, the poorest of the poor can't afford "credit" nor phones, nor have anywhere to charge them. If anything I've seen cell phones usually being used by shady characters using them for nefarious purposes, they're often the only "poor" who can afford cell phones in third world.

Let's also not forget who actually produced the cheap cell phones that made them affordable.

God bless this article.
You mention things falling down in price. That surely will happen to a degree (there are still costs associated with raw materials and energy, even in automation). But on the other hand, when most of the population will be jobless, who will have money to buy expensive iPhones and cars? What will happen to advertising when they advertise to moneyless people? This is a real danger to economy.

It is unfair to sell products to humans while not hiring humans and not contributing to BHI. It's a one way transaction where money accumulate to the capitalists while the population is depleted. Money should circulate, like water in nature. It should not be captured in some lake (offshore account) from where it goes no further.

Companies are ahead of a big choice: they need to take a loss (accepting to support BHI for population) in order to keep their economic cycle running, otherwise they will all suffer a huge drop in sales. But can they prioritize long term necessities over short term profits?
It strikes me that so much of the components they use (e.g. under "Storage") are in-house built (several dbs, blob store, caches, etc). Is that because at that time equivalent solutions didn't exist? Is that because Twitter suffers from NIH?
Color in UI Design: A (Practical) Framework
We don't, and we don't need to.

Timestamps are only used to merge conflicting but causally unrelated changes. In principle we could pick a random number instead of using the timestamp and we would still achieve convergence, but it just so happens that the current local time on the device is highly correlated with the user's experience of real time, so that if the user makes conflicting changes on two offline devices, those changes will still be properly ordered in the general case.
yes, they are already targeting someone who will buy stuff from them.
The plutocracy, who runs things behind the scenes, decided long ago that the rent extracted from the outsourcing of industry could finance their imperial war machine.

Perkin's Confessions of an Economic Hitman [1][2] is a good read.

The US' problem with China is that they think long-term... Their leaders long ago realized they needed to industrialize, and started with whatever low-tech jobs western companies were willing to give them. Now they are demanding western companies share their crown jewels with Chinese companies (requiring that much of their high-speed rail infrastructure be manufactured in-country, etc).

Similarly, the US' problem with Russia is that they play chess, while US politicians play checkers.

I think Señor Trump is smart enough to know that the Imperialists are America's true enemy, but that Joe and Jane American don't realize the full extent of their government's "Economic Hitmen" activities. Hopefully he'll rename the Department of Homeland Security to something that doesn't imply imperialism. Similarly, hopefully he'll order the department of defense to reimagine itself into a department concerned with the country's defense, rather than being obsessed with the ability to destroy anything anywhere on the planet at a moment's notice.

[1] https://books.google.com/books?isbn=1576755126
[2] https://books.google.com/books?isbn=1626566763 (just learned there's a 2016 edition)
Here's a reconstruction video they made to accompany the parade collision report: https://youtu.be/tMsjJWJFBbA
The whole ideas behind Jepsen report is not that people need Strong Consistency. It is that products should tell you precisely what they guarantee or not.

This is why Aphyr always test claims.
There is a nice post: SQLskills procs to analyze data skew and create filtered statistics [1] that links to a session where statistics skew is explained and some scripted solutions provided to kind of cover more rows with filtered stats.

[1]: http://www.sqlskills.com/blogs/kimberly/sqlskills-procs-anal...
I would put it at number 1, to be completely honest. My life goal isn't to optimize widgets, it's to be happy. That's number 1. Widgets happen to further that goal. If I'm responsible for other people's livelihoods, that's a really important responsibility. That doesn't mean to override business decisions, because better business should help us all, but you shouldn't lose sight of the original goal or how significant the responsibility is.
Contrary to what you would think as a consumer, grocery chains almost always want you to buy their brand (the less expensive one) because the margins on store-brand items are much better. That's why the stores bother selling them in the first place (and why margin-hungry companies like CVS will have every popular placed side-by-side with a store brand)
Reducing them? The original law was from the 60's when America had only half of the population...
Predicting medical chronic conditions with Machine Learning
This is how Amazon benefits from free cash flow in their retail business. With payment days of >90 days to their suppliers but almost immediate payment from their customers they get 90 days to reinvest that money at a profit before paying it back. Essentially an interest free loan from their suppliers.
> These outfits have lost sight of what their web site is for.

Their web site is for them to make money and considering that these practices exist, I have a feeling that they make more money by ad-sales than by actual sales of their actual product.

Long-term this is obviously a bad strategy, but who knows whether they even are interested in a long-term strategy.
You can already switch employer when the petition has reached DHS. Hence it shall only take like 1-2 weeks ;)
And then there's also Constraint Satisfaction Problem.
The most popular links from the Front end List
I'm working for a very successful Internet company with 9 figure user count. We have 7 or 8 POPs on 4 continents and run a low 5 digit number of servers.

This being said: we do not have to deal with anything like the network effect and lifestyle type usage that twitter has. Once you pass a certain size and complexity of infrastructure it happens really easily that economy of scale doesn't help and the complexity of everything having to be distributed works against your efficiency big time. So I'm not shocked by their numbers.
> Did they consider the OCaml approach of "generic modules"?

Heh, I certainly can't speak for them, and I don't know what they've considered outside of that link. I also don't know C# or OCaml well enough to say if Go should/could adopt their strategies. However, Java's generics aren't very satisfying, and I think Go is wise to not jump in prematurely.

Hygienic macros (as in Scheme or Rust (Nim? Elixir? Julia?)) seem like a more mature concept that could solve most of the problem.
Didn't read the article, but RT (Russia Today) is Kremlin's propaganda channel[0] and it's links should neither be trusted nor shared.

0. https://en.wikipedia.org/wiki/RT_(TV_network)#Propaganda_cla...
I bought these which work well:
https://www.amazon.com/gp/product/B000VCDXNS/ref=oh_aui_sear...

Once you can handle the max included weight, you can buy more plates.
Who had the other half? :)
> You don’t have to actually go and get your own island; you can do the equivalent of dual-booting or telecommuting. You can opt out, exit at whatever level you prefer.

And the government will be there to kindly remind us that: "Democracy is asset insurance for the rich"[0] and we may not skimp on the payments.

[0] Austerity: The History of a Dangerous Idea by Mark Blyth
> 1) We didn't say we are suing JPMorgan. [Huh?]

Why the huh? The author's own point 1 implied the suit was against JP Morgan.

> 1) JPMorgan already has the document, so there is no element of surprise on the government's side.
Or a loose-kind of cooperative based on social networks. An online market of goods and services, similar to Ebay and AirBNB but not owned by a corporation. People, even if they receive BHI, should work directly for themselves (or indirectly, by providing services to other people), in order to multiply the value.

There is no purpose in industrial production other than to serve human society. If capitalist industry gets rid of human employees to a large degree, it becomes detached from its very own purpose. So, a large company should contribute to BHI or hire people, otherwise how will people have money to buy products from corporations?

An idea would be to invent a human-centric currency, paid to each individual as a BHI. The state should require a part of the taxes be paid in this currency at a sustainable rate, thus forcing companies to subsidize BHI.

In the meantime, people need to organize in order to bootstrap a human-based economy, where automation could still play a role, with the crucial difference that it would be regular people who are the owners of the capital, and not just a select 1%.

Or someone could invent a self replicating factory that only uses common materials, thus becoming virtually free to multiply and serve humanity wherever it is needed. At this moment, the self replicating factory is economy on the whole. But we can do better, we might compress it to a small size and make it more independent of rare/expensive raw materials, and make it open source. Then it could bootstrap human population out of scarcity without work.
I did a similar thing: my flight sim chair is an Ikea Poang (http://www.ikea.com/us/en/images/products/poang-chair-beige_...) with CH Products throttle and stick attached to the arms with 3M Command tabs. It works amazingly well, especially with a VR headset.
This really resonated with me to the point where I had to stop lurking.

James Gee (who was also at Wisconsin-Madison for a time) has written a fair bit, mostly positive, on learning and games. Here's one of his positive early pieces [1].

But I have a cautionary take which is very similar in spirit to yours. I loved video games as a kid - Double Dragon, Zelda, Mario Kart.. I lost my mom early and in adult retrospect one likely consequence was becoming OCD about save-scumming, because you could go back in time and make things perfect. I'd play Starcraft story-mode until I made it through without losing a single unit. I'd savescum ADOM at a pool until I got enough wishes and all the resistances to feel satisfied. Or Civ to build all the wonders I cared about. Too bad you can't go back in time to get your mom to have a checkup before metastasis. Just need to have enough save states right?

So I continued min-maxing, building optimization functions against built environments and pvping in MUDs, Goldeneye, MMORPGs, Diablos, Hearthstone, and F2P styled mobile games, competing against other players for virtual bits of nothingness, going with the meta or trying to craft counter-metas, making in-game friends and playing with IRL friends and generally having a good time or so I thought.

I finally tossed my gaming baggage while taking my first ever vacation in France with my family last year. I'd recognized the psychological hooks embedded in games for some time but finally realized how ridiculous it was to be conditioned to wake up at 2 AM in the morning (due to timezone differences) to earn timer-based rewards and complete dailies in a mobile app. I was trading off life experiences in a beautiful country with amazing food (and counter to typical stereotypes, very friendly people) for virtual something or others, and enough was enough.

Since going cold turkey, the amount of free time opened up has been an eye-opening. I spend much more quality time with my family without being tired from staying up late. I'm playing music again with friends and in a local community symphony, playing ice hockey and working on skills I'd left behind since high school, reading more books, and in general feeling much more fulfilled.

This isn't a judgement on those who still love and live & breathe games and there are definitely games breathtaking in their imagination and execution. I still thoroughly enjoy Mario Kart with the kids and could easily drop days into Civ 6 if I had the spare time. But I'd like to level up my physical skills for a while. Climb a 5.12, skate like Sid, play and express Brahms, Beethoven, Chopin and (maybe some day) Rachmaninoff like I wish I could.

Some goals in life have a physical timer on them, don't let it run out and lead to regret. There's beauty to be had and made and to be sure, virtual or not, it is fleeting. Yet some skills remain when the power goes out.

[1] - http://www.academiccolab.org/resources/documents/Good_Learni...
I think your comment is much more reasonable than parent; I too wondered what CSP they were talking about so I clicked the first link, and figured it out(after scrolling through several paragraphs). However, parent asserted that the audience here was not up to the level to read the author, when actually, the confusion was an overloaded acronym.