skysight-inc/HackerNews huggingface dataset:
Show HN: Keel – A schema-driven back end engine with Go and TypeScript
Hi HN,

I’m one of the creators of Keel and we're excited (and nervous in equal measures) to be sharing this.

We built Keel on two principles:

1. A backend is much more than just a database. A scalable backend platform should be grounded in engineering best practices and come complete with a full suite of services without having to wire 10 SaaS products together

2. A backend should not be an engineering black box and should be designed from day one to support the entire organisation over time and scale.

Keel is a schema driven backend engine. Define your data model, api actions, permissions, events and jobs in type-safe schemas and get a production-ready backend. All the API plumbing, auth (OIDC/SSO) and core CRUD is handled automatically and you can extend everything with typescript (the core runtime is Go). Your schema actions and custom code are also instantly transformed into internal tooling UI for your whole org.

The Keel platform deploys infrastructure based on your schema’s requirements. You get Postgres, serverless functions, event queues, cron jobs, secret management and multiple environments all wrapped up with OTEL compatible tracing.

We’re very early but we’d love to hear any feedback!

P.S. The Keel runtime is open source (https://github.com/teamkeel/keel) and can be self hosted. The Keel platform then provides fully managed infrastructure and internal tooling. We’ll be launching a BYOC option soon.
From my experience trying to train embeddings from transformers, using cosine similarity is less restrictive for the model than euclidean distance. Both works but cosine similarity seems to have slightly better performance.

Another thing you have to keep in mind is that these embeddings are in n dimensional space. Intuitions about the real world does not apply there
Has there been any rigorous evaluation of word2vec calculating 'king-man+woman=queen' associations? I only recall the author providing some cherry-picked examples from their results, which I suppose makes it a seminal AI paper.
Modern copyright doing what it does best: Limiting creativity & productivity, typically to the benefit of deeper pockets.
Here’s a question for you: why do we punish people who have already committed a crime?

As a deterrence. This may as well be making an example of a whistleblower to signal potential future whistleblowers to stay silent.
> It's impossible to triangulate those huge distances

https://en.wikipedia.org/wiki/Cosmic_distance_ladder
with countvisits you can customize the public dashboard
- date range
- sections
- type of stats
- colors
- background
- fonts
- styles: cornder radius, cards....

So basically you can make really good looking public dashboard that is matching your brand
Whistleblowers dying in suspicious circumstances is more about sending a message to potential future whistleblowers than anything else.
From https://developer.apple.com/support/core-technology-fee/

> First annual install. This is the first time an app is installed by an account in the EU in a 12-month period. After each first annual install, the app may be installed any number of times by the same account for the next 12 months with no additional charge.

Okay...

> A first annual install may result from an app’s first-time install, a reinstall, or an update from any iOS app distribution option — including the App Store, an alternative app marketplace, TestFlight, an App Clip, volume purchases through Apple Business Manager and Apple School Manager, and/or a custom app.

Do I understand this correctly that you will have to pay the fee for each user (above the 1 million free) even if they just get an automatic update? Given that updates are automatic by default, you will end up paying even for inactive users (users who installed the app but long forgotten about it and don't use it).
Yes - Tencent (China) owns 12% of it. China lures guys to Snapchat via dating apps (Tinder) probably to blackmail them.
Complying with what you guess at the lawmakers' intentions was/were is a fool's errand. The law is the text, nothing more, nothing less. That's the point of the law. If the law falls short or has loopholes, it's a bad law and it's the legislature's job to fix it, not citizens' to suss it out.

To assume the law means things that aren't written in the law is, quite basically, undemocratic.
I'm having trouble making the connection between Simpson's paradox and the Epicureans. Can you help me out?
Building for Builders
Do you have svg output examples?
It was what my teacher recommended. I think with the right sharpening technique you can make anything work for you, including a harbor freight plane. Just be prepared to do a lot of up-front work to make it work. Then be prepared to sharpen the blade a lot. Then upgrade your blade to something better, like a hock blade. https://www.leevalley.com/en-us/tools/hock-tools/hock-replac....
Show HN: Find the cheapest Amtrak fares for any day
I travel a lot between New York, D.C., and Hartford and needed a tool to help me find cheap fares. Amtrak has a tool to search for tickets in a range of days, but not for selecting individual days. So I built Ahhhtrak to help me do that. Hopefully others may find it useful too!
Teams provided extremely good video conferences which was crucial in COVID world and was something that allowed Zoom to go to the moon. Slack was behind in that regard and even now their video offerings are not good or convenient to use at all.
It's a spiral, so it won't be controlled by a corporation.

Actually, there are many such collaborative directories on specific subjects; search GitHub for "awesome <something>", for instance.
So Nigeria has been destroying its currency. Shockingly, some people didn't actually want the little savings they had completely annihilated, and they weren't allowed to buy actual US dollars, so they bought stablecoins pegged to US dollars. I'm mostly anti-crypto but this is the exact situation where it provides a benefit. The government has garbage monetary policy which it enforces by trampling on peoples rights, all in the service of transferring wealth from the poor to the rich. Stablecoin access can't fix all of that, but it's better than nothing.
> Democracy tends towards the former, but capitalism tends towards the latter.

How did you arrive at this conclusion? The earliest versions of democracy used sortition for selection and thus couldn't account for doing the right thing. And of course we all know about the "tyranny of the majority" so I wonder why you believe democracy is somehow biased to selecting "people who care about doing the right thing".
That's been my fallback solution too in C++ in the past and it kinda works (and Visual Studio has a special option /Zo since quite a while https://learn.microsoft.com/en-us/cpp/build/reference/zo-enh..., not sure though if that's actually used by cmake's "RelWithDebugInfo" config), but there's still downsides even when not using a debugger. Most importantly: if you have a crash/assert handler which logs out a callstack, that callstack may sometimes be quite misleading (depending on how much the optimiser passes have mangled the compiler output relative to the input source code).
To come down to the general quality of discusion: reasons.

On a more serious note: Reporting states that Boeing and Spirit failed a third of their audits, so there is that. Also, FAA stopped Boeing from expanding their 737 MAX capacity. Also also, EASA can audit them as well (and very well might, deoending on what findings the FAA audits have; same as the FAA can audit Airbus in Europe).

But hey, if you think up even bigger, broader and deeper conspiracies necessary to make the initial obe believable, I cannot help you, or anyone.

Not the first time I think about quitting this place, for a couple of months now, discussion quality ain't any better than then comment section of my local newspaper. And thus really not worth the time.
Not seeing a stagnation in corporate profits though.
New teams is actually quite good. They even added support of multiple corporate accounts now.
>> the delta between two word embeddings, gives a direction, and the magic is from using those directions

A direction can be given in terms of an angle measure, such as cosine.
Better link: https://arxiv.org/abs/2403.06634
Pizza places existed before too. They didn't spring into existence when these companies were founded.

Delivery was still a thing.
Presumably what you mean is "if IBM locked down their PC as hard as Apple currently does iOS," because MacOS isn't locked down at all.
Is that a legal opinion, or a this is how the world should work opinion?
If we’re talking specifically about C# binary serialization I’d recommend checking out this independent benchmark another developer did comparing Bebop to everything else

https://youtu.be/XMoNYQPi2k8?feature=shared
Sadly, it seems Gandi has been getting slimy lately as well

https://news.ycombinator.com/item?id=36321783

https://news.ycombinator.com/item?id=35080777

https://news.ycombinator.com/item?id=22001822
>Besides encrypting your user data at rest using these post-quantum cryptography algo.

If you're encrypting data at rest, just keep using an appropriate mode of AES (or ChaCha20 or whatever+) and exercising good key management practices. Quantum computing is largely irrelevant to conventional symmetric ciphers.

+ for tightly constrained values of 'whatever'
It’s not measuring social status. It’s measuring social skill — something that can be learned.

If everybody (or the majority of people) you work with says you’re not fun to work with, that’s a decent sign that you’re not fun to work with.

Why would I want to work with someone who’s not fun to work with?
Interesting. I failed Kagi - it's just SO easy to stick to what I'm used to. The mere act of trying it forced me to step back and evaluate my whole Search mindset, ultimately deciding "eh, Google is good enough."

While pricing is one barrier, I feel inertia is the prime destroyer of an innovation in a space like Search. While it can super successful among a niche user base, I'm not sure how it can gain widespread adoption.
thanks for quoting his comment, because HN hides it from me.
That would be the first step in becoming a brilliant scientist who goes unrecognized in his lifetime.
That might be an option as we do use AWS. I'll have to investigate, thank you!
That's Hyrum's law, basically.

With feature flags and epochs, it is possible to evolve C++ in the right direction with the minimum of friction and make it opt-in in a consistent fashion. Circle already proves this a feasible approach, and that's a one-man project. There's also clang tooling that modernizes old C++, and huge amounts of work on LSPs and the like for refactoring, so it is possible to provide tooling that mechanically fixes-up a large portion of old code.
It's funny that you end your comment with a link to github. The centralized website that has been swallowing open source code.

Other than that, I agree with your message.
Ahh, so this is how you protect government-endorsed monopolies worth trillions - shoot the messenger, literally.

Now this is getting better than television drama and intrigue!
say that you never talked to a child or young teen without saying it

How is that a simplification? and do you really think their eyes would not glaze over as they start daydreaming about icecream as you talk.
What I missed when I went to North Korea
> What infuriates me is that often these "services" could be easily served through a simple web app. Provide a link or a QR code, let folks open the URL wherever they like, and stop bitching. But no, everybody requires a freaking native app now because it's the best way of locking people in and scooping up data even when their browser is closed.

It gets even worse when your realise the "native" app is actually a WebView loading HTML/CSS and invoking methods bound to the OS, so you're really running the equivalent of a PWA that can still run in the background, and doesn't adapt to native gestures, actions or design
Oh man Apple is finally getting a feature Android had for 10+ years! Maybe in like 20 years iphones will finally have the features a $100 android has and will be up to bare basic standards.

I def look sideways at people who buy a used $300 iphone when you can get a safer, higher quality, more feature phone with more for $150. This is different from someone buying Nike Jordans because they are status insecure, because Nike Jordan's dont affect my life. A critical mass of Apple users caused developers to make Apps for iPhones.
Compiling to and Optimizing WASM with Binaryen
Because the self-hosted runners save state between runs, as well as publicly-opened PRs/branches giving the public access to your runner environment variables/secrets.
The two main Jewish populations in France are Sephardim and Askenazim. Both have associated stereotypes that are widely used in French Jewish humour. Sephardim are regularly portrayed as extravagant pokers player, huslters and show businessman.
A good example of this stereotype is the film series "La vérité si je mens", "Would I Lie to You?" https://www.imdb.com/title/tt0120471/r.

Marco Mouly is a poker player, huslter, fraudster, compulsive liar and many other thing. Even in a film or a standup he would be too much to be true.
That's the whole point. And the reason why retaliation against whistleblowers ia mostly illegal. Proving reprisal actions can be so difficult so that it amounts to retribution itself.

All the reason more to honor those few brave souls who do it, I know I propably wouldn't. And claiming this particular one was killed is absolutely not doing that.
Given his username I'd say.. he is.

Agreed: disclaimer needed.
In other words, you think it's ok to insist on a contract with a loan for 50% interest.

I, and many others, disagree and think that's a heinous abuse despite the argument that both parties willingly entered into the agreement.
macOS is pretty hard locked to the hardware which is what OP is describing.

And it’s easy to know how it would have turned out - as a footnote in the computing world as some other clonable system took over
> The SourceHut web interface does not show any kind of indication that a message has an attachment. Last time I tried it, I had to download an mbox file and extract the patch from there. This was helped by the fact that I knew what I was searching for, but the experience was not pleasant anyway.

If it doesn't work as they expect, why not submit a PR to fix the issue on srht?

I'm pretty sure all of the 4 points the author listed can be easily fixed either by code or by talking to some veteran sourcehut users and finding the best solution for the issues. The blog post make it seem like the author is just expecting srht to be exactly like GitHub, which it isn't, plus it does seem like they're lazy to try to fix this issues and have decided to jump ship instead.
Written it in another comment. If there are ambiguities in the written law, for example because the legislature did not specify in the text of the law, that you can't charge for the access to the platforms, high courts like the CJEU will take approaches where they determine the spirit of the law (i.e. by looking at the discussion material the legislature presented for passing the law) to find out what the intent of the legislature was and then defines this law.

This is for example how Germany now has a basic right to data protection. It's not written in the constitution, it was formed by our supereme court by looking at what the intentions of the author's of our constitution were. Same principle applies to EU laws.

I agree that this is not a citizen's job. That's why I wrote that I am very happy to see the EU commission drag Apple in front of the CJEU.
"Do you often append "reddit" or "wiki" to your Google search queries?"

Well no, I haven't even used Google for search in years. I use a proxy and I also usually have a Wikipedia tab and a Reddit tab open to search there directly when I want to.

That helps keep a part of the Internet out of my reach and I'm very happy with that.
I’m so tired of this, instead of doing the right thing, Apple just keeps trying to brute force the legal framework. You don’t need fancy legal team to know this is not the way.
Did you find out why engagement stopped? Is a preference to the GitHub UI? Or, they simply don't want another site to deal with?

If anything, the only value of GitHub to me personally is this vague rationale that 'people like that more' ... but I host everything on GitLab. But, what I host are really not active projects. That's the big difference possibly.
> App Store can't be the only way to install apps.

Yes, hence alternative app stores. But that isn't the same thing as saying Apple can't take a cut from other App Stores, and surprise, they are.
Tangent: I can't recall where I first heard "plans are worthless, but planning is essential", but there's definitely some truth in it.
Buddy, 1000+ people got their iPhones cracked by pegasus, at least 1 person was killed and bezos had his noods leaked.

Yeah google does a better job.
I’m not going to hire an IT team to install and maintain MDM to prevent my grandmother from falling for a scam website and installing “free money quick 2024 +++ candy crush ultra”
No, they want more money. They are hesitant to give up a big cash cow.
I think fetish is a bit strong, though maybe somebody gets their jollies from it. I just find hand work to be more rewarding. If I was making things for a profit, then yes, I would spend the money to get to something that does tasks faster and with less effort, but I do things like this to have fun, get blisters on my hands, nicks on my fingers, build strenght, realize that if it looks straight, it is, and make mistakes that only I will ever know about. I also don't have the budget for expensive things, or the room to house all the power tools. I have the back wall of a single car garage that I actually use to keep my car in.
Have you used ChatGPT? It can do (at least) simple reasoning, for example simple spatial reasoning or simple human behavior reasoning.
Proof-of-work crypto mining is particularly egregious because it is quite literally zero sum. The world's Bitcoin miners could spend 100 watts mining crypto or 100 gigawatts mining it and due to the nature of the algorithm, the outcome would be the same number of mined blocks.
At least several of those are from me. I found numerous instances of individuals taking my CC by attribution and BSD licensed work, stripping all of the identifying information & then posting it as their own work.
56: The gatekeepers should, therefore, be required to ensure, free of charge, effective interoperability with, and access for the purposes of interoperability to, the same operating system, hardware or software features that are available or used in the provision of its own complementary and supporting services and hardware
> His core arguments are BS, but raised legitimate questions about their non-profit status and lack of non-profit related activity.

These legitimate questions about their non-profit status ARE his core arguments. His complaints are the same as the popular notion on hackernews that OpenAI has failed to be open.
> The 0.50 is probably much better if you're selling, say, a $10 app.

That's precisely what indie devs outside the Mac App Store are doing. They don't have ad-supported apps. Most of them are upfront paid, perhaps with a time-limited demo. The business models that you're talking about are a product of the App Store race to the bottom.
LLMs Will Not Replace Software Engineers
That's the point of these ridiculous rules
Things hackers would find interesting. I think they have always been posted as long as I've been here.
My decision tree for selecting source control:

Q: Do I want contributors?

A: Yes, use GitHub.

A: No, use whatever I want.
For triangulation to work you need to move, not your target. Triangulation is only used for objects within about 1000 parsecs, where we can triangulate using the movement of the Earth along its orbit.
Right, one of the interesting things about Simpson's paradox is that there's not a uniform right answer: sometimes you care about the overall average, sometimes you care about the averages of subpopulations. You have to judge that based on the situation.

One of the other comments linked [1] which includes Judea Pearl's analysis of Simpson's paradox from a causal inference point of view [2], which lays this out nicely (though maybe not easy to understand--it took me many hours of study to get comfortable with Pearl's causal inference work, even with a strong stats background).

[1] https://plato.stanford.edu/entries/paradox-simpson/

[2] https://plato.stanford.edu/entries/paradox-simpson/#ConfPear...
Yes, it's a legal one. Under the DMA:

The gatekeepers should, therefore, be required to ensure, free of charge, effective interoperability with, and access for the purposes of interoperability to, the same operating system, hardware or software features that are available or used in the provision of its own complementary and supporting services and hardware
Certainly holds true for having a baby.

You can plan all you want and it is essential... however you'll quickly find out that most of your plans are in your newborns' hands.
I'm not trying to ignore you're responses, I honestly just don't quite understand your view here.

> Nonetheless, an LLM is not performing as desired if racist biases in its training data cause it to make offensive statements about people of a given ethnicity.

This may clear it up actually. So in your view, is something racist if the person hearing/reading it is offended regardless of the intent or meaning the person saying it had in mind? I.e. a person would be deemed racist only by knowing how a third party received or interpreted the statement?

That may be where we are missing each other here. In my view racism, sexism, etc has everything to do with the person saying it and nothing to do with the person who hears it.
No need to apologise, it's a great trait to have :)
Ask HN: Problems worth solving with a low-code back end?
I have built a low-code (textual) backend builder that allows writing a backend as functions. For example, a (part) of a backend that calculates average of an integer array and then prints it out:

###
average=AVERAGE([1,1,2,3,5,8])
ECHO(average)
###

Now I am trying to find problems worth solving with it to verify builder's expressiveness and limitations. So far I haven't really encountered suitable problems. I have researched many lowcode/workflow automation tools/builder and their shared use-cases or success stories, but to me they just show-case how little they can achieve.

Have you used a low-code backend builder already for some ambitious/cool problems/use-cases? Or do you have a such problem/use-case in mind? If you would evaluate a low-code backend builder, how would you do it?
Only goes to show once more how despicable FB/Meta as an entity is and acts.

One possible course of action is starting a drama on social media (on not FB) and contacting EFF and such, to get support. Still there will be impact on ones social life and FB/Meta should be punished for making people's life shittier. They think they are too big to fail. I hope one day they will be split up or sued into compliance with some ethics, putting on some tight screws and supervision. This freak show must be stopped.

I think in the EU things might look a bit different, because there was some law against such obvious bullshit lawsuits. Something about "slap" or so in the name of that law? I don't recall exactly.
> Because it means you need to be making more than $3.3-$1.5 per user per year to break even on this, which is difficult

Perhaps this is the case inside the App Store, but it's not the case outside the App Store, where indie apps tend to be higher priced and upfront paid.

Moreover, keep in mind that the first million first annual installs have no CTF, and most indie devs will never even reach that point.
I hope this will one day become as large and productive as the Blender Foundation