stevensanderson, to programming
@stevensanderson@mstdn.social avatar

🚀 New in healthyR.data: get_cms_meta_data()!

Easily retrieve and analyze CMS metadata with customizable searches using .title, .keyword, and .modified_date. Choose data versions ("current", "archive", "all") and filter by media type ("all", "csv", "API", "other"). It returns a tidy tibble with essential metadata.

Post: https://www.spsanderson.com/steveondata/posts/2024-05-28/

#R

image/png

juulcat, to cpp
@juulcat@mastodon.gamedev.place avatar

Moving our games programming videos - currently Runtime Compiled C++ - to the new dedicated enkisoftware Youtube channel. Consider giving it a subscribe https://www.youtube.com/@enkisoftware

dougbinks, (edited ) to random
@dougbinks@mastodon.gamedev.place avatar

Rapid Development with Runtime Compiled C++ Talk & transcript:

This is a decent introduction to the RCC+ tech I developed with Matthew Jack, and have continued to develop and use in Avoyd. It's an old talk (Develop conf 2012) but still relevant.

Many thanks to @juulcat for videoing the talk and writing up the transcript.

https://www.enkisoftware.com/devlogpost-20240528-1-Rapid-Development-with-Runtime-Compiled-C++-Talk

jackwilliambell, to python
@jackwilliambell@rustedneuron.com avatar

> Dataclasses JSON provides a simple API for encoding and decoding dataclasses to and from JSON and lists/dicts. https://lidatong.github.io/dataclasses-json/

Includes some schema validation as well.

ETA: Schemas require Marshmallow.

> https://marshmallow.readthedocs.io/en/stable/api_reference.html#schema

And Marshmallow looks like what I was searching for in the first place…

> https://marshmallow.readthedocs.io/en/stable/index.html

vascorsd, to programming
@vascorsd@mastodon.social avatar
intransitivelie, to windows
@intransitivelie@beige.party avatar

Ok, this is an extremely niche question, but I'm trying to work with a list of files in a Windows batch script, and one of the files contains two single quotes in the name, so the batch script is interpreting that as a command. Does anyone know of any way I can escape those single quotes programmatically? I can't simply add slashes to them because I don't have access to the filename. Should I pipe them to a text file and then munge the text file? I'm happy to give more information if necessary; this isn't a secret or anything.

P.S. If your suggestion is not to use a batch script to do this, believe me, I've considered it, but at the moment batch is what I've got. I'm not going to install an entirely new shell to do this fairly simple task and I don't like PowerShell enough to go to the trouble of scripting in that. If I were to write a non-shell program, I would probably write it in Python as that seems like the most reasonable option, but I remain convinced that there's a way to do this in a batch script.

NeussWave, to webdev German

Ich mag eine machen, möglichst reines 4, möglichst ohne . CSS 3 wenns sein muss, sonst eher 2.

Die Website soll möglichst auf Chrome genauso laufen wie auf Netscape (die Älteren werden sich erinnern...) und auch in Text-Browsern wie Lynx oder w3m.

tl;dr: Die Seite soll auch noch funktionieren, wenn javascript und css ausfallen.

Wie würde ich da denn "Tabs" machen? Oder was wären Alternativen zu tabs?

sos, to cpp
@sos@mastodon.gamedev.place avatar

Just looked up how to do callbacks in C++ and YOU CAN'T (unless you write a bunch of templates and wrappers yourself).

When you pass a pointer to non-static member function, yopu need to handle the class pointer yourself. This is like the simplest thing, why can't C++ have that?

Love how the ISO standard website just tells you "Don't". What a joke.

#cpp #programming

Natanox, to webdev
@Natanox@chaos.social avatar

I probably get flooded by asking this but welp, here I go:

I'm looking for a good, visual (!) #tutorial for #WebDevelopment that focuses on Codium, Firefox and other Open-Source tools. My specific interests are to learn #HTML, #CSS, #PHP and #SQL. Perhaps some minor #Javascript, however I'd like to primarily work without it.

I'm a visual learner, extended theory in text won't help me at all. As language is visual to me, so is #programming.

Anyone knows something that checks these boxes?

jbzfn, to programming
@jbzfn@mastodon.social avatar

⏳ Am I too old to create a popular programming language?

"Is it too late to create a popular programming language after age 40? Let's find out!"

https://pldb.io/posts/age.html

gregorni, to programming
@gregorni@fosstodon.org avatar

Somehow the following pseudocode:

if not condition:  
 return;  
do_stuff  

feels much more intuitive to me than

if condition:  
 do_stuff;  

Anyone else feel that way?

matdevdug, to random
@matdevdug@c.im avatar

10 years ago: Our monorepo is a pain to deal with. Changing one tiny thing here breaks something there!

5 years ago: We’re migrating to microservices. That way everything is decoupled and you can do what you need to.

3 years ago: Microservice maintenance keeps falling behind. We need some way to enforce service contracts between services but now our stack is too complicated to do full integration testing.

1 year ago: We’re proud to announce we’re migrating to a new concept: a monorepo!

Everything old is new again.

#programming

gerowen, to python
@gerowen@mastodon.social avatar

Just posted an update for my little project that downloads videos from sites like YouTube. You can check it out here:

https://sourceforge.net/projects/youtube-dl-gtk/

maegul, (edited ) to tech
@maegul@hachyderm.io avatar

Is there an established term/neologism for the whole tech-bro attitude/belief/common-response of

"there is no UI issue, this is a good tool, anyone who's bothered to learn it understands this ... you just have a skill issue"

vimism? (genuine suggestion for a genuine question ... it's the term my brain uses)

#tech #programming

ponda, to rust
@ponda@mastodon.online avatar

#C compiler on error: Line 45: segfault 0x00000634634
compiler on error: There is an issue with your code in the line 45, see here: [you code]. To fix it you simply have to do this and this, like that [fixed code]. Please have a nice day!

jimfl, to programming
@jimfl@hachyderm.io avatar

Hurl is a #programming language based on exception handling. It’s a real shame that it isn’t tail recursive though.

https://hurl.wtf/

stevensanderson, to Finance
@stevensanderson@mstdn.social avatar
dentangle, to programming
@dentangle@chaos.social avatar

ThreadSanitizer seems to have improved a lot since I last used it seriously. Incredibly useful tool for working with memory barriers / atomics.

I think I'll integrate it it into our test suite for

#C

pixel, to swift
@pixel@social.pixels.pizza avatar
FATHI, to programming Persian
@FATHI@mstdn.social avatar
treyhunner, to python
@treyhunner@mastodon.social avatar

Note that this function uses an "if" statement that returns, and an "else" that also returns.

Read more 👉 https://trey.io/FlSco3

#Python #programming

dentangle, to programming
@dentangle@chaos.social avatar

After protracted negotiations, ThreadSanitizer has blessed my threadly abuses.

#C #programming

Moosader, to ComputerScience
@Moosader@mastodon.gamedev.place avatar

Since I'm working on my summer course notes/"book": what is something you wish programmers knew/did?

andybrunner, (edited ) to Java
@andybrunner@swiss.social avatar

Freeware: Java Utility Package (Version 2024.05.24) released

  • KHTTPClient: Support for PUT, PATCH, OPTIONS and DELETE methods
  • KSMTPMailer: New mail header X-TLS-Connnection, added TLS host name check
  • K: Many new utility methods
  • Added sample code
  • Some minor code/cleanup and document changes

#javautil #java #freeware #programming

https://java-util.k43.ch

box464, to python
@box464@mastodon.social avatar

A free intro to python webinar for kids this weekend!

https://guruface.com/webinar/python-coding-classes-for-kids/416

#Python #Programming

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