Better HN
topnewbestaskshowjobs
Log inSign up

marwis

373 karma · joined Dec 26, 2019 (6y ago) · 306 submissions

Submissions

comment 10mo ago · link · parent

Isn't it easier to just backup via IMAP to maildir versioned with git?

Does takeout include any metadata not accessible via IMAP? Does it even include labels?

comment 1y ago · link · parent

There were plenty of those, including commercial ones.

It's pretty hard to find but ~25 years ago I was using Xi Graphics Accelerated-X which had 3D acceleration long before Xfree86.

Update: but yes I imagine it had some code from original MIT release.

For completely independent one you can have a look at WeirdX/WiredX, which was written in Java and even supported antialiasing and transparency for core protocol (something that Xfree86 people claimed to be impossible to implement).

It's surprisingly hard to find this stuff today: https://web.archive.org/web/20250220140358/http://www.jcraft...

comment 1y ago · link · parent

How come there are still no 4K 60fps KVM devices?

Software solutions like Moonlight/Sunshine have been able to do that with near-zero latency for a long time and they are not even the first. Phones have chips capable of capturing 4K 120fps. Why is it so hard for KVM devices?

comment 1y ago · link · parent

Can it help with the annoying macos bug that about half the time disconnecting and reconnecting external screen to my MacBook does not move windows back to external screen?

comment 1y ago · link · parent

The C++ plugin is included in Android Studio which is essentially a distribution of IntelliJ. There seems to be no technical reason for not allowing it in full IntelliJ.

comment 1y ago · link · parent

There are tools like voidtools Everything2 and WizTree that directly read NTFS from disk device bypassing windows FS apis and are blazingly fast (faster than find/du on ext4 in Linux).

comment 1y ago · link · parent

With some work on better tooling it could've been used to detect and thwart supply chain attacks, which are a growing concern. Process level sandboxing is too coarse.

comment 1y ago · link · parent

You can embed JVM with JNI_CreateJavaVM(): https://docs.oracle.com/javase/7/docs/technotes/guides/jni/s...

It is used used by projects like Postgres PL/Java, LibreOffice and various native Java launchers/wrappers

comment 1y ago · link · parent

Sounds like the only way out of this is to design language agnostic tooling protocols that anybody can implement.

comment 1y ago · link · parent

Where do you see pattern matching in Kotlin?

comment 1y ago · link · parent

Worked fine in a window but too slow when fullscreen on my Surface Pro 8.

Should have dynamic resolution to maintain FPS.

comment 2y ago · link · parent

So why is it still pretty slow for file operations on DevDrive (no filters, async antivirus)? I found the performance improvement not that significant.

comment 2y ago · link · parent

Doesn't it (Windows VFS layer) also lack the equivalent of dentry cache, making all metadata lookups slow?

comment 2y ago · link · parent

I meant to reply to GP about partial updates rather than parent post about keeping connection open.

comment 2y ago · link · parent

This is how AJAX in Java Server Faces used to work nearly 2 decades ago. There were even more fancy technologies like https://www.icesoft.org/wiki/display/ICE/Direct-to-DOM+Rende...

I bet ASP had something similar too around the same time

comment 2y ago · link · parent

It's not open source and hasn't been in a very long time.

Still very useful though.

comment 2y ago · link · parent

Doesn't streaming architecture of libarchive make it a poor choice for working with random access archives?

comment 2y ago · link · parent

The feature built into windows (even after recent update) is a lot slower

comment 2y ago · link · parent

Lacks ferries and availability of e-bikes. Google maps has both.

comment 2y ago · link · parent

It still sort of is but you can create Dev Drive which is based on ReFS

comment 2y ago · link · parent

If you go with sharding proxy design why not use Apache ShardingSphere?

It follows the same approach but is far more sophisticated and mature.

comment 2y ago · link · parent

It's not really clear from OP that it's about rate. Cumulative limit would still fulfill requirement of stopping while(true) from exhausting resources.

But if you need rate there's this: JOB_OBJECT_ CPU_RATE_CONTROL_MIN_MAX_RATE https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns...

comment 2y ago · link · parent

I'm not an expert on the subject but just happen to know this was possible since XP: https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns...

See JOB_OBJECT_LIMIT_PROCESS_MEMORY and JOB_OBJECT_LIMIT_PROCESS_TIME.

Job is basically Windows equivalent of Linux Control Group.

comment 2y ago · link · parent

Is the GraalVM sandboxing only applicable to polyglot runtime or also to JVM itself?

comment 2y ago · link · parent

Why not combine zero width character with visible character, i.e. use 2 characters for separators?

,<FS> for fields \n<RS> for records

This removes ambiguity in parsing and remains user readable. It's also relatively easy to auto-fix files edited by users in normal editors.

It also mostly removes need for escaping.

It's also smaller or same size as unicode multibyte characters (haven't checked).

comment 2y ago · link · parent

Better cross-platform would be nice but it will succeed regardless given resources and level of commitment from Apple.

comment 2y ago · link · parent

That's also the behavior on Windows

comment 2y ago · link · parent

It also works great with almost but not-quite HiDPI screens such as commonly available and cheap 4K 27" monitors. You can scale them at 150% and with ClearType it looks as good as super expensive 6K Mac screen.

In fact since cleartype effectively triples resolution I guess you get quality of 12K display?

12345
11