skysight-inc/HackerNews huggingface dataset:
Hey everyone, I just finished polishing a bit this little framework I've been working on in the past few months.

I thought some people here might find it interesting, it's basically a different take on Solid, with a focus on the client side.

It uses Observables instead of Signals (which are basically Observables with getter and setter as separate functions), it's faster than Inferno (and therefore React/Svelte/Vue too) even without using the "template" function, it's about as fast as Solid with the "template" function, without needing a special Babel transform or other compile-time magic.

Maybe you'll like it.
Slightly off-topic: Could anybody recommend a lightweight, self-hosted php IAM that would handle new accounts (with email confirmation), password recovery, maybe user groups? I've been using Wordpress a couple of times just for the user management, not very proud of that but I didn't know better :/
Its small and deliberate. Setting the mental state of the customer to obfuscate the responsible party by throwing in Salesforce. A deliberate dark pattern.
1) Web site's user names are typically much more restrictive than passwords.

2) You typically want your user name to be recognizable by the community you're registering at.
Yep, I used to teach creative writing and the kids loved these. They can be cooperatively social, too -- I know one of my former colleagues is using a journaling RPG as a framework for a shared worldbuilding project that his students seem to find really engaging and generative.
Ask HN: What’s your “don’t forget to check the power cord” advice?
Mine is don’t forget to check authentication flows in depth.

Bugs in Mfa, password reset, oauth integration, and “signature check” flows are hot spots.

If a program is using cryptographic primitives, this often leads to vulnerabilities.
True that, but perhaps asking the question and getting these answers is part of how that happens, and the end result is a longer-form blog post somewhere.
I don't. I dropped GTK4 a long time ago because it's simply not finished or ready for the mainstream, I'm happy to let it fester in the realm of unusability because the most well-supported desktop environment on Linux can't get their priorities straight.

> It's the sprawl of features that leads to those features being poorly implemented.

Really? This issue didn't exist in GTK2 or GTK3. Sounds to me like you're making up excuses without any evidence.
The dataset used is the UK Land Cover Map 2000 [1]. It's at 25m resolution, and urban parkland should show up as the appropriate land cover types: grassland, deciduous forest, etc.

[1] https://www.ceh.ac.uk/sites/default/files/2021-11/LCM2000%20...
Configuring pins and peripherals with code is a chore, I use graphical tools for that.

But C has no problems abstracting away peripherals, just hide the register bits in a private TU and expose i2c_init(), i2c_write(), etc.
Keycloak actually makes it very easy now, assuming you have account-api and account2 feature flags set (default these days). You remove "manage-account" inside the "account" client from the default roles. Do mind this breaks the account console for those users (which is what you probably want anyway).
Im choosing to imagine that you typed this with one hand behind your back with some fingers crossed Drew.
Texas technically doesn't require auto insurance either, but you need to leave some crazy amount of money in bond with your local sheriff, essentially proving you're rich enough that you can insure yourself.
Other open source auth solutions:
Ory, SuperTokens.com , Supabase / GoTrue

If anyone has evaluated these / Keycloak, I'd be happy to have a discussion on it
One can revere novelty without demanding that it be rewarded for its own sake.

If you disagree, please reward me for this novel creation:

3092500473526394984186030495683069344885478322759398
Saying that to a lingüist it's... interesting.

On Perl, CPAN was and it's still amazing, and lots of stuff came from that.
For example, Mojolicious for the web, BioPerl for bioinformatics and Rivescript to write silly chatbots, among others. Oh, and pkg_* under OpenBSD.

INB4 gen-z's rant on "PeRl It'S UnRead@ble", check the intro from "perldoc perlintro".

EDIT: Unless I'm sure the deleted link it's right, I'd avoid posting it.
>> If you believe that's all there is to those ideas, maybe you need to step away and think about them for a while. Sure, there's going to be some resume padding happening in larger orgs. But all those ideas solve real problems too.

They do solve real problems. The question is whether or not they solve the problem at hand, and if they create other issues in doing so.

I was re-decking a back yard bridge with a friend and he brought a framing hammer. I'd never used one before and I always had a finishing hammer and didn't know the difference. I learned a new tool and even ran out and bought my own for the project, which worked fantastically well. It's still in my toolbox and hasn't been used since. You just don't use that thing to hang pictures on the wall because it may well f-- up the wall a bit. Using the right tool for a job is way more important than using a particular tool for any other reason.
> With the state of the world today, I'm genuinely surprised we haven't seen a resurgence of cults taking advantage of disenfranchised youth in the world.

Eh? There's plenty, but they probably don't register as cults as such; I'm thinking of the various groups (big overlaps in the venn diagram) of amongst others flat earthers, qanon, birthers, the manosphere, anti-vaxxers, Trumpists, etc; These pose a real danger to society, as proven by the January 6th attack on US democracy and congresspeople, the reduction in vaccination rates (leading to pockets of vaccine-preventable diseases like measles), and more recently, regressing in women's rights.

These are... kind of spiritual, in that they look at Q as a prophet, Trump as the new coming of Jesus, and a lot of, let's say, "alternative" medical practices like essential oils, bleach enemas, dewormers and whatnot as an alternative to modern day established health care.

>>disciples joined Engelhardt in a life of quiet island devotion. Together, they sun-bathed for hours a day, swam in the cool waters of the Pacific, and ate their holy fruit.

> sounds just amazing.

It was a tropical holiday disguised as a cult, lol
My webmail server runs on SoGo (https://www.sogo.nu/) which is more of an enterprisey mail client than many other webmail systems. Kind of a pain to set up independently in my opinion, but combined with Mailcow it runs flawlessly.

Search on it depends on your IMAP server's search system (I know Mailcow uses solr but that takes a while on my server, probably because of underspec hardware). Tags are easy to work with, the interface is quite good in my opinion, and integration with calendar/contact sync is also quite nice. The front end for basic Sieve rules works well for my requirements. Gravatar support and desktop notification support are also nice bonuses.

There aren't too many themes for it, though, so you'll have to make your own if you don't like the look. There's a SoGo demo on their website if you're interested.
Functional programming patterns are very common in Rust code. It doesn’t have automatic currying or higher-kinded types but it has generic associated types, anonymous functions, closures, and a rich set of collections with functional processing methods in the standard library.
The review part is the pain point far rather than the mirroring.
I’m not really anti-car. I think cars bring a kind of personal freedom that is hard to replicate in other ways but are a big liability in cities and for pedestrians, so ideally cars in cities would all be shunted underground so the surface can be for people and parks.

My ideal vision of the future is we mostly live in luxury in dense, beautiful cities that are walkable with good, seamless transit (think like escalator-like seamlessness). People spend weekends camping in vast, re-wilded nature reserves.

Year 2100 scenario: Get rid of most suburbs and staple-crop farms eventually (vat-grown staples—think Calysta FeedKind or Solar Foods—replace the need for highly processed staples like corn or wheat or soy or factory farms). Replace with rewilded nature reserves which people get to via tunnels or electric VTOL (with special consideration to low-noise design).

Pedestrians in very dense cities walk in park-like surface paths. Solarpunk-style. :) Solarpunk cities and vast nature reserves (accessible via low-impact transport, and commonly used for camping) instead of endless row crops and suburbs. :)
I mean, I'm all for it if it helps establish our Lord and Savior, the Flying Spaghetti Monster, as a legitimate religion.
In an inflationary environment, this is fine. Just wait when we have interest rates at 12%.
Why would there be no escape from it? Just do something else if you don't like the current state of affairs. No need to get all pearl-clutchy about it.
Because Google owns their own code review tool, they can collect data to distinguish these sorts of cases.
Transitioning a preexisting web stack in our corporate network from Identity Server to Keycloak has been my extremely rough intro to the world of auth. I would say I’m almost there, but have one issue holding me up. We have a few different data enclaves, including one that requires users to sign an NDA and be added to an AD group. I’ve been searching high and low to see if Keycloak has a simple flag to say “don’t let anyone in that isn’t a member of this AD group”. Does that exist or do I have to create groups in Keycloak itself and add users manually?
> “We can expect from God that he created our food in the shape of our heads,” Engelhardt reasons. Coconuts are “vegetal human heads, and they alone are the proper human nourishment.”

I think the word 'reasons' is carrying a lot of water there.
True! Might give this a go tomorrow. I'm kinda shocked it got as far as it did to be honest
We're actually working on a new version of the Administration UI at the moment (I'm one of the devs) so this is useful feedback. We're looking for folks to try it out, so take a look at https://github.com/keycloak/keycloak-admin-ui/.

You can try it out on the latest Keycloak by passing the --features=admin2 flag on startup.
why not install it with homebrew?
I guess in the microcontroller and IoT world there's still many? Though now there are alternatives like micropython to avoid diving down to the low level.
A Performance Comparison of Judy to Hash Tables (2003)
Why Psychedelic Drugs May Become a Key Treatment for PTSD and Depression
Exactly. I don't know exactly what it is about intelligence, but people get really defensive about it. No one wants to be average or even slightly above average. People will go through a lot of mental hoops to stake a claim of incredible intelligence.

We don't do this with any other measure though. The difference being that most other measures can be measured. They run up against reality rather quickly. Am I tall? No. No shame in saying that. No shame in saying I'm around the average. Am I fast? Slow? Strong? Weak? Thin? Fat? How big are my feet? My hands? etc.

All can be measured and seen. All have physical manifestations I cannot argue against.

Intelligence. Well. That's a little more abstract. Abstract to a degree that we don't always recognize that Jeopardy is not really a "smart" game. It's a trivia game. You have to know things. That's not intelligence, that's knowledge.
Perl rose to popularity because early web development was all about text processing (reading web forms and outputting HTML) and Perl made that easier (regex deluxe) than other choices on unix at the time. It became the lingua franca of web developers. Perl 5 made heavy use of symbols so it was visually noisy, and then Perl 6 came along and added even more magic meanings to other symbols, and that was a tipping point of perl’s decline. Readability of code is paramount. Code is for machines to execute and for humans to understand. Perl code became both modernist abstract art, and Baroque in its intricacies.
I thought it was mainly developed through Hollywood blockbusters instead.
Just curious, where do you host your catchall email domain?
Yes, but, you could also say the same of fossil fuel power plants as well. The world has been getting "cheap" electricity from fossil fuels for many decades now while ignoring the environmental (and other, like nuclear waste problems from Coal) externalities that taxpayers ultimately have to face one way or another as well. You'd need a comparative analysis of the externalities of both to make sense of the trade-offs and pick one that's "better".

Renewables like solar and wind are great of course, but they're intermittent and cause weird issues like the Duck Curve. You still need base load from either nuclear or fossil fuels for a stable, reliable grid.
> Still waiting for someone to make "go but with ownership and borrow checker"

That would have interested me more a few years ago, but I'm deeply invested in Rust these days.

Is that all you'd change about Go? One of the reasons I moved was the error handling and lack of generics. Go has fixed the latter, but I can't stand not having Result<> and Option<> these days. The '?' is awesome too.
Agree with everything except the monorepo comment. The polyrepos I've experienced were more complicated than the monorepos
That is such an incredibly good idea haha
Thanks :)
People with hobbies unrelated to their work are supposedly less susceptible to burnout, so it's in the workforce's best interest for its members to have relaxing, non-remunerative interests and skills.

Also, creativity can be valued by employers. Most won't care about artistic accomplishment, but strong lateral thinking can make a knowledge worker's output stand out and be uniquely effective.
This is a big step up in usability for me. Big thanks to the Bitwarden team for identifying a problem and coming up with an unintrusive solution.
Ask HN: When were the tech skeptics right?
Many times when I discuss web3/crypto with people and express skepticism about its potential, people respond along the lines of "well, that's what the skeptics said about the Internet too."

I'm wonder what are some good examples of technologies in the last ~30 years that were hyped up, but then completely fizzled out and ultimately proved the tech skeptics right? AR/VR comes to mind, but I think it's too early to make the call there
It’s hard for managers sometimes to keep this stuff out even if they want to. Engineers like to play with tools and always always always over-engineer.

I try hard to walk my talk here but I catch myself doing it too. Simplicity is much harder than complexity. It requires more thought and deeper conceptual integration. Right now I am rethinking some older things and trying very hard not to second system effect it.

On top of this you have an industry pushing this stuff and cloud vendors who love the added cost it brings from managed services and more overhead. Cloud makes money off complexity. Makes it harder to move too which improves lock in.

Lastly you have the fact that our industry is cash flush. There has been little need to trim the fat. Just raise more VC or add more billable SaaS or… we’ll crypto comes with its own casino revenue.
https://en.wikipedia.org/wiki/Critical_pr%C3%A9cis

https://www.businessstudynotes.com/personal-skills/precis-wr...

https://www.gutenberg.org/ebooks/53680

Take Notes by hand using Paper/Pen/Pencil, use text, diagrams whatever you need to enhance your comprehension; Transcribe later to Computer, if needed.
What are your most used self-hosted applications?
I agree with all your points except "are actually well-designed and performant". I mean they perform well enough but when I write simple hashmaps that perform better than libstdc++ (yes with the same hash) anecdotally I don't have a lot of confidence.
This was very well put. +1
How can more blurriness be a deliberate choice, this is awful, almost apocalyptic
I think keycloak is fantastic. The only thing I don't really like is how the user profile is deeply baked into the code. It seems they're working on improving this, but at least currently, it is not possible to have users that do not use a "First name" and a "Last name". Which is rather annoying when using it for things like game servers, where people just want to go by their username.
Why is every consumer startup selling me what I already own for 10x the price?
I don't believe the issue being addressed is a lack of web development platforms here.
This happens everywhere in the GNOME ecosystem, it's why they'll never be the MacOS replacement they so desperately want to imitate.

"Blurry text? I can't see it, it must not exist!"

"Fractional scaling? Just get a hidpi pixel-doubled monitor, why are you hurting yourself like that?"

"What's xOrg? We'll just drop support for you if you're not using an incredibly specific range of graphics hardware, that shouldn't be an issue right?"

"After taking a long, hard look at the Linux app scene, we've decided that AppIndicators are bloat and will be unsupported on GNOME (and Wayland, while we're at it)"

"Alternative color schemes and stylesheets are bloat, we're obfuscating the interface for it to make it harder for vision-impaired people to use our DE, as well as generally gimping the people who want to customize their desktop to their liking."

"Snaps are awful, so we're making our own version with more bugs and less features. Introducing Flatpak!"

It's all so tiresome. I've pledged to never write an app in GTK4 because of this asinine behavior, I'll stick with GTK3 until they get their circus act together.
Think of a Number. How Do Math Magicians Know What It Is?
Pinker kinda wrecked his own credibility back in the oughts.

https://www.vice.com/en/article/g5pn87/free-speech-crusader-...

We all know who started the politicization of climate change

https://en.wikipedia.org/wiki/ExxonMobil_climate_change_cont...

It's unfortunate that the position "I'm OK, You're OK, They're not OK" sells so well politically. I just imagine 30,000 years from now people have built a Dyson Sphere and evolved considerably and there is still some group of "people" who are talking incessantly about how awful it was that Harvard was "woke" even though everybody else has long forgotten what Harvard was.
Can you disclose the number of users & apps you have? Are you using Keycloak or do you pay for Red Hat Single Sign-On (for context, that's the name of the downstream product that Red Hat sell subscriptions for).
One particularly annoying case comes up when using IIFEs:

let c = a + b
(() => { ... })()

This is evaluated as:

let c = a + (b(() => {...}))()

which usually results in "TypeError: b is not a function." Obviously this can be solved with a semicolon after the "let c..." line, but another common approach is to just prefix all IIFEs with semicolons, since empty statements are no-ops in JS:

let c = a + b
;(() => {...})()

I personally prefer to forego semi-colons, but I have a hard time getting worked up over it either way.
Why design new, low level systems when our stacks are built on old, debugged foundations and work "well enough"?

Who wants to think about cycles and bytes when everyone else is talking about gigabytes and "spin up another 1,000 instances" is the expected answer to every problem?

Is anyone hiring these people? Look at the SoC world, the stuff that's being made with the expectation of taking advantage of the public code ecosystem... Would you even want to work at a place like that? "Make the minimal system that passes tests; actual functionality is secondary" is not a good motivation.

Even the RasPi people have blobs of ugly and seekrit hardware; and they're the epitome of "open" systems engineering now, aren't they?
As long as you can look into it from the street you'll have some benefit at least. Walking along other people's gardens can be quite relaxing too as long as high walls are not allowed.
I'll agree to split that hair here: B-school professors probably don't get to call their own shots, and as such, do not act in their role as educators in those cases.
Is the title intended to say 1918-1920 flu?
GCP (especially Firebase if you’re looking for a simple abstraction layer that feels more Heroku-like) is absolutely phenomenal.

If it wasn’t for the legendary bad support and constant Google-typical paranoia of and arbitrariness in shutting off services and banning accounts I‘d move my whole company to it from AWS in a heartbeat. (Realistically these points have never been an issue ever, but that kind of backdrop doesn’t feel too good)

AWS vs GCP feels like Windows Server vs a Linux server distro in terms of UI and complexity overhead
Have you done a signup where the email address is used as a username?

Or email address is required? The email address username generation is useful for those cases (assuming you use unique email addresses for each signup.)
Perhaps those who wish to remove rights from people and treat them as second class citizens simply because of their sexual orientation, religious belief or lack of belief, or socioeconomic status deserve to be treated the way that want others to be treated.

I see little wrong with letting people experience a bit of what they, if they could, would force others to experience.
Ukraine war: EU plans Russian oil ban and war crimes sanctions
I totally agree here. We got an InstantPot when they first were fashionable, but fairly quickly switched to just a regular pressure cooker. I had before that been worried about the risk of explosion, but that's just because I didn't understand them.

I switched to a regular pressure cooker because the InstantPot is fairly slow to come up to temp, being limited to a 15A 120V outlet; my induction stove is amazingly fast. Making a big pot meal in the InstantPot could take 30 minutes to start coming up to pressure for a 10 minute cook. Not bad but the stove will do it much faster.

The article seems fairly vegetarian slant, and is right on about beans and rice, especially brown rice and wild rice are nice in the pressure cooker. I've also done on a number of occasions a "no drain" spaghetti and meat sauce that comes out fantastic in about 5 minutes. Pasta isn't a long meal anyway, but the sauce cooking with the pasta is convenient and makes it a little more hearty, with the starches staying in it instead of being drained off.

Meats are great as well, my wife has been making a barbacoa out of pork loin that is amazing. Shredded pork loin in around 45 minutes is shockingly quick. I used to regularly do a "chicken and rice" in 45 minutes that the chicken would just shred as you stirred it up before serving. Shredded chicken for tacos is also super easy, some people like to shred chicken in a mixer, but with the pressure cooker you can just stir it up and it shreds.
This was quite funny:

if name == "boring_wozniak" /* Steve Wozniak is not boring */ {
goto begin
}
or die...
"promotion-based architecture" aka "CV-driven architecture" :)
It's actually much more common to use map[T]bool, because it allows easy membership testing just with

if m[x] {
...
}
How to implement what OP wants to have:

- their content stored on a PouchDB/CouchDB server. blog posts, comments, shared memes, listened songs... anything can be represented as an ActivityStream document

- files/attachments can go to an IPFS store

- the ability for authenticated users to pull this data, and remix into their own database.

That is it. You can then have all kinds of tools to author the content. You can have your static site generator pushing your content there. You can have a audio scrobbler and get last.fm. Any commit to github can become a entry in the journal. You can send pictures from your phone. Saved bookmarks. Shared cooking recipes...

So you will have your different sources of truth (git for the text content, your media library for your pictures), you have the database and you have your peers databases as the "remixed" copy of your data.
Yes, seawater and ash
https://unews.utah.edu/roman-concrete/