skysight-inc/HackerNews huggingface dataset:
Sorting in a database makes sense even when you never use ORDER BY. You can do streaming joins/unions, and implement streaming, non-blocking aggregation operators (because you know when you've seen the last row for a grouping key, so you can output the result for that group immediately and evict its state from memory). Query plans will sometimes sort inputs (or intermediate results) for these reasons even when the final output is unordered; this is known as "interesting orders".
Please, can you elaborate on your findings? Thank you.
doitlive https://github.com/sloria/doitlive
It's a per-conversation preference, as far as I remember. You only have to do it once.
Thanks for writing this, fascinating.
Tim Berners-Lee's plan to save the internet is admirable, but doomed to fail
My takeaway was don’t try to sell the software you have. Try to find a problem someone has (and will pay you to fix) and try to fix it.
Loads of people I know live frugally but it's absolutely just great financial management. They're aiming for long-term wealth. No one pays more than $2.5k in rent (I'm the extreme near the end because I moved out to a different apartment).

We're talking people being millionaires in their twenties and tons of earning potential for the future carrying a three year old smartphone.

I think it's because tech folk are good at min-maxing and at focusing on specific goals. It's nothing at all like the nonsense you see on /r/personalfinance. It's all ruthless optimization.
Let's translate this to brick-and-mortar:

> What if I want to target women who recently bought Chanel perfume? How would I go about doing that unless I do video surveillance and face-recognition targeting?

Suppose a woman walked into a dress shop, and the clerk said, "We find that our $LINE line of dresses over there works really well with the Chanel perfume you just bought."

Do I have to explain why 1) people think it's creepy, and 2) why people think you don't have a right to do that?
I think it depends. If the world is changing fast enough, the experience may lead to wrong conclusions. A larger snowball may be difficult to change its course. It is all relative. Actually in a modern society, the head of government shouldn't matter at all. He/she would be a accommodator not a decision maker.
K8s-usenet is a collection of Helm charts related to Usenet services
Cloud Wars CEO of the Year 2019: Thomas Kurian of Google Cloud
The same holds for WhatsApp, btw. I once got a new phone number that had been used by someone else before, and was still associated with their WhatsApp account. People kept sending me messages over WhatsApp without me even being aware (I don't use it myself).
Two years already?! Even the hype cycles have to adjust their x-axis.
For densely packed IDs (32 or 64 bit integers...) I think it's even faster to use a keyed trie structure, as it can use fast bit-shifting operations in contrast to using standard B+-trees.

Also, this can be used as a persistent, on-disk / flash drive data structure or as a hash array mapped trie for HashMap implementations in-memory (Scala or Closure for instance).

For a persistent (both in the sense of functional programming as well as storing on non-volatile disk), this is for instance implemented in SirixDB (https://sirix.io), a temporal data store prototype I'm maintaining and developing :-)
> We Kill People Based on Metadata

Former head of the National Security Agency Gen. Michael Hayden
Zebra Corner ref goes hia
What is needed - is a social space, that is solution orientated, basically like a dry-dock for problemsolving.. Every problem has subproblems attached to it, and your comment falls in two categorys. Problem - or Solution - and then its kharmad out wether a solution would work. Once a solutioncoverage is 100 % - the overarching problem counts as completely discussed and solved.

From such a graph, interesting properties could be computated, such as solution leaning - by who bears the most load of the implementation and similar things. Or solution recursion..

But i digress
Flying a charter jet is the equivalent of hiring a cab for a trip or a town car for a day. I guarantee you that 99% of people who fly private do that -- several hundred times a year.

It's just that a $500 town car for the day is more practical than having a chauffeur fly with you to Hong Kong, Bali or Cannes...
Our startup builds a Flash replacement called Construct 3: https://www.construct.net

It's a web-based animation/game development IDE with support for JavaScript coding too.
So you can communicate without waking up your sleeping infant, turns out. Though phones work for this too.
I hate to bring gender into this, but I do wonder if Gruber would raise such a stink if it was just a male CEO getting fired for this.

And as for his example of:

"If a waiter served a customer a half-eaten sandwich, I’d expect the manager to immediately berate him in front of the other staff in the kitchen — not take him aside and say “Hey, that isn’t cool.”

I would think it is highly inappropriate to berate a staff member in front of other staff. That doesn't inspire leadership. Instead you would take them aside and talk to them personally about what they had done, and talk to all staff as a whole about the need to do better and explain the importance of customer service and that a happy customer is likely to refer 2 other people, but a dissatisfied person is likely to tell 20, so we need to stop people from being dissatisfied (within reason).

In all of my roles, from retail, consulting, government, and everything else, it has never been appropriate to berate staff.
What's the problem with letsenhance.io? Honest question. I skimmed the article and didn't see anything off-putting.
There are German schools in the US?
Your post is making the mistake that, just because all this function needs is detection, that therefore this is the only thing it's actually doing. "What this is about is..."

This isn't about detection and isn't about triggering a sleep mode at all. It's not even about over-engineering for this particular function, because this particular function is not the point. What it's actually about is doing everything they can conceivably think of to monetize engagement tracking, while continuously pointing a camera at your face as you watch movies and adds.
this is a really nice resource, thanks a lot!
Fabulous bit of advice. Meditations by Marcus Aurelius is a good start, though I suspect many here have already heard of it.
Show HN: Four Leading Causes of a Data Breach
> making our amazing designer create a Shopify site that he/she can manage him/herself

This statement sounds like your co-founder is just getting rid of you because he realised a designer can do better than you and won't need shares of the company. You validated the market for him and he doesn't need you. This is the reason I always tell idea guys to pay me or go and learn programming themselves and implement their ideas.
TLA+ for Startups (Part 2)
Cookie based targeting is relative easy to remove. It is an early and easy vulnerability that can be quickly addressed before the big ones that takes more engineering and fundamental changes.

Contextual targeting is a bigg problem, and the fix will require a fundamental change. It is almost impossible to use technology to prevent contextual targeting in areas like email service and social media as long as the data is in clear text and available to the server. The current best bet is to use laws like GDPR but it is slow and not something a browser can dictate with a software update.
>37% of the American population between 25 to 34 has a Bachelor's degree now. The subset of people who are literate and conscientious, but do not have a degree has become vanishingly small in recent decades.

So you think 63% of the population under 34 are either illiterate or unconscientious?
Exactly!
That led me to develop an extension for quick bookmark capture into plaintext: https://beepb00p.xyz/grasp.html It makes it way easier to search and organise bookmarks, keep some context, etc.

I also describe my search setup here: https://beepb00p.xyz/pkm-search.html#other . Basically, I can search in all of my stuff with a single hotkey, whether it's pinboard, instapaper or just plaintext bookmarks.
Ask HN: Sustainable, Privacy-Respecting Phone?
My Sony Xperia/Jolla Sailfish combo is nearing the end of its useful life. So I'm looking for a privacy-respecting daily driver replacement. Needs are pretty basic: web, SMS, email, calls in decreasing order of priority. I don't tend to use many apps though would want flexibility to run e.g. Spotify.

A few options Identified so far, though nothing stands out strongly:

1. /e/, possibly one of the pre-loaded Samsungs available on the site [0]. Explicitly positioned as privacy-respecting: based on Android though, albeit without Google Services. Don't know how reliable it is?

2. Fairphone 3 [1]. Focused on sustainability rather than privacy. Runs stock Android so not viable on the privacy front. Previous versions supported alternative ROMs, though not possible yet on the 3.

3. Purism Librem 5. Strongest commitment to both privacy and sustainability, but not ready to be a daily driver yet (maybe ~1 year away).

I've excluded an iphone above. Apple's privacy claims are laudable but feel very much strategy credit rather than deeply-held principle.

Any experiences with above / other suggestions?
Thanks.

[0] https://e.foundation/
[1] https://shop.fairphone.com/en/
[2] https://puri.sm/products/librem-5/
If you gain some satisfaction from having to track version numbers, then good for you. I and most other people find it tedious.

They're also impractical to use in environments where your one versioning system isn't the only use of the data. If you or some DBA needs to make an emergency database change - suddenly the real DB doesn't match your versioning.

But if you compare directly against production, it's not a problem at all.

Not directly checking against the production schema is rather like flying a plane with no reference to what is actually outside the windows - rather an unreliable experience.

Nothing is stopping you from keeping a long chain of these scripts if you want - you'll lose nothing and gain more automation and testability.

But in practice nobody wants to keep these files around, and nobody wants to restore 2 year old backups to production.

And if you did, a diff-based approach will do just as well, more automatically.

Where the diff-based approach probably shines the most is when making experimental changes locally during development. Play around with your models, add a column, add a constraint, rename the column, make it not null, change your mind and drop it again. One command syncs the dev database to your models automatically and instantly.
The Wall Street Journal article would have been a much better link, considering John Gruber/Daring Fireball's conflict of interest and highly dubious disavowal of bias.

> Disclosure: Away has sponsored 21 episodes of my podcast, The Talk Show, in the last three years, and they are on the schedule for an upcoming episode. The following is what I’d write if they never had and never would sponsor my show or website.
Spending time with kids can be very draining and exhausting. Not all the time that you are spending with them is quality time. Also, since parents don't need a degree or a whole lot of experience, this is an indication that childcare is only a minimum wage job unfortunately. Also, kids really like to spend time with their own peers and doing group activities.They don't care if you are not with them all the time
I've written a little Android app that watches the Signal backups directory and uploads new files to Google Drive when they appear. For a new phone, it can download your latest backup and put it where Signal will find it when you first run the app. I want to polish it and put it on the Play Store, but of course the last 20% is 80% of the work.

I'm also reluctant to release it publicly because I'm worried about the support burden, because, while I've made the experience as easy as possible, it's still not a great experience considering how Signal works. I expect to see a lot of angry users who don't realize (despite documentation) that they need to download the backup to their new phone before running the Signal app for the first time. And then I expect people who lose their backup encryption key to blame me that their backups are unrecoverable.

I guess at the very least I could open source it at some point, but the setup is a pain since you need to create a Google Cloud project authorized to use the GDrive APIs.

Signal really needs this built-in. It puzzles me that it hasn't happened yet, since I built this little app in under ten hours (and I hadn't touched Android development in a good 7 years and had no experience with the GDrive APIs).
Worth noting is that The Alchemist was written in 1988. Maybe the idea was novel then? And many writers who had read it copied this idea and made it an overused trope.
> Well, Signal comes with a system for verifying a person's identity

like what? I really have no idea.
WhatsApp users threaten to DELETE app over new 'from Facebook' loading screen
Supports more features like ordered traversal, generally faster in most cases (yup!), consistent api cost, doesn’t invalidate iterators on certain operations like moving between maps. That’s just off the top of my head.
TensorFlow 2.0 and Keras Overview (For Deep Learning Researchers)
Is Earth Getting Bigger over Time?
WebAssembly String Manipulation
This is with Telegram (which I'm not a fan of), not Signal, but it might still be interesting to you: https://osmand.net/blog/osmand-telegram-released
Or maybe give people time to live before they decide to participate in "the economy". Not everything is jobs. Actually I would argue that hiring is, or should be soon, obsolete because of a gradual change on mindset that clarifies what jobs really are, schemes. There's no reason to dedicate most of your waking life working on selling products where the end product is just maintaining frivolous life styles. And if having to pay for basic things like a roof and food is the factor here, then there are bigger issues at the root level.
I don't think it's a coincidence per se, the languages diverged a long time ago and drifted away both in pronunciation and meaning.

My point is that false friends are blurring the border between the two languages in your brain, they are confusing because they make you think of something in the wrong language. A solution to reinforce the separation of languages in your brain is to only think about them in the context of their own language, as soon as possible.
Data-Efficient Image Recognition with Contrastive Predictive Coding
Challenges with Distributed Systems
Now that is a really smart design hack!
Don't sweat it, and thanks for the reply.

I know exactly how you feel, and I think I've just 'given up' and gone the other way. I try to accept that our lives will have to get less convenient, and the economy will have to take a bit of a hit as we move to things that are better for us, and better for the planet.

So we'll take a couple of steps backwards in order to take many forwards, and I'm OK with that.

I've also spent a lot of time in Latin America and Africa, and I hope that they can just go straight to the 'right' solutions because they are not so entrenched as we are with what we already have.

Who knows though, right. Certainly nothing is perfect.

I hope you have a good day, I'd buy you a coffee/beer if I could.
“When used as input for non-linear classification with deep neural networks, this representation allows us to use 2–5× less labels than classifiers trained directly on image pixels.”

Interesting paper on an unsupervised pre-training approach using overlapping image fields to massively reduce the amount of labeled data required to train image classification models.

Reminds me a lot of the way word2vec is trained with overlapping word vectors and negative sampling...
Thanks for letting me know. Did not expect such heavy traffic.
The physics appears to be kosher, but I can't speak about the practicality of such as device. I suspect it's up there with graphene in that it'll generate a lot of papers, but no industrial applications.
Thank you for making this point. Plain text is really underappreciated. When I visit a project README, I don't want to wait for the entire replay. I just to skip to the part of the documentation that is relevant to me.

A short asciinema replay can be useful for a quick demo buy don't let that substitute your text documentation. I may watch the replay only once but I will come back to a well written documentation again and again.
IDEX 2.0 Demo $100k Trading Competition
Yes, hundreds, many of which are now being 'reinvented' or 'rediscovered'. Time to figure out how to persuade investors to get on board - processor architecture isn't one of their fads at the moment.
There was a server crash. Hopefully the glitch is now remedied?
I think you mean Earth Computing. Your data stored and analysed in the ground.
I don't have a dog in this be cause all I do is write embedded firmware and crummy tools that run under windows. But low latency is a better choice than throughput most of the time. My gut says when a system bogs down failures due to latency hits you first.
If you can't find a way to a) sell the software and b) don't have the passion to use it alone, here's something you could consider.

Pull the code apart and find the interesting ways you've built it, then create training videos on how you did it and sell it as a course.
I’ve seen it plenty? As someone well outside of the actual geographical place
script / scriptreplay, maybe. That's what I've used at home when I want to capture output.
Just provide the commands again as text. I don't have to wait for the entire asciinema to replay. I can ctrl+f what I need and copy-paste.
Last year I came across a person who tried to recruit me in a local MLM network. The person recommended me Robert's other book to prepare me.
6 Cryptocurrencies to Buy for 2020 and Beyond
I think an important part of the story with Germany is that Hitler's rise was substantially aided by the Germany's treatment after WW1. Everybody was aware of the importance of doing a better job this time.
It is true that other tools have most if not all features of Magit. But I doubt there's a single tool that comes with all of Magit's features.
> if it decides to acknowledge and fix it

The reference does not back up your claim - Apple never disputed that there was an issue, and they had already fixed it when Project Zero published their report.
She does amazing work reporting on the Isis assholes on telegram
You can also implement a hash map as a tree ;-)
> On the other hand, I have yet to learn whether Mac OS has any synchronisation primitives that mitigate mutex priority inversion.

It does! xnu supports priority inheritance through "turnstiles", a kernel-internal mechanism which is used by default by a number of locking primitives (list at [1]), including normal pthread mutexes (though not read-write locks [2]), as well as the os_unfair_lock API (via the ulock syscalls). With pthread mutexes, you can actually explicitly request priority inheritance by calling pthread_mutexattr_setprotocol [3] with PTHREAD_PRIO_INHERIT; the Apple implementation supports it, but currently ignores the protocol setting and just gives all mutexes priority inheritance.

[1] https://opensource.apple.com/source/xnu/xnu-4903.241.1/osfmk...

[2] https://opensource.apple.com/source/libpthread/libpthread-33..., search for _kwq_use_turnstile

[2] https://linux.die.net/man/3/pthread_mutexattr_setprotocol
I'm not worried, that will sink in the data lake too.
By your own description of what you're doing, yes it does? You've said nobody can make you contribute back to those creators via social norms so you will not, so within the system your actions are parasitic? You consume/use but contribute nothing back, how is that not parasitic?
>For just about every geoip use case, there is a better solution. Namely, almost every modern phone and desktop is capable of providing it's location, and is more accurate than any geoip database.

You need user permission to get that.
It's late, but perhaps its worth changing this link to point to the original article from the Atlantic?[0]

[0]: https://www.theatlantic.com/technology/archive/2019/12/why-c...
Check out this antiquated walrus over here, talking about Blockchain convolutional neural networks like it’s November 2019.

Here in the present we’re doing our neural networks with non-quantum simulated quantum networks that definitely don’t not not work.
I can't stand the guy on the television. Is the book any different than his tv persona?
Ask HN: Books that made you a better Software Engineer?
If you had to recommend 2 books, which ones would you recommend?
Explaining Go Pointers to a JavaScript Developer
Imitating VB6 might be the wrong direction for a lot of people here. I can see the point for devs, but not "Joe public" who has no desire to actually program.

Most quick app needs for the common person trying to find better ways to do their job, in my experience, tend to be of the "I want to collect or collate some data and output some reports" and for that Access might be the better starting model, maybe taking some UX inspiration from the way people use/abuse Excel in similar contexts.

Cool project though, don't let my thoughts (which could easily be quite wrong) stop you, especially if your target is people who do (or want to) dev a bit rather than people who would prefer not.
+1

Taleb comes across as a smug asshole. I don't see any reason to spend time in his company
I can drink much coffee and feel almost no effect (although I usually stick to two coffees a day).

When I drink tea, I have shaking hands, especially with the bottled ice tea from the supermarket.

Let's say I wanted to change from coffee to another hot but not sweet beverage: which one?
There's an article about how it works in their help section: https://support.signal.org/hc/en-us/articles/360007060632-Wh...
Sad to say it, but a bunch of code from a failed startup is probably nearly valueless without context. I think that motivates an answer based on extracting value from it combined with the context on it that a founder has.
There were probably ~500k people worldwide impacted by this guidance. There will be at least 10k+ people dead now compared to if this study had come to the opposite conclusion.

And all that so the principal investigator could get another few thousand dollars.

Lesson: If you're going to murder tens of thousands of people, at least be properly compensated for it!
Coherence doesn't depend on the mirror, that's surely just about efficiency? I thought coherence came from quantum states of the lasing medium.
> Yes, there are a lot of us out there who use Signal and have this single missing feature as our largest pain point.

That is fair, but... I'm willing to make a backup file and handle a 30-digit passcode. I don't want to sign up using a phone number. That's crazy. :-/
Mathematics is just a set of internally consistent rules.

There is no reason the universe needs to follow an internally consistent ruleset (although so far our measurements seem to find it to be, quite precisely).