RonSijm

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

We also got fully self driving cars in 2 years though, in 2016....

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

Snowe is sysadmin of programming.dev...

So source: Snowe

[–] [email protected] 1 points 5 days ago (1 children)

If you're using Entity Framework for the mssql, I doubt that this library would work as a substitute.

Because that linq gets parsed into expression trees and then send to the underlying provider (mssql/mysql etc) to be converted into sql. So if you you some non-standard library those providers won't be able to convert that linq to sql

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

Typescript itself is not really getting any faster, just transpiling Typescript to Javascript

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

Many people believe that the ToS was added to make Mozilla legally able to train AIs on the collected data.

"Don’t attribute to malice what is easily explained by incompetence"

So yea Mozilla wrote some terms that where ambiguous and could be interpreted in different ways, and 'many people believed' that they did this intentionally and had the worst intentions possible by their interpretation of the new ToS

Then Mozilla rewrote that ToS after seeing how people were interpreting the original ToS:
https://www.theverge.com/news/622080/mozilla-revising-firefox-terms-of-use-data

And yea, now 'many people will believe' that 'Mozilla revised their decision to do this after the backslash' - OR, it was never their intention and now phrased it better after the confusion

People just want to get their pitchforks out and start drama at any possible opportunity without evidence of wrongdoing... Mozilla added stupid stuff to the ToS, ok yea fair enough - but if they actually did "steal user data" - this would be very easily detectable with Wireshark or something

[–] [email protected] 6 points 3 months ago

This feels like a personal attack

[–] [email protected] 5 points 3 months ago

Programming.dev is hosting Iceshrimp: https://bytes.programming.dev

You could host your own instance, or if your opinion-pieces are programming related, post them there

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

It probably depends on the level of the criminals and organized crime groups. I saw this Youtube video a couple weeks ago that talks about the history of how organized crime groups were using encrypted communication https://www.youtube.com/watch?v=gigIOc_0PKo (And how they were honey-potted by the FBI to use an FBI-hosted service, lol)

Organized crime groups that make 100s of millions should be capable enough to hire skilled developers and sysops to host self-managed services. At some point if they make enough money, investing in self-managed communication becomes preferable over using telegram or signal.

[–] [email protected] 13 points 3 months ago (2 children)

No one's questioning why he's sorting it twice?

[–] [email protected] 6 points 4 months ago (3 children)

Also some feedback, a bit more technical, since I was trying to see how it works, more of a suggestion I suppose

It looks like you're looping through the documents and asking it for known tags, right? ({str(db.current_library.tags)}.)

I don't know if I would do this through a chat completion and a chat response, there are special functions for keyword-like searching, like embeddings. It's a lot faster, and also probably way cheaper, since you're paying barely anything for embeddings compared to chat tokens

So the common way to do something like this in AI would be to use Vectors and embeddings: https://platform.openai.com/docs/guides/embeddings

So - you'd ask for an embedding (A vector) for all your tags first. Then you ask for embeddings of your document.

Then you can do a Nearest Neighbor Search for the tags, and see how closely they match

[–] [email protected] 3 points 4 months ago

I haven't used json(b) in a Spring app, so I can't say much about that.

Json vs Jsonb depends on the use-case. Inserting json is faster than inserting Jsonb. Reading json (based on searching for specific json properties) Jsonb is faster, because Jsonb is parsed into a more optimized tree.

From my experience, I don't really like doing selects based on json properties. If I know I'll be selecting a certain property, I usually add an additional column next to the json with the data, and insert that property there (At least in c#/dotnet, with EF) The frameworks don't have that much support for selecting within json (you can do it, it's just a lot more natively supported to use proper columns)

 

Oh no, not just my build server, Microsofts build server... Everyones' Azure build server - (if you're building on windows)

 
 
 

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

1
submitted 2 years ago* (last edited 2 years 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

9
submitted 2 years ago* (last edited 2 years 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 ›