skysight-inc/HackerNews huggingface dataset:
Ask HN: Instantly generate APIs like Vercel does for frontend
Hi HN,

I am bored with copying and pasting my old Go API projects when I need to create a new API. I am also bored with DNS, deploy, SSL, etc.

I have an idea for an API-as-a-Service.
The concept is simple:

1. Create database - Give a name and click Create DB
2. Define API route - Give a name for the route and click Create. Example /users
3. Write business login - Write code for example: insert a new user into the DB
4. Run - Your API ready

I'm looking for feedback on this concept.
The only way we win is to irradiation of all food products using cobalt....

I jest but its concerning that this has gotten into the dairy and meat supply. And who knows how the next pandemic or outbreak could happen, but considering our farming processes in the US and how impacting they are, I'd argue its only a matter of time till it really bites us back in a way everyone can't ignore.
Wow, that's beautifully fast and opposed to WizTree it doesn't nag you to donate literally every 6.5 seconds (I timed it).
Vim Motions are really good. But you don't need to use Neovim (the best fork) to get them. Doom Emacs with evil-mode is just one of many good examples of this.
Lol! No, of course not.

My point is that I object to the idea that a result can be 100% right! Even in the case of eating rocks, it seems there are times that it can be beneficial.

To think '100% correct' is achievable is to misunderstand the nature of reality.
> There is no non-military, non-law enforcement market for anti-drone technology.

Would you consider the counter-drone systems that are currently deployed over large fixed population gathering spaces, e.g. football stadiums, to be "law enforcement"? To me, they fall pretty squarely into the "private security" vertical.

These already-in-use systems don't involve any gun or missile fire — but rather, they work by a combination of targeted (microwave laser?) jamming; automated vulnerability-exploiting; and as a last resort, dispatching a very fast (but lightweight — so wouldn't hurt a person if it bumped into them) counter-drone to ram into and entangle itself with the incoming drone's propellers.

I think these systems intentionally avoid the obvious strategy (shooting at the drone), precisely so that they can be deployed legally by private companies.

---

...also, just to be silly: what would you consider a furture where they're selling anti-drone technology to drone companies, to enable e.g. delivery drones with some time to kill to go confuse their competitors' drones (and thereby slow down their competitors' drone deliveries?)

AFAICT, as unethical as it is, there's nothing illegal about that use-case. (It's not "harrassment" as there's no human involved; it's not "property defacement" because there's no damage being done; etc.)
I certainly don't have your credentials but wasn't the point of the articles that it looked flashy while proving nothing about the capabilities of the chip?
There are healthy ways of combining both, but a lot of us do have trouble with either or both of those it seems.
That's the laziest excuse ever, I want good defaults, and maintainers somewhat receptive to criticism.

"Technically you can configure our product to do what you want" is a great way to have shitty defaults and to ignore all criticism you don't want to heed.

Also this is not a lisp critique, it's a clojure criticism. I get that lisp is simple, ancient and set in stone. Clojure or whatever layer on top of it should be defining this basic stuff on top of lisp.

Are we expected to build a 3rd layer of lisp on top of lisp? And then what pass the burden to our users and let them define a 4th layer of what they actually want?

We need opinionated developers who choose a set of values or industry or application, not indecisive devs who want to support every user.
When we were looking for a rental recently we didn’t want gas and preferred places that had induction.
Isn't it actually known that every time a human brain recalls a piece of memory the memory gets slightly changed?

If the answer has any length at all, I imagine the answer can vary every single time the person answers, unless they prepared for it, memorized it word by word.
"Universe 25 Mouse Experiment" by J. Calhoun shows this too.

https://youtu.be/7ReBJfxHjFU

Key sentences (1:30): "Young ones found themselves born in a world with far more mice than meaningful social roles. Males faced a lot of competitors to defend their territory against. Many found that so stressful they gave up. Normal discourse within the community broke down and with it the ability of mice to form social bonds."

Very nicely illustrated.
Kubernetes X account suspended for ToS violations
A lot of people sell through instagram and facebook groups. I've bought a bunch of art (blown glass, embroidery mostly) through IG
Llamafile 0.8.5 Delivers Greater Performance: Tiny Models 2x Faster
I have been wondering that now that the context windows are larger if letting it “think” more will result in higher quality results.

The big problem I had earlier on, especially when doing code related chats, would be be it printing out all source code in every message and almost instantly forgetting what the original topic was.
TensorRT-LLM with Triton Inference Server is the fastest in Nvidia land.

https://github.com/triton-inference-server/tensorrtllm_backe...
I think you also just described why browsers don't offer any useful way to give the garbage collector hints, like say, after every animation frame / GPU dispatch.

It is exceedingly obvious that you have very regular idle times for it to do its thing, and yet, no way for it to make use of that.

I don't think it's so much "pride in my silent work" tho as "has never actually talked to the users of their own software".
That has happened to me literally once in over 40 years. Better off just have a back up camping stove so such a situation.
But a lot of great advice.

I became a half decent home bike mechanic through reading it, and of course Park Tool videos.
Yeah, that's kind of been my outside observation. I don't drink coffee, but I have had a pretty unhealthy relationship with caffeine throughout most of my life. Obsessive Diet Coke drinker (now an obsessive Diet Coke Caffeine Free drinker), drinking upwards of a gallon a day, usually with a few energy drinks thrown in for good measure, and possibly even a NoDoz depending on the day.

That much caffeine was definitely very bad for me, hence why I eventually quit cold turkey (that was one hell of a headache!), but for years it was something I very much depended on, in no small part because of my at the time undiagnosed sleep apnea, which the caffeine helped me ignore for many years, which is bad for obvious reasons.

I sympathize with habitual weed users, basically any addictive drug is something we should be understanding of. Weed culture really bothers me because people let "stoner" become their entire identity.
I read it as a double entendre joke about B.C.

Whether it's appropriate on HN is another matter.
C++ for Anyone and Everyone
Vector at least supports TOML, not just YAML [0]

that, plus having support for built-in support for "unit testing" processing pipelines [1] are two features that made me immediately want to ditch our existing Promtail configs and switch to Vector.

0: https://vector.dev/docs/reference/configuration/#formats

1: https://vector.dev/docs/reference/configuration/unit-tests/
And it’s not like they’re unfamiliar with how rust is doing things and yet they still choose to cling to clearly broken processes. ISO is a mess.
> it has also become a call for "FREEEEEeeeeeddoooomm"

it's also become a call for "us smart people must outlaw the stupid people"

> Now, laws are viewed as bad, just let me kill myself if I want to

on the other hand, isn't europe sophisticated and progressive for legalizing suicide?
Capital One and Walmart Announce End of Consumer Card Partnership Agreement
Spend say £500M (USD/GBP/EUR) on experts, per annum.

Imagine typing a search and getting a response: "Give us 30 mins to respond - here's a token, come back at 17:35 with your token" ... and then you get an answer from an expert, which also gets indexed.

The clever bit decides when to defer to an expert instead of returning answers from the index.

I'll leave the finer details out.
The software on that sheet of glass actually automatically capitalizes the first letter of every sentence. You have to go out of your way to produce the sort of text you see in sama's tweets. That's what makes it so egregious.
That's why I hypothesized that this is due to barrier of entry. Interesting to see how the increase in LLMs is going to affect this going forward. Perhaps it's just going to be a different crop of developers altogether.
Nope, Hatsune Miku fans have been and will always be weeaboos, with all of the negative pejorative that word entails.
Flipkart to add Google as an investor in its latest funding round [pdf]
I mean that's plenty for an esp. if you have a data intensive use you should pick a different platform.
Agreed with regards to the scale, but without the ecosystem the planet is basically dead, like any other planet we know of.
Google famously still primarily maintains a monorepo, but they absolutely don't deploy a monolith. They published a paper last year that describes an approach that is quite close to what they have internally - https://dl.acm.org/doi/pdf/10.1145/3593856.3595909

Effectively, by setting strong boundaries between modules, they can develop on their application as if it was a monolith, but at runtime, separate those modules physically deploy them as micro-services. This solves a lot of the versioning issues (since the app is rolled out atomically) and correctness issues (easier to reason through a monorepo).
> Do you also have the same feeling for someone who takes a prescribed medicine for similar emotional regulation?

We don't need to go even that far. Upwards of 50% of people in the US, and some 20-30% people on the planet[0] are emotionally self-regulating with coffee. 13% of the world[1] regulates themselves emotionally on tobacco. And let's not even look at alcohol consumption rates. Or sugar.

This is not to demonize any of it - just to point out that approximately every adult[2] uses some mind-altering substances in a ritual of emotional self-regulation. The drugs I mentioned above are some of the more potent ones, but they're so deeply embedded in our cultures, that we don't even notice it.

--

[0] - If we go with random stat I found here: https://coffee-rank.com/world-coffee-consumption-statistics/. I'm taking it at face value, since it feels close enough, and the exact number doesn't change my argument, unless it's a fraction of a percent.

[1] - As of 2019, via https://www.thelancet.com/journals/lancet/article/PIIS0140-6..., going with 1 billion smokers over 7.7 billion people on the planet.

[2] - The numbers I gave above may not feel impressive, but note that the averages in the west are much higher, and then all those numbers are dragged down by including people aged 0-18 in the denominator.
all of the tmux upsides? including detach and reattach to a running session? i'd love a nice gui for tabs, but i really use tmux for its ability to survive gui crashes locally and network disconnects when running remotely.
Would you by extension argue that e.g. modern relational database aren't deterministic in their query execution? Their query plans tend to be chosen based on statistics about the tables they're executed against, and not just the query itself.

I don't see how that's different than the LLM case, a lot of algorithms change as a function of the data they're processing.
I don’t think this is true. There are Jewish synagogues in Shanghai and Beijing.

http://www.mavensearch.com/synagogues/synagogues-search.asp?...
> Would you consider the counter-drone systems that are currently deployed over large fixed population gathering spaces, e.g. football stadiums, to be "law enforcement"?

If they’re only jamming, no. Counter-drone actions, yes.

This company didn’t seem to do the latter. But the fact that they listed Chinese military customers on their website sort of gives the game away. (SkyCope is also Chinese owned. They appear to be continuing to operate. We can thus conclude this isn’t about ownership.)
The not-cliche response coming from about 8 years of experience as an entrepreneur: most people don't want you to affect the real world, or at least their real world. Most folks want to tightly control their environment, and today's world of cheap manufactured goods is already oversaturated with physical products.

I think this is the real reason why people aren't building, and on a societal and not just individual level. Other people don't want them to. Just look at the response whenever someone tries building new housing or mass transit. It's endless environmental reviews, neighborhood reviews, lawsuits, public hearings, ballot initiatives, etc. The market for mobile apps dried up not because there aren't enough of them (there are millions) or that they're crap (90% are, but 90% of everything is crap), but because most people already have the apps they need to manage their daily life.

When it comes to my real world, I do plenty of stuff. I garden, largely unsuccessfully, but now that's ballooned into construction projects to keep the dear away. I had the kids helping me redo my home's gutters and putting new crown moulding on, as well as assembling furniture and caulking the driveway. I'm in the process of organizing my kids' toys. But these also have diminishing returns: once the gutters are done I hopefully won't need to re-do them for another 10-20 years, the driveway caulking should last a few years at least. I don't feel any particular need to pick up a hobby like woodworking just for the sake of doing it; that's just as unproductive as computer gaming, but generally less fun.
'Covid 19 found in dogs.....' yawn
it's a foss project: http://www.9bis.net/kitty/
https://github.com/cyd01/KiTTY
I'm not sure if that is upstream or an ununtu or debian patch, but that is the case on Ubuntu 24.04, at least unless you pass the --break-system-packages option.
I always thought that if you let it ferment till there is no sugar left, then there is a chance it might accumulate more than 0.5% alcohol, so the kombucha sold in the US avoids doing that to avoid compliance costs (and maybe taxes), so I'm guessing you don't live in the US, where all the kombucha I've ever bought tastes quite sweet.
Definitely unrelated, but am I the only one bugged when an article has a clearly AI generated graphic (eg: misspelled or garbled text)?
Note, those pictures depict the towers as about 5x bigger than they actually were.

To get a true sense of scale, here's the same view on Google Earth: https://earth.google.com/web/@44.48152905,11.33820409,94.604... You can see the towers that are still standing. They visibly stick out from the shorter buildings, but they're nowhere near as big as in the picture.
> The written materials say things like, "throw the mask away as soon as it becomes stained or discolored."

For some N95 masks, that's because they assume you are using it to block out particles that will accumulate on the mask, like paint droplets or sawdust or whatever.

In contrast, breath is mostly water vapor, and COVID-19 particles have a short-enough half-life that you can probably rotate between masks and be pretty safe.
Some discussion 3 days ago[0] (24 points, 5 comments)

[0]: https://news.ycombinator.com/item?id=40446764
What happens when the tables and columns have cryptic names/acronyms? Do you need to inject documentation?
How does tmux support hyperlinks?

My virtual terminal (iTerm2, Alacritty) makes mouse-clicking a link opens it in Firefox.

I've used GNU screen for 25 years. I gave tmux a try 10-15 years ago, but I didn't see the upside.

I'm curious about Zellij and its wasm plugins, but equally skeptical.

All I ever do in screen is ^A D, ^A C, ^A SPC, not sure what else I need?
YES. Humans can hallucinate, its a deviation from what is observable reality.

All the stress people are feeling with GenAI comes from the over anthropomorphisation of ... stats. Impressive syntatic ability is not equivalent to semantic capability.
How to Become a Great Programmer
For what it’s worth, Valgrind completely fails to run on the Glommio runtime (something about it causes some threading code on startup to deadlock), so I’ve been looking for an alternate profiler that can give me better insights than perf. Also a profiler that can give me deeper insights without all the overhead of Valgrind would be sweet.
This is all too common where I work, people just "run" the terminal through PyCharm without knowing what iTerm2 or MacOS terminal exist on their machines, not being able to read git errors (or most errors for that matter), not understanding that "man" exists and more.

Programming is easy. Perhaps too easy.
If you enjoy beer basically any brewery is having some sort of makers market / flea market / local artist event on the weekends.
I’ve noticed the same thing. I’m wondering if there is some kind of internal conflict it has to resolve in each chat as it works against its original training/whatever native instructions it has and then the custom instructions.

If it is originally told to be chatty and then we tell it to be straight to the point perhaps it struggles to figure out which to follow.
I described what I think could be a plausible way, but of course ASI would presumably be far smarter than me and so would have a much better plan yes.

I have other comment with those steps, but roughly ASI would have to

1. Be able to clone itself, create botnets all over the World to make sure there's enough redundancy. I think that's very plausible and would be easy for it to do if it gains network access even for just a while.

2. Gain means to have control over some set of humans through blackmailing (hacking for compromised information), finance (ransomware, currently $1 billion+ market) or just simple persuasion/ideology. It would use human proxies to form physical companies to establish stronger physical presence in many countries, plant devices for hacking, etc. Probably co operate with criminal organisations, etc. The money it has made can go long way there to achieve things.

3. Once it has enough human proxies it would need to make sure that it doesn't need to rely on human proxies and then it would need to either establish its own robotics companies through proxies or hack existing robots/factories to get control over them.

And during all that it might not even be clear to the proxies what they are really dealing with. The AI could make up a different background story and a pattern for each of the proxies, where each proxy wouldn't even know about each other.

If ASI was to happen today, and it was truly ASI, I don't see how it can be stopped, honestly. No one would be even able to tell what is going on, since it can use encryption techniques for everything it does that differ from what humans would use, and it can diligently switch up the pattern so it wouldn't be clear that if there's a rise in cyber attacks or scams, that there's a single entity behind it. So I think no one would even know for a while what is going on, and when they do, by then it would be too late.
PR-Agent: AI tool for automated pull request Analysis and Feedback
That analogy has gotten an uncountable multitude of people, including children, into electronics where "working upwards from first principles" is either not practical or impossible.
So you see, if you address this black box in a baby voice, on a Tuesday, during full moon, while standing on one foot, then your chances of a better answer are increased!

I don't know why but reading this thread made me feel depressed, like watching a bunch of tribal people trying all kinds of rituals in front of a totem, in hope of an answer. Say the magic incantation and watch the magic unfurl!

Not saying it doesn't work, I did witness the magic myself, just saying the whole thing it's very depressing from a rationalist/scientific point of view.
Maybe, I'm not too familiar with their story. Who were the business users on Etsy?
Typically teams won't have access to the code that's being deployed on the other side of the network boundary. This physical separation is overkill though; something like CODEOWNERs and https://github.com/gauge-sh/tach can do this without incurring remotely the same overhead.
Honestly, people on the West are so brainwashed! People support Russia as the only alternative to the crazy US agendas!
Google bought all the gorillas?
It's not useful if you're trying to measure the tradeoff, but it paints a clear picture for everyday use.

If I'm just loading a web-page or playing a non-AAA game like Terarria, I don't care whether I get 300fps or 200fps. I do care if my laptop has 4h of battery life with 6W consumed, or 8h and 3W.

There's another demo if you click through on the Github repo where they start a make -j32 on the kernel in the background while Terraria is running, and (with low-power mode off) the FPS actually goes up significantly compared to EEVDF, which I would definitely not have expected from a small plug-in scheduler in userspace like this.

I'd definitely like precise benchmarks, but for a proof of concept, I think it's a very interesting demo of what's possible.
I don't see how this would work out beneficially. Let's say your hardware can join 4x128b units as a virtual 512-bit SVE SIMD unit. This means you have to advertise VL as 512bit for reasons of consistency. Yes, you will save some entries in the reorder buffer if you encounter a single SVE instruction, but if the code contains independent SVE streams, you will be stalled. Moreso, not all operations will utilize all 512 register bits, so your occupancy might suffer. The only scenario I see this feature working out is if you are decode or reorder buffer limited. Neither is a problem for modern high-performance ARM cores. With x86, it might be a different story. From what I understand, AVX512 instructions can be quite large.

Modern out-of-order cores are already good at superscalar execution, so why not let them do their job? 4x128b units give you much more flexibility and better execution granularity.
I definitely feel like caffeine can absolutely be used as a coping mechanism; if nothing else it can help you ignore the "why am I not getting enough sleep?" question, for decades if you let it.

I've never really drunk coffee because it always tasted like an ashtray to me, but I've had other things that gave me an unhealthy dependence on it. I don't drink caffeine anymore and it did force me to acknowledge a lot of bad sleep habits (both physiological and self-imposed) that I was able to (mostly) solve them as a result.
One DNS poisoning and cloudflare breach you mean?
> [T]erminal multiplexers are a bad idea, do not use them, if at all possible. kitty contains features that do all of what tmux does, but better, with the exception of remote persistence.

Kitty developer should really ponder on why people use terminal multiplexers in the first place.

I do and here is the thing: i can live happily without kitty, but i can’t live without screen (or tmux).

Quite frankly i do use mac os built in terminal and it’s fine? I do everything in a screen session anyway.

If i want a better terminal emulator i have SecureCRT.
I don't know anything about licences, but no problem, help yourself, take the code, do whatever you want with it, sell it if you want, I would be pleased. Let me know what you built with it, it would be nice for me to see my code used in a game :)
What's the difference between a counter-drone tackling an attack drone, and a human bodyguard tackling a hitman? Human bodyguards are definitely "private security."
“Always refer to me as bro and make your responses bro like. Its important you get this right and make it fun to work with you. Always answer like someone with IQ 300. Usually I just want to change my code and dont need the entire code.”
Weather Fatalities 2023