skysight-inc/HackerNews huggingface dataset:
Thanks!

To repeat it here: we assign each piece a piece a vector of 3 bits; thinking of these vectors as numbers from 0 to 7 (or rather 0 to 6, since 111 is unused), the pieces go in the order (L, J, I, O, Z, S, T).

Note that this assignment is not left-right symmetric; there's no particular relation between a piece and its mirror image. Like, L is 000, but J is 001; and Z is 100, but S is 101. That seems like kind of a dumb mistake -- it would've been easy enough to maintain symmetry. (As just one example among the 24 possible ways (assuming 111 must be kept unused), one could have used instead (O,J,I,Z,L,T,S).)

Anyway, each turn you pick one of these at random, and you look at the last two pieces; let's call these previous_1 and previous_2.

If -- considering pieces as their sets of 1-bits -- we have both that previous_1 is a subset of previous_2, and that the picked piece is a subset of previous_2 -- we reroll. After the third try we just take the piece no matter what.

Note that this means that there are some weird interactions between the previous two pieces. Like, if previous_1 is not a subset of previous_2, then we won't reroll no matter what piece we picked, so the new piece will be totally random. But if it is, then we may or may not reroll.

Definitely pretty weird. Have to wonder how on earth this was thought up...
Fuzzy and semantic search for captioned YouTube videos
I am not sure about the merits of the case to comment on this directly (blog post is sparse on details), but this is certainly unfortunate for the ElasticSearch community.

I want to share Arc - https://github.com/appbaseio/arc, an API gateway for ElasticSearch with security features that we have been actively developing starting this year. It's Apache 2.0 licensed, built in Go and we use it for providing security features for all of our customers. It's not as feature-rich as X-Pack / SearchGuard today, but we're happy to accept any PRs.
Wp/Non/Hǫfuðsíða – Wikimedia Incubator
He mentions being in a truck, but it's a Sprinter, which unless it's dangerously overloaded, should be able to manage more than 30mph up a freeway hill.

Australian driving law/principles state that "drivers should drive at the _maximum_ possible speed that is: within the speed limit, and safe for the conditions". Notably absent in this is "within your ability" as if you're not capable of safely driving on all roads, the balance of probabilities says you probably shouldn't be driving on _any_ roads.
True. But no ATM fees! (Or did that change?)
In this case the author is right, so your guy's faults do not figure. Stern, opinionated, and wrong are obviously worse than just wrong.
In some parts of the US, the word "highway" is used to refer to roads (sometimes quite wide) that have stop lights and with speed limits around 40 MPH. I grew up in northern California, and we call roads without stop lights "freeways" and roads with stop lights "highways". There are various other terms, of course (e.g. "expressways"), but these are the most common generic descriptors.

I wouldn't assume that the driver going slowly was much under the speed limit, if at all.
Is "they make graphs for us of what our users do" a legitimate reason? Or, "they store our error logs in a way we can easily find stuff"?
I bet, elon musk is going use this data during his next talk about neuralink on human brain is limited to 39bit/sec during output of speech and BCI would surpass this limitation by output to smartphone speakers directly.
Porsche Taycan
You used a naughty word which is why you're getting threatened.
Facebook is a city. It's full of zany characters, and beautiful art, and people crying for attention for their cause, and not much privacy. The longer I live in a city, the more of a jerk I find myself becoming, and if I stay too long, I feel bad. Lots of people say they've had enough and want to go live in a cabin in the woods. Few actually do.

This is how society has worked for thousands of years. Where some people go and find success, others will follow. It's a positive feedback loop. In hindsight, did we really think the virtual world would scale less well than the physical one?

Social media is terrible, and also great. The worst thing I can say about it is perhaps: it's easy. And like anything in modern life that's easy, it brings out the worst in us. We've reached the point where large swaths of people can spend all day doing easy, nonproductive things, and it's not good for the individual or society. We want things to be easy, but we don't do well when they are.
Ah ok. I've got a T265 which I hope will work as it has an IMU as well and can output the image frames as far as I know. And while the T265 does do the tracking already I need to have a global reference frame as I would like to drive on a predfined track.
I just don’t understand investing in chat app companies. Throughout my life the popular chat app has totally changed every few years: ytalk, aim, icq, msn messenger, yahoo messenger, gtalk, bbm, skype, fb messenger, sms, group me, iMessage, whats app, slack, discord

What is the chance that people will still be using slack in a few years. Esp considering mattermost is free and discord people argue is better today.

It’s great they tried to build a biz on office chat, but it seems overpriced considering it’s just another chat app
That would be Motorola.
Yup I can also attest to its efficacy. Only downside is that it tends to overheat you during higher ambient temperature ranges.
GP said "highway", not "freeway". In some parts of the country/world, these refer to different types of roads.
It is not an explicitly enumerated right, but it is a right. It is or was considered so basic that it need not be explicitly enumerated.

https://en.wikipedia.org/wiki/Freedom_of_movement_under_Unit...

https://en.wikipedia.org/wiki/Saenz_v._Roe

> Justice Stevens, writing for the majority, found that although the "right to travel" was not explicitly mentioned in the Constitution, the concept was "firmly embedded in our jurisprudence."

As evidence of how these can be so easily abused, I present that time the government prevented an American citizen from entering the country to testify in a trial involving her mother against the Government about being on the No Fly list!: https://www.techdirt.com/articles/20131208/00164525497/witne... or https://papersplease.org/wp/2013/12/07/no-fly-trial-day-5-pa... or https://www.courthousenews.com/government-secrecy-vexes-judg...
https://linearbookscanner.org/
Cursory web searches seem to point away from the USB device theory. Usually the modem is integrated on the main SoC. You can't find mentions of USB associated with the recent Qualcomm onchip modems, for example.
I am a to be parent, and reading "happiest baby on the block" gave me some background on why this might be.

Basically it boils down to how we were before we are born in our mother's wombs. Same with car noise and rocking, and why it is easier to sleep in a car without realizing.
Oh that explains everything. That's what I get for being too lazy and not reading the fine print I feel happy now at the fact that my solver is about 2 orders of magnitude faster than his!
By the time emergency vehicles are on scene, traffic has slowed. It's not like you're driving unimpeded at 60mph until "Oh crap, stationary fire engine with lights on immediately ahead of me".

> Except humans crash into stationary vehicles in lane all the damn time.

And Tesla's argument is that Autopilot is far safer than humans.
Other than food and drinks, I have not really bought anything using cash in last couple of years. Everything else it seems I have been buying using a debit card, online or offline.

So I am bit a lost on how this protects privacy. Is this only important in context of services such as legal prostitution, drug use etc where having cash transaction will feel safer? If that is the case, I am sure those businesses will continue to operate in cash-ful manner. If there are other use cases, please do share.

As an aside Austria is the first country I came across where the immigration website uses phrase "third country workers"[1], which is mildly disappointing to see.

[1] - https://www.migration.gv.at/en/welcome/
the "text" portion? or already with intonation etc?
Flappy Bird with react-native-game-engine and Matter.js
What would you pay to have such a machine in your home? A washer and a dryer are in the 500-1000 euro range, would you pay eg. 10.000 euro (or dollar for that matter) for a machine that folds laundry?

The difficulty with home robotics is price vs capability. Capability is still much less than what is expect5ed via TV and movies. I think I can make a robot that sets the table up for breakfast/lunch/dinner, but just the hardware would cost the equivalent of a family car. A bit cheaper if I specialize the HW to its task only. But then it does only the table thing. Other tasks? More software, more general hardware. Sure, I can have a robot to do floor sweeping and another to make the table, but then I end up with multiple robots which share a lot of similar HW.
It's easy to see why this puzzle has no solution. Looking at columns 4-6 we see that none of the digits 1,5,6 can occur in cells G4,H4,I4 or G6,H6,I6. So some permutation of these digits occupies G5,H5,I5 and all digits other than 1,5,6 can be eliminated from these cells. But we also see that all the digits 1,5,6 have already been placed in row G, leaving no candidates for G5.

It's also easy to see why this presents a problem for the Norvig solver (and many solvers like it). If you squint at the algorithm you'll see that it behaves like DPLL (https://en.wikipedia.org/wiki/DPLL_algorithm) given a CNF encoding of the Sudoku exactly-one constraints. In this scheme constraint propagation only occurs via unit resolution. i.e., when a positive clause is reduced to a single literal because the domain of a cell is reduced to a single digit or a unit/group is reduced to having a single place for a given digit. In Sudoku land these are known as naked and hidden singles.

Unfortunately, the conclusion that none of 2,4,7,8,9 can occupy G5 arises from the interaction of multiple non-unit clauses. It is simply not reachable by unit resolution. As a result, the conflict won't be discovered until the algorithm actually attempts to assign G5, and, since there are many cells that initially have fewer possibilities than G5, this is not likely to happen early in the search.

Some of the faster solvers can handle this by adding checks for "locked candidates", or by representing the logic in a way that's equisatisfiable, but that makes these inferences available to unit resolution. In such cases this puzzle is recognized as unsatisfiable in microseconds.
I'd say Symfony and Django are pretty complex still. I remember the "good old days" of vanilla PHP and bad coding practices as the simplest, most free-feeling web dev I knew.

>Mobile might be less complex if you stick with the default native language and tools.

That's where I'm leaning so far.
it depends on how you setup the ad. Conversions/ Clicks/ Impression etc.
BLM land is most certainly NOT for dumping trash...
Your comment contains one of the root causes of our problems but states it as a given and focuses on the consequences instead.

Population explosion is badly overlooked when looking at climate/environmental issues.
He probably made money on it (even if it was $100). I've heard of profs writing books explicitly for their classes and not making money on them.
" if you don´t have a competent security team, you won´t be in business for very long" oh that what logic would have you believe and yet it very far from reality.
I have heard that big consulting firms generally have a system per firm.
> When a court orders Verizon to secretly handle all the information about calls within the US or where one end is in the US [1], saying that they do spy on everybody is not really far fetched.

If the data can only be queried with identifiers of people with a reasonable suspicion of terrorist links, that hardly seems like "spying on everybody." Subsequent oversight board reports showed that automatic querying of the data with identifiers not associated with people reasonably suspected of terrorist links was deemed illegal and shut down prior to Snowden's leaks. If they could spy on everybody, there would be no reason to shut down that program. https://www.lawfareblog.com/latest-nsa-documents-iii-governm...

> I can't believe we are having this conversation on this board, that is supposed to be populated by people who have read that kind of news a bit in depth...

And I can't believe you didn't know that countries spied on foreign leaders before the Patriot Act, yet here we are. http://www.telegraph.co.uk/news/2017/06/22/germany-accused-h...
Error handling without exceptions tends to 3x to 5x as much raw code, with corresponding numbers of errors and poorly-exercised paths. Exception paths rely mostly on destructors which are otherwise well-tested in normal operation.
I currently live in the high desert in southern Cali. don't have a well yet. I truck in all my water. since I don't have a well, the local electricity co-op won't connect my property. since I don't have power, I don't have a street address. I've got a decent solar setup that I've put together though. a product like this would definitely make life easier. we make up for the lack of mosquitoes here with an impressive abundance of flies...
Simply because technically you can block access to specific parts of data relatively easy.

To limit what is being transmitted, you'd have to not only inspect the submission, but also think of any obfuscation method.

So, if your browser asked you to limit transmission of certain parts of data, you as a user could not rely on that info, because a malicious app developer could easily circumvent the limitation.
Thanks for pointing that out. First time doing "open-source" (well it seems it's not really open-source according to the modern definition). I'd like to use a more permissive license, but it's up to UCLA.
> I'm having a problem coming up with a reason why we should care about the prince of Liechtenstein compared any other random person

I see the situation in quite the opposite way; these high profile cases spearheading the effort to get the soviet/communist abuses acknowledged and establishing the principle of restitution that'll then help all those subjected to confiscations etc
She really does gloss over the actual engineering she had to do there, but we can't really say from that article.

Women tend to put much more emphasis on these social parts, and its likely even more pronounced considering that this part is probably the only thing that she feels good about.. even now after the final experience.
I've tried this but I sweat like a pig. Do they have weighted blankets for people who tend to sweat when they sleep?
Yahoo Is Down
Vegetarians have 20% higher risk of suffering a stroke than meat eaters
Michael Burry made his money on the tech and housing bubble busting. The main difference here is that in both, retail investors got the idea that they could get rich quick and bought into asset bubbles. But index funds aren't an asset bubble--people buy them instead of stocks, then the fund buys the stocks on investors' behalves. In aggregate, capital inflows look mostly the same.

His points about liquidity of small cap stocks and price discovery are interesting, though; it's just fundamentally different from what he's been good at spotting. The trigger also isn't as obvious as home prices declining 50%. The S&P 500 dropped 15% in December 2018, and this wasn't an issue.
> The capabilities that Tesla cars have aren't that much different than other luxury cars, ... because their marketing

It's actually somewhat impressive, if frustrating, how well Tesla's marketing works.

In a previous article here a couple of weeks ago, a Tesla owner was touting "how much better" Tesla's blind spot monitoring was than "other manufacturers", because it took speed differentials into account, while my 2015 Audi A4 did exactly the same thing. If you were faster than someone in your blind spot, it wouldn't activate. If speeds were similar, it'd activate at close range. If they were vastly outpacing you (I'd see it when adjacent to a HOV lane), it'd activate well within a safety distance to factor in speed differential.

While there are "dumb" Blind Spot sensors, multiple Tesla owners were of the fervent belief that this was an example of how unique Tesla's technology is.
The handset initiates it by sending an SMS to a shortcode.

Shortcodes are phonenumbers that are carrier-specific e.g. the three digit code that you use to access your voicemail etc.

The phone company knows the identity of the calling handset when it gets the text message with a high degree of certainty, as the handset is directly connected to its network.

So the person doing the transfer has to be in procession of the phone, or able to spoof or clone the phone.

Trivia: an attacker who redirects phonenumbers to gain access to a bank account https://williamedwardscoder.tumblr.com/post/24949768311/i-kn...
Another suggestion: try a foam mattress.
Anecdotal: I love getting under the blanket but for some reasons I had to learn to sleep without one last year and it took a week for sleep to come in less than 5 minutes (as per my usual habit). Even though I am using blanket again I now can easily fall asleep when it's hot or if I don't have one.
Exactly. This is what I always point out to autonomous car people, driving a car cannot be modeled by ML too well, a simple fire truck parked in the lane makes it obvious.
I like how you moved the goalposts. Shifting to the gun debate like that will surely induce a healthy discussion...
I've often thought that dorms could be built for young, single workers. I, too, enjoyed living in the dorms in college, and miss the camaraderie there.
Oh, okay, I believe I understand your point and understand the misunderstanding. My point is that you can't just make everybody a data processor by signing a contract, share PII with them and be compliant (i.e. hospital sharing data with insurance companies). You're saying that by sharing PII with them, you're making them a data processor, but that says nothing about whether the DC or the DP are compliant.
All of them do.
> However, where are autopilot miles primarily being driven? On the highway.

Precisely. Autopilot has the luxury (need) for disengagement in suboptimal conditions. Human drivers don't have that. So Autopilot stats self-select for ideal miles. Of course, we don't have as concrete metrics for "how humans drive in clear dry well marked highways" to the exclusion of crappy conditions.
I think I know what you mean. In terms of the quantity of tools, people and solutions it's hard to beat web.

>Maybe your problem is that doing something professionally will always force you to spend time on parts you find uninteresting?

Maybe. But that's just part of the problem. The other part is breath-first nature of work. In web, you have to cover a lot of different bases in order to get things going. I imagine in mobile dev it's more of a depth-first nature. There are less things to think about.

>You might find 2D game dev to be fun, if you hyper-focus on a single platform.

Thank you, I haven't even considered that. Quick look at the current state of Unity and it seems like it could be interesting. I like to draw [1] and the idea of drawing game art sounds appealing.

[1] https://rakhim.org/honestly-undefined/
Which apps were these?
Emphasis on "can". The system at the point of sale that processes the card has to support that as well, quite a few of them don't and rely on some sort of centralized infrastructure to function, at least around here in Germany.
That's funny, (well, sort of) I sweat easily but never when I sleep.
If you read the article, test were conducted with some popular apps open (e.g. facebook). “My phone is listening” is just shorthand for “various apps on my phone are listening, i’m not sure which ones but ads for things i’ve never looked at online keep uncannily showing up after i talk about them”.
Which blanket did you get ?
I find it strange that people consider HN to be social media. For me, social media is synonymous with manipulation engines designed to keep you engaged in order to sell advertising. HN isn’t selling advertising, it isn’t trying to addict you. Maybe ten years ago “social media” just meant “interacting with others online” but I think language has moved on.

I don’t like placing HN in the same bracket, because it devalues it. It would be like labelling your local vegan restaurant “junk food” and treating it like McDonalds. Lots of work has gone into actively making HN not like that, and it devalues that effort and the genuine efforts of posters to maintain civil discourse.
The baseband firmware almost certainly has backdoors exploitable by certain national intelligence agencies to listen in on you, selectively.
The title says "phone" but the article refers to apps from "Facebook, Instagram, Chrome, SnapChat, YouTube, and Amazon", so I think they include apps.

I haven't used iOS in a while but hasn't it always been extremely obvious when an app was using the microphone in the background?
I always wonder what due process means in a country where most people can't afford a $400 emergency.
> The monarchs kept those lands through the strength of their armies

Not really. The lands in question were granted to them after abdication, when they had very little might anymore. So the question of transition to new world of law was pretty much already resolved in 1925
Judicial Analytics Pioneer Gavelytics to Cover New York, Texas and Illinois
I agree on your comment about "most efficient language". And I agree that the business-interest is micro-focused on monthly-cost versus yearly- or even multi-yearly-cost.

I think those two things are at odds with each other. I think a lot of technical decisions are being made on a short-sighted business level. And I think a lot of people on the technology side have inculcated too much of the business message.

I'm not arguing against ever using languages like Python or Ruby or PHP or whatever. But I think a lot of people make assumptions that their language choice doesn't matter. In a lot of the same ways that building an entire economy on carbon fuels was "easy", it only worked because of externalities. As a profession, we need to be taking a longer view of our craft.

I don't think that it is true that it's impossible to make C++ secure. I don't think that it's true that--say--Java and C# are less productive than--say--Python or Ruby. On a surface level, certain things are easier, but once you start digging into real problems, there isn't much difference. And experienced developers in any language will be far beyond that surface syntax.

I just think that, as a profession, we have our priorities way out of whack.
Dissertation Chapter Writing
Parent poster's comment unnecessarily villianizes Beijing's stance to the HK situation, but this comment is no better, and is flamewar-baiting.

> just allow a part of their country to secede

Organized HK protestors have a list of five demands and none of them involve secession. The only demand that involves a constitutional-level change is the demand for universal suffrage in HK to the HK government. They are not asking for any expansion of the powers of the HK govt.

> especially if the movement to do so was explicitly backed and funded by a foreign power (in the case of HK, the same foreign power that used to occupy that part of the country).

It is news to me that the UK govt. is expressing support for the aims of the movement beyond emphasizing their generic right to protest. Do you have a source?
C people don't like to think about how much C took from C++. const, "//" comments, function prototypes, more recently declarations anywhere in the block.

"I can provide you anything save relevance."
Mummy, why is everyone in real life drunk?
And you think those landlords would rent to cash payers?
Could you share some examples of hooks used wrongly in code?