Better HN
topnewbestaskshowjobs
Log inSign up

avx56

72 karma · joined Dec 28, 2022 (3y ago) · 50 submissions

Submissions

comment 1y ago · link · parent

It's being worked on. Merry Christmas! https://github.com/emilk/egui/issues/3378

comment 2y ago · link · parent

https://imgur.com/a/3eebJZS for people who don't want to scroll

comment 2y ago · link · parent

HN uses rel="nofollow" for links in comments, for this exact reason.

comment 3y ago · link · parent

If it's a one-off you can just use http://borischerny.com/json-schema-to-typescript-browser/ or https://transform.tools/json-schema-to-typescript (they both use the same library).

comment 3y ago · link · parent

It still targets the browser though, so you still get all the complexities anyway, just without well supported syntax. Idk man I like Rust but this doesn't seem like the right way here.

comment 3y ago · link · parent

https://www.linkedin.com/in/thomas-barnes-985020a2 His LinkedIn lists his job as "Pirate Radio" lol. (archive: https://archive.is/9UHfk)

comment 3y ago · link · parent

(2022)

comment 3y ago · link · parent

Looks neat!

comment 3y ago · link · parent

It's not much of a competitor with this performance. From the OpenChatKit model they claim to be using:

> Write a rhyming poem about ray tracing

OpenChatKit: The sun is shining

The birds are singing, and the flowers are blooming. I'm so glad that I'm alive, and I'm so glad that I'm here. I'm so glad that I'm alive, and I'm so glad that I'm here. I'm so glad that I'm alive, and I'm so glad that I'm here. [repeated several more times]

ChatGPT: In a world of graphics, sharp and bright, Where realism is the ultimate sight, There's a technique that takes the lead, It's called ray tracing, indeed!

Ray tracing is a visual art, That sets the scene right from the start, By tracing rays of light in the air, It creates an image beyond compare.

comment 3y ago · link · parent

Yes, I know this is opt-in, but Matrix has a static & crawlable service for their chats: https://view.matrix.org/

comment 3y ago · link · parent

Please can Electron die already? Almost every Electron program I use could be a PWA. Slack has no reason to need another browser engine running. You could make a point for native integration, but there is none. And all it does is display text (and images). What a world we live in. Worse is better, amirite?

comment 3y ago · link · parent

It was (is?) Python: https://github.com/reddit-archive/reddit

comment 3y ago · link · parent

I didn't say there was anything wrong with statsd itself, just that it's not a particularly complex application. You can produce a working, useful (to some people) web application/website/whatever people call this shit nowadays but it will not be very fast if you don't optimize anything.

Slack is a web app that is incredibly slow, but still useful: yes, I can send people messages and it doesn't immediately crash, but it also takes up ~300mb of RAM on a fresh tab, which is completely absurd. I still use it because I have to but if it was optimized by people who had a clue what they were doing, it would be significantly faster, and use less memory.

comment 3y ago · link · parent

*The GIMP™

comment 3y ago · link · parent

No GUI though right?

comment 3y ago · link · parent

Yeah, you can always ship a shitty SaaS or plug libraries you don't understand into each other and still make a lot of money. But you honestly cannot do much more than that if, say, you don't know the difference between the stack and heap. Statsd is like ~4000 lines of code, which is absolutely tiny; it's a trivial codebase. You can't write fast JavaScript if you don't know how arrays are represented in memory. You can't optimize SQL queries if you don't know how a database works. Hell, you can't even create good code in general if you don't know how to compose functions properly.

The countless layers of abstraction may be useful, but without them you are basically stumbling through your day and hoping everyone else can be smart enough to let you continue to not learn anything.

comment 3y ago · link · parent

Build a system that even a fool can use, and only a fool will want to use it

comment 3y ago · link · parent

Firefox 50 was released like a week after Trump was elected. They do have an LTS version if you just want stability: https://www.mozilla.org/en-US/firefox/enterprise/ Or it was just a typo I don't know sorry

comment 3y ago · link · parent

When you hover the links in the sidebar, even when quickly mousing over them, it seems to preload the page text. This makes it download a bunch of data (~120kb/page) and is wasteful. Some kind of timer should fix this as well. Other than that the docs do look quite nice!

comment 3y ago · link · parent

That's a Windows registry path, you can use regedit to edit the values. Microsoft has a reasonable guide for it: https://learn.microsoft.com/en-us/troubleshoot/windows-serve...

comment 3y ago · link · parent

Yeah, I think it's that and the fact that there isn't (obvious) money in fixing up and maintaining code for a shipped game.

comment 3y ago · link · parent

I find this hard because games often end up quite tightly-coupled, so while you don't have the pathfinding code reaching into the rendering, the rendering is usually coupled to the game object model and it's hard to make it reusable outside of a specific engine. That and the fact that AAA studios do not want to open-source anything for some reason.

comment 3y ago · link · parent

Most games basically just have rigidbodies. Some cinematic-ish AAAs have fancy cloth simulation or something, but even that is usually prebaked I think.

comment 3y ago · link · parent

Godot felt frustrating to use every time I've tried it, on both 4.x and 3.x versions. Compared to Unity, it was a massive improvement, the editor was much faster without crashing, and it had a reasonable node-graph design. However, I think some of the "elegant" designs pursued in Godot and some up-and-coming Rust game engines often end up feeling very time-consuming to fit your code in their abstraction (whether it be ECS or nodes), and honestly sometimes it's nice to just sit down, write some terrible macro-ridden C++ that subclasses from 15 different classes in a hierarchy that would make Alan Kay cry, and get an object that can be scripted from your level editor seamlessly. It's janky, but nonetheless it works.

comment 3y ago · link · parent

What would you prefer he use, Dropbox?
12