skysight-inc/HackerNews huggingface dataset:
It's objectively (1) a very early way to make sense of the world and (2) a way to set up ready made norms and values for even your most unintelligent parts of society. It's very effective at those things.

That said: we have science now for the first bit, which is much more effective at that job minus the simplicity. What do we have to replace the second part?
It's always great when people leave Facebook (react native team) and create amazing products to improve the world!
Purposehood - live well, do good, be happy
Purposehood is a movement for people who want to live well, do good and be happy.
We want to support people achieve their higher purpose by allowing them to do daily selfless acts.
We encourage our members to ask themselves every morning: "For all the blessings that I have in my life, what selfless act I intend to do today?". And with that in mind, use our app and keep track of their selfless acts.
We want to help people feel happy, to know they're doing something good for others, no matter what that is: hold the door for someone, smile, call a dear old friend, help someone with groceries.
Purposehood is the only app that helps people find and follow their purpose by completing daily selfless acts.
While following their purpose, people get what they want by giving the world what it needs.
iTunes Purposehood app: https://itunes.apple.com/ro/app/purposehood/id1214588914?mt=8
Congratulations Microsoft, on your best exploit yet!
Thanks for pointing out. I used std::string mainly because I suck at C++ :(. In C I can easily define the key length to be a variable passed to the constructor, but I don't know how to do the same with C++.
Keep net neutrality and title 2
1. The problem with per-article paid access is that the question of access is tied to the question of cost. I'm working at a scale of information where I'm looking at thousands

Prices should be in tenths of a penny.

Your 2) is false: at some point, I've got to consciously decide whether or not I'm paying for content. Otherwise you're making a sham of the concept of a discretionary payment system.

Much as bundling has made a sham of cable programming consumer choice? Micropayments done correctly would pay directly per view. You'd exercise consumer choice by visiting or not visiting. If you're dissatisfied with a content producer, you stop visiting. If micropayments are measured in tenths of a penny, it's not even worth getting the refund. Instead of having your eyeballs paid for indirectly through advertisers, both viewers and advertisers can be bidding for your eyeballs. Long tail advertisers will be better served, and long tail consumers will be treated better by advertisers.

For 3 & 4: it depends on what the granularity of the system...The answer was the literary or publisher's magazine.

Note that digital goods aren't as limited in granularity as they were in the days of paper, vinyl, & CD.

And information is a public good, as Google's Chief Economist argues.

There are problems with advertisements paying for public goods. That's subject to its own kind of "Tradgedy of the Commons."
Wow, that's scary, the one about a grand mal seizure with Xanax in particular. I used to take that, but only for occasional acute anxiety, never on a regular basis. It seemed to help a lot, and unlike the SSRIs I've used, it didn't have any obvious side-effects at all. I never took it long enough to get any build-up though, just occasionally if I was having a really bad episode.
Ask HN: Why hasn't any startup fixed K-12 school lunches?
Giving the saturation of food delivery startups, I'm surprised there has been no disruption to the much-chagrined public school cafeteria. Working parents don't have time to make lunches and public school cafeterias in the U.S. serve notoriously low-quality low-nutrition lunches.
> An objection I hear to this is that you're not just writing tests for yourself, you're writing tests for the others who will need to help maintain your code, perhaps after you're gone. I'm somewhat sympathetic to this, but I would also say that if someone else needs to modify my code, they damn well better first understand it well enough such that they could write tests before changing it (if they deem it necessary). Anything else is just irresponsible.

As someone who has had to fix plenty of legacy code, I have truly appreciated the people who have left me at least some working test suites to run - or just look at - and cursed many others. At the same time, I have generally been handed over code bases with tens or hundreds of thousands of lines, some of which had no useful tests.

If it is irresponsible to try to refactor or fix a codebase without first understanding all of it, it may be even more irresponsible to expect that those who follow in our footsteps will be able to do that, even if they are "gods of programming".

The reason why this is so was hammered home very strongly in Peter Naur's "Programming as Theory Building"[1].

Unless a code base is trivially small or simple, leaving it without meaningful tests instantly creates legacy code. I'll close with an excerpt from the back cover of "Working Effectively with Legacy Code[2].

> Is your code easy to change? Can you get nearly instantaneous feedback when you do change it? Do you understand it? If the answer to any of these questions is no, you have legacy code, and it is draining time and money away from your development efforts.

[1]: https://news.ycombinator.com/item?id=10833278

[2]: https://www.amazon.com/Working-Effectively-Legacy-Robert-Mar...
We're only talking about one exploit in one program. CFG doesn't have to be "common" to be relevant, it just has to have been used in that program, which it must be or it wouldn't have been mentioned.
Thanks for creating and sharing this; I think it is really cool. I'm curious: what is your plan to deal with the possibility (inevitability?) of hosting copyrighted or otherwise illegal content?
I've written code that does that [1] to log information to help diagnose crashes in long running daemons. Now, the dumping of environment variables is optional but it has been helpful to me in isolating issues with some CGI based programs (as Apache passes critical information to the script in environment variables). Of course, it was in a situation where core dumps are not generated so anything related to a crash is helpful.

[1] https://github.com/spc476/CGILib/blob/master/src/crashreport...
People know toot means fart, right?
What is this notion of "rentier capitalism"? How is it "crony"? What is a good book about these phenomena?
What is inside that justifies the cost? Couldn't similar functionality be found in a mashup between a $35 echo dot and a $35 fire tablet?
Sure, as long as their users unanimously abide by a very large rulebook ;)
It doesn't say 400,000 viewers per hour. Rather, it could be interpreted to say that an average day has a maximum peak viewership of 400,000.
>These movies portrayed black people in ways that white people were comfortable with: blacks were musical, entertaining, athletic (even animalistic), outrageous (even wild), not-so-smart, happy-go-lucky, etc.

Of course, as we all know, the more enduring the stereotype, the more likely it is to be false. Given that Arab explorers were describing Africans in strikingly similar terms a millennium ago, we must conclude that these views are nothing short of the distilled essence of error.
That's super interesting, would you mind emailing me at [redacted]?
The Languages and Frameworks You Should Learn in 2017
If this is cheaper than RFID tags, I'm seriously considering starting a company around selling a fridge device that could keep track of food that had a tag printed on them.

The Jetsons fridge that has always been promised, but never made. A fridge that could buy your food for you!
Some Demo of Wechat-WeApp
> Xerox opening 1.3Billion unit plant in early 2016

Sounds like the site needs an update.
I disagree strongly. Innovation is a replaceable concept. Anybody has innovative ideas.

Putting in the years of work to implement them, on the other hand, is rare.
It may also be good to look at 'The market for silver bullets' (2008) [1]. This discusses security products as products where both the seller and buyer do not know enough to judge the efficacy of security products. Also where the cost of a breach may be far lower than the PR costs and fallout for example.

[1]: http://iang.org/papers/market_for_silver_bullets.html
I love the idea of reclaiming some of the energy from our lighting. Perhaps one day solar cell wall paints will be a thing.
I'm curious - how old are the systems you're working on?

In my experience, unit tests don't catch many bugs when the code is fresh. But when it's five years old with many modifications over the code base, some dumb little test that you thought was a waste of time is now alerting you to what would have been a horror regression.

In other words: Even though it feels like it's slowing you down now, if you write tests while the functionality is still fresh in your mind, and you capture your assertions well, they'll pay off dividends in the future once you've forgotten what some block of code does.
When I first see "sorted array", my first impression is it is sorted by the "original key". If we look for the hashed value in hash table, all hash tables are "sorted array" with this definition.

Also there's a finial mod in linear probing
h(k, i) = (k + i) mod N. With this mod you may have different key/probe combination that messed up the order.
Exactly. It's all about logic. They other types of bugs are caught by the IDE, the compiler or the first run anyway.

Let someone else look over your code, they might spot logic bugs that you oversee. If you write tests yourself, you will often oversee such logical bugs.

I have done (semi-)automatic reasoning and code verification with 100% code coverage of OS drivers. All the mathematical reasoning doesn't spot logical errors. You need more than one person to look over it.
Startups and the art of asking questions
Make blue ocean as default homepage
HI, Is there a way I can make Blue Ocean as my default homepage for all user.
I tried achieving it using the Nginx redirection , but after logging-out and logging back again takes to to default Jenkins home page.
Appreciate any help.

Thanks,
in this context, it's not vague nor likely to be uncommon.

for the purposes of mitigating the vulnerability in msmpengine, what matters is that msmpengine has cfg enabled. whether other arbitrary programs on your computer have it too is not relevant to this story.

cfg works like this: when a process has cfg enabled, the windows kernel will maintain a list of all valid indirect call targets for it, and then validates all indirect calls against this list. if validation fails (because the process attempted a call to an invalid target), the kernel terminates the process.

obviously, this requires kernel cooperation. this was introduced in windows 8.1, which means windows defender on windows 7 can't use cfg there.

cfg raises the bar a little in making it harder to obtain remote code execution from simple memory corruption, but doesn't make it impossible.
Post-modern politics can be contrasted with modern-era universalist rationalism: identity politics become dominant, inter-temporal logical consistency becomes less important, inter-group dialog becomes devalued, power structures become interesting for their own sake, etc.

A stepwise abandonment of enlightenment ideals for raw inter-group Foucauldian power plays.
I generally wake up when 5 kilos of fur jumps on my bladder and shouts "MEOW!"

However, in my life before cats I really struggled to wake up for a 9-to-5 until I got an alarm with a lamp that lights up very gradually, simulating sunrise. I was surprised at how well it worked and definitely recommend them.

I had a Bio-Brite model, which I don't think are made nowadays but google for "alarm clock lamp sunrise" and there are lots of alternatives.
> I can find the code and repost it.

Here it is.. https://github.com/yahoo/mdbm
If he truly cared so much about equality, he'd spend zillions to lobby Congress to massively raise taxes on the rich, publicly-finance political campaigns, commit to real climate change policy, enact single-payer healthcare and address broken justice and mental healthcare systems with reform and compassion of investing in citizens and the public commonwealth.

Sure his giving some capital to B&MGF seems like a noble deed, but it doesn't go far enough to change the world for the better in desperately vital ways given his assets, influence and capabilities.

Buffett might live in a tiny house in Nebraska and try to seem a "good guy," but actions ultimately speak louder than words. That might seem harsh/entitled/demanding but a few people like him control trillions of dollars and the politics of many countries (which is also partly our fault for not opposing these conditions and demanding a fairer division of profits/labor/representation.), he's in a much better position to act instead of "standing around" as if he's stuck in an economic "bystander effect."
I'd recommend aiming for 10-20% on those projects, and also for startups trying to rapidly push an MVP out.

Tests have diminishing returns. You want to hit the absolute most crucial ones that give you plenty of bang for buck and even save you time. That means finding the (usually small handful) of functions that implement your most crucial and most complicated business logic, and writing tests for them.

Anything past that is for companies with customers that need to maintain a certain level of quality and service. Worry about it when you get there.
Was mpengine developed by Microsoft Research?
Except selling shovels in a gold rush is a legitimate business that provides value.

A more accurate analogy for 99% of the online passive income people would be that they got rich selling maps for where gold is, except the maps are a complete fabrication.
It's nice if u need to NetBoot machines I guess
What do you need to do *right now*?
Do you need to follow a beaten path?

Or do you need to carve your own path?

How fucking old are you?

(me) “So old.”
Does your Smart Keyboard not work well? Apple could repair it without cost
No. More like if you are on Comcast, you can't access Twitter. If you're on AT&T, you can't access Facebook. When you sign up for your ISP, you get to choose between Amazon and Netflix, and you can't change your mind without paying someone to come out and lay new line if you're even one of the tiny few lucky enough to have more than one ISP that serves your home.
Observers Affecting Reality? The Double Slit Experiment
Data Crunchers Ask New Yorkers: How Are the Police Doing?
Has anyone read any papers about the relationship between code coverage and defects?
Autodesk 2018 Product Keys with Crack 100% Working Free
Yeah, it's really disappointing that instead of actually improving the AI, they made it cheat to win. Really lazy game design, and very frustrating for someone who largely prefers playing against computer opponents.
I do not have any social presence in popular social networks like facebook, instagram and mainly linkedin by choice. I do have a personal static website though and a github profile.

From my experience, the quality of people reaching out to you particularly not from linkedin is very high. I personally had made a decision of rejecting employers who insist on having a linkedin profile. But surprisingly, so far no one has ever asked me about that and all my employers (present and past) were ready to hire me even though I do not have a visible social presence (read linkedin).

But, in extreme circumstances when you badly need a job, this thought of having a vibrant social presence haunts you (I have gone through it). But since it is a conscious choice, it is a decision I'm very happy about.
These creators are very smart and very good at what they do. But they lack the most basic understanding of why it is such a bad idea to create an entire business around something you cannot control.

Yes, there is that risk with anything you do (including your own website and your own email list), but surely by now they have heard enough people complain online that it is very unwise to build a tall building on a shaky foundation.

Aside: why don't they use competitors such as Vimeo and post the videos on Vimeo [1] first, and then post those same videos on YouTube after two weeks? If their audience is really that engaged, shouldn't they be following them to Vimeo also? It would be a two in one deal - the creators create competition between two online video services (which is usually good for them), and if more creators move away from YouTube the consumer also benefits from greater choice and is more likely to go check out Vimeo, leading to a possible virtuous cycle. A third and unexpected side benefit - less data collection about your online practices by an internet behemoth.

[1] From what I can see, Vimeo also has options to monetize your videos. https://vimeo.com/blog/post/learn-how-vimeo-on-demand-helps-...
> Double You Tee Eff

Last time there were discussions about AV around here, people were adamant that Defender was simply above this type of thing - mostly based on the word of a browser vendor.

Turns out that a homogeneous AV environment is a not a good idea. Who would have thought?
It really was an amazing game. I loved Civ, but FFH2 was just such a good upgrade.

The main developer, Kael, is now a game designer at Stardock. His latest is Galactic Civilization 3. Have you tried it?
This note about his other project (that the robin hood hash table depends on) is quite curious:

> This robin hood hashing is implemented using my project Object Persistence In C (OPIC). OPIC is a new general serialization framework I just released. Any in-memory object created with OPIC can be serialized without knowing how it was structured. Deserializing objects from OPIC only requires one mmap syscall. That’s say, this robin hood implementation can work not only in a living process, the data it stored can be used as a key-value store after the process exits.

> Right now, the throughput of OPIC robin hood hash map on small keys (6bytes) is 9M (1048576/0.115454). This is way better than most NoSQL key-value stores. The difference might come from write ahead logs or some other IO? I’m not sure why the performance gain is so huge. My next stop is to benchmark against other embedded key-value store like rocksdb, leveldb and so forth.
I was wondering the same thing. From the comments it seems as though the US banking system seems to be stuck in the 80's. I can't believe they still have checking accounts, in my mid 30's now and I've cashed one check in my life.
Then you can use Tor. Bonus: it works for other websites too.
would appreciate a reference.

p.s. many parts of eastern europe has been destroyed during the war as well; and was getting rebuild themselves.
Secrets or credential management is hard, but the first step is to centralise.

Ah yes, the "all eggs, one basket" approach to secret management. This is the correct approach, if you are trying to sell a platform -- gets you lock-in, and if you fail to keep secrets secure, you were going to blow up anyways, so the business risk management dictates that you should shoot for the moon and risk your client's data in the hopes of getting traction.
Wow that's a very interesting post! Maybe I should try to bring a rust binding to my project as well..
These are pretty good notes. Here is the PDF version: https://arxiv.org/abs/gr-qc/9712019
Where we fly  cheap flights to #Menorca on flychecker at 84 €
Wouldnt maintenance lead to innovation analogous to necessity being the mother of invention?

Most of the inventions came up as an easier or better way of doing something which was the current maintainer(to be innovator?) decided to rework/create .

And if the author talks about only maintenance where no development can be done(even those that make the life of maintainer easier).
IMHO , Maintenance procedures should also be constantly improved and hence that would lead to innovation.
Python Easter Eggs
A) Oh bullpucky. It worked well enough _for the essentials._ The only important sense that "the project has grown since then" is the number of WP pages and pageviews, but all your visual editors and umpteen new wikithis and wikithat projects haven't changed how that works in any significant way.

B) You forgot to answer the primary question: What is there to say that all the other shtuff the WMF is doing lately isn't secondary to Wikipedia, that Wikipedia isn't by far its most significant product and project? Do you have any actual support for your thesis that this is not the case ("Not so for some time"); _who does_ actually care about all that -- besides yourselves! -- and _why should_ Johnny Q. Eyeball care about any of it?
(Please downvote if my comment is off-topic)

Is it possible to support creating and deploying Minecraft server mods using repl.it?

At one point (2-3 years ago) my son was interested in doing this but the pain of installing Java, an IDE (NetBeans), getting started in Java programming and deploying it on a vanilla Minecraft server was just too much.

Or are there better options now for Minecraft server mod programming?
Since you mention NetLogo, note that it has a Web version whose compiler is written in Scala.js.

(The Scala.js compiler itself does not run in the browser, though.)
What is the pitch of this technology?
Except pretty much everybody under a certain cutoff age watches tv on their computer, exclusively. So the entire media revolutions the cable companies feared, happened.
Except pretty much everybody under a certain cutoff age watches tv on their computer, exclusively. So the entire media revolution the cable companies feared, happened.
I think another point to be made is the OP is correct - most non-bank alternatives are horrible, but so much of modern society is inaccessible if you do not have a bank account or bank account analog.

Also, to quote from the article.

"Check-cashing outfits, payday lenders, and similar businesses are often thought of as merely preying on poor people, who, the conventional wisdom goes, tend to make bad financial decisions. Lisa Servon, a University of Pennsylvania professor of city and regional planning, offers a different angle in her recent book, The Unbanking of America: How the New Middle Class Survives. During Servon’s research working as a teller at a check casher and payday lender, consumers told her that the fee structures of nonbank alternatives were more transparent and predictable than those at conventional banks—crucial to anyone living on a budget."

I understand where you're coming from, I was in the payday loan trap at one point.. robbing peter to pay paul as it were, I made much less than 40k a year, its only in the last 5 years I've started to get north of 50k, and gotten comfortable.. now I save save save..