skysight-inc/HackerNews huggingface dataset:
Are you saying he should have stepped through the framework's authentication implementation in the debugger? The bug was in the configuration, if I understand correctly, so there wasn't much to step through there.
Thank you for this. It does sound like some systemic issues are at work here.

That said, this "my personal belief is that it's likely a result of the absurd taxation the middle class gets. It's basically impossible to build up any saving to start entrepreneurship around here" reminded me that many of the people who start new companies in the Bay Area have often accumulated a bit of wealth from the equity sale of the previous company they worked for.

For example, estimates vary on how many millionaires Facebook created when it went public and its stock value grew, on the low side it is a one to two thousand. Of those, over 200 according to Crunchbase have founded or co-founded new companies on their own. I'm more familiar with Sun Micro since I joined the day after they went public and was in the first 2000 employees. Of the 1999 that came before me, over half started new companies. At least 8 that I know of became general partners in VC firms that went on to fund hundreds a companies. There are also outliers like Eric Schmidt who got both the Sun boost, the Novell boost, and then the Google boost after that.

The point being that spreading out the success of a company widely is likely a big component as well.
Nineteenth-century technology and the software case Google vs. Oracle
The xls format is pretty old. The newer formats (xlsx, xlsb, and so on) allow for larger spreadsheets.

The reason the spreadsheets in the old format couldn’t grow was probably compatibility. The reason for the limit in the first place was probably about reducing memory on disk and in main memory.
Bit.ly code: https://bit.ly/3l9tI3w (8 + 7 + 7 = 22 chars)

Ku.ag code: https://ku.ag/t002te0h.y-e (8 + 6 + 12 = 26 chars)

Every string encodes to the same amount of “squares” in a QR code, so I see no reason to use your service.
I mean, same difference. "I cannot generate a file representing state of data in RAM" is a 'fail noisy' error, not a 'fail silent' error.
I think the principles do basically summarize data oriented programming. Particularly, principle 1 is important since it is the exact opposite of OOP's insistence of encapsulation, and is possibly the biggest reason DOP works so much better than OOP.
Has there been any work in Rust on something like Haskell’s ‘Coercible’? Namely, it defines the precise criteria for safe zero-cost coercions between types that provably have the same representation, and derives the coercions automatically. It guarantees that ‘coerce’ is identical to ‘fmap coerce’, which saves the cost of that exact traverse+reconstruct pattern to change out a phantom type parameter.

There are some deficiencies, most prominently that the “role” system is aggressively monomorphic, so you can’t always prove that two things are coercible—the compiler must conservatively assume that type parameters with unknown roles cannot be coerced—but overall it’s much better than what we had before, and I expect it’ll continue to improve.
If anyone took this seriously, the hospital would take your drivers license before handing over your newborn.
This is why a lot of places don't accept personal checks. This has been around for decades "bounced checks" - NSF (not sufficient funds), REFER TO MAKER, STOP PAYMENT, etc. Not only do you not receive the funds, you are fined by your own bank.

It is a crime in most states (keep the returned check handy)
https://oag.ca.gov/consumers/general/bad-checks
but kind of hard to enforce
Show HN: Elastiknn – Elasticsearch Plugin for Nearest Neighbor Search
I closed the page as soon as I saw that because I assumed it was an ad that had escaped the blocker.
Hi HN! Elastiknn is an Elasticsearch plugin that lets users store numerical vectors within documents and run exact and approximate nearest neighbor queries on them. It supports dense and sparse vectors with five similarity functions (L1, L2, Angular, Jaccard, Hamming).

It's a hobby project of mine, based on an application where I needed to to continuously update an index of vectors for approximate searches. Very few of the existing approximate search libraries satisfy this use-case; most require re-building the index from scratch.

Elastiknn lets you add/update/delete vectors without rebuilding the index and combine vector queries with existing Elasticsearch queries, all through the standard JSON/HTTP API, all in your existing cluster. You just specify a field type of `elastiknn_sparse_bool_vector` or `elastiknn_dense_float_vector`, specify some optional settings for approximate indexing, index vectors as JSON lists, and then use the `elastiknn_nearest_neighbors` query in your search requests.

Nothing is without tradeoffs. In terms of raw throughput, Elastiknn is slower than many existing solutions. If you need a high performance solution for offline batch jobs, it's likely not for you. There are some benchmark results at https://elastiknn.com/performance/.

My current goals for the project are: integrating with the ann-benchmarks project, releasing builds for multiple Elasticsearch versions, and creating some example applications.

All feedback is appreciated. At this point there are several teams evaluating the plugin. There's a pretty thorough test suite, but nothing beats real-world usage and feedback. Cheers!
Show HN: Prism a isomorphic web app compiler
Sure, it's just the regular desktop libnotify stuff.
This is not really the classic embedded space; it is a full ARM processor running a full linux operating system. Its more like a small server than a MCU board. It couldn't be used for hard real-time requirements.
We are human, there is always a chance of falling asleep.
The label on one of the images in the article says "The elk is one of the largest herbivores in Europe, besides the bison..."

The image is definitely a moose, not an elk. Is this just a mistake in the article or is "elk" a more general term in Europe?
I'm assuming that his legal team is trying to game out different approaches to avoiding future tax-evasion charges following the NYT articles.

Some of those scenarios have to include the possibility of not winning re-election.
The circle of liiiiive...
I mean, I’m the one arguing for smaller commits, so yes, if you make it 10 commits via 10 prs instead, that’s fine with me. But if all of that has to go out at the same time, that’s not any different than one pr with 10 commits (and probably worse because it’s harder to see all the changes together).
For what it may be worth, Metabase now offers a hosted version.
In my experience, no matter how many improvements there have been, there are always things that you are trying to do that css doesn't support or make easy to do. Recently I've tried making tabs the same width but not justified horizontally, meaning all tabs should have the same width as the widest one. Something like this (1) but without hard coding the children count. In my mind, you would be able to set the widths to max-width of siblings. In general, I would love to have more signifiers that describe relations between elements.

(1)https://codepen.io/brettdonald/pen/oRpORG
But then you'd have to have domain knowledge and why would you learn domain knowledge when the ideal career is a new job in a new industry every few months.
</HN>
> I don't think these principles add up to something useful. It's not complete and I think some of the principles don't align that well to the problem space.

These are are part of a book that is being written at the moment as far as I can tell:

"This article is an excerpt from my upcoming book about Data Oriented Programming. The book will be published by Manning, once it is completed (hopefully in 2021). "
I used enterprise slack ~4 years ago for a job and I remember having these issues every so often. ~2 years ago I used free gitter for a university project and I had the same issues a lot, and we had to switch -- funnily enough, we switched to discord and it was better than all of them.
This is more true than it would be from pure exponential growth alone, especially the relatively slow exponential growth the UK as a whole currently seems to be seeing (doubling time maybe about a fortnight?) The issue was effectively dropping all results after a certain number from a particular location, so at the start relatively few results were dropped and it was spotted around the time that number started to become substantial. It's that hard cutoff where results suddenly start to be dropped that means most of them are in the last few days.
Unfortunately for him, the media portrayal of his illness doesn't seem to be following that narrative arc.
Show HN: Injex – A dependency-injection framework for TypeScript applications
Hello, developers of the world!

Injex is a dependency injection framework that helps you resolve dependencies automatically. Think about a large application codebase with hundreds of modules; how can we manage all these connections and dependencies?

The Injex framework was created with simplicity in mind and in an unopinionated way so you can keep writing your classes with a small footprint. Injex API is small, so you don't need to learn new concepts.

Injex's core API works the same both on the server and the client, so it's easy to share code between them.

If you want to learn more visit https://www.injex.dev
Unboxing comes to mind. It seems manufacturers are putting an astounding amount of effort into making the ritual of opening the packaging for your new gadget a long series of satisfying unfolds, slides and surprises.
> Is there anything in Excel itself that behaves like that?

I'd imagine the default error-handling behaviour of 9/10 Excel macros is to throw away data
Nope. It's about the different types passed into a function parameter. For optimization JS engines look at the differing shapes of JS objects. Which is determined by the order and type of each member.

So:

{ a: 6, b: 7 } is different to { b: 7, a: 6 } and { a: "six", b: "seven" } is different to both.

This is done so the member can be looked up quickly by offset. Functions then have an inline cache that stores the shapes the function has seen. If the function is called monomorphically it will only ever see one shape and hit the fastest path. If it is called with up to three shapes (in V8) it will be pretty quick. Once past three the cache falls through to a global table and is dog slow.

This matters if you are using structural typing as you are still creating different shapes to be passed into the same function(s).
I'm also looking forward to getting autopilot at some point to address situations where I feel pretty drowsy. While yes, the correct thing to do is to not drive, to pull over, and so forth, reality doesn't always allow for those things and it would be nice to have autopilot as a driver aid.
We have a project group working on "safe transmute", here's their first RFC https://github.com/rust-lang/rfcs/pull/2981

It cites the Haskell work: https://github.com/jswrenn/rfcs/blob/safer-transmute/text/00...
It basically all derives from Fairchild Semiconductor, which only existed (as did its fairchildren, the companies spawned off it like Intel, AMD, National Semi, etc) because non competes have been unenforceable since 1941.

Texas Instruments was also heavily bankrolled by the military and NASA, just like Fairchild. The godfather of venture capital in America is Don Valentine, who founded Sequoia Partners in 1972 - after working for Fairchild and National Semi.

There are other places that have good universities and access to capital, like New York City and Boston. Plenty of government spending has gone to tech companies there too. They have noncompetes, we do not. They certainly have their successes, but not to the same degree as Silicon Valley.
You are wrong. Give us reference for native html function in postgres and not string massage.
It refers to the same animal.
They were definitely annoying alright. Even the collision detection on our previous MBenz SUV would go off at certain roads that were perfectly clear of obstacles.

Since OTA is not a thing on most cars. This becomes a permanent problem that a dealership cannot fix. Even if they wanted too.

With a Tesla (only one in the industry AFAIK), you can submit a bug report at the exact location via voice and a future software update might address it.
Could also be a lack of budget funding. The newer version of excel supports: 1,048,576 rows
Luckily I've managed to associate it with more of a "deep focus" state, but a lot of people seem to feel like they'd get tired and fall asleep if they used a setup like this.

I actually think the biggest downside to the multi-station dynamic setup is that the ideal monitor configuration for that is a single curved ultrawide, and there are essentially no high resolution options.
Awesome, thanks for bringing that to my attention and sharing that on twitter :)
Always use checked pre- and post-conditions in a data pipeline.

This simple post-condition would have caught this issue:
The sheet after merge operation must have a number of rows equal to the sum of number of rows for all merged sheets.

Assuming this is a merge of a standardized input, then another post-condition might be:
The number of columns in output shall equal the number of columns in the input.
Might want to check header names, and order as well.

Thinking in terms of universal properties, and putting the checks into production, is better than unit-testing.
You can still go hybrid. Majority of site is static but for some pages you have services that touch db.
in america, moose are elks. in europe, elks are moose.
FWIW, in programming languages we similarly fret over overloading of symbols. A common one is the '-' (minus sign) representing subtraction and negation. Or the '+' (plus sign) representing addition and number coercion (JS).

Also, no one likes code golf in prod. But who doesn't at least occasionally enjoy learning from a clever one-liner. 'Venery' terms are just that -- something to learn from despite experts in the field steering well clear of.
When I think of products with rituals I think of Mexican alcohol. Corona with lime in the bottle, and tequila where you lick salt and suck on a lemon wedge.
> Every string encodes to the same amount of “squares” in a QR code

That's not correct. QR codes have redundant pixels, and you can choose how much redundancy you want.

That said, the default in most generators is the least amount of redundancy.
$1m ARR is enough to support a team of 9. Especially when they're remote, some offshore, and 2 are founders.
Not if we are well-rested in general and healthy, and choose not to drive when we are tired.

If we have a particular medical condition / issue then that is a different story.

But folks don't randomly fall asleep (I think?) if they're getting sufficient rest and they're not already tired.
Reliable as a Kalashnikov assault rifle: Amur methane rocket
Thanks so much for being a customer!
Doesn't Excel by default capture the .csv extension so that it gets called automatically when you try to open the file?

Since Excel is one of the few standard pieces of software that knows how to open CSV, it gets used a lot of times when it shouldn't. There's another post I made comparing Excel to a swiss army knife, and there's a reason for that.
Hard to say since currently some media service seems to be constantly restarting in the background due to some problem with how the Android image is built, eating some CPU all the time - so I tend to stop the container when I'm done with using it.
It is impossible to express all of the relevant information about an architecture in a single view. That's why a diagramming tool that natively supports multiple views/perspectives is a must-have. Anything less is just a toy, frankly.
He'll want to return to Manhattan some day after he leaves the presidency.

I assume he doesn't want to be a pariah in the city that has meant so much to him over the course of his life.

I think he's perfectly fine with his peers shunning him while he's in office, but when he leaves office and the rallies and MAGA hats are behind him, he's going to be all alone.
We're back up now!
Depends on the question. If we talk about origin of life as we know it, you don't have to go recursive really .
> The Jeep Wave: when you drive a Jeep, you are required to wave to other Jeep drivers.

I wonder if there is an exhaustive list of all similar behaviors. I’ve seen this sort of culture before around other vehicles.
Also helps that 2 of those 9 people are founders who don't take a salary.
Both surfaces do wear, however any high spots will wear faster.
I hate to be rude, misogynistic or even downright silly, but how many of you read this as "... largest breasts"?
> but this conversation is taking place on hacker news, where I daresay the consensus is opposed to palantir and other companies working with law enforcement

I don't share your confidence of that assessment, but it would warm my heart to think so.

> people should be allowed to consider whether there is any internal logic to the opposing position without actually committing to it.

I'm gonna stand by this one, I think, and disagree with you, although I think I see where you're coming from.

What I see a lot more than testing for internal logic of a position is people advancing their sole, or only substantial discussion point, with the "devil's advocate, but" position. If a consistency test is what you're after, you can attempt to perform an explication of someone else's position without advocating that position yourself, and without accidentally advocating it by presenting it unchallenged.

If I can omit the "devil's advocate" disclaimer and it still reads as a position earnestly advanced by the writer, then they are not playing at anything, they are making a real argument.
Alan Kay in discussion with Rich Hickey on “data” (HN 2016)
If you have to drive despite this, you probably should ensure to have a supply of caffeine in the car (e.g. caffeine gums, instant coffee, maybe energy drinks) and take a sufficient dose before driving [https://www.psychologicalscience.org/news/motr/can-a-caffein...]

You might also be able to get a prescription for modafinil, which might be even more effective.
Back to the start-up? Or just combine the RSUs with a cash bonus large enough to cover the taxes? Both solutions would work.
Car fatigue is real. The only way I avoid it is to be constantly scanning by moving my eyes around - side mirror, rear mirror, speed gauge, back to the road. Delay(5s). Repeat. It can happen to the best of us and when you realise it’s safer to pull to the side of the road. Unlike a DUI this neither voluntary nor reckless unless you ignore the warning signs and keep on driving.
> Hospitals certainly need 100 percent reliable equipment—

Hang on there, are we so sure about that? Our present-day obsession with reliable technology in healthcare is a very recent development, but it's something that has largely been sold to us by industrialists and the oil industry, and we consume it, increasingly, at the cost of the living standards, even the lives, of the poor and those in developing countries. Society has conditioned us to believe that reliable power for safety-critical life-sustaining applications is something that we can't live without, but a measured examination of the evidence of climate change means that we must urgently reimagine a future without the growth or even the maintenance of healthy human lifespans for those in the developed world.

A modest proposal of my own would be for western governments to introduce climate-safeguarding social credit systems that normalise and enforce the migration to a new intermittency economy, while forestalling the dangers of any dissidence or skepticism that would hold out against the new economic model that this would create. It would help to prepare us for a new society and a new economy that wasn't reliant on the old and unsustainable paradigms of food, resource and energy security.
Every content byte encodes to the same amount of squares. Error correction bytes are “appended”. The point about every string being equal in the same configuration of a QR code still applies. As such, the shorter URL, the better.
I find the lounge position very comfortable for working. It requires a laptop, but it's way easier on my back which improves my energy levels and focus.
Gross is the income, not the profit, so you need to subtract the cost of the goods going into the machine to get the profit which will be a lot less than $1807.65/month.
> In that case, applying the remedy of the first example (a set of dates, and inferring that every 2nd (even zero length, to account for adjacent fixed) interval will be default,) introduces another bug where if you lop off any random date in that set or list, you invert everything.

This is a good point, and something I usually describe recoverable problems versus non-recoverable problems. If I make start/end dates in the first example instead of just a set of start dates, then I can always create application-level or database-level constraints that don't allow either overlapping or incomplete segments. When business rules change, I can delete the constraints and update the business logic as necessary with no change to underlying data structures.

However, if I miss implementing a constraint and it erroneously allows overlapping or incomplete segments, I can easily run a query to identify all such invalid entries. Then I can then investigate and decide how to fix them.

However, if I go with the start-date-only set-based approach, and miss implementing a constraint, and it leads to a deleted date creating incomplete segments... I'm screwed. There will be no query you can do to identify incomplete segments to investigate or fix, because all segments are assumed to extend to the next start date. You can irreversibly lengthen one segment by deleting another, due to a forgotten constraint preventing you from making the change.

These could both be errors on the developer's part, depending on the requirements at the time, but one data design may lead to more non-recoverable issues than the other. Add in the flexibility of the former approach, and I'd probably be more likely to implement the former approach than the one proposed.
Minutes on the road in a prototype Volkswagen ID.4 electric car
BMW's new i3 "Urban Suite" interior shown at CES this past January supposedly takes comforts to a new level, albeit just for the one passenger.

https://www.extremetech.com/extreme/304393-ces-2020-limo-for...
Ask HN: When a company is acquihired, what stops employees immediately leaving?
It occurred to me today while browsing HN — if a company is acquihired, is there typically anything in place that stops the employees leaving either before or after the acquisition?

I could envision a company being acquired for the people, but then people leave and the purchasing company is left paying a large sum for far fewer employees than they anticipated.
Although an artificial ritual would seem obnoxious in apps, the routine of going to the dashboard of each app is a ritual. Email, intranet, Slack, sales figures, support requests, it all has the added comfort of feeling the work will be incoming from these apps, and therefore moving from proactive mode to passively waiting.
That is not how probability works. Most improbable things happen, like you being hit by failing airplane, or bacteria surviving inside predator bacteria. It only needs to happen once.
That’s a truism that doesn’t add anything. You know when you’re tired, and when a comfy warm enclosure might make you fall asleep. In such situations driving like that is as bad as driving drunk.

Don’t do it.
Im struggling to imagine how going to the doctor is going to fix this guy's issue.

Do you hypothesize the doctor will be able to cure him?
Nvidia Release Maxine: Cloud AI Video Streaming Platform