RonSijm

joined 1 year ago
[–] [email protected] 2 points 4 days ago

If it's a public repo, revoke the key (on your own/company repo it might not matter so much)

Then

  • git reset head~1
  • remove api key
  • git push - f
[–] [email protected] 1 points 1 week ago (1 children)

Interesting idea to store github comments inside git, the article just isn't very clear to me on how to actually do it.

He's talking about using an "internal CLI tool" so I guess it's not a public tool?

But anyways, this kinda sounds like something you could do though a Github Action right? Like if a PR is merged, run an action that also appends PR comments or other meta-data from github into git

[–] [email protected] -1 points 1 week ago

I've started to prefer option A to be honest.

In C# I'm using Verify - So I prefer to just use Verify(state); and compare the entire state against a json saved state, instead of manually verifying every individual property

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

Do you have any book recommendations?

I think The Pragmatic Programmer by Andy Hunt and Dave Thomas is a great book everyone should read every couple of years. It's not really a lot of "low level coding tips" - more like overall paradigms

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

I’m always privating my repos because I’m not sure if I’m doing some horrible beginner inefficiency/bad practice where I should be embarrassed for having written it, let alone for letting other people see it.

Well that's something not to do. Make you "horrible code" public, and ask people to do a code review. Or see what contributors want to change through a PR (if you're so lucky). You're not going to learn anything from others by hiding your mistakes. And no one besides you really cares if you're committing horrible code.

It's pretty hard to just give generic advice on how to write clean code, but if people can just tell specifically what you can improve it's much easier

[–] [email protected] 10 points 2 weeks ago

Me: building a fluent interface framework...
I already support a WrapperOf<T, T, T, T>
User: Can I have a WrapperOf<T, T, T, T, T> because I'm doing something weird?
Me: *sigh* god-damnit. You're right but I still hate it.

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

How essential are certifications in this field? Can I pursue a career without them or with only a few to kick-start my early career?

It depends what kind of company you want to work for. Most 'real companies' barely care about your diplomas or certificates. If you want to work from some consultancy company like SAP or Capgemini these certifications check checkboxes you need to have checked to get promotions

[–] [email protected] 37 points 2 weeks ago

O(n)? More Like Oh(No)

[–] [email protected] 1 points 1 month ago

Right.. well clearly I have clicked all the links, and read all the things, and I still don't understand it. "Never attribute to malice that which is adequately explained by stupidity."

So assume in good faith, assume I have absolutely no idea what the problem even is due of my own stupidity. So ELI5 and give a synopsis of the problem.

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

Did you stop reading or are you intentionally trying to phrase it as if the universities won’t do anything? [...]
It doesn’t seem like you’re even trying to make a good faith argument.

My first sentence and first 4 words are "So what’s stopping them?". So did you stop reading before that - or what are you even arguing about, and where is your 'good faith'? You're arguing about meta-nonsense without answering

What’s stopping them? What do they even need from "federation" or "ActivityPub" to just build this?

[–] [email protected] 4 points 1 month ago

Hmm, I'm thinking - We should place a bunch properties and just name them something like "${username}" - "${password}" and variations of that, and see we can "find/replace" cross-site script them into sending their bots details

[–] [email protected] 3 points 1 month ago (4 children)

So what's stopping them? Universities have internship programs and internal projects. In a university team of 4 people doing projects, 63x4 252 students could be assigned to a project to build this.

But

The french open science committee (CoSO) is indeed interested in the ActivityPub implementation in GitLab

Good phrasing. They are "interested in the ActivityPub implementation" not "interested in the implementing ActivityPub" - so who gives a shit what a bunch of universities are interested in

 

I started this challenge and it's pretty fun.

  • First round: Program a runner to jump over hurdles
  • Second round: Program runners to jump over hurdles. Problem here is that 4 games are running at the same time, and you can only give 1 input every game-loop that'll go to all 4 games
  • Third round: 4 different games are being played at the same time, and you have to give an input that'll be for all 4 of them every game-loop

They have this graphical interface that'll actually show what your character is doing, which makes it more interesting than just a "code-only" leetcode or adventofcode challenge

 

Youtube Description:

With an incredible trailer that came out of nowhere, marrying RTS elements with third-person modern vs medieval combat, Kingmakers has gone on to become one of the most eagerly anticipated games of 2024... and Digital Foundry has an exclusive interview with the developers. What tech is Kingmakers using? How does it work? How many enemies will you do battle with and what's the level of AI in play? Find out here as John Linneman discusses the game with developer Redemption Road.


Not sure if this fits the usual /c/gamedev content, but I thought it was really interesting - it's an interview with 4 devs, and they go pretty deep into the tech of how they're building this game, and how they're managing to have 4000 knights running around at the same time

16
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Hey there,

I was using https://mlmym.org/programming.dev/ to browse programming.dev because I don't really like the default Lemmy UI. However, as of today https://mlmym.org just redirects to this gist: https://gist.github.com/rystaf/4d591ffdcbaab1c49efa406885efd814.

When checking both https://old.lemmy.world and https://lemmy.world - they both resolve to the same IPs - So it seems like the intended use for this UI is not use it though https://mlmym.org anymore, but for the instances to host it themselves under the ".old." subdomain. In a similar way reddit is doing.

As for how it would look, have a look at https://old.lemmy.world - and probably enable dark mode in the settings.

Was hoping programming.dev would consider supporting this UI as well, under old.programming.dev - It makes the transition from Reddit to Lemmy a lot easier

You can find the repo of it over here: https://github.com/rystaf/mlmym

256
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Context:

/r/ProgrammerHumor/ closed for a couple of days, then - "because mods have to listen to the community or otherwise they get replaced by more /u/Spez compliant mods" opened up again, and held a voting which new rules to enforce. The sub opened up with the new rule allTitlesMustBeCamelCase.

I made the first post about 15 minutes after the sub re-opened (because I'm in their discord, I was aware it opened up again, it wasn't announced yet, I think) - and of course I just make a shit-post about John Oliver since it's the /r/pics (and a bunch of other) subreddits way to protesting the API changes.

It wasn't even that good of a post to be honest, it got temporary taken down by the subs' mods since they mentioned "it's only anecdotally related [to programmer humor]" - but after messaging them explaining the context they put it back up. So it's basically approved by the moderators of the subreddit. And not against the content policy of the sub

It got like 3k upvotes in about an hour, so I got a message from some bot that I was on the frontpage of /all/ as well. At the end of the day it had 13.5k upvotes

About 48 hours later I got an automated message:

Your account has been permanently suspended for breaking the rules. This account is permanently suspended due to violations of Reddit's content policy

I posted an "appeal" basically just asking "Lol you banned me for posting John Oliver?"

And the only response I got was:

Thanks for submitting an appeal to the Reddit admin team. We have reviewed your request and unfortunately, your appeal will not be granted and your suspension will remain in place. For future reference, we recommend you to familiarize yourself with Reddit's Content Policy. -Reddit Admin Team This is an automated message; responses will not be received by Reddit admins.

I posted another "appeal" yesterday asking "Could you clarify which Content Policy rule I broke?" To which they haven't responded yet.

It's the only post I made in the last 2 weeks, so there wasn't any other reason to suddenly ban me besides this post...

My reddit account was 12 years old at this point. I was going to leave anyways because the Reddit client I use (sync) already announced it would be shutting down June 30 - so I don't care that much that they banned me - just though it was a pretty weird approach from the Reddit Admins to start banning people for getting John Oliver on the front-page

view more: next ›