Better HN
topnewbestaskshowjobs
Log inSign up

Splizard

297 karma · joined Aug 12, 2020 (6y ago) · 75 submissions

Submissions

comment 3mo ago · link · parent

No, by leveraging unkeyed struct initializers as the switch case pattern, which the Go compiler does exhaustiveness checking on.

comment 3mo ago · link · parent

You can also add support for exhaustive switches on tags.

comment 3mo ago · link · parent

Tagged unions can be implemented in user code, you dont actually need language support to use them.

https://github.com/splizard/tagged

comment 3mo ago · link · parent

exactly

comment 3mo ago · link · parent

What are your plans around the maintenance of this project, how would you feel about solo being incorporated into the musl build for graphics.gd ?

comment 4mo ago · link · parent

Small nitpick but Go doesn't really have any YOLO C/C++ code in its runtime and standard library.

comment 5mo ago · link · parent

yea this headline is pretty disgusting

comment 7mo ago · link · parent

Maybe you could look at using some AI assistance to provide some real 'useful' feedback to the OP about what made you lose interest, as your false confidence in some opaque 'AI-detection' heuristic is lazy and only harms individuals who are trying to find effective ways to share information.

9.

Benchmarks: Go's FFI is finally faster then GDScript (and Rust?)(github.com ↗)

1 points · by Splizard · 9mo ago · discuss

comment 9mo ago · link · parent

you can patch musl, to initialize the brk state as -1 and then it won't use it.

comment 10mo ago · link · parent

You have to tell musl to use mmap instead of brk. You're right that it doesn't work in all cases but as long as you switch TLS on calls (and callbacks), at least with a project the size of Godot, you can approach a workable solution.

12.

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen(github.com ↗)

231 points · by Splizard · 10mo ago · 206 comments

13.

Home Sourced AI Safety(quentinquaadgras.com ↗)

1 points · by Splizard · 1y ago · discuss

comment 1y ago · link · parent

If only there was an easy way to fund all the Open Source programs you like and use, so the projects who struggle with it, can put more focus into design.

Seems like a win-win, take my money solution, for some reason the market (and I guess that means investors) are not pursuing this as a consumer service?

15.

Mesh2Motion – Open-source web application to animate 3D models(mesh2motion.org ↗)

229 points · by Splizard · 1y ago · 37 comments

comment 1y ago · link · parent

The issue appears to be cascading internationally due to internal dependencies on us-east-1

comment 1y ago · link · parent

The problem with configuration formats, is not syntax, or abstraction, it's the lack of consistent language server integration, it's problem when I can't lookup the definition for a key, the expected type, or quickly jump to definitions that clearly show which keys are available to configure.

comment 1y ago · link · parent

> neither of those languages has dynamic linking

what do you mean by this?

comment 1y ago · link · parent

you can totally still do this

20.

Develop native iOS apps in Go, on any platform, without the SDK(github.com ↗)

2 points · by Splizard · 1y ago · discuss

21.

The Engine to No Engine Journey(md.jtmn.dev ↗)

2 points · by Splizard · 1y ago · discuss

22.

Native Multiplatforming – Android and Web(github.com ↗)

1 points · by Splizard · 1y ago · discuss

comment 1y ago · link · parent

Very exciting stuff!

comment 1y ago · link · parent

Remind me again why we can't use HTTPS certificates to sign code that is linked with a domain?

comment 1y ago · link · parent

Only Linux, BSD and other operating systems that are entirely Open Source.

Even Windows has scary warnings now that pop up unless you pay several hundred dollars a year plus you have to go through a completely unreasonable process (that often requires being shipped a physical USB device) just to sign your application.

comment 1y ago · link · parent

> require your device to be running an official rom signed by Google

How exactly does the app detect this?

comment 1y ago · link · parent

If only this was voluntary and automated by an Open Source service provider, so that I only have to pay one monthly fee and all the FOSS that is detected to be in-use on my machine is funded.

comment 1y ago · link · parent

Go is a great language because it has distinct types by default, it's not about "making invalid states unrepresentable", it's about recording relationships about a particular type of value and where it can be used ie. it doesn't matter that UserID is just a string, what matters, is that now you can see what string values are UserIDs without making assumptions based on naming conventions.

comment 1y ago · link · parent

Can you add support for duplex numbers? (duplexnumbers.com)
123