skysight-inc/HackerNews huggingface dataset:
I would imagine that it'd be best done with the "share" API that already exists.

A website designer then might say "share this url on click" and the browser takes over and/or defers to the OS.

Now, the share() [https://developer.mozilla.org/en-US/docs/Web/API/Navigator/s...] falls short in passing along context for login (e.g. cookies) so I'd imagine that this would either be part of the browser, or something the share() api could extend on, though I'd be unconfortable about the security implications of the latter.

The share() also falls short on desktop in my experience. AFAIK, firefox (on linux?) doesn't even have the share() API available.

The browser now already registers itself as a target to share web urls. It does this already (on my mobile devices at least) as "Open URL in Firefox" for example.

It should and could also add a target to share web urls, but call it "Send to device". Firefox for Android used to have this and it was awesome. But mozilla somehow dropped it. (There was a long thread on a bug report about exactly this, but I cannot find it).

Also, when I choose that option, it'd not just send the url along, but could also send any cookies or even localstorage and other data along. That way I'd be logged in.

That last part would be part of the "send to " feature, in Firefox called "firefox sync" and possibly be configurable from there to opt out of sending session or other data along.

Point is: there's no need for extra "target=" hackery, we already have all the tech in place to send links to devices. Instead, we'd have to convince browser builders to improve this tech and the UX of it.
This is not surprising, because many English words are ambiguous, being used not only as nouns, but also as adjectives or even as verbs.

All such uses must be translated into different words in other languages. When the word to be translated has no context, a random translation choice is possible.

"Folk" as in "folk music" or "folk dances" may be translated correctly as "folkloric" or "popular".
It's crappy design. Instead of using a separate property for different functionality like target-new-window=true or sth. They wanted to be clever.
I think this is misinterpreting
Simplicuty by thinking that an additional property is complicating things
People are massively choosing sides, colours, flags, identities. It's not about left or right. It's about personal opinions and identity, and one side having the power to violently disagree with you, to the point of no recourse. It does not matter if it's a left or right boot that stomps you in the face.

I see the same thing in my parents, where actions become scary when "the other side" does them. It's a myopic arms race to the bottom of rational understanding.
I not really working on anything bigger. All the stuff I am tinkering with are smaller tools I need to help with my other 'forever pending' projects, but it feels productive and I am seeing mild progress so I am happy.
Thanks, that seems useful! Too bad my entire backend is in Rust and works directly on git repos instead of checked out code.

I want to build a local company in my city of Utrecht, primarily on-site. That gives me the most energy and fun and is something that I want to optimize for.
The problem with AI 'cheating' is that it often shifts the challenge away from strategy and more toward figuring out how to outpace artificial handicaps. A well-designed AI should create challenge through better decision-making, not arbitrary advantages.
Discussion which megacorporation is the best place for a public forum is absurd. Have things really gotten so bad that even tech people can't imagine running your own communcations platform?
Why? Unless they also provide their own secure cloud for storage and sync in that price I don't see the issue. Plenty of quality apps are one-time-purchase to own. To me subscriptions are a scam waiting for the rug-pull to happen(a PE/VC fund buys them and fucks over their existing consumers).

My favorite example is Beyond Compare. Pay once for the cross platform app and get free updates for each minor version, then you get a discount if you want to pay again to upgrade to the next major version. Or Plex Premium.
Going to be watching closely - but cynically, a promise of investment (for avoidance of tariffs) only needs to last one news cycle until tariffs are no longer top of mind. Then it can be walked back without tariffs being imposed.

Maybe instead of saying the t-word tariff, US gov can charge Apple a special fee on each iPhone. They can call it something catchy, like say, a Core Technology Fee.
Correct, Apple changing the UI before changing the backend might be one of the more stupid things I’ve ever seen.
Using “bubble” sort? ;)
Reading fiction written with the writing software. Think RoyalRoad or similar websites.
A Django UI Desktop app, a là Docker Desktop, but for manage Django projects. Some people prefer UI apps instead of CLI, and it could be good for juniors and starters, to get familiarized with how Django works before jumping into the command line.

It is more an excuse to create a simlpe Electron app, though.
Re-computing everything every time is the worst-case scenario and which is why I included it in the example (1k tokens). In that case, KV-cache is obviously set to 0 but it is also obvious that it is a much worse alternative than using the KV-cache. Which is pretty much the reason why we have the KV-cache. Therefore the argument about loading the cached tensors doesn't make a difference at all.

> It's going to take me some minutes to find out what's wrong in this napkin math.

I am sure you will. Please don't be so entitled.
Show HN: SwiftKey – Hackable Launcher for macOS
I've been an avid Alfred, LaunchBar, and Raycast user for many years, but none addressed this specific need I have.

SwiftKey on a surface is a simple launcher that allows you to launch apps, open URLs, and run scripts. The key is in the interaction model; first, you organize the things you launch in a hierarchical menu, and then you can address each item with a global keyboard shortcut or with a sequence of keystrokes. The latter is the key; if you have experience working with Vim or Emacs, this will click for you immediately.

For v1, it is quite flexible and configurable; give it a try.
> really hard to cultivate a community of people who have a deep love for something, but for some reason can't see what is actually wrong with it that drives ppl away

Elm is another example
i read a lot of your articles, will try this for sure..
You should be curious why Nadella is looking for the world to grow at that rate. That’s because he wants Microsoft to grow into $500B/year in revenue by 2030, and it will be challenging without that economic growth to grow into that target. You can grow into a TAM, try to grow or broaden the TAM, or some combination of both. Without AI, it is unlikely the growth target can be met.

https://www.cnbc.com/2023/06/26/microsoft-ceo-nadella-said-r...
Competitive Programming in Haskell...I can only define this as Masochistic Aesthetics...
The picture of your passport is machine-readable to any machine that can read it. That is not all machines.

The significance of JSON, and the submission itself, seems to be in the ubiquity of JSON making it more machine-readable than other formats.

You're being too strict with language and definitions.
"San Francisco, California"

There is none, because CLOUD Act.
There's a finite amount of time until the heat death of the universe and a finite number of atoms to ask and answer the question.
Automotive did 'roll your own' flash handling since almost forever...

I have a toyota where the odometer resets back to 299,995 miles on every power cycle because whoever designed the wear levelling didn't plan that far ahead...
> Sadly europe never realized that low taxes, capitalism and liberty is what drives wealth.

Honestly we have moved Europe so far past the post-political that I find it difficult to comprehend peoples politics nowadays. I wonder what people think "socialism" or "left" politics is now that everything has been so thoroughly depoliticized, I genuinely don't know. Is the EU "left"? I guess so? Is the IMF?
Similiar to Slovenian - we have 400 dialects, grouped in 7 larger groups based on similarity. Given that there is only like 2 million speakers that may feel like a large number, but it's a consequence of rather hilly geography.

Differences between some of them are rather extreme, especially Prekmurje dialects feel like their own language - so we need to fallback to "book" Slovenian when talking with people from different regions.
Legally is it collateral damage to unrelated parties. It is cloudflare's servers providing the infringing content, and the cloudflare's servers being blocked. Does Spain net neutrality protections grant some kind of common carrier protections to CDN networks?
Would be nice if they did.
A game: you're stuck on a 1970s spacecraft and you have to program your way home using 6502 assembly. I wanted to learn more about old 8 bit cpus so figured I would make a game out of it
Encrypted Client Hello https://en.wikipedia.org/wiki/Server_Name_Indication#Encrypt...
Aren't they taking a pretty big risk?
You should be able to use Twitter without justifying yourself
Show HN: I built a free and open source pdf redaction tool
Hey everyone, I recently built a free and open-source tool that lets you manually redact PDFs and images right in your browser—no sign-ups, no watermarks.

I also added an AI-powered auto-redaction feature to detect and remove sensitive info. Since this part uses external processing (OCR + AI), there are usage limits: you can auto-redact up to 3 single-page PDFs or images for free each day. Higher usage and multi-page support require a paid account.

Right now, it works great for removing sensitive details like names, addresses, and emails, but I’d love to get your thoughts:

• What redaction features do you wish PDF tools had?
• Are there any pain points with existing redaction tools that I should address?

Since this is open-source, I’m eager to make it as useful as possible. Any feedback is appreciated!
> Decode is memory bound.

> FlashAttention ... such that you can remain compute bound at lower batch sizes during decode.

So, which one is it then?
Might his have someothing to do with those hacker events actively excluding those with dissenting opinions. That many social institutions have been taken over by the woke crowds isn't news.
An interesting OCR aspect indeed; hence it's great that their OCR Benchmark is open source, allowing for the addition of such a category. Or maybe there are already separate OCR prompt-injection benchmarks.

Also, I'd be useful to understand how an OCR context differs from standard injection attacks. One thing I can think of is potential tabular injection attacks. But also image-based, especially for VLMs, are relevant. So a OCR injection attack benchmark might just be a combination of different domain-specific benchmarks formated as images.
Maybe I miss what REPL really is, but...

If REPL is the main value proposition, how is it better from average JavaScript development?
Dev tools allow you to basically interactively work with your code.
UK develops AI CV-writing tool for jobseekers
There are profits made in the UK firefighting services. The fact they are (mostly?) funded by taxes is not key.

People are willing to pay for those services (and they do through their taxes as a result). People are paid salaries to provide those services (that's a basic form of profit). There are many commercial companies that provide equipments and even services to tax-funded firefighting services. So there is indeed "profit" everywhere. That is the big picture.

> I don't think I've ever before seen anyone argue that lack of profit means they have no value.

That's odd because it is a really basic concept.

In general socialised services (education, healthcare, firegighting, etc) are so not because they aren't valuable or profitable but because we think that they are so important that everyone should have access to them, even those who can't afford them.
While I have no real opinion on this, I do have questions:

* What type of jobs?

* Does the US have the required people, in terms of numbers and skills?

* Does this mean moving to US based fabs for the M-series chips?

* Is this actually profitable, or is this just a political move?
I’m building an open source static website hosting platform. The idea was to get back to less complexity. There are so many static sites and apps out there that jump through crazy deployment hoops just for something that should just be a simple file upload.

Recently open sourced everything.

https://github.com/orbiterhost/.github
The notion of sublinear time only makes sense with Random-access Machines [1], not with Turing Machines.

[1] https://en.wikipedia.org/wiki/Random-access_machine
That’s the importance of context: assuming that wasn’t the turn of the century, someone who actually works there would be able to tell whether that’s a credible claim. Someone at OPM getting a million messages from other agencies wouldn’t have the knowledge needed to say whether that’s plausible.
Amazing, lol
The headline of the article is a rhetorical question, one that the article itself then answers in detail. It's a very common device.
> I wonder what would happen if someone adds a REPL to F#

F# does, in fact, have REPL and excellent one at that!

There is F# interactive and F# scripting. It's my workhorse for all sorts of automation and quick "analyze data and draw a chart" style of one-off scripts. It's vastly superior experience because when editing F# scripts you get full LSP, ability to reference nuget packages without vendoring anything, etc etc.

Gradual typing and full type inference make it look at times like dynamically typed language but it's anything but and gives really nice user experience.

https://learn.microsoft.com/en-us/dotnet/fsharp/tools/fsharp...
Why Am I the Way I Am, or Bare Metal Analytics on a Homelab
Depends on whether you have a suitable problem, and the problem domains have shrunk greatly over the last 40 years. I've used it for bit-twiddling in real-time data acquisition; for implementing a GUI (on OS/2 1.0, which didn't come with one) and for acquiring a handy character set for the same from DOS; for accessing some obscure features of the PC architecture (thanks, Thom Hogan); for trying unsuccessfully to access paged screen memory with an RSX on the Z80 based Amstrad; and for successfully implementing an RSX to quash high-bit characters from the keyboard on the same to deal with an editor which had an array of only 128 characters for deciding what to do with input.

All of them apart from the screen memory thing were fun, but the only one which could be useful these days is the bit-twiddling. All the rest have been made obsolete by improved operating systems, so that the domain of useful assembler programs shrinks ever further. OTOH, debugging them is vastly easier than in the old days where all you got was random lines drawn across your screen as the system crashed, and you couldn't even single-step because you had to bank-switch out.
This previously happened in Italy, and was quickly undone as "a mistake" after being called out.

I see in Spain it isn't a mistake.
> I don't need to know the solution if I know how to solve it.

That's how a modern school system ought to be designed, imo. There's so much wasted time, and so much unused potential.

And if that involves rote-learning at times, fine, but can we at least make that smarter too?
> "nothing at FB is someone else's problem"

I love this credo. Sadly, large enterprises seem to operate on the exact opposite model of "everything at XYZ corp is someone else's problem".

There's literally no way to fix our own problems. Everything beyond the application code is managed by an external team with their own priorities, and the best we can hope for is readonly access to their repos.
If it was instant we wouldn’t have latency and the three generals problem would be somewhat trivial (ordering would be mildly interesting in an algorithmic sense, but practically meaningless).
Where did I talk about the Mittelstand? I only addressed the issue of the modern "Made in Germany" consumer goods which tends to be an overhyped outdated trope that delivers overpriced and poor quality goods by today's standards.

It's oblivious most consumer goods are gonna come from very large companies since only those have the economies of scale to manufacture, sell and market internationally consumer goods at a profit.

Mittlestands mostly cater to niche products or local markets where there's less downward pressure for cost or upward pressure for innovation by international competition.
> no _way_ is binary search the first algorithm people learn

It legit was the first one we learned, the first algorithm written on the blackboard by the professor (this was in the 2000s but the first algorithm lessons were on blackboard and paper!)

Probably because something simpler linear like "find the minimum value in a list" is too dull as an algorithm example
Very cool, and surprisingly simple. I was always mystified as a kid how these file-sharing protocols actually work, but if you just look at a torrent as a collection of fixed-size pieces you are asking peers managed by a tracker for, it becomes really straightforward to implement.

Now I wonder how clients protect themselves against abusers (i.e.. people who never upload a single bit but only download). I often noticed that when I set the maximum upstream to 0, clients would stop sending me pieces. Do clients share a predefined list of configuration parameters with each other or with the tracker (Max upstream, max downstream, etc.)? Or is it something more sophisticated?
Do we think Apple will once again sell servers to customers?

I guess they could sell servers to customers who want to run the latest Apple Intelligence models on-prem, even though that probably wouldn't make much of a difference, since you probably still have to trust Apple.
Did they serve Cloudflare a court order?
Sounds interesting! How did you validate the idea?
In other words “Stargate” is itself a lie: no new spending, just a political repackaging of existing plans.
Great work! Brings a tear to my eye, as I had a fully operational system doing this in '08 with a tech team from Rhythm & Hues Studios, with two Oscar earners on the team too, and the investor class (all of them, seriously) insisted my startup do porn with the technology, and we refused. I think this time around you'll have better luck, but do watch out for the immature user population, they are large and demanding.
This answer eliminates the “regulations are the reason” counterclaim
'Event Scripts' Structure Our Personal Memories
> Analyze spectra for insightful data interpretation

I can't see much in the way of code to do that.

How can I calibrate for and lock onto the K-U-Th peaks.

Where do the stripping ratios go?

Can I generate a NASVD kernel over time and landscape an enhanced sharpened spectrum run over time to clearly see changes from radon gases rolling in, new decay products from (say) a waste catchment breaching and leeching closer to my location.

We had that in gamma spectral analysis libraries in the 1980s and 1990s.

eg: Grasty & Minty (1995) https://www.ga.gov.au/bigobj/GA7667.pdf covers a lot of the basics for setup, calibration and aquisition. (There are other tomes for analysis).
Watch them lay off 5k highly paid employees in order to create 20k low paid jobs.
Are those actually still made in Germany? Siemens got sold looong ago, or at least their consumer facing parts, as far as i know.

Except maybe the Bosch oven is made in germany. But tbh I wouldn't buy a Bosch oven, in my corner of the world outside Germany they're known for good tools not kitchen appliances. My Bosch electric screwdriver is great :)
Maybe $500 billion will finally be enough to make Siri useful for more than just setting an alarm.
This could simply be datacenter deals started years ago that they are pulling out of now they have larger AI-optimized DC's being commissioned in places more suited to faster & larger power availability.
So you think you can tell....heaven from hell....

We are the way we are because of billions of years of evolution. Over the last 400,000 years or so, evolution has experimented with many different kinds of humans. Most of them were way stronger than we are. A few (Neanderthals, Homo Longi) had brains which were substantially larger than ours.

But now we are the only humans left. Our species at a very high local maximum.

I would suggest reading up on what happened to chickens when breeders wanted to create chickens with very large chicken breasts. The genome is not some nice modular piece of code. It is billions of years of kludge upon kludge, and everything interacts with everything else.

But even beyond that---how do we know what is "better?" Imagine a bunch of homo erectus sitting around, imagining the perfect human. They didn't even have the mental capacity to imagine what "better" would be, and guess what. We don't either.
If you don't answer you are fired.
Cloudflare profits greatly from you thinking it's impossible to exist on the internet without them.

Did you know they have a workflow for you to sign up start using their protection in the middle of an attack? Costs money, of course. They don't get to EEE the Internet that way so they don't make it free.
And related to your last bullet point: will it actually happen or is floating this just a political move...
The dependence was established sooner by using external infrastructure. The premises that this infrastructure is not under your control is exactly what he now derides.

Someone knowledgeable should have seen this before, this is a core issue when setting up a strategy for digital systems. And this isn't an issue between "purists" and the rest, that is a false dichotomy. The decision was simply to outsource infrastructure to systems you have significantly less control over.

Might work for 15+ years or it might not. I doubt anything will be done now, investments are probably too high. But it is an issue with lacking foresight.

Between countries and the main task for intelligence agencies is industrial espionage. The Dutch government, like many others, decided that exposing themselves is no issue.

I disagree that it has become a problem only now, this is due to his narrow view on politics and a bit naive in my opinion.
Fully dynamic connectivity on general graphs comes to mind. https://en.m.wikipedia.org/wiki/Dynamic_connectivity (Graphs, with operations to connect and disconnect nodes, and to check whether two nodes are connected by some path.)

State of the art there is poly-logarithmic time worst case.
1u boxes or Mac Mini "servers"?
Gift link: https://www.wsj.com/economy/consumers/us-economy-strength-ri...
nice, fun project!

there is a really great app that i found super useful called roastguide (roastguide.app). i have tried many of them but this is by far the most complete one
Another nitpick: the attribute was called name, not id.

https://www.w3.org/TR/html401/present/frames.html#h-16.3
No unit stacking even breaks the automated worker orders which are meant to help the player by reducing the amount of micro. Automated workers are borderline useless in Civ V compared to Civ II.

This isn't a case where the AI is meant to have "authored personality" or whatever.
What’s the general algorithms or patterns for these infinite canvas type things? I’ve always wondered. How do you handle interactivity also? Seems all very complex with a html canvas…
After an oligarchy, looks like the us is also getting a planned economy now.
I'm not sure how having a list of remaining tasks that can be added to adhoc and block PRs from merging is not better than check boxes in markdown description box that are little more than aesthetic...

It has saved us from self induced pain and is a great coordination point
Our Epidemic of Loneliness and Isolation [pdf] (2023)