skysight-inc/HackerNews huggingface dataset:
Show HN: I built a library to host your Next.js app statically on S3/CloudFront
As the next.js server-less feature set has become more robust, I find myself reaching for the static site generation feature more often than not.

Static hosting is cheaper, and significantly reduces the underlying infrastructure overhead / risk of hosting your site. It also cuts the switching cost if you every need to change providers.

That being said, dynamic routes don’t work the way you would expect with the latest app router + SSG, and most static hosting providers (e.g. S3 + Cloudfront) don’t handle routing with next.js code splitting properly out of the box.

After running into these issues with a few projects, I bit the bullet and hacked together next-static-utils to make it simpler to port your next.js site to any static hosting provider, starting with S3 + cloudfront, which suited my use case.

It works by generating “fallback pages” for the dynamic routes as well as a cloudfront edge function to handle properly routing requests to the fallbacks and avoiding dreaded 404s.

I’m using it for an admin dashboard where SEO / SSR is not important, and we have a separate backend. Hope folks on HN find it useful too!
If it's in the cloud, you pass the public key when creating the vm. If it's a real machine, ask the data center person to do it.
having a large market share because your product is superior to your competitors' is hardly anti-consumer
Newer versions of Ansible don't work with RHEL 8
It is puzzling to me that so many people seem to think this concept has no value. To me the concept is obviously good and something I have wanted for a long time.

Of course the security of the implementation is important and I agree with some of the criticism there. But I see a lot of people arguing that the feature is worthless, or that it doesn't make sense at the OS level, or that Microsoft specifically should not be allowed to add it to Windows, and I have to strongly disagree.
Some might argue SSH certificates are even better:
https://smallstep.com/blog/use-ssh-certificates/
This is not true. SSH keys are a viable alternative.
Not to mention all the dark pattern lying nag dialogs that will trick you into turning it on, or just wear you down.
EaJd8S ?
That's ahistorical at best. Compare worker's rights in capitalist countries which had strong unions and in ines that didn't and you'll see you're wrong.
Interesting argument, so you think the non-white particles of each layer might accumulate while layers of ice melt
> Japan is set to introduce a new set of bank notes this summer, something it does every 20 years or so to thwart counterfeiters.

> New yen notes [...] won’t be compatible with many machines that businesses like ramen shops rely on.

> The country has 4.1 million vending machines...

Sure sounds like planned obsolescence, at scale.
Show HN: I made an AI art newsletter to show off AI Art
What I've learned is that a video play/pause button in the far right corner is horribly unintuitive.
>As written in several comments there has to be a bishop

you missed a chance to say "only under a bishopric"

https://en.wiktionary.org/wiki/bishopric
With Chat Control[1] coming up in EU, it would be awfully convenient to have the technological capability readily available to deliver a solution.

Once you have the Recall capabilities, it doesn't take much to start collecting and searching the data.

[1]: https://www.patrick-breyer.de/en/posts/chat-control/
Pregnant stingray has a rare 'reproductive disease'
Does Recall run entirely locally? I don't think your browser history gets sent out
Exactly - knowing the content of each webpage is pretty easy if you're "big brother" surveilling millions of people, even more so if you have a Chrome extension to help.

It's "little brother" that benefits a lot here: bosses, spouses, parents, etc., who otherwise wouldn't click on 1000 links in your history.
I was comparing hikers with horses not Romans
Repeating a reply to a comment here, but I think it needs to be said.

People need to be careful they don't overgeneralize too much about HP. Especially if basing opinions on home/small office product lines, which is not all HP does. I'll fully agree that the bad rep due to home/small office products is probably well deserved.

But HP has some pretty interesting and successful products such as the Life Sciences dispensers for cells and fluids (see https://www.hp.com/us-en/specialty-printing-solutions/life-s...).

Then there are the industrial printing products (https://www.hp.com/us-en/industrial-digital-presses.html) which are rather mind bogglingly fast and capable. Imagine a printer printing to a paper roll 40" wide at hundreds of feet per second, and the printing is paper statements to be cut and sorted for mailing.
Given their eagerness, I'd guess:

> on by default in Windows 11 25H1, impossible to disable in Windows 11 25H2
That's a pretty weird summary of openbsd development.
I agree with you even though this is cynical. This is the likely response to climate change. It seems that our societal inertia is too great. People will not change unless climate change forces them to adapt.
OpenSSH is used in variety of platforms, enforcing secret key will prohibit it's usage in lot of places due to the added complexity.
I don't really understand your question. Removing password auth reduces code complexity and therefore attack surface whilst also preventing users from using the software with a dangerous configuration. Maybe the users don't want that, but tough shit, maybe it's the nudge they need to use SSH keys.
You can (and need) to do both. And OpenBSD does. LibreSSL as one example removed a huge amount of dead/spaghetti/obsolete code from OpenSSL. And they are removing old/obsolete features all the time. Do you use OpenBSD? Do you read the release notes?
> an increase of 2.9 ppm since May 2023 and the fifth-largest annual growth in 50 years of data recording.

So then it's not faster than ever? Just somewhat fast compared with recent climate data. The author seems to have no capacity to distinguish between a measurement and a change in measurement. The article postulates it's because of "continued burning of fossil fuels" but that wouldn't contribute to a higher rate of change unless the amount of fossil fuels being burned is higher. I'm curious if there's some post-covid economic effect leading to this, but from what I've read it seems to be just because we're in an El Niño phase?
Great job reminds me of Telnet Matrix but with colour :) (Edit also just found this https://ascii.theater/ )

I wrote something similar a few years ago for a retro computer image converter using a fixed font from that computer, it also did dithering prior to character conversion as it resulted in finer gradients for photos.

https://github.com/KodeMunkie/imagetozxspec/blob/master/src/...
Vulkan is a continuation of AMD's Mantle which is then older than Metal.
The concept itself has value, but the ethical and legal concerns are severe, not to mention the issue of Recall also capturing sensitive stuff like passwords.

Microsoft, Google, Apple - everyone is scared shitless of some AI startup kicking their nutsacks, and is launching products that should have gone through extensive ethics discussions beforehand in a matter of weeks.
But don't input embeddings need to undergo backprop during training? Won't the external-model's embeddings just be noise since they don't share embedding space with the model that is being trained?

If the external-model also undergoes training along with the model then I think that might work.
>Ever tried to figure out if a bash variable is a string or an array?

if [[ "$(declare -p some_array)" =~ ^declare -([^\ ]*a[^\ ]*)\ .* ]]; then

echo "Array".

fi

This is the quick and dirty version and it doesn't recognize an array that was assigned to a nameref, but that's a different discussion.

>Or when to quote something with spaces? It’s a battle.

You __ALWAYS__ quote and if you want to be on the safe side you always use "{}" around the variables as well.

You also use "set -o nounset" to do yourself the favor of not working with variables that don't exist because of e.g. typos.

>Discoverability Disaster: Your beautifully crafted CLI tool is now hidden behind an unsightly bash script. Not the most welcoming first impression.

How's that different from the macro? The attempt is the same, to abstract the complex command line options of a tool behind something "easier".
Show HN: Chrome extension makes YouTube default to 1.5x speed
Just for info: there are alternative SSH server implementations out there that disable features that are discouraged (e.g. password authentication)[0]

Tinyssh is just one I already knew, I suppose you would find more via a proper search.

[0] https://tinyssh.org/
I'm truing to understand here what you were expecting the outcome to be? Your old motherboard back, but fixed?
Yeah, that's why I laugh every time I get an offer for ~$200k (a very good startup salary) in SF.

The average cost of living for a 4-person family in SF is ~$350k [1] (I'm guessing that's pre-tax, and probably the job is also paying for 100% comprehensive medical & dental insurance for the entire family) and my spouse wouldn't be able to work (and even if she could, low chance of her also getting a $200k job offer at the same time!), and I'm not gonna willingly decrease my standard of living and my savings rate ...

I mean, I don't mind if that's their budget, I always mention that it probably makes more sense to hire someone local, but ... why even bother interviewing senior non-SF-based candidates in the first place?

[1] https://www.cnbc.com/2024/03/27/how-much-money-family-of-4-n...
To be fair for me the extensions that get that are uBO, Privacy Badger, and Tampermonkey.

I trust gorhill and the EFF to not fuck me over on my data, and Tampermonkey kinda needs those sorts of permissions to work. My password manager has read access to every website but I'm already trusting it with all of my passwords so...
Gigabyte has had dual bios motherboards since 1999, but made it standard for all their motherboards in 2009.

https://www.gigabyte.com/Press/News/795

As I recall, they initially introduced this feature due to a virus around the time which would intentionally corrupt BIOSes.
I didn't experience any major safety concerns when using the free self driving trial, but I ended up only using it on completely empty roads because I was too embarrassed about how cautious it drove.
How much of it is still Perl?
no it isnt the same, you may know I went to my health care provider's website, maybe even to make an appointment depending on the url, but with recall, everything that is on the page will be stored, not just the url. It's totally different. So the message I sent my healthcare provider that is discussing some of my most sensitive medical issues will be available to read and a record is kept of it... not just the url. Do you not see the difference?
I have never seen a person with a dualie who actually hauled things. They're cosplay items. Fuel efficiency is a negative for that market segment.
The things you are describing are not going to make a material difference. Ground all plane travel, permanently. Ground all car and truck transportation that is not electric, permanently. No electricity generation except by solar, wind, wave, nuclear, etc., permanently. Kill all cows and have a giant BBQ and then no more methane producing livestock are allowed, permanently.
I expect it does, if you're using Chrome outside of Incognito Mode. Iirc, there is an opt-out about "web history" on the google account - which then disables some other things so that it annoys enough people into keeping it on.
Pascal or Visual basic
With handwriting? With mixed fonts? Tesseract requires heavy customization and extension to perform reasonably on these workloads. The off-the-shelf options from major cloud providers blow it out of the water.
Well when the competition decides their strategy should be to sell 105% of the raster performance for 95% of the cost while having none of the software features that consumers want, no wonder Nvidia is dominating. Some features like DLSS are simply more important than raw raster performance and customers will buy those with such features.
"Total Recall" in quotes makes me think you're trying to get your ass back to Mars and that you're trying to remember something because you had your memories wiped. It makes me think of nothing about a friendly service being offered forcefully upon you from your friendly and malevolent OS provider.
Mathematical models answer all sorts of 'why' questions: why is the sky blue? why do the planets move the way they do? Why does biological altruism exist in a Darwinian world?
Yea, seems like a continuation of the same fundamental problem? I don't know.

As a commenter there put it - """The actual summary of the article is "The design of Postgres means that updating existing rows is inefficient compared to MySQL"."""

I think this is yet another approach to dealing with the cost of updating rows?
Huggingface? It's a US based service. I think it was just erroring out due to load. Barely anything went through for me on the dozen attempts I tried.

The model is from a CCP aligned corporation, Alibaba, and it is (surprisingly) not censored on this point.
If this is indeed a yellow union, I stand corrected, of course. What makes you say it is?
This is an article about a free, open source tool. Running FOSS tools to tweak my desktop isn't frustrating.
Bingo. You still need your whole Ops and tooling teams. They just become Cloud Ops and Cloud Tooling.
How can you have the number of employees they do and not have a single non-sychophant employee?
Porting Takua Renderer to Windows on Arm
The other extreme would be nice. Something very low powered that can spend 99% of its time in standby. Then you could run the whole thing on a battery for months. For a weather display, waking up for a few milliseconds per minute should be enough.

The 7" E-Ink display is US$86, which is not too bad.
The farther away from your computer you stand, the clearer it becomes. It might help knowing it's a small part of a company logo on the examples page.
That's exactly wrong, we know some things that can be expressed as "a sequence of tokens" are harmful and indeed have already made them crimes.

What we need is to characterise what is possible so we can skip the AI equivalent of Union Carbide in Bohopal.
the concept is valuable but so ripe for abuse that even it existing at all is a threat to everyone's privacy.

I have been a windows user basically my whole life. 3 years ago I got an ipad pro (2018, 12.9") for drawing and I hate the operating system. 7 months ago I got a steam deck and its fine for games but doing anything in the OS is confusing and annoying.

Microsoft announced recall and suddenly I'm using a spare computer to test linux distros, and I suck at everything to do with linux and I'm doing it anyways.

It's too dangerous, to much an invasion of privacy, and too easily enabled completely outside of my control.
They did pass a few major spending bills, putting large sums of money into the economy.
There's a high bar to set for most organizations. Leveraging certificates is excellent if the supporting and engineering actors are all in accordance with how to manage and train the users and workforce how to use them (think root authorities, and revoking issued certificates from an authority).

I've seen a few attempts to leverage certificates, or GPG; and keys nearly always are an 'easier' process with less burden to teach (which smart(er) people at times hate to do).
> FWIW, I've found the most joy by subscribing to very local, independent news outlets.

Watch local news outlets when there are local elections, you might find that their independence was just thay they were dependent to someone you agree with. It's very hard to find truly independent media, because unethical media eats their lunch.
Browser history doesn't show my passwords, everything I typed out and did on the machine.

In comparison browser history is nothing.
I switched to Macs in 2006 and haven’t felt like Windows’ grass is greener once since then. Until today.

Maybe it shouldn’t be on by default, but this looks amazing.
passwords are the last of it, think about women inquiring about abortions in states where they aren't legal. Or people trying to get away from an abusive partner, on and on it goes.
It is a pretty simplified view.

I wrote an electric vehicle power / efficiency / range estimation program back in college when I was very into building electric bikes. (More advanced version of the ebikes.ca calculator for an example). There were a whole lot of parameters that went into actually estimating the performance, but the general rule of thumb was rolling resistance is pretty much worth ignoring (for efficiency) until you have spent time optimizing aero and drivetrain losses.

It was pretty damn close to real world measurements.

I'm going to use rules of thumb rather than exactly calculating things for a colloquial conversation online.
They are answering ‘how is the sky blue’ not ‘why’ the universe has a mind (in the form of human) to experience the blueness :)
The only difference I see from XLNet is how they use it during inference.
How Mount Everest killed George Mallory
That's the hidden joke. In early Win10 it used to be a simple dark-pattern screen with a prominent button "use a Microsoft account" and a text link in the corner "use a local account". Then they made it increasingly ridiculous with subsequent updates until the current point where you need a tutorial on how to even make the option visible.
>more and more

It's been like 18 years since uTorrent... and that was Windows only, unless I'm crazy.
“I remember being born”
> It doesn't make sense to have the limits as low and the fines as high when every single person that goes over the limit can be fined.

Oh it makes sense alright...for police departments mandating a ticket quota and receiving direct revenue from speed camera fines.
Hmm. I think I can respond here.

No one is really saying this feature has no value. For a user, there is value to being able to get to a previous point in time. That feature, however, is clearly not very well designed and implemented if it took days for it to be cracked on the internet for everyone to see. If I could trust that it STAYS local, maybe I would be less paranoid. But this is MS we are talking about.

Personally, I am glad this thing was created. It may be finally make people hesitate over the evolution of PCs.
how would the recall data get expanded if it is not plugged in all the time? hopefully you can see while it's not designed that way
Because it burns in, or because it fades out?
Yet despite all that I've witnessed accidents still make it in production...
As I said, nowadays it's not working so well. I wouldn't do it - saying this as a former trader that used it successfully (15-20% returns p.a.) for more than a decade, but 20 years ago. Today I don't daytrade at all, just some stock picking based on my knowledge of the tech industry.
I mean, if you like state space models, then you should read the paper on Mamba if you haven’t already! Because it quite literally uses state spaces… and you will probably think it’s a really cool application of state spaces!

Apologies if you know the following already, but maybe others reading your comment feeling similarly will not be familiar and might be interested.

At least intuitively, I like to motivate it this way- pick your favorite simple state space problem. Say a coupled spring system of two masses, maybe with some driving forces. Set it up. Perturb it. Make a bunch of observations at various points in time. Now use your observations to figure out the state space matrices.

There’s fundamentally not really anything different (in my opinion) with using Mamba (or another state space model) as a function approximation of whatever phenomenon you are interested in. Okay Mamba has more moving parts, but the core idea is the same: you are saying that on some level, a state space is an appropriate prior for approximation of the dynamics of the quantities of interest. It turns out being pretty remarkable the number of things this can work out quite well for. For instance, I use it to model the 15-min interval data for heating, cooling, and electricity usage of a whole building given 15 min weather data, occupancy schedules, and descriptions of the building characteristics (eg building envelope construction, equipment types, number of occupants, etc).
>please don't try to argue about the value of gold coming from its physical properties

I understand why you would want to discount from the conversation the very things that make gold valuable; but I don't have to let you move the goalposts. Gold has properties of corrosion resistance (store of value), rarity, and desirable qualities(such as its color and weight, using it in jewelery to attract mates) which allows it to be a medium of exchange, and the fact that it is easily separated from other metals by its low melting point, not to mention its luster is different from other base metals used for currency, makes it easy to use it as a unit of accord for payment of taxes and such. These properties are unmatched by other more common, natural materials-- that humans have long recognized it as unique and rare on Earth merely raises its intrinsic value to human society. Ya can't eat gold as a person, after all.

(lest you think me a gold bug, I don't have any gold and actively recommend that humans not possess it except where they actually need the properties in question. I do the same for fiat currency too. They're all just tools for getting by in life)
I bet there are a trillion companies and governments who want to know what all of their employees are doing every second of the workday. compliance won't stop them from trying.
and abusive partners/stalkers.
Hey Checkly founder here, we changed our infra quite a bit over the last ~1 year. Still, it's mostly ephemeral compute. We started actually on AWS Lambda. We are on a mix of AWS EC2 and EKS now, all autoscaled per region (we run 20+ of them).

It seems tiny, but in aggregate this will have an impact on our COGS. You are correct that if we had a fixed fleet of instances, the impact would have been not super interesting.

But still, for a couple of hours spent, this saves us quite some $1Ks per year.
Auth is included in your stack, e.g: django comes with it.

Plus you own the accounts, so you are not locked in.

Sync is the firebase kill feature, but most apps can live without it.
> live without water.

The Middle East is surviving just fine without sufficient access to fresh water; desalination makes water more expensive but not significantly so.
“Real estate baby!”
That's not really good enough though, the distros just enable the build flags that let them do naughty things. The software needs to be opinionated on how to use it securely, not leave it up to the users, because the developers that wrote it probably know best! The code simply needs to not exist. If users want to fork and maintain their own insecure branch, let them.
I saw a yellow dot alert next to the restart/shutdown button on my Windows machine the other day. Those historically indicate a request to restart to apply critical updates. But no, it was a message recommending I sign into a Microsoft account.

That was the last straw for me when it comes to Windows BS---designs that only serve Microsoft, and disrespects all the other times I've said no to their crap. I switched everything over to Linux the next day.
Oh amazing, no idea how I missed that green button LOL. Was too excited about the details.
I didn't down vote you but you didn't respond to this: "Yes they do, this is what the underemployment metrics measure."

which is probably why. if your going to throw out stuff you need to back it up with links and other types of evidence. HN isn't like other social media.
I setup a test smallstep instance recently, and it works really well. Setup is... complicated though, and the CLI has a few quirks.