skysight-inc/HackerNews huggingface dataset:
> KNN works fine on high-dimensional text. From something simple as Hamming distance on binary tokens, to euclidean distance on TFIDF, to cosine distance on 900-dimensional word vector aggregates.

> This is why you "fit" something like a K-D tree during training.

I would not choose a K-D tree for that. The curse of dimensionality makes K-D trees prohibitively useless as dimensions go up. The number of partitions you have to inspect explodes.

Locality Sensitive Hashing tackles this explosion, but with a tradeoff on recall power. 80% recall is quite easy to reach, though. Being near 100% will be prohibitively expensive. This could be good enough for an approximated KNN.
Yes, I don't see the problem either.

Paywalled photos as from news agencies are already published in severely reduced resolution and often with huge watermarks plastered over the entire photo, if they are even on the public web! If you're publishing paywalled photos in public, high resolution, and perfectly usable for stealing, you are doing something wrong already.

Actually, for _any_ case of content in websites, if you rely on a search engine of all things (designed to spider your website) to protect it you are doing something terribly wrong.

I wish Google would just have removed the Getty Images from their search index altogether and be done with it. If they don't want them there, just remove them all already. I hate this sort of collective punishment for the entire web just because of someone's "special interests" that honestly seem to boil down to webmasters with "special needs"!
there's a big bookstore nearby that does a few things right: (1)the staff know a lot. It's not just about 'I liked this book give me something like it', it's about where you don't even know where to start. I've walked in there a dozen times looking for gifts for people aged 4 through ~60, with mostly a vague description of what they're like and what interests them and they know a bunch of choices that fit. Amazon, Google, etc can build profiles on you and figure you out, but they cant figure your friends and gifts out (or even more out of the box recs, or have a more thorough look at what does or doesn't interest. (2) they have coffee. Yay. (3) they have two sections of interesting sales: books that are soon to be out of store (but still on the website) that are on clearance, prices going from €80 to ~€10 or whatever. Great sales. Or just old secondhand things, with books in there that are unique, rare etc, and you would be hard pressed to find online, or if you could you're mostly back at the discoverability issue IMO.

So they know their strengths for meatspace stores, and supplement that with a good online presence (e.g. same day delivery in this city).

This is Scheltema in Amsterdam btw
Real Estate Industry Database List
Try Frances Hardinge. The Lie Tree [0] won loads of awards. I'm not in the target age range obviously, but my favourite is Cuckoo Song. Her earlier books are definitely for a younger audience. All Hardinge's books have young female protags.

Philip Pullman's, His Dark Materials trilogy [1]. The protag, Lyra, is one of the most interesting young female protags in literature. (This is one of those trilogies that you can reread at different stages of your life and get new things from each time.)

Patrick Ness's, Chaos Walking trilogy [2]. (Read the dead tree versions, because the use of typography adds a lot.)

Also, checkout Malorie Blackman.

You might also want to take a look at the Carnegie Medal longlist [3] (released yesterday) for ideas.

[0] https://en.wikipedia.org/wiki/The_Lie_Tree

[1] https://en.wikipedia.org/wiki/His_Dark_Materials

[2] https://en.wikipedia.org/wiki/Chaos_Walking

[3] http://www.carnegiegreenaway.org.uk/press.php?release=pres_2...
This is a really crappy Ask HN.

OP, you can find out yourself by just using a Electron app on the OS:es you are interested in.
It should take you 5 minutes tops.

On the other hand, you should realize the Chrome render engine is used in Electron and you probably already have used Chrome on the OS:es you are interested in, thus answering your own question.
Conjunction and disjunction are more apt anologies that have the same properties. There is also no division types while subtraction is used very rarely.
Well. Is it really bad to have bugs though? I think it can be good, it's free advertising it gets people's attention for some time. Which is good. Even being hacked is good, you can always turn it into PR. Maybe Apple doesn't need this as much, but 99.9% of other companies do. Perhaps even, security consultancies should provide a new kind of service "fake hacking", which is really a PR campaign. You introduce a bug which is kind of severe but not really detrimental. It's better if it allows to compromise a user. Publish tutorials, videos, tweet about it, create panic, make it cool to abuse the system. Give it a name, create a dedicated web page. And then you squash the bug, you fix it. People will remember that you fix stuff, so your company and product must be good because you care.
The teachings of my dog Lister: How technology makes us unhappy
The Original posters did use the title of the blogpost. @Admins, why did you change it?

I feel like the original title "Your ISP is Probably Spying On You" better describes what this post is about. Not using the original router can be due to all kinds of reasons, not just privacy
Oh wow, that is great. I wonder why it is not here https://addons.mozilla.org/
In Germany you are able to use any router you want, regardless of which ISP you use.

https://www.cr-online.de/bgbl116s0106.pdf
(account age is not a good proxy for "time on HN")
Marvel’s movie footprint is comically massive
7 games with interesting hacking mechanics all devs should study
Yes, but things like `fn do_something<T>(t: T) -> impl Future Where t: Serializable` definitely take a while.
And C# has the added benefit of being JIT'ed, it doesn't have to flatten all the generic code during compilation, it can optimise later.
Not everyone has access to all OS where Electron is supported. And no and it won't take just 5 minutes.
I read just the headline and just thought "because you're a woman?".

Clicked through. Yes, this was a woman.

Sad, but predictable.
I use Anki every day but I've always found its interface unintuitive, more often than not I have no idea what the various configuration options mean so I just tweak them randomly until it kind of work like I want. Certain things I've never managed to do (for example how to increase the reply time to over 60 seconds in the Android app).

So although I like Anki overall I would welcome an alternative to it.
Theory of computability – by Shay Simonson
Yeah they're a dangerous machiavellian menace who respect nothing but their own thirst for power and they wear that proudly. People like this have existed since the first empires of man. All of our modern institutions like science, civil society, public education, and critical thinking are designed to fight off this perennial threat. It's being subverted by making people distrust and ignore these things. Ok obviously.

Where's the connection to HN though? I don't see the angle...
React Native Simple Card View: Easiest way to add a card view on your screen
Reportedly does.

>If media codecs are supported by your Chromecast device, VLC only acts as a streaming server (which is battery consuming). If not, VLC will transcode and stream media, which is highly cpu and battery consuming.

[1] https://geoffreymetais.github.io/features/vlc-30/#chromecast
Truncate forces TCP. DOH or DNS over https is in standards process as is DNS over TLS and DNS over quic
Red hints annoy me honestly, when I meet these in real editors. I was thinking of something like grammar walker that completes input to shortest finished constructs. While not semantically correct, but syntactically like yes.

pr
pr;

printf(
printf(<?expr?>);

Or to not edit code as text at all, but as a tree. Like apple plist editor or windows registry editor, but with convenient shortcuts to add constructs. Xcode can sort of simulate this with templates and placeholders:

if␣
if (<?condition?>) {
<?body?>
}
they do it so employees don't quit beforehand, so that they can keep using them to make money until the last second, while not giving them any opportunity to find a new job so they don't miss rent the week after they're fired

if it's not illegal it should be, and I'm sure there is some ground for a civil lawsuit in the fact they they assured them they would not lose their jobs, thereby costing them thousands in lost income when they're laid off and having nothing else lined up, in this case it could be a class action.

We have no compassion as a society anymore (if we ever had any), its been supplanted by greed.
(FullyFunctional seems to understand this, as far as I can tell)
I've been through probably 3 DOZEN layoffs so far in my career. If management comes in one day out of the blue and assures you there won't be layoffs I can 100% guarantee there will be soon. (Especially when it is an executive from corporate or _military_ HQ) It happens every time. It is one of the biggest red flags of an impending layoff. You have much better hope if they are not saying stuff like that.
ASCII cryptocurrency chart on raspberry screen
Is There Any Way for Schools to Prevent Shootings?
Mike Pall has written about it in some.places online (googling is a good idea), an he has also written quite a lot about LuaJIT and JITs in general on Reddit:

https://www.reddit.com/user/mikemike/comments
It would probably help some if their website didn't GIVE YOU LINKS to places you can buy the book you are looking at for less.

I was looking up a book I'm thinking of buying, and right below the customer reviews section on the page they have a Google ads block, and the first ad was for the book at thriftbooks.com. The ad touted it for cheap used there, but clicking it also shows they have it new, too, for $25 (B&N online price is $30).

Below that is another block of Google ads with pictures of the book and links to other sellers. Those ads show the new price right in the ad. Two are $25 (the aforementioned thriftbooks.com and biblio.com) and two are more than B&N's price.

WTF? Why would they do this?

PS: Here's a picture showing this: https://imgur.com/a/Pg5eL
It uses JavaScript for DOM?
> The obvious thing to do is to remove anonymity from the Internet.

That would force this woman to put her real name and photo up there. I could imagine she might not be comfortable with that.
In my opinion, it's great for web app backends as well. The net/http library suffices.

Just that you might need a library for routing like https://github.com/julienschmidt/httprouter
TL;DR: It's good to understand the tools one's using and to remember to
have the code intended to be run compiled with optimizations.
They also get a higher level of normal responses. That's also sexism, but "positive" for them. Why don't we talk about this, as well?
The growth in money supply that already happens is on this order of magnitude per capita. Most of this money creation is, as we know, by the commercial banks simply magicking it into being as loans. That's topped up by central bank activities.

This is offset by money being destroyed e.g. by repayment of loans (otherwise the money supply would simply explode in a catastrophic inflationary fountain), but overall, it's not impossible to imagine money being created directly into everyone's bank account instead.

Not claiming I can see how to get to that scenario from here, of course.
That is a good point. Besides, gradating an acceptance based on results with little confidence can also reject good drugs because of bad luck.
Counter intuitively I think we might be entering a time when being poor in SF is a boon.

With all the wealth going around many people feel ashamed of the obvious disparity of their success and the truly destitute. This could lead to a competition of virtue signaling among the SF wealthy to "give back" to the poor. Kind of like how you see the rich always donating to needy charities or celebrities at canned food drives.

Of course, helping the poor will just be social lip service but it will lead to tangible resources for the destitute.
Another cool thing about WiFi routers is that you can use them as radars to monitor people in a home. The 2.4ghz frequency is perfect for reflecting off water bodies while having great penetration through walls.
Start by getting fit. I would go and live on a beach for 3 months. Exercising in soft sand (running, volleyball, etc.) will do your body the world of good with the least risk of injury.

You will find that you will be spoilt for choice for ideas once your body is firing on all cylinders - after all the body is the temple of the mind. Ideas will come especially if you base yourself where you are likely to meet people with lots of different backgrounds.

Hydroponics has an interesting future, worth looking into if you want a mix of tech and activity.

Zappa said "You are what you is", I would add "remembering". Friends and family make the memories sweet and it's the memories that count when all is done.
I wrote my own tool to basically do the same, but it can't handle certain advanced optimisations. Curious if you support the following:

Can you optimise the cost basis under the constraint of coins being in different wallets at different times? (e.g. I have an expensive tranche of coins that would minimise my tax when matched with a certain sell, but those coins were not in the exchange at the time, hence I can't argue that these were the coins I sold) Further, when moving funds between exchanges, can you pick the tranches so that the cost basis gets optimised from sales on that exchange on later trades?
As a ham radio operator, this sort of thing is extremely common. Most cheap Chinese power supplies tend to broadcast a lot of noise.

Nowadays, it's mostly impossible to operate the short wave bands in a city due to all the static on the air. The regulation agencies have pretty much given up, save for the most egregious cases, due to how prolific the problem is.

It's pretty sad.
So, how do I, as a user, get back at the Getty Images?
I don't think you can generalize the results at all, when the product was a "meme generator" for which the target group is reddit, 4chan, etc.

Because inside those groups are some really depressed, miserable and angry lonley single male (teens) who are horny, but got mostly rejection (or beeing ignored) from women in real life ... where they would not even dare to talk to them. But so they built up great anger because of their frustration.
So quite some of them go for fantasys of the old ways, where women had no rights, could be used and they would therefore finally get real sex. (rape videos
are really liked in some forums)

So actually it surprised me, that there was only so little hateful trolling. But I would have suspected more racism, though.
IIRC Vim 8 now has async features.
How is Yandex any better then Google?
"there's none so blind, as them that will not see"

Nobody who believes in a higher authority to self control and self actualised (is libertarian) views is willing to accept or believe this evidence.

I personally believe the last sentence says it all: the pro gun lobby has decided to rationalise and accept the death toll.

It's not that they don't know: they don't care.
Have you used any good desktop apps for managing your crypto portfolio?
There's like a million web apps out there offering more or less the same functionality to track your portfolio, calculate taxes (some more accurately than others), etc. But have any of you used any good (or at all) desktop apps designed for crypto traders? Aren't you guys concerned with the privacy of your information just frying around on the internet? I don't know why, but I get the feeling that I would prefer if all my portfolio information is private (truly private) and is kept on my machine. Anyone agree with me?
Have you guys spend any time with the incremental compilation and linking of Visual C++ or C++ Builder?

It really does make a difference versus traditional UNIX compilers.
Hah. Interesting that he predicted large scale solar PV deployments too. (In my mind, that's an even more impressive prediction given the state/cost of PV tech in the 60's).

Even more interesting, I would say (though who knows) this power mix he predicted (nuclear + solar) will be much closer to what we end up with on Mars, which he also made predictions about.
Exploring Inheritance and Virtual Function Calls with Sourcetrail [video]
On the contrary, if your job depends on understanding trends in a field, read more:

https://qz.com/668514/if-you-want-to-be-like-warren-buffett-...

Being aware of HN is part of my work.

In my case, we get four key dimensions of value:

1. Seeing trends early is in the job description, and a small slice of zeitgeist is here. I check here, several other self-selecting subgroup sites, a broad RSS list, white paper subscription sites, etc., and typically also read one subject matter book a day. With enough dots of info across a broad array of sources, you can see trends earlier.

2. Finding emerging tech likely able to go ‘enterprise’ is also part of my JD. That often depends on leadership. Some of those leaders are here. You can tell a lot about a company from its founders. I’ve been an extremely early customer of startups found here, years later they lead their segment and we’re already on board. Examples like Hashicorp or CoreOS come to mind.

3. Emerging debates that do matter are often here early, where threads are high quality enough to get exposure to well thought, good logic, alternative views. Being able to absorb more of those improves low data decisions.

4. You can even find talent early. Many met here have gone on to release awesome tools, join or found cool companies, get acquired by BigCos... it’s great to see talented and motivated trajectories and learn it’s not all just luck.
What Every Startups Must Know Before Starting Their Own Video Streaming
This happened to me yesterday - I ordered a book from Waterstones and popped out at lunchtime to pick it up.

The collection desk is the same desk as the front of the store (there are payment desks on each floor of the store) and it was rammed. I ordered on Amazon instead of waiting.

All they have to do is put a sign saying collections are on X floor and it would be a better all round experience.

I also noticed that people were queuing and then asking if so-and-so book was in stock. How is this efficient?
Well no, it wouldn't be such a big deal if this was the case.

If you do that you usually end up with a low-resolution image on a url of the form https://encrypted-tbn0.gstatic.com/images?...
#SlotsGames – #BetOnLine – Manila
Alot of these bullshit jobs where created to work people tired, that otherwise would storm the barricades and burn down paradise.
FYI: Asimov was in the news recently because SpaceX chose the first three books from his Foundation Trilogy to launch into trans-Mars orbit aboard the first Falcon Heavy.

https://www.theverge.com/tldr/2018/2/6/16980538/spacex-falco...
> Let’s face it, programming books suck.

While I agree that there are a lot of bad books out there, I don't agree that programming books suck in general. I very much prefer a well structured book over one of those chaotic tutorials that leave me with more questions than answers. Especially for languages where the "why" matters a lot more than the "how".

> It’s a lot like the way you may have already been doing it, just with more learning.

Maybe that's the reason why I disagree. Indeed, they way I read a book is by putting its content into practice.
I'm curious, in what way? I can not look at any Pinterest content because I don't have an account with them. Figured most people would relent and sign up -- but perhaps this is the problem you were talking about?
Booting a couple of vm:s on your dev box and trying them out should indeed take you no more than 5 minutes.

If you don't know what I am talking about, I am not sure why you are even posting on this site.

Still, it mostly seems like you don't understand the question you posted in the first place. See my previous answer.
One of the best examinations of learning, especially with structured media as described in the article, actually comes from a video game: The Witness.

A summary of how it does it and why it is so good can be found in this 10 minute demo from creator Jonathan Blow:

https://www.youtube.com/watch?v=rDSrYiheVow
I would definitely add Fabrice Bellard to that list.
I am an experienced Django developer, but just starting with React. Can you point towards any source which suggests good project setup and structure?
C# could always be AOT compiled to dynamically linked native code via NGEN.

It is also the only deployment option on iDevices and Windows Store since Windows 8.

Also if you prefer other native examples, Ada, Eiffel, Sather, D come to mind.
Personal care and cleaning products. Wow. That's some awesome consequences of not bearing smelly armpits.

The trichloroethylene cleaners are particularly nasty to people. But the particular matter is really bad. No aircon filter in normal use is hospital grade. I don't think we're going to avoid this stuff except by stopping using it.
Thanks! this fully solves the problem.
No, VLC does the transcoding on the fly, and that's why it's not very easy.
Programming via practice is actually a very inefficient way of learning to program. It's sort of like a professional basketball player learning by playing matches. It wears people out fast and teaches them very little they don't know.

To truly improve, they have to train properly. A basketball player trains their dribbles, running, shots, peripheral vision. A programmer has a lot of other small things to train - algorithm, optimization, passing around bits of code from one class to another, or disciplining themselves to stay in flow.

My training routine breaks things down into 4 levels:

1. Understanding the concept. Also includes knowing how to google certain types of code, knowing what to look for, what to copy.

2. Being able to build it without any hints.

3. Feeling/instinct. You no longer have to think. Not only that, but you can immediately 'feel' a mistake or error, and where.

4. Potency. You do it faster and smaller. There's no end to it.

The people who are deep in level 4 are invisible to those at level 2 or less. Sometimes it seems like magic, sometimes it seems like incompetence or stubbornness.

Creativity only happens when you have many parts at level 3 and above. You have to internalize/feel the parts, before you can code very effectively. Then when you have a problem you're trying to solve, your brain just sorts it out in the shower.

But with programming, once you code something once, it becomes a function. Many people don't solve the same problem twice. It gets copied and pasted. And thanks to Stack Overflow, it's possible to go 20 years of experience without ever reaching level 1 skill.

This is not necessarily a bad thing. This means you can ignore parts like memory management or effective sort algorithms and focus on the important things. It's up to you to figure out which skills are really core to your ambition and focus on that.
Yeah, there is no subtitles support for now. It will be supported in the next release.
Not going to be a problem for me since I use Searx on my own domain.