HNHacker News
TopNewBestAskShowJobs

marwis

373 karma · joined December 26, 2019

submissionscomments
marwis··on The Heart of a Language Server
Since semantic information had to be generated from syntax in the first place, why not retain that linkage somewhere so that it doesn't have to be searched again?

Also to find usage of symbols generated by macros, can't one make compiler plugin to dump usage information somewhere (or modify compiler if impossible with plugin)? This might be a bit stale but much better than nothing.

marwis··on OsmAPP – A Universal OpenStreetMap App
This is great but the waves on water are really dumb.
marwis··on Pluto, a Modern Lua Dialect
Needs compiled binary size comparison somewhere on the website
marwis··on Using Qt for Mobile in 2023
The original article is about mobile development where AFAIK you're supposed to use QML.

I don't know the state of QWidgets on iOS/Android but my guess is it's even worse than QML if at all possible.

marwis··on Stirling-PDF: local web application to perform various operations on PDFs
Looks like the pdf-lib.js used by the project can do most of the advertised features right in the browser and there is even a wasm build of tesseract out there.

Have you considered making serverless/browser-only version?

marwis··on Using Qt for Mobile in 2023
If your budget is limited you're better off using HTML. It's significantly cheaper and gives more consistent and less janky experience than QtQuick.
marwis··on Application Traffic with eBPF
Kubernetes heavily dominates there though.

I don't recall people throwing Cloud Native as a term before k8s or outside that space. Google trends seems to confirm they emerged at the same time:

https://trends.google.com/trends/explore?date=all&q=Cloud%20...

marwis··on Application Traffic with eBPF
"Cloud Native" == Kubernetes

As in https://www.cncf.io/

marwis··on Qt 6.6 and 6.7 Make QML Faster Than Ever: A New Benchmark and Analysis
Can it even do basic forms by dragging and dropping of components?

I recently tried and failed. It was either doing absolute positioning or failing completely - for example dropping components onto grid would just place them into cell 0,0. There was no way to design form with mouse.

I used a lot of different UI designers in the past and all of them were heaps and bounds better.

As sibling points out NetBeans Swing designer (with Matisse/GroupLayout) is the best, along with VS WinForms (although these tend to be non-scalabale)

marwis··on Qt Widgets Rendering Pipeline
Lacks a Microsoft Fluid style for Windows 11.
marwis··on Qt Widgets Rendering Pipeline
I don't have a lot of experience with Qt but recently was exploring both QtWidgets and QtQuick as options for simple desktop UI.

QtWidgets made creating forms massively easier thanks to QFormLayout and drag and drop designer.

There was nothing similar in QtQuick - Grid and Qt Design Studio were absolutely horrible for this.

marwis··on Beeper Mini is back
Not if you have cloud syncing enabled - as I noted in my post and just rechecked on my phone to be sure.
marwis··on The Case for Memory Safe Roadmaps
> People writing C are the people that really do have to make syscalls directly,

Not really. See for example desktop Linux (i.e. Gnome).

marwis··on Beeper Mini is back
That might be true but they're also dragging their feet with RCS in Google Fi (still only partial support - have to disable Fi cloud sync).
marwis··on Should you split that file?
JetBrains got you covered: https://www.jetbrains.com/mps/
marwis··on I kind of killed Mercurial at Mozilla
This sounds reasonable but I'd like to somehow distinguish these work-on-progress commits. Is there an equivalent of mercurial commit phases?
marwis··on I kind of killed Mercurial at Mozilla
Lack of staging area kind of sucks. I'd prefer the opposite - having multiple staging areas (like IntelliJ chabgelists) so I can incrementally build multiple changes at the same time.

Is there anything in jj that could be used as a substitute?

marwis··on Apple announces that RCS support is coming to iPhone next year
I wonder when Google will add proper RCS to their own Google Fi?

Currently one has to disable Fi cloud sync losing a lot of features.

marwis··on Lapce Editor 0.3
> It's like VSCode, but without the bloat of electron or Microsoft's telemetry.

Just did a quick comparison on Windows 11 and vscode with hello world uses 400MB but lapce used 900MB :)

marwis··on Rust without crates.io
Java (look up Security Manager).

Unfortunately it is deprecated and scheduled for removal because too much security is annoying and not enough people care to use it.

marwis··on HTML First
You need to serve it with the right mime time (application/xhtml+xml) or in case of local files use .xhtml extension. Then it's processed as XHTML and rendered as expected.

Also you need namespace declaration otherwise it will be rendered as unstyled xml.

This is all part of HTML5 spec: https://html.spec.whatwg.org/#the-xhtml-syntax

marwis··on .NET 8 Standalone 50% Smaller On Linux
I think not shipping ngen output was desired. There was an NGen Optimization Service that would reoptimize code when net framework was updated and possibly with new profiling data.
marwis··on Automa – Automate the browser by connecting blocks
Most automations are just lists of steps with very occasional branching/looping.

I think freeform graph is the wrong UX for that.

A vertical list like in Power Automate Desktop or MIT Scratch seems much better fit.

marwis··on Email obfuscation rendered almost ineffective against ChatGPT
Your examples are useless because humans would not understand them either.
marwis··on Scrcpy 2.2 adds Android camera mirroring
Do you know why when using WiFi it has to send data over ADB TCP connection rather than self managed UDP?
marwis··on Email obfuscation rendered almost ineffective against ChatGPT
I always felt email obfuscation is just a cargo cult and the reduction in spam is only from improvements in anti-spam tech.

I never obfuscated my address and pretty much haven't seen spam since first days of Gmail. And very little even before then thanks to SpamAssassin.

Also raw email addresses can be easily harvested from git repos, mailing list archives and possibly other sources. A lot of technical people who chose to obfuscate likely posted to one such system at some point.

marwis··on Portugal. The Man – Official Website Is a Google Sheets Document
How's the performance?
marwis··on Java JEP 461: Stream Gatherers
I wish there was something similar to F# |> operator for using arbitrary functions in call chains.

It would be useful in more cases and have far simpler signature/interface.

marwis··on An Open Letter to the FreeBSD Foundation, Core Team, Committers, and Community
This is more to do with how USENET is run rather than NNTP as a protocol.

Fundamentally there is very little difference between NNTP group and mailing list except the former having no spam filter and moderation.

It would be great if all mailing lists provided at least read-only access to archives via NNTP. I miss gmane as my one stop shop for all mailing lists.

marwis··on Google Abandons Web Environment Integrity API
The only DRM currently available on the web that I'm aware of relates to video.

Banks don't have to restrict their apps against unauthorized Android builds and rooted devices with Play Protect but they do. There is nothing to gracefully degrade when your goal is actually to just restrict access.

← PreviousPage 4 of 11Next →