skysight-inc/HackerNews huggingface dataset:
I wholeheartedly agree that many—if not most—algorithms classes don’t sufficiently talk about the limitations of the models used and how to handle this. I’m a big fan of Algorithm Engineering, which is best imagined as a cycle of design, analysis, implementation and experiments, with each stage influencing the next. This has led to some exceptional results (e.g. the route planning algorithms used by Google/Bing/Apple Maps, which are around 5 orders of magnitude faster than Dijkstra’s algorithm by using clever pre-processing that exploits the structure of road networks. Their asymptotic query complexity on general graphs is still the same as Dijkstra’s, iirc)

Nitpick, but your list-based LRU cache’s operations wouldn’t be in o(1) but rather O(1) – little oh means strictly slower growth, in this case sub-constant. Probably just a typo though. And it could be further optimised for locality by using a cyclic buffer instead of a linked list (-> no pointer chasing + sequential access), but see kilburn’s answer (the structure in the paper solves a different problem)
Taking a WebKit2 webview should give you enough benefit. But for some reason they chose Chrome.
How has it not ever happened? China, who essentially blocked Google, Amazon et al, now have Baidu, Alibaba, Tencent and other massively successful tech companies, while EU is stuck with aforementioned monopolies with near-zero chance of a local competitor competing with them.
> but I don't trust that you're disclosing that your test subjects also all died of cancer.

I might be wrong but I think this would be illegal

also, Not quite sure what you are suggesting.

> How can a supplement company ever do a study on it's efficacy

> They don't. It's a conflict of interest.

> it's fine to conduct a study and use it in marketing to say hey, studies have shown it helps you sleep at night.
People subject to identity theft due to poor control of their data do indeed suffer real world consequences. I wouldn't necessarily want to argue it's a case of life or death - but there's undoubtedly actual harm in some cases ranging from social issues if their data is sensitive, right down to financial loss.

And if you wanted to examine whether it could be a matter of life or death, it wouldn't be that big of a stretch. Consider what might be the result of someone trying to escape from an abusive relationship having their personal data exposed. Or a whistleblower / political dissident. For example, imagine a Chinese dissident with a free-Tibet facebook record whose data gets back to the Chinese government.

I'd focus on China particularly because they're developing a system for working out how much people align with the state and it appears it may be partly based on the information they can find out about people's internet postings:

https://en.wikipedia.org/wiki/Social_Credit_System
I read something about this in a quite unexpected place: H is for Hawk by Helen Macdonald:

> A few years ago I met a retired U2 pilot ... as I talked with this man what impressed me the most weren't his deadpan tales of high adventure, the 'incidents' with Russian MiGs and so on, but his battle against boredom. The nine-hour solo missions. The twelve-hour solo missions. 'Wasn't that horrendous?', I asked. 'It could get a little lonely up there,' he replied. But there was something about how he said it that made it sound a state still longed-for. And then he said something else. 'I used to read,' he said, unexpectedly, and with that his face changed, and his voice too: his deadpan Yeager drawl slipped, was replaced with a shy, childlike enthusiasm. 'The Once and Future King. By T.H.White,' he said. 'Have you heard of him? He's an English writer. It's a great book. I used to take that up, read it on the way out and on the way back.' [pp31-2]
This assumes numerics is free at very large scale, which is not reasonable if you want to create efficient biologically inspired AI.
> I remember when the Obama campaign hired data scientists and used targeted social networking tools to pursuade voters who were on the fence and it was heralded as brilliant and the future of politics.

If you go back to 2008 election, the media was praising Obama as the first social media president. Remember how well obama used youtube, myspace, facebook, reddit and the burgeoning social space during his election? It's strange how the media is now attacking the social media space they loved so much because trump won the election.

> Why is any of this news?

I think it's because the media and the democrats and a large segment of the elites need something to blame for trump's win. They don't want to blame hillary or themselves for the loss, so they attack social media.

During the 2016 election, Trump was complaining about foreign interference in the elections. And Obama stated there was no foreigner interference and that Trump was whining because he was losing in the polls. Back then, the traditional media was backing obama and mocking trump. Now that trump has won, the traditional media is the one pushing the foreign interference narrative.

But I guess it is all conjecture. But ever since trump won the election, there has been a relentless propaganda campaign against social media by the establishment. You can't go a day without seeing a propaganda piece on traditional or social media about how bad social media is.
> And .. I downvoted you. I hope it will sting.

I can't see whether I was downvoted but I see that the net result is very positive. But I'll take your word on that.

Perhaps your view is not shared as widely?

> People giving up free time to add value to your thing and you blame them for the site problems?

Do read my original post. My problem is people who don't actually contribute but nitpick on how the questions are worded. How does kicking me out or ignoring my question at best help me resolve my issue?

I would prefer them to keep the free time they dedicated to harassing me to themselves.

I do find your suggestions on design sensible though.
Imagine if Facebook had a “dislike” button.

Now imagine if that thumbs down was anonymous and what that would do to the atmosphere. That’s SO.
Operate the database like Stream API
Gerbil v0.12 Release
‘I made Bannon’s psychological warfare tool’ meet the data war whistleblower
>The key benefit of electron is that you can easily build cross-platform apps which run on every notable platform.

I've been a bit confused about the draw of this feature. I understand that there are a lot of JavaScript developers out there, and things like Electron allow them to use their JavaScript knowledge to make applications on many platforms. But there are now a large number of GUI libraries (GUI being a typical obstacle for cross-platform support) that can target all these platforms (and sometimes more) as well. GTK+, Qt, and WxWidgets name a few. And they have bindings across many languages! Of course, to make something that's completely custom-looking using these libraries may be more of a hassle than an html/css document.

Maybe Electron's popularity _is_ primarily driven simply by the high numbers of JavaScript programmers out there.

I guess it's like you pointed out: if you can get it to be fast _enough_, it's acceptable. Kind of similar to interpreted vs compiled languages.
Isn’t that also HN? I don’t think the existence of the down button is a factor as much as the moderation. FB is a nightmare without a downvote, SO is like a dysfunctional family, and HN seems to mostly work.
Stack Overflow is for facts, data, and science. Head over to Quora to see how the other path turned out.
There's a problem when these companies use international treaties and agreements to pay less tax than your local carpenter or grocery store or their own cleaning staff.

It's a government's primary purpose to protect the rights of individuals. What these multinationals are doing is theft on all the other players.
Even more likely, create a cross-jurisdictional confusion soup where it's impossible to develop a product, or if you manage, impossible to prosecute or understand.

Even the simplest cloud based activity can involve dozens of service providers and actors, each possibly in a different jurisdiction or country. Buy stock in aspirin.
If you’re not able to compete with a price that’s the market saying you’d be better off doing something else with those resources. If you suspect that the price is due to subsidy, great, free money. If you want to maintain domestic production capacity subsidise it. If you want to reduce startup costs pay to mothball a plant. If you want to maintain expertise subsidise the salaries of citizens who go abroad to learn about or work in those industries.

As far as externalities go you certainly have a point but if you feel you have a right to tell other people and countries what to do, go ahead. I don’t think there’s any reason to stop anywhere between sovereignty and colonialism. Those positions are coherent, the ones in between aren’t.
Good luck with ignoring the biggest consumer market on earth.
> I usually don't downvote answer that ask for 3rd party libraries, just vote to close

why ? why do you do this ? a lot of time there is an exact piece of code that does what OP asks for, what does it change if the piece of code is in a SO answer or in a github project ?
We hadn’t quite figured out that opinions and discussion questions were not a good fit in the early days.
Shameless plug: I'm working on a [Text GUI library](https://github.com/Hexworks/zircon) which has the option for isometric projection [like this](https://cdn.discordapp.com/attachments/205245036084985857/41...). It is completely decoupled from the backend (the simulation engine in your case) so if you are interested we can work together. I also work in Kotlin and I'm eager to put in some work to create a fun game. It also supports tilesets so you are not stuck with ASCII.
Maybe you have missed the part about the laughably hostile native APIs. No hotkey support, no easy windowing (or lack of thereof).
I completely agree that anonymous downvotes are an unfettered negative _in systems of discussion and opinion_.
No, if the engine in your plane dies you glide.
Statscan[1]. The actual numbers are by population size. I use the term town and city colloquially here (technically speaking Canada has towns with hundreds of thousands of people and cities with thousands).

[1] http://www12.statcan.gc.ca/census-recensement/2016/ref/dict/...

> Regardless, it’s a good reason to focus on making housing more affordable in cities (build more!).

I am going to have to disagree. Seeing the economic activity spread out to smaller communities has been the best thing to happen to Canada in a long time. I would argue that much of the countries woes are directly related to the drive into the big city that happened 10-20 years ago. As we've seen in Germany, a decentralized economy comes with many benefits.
Downvotes do cost 1 rep already. They have for almost a decade now.
Did you really link to russianlago, an actual shill subreddit? Also thinkprogress is a shill advocacy organization.

> However that's not what has been done, but the a) use of shills and fake personas to pump up opinion b) creation of fake "grassroots movements" and "news articles" with a divisive purpose

This has been done since forever. People supporting Obama did in 2008. Those supporting Ron Paul did it. Bernie sanders supporters did it and so did hillary supporters.
The Obama campaign's chief strategist is a master of "Astroturfing" and has a second firm that shapes public opinion for corporations

https://www.bloomberg.com/news/articles/2008-03-14/the-secre...

>One way the campaign sought to identify the ripest targets was through a series of what the Analyst Institute called “experiment-informed programs,” or EIPs, designed to measure how effective different types of messages were at moving public opinion.

https://www.technologyreview.com/s/508836/how-obama-used-big...

>Among the insights that were shared are the fact the people like conform to social norms, both in their community and their own past behavior. So telling voters that their neighbors have already voted or reminding them about their previous support of a candidate, makes those voters more likely to take action.

https://www.theatlantic.com/politics/archive/2012/11/meet-ps...

>The real drivers of an effective social media campaign, however, are based on the psychology of social behaviors not the current technology.

http://mprcenter.org/blog/2013/01/how-obama-won-the-social-m...
Tim Wu's The Master Switch gives a good historical overview of the consolidation of power that happens in various media/technologies.

Long story short, he says what's currently happening with the internet has happened before. New mediums follow "The Cycle", which means they progress from decentralized to centralized.
There are actual reasons to be worried about this kind of thing:

- The advertisements were not overt ("fake news")
- It raises the barrier of entry to the political process
- Filter bubble effects

Or you can believe a story about "elites" and "biased media".
I think I finally understand what the point of Facebook apps is and why they've always felt in some way dodgy. It's been clear for years that Facebook apps can get your user data, and that of your friends, and that Facebook designed them that way and were aware of that. The Guardian article even mentions that one of the apps used by GSR to gather data for Cambridge Analytica triggered Facebook security protocols trying to pull too much data.

What I didn't understand is why Facebook would grant this - maybe at some point they needed viral apps on the platform and giving user data away encouraged people to make them - but why did it still work a few years ago? But this article made it click: all you can really do to monetise or use millions of profiles of Facebook users is target them with ads, and Facebook is the only place you can target those ads effectively given Facebook user data, and the more data you have the more effective those ads are, the more you pay Facebook.

Facebook don't sell user data, they've long said that - and it's true. They sell the ability to target advertising to their users, and you can do that a whole lot better if you have their user data. So they don't sell it, they give an API for their users to freely give it away, knowing that once you've done all your analysis on it you'll conclude that you should spend money paying Facebook to actually deliver your messages to those users.
> Also, in case the blog author's name (Jon Skeet) didn't ring a bell

The guy is a legend. If there was ever an MVP in the C#/.NET space, it's this guy. His books are great too.
Will a bicycle? A plane? A boat?
This makes sense however even on-disk stores written in Java sometimes have non trivial memory usage characteristics. ElasticSearch is an example, so I would check what happens in the real world. Well of course an in memory system will always end having a memory usage proportional to the graph size...
How easily or willfully we forget the past:

3/14/2008

>The Obama campaign's chief strategist is a master of "Astroturfing" and has a second firm that shapes public opinion for corporations

https://www.bloomberg.com/news/articles/2008-03-14/the-secre...
There is not, insofar as lead tends to be either inspired or ingested in contaminated water. For most people, it's the former. The "oral chelators" just bind lead that is mixed in with them, stopping you from absorbing as much of it. That is, Senapati 2001 (the garlic-rat study) didn't give lead acetate in the morning and garlic in the afternoon; they intentionally mixed the two together.

That is, oral intake of lead with oral intake of garlic, means maybe you shit out more lead with the garlic chelation agent. But lots of garlic will do nothing for water you drink later in the day, or the air passing into your lungs.

There may be some additional anti-oxidant activity. Anti-oxidants are good for you across the board. Have at them.

As to a safe blood lead level: depending on your local public health department, 5 mcg/dL will or should prompt public health action. <5mcg will usually prompt a doctor to start trying to figure out where you're exposed, and cut that exposure out. >5mcg turns into a little bit of a grey area depending on where you are, and by 10mcg your kid is getting chelation therapy. These numbers are built around children, not adults, because they're far more susceptible to the adverse effects of lead exposure.

That said, we have not identified any safe lead level - every level that has been tested has been shown to be associated with some sort of negative cognitive developmental impact (Lanphear 2000). I feel comfortable saying the safe level is "0", but that's not medical consensus, that's just my opinion.
I was going to say the same exact thing, that it has the same problems as wikipedia. But then I was going to say "hard to contribute ... because control-freak insiders who've managed to take political control of what should have been an Internet-wide mass-community don't want you to."
> I wish I could see the actual comments from others that irritated Rob but it seems like I can't find his SO profile. (Did Rob Conery delete his SO profile?[1])

You and me both. Rob emailed me about this and I asked him the same thing.

Criticism without actual examples is not actionable. Also one person’s pot-ah-to is often another person’s poh-tah-to if you know what I mean.
SLIs, SLOs, SLAs, oh my [video]
cilantro
I see no mention of Florida anywhere
Also note that the pattern of splitting into experts and newbies is common in the SE engine, look at English vs. English Learners and Math vs. Mathoverflow. You are correct.
Ask HN: Do any major sites slow down their pages on purpose to spend more time?
I really don't know what's wrong with apple app reviewer
It's long time, they always reject my app with the reason

--------

Guideline 1.2 - Safety - User Generated Content

Your app enables the display of user-generated content but does not have the proper precautions in place.

Next Steps

To resolve this issue, please revise your app to implement all of the following precautions:

- A mechanism for users to block abusive users

--------

but I have the mechanism in this app, and also give them the screenshot of the function in this app, you can see here http://i63.tinypic.com/bzc5x.png
>suffering from the same "problem" as Wikipedia: the quality & quantity of existing content is now so high that it's becoming really hard to contribute new content. However, while this is indeed a real problem for "askers" trying to get heard in all the noise, and there's diminishing returns for the "answerer" who has less fun questions to tackle,

I agree with your observation but Jon Skeet's essay seemed to be focusing on something else... the culture of hostility (or perceived hostility). The key words I noticed he used (multiple times) were "hostility", "jerks", "feelings".

On the other hand, the keywords I would associate with your observation would be... "boredom", "novelty of a new website", "low hanging fruit to quickly build easy karma", etc.

To discuss Jon's specific angle, let's use an example of a [tag] that's fairly new technology such as "[vue.js]". Since Vue is 2014, it doesn't have the "completeness of answers" of a very old tag like C# from 2008.

Here's a Vue question sitting downvoted to negative 4: https://stackoverflow.com/questions/49345098/how-to-get-prop...

Maybe his question deserved all those downvotes. I don't know enough about Vue to guess if the downvotes were all caused by a pasted screenshot instead of pure text.

To Jon's "culture" essay, is the minus-4 the optimal way to communicate it's a "bad" question? Is it a bad question because of its format (the screenshot) or was it bad because "props" is a trivial LMGTFY (Let Me Google That For You Question)?

Here's another Vue question at negative 1: https://stackoverflow.com/questions/49321665/how-to-add-a-ge...

To generalize, if there's "[new technology]" that opens a vast untaken area for new contributions of answers, is the culture created by Stackoverflow's mechanisms (the downvotes, the karma system, the moderators' powers, the "closings" vs "moving", etc) ... the best incentive system to minimize hostility?

Are Jon's well-intentioned "covenants" realistic? Or are they naive to human tendencies when any website is open to mass participation?
In a way it is. But I think it works much better for comments/discussion as on HN, than getting downvotes for your cat picture or SO questions. Perhaps it's because even though HN downvotes should be on quality not content - that's not what the majority of downvotes are, they are disagreement. And people accept disagreement.
Whenever I find myself wanting to build an app that is electron/chromium/webkit frontend + C++/C#/Rust/Go backend I can never justify it over building a web app + web api instead. If you want to run it locally there is a one line docker command to do it.
Arunachal Budget 2018-19 Documents
Google, Amazon, Microsoft etc. are still there. The US can still produce steel and computer chips. Other countries subsidising domestic production of software, steel and computer chips did not lead to the US being unable to do so.

And amazon is pretty big in China, taobao and jingdong are just bigger and better.
Personally, I like this proposal. I like that it's simple: any overly complex system will almost inevitably result in distortion and loopholes. A few points of my favorite points:

* It's done on revenues and not profits. This avoids the impossible question of where profits are realized: if you make money in one country but displace that earning by costs somewhere else, it's practically impossible to determine where the tax should go.

* It's uniform across the EU and so it doesn't incentivize companies to base themselves in any member over another. This avoids the distortion we have now with Ireland's permissive tax system siphoning up all the company headquarters and with it the (scanty) tax revenue.

* Each member receives money based on the number of users they have in their own country, meaning they have a strong incentive to increase usage of digital services and a disincentive to put in place regulatory measures that would decrease adoption and harm growth.

One of the problems of the current situation is that it sets tech companies up as these parasitic monsters that creep into a country, make huge profits, alter the society as they see fit, and give nothing in return. The best thing about this proposal is that it sets up a harmonious relationship: governments get to make money while companies get to have their access to citizens legitimized. With that legitimacy comes better PR and a seat at the table as legal systems everywhere catch up to the world tech companies have created.

Plus it might finally put that ridiculous "tech companies are tax evaders" meme to rest.
Yes. It's clearly not enough. Perhap if downvotes with comments cost one, and downvotes without explanation cost more?

And downvotes should be both signed (by user) AND motivated. Then the community could rate the downvote as well. A poor downvote should be worse for your rep than a poor question.
Correct, doesn't make it right (and Hillary did some of this as well)
That looks awesome! I really like the clean look and easy to differ between O's and 0's .
> I agree with his rant about "CS departments' algorithmic analysis" failing to cover these real-world hardware issue.

I disagree. CS algorithms is about the logical/mathematical understanding of algorithms. If you want to understand hardware implications, you are generally taught that in an comp architecture class. Blaming algorithms class for the lack of consideration for real world hardware issues is like blaming the computational class because the turing machine doesn't factor in hardware issues. You abstract it out to make general logical observations.
Twitter thread about J.C.R. Licklider, a core reason we have the internet
Do you use chrome or something? Firefox is excellent with hundreds and hundreds of tabs (on my 2011 linux machine)