skysight-inc/HackerNews huggingface dataset:
Oh, I'm not saying there aren't traps. I strongly believe we should have some economic mechanism to help people relocate to where the jobs are - a major reason our country is in the current situation is due to people not moving like we thought they would. Part of that is being stuck, and we need to address that (more). But another part of that is the belief that the world should adapt to you. It's funny, because many people making fun of being entitled, are actually incredibly entitled in believing that jobs should come to them.

There was an interesting thread on reddit about coal towns in (I think) Virginia, and the mindset of people there and the situation they were in. It was stated that there was a large pool of money in the state available to people for retraining (coal to trucking or solar development, etc) and something like less than 25% of the money was even used.

A woman I know got a simple laser cutter and designed a site around doing craft projects with it. In under a year she has thousands of followers and is making thousands a month doing it. I mean, hell, just get you and your friends together and say, "ok, we need to get out of here, lets all live together as cheaply as possible, until we have enough money, then rent some place in a better location, and live there, pooling resources, until we all get better jobs."

There are options, now more than ever with the Internet existing and the mind numbing amount of resources it brings.
That is so mean, and so well deserved.
i'm currently deciphering such code in scala ...
It's actually a foolish quote. What can the government do in the face of tens of thousands of people essentially choosing to kill themselves? It could jail them, but our culture is moving towards one where doing that to drug users is frowned upon. So what option does it have?

Putting the onus on the government to solve this problem goes against the very essence of this piece. If social fragmentation is truly the cause of the opioid crisis, then government intervention will by like putting a mud wall in front of a raging river.
You are vastly overestimating the amount of control these people have over where they live.
This looks like a monad. The first sentence binds the subject and so on. I think translating that to monadic predicate logic is a skill, so my criticism still stands. But now I'm just arguing for arguments sake, so don't mind me.
1) Use password manager

2) get asked to help someone else at their machine

3) need to log-in to a remote resource under my own user to do something

4) password is in the password manager on my workstation on another floor

Solution? Should I:

* ask the person to give very exact and detailed instructions on what they need me to accomplish so that I can do that work from my own workstation?

* go up to my workstation and call the person who needs help and walk him through logging in as me?

* remote-login from their workstation to mine to copy/paste (and hope their workstation's clipboard is secure)?

* bring my password manager with me on my phone (and risk my passwords being pwned because phones are Not Secure)?

* write down 40 character password somewhere (stick-it note?) and hope I neither typo anything, nor allow others to read it, nor carelessly discard it?

* just use a password I made up and can easily remember?

I'm sure there's better solutions. Each one has their own annoyances.
As I said, a burner isn’t an option, as that still requires registration, and a VOIP number costs money.

At the stated goal, of being a free app to allow people to avoid government surveillance, Signal is failing horribly.
Slightly OT but anyone has a REALLY easy password manager solution?

I tried migrating my entire family to a 1Password family account. Honestly for people with limited tech-knowledge even 1PW is still too complicated.

- In 25% of the cases it does not save e.g. the username correct. Explaining my parents how to open the app, edit the login, etc. is just not gonna work.

- they don't prefill logins (like e.g. Dashlane) so you either have to press the icon or do the keyboard shortcut. Again not suitable for someone who is not very technical.

- On some sites (even big ones) the user/password inserting simply does not work. Explaining them how to open the app, copy user/pass, switch to browser... not gonna work.

- generating random passwords and filling them on registration page does not work 100% either

- using it on mobile is just horrible.

Only thing I could come up with would be (on a Mac) the built in password „manager“. Any ideas? Hate people using their birthday as pw just because there is no easy solution to this problem.
Ask HN: How much to Data Science Bootcamp graduates make?
What is the going rate for a graduate from a bootcamp that does not have a traditional CS undergraduate degree?
maybe we should have something like basic for lambda, but i guess lua fulfills that criteria.
Wall Street could be changing tune on guns
The do block syntax is actually just a syntax sugar for the `bind` function (also written `>>=`). The above would de-sugar to something like this (I may have syntax wrong):

getData >>= \a ->
getMoreData a >>= \b ->
getMoreData2 b >>= \c ->
getEvenMoreData a c >>= \d ->
print d

The type signature of the `bind`/`>>=` function requires that both sides be the same type of monad, so it won't actually typecheck unless all of the get data functions return the same type of monad (future, list, optional, etc).

There's a number of ways to get around this in haskell (monad transformers, free/freer monads, etc) but they're all pretty complicated unless you're pretty familiar with the language.

(Disclaimer I'm probably a little wrong in my description - I'm still learning haskell)
Sorry this line doesn't work for me. Previously I worked on Mifos, an open-source microfinance accounting system, and worked for Kiva.org, a microfinance broker. I have at least a passing familiarity with the financial needs in the third world.

I don't see Bitcoin as doing much there. The peer-to-peer aspect requires computing and connectivity requirements most people don't have. What has had mild uptake is new online financial institutions that use Bitcoin. But I don't see any real advantage there. Compare instead with M-Pesa, which has over approximately the same period gained millions and millions of users.
To me, this is a 10x developer. Some developers make an app for their side project (which I assume this is) -- but they made a whole interop with their own VM just to make an app.
Advice to aspiring data scientists: start a blog
>Having a house to live in should be.

I think their is a confusion of rights and duties occurring here.

You have a right to own a house. What you are speaking about is others having a duty to provide you with a house. In particular, we need to be clear on exactly what the duty to provide housing is. For example, there is a significant difference between the government offering safe homeless shelters because society has a duty to provide some shelter, and legally being allowed to continue living in a rental unit that you stop paying for, because this constitutes a duty of the owner providing you with that particular house.

Sex is a common idea that helps establish the difference between a right and a duty. Banning gay individuals from having sex is wrong because it violates their right to sex. But no one has to have sex with another person because there is no duty to provide sex.

>If it deters people from buying properties for renting to others by making it not as lucrative, it keeps the prices down and makes housing affordable for many.

There is also the possibility of regulatory capture. It prevents someone who happens to own two properties from being a competitor in providing rental services while companies that specialize in it and have many properties of the right value to be able to spread out the risk are not threatened by the laws.

As someone looking to buy a house, I've considered the ability to rent it should I seek to move verses having to sell it, and it seems that tenant rights where I live (which are much weaker than French law) increase my risk of renting far more than it increases the risk of a company specializing in renting. Its weird to be in a position where I rent but feel there isn't enough protection while at the same time there is so much protection that it strongly impacts the logic of if I should buy.
and it’s actually damn easy to achieve

And it's very very expensive
This is a great idea! We put a BUILDINFO.txt in the the container that carries all this information(and more).

This is a history thing, we have stuff in production not in docker, and we use this approach with all the non-docker stuff and just carried it into docker. But I'm going to go add the data as labels to the image now as well!
I don't think it does. That quote is from the section explaining how to configure "Password" authentication. i.e. to use Password authentication, you must enable it on the target server.

It then goes on to list how to use Kerberos or Public Key methods.
There was an interesting article in Science last month about looking at pollinators holistically - butterflies, flies, 20K species of bees, even some vertebrates - and contrasting to focus on one or a few of bee species.

Unfortunately the online link needs login
http://science.sciencemag.org/content/359/6374/392
I just want to consolidate journald entries across multiple boxes with a nice wen based UI. Anyone used cockpit for this? Or another solution?
Where I live it's pretty common to have multiple tenants in housing zoned for single-family residential use (I imagine this is true of much of the US). I'm curious whether that makes it easier or harder to evict someone.
> If you want "tenant rights" you can sign appropriate lease contract that allows you to stay longer in case you are in some trouble

“Tenants do not highly value protection from eviction” at the time of lease signing “because the objective probability of arbitrary eviction is small” [1]. (The same paper notes that subsequent to the introduction of [German] eviction control in 1971 and 1975, the number of evictions first decreased and then, after some short time interval, returned to its normal average.”)

[1] https://www.econstor.eu/bitstream/10419/92900/1/Homburg1993T...
To be fair, when you're on a UNIX-like system a program written in bash or a scripting language doesn't look any different from a compiled C binary from the endpoint of the user - shebang lines and the execute bit were a honking great idea.

The whole issue with creating a "real EXE" was it was incredibly obvious when your program WASN'T an EXE on DOS and still to this day on Windows, to this day it still irks me when I download something and there's a .bat file to launch it - but I could care less if there's some wrapper shell script on Linux.
Messengers Are Stealing Your Data: Here’s How to Rescue It
I remember this feeling too. It was one of the big motivations for me to learn C, back then: the ability to create a real .EXE that didn't need an interpreter. That, and the lightning-fast startup time of compiled programs.

I remember simultaneously being excited about the fast startup time, and also feeling that my program didn't seem "real" if it finished its operations too quickly. Real programs took time to do things, and something about it felt fake when the program responded immediately.
Full time remote here divorced 2 yrs. Also in Wisconsin. I share 50% full time custody of my 3yr & 7yr old. This is very solid advice. OP - be very skeptical of anything coming from people who don't have young children around. Even those who did, seem to forget how taxing it is. You may reason that the time that you don't have them is "free". It is not. You will need most of it just to properly care for yourself, the household and to recover.
Happy to talk more. Feel free to pm me.
That's certainly the moral. I think what's changed with the new deep learning paradigm is a willingness to accept that implicit prior, not so much because it's good as because we don't know how to improve it consistently.
Do you intend to say that the Scandinavian countries' deliberate policies against social fragmentation since about 1950 haven't had any effect? Or that they wouldn't have any effect elsewhere? Or that they don't exist?
What a weird story. One strongly suspects that there must be more to it. As reported, to not even be indicted (which usually has a low bar) for stabbing someone to death in full view of numerous witnesses seems like a pretty abnormal outcome.
> Not sure what the issues would be for Apple to permit this.

None as long as you don't provide a way to run code downloaded on the fly.

You'd have to rewrite the entire UI though.

Also being more UI-centric I always thought a good port[0] of Self/Morphic could work very nicely.

[0] good being the operative word, the default is both ugly and requiring too precise interaction for a touch panel
Does saving kids’ lives lead to overpopulation?
Except the article mentions successful approaches to reducing the problem other governments have used, so I don’t know, maybe read the article?

One of the few proven ways to reduce overdose deaths is to establish supervised injection sites that eventually wean users off the hard stuff while steering them into counseling, safe housing, and job training.
After the first injection site in North America opened in Vancouver, deaths from heroin overdoses plunged by 35 percent. In Switzerland, where such sites operate nationwide, overdose deaths have been cut in half. By treating the addicted as human beings with dignity rather than as losers and criminals who have ostracized themselves, these programs have coaxed many away from the cliff face of extinction toward a more productive life.
>So the first question: Why are you using a doubly-linked list? :-)

Honestly there is only one legitimate usecase for a linked list that can only be solved suboptimally with a continguous array. Removing elements in the middle of a list assuming you already know the pointer to the linked list node.

In a linked list you can just overwrite the previous node to link to the next node.

However what I do is I just swap the element with the last one in a vector and delete the last element. This doesn't preserve the order of the list but for me this has never been a significant issue.
What about tarball extraction and native module build artefacts being produced? They'll still have the wrong permissions.

This was not originally about "mkdirp". It was about managing the cache when running with sudo on ubuntu. It only became a "general" mkdir through series of refactoring steps.
Time to get rid of the “Complete Streets or bust” mindset
No it's currently vastly more expensive in terms of delta-V because you need to get the fuel to the moon at the cost of delta-V.

Saying we could mine the moon at some point in the future is great, but why not just move an comet into earth orbit and mine that. It's about as feasible in theory, but does not require you to get out of the moon's gravity well.

PS: If you really want rail guns, you can also get free delta-v from solar sails and use them maintain a launch platform's orbit.
Everyone should use FizzBuzz and teams should come up with similar challenges that are novel enough not to be memorized.

The reason why FizzBuzz exists is because a lot of people apply for programming jobs who can't write code. It's not just that they don't know framework X or have an outdated approach to problems. They literally cannot produce anything remotely recognizable as working code.
I and a friend signed up for signal a few days ago. I received verification code after few minutes, he received it on next day. Smells like underpowered server to me.
Showing my age a bit but it's amazing how such simple things can alter one's life. My parents brought home a heavily discounted TRS-80 Model I Level I with a whopping 4k of ram when I was a child and that started my life long love of technology/coding.
Part of the introduction really reminds me of Nassim Taleb's Antifragile.

"As artificial agents enter the human world, the demand that we be able to understand them is growing louder."

"Let us stop and ask: what does it actually mean to “understand” another agent? As humans, we face this challenge every day, as we engage with other humans whose latent characteristics, latent states, and computational processes are almost entirely inaccessible. Yet we function with remarkable adeptness."

In the chapter I'm referring to, Taleb describes situations where practitioners outperform academic theories. Practitioners are driven by results, they develop heuristics and mental tricks with experience, but they don't always have a good understanding of the underlying complex system that they're predicting about, and they can't usually explain their heuristics and tricks.

Academia (and broader society) tends to demand an explanation for why things behave a certain way. Usually this means developing some nice-sounding narrative that may or may not be true. I think it's fair to say Taleb is skeptical that it is at all possible to learn the underlying mechanisms of a complex system to the point where we can actually predict the future behaviour of that system.
Show HN: What attracts you for a Tinder date vs a lifelong partner
Objects don't get the level of protection people do.
Also, usually the tenancy laws are much less strict when the landlord is sharing the dwelling with the tenant. There is pretty much zero chance that they wouldn't have been able to evict him quickly if they had good legal representation. This is more of an example of how the legal system is unfair to people without good legal representation than it is of how tenancy laws are unfair.
I don't use the subscription service of 1PW, but it's impressive that they got this out so quickly after Troy Hunt released it.

I'd love to understand how they did this, especially given the additional security implications of this feature you would expect it to require reviewing, testing etc.
I agree with you. In practice, if I had a roommate who was genuinely going through some difficulties and needed 1-2 months to get back on his feet, I would help that person out. What really disturbs me is people taking advantage of the law, acting like they are entitled to free housing, and not showing gratitude/remorse for the predicament they have put others into. That's the kind of person I would want to change locks on, not the former.

Perhaps my wording was too strong, and I apologise for that.
I transferred nearly 1000€ worth of BTC yesterday and it took one hour and cost cents.
Clojure: Structural Diffs
Apparently the main remedy to colony collapse disorder seems to be to just order new queens via internet.
Possible. What I'm saying is "the plane can do many things, but 1. won't switch modes e.g. from cruise to autoland, and 2. even so, it's just a different way of controlling the plane, it does not fly itself."
Probably because these "security guides" just repeat what others said without any real consideration?

In fact, using key-based authentication just shifts the weak point from one server to another, and, if implemented incorrectly (let's login without passwords to several servers - how convenient!), it's a security disaster. People need to think rather than follow recommendations blindly.
What would you suggest to people looking to become or retrain as a developer? Because it seems this is something that's more of an issue these days than even a few years ago...
Undocumented immigrants increase the supply of labor, and therefore applies downward price pressure. If you are someone who trims/removes trees, reducing this foreign labor arbitrage is a positive. (While undocumented immigration may be a positive for efficiency/economy as a whole, it certainly is not if you are facing increasing competition as a supplier of a service)
Scandinavian countries don't have social fragmentation on the scale of the US because they are not the US. Not nearly as diverse, or large. They have much more history and common ancestry and culture and community. There is very little of use that can be gained from comparing Scandinavian countries to the US.
> even if it is entirely respectful.

Or accurate. Or backed up by science.
I'm not sure that doubly linked lists are common. They are pretty obscure highly specialised datastructures that are only useful when you really know you need them.
Dutch Squatting Ban
> I don't have the URL handy but the Signal team did investigate the literature and known techniques for this a few years ago and found them to be nonviable.

Private set intersection (in which two Signal users compare contact lists to see which contacts they have in common, then trade Signal information for them) would work just fine.
while not necessary, college provides a social framework for many people. if i visit, NYC, SF, Seattle, Chicago, Boston, or DC, then i have alumni friends i can hit up and hang out with.

I'm not sure how you could do the same without going to college
the word "building" already scares me -- black mirror digital bee horror engage!
I do it because lastpass/1pw/bitwarden/etc all seem to generate random passwords which are hard to use manually. If they do a "pronounceable" one it's all lower case or doesn't mix case other than randomly or capitalizing the first letter. Many of us like some kind of variation on xkcd's password generator. I haven't seen an implementation that does it the way I like so I wrote my own. I have that generate a password and then I put it into bitwarden (or whatever I'm currently using). I thank myself when I have to manually type the password into a device because I can look at it and remember it long enough to type it one time.

Also, some "long and strong" passwords are too long and/or string for sites that have poor password requirements.
Overdose deaths are cut in half because they have access to clean drugs. Show me statistics that they have actually kicked the habit.
> So what you are saying is that banning the AR-15 shouldn't be problematic for people, because they can simply become familiar with other options like shotguns, making them the best gun for them?

Why stop there? They can learn Jiu Jitsu and not need the shotgun! All things are possible when we are just speculating about how to take others' rights in theoretical scenarios we won't have to deal with ourselves.

The AR-15 is a fun gun to shoot, which is why it is popular.

> I think the exact problem is not "you should only be allowed to have what I think you need". Every regulation and law in existence is a variation of "you should only be allowed to do X to the extent I think you need". A speed limit is functionally equivalent to the statement "you should only be allowed to drive as fast as I think you need". They are all attempts at balancing utility (how fast you can drive) and costs for yourself and those around you (getting in a crash).

Speed limits are something we all understand culturally, and are not set at the federal level.

If huge swaths of the country had no cars or roads, they might clamor for federally lower speed limits every time there was a bus accident. "The actual problem is the mindset of people like yourself claiming that going 10 MPH faster outweighs the real loss of human lives." And that's basically what happens with guns any time there is a mass shooting.

> The actual problem is the mindset of people like yourself claiming the utility of weapons like the AR-15 for tasks like groundhog control and recreation outweighs the costs of AR-15s being used to take human lives.

The second amendment's purpose is for the gun's use for the purpose of taking lives. Nobody's arguing groundhog control is the only valid use case for having a weapon. Valid use cases include as a check against government tyranny (as protected by the second amendment), home defense, as well as the other reasons I mentioned.

And if you're going to complain about the AR-15, you have to state where you draw the line. Presumably a ban of AR-15s alone wouldn't accomplish your goals. What guns and gun features are you proposing banning?