skysight-inc/HackerNews huggingface dataset:
> The blog would've been much better if it had been written in a less confrontational style, so the mistake becomes more of a learning experience for everyone instead of this finger-pointing match.

I wholeheartedly agree, both in this specific instance and in general. There's a reason experienced learners generally (in my experience) take a non-assumptive/non-assertive tone. When you've learned enough times how little you know, you've somewhat trained yourself to be open to learning sooner than trying to assert what you 'knew' as certainty.

Though the latter tends to be a more comforting notion, the idea that you "have the measure of things;" when your 'being wrong' leads to a misprediction or failure, and you wish to transition to 'knowing' what was correct with grace, which is easier when you 'weren't being a dick about it', i.e. being nonconfrontational.

I like to think of this SMBC graph on knowledge in relation to this. http://www.smbc-comics.com/?id=2177
This isn't just the WSJ, also the LA times and Guardian have similar stories, all based on the recent court appearance (just search using that headline).

It's a reasonable topic to report on, the government is accusing of Google of "extreme" (in their words) discrimination.
I agree. I also take issue with it's content, I think all the points made are very shallow and not necessarily correct.
Okay, what about it?

The web is not a particularly fast platform. That it doesn't always achieve 60fps in practice is not surprising.
According to archive.org this essay is from at most June 2006, which would put it at Python 2.4 or earlier. The specific performance characteristics of Python will have changed greatly in the intervening period.
re: bathroom --- what about Japanese-style auto-clean, auto-dry toilets?
Oh I know about breaking things with CSS for fun, this is mine: https://picnicss.com/

I'll probably reference this post later on, good topic and well applied to software dev.
- A major patch every month

- The amazing support on GitHub: https://github.com/Microsoft/vscode/issues
My incoming is already intimate knowledge to the state and my employer. Why isn't the DoL doing this type analysis across all employers? What exactly has to be divulged that the gov doesn't already know?
Extended Statistics! I was following the replication changes, but have just discovered the extended statistics and am more excited about them.

The directory renaming at the bottom of the post is interesting - I wonder if many other projects have to do things like this?
> Your browser does not support grids. Upgrade or suffer the subpar layout.

Chrome? But OK, snark at me anyway..
Ugh, not again.

R is good for tabular data and Python is good for text/image/nontabular data. And there's nothing wrong with knowing and using both languages.

Likewise, the world will not end if you use Python pandas for tabular manipulation or various bespoke R packages for nontabular manipulatition.

This isn't the battle that people should be fighting. It's not even a religious argument like web development stacks where a language can eek out better benchmarks. And as others note, this very article concludes that they both have their advantages.
I feel like there's some sort of parallel with the Machine Apocalypse.

"What if we build intelligent machines that execute their goals at the expense of humanity," we worry.
Bizarre observations. Grey hair indicates aging, and the likelihood of heart disease increases with age.

Why not fucking well control for age then?!

"Worn passport documents linked to increased heart disease risk"
I can't find any instructions on how to try any of the samples: supported host platforms, prerequisites, downloading the toolkit, building the samples, etc.
Right now I use pocket, but I want to try stash!

I will definitely write a short review, but I need 10 people to view the link to help me access it first: https://stash.ai/landing?source=f520deef
That's me. What the fuck should I do about it?
One way to investigate this would be using the developer tools in your browser. Usually the F12 key brings them up in the major browsers.

One of the great things about javascript and the web is that it is possible to 'dissassemble' most code at least partially.

Good luck.
Is it then Google's fault to fix society?
array.array isn't a normal python array. It's an optimized type/object where all the elements of the array are of the same type. The 'B' is a format string that indicates what type you want the elements to be. B == unsigned char

He's using it because it converts the int 65 to the string 'A', then toString() to join all the array elements together.

https://docs.python.org/2/library/array.html

See my other post though, it's not the fastest way to do this in python.
RHCSA has probably been the most useful in terms of applied knowledge, while a few various AWS certs (associates, sysops) have been valuable in terms of being a consultant at an AWS Partner. I've found being able to demonstrate knowledge through experience by completing personal and professional projects to be more valuable long term though.
Anyone know how this is bootstrapped to code execution? In the part written up, seems to get as far as “data reads past the end of a buffer”.
If you have to hire women overproportionally to achieve a certain quota this seems like a logical and even justifiable conclusion.
Smithsonian wants help transcribing 52k jokes in Phyllis Diller's filing cabinet
> If you are fairly paying both genders, wouldn't you necessarily have to take more unproductive and inexperienced female engineers to reach your goal? And if you're fairly paying based on those criteria, won't the female population be paid less as you try to take on a more-than-average number of them?

If you are fairly paying both genders, it's fair to assume that women would be paid less statistically.

They usually retire from work mid-career for pregnancy and possibly for a much longer time to raise the child (when it's not the man doing it, and when the couple don't have a nursery/grandparent, etc...).

Retiring from work at the peak time for career growth is a disastrous move on one's income. (Be it a man or a woman).
A Native Python IDE for Data Science
> Those universities/firms that didn't have Jewish quotas and discrimination got a good boost in performance over those who had quotas and discrimination.

Counterpoint: a recent study suggested that corporate boards with gender quotas worked better, because it meant they didn't overlook competent female executives in favour of mediocre male ones.
No list comprehension?

I thought list comprehension were faster than loops?
> One would think with all the money the military throws into imaging technology that they would already have this.

They do... the OP points to a product sold to military.

The US government develops its military technology buy giving companies like this R&D grants and then buying their product.
Maybe you should work on yourself instead of blaming PHP OOP code that sounds just fine.
Media file parsers seem to get hurt regularly [1] and can get targeted easily. Maybe we should rethink something there.

[1] 210 CVEs containing JPEG https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=JPEG, 158 CVEs containing GIF, 127 CVEs containing PNG, and this covers just the common web picture formats.
Can't wait until we can combine quantum computers with machine learning. It should lead to a revolution in material science and medicine.
Texas anti-masturbation bill moves closer to becoming law
> The biggest problem is linkrot.

This is a problem that I was tired of dealing with, and hence I made https://github.com/crestify/crestify

It archives all bookmarks to archive.org and archive.today.
Tracking the explosive growth of open-source software
In the long run, equities have always outperformed real estate, regardless of climate or weather events: companies and peoples can move, pieces of land cannot. And 'Mad Max' scenarios are currently not projected to happen anytime remotely soon if ever.
I also enjoy that the HN title has a different typo than the article - "Unkown Unknowns" vs "Unknown Unknows". And the heading in the article is "Unkown Unknows". I can't tell if these are deliberate or not...
> If you could hire women engineers for 80% of the equivalent man, then all companies would wan't to hire every other companies women at 90% of equivalent because they would still be getting a deal and the women would get a big pay bump. This is not happening.

Of course it's not happening, because according to your own response, people of both genders who have less experience get paid less.

People get paid in accordance with their experience. There is no arbitrage opportunity.
"zeroer"? I haven't heard that term.
Project Discovery: contribute to science by interacting with astronomical data
This is great because I couldn't go to production with earlier releases of logical decoding. Now we don't have to depend on a third party add on!
Right, but the DOL is absolutely stating things that sound like conclusions, not suspicions:

"We found systemic compensation disparities against women pretty much across the entire workforce"

That statement obviously depends on numbers they already have, and are not sharing.
You may enjoy the Interactive Fiction Archive -- including thousands of text adventures, tools, articles, essays, hints, jokes, and more.

http://www.ifarchive.org/
The last time I preprocessed with Python I only used csvreader. Client had sent a tree structure as two column table, so in one pass I outputted SQL for the recursive table with a bit of if-second-column-empty-then-figure-out-depth-of-first-column logic

Maybe R would work, but I'm familiar with Python. So Python stayed out of my way
The DoL claims "discrimination against women in Google is quite extreme, even in this industry", while Google claims "every year, we do a comprehensive and robust analysis of pay across genders and we have found no gender pay gap".

DoL is probably lacking data, and has a somewhat simplistic methodology (i.e., they see woman are paid less, but they don't know why). I highly doubt Google is intentionally discriminating against woman, I actually think they are probably trying very hard to have equal employment practices. But they still might be discriminating without knowing it.

Here is what could e happening: The DoL says "you pay women less, even when they have the same experience". Google says "we pay for performance, not experience, when you take performance into account there is no pay gap".

What Google might be missing is that there are unconscious biases causing performance reviews of woman to be more negative. I think that is highly likely. My understanding is that Google is highly reliant of performance reviews and performance pay, so under those conditions the DoL might be correct in saying discrimination is "quite extreme, even in this industry".
It's an insignificant risk. Virtually zero if you just use ordinary cleaning gloves. It surely can't be the risk of infection that is the issue here.
This bit about ICU support v.s. glibc:

> [...] Furthermore, at least on Red Hat, glibc regularly whacks
> around the behavior of OS-native collations in minor releases,
> which effectively corrupts PostgreSQL's indexes, since the index
> order might no longer match the (revised) collation order. To
> me, changing the behavior of a widely-used system call in a
> maintenance release seems about as friendly as locking a family
> of angry racoons in someone's car, but the glibc maintainers
> evidently don't agree.

Is a reference to the PostgreSQL devs wanting to make their index
order a function of strxfrm() calls and to not have it change when
glibc updates, whereas some on the glibc list think it should only be
used for feeding it to the likes of strcmp() in the same process:

> The only thing that matters about strxfrm output is its strcmp
> ordering. If that changes, it's either a bug fix or a bug
> (either in the code or in the locale data). If the string
> contents change but the ordering doesn't, then it's an
> implementation detail that is allowed to change.

-- https://sourceware.org/ml/libc-alpha/2015-09/msg00197.html
Having good directory names helps a lot; I'd be very surprised if other projects didn't also need to make it clear to admins what's happening.

(On the other hand, some projects need to make things _less_ clear - https://github.com/mackyle/sqlite/blob/3cf493d4018042c70a4db... - "users would (...) call [the developers] to wake them up at night and complain".)
JSX is a macro (it's expended to plain JS at compile time). Almost every other major framework uses DSLs (strings are evaluated and transformed into code at run time).
I love Sublime (it's my daily driver) but I've found that language support for VS-code is generally much better than Sublime. Node/ES6 support is generally much cleaner. PHP debugging in particular is very painful in Sublime (not-worth-the-hassle level painful), though to be fair PHP debugging is awful-by-default. The VS code plugins for it are pretty great though.
ah yeah, couldn't edit and didn't noticed it first time, so it's even smaller pocket money
Great thanks! I have assume array.array is similar to 2-dimensional array.
Nope. Any place "you are" makes sense should be "you're":

- "If your not a domain expert..."

- "No, it’s not the techniques your lacking."
Unknown unknowns also is a reason for the opposite - to be more careful releasing things that might be dangerous.

Often dangerous failures that happen are unknown unknowns. Fukushima is just one example for this.
Dumb question: does declarative partitioning pave the way for native sharding in Postgres? I'm not super super familiar, but it seems like along with some other features coming in Postgres 10, like parallel queries and logical replication, that this is eventually the goal.
Florian Weimer's reply is also interesting:

"Why do you think that? I don't see this documented anywhere, and I doubt it is something many readers of the C standard, the man page, or the glibc manual would expect.

The manual suggests to store the strxfrm output and use it for sorting. I expect that some applications put it into on-disk database indexes as a result. This will lead to subtle breakage on glibc updates.

(The larger problem is that there are definitely databases out there which use B-tree indexes in locale collation order, which break in even more subtle ways if we make minor changes to the collation order.)"
Fair-weather is a bit harsh. they have been in the union for 300 years and now even if all of Scotland voted for one party, they would be automatically overridden by London alone. The rich in London have no need of change, the standard person on the street disagrees.
Virtually every discussion of Python and performance should mention PyPy. If for no other reason than to disqualify it "doesn't work with deployment feature x or customer requirement y."

It's often a "free" speedup and generally Just Works.
Yes. Stuff to real later, stuff I want to share, resources I might come back to, quick grouped access to tools I use regularly (but not frequantly), links related to each of my dev missions, etc.
Sorry, didn't mean to be snarky. Chrome 57 supports grids, but I am aware that support for grids is far from common. Hope you could enjoy the article anyway.
"I really want React for desktop apps". There's currently one way to achieve that, was simply suggesting it.

They didn't mention web apps at all.
The page says to repro you just drag or send the file into any Mac app. But I couldn't get it to crash Safari or Preview on my laptop. OS X 10.10
I make about 10% less than my co-worker. We were hired for the exact same position with the same amount of experience (hired out of school). I just did not negotiate as well as he did.

I think trying to fully equalize pay (outside any obvious pay gap like women making 80% compared to men) across the board will remove the ability to negotiate.
Classes and inheritance are features of type systems, not OOP. Plenty of functional programming JS libraries use classes for testing types (for example, the Either monads' Left and Right).
Yes,CERN which does work using advanced mathematics every day doesn't know how to use multivariate calculus. /s

You do know that CERN, regularly publishes papers in machine learning , right?
Have you restarted it recently? CSS Grid support without flags in mainstream is very recent (last week?).
The ‘Earnership Society’
Impressive feature list. Glad to see logical replication is finally making it in.
How Blockchain Is an Execution Layer in the Cloud
Considering that there are probably hundreds of companies listed as Federal Contractors, and among them, the major Defense Contractors with thousands of employees. I would find it difficult to believe that Google has any grounds that would make them an exception to complying with the Federal requirement of submitting Compensation Data. From experience I can assure that Defense Contractors would have exploited any loophole or angle to relieve them of fulfilling this Federal requirement. Of note here is that Google was asked to submit this data back in September of 2015 and have been given numerous opportunities to meet their obligation. “Diversity and equal pay” of the workforce has been a very visible topic as of late, so you would think that Google would take a position of being in the forefront, and setting an example especially in the tech industry. It hasn’t been too long ago, Microsoft was being chastised for its apparent lack of diversity and equal pay. Google was not forced to be a Federal Contractor; they accepted that position and therefore accepted the responsibility of meeting the Federal requirement from the beginning. If Google had a problem then, they should have not accepted the responsibility of being a Federal Contractor. Maybe Google has taken the position that they are “Too Big to Comply” or they do have something to hide. But the old adage applies, “They knew what they were getting into in the first place”, and they undoubtedly accepted compensation.
The latest Skype is UWP
> I believe this vulnerability is introduced in iOS 10, so iOS 9/OSX 10.11 users are not affected

Probably introduced in macOS 10.11 or 10.12 then.
How I Built a Design Tool Chrome Extension in 6 Days
Wow, people here are being pretty hard on this article. I'm sure everyone here on HN has read their share of programming language flamewars, and this one doesn't come close. It's pretty mild.

I also think it gets something right - it does feel different to use Python and R, and the reason may be rooted in how these languages arrived at data science. Python, as the article points out repeatedly, is a general programming language that scientists liked using for numerical computing, so slowly it acquired a billion libraries for data analysis, stats, machine learning, and so forth. R was created by scientists and statisticians specifically to do stats and analysis, but in order to be useful, it needed to acquire the full capabilities of a programming language.

What feels most natural to you often depends on what direction you come from. If you're a programmer taking on data science, you may gravitate toward python. If you're a statistician getting deeper into code R may feel more natural. It would behoove you to learn both.

What on earth is wrong with that? I suppose that for a few people on HN, this might be a bit repetitive. But otherwise, I'd recommend this article as a relatively non-combative bit on explaining the different languages, especially for someone getting started.
Split Braining Akka Clusters
I hope that it will have that effect. We need a few other features first: partitionwise join, partitionwise aggregate, asynchronous query, and ideally hash partitioning.
Having a big family is a lot like owning a Harley Davidson motorcycle - if I have to explain, you wouldn't understand. <grin>

My wife and I like kids and believe children are a blessing from God. They are a joy to be around and I learn from them and from teaching them.

Plus somebody's gotta take care of my sorry self when I'm old.
Iirc graph ConvNets have been successfully applied to some Boolean Sat problems.
Its probably some combination of paid "shout outs" from popular accounts to the new account they are attempting to build and reposted or shared content where the popular account showcases a piece of content from the new account.

There are also likely to be large, influential, account networks that are real and when used to boost a new account, very effective (I know numerous people on instagram with multiple million+ follower accounts).

All of this is similar to content marketing and link building strategies that have been effective for a decade plus.
That's extending the base react component class, not an existing component class.
The python timings are for 1000 iterations. You are currently comparing apple to 1000 apples :)
Pac-Man 255 review
Thank you for pointing that out, next time I publish I'll make sure to have a friend proofread before hitting submit.
That's NEVER worked for me before. Maybe it'll start working now, but I know many folks who agree it simply failed.
Valuing Tech Diversity at My Public Library
Which in turn means they can infringe on any of your patents with no consequences. If they do, your only choice is to rewrite your entire application in a hurry, and only then you can sue them.
Clearly more men need to take time off work to help raise their children.
Clearly they've turned over at least some records before. They're making their case with 2015 data.
There is a finite amount of oil in the world.
I see -- thanks! Really cool stuff.
They have done something native...for many, many years. It's called Visual Studio.

VSCode has found a place in my workflow now and I don't care what language or platform they've used. It's proven to be more full-featured than competing editors and they are improving it much faster than other editors (based on my completely non-scientific, possibly biased observations).
Was thinking exactly the same. Plus you save an import. And no need to wrap it in a function since it's a short method call on a built-in. Would bytearray([97,98,99]).decode('ascii') be even faster ?
Google employees pay taxes.
I think it's safe to replace kids with humans here.
See: https://news.ycombinator.com/item?id=12166415
Actually I have a old phone right now that I've factory reset and have no Google account set up on.

I've still managed to install a few APKs I've downloaded via Chrome (for Android). One time I had to download one with my laptop because I kept getting an incomplete file otherwise but I think that was server issue.
It's the username of a parent comment.
That 7% isn't uniform through all age groups. At below age 25 women at the some education and position earn more than men. from age 25-35 the wage gap reverts, and from age 35 and up men earn more than women. With a work force that generally starts at age 20 and stop work at around age 60 the total result gives you that 7%.

So what would a rational fix be to that?
What is you use case for it? My only thought was sending just one table to replica to be used to do analytics on
..
>I've left the workforce numerous times to go do something interesting (defining the initial parameters of a new human life definitely fall into this category, but that's not the only social construction that can pull women out of the workforce), and it's increased my skill-set every time.

Well, these are not the types of leaves we're discussing.

Besides this is anecdotal at best. It's not like most "gaps on a CV" lead to "increased skill-sets".
if the worst drought in 1/2 a century occurred in 2012, then why is that a trend upward if a worse one was in 1962?
It would fail when you pass it 128. He's passing in values from 0-255. "Ascii" is sort of a misnomer in his post.
> The amount of grey hair was graded using the hair whitening score ... grade was determined by two independent observers.

I wonder how hard it would've been to use some simple analysis of a photograph of the hair.