this post was submitted on 01 Aug 2024
12 points (100.0% liked)

Chat

7499 readers
116 users here now

Relaxed section for discussion and debate that doesn't fit anywhere else. Whether it's advice, how your week is going, a link that's at the back of your mind, or something like that, it can likely go here.


Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

I made a mistake in my dates and so I have a few chapters to edit and upload and I have work tomorrow morning. Gonna be rough.

So, to make myself feel better, what are you time crunching this week?

top 29 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 9 points 3 months ago (1 children)

Nothing at all. I'm on vacation ๐Ÿ–๏ธ

[โ€“] [email protected] 2 points 3 months ago (1 children)

That's awesome! I can't wait to be on vacation. I have one booked, I just have to let them know when we have time to go. We're hoping for March or something idk lol

[โ€“] [email protected] 5 points 3 months ago

March is so far away still D:

[โ€“] [email protected] 6 points 3 months ago (2 children)

At work we have a contractual design deliverable that was due yesterday, I still can't get anybody to tell me what I'm supposed to be designing/building. I've got the contract, but its so vague that it's more unhelpful than it is helpful and there's apparently been 9 months of conversations with the customer, none of which have included engineering, nor has anything from them been written down. So we're designing something just based on rumors.

So we're in crunch mode, but also we don't know what we're trying to accomplish... ๐Ÿ˜ฉ

[โ€“] [email protected] 6 points 3 months ago (1 children)

That sucks.

Talks without any documentation is as if it didn't happen.

[โ€“] [email protected] 3 points 3 months ago

Yep, I'm genuinely unsure if the conversations actually happened or not. I've gotten different answers to that from different people.

[โ€“] [email protected] 3 points 3 months ago

That sounds terrible! This sounds like a really common situation I hear in certain industries - vague idea guys postulating stuff they know nothing about and expect some sort of return from their " genius " space intended.

Even worse when the culture of asking questions is frowned upon, "you didn't get what I was saying?" is such a horrible tactic. I've had to deal with this type before, but thankfully I worked in the arts and so that's a little more expected, and abstract. Or the other way around I guess, lol. One that particularly stands out was a lead dancer that "had a vision" for his stage lighting and it was one of the longest, most drawn out, egregiously tedious experiences of my life. Wanting things that he knew we couldn't do (we showcase our space every time and clearly detail our ((few)) limitations), wanting things that I'm pretty sure don't even exist, needed to change things multiple sets back after we've moved on from them.

The sort of thing that look like there's no planning at all. The fucked up part is that it was almost the opposite, he has 2 full notebooks for this 3 hour performance which is just like kind of unheard of for staging.

I will say though, I made it work and it was a great visually stunning show, with things that I haven't really seen before. So I can't really fault him in particular, because he also actually really did put in the work. It was just absolutely terrible to create. I don't mind getting lights to flash with the beat, but getting cues for individual drums in quarter and 16th notes is... Draining. And there was so much more manual work than there should have been, there's a normal amount of cueing and changes for a team to do and then there's the team working through every single song with no breaks. Like we were those overhype DJ's with a prerecorded set.

[โ€“] [email protected] 5 points 3 months ago (1 children)

My master thesis, due on monday, and I'm having major concentration problems ๐Ÿ˜ซ

[โ€“] [email protected] 1 points 3 months ago

It's been a few hours, I hope it hasn't persisted! When I'm having those issues I like to make a list of all of the other things rambling around in my head. Set a 3-5 minute timer and scribble those thoughts down! Then take a short walk around, like 3-5 minutes, come back to your list and write anything else down.

Then go back to your project!

I like to do this any time I start feeling restless or distracted, because that way I get my thoughts out, "make progress" on something else, and then further extrapolate on those thoughts and get some blood flowing. Makes it easier to come back with a clear conscious!

[โ€“] [email protected] 5 points 3 months ago* (last edited 3 months ago) (1 children)

Nothing.

I participated in a game jam, which ended wednesday. We submitted tuesday evening, in a satisfying state. It's a prototype, it doesn't have to be perfect, or complete, or thorough.

We die invest time, but I don't consider it crunch.

Work has some high priorities but nothing immediate pressuring.

And private, no commitments or short term must either.

[โ€“] [email protected] 3 points 3 months ago (1 children)

That's great! I'm finally at this point after a stressful few days, I was up til 2:45am (pretty normal for me) getting the final upload sent off and had to get up for work for my first day of on the floor training at my new job... Well, I guess that last part was obvious.

Point is, I'm exhausted! Haha! But work today was actually easy enough, I'm officially someone who can serve food (but that's not my job). My last 96 hours have honestly been almost entirely compromised of work and I'm very glad to have this 3 day weekend

[โ€“] [email protected] 1 points 3 months ago

Good to hear you have a few days off to recover :)

[โ€“] [email protected] 3 points 3 months ago (1 children)

Just existing as a first time parent. I have a huge amount of respect for anyone that has two or more children, because one is already stretching me to my limits. To get anything accomplished requires stealing time from something else. So over time, everything is in a state of being half-assed, overdue, or forgotten.

[โ€“] [email protected] 1 points 3 months ago

Huge respect! I am in the process of family planning and it is daunting to say the least, and my time is already so, so thin. And I'm someone who runs on 16+ hour days!

[โ€“] [email protected] 2 points 3 months ago (1 children)

I have some open research to do on MLOps tools for our team. Its one of those tasks thats broad enough that Im not sure how much time I should be doing introspective work vs. try it out vs. settle on a couple to be the ones we go with...so I feel behind, because maybe I should have picked our final architecture yesterday? Im still researching!

[โ€“] [email protected] 1 points 3 months ago

Commitment to something is such a challenge, especially when there are alternatives that have other benefits and shortcomings!

Sometimes the best thing to do can be to get a feel for the cursory experience and then see if that is something that is expected or not, and how it might compare to something else. Kinda vague but it works for a lot of purposes! It also gives you an idea of the practical amount of time it would take to work with, and maybe some stages are quicker or slower than others.

Hopefully this made sense I'm running on very little sleep!

[โ€“] [email protected] 2 points 3 months ago (1 children)

I have a photography project due tomorrow. I have to make test print, a full print and negative press. The problem is I always want to go after dark so it's colder, but by then I'm too tired.

[โ€“] [email protected] 2 points 3 months ago

Oof good luck with that! I made a similar mistake, I thought I had time one morning to play around with my music space and, well, that ended up being almost the exact amount of time I was late by....

Don't take that as a foreboding warning though, you got this!!

[โ€“] [email protected] 2 points 3 months ago (1 children)

I'm learning the Rust programing language. Gonna write a fediverse backend with it.

[โ€“] [email protected] 2 points 3 months ago (1 children)

That actually sounds really sick. I've been learning C myself. (Yes, I know it's a little outdated).

[โ€“] [email protected] 2 points 3 months ago (1 children)

I've considered C. I do have over a decade of experience with C++. But quite frankly I just need to be productive, so I work in C# these days. The issue is just that C# takes away a lot of control that I need for this project. Especially because I want it to be resource efficient so that it's sustainable and doesn't hog people's private server resources.

[โ€“] [email protected] 3 points 3 months ago (1 children)

Personally I'm just a hobbiest, I'm not really fluent in anything. I want to hack together a (extremely simple) OS. I'd imagine C++ is close to the effiency of Rust, no?

[โ€“] [email protected] 2 points 3 months ago (1 children)

C++ is a superset of c, and isn't inherently slower. It just has a ton of bells and whistles that were trendy in the 90s such as OOP abstractions.

You could say that a c++ amateur programmer will tend to write more resource intensive code than an amateur c programmer due to wanting to use the abstractions.

Take for instance a level with 10k animals in it such as ducks and dogs. Ducks and dogs have their own Update implementation. A world Update function has to update all the animals.

In c++ you will naturally be inclined to use polymorphism by creating an animal class and letting the duck and the dog classes inherit from it. You have a single list with 10k animals. The duck and dog classes override the animal's Update method with their own implementation. The world Update function uses a loop to call the Update method on all 10k animals.

What you might not realize is that under the hood the computer has to do a lookup in a function table for each animal. Both the duck and the dog classes have their own virtual tables that the CPU has to go through to find the actual implementation of their respective Update function.

Now in C, you'd be inclined to simply create two separate sets, one for dogs and one for ducks. You'd loop over each one individually.

There are no lookups for the CPU to do here. It just applies the same Update function to a large set of structured dog or duck data.

Now, the performance impact won't matter in most cases. You could even write it in python and it'll be way slower but at least your code will be readable. But now imagine 10mln or 10bln animals. It's going to make a difference.

Rust on the other hand is in the same class of performance as C.

[โ€“] [email protected] 2 points 3 months ago (1 children)

Hence, as you want to write a back-end that's scalable and readable, you've chosen rust over C++.

Such an in-depth response!

What's your opinion of Dave Plummer's speed test? I was surprized that assembly wasn't the fastest of his tests. It really says how amazing compiling has become.

This is the Github project: https://github.com/PlummersSoftwareLLC/Primes

This is the video playlist he made based on that project: https://piped.video/playlist?list=PLF2KJ6Gy3cZ5Er-1eF9fN1Hgw_xkoD9V1

[โ€“] [email protected] 2 points 3 months ago (1 children)

That's pretty cool. Feel sorry for the guy since he mentioned his history with DOS (Dirty Operating System).

What makes you interested in performance rn?

Also, I'd never have considered c++ for my project, but rather c. I find OOP abstractions to waste my mental space to no benefit.

And sure, I'd say rust is more readable than c. The author was clearly thoughtful across the board. It's simply more modern in its thinking.

Regarding scalability I'd say that rust makes concurrency simpler than c. Back in the day computers were single core and making huge strides there. It wasn't until the 2000s that we hit a ceiling and had to go wide with multiple cores and smart with prediction and larger caches and so on.

Feel free to ask anything.

[โ€“] [email protected] 2 points 3 months ago (1 children)

I don't have any good reason to be interested in performance. That being said, I tend to view inefficient languages- Python and Javascript especially- as "less good." Granted, python's ability to be built on top of C libraries is a huge saving grace. Javascript should be replaced by WebASM in IMO. Like you said, the inefficiencies add up as the scale gets larger.

As a disclaimer, I could be swayed to like Javascript. I haven't been challanged on my view yet.

I'd like to go into embedded programming which is why I'm interested in C and OS dev. Most of the tooling we have (as an internet) is still built for C. I know they're starting to write parts of the Linux kernel in Rust. How is Rust for that kind of development?

[โ€“] [email protected] 2 points 3 months ago (1 children)

Well it sounds like you're serious about it. I'd always recommend focusing on where your passion lies. If that's embedded then c and rust are solid choices.

Just always be aware of what motivates you. Adjust your plan as you go. Find the balance between boring and frustrating. Did you know that the guy behind Google earth is a gardener now? That's totally fine.

I'm just saying don't torture yourself with your own fantasies, but always remain skeptical and cut cut cut. Choose consciously and then commit your full energy.

The only failure is to go against your own nature. Managing your motivation is way more important than optimizing performance. You can always refractor anyway.

That being said if you want to be thorough I'd recommend you start at c with a side of assembly. Stick to that until you feel comfortable and then move on into rust.

When switching you'll probably want to start from scratch because you've improved your design so much. You can always port it too or link it as a library. Don't worry about that right now, that's a future you problem.

[โ€“] [email protected] 2 points 3 months ago (1 children)

I actually really appreciate your comments about motivation, it's one of the things programmers don't tend to mention on the web. I definitely see my motivation wax and wain. I have my fantastic dream's that get the better of me too. I guess we can't all be a Torvalds. ๐Ÿคทโ€โ™‚๏ธ

[โ€“] [email protected] 2 points 3 months ago

Well, sure, you can only be yourself! You have qualities that torvalds doesn't have.