skysight-inc/HackerNews huggingface dataset:
Show HN: A pure rust discord bot hosted on Cloudflare workers
Hi HN,

I've made a discord bot template that you can clone and create your own bots.

It's a serverless bot hosted on cloudflare workers which looks like a great use case for this sort of thing.

Using workers you have almost zero (<5ms) cold start time for your functions. With a free account you get up to 100k requests per day and you can store/access state using KV or durable objects.

Workers only support Javascript and WASM in their runtime. This bot is writter in pure rust which compiles to WASM and deploys your worker with a simple CLI command.

I've made a couple of bots using this template, mainly for stitching together rest APIs and the response times are pretty great.

That's all, thanks!
You do realize none of them would exist without life.
Gee, I thought I had lost you, as you said yourself, but it appears you were just making grandstanding dismissive motions.

The only failure of the west is trusting Putin would be content only taking Crimea. The failure of Putin appears expecting the west to make that mistake once more with Ukraine, as you propose. Unfortunately the west has united, Finland is joining NATO, Europes dependency on Russian energy is disappearing and the war is a failure.

But good luck supporting your dictators neo imperialist dreams!
> I can guarantee that you didn't actually predict the story, and put it down before you could be proven wrong

https://news.ycombinator.com/item?id=33047849
>It happened to art and I don’t see why devs think they’re immune.

Probably because it's a different problem domain that actually requires precision and the requirements often are unexpressable in natural language.

Also, it has not happened in art. You can say it has happened in art when 50% of currently salaried graphic artists are unemployed.
The writing is quite confusing - a "coroutine" is by definition cooperative (that's what the "co" means). I understand that this introduces a kind of user-space/green threading (as opposed to OS threads) but it's not clear if they're actually coroutines (can they suspend themselves/yield? Or is it purely preemptive?).

Some notes on the preemption mechanism would be cool too. One of the classic problems with a purely cooperative multitasking system is that the coroutines can become starved in hot loops. Iirc go fixed this by adding preemption using a timer. I've seen some applications use interrupts for this in embedded, but those are expensive too.
I did read the document, it talks about user interviews, surveys, testing solutions, etc... But never once the actual act of the designers sitting next to users and just observing what happens.
I also felt that paragraph didn’t hit the mark. All value systems apply rationality to a set of assumptions. Religion starts from the assumption “what is in our holy writing is true” and then applies logic to derive a complete value system. In that sense religious and atheist value systems only differ by their priors, not their use of rationality.
Good point, but there's also the fact that when someone inserts "booger hook" into a life and death serious lesson, it makes it more memorable.
"If you're of European descent, for example, you share more with the Hadza than you do with those of East Asian descent -- as they also share more with the Hadza than they would with you."

How? Hadza would be about 3/1000th Neanderthal while both Europens and East Asians are about 20/1000th. Because home sapiens mated with them after leaving Africa and there wasn't much gene flow back into Africa. Even if that weren't the case I don't understand the reasoning behind your comment.
Passed the House, not passed into law.
I have never used or seen an AS/400. I remember that during the late 1980s and early 1990s I worked with some people who used one. After I left that job, I encountered one in a Metro station; she told me that her section had switched to an NT based solution, which was much cheaper but also much more prone to failure. And I did know a guy running an AS/400 perhaps 15 years back. He was very happy with it.
The climate and available foods near Olduvai Gorge were quite different when hominids evolved there. I suspect the current Hadza diet is substantially different from that of our ancient ancestors. Temporal distance matters as much as geographic distance.
I have been hunting for some kind of cyberdeck of this sort.

Ideally with a trackpoint rather than touchpad.
If you haven't used it then don't be spamming it
It'll push towards the kind of compensation that isn't easily captured by those metrics. There is an incentive for this asymmetry to exist, and the thought that we can just outlaw it out of the way is noble but flawed with tremendous hubris. The unintended effect is that it'll now become EVEN HARDER to truly gauge overall compensation... things like bonuses, gifts-in-kind, etc., all will increase. When a co is required to put something like this out there, every internal and external stakeholder will begin seeing the number published as some lower-bound of a "fair" salary ("hey, why is the new guy getting more money than me?"), so they will be incentivized to reveal as little as possible OR to give as imprecise a number as they can.
> but in the home might be watched in an unhealthy way ie repeatedly looking at a particular very [meme]iolent scene

I should never have watched that Dark Knight Rises aircraft shenanigans sequence, so many times. Who else can be blamed?

Bane?!
The problem is the naming.

Even weak/incomplete AI results tends to fuel the imagination, we can easily fill the gaps with anything from fiction or our own dreams.

On the contrary, when AI works and is strong (like with chess) we stop calling it AI and start seeing it for what it is.

Stockfish is called a chess engine. Not an AI.

And the algorithm behind current chess engines is not super smart, it is mostly brute force.

The trick is to avoid doing brute force at every move, but instead doing the grunt work once a huge computer and store everything in a compact form.
We’ve made significant tweaks to screen-sharing in the past 2-3 stable releases, in case you feel inclined to check us out again :-)
I’ve had coworkers like that. Tempting to ask for their address and Instacart a 9V battery…
well today you learned something :) it's a good day. :p xx ;p
One of the worst things about call centres is hearing everybody else. Work from home makes more sense.
Show HN: ShopMe – Combine all of your e-commerce wishlists into one
Hey everyone!

My name is Jerome and I'm the Founder of ShopMe (www.getshopme.com).

Originally, ShopMe was an app that let you scan items in physical stores and it would tell you if you can find that item somewhere else more cheaply. After some feedback though, we found out that the biggest problem of our target users is managing their wishlists.

74% of people who buy online maintain some kind of wishlist to keep track of things that they want to buy but they end up creating too many lists across multiple sites. There's no easy way for them to consolidate it so they forget items and lose out on deals.

We (re)built ShopMe to address just that. You can create a universal wishlist - add individual items via product links or barcodes and even import WHOLE wishlists from most major ecommerce sites (just make sure they're public). Get price drop notifications and when you're ready to order, just put it in your ShopMe cart and order with one click (even with multiple items across different sites).

We were in private beta for a few months but we just launched on Product Hunt. If you're the type that has multiple wishlists, do try it out!
This is why my original comment ended with "so far".

In any case, we definitively do not have millions of people sitting on ARMs that just went from from 2% to 7% like we saw in '08.
JavaScript minifiers to obfuscate the code have been around pretty much since the language got popular, so that version of the web's been gone since about when Myspace lost to Facebook. Places like Glitch.com is trying to bring that back though.
Their docs are surprisingly good: https://docs.cypress.io/guides/references/best-practices
yes, of course, but life is just a necessary not sufficient condition.
That's funny, I was just watching a hobbyist video about rotating detonation engines (RDEs):

https://www.youtube.com/watch?v=fRMMSyCcTDI

I live vicariously through channels like Integza and Tom Stanton. I've wanted to do some of this stuff for over 20 years, specifically electrohydrodynamic (EHD) engines, but spent nearly the entirety of the last 2 decades merely surviving. It's a strange feeling to watch the world make basically no progress over many years, then suddenly go through an inflection point where suddenly everything is solved and there's no way to catch up. Like with flying cars, reusable rockets, AI..

I dunno, I just feel really inspired, but am also mourning the passing of my own life and all that wasted potential. These are all great inventions, super simple, easy to build, but why the heck were we forced to do everything the hard way for so long and still not make rent? These individual projects are really cool, but I worry that we aren't solving the fundamental problem of underemployment that forces fish to ride bicycles instead of swimming freely. Still just a rat in a cage and all that.
Real lox is so salty that I know I won't ever eat it … again. I have come to really dislike salty salmon and, these days, barely use any salt when I season it.
TestDisk is cli-only. I decided to have a look at PhotoRec (created by the same folks as TestDisk). It has a handy QT gui. Unfortunately, the only option is to scan the disk for selected file types and dump them all into a chosen location. This loses folder structure, so years of files will all get blended. I'd prefer an undelete option that can target "C:\Users\TEMP\Documents" etc, but this might be asking too much. Gonna try TestDisk next..
Note that as a general rule, the size of the brain does not escale as the volume (or weight of the animal), it's more like

volume brain ~= volume body ^ (2/3)

https://en.wikipedia.org/wiki/Brain%E2%80%93body_mass_ratio (in the graphic, dolphins are almost in the same line with a slope of 2/3 than us, but whales are lower)
The TC39 Process
Great article.

I had a houseguest and I toasted bagels for breakfast. I got out the cream cheese and smoked salmon, and he said, about the salmon, "I guess that's required for your religion?"

I said, "But I'm not Jewish!"

I didn't know that was required.
In the "5G" bundle of technologies, one of the things was specific features for connecting larger numbers of low power devices very cheaply. Think almost every >$20 gadget in your home having its own GSM modem.
> What a something means is defined by how many people use it for a given definition

Ctrl-C means interrupt to everyone in Unix, since the dawn of Unix.
I guess I worded it incorrectly. My point was that it's two completely different ways of selling you things. Supermarkets use all these techniques to subconsciously make you buy more things, but they rarely try to sell you a singular product.

Product websites actively try to distinguish themselves, to make you feel that the product is unique and convince you it'll make your life better. Having the same style of website for every product ever feels like something that'd actively go against the goal of the website. After all, if two things look the same, why would I pick one over the other?
It is a group, but it is not a facebook group.
https://archive.ph/KdcXG
I'm better at buying books than I am at reading them
This! I've been on a crusade in my city trying to get them to reverse the laws around what fruit bearing trees can be planted on the streets. It's crazy to me that only male trees can be used, as they produce so much pollen and don't produce anything useful for folks to eat. I can see the point about fruit making a mess, but pollen is just as bad for cars and our health.
Every acquisition over $100m should automatically trigger a review, especially if said company is a "leader" in ANY market, and looked at from the perspective of:

"Is the company removing this competitor from the market hurting competition in their own market in the long term?"

It's way better for the market to let the cash-rich large corporations attempt to develop their own competitor to a new threat they might see in the market than to allow them to buy that competitor.

It would've been better for us if Instagram was never bought by Facebook, Admob never bought by Google, and so on.

Sure, maybe they wouldn't have gotten quite as successful on their own, but for one perhaps Facebook wouldn't have become as strong as it became in the social media space (a good thing) or they would've been forced to create a NEW competitor, and we all benefit from more competitors in the market. Instead they removed one and made themselves even more powerful.
> This can be the future of search

This is a brilliant idea. Anybody who's looking for startup ideas, here's your gold.
By your “look at the numbers, 50%” logic, putin is probably good (77% of the vote), and italy could easily have elected a fascist (26% of the vote or 16% of the population).

Turns out the “numbers” aren’t a very good indicator. I’d suggest we should look to what they say for signs of autocratic, kleptocratic, fascist, or nazi ideas.
Some of the worst engineers I've known wound up there (and are still there). Not necessarily bad people, just borderline frauds. I don't trust their organization to do much credible work as a result.
So “think of the greater good” hokum?

You have the spoken traditions memorized, that’s for sure.
I assume because you can use (mini)nuclear explosions in deep space?
Recuva is a great freeware tool to restore files.
I sincerely don’t see the connection between capitalism and anti-WFH. To me, I see it reducing the cost of starting and running a business. It’s also very family-friendly (a lot of entrepreneurs seem to have families, especially older ones.) Is that based on a recent article or study?
Apparently you stopped reading, but since I never claimed CoPilot is not useful, it wasn't because of that. My claim is, I think, more subtle. The tools of AI/ML are useful, and can solve many problems. But they can't solve all problems, and specifically, they can't solve many of the problems (well) they are currently targeting.
> if someone from the team steps up and adds a lot of value that is expected from a co-founder, we will definitely promote the person as a co-founder

How can someone get the title of a cofounder of an already (at least) 2 years old company which is already set up an running? I understand that traditionally this person then represents in investor meetings, but why does it need to be a _founder_ title of something that was founded long ago?
What's really important about this isn't bicycles in the traditional sense, it's infra that can be used with e-bikes, e-skateboards, e-mini-scooters, etc.

I think the sweet spot is a 50 mile range single person miniscooter (similar to birds, etc), that will be lightweight and foldable and charge quick on 110V. You take that to work, fold it up, charge it whjile you work, use it for lunch/errands, fold it up again, commute home.

The current Birds/etc scooters are juuuust a bit to heavy. I think it's well within the next-gen LFP and sodium ion to produce usable 50 mile scooter that weight 2/3 to 1/2 of a the scooter sharing service designs.

Those should practically be free to any resident of a city in the world in terms of tax rebates or a stipend. I really can't think of a bigger carbon bang for the buck than a 200$ free credit to buy an e-scooter and $1000 for an e-bike+trailer for basic groceries errands.

The portable/foldable e-scooter is a very natural integration with mass transit and intercity as well, while bikes are a lot harder to integrate.
I think you may be reading too much into pro or con “capitalism” here.

I am generally pro capitalist (to a point) but any also pro WFH (in many situations) and don’t see any conflict. It is a complex socio-economic issue and there are benefits and downsides to both office work and WFH.

Some businesses oppose WFH but others are embracing it. A lot are experimenting with many trying a hybrid approach of intermittent office work with WFH on other days. Some employees love WFH and would do it all the time but others find something missing or inconvenient about it and would rather work at the office or be able to have a choice about the mix between those options.

Whether you get more local engagement of those employees around their home may depend on the neighborhood they live in. Some may get a local convenience store but others may just drive to the closest Safeway.
Only one console supports Vulkan, the Switch.

Somehow there is this urban myth about Sony caring about Khronos APIs, when they only did such a thing with the Playstation 1, using GL ES 1.0 + Cg as alternative to their own API, as the adoption was very low, they eventually dropped it.

Even on the Switch, if you want all the low level features, you are better served using NVN.
Have you got a link to the EU directive? I haven’t heard of that and a quick search didn’t bring anything up.
I think you're missing the point... the only reason you'd need any of that is if it were useful to you. If your environment provides everything you need, then it isn't. Everything you describe needs to be driven by needs. If those needs don't exist because all wants are satisfied in such a society, then there's no push or pull to do all of that. I think you're basing your comment on the assumption that they're missing out on something, but this is exactly what I'm challenging. If you wanted to convince me, you'd have to establish without a doubt that they do have the shit land and that they live in poverty and don't get what they need and are completely marginalized; however, that's far from what I've seen in documentations about them (ignoring notable exceptions.)
Friendship isn't just spending time with someone.

Let's invert the problem. My coworkers are stuck with me. More or less, whether they love me or hate me, they don't really get to say no to being around me.

To that end, my goal around my coworkers is to be pleasant and not too opinionated. We'll talk about non-combustible sort of topics and I'll try to keep myself restrained on strong opinions.

I don't do that with my friends. I pick my friends and my friends pick me. I am very close to my friends and we know each other fairly intimately, including our thorny opinions and sex lives and non-HR approved behaviors. We are friends.

Do not burden your coworkers with your relationship. Be professional. Have real friends - and be real with them so that you may know them and be known in return.
Hotwire – HTML over the Wire
I spent a lot of time on UI/UX design between 2004-2014 at Opera, the browser company (on the mobile browsers). Finding someone who was good enough at pixel level graphics design and was capable of iterating like us software people were used to was insanely hard, nevermind the complexities of the UI/UX designs.

I think things have gotten a lot better since then. Now it's routine to see very well-designed apps (and sometimes even websites) from even relatively small national/local entitities that totally nail all three main aspects: GFX/UI & UX (well, and sometimes even transitions/motion design). It's really impressive to see how the field has scaled up. I must assume that the various variants of education are working. (Northern European context.)
I agree with you, and also with the GP.

Given this is HN, I read that comment as assuming an entrepreneurial disposition, one wants to "change the world". It's easy to imagine how one might want things to be, imagine steps to achieve that, and then crash hard into reality. Regardless of intelligence or diligence, the future is fundamentally unpredictable. I take the GPs point to be that you'll do better in your goals if you are able to pursue them with a measure of naivete versus dwelling on your best expected probabilistic outcomes which are likely to become more pessimistic as you gain experience. This is reflected in the common story from successful entrepreneurs: "if we knew how hard it was going to be we never would have started".

That said, I also appreciate your point about perspective. The ideal is to be able to leverage all your knowledge, instinct and willful drive, but without an emotional attachment to an outcome. Walking the tightrope between apathy and frustration as it were.
The best evidence we have now is that sugar consumption is a far worse risk factor for heart disease than saturated fat. The amount of saturated fat in your bloodstream has little relation to the amount you eat.

https://peterattiamd.com/donlayman/
Musk seems like an odd choice of boogeyman to me.
Once you have a SSD you can't get back deleted files.
Boom is leaving the tough engine engineering to others, so it might be a glider.
I'm curious if there are any out there that come with all the tools needed for a login/auth system. I know django does, I'm hoping for alternatives.

it's the most boring part of a system to me, but if it's not built in from the start then it's a terrible time trying to back it in. it's one of those things that stops me from ever starting a project.
> having a social circle to intro investors

> with negligible traction

Disagreeing to these two points. The traction from HN & ProductHunt launch was good that ToolJet got 1000+ stars on GitHub in under 8 hours. The intros were made mostly by great open-source founders who were totally strangers at the time who discovered the project mostly from HN.
If you have any involvement with Jigasi or might be in the know -- are there plans to use whisper, for instance, instead of Google's API for transcription? If I recall correctly jigasi is using google's API, local transcription aligns well with the rest of Jitsi's missions.
Yo, I hear you.

Tell me more about the potential of electrohydrodynamic engines. What excites you there?

I want to know whether it would be possible to efficiently ionize air and push it with electromagnetic pulses. It just seems so futuristic, you know?
On a long enough timeline, every company becomes an AD company.
I think Nintendo already did something similar with games like AC Odyssey (and probably others) though they never did it in the western market to my recollection. However it might be another company that operates the servers.
In fairness Junior ICs also miss the collegiate atmosphere of going out with all their work friends after the day wraps ;) I was a Junior IC with smart attractive colleagues once…

It is a real issue though and the answer isn’t obvious. I tend to think that something like A16Z’s model will wind up as the end state: modest amounts of flex office space, geographically distributed, with frequent, family-friendly off sites.

Pair-programming software infrastructure will have to improve, and maintaining a hub of urban office space where Senior ICs get a COL bump to be near the young folks will probably be part of it.

It’s a new world, and there will be an adjustment, but there’s enough critical people who simply aren’t going back that it’ll be management’s job to figure it out. I imagine figuring it out well will pay commensurately well.
They'll read it next time, most likely. This is how people learn.
Europe had a considerable population predating the Age of Exploration, while I won't commit to calling it causal, enclosure is attributed as one of the reasons for the AoE in texts. And enclosure was at least in part driven by agriculture. So you can call it what you may, but I would call socioeconomically driven violent ingress into previously occupied territories colonialism and not migration.

Reich's book was good.

https://www.nature.com/articles/s41598-022-14395-4
Agreed. To me, a co-founder is anyone pre-money. Anyone post-money is an employee.