skysight-inc/HackerNews huggingface dataset:
- Data migrations: Knex.js

- Deployment: Every repo contains a "deployment" directory with a dir each for "staging" and "production" with all of the Kubernetes manifests (deployment, service, configmap etc.) necessary. Everything except secrets, which are managed manually. These declarative configs get applied to our cluster by gitlab-ci.

- ORM: You're probably not going to like this as a rails guy, but I've moved away from full, ActiveRecord-style ORMs. They don't work particularly well for my use cases and I enjoy the flexibility and control a thinner library like knex gives me.

- Background tasks: These are implemented as standalone apps running in our cluster, either as deployed workers subscribed to a Google Cloud Pub/Sub queue or scheduled jobs deployed using the Kubernetes cronjob functionality.

APIs: Express for basically everything HTTP. A lot more of our stuff is moving to PubSub for inter-service communication.

- Front-end templates: Everything is server-side rendered React. We run separate front and back end servers, scaled independently. The Kubernetes ingress handles routing to the SSR/React app and API app as necessary.
So, that’s a yes, then? Coming from Bitcoin, the harbinger of free marketry, her proponents calling for additional taxes to be levied upon energy to help unfree a market is a bit odd.

“We made this thing which consumes about as much energy as Serbia on an international scale, and is very likely in the running for the most expensive computation on the planet. It’s designed incredibly inefficiently to brute force through SHA2 in 30MW+ space heaters around the world because we believe centralization is Evil, but now that what it makes is valuable, we can deflect criticism of its energy consumption to the pricing of the electricity markets. Raise the price of energy to stop us. What’s that? A lot of people already can’t afford electricity?”

It’s OK to admit Bitcoin is inefficient.
Why is this praiseworthy in bitcoin and seen as delaying progress and selfishly holding onto gains in taxi companies?
In other words, everyday citizens need to make split-second life-or-death decisions, and one wrong move results in being shot by an unprofessional cretan.
Somebody who apparently had to deal with the company once told me that Oracle is really an acronym for "One Rich Asshole Called Larry Ellison".
What on earth is this logic. Bitcoin is _by design_ inefficient. Its scaling inefficiency is the principle method by which it ensures fairness. That's what PoW chain commits are. That's how they work.

Bitcoin was ALWAYS going to be inefficient. It was assumed that hardware would scale to keep up with demand, but that hasn't proven true in the advent of ad hoc mining pools.
I keep rewatching this video every now and then, very recommended if you're from the U.S.

I wonder how much does all this information apply to other countries (for instance, in the EU).
> "environmental factors are are believed to play the biggest role in IQ score differences."

That is false. [1] IQ has an interesting characteristic in that at young age environmental factors play a slightly larger role than genetics in IQ but as the child reaches their late teens their IQ becomes determined primarily by genetics. This is also to say that while a child may outperform against another child at a younger age, due to environmental factors -- if this comparison, even between the same people, was done at a later age then the result would generally be primarily determined by genetics. In other words the gains (or deficits) experienced in childhood do not carry on to adulthood - as counter intuitive as that may be.

> "IQ testing was invented by a certain demographic and as you would expect works best on people that take the test which fall under that demographic."

Comparing the IQ of nations is extremely difficult and plagued by a number of possible confounding variables. So that has to be taken into consideration, but nonetheless the majority of data that is available contradicts what you're saying. IQ testing was developed in Europe/England. It tends to be Asian nations that score the highest on IQ exams. I'm not linking to any particular source here since so far as I know this is completely fundamental - any source would verify as much including the one in the post I'm responding to.

[1] - https://en.wikipedia.org/wiki/Heritability_of_IQ
Go Advent Day 9: Property Based Testing
Do you want to fight a corporation with endless money for lawyers in court?
class Answer {
getAnswer(input: number) { return (input * 6 + 4) / 2; }
}

All joking aside, you would achieve composition the same way, except using interfaces.

interface Operation<T> {
apply(input: T);
}

class Addition implements Operation<Number> {
}
class Multiplication implements Operation<Number> {
}
class Division implements Operation<Number> {
}

function compose(Operation<T>... operation, T input) {
T last = input;
for (Operation<T> op : operations) {
last = op.apply(last);
}
return last;
}

Of course, the above code is slightly verbose, but even if you could remove all the boiler plate it still doesn't look like good imperative code. This is what confuses me about currying: when translated to the imperative equivalent, it looks terrible.
Huffpost deliberately pushes homepage link into your browser's history
Try to open this link in new tab

https://www.huffingtonpost.com/entry/obama-warns-americans-against-following-in-the-path-of-nazi-germany_us_5a2c032ce4b0a290f0512487
SegWit, Mimble Wimble, Schnorr Signatures, Lightning Network, and Rootstock all prove you're talking out of your ass.
How can database vendors make benchmarking illegal? Saying "we don’t allow benchmarking" in their EULA don’t make it illegal if the clause is abusive. Maybe it can work in some juridictions but I don’t think it is enforceable worldwide.
It does make sense for cost reduction because they are liable if they lose the package
2 (Two) Major Steps on How to Make Money Online Legitimately
There are very good technical reasons for that limit. It is not as simple a problem as "voting".
That realisation has been used by environments like Elm's Reactor[0] or its (sadly defunct) Time Traveling debugger. I think Om also had something like that.

Basically, if you use persistent data structures and a unified application state, you can keep a list of all previous application states and you can browse it or ship it for debugging, it's not that expensive.

[0] in debug mode, you get a list of all events having occurred in your application and can instantly move back to that state, and you can import/export that state history: http://elm-lang.org/blog/the-perfect-bug-report
There's a big spectrum between "interchangeable cogs" and "nobody even writes in the same language or architecture" and I don't think either of those extremes would be a good development environment.
My theory is that people with the mental and physical disorders measured in this study are more likely to regularly partake in activities that develop and accentuate traits that are used to measure IQ throughout their lives in order to cope with social exclusion and loneliness, starting from an early age. This social exclusion can come in the form of peer rejection, voluntary solitary withdrawal, or a combination of both.

If you're ugly, depressed, have an anxiety disorder, a personality disorder, or anything else that precludes you from engaging with other people and participating normally in "real life", you're going to spend more time resorting to escapism. If your form of escapism is something that contributes to a marketable skill later in life, and you engage in it from a very early age, then I think that this would correlate with a higher IQ, depending on the tests administered. Things like reading (books or the internet), videogames (certain ones), music, art, math, and programming of course.
Thank you for sharing this story, I was mostly unaware and the comments here contain a lot of insights.

If I understand this correctly, he'd be "indistinguishable" in a remote startup. There are great examples of very successful ones, and I'm sure we'll see an increased number of them. As for my personal experience, ALL projects start remote.

For example, in my last project (MemPa), we're a team of 6 distributed between US, Italy, France & Germany, and we did a single 30min call (where I was mostly talking) in the 2-3mo since we started the project.

I don't see in-person communication as a limit factor for launching something new.

--

As for the blog, I have a couple of comments to boost the traffic (if you can please forward).

1. Add an image to every post. This increases the likelihood that someone will share your post.

2. Use titles rich of keywords (think to what people may search on Google to find your post). This way your posts are not buried in your blog, but can be found later on, months and years.

3. Why ghost and not medium? I think you can have much more engagement on medium, but maybe I'm wrong.

4. Bind yourself to a social. If you like to take pictures, use Instagram. If you don't, use Pinterest. Talking about the second one which I know better, create boards with things that inspire you, and intermix your posts (that now have a beautiful cover image). This way people looking at your inspirations will also land to your blog.
Absolutely 100% used to work out with cops and every one was juicing
#36 asked "A person's political affiliation would influence how you think about:"

If it is possible I really want to see this broken down by political views of the respondent. I feel like that would be a really good data point about if the left wants diversity in thought or not.

My hunch is if you broke it down on left/center/right you would see more poltical bias on the left. That said, since SV is so left leaning it might simply be because those on the left can do it and still find good people while those on the right cannot.
Good analogy
Let's Learn ES6
It’s easy to believe that, but if you can’t reasonably quantify it based on anything empirical, why bother?

It’s a cognitive blind spot to assume communities you’re a part of have a higher mean intelligence than the general population :)
In countries with rights, all of the same applies.
I have a different theory, most cultures tell a kid that has mental issues or is unattractive that he's "smart" even if that isn't the case.because, after all,even with a good body and looks you can only go so far and if your social and emotional intelligence is low that only leaves academic intelligence.

So,my theory is that people prone to developing mental disorders tend to also get encouragement from their parents and community to seek academic intellectual success. I believe 80%(guesstimate) of "IQ" is a result of the individual working out their brain.
I highly recommend his recent talk on technology leadership:

https://youtu.be/9QMGAtxUlAc
Why do you think this fixes the transaction speed problem?
Also it's not like everyone you see on the Internet is the same person.

Anyone who was hoping for it to replace credit cards didn't understand the system. Lots of other folks have known the limitations of Bitcoin for years and what we're seeing today was totally predictable.
Litecoin is similar to Bitcoin, but it was the first to make some of the changes that were made to both, like Segwit ...
Can anyone give a plausible legal explanation for how on earth the officer was found not-guilty on all charges? For the life of me I cannot see how 8 jurors can watch this video and possibly think anything less than manslaughter, at the very least.
There's another aspect, which is that some people find his aggressively dismissive style personally abusive and distressing.

I don't know enough to validate this perspective, but it's something for all of us to consider:

https://blog.valerieaurora.org/2016/10/22/why-i-wont-be-atte...
The consensus rules of bitcoin are supposed to be incredibly difficult to change. That's a feature, not a bug.

Changing consensus rules is only easy if the network is centralized. That's not something I want to have in my money.

If new technology demonstrates it's value beyond doubt, upgrading the network will have vast consensus.
Doing for software what 3D printing did for hardware
This is just fantasy. Sure in nice places where you likely live this may work. These areas are not where police homicides tend to happen though.

Some areas of the USA are actually very dangerous. In these areas there is a much higher likelihood of suspects being harmed and dangerous.

You’re basically asking other humans to implement a sound system (where false negatives mean they die) in an area with relatively high event rates. This doesn’t give me any moral clarity.

In cushy neighborhoods sure police officers likely do implement a complete system and no one gets shot. That’s much easier to justify based on basic probabilities.
I used to work at a corporation too
Ask HN: Are you still using React-Native although it wasnt relicensed by FB?
I know it may be far away, but my imagination doesn't allow me to learn react-native knowing the license issues.

In the worst scenario I imagine Facebook copies my app (just like it did with snapchat) and then I can't sue them or anything since I've used React-Native.
Can someone please tell me if this would be possible?

I don't care if I have the chance of making such an app or not. Because if I'm not that person, then someone else will be. And I hate the Idea that Facebook will have all the legal ground to copy the idea and not get sued in the process, just because the app was made with React-Native.
The shift to zig-zag is particularly pronounced when I scan up and down the animation.
That's pretty functional still, the "branches" are just (in clojure terms) atoms, aka atomically mutable references to a structure (namely a commit which is some metadata + a reference to a tree).
Set a deadline for coming back with better information. If after, say, a week or two they still can't narrow down a timeline (to something like "1-10 weeks" or "6-18 months") then either simplify or abandon the task.
Most of the patron outrage is because this change was done unilaterally (I don't think I had to click through anything to agree to the new fee structure).

There are two changes, one to pledge amounts and the other to payment schedule / batching. I'm only going to talk about the pledge amounts.

A much more palatable way to roll out the pledge amount change would have been:

1. give more notice. I got an email on Dec 7th announcing that the new fee structure would take effect on Dec 18th. Unless there were some urgent circumstances for the company, this should have been more like 3 months between announcement and implementation.

2. There seems to be at least two options for Fee Change Day:

a) increase 'base' pledge amounts so that the creator gets 95% of the purported pledge. That is if the pledge is for $1 / mo right now, increase it to $1.32 / mo (depending on payment provider) so that the creator gets the $0.95 / mo that Patreon says is "more clear".

b) The other obvious option is to keep the base pledge amount the same and the creator ends up with less money coming in.

I would have made 'b' the default and communicated a lot to inform patrons something like "We had to change fee structures to stay afloat and to make pledges less confusing for everybody. We defaulted everybody to paying the same amount because we don't want to bust anybody's budget. CLICK HERE to review your pledges and make any adjustments to make sure the creators you love get what you think they deserve." and then the resulting page has a super obvious pancake button on each pledge (and one for 'do it for all pledges') that adjusts their pledge to option 'a' above, but critically let them adjust it to whatever they want. I think over time people are more likely to increase pledges if they have the occasion to rather than decrease them, so Patreon could have actually come out ahead through the generosity of patrons.
"Then sell them to sucker companies who will throw out all your work and redo it better." was the rest of the quote, right?
They sponsor a lot of collegiate hackathons. College students and high-income developers working long hours are natural target customers.
if it were open source maybe, but i'm definitely not going to switch (even though i might want to) for licensing reasons. in fact, i have more motivation to write an libre datomic clone than to pay cognitect anything for their proprietary db.
I would hazard a guess there's a greater than 90% chance that ANY person in that situation would have ended up dead. Every action the police officers took escalated the situation, it was all but inevitable.
Yes. I do :-)
I've never met an ops guy that does anything resembling development other than ones that officially split duties as a developer and an ops guy. So I have no idea still ever devops actually is.
On my Linux Mint 18 Chromium 62 it's the Apple.
I suspect not, you should be covered by the first amendment. However, I don't think most people have the money to find out. The ones that do seem keen on following Ellison's example.
I think lighting is more to trading webs, if you want to transfer from bittrex to blockchain.info it would be trough light so all this kind of transactions would free the blockchain
Had this actually been published in a Commodore magazine it would have changed my life - revealed a whole new area of computer science to the teenaged me, fifteen years before I actually encountered it. Damn.
Hi John, thanks for the offer. I might take you up on that and email you in coming days.

I learned of Runscope some time after I started building this, it looks very interesting.

I too have doubts a proxy service like debugproxy will be very successful as it is, mostly because using it is still very difficult and in some cases not possible on various devices (buggy proxy implementations on early iPhones, Android 7 not allowing root certificates to be added etc..)

I figured there are some other cool things you can do with a proxy though that might be interesting. For example getting remote debugging working smoothly by injecting a script into HTML pages sent through the proxy. Or going the other way and proxy existing websites through a sub-domain of debugproxy.com, which I used to do to demonstrate changes to clients websites.

I'll see what feedback I get in the coming weeks and decide what to do, if anything, from there.
the zig-zags where the color change is at the peaks / troughs looks to me like a wall with light coming from the right side. i wonder if that's what's going on here, the brain is saying "i know that shape, it's a zig-zagging wall"
Does anyone here have direct experience with being sued for releasing a benchmark online? I’m interested in seeing how common (and enforceable) it really is.
I don’t see it on Safari iOS 11.2
Right, this is odd speculation completely divorced from anything Patreon or Jack Conte has said. Unless you're a lawyer or an accountant or something, it's silly to hypothesize that some legal requirement has doomed their heretofore successful business model.
To me that’s appropriate. Black people are at the forefront of police abuse in the US. Solve the problem of black people being abused by police and you’ve solved the problem in general.

I totally agree that many people have a distorted view of the movement but to me that’s a reflection of problems with our culture more than problems with the movement.
Now you see why, in much simpler networks, with full observability, it is trivial to generate the equivalent of psychovisual illusions.
I think that we're talking about two different types of managers. I was talking about a technical manager, as in a tech lead/lead engineer/lead developer/whatever you want to call it - someone who has to manage and coordinate the day to day of people doing technical work (on top of taking part in the said work). I think you're talking about someone more business-oriented.
Windows too!

(sort of)
My own view is that something analogous to Conway's Law is at work: software design reflects the constraints inherent in the software methodology used.

The problem is not software methodologies per se, it is trying to apply a software methodology to software development where the priorities of the methodology are fundamentally at odds with the requirements and goals of the software being built. The root of the problem is the notion that there is one software methodology that is efficient and productive for all possible types of software development. I would argue that there is an optimal methodology for most software but it is a different methodology for different types of software.

If we discard the oft-argued proposition that a PHP website, an embedded system, and a high-performance database kernel can -- and should -- all be developed with the same software methodology then this entire discussion goes away. A software methodology is a tool; they work best when you select the best one for the job.
Machine learning for art valuation
Our brains have evolved. At one point we recognized everthing in our field of vision as "here", and everyone else was further "away."

Now we have lots more of even NPC (Non-Playing Characters), closer to our inner fields. Facebook friends really are your friends. As if they were standing right in front of you.

Your are in effect, "Delusional" . . .

Or something like that.
[1] is from Russia Today, so I'll abstain from commenting

[2] is true, but it should be noted that this is standard procedure in the West, since citizenship is considered one the most inalienable rights (in Germany, loss of citizenship only occurs through taking another one; in the US, it's only possible for naturalized citizens to lose their citizenship if they commit terrorism within 5 years of being naturalized).

[3] the article does not say that djihadis will be welcomed.

[4] is standard procedure in the West. You can't detain people who don't even stand accused, unless you're the US and have absolutely no concern about egregiously violating your constitution (and human rights). And tracking 15,000 people is beyond what any police force can do.

[5][6] it is generally not a good idea to comment on criminal trials, since you have access to very little compared to the judges and jury. It's also unclear that detention is a good solution to the problem anyways.

[7] is perfectly correct.

[8] it is considered prosecutable, this person is on trial. Also see [6], and again, unless you have a very good reason to think the accused actually knew he was hosting terrorists (which the judges, who have access to far more information that you do, don't), there's nothing visibly wrong about that trial.

Finally,

> Anyway I could simply have started my post with a question, like you did: did you ever had a friend got shot in a terror attack?
>
> I guess not, otherwise you would not just speak about numbers.

It's not with strong feelings that you'll make good policy. It's very sad that people die, but it's no good reason to drop all common sense.