Benki → Bookmarks

⇠ previous page next page ⇢

If you just can’t get your Samba server to play nicely with Time Machine (in my case Time Machine would always generate its disk image file without the execute bit set and, it actually being a folder, would then be unable to access it), here’s how you trick them into working together. Create a .sparsebundle and within it a file called com.apple.TimeMachine.MachineID.plist that you fill with the following:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.backupd.HostUUID</key>
    <string>00000000-0000-0000-0000-000000000000</string>
    <key>com.apple.backupd.ModelID</key>
    <string>MacBookPro5,5</string>
  </dict>
</plist>

Replace 00000000-0000-0000-0000-000000000000 with the hardware UUID you can read in System Profiler.app and MacBookPro5,5 with your model ID, which you can also get from there.

The pull request has been closed with a remark implying that it’s currently not in focus.

Personally, I think it’s a mistake to release Scala 3 without a built-in effect system. People will continue to rely on things like custom monad stacks and for-comprehensions to emulate one, which leads to horrible looking code that is hard to understand and even harder to edit. Or they go out of their way to create prettier but incomplete solutions that are even less well supported.

In fact, depending on how you look at it, because it lacks a proper effect system Scala is currently a less type-safe language than Java in that Java at least has checked exceptions whereas in Scala anything can throw at any time without it showing up in the types.

A free-software web app for grocery and household management.

A magical Docker container registry that generates ad-hoc containers based on Nixpkgs.

For example, you can run:

docker pull nixery.dev/shell/git/htop

And it automatically assembles a Docker image that contains Git and htop for you.

XPath is prone to injection attacks due to the following features:

  • doc() and json-doc() read XML and JSON from local files or the network and let you join on them.
  • unparsed-text() reads plain text files from the network or local files and dumps their content.
  • environment-variable() lists and reads shell environment variables (a good reason not to put secrets there).

A macOS app that enables chat-app-style Emoji shortcuts (such as :rocket: for 🚀) everywhere. Pretty useful.

A library of Java annotations that you can use to document the DDD roles of your classes and packages.

Fast persistent data structures for Rust.

RBB trees for vectors, HAMTs for hash maps, the usual good stuff.

A new, official way of building executable überjars based on WildFly. Yay Enterprise!

Perfect for when you need a full EE environment like WildFly and Quarkus doesn’t cut it. In a JSF app, for example.

The trick is that you can pull the non-generic parts out into separate functions. That way they don’t need to be monomorphized and can be shared between the various monomorphizations of your generic function. Surprisingly, this even works when the shared part is an inner function.

Ein Interview mit einem Kinderarzt.

Punkte sind unter anderem:

  • CO2 ist zu klein, um von einer Stoffmaske aufgehalten zu werden. O2 natürlich erst recht. Das merkt man schon daran, daß unter eine Stoffmaske viel weniger Luft paßt, als man selbst mit einem einzigen Atemzug aufnimmt.
  • Erhöhte CO2-Sättigung oder verringerte O2-Sättigung des Bluts würde im Zweifelsfalle eine Panikreaktion des Gehirns auslösen. Daher bliebe so etwas wohl kaum unbemerkt.
⇠ previous page next page ⇢