skysight-inc/HackerNews huggingface dataset:
so the question is: how does a new social app compete against facebook? how do you beat them in the end?
>Low statistical power is an obvious symptom of weak research.

No it isn't. It is a simple one but it isn't obvious. Low statistical power is just one of many indicators of research quality. Qualitative research with sample sizes in the single digits can be done well and research with large statistical power can be done poorly. The measure of quality in research is much more conceptual and cannot be reduced to rule based measures without failing completely.
> As long as you don't use C or C++ (or you're carful to be multiplatform), all switching is a recompile away.

why do you say "as long as you don't use C or C++" ? these two languages are especially good when it comes to compile a single code base to multiple platforms. Got a 150kloc C++ app that "just compiles" to windows, mac, linux, android, iOS, under x86, x86_64, ARM, and it even worked on PPC macs last time I tried.
Well the other side of the equation is what the new distributors (Netflix, Amazon, etc.) are willing to pay to stream a given property. If a property keeps jumping from service to service and in and out of availability I would guess it has more to do with a mismatch between the perceived value of the property and what the streaming services are willing to pay for it.

Artificial scarcity is a thing I can't argue with you there, Disney has been doing it for years with drip-style "anniversary" releases of their properties on media. I would fully expect them to do the same with their streaming content.
What if you're deferring to smarter people who want to hurt others though? Quite the conundrum.
I work in a University setting where we have student's working in our various projects. While some stay with us for a number of years, some are with us for a semester or two.

Even with full-time staff, in the almost 6 years I've been here the rest of the dev and design staff completely changed (and grew).

In my opinion, if you're not using history/blame your code is relatively new, or you're the only one touching code. Or you have regular code reviews (paired programming, whatever).

Seven years at my last job was just full-time staff, but we had the same issues, once a version control system was actually implemented.
Yeah, I want to see you buy a 2.5 year old car on the open market for less than $3,000 even with high mileage.

I had to total out a 1997 Honda Civic due to a collision (which I got fixed, thanks), and the insurance reduced my payout by almost $2,000 because that's what they could get sight-unseen for a totalled car.

Yeah, I was more than a little pissed.
The fbar/fatca/fincen filings are insane (assume you have 3 bank accounts, a couple of pension /health spending accounts, a saving account you opened for your kid, etc; and that the total tops $50,000 - you're going to have to file 10-20 pages of details with stiff penalties.

Not to mentions that banks and brokers refuse to take you as a customer if you are a US taxpayer.
It wasn't a "narrative" when hundreds of leftists physically attacked many dozens of random, innocent people over the course of 3 events in Berkeley.
Yes, that is complicated.

But equally messy was the origination of the Euro. Equally messy (maybe even more so) was the introduction of "legal tender" in the US in the 1860s-1890s. Equally messy was the abolition of "National Bank Notes" and the brief period where we had bank notes, Federal Reserve notes, United States notes, and Silver Certificates all existing and only mostly compatible. Or the Indian demonetization of the 500 Rs note. Or the Cypriot bank seizures. Less messy, but still complicated for those affected by it, was the seizure of gold bullion or the closing of the redemption window in the US.

Money is complicated, and Bitcoin has less history than any of these currencies.
>At the speed of 1000 possible email addresses every 25 seconds, you could probably guess the email of quite a few visitors I think.

No way! Do you know how many Google accounts are out there? As I mentioned before, the person would have to, at the rate given, stay on the site for 2 hours to even have a statistical chance of being guessed unless you knew exactly who the target was.

Overall, this issue seems to only concern a specific individual that's being targeted by another specific entity. It doesn't seem useful or workable at all if you're guessing against a set of known emails.
I am not sure if you are going about this the right way. Instead of doing .NET standard, .NET Core and .NET full framework with overlapping functionality, I think it would better to have .NET Core as the underlining cross-platform standard. Then add WPF, WCF and whatever as separate packages that may be cross-platform or not.

The whole thing reminds me a little of the UI situation. Start with Winforms, don't improve it but start WPF (and keep Winforms), then start Silverlight, then start UWP. All in parallel instead of building on top of each other.

MS doesn't need more more frameworks, but less.
> "Yeah, you can joke about Trump, and you can joke about Hillary's emails"

There was more than just "joking." There was a hostile atmosphere for a lot of my peers who voted for Trump, akin to how women might have felt after this latest memo. The thing was, that it was perfectly "acceptable" (within the larger "Google culture") to create an environment hostile towards conservatives, with no Management backlash (probably because a lot of them felt the same way). The point was they didn't find that kind of "harassment" towards conservative employees problematic at all.
As a person who's lived in both, this definitely makes literally no sense. The startup ecosystem in NYC is leagues above Dubai (which is honestly 90% joke, useless startups). NYC is by any reasonable metric (funding, unicorns, exits, etc.) in the top 5 startup ecosystem worldwide.
If it was up to me I would make the whole thing free. The publisher has to make their money somehow though :)

I was given the option to make two chapters free. I figured an intro to Nim and an advanced chapter were good choices.
Most of what you wrote won't make sense to non-developers. Hell, it won't even make sense to all developers. I'd say that's hard to understand, then.
. . . I may or may not in fact have considerably more of the WoW geography memorized than the layout of the city I live in.
EDIT: I don't think its fair to give this blog/author this amount of feedback.
Clearly he has no idea what he is doing:
https://github.com/agentS/pq/commit/c8f9125577fc92985e4b85d8...

> According to my opinion, a programming language should let a developer use his or her style. A heavy influence on the programmer’s style is okay, but a fanactic, religious-like enforcement is inacceptable.

I believe the OP exhibits a fanatic, religious-like enforcement of how he wants to format his code. If he would use gofmt, he would not have this issue:

> For example placing an opening curly bracket on a new line causes the compiler to emit a syntax error.

Because gofmt will fix it for him.

> The same goes for string concetanations that start on a new line.

Not even sure what OP means here. There are both the `` string escaping for multiple lines, and you can perfectly fine split up expressions over multiple lines, like so:

s := "aaa" +

"bbb"

> the linter displayed so many warnings due to my code style, that I turned it off.

Way to go, cowboy.

> Broken Package Management

See gb, govendor, glider etc.
Many languages can be critized for the same, but there are solutions. Use them.

> A possible mitigation strategy is shown by the Kubernetes project whose creatores store their application’s dependencies in their repository. However, this is an anti pattern of using a VCS.

No, this is not an anti-pattern, it is a perfectly valid solution to vendoring dependencies.

> No Inheritance, Missing Generics

Please learn the language better.

> Feature-Lacking HTTP Library

So, use one of the many http libraries around that suits your need better.
How many languages even ship a http library in std lib?
Churchill, of the SC AI competition, guesses it might take as much as 5 years: https://www.wired.com/story/googles-ai-declares-galactic-war...
I've been working in tech for the last 10 years. I've come to the point that I need to enjoy my life and not sit in an office 10 hours a day, coding for someone else's vision.

So I started a brand ( https://lasttrystuff.com ) of my own so I can enjoy an active lifestyle while adventuring. It doesn't quite pay as much, but the trade offs are immensely satisfying.
Texans vs. Panthers Live
Even a statically-allocated C array doesn't "really" have constant-time lookup with respect to size; the more elements it has the greater the rate of cache misses and page faults on lookups becomes (I'm pretty sure this can be proven true of all data structures). Moreover the possibility of cache misses and page faults means that while lookups take a fixed number of CPU cycles on average, any single lookup might take between <1 and thousands of cycles. If you truly need your data accesses to take a fixed number of CPU cycles, you have to handwrite assembly and put everything in registers. And even that doesn't account for instruction reordering and the possibility of interrupts or context switches.

I would assume the reason the Scala website calls Vector log(n) element lookup "effectively constant" is because in real-world use (as opposed to hypothetical ideal Von Neumann machines), the slowdown of the lookup algorithm with respect to n is nil, in relation to the decrease in cache and allocation efficiency with respect to n.

If you're creating some sort of ultra-fine-grained real-time system where everything needs to take a fixed number of clock cycles, Scala would be a pretty terrible tool for the job. For that sort of thing you'd want MISRA C or assembly running on bare metal, or a FPGA or ASIC.
You've conflated needless churn with progress.

They're not the same thing.
UK Politician Defends Brexit Team Gender Balance
The circumstances surrounding James Damore's "google memo" are a fairly clear indicator that we have a growing subculture of absolute ideological intolerance, especially in the tech industry.
My family lives in Portland, OR, which isn't nearly as expensive as (say) SF or NYC but has seen significant housing cost increases in the last 5-10 years. My wife works as a transportation consultant, which is a solidly white-collar/"knowledge" gig but pays far below what most tech gigs do. We could probably afford our essential costs (mortgage, taxes, car, insurance, etc.) on her income but we wouldn't have been able to buy a house here without the down payment that my technical work allowed us to pay, or the cash gift her parents gave us for our first (USDA-backed, 3.5%-down) home purchase.

My strong feeling is that most places with a robust employment market price most single-income households out b/c the expectation is now that you at _least_ have two earners. Kids take another chunk out of your "competitiveness" because of childcare, cost-of-living, and increased demands on your time (making it harder to really "excel" at work).
How is tuition $30K in China? It just is not. It's more like $1000 per year at most.
Consider the standard long division algorithm. Would you rather students become fast and accurate in applying it or would you rather students have the skills to understand what's going on and derive it for themselves? Drilling will certainly help with the former, but it crowds out time that could be spent exploring concepts. There's a balance to be struck.
And again, I ask... What information or benefit does that give you that you didn't know before? This only works on specific people and targets that you've had to identify before using this. I have yet to hear of a specific example of this being used for nefarious purposes outside of confirming that someone visited a page and there are hundreds of ways to do that without needing to invoke this workaround.
They mean vote counting should be hard.
Into this awful situation comes an unlikely savior in the form of Bitcoin. The Atlantic is reporting that many desperate Venezuelans have turned to mining bitcoins in order to feed their families. This unlikely scenario has come about due to one mitigating factor: electricity in this impoverished nation is essentially free as a result of the central government massively subsidizing it.

Cheap power has allowed people to operate Bitcoin miners without the usual accompanying cost. Reports have stated that successful Bitcoin miners can earn up to $500 a month, which is enough to fully feed and supply a family of four. As the country’s cash currency is essentially worthless, many businesses and people are now using bitcoins to exchange goods and services.

However, there is a fly in the ointment. President Maduro has begun cracking down on Bitcoin miners, calling them “capitalist parasites.” Yet trading bitcoins is still allowed. This has led to a number of miners being arrested on flimsy charges, which can occur as there are currently no cryptocurrency laws in Venezuela.
Ounce of prevention is worth a pound of a cure.

I'll take never being shot over being shot while carrying a gun and maybe shooting them back, anyday
A lot of different things. CLI applications, games (a large proportion of the companies using Nim are doing this, and some indie devs[1]), web applications, GUI applications, some are using it for scientific applications. The list goes on and on :)

1 - https://impbox.itch.io/vektor2089
And `git commit --amend`

I missed a semi-colon or a file? I probably noticed right after I made the commit (and before I pushed it to the remote branch).
Apparently, I do not have strong standing from which to comment on this. I'm prone to neuroticism​. My bad. I would have never independently discovered this about myself without a Google guy to point it out.

Thanks Google dude!
WhatsApp's secret was that they struck deals with many operators world-wide to provide their messaging for free instead of counting it as Internet usage (look at Brazil for example). Not sure how did they achieve it but that for sure propelled them to #1 in many countries.
I'm glad you like it. I'm particularly proud of that chapter :D
JSON is no where near expressive enough to replace XAML, it would look a lot worse than what we have right now.

The XML-like syntax of XAML isn't the problem, it separates object properties from child content well due to it's nature - the bigger issue is how difficult binding syntax is to grok by anyone who hasn't been working with it for quite some time.
Worth noting that this also works with GSuite email addresses.

Reddit user 'unsafeword' has suggested (https://www.reddit.com/r/netsec/comments/6smdq0/how_to_confi...) that for organisations like schools/universities could use this for identifying their own users, as the list isn't that large.
Sure you can. If you signed your vote and all votes got included in a markle tree then you can for sure verify that your vote is counted.

Imagine bitcoin but with votes instead of transactions. Boom.
I think the problem is confusion as to whether it's being applied to the algorithm, or the implementation. The algorithm is not effectively constant time, as n is infinite. The implementation, which has an upper bound for n, is effectively constant because of that limitation.
>You fill out your ballot in secret, you're not permitted to take a photograph of it, and you place it in the ballot box without telling anybody what you've voted for.

In the US, only one of those is guaranteed [0]. In California, where I can get an absentee ballot just by asking for it, none of those is guaranteed.

[0] https://www.bloomberg.com/news/articles/2017-04-03/ballot-se...
Most gasoline engines are homegenous charge, and run within a few percent of the stoichiometric air fuel ratio. Diesels will run at 6x the stoichiometric ideal amount of air.
Thank you! Be sure to get in touch with me or the Nim community if you've got any questions :)
Here's the thing this chart misses. Metros. The value of SF isn't just the city itself but the entire SF Bay Area metro i.e. Mountain View, Cupertino, Santa Clara, Oakland, Palo Alto, Menlo Park, ... I'm still missing a lot of cities but you get the picture. It dwarfs most of the places on this list except for maybe Seoul and the other US metros like LA and NY

Also a lot of people who work in SF don't actually live in SF.

Another big thing missing from this chart that you can't put into numbers are local 'attractions'. For example, if you live in the Bay Area you have relatively close access to Lake Tahoe, Napa Valley, and other really nice spots. With a place like Singapore, you pretty much seen everything over one weekend (Malaysia imo is boring).
Yeah, see part one of my comment -- I've found that PyCharm is pretty bad at selecting `pytest` as the test runner. It works for test functions, but not for files/directories.

Perhaps I'm missing something obvious, but PyCharm just uses `./manage.py test` even when I've selected Py.test as the project test runner.
Thanks for writing the post. Sharding is something I’m consudering at my current job.

How long do these sharding projects usually take? Do you know of any posts that break down the steps in more detail?
> SC2 got rid of a lot of that

You think so? My impression is that SC2 had a lot more of repetitive tasks you had to do. E.g. wall off the ramp, send a worker scouting, ... and you have to perform certain actions every X seconds (like using chrono boost). A lot or mastering the game is rote learning, and polishing a build order. Another big part is constantly scouting and reacting to what the enemy is doing.

Due to those reasons I found SC2 a bit tedious (it was still fun, just felt more like work than SC1). Granted, this is maybe because I played SC1 more on LAN, and there wasn't all the metagame going on. But I think SC2 really does focus on "grinding" and rote learning to get better, probably this was chosen to make it more "eSports"-like.

If I would get to design a SC2.5 or SC3, I would remove all the rote - the actions you always have to perform - and I would give the player the opportunity to trade off more between macro and micro.

Actually, it would be cool if you could "research" certain AI features in game for a cost. For example, have one upgrade that micros your marines like a pro, or positions your units in sensible formations. Another player could counter this with a "radio jam" ability, that would make your units in an area take bad formations, or be controlled by a very simple AI. And if you are good at micro, you could save the update, or invest it in an update that makes macro simpler. And so on, I think there are a lot of things one could explore there. Maybe opening SC2 to AI exploration can lead to such gameplay innovations.
Oh I see, thanks, I didn't know. But man, 300 GB per game sounds completely nuts!
The Interactive Rebase tool in SourceTree is very good and understandable/usable. I use it all the time to squash some commits, leave others.
Just a comment: don't present yourself as a marketplace, you're not the kayak of food classes.

Your added value is that you're offering high quality cooking classes yet affordable (and that cannot be found elsewhere!)
The same way you verify that the person using the banking app is the one they are supposed to be. Or any other service.

Obviously you use your device, and you can lock it with a password. You can use two factor authentication.

It's straightforward, really. You sound like identity has never been solved electronically.

If anything, holding a physical paper id document is far less secure than a personal device with your private keys in the Secure Enclave.
No bitterness there, nope.
I am so happy to be European... you guys in America always take everything to the total extreme.
President Putin’s Aide Set to Launch a $100M ICO
This is beautiful to read because its not a formal summary for each coin, its a laymen's explanation and a little color commentary. My favorites so far:

>DigiByte
Problem: Bitcoin’s development is too slow? I can’t really find much of a direction for DigiByte.

>DigixDAO
Problem: Purchasing custodial gold requires too much trust and would be more efficient on a blockchain.

>Nexus
Problem: Why aren’t digital currencies in space yet?
If you have any kind of saving or investment outside the us, say, a pension fund or a mutual fund, then you do owe quite a bit even if you live in the US (more if you don't). Almost all of these investments/funds are a PFIC by US rules, which means a world of pain - to the point that over 20 years you are likely to have to pay more in taxes than however much money you have there.
I should apologize too. I was just a bit flustered.

50/50 split might be naive. It assumes men and women should be equally represented and that makes liberally minded folks feel good. But what's the alternative? Status quo? A different and arbitrary split? I don't see any good arguments against equal representation.

The current diversity initiative is biasing towards 50/50 and the memo guy didn't like it but didn't suggest what it should be, only that it should be less because biology. You can see why some people might read that as a first step back to status quo.

Personally, I feel 50/50 is a good first approximation. Maybe it's really 70/30, but no one knows and there aren't any studies to back any up.

Oh wait there is:
Bear, Julia B., and Anita Williams Woolley. "The role of gender in team collaboration and performance." Interdisciplinary science reviews 36.2 (2011): 146-153.
Sounds great if you want to optimize for your personal happiness. But not a feasible way to really make an impact on the world. The world needs more of the latter IMHO.
I read in comments from people who claimed to work for Google - diversity initiatives in Google aim to bring the diversity close to the male-female ratio in the applicant pool. Couple of other companies I know where number of employees are in thousands, the diversity initiative aims to achieve something similar. That does not seem like a bad idea at all.

Humans are complex beings. Is interest in a specific field or profession a function of only gender? Would not the surrounding environment, role models, religion, books read, experiences in life and various other countless factors affect a person's interest and character?

I don't think he was wilful. He was wrong to reduce a complex subject like human interests and behaviour into a simple statistical function.
Ooh, this'll be interesting to see, as with AlphaGo, a lot of people disputed the "experts believed it would take ~10 more years" claim retrospectively.

With SC2, no AI even comes close to beating even a silver level player, so even a 5 year timeline seems really soon. Let's see if DeepMind can beat it!

What's your totally unscientific guess, Gwern?
No one requires these biometrics to make bank transactions. The bank can give you a simple security device, but with smartphones even that is optional now.

Biometrics, seriously?

Biometrics are only a one-time proof when eg you are issued a token. They can be replayed later and can't be used anywhere except where there's a physical security guard preventing tampering. And even then you trust the security guard.