Programming

mightyspaceman,
@mightyspaceman@aus.social avatar

Does anybody know a good way of implementing B-Splines in from a set of vectors, using

bmbufalo,
@bmbufalo@fosstodon.org avatar

I've spent the last two days working on scripts pulling instances, server outages, and fixing server domain joins/SSH/Sudo access. Fun to stretch all the muscles but my brain is fried! And it's still not even Friday!

valorin,

SQL Injection and Parameterisation modules are now live on https://practicallaravelsecurity.com! 🥳 Plus 6 new challenges, taking you through the types of SQLi attacks.
Can you beat them all? 😈

I'll send out an email with all the details tonight/tomorrow to subscribers. 🤓

dwarmstrong,
@dwarmstrong@fosstodon.org avatar

Day 86 of 100DaysOfCode - Using Python's exif module to extract the datetime_original attribute from photo metadata, then use that string in the process of renaming photos courtesy of pathlib.

I'm liking the Path methods to break a filepath into its constituent parts!

Kovah,
@Kovah@mastodon.social avatar

Current status: screw it, I buy a cabin in the forest, scrap my laptop and start building wooden furniture. 😒

from

gimulnautti,
@gimulnautti@mastodon.green avatar

In my opininion here is the real power of current-level #LLM’s: Declarative #programming via close-to-natural language type prompts.

It’s not just productivity, so many more people can get into programming now! No need to understand loops, branches, conditions! It’s all doable by natural language.

You only need to dabble a bit in states and data storage structures. Just wonderful!

#prompts #natural #language

https://medium.com/javascript-scene/sudolang-a-powerful-pseudocode-programming-language-for-llms-d64d42aa719b

jbzfn,
@jbzfn@mastodon.social avatar

🐍 Why and how to hide the Python stack trace
➥ Bite Code!

"Once you ship your software, most of your end users will be better served by replacing the stack trace with some actionable error message in case of a crash.

This means you need to think of the user experience you want for when things go completely wrong"


https://www.bitecode.dev/p/why-and-how-to-hide-the-python-stack

NikaShilobod,
@NikaShilobod@fediscience.org avatar

I made a small script that identifies genus/species/common name on a folder of images of and and spits out a table of possible IDs with confidence intervals and file path. Each image will list several results, but it is very good. Some folks may find it useful/fun:

https://github.com/stark1tty/useful_scripts

@houseplants @ecology

thisismissem,
@thisismissem@hachyderm.io avatar

Freshly found 8+ year old bug: https://github.com/nodejs/node/issues/48333

LET'S GOOOOO!

tl;dr; don't trust metrics from a server using node.js's cluster module for forking & sharing a listening port.

bernasconi,

📢 .NET Developer Roadmap

I launched my C# & .NET Bootcamp on Zerotomastery.

I worked a whole year on both the course and the roadmap video released today (free).

https://youtu.be/B6P-p6UVyss

Check out the course here: https://claudiobernasconi.ch/dotnet-course

Let me know what you think. 👇

AstraKernel,

☕ Java 21 ( unnamed classes to make the class declaration implicit )

openjdk.org/jeps/445

mightyspaceman,
@mightyspaceman@aus.social avatar

Old me would write >100 lines of code and call it a 'project'

It was meant to be a p2p messaging thing...and it was in node...

might try reviving it in a more suited language. Maybe that could be a thing to get started with

kushal,
@kushal@toots.dgplug.org avatar

Our next meetup will be on 7th, from 5:30pm in the office. We will sit down and learn how to build itself. Hoping to get more people excited about contributing to the language itself.

https://www.meetup.com/pysthlm/events/293931938/

sekenre,
@sekenre@fosstodon.org avatar

My first sprint is over and it was amazing!

I wasn't sure what I could do and when @judy2k said "It doesn't have to be Django specific" I thought "why not put cbor2 up on the board?"

Thanks to all the folks who came up and asked questions, and especially to the 3 people who got deep into the weeds with me debugging IEEE float16 decoding and timezone encoding!

preslavrachev,
@preslavrachev@mastodon.social avatar

For the next time a junior developer asks "But why do we have to validate the result of the API call? Isn't it double work?"

dwarmstrong,
@dwarmstrong@fosstodon.org avatar

Day 85 of 100DaysOfCode - I'm creating a program to rename photo(s) using the datetime_original tag from Exif metadata.

Today I explored using Python's pathlib module to generate the list of photos to rename. I've got it working to handle a single photo, recursively search for photos in a directory, and search for photos that match a wildcard pattern.

Next up, figure out how to extract Exif data from a photo.

bernasconi,

📢 .NET Developer Roadmap

It contains a roadmap for learning C# and .NET development.

It's broken down into the topics required to become a .NET developer.

Watch the video and download the roadmap for FREE. 👇

https://youtu.be/B6P-p6UVyss

itnewsbot,
@itnewsbot@schleuss.online avatar

Stanford Golf Phenom Rose Zhang Turns Pro, Vows To 'Never Code Again' - theodp writes: Golf reports that amateur golf legend Rose Zhang will compete for t... - https://developers.slashdot.org/story/23/06/01/2220213/stanford-golf-phenom-rose-zhang-turns-pro-vows-to-never-code-again?utm_source=rss1.0mainlinkanon&utm_medium=feed

kushal, (edited )
@kushal@toots.dgplug.org avatar

The total trip to @pycon was great, but the good food there brought back the 4Kgs I lost in the last few month :(

ngaylinn,

Frustrations with C++ make me want to learn Rust. That means, now I have two problems.

walkerb,

First of the stretch goals for Yellow River Kingdom done.

History Window. Played with PyPlot, which seems to work quite well.

Side note that derailed me for a few minutes - I had to manually install the Pillow TK integration libraries, even though they showed up in the intellisense. For anyone else who runs into graphs throwing an ImageTk not available this is what I did:

sudo apt-get install python3-pil.imagetk

Nice graph for not a lot of code...

The code for the history window

maralorn, German
@maralorn@chaos.social avatar
J12t,
@J12t@social.coop avatar

OH this morning on the Fediverse Developer Network call:

"How much of the internet should I cache?"

Indeed.

itnewsbot,
@itnewsbot@schleuss.online avatar

What Makes Wedge Coils Better Than Round For PCB Motors? - PCB motors are useful things. With coils printed right on the board, you don’t nee... - https://hackaday.com/2023/06/02/what-makes-wedge-coils-better-than-round-for-pcb-motors/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines