skysight-inc/HackerNews huggingface dataset:
Why are US companies always so aggressive about moralising these issues? No one would take issue if he carried a gun at work. Why is it that corporate morals rule?

These are short questions that probably can't ever be fully answered and require books to be answered even semi-adequately. That said, a good answer probably has some element of the U.S.'s strange relationships with sexuality and Christianity, going back to the particular kinds of European settlers who showed up here. This is often referred to as "Puritanism," although the Puritans actually had a much more complicated and less prim experience than is commonly supposed with the slur "Puritanism."

At the same time, in the last several decades (maybe 50 or 60), there have been various strands of feminism; two particularly noticeable parts could be labeled as "sex positive" (Camille Paglia is a good person to read on the subject) and... I actually can't think of a good label for the other one. But the other one actually has quite a bit in common with the old-school and religiously motivated views of sexuality as dangerous and in need of extreme restraint or channeling into "appropriate" spaces. This one has quite a bit of currency, currently, and it has a lot of continuity with past aspects of U.S. culture.
Ask HN: What do you do when you're struggling with a project at work?
I'm struggling at work on a project involving a large legacy codebase. I'm going to end up going well past the timeline that was budgeted for me and am starting to feel self conscious about how long the project is taking. I'm starting to have self doubt and am fantasizing about quitting. Thankfully my manager hasn't been breathing down my neck, although I am sure he's keeping some of his frustration pent up. Would appreciate any advice on how to deal with situations like this.
This "Linus is a jerk" meme is old and tired.

The moral-superiority bullies are jerks too.

Same as people who use their position to push their politics.

Maybe we should all just be adults and focus on the work.
I was very sad to hear this. I still remember in Elementary school encountering the book "Koko's kitten".
Yes it is? The article is about bias in algorithms, which skews results. In the case of the ProPublica example, the claim is that a particular subset of the results of an algorithm is more skewed than the full set. Nowhere is it argued that individual samples can be explained probabilistically.
I regularly have 50+ tabs open... i know friends who will have multiple browser windows open and im talking like 5 - 10 windows with 50-100+ tabs in each window. Browser developers absolutely have to account for the fact that some people are lazy and dont want to close tabs or browser windows. If a browser can handle these extreme cases, its got a bright future.

Edit: spelling
My experience is working in ad tech for many years.
What a shitshow. They could just disable cookies instead, or display text-only versions of the articles instead of this passive-agressive behaviour.
EU’s attempt at internet copyright reform is a ridiculous own goal
Good observation, gaming is absolutely a post-modern phenomenon. Any creative works with which audience actively engage and interact (rather than just observe)--and especially those that by necessity require the audience's engagement, or blur the line between the creator and the audience--are by nature post-modern.
Without the experiment the equations are just some symbols that can but don’t have to have any connection to the reality.
Most of these services handle the filings and paperwork for you as well.
And... I've conflicting info from different states as to when the sales tax should be calculated. I'm dealing with a project right now that is both "pay now" and "delivery and services paid for later". At least one state said they'd prefer us to calculate the tax both at 'time of sale' and after money is collected after the service is provided/delivered, and because the rate may have changed (between months, for example) and they want the higher amount.
Are Your Customers Happy? Tracking First Call Resolution
Ever since the JDK 1.0 days, I didn’t get why there was this C/C++ carry-over inconsistency of manually-boxed types and non-Objects primitive types separated from Objects. A type hierarchy, patterned similar to Ruby’s as an example, makes the most sense:

- Object contains a Class that it derrives from (no BaseObject or Modules)

- Class is an Object

- String is an Object

- Boolean is a two-value singleton of true and false

- Number is an abstract subclass of Object

- Decimal and Integer are abstract subclasses of Number

- Float, Double,
LongDouble, BigDecimal are concrete subclasses of Decimal

- SignedByte, Byte, Short, UnsignedShort, Int, Unsigned, Long, UnsignedLong, Char, BigInt are concrete subclasses of Integer (or U/I/F## types reminiscent of Rust instead of C type names)

and so on.

Then there is no boxing/unboxing of simple types or literals because they are one-and-the-same, and no there’s no confusion about how to interact with any truly generic type of value.
Signed integer overflow is undefined, so the only obligation is that the code operates correctly when signed integer overflow doesn't happen. So, yes all those options are permissible, because as far as the C standard specifies, it's "add i,j; if false jump to random; store k".

If you want to add a definition for signed integer overflow (as C++ is considering, see http://wg21.link/P0907r0 ) then it would be defined and the compiler would no longer get to consider "if signed overflow" and "if false" the same.
That's still difficult to comply with. Imagine 50 different laws like that, each with their own tiers, and consider the difficulty accounting for them all and staying in compliance. That's not even getting into municipal taxes.
> Procrastination is the avoidance of activity due to a discomfort/fear/anxiety and subsequent inability to scale the discomfort wall that exists between you and the tasks' completion.

I am pretty sure my main reason for procrastination is the fact that I never learned to endure suffering/discomfort while growing up.

I grew up very sheltered and I was never forced to do anything which I did not like (bring out the trash, clean up the room, talk to people, ...). It was kinda nice growing up like this but when you turn 18 and have to enter the real world you realize you miss all the coping mechanisms which you need to do uncomfortable stuff.
It'd be cool see some stats for the results people get. I'm sure a lot of people are taking the quiz right now. Could we find what makes people procrastinate most often?

Spoiler, I got 'lack of value' and for some reason I bet it's gonna be a winner, at least when it comes to the HN userbase
I was referring to this article that was pretty well circulated: https://venturebeat.com/2018/06/04/the-ai-winter-is-well-on-...

It seems as if there is a gap between what we're expecting AI to achieve in a short period of time and what it's actually achieving.
There's a bunch of services that you can send your transactions to and they'll return sales tax data via API, your accounting software should have integration for them already. Worst case you can do them on a simple web form online (enter the address, types of goods, etc)

Those same services can also automate your tax filings with each state. It's not free, though.
I'd be all for a federal VAT over federal income tax. But that wouldn't remove any of the state or local sales taxes.
Like the insider trading thing that somehow never was investigated?
This is because Youtube pushes VP8/VP9-encoded video by default to save on bandwidth. Unfortunately, absence of a hardware decoder consumes a ton of battery. Both Firefox and Chrome receive VP9 encoded video.

Safari doesn't understand VP9. So Youtube pushes H.264 video which can be hardware accelerated.

To force youtube to send H264 in firefox/chrome you need something like https://addons.mozilla.org/en-US/firefox/addon/h264ify/
Delete as many things as possible without breaking anything. Lots of crap tends to build up and nobody wants to keep lugging around several hundred megabytes of useless auto generated build garbage.
It's already non-easy to figure out what customers want, make it, make sure they know you have it, and get them to buy it.

On top of that, lately it seems more challenging not to be an oligopoly if you have customers in Europe and/or the US.

I suppose this represents an opportunity for startups to help other startups to manage compliance and payment.
What is Nvidia's strategy for "streaming" games, games that execute on a cloud server and streaming to thin-client machines? I assume such a future would see the gamer market for cards disappear.

Take that future, add the possible future collapse of crypto currencies, and I see a significant existential risk for anyone whose business relies on GPU sales. Not a 100% future, not ever 25%, but something to think about.
nice one, and good advertising for BAAS = boss as a service .

PS: how many user does BAAS have, and: is it automated?
and they won't admit it.

There's your problem. If you are writing a "here's how I did it" post, you should be clear that you don't have any idea what you're doing.
16 blogs and newsletters to follow for DevOps practitioners
> When solving pretty much any problem that I don't have an existing cookie-cutter solution for, I do some prototyping as part of the process of figuring out how it works. Sometimes I do this for arbitrary things that are irritating me, or that I think might be worth looking at.

Well, of course this is how normal development works. This is the work I am talking about that would _not_ get done because the OP was working on a prototype to solve some _other_ problem.
Fore!
Then why not ban friendships in the workplace? Surely they could result in the same kind of perceived biases (e.g. cliques).
It is about 50/50.
Talk to your representatives and let them know the pain the vague and overreaching GDPR causes you. Perhaps, in time, law makers will undo some of the harm they've caused.

Until then, invest in a VPN that lets you appear to be from elsewhere.
The usual meaning is that it's a somewhat gradual discontinuation, but in this case I think it's an attempt to be polite towards those who made the decision to use React Native in the first place and to the creators of React Native.

Scrapping it, ditching it, dumping it, etc, sounds too much like React Native is crap and someone made a mistake choosing it.
Of course they were sitting on it. However, I don't understand why didn't they go the usual nice route - Brian, how can we quickly get rid of you when we need to? Is $10M enough to cover any inconveniences? Enjoy your retirement and see you at the golf course!

Game of Thrones Season 80x86?
That sounds harder and more expensive for the business than simply having a standard system to collect and pay the sales tax.
Deep learning has produced a lot of interesting results over the past few years, but we're still miles away from anything that even approximates human intelligence. When I hear someone like Elon Musk say something like "Autonomous vehicles can drive without Lidar because humans can drive without Lidar" it makes me cringe.

The human brain is unimaginably complex. Even if we created a neural network on the order of the 100 trillion or so connections in the central nervous system we would still not even be close. Each one of those synapse is a complex, constantly adapting chemical computer which is sensitive to the interaction of dozens of neurotransmitters. Gradient descent is to neural adaptation as minecraft is to photorealism.

The idea that artificial intelligence will be achieved by adding a few layers to a "deep" neural network, or by throwing more data at it is laughable.
> I doubt it was some hybrid free for all like you're suggesting.

I certainly would not have expected it to be a free-for-all, but the quote I pasted suggests that there was not necessarily a perspective on how the decision about the boundary (or boundaries) between the technologies would have an impact over time.

We've all been there. You hire a super smart native developer who has been doing nothing but native for a long time, and he/she can work magic that makes the equivalent (probably a bit immature) implementation in RN seem pedestrian. Then, because the native dev is experienced and respected, the consideration of boundaries is ignored in favor of gratifying the feat of engineering that was just done.

Repeat that a few hundred or thousand times and the code is going to need a full rewrite, but since that is hard to accomplish politically the most likely outcome is to preserve the "value" of the native code, since it cost more (in salary) to have built, and to blame RN for the problems.

I use the Airbnb linting guidelines for JS and while they are generally useful they suggest a culture of pedantry and a failure to see the forest through the trees. One of the React core team members recently ranted on Twitter about the robotic desire some people have to pretend that moving components to functional components counts as work, etc.

So based on that I would not be terribly surprised if the decision making was locally optimal but globally crippling... or, suggestive of a devaluing of systems thinking in favor of pedantry and the petty tyranny it installs in its zealots.
How is a type checker or the presence of types synonymous with clean code?

The two are totally orthogonal concerns.

You can write highly obfuscated spaghetti code from hell in any type checked language you wish...
I'm aware - but specifically excluded dev tools as faking text in scenarios where dev tools may not exist (eg: chat programs that aren't taking place within the browser) is still trivial.
Distill!
Stand-up meetings: 5 reasons to kiss traditional meetings goodbye
We still fake the surface properties. Skin, for example, involves a lot of subsurface scattering, and we're very far from that. So texture maps it will be for a long time.
Osquery Platform Launches with $10mil in Funding
My understanding is that it's been mostly Ethereum driving demand for GPUs. Bitcoin can be mined on dedicated ASICs and mostly is. Ethereum requires more general purpose hardware with a large pool of RAM so people use GPUs instead to mine it. I presume the recent decline in demand for mining GPUs is due to the decline in price.
Yeah I've never used a service that made me call or email and never will
Perhaps I missed it, but I did not see anything about controlling for the potential effects of those persons with ASD having taken drugs to mitigate symptoms. Couldn't the biochemical effects of ASD drugs themselves be the primary indicating factor? I've seen studies on biochemical indicators for schizophrenia also make this same mistake.
Your last line is instructive. Often the biggest failing of people who abuse this adage is they fail to complete the process -- they don't actually ask for forgiveness and reconcile an urgent action with the needs of the people around them they stomped on. Without that, it turns into one long "I do what I want" temper tantrum, which is just awful in a team context.
Bad backwards PR on the part of the Chinese government that does more harm than good. China is its own worst enemy in regards to media.
Besides, whether it complains or not about misused types, says nothing about the code being clean or not.

One can write totally unreadable code in Scala and a totally readable version of the same algorithm in Python if one so wishes.
Dehorned bulls.
If you're going to go way past the deadline, let your manager know as soon as possible and be honest. Explain why. They may be able to schedule more time or get you more help (possibly from someone with intimate knowledge of the legacy codebase).

From a coding perspective, break each task into smaller, more manageable tasks that you know you can do. Sometimes looking at a huge task can paralyze you.
Thank you for that stance, if only all developers felt that way, things would be vastly different. Unfortunately, so few think twice about ethics.
‘Stealth’ material hides hot objects from infrared eyes
How to Protect Your Privacy Online
As I mentioned in another comment, I discovered the counterfeit items very late - way past their purchase date and some of them already consumed.

Amazon refused to take responsibility and some items such as cosmetics are not eligible for replacement/refund. I tried to leave reviews but the first time around, the reviews were rejected and now they are just "black-holed" - meaning I can submit them but they never appear on the items review section.
A Boot Camp Career Reboot–learning to Code in Manchester
Societies redefine norms all the time, this is normal.
Yes, and only Volta diverged from it.
4 Tips from a Software Engineer – A Day in the Life of a Software Engineer
Their behaviour is more defensive in nature, really.
I also highly recommend using this http://www.majorgeeks.com/files/details/msmg_toolkit.html to fully manage your installation in the first place. This'll get rid of a lot of the crud Microsoft tries to force on you before it even gets installed on your pc. It also has the added benefit of significantly lowering the size of the image and speeding up the install times.

Of course I also highly recommend just rolling your favourite linux distribution where possible, but sometimes it's just not possible for certain professions.
Smyte is joining Twitter
Then I guess someone grabbed them by the horns.
It's relevant that France just set a ban for Titanium Dioxide in food products: https://www.telegraph.co.uk/news/2018/05/18/france-ban-e171-...
8 UX ideation techniques to try out
Comments moved to https://news.ycombinator.com/item?id=17365366.
I disagree - the motivations of the security group and the product group are different. If the security team is under the product team leadership, the security team is disincentivized to interrupt a product launch due to a security issue, because they're rewarded by shipping a product, not making it secure. Really, you should have both: you should have a security team that sits with the product team and works with them through the lifecycle of the product, and has continuity (i.e. it's the same security people with your product team through the life of the product, mostly), but that security team reports to different management and has their promotions, bonuses, etc. handled by a different leadership chain than the product team.
I guess this effect is why the reports are amplified, communication is such a powerful thing for us that even limited means to do so with an animal feels grand.

I wish I could met Koko
Actually MySQL has a well working multi-master replication with great automatic master election protocol and automatic client routing towards the current master. It's called InnoDB cluster, and my other comment, where I was trying to start a discussion around it, was downvoted.
With regard to dealing with impulsiveness on the internet by "throwing away the keys", the site recommends the StayFocusd extension for Chrome, but doesn't recommend anything for other browsers. For Firefox users, I recommend LeechBlock, which has a long history of maintenance, lots of users, and versions for both old and new Firefox: https://addons.mozilla.org/en-US/firefox/addon/leechblock-ng...
"Oops.

Sorry, we can't seem to find what the problem is."

Well, that makes two of us.
Seeing it applied to the chance of violating probation or reoffending after a minor crime alarms me for exactly this reason - lots of people commit minor probation violations (e.g. associating with criminals) or crimes (e.g. marijuana possession) and are never caught or charged.

Even if this is a case of "the data is biased, not the algorithm", it's important to remember that the data is "who was caught doing this" rather than "who did this". Concluding that people who live in stop-and-frisk areas are more likely to get drug convictions isn't actually wrong, but it's still unhelpful.
Yeah, it's probably worthy of further research, but (nonprofessional opinion) my view is that obesity trends are much more likely the driver for increases in type II diabetes.
Would love to see Stripe provide an API for this.
> a) these are marginal optimizations, at best.

The optimization isn't written in the form of "If you see this ridiculous code, make it less ridiculous." It's written in the form of "You can refactor repeated checks of presumed-non-aliased variables into a single check." Otherwise code like

for (i = 0; i < *plen; i++)

would involve dereferencing plen on every single loop, which for many applications is definitely not marginal!

> some buggy code dereferences a null pointer - which actually works in this implementation.

What implementation is this? (Are you mmapping at NULL, or writing for an architecture without an MMU, or something?)

NULL doesn't have to be address zero. It's denoted by literal zero, in the C source, but it can be something totally different when translated to the machine. Can you arrange for some other address to generate a segfault, and tell your C compiler to use that as NULL? (I don't know how to do this with gcc, and I'd like to know how, honestly - it seems like a significant win for kernel security if NULL pointers in kernel code were an invalid kernelspace address and not an invalid userspace address.)
Toastmasters.
Thanks for the insider update.

I don't understand, with the nature of the product (coming from open source) why is Symless doubling down so hard on centralizing this? Look for remote C++ developers across the world and get the tools to make remote work work well.

I was just talking with a coworker -- I used Synergy around 4-8 years ago, then my employment situation changed and I didn't use it for about 3 years. Have just started using it again, and it seems like it's actually worse than it was then. Anecdotal, obviously, but that's not a good trajectory.
Right, just please don't set up people to think that if only they fix them to work better that it will be okay! If the main argument is how poorly they work, it will be a short time before they improve and we'll be behind on focusing on the injustice of accurate facial recognition systems in the world.
5 Best JavaScript Frameworks for Desktop Apps
Nice concept, but all I got was:
"Oops.

Sorry, we can't seem to find what the problem is."
Anyone here stay working for Uber the money?
You don’t need people’s address to charge them sales tax. The business is responsible for paying the sales tax - not the customer.

e.g. If I buy a sandwich I do not give my name and address to the deli.
Why assume at all?