skysight-inc/HackerNews huggingface dataset:
You are thinking about the Ebay Chinese LED light bars that people put on their "off-road" vehicles. The problem isn't with the brightness it is with how they are aimed. If you turn on stock HID headlights and point them at a wall you will notice the bright bit is a region of the wall from the ground to about a meter up. Then there is not very bright light diffusely showing higher that is used to illuminate road signs.

High beam lights and aftermarket lights are not aimed like this and thus shine into your passenger compartment. Properly aimed lights never point in. An issue in the USA is that unlike Europe we have no requirement to autolevel lights even when cresting a hill. So you notice that when someone comes up over a hill you get flashed with light. That might be an issue with these.
I understand the argument for composition-of-inheritance but they rarely apply when you actually need to do it. Often it's to reach in and fix a bug or enhance the behaviour of an existing component. You simply can't do that with composition.

Without inheritance (if the class is sealed) I often end up having to re-write the entire component or simply accept my fate. So that is a lose-lose situation.
Any distro that phones home with a unique identifier is a distro I won't touch with a ten foot pole. I don't care what they claim they will or won't use that identifier for.
Show HN: LOGEO, a web app based on Spanish language Twitter data
INTRODUCTION

I present my first web application, written in Python! https://www.moorelanguage.com

I've been working in translation/localization for some years. Then I started learning more about text data and decided to learn Python.

Recently, I've been working on a side project that involves data analysis of Spanish language data.

THE DATA

I have seen some analysis on Twitter data, but none in Spanish so far. Thanks to Google Dataset Search I found a nice dataset: https://bit.ly/2Cn6sKH

I started learning some libraries and exploring the data set. Then I built a web app with it.

THE APP

This is an app that allows you to explore the whole dataset on a map. Also, it leverages the dataset to implement a similarity model, to guess the city of any text you input.

You can do the following things within the app:

Enter one word. See the cities in which the word is used with the highest frequency. Click on the circles on the map to see the most similar words in each city.

[https://imgur.com/YR8x0G2]

[https://imgur.com/8gJ3qEP]

Compare two words. See the cities in which these are used with the highest frequency.

[https://imgur.com/VQHmPLY]

Click on any country name. See the most frequent or unique words for that country.

[https://imgur.com/RMAMRy4]

Find the regional origin of a text in Spanish. See which cities are the most similar to the text you entered.

[https://imgur.com/nG69gie]

[https://imgur.com/N9Lni8A]

TOOLS

I used Pandas to read and process the dataset. For text processing, I used Gensim. To plot the cities on a map, I used Folium. I used Flask to build a web app, which I host on Digital Ocean.

CONCLUSION

I enjoyed this process a lot! I am happy about it, I learned a lot and I was able to materialize my idea.

The code is in github: https://github.com/luismond/logeo

What do you think? What could I do next?
>Laser headlights have about the same consumer costs as current LED headlamps, in the low four-figure range.

Uh. What? Even recent model headlight assembly replacements that I can find are in the three-figure range, roughly $500 for a pair, and LED bulbs themselves are something like $125 for a pair. This is several times more expensive.
> A vote for Google is a vote for death of choice.

FTFY
0. Former Prime Minister gambles on a referendum in order to crush rebellion in his own party and secure his leadership. He makes a pact of support and in return gives a referendum on Europe satisfying a small niche of party extremists.

Crucially the referendum isn’t binding which is where the problem occurs. The vote didn’t go the way people thought it would go. Maybe because of the fall out of banking crisis and rising inequality, maybe because the leave campaigns broke the law, maybe because of Russian involvement. So now you have a representative democracy that is broadly pro EU vs a popular vote which has voted “out” whatever that means. The referendum is non binding so should be advisory only to the elected officials.

Now the government is in a pickle. Because even though the vote was just advisory if they’re seen to ignore this, people will start wondering if their vote matters at all. It could be a path to chaos. This is complicated further by the split of the age of people voting leave. They tended to be older and these voters traditionally vote conservative (aka republican in US terms). So they’d be disenfranchising their base.

The government doesn’t even have a majority and is propped up by another tiny party of 10 members called the DUP. This is a little complicated but the outcome is a really weak government because it doesn’t have the numbers to push through legislation it would like.

On top of that the euro-sceptic extremists are bolstered by vote and lobbying hard for out by any means necessary. They’re effectively driving policy by threatening to terminate her fragile leadership.

All this would have been a doddle if a decent opposition was sat opposite in the commons. However in a perfect storm the opposition is absent. This is even more complicated to understand but the summary is that the hard left socialists have more in common with the hard right anti-EU lot than either of them would like to admit. It’s weird.

Mays deal satisfied no-one and it’s taken 2 years to get this far.

One interesting side effect is that more people now know what being in the EU means than ever before. It was virtually never discussed before.

I’m off to stockpile toilet roll and pain killers
> Once it got to the hard work of making it happen they realized how awful the deal would be and how the economy would be harmed. Because they didn't want their name attached to it they resigned.

One could argue that they didn't expect the vote to pass at all, and did it to gain favor with their constituency - to be able to say they "tried to leave the EU but alas." They knew their promises were untenable, yet they made them anyway, but there's no way to fulfill them once the vote passes, hence resignation.
They are of course able to do that, but that would go against the Good Friday Agreement which guarantees peace in Northern Ireland, and nobody has the balls to do that. Or else the Republic of Ireland would have to leave the EU common market for goods, which too is insane. So that realistically means that the UK cannot terminate the NI backstop solution on its own.
I'd add The Five and Travelers to the list as well.
Does it? In the event of an unknown gender, "He is going to the store." implies (possibly falsely) that the target is male. At best, it leaves that ambiguous. On the other hand "They are going to the store" leaves the number of people going to the store ambiguous, but does not imply any false information.

It seems to me at worst "they" is equally non-specific. Sure a clear, singular non-gendered pronoun would be better, but in the absence of such a thing existing, "they" actually seems better than "he" in this context.

Edit: I'd also point out, singular "they" has existed since at least the 14th century, so it's not like anyone is attempting to modify the language by encouraging it's usage.
It shouldn't be so hard to argue that steps of this magnitude should not be taken based on a single poll won with a 2% margin (which means that if only 1/100 of the voters had changed sides the result would have been opposite). It might take a bit of courage to declare it but it's a travesty that politicians are so afraid of their electorate as not daring to utter such an obvious truth.
Let's clarify our terms: https://twitter.com/JamesERothwell/status/104783429588738457...

EU's idea of Canada +++ is not the Brexiteers' Canada+++. EU's version just means no tariffs and some security co-operation, but nothing like as much access on services as EU membership. Sorry to be a bore but I don't think the Tusk tweet is something to go wild over
Hotmail to use MSN Messenger in the fourth grade. Circa 2004/2005.
Rapidly separable microneedle patch for the sustained release of a contraceptive
Ask HN: My personal info was on the Internet, and so is yours
Some colleagues just alerted me to some sites that aggregate your full name, address, phone number, e-mail addresses, and personal associated with you, and past location.

Go ahead and look yourself up, if you have the misfortune of living in the United States, where no legislation exists to prevent this unethical behavior.

https://www.usphonebook.com/ - saw my name, father's name, e-mail addresses, and several addresses. Luckily, they screwed up relatives.

I opted out easily after agreeing to TOCs I didn't read (criminal bastards, what choice did they leave me with).

https://www.spokeo.com

I opted out after googling the link. This was sleazier: they wanted an e-mail address (used mailinator), and then promised me that the info might come back because they can't control the aggregators.

So we're not allowed to force these companies to opt us out, we're not allowed to physically beat up their CEO's and we're not allowed to hack these places to smithereens. So essentially, what ARE we allowed to do other than beg legislators?

ASK HN: What other places exist like these for those of us who want privacy, and want to opt out of all of them?
Maybe because most of their commercial exchanges are done with other EU countries.
I work at KOC (Kuwait Oil Company) which is like one of the biggest producers of oil second to Saudi aramco in the region! Recently the whole oil sector in Kuwait is pushing an strategy where most of the electricity consumed by all the oil companies in the country is going to come from solar. But the cynic in me thinks that it has more to do with cost and adhering to worldwide standards than environmental reasons

Please note that this is personal opinion
A Proposal to Enhance Antitrust Protection Against Labor Market Monopsony
"she is the most important person in the United Kingdom."

I believe members of the UK armed forces would probably dispute that.
How to Turn a Map into an Artistic Line Drawing
Except advertisers and industries propped up by that model
>It's just I note this is a DOD document, and I don't think we should be designing jet fighters in 2 week sprints. Airframes probably can't be modified like that. So it follows that, within a waterfall project, the flight software shouldn't be developed agile either.

There are some linked documents at the end of the OP, and this one with link "to be added"[0]. It addresses your exact point, in that hardware development and software development have to move in completely different processes. Their first example is the DoD 5000 process[1] and how it is a total fail for software:

"The DoD 5000 process , depicted on the left, provides a detailed DoD process for setting requirements for complex systems and ensuring that delivered systems are compliant with those requirements. The DoD’s “one size fits all” approach to acquisition has attempted to apply this model to software systems, where it is wholly inappropriate. Software is different than hardware. Modern software methods make use of a much more iterative process, often referred to as “DevOps,” in which development and deployment (operations) are a continuous process, as depicted on the right. A key aspect of DevOps is continuous delivery of improved functionality through interaction with the end user."

"DoD 5000 is designed to give OSD, the Services, and Congress some level of visibility and oversight into the development, acquisition, and sustainment of large weapons systems. While this directive may be useful for weapons systems with multi-billion dollar unit costs, it does not make sense for most software systems."

[0] https://media.defense.gov/2018/Nov/02/2002058905/-1/-1/0/DIB...

[1] http://acqnotes.com/wp-content/uploads/2014/09/DoD-Instructi...
You're sending price signals. The market needs active traders not just investors to function properly.
Agreed. This is not some unusual philosophy case. This is a case of a programmer who should know better (rebase is not exactly a no-op change!) ignoring one of the most obvious possibilities.
I think We Work did a great job of destroying mainstream understanding of EBITDA with their 'community adjusted EBITDA' which took a well defined term and made it part of completely meaningless term.
You're thinking of a direct democracy. One major advantage of electing representatives is that they can prevent slim majorities from enacting huge mistakes.

Note that there won't be a democratic vote on any particular Brexit deal, which is likely to be less popular than the abstract idea of a Brexit. So if a Brexit deal is brokered, there's a good chance it won't be what a majority of people want to do.
OpenBSD's interface is getentropy(), but yeah, basically the same idea! I believe Linux was the second actor and intentionally made getrandom() a superset of the getentropy interface (i.e., no EINTR below 256 bytes).

As a result, writing a getentropy() shim around getrandom is feasible; FreeBSD and Linux (glibc) have done so.
A motion to suspend A50 will be tabled in the next week or so.

Yvette Cooper (Lab) asked the Speaker about it - most likely as a way of tipping off the public - and the Speaker said that if a motion is tabled, he will allow a vote on it.

It's now very unlikely that the UK will be leaving the EU. Only a tiny minority of zealots in Parliament want No Deal. The most likely alternative is a People's Vote and a win for Remain.
No it does not.

It simply requires that the UK ensure that no hard (customs) border is required in Ireland. A key component of the Good Friday Agreement which ended 3 decades of bloodshed on the island of Ireland was that physical border checks between the two states whould be phased out.

All it requires is that the UK accepts that EU customs checks are performed between Britain and Ireland rather than at the Irish border. This option is supported by the Irish government and has popular and business support in Northern Ireland.

I have no idea why the extreme brexiteers find this idea so objectionable? It's a popular in Ireland, North and South; it satisfies the EU (a sponsor of the peace deal) and it allows brexiteers COMPLETE freedom to negotiate any type of future trading relationship they want.
So presumbly if you keep trying to pass another referundum people will vote against it just out of spite. There is already pressure to not repeatedly do that, so its not a concern to argue slippery slope.
Is it really private though if it's all being collected, encryption and all, to be decrypted at a future date when the technology is available? All data on the net is captured by the NSA and stored at multiple data centers. One's in Utah. No company can really claim privacy if their product touches the internet since all of the pipes are tapped. It's all semantics. Maybe saying "we don't directly..." or "we don't make it easy..." would be more accurate. There is no privacy on the net, period. It's temporary privacy in the immediate present at best. 5 years from now? They might be able to decrypt everything from the last 10 years that they already have stored. It's guaranteed at some point. 6 years ago Snowden also revealed Apple was on board with the data collection. They are lying, and people don't care and go along with the show. https://appleinsider.com/articles/15/01/21/nsa-leaker-edward...
Interesting that Qwant says "the only search engine that respects your privacy" without giving any backing to that claim. I had to nav out of the "lite" URL, then navigate to "Philosophy" to see why their claim had any merit.

According to Wikipedia, they still pipe your searches through Bing except for FR/DE (though anonymized), and it's not who the backend search engine is there.
> I can't imagine what it would be like to depend on something in my daily routine, then have some minor automatic update change the way it works so I don't know how to do anything anymore with no way of going back or relearning how to do things.

Yeah, really, at the end of the day no device has that guarantee.
The issue with the referendum since the beginning was leave was such a nebulous cloud for the entire range of Brexit from barely-there-Brexit to Britian-stands-alone(-get-those-people-out)-Brexit while remain had a very definite meaning. Because of that everyone could pour all their displeasure at anything wrong into leave and think the deal would take care of it. That's why I'm always annoyed at the 'another referendum would tarnish democracy' line, it wouldn't be another nebulous question it would be a direct vote on an actual deal giving people the chance to make an actual choice on the future of the UK.

> Instead, they are trying to camouflage that reality with a bad deal that keeps Britain shackled to the EU for a number of years while losing any say it had over the way EU works.

I don't think Brexit as it was formulated was ever possible if the EU was wanting to be extremely generous because one of the main gripes was all the regulations on products coming from the EU parliament. Ultimately if the UK was going to have access to the EU market at all pretty much all of those regulations would still apply because to sell into that market they'd have to comply with the regulations of the EU market!
Hey...you...ummm <cough> <cough>...wouldn't mind sharing that script?
It's interesting to see how this discussion steers towards privacy. Some distributions, like Ubuntu for example, are far less conservative. Besides the NTP tracking mentioned in the article, there's the Amazon fiasco of past, and Ubuntu 18.04 installs quite bit of telemetry [1], including tracking packages. It ships with a "dynamic" MOTD that runs a script periodically which downloads updates from Canonical. While this may be useful for server administrators who wish to be notified of products and updates, it has at one point shown ads for an HBO show [2].

Annoyingly, while installing the Xubuntu flavor, there appeared to be no option to opt out nor was there even mention of any such telemetry in the live installer interface. I had to track down and disable manually post installation - something the average user is not going to bother with and what Canonical is surely betting on. I appreciate how Poettering brings up trust and "red flags", knowing full well the lower the transparency, the larger the reactionary incentive for users to opt out or disable such telemetry. Canonical could perhaps take note.

[1] https://askubuntu.com/questions/1027532/how-to-opt-out-of-sy...
[2] https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/17...
I don't get how going back to the people is political suicide and creates distrust. I mean the first question was do you want to leave and the vote was yes. The second would be that now we know the facts were not entirely as advertised do you still want to go ahead? Not sure how that is betrayal, political suicide and the like - it seems fairly fair and sensible.
Ditto supermarkets / malls / etc
I'm not talking security. I'm talking user-hostile practices and bad engineering.
Not trolling, no, just trying to understand.

So you’re specifically focused on institutionalized violence? I agree that gay people and many racial groups have special status there.

I thought we were talking about violence that’s not overtly state sanctioned, like violence against women, etc. That was my confusion. I live in the U.S. and that’s the bulk of the violence I see against gay people, black people, etc. What I would call illegal violence, held in place by cultural norms more than overt institutions.
PewDiePie’s Anti-Semitic YouTube Jokes Don’t Hurt Him
"pizza in berlin" lacks several options, and I just checked my neighbourhood. This is why I'm still using google maps on my iphone, their search results are far better and more accurate
I recall 10 years ago when an oil & gas company was in the process of re-branding themselves and wants to call them "The Energy Company" given that the thrust for organizations and governments were geared towards reduction of greenhouse emissions caused by fossil fuels. This was also promoted heavily by environmentalists and climate change advocates who have added to the mounting pressure that these companies have to tackle. Not to discount as well the heavy tax burdens for these companies to operate.

But the sheer reality is that whilst there is technology available to harness these clean sources (solar, wind, wave, etc.), these companies cannot easily abandon the investment that they already have in terms of infrastructure, process and technology in the extraction of current sources. It goes alongside that the demand for fuel fossils is in essence a never-ending demand that needs to be supplied, for which supplying them makes a lot of business sense.

Look around the street corner and count the number of vehicles that rely on traditional energy source (gas, diesel) as opposed to the vehicles that require other form of energy (electric). The ratio is probably 100:1. Even with the advancements in the field of being able to fully harness the energy provided by fossil fuels (and thereby minimizing consumption), it is still a stark reality that the demand for it is there.

Oil companies are certainly looking beyond fossil fuels, but until there is an actual business incentive to go full thrust on renewable energy vs gas/diesel/fossil fuels, then the latter is here to stay in the long run.
To those of us who are, it sounds excessively clinical, most of us dont like thinking of our sexuality in a clinical way. Also the poster is not wrong, talking about homosexuality, is cool and okay, calling someone a homosexual is often a language flag that they may be less than open minded.
2FA in 1Password is premised on (1) 1Password use (with 2FA) being more secure in general than using 2FA and not a password manager, and (2) your 2FA key is more secure within the 1Password vault than it would be in Google Authenticator or similar. I think these premises are mostly correct, especially because 1Password enables use of practically uncrackable unique passwords for each service, and because getting into the vault requires 2 auth factors.

If there's any risk of an attacker breaching your 1Password vault, I don't know if it's even worth talking about whether you have 2FA enabled for accounts -- at that point it's very likely they also have access to whatever you'd have used for 2FA also.

(One exception might be if a AgileBits insider were to install malicious code into the 1Password client. In that case, those who use 2FA outside 1Password would be significantly less vulnerable.)
> For example: maintaining backwards compatibility. The community believes that it is more important that 20 year old C++ code run unmodified than that the language should be simplified. There's lots of stuff you could do to simplify the language but options dry up in a world where 20 year old code must be able to run unmodified.

This pains me but every time I think "just toss XXX out, gddammit!" I think of IPv6. C++11 is still the most popular dialect of C++, even for new development I believe, and c++14 is the hot new thing to many people.

> Don't get me wrong: I'm glad that finally, in 2020, C++ will be almost but not quite as good as Common Lisp was at metaprogramming back in 1982. But it remains the case that eval-when and defmacro are both more powerful and dramatically simpler than anything the C++ committee has ever considered.

C++ is held back by having statements. If the basic structure were an expression a lot of programming, much less metaprogramming, would be simpler.
Several of my friends bought places in Palm Springs to do this in 2012-2015. They've made an absolute killing so far. But who knows what will happen if another recession comes.