skysight-inc/HackerNews huggingface dataset:
Rails API 5 with Active Model Serializers
>> It seems like there's a fine line between being clever and being morally bankrupt.

Actions can only be evaluated as moral/immoral/amoral when you've taken the time to define a system of morals.

It's the difference between a requirements document and an implementation--just as you can't determine the suitability of software without knowing its requirements, you can't determine the suitability of an action without knowing your morals.

Suppose you've decided you want to live in a society that respects the "Don't lie, steal, or cheat" maxims (for whatever reason--I've chosen this here because they're explicatively short!):

Then determining what's moral/immoral/amoral becomes an application of:
1) Does this encourage me (or someone else) to intentionally misrepresent the truth?
2) Does this encourage me (or someone else) to take something that hasn't been given?
3) Does this encourage me (or someone else) to misrepresent the truth for gain?

On the other hand, consider a company's system of "Maximize profit while minimizing legal liability":
1) Does this encourage me (or someone else) to maximize our company's profit?
2) Does this encourage me (or someone else) to expose our company to legal liability?

Notice that these two systems don't address the same concerns.

So the fine line exists because what's moral for the company MAY conflict with what's moral for the individual, and many of us don't like to think about /any/ ethical system (after all we're being paid to work in the latter!).
At that times agriculture looked completely different and being feudal lord was considered prestigious. Nowadays one can grow (or rather produce) food in tiny greenhouses in overcrowded Netherlands.
Just received a warning about this from my daughter's school.

See also https://en.wikipedia.org/wiki/Blue_Whale_(game)

From wikipedia: "The game involves a series of duties given by the administrators that players must complete, usually one per day, some of which involve self-mutilation. Some tasks can be given in advance, others can be passed on by the administrators on the day, the last task being suicide. It is believed that the first case of suicide related to the game occurred in 2015 in Russia."

EDIT: Also from wikipedia: "While the phenomenon is real, some publications have exaggerated its scope, leading to a moral panic"
I'd even want to put particularly nicely shaped rocks on the "don't" side of the line. Kill a plant to save a rock? It's called building maintenance. Kill a short-lived animal to protect a mighty old tree that has seen entire cultures come and go?
Sure! There might even be some rocks that I would hesitate to destroy if it saved a human life, maybe not even excluding my own. The beautiful thing about life is that in the grand scheme of things, only avoiding extinction matters.
prove it.
A similar app was released a while ago, I'd love to compare the two. For reference: http://leafsnap.com/
> wait for battery technology to catch up

battery energy density improvements are very small and incremental. It'll take decades to go from 23 minutes airtime to something even slightly practical.
>> * no one ever got hired for under-engineering

I've bought plenty of low end products from China that I'm sure were intentionally designed as cheaply as possible with no regards to quality.
Where are you reading that? All of the GCP load balancers are the best available. There are no hoops to jump through. SNI based TLS is an additional feature that some would like, which is available now by just adding a CDN in front and should solve that need for most.

I'm sure anyone here can spin up a haproxy instance, that's not a big deal nor impressive in any way and there are better things to spend time on for most people and companies.

Do you write web apps in assembly code or something because you're a "hacker"?
Random imaginary album titles and artwork
10 non-transferable Internet points.

Special quest worth 1000 Internet points! Turn c2 wiki into an Electron app, so that we also have to download a separate browser to view it!
Puzzles Collector, 0.17 released
This site used to be one of my favorite examples of content over presentation. What happened?
That's much better. I don't mind arbitrary new definitions for words, so long as they're explicit and consistently used. However, you might find others like TheOtherHobbes more receptive if you use wholly new phrases to avoid namespace collisions.

Being skeptical of arbitrary new definitions is a good defense against intentional conflation of two definitions. I find psychology papers are frequently guilty of using a very narrow, specific definition for a word in part of their research then switching to a very broad definition for their conclusions.
> In multi-threaded context insertion and deletion can be done lock-free which is not the case for arrays

I just love when multithreaded code frees the element I currently iterate over in a different thread.

> For intrusive list, insertion and deletion can't fail due to memory allocation ;

As long as you store your elements on the stack or use static values you mean? Heap allocation happens at some point, you just move the location where it happens.

> If you do only insertion at the tail and removal at the head these operation need only a pointer change which is more efficient than an array

Use a circular buffer. Until the array is full you can just modify the start/end pointers.
One can find Lucene.NET here:
https://lucenenet.apache.org/
Bush lost the election preceding the Iraq War, but, it was sure as shit the Americans who pointlessly invaded Iraq, not the Republicans.

I see both sides of the point being made here and we may have said all that needs to be said about it at this point but I just want to speak up and say that it's not in fact the norm to attribute a war to a political party, no matter what the electoral numbers.
What songs would you suggest for that time period?
Show HN: TypeDoc – Static type checking for vanilla JavaScript using comments
Washington DC Will Hold Massive Coordinated Terror Attack” Drill This Wednesday
I'll say one thing - my dad is 70, doubtful he's ever had a gym routine. But, as he's gained wait, he's had interest in better diet, losing weight. He told me he'd consider exercise. So I took him to his nearby gym, wrote down two checklists (an "A" day, and "B" say) and showed him the exercises, how weights & machines work, got him familiar/comfortable/unafraid of it. I think a big "friction" is people thinking "I have no idea what I'd even do in the gym". So having a plan helps that. That was a few weeks ago, and he's been in the gym a couple times a week in the morning. Super proud of him - as you can imagine, getting my older stubborn dad to learn a new truck is a tough sell!
The new Watch Dogs 2 DLC is called No Compromise and after playing it
http://wiki.c2.com/spin.gif

is all I see.
I think the small businesses, the mom and pop shops that cannot afford a fleet of accountants, will benefit the most from a lower tax.
We are no strangers to this business^H^H^H^H^H^H^ legal plan.

https://davidkellogg.files.wordpress.com/2015/12/oracle-org-...
We could try and replicate the degradation processs or find a similar one in the lab.
Nature has often been an inspiration for new inventions such as burrs for Velcro.
Bought them from India, like every other company.
There is a really good npr story on this. Basically you deny yourself a specific pleasure unless you do a chore.

I use for for podcasts and indoor cycling. I could only poscast when i cycled.

Worked really Well. Indoor cycling is mentally hard, but I looked forward to it so I could hear my podcasts.
Sega built a real Warhammer 40K Power Fist, then let me smash things with it
Apologies for the delay getting back. I started to respond to this a couple of times yesterday but it's kind of tough to answer and I kept getting sidetracked.

Basically, I feel like my time in Peace Corps did more for me than for the people I was there to help. I struggle with that a bit and it makes me wonder if the PC approach is truly valuable.

On the plus side, I introduced hundreds of kids to computers, provided more advanced training to 50+ adult professors and left at least one person with the necessary tools to run a computer literacy class. I did the most in my third year (an extension of the normal two year stay) largely because I finally had a decent grasp on the culture and understanding of how to do things in a more sustainable way. In fact, my decision to extend was mostly because I felt like I hadn't really done "enough".

But even that felt like so little in the end. I remember at one point discussing with PC leadership in Burkina implementing a program to teach IT to university students training to be teachers and when I think back I really wish we could've worked that out. Unfortunately it never came to fruition and I heard a few years ago that PC Burkina shut down the whole IT program. Likely many of the labs we maintained and lesson plans we built are collecting dust (we were only the second wave of IT volunteers at the time).

PC is very different from country to country and it seems like kind of crap shoot whether or not one can really have a sustainable impact on anything. PC provides a very good structure for the volunteer, but it is ultimately all on the volunteer to figure out how to execute programs. This can be absolutely great for some people and terrible for others. I fell somewhere in the middle and knew volunteers everywhere in between.

Without really knowing a person (and other country PC programs) it's difficult for me to decide how to judge the overall program and mission.
Suttree has some funny bits and some great bleak bits too, I love this part where he's looking through is aunt's old photo album:

The old musty album with its foxed and crumbling paper seemed to breathe a reek of the vault, turning up one by one these dead faces with their wan and loveless gaze out toward the spinning world, masks of incertitude before the cold glass eye of the camera or recoiling before this celluloid immortality or faces simply staggered into gaga by the sheer velocity of time. Old distaff kin coughed up out of the vortex, thin and cracked and macled and a bit redundant. The landscapes, old backdrops, redundant too, recurring unchanged as if they inhabited another medium than the dry pilgrims shored up on them. Blind moil in the earth's nap cast up in an eyeblink between becoming and done. I am, I am. An artifact of prior races. [...] What deity in the realms of dementia, what rabid god decocted out of the smoking lobes of hydrophobia could have devised a keeping place for souls so poor as is this flesh. This mawky worm-bent tabernacle.
British libel law was reformed in 2013 in response to a major campaign related to your complaints. As I understand it the situation is a lot better now.
https://en.wikipedia.org/wiki/Defamation_Act_2013
Indeed. For extra goodness, buy a few packs of stainless allen head screws to replace the cadnium plated steel ones that always strip. They always strip, because they are not phillips, but JIS screws. The dot on the head gives it away.
US considers banning laptops on flights from UK airports
That's a pretty evil suggestion, but it may just work.
It's not totally terrible, but I do think its lacking without some Tribe Called Quest, De La Soul or maybe even The Roots for example - its quite Rap based and Rap != HipHop.
>In the U.S. alone, the company is involved in 173 lawsuits

http://edmontonjournal.com/opinion/columnists/opinion-dont-b...

They've even got a wikipedia page dedicated just to their legal problems:

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

At a certain point I think we should probably accept that it's not a great company.
Could you be more specific, for those of us that are not used to "buy" customers from India ?
Couple things involved here:
1. There's actually not much to train the data on. Say you have 1 weather station (that is maintained and calibrated) in each major or minor city. The GFS[1] has a resolution of ~18 miles. This is fine over densely populated areas, but oceans, forests, deserts? No data

2. Additionally you don't need to train a model, since most of the math is pretty well defined. All you need to do is initialize with latest data and let it crank. Where most of the development happens is in learning more about how the physical planet it set up, then adjusting your model to incorporate that newly known aspect

3. The weather forecasting market is actually rather robust, especially for an industry largely propped up by government grants. This probably isn't a great candidate for 10x disruption here and may not pass the "toothbrush test" either.

[1] https://www.ncdc.noaa.gov/data-access/model-data/model-datas...
How to Optimize Your Website for Effective Search Engines?
This is not true at all. Google exercise and dementia. Hundreds of studies. It's the single beat cure.
Perhaps the point should be whether WikiTribune is a registered charity which it is not but then nor is Wikipedia I believe although WikiMedia is.
I thought the figure provided was the marginal cost.
FUCK EXERCISE. I HAVE TIME, AND DONT FUCKING WANT TO DO IT
When the guy's whole point is quality and intellectual consistency it's a bit wearing to read things like this though -- terrible, tedious book. If you wonder what interacting with a person with borderline personality disorder is like, I recommend it.
Food is already a 'subscription'. We sign up with protein, fat, and carb service providers (e.g. chicken, if I may) and we pay for their services on a daily basis. Sometimes we kill the underperforming providers and eat them too.
Researchers invent process to make sustainable rubber, plastics
I agree with you. The site is still very, very early and I am currently focusing on the UI and UX to make the site memorable. Thanks for the honest feedback!
Possibly because the Poles were killed largely in genocidal military operations, such as large scale bombing of cities, and not (in numbers comparable to the Jewish people) in death camps.
when I was a kid we had one of those big VHS camcorders with a black and white single eye veiew finder. It looked blue through one eye, and grey through the other. I never noticed it anywhere else.
That's not how it always works.

I once had a source come to me with information about how families were being shipped in to my town from another city because the housing crisis affecting the UK meant local councils could not house residents locally.

In another case, I was given salary details for council employees who were being paid in a similar manner to this: http://www.telegraph.co.uk/news/2016/08/02/nhs-chief-on-reco....

In one other case a council employee told me how morale was low in the council's social services department due to pressure from senior officials and the workload. The source said there were concerns over how this was affecting the welfare of the children they were meant to look after.

In all three cases the stories checked out and in the published story I wrote that the initial information came from an unnamed source. In the housing case I was able to speak to some of the families and they went on record. In the payroll case I published the salaries and the council did not say my information was false. In the social services case they gave us a statement.

The problem with using anonymous sources comes when journalists use them as an excuse for publishing unverified information. If my sources had gone on record they would have most likely have lost their jobs meaning future whistle-blowers/sources would not have spoken to me or would have not spoken to other journalists in the future. If that happens how can institutions and individuals be held to account?
I use the flowerchecker app http://www.flowerchecker.com/ where you have to pay a small fee per plant identification. It actually uses real human biologists to identify the plant.
They were the largest group to suffer, by a factor of 3.
This is something we try to instill in our new ops people. If you don't understand what's going on, don't do anything. There's nothing to be gained by quickly applying the wrong solution.
I use your service and found it through Google searches :) liveform is great, would be nice if it had a pipedriver, salesforce, and other crm integrations
Free Free Free
Someone at Google forgetting to set snaplen on tcpdump is hardly nefarious.
My kingdom for a horse?
Lots of people come up with a good idea for a product, launch, then wonder where to get users. "Start with the market, instead," evolves their consciousness. I offer a different approach: start with the customer acquisition strategy and then build your product.

1) Build a landing page describing the problem and your solution, in terms of emotional value benefits

2) Drive paid traffic to the landing page. Get at least 20 signups. Boom, you're now at 20 users. Paid traffic = Pay Per Click ads. Try Facebook, Reddit, Quora, Google AdWords.

3) Build the thing. Write an email to your list describing the process of how you built the thing and how you found their names.

4) Cross post that very same narrative to discussion forums: Facebook, HN, Reddits, Indie Hackers[forum], wherever.

5) Search on google for one of those "web app directories" or "new startup directories". Block off two hours and painstakingly submit your app to every one.

6) Look for podcasts in your niche. Email all of them and invite yourself on as a guest

7) Look for influencers in your niche. Email all of them and ask them if they'd like a complimentary copy of your product (access to your webapp, etc) in exchange for a testimonial. If the influencers are all pay-to-play, find people who are active but on the verge of influencer status.

8) Send to your friends and family.

9) Post an ad for a usability test on Craigslist. You'll learn a ton and maybe get some quality users.

10) Post a Delighted.com or similar Net Promoter Score survey to your user base. You'll find the "holes" in your bucket that are causing you to leak users rather than compound them.
You don't have to blackmail. When you know enough about a person, you can control them with just the right messaging (ref: the point of ad tech). Quick example: An incumbent could use this to have substantially better data on their voter's preferences and tune their campaign appropriately. Or generate just the right kind of fake news to push major policy changes against people's interests. The real potential here is how subtle these moves can be while also being quite effective.
In George Kennan was stationed at the U.S. Embassy in Berlin from 1939 through 1941. In his Memoirs: 1925-1950, he writes of the Berliners that "they witnessed with a reserved, sullen silence the victory parade of the troops returning from the successful completion of the Polish campaign. Not even the most frantic efforts of professional Nazi agitators could provoke them to demonstrations of elation or approval. The news of the fall of Paris was received with the same inscrutable silence and reserve. I rode miles, that afternoon, on the enclosed upper deck of a bus, where practically everyone's conversation was audible. I heard no one as much as mention the event; the talk was all of food cards and the price of stockings." To be sure, he speaks of them as the least Nazified among the German population.
There are many methods of debugging as you can see sprinkled through these comments:

Using the interactive debugger
Reading log files and adding more logging/trace.
Writing unit tests
Making some sort of test program or script to exercise the problem area so it's easier to reproduce the problem.
Depending on your environment, tools and problem, different combinations of the above will make more sense.
Using a Messenger bot to support a curated email newsletter
I publish a weekly email with curated things to read (about 350 subscribers). For a while I have been thinking about how to use a Facebook Messenger bot to accompany this email newsletter without getting depended on Messenger as a distribution channel.

What I've come up with is a weekly message sent through the bot which lists the 3 most clicked articles from the previous week's email.

My hope is that this can act as an entry port to people who don't instantly want to sign up for yet another email - without cannibalizing the email subscribers nor without locking myself in to Facebook.

Any thoughts on it or suggestions for how to improve it? I'm using chatfuel.com for the bot, which I am so far happy with as it doesn't require any coding (obviously, the bot doesn't become very intelligent - but that's not really the goal)
Here is the bot: http://m.me/meshedsociety.com
Implement common layouts with React Native
Can someone explain to me why an FCC that is currently made up of three Obama appointees is "Trump's" FCC?

Trump did name Pai as chair, but he was already on the commission (appointed by Obama in 2012).

That's a terrible, click-baity headline, even by the low standards normally set by vice.com.
Why WeChat’s new mobile search department is a threat to Baidu?
The fact that they believed that they were punished too harshly did not give Germans right to start killing again.
Firefox testpilots personality containers
Coworking Space for Non Profits
I love McCarthy's work but this is nonsense. Current AI work is all about the relationship between differdntiable connectionist systems and algorithmic/symbolic computation. AI researchers are well aware of the parallels between this and subconscious/conscious human thought and things like Kahnemann's system1 vs system2 thinking. "Is the brain like a computer" is too ambiguous a question to take seriously.

His article is interesting in parts but really arrogant and not as novel or anti-mainstream as he seems to think it is. It sounds like someone who spent a long time chatting with physicists or biologists and no time reading research in artificial intelligence, at least from the last decade.
OK, well I don't claim to be an authority on this subject. It just really appears to look like two methods that reached the same result; though one sounds more unnatural than the other to us (i.e. in 2016 the US dropped 26,000+ bombs on Muslim-majority countries, but we have very few places resembling death camps, and none of them are--at least in name--racially motivated).

Anyways, both I think we can all agree are bad. I just didn't know so many non-Jews died in the holocaust.
He tackles your question during the Q&A. He (and his PhD student, Dan) talk about how so much of the effort to create 'terra firma', as you call it, is caused by the terrible hardware sold to us by Intel. He argues that much of the hardware we have is just software that's been crystallized too early. If he had a machine more like an FPGA he could build all of these abstractions in powerful DSLs right down to the metal.
I never said it gave them any right. I say that punishing the group made them more tribal/racist, mechanically.
>I mean shoot everyone loves Gabe Newell, but if he lost his job, what are his options? Not as many as me.

You don't honestly believe this, do you? Everyone here likes to rip on the "Business Guys", but despite what you may have heard, they aren't skilless. Gabe would have a new job tomorrow.
Treat your business like a consulting service, and treat whatever technology you have not as the end product but as a tool you use to provide whatever service you are providing at higher quality or at lower costs.

Essentially the "do things that don't scale" advice is just this. It puts your technology at the backseat.
Which is so odd to me because the JavaScript debug tools are some of the most complete and easiest to use. They're right there!
I just got a bar graph full of $0.00 (http://imgur.com/uciLhOG). Maybe there's a bug in measuring images and fonts referenced by CSS? More decimal places are a good idea.