skysight-inc/HackerNews huggingface dataset:
> a branch of mathematics called game theory, which is often used by economists, to work out how events will unfold as people and organisations act in what they perceive to be their best interests.

If it were really used by economists in power (e.g., in central banks or government), they would have foreseen the end of Bretton Woods, the early 80s recession, the 2000 and 2008 economic crisis, the currency race to the bottom, the strictly monotonically increasing gov't debt, the current housing price increases, ...

They might have also figured out that taxes to prevent smoking are likely to have the same effect if you apply them to employment and other productive applications.

Yet, here we are. The only question that remains is: Stupidity or malevolence?
Scaleway New Cloud Servers for Intensive Workloads
A similar issue rose up in Windows some years back.

Yes, they have dlls that do much the same as .so in _nix. But each program on Windows will first check their own folder and subfolders for a matching dll before asking the OS.

And each program ship with a set of redistributable dlls from visual-c++.

One of those dlls were found to have a vulnerability. And while MS could patch their office suite and related quite readily, they could at best offer a tool for scanning for vulnerable dlls in program folders and beg users to badger the software providers for updates.

The sad thing right now is that various big names within the Linux community is pushing for a more Windows like distribution model, when the problem they are trying to fix is related to overly rigid package dependency trees (with the RPM package format in particular, as the primary user of the DEB format has worked around the issue with a careful package naming policy).
The problem with algorithmic trading is that markets are complex systems. As an algorithm is adopted, it changes the dynamics of the market, and the result the assumptions it was based on tend to no longer hold. Note that humans trade via implicit algorithms, which is part of the reason why consistently outperforming the market is highly unlikely.

In my opinion, the whole idea of investing to try and maximize profits is myopic. The real reason to invest should be to gain a measure of control over the corporation being invested in. This suggests that the board should play a more active role in the governance of corporations.

People who just want to make a buck off a corporation should be limited to providing debt financing.
Twenty-six years of developing software for different organizations yet I still struggle with the desire for simplicity in the face of conflicting needs.

The tendency is to think of a "user" as a lone person in front of a screen using a UI of some kind. This idea of user is incomplete. In addition to people using a UI, for say a university financial aid system, a management chain exists with the need for applications to be modified as quickly as possible with new requirements and with no interruption of service. They need applications to communicate with one another. To meet those needs, developers utilize libraries, frameworks, etc. for modularity and reusability. To insure that nothing gets broken while modifications are made, regression testing must occur. Adding test suites increases the likelihood of uninterrupted service. To help with module interdependencies, developers use package managers. And so the stack of software grows.

I'd call it accidental complexity, but it's not an accident. We are dealing with complex software stacks, often with interdependent modules, because we are trying to meet many different needs simultaneously. I don't see an easy way out of the situation.

Over the years, I've become better at determining when to abstract problem solutions in order to provide for future needs and when to do the minimum possible to get the problem solved. I don't think there is a rule or formula for making that determination. You just have to make mistakes and learn from them.
That is an unfortunate domain name, unless it's meant to be purposefully amusing.
Hexspeak
It's ACID & Serializable. A write will block all other writes, but multiple reads can occur without overhead or blocking due to MVCC.
Reads are consistent within the runloop, but updates to your objects occurs when you start a write transaction, so you know you always work on the latest version of the data. Basically, you are in an implicit read transaction all the time, except when you are in a write transaction :-).

> So if I am doing x.first, x.second while the object is being updated in a second thread, will I get mixed state?
So no you will not get mixed state.

> Is database crash proof? If the phone runs out of battery while in write transaction, will the database get damaged?

Yes it is crashproof. Fully ACID.

Any other questions?

This article goes a bit more into the details of threading: https://realm.io/news/threading-deep-dive/
And this one more into the core design: https://realm.io/news/jp-simard-realm-core-database-engine/
Or it assumes DNSSEC.
Ternary operators should never be nested, whether you're using JSX or not. If you have that many conditionals you should use variables and/or decompose the optional pieces into sub-components. Pretty much any time you have a tag that has a huge number of attributes, it's a smell that you need to decompose something.

Variable assignment is the simplest answer, which takes advantage of the fact that null or undefined values are ignored in JSX:

const Dashboard = (props) => {
let avatar;
if (props.user) avatar = <Avatar user={props.user} />;
return (
<div>
{avatar}
...some other content...
</div>
);
};

Regarding class vs. className: class is a reserved word in JS. It's not really a perf thing, it's the fact that JSX was intended as a very simple transform. If JSX used class instead of className, the transpiler would need to be contextual since "class" would sometimes mean "css class" and sometimes "JavaScript class". The baseline complexity for the parser would be higher and could lead to all sorts of complexity. Rather than deal with that the React team avoided the problem by using className instead, keeping things simple.
This is an interesting angle. I'd suggest talking to an attorney on this. I'm hesitant to weigh in because I'm not that kind of lawyer (and it's the internet, and I'm probably a dog)
Stricter JSON Parsing with Haskell and Aeson
Relevant, for any contractor/consultant reading this: "Fuck you, pay me." https://www.youtube.com/watch?v=6h3RJhoqgK8
Privacy has literally no tangible value to most people. It's just a warm fuzzy to a few, and a practical value to even fewer.

Convenience on the other hand has obvious value to almost everyone.
selenium has moveto[1] which will move the mouse to an element. you would use it in an action chain.

[1] https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol...
My project (the weather sensor) is using React Native for the Mobile end. I would still like to work on a professional project to really see how well or bad RN is in an enterprise type project. Having used Titanium Appcelerator on a personal project, I find RN much better than Titanium. I assume it's much better than Xamarin as well.

I think learning RN is a good bet because, it is coming from Facebook. I'm not sure if people remember, but FB on mobile was originally built using Webviews and had notoriously bad reviews because it was slow and laggy. It's because of this lesson that they are in a good position to create a competent platform.

I also think as web developers, we should try to understand more of the tooling/language in one of the mobile platforms of our choice.
Jokes are subversive.
Why You Shouldn’t Ask a Developer to Fix Your Bike
In general, it works if you decide what you want before starting the development. I'm not talking about knowing what you want: I'm talking about deciding what you want.
Much like buying a car: no way you can think to all the possible detailed preferences of yours before choosing a new car, but when you sign the check you are voluntarily giving up any further discussion.
Can you imagine an investment AI that did not have human biases. Here are some my favorite investor biases:

SALIENCY bias. People remember memorable things. The guy who made $100 million by investing in a Romanian immigrant will invest in you if you're a Romanian immigrant, but not if you're one country over even if their education and politics are the same. Computers don't care.

AVAILABILITY bias. People analyze data that is available. If you have worldwide sales figures your market seems huge. If you no data investors will be strongly prejudiced against it.

CONFIRMATION bias. Investors who have a bubble mentality will see the positive and reinforce their theory, however non-rooted in facts (for example the theory that silicon valley teams will succeed and, for example, foreign teams will fail)

There are a bunch more, too.

http://rationalwiki.org/wiki/List_of_cognitive_biases

https://en.wikipedia.org/wiki/List_of_cognitive_biases

An AI would not suffer from any of these. However, due to the skills required to evaluate a pitch, the AI would have to be much, much smarter than any expert system today. Today you can't even tell a robot how to boil a pot of water (no matter how explicit your verbal description is) or anything else, and have it even come close to succeeding.

We're far away from robots (AI) evaluating pitches and business plans. But how cool would that be!
No matter what you've written after this question, the answer is always no.

always.

no

ffs

no
Machine translation is a big one. See the recent NY Times feature [1] and the arxiv paper [2]. Automated image captioning is another (used extensively by Facebook).

[1] https://www.nytimes.com/2016/12/14/magazine/the-great-ai-awa...

[2] https://arxiv.org/abs/1609.08144
How to Close a Gender Gap: Let Employees Control Their Schedules
I think other than reading Marx's Capital there's not much on the subject. I suspect there's some sociologists who've covered this. But most of my comment is purely personal observation based on a loosely Marxist POV (I'm not a Marxist personally, but I've taken the idea of commodification as something that can be applied to just about anything which has some economic value).
Speaking solely as a skeptical third-party:

> What is the process to be added?

1. Sign a Contributor License Agreement granting relevant copyright and patent licenses to Google so they can redistribute your contributions to AMP. You also give Google an unrestricted right to use those patents and copyrights in any of its projects, not just AMP.

2. For ad networks, submit a pull request according to /ads/README.md

3. For analytics providers, submit a pull request according to /extensions/amp-analytics/integrating-analytics.md

> Does Google have sole control to approve and revoke access to that list?

Yes, though this is not disclosed on the roster, every member of AMP's governance board is a Google employee: https://www.ampproject.org/contribute/governance/

Issue 5846 requests disclosing employer affiliations: https://github.com/ampproject/amphtml/issues/5846

> Does it place an unreasonable burden on ad tech startups that might one day be viable competitors to Google's own offering?

The work of the pull request does not seem particularly burdensome, however, if AMP successfully replaces the Web, then it may be prohibitively difficult for new startups to gain enough traction to merit inclusion in AMP's whitelist.

> How much will it hinder FB and their attempts at rolling out a GDN competitor?

AMP's legal and design constraints may limit Facebook's ability to innovate in that space, however, I'd be shocked if Google excluded Facebook from the amp-ad whitelist. The AMP project has been very willing to accept pull requests from established ad networks. They also provide a bespoke amp-facebook tag for embedding Facebook content within AMP documents, so there's some indication of cooperation.
Sometimes I think Lennary Poettering should offer a Patreon or similar donation scheme where every Linux user can cough up $1 and he'll promise not to write any code, send any emails or indeed use a computer at all.
It definitely is possible...provided that nobody uses it. You don't get charged for data transfer between instances on the same data region, so you could architect the system in a way that takes advantage of that. The problem becomes dealing with the outside world. Once you have users then there is a chance that they would push the one instance that is acting as a portal to the outside world out of the free tier.
Show HN: Online Learning about Industry 4.0 and Digitization. Coupon: LEARN2017
Psychologically safe teams beat targets by 17%,unsafe teams miss it by 19%
The fact that this has to even be argued is appalling. The erosion of the difference between a tort and crime over the last few decades is very concerning.

I think a lot of it started with the changing of copyright law into criminal law.
here is what I don't understand about deep NLP (please keep in mind that I just began exploring this field):

I am currently working on an algorithm that uses elementary text cues in combination with large data-table lookups to determine things like relevant keywords of news articles scraped from various sites. I have given my results to hundreds of people independently to provide me with some feedback regarding the quality. Here is the current breakdown:

80% of the cases I get perfect score.

10% of the cases I get acceptable score.

10% of the cases needs improvement.

My questions here are:

1. if deep nlp can only provide us with the same level of efficiency/accuracy, then why the hell would we use it?

2. if deep nlp can provide us with more efficiency than what is stated above then wouldn't it be safe to assume that is UNREASONABLY efficient?

3. why are most people using deep nlp or ML in general right off the bat. Theoretically, it would be far more interesting to construct a model where the result of a statistical/linguistically parsing is fed to some sot of ML algo in order to tackle that 10% of bad cases.
If you're going to insult Christianity at least bother to get your facts straight. Mary gave her explicit consent, Luke 1:38.
HP LaserJet 4200dtn and 20 lb white paper.
Didn't even read the text. No. Don't. There is never a reason to work for free, unless it's your first internship.
Huh, hasn't wallstreet being doing this, and even putting these things into FPGA's for nearly a decade now? Hell I wouldn't be surprised if they're printing ASICs with their algos.
Google Brain super-resolution image tech makes “zoom, enhance” a real thing
Closed as Not Constructive: The Top-Voted Discussions on Stack Overflow
It's your own browser that interprets the header, saves the cookie, and passes it back to sites you visit. Passing a "here's a cookie" header to your machine doesn't, on its own, do anything. Your browser has to actively parse and store it.
Sony Develops 1000fps 1080p Image Sensor for smartphones
Anyone using Pomodoro Technique on a daily basis?
About the best you can hope for when reading Elaine Pagels is getting her opinion on what Gnostic authors may have thought of Paul's letters. She makes the same mistake as the author of this article makes: that Christianity just started because a small bunch of men decided to worship Jesus as divine, instead of being confronted with him alive and well somehow after had been executed.
> It is sad though, that no start-up would consider building a self-hosted version that'd keep all data local, instead wanting to offer it in SaaS form.

i don't think that'd be automatically true. if there were enough security conscious users to create a market for a product like this, someone would provide.
Have you signed an IP assignment contract? Since these people appear to be flying a bit loose, I wouldn't be surprised if the answer is no.

Offer to sign one in exchange for having the stock issue resolved.
Get out. Now.

Let's review:

- If you're helping run an early-stage company but you're not drawing a paycheck, you're a co-founder. This means you should have a significant amount of ownership, and you should be publicly acknowledged as a co-founder everywhere it's relevant.

- Let's say you're an employee and not a co-founder. If the official founders are being paid and an employee isn't, the company is operating backwards. Employees should get paid first, then founders.

- If the company is funded, then nobody should be working for free.

- It's one thing to help out a friend running a company for free. I don't agree with it, but I can understand it. But when you have an actual title, especially one as important as "CTO", that crosses a line from "helping a friend out" to "employee or co-founder of the company".
Jawbone may stop making consumer wearables and instead make medical devices
Romania’s Biggest Protests Since 1989
Take a look at http://hi.remotetogether.com/
CEO of Blockchain.info recounts what he overhead at Money 20/20 conference
Hans Rosling has died
GoCardless suffers break-in, 19 laptops stolen
I tried switching from an iPad Air 2 to a 12.9" iPad Pro primarily because I wanted something larger to read PDFs with, and quickly discovered it was too large to be my iPad for everything else.

So, I'm waiting for a refresh and then I'll decide whether I can justify having two iPads.
HFT is a different kind of 'beating the market', though, don't you think?
Right, but how could anyone prove that you are the one who created the fake account?
You do expect the box to keep track of what content it's showing you. You don't expect the tv to keep track of all content, regardless of where it's coming from.
Options are total garbage anyway, go for shares or salary.
Working for free like this is essentially playing the lottery.

I worked for free too for a startup, for about 6 months.

They had trouble getting the right investor. Story was, they had one but then a company said they would buy them right away, so they didn't take the investors money. Instead they talked to new investors and told them about the new buying offer they received to get better conditions from the investors.

Long story short, I got my money in the end, they even paid me all sick days (I'm a contractor and in the hospital while working there) so it wasn't that bad for me.

They hired me to work remote for them, I stayed because I wanted to add more remote working experience to my resume.

Also, my thought if they really paid me in the end, they would see me as a valuable and flexible partner, who they will hire again.

Anyway, now I got almost two years of remote work experience and quite good money out of it.

But this story could also went otherwise and I would be forced to take the next best job I find, if I ran out of money before they could pay me...
We just signed up for Ghost Inspector yesterday. I hope it gives us half of this list... these are a fantastic set of principles.

I'd add that it's nice to have an "eject button" path to run the tests on local infrastructure. Also, it should be possible to run tests against localhost.
New freeware Duplicate Finder app for Mac
It's never too hard to figure something out if you're given the whole shebang instead of a loose breadcrumb trail.
U.S. Solar Industry Clamors for Workers as Jobs Climb by 25%
I don't know why people have down voted you. It's not as if the US government has a history of accessibility and transparency.

Call a spade a spade.
What a nice read, thank you very much for sharing!
My desktop. Adobe Acrobat Reader DC is actually really nice for reading and annotating pdfs.
Websites that don't work on weekends (of which I've seen more than a few) are really quite possibly the stupidest thing I've ever seen. I shudder to think that somewhere there was a requirements document that details what days the site should and shouldn't work...
I don't think its that much of "help their buddies in power by discrediting the protesters." as it is simply more entertainment. I remember someone asking from Cops tv-show maker why there is always African-American suspect and not a crooked banker. Where the guy simply answers if you can get crooked banker to take his shirt of and run down to street cops behind and we will film it.
They could look at your phone or computer and see which Facebook account you are logged into. This won't prove you created it but even logging into it is possibly a ToS violation.
I am italian as well and have been hearing this joke since the times of Craxi
> 'Yahweh' from Jewish antiquity

The Christians actually call that what you call "Jewish antiquity" "the Old Testament." And they don't pronounce the name of the God, just like Jews stopped doing that, but only after names like "Yehoshua" (Joshua and Jesus) and "Yohanan" (John) (both constructed from Yahweh) already became common.

This simple "his name can't be told" rule is the primary spark for the whole "transcendental" buildup and people naming "the only" "God" for any formally unrelated belief. And the Jews got that idea (keep the name secret) from the Egyptians.

> But you were comparing Jesus to Zeus.

No, check for yourself, I have explicitly compared the father of Jesus with Zeus, Zeus being the inseminator just like Jesus' father.

> Jesus belongs more with Buddha, and Mohammed.

No, Mohammad was a jealous supremacist murderous warlord, killing hundreds of people even after they surrender, torturing the captives, taking the female slaves as sex slaves, ordering the killings for revenge to somebody making some funny poems about him, ordering stonings of others for having extramarital sex, but for himself organizing "legal" sex with a 9-year old, inventing special messages from God to allow him having more wives than other Muslims etc (all documented in the religious texts). Jesus was just an apocalyptic religious hippie announcing that "the end is coming soon" who died once he tried to cause the change in the middle of Jerusalem, the governmental, financial and religious center of Judea at the peak of its yearly activity (overturning the tables in the "banks" there effectively(1)).

Buddha is not comparable to both Jesus and Mohammad, as Buddha was the one who recognized that he can chose to not believe in the religious dogma of his environment (Hinduism) and be free and happy instead, not ending in the Hindu equivalent of Hell (which was for them "being reborn again") but simply dying (which is called the "nirvana" -- simply ending being "blown out" like a candle, that's the meaning of that word). But the Buddhists, conveniently for them, made a new religious dogma out of Buddha.

----

1) The term "bank" actually comes from Italian "banca" which simply means "the table" -- the tables were used as "the banks" to perform the money transactions in the old times. Jesus actually disrupted the banks in the city. Which were very stressed at the Passover, the time he decided to do it. But it wouldn't be enough to sentence him to death, the reason for that was that there were the witnesses who confirmed him claiming to be the "King of the Jews" -- he was sentenced for leading the "regime change" during the times of the festival. By the oldest Gospel, Jesus, poor believer, didn't understand why the God didn't intervene then ("Eli, Eli, lama sabachthani? that is to say, My God, my God, why hast thou forsaken me?")
"Young, high tech, well-dressed, global 'hipsters' who live online versus older people, mostly rural, former communists, peasants or factory workers, who have no hope of adapting to the new incomprehensible tech world around them."

No, it's young people against corruption. Nobody is protesting against old people benefits.
I'm not sure if those things are connected. You can fix a bike but still be pretty shit at drawing it
Ask HN: In what order do browser addons process a webpage?
Say I have uMatrix, Ghostery and Privacy Badger, all operating on a site. What determines the order by which they alter a page?
You'd have had to lie to Customs and Border Protection, which is already probably a crime and quite likely sufficient to get you detained and deported.