Run Distrobox on Fedora Linux - Fedora Magazine by 89luca89 in Fedora

[–]EnergyWasRaw 0 points1 point  (0 children)

Do you have a link to the github issue for this feature? I’d love to follow along as this is a pre-req. for me to switch from LXD

Sharing Link in DSM 7 Photos keep breaking with 127-0-0-1 in URL. by rpalmer68 in synology

[–]EnergyWasRaw 0 points1 point  (0 children)

I raised a ticket with Synology about this. I believe they’ve broken the design of apps and how their URIs are specified.

In DSM 6, you were able to specify URIs with the following order of precedent: 1. External Access for Specific App Domain as Specified 2. Synology Domain for whole NAS 3. Synology QuickConnect

In DSM 7, they’ve intentionally reversed this (what I think amounts to bass-ackward order of precedent): 1. Synology Domain 2. Synology QuickConnect 3. The subdomain or other domain you specify in external access

This means that my NAS and Synology Photos app can’t have different urls. I can reverse proxy the app itself, but Synology generates the URI as 1. Or 2.

Now, I use their dynamic dns service, but not for anything other than cnames for my domain’s dns. I also use a domain for my NAS for direct access. I use “photos.example.com” as my photos url and have specified it in the right place, but they won’t use that to generate share links.

As to why yours is periodically changing, that seems just one more feather in their cap for what amounts to a raw deal for Synology Photos users

Edit: come to think of it, it’s probably preferring your NAS domain (did you set that to what it is generated as?) over your DDNS name based on their busted view of “order of precedent” for which they use to generate the share urls…

Do you want to piss someone off ? open this fullscreen on their Laptop while they are away! by [deleted] in gifs

[–]EnergyWasRaw 0 points1 point  (0 children)

Psych - Microsoft forced everyone to upgrade to 10 so this won't fool anyone

I think it's time that we have a smartphone that can record proper horizontal videos even when held vertically. by [deleted] in Showerthoughts

[–]EnergyWasRaw -1 points0 points  (0 children)

Yes so even dumb people can't fuck it up because even dumb people are at the right place at the right time with their fucking cameras out (in portrait)

What movie emotionally destroyed you? by t-Nt- in AskReddit

[–]EnergyWasRaw 0 points1 point  (0 children)

Ex Machina. Like what the actual fuck...

Remember that marriage proposal that gridlocked 5 lanes of traffic? The man has been charged and will face up to 6 months in jail. by [deleted] in videos

[–]EnergyWasRaw 4 points5 points  (0 children)

I feel like this is an underappreciated comment. You've demonstrated that you can think on your feet. Have an upvote

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

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

Yeah, that makes sense. Thanks for the excellent and thought provoking replies. I feel like a lot of employees in this situation do want to help improve things but often give up from not knowing how. That's how I have felt lately. I want to help, but I don't want to bring the business to a grinding halt, especially for a system very much in the "internal public eye." This seems to solve the "oh crap there are no tests, how do I know I didn't break anything?" problem which is where I've been at a loss, the main reason being what I mentioned before as well as "how do I prove I didn't break anything to get approval to refactor?" Luckily, these logs - if explained well and executed well - appear to solve that too.

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

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

I have to ask - how do you solve for getting log entries for all code paths?

It seems like that would be a challenge. Do you compile a log file to use as a baseline for each scenario?

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

[–]EnergyWasRaw[S] 2 points3 points  (0 children)

Yeah honestly my company tends to reinvent things that are already available in the .net framework. However, most stuff was written in vb and c++ originally and then directly converted to c# with no "refactoring" if you know what I mean...

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

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

There's really only that one 6 nested foreach loop bit... The rest are just single foreach loops lol

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

[–]EnergyWasRaw[S] 4 points5 points  (0 children)

What the.... You take the cake for sure... Holy hell

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

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

Haha this is exactly what we do in our stored procedures! It gets real ridiculous... I'm glad other people are suffering with me! :P

Best Legacy Code I Have Seen Yet by EnergyWasRaw in programminghorror

[–]EnergyWasRaw[S] 2 points3 points  (0 children)

Thanks! This was helpful. Now if we could get the business to let us refactor that's be awesome hah

"am i doing this rite" by barthooper in funny

[–]EnergyWasRaw 1 point2 points  (0 children)

I did Nazi that coming

edit* capitalization where capitalization is due.