Can confirm it is terrible. I bought a pack from Amazon and both of them have terrible DAC artifact noises. Should have gone with the Apple one.
Can confirm it is terrible. I bought a pack from Amazon and both of them have terrible DAC artifact noises. Should have gone with the Apple one.
The personal project I’m currently working on the most is Nucom, an implementation of Microsoft’s Component Object Model.
The IDL compiler for it, which takes .idl files which define COM interfaces and outputs C/C++ headers/source files and Rust modules, is written in Rust.
Originally, this project was all C++, and everything but the compiler still is (which also likely isn’t going to change since it involves building dynamic libraries which Rust does not do well at all), but I really did not want to go without Rust when writing a parser/compiler type thing because the language is so much nicer to work with.
The disks are the most uggo part. They’re a bunch of old disks of varying sizes with a RAID+LVM setup to make the most use of them while still being redundant.
saiko@vineta ~ % lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 512M 0 part /Volumes/Boot
└─sda2 8:2 0 111.3G 0 part /nix/store
/
sdb 8:16 1 372.6G 0 disk
└─sdb1 8:17 1 372.6G 0 part
└─md1 9:1 0 1.5T 0 raid5
└─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
sdc 8:32 1 465.8G 0 disk
├─sdc1 8:33 1 372.6G 0 part
│ └─md1 9:1 0 1.5T 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
└─sdc2 8:34 1 93.1G 0 part
└─md2 9:2 0 279.3G 0 raid5
└─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
sdd 8:48 1 4.5T 0 disk
├─sdd1 8:49 1 372.6G 0 part
│ └─md1 9:1 0 1.5T 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
├─sdd2 8:50 1 93.1G 0 part
│ └─md2 9:2 0 279.3G 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
├─sdd3 8:51 1 465.8G 0 part
│ └─md3 9:3 0 931.3G 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
└─sdd4 8:52 1 3.6T 0 part
└─md4 9:4 0 3.6T 0 raid1
└─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
sde 8:64 1 7.3T 0 disk
├─sde1 8:65 1 372.6G 0 part
│ └─md1 9:1 0 1.5T 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
├─sde2 8:66 1 93.1G 0 part
│ └─md2 9:2 0 279.3G 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
├─sde3 8:67 1 465.8G 0 part
│ └─md3 9:3 0 931.3G 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
└─sde4 8:68 1 3.6T 0 part
└─md4 9:4 0 3.6T 0 raid1
└─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
sdf 8:80 1 931.5G 0 disk
├─sdf1 8:81 1 372.6G 0 part
│ └─md1 9:1 0 1.5T 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
├─sdf2 8:82 1 93.1G 0 part
│ └─md2 9:2 0 279.3G 0 raid5
│ └─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
└─sdf3 8:83 1 465.8G 0 part
└─md3 9:3 0 931.3G 0 raid5
└─storagevg-storage 254:0 0 6.3T 0 lvm /Volumes/storage
sr0 11:0 1 1024M 0 rom
They do actually, the iTunes store still exists. I haven’t used it though since while it’s DRM free at this point, it’s not lossless.
For iOS, Go Map!! (source) has a similar quests system. I don’t know how well they hold up to StreetComplete though, I’ve never used the latter.
Also, obligatory https://wiki.openstreetmap.org/wiki/How_to_contribute!
Ah, alright. Thanks for looking!
I wouldn’t even know how to hold a local music library on macOS these days. The app that used to be iTunes is now just called Music right?
Yeah. I have a local library consisting of some albums I bought, some which aren’t on streaming services, and some other stuff such as game soundtracks + also use Apple Music streaming. They complement each other really well.
The bingo one actually uses crossbeam channels instead of mutexes, so that’s nice. I haven’t looked too closely at it though.
I don’t think you can do too much about the Spectrum one if you want to keep the two threads, but here’s what I would change related to thread synchronization. Lemmy doesn’t seem to allow me to attach patch files for whatever reason so have an archive instead… https://dblsaiko.net/pub/tmp/patches.tar.bz2 (I wrote a few notes in the commit messages)
Just to give the reason for Rc<RefCell> in the current project. I’m reading in a M3U file and I’m going to be referencing it against an Excel file. So in the structure for the m3u file, I have two BtreeMaps, one for order by channel number and one by name. Each containing references to the same Channel object.
So basically it’s channels indexed by channel number and name? That one is actually one of the easy cases. Store indices instead:
struct Channels {
data: Vec<Channel>,
by_number: BTreeMap<u32 /* or whatever */, usize>,
by_name: BTreeMap<String, usize>,
}
// untested but I think it should compile
fn get_channel_by_name(ch: &Channels, name: &str) -> Option<&Channel> {
Some(&self.data[*ch.by_name.get(name)?])
}
Not for the built-in Eq derive macro. But you can write your own derive macros that do allow you to take options, yeah.
Do you have some public code you could link to that you’re having this issue with? There isn’t a one-size-fits-all solution for Rc/RefCell, I think.
Interesting. I can’t find anything about the FLAC licensing issues. Do you have a link?
(Also, correction — Wikipedia says macOS in general can play FLAC. I guess it’s just the Music app that can’t import them.)
Yep. Lack of format support is usually to blame on the one who doesn’t support the format. You can absolutely blame Apple for this too though, their apps can’t open e.g. Matroska video or FLAC.
And perplexingly, they don’t support uploading HEIC, their own image format of choice, on the web iCloud Photos. So there’s that too.
(At this point my music library is stored as ALAC because it’s well supported in both Linux and Apple’s OSes. Really wish it wouldn’t have to be that way though. Someone needs to tell them about ffmpeg.)
For example they used to have their own video container .mov
It’s always very very funny every time someone mentions MOV, because while it’s very similar to MP4, it’s actually an open format while MP4 isn’t (!). You actually have to pay for the MP4 standard document while Apple just gives you the MOV documentation.
Also at least taking a screen capture on macOS still gives you a MOV container, actually.
Meeeeh, that sucks though compared to iCloud. I haven’t tried it but it seems like it will upload only and not download, and it will not store the entire Photos database (including faces, etc.).
Would be cool if this results in being able to store the Photos library in Nextcloud. Not holding my breath though.
Yes, it even uses BitTorrent to distribute videos.
The article starts with a table of contents with the change highlights as the first item.
I’ve been using Linux for maybe 8 years before getting a Mac and found it to be great to use pretty much immediately. So there’s not really much I can tell you here. Except maybe to install the GNU coreutils from homebrew (and that itself if you don’t have it yet), the ones it comes with suck.
I don’t think there is a way to download Xcode without an Apple ID. The App Store also needs one though you could get by without that. You could just make the account only for downloading Xcode and only sign in in the browser for it, I suppose.
Edit: Oh yeah, get Mac Mouse Fix if you plan on using it with a normal mouse. The standard scrolling behavior is abysmal.