skysight-inc/HackerNews huggingface dataset:
A curious parallel to this is a lot of company's "no reference" policies. Due to the fact that a negative reference can have legal ramifications in a lot of jurisdictions a number of companies have adopted a policy where they publicly state that no reference will be given to leaving employees. I've known several companies like this that will then inform employees that are leaving privately that they'll be happy to give them a positive reference.

Some parts of society can be really weird and distorting and I have no idea how we'd go about solving them.
At a previous job, we used an even simpler solution: just download everything to a directory (called "deps") with

pip install --target deps -r requirements.txt

Then running the application with

PYTHONPATH=deps python myapp.py

This was also simple to integrate with service supervisors, since most make it easy to configure a environment variable.
That would have been a better example than 'classes', yes.
The fact that it was a USAF drone project which he hired them for seems salient, no?
OK so they published the results of an A/B test. My point is that those two phrases mean the same thing, not that it wasn't a psychological experiment.
Inertia isn't "resistance to change". It's defined by Newton's second law, F = ma. Force and acceleration are directional vectors, and mass is scalar.

In the form of the equation favored by my high school physics teacher, a = F/m, we see that when a force is exerted on an object with positive mass, the object will accelerate in the same direction as the force, in inverse proportion to its own mass.

But it's very easy to put a negative number in for the mass, and then you see that such an object would accelerate in response to force just as much as an object of equal positive mass, but in the opposite direction.
Cool! Where can I find an example project to start with if I want to build an app for Linux and Mac as primary targets?
Sensu Go is here
Oracle is OK if you can afford it and afford a nice battery backed storage array that (truthfully) fsyncs quickly.

MongoDB is crap.

I think the people who use Arangodb don't talk about it because they see it as a competitive advantage.

Right now I am working on an abstraction layer for document databases and using couchdb side by side with Arangodb. I guess I'll have to write a N1QL parser to go with my AQL parser.

The database I have the most fun with is SQLite. It is single-user, which means you can't log in with the SQL monitor when your program is running, but if you can accept that it's just great.
Nobody said it is.
Ask HN: Any academic efforts of writing new national democratic constitutions?
Some (most?) of the national democratic constitutions were written right after or during the periods of distress, and under some urgency, perhaps skipping some cool headed debate/discussions. Amendments to a constitution are supposed to correct issues with them and keep it up to date according to cultural shifts and scientific discoveries. But even then some aspects would be mediocre given the involved lobbying, trade-offs, vote-gathering etc. Are there any academic efforts of creating new democratic constitutions, which has gone through the rigor of peer reviews and validations against the known forms of inequalities, corruption, injustices, new techinical capabilities etc? Or is a constitution too context (read culture, mindset, economy) dependent or philosophical that such an effort won't be fruitful?
Mark Zuckerberg wanted a tool to help him get laid, and he built a tool that has the power to undermine democracy. He and everyone else in FB management seems to think their little toy is still just a chuckleworthy way to meet cute chicks and get rich. Serious adult scrutiny is exactly what FB needs right now, before they screw around and blow up the world.
C is OK. We'd love to see assembly language. Ideally you could show both, demonstrating that you can transform one into the other and have a good feel for what a compiler would do.
C standard library is not as good as python.
In addition to what huahaiy said, to me it appears that your incorrect perceptions of the state of psychology are coming from conflating the highly visible peripheries of clinical psychology (ie the content of the DSMs, clinical psychologists often making the same mistake that general practitioners of classical medicine make of attempting to diagnose illnesses they aren't experts on by simply checking of a list of symptoms, etc) with research psychology, while either being unaware of or failing to recall the myriad of non-clinical uses of applied psychology in government and industry. For example, modern (ie post 1940s) advertising is a direct application of psychological research, and from the get-go, in the psychological dark ages, it was successfully predicting human behavior for the purposes of amassing untold wealth.

Psychology is real science, that is actually based on making and verifying/refuting precise predictions. Just because applying the fruits of the study is extremely hard, does not mean the study is bogus. That sort of thinking is directly analogous to assuming that computer science is a bogus field just because alot of web programmers literally can't reason about an algorithm even if millions of dollars are on the line.
JSON Generator – tool for generating random JSON data
A core philosophy of law is that ignorance of the law isn't a valid excuse for breaking it.
Yes. I dislike the title, and wish it was edited to give a better idea, but the story is good.
Um, no. Sometimes you have to go tit-for-tat to rein in unreasonable countries who try to apply their laws beyond their reach to things that should be none of their business.
If a particular NC is creating financial hardship can you still negotiate out of it? (I'm assuming while forfeiting the compensation)

Basically, "This NC is so burdensome I can't pay my mortgage if I obey it. I'm petitioning the court to release me from it and cease payment so I am not forced into foreclosure."
Because you can't force the endpoints of your customers to all support that.
Official reply:

https://twitter.com/searchliaison/status/1070027261376491520
In that case why not just write the code in binary. If you have all the opcodes memorized that is pretty impressive.
ROCKETTFOLLOWERS257 PHOTO – BUZZEZESOCIAL.NING.COM
TempleOS: Terry Responds to the Haters
I've never really delved deeply into package management. I've been using ruby for a while and using rbenv has made it pretty painless for a while.

I've been using pipenv on my local machine but then switched to virtualenv in my ec2 deployments (because all the tutorials used it).

What makes it easier for ruby? Is there just this "registry API" that has gained enough traction that everyone uses it?
sorry about that, I duplicate posted by accident after realizing I hadnt whitelisted hn for cookies when switching back to firefox. dupe deleted.

but seriously, just google ITAR violations and youll find a litany of other american companies that have been made to pay fines for violations and allowed to continue business as normal with no sanctions, no boycotts.

https://spacenews.com/37071us-satellite-component-maker-fine...
https://www.strtrade.com/news-publications-ITAR-AECA-violati...

its just Huawei for some reason that sticks in the craw of DC, and has for months now starting with senators insisting they should be boycotted, to a defense procurement boycott that extends to DOD contractors, and eventually the evangelism of a boycott that extends to AT&T and others.

Im genuinely curious what caused it? because the trade violation just seems convenient.
"activate" prevents accidentally nesting environments. It also changes the prompt to show which one is active. Running "deactivate" is easier than changing the environment variables back yourself.
If nothing else, you're taking the medical risks on yourself. In the US there is a 26-per-100,000 mortality rate, so there is a small but nonzero chance that when you ask someone to be a surrogate they will be killed by the process.

Would you rather ask someone else to take a 0.026% chance of dying or take a (say) 5% chance of dying yourself?
As the darling of the tech community? I very much doubt it will make another 5. Everyone I know seems to be starting greenfield projects with Vue. And I would be shocked if there wasn't some revolutionary new thing I've not yet heard of waiting in the wings.

I have nothing against React (I use it) but I see no reason to believe it will not follow the lifecycle of every presentation technology that came before. Ten years is a long time. Of course people will be still be using React, but then people are still using GWT today.
LIght Weight Image Processor for Node.js
Everyone except Google knew Allo was a bad idea before it even launched though.
But on the App Store, you can see that people fondly refer to Duo as the FaceTime for those without FaceTime. If Duo goes away without replacement, I think people will actually miss it.
Really? There are extradition agreements between Canada and he US... let’s say you murder someone. You can’t just leave the country and expect the new host to not care!

What she is alleged to have done would be a crime in Canada too so her nationality isn’t relevant.
How would you updated something inadvertently?
Canada has density of 4 people/km2, and somehow manages to have less per capita CO2 than the US.
Who else remembers Google Wave?
Not sure I understand the point you are making with your question?
These guys have actually been advertising on the radio lately (in the Los Angeles area).

https://www.robinhood.com/

They are claiming zero commissions on US based securities, but then, how are they making money ?
I had a migraine a couple of months ago that I thought was a stroke. I didn't even really have a headache, just suddenly had tingling in my hands, and limited vision. I pulled by bike to the side of the road and sat down on the grass, then called my wife. I realized during the conversation that I couldn't remember basic words like "library" (where I was going) and "numb" (what I was experiencing). I felt just like me, but I had like 60% vocabulary. That was one of the scariest experiences of my life -- not pain or disability, but simple loss of words.
Nice find. Looks like Apple cites it in some of its own patents ("Enhanced automotive passive entry" from 2018-08-16) so maybe they already have rights to it and that's why unlock with Apple watch can work correctly.
The RCMP and FBI regularly cooperate on arrests.

IE: https://en.wikipedia.org/wiki/Smart_Border_Declaration

There's all sorts of similar agreements/declarations/etc. We have a rather fluid border for the arrest and extradition of individuals.
You should ask your corporate counsel. Yes, it would be fine if you get arrested.

This is why a number of VW corporate officers cannot travel to countries with extradition treaties with the US, due to diesel cheating scandal.
What was wrong with requirements.txt? We heavily use virtualenvs and just pin package versions there. I've yet to see it fail.
I've had these. They worked for a while. But then I guess the metalized fabric wore through or something, because after a while they no longer kept the car from starting.

The smallest ones I could find would actually hold two fobs, but when filled were large and uncomfortable enough in my pocket that I preferred to just keep the fobs naked.

I still haven't found a good solution that actually works for keeping passive fobs secure while they are actually in my pocket.
Those are 15mm drives though - unlikely to fit inside a laptop (7mm is thin, 9.5mm is standard).
Its too bad it ignores the case of NaN (and other queries)
> Is there another app that, indeed, connects the world?

My web browser.
That's what the article (https://arxiv.org/pdf/1712.07962.pdf) says:

> In theories of quantum gravity, gravitation is mediated by the graviton – a massless, spin-2, boson. This means that any pair of negative masses would attract, and not repel as suggested in this theory. However, there are also theoretical arguments that gravitons cannot, and will not ever, be detected experimentally (Rothman & Boughn 2006). There appear to be two options: either it is possible that the graviton could be modelled as a bound state of a positive and a negative mass, in a theory of composite gravity or some other mechanism which provides a modification of graviton properties. Alternatively, this could also indicate that the proposed theory cannot be modelled by real, physical, particles, but rather by the presence of effective negative masses within a superseding theory.
Massachusetts now has 50% garden leave. But it’s not a panacea. Some see that and go where can I sign up. But the reality is that, for a lot of people, hanging out and maybe doing some side stuff for a year for half their former base pay isn’t a great or even practical option.
I believe (based on the fact she was arrested Dec. 1) that her name was part of the tight information security but once it gets out that she has been arrested the news are allowed to publish that. Moreover, It also appears these may be international papers and I don’t know enough to say they have to or don’t have to follow the ban.
I wonder how queryable this is in document databases... (e.g. I want to use Arangodb to make something like Lotus Notes with a document classifier baked in)

Also another thing that has bugged me about "Rich text" since the Word 95 days was that something seems to be rotten in the data model in most implementations.

The main symptom is that applying styles to text just doesn't behave rationally. I want to select a certain region but I wind up selecting something slightly different. The mouse pointer moves in the wrong direction, etc.

Related to this it seems most WYSIWYG editors for HTML are buggy for the same reason. Dreamweaver used to work 10 years ago but now it can't get out of it's own way on my overpowered laptop and Adobe Support is clueless about it.

Will this help?
And it isn't only Javascript that manages to have a single tool for this. Clojure has a single tool. Java has a single tool. Rust has a single tool.

This is a solved problem across a variety of popular and mainstream programming languages. I don't mean to suggest that the problem isn't complicated, but this isn't a problem that doesn't have a wealth of previously written solutions to look at for inspiration.
Pension Automatic Enrollment – Expert Payroll Services
Anyone who buys into a company's stock when it's rigged to insulate the CEO from accountability either doesn't care about accountability or is a fool.
You seem to be putting words in my mouth. I didn't claim OCEAN wasn't empirically based, nor did I claim that it is used for diagnosis. I said the DSM is used for diagnosis of BPD. I offered OCEAN as an example of the general lack of rigor in the field. Read my post more carefully.

> You simply don’t know the field enough to speak intelligently.

If you read the study linked to in the article I cited, the whole field of psychology is having a crisis right now. The Atlantic even titled a recent article "Psychology’s Replication Crisis Is Running Out of Excuses". Your profile page says "academic background in psychology". I wouldn't say having a background in a field that can't replicate its own studies means a whole lot. Am I also not authorized to comment on the field of astrology because I don't have a background in astrology?

> Do not spread false beliefs about a subject you know little about.

Please point out the sentence in my post containing a false belief.
Yep, you can see this exact process more seriously sidethread: https://news.ycombinator.com/item?id=18613860 .

>> I complain about Google having too many competing/overlapping products, so I can't really complain when they close/merge them.

But I tend to agree that "Hacker News" is right to complain in both cases. Messaging is one of those areas where the existence of products you (the consumer) don't use can hurt you, so criticism #1 stuck. The only fix played right into criticism #2.

Does that mean #2 isn't a real problem? No, in general it's even worse than problem #1. The real lesson to be drawn here is that, if you get into a "bad" situation, you may not have a "good" way out.

This message traditionally got hammered home by tragedies, but tragedies are massively unpopular with modern audiences.
But many countries ban people being allowed to ply their trade which is why non competes to be enforceable have to be narrowly drawn.
Yeah. Except "the media" is reporting actual facts, that not even Facebook is disputing. And you're making some case that would be true no matter what the media focusses on.

So: why Facebook, and not Apple? Why Volkswagen, and not Toyota? Why Michael Cohen, and not some other lawyer nobody had ever heard of?
Personally, I'd be on board with Allo if it was incognito mode by default with no option for the currently default mode.
Dbacks
Working full time and going to school full time is basically having two full time jobs... that would clearly hinder sleep.

The statement, however, said college means no sleep. That is a bit disingenuous to say that was meant to imply the person was working full time.

That would be like saying "living in an apartment means no sleep!" because you lived in an apartment above a 24 hour bowing alley.
IANAL, is there a legal distinction between unenforceable and not enforced as a matter of policy? The second could encompass a contract clause that is enforceable as a practical matter, but not considered desirable. The first could include things that are desirable, but impossible for a court to enforce as a practical matter.

I'm inclined to think that non-competes are both undesirable and unenforceable as a practical matter, though I understand many states to enforce them. The reason I focus on the unenforceable as a practical matter is 1) that jobs so often aren't what they are advertised to be, and 2) courts, as a practical concern, don't see a realistic role for themselves as long term regulators over who is allowed to work where on a practical level.

I can see this working perhaps in extremely limited conditions, but that goes into undesirable - to enforce these, you're asking the courts to rule that the employer upheld its side of the contract where it came to a job, determine specifically that the new job falls within the contract, becomes an enforcer over some worker's life determining where and how he/she is allowed to work... and all for what?
SEEKING WORK | Remote (travel OK, currently splitting my time between NYC and Seattle)

Hi there! I'm a web programmer with a specialty in scientific data visualization. I have 6 years of industry experience writing code for dashboards, games, and apps. I've built data dashboards, APIs, and web apps, while also doing feasibility studies and tests on what the best way to build something would be. I tend to specialize in jobs that involve science, data, maps, and a visual component.

Previous projects I've shipped include a visualization for drug discovery, a map of the human metabolome, IoT sensor dashboard, and a serious game. I have dual degrees in CS and studio art, and spent several years at the University of Washington working on an NSF-funded serious game in microbiology.

My latest projects have used D3.js a lot, and for quick visualizations and analysis I'll use Python, pandas, and Jupyter. I'm friendly, communicative, can iterate quickly, and am happy to advocate for what I think would be best for a project. I have a lot of availability in September and October, after which I would be able to spend about 10 hours / week on consulting. Happy to expand on previous projects and chat about yours, send me a message!

Most-used tools:

* Javascript stack: Node.js, ES6, React, D3.js, React Native, Electron

* Python stack(s): Jupyter, pandas, matplotlib, scikit, sklearn, basemap

Gmail: rowan.copley

GitHub: github.com/dovinmu
It isn't the fastest, it's true. I'm not sure if this is a browser/CSS rendering limitation or a Firefox issue, so I've just dealt with it. It's best to not use Owl on video streams.
Unik: The Unikernel and MicroVM Compilation and Deployment Platform
I hope you're checking to see if your IPs are blacklisted or not.
Facebook Emails Reveal Debates Over Selling Data Access [paywall]
that's disingenuous, it's very hard to find a job that doesn't look exactly like the 5 last jobs you had. If you want to fix that you gotta fix the labor market and hiring practices first, which is wishful thinking. 60% is low.
Yes, I was curious about how much this affects battery drain. It seems like it would be a considerable amount.
Maybe! Probably he should have known better, but that's beside the point. One can end up in jail by simply hiring nationals from sanctioned countries. This case is more clearcut in comparison. She was actually involved in exporting American technology to Iran.
Sounds like the college part was only a minor contributor to the no sleep... it was doing all the other things along with it that lead to no sleep.
The one thing about pipenv that prevents me from using it in more projects is that it refuses to not upgrate a dependency. If I install or upgrade a dependency, every dependency is upgraded. (I'm not sure what `--keep-outdated` is supposed to do, because it definitely does not keep outdated dependencies.) First of all, it's surprising and unpredictable. (Why would `pipenv upgrade requests` upgrade boto3?) It also prevents me from controlling change (and therefore controlling risk). I'm responsible for everything that gets deployed, so when I upgrade a dependency it is deliberate, isolated, and well-tested. I can't do that with pipenv.

I understand that they want to encourage keeping dependencies up-to-date, but I think the proper approach to this is npm's, where it informs me about outdated packages, but lets me do what I will with that information.

So, for the moment, I'm still in the dark ages of manually pinning everything into `requirements.txt`.
What I would like to know is how deals like this go down? Like does the US have some sort of agreement/incentive with Canada for them to spend their own effort on this?

The US calling Canada on the phone and asking them to arrest someone they want seems too.. easy? I imagine there's a limit where goodwill only gets you so far, and then some sort of compensation is expected. Maybe there's a lot of backdoor Gov2Gov money funneling or economic deals, but idk. This seems like stuff that is opaque to average citizens.
Sanctions governing trade with Iran have been codified through multiple acts of Congress and are overseen under the Departments of Treasury, Commerce, and State, under Title 31 statute, with additional regulatory aspects within Titles 15 and 22. The statute (31 CFR 560.205) makes reexportation of US goods from a third party country by a non-US person explicitly illegal under US law.

To the second aspect of your question, Canada is under treaty obligation to cooperate with extradition requests issued by US courts for fugitive apprehension, and Canadian courts will rule on whether the extradition is consistent with Canadian law before transferring the suspect to US federal custody.

Welcome to the rule of law.
Just because you have no moral standards, does not preclude others from having them.

Your particular conspiracy theory also fails to explain why Google and Twitter are not attacked in this way, why Facebook is attacked now, even though its growth (and therefore its impact on the media) peaked maybe two years ago, or why craigslist and monster.com, which hurt the media almost as much as facebook, were never targeted.