HNHacker News
TopNewBestAskShowJobs

promiseofbeans

1,791 karma · joined January 31, 2022

Promise<Bean[]>
submissionscomments
promiseofbeans··on How we made JSON.stringify more than twice as fast
I disagree - JavaScript is the most used programming language in the world, and were I a betting man I'd happily wager client JS is still a much bigger share of that than server.

Yes, there have been a lot of advances in modern JS for things like atomics and other fun memory stuff, but that's just the natrual progression for a language as popular as JS. The 3 main JS engines are still developed primarily for web browsers, and web developers are the primary audience considered in ES language discussions (although I'll concede that in recent years server runtimes have been considered more and more)

promiseofbeans··on Sign in with Google in Chrome
I think this is referring to the FedCM api [1]

It works with providers other than Google, just no one else has implemented it yet. Google's One Tap library tries to use the new api, and falls back to the classic One Tap popup when using a browser that doesn't yet implement FedCM (notice how the chrome built-in one says "sign in with google.com" rather than "sign in with Google" like One Tap normally shows)

Mozilla are working on implementing it, but it's a pretty complex system so it'll take time. I presume Safari will as well if it gets popular enough

[1]: https://developer.mozilla.org/en-US/docs/Web/API/FedCM_API

promiseofbeans··on Show HN: Windows 7 GUI for the web
Sort of mimics Windows itself - you famously have to do some archeology every time you want to change an important setting, and will work your way through many iterations of windows ui components as you do
promiseofbeans··on Gaslight-Driven Development
It's pretty fun seeing what countries people are from. If you hover, it tells your their city as well!
promiseofbeans··on Where's Firefox going next?
Keeping up with web standards, and dropping the advertising rubbish that's making them somehow atrophy users faster than they were before.

Otherwise, they'll be gone. Thunderbird has proven people are willing to donate millions if they know their money will go directly to the software. In 2022, Thunderbird collected ~6 million in donations (~20 million users) compared to Mozilla's ~9 million (from >200 million users)

promiseofbeans··on MacPaint Art from the Mid-80s Still Looks Great Today
This was on an OLED Samsung phone, screen running at 120Hz
promiseofbeans··on MacPaint Art from the Mid-80s Still Looks Great Today
The 2nd artwork ('A Door Somewhere " - Bert Monrov) had me really confused for a moment. When I scrolled down to it, there was a sort of flickering effect, like as if it were a gif, with a flickering light adding ambience to the scene.

But no, it's just how that sort of black & white shading looks when you scroll past it - amazing effect!

promiseofbeans··on Joining Apple Computer (2018)
https://kagi.com/smallweb
promiseofbeans··on Apple Notes Expected to Gain Markdown Support in iOS 26
I thought the title was an Onion-esque joke at first, not realising they've changed the naming scheme
promiseofbeans··on Quarkdown: A modern Markdown-based typesetting system
WEasyPrint is great for generating invoices from html!

https://weasyprint.org/

Also the only good implementation of web layout/rendering I've seen done in python.

promiseofbeans··on Show HN: Display any CSV file as a searchable, filterable, pretty HTML table
How does this handle CSV's with no headers, or data that's offset from the top? (e.g. a row for title and subtitle, before the table headers & data)
promiseofbeans··on Cracked – Method chaining/CSS-style selector web audio library
I think the idea is that you can use this to build synths that you then control woth midi, etc
promiseofbeans··on Mistral ships Le Chat – enterprise AI assistant that can run on prem
I mean, the general purpose models already do this in a way, routing to a selected expert. It's a pretty fundamental concept for ensemble learning, which is what MOE experts are, effectively.

I don't see any reason you couldn't stack more layers of routing in front, to select the model. However, this starts to seem inefficient.

I think the optimal solution will eventually be companies training and publishing hyper-focused expert models, that are designed to be used with other models and a router. Then interface vendors can purchase different experts and assemble the models themselves, like how a phone manufacter purchases parts from many suppliers, even their compeditors, in order to create the best final product. The bigger players (e.g. Apple for this analogy) might make more parts in house, but even the latest iPhone still has Samsung chips in it in teardowns.

promiseofbeans··on Critical CSS
Is the code somewhere? This seems like it'd be really useful as a Vite/Astro plugin
promiseofbeans··on Office is too slow, so Microsoft is making it load at Windows startup
If you're happy to dip your toes into another DAW, Reaper has excellent first-class Linux support, works with all your plugins, and has a 60 day trial* for you to get used to it.

* The free trial is enforced as heavily as WinRAR's, and it's pretty cheap (~$60) to buy a licence if the nag screen makes you feel bad enough

promiseofbeans··on I use zip bombs to protect my server
Firefox on a mid-tier Samsung and a cheapo data connection (4G) took avout 30s to load. I could pan, but it limited me from zooming much, and the little I could zoom in looked quite blury.
promiseofbeans··on Migrating away from Rust
One of the smartest devs I know built his game from scratch in C. Pretty complex game too - 3D open-world management game. It's now successful on steam.

Thing is, he didn't make the game in C. He built his game engine in C, and the game itself in Lua. The game engine is specific to this game, but there's a very clear separation where the engine ends and the game starts. This has also enabled amazing modding capabilities, since mods can do everything the game itself can do. Yes they need to use an embedded scripting language, but the whole game is built with that embedded scripting language so it has APIs to do anything you need.

For those who are curious - the game is 'Sapiens' on Steam: https://store.steampowered.com/app/1060230/Sapiens/

promiseofbeans··on Making Software
Looks like it might have been VisualLand.net, which isn't around anymore. Looking at the archive of the site (https://web.archive.org/web/20130811073141/http%3A//www.visu...), most of their animations / diagrams were Flash, so no longer run, and don't seem to work with archive.org's emulator either.
promiseofbeans··on Ask HN: Do you still use search engines?
I use Kagi search when I want to find something, and chatgpt free when I want a question answered.
promiseofbeans··on Electron band structure in germanium, my ass (2001)
The main lesson I was taught by undergrad chemistry and statistics is that the point of science is to lie and massage your terrible incorrect results until they look realistic, claim any remaining error was due to the shitty inprecice equipment you're saddeled with, and turn it in, because you don't have enough time or money to try again.
promiseofbeans··on Boycott IETF 127
Regardless of your take on this, it's very interesting to see the UI components they're using. These look identical to the gov.uk system, but I wasn't aware of it being available for use outside of their government websites.
promiseofbeans··on Two new PebbleOS watches
I'm curious that the $150 ones has a barometer and compass, while the $225 one doesn't in favour of a heart rate monitor.

Given that they're specifically saying you shouldn't use it as a sports watch, what use is an HRM, especially when compared to the utility of a compass and barometer/altimeter?

promiseofbeans··on Self-Hosting a Firefox Sync Server
Great timing, with Mozilla's new privacy policy problems the other day
promiseofbeans··on AI is stifling new tech adoption?
NextJS for a SSR app, or Vite for a create-react-app style SPA.

Vite has been great for the whole web-dev ecosystem, since it's super easy to configure, and very pluggable, so most frameworks are built around it now. That means you can write, e.g. a new CSS preprocessor, and if you make a Vite plugin, it works with (almost) every framework without extra effort

promiseofbeans··on Privacy Pass Authentication for Kagi Search
Yep, in fact Cloudflare are the original people who came up with this, when people were complaining about seeing turnstile screens too often
promiseofbeans··on SQL pipe syntax available in public preview in BigQuery
Huh, it's super cool they have a built-in way of extending to support missing engine features!
promiseofbeans··on Servo's progress in 2024
Minecraft Bedrock uses React + a "web-like platform" (I assume this means they've just implemented the bits they needed) for their UI: https://github.com/Mojang/ore-ui
promiseofbeans··on Fair Pricing
Looks like they're implementing this, which is also used by Cloudflare Turnstile: https://privacypass.github.io/

The standard has also been published as RFC9578: https://www.rfc-editor.org/rfc/rfc9578.html

promiseofbeans··on Fair Pricing
Ooh this is interesting. Theoretically these could still be associated with my account right? Since you need to use my session token to generate these privacy tokens. Is there a technical explainer somewhere with instructions for setting this up without a web extension?

Edit: Looking into it, it seems like this uses the same mechanism for tokens as Cloudflare's turnstile system: https://privacypass.github.io/ or for the proper standard https://www.rfc-editor.org/rfc/rfc9578.html

Excerpt that explains how it works:

> When an internet challenge is solved correctly by a user, Privacy Pass will generate a number of random nonces that will be used as tokens. These tokens will be cryptographically blinded and then sent to the challenge provider. If the solution is valid, the provider will sign the blinded tokens and return them to the client. Privacy Pass will unblind the tokens and store them for future use.

So it seems like as long as the cryptography is done right and Kagi's webextension does what it says, they are actually private.

promiseofbeans··on Kagi – Introducing Fair Pricing
To be fair, privacy policies are worthless. They could have a squeaky clean privacy policy and still collect data on you illegally. I did request a copy of all my data under the relevant consumer law for where I live, and it looked like they weren't collecting anything they shouldn't^. That's still not a guarantee, but it's better than nothing.

^ They did still have a copy of all my old assistant threads, including deleted ones, but a mate who works there says that was just a bug with the system and should have been fixed. This was about a year ago.

← PreviousPage 3 of 9Next →