Hacker Newsnew | past | comments | ask | show | jobs | submit | martinp's commentslogin

I put my personal site behind Cloudflare last year specifically to combat AI bots. It's very effective, but I hate that the web has devolved to a state where using a service like Cloudflare is practically no longer optional.


https://github.com/darkreader/darkreader is great for this. Adds dark mode to any site.


Chromium-based browsers, including Chromium, Google Chrome, Brave, and others have a native dark mode stylesheet that can be enabled in chrome://flags/#enable-force-dark

It works to varying degrees of success depending on the site. Some sites become unreadable with it.

What I personally do is I have this flag enabled in my primary browser on my main computer, Brave on a MacBook Pro. And for any site that is severely broken I either skip that site, or if the site is important then I open the page in question in my secondary browser, Safari, and read it with its normal default style.


OpenJDK 17 is in Debian 11 as well [0]. A decision was made to include it before its official release since the release is so close (September). An updated package will be available when it's released.

From the release notes [1]:

Debian bullseye comes with an early access version of OpenJDK 17 (the next expected OpenJDK LTS version after OpenJDK 11), to avoid the rather tedious bootstrap process. The plan is for OpenJDK 17 to receive an update in bullseye to the final upstream release announced for October 2021, followed by security updates on a best effort basis, but users should not expect to see updates for every quarterly upstream security update.

[0] https://packages.debian.org/source/testing/openjdk-17

[1] https://www.debian.org/releases/bullseye/amd64/release-notes...


Records were introduced in Java 14 [1]. An immutable DTO, with minimal boilerplate, that still behaves a class. Example:

record Point(int x, int y) {}

[1] https://blogs.oracle.com/javamagazine/records-come-to-java


They were a preview feature until Java 16, though, so they probably haven't seen wide use yet.

https://openjdk.java.net/jeps/395

Java 16 was only released within the last few weeks! (Gradle still has some trouble compiling it or running on it; Gradle 7 should be dropping soon with explicit Java 16 support.)


There are multiple LSP clients though, there's lsp-mode [1] and eglot [2].

After trying out both, I prefer Eglot, mainly because I find it faster and less intrusive than lsp-mode. It also composes better with built-in packages, such as flymake . I use gopls and pyls as language servers.

1. https://github.com/emacs-lsp/lsp-mode

2. https://github.com/joaotavora/eglot


Syncthing is a great piece of software. I configured it on three of my machines in March and I've had zero issues since. In fact, it has worked so well that I don't even think about it.

One of the machines even runs an old version found in Debian stable repos, but there has been no issues syncing with machines running newer versions.

Only downside for me is that there's no iOS client.


There's a (closed source?) iOS client: fsync


Is Syncthing here to stay or will it morph into a nextcloud or a btsync or that ubuntu thing or be abandonner in 6 months ?


My impression is it's here to stay. I think I've been using it for about 2 years now. The protocol is completely open as well.


Cool, are there third-party apps beside the official ones ? That would be a strong indicator.


Norwegian here. 20 days a year is the legal minimum, while 25 days is the norm. I get 30 days a year while working for an American company, which is a bit ironic.


Don’t forget all the inneklemt days. May next year is a inneklemt bonanza. I doubt there will be much done at all in the country in May.

(It’s common in Norway to take any day that is between two off days off. So May 1st is a national holiday, next year it falls on a Tuesday, so that means many will take the Monday off, a so called innneklemt day. There’s a lot of holidays in May, and next year all of them creates inneklemt days.)


Not surprised by these bugs any more.

The sheer amount of bugs in High Sierra is ridiculous, with the exception of the root password bug, I've personally experienced the following bugs with my Thunderbolt display:

* In 10.13 or 10.13.1 the built-in web camera was broken. The video would freeze after a few seconds when attempting to use the camera in FaceTime. This was fixed in 10.13.2.

* In 10.13.2 USB audio devices connected to the TB display no longer work properly. After playing audio through the device (USB DAC in my case) for 30-60 seconds, some sort of interference/electrical noise appears for 5-10 seconds every minute or so. I assume this has something to with "Improves compatibility with certain third-party USB audio devices." from the 10.13.2 release notes.


For me it is impossible to update macOS too.

App Store is not working.

Downloading fix from website tells that my fusion drive is not compatible with this kind of install. Use App Store.

I don't even have a fusion drive.


Why you are still using it then? Operating systems are very complicated beasts, none is perfect but I like Linux the most. There are issues too but I feel like I have more control over it.. Sometimes work reasons force people into Mac/Windows though... :(


This support article explains how to disable the root user: https://support.apple.com/en-us/HT204012


Do note that this doesn't fix the problem. The system (at least High Sierra) will happily re-enable the user for every attempt at logging in.


Just change the root password once the account is enabled; this fixes the hole.

sudo passwd -u root

It's sad we have to do this, though.


If you disable the root user using `dsenableroot -d` from the Terminal, this seems to disable the account in a way that leaves its password intact.


The bug isn't in the disabling, it's in the auto-enabling on attempt.


Having tested this by both approaches (disabling through GUI & shell), the above (through shell) seems to prevent this from re-occurring when you attempt to perform this bogus login again. Disabling the account via the GUI causes the failure to re-occur.


And this is likely the reason for the reportedly low sales of the 8. I was surprised when they announced both at the fall event as it seemed obvious the X would cannibalize sales of the 8.

The iPhone is already a expensive premium phone, why bother with incremental changes of the 8 when the cool and shiny X is right around the corner.

It's also strange to me how they offer two new phones with different feature sets. Usually when Apple introduces a new device with a controversial change (e.g. USB-C only on the 2016 MacBook Pro), they don't offer a updated device without that change. It can be perceived as a lack of faith in the new product.


This year seems to have been about price increases across the range of products. The iPhone X is more expensive, and a lot more expensive than previous premium iPhones if you get sensible amounts of storage.

The base model of the MacBook Pro is about the same price as the one in 2016, but it has 128GB rather than 256GB of storage. The 256GB model is now a couple hundred dollars more expensive than last years.

Who else is able to increase prices in technology? In spite of the complaints about their products, for people who think they are good enough and don’t think what competitors have to offer is good enough (in terms of frustrations rather than in terms of features/price) there aren’t alternatives, and Apple has a lot of pricing power.


Depends. I had been waiting for the X but it so annoyed me that I went with the 8 instead. I realize that the cannibalization is the narrative and it’s likely more true than not but I can’t be the only one who went 8


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: