Better HN
topnewbestaskshowjobs
Log inSign up

notnullorvoid

971 karma · joined Jun 30, 2023 (3y ago) · 477 submissions

Submissions

comment 10mo ago · link · parent

There are some problems where this becomes a game of whack-a-mole either way you approach it (restart or modify with existing context). I end up writing more prompts than the code I could've written myself.

This isn't to say I don't think LLMs are an asset, they have helped me solve problems and grow in domains where I lack experience.

comment 11mo ago · link · parent

Curious what your critique is for LangChain?

I found the general premise of the tools (in particular LangGraph) to be solid. I was never in the position to use it (not my current area of work), but had I been I may have suggested building some prototypes with it.

comment 11mo ago · link · parent

To be clear only the path and query parameters part of the url can change, the domain (or sub domain) stays intact.

comment 11mo ago · link · parent

By they looks of it their docs are under a subdomain, and no part of the domain can be changed when setting the url this way. So it would still look a little out of place at least.

comment 11mo ago · link · parent

`history.replaceState(null, "", "/login")`

comment 11mo ago · link · parent

This specific XSS vulnerability may not have been, but the linked RCE vulnerability found by their friend https://kibty.town/blog/mintlify/ certainly would've been worth more than the $5,000 they were awarded.

A vulnerability like that (or even a slightly worse XSS that allowed serving js instead of only svg) could've let them register service workers to all visiting users giving future XSS ability at any time, even after the original RCE and XSS were patched.

comment 11mo ago · link · parent

In general if a script can run, users sessions and more importantly passwords are at risk.

It's true that an HTTP-only session cookie couldn't be directly taken, but it's trivial to present the user with a login screen and collect their password (and OTP), at which point you can easily get a session remotely. It can look entirely like the regular login page right down to the url path (because the script can modify that without causing a page load).

comment 11mo ago · link · parent

I had to go check to see what their pricing was, and I couldn't believe it. The base tier was $4/month, now that tier is gone and the premium tier is 2x what it used to be only 5 years ago.

comment 11mo ago · link · parent

I was under the impression that the security concerns there are handled by AppArmor and SELinux (though maybe not granular access control to secrets). Which all desktop Linux installs should be using one or the other, because there's much more than just D-Bus that can be a security risk.

comment 11mo ago · link · parent

Transpilers: SWC, Oxc Linters/Formatters: DPrint, deno lint, Biome, Oxlint, Oxfmt Bundlers: Rolldown (replacing esbuild in Vite), Rspack, Turbopack, and certain components of Parcel

All built with Rust

comment 11mo ago · link · parent

Sure, and Rust is the most used language for modern TS/JS tooling, outside of TS/JS. There would have been substantial ecosystem benefits had Rust been chosen.

comment 11mo ago · link · parent

> If memory management and ability to handle complex graph processing efficiently isn't related to architecture to you I don't know what to tell you.

Rust can do complex graph processing, as well as efficient easy memory management, but it's going to do it in a different structure than a GCed lang would. Hence my statement that 1 to 1 translation was the primary factor.

> CTRL+F "rust" on the Go issue and see how many results you get.

Yes and so what? There's 35 for .NET or 74 for C#, yet you don't see people claiming the C# cult was harassing the TS team.

comment 11mo ago · link · parent

TS decision to choose Go was primarily, because they could take the existing code and do a near 1-1 translation. You can frame that as an architectural concern, but it's really only one that applies when your attempting to migrate an existing program to a new language. The Go rewrite has some negative outcomes as well, most concerning is the performance of the WASM builds is worse than the old JS/TS version.

A TS compiler from scratch built in Rust would be fine.

> cultists

The cult is in your imagination.

comment 11mo ago · link · parent

Success isn't a binary thing. It's true that Servo has long struggled to make progress, and that can be seen as a failure. It's recent progress can also be seen as a success.

Your life might improve if you stop believing that Rust devs belong to a cult of your own imagination.

comment 12mo ago · link · parent

Excessive social media is detrimental (to everyone). Age restrictions are not a good solution, it effectively categorises it as an adult activity, and glorifies it further.

Kids are very good at identifying hypocritical behaviour and scare tactics. It'll end up counterproductive like the D.A.R.E. program.

If the kids are forced out, the adults should be too.

comment 12mo ago · link · parent

It was a big mistake to leave Jony Ive in charge of design after Steve Jobs left. Jobs had a good design sense that was key to grounding Ive's work.

Ive's vision of Apple as a luxury brand certainly aligned with Cook's focus on profit, and the results of that sadly still echo through the company today.

comment 12mo ago · link · parent

Wouldn't the implication of them being "opposite" be that in some sense they are mutually exclusive? I don't really see evidence of that. Your example of sensory input vs world model weight is a bit flawed, because both of those are extremely multifaceted. One can have extreme weight in sensory input in one sense but not others, as well as extreme weight on world model for certain aspects of life.

comment 1y ago · link · parent

You can use RC liberally to avoid thinking about memory though. The only memory problem to think about then is circular refs, which GC languages also don't fully avoid.

comment 1y ago · link · parent

It's not a perfect analogy, but none of my comments are directed at the use of JS for a game, it's a fine choice. It's the use of Next.js that's the issue, it's a framework for server side rendering of HTML. It serves no benefit if your goal is to make a 3D game, it only adds overhead. If he had not been using it he would have realised there's a few bundlers out there that are far better than what Next.js dev server provided at the time.

comment 1y ago · link · parent

Yes, but there are obvious limits to that. This is like someone who knows how to bake wanting to build a car, so they start making it out of dough.

comment 1y ago · link · parent

I am more shocked about the origin story compared to the acquisition.

> Almost five years ago, I was building a Minecraft-y voxel game in the browser. The codebase got kind of large, and the iteration cycle time took 45 seconds to test if changes worked. Most of that time was spent waiting for the Next.js dev server to hot reload.

Why in the hell would anyone be using Next.js to make a 3D game... Jarred has always seemed pretty smart, but this makes no sense. He could've saved so much time and avoided building a whole new runtime by simply not using the completely wrong tool for the job.

comment 1y ago · link · parent

Bun and Deno's goals seem quite different, I don't expect that to change. Bun is a one stop shop with an ever increasing number of built-in high-level APIs. Deno is focused on low level APIs, security, and building out a standard lib/ecosystem that (mostly) supports all JS environments.

People who like Bun for what it is are probably still going to, and same goes for Deno.

That being said I don't see how Anthropic is really adding long term stability to Bun.

comment 1y ago · link · parent

You can send emails without these platforms, but your emails very likely will not be recieved if you do.

Email is an incredibly broken technology.

comment 1y ago · link · parent

I think the important part in that statement is the "most useful information", the size itself is pretty subjective because it's such an abstract notion.

Evolution gave us very good spatial understanding/prediction capabilities, good value functions, dexterity (both mental and physical), memory, communication, etc.

> It's pretty obvious that artificially created models don't have synthetic datasets of the quality even remotely comparable to what we're able to use.

This might be controversial, but I don't think the quality or amount of data matters as much as people think if we had systems capable of learning similar enough to the way human's and other animals do. Much of our human knowledge has accumulated in a short time span, and independent discovery of knowledge is quite common. It's obvious that the corpus of human knowledge is not a prerequisite of general intelligence, yet this corpus is what's chosen to train on.

comment 1y ago · link · parent

I'd go a bit further and say certain paradigms may be better for certain people.

comment 1y ago · link · parent

I found Enderal so compelling that I watched a full playthrough, it's the only game I've ever done that with. I wanted to play it all the way through myself, but my PC at the time had very strange audio cracking issues with Skyrim so I wasn't able to get far.

comment 1y ago · link · parent

There's a lot of concern in the comments here about what this means for ARC. The size of this investment while large isn't enough to warrant jeopardizing ARC though. Intel has a responsibility to all shareholders, and diminishing ARC would be a bad move for overall shareholder value.

If Nvidia did try to exert any pressure to scrap ARC, that would be both a huge financial and geopolitical scandal. It's in the best interest of the US to not only support Intel's local manufacturing, but also it's GPU tech.

comment 1y ago · link · parent

Not TS, but there are plans to allow something similar with special type annotation syntax. The runtimes still won't do anything with that extra info though, it'll get stripped just like comments.

https://github.com/tc39/proposal-type-annotations

comment 1y ago · link · parent

HTML isn't even a particularly good markup language for documents, web or otherwise.

> Using them for GUI applications is wild and obviously a bad idea.

I agree it's wild, but bad idea implies there are better options for cross platform applications with the same ease of distribution, and accessibility as the web.

comment 1y ago · link · parent

Please do not refer to CSS type imports in JS as CSS Modules.

CSS Modules has an established meaning for over a decade, one that is still relevant today. The CSS type imports are very different, and arguably worse.

Call them CSSStyleSheet imports of you need a name suggestion.

1
101112
16