skysight-inc/HackerNews huggingface dataset:
> It's possible that it happened and simply backfired.

This is exactly what happened, from what I can tell, with the one caveat that most of the bias likely came from the human staff they hired to editorialize and moderate. The attempt was noticed, and it backfired spectacularly. If you look at Facebook today, I think it's clear that they mostly don't do this anymore. Facebook's users naturally spend more time and effort sharing and interacting with conservative content than progressive content; thus, the top stories on Facebook are usually from large conservative media (esp. The Daily Wire).
In this case it was (allegedly) HP computer equipment.

https://www.reuters.com/article/uk-huawei-skycom/exclusive-h...
I have a similar view - there's some very smart people here!
What does a “good manager” look like?
Scripture Lullabies is really great too - very peaceful & soothing.
As a professional storage-system developer, my reaction to every announcement of larger disks is something close to horror. Capacity keeps increasing while performance remains darn near constant, so the gap between the two keeps getting wider. Yes, we can use flash to absorb the I/O demand, treat disk more like tape, yadda yadda, but all of that takes significant effort. You do want your storage system to be correct despite the greater complexity of heterogeneous hardware, don't you?

Looking on the bright side: infinite job security. Yay?
I prefer to keep locally installed Pythons for regular use everywhere, though I guess some distros get the same effect by patching pip to make `--user` the default (and hence pip install xyzzy goes to my home directory instead of messing with something that belongs to the OS).

In particular, one way this has bitten me is if the OS expects a certain Python with a certain set of dependencies to be available for systems its responsible for. Isn't portage itself written in Python for example?
I mean if all of SV is doing what FB has been accused of, that is a story in and of itself. Maybe FB does typify or even exemplify SV tech bro culture but just because companies were once able to play hard and fast with the rules doesn't meant it's behavior that the rest of the world is okay with. Startups are mainstream now. And with all that new attention and money comes scrutiny because you aren't just operating out of someone's garage anymore. Move fast and break things doesn't fly anymore when the things you can break affect millions to billions of lives and dollars.
PEP 582 is in the works to make __pypackages__ the Python equivalent of node_modules. Not sure if it will get accepted but I hope it does.

> a mechanism to automatically recognize a __pypackages__ directory and prefer importing packages installed in this location over user or global site-packages. This will avoid the steps to create, activate or deactivate "virtual environments".

https://www.python.org/dev/peps/pep-0582/
Unfortunately this doesn't work in a globalized race to the bottom. People can go buy a cheaper item that was shipped around the world 3 times before landing on supermarket shelves.
s/we/China
I think you could sort of argue that non-compete agreements are a sort of price-control in favor of companies that write add them into their employment contracts. These companies are effectively trying to both lower the costs of their hiring, and make it cheaper for themselves to compete against their competitors.
No, it would be terrifying that trillions of dollars are run by programmers. If the hedge fund guy says that Excel is fine, then Excel is fine.
You can vouch for dead comments to un-dead them (bring it back to life?). I've done it for the sibling comment (by twothumbsup).
Repurpose an "easy button" to play custom sounds (I programmed snippets from the Simpsons). When I went on vacation, I substituted my hacked one for the normal one in the developer's area.

https://github.com/gvb/easybutton

https://github.com/gvb/easybutton/wiki
Is average price that useful in this context? Surely there would be very fast high end drives that would push that cost up?
I'm actually an engineer :-)

I used "smartass" because it's a move that superficially seems clever, but is actually completely futile when you look at the broad picture - as my comment shows.

I don't know if us engineers have "low social status", but we certainly don't have as much negotiating power as some of us may fancy, certainly not against a huge mega-corporation.
The weird internet is still there. It just isnt on the web. Join a pubnix, use gopher, find a good bbs, get back on IRC. Those are just a few great spaces. The bit of technical knowhow to get to or use them reduces their viability as capitalist enterprises, which keeps them at least slightly more creative/old school. Generally it is easy to find a community with the right balance of size, content, and participation in these palces than things hosted on the web.
Show HN: Collection of 90+ FREE Open Source Intelligence Tools
SHAP and LIME Python Libraries
From what I gather, the negative mass repels the positive mass (which is thus accelerated away), and the positive mass attracts the negative mass, which (because it has negative mass) is thus also accelerated away.

Now, the kinetic energy of the positive mass grows, but the kinetic energy of the negative mass is negative and falls (because its mass is negative...), so energy is conserved.

EDIT to add: I think I gathered wrong. Apparently, there is runaway motion (same direction), energy and momentum is still conserved (since one mass is negative), and since total mass is zero, the two particles reach speed of light. Intriguing. See paper.
It might not matter. If the point of the amp is to reduce the effective distance between the car and the fob, whatever messages are exchanged will look right to the car and the door will open.
pipenv is not perfect but it is definitely headed in the right direction. It is a lot easier for beginners to get started with which is one of the best things I've found.

To address one of the problems, Running Scripts:
basic complaint is you are starting a new shell always and you have to prefix all commands.

Prefixing commands sucks but you can get around it pretty easy with an alias.

alias pr="pipenv run"
alias dm="pipenv run python manage.py"

now 'pipenv run python manage.py startapp foobanizer'

becomes 'dm startapp foobanizer'

or 'pr django-admin startapp foobanizer'

As for the shells. I really like this feature because it's a lot cleaner. With activate and deactivate you are essentially mutating the current shell which can be dangerous. Also because it loads your ENVs on every run, it's easier to switch out ENVs.
Could this repulsive 'Dark Fluid' be what they use on the Enterprise to generate artificial gravity? They could pipe the stuff through the ceiling to press you down against the floor. But that would make the gravity point the wrong way in the decks above and below. But if they alternated the direction of "up" on each deck, maybe they would cancel each other out.
Probably nothing. The Chinese looking at Canada as "a safe haven" are worried about their own government, not Canada's.
Yes with little actual impact. Something far more courageous is needed
Purposeful mixing or mild randomization of search results also seems like a decent way to help obscure the ranking algorithms to help thwart reverse engineering.
That would be a brilliant insight actually. I would love it if they didn't even try to make consumer products.
Yes they really should look at adding index organized tables, aka real clustered indexes.

Better space usage and performance for that single index since the table is the index, slightly worse performance for non clustered indexes due to a double index traversal.
That would be great! Any way to upvote or otherwise give the equivalent of a GitHub thumbs up to show support for it?
Though, even in C#, it would be inadvisable. If you have the same class implement both `IList<String>` and `IList<int>` you'll have some ambiguity to deal with in implementing

object IList.this[int index] { ... }

The expectation is that that property's getter should just upcast the return value of the generic version of the indexer.

For both languages, you'd be better off having two separate methods for the two different kinds of list.
New York native with just under 10 years professional experience (15 years total). Full-stack engineer with no real specialties and too many side projects.

Seattle has treated me well but it's time to say goodbye. I intend to relocate to Boston, but for the right fit could end up elsewhere.

---

Location: Seattle -> Boston
Remote: Is a strong plus
Willing to relocate: Only for a great fit.
Technologies: C, JS, Elixir, Java, Ruby, POSIX, Vimscript...whatever's right for the job.
Résumé/CV: http://resume.bml.rocks
Email: hnb@luchenlabs.com

---

http://bml.rocks | http://twitter.com/chzmstr | http://github.com/cheezmeister
Terry Davis on his mental illness
Consider a road. As use of it increases, repairs to it are costing more and more. In response to that, the government puts a use tax on it, to pay for the repairs.

In response, all the people who need to drive on it to get to work get outraged. Why don't we charge the people who don't drive on it???!? It's unfair that we have to pay for it just because we use it!

Hopefully you can see how that's ridiculous. And that directly parallels the carbon tax.

The solution is to encourage behavior patterns that generate less carbon. That can mean moving to cities. It can also mean localities providing more public transit. Or labor negotiating more telecommuting options.

A nice, non-distortionary way to deal with the problem is to take the tax, and either reduce other taxes equivalently (for every euro the carbon tax pulls in, reduce the VAT by one euro) or to just hand out the total proceeds of the carbon tax to everyone directly. The disincentive to pollute remains, so you still end up with a fairer economic system.
It is interesting that the main photo on that article seems to be taken about 200 yards from where the Uber accident happened in Tempe, AZ.
Get it to a chop shop for parts and/or get it out of the country and I can imagine it's pretty high.
https://en.m.wikipedia.org/wiki/Publication_ban

As stated on the wiki, likely because the publicity generated could affect the case. This case likely will get a lot of publicity.
Lets say you have that 300 qubit quantum computer, and you only need to simulate your own light cone. Trouble is, that quantum computer is also in your light cone. So to accurately simulate your light cone, your simulation has to include itself, recursively. Hence: not going to happen.
Unique file names also solve poorly behaved caches. I spent too long at a previous job trying to figure out why a particular user kept hitting the same error even after it was fixed: it turned out to be his computer's clock being off significantly enough that assets that should have expired from his cache were not expiring.
Basically it seems you are lacking only two shell commands.

virtualenv venv
. venv/bin/activate

Then everything works with pip

pip install numpy

I actually prefer the pipenv way (or the virtualenvwrapper way) of putting virtualenvs into a dedicated location, so that I can wipe them off the hard disk if I want to free some space.

The real interesting and occasionally bothering point on managing your virtualenv is resolution of dependencies and compatibility ranges (hard to solve in general).
> Sometimes, improvements don't happen in a straight line.

I don't deny that, what I am (and the article is) saying is that we were sold on Pipenv being "the officially recommended Python packaging tool from Python.org".

And PyPA didn't refute it, and Heroku didn't refute it, so the community bought it.

Yes, introducing a Lockfile is huge, and it was massively needed, and thats why when we were told "heres the official way to do it", we got excited. Then we got daily breaking updates, rude issue close messages, and a giant backtrack of "its free and still under development, why do you expect so much from us?"
DuckDuckGo Removes ‘Pirate’ Site Bangs to Avoid Liability
I did a text analytics project some years back, where we were scanning for signs that a (avoidable) patient injury had happened (such as bedsores, brain damage due to lack of oxygen or glucose, fall injuries for patients that should not walk around on their own, hospital infections, what have you).

All documents in the patient records were analyzed, including the ones filled out during routine checks etc, which included sections for checking for vital signs, mental state, etc.

There are pros and cons to waking a patient just to check for vital signs, but if you do have to wake her/him, basic monitoring should be performed. (whether or not it is recorded)

I don't know how widespread the use of phlebotomists is in my country, or if the occupation exists at all (separately from nurses/medical assistants).
Not really, for some people it saves very little time, for most it's a small convenience, and for others it saves a lot of time, especially women who have their keys in their purse and don't have to search for them. Just because it's not useful to you doesn't mean that it isn't for others. Car manufacturers aren't going to change something for no reason unless people actually want it.
Is getting your keys out of your bag or pocket really that hard? In comparison to the security risks?

To think of it another way: before keyless entry was a thing - how many people were thinking 'damn I wish I didn't have to get these annoying keys out of my pocket?'

To think of it yet another way: How many people buy the upgraded trim on their car mainly for the keyless entry?

(Not having a go - genuinely curious)
Yes, but her name was released. I'm questioning on what exactly this ban is protecting if her identity is already known?
In 2013, "U.S. businessman held hostage by his workers in China, he says":

https://edition.cnn.com/2013/06/25/world/asia/china-us-busin...
Hangouts and now this?

Their track-record is one of the reasons I don’t adopt personally or recommenced new Google services to friends and family.
Should have just forked Chromium tbh. Then all the extensions and configs could easily be transferred over.

Great to see people using Common Lisp.
Full pay for the length of the non-compete + insurance to cover the company going insolvent. Otherwise it's illegal to even put it in the contract
I don't post on facebook, and rarely read posts on facebook.

But Twitter can _not_ replace events, groups and messenger.
It wasn't A/B testing, or testing a feature, it was psychological study (http://www.pnas.org/content/111/24/8788.full) whose goal was to manipulate emotions - not measure the effects of Facebook features on emotions. There was also no informed consent for the users.
This sounds similarish to a psilocybin trip, not the paralyzing part but seeing mental faculties (or likewise things) being 'disabled'. "Oh there goes my ability to speak English, and there goes my ability to remember, oh reason gone, what? Yay, whoooo, huh? What's going on?"
>"If it weren't, general relativity would be wrong as well and we know that (in its domain of applicability) it's a highly accurate model."

Somehow I doubt it. I bet as a save someone would propose "dark spin" or some elaborate calculations that shows a few factors happen to cancel out exactly but no one noticed before now.
IIRC the #1 reason people get pulled over for drunk driving is because they don't have their headlights on, the police for sure are on the lookout for that.

In Arizona you pretty much have to make the cops do their job unless they think they can get you for a DUI then they'll pull you over for the slightest infraction. The things I've seen people do when there's a cop right next to me at an intersection and not get stopped is mind boggling.
Drupal 8?
China regularly arrests western business execs. They famously arrested Crown senior execs from Australia last year (https://www.nytimes.com/2017/06/13/business/crown-resorts-ch...)
when you have $8mm, sitting on your hands for a year costs you ~$250,000.
I tried pipenv, then poetry, then pip-tools [1]. pip-tools worked best for me. I control my own virtualenvs, and can compose the requirements files pip-tools compiles. It's vendored in pipenv, so it's basically the dependency engine for pipenv.

[1] https://github.com/jazzband/pip-tools
... this is basically trade hostage taking.
> Are you suggesting this exact model be the in-memory model? Because that would be pretty non-optimal. You'd likely want your in-memory model to be more powerful than a tree of dictionaries, arrays, and strings.

I'm pretty confident that this is actually the intended goal, particularly for web-based editors.

Most "modern" web-based rich text editors work with an internal schema similar to this one, even when most of them support html/xml import/export too. In today's web ecosystem, it is hard to do much better than "javascript structure that gets diff-rendered to the DOM by a patching algorithm on updates".

I think this is just a case of someone saying "hey, wouldn't it be great if all these editors used the same schema instead of very similar ones with minor differences?"
Realpolitik seems like the ideology of fuck you money.
In principle no, but in execution, yeah sorry no. FB completely dropped the ball. When you have that many users you can't just go let me experiment and see if I can make people sad. The range of people on your service is too high for that. All it takes is one suicide that can be accurately tracked back to someone in that segmentation and FB is fucked, deservedly.

For something like that, the name of the game is informed consent. Let people opt into or out of the experiment. That's what people conducting an actual study would do. Not just randomly start experimenting on the public which is essentially what FB did
Not true at all! Coming from Java, notoriously OOP heavy idiomatically, or python, sprinkling in some functional programming is Fantastic(!). Despite all the FP vs OOP hoopla I think they actually play fairly well together. Even OOP has moved to immutable records + localized behavior as the rule and fully mutable objects with side-effects are the exception.

FP is great at the high-level for orchestrating workflows and in the lower-level processing/transforming/aggregating over streams of immutable records. OOP is great at the high-level for independent communicating services/life-cycles and fine-tuned memory bound algorithms and needing state machines lower down.

You generally know what parts of your code mutate and what don't well enough to get the nice side-effect free usage from your functional parts.

Someone smarter than me once said: OOP? FP? It's really all just about being principled about state. A closure is just an object with one function.
Hi fellow hackers! This collection is manually curated #OSINT directory. Digital footprinting, fake news detection, governmental fraud & world terrorism related investigations, market intelligence/information gathering, penetration testing and more! So definitely will be useful for infosec guys, penetration testers, security researches, journalists or just a fellow nerds ;) Check it out and let me your feedback! Cheers, Denis (@SourcingDenis)
PyCM v1.6: Statistical analysis of confusion matrix
I think generally the question for most small businesses should actually be "How do we get them to be able to do more stuff in Excel."

https://www.blockspring.com/ or airtable would be pretty close to the top of my list.

If I had 3 hours with a small business to teach them as many data science skills as possible, I'd teach them how to use goal solver, how to run a markov simulation so you can model things approximately, and maybe, maybe, how to do some basic statistics.
They're probably pissed at the USA welching on a made deal, at the very least..
Most vehicles have hidden physical keyslots somewhere, often under the plastic cover of the door handle, but usually not all door handles.

Source: worked for a valet
company
Not a bad attempt, but what's "full pay"? For most senior engineers, the base salary is just a part of the compensation package. What about bonus?

Also, most employees move for a better opportunity, which often means a much better base comp + potential for much higher bonus. If I'm not going to be compensated for that, how is that "fair"?

Finally, my resume and likely my skillset will take a hit for sitting 1-2 years at home. Where's the compensation for that?
As in it could turn into a cause celebre and run amok due to the politics involved.

Likely the cause celebre might not just be affecting court decisions but cause external effects like other clashes in society so best to keep it quiet to not risk random crises.
New York Police Unveil Drone Program
I think it's a question of supply and demand.

If professionals need throughput, they will buy a couple of hard drives and array them together. Latency is generally not requested.
Is that what prices are for?
Doesn’t matter who when the ozone layer is gone.
On the other hand, they are the reason a doctor or lawyer trained in India can not come to the US and directly start practicing, aside from the Indian lawyer not knowing US law, which they could potentially learn just as they learn java.

No negative sentiment implied here. I am an immigrant myself.
Maybe I'm missing something, but why should contractors have access to company-wide emails to staff, townhall staff meetings, or Google health care and benefits?

Some of those seem very much the essence of the difference between working for Google as an employee vs not working for Google as an employee.
> I don't see how that would be possible (and at least the scientists at the ICPP don't believe it would be possible either

That's down to the fact that emitting more than 8.5 RCP requires some insane choices. Like, as you say, burning pretty much everything. A low-end runaway greenhouse can happen with 12 W/m^2 forcing[1], which would mean temperature changes ~20 C compared to 4-8, and multiple times more CO2.

> At the end of the day, it is believed that all or almost all of the oil, coal and natural gas we use comes from biogenic sources, meaning it used to be in the atmosphere at some point in the past.

That is a very, very silly way to look at it. The total weight of carbon in the air is 870 gigatons. There are 1000 gigatons in ocean life, 2000 gigatons in the terrestrial biosphere, and 4000 gigatons in fossil fuel reserves. The fact that it was in the atmosphere at one point is irrelevant; I've drunk thousands of gallons of water in my lifetime. If you were to return those to my body all at once, I would explode.

[1]: https://en.wikipedia.org/wiki/Runaway_climate_change
Cat Sense, Bradshaw 2013: Are We Good Owners?
It depends on who the Chinese nationals are worried about. Does Canada have an extradition treaty with China?
nice try but serves were attached to the land by nature.
At least we have a decent argument here. That regulating something might lead to even worse consequences. Then the discussion should be on which is worse, a world where it is made illegal, or a world where it is regulated, or a world where it is unregulated. Saying that regulating or making illegal something is bad is itself is a terrible argument.
FYI, there was an update to that article that stated (from the lead for Hangouts) that Hangouts has no set shutdown yet, and they plan on transitioning everyone to Hangouts Chat/Meet before Hangouts Classic goes down.

see: https://9to5google.com/2018/12/02/google-hangouts-shutting-d...
> Buy hard drives in pairs and put an item on your calendar to pop the other one in once a month, sync it, and put it back in a fire-resistant safe.

Alternatively, buy one hard drive and keep a copy in Amazon Glacier Deep Archive for $1/TB-month.