skysight-inc/HackerNews huggingface dataset:
I live in Sweden, in Sweden it's believed that Women and Men are equal. That's all I have to say about feminism- if there are cases where they are not then that needs to be addressed.

However, the "Women in tech" push, while noble sounding has not done much to assuade confidence that they're actually doing anything. My awareness of women in tech is absolutely sky-high, with all the back-patting praise they're giving themselves almost constantly.

I don't mind it of course, they're completely free to do what they wish, but it doesn't sit right with me to keep calling them victims. If they're victims give me something to use to help them. Don't point at invisible sexism (which I have seen _once_ and subsequently that person was fired for it).

I get that you have an agenda regarding this, I, kinda don't. My personal belief is that Women are a plus to any company, and if some company is sexist then (on a purely capitalist level) great! more coders/sysadmins for me.

If someone else is going to pay them less, great! I could give a shit what you have between your legs, it's what's between your ears that matters, so, again, I'm gonna pay fair and others will probably too, but otherwise, more coders/sysadmins for me.

If I find out someone is being sexist in my org and pushing coders/sysadmins away, that person is going to feel a big wrath _regardless_ of my moral code. But because they're costing the company talent, and talent is hard to find.

Then of course I _do_ feel a moral obligation to ensure everyone in my org is happy, but my previous sentences were referring to pure logic.
Wait. A Tesla car is literally a rolling lithium-ion battery pack, and yet it also needs a lead-acid battery too?
Not an expert, since your statement triggered a goog .. but :

https://en.wikipedia.org/wiki/ARM_architecture#Thumb_Executi...

Says:

"On 23 November 2011, ARM Holdings deprecated any use of the ThumbEE instruction set,[77] and ARMv8 removes support for ThumbEE."
The Research Is In: Virtual Employees Are the Best Employees
I know that website JS isn't a solution.

But can't the browsers provide APIs for this?

I mean they force me to directly use user-events to switch to full-screen, why can't the do such things for crypto APIs, so that no one could mess with this?
Being an asshole isn't a protected class.
From the customer viewpoint, for the same amount of money, one has superior service and one doesn't. History as a rationalization is not a factor when my money is on the line.
No one is arguing as to why these issues emerge, they're just arguing that they don't want to subsidize them.
Deepdetect for both dev and prod, with the minimum code in front of it. This setup is definitely not able to accommodate all modern ML needs, but the fast and secure model update from dev to prod is the easiest for us. Disclaimer: DD author so the bias is very high, apologies for this, maybe my comment will remain useful to some.
OpenForge: Government of India's platform for open software development
Show HN: What do Redux only components look like?
Brooklyn, NY. About a 15 minute walk to my office, or if the weather is bad, around the same amount of time by bus. Biking is about 5 minutes.
Chatbot that overturned 160k parking fines now helping refugees claim asylum
Personally I've never used the camera on my laptop ever. If I need to do a video conference at work I use a meeting room with a camera set up. So for me the camera is a complete non issue.
44 USC §3301

What country is Benghazi in? What does the leader of that country have to say about how serious Benghazi is?
Ask HN: How did employees do after the Jet.com acquisition?
As the title said-- I'm just curious how the rank and file employees and engineers fared with the acquisition.
I grew up in Pennsylvania, and Denver is my first place outside of there. Housing is expensive, but not near NYC/SF expensive. The tech scene is growing, but clearly isn't as big either. Overall, I really like Denver, and I'm happy with my choice. I wouldn't be opposed to trying a different city though, since I've only lived in two places.
But isn't typical high-quality OOP code essentially Monadic code? State is encapsulated in an object and transformed by method calls. Method calls can be chained, and state can be encapsulated and extracted using constructors and accessors, respectively. The basic operations are all the same. OOP is just less strict with how you can transform objects, i.e. function/method purity is not enforced.
I'm not very optimistic about Uber, but where else can you potentially get a 10x return on a 10 digit investment?
And I'm really curious about the security of tokens used to store private keys... in Brazil, at least, many tokens are in the form of cards, with gemalto being the main supplier.
Macbooks (aside from the 11" Air) are all 16:10. I find it acceptable and for a strange reason feel cramped even on large 16:9 displays.
Explaining Ahead of Time Compilation in Angular
Training Data for Self Driving Cars with Scale API
New solid-state battery with glass electrolyte delivers 3 times the capacity
Old Soviet joke:

"I want to sign up for the waiting list for a car. How long is it?" / "Precisely ten years from today." / "Morning or evening?" / "Why, what difference does it make?" / "The plumber's due in the morning".

The easiest way to get spare parts was simply to steal them. Cars were frequently stolen off the street and stripped. Factory workers would smuggle in old parts, fit them to cars on the production line and smuggle out the new parts. The spares that were available invariably ended up being funnelled off into the black market.

See also the Soviet black market for blown light bulbs:

http://marginalrevolution.com/marginalrevolution/2009/02/mar...
On that note, Parr also has a nice little book called "Language Implementation Patterns" [0] which introduces things on a level of "this kind of language motif maps to this kind of parsing code".

[0] https://pragprog.com/book/tpdsl/language-implementation-patt...
I think the idea of it was that if a war happened the facilities to create it would be bombed.
Because, just like concert tickets, there weren't enough cars, and they were sold at below-market price.

This meant that people would pre-order vehicles years in advance - and had to get extremely 'creative' when it came to keeping them running. (As jdietrich alluded to.)

The other problem with cars is that given 10 broken vehicles, there is high likelihood that 4 of them have the same broken part.
Moscow, Russia
Chrome. Mine did not have that experience.
Don't forget the 2K ROM. I have the 64K model here.
(I, personally, am just fine with textual code. I'd be open to new stuff but for now I like typing my code in)

There's a bunch of 'block based' programming languages that some educators are using to teach programming. Searching for 'Blockly' turned up https://developers.google.com/blockly/, but they're definitely not the only game in town.

Way back when Charles Simonyi created this thing he called "Intentional Programming" (https://en.wikipedia.org/wiki/Intentional_programming). As near as I can tell the big idea is that instead of encoding the program in textual source code you'd instead store the program in a parse tree/etc (I'm not super-familiar with compiler details - it's some sort of tree that represents the program, semantically). Your IDE would then enable you to interact with it however you wanted (as text, as blocks, etc, etc).

So yeah - text is king, but there's a lot of other really interesting options out there, too
7 Things to Say When a Conversation Turns Negative (2016)
I live in Palo Alto and commute to San Francisco three days a week. It's a little over an hour, bike<->train<->bike, each way. It's actually quite pleasant; I tether the phone to the laptop. In extenuating circumstances, it's an hour-long drive through traffic. I HATE the drive.
I think Ellen Pao is a prime example of why it's a liability to pretend you're working at Sterling Cooper. There are shrews out there with lawyers on their speed-dial, and they will pull the trigger even if they have no ammunition.
Right now I get in a car and drive about 3 miles. It takes 8 or so minutes. I would love to bike but there are some places between our office and my house that are not biker friendly.

Before that I telecommuted.

Before that I drove 5 miles but it was city driving (Waltham, MA just outside of Boston) so it took a half hour some days.

Before that I lived in Boston and commuted to Lexington, MA using public transportation and it was a half hour on the subway and a half hour on the bus each way.
We're working on search, discovery, and sorely needed social features as we speak. It's coming very soon!
I'm confused. Did he forget to post that under another account or was he one of us, a lowly HN lurker that applied and go the CEO position (by self selection).
مشاهدة مباراة برشلونة وباريس سان جيرمان بث مباشر اليوم الاربعاء 08/03/2017
It's not, really. The salesman claimed no affiliation with the Ebates site/company, which is of course true, and that I was getting the machine as close to "at-cost" as possible (I call BS), but I'm fairly certain this wouldn't have happened if my purchase total was, say $1200 instead of > $2000. I was very close to cancelling my order right then and there, but I guess I'm holding out on the small chance that the machine itself is great and I don't ever have to speak to a Dell rep again. I've been consistently confused that many sites have rated it the "best Windows laptop" of the past year or so, but users are reporting a huge number of quality control issues (coil whine, backlight bleeding, bad WiFi, etc.). Some people appear to get ones that have no issues, and I've read several glowing reviews from HN users, which is a source I trust, so I'm hoping I win that lottery.
Wanted: Seasoned executive, preferably female, to steer Uber out of a major rut
My case is probably not quite what you're looking for, but I'll describe it anyway. I develop models for automated EEG analysis. The models are all in a standalone program that neurologists use. Their computers may or may not be connected to the internet, so all computation has to be local.

I have a set of training records (usually on the order of ~100). I do three folds, and train models on 2/3 of the data, validate on the last 1/3. I train using Tensorflow, usually experimenting with a few hundred different architectures. Then I combine the best models we have trained on the three folds into an ensemble. The ensemble can be too big to be practical, so sometimes the ensemble is distilled to a smaller model by training to the ensemble outputs. (The models have to run in real-time, and there are a lot, so it should take any particular model no more than ~10ms to process 1 second of data.) The final model is then tested on a completely independent dataset to determine our performance.

As these models are training I develop different experiments to try to probe the behavior of the models to make sure that they're working as expected. This usually motivates new architectures or features to experiment with.

Once the model has been trained, I export all the model weights to a bunch of big static C++ arrays. I've written my own feed-forward NN layers (fully connected, convolutional, and LSTM) to use these arrays of weights in our C++ code. (Tensorflow Serving didn't seem to make much sense for our use case and it was just easier to write the basic NN layers.)

When our resident neurologist feels like it's working well enough, we apply to the FDA for approval, and, who knows, maybe in a few years it'll be allowed in the product!
But the availability of spare parts influences the resale value of the car (at least in India) which in turn influences the buyers of new cars to buy from manufacturers who provide spares at a reasonable price (Ex. Maruti in India). But I guess people who buy Teslas wouldn't focus too much on the resale value though.
Thanks for the ptr. :) I just wish I had time to rewrite that book in ANTLR 4 (it's in ANTLR 3).
My understanding was that it had to be a Tesla battery or they might not re-certify the car.
I know the answers to those questions... but don't get the joke... What's the joke?
I guess when demand way outstrips supply, they don't have much incentive to, unfortunately.
I only knew the command line option which no longer worked. Once I found the project.json

"buildOptions": {
"allowUnsafe": true
}

I was able to fake something for dotnet migrate and find the needed setting:

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>
Has anybody tried putting Ubuntu on it? I'm using an older XPS 13 with Ubuntu 16.04 for non-work-related tasks and overall it's convenient enough I'm ready to stick with XPS 13 for the next one.
if the same volume of transactions that go through visa, went through bitcoin, the blockchain would grow daily bigger than any available hard drive.

you're all idiots
You do realize that the recently discussed Nebraska bill has a carve-out for automotive sector, right [1]?

Large industries with well-established lobbying efforts will always find a way to exempt themselves from even sensible sounding legislation (possibly because of unintended consequences that could cripple their business model).

[1] https://news.ycombinator.com/item?id=13676324
Acting on behalf of a state under immense pressure from the US.
Thank you for reporting. Fixed now.
"Putting in the work" often means not being able to use abstractions, which reduces the maintainability of code. That's what people often miss about optimizations: one of their most important uses is to enable abstractions.

As a simple example, take SROA: without that optimization, you can't make a "Point { float x, y, z; }" struct and have that be as efficient as "float x, y, z;", because x, y, and z can live in registers in the latter, while in the former they remain as memory instead of being promoted to SSA values. But being able to use a Point structure like that is extremely helpful, because then I can define useful methods on it and so forth. I shouldn't have to choose between good engineering practice and performance, and thanks to SROA, I don't have to.
Declines in Sexual Frequency Among American Adults, 1989–2014
WinForms is, unfortunately (in my opinion), a hack on top of Win32/hWnds, the fact that every Control wraps a top-level hWnd window is a source of performance issues. It needs a fundamental re-thinking... but Xamarin Forms is a better concept, it just needs a Win32 target.
It's not about fighting the language at all, it's about not letting the language dictate the business rules. The functionality exposed by the app should be the same whether I code it in JavaScript, Go or Assembly. How I implement it in those languages is a detail that comes after I've decided what to implement.
Docker

AWS/GCE

Machine Learning

More AI

Front End Web Development
Actually it's not the body shop's fault -- I had a similar experience with my Model S. The parts are all special and tailored. The parking sensors, for instance, are unique and have to work with the car, which is by most accounts, non-standard chassis. For all of Tesla's forward thinking approach, they can streamline repairs by setting aside some parts.
You don't think that the peer-to-peer sharing of news and other online content has had a significant effect on politics, business, and society?
Emscripten maintains a collection of ports specifically for using with asm.js/wasm: https://github.com/emscripten-ports

It's a bit spare, and certainly not comprehensive. I've personally gotten ICU and jsoncpp working with minimal effort. Basically if the library has good cross platform support it should work.
Why Trello Failed to Build a $1B+ Business
I'm not sure I buy the arguments about cache, or it's something where I'd want empirical performance analysis to back up the model claims. Allocators will tend to place allocations next to each other in memory, so one might reasonably expect that objects allocated near each other (in time) to have decent memory locality. Likewise, I'm pretty sure cache sizes have grown over time, and looking at the provided chart, even going to L3 isn't the end of the world.

I'd expect that one of the biggest slowdowns that's not talked about is dynamic dispatch. Among other things, having to invoke functions by pointer prevents a lot of possible optimization (e.g., inlining of short functions). Function calls are pretty expensive, and having to do lots of function calls "for real" could also be a huge performance problem.

Of course, yes, garbage collection is a huge problem.
You're asking me to experience something I can't experience and have empathy for that experience. I do have empathy. That's all I can have. Using the fact that I can't experience something as a justification to be racist and sexist is disgusting, though. Just because a group of people are "in power" doesn't excuse racism or sexism. If I move to Japan am I allowed to be casually racist towards Japanese people since they are in power and the majority there?

Not to mention that I can't help my skin color, or gender. I didn't choose these things, nor do I have any individual say in the institutional racism that has persisted in the United States over the last few hundred years. I can keep being myself, and not being racist or sexist, and call out anybody who is being racist and sexist as being wrong, but that's it. Regardless, that doesn't excuse being racist/sexist toward white men. Over time demographics are going to change. Eventually, the United States will be more multi-ethnic than perhaps any country in history. When this happens, casual racism from times like these can lead to actual racism and bigotry later. You can't tolerate it anywhere, or it will grow like a virus and infect the minds of people for generations.
That sounds awful!

I know I'm saving a ton of money over a similarly-spec'd MBP (would run me about $2600 Canadian all-in, with no touch bar),

I bought a MBP 2016 last Saturday. It was defective (basically, the kernel would panic in a couple of minutes, probably bad memory). We called Apple support on Sunday (they actually called us within two minutes on request, no need to call and wait). Although they gave us the incorrect advise to make a genius appointment, we went to the store the next day, got the option to either get the money back or get a new machine. No questions asked. I didn't even have to show the defect.

MacBooks have a pretty large margin, but you typically get it back in service.
The logical end of that position is that states aren't allowed to keep secrets, which you are welcome to believe is possible, but it's not the world I believe we live in.
OP here. If being jarred from a pathological mindset by a major life event counts as "mystical wisdom," guilty as charged.

Cancer would probably have the same effect, but I prefer having kids. To each his own.
Looking forward to playing with it.

One thing everyone wants to avoid is lockin. I have the feeling now that if AWS raises prices, I can go to Azure. If Postgres adds some new RestFul feature, I can switch to it.

If I have to use your solution for the long term, and you are charging for it (which, of course, you should), I don't want to be bound to that solution forever. What if you sell the service and the buyer shuts it down?
There have been a few attempts at visual programming languages. None that have really panned out to the mainstream but I don't think that's a failure of the idea entirely. Some things like complex spreadsheets or MS Access applications have clear analogies to programming but are more visual in nature. And there are things like Mac's Automater that have a lot of theoretical potential. Some things like bash pipelines could be really amenable to a more visual style as well
Then again manufacturers drive down costs by reusing parts across models, so often you can find the part even though the model you are driving is no longer being sold (never mind warranty).

And at least with mechanical parts, there is always the option of third parties making parts. Its quite a different story when talking custom chips and firmware.

Consider the humble window wiper. More often than not these days it is not mechanical, but a electric motor driven by a chip hooked up to the CAN bus.

Similarly the central door locking and electric windows are likely to be on a single card pr door hooked up to CAN and an electric wire (the one in the driver side door being a bit more elaborate as it has controls for all the doors).
Yes. You want to isolate the main battery pack in a crash (400V applied to emergency workers is a bad idea) but you still want to be able to power some basic systems.
Thanks for perfectly illustrating the parent's point.
> If people expect that pow(x,2) transforms to x * x, then every compiler would have to implement that. This is a trivial example, but you in reality you always have to structure your code appropriately for some optimization to kick in, what if one of your target compilers needs a different structure?

Do you get your copy of Hacker's Delight off the bookshelf to look up the magic number instead of writing "x / 3"?

Everyone relies on optimizations to some extent. It's simply infeasible to do otherwise.
I hate to jump on you, since I commented on a lot of your comments. But I am genuinely curious if you can point me to documented cases. Your anecdotes of "I know women who were sexually harassed or discriminated against" is the same proof that the parent is giving.

I've seen sexism once, it was some guy talking down to the team lead of the help desk, this guy was _shredded_ by every person in the office, before being told to come to HR, someone came to clear his desk that day.

This was in the UK where it is rather hard to fire people, so I find it hard to believe to be quite honest that the situation is anywhere near as dire as it's painted. Of course, I wouldn't see it, I'm a big ugly bearded bloke.

But we need stats, stories, we need to hold people accountable if it's not the way it should be. Not tell everyone it's bad and then go on about feminism. The kinds of people who are causing these issues do not give a solitary fuck about how your girls have your back, especially if you're not going to hold the guy to account in the first place.
Truly, you think that money is all that matters? I strongly disagree.

My husband has a job at a small company. There is no doubt whatsoever that he could get a 40% raise by moving elsewhere. He has no interest in doing so, and I would discourage him from even entertaining the idea. Among the reasons:

* He works on products that he feels make the world better.

* Everyone, from CEO to colleagues, say _Thank You_. Regularly. And they mean it.

* He spends minimal time in meetings. When a meeting is held, it's for a good reason. Nor, as an introvert, is he encouraged to interact with the public.

* If he wants to go to a tech conference for anything even vaguely relevant, he never gets an argument about it. Nor do they suggest he do it on the cheap. They see education as an investment in staff.

* Like a lot of businesses, his company says, "We're a family." Unlike a lot of businesses, they mean it. When the spouse of one employee got cancer, the employees created a fund (that the CEO decided to match) to raise money for one of those "make food in advance" freezer-meals companies. This way the employee and spouse could focus on her healing, not on coping with dinner.

Nor is this a matter of treating a star player in a special manner. Of the 70 people in the company, about 40 have been at the firm for 10+ years. They have extremely little turnover.

Money? Feh. The point is to be happy at what you do. And he is.
Running Spark SQL CERN Queries 5x Faster on SnappyData