skysight-inc/HackerNews huggingface dataset:
By the way, I would love a suggestion with finding content to beef it up a bit.

I know GH is a huge source of OSS code, but how do I (easily & quickly) find code I can use that could be a good candidate to be refactored?

Ideally, it would be good if the code didn't have too many dependencies or it would be easily understandable so I can explain what the goal is for the refactor.

I tried just searching GH for the phrase "please refactor me", but that turned up a lot of old code and crap...basically.

I would love to be able to go through some of the large OSS projects (Rails, jQuery, any other large ones) and quickly find code that needs to be refactored and preferably have an explanation.

Anyone have any suggestions for how I might be able to do that without actually fully understanding the code snippet I am referencing?

Edit: Hat Tip to pkroll for also confirming that this should be a viable strategy to get content in his comment on this thread.
I think we use the term "Standard" because it accurately describes the fact that it is a standard enforced by a lot of institutions. Failure to comply with this standard is punished in a lot of ways.

To be clear, I'm not saying that's how it should be, I'm merely describing what exists.
I'm Canadian and went to a Canadian University with a pretty good ESL program. Having grown up in an RCMP family, I knew all about being the new kid and ended up volunteering fairly regularly with the ESL program.

Taking people (particularly those from China) shopping in Canada was always fun. I'd make the standard small talk:

(How's it going? Good, how about you? Good, loving/hating the weather?? Oh yeah, it's cold/hot/windy).

And, inevitably, my poor charges would be standing behind me, rapidly trying to write down the exchange. I had three big problems:

- explaining why I went through the ritual at every stop.

- explaining why the weather is so important.

- explaining what 'how zit going' means.

Turns out that enunciating is not my biggest strength...:)
That makes it $50 per article, seems about right to me.
How about "The Fourth"? The name denotes privacy and won't scare off people by sounding illegal.
The article treats conditions along WWI front lines as static. They were not. The conditions in the trenches changed from one part of the war to another. Gas was not a thing during the entire war. And the germans and allied trenches were different from each other, with allied trenches being much more haphazard due to the insistence that they not be permanent. Artillery too underwent change over the years, with new and technologically interesting shell designs changing the experience on the ground.

xxxxxxxxxx

(Something is blocking me from replying more than twice an hour. I'm trying to reverse-engineer this system to see exactly what limits are being enforced, but for now I'll edit-in this comment that I had wanted to add to ternaryoperator's link/pic.)

A million, ten million, a hundred million ... there is a point at which you are just moving the same dirt back and forth without any difference. I'm more interested in the smaller stuff. You can push dirt around for months, but is the barbed wire actually cut? Destroying the little things is very much harder than leveling roads.
No. That's a Microsoft reference. A strategy for coopting open protocols, then adding proprietary extensions so no one else can use them. It does not have anything to do with open source, and I don't think is something that Microsoft particularly does anymore. Though there are ample analogies to behavior of all large tech companies.
You're correct that the main finding reflects flawed statistical assumptions made by the major neuroimaging packages (or so these authors contend), but they did uncover a specific bug in one of the three packages (AFNI):

"... a 15-year-old bug was found in 3dClustSim while testing the three software packages (the bug was fixed by the AFNI group as of May 2015, during preparation of this manuscript). The bug essentially reduced the size of the image searched for clusters, underestimating the severity of the multiplicity correction and overestimating significance ..."
Double negatives as reinforcement fit just fine in several English dialects. Whether they do so in _your_ dialect is something you can judge. But any argument that depends on language features being "intuitive" or avoiding "corner cases" doesn't take into account how human language actually works. Double negatives would hardly be the most unintuitive feature of English.
The good rule of thumb is not to refactor into reusable parts unless you need to do something similar. It isn't hard, at that point, to split things up. Premature design is like premature optimization -- you do the wrong things, or things you never need to do.

And yes changing things in six places means you did something wrong, but that's easy to do when you start by splitting things into six places. The worst, of course, is when developers don't change it when it needs to be changed and instead just keep adding. Once you have something so designed it makes removing and changing code more painful than adding code.
It can be. I pay about $400/month for family covergage, this is unusually high for a tech job (many of which have little or no monthly from the employee). So still only $4800 of what might be many tens of thousands of dollars extra. Even $2000/month extra rent is still only $24000 a year, usually a fraction of the higher pay.
Recently I was reading your programmingzen blog, I think that elixir can be a good replacement for ruby and rails.
The Germans fired nearly as many shells, 1,100,000, in just the first five hours of the 1918 Spring Offensive.
Is this not a case for developer education? If developers are neglecting corner cases that's a real issue that needs to be addressed directly rather than having it be the job of someone else to clean up after them.
Show HN: Estimator – Let's give better estimates for your project/tasks/features
> The salmon thing was a statistical problem, not a technical one.

How is that relevant to the question of whether or not most fMRI research is wrong?
1) Site's hosted on DigitalOcean, not GCP

2) How's Snapchat using this? which endpoint exactly?

3) Your website has already been down several times (see other comments).

So sketchy!
CounterStrike:GO and a recent gambling scandal
For all of you that don't know, Counterstrike is a very famous computer game that exists for many years and its created by Valve. Its latest version of the game is called "GO" or Global Offensive.

You can buy some virtual keys and open cases to unlock ingame skins, although those keys cost money. You can also sell your skins on the Steam Market. You can also sell your skins on the black market for actual money.

Gambling with skins has been an issue for as long as the newest version of the game was out.

Recently there was a huge scandal about a person that was getting sponsored to falsely advertise by gambling skins to a website and make huge winnings. The whole thing was fixed and he is the one that exposed it because they refused to pay him as much as he wanted...

Now a new scandal is out involving huge youtubers that co-owned a gambling site and by making videos on youtube winning huge prices without letting anyone know that they own the company.

The video is not mine, although is more explanatory.
The problem is we don't allow a variety of cities anymore. We have effectively outlawed the denser European-style cities. The only ones that exist are those that are old enough to be grandfathered in.
Possibly this might explain procrastination:

https://www.researchgate.net/profile/Maarten_Boksem/publicat...

It seems to involve the same brain regions that Noakes identified as being involved in physical fatigue. However rather than protecting against damage, its function appears to be to protect against unnecessary expenditure of energy.
Which will ultimately open up satellite based communications for us mere mortals. I've been wanting to launch a short lived satellite for so long but costs are too high.
Lenovo scrambling to get a fix for BiOS vuln – bug or backdoor?
False trade off. You will think more clearly, be more productive, and learn faster with a fit body.
Docker and Serverless? Buzzword Stew
30 days ago you said they are producing 100,000 cars a year. You were quite confident then:

"They've sold well over 100,000 cars. The current total is around 140,000. They project 80,000 or 90,000 this year, with a slow start, so I think their current rate is 100,000 if not higher."

You shrugged off getting to 100,000 cars as no more difficult than other periods of time:
"
mikeash 26 days ago

Going from 2,700 to 22,000 in 12 months sounds difficult too, as does going from 22,000 to 32,000 and from 32,000 to 50,000.'
There are loads of other reasons not to accept dualistic free will.
Man. First with x64 assembly did Intel catch up with where Motorola was over 2 decades ago with their 68k series.

Lack of registers (and a logical organisation of those) and the boilerplate load/unload pain that caused when trying to write any non-trivial code was why I just stopped doing assembly when I moved to the Intel platform.

Such a shame they didn't address this earlier.
Most of these errors are not really interesting. Almost all of them are simple typos or syntax errors.

I get that this is the errors that are simple to analyze. Reference/value confusion would for instance be more interesting, but I guess that's harder to autodetect.
Algorithmia doesn't have special development tools or languages. Everything is over REST. Not sure what you're saying here.
Here is the aerial view of what a town looked like before and after almost a million shells were directed at it in WWI: https://upload.wikimedia.org/wikipedia/commons/c/c8/Passchen...
it's far from where the money is right now, which is telcom in GSO, though. it's fantastic as a proof of concept and a tech demo, but it still is ways to go.
Dudley Buck's Forgotten Cryotron Computer (2014)
> Steven didn't make a clear distinction between naive environmentalists and other kinds

But you do agree that he did NOT say people who desire clean air are like religious fundamentalists, right?

Isn't it clear from context that he's talking about the intrusive kind of environmentalists who try to impose their preference onto others (not people who want clean water for their kids)? It was clear to me at least.

I think some words (like "environmentalist" or "feminist") are so tainted by bad actors (who mostly rely on superstition and indoctrination) who label themselves as such that good actors (who mostly rely on reason and evidence) who used to call themselves that no longer want to use those words to describe themselves, and I think it's an understandable sentiment.

I think fossil fuels are great, and I eat meat every day and I appreciate factory farming that allows me to do so, and I don't recycle. I don't have any data on this but I think most people who call themselves environmentalists probably don't want to call someone like me an environmentalist, and I'm fine with that.
I admit that I don't know what I'm talking about. Care to enlighten me on what native SDK's are capable of?
Not exactly, no. I'm not concerned about using antitrust authority to police open source. Regular copyright law, combined with usefulness of open source project, is enough and should work (or fail) on its own. What I think does merit some review is a corporate policy to build a market or platform around a widely-used protocol (whether or not technically open source), then extend the protocol so that you break other implementations of whatever you're doing. For example, let's say you build a SIP telephony service that's extremely popular. Then you introduce some proprietary elements so that all traffic that you route uses SIP + your proprietary extension. Suddenly everyone has to pay your toll to use SIP, unless they want to give up access to most of the market.
There is no single correct answer as it always depends on a huge amount of variables, many of which are in constant flux. You yourself will almost always have the most accurate information to make a decision what's best for you. Spend a year with Rust and a year with Swift. Then you'll be at a far superior position to choose which one of those to invest more years in, or to look for a third language. Which one to choose first? It doesn't matter, flip a coin if the decision is difficult.

Learning many languages/frameworks/styles will make you a better programmer than just investing decades into some supposed unicorn. Peter Norvig has a great post on this called Teach Yourself Programming in Ten Years. [1]

[1] http://norvig.com/21-days.html
I can assure you the vast majority of UK voters didn't give a crap about the personalities involved, nor were the decisions taken for "emotive reasons" (sure are lots of people in denial trying to claim that though).
"But it isn't: its rules are rigorous and intricate. You can't simply simplify Standard English and arrive at AAVE. "

I 100% agree about the quality of this paper and the quote above. It took me years of trial-and-error in black schools to learn to spot or speak correct versions of their language. I won't even say I mastered it or anything: just passable. I watched plenty of times when people transfered in, talked like they're hood, slipped on some little rule, and had a whole room stare at them. They almost always got called out then usually admitted they were faking it to be cool or blend or whatever. Even the whites like me learned to spot what was authentic or fake due to those intricate details you mention.

Fun to finally read a detailed analysis of it. One thing that might be worth more research and writeups is one of reasons even I resisted it to a degree: changing words with a common meaning to mean the total opposite. It was really hard to keep up with without watching shows or listening to music they did... my guess at where many trends started. Confirmed it for some. I nearly got into a fight over a guy I was told acted "so cold" to a specific woman I was friends with not knowing they redefined it to mean something like "awesome." Usually just awkward situations rather than violent but it did and still seems like a foolish practice. Interestingly, they later made same recommendation in a different form about rebel flag: had intrinsic, established, and negative meaning that can't be erased by merely using it in different meaning/context.

Rest was just how they talk far as I figured. The country whites had their own form of English, too. There was the "true Southern" accent some upper-class people had. People in from the cities in the North had theirs. Some whites and blacks stayed speaking Standard English. My words and style are a combo of all these as is probably obvious. Once exposed to enough styles, I never let myself get to hating AAVE as it was clear many people just spoke differently. More like just straining to keep up with its changing definitions so I could seize a good opportunity or avoid an assault.

Note: Strange enough, this is also the first time I've ever heard "AAVE." I don't follow linguistics or the debates in the papers since I figured it would just be closet racism. I just listened to what people around me said since they followed all that. The blacks themselves, including English teachers, explained the AAVE concept in school by saying (1) it wasn't broken English, (2) it was their own language/culture, and (3) it's called Ebonics. Reading Pullum's education on that word was ironic and funny given blacks, not whites, spent years hammering it into my head. Whites just said "talks/talked black" with a few using "ebonics" for mockery. Now, I'm going to try to forget it in favor of AAVE which is indeed a better term. Just can't believe I haven't seen it or heard it so little from blacks that it went away with my memory. Strange.
https://news.ycombinator.com/item?id=12014075
Many folks get Part C or D coverage that give them the option to get dental/vision included too, if they don't just buy it separately. My parents pay $95/month or so each for Kaiser's Medicare plan in the Bay Area, and that includes dental and vision. Medicare itself is not intended to cover everything... that's what the Advantage and Part C/D and Medigap stuff is for.
To be fair, there are more arguments to be made contra free will (thought experiments like: At what point from conception to adulthood would free will develop (if at all), could free will be a merely probabilistic byproduct, etc...) and even if the details are wrong in these fMRI images, the general notion that a motor signal is generated before it appears in consciousness might still be valid.
When I think about economy of scale and software development, all examples I come up with have the property that any gains are diminishing quickly. For example, a large system has a better build system, which catches a higher number of bugs, therefore the developers are more productive until the now larger project eats the added productivity due to higher complexity.

On the other hand, what in traditional industries would be called production, that is producing the specific website for one request, has a rather absurd economy of scale. With a single server and a static site you can serve a sizable fraction of the world population, with negligible marginal costs of serving an additional user. Actually Metcalfe's law suggests that the marginal cost of serving an additional user is negative and hence we get the behemoths like Google and Facebook instead of competition of a few different corporations.
Nigel Farage, the architect of Brexit, has resigned as UKIP leader
In my experience it is that teenagers never start on facebook. Sure, many have accounts for SSO purposes, but they just don't use it. I have 4 of them in my house all with iphones and only the oldest (18) uses it sporadically.
A few years ago I showcased my little messaging library (http://msngrjs.com/). Since then I've used it in almost all of my projects, reworked the API multiple times, significantly increased performance and added many APIs (net functions that can do restful calls in node and browser, a merge cache and various validation helpers). It's up to 700 downloads a month on npm.

So it's gained traction and I constantly improve it since I wrote it for me a long time ago. I'm working on version 5 as we speak which is another API change but one that's going to make it far more approachable. Once version 5 is out it will become the LTS version and still stick around for a very long time.

I never get much feedback on it except for the folks at Immuta who used it quite a bit. I wish I got really any feedback but since it's written by me and for me it ultimately doesn't matter much (though I would love to improve it for others).
Do they exclude from those numbera cars they produce that don't work off the line?
Of course you shouldn't let users define your product. Nothing about what I said suggests that.

When you get requirements from your users, they're going to mix in how they think about the problem with how they think that problem should be represented in the program. The problem with that is that they don't know what computers can do, so they can't possibly be expected to know how the problem should be represented in the program. And in fact, the UI, which is the only thing they ever see, will probably be more task-oriented than representation-oriented, so they probably will never see how your program actually models the problem and therefore won't be able to suggest good changes to it.

Ultimately, though, there's an underlying mental model that the user is using for the task. And for most fields, there's really only one correct mental model, so I actually disagree that expert users have different mental models, at least not with significant differences.
Oh boy! Another well-written and carefully-reasoned piece from the NY Post!

What a crock of shit. There's always been social cachet available for people willing to piss on their own generation; this is neither novel nor particularly well executed.
Learning x86 (Intel) assembly is definitely something I've been interested in, as someone who inexplicably enjoys writing C code. But PDFs like this one are all I can really find, which are a bit daunting and intimidating.
Well, the non-pop philosophers will understand that as a minor hit to the model of consciousness as solely concerned with post-facto rationalization and basically removed from the real-time decision making loop. Those studies were never strong evidence anyway, the protocols were pretty weak as they required asking the subjects to self-report at what time they "decided" to act.

The real free will debate is about both the definition of free will (for the compatibilists and libertarians) and a debate about whether the evidence for materialism outweighs the subjective experience of free will.

But yes, this will hopefully stop those confused pop-philosophy stories.
The Wolves of Silicon Valley
GPG Suite 2016.07
Well, I work way more than I should, because I have no other occupation outside of work. That's all. I'm not seeing myself competing with more experienced people for one thing or another. I'll take care of my work-life balance when I'll have a life, but in the meantime I'm happy to have something to occupy my brain and people to talk to 8h per day, otherwise I would definitively go crazy.
Yes that's true but what they are complaining about is that the process isn't transparent enough for them to know that is happening.

Also related is the fact that the admins at 18f are paid for by the government and so their cost isn't included in the project budget whereas the private contract needs to pay for the staff that processes the paperwork within the project budget.
Yeah I pretty much roll in at lunchtime and punch out at 3.
Overwhelmingly in favor of the investing class? How on earth are you reaching that conclusion? The bottom 45% pay no federal income tax whatsoever. In fact, the top 1% pay 25% of all taxes in the US. I wouldn't call that "overwhelmingly in favor. You can certainly argue that they should be taxed more but let's not pretend they're not already footing a disproportionate portion of our tax obligations.
Reminds me of this interview[0] by two American women with a Finnish man about Finnish sauna culture, taken inside a sauna.

Specifically, the part where the guy switches the interview around and asks the girls what they think about the culture of silence that the Finns have. After which they admit that it is a struggle both to shut up for them as well as not feel awkward when Finns are silent around them.

[0] https://medium.com/the-politics-practices-and-poetics-of-ope...
> almost all of the analysis software is closed source

This is almost certainly not true. BrainSurfer is closed-source, but almost everything else I can think of is open-source.

* SPM is available under the GPL: http://www.fil.ion.ucl.ac.uk/spm/software/

* FSL (including the source) is available under their own noncommercial "As-Is" license. FSLView seems to have its own separate GPL license: http://fsl.fmrib.ox.ac.uk/fsldownloads/

* AFNI used to require (free) registration, but is now GPL: https://afni.nimh.nih.gov/afni/about/legal

* The BIC-MNI tools + source appear to be freely available for free under an "as-is" + attribution license. I only checked a few; please let me know if any are not and I will nag people accordingly: https://github.com/BIC-MNI

* Caret is GPL: http://brainvis.wustl.edu/wiki/index.php/Caret:About

* FreeSurfer has its own license which is very open: http://www.freesurfer.net/fswiki/FreeSurferSoftwareLicense

I suspect you're thinking of this, which reported differences between FreeSurfer versions: http://journals.plos.org/plosone/article/comment?id=info%3Ad...

That turned out to be a combination of 1) algorithmic changes 2) Different random seeds (some of these functions use Monte Carlo-like methods), and 3) 32 vs 64 bit platforms.