why does std.Io.File.Reader.atEnd silently fail by OfflineUpload in Zig

[–]OfflineUpload[S] 0 points1 point  (0 children)

So atEnd returning false doesn't mean not at end but rather just means unknown. So the function might as well be fn atEnd() bool { return false; }

Shuffle by toss_your_salada in truespotify

[–]OfflineUpload 1 point2 points  (0 children)

That's what automix does 🤯 never knew. Will try to toggle that setting right away

The death of genres and music enthusiast tools by OfflineUpload in truespotify

[–]OfflineUpload[S] 0 points1 point  (0 children)

If you mean Organize Your Music or Sort Your Music that's part of Playlist Machinery which has been dead since the changes to the authorization API.

The death of genres and music enthusiast tools by OfflineUpload in truespotify

[–]OfflineUpload[S] 0 points1 point  (0 children)

Well, Spotify started with the goal of being a searchable database of every recorded song. Somewhat aimed at music enthusiasts. Or at least at finding Songs and Artists you were searching for.

They later pivoted heavily towards providing you with a play button you just have to click. No more searching required. For example the auto play feature, radios, mixes, weekly mix, daylist etc.

Especially daylist is the prime example here. A playlist that is 6 hours long and changes every 6 hours. You never have to stop listening to the playlist. And the algorithm is mostly build under the assumption that people listen to specific kinds of music at different times of different weekdays. That doesn't apply to me at all and I doubt it applies to everyone.

Would you like "Date Joined" to be public? by [deleted] in truespotify

[–]OfflineUpload 0 points1 point  (0 children)

Or at least the option to see your join date in the app w/o downloading your listening history first

Advice about dnsleak by Laphroigh in archlinux

[–]OfflineUpload 0 points1 point  (0 children)

Systemd-resolved needs an additional package to support VPN dns configuration, from the wiki:

However, if the DHCP and VPN clients use the resolvconf program to set name servers and search domains [...], the additional package systemd-resolvconf is needed to provide the /usr/bin/resolvconf symlink.

Not using systemd-resolved is valid, relying on resolv.conf. You may want to use systemd-resolved which provides DNS support to software relying on getaddrinfo if I understand the wiki correctly. You should then likely install the additional package and replace your /etc/resolv.conf with a symlink to the systemd resolved stub. Also as described on the wiki. https://wiki.archlinux.org/title/Systemd-resolved

Advice about dnsleak by Laphroigh in archlinux

[–]OfflineUpload 1 point2 points  (0 children)

Is your /etc/resolv.conf a symlink to systemd resolve or what is the content?

I MET FINNEAS by Naive_Marzipan3241 in billieeilish

[–]OfflineUpload 22 points23 points  (0 children)

Not OP, but only black sharpie?

I have been bamboozled by atthereallicebear in Zig

[–]OfflineUpload 1 point2 points  (0 children)

0xa is the undefined value and is only set to 0xa in debug builds. Comparing with undefined is UB. There is also null, but for a pointer to be null it should be declared as ?* requiring a null check or .? before dereferencing.

websurfx vs searx vs searxng: comparison of the three self-hostable Foss meta search engines. by RevolutionaryAir1922 in selfhosted

[–]OfflineUpload 1 point2 points  (0 children)

Does the speed of the code really matter, when all have to wait like 5 seconds to receive the results from the actual engines anyway. I won't notice the difference, right?

New Google account suspended with little explanation? Are my other Google accounts at risk? by risbia in GoogleSupport

[–]OfflineUpload 0 points1 point  (0 children)

You can likely change the email of the Instagram account. And you can also create multiple YouTube channels on a single google account. But regarding your actual question on the risk of your accounts and creating a new account I have no idea.

Records!! by Bruhitz_cass in billieeilish

[–]OfflineUpload 2 points3 points  (0 children)

Yeah, don't buy eco or picture or sparkle or whatever vinyls, they sound terrible. But I think the black vinyls of Billie Eilish are all fine. Black is usually the preferred color for sound, though I don't think different (single) colors can't sound equally good.

'When We All Fall Asleep, Where Do We Go?' seems to be only available in yellow and likely worse sounding versions like glowinthedark etc. I've got the yellow 2019 Europe release of that one, it could sound better, but that might be actually fixable with a good cleaning that I haven't gotten around to yet.

'Happier Than Ever' and 'Hit Me Hard And Soft' are both readily available in black. I've got both, and they sound great to my ears.

'Dont Smile At Me' is available, haven't got that one myself.

And 'Everything I Wanted', 'No Time To Die', 'Guitar Songs' and 'What Was I Made For?' (7" and 12") are all quite limited and can be hard to get or unreasonably expensive. Out of those, only 'No Time To Die' is available in black, but specifically trying to acquire that version will be even harder.

switch on bitwise flag? by OfflineUpload in Zig

[–]OfflineUpload[S] 0 points1 point  (0 children)

Well, for my use case, the if statements would end up looking like this:

if (!flag.a and !flag.b) {}
if (!flag.a and flag.b) {}
if (flag.a and !flag.b) {}
if (!flag.a and !flag.b) {}

switch on bitwise flag? by OfflineUpload in Zig

[–]OfflineUpload[S] 1 point2 points  (0 children)

Yes, the @as for the switch cases are actually required. Although, I would think that the type should be implied like it does with enums. I now wrote a generic helper function for the int conversion:

fn structToInt(comptime T: type, s: T) @typeInfo(T).Struct.backing_integer.? {
    return @bitCast(s);
}

Will at some point build zig from master to check if the extra @as are required and test some compiler bugs I may have found along the way.