skysight-inc/HackerNews huggingface dataset:
> In this run, the initial random weights tended to output highly positive or highly negative action outputs. This makes most of the actions output the maximum or minimum acceleration possible. It’s really easy to spin super fast: just output high magnitude forces at every joint. Once the robot gets going, it’s hard to deviate from this policy in a meaningful way - to deviate, you have to take several exploration steps to stop the rampant spinning. It’s certainly possible, but in this run, it didn’t happen.

This is extremely human. Once you're deeply committed to something, it's hard to imagine alternatives, never mind embrace them.
Numerical Algorithms in Python
I don’t think it’s sexism. It’s just meme spewing permavirgins doing what they do online all the time. Think of your target audience. “How to make a video meme?” - of course they’re one of those show u de wae types.
Maybe he had married a local and is now fully legal?
Build a todo list app in a dozen Javascript frameworks http://todomvc.com/
Thanks to Spectre I don't think we'll be seeing threads anytime soon. Well, not threads with shared memory anyway which removes a lot of the point of them. Same reason JavaScript just lost SharedArrayBuffer, too easy to make a high precision timer out of it.
This neckband records 360-degree video from your point of view
"but I think in Haskell it's not possible to get at it without manually defining a "type type" and a function that computes that type from a given sum-typed data."

You can do it with reflection, which somewhat confusingly Haskell calls "generics": https://wiki.haskell.org/GHC.Generics It's very old terminology, you'll have to forgive them. If you carefully trace the etymology back to the 1990s-ish when Haskell established that term, and trace the academic ideas of "generics" back that far, you can actually find the similarities with the old academic ideas of generics and what we today call reflection, but nowadays they are so separated it's really just of historical interest.

That said, very little code uses it, because generally in Haskell whenever you would want to do "OK, look at the type of a thing, then decide what to do based on the type, then do the thing" that almost always can be collapsed down to "Pattern match on the thing, then do the thing you wanted to do". You write what it is you want to do based on types into the pattern matching itself, collapsing the middle step where you have an explicit value representing the type into implicit knowledge contained in the branch of the pattern match that occurs.

I do understand why you are thinking that way and am not trying to say it's a bad thing in general. While it's not the first thing I reach for in my Go code, I do have some very reflection-heavy Go code that works that way. But in Haskell, there's almost (but not quite) always a better solution for Haskell. If you could program the way you are discussing in Haskell, you'd find the type checker would be an even bigger jerk to you than it can be when you program the "right" way; I think you'd have a hard time making that code work with GADTs, and GADTs are very, very common in Haskell.
>In 1988, predicting "One essential thing would be a screen on which you could display things, and another essential part would be a printing mechanism on which things could be printed for you. And you’ll have to have a keyboard on which you ask your questions’ although ideally I would like to see one that could be activated by voice," was if anything badly retro.

But to be fair, the idea/concept of the Multivac and of the "home" terminal" (at least for accredited scientists) was present in Asimov's stories long before 1988, this is 1959:

https://en.wikipedia.org/wiki/Multivac

https://en.wikipedia.org/wiki/Anniversary_(short_story)

Now, to be a little conspirationist, it could be possible that he foresaw that the Internet (as we know it today) may become a very large government controlled computer ... ...accessible only by a selected minority ...
All criminal justice above street level is politics.
It would be nice to have some labels on the bar graph.

I assume that orange represents the rude messages and blue the heckling, but for all I know it's the other way around. It's even possible that one column is for normal messages and one for rude/heckling messages, especially since I'm not entirely sure what the difference is between between rude/trolling and sexual-harassment/heckling (I'd understand if it were rude/sexual-harassment vs. trolling/heckling).

I would also be interested in whether there was any effect on the number of 'normal' messages.
Still the writer is telling the story as an absolute truth, if he claimed could double money, why that guy kept sending him money without getting back anything doubled?

And 3 years, the sentences, way to little, something doesn't add up, I'm inclined to believe that he actually was some kind of scapegoat, that yes he received money from the bank, but a cover up, also the bank didn't noticed, so much money going out without justification?
"If it's worth doing, it's worth doing wrong before you can do it right." (because otherwise you won't do anything at all)

Don't use a library then. Do it all yourself manually, go through all the headaches. Then look at a library and see how they did it, pain is good soil for learning.

When you do things the wrong way, experience the pain ( the reason they are wrong ), and then you discover the right way, you really learn the lesson.

This is also the deep route ( doing everything manually without libraries ). So I'd suggest depth.

If you just want someone to tell you a framework:
use
nodejs, knex.js(mysql), express;
react, redux, react-router, immutable-js, reselect
In case you are curious, you can get the image by going to https://img.youtube.com/vi/<insert-youtube-video-id-here>/0.... [0]

E.g. https://img.youtube.com/vi/HlxLo2sMnXg/0.jpg

[0] https://stackoverflow.com/questions/2068344/how-do-i-get-a-y...
I partly agree, but it's also a bit of a cop out, to be honest. Anyone who has been in such an anonymous chat environment (game or otherwise) and has dished out such abuse has undoubtedly received it too and know how it feels. They do it because it illicits a reaction on the other end and they too have felt that reaction and decided they would rather be on the other end of it.
Worry and anxiety and depression have been shown to have negative physical results, no? So if you are prone to those psychological reactions, being informed of risks you weren't aware of could literally make you less healthy, even if that particular risk never happens.

It's not universal by any means, but it would certainly affect a nonzero number of people.

edit for anecdata: I know someone who has this reaction, and trouble grokking statistics and risks (gets it intellectually, but has trouble internalizing), so being informed of their risk factor for a given condition can cause them to become consumed with anxiety and worry for a time.
This is fantastic find - I love it! :)
In my experience the actual axe coming down is done in a terse, bloodless manner for legal reasons. Up until that point, managers are comfortable being cordial.
Managers I've known are terrified about being sued and decide being heartless is the safest option (for the company, and for them).
When I play online games, in this example PUBG, I think a part of the fun is to be rude and aggressive before the match starts. You're about to virtually shoot them in the head so saying something rude to random online gamers doesn't feel at all bad. Other people often respond back, just as rudely and I think it's hilarious.

It can't be just me who thinks and acts like this? Context matters a lot in my opinion.

Although, I am never rude to someone IRL or even on a more serious note outside of online gaming. It's nice to vent and I don't think other players in PUBG care at all.
> Regarding the type field, look for "enum EventType type;" in the article.

OK. If I understand correctly, you want to use that field in other contexts than doing a switch on it, whereas in Haskell the usual way of consuming the type tag is to do such a switch, as in the article's example:

case event of
ClickEvent x y -> <do click stuff>
PaintEvent color -> <do paint stuff>
// there are no other possible cases, so no default case needed

> For example, I could separate a large array of sum-type data into separate arrays, and also process them separately.

Sure, but you can do that with a case expression as above. Here is a complete example:

data Event = ClickEvent Int Int | PaintEvent Int

-- separate a list of Events into two lists, the first holding the payloads
-- of the click events, the other the payloads of the paint events
separate :: [Event] -> ([(Int, Int)], [Int])
separate [] = ([], [])
separate (event : events) =
case event of
ClickEvent x y -> ((x, y) : clicks, colors)
PaintEvent color -> (clicks, color : colors)
where
(clicks, colors) = separate events

example = [ClickEvent 1 2, PaintEvent 42, ClickEvent 3 4, PaintEvent 23]

Running it:

> separate example
([(1,2),(3,4)],[42,23])

You can now go ahead and process the list [(1,2),(3,4)] separately from [42,23].

(Depending on the exact specification and performance requirements, the code might be written a bit differently in the real world.)

EDIT: Ah, you edited your post while I was writing. Oh well. Regarding reifying constructors as integers or whatever, yes, you might have to write a two-line function to do that.
That's what I thought too when a friend told me this, but if you click the image to open the larger preview and right click on it ("Open image in new tab", not "open link in new tab") it will open the original image.
We need also to compare the user base ...

The user's age on HN is in the ballpark of 25-40 years old, as it's a tech website.

The website in OP is a meme generator, and I'm sure the ballpack would be 12-18 years.

Now considering this, I agree with alkonaut.
OpenBSD with CLI pf (not pfSense)
You don’t need to tax the rich more. The US could pay for UBI by raising taxes to the level of Germany. It could do that by simply adopting German tax rates, which don’t really tax the rich more but tax the middle class a lot more.
I got to see him in 2010 before he went up. Actually got to see the prototype with the acrylic chest. It was kind of awkward because my friend who worked at NASA took us into the room where the engineers were all working on him and just stared at us gawking at the robot.
Ask HN: What do you like about Facebook?
Facebook usage is on the decline and many on HN have chosen to deactivate/delete their accounts.

For those who do still use Facebook, what keeps you coming back to use it besides habit?
> Who thought that was a good idea?

A bunch of corporate people who never had to ask someone face to face about buying stupid shit after they've already decided what they want, and a bunch of corporate people who never actually shop at their own stores.
7 Strategies for Anticipating Future Customer Trends
theres a car in space tho
You also have to sip it slower than you normally would with a coke, taking small sips and exhaling slowly after each sip. But I'm sure you already know that.
I’m not sure he was right about that. Sometimes you want unsigned types. If you only have signed types, you have to use them, but you might forget they’re signed. That’s almost certainly what caused this bug to be introduced, which will now never be fixed due to backwards compatibility: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=7025832
The conclusion you can draw here is that being female will makes you the target of abuse that you wouldn't receive as another gender (or species in the case of this article). Other people have provided data that supports the case that this is a widespread problem that faces female tech-people (and even that is a subset of a larger problem).

To take it to extremes, that abuse could entirely be the fault of one single person who frequents every forum on the internet (you suggested it was "just 12 year old boys"). That the cause of the problem is only a small subset of men in no way affects the fact that there is a problem that makes being a female tech-person a less pleasant experience than being a male tech person.
"git annotate" does the same thing, but "git blame" can be more fun / dramatic if you're looking into the cause of a problem.

Interestingly, "svn annotate" had 2 aliases: "svn blame" and "svn praise". But git didn't add a "praise" alias, just "blame". I actually almost submitted a PR to add "git praise" one time.
Not necessarily. It only leads there if the flow has to be zero - reducing the flow and/or making black market guns more expensive than alternatives would still be worth doing (it would have a significant effect on armed crime long before the number of available black market guns reached zero), and could be achieved through some degree of owner responsibility (e.g. requiring guns be in a safe, have trigger locks, be kept separately from ammunition, limit the volume of ammunition stored at home). Better still, that doesn’t even have to require legislation!

Some of those steps would also most likely reduce the number of unpremeditated killings, e.g the freak accidents where babies shoot parents with the gun in their mother’s bag, kids shoot each other with a gun taken from a nightstand etc.

Of course, the usual response to this is some variation on a theme of the fear of crime, to which the only response is that violent crime has been declining for years and the people making most noise about it are frequently invested in the weapons industry.
>Oh my God. I realize that the cashiers have been ordered to do this (I assume) but knock it off already!

Why should they? If they don't they will get fired. Business goes up or down that cashier doesn't get paid more or less...they have no incentive to risk their job for a customer. These companies are so obsessed with squeezing a nickle out of 5% of their customers because they can _measure_ that. Its 'impossible' to measure losses like you with any granularity, so it doesn't matter. They 'can't' incentivize it.
Also useful, boorkmarklet to make all text black:

javascript:(function(){var%20i,x;for(i=0;x=document.getElementsByTagName("*")[i];++i)x.style.color="#000000";})();

and to allow text selection (I manically select text while reading, sorry fellow office inhabitants),

javascript:(function(){function%20allowTextSelection(){window.console&&console.log('allowTextSelection');var%20style=document.createElement('style');style.type='text/css';style.innerHTML='*,p,div{user-select:text%20!important;-moz-user-select:text%20!important;-webkit-user-select:text%20!important;}';document.head.appendChild(style);var%20elArray=document.body.getElementsByTagName('*');for(var%20i=0;i<elArray.length;i++){var%20el=elArray[i];el.onselectstart=el.ondragstart=el.ondrag=el.oncontextmenu=el.onmousedown=el.onmouseup=function(){return%20true};if(el%20instanceof%20HTMLInputElement&&['text','password','email','number','tel','url'].indexOf(el.type.toLowerCase())>-1){el.removeAttribute('disabled');el.onkeydown=el.onkeyup=function(){return%20true};}}}allowTextSelection();})();
There are plenty of people who are saying implicitly and even a few saying explicitly that it is all men. There are plenty of people who would turn your exact same rhetoric back on you and say that if you think you aren't part of the problem, you just need to look harder, because it is all men, especially the ones who think they have a clean conscience.

So in addition to proving my point about how berating the people who aren't part of the problem is very common by providing an example before the ink was hardly dry on my post, you've set yourself up for attack in the world of today. You need to be more careful.

(Edit: I suspect I'm being downvoted because some people may have a hard time understanding I'm not just being rhetorical about people saying it's all men, and that it's especially men who think they're innocent. To them, I would commend spending 15-30 minutes browsing through the various results at https://encrypted.google.com/search?hl=en&q=all%20men%20are%... . Not just a scan through the results to confirm your prejudices, but to actually look at the conversations happening, which is why I specified 15-30 minutes and not just "a glance". And while I'd observe it may not be "the new york times" for all those results, it's not just "Joe Bob's Blog & Grill" or Tumblr for those results either. I'm also not saying that every last result will say that, but the existence of results refuting the argument also point to the fact that it is being deployed.)
I use DDG when I want nonlocalized results that aren't as biased

But most times I want information tailored specific to my issues so google is better for me 90% of the time.
Learning Data Science – My Journey
Learning weird new stuff can have a positive impact even though you don't end up using it as your workhorse though.

After coding in Rust for several weeks I went back to C++ for my day-to-day work since I'm still more productive with it and the code I produce has no safety/security implications. The knowledge gained in those few weeks of Rust readily translated into C++ skill improvements, even though I already considered myself a solid C++ programmer before. Being forced to think about ownership, borrowing, move semantics, etc. constantly gets you into a mindset that is very helpful also outside of Rust.
Great points, this is very much also true on my experience. Once the decision is made to lay off, often work is done to make sure that they don't use company resources to get their next job. It's quite accepted in business circles, but from the outside it really sounds heartless.
B&N isn't the only one to do this but they are one of the most persistant. I visit the store once or twice a month and have been since Borders tanked. Every time I buy something, I get this spiel. Dozens of times now. Usually, I cut them off with a curt "no" when I sense they're ready to start the question. I sort of feel bad because it isn't the clerks fault but I'm really annoyed at just being asked over and over. I'm tempted to have a badge made up I can pin to my shirt that says "Thank you. No.".
Show HN: Fio – redirect unix sockets to TCP ports
A mentor of mine once said something that really stuck with me: "Any company that chooses to fight a new type of competitor by slashing prices has already admitted defeat"
> The checkout line was at least 50 people long and probably estimated at over an hour. Two cashiers working out of 8 or so possible registers, and as far as I could tell a singular employee on the floor itself.

This is a perfect instance for self-checkout kiosks. They're everywhere: big retailers like Target, chain groceries, national pharmacies, home improvement stores, and they're turning up in smaller places and even fast food venues. This suggests to me that the kiosk price is dropping and there's less reason to have empty registers and long lines except for deliberate ignorance.
Its not so much that men in tech are worse than men in other industries, but women are far more outnumbered in tech.

If you assume a constant rate of harassment (say 5% of men harass women per year) then a woman who works alongside 20 men and 5 women (a common ratio in tech) will get harassed more than a woman who works with 12 women and 13 men (a more typical non tech ratio).

And in truth I wouldn’t be surprised if as women get more outnumbered the frequency of harassment tends to go up.
When I saw the title I thought it was about a cryptocurrency
Yeah, I vacillate between judging algebraic data types and ownership as the thing I like most about Rust over other languages (formerly Python, but I do much more JavaScript now), but I think ownership wins most of the time. Strong ownership protects from vast swathes of really annoying bugs that are unpleasantly easy to unknowingly inject and particularly hard to track down. Certainly I believe that Rust’s strong ownership model is the defining feature of the language—most of the language’s features come about as a consequence of it (though this dominance has slowly been diminishing since 1.0).
Yeah, I was really hoping the article would explain more.
C# named their version right: NullReferenceException.
This is pure advertisement. Please stop misusing our forum for ads.
I am going to speculate that it is incredibly unlikely that those 12 year old are going to grow up to be well behaved adults. I'm also going to speculate that the vast majority of those twelve year olds do not telegraph their wickedness to anyone in their life or their social circles - parents, teachers, relatives, etc because for last several decades US adult population has been playing ostrich pretending that the disgusting behavior of junior is only a problem for the juniors of those unwashed masses from the redneck South and cannot possibly ever come from the home of the NPR listening, PBS supporting, women's march going family.
How we hire engineers to build zero-data kidtech
do you have a non-twitter link? thank you.
#LiveBetting #Casinos – Salt Lake City – Http://link.intertops.eu/c/383079
DNA Nanorobot Functions as a Cancer Therapeutic
No, I'm telling people to stop using one-line arguments from the "logical fallacy" bag.
Right? For me it was like: MOLY SHEET! I don't /know/ anything. What do you do with that dropped on your head? You can't rule anything out on the basis that other people would find it hard to swallow. If you've got a few extra watts of processing power in your head, you can take some wild ideas really far before you even have the chance to bounce the idea off someone; it's very likely that you might actually transmit the kooky memes you've been gestating, especially if you're a charismatic like Leary. Anyway, a sizable fraction of those crazy psychedelicists ended up having fun as happy cult leaders - who can fault them if they haven't caused harm?
Getty already reached a deal with Microsoft regarding this in 2015:

https://searchengineland.com/microsoft-getty-images-announce...
I can't say how much of an effect customers like us -- people who owned a ton of books but have switched to the Kindle -- have had on the bottom line of Barnes and Noble, but my experience completely echoes yours. I even find myself purchasing books on the Kindle that I already own in physical form just for the improved experience.

The main thing I miss is browsing for books; the experience on the Kindle or on the web is terrible compared to walking down an aisle and flipping through books that draw my interest. I have young children now, so I purchase a fair number of physical books for them, mostly through Amazon, but occasionally browsing in our local Barnes and Noble. Whenever I'm there, I find myself rooting through the shelves, finding all sorts of interesting books that I want to buy, and then I guiltily take a picture of them to buy on Amazon later for my kindle.

EDIT: One thing I have noticed, though, is the increase in price gouging in ebook sales. I think a result of the Hachette deal; lots of things that would have been $6 mass-market paperbacks are instead $10. Unfortunately, this is not local to Amazon, so leaving the ecosystem is no help at all.
What am I missing? I have Windows 10 Pro on 2 computers I use daily, I have no crap games auto installing, I have no restarts other than when I select to, my computer never slows down "because windows things".

What are you guys experiencing that I am not?