HNHacker News
TopNewBestAskShowJobs

fyzix

282 karma · joined March 13, 2021

submissionscomments
fyzix··on 'Hairdryer used to trick weather sensor' to win Polymarket bet
They were forced to switch when the dominant military power decided to rugpull on August 15, 1971.
fyzix··on Show HN: Apicat – A Lightweight Offline Postman Alternative
This is closed source software and the github[1] indicates that it will be open in the future so why are you marketing it as opensource in the present?

[1]: https://github.com/apicatlabs/apicat

fyzix··on What .NET 10 GC changes mean for developers
28% of new iOS apps are made with flutter and it's the #1 cross platform framework on stack overflow 2024 survey so I highly doubt it has flatlined.

https://flutter.dev/multi-platform/ios

https://survey.stackoverflow.co/2024/technology#1-other-fram...

fyzix··on Edge Scripting: Build and run applications at the edge
What’s the file size limit for wasm modules? Do you get charged for cpu while awaiting I/O? Do edge apps run before or after cdn caching?
fyzix··on Show HN: Twine – Open source multiplatform RSS app
> https://blog.jetbrains.com/kotlin/2023/05/compose-multiplatf... > > "On iOS, Compose Multiplatform user interfaces are rendered via a canvas implementation based on the graphics library Skiko [Skia for Kotlin]." > > So yes — it foregoes native controls for a canvas implementation that leverages the same 2D graphics library used for Chrome and Flutter.

fyi, flutter now uses a new graphics lib called impeller. It's not yet stable for Android though.

https://docs.flutter.dev/perf/impeller

fyzix··on Show HN: No-frills online audio editor
A list of features would be nice.
fyzix··on VanJS – A no-JSX framework based on vanilla JavaScript
It sacrifices maintainability and robustness to save a measly 80 bytes (I counted).
fyzix··on Microdot: Yet another Python web framework
Is there any particular reason why you didn't add types to the params? I'm just curious why python devs don't embrace typing more.
fyzix··on Ask HN: Cross-platform GUI apps in 2024
Flutter if you don't need multi-window support. Examples:

Ubuntu AppCenter: https://github.com/ubuntu/app-center

Android Nearby Share (Windows): https://www.android.com/better-together/nearby-share-app/

Google OneVPN: https://one.google.com/about/vpn

Rows.com (spreadsheets): https://www.youtube.com/watch?v=OEdQXBUPYOE

Superlist (project management): https://www.youtube.com/watch?v=ihpcubpQHA0

Supernova (collab. design): https://flutter.dev/showcase/supernova

Rive studio (animation): https://flutter.dev/showcase/rive

APIDash (Postman alt): https://github.com/foss42/apidash

fyzix··on Show HN: Triplit – The Full-Stack Database
Looks promising, this would be awesome for flutter.
fyzix··on The Neat Programming Language
Is it ready for benchmarking? D currently sits at the top of https://github.com/jinyus/related_post_gen and it would be interesting to see how neat stacks up.
fyzix··on Zotero for Android available for beta tests
> Zotero is a free, easy-to-use research tool that helps you collect, organize, annotate, cite, and share your work.
fyzix··on VanJS – A no-JSX framework based on vanilla JavaScript
The author seems to be chasing the small size trophy at any cost...to the point where he's using "var" instead of "const" because it saves a few bytes. Not indicative of someone serious...
fyzix··on Jaq – A jq clone focused on correctness, speed, and simplicity
I think my benchmark[1] would be a great test for this. The jq[2] version takes 50s on my machine.

[1] : https://github.com/jinyus/related_post_gen

[2]: https://github.com/jinyus/related_post_gen/blob/main/jq/rela...

fyzix··on Amazon CloudFront KeyValueStore – Low-Latency Datastore for CloudFront Functions
Thanks, should've grepped for "max". But the amount of keys wasn't mentioned.
fyzix··on Amazon CloudFront KeyValueStore – Low-Latency Datastore for CloudFront Functions
What are the limits regarding the max size of value and number of keys? Docs doesn't mention...
fyzix··on Show HN: Flyscrape – A standalone and scriptable web scraper in Go
What happens if 'find()' returns a list and you call '.text()'. Intuition tells me it should fail but maybe it implicitly gets the text from the first item if it exists.

Either way, I think you create a separate method 'find_all()' that returns a list to make the API easier to reason about.

fyzix··on Show HN: Ladder, open source alternative to 12ft.io and 1ft.io
I'm very new to this kind of service, but do you have to write your own rulesets for each site you want to bypass? The repo doesn't seem to include much...
fyzix··on A new F# compiler feature: graph-based type-checking
I primarily use F# on linux and the experience is very smooth.

editor: VSCode + ionide extension

stdlib: F# has its own stdlib but it can also access all of dotnet's stdlib seemlessly.

libs: Many of the 3rd party libs are written in C# in an OOP style but you can still use them. Most of the popluar ones have functional F# wrappers if you don't like OOP.

build: the dotnet cli is very advanced and not too hard to grok.

pkg: You can use nuget but most F# devs use paket

fyzix··on Why banks are suddenly closing down customer accounts
I'm usually a crypto sceptic but your story scares me, because it'll only get worse with time.
fyzix··on Course using F#: Write your own tiny programming system(s)
The videos were working earlier in the week...they're returning a 403 now.

Repo with slides: https://github.com/jinyus/Fsharp-Teaching

fyzix··on Kotlin multiplatform is stable and production-ready
Flutter apps are written in dart which compiles to native code or js/wasm on web.

Dart can interop with swift/obj-C/Java/Kotlin through the use of channels.

Dart can interop with C/Rust/C++ directly through FFI[1]

[1]: https://dart.dev/guides/libraries/c-interop

fyzix··on Nature: Programming language to experience the joy of programming
Any eta on a json module?
fyzix··on Ask HN: What's the big deal with Go (Golang)?
Fast compilation, Fast runtime, Easy to learn, Easy to distribute, Easy concurrency.

ps: I wrote a data processing benchmark[1] and go is currently leading the charts. I ported it to c++ but it's not performing as expected. Take a look if you have the time.

[1]: https://github.com/jinyus/related_post_gen

fyzix··on Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
Because it uses the same object for all items in the array. Luckily, they are just placeholders and aren't being mutated.
fyzix··on Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
I was surprised by that too. They are running the same function and I/O is excluded so I believe this might just be a comparison with v8 and jscore.
fyzix··on Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
I ported the go version to c++ but it's very slow so I excluded it from the charts...as that'd be misleading.

It's in the repo if you want to take a look. I have very little experience with c++.

fyzix··on Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
The rust solution is not using std hashmap. It uses FXhashmap as recommended by the rust perf book: https://nnethercote.github.io/perf-book/hashing.html
fyzix··on Data Processing benchmark featuring Rust, Go, Swift, Zig, Julia etc.
The total time you see there includes jit compilation and a warm up run.
fyzix··on NIR: Nim Intermediate Representation
I got it working but I have to restart constantly because it chokes on bad syntax errors. It also doesn't show method docs unless it's being used correctly, so I end up having to browse the web docs.
Page 1 of 4Next →