skysight-inc/HackerNews huggingface dataset:
> Saudi Arabia is a counter example to your point: Iran has a considerable amount of oil but because of unrelated geopolitical circumstances, it can't easily sell that to the global market like KSA can. That imbalance has little to do the nature of oil and a lot to do with the KSA-United States' petrodollar and arms deals.

It has little to do with oil and much to do with Trump making the Iran deal a campaign issue and therefore doing everything he can to pressure them into renegotiating. The outlier is Iran rather than Saudi Arabia. Russia and Venezuela aren't having any trouble selling their oil either. Moreover, as Iran's production is down, oil prices are up. This, ironically, actually hurts the Saudis too, because it makes oil less competitive against alternatives in the short term, encouraging faster adoption of alternatives that suppress oil prices in the long term.

And Iran's production is only down because of US-led international sanctions, which clearly falls into the category of market power. But they're also the reason the US can't go after the Saudis at the same time, because until we transition away from oil (which takes time), the US economy is still highly sensitive to oil prices, which are already higher due to Iran. The Saudis are actually doing Trump (not to say themselves) a favor by increasing production during the sanctions on Iran.
Well said.

Amazon is either going to clean their house or someone is going to do it for them.
Is there a defensible argument for Apple's tactics?
It was a fast figure I threw out. My actual hours worked per week is about 4-6. Per week.
Fungibility matters if your only goal is to make it impossible for bad dudes to sell their product / invest. But keeping your own hands clean is an admirable goal in and of itself, and certainly concluding "this doesn't make a difference in the grand scheme so why should I care" seems to be the exact kind of cynicism the parent comment was critiquing
RedisGraph: a fast, queryable property graph database for Redis
The article is notable for two points:

1. It discusses YC, and while the criticism of YC initiatives is shallow, that might still be of interest to HN crowd.

2. It references the fears expressed by JFK about automation stealing jobs in 1962, and then points out that employment numbers have almost tripled since then.

While author hasn't delved into many details and nuances, the basic premise resonates with me - why are we worried about automation, when humanity has found new jobs across many waves of technical advancement? Also, why is UBI a good solution, when history has shown that communism or heavily socialist societies have failed repeatedly?
There was a time back in the late 70's and early 80's when the USSR bought New Zealand dairy and agricultural produce but couldn't pay the bill. So they paid with Ladas instead.

They were terrible, terrible cars. Even worse than the rear-engined Skodas.
What makes you think that now, rather than all points in history, our "transition from hierarchy to a fully connected network" will work? Seems to me entities made up of many people are organized hierarchically for good reason.
Loosely related, here's a transcript of the reactions of 10 prominent German nuclear physicists upon hearing the U.S. forces dropped the first atomic bomb: http://germanhistorydocs.ghi-dc.org/pdf/eng/English101.pdf

The scientists, including Heisenberg, Wirtz, and Hahn, had apparently been captured and detained in a bugged house in England, in an attempt to learn more about German nuclear capabilities. It's fascinating to see the varying responses amongst the scientists, from relief that they weren't the ones to actually implement the bomb, to a seeming sense of frustration to having "lost" to the American scientists in figuring out how to do it.
the cold war itself started out as a truce between equals
If you believe one implies the other, then evidence of the funding should be sufficient as evidence of invalidity. If you don't believe one implies the other, then your question about the funding was answered, and you are moving goalposts.
> I heard that a Saudi consulate in DC asked him to go to Turkey

Thanks for answering my question. Seems like he fell into a trap.
It’s hilarious that people suggest that doctors should provide written estimates in advance, on a site full of programmers where the accepted wisdom is that its impossible for them to provide accurate estimates for the work they do.
I ran the October update and lost my Desktop folder.

After install, a dialog box appears:

"C:\WINDOWS\system32\config\systemprofile\Desktop is unavailable ..."
Motivation and discipline. I have found adding it to a list helps the discipline part for me since I'm OCD and have to finish all the lists! :)
Say getting a base ammount per problem fixed or identified to some standard say $20k for solving severe stomach ulcers with bonuses for things like not having any longterm damage, minimal patient suffering and such. It doesn't matter if they use cheap antibiotics or surgery or how many screening tests were performed in that hypothetical.

Granted there would be major devils in the details especially if it causes "underwater" patients.
Wow, this is excellent! Processing was definitely my introduction to graphics programming, and I think it's still the most effective tool in teaching certain programming concepts. The visual feedback loop is huge for getting people off the ground.

In 'creative coding' classes, I think a big missing piece is an easy way to collaborate on and share scripts, and this is a perfect tool for that.

Many congrats to the creators!
Smalltalk is the home of a very early unit test framework, SUnit, which generated quite a few other frameworks. Kent Beck described it in his book Kent Beck's Guide to Better Smalltalk along with an earlier paper. http://swing.fit.cvut.cz/projects/stx/doc/online/english/too...

http://sunit.sourceforge.net/

https://en.wikipedia.org/wiki/SUnit
I'd argue that the author is actually under-representing the value of pagination by making an obvious mistake in implementation.

For example, under the ratings for pagination, they list: "Bad: Performance issues".

That bad rating is based on doing a dynamic post count for every page load, an approach that would only be used if someone wanted to maximize the performance penalty (or if your site/service is small enough that it simply doesn't matter if you do a new dynamic count on every page load). There's no common scenario where you aren't better off storing that post count, altered only as needed, rather than calling a new count of all posts for every single page load.

Even in a scenario of very heavy write, rare read, you're better off doing either a stored constantly incremented count or stored compromised occasional count that isn't perfectly accurate until or unless it needs to be.

Specifically the author uses this:

SELECT COUNT(*) AS total FROM posts

Instead of that, as a common scenario, let's say you have a posts table, and a comments table (which correlates comments that belong to posts by an id). You don't count how many comments each post has dynamically on every page load for a post, in the process of showing the comments. You have a counter in the post row, that increments only when a new comment is made, or decrements if a comment is removed. You pull that count at the same time you pull the core post information from the "posts" table, in the process of loading the post and then afterward pulling its associated comments.

The penalty is that you must update the post row when a new comment occurs. Assuming your service is heavier on read than write, which is almost universally the case, this is an easy win.

If all you wanted to do is track the post count, and not something further connected to it such as comments, that's also similarly trivial. There are numerous good ways to go about storing the post count until it needs incremented, rather than calculating it dynamically every page load.

All one has to do is consider a routine blog example, in which an author updates the blog once per day, and receives 1,000 or 10,000 visitors per day. There are 1,600 historical blog entries/posts spanning over four years. This article's approach is to needlessly dynamically count that over and over, perhaps tens of thousands of times per day, rather than altering and storing the count once per day when a new blog post is created. Performance bad indeed.
I guess the problem is one of expectations. It is primarily a DSL for working with emacs, not a general purpose programming language like Common Lisp.
This is one of the issues I've noticed that has the biggest disparity between evidence and common belief. We have mainstream reputable people and organizations actively promoting polyunsaturated fats as a "healthy alternative" to saturated fats, while all the available evidence says saturated fats are healthy and polyunsaturated fats are not. It is pretty scary to consider how many people have likely already died prematurely from this mess, nevermind how many more will before common knowledge catches up to evidence.
Ask HN: Are successful people damaged people?
I met a lot of people who have success, and they are all damaged. And I know some people who are really happy. They are not as brilliant and successful as the first. I see a connection between how people want to show something to the world and success, and how people are full and just live. Am I wrong? Or do I meet not enough people and it's possible to be a successful leader and be in peace with myself?
Let's not forget that these fake reviews are being paid for. That's clearly better than non-paid-for fake reviews. That is, there's some friction for the malicious actors.

Imagine how much less spam we would have if it cost 1 cent to send an email. Friction can do a lot of good.

This is all to say that it looks like Amazon and others (e.g., Steam) are doing the right thing in requiring a verified purchase in order to leave a review.

But it does seem like there's an easy improvement that Amazon could make: offer amnesty to people who report (after the fact) that they left a fake review. The review would be marked internally as fake (and this would impact rankings, etc.) but the vendor would be none the wiser.
If only they had regular expression support in the built in find. A few times I've put that into web apps and found it quite useful.
I don't recall this at all. The only thing I remember is that they wanted to repeal (and less so, replace) Obamacare. I don't remember anything about price transparency.
Not sure about the pricing but the counter argument I hear regarding restrictions often is that Apple doesn’t want to tarnish the brand by letting third party vendors repair devices. They don’t want the situation where the third party mucks up the screen replacement and the consumer (however right or wrong) blames Apple for it in some part.

I imagine you could tie the pricing into the above argument somehow by saying you need to pay more to do the repair correctly (training technicians, buying the proper parts)
There a number floated at 57 million for 2018? value of Vancouver property purchased by local students with zero income - so this only tallied the ones not clever enough to use shell companies or lawyers as described as the other money laundering techniques to purchase homes, though the casino cash to chips to cash might be most brazen. I think just like the UK hsd recently done - stricter anti money laundering rules, income transparency are needed.
Write to Tim Cook. I had an iMac that was in repair for 4 weeks with no clear indication of when it would be done. I emailed Tim Cook and the next day a senior manager called to discuss my case, and the week after I got my machine back. Worth a try.
To add to this, it may take a long time to build a big enough audience to make money off ads. But you can use these educational articles as content marketing and lead generation for programming services (example: extract email addresses meeting specific criteria).
IXL – Math, Language Arts, Science, Social Studies, and Spanish
If you don't like it, don't buy it. Seems super simple to me. Let customers vote with their wallets.
And eventually when people start to favor two and four star reviews those will start being gamed as well, and then, just like in a math problem where all the variables magically cancel out, all the fake reviews will exist in perfect equilibrium and average review scores will reflect only the real reviews! Genius!
There should be a major asterisk - as long as it remains profitable. If producing more causes the price to go down the margins get worse they won't do more work to earn less. Many prices aren't fixed but per quantity.
But a web of trust based on, "I like this reviwer, so I trust who they trust" seems reasonable.
It is hard to believe that an adverse mortality shock big enough to rock Pru could be absorbed by reinsurance capital. The story is a bit sensational but as an investor in both banks and insurance companies it is stark how regulated (post 08) banks are and how little serious regulation there is on the insurance side. A lot of it is how state level insurance is regulated which allows states to shop themselves (ie race to the bottom) as the loosest regulator.
A brief notebook on cryptography
> Yeah, and in CR you should be told not to use the object form when you have "true" as the value, as it's pointless. That's what string form is for. The "docs" are literally 5 lines where you learn you can send object literals, arrays and strings.

What a dumbass argument. So instead of writing a one line abstraction, I should invest a bunch of CR time explaining to my whole team which of 3 different APIs they should be using in this dependency I've brought in?

> Holy cow, man. Do you literally hand-implement EVERY utility function you've ever needed?

No, just the trivial ones. Have you been actually reading this thread?

> Your point seems to be: you can't manage to infer ANYTHING from a function signature

No, my point is that you can't infer the full API of a function from the arguments passed to it's invokation when the function is polymorphic.

> AND that apparently somehow your team members can ALWAYS infer everything needed from any function YOU write.

If the function is trivial, which is exactly what we've been talking about this whole time, then No. Fucking. Shit. The function is trivial and they have the source code right there.
"The client typically expects grunt work but after my initial email and call, they are quickly educated "

That's the part that makes me hesitate jumping into consulting. How do you advertise yourself in a way that you can avoid the wrong clients, which seems you'll always gonna get.
Security/Privacy.

If you look at the components that Apple has additional restrictions on e.g. Screen, TouchID they are the ones that if were comprised would enable actors to record you, capture keystrokes etc.

There have been recorded incidents of state actors taking people's laptops, replacing components and then giving them back to them. Apple's position at least to my knowledge prevents this.
It was a major element.

See point 5: "Require price transparency from all healthcare providers, especially doctors and healthcare organizations like clinics and hospitals. Individuals should be able to shop to find the best prices for procedures, exams or any other medical-related procedure."

https://web.archive.org/web/20161110004206/https://www.donal...
What do you mean by «damaged»?
Here's a relevant quote from a nice article [1]:

"""
When you are estimating tasks that are done over and over, you can look to your historical execution time for insights. We average chopping X logs per hour.

If I hand you a Rubik's Cube and ask you to tell me how long it will take you to solve it...what is your answer going to be? If you've done it before you might have an idea. Maybe you just kept plugging away until you finally solved it? Maybe you've watched one of those videos about how to solve a Rubik's Cube, have practiced it and are confident that you could do it in 3 minutes flat? Maybe you have no idea?

Complexity and experience will dictate your answers, but then those estimates still only reflect your perception of the task...not everyone else on your team.

At best those numbers are a guess.

Every step in a software project is solving problems. You don't know how long it will take to solve the problem. You don't know how many new problems you might run into along the way. Can the new problems be solved by you or do they need to be solved by other people?
"""

[1]: https://www.brightball.com/articles/reality-driven-developme...
Microsoft has turned Windows Update into a cancer that is the single reason I am going to abandon their platform in future machine purchases. Can't believe I'm longing for the days of Vista (well post-SP1).
I personally don’t consent to any searches. But I’m sorry you tried to help out and then we’re coerced into having your liberty taken.
> However, a few dozen nodes can handle the workload for probably 90% of companies. Being in small startups if I can effectively get binary RPC, distributed namespacing, etc, for free it saves a lot of trouble and effort.

I think this key. There are issues, and there are parts of the platform that are crap, but Erlang (via Elixir as well in my case, I'm not sure if feel the same way if it was purely Erlang) is on balance the most useful and usable tool I've ever used for building networked services
You should include same-sized placeholders for the unloaded content, so the page doesn't jump about when you search and push the search result off-screen.
I sent an iPad [covered by AppleCare] with a cracked screen to them for an AppleCare repair. $49.

They sent it back with "could not reproduce". Like... this is a huge crack. You can't not see it.

So I sent it back to them. Waiting for the diagnosis for attempt #2.
I see what you’re saying, but Microsoft is forcing the industry on a treadmill to upgrade as quickly as possible as they aggressively break stuff on their quest the twiddle Windows twice a year. They need to embrace quality control.

Handling zip files is a basic file system function in 2018. If they are fucking up basic operations like this, imagine how bad other parts of Windows are now.
Thanks for your feedback! I think it would be cool to do some more analysis of the technology industry like what's the NPV of sponsoring a hackathon or a conference? Does it matter what type of company you are and things like that? Interesting, I thought of the NPM aspect as separate and didn't account for the fact that as a repo gets more popular, the higher the chance for better code quality.

I really regret the clickbait and won't be doing that again in the future. I think the way that people responding means the future of open source is bright however.
Plenty of people at McKinsey have a conscience. They are humans like everyone else.
Amazon rolled out the carpet for counterfeit when they mixed their inventory with seller inventory.
Do not buy common automotive parts from Amazon. Really good chance you will get a knockoff part.
How to enjoy working for Amazon
> Once you get >1000 visitors/day

That is a big once.

>you can start monetizing it

How? Ads from an ad bank?
There's a reason why health insurance companies do the amount of lobbying they do.
I thought that media codecs were handled outside of general purpose code. Like maybe a special chip or on a graphics processor.
Ich bat sie, das Kleid zu kürzen, weil ich es immer getan hatte
"Ich habe FCNK online gefunden und war sehr interessiert daran teilzunehmen, weil alle ihre Kleider unglaublich waren. Ich versuchte drei oder vier in einem Stil, der zu mir passte, aber ich war enttäuscht, ihn nicht gefunden zu haben (ich weiß jetzt, dass es ganz normal ist), dann bemerkte ich die "Französische 75" und ich habe mich total in sie verliebt. Die Spitze wurde mit feinen Silberfäden gewebt und ich LIEBE Geld. Ich habe es versucht und es war perfekt. http://www.mekleid.de/
That's rather disingenuous.

The US lost approximately 60K that's 30K a year.
I honestly didn't know that ... I've never actually used the libc wchar_t functions :)
TL;DR don't use infinite scroll because your users can't find the footer.

Office 365's Outlook Web uses infinite scroll for listing emails, and the thing I hate about it is as you're scrolling down, it removes things from the DOM at the top. So if you want to delete a ton of emails from a service that went wonky and spammed you over the weekend, you can't click the top and shift click the bottom, because by the time you reach the bottom, the top message is gone.
Reposting a comment I left elsewhere:

There's no great reason to believe that fakespot is actually good at telling you when reviews are fake. Compare the absolute maximum that fakespot can ever do against the description given in the article, and you'll see that fakespot is no panacea. Fakespot can only ever catch a certain kind of low-effort fake review that is becoming less relevant as markets find new ways to cheat people.
I wonder what the size is as of this moment, maybe double?
I read somewhere recently that 90% of the content on the Web was created in the last 2 years. Not sure if thats "special media" focused, i.e. video & pictures, as opposed to text. But I'm sure the size of the dump has increased substantially in the last 4 years.
Do you know of any sites that do it correctly?

I've created various pages that sorta unrenders content, but all of them break the browser's find.
Good question. Transfer learning is related but not quite what I'm getting at. Your spinal reflexes are a neural network developed on an evolutionary timescale, they are somewhat flexible but also pretty specialized.

If you come at this from the engineering perspective your goal would be to write controllers using a NN substrate and then make then make them updateable through experience.

If you come at it from a pre-trained deep net perspective your goal is to find a smaller (probably shallower) network which captures low level motor patterns. You might do this by distilling a truncated larger net.

Either way you're looking for a separate component that can be plugged into a larger agent system.
If you avoid a hotel because of fake bad reviews, you are unlikely to learn the reviews were fake.
> Given that the US has this system

The US does not have this system.
> Imagine how much less spam we would have if it cost 1 cent to send an email. Friction can do a lot of good.

Incidentally, this was the motivation behind a PoW system called Hashcash: https://en.wikipedia.org/wiki/Hashcash.
Actually, meat (red meat in particular) has vitamins that are necessary but are hard or impossible to get as a vegetarian/vegan without supplements.[1] Deficiencies in some of these nutrients could be permanent. What's worse is it could take years for the effects to be noticed.

It's very sad that people are still selling these diets without disclosing the very important health risks they pose or the care that must be taken when on them.

[1]https://www.healthline.com/nutrition/7-nutrients-you-cant-ge...
A bit off topic, but companies/organizations that use punctuation in their name make sentences look screwy. The organization in this article is “Which?” which the Guardian faithfully reproduces (without the quote I used). As a result, every time the name of the organization comes at the end of a sentence, the Guardian doesn’t end it with a period, they end it with a question mark. This made me go back and reread at least one sentence because I thought I misread it. I read the sentence as a statement, not a question (and it was a statement.)
Better info: http://www.physicscentral.com/buzz/blog/index.cfm?postid=157...
Care to share any links to said best practices?