skysight-inc/HackerNews huggingface dataset:
What do you mean "why I came in here"? I post here very frequently.
I agreed but these are different mediums. With paper you can't erase obviously, so you use significantly more space when free scratching. Hence the usefulness of the whiteboard.

On a different note, notebooks are great. I converted my wallet into thin Moleskine notebooks that fit in my pocket super easily. I put my cards and bills in it. And I always have a pen in me. Archival pens are great. It's good for doodling too :>
The tricky bit is that GPL is built on top of copyright. In effect it use the legal precedence of copyright against itself.
@grzm, probably more scalable as a ^dupe^ flag set by users (with high enough karma) and when duplicate submission checked by Angolia search.
Mac OS Sierra slowed down my 2014 Mac Mini noticeably. I see a lot more beach volleyballs now when doing everyday tasks which were ran smoothly before the upgrade.
You can't do it at low cost though, selling to enterprises is demanding in terms of resources, you can't afford to sell to them unless you are making a ton of money out of each sale.

One of Joel Spolsky's better articles[1] talks about this.

[1] https://www.joelonsoftware.com/2004/12/15/camels-and-rubber-...
Most images should not be affected by the advisory, especially something like openssl.

Still, it would be good to have something in between a packaging system and containers, so the whole repo of images could be quickly rebuilt on top of a new base image with an updated library (mixed-in image).

Since base images are shared, it would be the best of both worlds.
You're passionate and certain in your beliefs - probably from a strong philosophical basis; My opinions are formed by my practical "experiences" and hard work for 10 years in this space. There's never been a good quality discussion when philosophical certainty crashes against pragmatic experience!

You're clearly angry, but I don't deserve the implication of being called stubborn, arrogant or aloof.

I've already apologised to you for pushing your comment side-ways in the other thread - I'm not sure what else you'd like from me at this point.
I would say that the issue is more like you like certain kinds of content and streaming services are not split among content types but among who makes the shows. And that you want to watch all the exclusive top shows that are made for dragging people to their streaming platform. I'm in Finland and I would be happy if could select 2-3 streaming services from American selection. But only real options HBO and Netflix with 38% of what they show in USA and a third option which was so terrible for me that I wouldn't even consider it.
Petsovernight.com. Delivering little bundles of love, in a box, directly to your door.
Assuming the executive order holds up, In the best case they will be allowed to reenter the U.S. after 90 days. The executive order suspends immigrant and nonimmigrant entry for only 90 days for people from specific countries not on a Diplomatic, NATO, UN, or International Organization staff visa.
What? I've never had to upgrade a kernel to use docker.

The only real dependency is OverlayFS, but that will stabilise eventually.
I think this has to do with implicit behaviour vs. explicit statements. Using Optionals introduces an implicit layer that is much "thicker" than even the most tricky for syntax out there. There is a strong case for keeping all involved parts as simple as possible. And this assumes there are no implicit caveats and exceptions in the overall behaviour of the type, or that any one decides to subtly move the goal posts behind the scenes five years down the road.
Working entrepreneur, here are 3 best tips to increase productivity
Birth certificate attestation – A must for several procedures
Exploring Mankind's Neverending Quest to Humanize Technology
Rails mailers will offer the option to use parameterization
Mozilla WebExtensions are killing some of its best add-ons (Tab Groups et al.)
Nice because it is readable but I generally dislike clever/elegant solutions for fizzbuzz. Here is my own clever haskell solution:

module Raindrops (convert) where
import Control.Monad (liftM2)
import Data.Foldable(fold)
import Data.Maybe (fromMaybe)

convert = build rules
build = liftM2 fromMaybe show . fold
rules = uncurry rule <$> [(3, "Pling"), (5, "Plang"), (7, "Plong")]
where rule i s j = if j `mod` i == 0 then Just s else Nothing

Short explanation: the fold function combines lists of monoids. In this case it combines three seperate monoids and does `[Int -> Maybe String] -> Int -> Maybe String`. It takes a list of functions that might create a string from a number, gives them all the same input and concats all strings that were returned. If none were returned the result stays Nothing and is then replaced by the string representation of the input via fromMaybe.

I like this solution because it shows how powerful it is to abstract over these concepts but also that trying to be too clever quickly ends in impossible to follow complexities.
Seems to be related to the announcement from Kim Dotcom saying Bitcache/Megaupload 2.0 will be open source. Still sad that this is not golden standard nowadays.
It does support GPL, at least in the tech "bubble". I agree with movie copyrights, but not longer than 10 years and perhaps 25 for music/texts.

The industry has lobbied so hard that the good will of the younger generation is gone. (It gets better now with Netflix and offers like this). But I don't feel that somebody broke the law when he downloaded music/videos and I am part of this younger generation that grew up like this.
I know that this probably not the best place to report bugs, but I just saw this:

"[object Object]'s satellite launch screwed up and"...
Well, but how is it not democratic? Didn't Trump say many times he'd do exactly this, and he won?

Arguably executive orders should not exist, nor should a powerful President. The Swiss system of a rapidly rotating presidency and strong "state rights" seems preferable to me. But the USA has strong elected Presidents and I never saw any American seriously challenge that setup, I hear more talk of states seceding than I see talk of changing the constitution to limit the power of the POTUS.

So I don't see your point. The people were given a (fairly crappy) choice, made it, now their preferences are being implemented. That's democracy.

Don't get me wrong. I think locking people who live in America out of the country because they happened to be on vacation at the time is outrageous, stunningly stupid. But maybe if prior generations of politicians had been more responsive to anti-Muslim sentiment things wouldn't have got so extreme now.
It's surprising that countries such as Canada, Australia and EU nations are not making any attempt to lure tech companies and students from countries affected by the executive orders. The US is literally leaving some of the best students, researchers and highly qualified employees out in the cold.
The Dictator's Handbook is a great book if you're interested in the difference between autocracies and democracies. Also, CGP Grey's 'The Rules for Rulers' video is a good intro if you only have 20 mins -https://www.youtube.com/watch?v=rStL7niR7gs
Actually, the code "branches" four times.

Three times you introduce possible failure, the original parse as well as each call to flatMap. It flattens each of these possible failures into one, though, so you don't have to think about it!

So if the programmer is sane and doesn't hide side effects in there you only have to think about branching at the pattern match - if any step failed do this, otherwise do this!
Trump executive order prompts Google to recall staff
Perhaps Wikipedia can lend a hand, the description there is quite easy to follow: https://en.wikipedia.org/wiki/Space-time_crystal
The paper describes the design and implementation of a Garbage Collector in Rust:

"We show that our Immix implementation has almost identical performance on micro benchmarks, compared to its implementation in C, and outperforms the popular BDW collector on the gcbench micro benchmark. We find that Rust’s safety features do not create significant barriers to implementing a high performance collector.

Though memory managers are usually considered low-level, our high performance implementation relies on very little unsafe code, with the vast majority of the implementation benefiting from Rust’s safety."

Partial source for the authors' implementation is contained in the paper's appendices rather than in a repository, other implementations mentioned in the paper:

A reference counted type with cycle collection for Rust: https://github.com/fitzgen/bacon-rajan-cc

A simple tracing (mark and sweep) garbage collector for Rust: https://github.com/Manishearth/rust-gc
My girlfriend is in exactly this situation. She has terminal pain from a Whipple and every step of the way the onus is on her to provide evidence that she isn't a drug-seeker. And there are not clear success criterion. Pharmacists can (and have) arbitrarily decide not to fill her prescription, leaving her without pain meds suddenly and unexpectedly (ie baseline pain returns + withdrawal symptoms).

Illinois won't allow sending pain scripts any more, so we have to go to the hospital to pick it up every month. They won't allow you to fill it more than a single day before you need it, and many pharmacies won't have the total number of pills prescribed in stock. If you accept a partial fill - you forego the remainder. Getting the doctors AND insurance (either of which will likely block it) to understand you had to do a partial fill and thus issue your refill before 30 days is a Sisyphean task.

All this means if the pharmacy at the hospital doesn't have enough Morphine on hand to fill her one month description the day we pick it up - we have 24 hours to play Pharmacy Whack-a-mole trying to find one that both does have enough pills and won't just arbitrarily decide to say no. Even better - while sometimes you can call ahead and ask, often they are afraid you are probing for large supplies with intent to rob them, so they won't always tell you if they have it in stock.

It's a huge pain in the ass with multiple able-bodied family members in her corner. I can't even fucking imagine how torturous this whole process is for someone in her situation without that kind of help.
How so? If indexing the content of some sites is seen as advertising copyright violation, so does Google.

If the content of the sites are the problem, well why would Google get a free pass on that point too?

The goal of the application itself, just like Google's, doesn't have anything to do with copyright violation, it just can be used that way.
Resilient cooperators stabilize long-run cooperation in Prisoner’s Dilemma
Not a neuroscientist here, so this is just layman's rambling thoughts, but I wonder if that much direct communication between the brain hemispheres were actually needed to appear as a single consciousness:

As I understand it, a large part of how the brain develops is "learning" both about the environment and about the intricacies of one's own body.

There is no engineer who calibrates the brain to work with the particular weight distribution of one's arms or the particular optical properties of one's eyes. Instead, the brain "self-calibrates" through a sort of trial-and-error process (and some deep learning magic I imagine).

The two brain hemispheres are still sitting in the same skull for the entirety of one's lifetime - so even if they were not connected at all, they are still subject to the same environmental stimuli and might come to very similar "calibrations". So the appearance of a unified consciousness might come from the two hemispheres "thinking the same way", while also being subjected to the same stimuli.
Oh don't misunderstand me, I fully agree that an ebike sharing service would be significantly better (more convenient and comfortable and with larger appeal in both flat and non-flat cities), I'm just saying I don't see how to reconcile ebike services with dockless.
Why Startup Looks into IoT (Internet of Things) Space
Can I be bold and say: this is malware?

Any involuntary p2p, specially one that eats heavily into a quota, can be classified as malware. Is this a good criteria to ad-block the peer5 script URLs?
Modern Numbers Station.
1. It is normal that the most money is spent close to unsolvable problem, i.e. death. We won’t be able to extend life more if we all agree to die without fighting.

2. Life doesn’t make any sense without heroic measures. Once you make the meaning of your life “peaceful and pain-free” then you become home pet and you are already dead as a human, you don’t produce new information.

3. “Death isn’t the boogeyman”. Right, and the people who agree to accept torturous of dying process show other people how much does it cost being alive to keep chances to survive. Being alive cost much more than any torture. One day any decease may be treated.
to YeGoblynQueenne:

What do you mean "why I came in here"? I post here very frequently.

Likely mid-western colliquial (I'm from Indiana). It means that you originally posted with the sole thought of doubting it. It has no bearing on how often you are there.

For example, a regular at a bar might get told one day, "You came in here looking for a fight!" - it speaks of intentions, not frequency.
I originally made it for stuff with horrendous dependencies:

https://mobile.twitter.com/bfirsh/status/824688876056895489

Agreed it's a bit silly for things like jq, but I wanted to see how far I could stretch it. My long-term goal is to have Docker as the only thing installed on my laptop. ;)
What is the importance of certificate attestation in India?
Because by the time you get the opportunity to verify the accuracy of the "recall", it's too late to challenge the mentalist about it. That's how those tricks (when they're tricks) work.

Imagine it like this: say you're at some mentalist's show, and she picks you out of the crowd. She asks you your birthdate, you tell her, she concentrates (silence in the audience) then suddendly she starts riffing off headlines from that day's newspapers. Why, she can even remember the crossword hints from the Times of Pallookaville! And even their answers! (well just one of them but-) Music! Lights! The audience clap their hands! The mentalist moves on to the next target.

Did you, at any point during all that, have any chance to challenge the accuracy of the mentalist's recall? Not really. Would you do it even if you could? Most people will dread so much being the asshat that ruins the show everyone paid to watch, that they'd never say anything, even if they had a tattoo of that damned crossword on their butt, solved and done.

And does it make any difference if you go back to your house and google the information and it's all made up? What 'you gonna do? Call up each one of those 1200 people who watched the show and tell them the mentalist is a fraud? 'Course it's a fraud. It's entertainment!

That's one setting and it's a bit formal, like, but ceteris paribus, the same goes for any situation where someone is pulling that sort of trick on you- the whole trick is to move fast and not give the mark time to think and react.
>Why is Optional<> better then throwing an exception or returning a null?

https://www.infoq.com/presentations/Null-References-The-Bill...
Map, filter, fold, etc. are pretty much standard constructs and any decent programmer should be familiar with them.

There are subtle variations in naming like Java's Map is Select in C# because Microsoft modeled its functional API on SQL, but you have the same differences for iteration and selection (the things you are referring to for and if).

For example you have 'for (int i = 0; i < n; i++)' in C, but you don't have the exact same way of doing it in Python, where you have to use a range: 'for num in range(0, n):' or you can write a 'while' loop in Java but not in Go where it's a 'for' with a single expression.

I would choose a functional version over a three level nested for loop monster any day.
Elon Musk is hosting a Hyperloop 'pod race' at SpaceX this weekend
And now you need to use a non-language builtin util everywhere. And this one only works when working with arrays or array like objects...

It's amazing how far people will go to defend a bad practice, than even its inventor called a 'billion dollar mistake'.
Have a look at this repo for yourself if you don't believe me. The image demonstrates the tool being used for copyright violations. It's billing itself that way, no?
I like the style, However, there are several interesting issues :
- aliasing on the ground
- If I understand well you use confidence zones for add or remove light to the objets, we can see them un the ground and the roof, this is not a problem but the light don't react like this. if a light is in a corridor and you go far away, you should see the zone where is the light with more light ;)
They don't "permit" this. I used to work on anti-bot technology at Google and we put a lot of effort into fighting botting, in particular on Gmail. We were quite successful at the time. Bot controlled accounts went from being a problem that was threatening the viability of the service to being fairly trivial. I don't know what it's like these days.

Anti-abuse teams tend to be relatively small. We aren't talking hundreds of engineers here, we're talking like maybe 10-15 engineers. When you look at the relative effectiveness of different networks, you can be comparing something as trivial and random as whether one or two people happened to figure out a good strategy or not. There is no need for conspiracy theories.

The costs of accounts on different networks is a reasonable proxy for effectiveness at bot fighting. My favourite site has always been this one:

https://buyaccs.com/

From a quick check it seems Twitter is getting better at it. Prices used to be more like in the low $20/k range. Now the low end accounts are $45/k and if you want PVAd/profiled it's up near $90. Compare to Gmail where the price is more like $280/k. Or Facebook EN accounts, $120. Good to see my old colleagues doing such a good job!

In the case of Twitter, my view is that their relatively low performance on botting is a side effect of the whole social justice / campus politics movement. I heard from a friend who works there that their focus was switched almost entirely to fighting human abuse like people being nasty to each other, political extremism, terrorism, etc. If you remember, just a few years ago Twitter was being attacked in the media for being filled with trolling and nastyness. So of course that became their priority. Anti-botting took a back seat.

Nowadays there's suddenly a bout of anti-Russian hysteria. Suddenly bots are in focus again. There are conspiracy theories about botted accounts being used to convince people to change their political positions. Having worked in the industry for years I am deeply skeptical about this. I never once saw bots being used for political ends or anything even approaching it. There is a lot of disinformation out there about Russia right now from western sources, and a lot of paranoia that doesn't seem to be justifiable.

I'd guess RT does far, far more to create pro-Russian support than anything happening on Twitter does.
no humor please, this is HN

edit: I wonder: did I get downvoted because someone does not share my humor, as a joke, or because someone didn't get the irony?
I think java's problem here is how annoying it is to split these up. For example your example completely split up in java vs haskell:

Java

IntPredicate even = i -> i % 2 == 0;
IntUnaryOperator add2 = i -> i + 2;
UnaryOperator<IntStream> process = s -> s.filter(even).map(add2);
for (int i in process.apply(numbers)) {
System.out.println(String.valueOf(i));
}

Haskell:

printProcessed = mapM_ print . process
where process = map (+2) . filter even
So.. what new kinds of electronics do we get..?
In the long term, if this madness persists, of course they will. Companies and skilled individuals are transnational now, and if you try to shut them in or make travel impossible, they'll just leave and set up somewhere else, or never come and found new companies in the first place.

I think Trump and his supporters are playing by an outdated rule book and think they can turn the clock back on globalisation and force companies and people to stay within their borders however uncomfortable he makes it. There is a very similar dynamic going on with Brexit in the UK, but this will take years or decades to play out.
>The first option ins completely unreadable to me. I cannot imagine that ever scaling well.

It's actually trivial, and has been used in all kinds of languages, and scaled just fine, since the 60s.
I think this is replacing a formalism closer to natural language with one that is more abstract.

It's often justified to do that. For instance, we model stuff as matrices or graphs to gain access to their mathematical properties or because we have specialized hardware for matrix operations.

The big debate right now is whether the mathematical properties of functional programming are useful enough to move further away from natural language for general purpose programming.

We probably think something like this:

Parse and validate the request
If that fails then
return 400, "invalid request: " + err

Run business logic to get a result
If that fails then
return 500, "logic failed: " + err

return 200, result as JSON

So should we use a formal language that looks similar to that or are there good reasons to use a chain of map and flatMap calls to hide the branching logic?
Are we looking at the same image? The one I see shows a search for the term "hdtv" with some results from an idexed site. I really can't see how the user has in any way violated anyone's copyright.

Edit: Removed an irrelevant addendum.
My stack looks fairly similiar, give or take a few pieces of software, SABnzbd instead of NZBGet for one.

I would highly recommend checking out Radarr (https://github.com/Radarr/Radarr) to replace CouchPotato as I find CouchPotato a very inconsistent experience, and sometimes I am outright confused as to what it is doing (seemingly not snatching the movies I want it to).

Radarr is actually a fork of Sonarr, so you can expect a pretty good experience right from the start and the development has been very active since it was announced around a month ago. The project only being a month old is the only caveat as I am still uncovering minor bugs, but the devs are quick to fix.
A study of consciousness which doesn't include psychedelics is very limited.

Studying consciousness by looking at the brain is like trying to figure out where a car goes by studying the mechanics of the car.

Yes, the car moves because the engine transmits power to the wheels and makes them spin, ..., but that's just 50% of the answer.

The other (true) reason it moves is because the human driver wants to get from A to B.

So just ask the driver !

Of course that would require accommodating the idea that there is a driver - something outside the brain which is part of consciousness, which quickly leads to the study of what exactly is outside and inside and so on.

Lots of answers and even more useful questions can be extracted from the study of psychedelics.

Luckily I've seen that the ice has started to melt and more and more studies are underway, so we're going to see major breakthroughs in the field this century.
Comment jailbreaké votre iPhone 6s, SE ou iPad Pro avec Yalu
Laughter is social. Sitting alone hearing jokes people are less inclined to laugh than they are if others are laughing. There's a feedback loop too.
A laughter track is used to give people permission to laugh out loud.
People who don't like them, I hypothesise, are those that don't like emotional music in films 'telling me what to feel'.
Actually... https://techcrunch.com/2017/01/17/france-creates-a-special-v... #FrenchTech