skysight-inc/HackerNews huggingface dataset:
What takes it beyond ordinary politeness is the “take them”.

Putting it into physical space, if someone walked into the wrong office and you told them what the right office was and how to get there that would generally be considered polite. Just telling them they’re in the wrong office is probably impolite. The warm handoff is the equivalent of walking them down the hall and telling the people in the other office why you brought them there.

Having worked at a high-end hotel and on software teams with high support standards, this is very natural to me. It isn’t for others.
Cornell Conversational Analysis Toolkit (ConvoKit)
Nissan Leaf Visia owner here. The car is the most basic of 4 trim lines. I installed Nissan app and couldn't connect the car and found out that connectivity feature is not available for my basic car.
I don't see WASM as a significant step forward. In fact, I question its purpose altogether.

Before WASM you could already compile code from other languages into JavaScript. And have the same benefits as you have with WASM.

The only benefit WASM brings is a bit faster execution time. Like twice the speed. Which most applications don't need. And which plain JavaScript offers about two years later because computers become faster.

And you pay dearly for being these two years ahead in terms of execution time. WASM is much more cumbersome to handle than plain JS when it comes to deployment, execution and debugging.

In IT we see it over and over again that saving developer time is more important than saving CPU cycles. So I think chosing WASM over plain JS is a net negative.
If you don't mind a few small advices:
don't use global variables that you mutate, prefer structs with methods.
Add a main context with signal.NotifyContext to globally handle sigkill/sigterm and have a gracefull shutdown. Also use DialContext when available instead of Dial.
You could use errGroup to handle multiple goroutines that return errors (rather than iterating on a channel).

Otherwise it looks good, great job !
lets hope that these undesirable elements of movie making are short lived and history sees it as a glitch. I want stories, not politics for my entertainment.
Can confirm; Waffle House is almost never what I want, but damned if I’m not excited every time I go because it’s 3am, I’m drunk, and I don’t have to eat Taco Bell.

The reliability really is a thing. I don’t even look for hours on a Waffle House, I just assume that if I can drive there they’re open.
“Just try it anyway.”
I thought the same, so many Show HN landing pages leave me wondering what it is the product does. Not this one, clear and concise.
About AI slurping all information. I bet one of the first ideas organisations that spy on population had when the recent AI boom happened was: How about we just train our AI on all the intercepted data and just ask it? Is John Smith a terrorist (for our definition of terrorist)? And the AI would reply: Yes he it, he searched on Google where to buy these ingredients that can be used to make explosives. So then they go and figure out some way to "legally" arrest the guy and obtain more private info. It looks like the guy was buying the stuff because he's got a plot of land to fertilise and an old car to paint. So they ask the AI again. You said John Smith is a terrorist! And the AI would answer. I'm really sorry, I'm doing my best and I'll endeavour to do better in future. After this the agents ask for another billion $ because clearly they need more VRAM.
Not an answer, but I think it’s unfair to group Flash with the others because it was both the editor/compiler and the player were proprietary. I guess same applies to Silverlight at least.
Imagine if we could get rid of passwords. Entirely. Forever.
Sort of yes, but WASM is designed with a different set of constraints in mind that make more sense when you just want to shove the runtime into your whatever. Sometimes reinventing X with lessons learned is actually a great idea.
It's quite buried amid a lot of extra paragraphs expositing about WASM and the future of serverless functions in general, but the article does contain this quote:

> One of the many effect of how [WASM] modules are isolated is that you can "pause" a module, and save its memory as a data segment. A similar concept to a Snapshot of a virtual machine. You can then start as many copies of the paused module as you like. (As I tell friends, it's like saving your game in an emulator.)

> The snapshotted module has no extra startup time ...

> If we go back to thinking about our Application Server models; this allows us to have a fresh process but without paying the startup costs of a new process. Essentially giving us CGI without the downsides of CGI. Or in more recent terms, serverless without cold starts. This is how Wasm is the new CGI.
Well, and a GUI that people see fit to implement within many other languages as well.
Nice product overall. I had some feedback and questions

feedback :

1. Since you guys have support for multiple models, it would be cleaner and more correct to give the API some name which doesn't start with openAI.

2. sdk using other languages like Python in `show code` would be nice.

3. It was a bit confusing to figure out how to fine tune the model, would be nice if it was explicitly available as a side pane.

Questions:

1. Can you speak a bit about your tech stack if that's alright

2. How do you currently scale inference if there is more incoming requests coming in?
When computers become faster, WASM will still be twice the speed of JavaScript, because untyped languages limit the optimizations.
I think it's different. In any case, you can imagine a scenario where different states have wildly different voter turnout. That could even happen due to a natural disaster such as the hurricanes we've seen in the past few weeks. How messed up would it be for a state ravaged by a hurricane, tsunami, earthquake, or whatever to have its influence diminished because people were unable to vote? It is already bad enough that the votes could be skewed based on specific counties. But imagine the whole state losing its actual representation because of power outages and stuff. It might even encourage some states to sabotage other states, to reduce turnout.
Passion, focus.... Just like tech.
Reversals: Earth's Magnetic Flip
Or, you know, actually design the systems to be handed off at some point. Instead of the Internet Archive we could have the EV Archive.
There have also been exploits of Chrome's JS sandbox. For me the greatest difference is that WASM is supported by the browser itself. There isn't the same conflict of interest between OS vendors and 3rd party runtime providers.
> And they say "Oh we didn't care to put much effort into it", Yet Jose Valim himself tried to work on it and didn't fix it.

This is inaccurate. I have started looking again into solutions only last week [1]. My suspicion was always the database pool size was too small but, when I tried to contribute 4+ years ago, fine tuning was hard because it took too long, so I didn't pursue it further [2].

My discontent with the benchmarks is that they are not measuring what people effectively run in production. Since you mentioned Rails, here is how a Rails application looks like:

https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

But almost nobody runs a Rails application like that in production.

And then you look at the configuration of most stacks and they have been explicitly fine tuned to match exactly the concurrency traffic and patterns that the benchmark sends through. But, for most web applications, your web traffic is not homogeneous and you don't have a predetermined number of concurrent requests.

I still believe those benchmarks are not indicative of what you will actually see in production. Most companies who have gone from Rails to Phoenix, for example, report a 10-20x reduction in operation size and costs. But it is clear at this point people put way too much stock on these benchmarks. The irony of it all is that, if someone copies these setups into their actual applications, they will most likely perform worse. Oh well.

[1]: https://github.com/TechEmpower/FrameworkBenchmarks/pull/9302

[2]: https://github.com/TechEmpower/FrameworkBenchmarks/pull/5432 - here you can see me increasing the database pool to 40... but most benchmarks today run with 512-1024 connections (which, once again, is most likely not what you would do in prod). In any case, we need to bump our numbers accordingly.
Java Applets and ActiveX had less-mediated (Applets, somewhat; ActiveX, not at all) access to the underlying OS. The "outer platform" of WASM is approximately the Javascript runtime; the "outer platform" of Applets is execve(2).
I've always thought of this as the discovery of an aspect of talent, that people who'd be described as talented simply discovered by chance earlier, and isn't mutually exclusive with the act of learning it deliberately.

As in, if you have some innate predisposition towards creative thought, it'll be a Schrödinger's cat until you find some way to explore it. Someone with innately great coordination and the right build might have a higher rate of success in learning to climb or play billiards, but if they've never tried to get good at either, then until that time comes they're evidently not good or bad at either. Likewise someone who is a virtuoso violinist may or may not also succeed at swimming because some aspect of how they got good at violin carries over, but if they have no interest or exposure they'd never discover that or care if they did.

For example, I know a pro _____ who also happens to be incredibly good at aiming a frisbee. He almost certainly practiced it—since he got a dog—but his disposition was toward coordination and aim oriented things, which likely helped reduce the amount of practice needed to reach a higher ceiling than someone who's deeply clumsy might. Incidentally, he's also very good at illustration, which again he practiced before it became a medium of expression, and maybe shared an aspect of relentless determination and creativity that also came through in his sport of choice.
Great project! Congratulations to this young, and talented builder!

Was also fun to watch his video, see the progress, his nice home lab, and all the cool retro stuff he has around.

Keep it up.
you read about a psychology result.
Cocaine, the drug, is cocaine, the chemical. They're literally exactly the same thing. They're not homonyms.
(c) some companies get away with it because they have a fan base who will lease it anyway. Most companies don't.

People always jump to 0% vs 100%. That almost never happens but rather you get some percentage and that is often enough for a law to be considered successful.
Where to see dump data?
Yes, and the .Net CLR, etc.
I bet you those are sales / networking events and a WordPress software developer wasn't invited to a single one.
I work on an iOS app like this right now, it predates a lot of these newer prebuilt solutions. There are some really nice features of working and building features this way, when it works well you can ignore networking code entirely. There are some tradeoffs though and a big one has been debugging and monitoring as well as migrations. There is also some level of end user education because the apps don’t always work the way they’re expecting. The industry the app serves is one in which people are working in the field, doing data entry on a tablet or phone with patchy connections.
I started doodling in class at the start of tertiary education and I eventually learned how to draw there out of sheer boredom.

Like any other skill, it takes practice to master. While you can brute-force drawing from scratch, reading up on some techniques and anatomy will help a lot.
Demis was a legend at Cambridge. I was in CS a few years below him. He would have had very strong recommendations from professors.
It's five times, not three.
And the apex of it:

> Rich enough to control a dominating force of violence - collect taxes.
I use login with google, idk if it is safe
> Cocaine, the drug, is cocaine, the chemical

Nope. Cocaine, the drug, is a cocaine salt. Commonly cocaine hydrochloride, but Wikipedia seems convinced it's also neutralised into sulfates and nitrates. Crack contains cocaine, the chemical, but is not cocaine, the drug.
Can I ask honestly why you got into drawing?
I don't think people outside India understand what Tata means. Who Ratan Tata was. He was not some random rich person who did some philanthropy. ~66% of everything that Tata companies make goes back to philanthropy and the people of India. And these days to people where Tata companies operates (I presume). To the TATAs, people are of primary importance. They are a behemoth of a group comparable to Samsung or other big companies/conglomorates.

They don't deceive, they don't put money over people. Because their mission IS to the people. You can buy a Tata product with a level of trust that no other brand can provide. Seeing TATA along with a product is more than enough. They are the best definition of capitalism I have ever come across.

This is why you don't see Ratan Tatas in billionaire's list or rich people's list.

Everything India is because of the Tatas. They single handledly is responsible for building India's foundations. Whether it is in Health, Nuclear, Tech or anywhere. You will see Tata's presence everywhere.

I genuinely shed a tear today morning because of his passing. And I am not sure I would do the same for any other business man.

Today is indeed a sad day. May he rest in peace.
I guess a 10% risk of malpractice and wrongful death lawsuits is a pretty good justification for that pricetag.
This article really does remind me of an old Law of Software that we used to invoke: Any sufficiently large and long-lived application will eventually re-implement the entire software stack it runs on, including the operating system.. and it will re-implement it poorly.

I'm unsure of the source for this Law, but it certainly proves correct more often than not.
Deno 2 Launched [video]
What an interesting subtext and method! I'm surprised to hear it works, and now I'm curious to try

Here's a preview:
https://books.google.com/books/about/Drawing_on_the_Right_Si...
This article is about WASM on the server so to answer your question it's different because it's not pushing computational cost from the server to the client. It can, but it doesn't in all cases. That's a huge difference. Others have already commented others (better sandboxing, isolation, etc)
I was going to write a rebuttal but then I read your comment and it mirrored roughly what I was going to write.

> - Rust inserts Copy, Drop, Deref for you: it would be really annoying to write Rust if you had to call `.copy()` on every bool/int/char. A language like this exists, I'm sure, but this hasn't stopped Rust from taking off

One improvement here could be the IDE. I don't want to write `let s: String` every time but the IDE (neovim LSP) does show it. It'd be good if I can get the full signature too.

> Async is problematic

Async Rust is by far the best Async out there. Now when I use other languages I am essentially wondering what the hell is going on there. Is there an executor? Is there a separate thread for this? How/When is this getting executed? Async Rust doesn't execute anything and as a result you can get an idea of how the flow of your program goes (as well as pick an executor of your choice, might not seem important if you are on the Tokio bandwagon but if you are in an envrionment where you need a custom executor and you need to control CPU threads, Rust Async suddenly makes a lot of sense)
I disagree with this take. It’s software engineerings job to figure out, how, to do it, not if it should be done. A plumber isn’t going to refuse adding another bathroom to your house, they’re going to tell you how it can be done and tell you the cost and consequences of each option and then let you decide.

A good mantra in anything related to any sort of business is that anything can be done, it’s just a matter of cost. Of course it’s on the business to accept that, and if they can’t, well then you can’t deliver what they want. Which is probably what you meant, but it’s only at that point you should say no.
> Our existence as a field pretty much hinges on classical computers not being able to simulate all quantum mechanical problems efficiently.

I don't think this is quite accurate. It could be that many of the kinds of quantum simulations we care about can be done efficiently classically, even if the worst-case quantum simulations are classically intractable. Certainly, classical simulation algorithms are steadily improving.
> let smart quotes sort it out.

Smart quotes fail in simple cases, too.

https://gitlab.com/DaveJarvis/KeenQuotes/-/tree/main/src/tes...

I've developed a lexer/parser that can disambiguate most cases, but wow was it a chore to write.

> Well, and I'd suggest the unambiguous information was usually never there in the first place.

Interesting. Isn't the text ambiguous because the glyphs lack the semantics to capture the usage of apostrophes versus closing single quotes? It's a Catch-22, isn't it? If UNICODE had semantics for apostrophes versus right single quotes, then our documents would be unambiguous. But we can't make them unambiguous because UNICODE doesn't capture these semantics.
Discussion (88 points, 14 hours ago, 15 comments) https://news.ycombinator.com/item?id=41789551
Founder of F-secure and Nokia also keen on geoeconomics and potential of GenAI
>Recently, I had a fascinating discussion with Risto Siilasmaa. The Finnish engineer is best known for founding F-Secure and acting as the Chairman of Nokia from 2012 to 2020. Siilasmaa, a global startup guru specializing in geoeconomics, provided much food for thought as international politics, world economy, and trade relations enter an increasingly insecure period during which even a world war cannot be ruled out as a potential short-term scenario.
I’m not sure I’d call Figma local first. If I’m offline or in a spotty wifi area, I can’t load my designs. And unless it’s recently changed, if you lose wifi and quit the browser after some edits, they won’t be saved.
Bad take. Yes, you can probably optimize a lot of algos in JS such that they are pretty fast, but THAT is cumbersome. I'd much rather write the things I need to go fast in a language that's good at that (I use C for this). I'm currently working on a toolpath optimizer and I'm compiling just the optimizer function to WASM, it's a couple kilobytes and will probably be an order of magnitude faster than the JS implementation while being FAR LESS cumbersome to write. My JS doesn't change at all because i can just call the "native function" from JS, replacing my original JS impl.
Technical incompetence, it sounds like? The risks of technical incompetence seem to be rising.
Maybe before enforcing such nonsense, they should standardize function docs like javadocs. How are you supposed to know which errors to "except" if it's not documented anywhere anyway?
That is misleading. There was no state of Dakota. The two became states at the same time. Even Wikipedia says this:

>Regionalist tensions between the northern and the southern parts of the territory were present since the beginning.

So, the split was not likely about senate seats. It was about people getting along within each state.
The ActiveX "player" (Internet Explorer) was also proprietary. And I'm not sure if you could get away without proprietary Microsoft tools to develop for it.
probably be an order of magnitude
faster than the JS implementation

What makes you think so?
This is not like CGI. Calling it "the new CGI" seems to me like a way to confuse people, since CGI was a response to individual requests and carrying state across requests was always extra work. None of this has to do with WASM in particular.
Mozilla fixes Firefox zero-day actively exploited in attacks
At the end of the day, all you are doing is syncing state with the server. In the future, you'll have a local state and a server state and the only server component is a sync Wasm binary hehe.

Still, you'll be coding your front-end with Wasm/Rust, so get in on the Rust train :)
Pushing compute to the client is the whole point, and is often a major improvement for the end user, especially in the era in which phones are faster than the supercomputers of the 90s.

And otherwise, WASM is different in two ways.

For one, browsers have gotten pretty good at running untrusted 3rd party code safely, which Flash or the JVM or IE or.NET were never even slightly adequate for.

The other difference is that WASM is designed to allow you to take a program in any language and run it in the user's browser. The techs you mention were all available for a single language, so if you already had a program in, say, Python, you'd have to re-write it in Java or C#, or maybe Scala or F#, to run it as an applet or Silverlight program.
No manager is going to lose their job by hiring 10 Python and JavaScript engineers to accomplish what could be done with 1 Elixir engineer. And that’s how most time and effort is allocated in our tech labor market economy. It’s by working backwards from “I want to still have a job in tech next year.”

The number of people who are calculating which language to write in by thinking “how can I write a fault-tolerant distributed system with less time and energy so that I can quickly release performant products” is minuscule. The lack of popularity of Elixir is evidence of this I think.

In regards to your point on ZIRP: billions of dollars have been poured in to LLMs that are biased toward legacy languages like Python and JavaScript. Even the file structure of these languages is conducive to LLMs. A HTTP server can be and is frequently defined in a single file or function, where everything from socket creation to connection handling to request parsing to database queries to response can be composed in literally a few lines of code. This immense expressiveness is a testament to the power of HTTP. But as I’m sure we’re all aware there are limits to what can be accomplished with a single machine serving these stateless requests, and the limit can be reached very quickly. But LLMs gravitate towards producing these haiku-like incantations, it’s trivial for them.

Elixir’s power comes from having a well-defined API and explicit failure modes for each of these layers, each in their own expressive modules. This makes it difficult for LLMs to write Phoenix code when they’ve been optimized to output a 3-line FastAPI decorator-definition-query endpoint. Each of these layers in Phoenix is by itself quite simple, each layer has about 2-4 required functions to be implemented, and Phoenix can generate all of these for you. But ChatGPT doesn’t seem to be able to grok it all at once the way a good engineer can after readings the docs for an afternoon.

Will Elixir survive an era of programming where RTFM is a lost art? I suppose we will find out soon enough!
To this day Zod is still a huge PITA to use. See https://github.com/colinhacks/zod/issues/372
You might have missed wasi
The coolness of WASM is that I can run WASM on like 99.999% of the targets I care to run code on with zero friction. Everyone (well it's HN so someone is probably on LYNX) reading this page is doing so in a browser with a WASM runtime. That has tremendous value.
Which is why these dangerous experimental treatments are used on patients with these classes of terrible diseases first. If it doesn't work or fails horribly it's not much different than what would happen naturally.
It's difficult or impossible to compile many languages into JavaScript. WASM is more general.