skysight-inc/HackerNews huggingface dataset:
Show HN: Kweb 1.0.0-RC.1, a lightweight Kotlin web framework for back end devs
GitHub: https://github.com/kwebio/kweb-core
User Manual: https://docs.kweb.io/book

Modern websites consist of at least two tightly coupled components, one runs in the browser, the other on the server. These are often written in different programming languages and must communicate with each other over an HTTP(S) connection.

Kweb's goal is to eliminate this server/browser separation so that your webapp's architecture is determined by the problem you're solving, rather than the limitations of today's tools.

Kweb is a self-contained Kotlin library that can be added easily to new or existing projects. When Kweb receives a HTTP request it responds with the initial HTML page, and some JavaScript that connects back to the web server via a WebSocket. The page then waits and listens for instructions from the server, while notifying the server of relevant browser events.

Features:

* Allows the problem to determine your architecture, not the server/browser divide
* End-to-end Kotlin
* Keep the web page in sync with your back-end data in realtime, Kweb does all the plumbing for you
* Server-side HTML rendering with rehydration
* Efficient instruction preloading to avoid unnecessary server communication
* Very lightweight, Kweb is less than 5,000 lines of code
Many, many places don't have that competition. Plenty of communities are at risk of losing their two local grocery stores and seeing them become just one.

Grocers are not evenly distributed, so while you are correct that at a national level there exists competition, it doesn't exist everywhere.

And while a monoculture in an area might represent an opportunity for a grocery store to disrupt things, the people living in that monoculture gain no benefit from that opportunity - they have to live with the monoculture until someone maybe fixes the problem.
Deep Fake tech needs to puncture the public's consciousness ASAP, diluting terms will be counterproductive
Because you have the wrong premise. It's not "do I drink or not", it's "I have drank, do I drive or not?"
Doesn't seem that wild to me, tbh. It's always been the case that the employers are centralized vs. the employees are decentralized, so when it comes to negotiations the centralized party has enjoyed major benefits due to informational assymetry as well as possible coordinated bargaining. Open sharing of information between employees _should_ make it more balanced, which the employers may not be used to.
The word minimal often means minimalistic in appearance and resource use, what I want is minimal work. That's why I run default gnome.
Could I try it on a cat?
Comically the revert of the revert has now been pushed and we're back to businesses deciding inside or outside of IR35.
Berkshire Hathaway suffered an 30+ billion loss just because Apple’s stock price declined.

Neither company is losing money and both are highly cashflow positive.
I wonder about this a bit. If I'm already storing all the PII in my database, probably on other people's computers via a managed database or at least a cloud server, why are logs different? Is it because they don't receive the same security scrutiny, e.g. any dev can view them versus having special permissions for the database?

Or is there more there than authorization that I should be thinking about?

(Obviously I'm not talking about logging cleartext passwords, which don't belong in the database either.)
That's still not anonymity; it's just pseudonymity with more masks.
2 thoughts…

1) This may be tied to licensing in some cases.

2) If it truly is valuable, and companies can’t tie it to contracts, then they may require people to pay out if their pocket for it up front.

As a similar model, look how few companies do tuition reimbursement any more.
I work at a Fortune 100 company. More than one contract programmer who came in were under these agreements. Most of them were placed by an agency. Furthermore, most of them were billed by the agency as "senior programmers", even though some of them had little to no IT experience. None of them were renewed on their 3 month contracts or extended a job offer.

Some of them had multiple layers of management - they were placed at our company by an agency, who was getting them from a subcontracting agency. Sometimes the management layers were even a level more - the subcontracting agency had a subcontracting agency.

Also for one guy I talked to, the agreement was not just if they quit, but if they were not re-upped for the contract, which they were not. The agency was unable to place them again, and laid them off. The agency did not go after him for the "training" money, although according to the agreement they could have. He had gone to a six month bootcamp, but that was at his own expense and before he connected with the agency. He said the "training" the agency gave him was worthless.
Their chosen hypothesis doesn’t seem any more unprovable than the countless other “study says” headlines I see every day, even here on HN.
Thank you. This put me on the path to some research and I got mine setup with Google Drive and mkdocs.
> It appears that this is necessary for autopilot to function

Seems like the answer is here. Tesla evidently needs unquestioned access to your high beams for their research program in which you are voluntarily participating. You can regain control of your high beams by leaving the program.
This isn't true. US born citizens, excluding those naturalized or with a dual citizenship elsewhere, simply cannot be stripped of citizenship for any reason. Because this would reduce them to statelessness.

Although the UN treaty signed on this isn't binding for the U.S., it would certainly break a taboo and give justification for other countries to reduce their citizens to statelessness while they're in the U.S., thus blocking the possibility of repatriating them back to their home country.
Is there anything like this for a wider basket of (tech) companies?
The effects are local, though. The existence of Walmarts somewhere doesn't affect people living in Seattle, for instance, since there are no Walmarts within the city. We have 16 Kroger-owned stores (QFC and Fred Meyer), 15 Albertsons-owned stores (Safeway), and no other "normal" grocer chains (there's Trader Joe's, Whole Foods, etc.)
Man, I wish I could go to the gas station and tell the attendant I'm going to pay them what gas should be worth if you ignore all the shenanigans in the middle east.
Doh! I'm one of those guys who spell checks every meaningless post to death and this was the ONE TIME I didn't lol - oh well I love this place ¯\_(ツ)_/¯
My CPU is still good but my X99 motherboard is not doing too well and I can't seem to find any good replacements for it online. Bunch of dodgy ones on Ebay from China that are probably no better than what I already have. I wish I could find a brand new X99 motherboard at a reasonable price.
Er, wow! Is there any competition beyond those two?
In DFW metroplex there is major overlap. They will have HEB competition here soon though.
Large companies give you cheap stuff by ignoring externalities.

Efficiency of production is only one axis, and we absolutely can over optimize that axis.
> This is also not true. They're mostly people with low educational attainment who are more susceptible to misinformation, but I can see the narrative you're trying to create!

How is that creating a narrative? People with low education are also often people who deal with government programs a lot. Through medicare, social security, VA, police, public schooling, public housing and I can keep on going, these people are often dependent on government. And that combined with lower mental capacity really doesn't help.

> Good governments generally understand this, and the most effective health policy during the pandemic was to give the mic to the scientific community.

That's what they did in my country... And in my country, the covid anti-vaxxers are very relatable to the ones in the US. Hell, they get most their information from Q-anon.
I read some statistic a while back that said the majority of tablet owners use them at home, 90% of the time. So this accessory makes sense as it's designed to make the tablet serve more home-based use cases.

I've found this to be true in my own use. I've owned tablets for years, but I always, always seem to go for my smartphone first; it's portable, it has all my apps and bookmarks, and most importantly all my notes and thoughts.

Once I realized this, I got a foldable phone with a pen. Best of both worlds IMO, although I do have to keep a power bank on me nowadays.
The state of the art in this is different than the state of adoption.

Ie we already have paper money backed by blockchain currencies such as bitcoin using self custodial, rotatable private keys at https://offline.cash. This gives one the benefits of paper money alongside the benefits of decentralized currencies.
The whole point of a blockchain is that it can be traced, so this should come as no shock. Anonymity is another story altogether and imo can only be achieved if participants don't move their funds between crypto <> fiat. Of course, no one is really "all in" on crypto in that way, but maybe one day more folks will be.
If they are cashflow positive this year that seems unlikely
While American capitalism turns everything into a transaction, which usually leads to dehumanizing employees, I'd blame this one more on the failure of modern education to adapt.

The fact that we spend 15-18 years just "learning" and then spending all your time on the job seems like almost the worst possible system except no education at all. Starting work much earlier (I know I could have been doing something useful at 15-16) and accepting that professionals can take a month off just for development could have become normalized if the job market weren't as exploitative as it is right now.

Given how easy high-skill employees jump ship today, I can see why companies would naturally become this defensive. It's a terrible system that's broken by a lack of trust on both sides.
>lifetime profitable

Is this like an accounting term? Because the ordinary interpretation of that does not make sense, for obvious reasons.

Also, putting in 6B to (maybe) get back 6B 10 or so years later sounds like a shitty investment to me. ¯\_(ツ)_/¯
I haven’t listened to radio for more than 2 decades. Is being played on the radio still a sign of being current and popular?
asking out of genuine interest, because i simply don't know. what are legitimate uses of requiring an employee to pay back training costs?

the only thing i can think of is if the training is entirely optional, and not a requirement for the job or a requirement to get a promotion. seems to me that it would be pretty easy to make charging for required training illegal, and only allow charging for it if it is truly optional
As I was reading https://htmx.org/, I kept thinking "Oh crap, yet another framework ripping off intercooler/alpine. Why?". Then I when I got to the bottom, I read that it's a rebrand/rename of intercooler, which gives me a lot more confidence/trust about the project. I would recommend putting the "htmx 1.0 = intercooler 2.0" at the top of the htmx website, similar to the intercooler website.

Note: while the htmx homepage is short, I spent about 30 seconds reading/thinking about each "motivation" bullet point, and my monkey brain is very content jumping to conclusions about the project at a much faster pace, :).
In my opinion the pattern looks very similar to that of an abusive parent/partner. Only rarely do such a person correct their ways once pointed out that they are being abusive, and most only ramp up their abuse to try to "silence" the complaints.
My favorite version of solitaire requires setting aside the aces. I deace the deck before I play.
Totally with you on the value of integration tests. I'm familiar with the trophy and the triangle, but he's saying this:

'..with unit tests notably coming in last place – i.e. “only if you have some time”.'

The "only if you have time" part is what I disagree with. If we're doing TDD then I don't see how you can avoid writing unit tests, or even deprioritize them.

It's also kind of weird to separate them like that, as Fowler discussed here: https://martinfowler.com/articles/2021-test-shapes.html
Stablecoin Mechanics 2: Tether-Celsius
I don't care if it's in json, fmt or your own hacky format, just chose on and structure all you output so that it's predictable where I have to look.
I think Kroger also own QFC and King Sooper's. Hence you have to include their locations as well. Apologies if you were already implicitly referring to them when you mentioned Kroger.
That many things these days are called Blockchain, as if to appear secure, but they're no more sophisticated than centralised databases, while actual blockchains, like Bitcoin as exemplified in its whitepaper, is designed to be a secure and decentralised chain of transactions.

"Blockchain" has stopped meaning anything when people decided to use it for anything remotely related to internet money. It's just become a fancy word executives put on investor decks to woo venture capitalists.

But it doesn't mean that the actual cryptographic technology called blockchain, i.e. a chain of digitally signed transactions with a distributed consensus mechanism, is itself insecure.
No. From the article,

> While it is popularly claimed that it is illegal to die in Longyearbyen, the wording of this claim is misleading. While it is not actually illegal to die in the town, there are no options for burial of bodies there (ashes can be buried with permission from the government) and residents considered terminally ill are typically required to move to the mainland. The decision to disallow burials came in 1950, when it was discovered that the bodies of residents who had died as a result of the 1918 flu pandemic had not begun to decompose. Today, scientists fear that the corpses, having been preserved by the permafrost in which they were buried, may still contain live strains of that same virus that killed five percent of the world's population in the 20th century.
The Yeezy brand did $4-$5 Billion in sales in 2021. Until recently, he was married the most famous social media celebrity in the world.

He's definitely lost his mind but to say he's lost his cultural relevance is a stretch.
Developer Combines Stable Diffusion, Whisper and GPT-3
Disclaimer - I work on Hasura, so I won't comment too much on which is better.

They're all similar flavors of producing realtime results - which take similar, but different, methods to their approach.

My understanding (please feel free to correct me if I'm wrong):

- Supabase Realtime uses WAL.

- Hasura Streaming Subscriptions uses a query which will be append-only (could be a sort-by or also WAL).

- Hasura Live Queries uses interval polling, refetching, and multiplexing.

- Supabase uses Postgres RLS for authorization, while Hasura uses an internal RLS system which composes queries (which allows for features like the multiplexing above).

- All 3 use websockets for their client communication.

Supabase Realtime

https://github.com/supabase/realtime#introduction

https://supabase.com/docs/guides/realtime

Hasura Streaming Subscriptions / Live Queries

https://github.com/hasura/graphql-engine/blob/master/archite...

https://github.com/hasura/graphql-engine/blob/master/archite...
It's a little more complicated than that. It could be that the place is offering training as a carrot and overpricing it as a means of suppressing pay to their employees.

So you get a junior developer for half the cost for whatever the length of the payback period is OR you get the cost of a couple of junior developers paid to you by that person.

Not to mention, you could only learn that they're severely underpaying you once you get into the industry.

And when you absolutely need a job, you'll get desperate enough to take some bad deals. Because the alternative is destitution.
This is awesome! It really takes me back to when computers seemed amazing. (Yeah they do a million times more things now, but we are used to that.)

When Amiga was new, it offered so many incredible things that most people had never seen. PCs were horse drawn carts compared to the Amiga sportscar...

4096 colors! The SID audio which could play multiple tracks and speak far better than anything before.

For programming, just a few lines of code could demonstrated pre-emptive multitasking by "racing" two graphic progress bars.

Games were mindblowing. Silkworm (https://www.youtube.com/watch?v=Syk0yecayBo) with two human players on the same computer, multi-parallax background, incredible sampled explosions and music soundrack, etc. etc.

Edit - I forgot Lemmings! https://www.youtube.com/watch?v=7SgDS-16UFA&t=4372s
>IMHO mergers should be illegal. Just never allowed, maybe exceptional circumstances like charities that wouldn't otherwise be able to survive.

Disagreed. In dying industries, mergers make a lot of sense.
Aren't the economic circumstances tipping back in favor to the employers?
what is the woke phenomenon?
MongoDB Certification – Worth It?
A writeup from my September 2022 exam
Gotcha– A Captcha System for Live Deepfakes
How about the really old days?

How Imaginary Numbers Were Invented - https://youtu.be/cUzklzVXJwo?t=300 (jumped directly into the math battle part)
I didn't see any comments in your profile saying money sent to the US will eventually be used to launch bombs at non-white people. What do you have against Chinese people? Just coming off as jealousy and cope.

What do you really mean by "Xi is not fundamentally different from Putin"? You think both have same approach to politics? what sources informs your belief?

Germany _should_ be willing to sell out some other country to maintain their own economy and security of their people. It's supposed to be a democracy, the voters are german. Any german government that doesn't prioritize them over Ukrainian or US interests is corrupt
I'm pro-crytpo but Tether is a scam imo.
Is too bad they didn't look to see that there was another popular project called pgq: https://github.com/pgq
Minimalist Desktop == not very much works/to use? Minimalist in the backwoods cabin, no running water sense.

This is not intended to be mean (hey, if it works for you!), but in many ways this is about vibes, and this does have a Linux of 25 years ago vibes.
Because much like most of a unions touted benefits, the cost is hidden or diffuse.

If you ban the capacity to do this, then the role stops existing.
Why did you alter the title of the article?
Tell me about it. My wife attended ERAU to get this training and got a permanent medical disqualification about a year after graduating.
I disagree. There are limits to what ideas constitute free speech in many modern countries. As an extreme example, an idea that puts forward genocide as acceptable form of action should never be allowed under "free speech", even if it's said with nice words.

This and other examples are ruled under law in many developed countries.
Hey HN,

A new project from us at Splitgraph: Seafowl, a database that's optimized for Web applications running analytical SQL queries straight from the user's browser. Used to power interactive visualizations and dashboards. Features:

- Fast: written in Rust and uses Apache DataFusion. About 5-10x faster than PostgreSQL (some benchmarks available at [1])

- Light: single 50MB binary that starts in 10ms

- Extensible: write user-defined functions in anything that compiles to WASM

- Cache-friendly: REST API designed to work well with CDNs like Cloudflare or caches like Varnish (as well as the user's browser cache).

- Demo of Seafowl providing data to an Observable notebook here [2] (press F12 and refresh the page to see caching in action)

Happy to answer any questions!

[1] https://observablehq.com/@seafowl/benchmarks

[2] https://observablehq.com/@seafowl/interactive-visualization-...
Except that Uber sold it’s self driving division so they are unlikely to be at the forefront of that transition. There is nothing special about their app/platform so they are unlikely to derive significant profits just from that.
Are they actually that rare?

Both Slack and Discord at the very least have one, but that is a small sample size.

Both Windows and Mac apps are very eager to self update. A feature they don't have on mobile devices the likely hides these kill switches.
I mean, I would argue that the use cases people come up with simply pre-suppose the idea that "absolute power corrupts absolutely" and that there will be at least some people out there who would--or at least should--value avoiding giving those players such power.

If, tomorrow, everyone suddenly forgot what e-mail was and someone suddenly tried to invent it there would be a ton of people angry that it served no purpose and would ever catch on because it would be full of spam and people would have to run their own email servers instead of using centralized messaging servers and all the same arguments people make about crypto would re-surface ("well, maybe people could run servers on behalf of other people" "well doesn't that undermine your precious decentralization?" "somewhat, sure, but federation is still valuable" etc.).
Pinkerton[0] known for being hired to quash unionization attempts still exists to this day and has been used by Amazon and Starbucks.

[0] https://en.wikipedia.org/wiki/Pinkerton_(detective_agency)
I wonder what is their actual business model then...

is it to have trained employees do stuff and sell this?

or is it to find people in dire need of a job, and after tiring them out through meaningless pointless "training", charge them for this money, and quitely sell this as debt out in the 'financial market'?
I stopped at "neoliberal"
>First it was supposed to be a currency

>Then it was an asset that can only go up

>Then it was an inflation hedge that would keep you up when markets went down

All of these are just random narratives that you sometimes see being pushed on reddit or twitter. No credible person would make the last two claims.

I get it, shitting on crypto has become hip especially in the last couple of years. But it doesn't change the fact that the general trend for bitcoin has been a steady increase in value, and given how much money is currently being invested to crypto adjacent businesses I don't see the trend changing anytime soon.
> The reality is that Satoshi envisioned bitcoin very differently from how things are currently implemented. They envisioned public keys being rotated, single use addresses, etc.

That’s literally how all wallets work in 2022, no?

Public keys are constantly rotated, addresses are single use.
If helping is the reward, then you could get a day job so you can work on helping when the workday is done. To put it another way, your passion is not different from dancing, or model trains, or disc golf. It's special because it is the street you live on, but that's the boundaries of it.

I mean there's nothing wrong with waiting tables enough hours to rent a mobile home, keep beer in the fridge, and the internet connected so you are free to pursue the problems that interest you.

Good luck.
The reality is in many cases the 'profit' margin is negative! There's many many stories of owners that quit the situation in disgust and fear of how bad it is financially, due to running costs. A bad year of maintenance, a bad tenant, can cause big losses in a business where margins are usually slim for the first decade of ownership.

If an investment house was a business, it often takes a decade to see substantial returns, sometimes after many years of hard slog and even losses. Would you accept that from the businesses that hacker news dreams of?