juni

joined 2 years ago
[–] [email protected] 1 points 2 years ago (4 children)

This is correct, however it is important to note that the C standard allows arbitrary values at the beginning of the program. The manpage does a better job explaining it.

Doing a bit of research, it looks like the POSIX time_t time(time_t *dest) function (man) is available on Windows (see here). So I would recommend that over clock_t clock(void) as it will operate more consistently across platforms.

[–] [email protected] 1 points 2 years ago

This just serves as another reminder that I need to finish reading SICP. But that said, I think this brings up some very interesting points. The example provided of DRY is focused on what is happening on a human/company level, while the abstraction barriers provided focus heavily on what is happening on a software level. This is a differentiation that I feel like is extremely important when programming robust, maintainable software. You cannot let non-software related terminology seep into what is fundamentally, well, software.

When you let non-software terminology work its way into software, the software has to start making assumptions. What is a C level employee? What bonuses do they require? Are these things subject to change? The list goes on. But if you approach the problem with software first and foremost, it is clear that all is happening is a variable bonus is added to an employees compensation. It is not this layers problem what that value is, nor is it this layers problem who is being compensated. That is all concerns for a DB layer (of some form) somewhere up the chain. All the financial layer cares about is applying the calculations.

So I don't feel like this is really a case against DRY, as much as it's a case against using non-software terminology and applying non-software assumptions to what is fundamentally, software. The arguments for maintaining independent layers is also important, but if you're thinking fully in terms of software operation, I feel you can more comfortable determine when layers can be interlinked.

[–] [email protected] 1 points 2 years ago

Same here, everytime I ever saw reddit in my search results I'd audibly sigh. How they've managed to make their user experiences so extremely hostile is beyond me.

[–] [email protected] 14 points 2 years ago

As someone who went from FOSS -> Apple -> FOSS, I fully understand the love people have for the Apple ecosystem. In terms of proprietary hardware and software, they have a sheen and an inter-operation between their products that is genuinely unmatched.

That said, what ultimately pushed me out and back to Good Ole FOSS™ was the lack of any control, and the lack of any transparency. The idea of trusting a for-profit company with anything beyond my email address and sometimes phone number is just something I dislike doing. Apple's processes are extremely opaque, and the last thing they want to give users is any control over their products, it's an antithesis of what I desire from digital electronics.

As for if non-technical people should look into FOSS. I think FOSS can really give people a fundamental baseline of digital computing, and in the modern world such a baseline is extremely valuable. If they decide afterwards they prefer their proprietary ecosystems, Apple or otherwise, that's their prerogative and there's absolutely nothing wrong with that.

[–] [email protected] 7 points 2 years ago (1 children)

Not sure if you got it sorted or not, but if you were following the docker-compose method documented by the devs, there were a couple hurdles I ran into. The one that may be relevant here is that at some point their docker-compose.yml did not expose the Lemmy backend to the Internet, and so all federation was failing. That said, I checked just now and they seem to have fixed that issue upstream. So you should be able to re-pull their docker-compose.yml and it should work.

[–] [email protected] 5 points 2 years ago

Chipped in a bit myself, regardless of the fact I'm self hosting. I really like what I've seen on Beehaw so far, and the admin teams communication has been stellar. Happy for it to become the "large instance" I interact with most!

[–] [email protected] 6 points 2 years ago

Couldn't agree more. Actually feel like I can contribute here, unlike on Reddit. Helps that Lemmy allows me to selfhost, which really helps my anxiety!

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago)

Absolutely, that is a far more eloquent way to put it! It's very freeing in it's own way.

[–] [email protected] 1 points 2 years ago (1 children)

Excuse me if I misunderstood, but isn't that the purpose of the "Subscribed" and "All" feeds on the home page of whichever instance you have an account on? Or do you mean some form of auto-discoverability?

[–] [email protected] 2 points 2 years ago (2 children)

Understandably so, I think haha. But for me, abandoning my car has made me actually realize distances in my city. Relying on a car, I barely even considered the distances I was traveling, and how necessary or not they were. I was more concerned about where I could park the thing than how far I was traveling just to do errands. But on a bicycle (and just walking), the first thing I do is consider the route, and distance, and I came to realize a lot of the distances I thought are best driven are... extremely walkable, or bikeable. And the distances that are a little far for a bicycle (in my current shape), I questioned why I even need to go that far. Especially if you're in a city, there are a ton of businesses everywhere, it was easy to look for and find closer alternatives.

So I guess for me personally, it really helped me contextualize the distances I was actually traveling, and helped me more concretely view my city and what's around me, compared to just driving through liminal spaces until I reach whichever destination I was headed towards.

[–] [email protected] 3 points 2 years ago* (last edited 2 years ago) (5 children)

Out of curiosity, could you clarify "close proximity"? Because I certainly agree a bike is not viable if you are in the countryside. However having switched to bicycling and no longer driving my car recently, it has shrunk the world around me far more than driving ever has.

[–] [email protected] 3 points 2 years ago

Couldn't agree more, and what about asymmetric prescriptions? This has been part of why I've never really been able to get into VR in general, the accessibility of it just isn't there.

view more: ‹ prev next ›