HNHacker News
TopNewBestAskShowJobs

marwis

373 karma · joined December 26, 2019

submissionscomments
marwis··on JDK 20 and JDK 21: What we know so far
You can use Type=dbus with pure java dbus client. Or just execute systemd-notify
marwis··on Kotlin Data Classes 101: Understanding Syntax, Usage and Inheritance
But records don't actually offer such guarantees:

    record MutableRecord(ArrayList<String> list) {}
    
    var r = new MutableRecord(new ArrayList<>());
    System.out.println(r.hashCode()); // -> 1
    r.list().add("foo");
    System.out.println(r.hashCode()); // -> 101605

I sort of hoped they would freeze hashcode but they don't.
marwis··on Email Validation Logic is Wrong (2021)
> How many legitimate users will use pluses or dots which you forgot to allow in your email validator?

Millions?

marwis··on Microsoft is preparing to add ChatGPT to Bing
You don't need blockchain for cryptographic timestamp
marwis··on Cheerful chatbots don’t necessarily improve customer service
You forgot the part where you have to fill in your name/email/contact information to open the chat but then a support person is going to ask you all of that again.
marwis··on More developers use Linux than Mac, according to 2022 StackOverflow survey
There's a native Docker on Windows that runs Win32 containers.
marwis··on A new CMake Scripting Language?
IMHO BSD make and their library of include files is highly underrated:

  PROG=foo
  SRCS=foo.c
  MAN=
  .include <bsd.prog.mk>
Very terse, super flexible and easily amenable to tooling (It's trivial to generate IDE project files from this).

https://wiki.netbsd.org/tutorials/bsd_make/#index1h2 https://crufty.net/help/sjg/bmake.html

marwis··on A new CMake Scripting Language?
I find it a bit disingenuous how they don't include costs of transition to this new CMake++ in their comparison to Meson migration.
marwis··on LXD containers on macOS at near-native speeds
You don't and that's the idea behind gVisor.
marwis··on Ask HN: What is the future of Swift on the server-side?
In large projects other developers usually perform code reviews. And even if not, there's a higher chance someone else will notice some sketchy code while working nearby.
marwis··on Duplicati: Free backup software to store encrypted backups online
Unfortunately looks like it does not backup full metadata (ACLs, extended attributes, flags, alternate data streams, special files, etc).

I wonder if there is any program that does?

marwis··on Mozilla blog: Begin your MV3 migration by implementing new features today
You also can't use Google services with unofficial build. That includes Sync, Translate and bunch of other stuff.
marwis··on I made outlines for KDE Breeze window decoration
Border Width can be changed through registry or 3rd party tools, I forgot their names but should be easy find.
marwis··on I made outlines for KDE Breeze window decoration
Both Win10 and Win11 will draw outline using accent color if you enable "Show accent color on title bars and windows borders".

There are also tools to configure it further.

marwis··on Available Today: Windows Dev Kit 2023 a.k.a. Project Volterra
https://www.extremetech.com/extreme/221282-amds-first-arm-ba...
marwis··on Show HN: Filesystem Watcher
Have you tried using auditpipe?
marwis··on PayPal’s updated acceptable use policy [pdf]
CitiBank as well
marwis··on An upside-down backup strategy
Sadly, photos takeout breaks if you have too many files. Then you have to setup multiple partial takeouts (each with some subset of albums) which is a huge pain.

I used to use OneDrive as a 2nd backup but Microsoft started doing same crap (removal of EXIF).

marwis··on Proxy Chrome extensions are not going to be usable in MV3
There are few projects and companies that do exactly that, including CEF open source project. Perhaps they should join forces and make a joint OpenChromium project.
marwis··on Proxy Chrome extensions are not going to be usable in MV3
In addition to what others said, forks are not allowed to use Google services such as Chrome Sync or Translate.
marwis··on JavaFX 19
That's about Swing/AWT. JavaFX is a different beast ("next gen" replacement) and doesn't even have a ticket open for Wayland as far as I can tell :)
marwis··on W3.css – A minimal alternative to Bootstrap
For quite a while now MSDN has edit button that takes you to the source of the page on GitHub :)
marwis··on Apache NetBeans 15
The sad part is that before Apache takeover they had pretty decent website that put all the features and screenshots to the front:

https://web.archive.org/web/20160708090748/https://netbeans.... https://web.archive.org/web/20160708091639/https://netbeans....

Why did they waste time redoing it into something so useless is beyond me.

marwis··on Linux's Modern NTFS Driver Preparing a “Hidedotfiles” Option
That's Windows VFS layer. If you bypass it and read disk structures directly it's wicked fast. There are many file tools that do it such as Everything and WizTree.
marwis··on Linux's Modern NTFS Driver Preparing a “Hidedotfiles” Option
That's a limitation of Windows' VFS rather than NTFS disk format
marwis··on MS Teams Linux client is being retired. To be replaced by a progressive web app
Development of WPF was abandoned more than decade ago.
marwis··on macOS now scans for malware whenever it gets a chance
Win+Shift+S does all kind of screenshots. Win+Alt+R will record video of current window - unfortunately there's nothing for whole desktop.

Not sure what's your problem with resizing windows but there are all kind of shortcuts for moving and resizing them if mouse is somehow too hard.

marwis··on Java in the Browser
A Swing version of the same idea: https://jetbrains.github.io/projector-client/mkdocs/latest/
marwis··on Ask HN: How to make a native GUI with a modern language?
Besides wxWidgets there's also SWT for Java which also wraps native widgets.
marwis··on Don’t call it a comeback: Java is still champ
The thread you linked is about the benefits of inducing scheduling non-determinism.
← PreviousPage 7 of 11Next →