HNHacker News
TopNewBestAskShowJobs

marwis

373 karma · joined December 26, 2019

submissionscomments
marwis··on Strong static typing, a hill I'm willing to die on
> Again, that's not what research shows. Type checking bugs are most definitely not the most common ones and typing doesn't really help with runtime bugs unless it's a strongly typed language.

Can you point to that research?

marwis··on Draggable objects
But this doesn't happen in native UIs. I think this is because JS event handlers are asynchronous and not running within native event loop.
marwis··on Draggable objects
Is there any way to reduce lag between pointer and draggable?

I once tried throttling updates via requestAnimationFrame but it didn't help much. Perhaps movement prediction?

marwis··on Show HN: Paisa – Open-Source Personal Finance Manager
They used plaid as a fallback for some banks
marwis··on JEP draft: Prepare to restrict the use of JNI
The problem is structs and function signatures of standard APIs can have differences for each os/version combination.
marwis··on JEP draft: Prepare to restrict the use of JNI
What do you mean?
marwis··on JEP draft: Prepare to restrict the use of JNI
Abstract over them meaning writing wrappers by hand?
marwis··on Organic Maps: An open-source maps app that doesn't suck
The maps themself aren't any better in my neighborhood (or rather the the places on the map). I tried contributing once but OpenStreeMap ux and data model/tagging taxonomy is a convoluted mess too.
marwis··on JEP draft: Prepare to restrict the use of JNI
But can it generate bindings for multiple abi variants?

This would seem extremely complicated to automate.

marwis··on Organic Maps: An open-source maps app that doesn't suck
Yes, should've clarified I was talking about Android.
marwis··on Organic Maps: An open-source maps app that doesn't suck
Doesn't even scroll properly (no acceleration). The UX of all open source mapping apps suck really bad, not even most basic interactions are done right.
marwis··on JEP draft: Prepare to restrict the use of JNI
On the other hand C/C++ APIs only truly exist in textual format.

Without going through C you don't have access to type definitions (you have to redeclare them in Java) or macros (sometimes not even impossible).

Structure layout might be different across platforms/versions/variants, symbols can be aliased through preprocessor etc. even though end API is the same.

This is a problem with any FFI that tries to avoid C. Look at this mess of trying to do POSIX in JNR: https://github.com/jnr/jnr-posix/tree/master/src/main/java/j... - each system needs different implementation and within them there is further branching based on versions. There is no guarantee that any of this will work in the future (except on Windows which maintains stable userland ABI).

marwis··on Reflex – Web apps in pure Python
Most browsers are mobile so that won't work :)

I was hoping there is some technical explanation how the compilation step works (especially what do they do to event handlers) but their documentation is very light on details.

marwis··on Reflex – Web apps in pure Python
Where did you find this information?
marwis··on Gopher Wrangling: Effective error handling in Go
Perhaps simple language and lack of abstractions lead to less code reuse so you can more easily tell where a particular error is coming from without context (less possible code paths).
marwis··on Windows 11 adding native support for winRAR, 7zip, tar, and gzip
Isn't libarchive streaming only which would suck for exploring large zip/7z archives?
marwis··on Summarize Any Article as a Dialog Between Two People with Bing Chat
Now if we could only generate a comic strip to go with it

https://en.wikipedia.org/wiki/Microsoft_Comic_Chat

marwis··on Show HN: Sortabase, a collaborative, visual database builder for communities
What's the license on the data? Needs grid view and export/api.
marwis··on The SGI XFS Filesystem
Ages ago XFS had a rather nasty behavior in case of power failure - any files opened for write would be deleted after restart. From what I remember this was by design. Has this changed?
marwis··on KeePassXC pull request to add basic support for WebAuthn
Even when mounted (FileStream) uploads are asynchronous and there is no locking
marwis··on Neutralinojs – Build lightweight cross-platform desktop apps with JavaScript
It's fine to bundle everything - MSIX will automatically deduplicate everything even at download time.

https://learn.microsoft.com/en-us/windows/msix/overview

marwis··on Git bundles of Eaglercraft repositories disabled due to DMCA takedown
I believe it's different because the law about trespassing doesn't say anything about effective locks or other methods of denying access. AFAIK it would be illegal to enter even if there was no door at all.

I don't think the linked case tried to challenge anti-circumvention provision using the reasoning I've given but it would be interesting to know if anybody else tried it :)

marwis··on Git bundles of Eaglercraft repositories disabled due to DMCA takedown
> (A) is primarily designed or produced for the purpose of circumventing a technological measure that effectively controls access to a work protected under this title;

Wouldn't it be correct to say that if there exist a technology to circumvent a technological measure of access control then that measure is in fact ineffective?

marwis··on If we lose the Internet Archive, we’re screwed
Amazing how reckless IA is with their library program while at the same time being extremely cautions with Wayback Archive to the point of retroactively applying robots.txt and removing website archives because "they can't afford even the smallest risk of being sued".
marwis··on Show HN: Quadratic – Open-Source Spreadsheet with Python, AI (WASM and WebGL)
Infinite canvas looks like a mistake. Is there a way to use sheets?
marwis··on Using mmap to make LLaMA load faster
Wouldn't huge pages and readahead make number of page faults and context switches potentially smaller than with read()?
marwis··on Please delete 2M files to continue using your Google Drive account
Many filesystems, ext4 included, support inlining of small files directly in filesystem metadata to avoid such waste.
marwis··on Pg_jsonschema – JSON Schema Support for Postgres
The detail error from example is pretty awful and missing any useful detail. Is it the limitation of the jsonschema library?
marwis··on Yandex open-sources its exabyte-scale big data platform
Looking at the OP comment before it was flagged, someone just did `s/slave/n****r/g` on the codebase.

BTW It's pretty ridiculous that American censorship makes it impossible to even call out and criticize racism like in the case of OP.

marwis··on JDK 20 G1/Parallel/Serial GC Changes
Is there any work to make records actually usable out of the box?

Things like copying or creating derived records are a huge pain (or slight pain with code generators) while other languages have solved this long ago (even JS and C#).

← PreviousPage 6 of 11Next →