skysight-inc/HackerNews huggingface dataset:
Depends on your architecture. For scaling out rather than up, node and python are both far more performant because the footprint of minimum viable environment is much smaller. When you need to serve anywhere from 10-200,000 requests a minute on the same system quickly, and efficiently, lambda/azure functions/google app engine backed by node or python is pretty ideal.

As an example, when my org needs to contact folks about potential mass shooter events, our SLA is 90 seconds. If we did it in cloud with java or .net, it'd be too slow to spin up. If we did it on prem, we'd be charged insane amounts just for the ability to instantly respond to low frequency black swan events, or it'd be too slow. This is a real story of how a Java dev team transitioned to using node for scale in the first place.
FTA:

“Proof of Average O(n)

On average, the pivot will split the list into 2 approximately equal-sized pieces. Therefore, each subsequent recursion operates on 1⁄2 the data of the previous step.”

That “therefore” doesn’t follow, so this is more an intuition than a proof. The problem with it is that the medium is more likely to end up in the larger of the two pieces, so you more likely have to recurse on the larger part than on the smaller part.

What saves you is that O(n) doesn’t say anything about constants.

Also, I would think you can improve things a bit for real world data by, on subsequent iterations, using the average of the set as pivot (You can compute that for both pieces on the fly while doing the splitting. The average may not be in the set of items, but that doesn’t matter for this algorithm). Is that true?
> The vast majority of my browsing is limited to a handful of sites that I already know.

Which is why search is at the local equilibrium it is.
> “Uber flagged it as fraud because of high usage rates,”

How dumb can you get.

Oh. Even dumber. Blame the customer:

> the Uber Eats page provided an error message that said the gift card “has been canceled by the issuing party and is no longer valid.”
I would sooner attribute the former to "didn't work at all" than "was smart enough to cross check and be confident enough to figure out the location data was inaccurate and hide the result from the user".
Wow! I'm putting together a podcast about emacs and I'd love to talk to you about your experience for it. Please contact jerod@changelog.com if you're interested.
They do have a stake in their performance. It's their salary. If their performance is poor, in a functioning system they lose that salary.
when I build a POC in particular, there's a LOT of power and flexibility granted by not giving a fuck about types

I find the same thing, but only for very small throwaway scripts and the like. For anything beyond like 20 lines of code, I rapidly hit confusing cases like “is this parameter just a map, or a map or maps?” Then I add types and it makes sense again.
The end of Mbed marks a new beginning for Arduino
Isn't it just a name?

A user can easily enable the developer tools if needed, same way I'm not a mechanic but can open the hood of my car.
> “Scapegoating others, especially China that has been trying to help, cannot resolve the U.S. problem of fentanyl,” Liu said. “What the U.S. needs to do is to reduce domestic demand, strengthen prescription control, (and) step up (its) drug awareness campaign.”

The Chinese do have a point with the first part, but the second part is wrong. The opioid crisis of the US is homemade, just as the meth crisis in Europe is - and it's not pill mills or a lack of drug awareness that's causing it. Everyone is aware of the dangers of drugs, and pain patients have serious issues across Western countries to actually get treatment these days that's harder than cannabis because doctors go with "you're just an user" to play safe.

The drug crises of the West are crises of economic perspective and crises of the (mental) health systems. It's no surprise that drug abuse correlates with "left-behind" areas on one side, and on the other side with homeless and/or mentally ill people in urban areas that self-medicate the immense stress they're going through.

Living on the streets with a job is hard enough, living on the streets unemployed is even harder, and living on the streets with unmet mental or physical health needs... it doesn't get worse than that.

Side note: the reason why it's fentanyl and meth that's causing most of the trouble is simple - both are incredibly easy to synthesize (to the point entire TV shows got made about it), and fentanyl is just so potent that it doesn't make sense to harvest poppy in Afghanistan and smuggle it across the world any more.
As it turns out, the Federal Reserve chairman happens to be on record as wanting to suppress wages because he blames high wages for inflation[0]. In other words, the current dumpster fire of an economy was the intended goal of the Federal Reserve's interest rate increases.

[0]: https://www.politico.com/news/2022/11/30/feds-powell-inflati...
I prefer prices per 100g because I mostly buy food that's under one kilo. I'm sure they show prices per 100g just to make them look cheaper but in my case I actually prefer it this way.
They are pretty horrible to each other at times too. More or less illustrates the somewhat Hobbesian idea of continual reduction of violence since probably the last common ancestor to today.
> so that there is still an incentive to contribute to society with your work.

I think you're mistaken on some parts. The problem that UBI is trying to solve is that we're quickly approaching a situation where we don't need people to 'contribute to society with their work' anymore.

On some basic level the economy works because companies produce products and services and the consumer pays for those products and services.

Currently the consumer side is in large part financed by wages.

This means that a large part of the economy is dependent on a large part of the consumers being employed.

This will be a problem when there is a very high possibility of mass unemployment when advances in AI will make most jobs obsolete.

The solution is to decouple the consumer income from employment, through something like UBI. This allows people that are jobless to still contribute to the economy and keep (local) businesses alive.

For this to work UBI actually does need to be able to provide a comfortable (desirable) life. This doesn't mean luxury, but it should allow someone to have a house, buy groceries, visit friends and family, use (public) transport, go on a 2 week (national) vacation every year, save a little bit.

If the UBI is not enough to provide a comfortable life, people will still need to work which doesn't solve the problem.

I think making the UBI low enough that most people will still work is exactly what would cause inflation. If the UBI replaces wage, the amount of money in circulation wouldn't change, so no inflationary pressure. If people keep working but get an extra UBI on top, the amount of currency would greatly increase thus lead to inflation.

Personally I think we all should just accept that if we allow people to truly choose what they want to do, some of them will choose to do nothing. But in general people are productive creatures, and most if not all, have some limit to the time they don't want to do anything. Besides that UBI would be a great incentive for people to start their own business, volunteering, or doing valuable things that are inherently unprofitable
Guess today I'm one of the lucky 10,000 to read this essay.
Show HN: Florence2-Sharp – Advanced Image Understanding and OCR in C#
We're excited to share florence2-sharp, a C# library implementing the Florence-2-model for advanced image understanding tasks. Florence-2 uses a prompt-based approach to a variety of vision tasks, and provides great zero-shot performance across many vision tasks.

Our C# library supports:

- Image captioning (from concise to detailed)

- Optical Character Recognition (OCR)

- Region-based OCR

- Object detection

- Optional phrase grounding

The library is a C# port of Microsoft's Florence-2 model (from https://huggingface.co/microsoft/Florence-2-base), based on the original model and the JS port by Frank Krueger (https://github.com/praeclarum/transformers-js).

Repo: https://github.com/curiosity-ai/florence2-sharp

NuGet: https://www.nuget.org/packages/Florence2
You shan't forget now.
The Democratic People's Republic Of Korea is ostensibly a democracy. Words are cheap, how much political power do the people actually have?
Yeah, this is spot on. It's just that the priorities are different (even unemployed Greeks scrape enough money to have coffee with their friends), which can seem to Americans like we're lazy.
I was wondering what the fallout would be if businesses had to pay Google to include their business on Google Maps.

Like, if McDonalds didn't pony up every year, they drop out of the list for Fast Food searches.
This is incredible. Well done!!
Yelp was high value in the past - its going to low value in the recent years. It's also regional in its value.
There are likely many scenarios where the caller is not able to (accurately) describe the scene. The caller might be a child, scared & hiding, or injured.
They're being diplomatic by vaugely gesturing that "not all browsers" have dropped third party cookies, but isn't this squarely directed at Google?

The only other two browser engines that matter have already done it.
Saw that somewhere in Social Media, though that it was a meme.

Apparently now reality itself is a meme. This is what happens when you combine a huckster with ridiculous "no-sue" clauses... you get a $10 gift card.
That almost covers the fees of the marked up food.
Making WAF ML models go brrr: saving decades of processing time
My experience was struggling a lot to integrate without German when I lived in Zurich. Then I learnt German and struggled with Swiss German.

Great standard of life but can be isolating for some people.
Unless you are happy sticking to the expat bubble, nothing wrong with that.
> An object has state and operations combined.

My own definition has always been that an object has state and identity.

I have never considered functions/methods to be a requirement for something to be an object.
Do you include good examples and documentation for context, since they do not seem to include much training data directly related to what you’re working on? I have mixed to positive-ish results with that approach.
Yes, the credentials were invalidated promptly, before trying to remove them from GitHub. That said, we were using different version control system and GitHub was new to us. This was many years ago.
> Despite the growing evidence for harm at even low levels, adults in the UK are advised to keep the risk down by not drinking more than 14 units a week. Half a pint of average-strength lager contains one unit and a 125ml glass of wine contains about 1.5 units.

This is what gets me. People hear 2 "units" per day and think 2 drinks per day, and so they think I'm only having a "couple of pints", so I'm fine. Well, each pint counts as two drinks, so having two pints per day is actually 4 drinks - and that's "average-strength" lager. The craft beer movement is producing stronger and stronger brews such that 2 pints of your favorite craft brew is actually 4 to 6 drinks.

I'm thinking we need to consider labeling laws. Each bottle should indicate how many drinks the bottle is. At the pub, each brew should have the number of drinks beside the brew name. This is super helpful information that will go a long way in helping people to manage their drinking and not drinking more than they intended to.
As in 51% of people using AI to dominate the remaining 49%? The latter group could contain artists.
yelps relevancy had already declined by the time it was included in apple maps
Fly.io is sunsetting LiteFS Cloud
Ah so when reddit uses user content for monetization it's ok but when others do it then it isn't? Reddit may want that double standard but I think the only thing they are going to achieve with this stunt is more people ignoring robots.txt.
The last thing in the world I want is another hobby.

I want something with a warranty and a local dealer who will service it.
This is a non sequitur. I'm not saying central planning in general is bad. Companies are an example of central planning. So are families.

I'm saying communism is bad.
I never used Notion before but looks pretty interesting.
But, I use Navicat and DBeaver for viewing and editing my Postgres tables.

There's free version now for Navicat I noticed yesterday.
https://dbeaver.io/download/
https://navicat.com/en/download/navicat-premium-lite
Photoshop vs Gimp for example
Even then, continents have little to do with it. The Indian numbering system is indeed used in much of Asia - but it's not used in Russia for example. If you live in Vladivostok, you might need to learn these two systems even if you never do business with anyone farther than 300km from you.

And in Europe there are numerous differences between countries of this kind - Germans and a few others use different number separators (1,000 is 1000 in France or the UK or Spain, but 1 in Germany or Romania). Several places drive on opposite sides of the road. The UK uses many imperial units. I'm sure there are others I haven't even come across yet.
> The fact that pointing that out as a flaw gives you "junior programmer vibes" is seriously concerning.

It's the fact that you hand wave away Text rendering as "just showing text" while claiming you've made your own.

Then claim that platform code is terrible because it...uses flags to determine what platform it's on and use the appropriate commands...

THAT is what gives me JR eng vibes.

> Also, you failed to address even a single point I made in my post about TextView.

And there's the lack of reading comprehension with a Jr.

"You didn't say anything about X component."

Yeah, when talking about components A-Z and the structure around them you don't typically need to point out that X will be included, but here we are.
Learning to filter out outrage bait takes work, but I find it very worthwhile.
The question in my mind is why Twitter even should be using its own emoji set at all. Seems like it should either be up to the operating system vendor or the user what font they use for emoji.
Now we just need to wait for the horror movie that uses this properly
Not necessarily.

With a couple exceptions (like enums), you can strip the types out of TypeScript and end up with valid JS. What you could do is stabilize the grammar, and release new versions of TypeScript using the same grammar. Maybe you need a flag to use LTS grammar in your tsconfig.json file.
> I can’t do without the help of AI

Yikes. Maybe you shouldn’t be in software engineering? Not a great look, professionally.
With 256 counters, you could use the same approach with four passes: pass i bins the numbers by byte i (0 = most sig., 3 = least sig.) and then identifies the bin that contains the median.

I really want to know what a one-pass, low-memory solution looks like, lol.
There are two kinds:

- quantile sketches, such as t-digest, which aim to control the quantile error or rank error. Apache DataSketches has several examples, https://datasketches.apache.org/docs/Quantiles/QuantilesOver...

- histograms, such as my hg64, or hdr histograms, or ddsketch. These control the value error, and are generally easier to understand and faster than quantile sketches. https://dotat.at/@/2022-10-12-histogram.html
> Do codecs need to be supported by the browser itself?

Not necessarily. The browser could defer to licensing established by the operating system vendor, but Firefox places the expectation upon itself to have parity across platforms and to not support encumbered technologies.

> Linux does have h.265 support at least in mpv.

And if you've negotiated the licensing fees you can even use it, but chances are... Microsoft and Apple have dealt with the licensing for you on their platforms, so the ballgame is different there.
Yes it is essential to maintain many neural structures and really abundant in a normal functioning brain. What may be an issue could be the accumulation and still we are not sure it couldn't be a protection mechanism for another problem.
Same here. Our losses were quite significant - between lost productivity, inability to provide services, inability of our clients to actually use contracted services, and having to fix their mess - its very easily in the millions.

And then there will be the costs of litigation. It was crazy in the IT department over the weekend, but not much less crazy in our legal teams, who were being bombarded with pitches from law firms offering help in recovery. It will be a fun space to watch, and this 'we haven't tested because we, like, did that before and nothing bad happened' statement in the initial report will be quoted in many lawsuits.
Product types are tuple types.

Record types are tuple types with names instead of indexes.

The TypeScript “&” is another thing.
umm this is kinda tongue-in-cheek

```

#include <time.h>

#include <stdio.h>

int main(int argc, char argv[])
{
int i = 0;
time_t timep;

/*
* ok so now we are printing something
**/
printf("Greetings!\n");

/*
* this is a for loop from 0..9
**/
for(i=0; i<10; i++) {
time(&timep);
localtime(&timep);
}

printf("Godspeed, dear friend!\n");
return 0;

}

```

now, the canonical

```

$> gcc tz-test.c -o obj/tz-test

```

now do this

```

$> unset TZ

$> strace -ff ./obj/tz-test 2>&1 | grep 'local' | wc

10 77 851

$> export TZ=:/etc/localtime

$> strace -ff ./obj/tz-test 2>&1 | grep 'local' | wc

1 5 59

```

moral, always set TZ to avoid localtime(3) from stat'ing /etc/localtime :o)
The problem is most employees don't have enough control to do anything about bankruptcy. Even if you see it coming you can do nothing about it from your position. seeing it coming is also hard as employees are rarely given that information - odds are a significant chunk of employees find out about the bankruptcy via the nightly news when it is too late. Once you have hindsight it is easy to look back at the financial statements and see it coming, but most people are not qualified to read those statements and so won't understand what they mean - or how a bankruptcy event looks different from normal ups and downs.
> Only needed if you add a text editor into your text view, which I did not do.

> I'm not going to go through all of these because I'm not sure exactly which side implements them (for example elegantTextHeight sound like something TextView does, but I'm not sure.) I suggest you actually sit down to read TextView before you make comments about it.

Which is exactly my damn point, you expect your case to be the only one used. They have to think about EVERYONE and their use cases and how everything interacts.

Have you handled LTR text correctly, custom unicode in fonts, weird alignment issues due to accent marks?

My guess would be no, simply because you never thought of them.
Yes. This comes very shortly after Google announced (in very “our incredible journey” style) that they’re dropping their plans to deprecate third party cookies:

https://privacysandbox.com/news/privacy-sandbox-update

I’m very happy to see this being called out. Reading between the lines it would seem Google’s ad arm has seen the effects of other browsers banning third party cookies and said “no way you’re doing this, Chrome”. I’m sure the Chrome engineers are livid about it (but that’s the deal they make by working there, I suppose)
I know Rapid SOS works in this space: https://rapidsos.com/
I'm not sure if you are reading what I am saying by bias. Human language, events, decisions, only exists in the cultural and historical contexts around it.

> unbiased courts

You say this as something could ever exist. A court will always have a bias because it is humans with values and morals that make a decision. Think about the classic "would you steal bread to feed your family", or even the trolley problem, or as a very concrete example the recent overturning of Roe v Wade in America (keeping in mind that both sides of that discussion reveal an implicit bias based on your starting set of morals and values). Any question that involves a base set of values and morals will never have an unbiased answer.
> 1) Fork the repo. 2) Hard-code an API key into an example file. 3) <Do Work> 4) Delete the fork.

... yeah if <Do Work> is push your keys to GitHub.
A $10 gift card after messing up millions of devices and stranding tens, maybe hundreds of thousands of people...this seems completely tone deaf. Giving people a $10 gift card feels worse than just apologizing. It's like crashing someone's car and then giving them a bag of Skittles for the trouble. Sure you can't uncrash the car, but the bag of Skittles trivializes the whole thing and makes a genuine apology feel cheap.
> They own a non-exclusive worldwide right to it.

They demand that right. That doesn't mean they actually have a right to use the content in ways that are not directly required for the operation of the website or that are otherwise surprising to the average user. Putting something in the TOS doesn't always make it a valid contract.
Geeks who worked 24 hours straight to remedy the outage earned their cup of coffee. Uber is happy for sure.
Luckily we have Mistral, Meta, and even to an extent Google working on democratizing AI.
> These measures would include cyberdefense and data center security innovations to prevent hackers from stealing key intellectual property such as model weights and AI training data.

Let's be equally democratic about democracy. Stop people from seeing voting data, and prevent legislation from being leaked to the public.
Around 15 years ago, as a semi-joke, my Mother bought a wireless doorbell and put the speaker in my brother's room to announce dinner was ready. It turned out to be quite handy actually. I think Alexa is a bit overkill for that usecase.
Lotus... Notes?

;^>
No, here the point is training on that specific task. E. g. the literature classes you took during your education will be irrelevant for such a task.
> He says whatever he thinks will make his ratings go up. So the people and media just need to frame what he sees in the way we want to shape his opinion

That's how you deal with a toddler.
UBI being "good" is all in your mind for now, unfortunately.

Where to take the money UBI needs from is a huge issue as well.
They've added ratings to the Maps app for certain categories of businesses (or maybe it's for businesses not in Yelp, dunno). It looks like they are testing it out. It also supports picture upload.
Well I mean at least intellectually.
RhodeCode made a first-in-a-while feature-rich release
Independent source code management platform RhodeCode just announced the official release of v5.1 of its enterprise source code management system. This is the first feature-rich release in a few years. There they finally introduce 2FA, email-based log-in, branch management enhancements and updates that will improve users’ work life.
All the details are already on their official website.
> Some recent good examples of the designed-for-purpose approach include:

> FedCM. Third-party cookies have been used to support single sign-on. FedCM is a set of technologies built to support identity federation, without replicating all functionality of third-party cookies.

>CHIPS. The goal of CHIPS is to allow state, without supporting correlation or tracking between web sites which don't know they are collaborating, for example, when embedding third-party services like customer service webchat.

I've not heard of these two approaches. Can anyone vouch for their efficacy?
As a generalization, American culture is significantly more optimistic than European culture. The fixation of the latter on risk and the former on reward reflects baseline cultural assumptions about what the future will look like. Building a high-growth startup, or investing in one, does not look like a sensible decision to a pessimist and this is reflected in attitudes and behaviors.