claras_universe, to github
@claras_universe@ieji.de avatar

Im still onto my streak. Its 132 days now. There is no going back, I have to fill the whole thing xD

godmaire, to rust
@godmaire@mstdn.social avatar

Is it not possible to use grave accents in rust proc-macros? When I do, I get an "unknown start of token" error, even though it /is/ the whole token. When taking a peek at the TokenStream given to the proc-macro function, the grave doesn't appear at all

#rust #programming

vascorsd, to guix
@vascorsd@mastodon.social avatar

So many cool things here.

Goblins, Shepherd, Capabilities, Actors, Whippet, Pre-Scheme, NLnet grants ๐ŸŽ‰


Distributed System Daemons: More Than a Twinkle in Goblins' Eye -- Spritely Institute
https://spritely.institute/news/spritely-nlnet-grants-december-2023.html

collaborationgames, to programming
@collaborationgames@mastodon.gamedev.place avatar

My first legit 'while(true)' usage in a long time.๐Ÿ™Œ๐Ÿ˜‰
It's gonna be smooth with zero consequences, right?๐Ÿ˜‹
#programming #unity

pixel, to swift
@pixel@social.pixels.pizza avatar

โ€œTo use for await item in streamOfItems {...}, you need an AsyncStream. It is very common that you already have an existing Combine publisher, and you want to use the nice Swift Concurrency syntax.โ€


https://samwize.com/2024/05/06/how-to-create-asyncstream-with-a-publisher/

halildeniz, to programming
@halildeniz@mastodon.social avatar

DHCP Spoofing Tool

This tool is used to spoof DHCP servers. It sends fake DHCP offers to a specific network interface and manipulates the IP addresses of network devices.

For more join our discord server:
https://discord.gg/nGBpfMHX4u

davidbisset, to programming
@davidbisset@phpc.social avatar

"My debugger crashed just now."

๐Ÿค”

fuopy, to gamedev
@fuopy@mastodon.gamedev.place avatar

If you are an unemployed software dev in the states, this directly affects you. Greedy corps aim to permanently undercut prospects of today's countless unemployed devs (experienced and new) by promoting a false narrative of a "labor shortage." Take a look and please consider leaving a comment within the remaining 2 days. If this passes, you can kiss your job prospects goodbye.
https://www.reddit.com/r/cscareerquestions/comments/1cogset/amidst_mass_layoffs_the_us_department_of_labor_is/

jhpratt, to rust
@jhpratt@mastodon.social avatar

Preview of what I have been working on recently. The core of this crate is a mere two traits. The crate will ship with a number of parsers and combinators, none of which rely on anything not exposed to downstream users.

I've attached a real-world situation, taken verbatim from the test suite. Parsing integers isn't as efficient as it could be yet, as it's using a naรฏve method.

Parsing in general compiles to be extremely efficient, and using it is ergonomic.

pub trait Combinator<'input, P> where P: ByteParser<'input>, { type NewParser: ByteParser<'input>; fn apply_to(self, parser: P) -> Self::NewParser; }
#[test] fn parse_date() -> parcom::Result<()> { let parser = ascii::int:: .limit_length(4) .and(verbatim(b"-").discard()) .and(ascii::int::.limit_length(2)) .and(verbatim(b"-").discard()) .and(ascii::int::.limit_length(2)); let (seq!(year, _, month, _, day), remaining) = parser.parse("2021-07-04")?.into_parts(); assert!(remaining.is_empty()); assert_eq!(year, 2021); assert_eq!(month, 7); assert_eq!(day, 4); Ok(()) }

ks982579, to golang
@ks982579@techhub.social avatar

Level up your programming skills with Go! โซ

My main focus for my Master's in Computer Science has been on Rust, but I'm always looking to expand my skillset. That's why I'm excited to dive into the Golang Programming bundle by hashtag #Packt on Humble Bundle. This bundle offers a great opportunity to learn Golang, a powerful open-source language gaining traction in the tech industry. I'm particularly interested in the "Go Programming - Beginner to Professional" book, which seems like a perfect starting point for anyone new to Go, like myself.

Is anyone else exploring Golang?

Feel free to share your experiences or learning resources in the comments below!

#Golang #GoProgramming #Programming #HumbleBundle #PacktPub

https://www.humblebundle.com/books/golang-programming-packt-books

djumaka, to php
@djumaka@phpc.social avatar

Guys I need some helping hand. I need some good reading (book/article) on the proper way of writing OOP. I gave a project where we use classes, but they are more used as a package if functions then working like objects. Like a class of only statics, passing around IDs not the real objects of data (this sending SRP down the drain), arrays, generally functional programming with extra steps. I'd fancy even a discussion as I want to slowly explain all that to my teammates
TIA

bits, to programming
@bits@mastodon.online avatar

Software obeys the law of gaseous expansion - it continues to grow until memory is completely filled.

-- Larry Gleason

jcolag, to fediverse
@jcolag@mastodon.social avatar

Encrypted DMs Are Coming to ActivityPub https://wedistribute.org/2024/05/encrypted-dms-activitypub/

Any social web platform could implement E2EE for themselves, but a standardized format will enable users of different Fediverse services to DM each other through the lens of the social platform of their choice.

stevensanderson, to programming
@stevensanderson@mstdn.social avatar

๐Ÿ” Quick Guide: Detecting Strings in R

In my latest blog post, I cover how to find specific strings in data columns using the str_detect function from the stringr package and base R functions. You'll see practical examples with both grepl for identifying matches and gregexpr for counting occurrences.

Read more here: https://www.spsanderson.com/steveondata/posts/2024-05-10/ and explore ways to make string detection a breeze in your data work!

#R

image/png

ArneBab, to scheme German
@ArneBab@rollenspiel.social avatar
metacpan, to programming
@metacpan@fosstodon.org avatar
thor, (edited ) to ADHD
@thor@berserker.town avatar

What to do if you're 40 and you've realised you can't stand office work at all because you have #ADHD, but the only job experience you have is 13 years of being a software engineer?

Add to that the constraint that you can't go to school to re-educate yourself because school is just office work you don't get paid for?

What kind of job can you even get in that situation? I've been thinking about that for 4 years now and I don't have any good answers. ๐Ÿคทโ€โ™‚๏ธ

EDIT: I did not respond well to medical ADHD treatment. Bad side effects. Many people get those, but it's not talked about much.

#jobs #careers #programming

beanjbunny, to gamedev
@beanjbunny@nerdculture.de avatar

Oh man I donโ€™t feel like I did much today BUT THATโ€™S NOT WHAT MY GIT COMMIT HISTORY SAYS ๐ŸŽŠ๐ŸŽ‰๐ŸŽŠ๐ŸŽ‰

Crell, to Software
@Crell@phpc.social avatar

Always remember the P7 rule:

Proper Prior Planning Prevents Piss Poor Performance.

DiazCarrete, to programming
@DiazCarrete@hachyderm.io avatar
SergKoren, to programming
@SergKoren@writing.exchange avatar

When an โ€œAIโ€ can generate and โ€œunderstandโ€ code, is there an imperative to simplify the syntax or process for humans?

SergKoren, to programming
@SergKoren@writing.exchange avatar

Follow-up question: How has programming, fundamentally, changed in the past 10 years? Has it? Yes, I know weโ€™ve gone from OOP to functional to โ€œAIโ€-assisted. Am I to assume that, therefore, programming is on its way out because of AI-generated code?

SergKoren, to programming
@SergKoren@writing.exchange avatar

How is โ€œlegacy codeโ€ defined nowadays? Back in my day, it was anything where the source code was not available or greater than ten years old.

ramikrispin, to rust
@ramikrispin@mstdn.social avatar

I recently started to learn Rust programming, and I made a list of resources that I found useful to get started with the language ๐Ÿ‘‡๐Ÿผ

https://medium.com/p/928bf7b8418f

matdevdug, to programming
@matdevdug@c.im avatar

Whenever I have to write an login the struggle is never getting it to work. I can always end up with a successful login.

Without fail I will finish, then go check the best practices guide and inevitably find out I messed something up. Itโ€™s just crazy for an โ€œeasyโ€ protocol to have so many footguns. (https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • โ€ข
  • tester
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • hgfsjryuu7
  • mdbf
  • vwfavf
  • kavyap
  • tsrsr
  • ngwrru68w68
  • PowerRangers
  • DreamBathrooms
  • Leos
  • everett
  • Durango
  • osvaldo12
  • khanakhh
  • ethstaker
  • rosin
  • cubers
  • tacticalgear
  • GTA5RPClips
  • normalnudes
  • cisconetworking
  • modclub
  • anitta
  • All magazines