skysight-inc/HackerNews huggingface dataset:
They are still learning. So at some point their AI should explore worker rushes, but also explore how to defend against them.

And once the defense gets good enough, the attack portion of the AI should probably do the worker rushes much less often.

Of course, given that the AI has different constraints in micro-management and attention, and that the game is balanced given human skills, some things that would be totally bonkers to do as a human might work for the AI.
(I hope) it was just a poorly written JS that retries on failure
> It's cool to feel fans and microwaves

Feel like it should be possible to have a bracelet that buzzes in response to magnetic fields as a less extreme alternative to this?
I took it as rrix2 were pointing out a tragedy :)
It essentially boils down to convenience, or "what do I have to hide, i'm not doing anything shady". People who understand and do care will still do a cost/benefit analysis.

I mean, I just installed Telegram to talk to a girl I like. We all have to decide how strict we are going to be and how it ties in with our principles.
Matlab's first customer
The reason this matters is that “lack of time” often crops up as an excuse when scientists try to figure out why so few of us get as much exercise as we know we should. Gibala and others have been whittling away at this excuse for more than a decade now, designing ever more time-efficient workouts.

The solution to the "I don't have enough time" problem is not to make shorter and shorter workouts, but to encourage a cultural shift away from constant media distractions and pointless hyper-productivity posturing. No one is too busy to spend 30 minutes exercising 3 times a week.

Ditto for the obesity crisis - the solution isn't to make less caloric foods, it's to change the culture of excessive portion sizes and sedentary lifestyles.
The key points he makes:

"My pragmatic summary: A large fraction of the flaws in software development are due to programmers not fully understanding all the possible states their code may execute in. In a multithreaded environment, the lack of understanding and the resulting problems are greatly amplified, almost to the point of panic if you are paying attention. Programming in a functional style makes the state presented to your code explicit, which makes it much easier to reason about, and, in a completely pure system, makes thread race conditions impossible.

"No matter what language you work in, programming in a functional style provides benefits. You should do it whenever it is convenient, and you should think hard about the decision when it isn't convenient."
If you create a superior api (esp w/regards to speed) people will naturally move to extensions which use that api. Then once usage of the old api has dropped significantly, you can deprecate the old api.
Second Pi-hole + uBlock Origin. Just a bummer that the Safari fork of uBlock Origin seems to be EOL because of the new restrictions in Safari.
Did you turn fsync off?
Many people have trouble communicating with the younger generation because they have their own ways and use technology more intuitively.

Now imagine the generational gap if the youth is 20% smarter than their parents.
OK, so indigenous civilizations in the Americas go back at least 20-30 kyr before European invasion. And it seems that they had more or less reached equilibrium with their environment.

Sure, they used fire to modify the environment. In the Midwest, for example, they pushed the prairie-forest boundary several hundred miles north. And in the East, they burned to keep down forest undergrowth.

And sure, mammoths disappeared. But the buffalo did OK, until the Europeans. More prairie arguably benefited them.

So it all sounds quite idyllic, in a way.

But, conversely, they didn't invent wheels. Or glass. And only some metalworking. And mostly for decoration, not weapons.

I wonder why that was. I've read Jared Diamond, but it all seems so contrived. Maybe it was just that they didn't trade a lot with China ;)
>The sooner this ad-spam business dies off the better.

they have not yet. the interenet/computers does give a lot more control to the user though. ads are not going anywhere though unfortunately.
The article he linked to literally makes that point
What a lovely company. I just realized they have been shadow banning my own comments to my own video: https://youtu.be/61sN42E2WbE

Also all links to this video elsewhere has been shadowbanned.
Free Printable Dinosaur Coloring Pages for Kids
Dinosaurs Games Wiki
added : ) thanks for sharing.
Youtube runs noticably slower on Firefox for me, regularly climbing up to 30-40% cpu and activating the fan, while Chrome handles it with 15-20 cpu.
it is The Jevons paradox [1]. I have seen it as well happening when I migrated a client from a standard cloud architecture to a serverless architecture.

>>> In economics, the Jevons paradox (sometimes Jevons effect)
occurs when technological progress or government policy
increases the efficiency with which a resource is used (reducing the amount necessary for any one use), but the rate of consumption of that resource rises due to increasing demand.

[1] https://en.wikipedia.org/wiki/Jevons_paradox
Twitter New Web Interface Is Coming with Several Improvements
In what way(s) do you find GCP better than AWS? My company was using both for a while but has migrated more towards AWS lately. But I'm just learning my way around cloud development now so I don't have insight into the major differences between providers.
This increased lobbying by tech companies was the result of everyone taking the lesson of United States v Microsoft (https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor...) to heart and trying to make sure they did not end up in the government's crosshairs.
NASA's Lunar Reconnaissance Orbiter to Image Chang'e-4 Spacecraft on January 31
Data Calc:DS design and cost syn from first principles and learned cost models
Sorry Google, I feel "icky & gross" when you use me.
Haha, brilliant. A good example of "AI" gone wrong. I wonder whether Amazon's recommender has a flag for durable goods, and if so, how it failed.
Charlie Shrem: Only Bitcoin Would Survive a Nuclear Holocaust
Lack of time because we must sit tweeting and posting selfies 7 hours a day. Everyone has 24 hours, if you cannot take 1 hour from that for arguably the most important thing for your health...
This business is VC funded, not a couple of kids spending some summer job savings to bootstrap a website.
Back in the day, I dreamt of being able to run Cubase on Wine, and not have to deal with Windows at all, but I remember being told (this was maybe 2002?) by someone who claimed to have the inside line that there was the possibility that Cubase would run on Linux 'soon', natively.

That became less of an issue when Windows 7 came along as it worked so well, but now I know the next hardware revision of my studio PC will probably need to run Windows 10 (which I detest using), I'm looking misty-eyed at it again. But I know that Cubase is immensely demanding, and no doubt uses lots of odd Windows APIs that Wine doesn't cover (or cover fully), so that's just a pipe dream which gets awoken every time I see a new release of Wine come along and I somewhat foolishly check the app database only to find the last versions to test were years ago and were 'garbage'!
Agree. It would be awesome if TypeScript had some optional run-type information, maybe in the form of a decorator function

@rtti
function moo(foo: string): number {
…
}

=>

function moo(foo: string): number {
…
}
moo.__type = {
parameters: [{name: "foo", type: "string"}]
returnType: "number"
}

or something like that.
Not officially by Google but definitely funny enough.
Post retirement, same congressman get hired as an executive for the company or congressman starts an startup which is brought by the lobbyist company or ...
There are far more complex ways for congressmen to receive benefits for accepting lobbyist agenda.

Any action by congressman that doesn't make sense to common mass is result of lobbying. Every human being possesses basic intellect to konw what's good/or not for us and its the greed that persuade them to act differently.
This thread, and site, tells the tale. Google is using this for marketing purposes. They already have some trite 2 minute marketing ad running as well. The deal that Twitter received is going to come with extensive incentives unavailable to typical operations. Twitter also was likely able to play the typical providers against each other. 'Oh, well AWS is offering me [x,y,z]. Can you do better?'
i'm confused. can you define what spaces A, B and f(A) live in? what space does f(a) live in, for a in A?

edit:

> two equal sized sets of numbers, A and B. B is actually a discrete uniform distribution - [0, n]

> The net I am writing needs to take A as input and generate B as its output.
> The specific pointwise mapping a -> b is irrelevant, any injective function is sufficient.

> I don't think the Kullback–Leibler divergence will work because it enforces an ordering / specific mapping.

I don't see how KL divergence enforces an ordering / specific mapping.

I'm going to assume that you want to learn a function f[Theta] that accepts sets as inputs and maps them to output sets, where Theta are some parameters you're going to fit. Further, to make things more plausibly continuous, i'm going to assume that f[Theta] accepts distributions as inputs and maps them to output distributions.

Let X be some reasonable space. Let A and B be distributions over X, i.e. A, B in D(X).

Let's say we want to learn some function f[Theta] : D(X) -> D(X) such that f(A) = B .

Aside: it seems a bit weird to be doing ML with a single training example (A, B) -- I'm assuming you have some very heavy structural constraints on `f[Theta]`, and/or a bunch of other training data {(A, B)_i}_{i=1...M} ....

If we tried to define loss using KL divergence, it might look something like

loss(f(A), B) = sum_{y in X} f[Theta](A)(y) log( B(y) / f[Theta](A)(y) )

as long as f[Theta](A)(y) is sufficiently smooth in your parameters theta, the expression for the loss might be reasonably differentiable.

So, how to interpret f[Theta](A)(y) ?

Assuming X is discrete, the dumbest representation of `f` I can think of would be to let theta be a matrix of weights addressed by pairs of indices from X*X . So the input distribution A could be interpreted as a vector of weights indexed by X (say with some constraints about non-negativity and summing to 1), and y itself is just another index from the space X, so

f[Theta](A)(y) := matvec(Theta, A)_y = sum_{x in X} theta_{y, x} A_x

Then the loss function would look something like

sum_{y in X} (sum_{x in X} Theta_{y, x} A_x) log( B(y) / (sum_{x in X} Theta_{y, x} A_x) )

So it's (1) definitely something you could evaluate (in principle) and differentiate, and (2) doesn't force some pre-defined mapping between points -- you can still set the weights Theta_{y, x} to whatever you want.
I feel like the actual solution is to gamify it in such a way that it keels you competing with friends for the sake of winning. Fitbit's ranking system has definitely increased the amount of exercise I get.
That’s a far better way of looking at it. I now regret not having seen it that way.

I guess you see what you want to see :(
The trouble with auction sites is that there are two types of products.

One is high-volume commodities, and for that you're just going to end up with a store. Even if you have a small seller, if a thousand people buy USB cables an hour, you're not going to sell it for more than what competitors are charging and you're not going to have to sell it for less. You ask for the market price and you get it right away. Efficient, boring.

The other is low-volume commodities. The issue there is if you list something for $250 and wait six or eight months, someone pays that. But if you put it up for a seven day auction starting at $250, it doesn't sell. And if you put it up for a seven day auction starting at $1, you get $25.

Which makes that the interesting one, because on the one hand it gives people an opportunity to get rid of their junk right away and make $25 instead of having to pay someone to haul it off, and on the other hand the buyer gets a great deal on something that would otherwise cost $250.

The problem is that it tends to make the sellers grumpy. A novice lists an auction starting at $1 expecting that in a global marketplace they'll get the market price, not realizing that the market price on a time-limited sale of a low-volume product is a lot lower than what you can get by demanding a higher price and waiting longer for someone to pay it. So they get $25 on something they expected to be worth $250 and they're dissatisfied with the auction site, or do something troublesome like refuse to send the item.

Meanwhile the professional sellers have been listing that product in their stores for $250 for months, but since there is only demand at $250 for one such item every six months and the novice just satisfied it for $25, now they have to wait another six months to get it out of their warehouse at that price. Assuming another small seller doesn't list another one before then.

And the auction site wants the sales to go through at the higher price too, because they'd much rather get a commission on $250 than $25. So they shoo away the troublesome small sellers causing all these problems.

Except that occasionally getting a $250 item for $25 was the reason buyers bothered to come to their site.
Depends on how you prepare it - if it's not hung and bled properly you generally end up with a particularly gamey flavour.
It will be simplistic to assume such decision is tech-driven. Per my experience, it is mostly business driven. Who offers the best deal with the lowest price, gets the business.

You'd be surprised, if you are a big enough customer, even better if you are a reputable one, how much catering the cloud provider would be willing to offer.
Yes, absolutely alien/awful syntax. `private` is already reserved word, why not use it? It has been reserved word for this specific moment when it's needed for exactly this, am I wrong? What's the point in having reserved words in spec if the spec is afraid of using them? I don't get it, can someone explain why this ungodly # made it so far already?
ADHD is a genetic issue related (in most cases) to dopamine pathways in the brain. You don't grow out of it, just like you don't grow out of diabetes.
I'm not sure what you are asking. It can happen in many different forms.

For instance, the lobbyist asks for measures profiting their business that go against your campaign promises, but you can't refuse, because otherwise they won't pay for your reelection campaign.
> I think all things considered, readability should generally take a back seat to correctness.

I think that lack of readability is a sure path to lack of correctness, personally. Carmack may have had the luxury of working with consistently great engineers... I do not :)

I'm not saying his suggestions are wrong, merely that there are times when encapsulation makes sense. Code can be readable and correct.
> Firefox' reader mode, but some news sites now don't even properly support that

All sites which are on Google Amp. Google, whenever it can, "helpfully" gives me the amp site and then I have to find and click the link to the actual site to get to the "readable" version.
Can anyone explain how lobbying works in the U.S? Where does the money end up?
> If your app is actually making money it's totally reasonable to buy ads to grow.

Totally reasonable even if you're not making money (which is pretty much every VC-funded company).
If GitLab can pull off the npm registry well this might be the beginning of a universal package management server built into Gitlab. A bit like the self hosted Nexus registry or Artifactory.

Not sure if it wouldn't be just as well to run Nexus OSS instead though? https://www.sonatype.com/nexus-repository-oss

You might not get as tight of integration as Gitlab will provide, but the Nexus OSS repository provides some nice features in terms of cleaning up old artifacts, some disk usage policies, etc.
also: hosts file can cause problems with things like Windows Update and other software that you might want to keep working. Pi-hole is easier to disable. I always forget that I installed some hosts file blocks with Blackbird ( https://www.getblackbird.net/ ) which is an otherwise pretty nice tool (aside from that and how it's unclear if you're enabling or disabling something, since the switches "toggle" something instead of expressing that you want to disable or enable it specifically).

+1 for pihole; rPis / odroids / SBCs / NUCs / home servers are easy enough to run that it's worth it.
UK has biggest fossil fuel subsidies in the EU
DHS Releases Emergency Order to Prevent DNS Hijacking
I don't really matter if it is a growing pie or not, you are still getting a share. I am sure Uber creates a lot of new wealth, but the average driver most likely isn't seeing a lot of it.
Open Source Clojure Library for Aerospike
you missed this part "and our flexible compute Hadoop clusters"
It could be months before you're yourself again and at 100% productivity. I'm afraid there's no magical solution. You should factor in that cost when drinking coffee next time.
Honestly that's a lot lower than I would have expected. Internet hosting is very cheap and for a company like Wikimedia would basically come down to their bandwidth costs. But labor, especially skilled labor (like they're hiring) is very expensive. I would have expected it to be a lot higher.
"I wonder why that was"

Maybe the old cliché: Necessity

oversimplified: when you already live in Heavens, you don't need to invent the Bible.

I have always Hated cliches since a very early age. At 40, I realized they are underestimated.

As Confucius maybe said ( I wasn't there) :

"The Man stops crawling and stand up to start walking at around age 40"

Confucius
Having to write these manually seems a bit … boilerplate-y. Why do we need the PersonType enum rather than just depend on the peoples' types? Why do we need functions to get spells for a person; why not just access the property directly on wizards? Why would you ever want to return an empty array of spells for a muggle rather than just return nothing?

Was it all just to illustrate the point? Because illustrating with unnecessarily complicated code is … unnecessarily complicated, I'd have thought.

I don't know TS well enough to rewrite this, but here's my attempt is Swift at the sample code, but cleaner. I'm sure this is all possible in TS, based on my few usages of it:

In Swift:

protocol Person {
let name: String
}

protocol Muggle: Person {
let isDursley: Bool
}

protocol Wizard: Person {
let spells: [Spell]
}

protocol Slytherin: Wizard {
let darkArts: [DarkArt]
}

protocol Ravenclaw: Wizard {
let extraKnowledge: [KnowledgeItem]
}

protocol Hufflepuff: Wizard {
let badgerFriends: [Badger]
}

protocol Gryffindor: Wizard {
let loyalTo: [PersonName]
}

let people = [
Gryffindor(name: "Hermione Granger", spells: ["Petrificus Totalus"], loyalTo: ["Ron Weasley"]),
Gryffindor(name: "Ron Weasley", spells: ["Wingardium Leviosa"], loyalTo: ["Hermione Granger", "Harry Potter"]),
Gryffindor(name: "Harry Potter", spells: ["Expelliarmus", "Expecto Patronum", "Imperio"], loyalTo: ["Albus Dumbledore"]),
Slytherin(name: "Draco Malfoy", spells: ["Serpensortia"], darkArts: ["Cruciatus", "Avada Kedavra"]),
Hufflepuff(name: "Cedric Diggory", spells: ["Transfiguration"], badgerFriends: ["Wayne"]),
Ravenclaw(name: "Luna Lovegood", spells: ["Expecto Patronum"], extraKnowledge: []),
Muggle(name: "Dudley Dursley", isDursley: true),
Muggle(name: "Prime Minister", isDursley: false)
]

let slytherins = people.filter { $0 is Slytherin } // count is 1
let ravenclaws = people.filter { $0 is Ravenclaw } // count is 1
let hufflepuff = people.filter { $0 is Hufflepuff } // count is 1
let gryffindors = people.filter { $0 is Gryffindor } // count is 3

let muggleNames = people.filter { $0 is Muggle }.map { $0.name }

let extraInformation: [[Any]] = people.map { person in
if let slytherin = person as? Slytherin {
return slytherin.darkArts
} else if let ravenclaw = person as? Ravenclaw {
return ravenclaw.extraKnowledge
} else if let hufflepuff = person as? Hufflepuff {
return hufflepuff.badgerFriends
} else if let gryffindor = person as? Gryffindor {
return gryffindor.loyalTo
} else if let muggle = person as? Muggle {
return muggle.isDursley
}
}

Didn't have to write any of those accessors, mutators, or futz around with any more type checking than absolutely necessary. I'm sure basically the same is possible in TypeScript, too.
Always see posts with titles such as "Why We Moved From MongoDB to PostgreSQL" and rarely "Why We Moved From PostgreSQL to MongoDB". MongoDB is simply unreliable with data and struggles to scale. A few companies that have moved away from MongoDB: shippable, dzone, theguardian, olery, urban airship, bump, etsy, viber, shareaholic, videoamp, digidoc

1. http://blog.shippable.com/why-we-moved-from-nosql-mongodb-to...

2. https://dzone.com/articles/why-we-moved-from-nosql-mongodb-t...

3. https://www.theguardian.com/info/2018/nov/30/bye-bye-mongo-h...

4. https://developer.olery.com/blog/goodbye-mongodb-hello-postg...

5. https://blog.schmichael.com/2011/11/05/failing-with-mongodb/

6. http://devblog.bu.mp/post/40786226011/from-mongodb-to-riak-7...

7. https://mcfunley.com/why-mongodb-never-worked-out-at-etsy

8. https://diginomica.com/2014/04/07/viber-migrates-mongodb-cou...

9. https://www.shareaholic.com/blog/migrating-to-riak-at-sharea...

10. https://www.linkedin.com/pulse/why-we-switched-from-mongo-po...

11. https://blog.svs.io/why-i-migrated-away-from-mongodb/

12. https://pastebin.com/raw/FD3xe6Jt
What will happen to the head of growth and google ads?
Apple adding "Sent from my iPhone" is my favorite example.
Looks nicely designed, but are lists really implemented as linked lists? That's surely going to be very slow.
Were the Americas really that idyllic?
Report on Persona-based security
Individualism, Self-Selection, Cultural Change During the Age of Mass Migration [pdf]
But let me ask you this: if you haven't posted to instagram in the last hour, are you really alive? And isn't being alive the most important aspect of health?
Instead of large magnets wouldn't it make more sense to have lots of little ones? I am thinking something like magnetic tattoo ink.

It would remove the touch/blockiness issues and be touching many more nerves.
The challenge then, as with essentially every language that doesn't use persistent data structures _as the default_, is having to recursively convert to and from those persistent data structures at the edges of your system where you need to interact with third party libraries that likely won't be consuming/producing those data structures natively.

Unfortunately this is where the value proposition of a non-standard data structure library usually breaks down for general usage. That recursive translation layer sitting at the edge of your system is generally enough to completely blow up your performance budget and many times leave you worse off than if you had just used the default mutable data structures and made naive shallow copies everywhere in the first place.

The best case study for this is JavaScript, which by now has a fairly substantial following of functional programmers, and has an excellent persistent data structures library in ImmutableJS, but the vast majority of functional codebases in JS just end up doing shallow-copy-on-write using the default mutable data structures regardless, because of the difficulty of taking proper advantage of the performance benefits of persistent data structures in an ecosystem that overwhelmingly deals in mutable data structures. That said, the fact that C++ is not a garbage collected language and the associated developer ergonomics costs of having to manually clean up your own shallow copies might skew the value proposition a bit, but given that if you're writing in C++ you're probably in it for the raw performance in the first place, it's unlikely to be enough to tip the scales.