stevensanderson, to programming
@stevensanderson@mstdn.social avatar

Need to split your data into groups based upon some vector in R? Well I got you covered today!

I go over base R, dplyr and data.table :)

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

#R

image/png
image/png
image/png

CGM, to tcl
@CGM@mastodon.scot avatar

The second beta release of Tcl/Tk 9.0 is now available - https://www.tcl-lang.org/software/tcltk/9.0.html
#tcl #tcltk #programming

kubikpixel, to rust
@kubikpixel@chaos.social avatar
matdevdug, to programming
@matdevdug@c.im avatar

One job interview question I try to ask that I strongly recommend people copy is “can I see your list of pages?” Ideally the full list from PagerDuty but whatever you can get is good.

This tells you everything you need to know about the team you are joining. See a lot of pages that repeat and are snoozed forever? If a team isn’t empowered to fix alerts that wake them up, that means they’re not empowered to do much of anything.

What’s funny is people who try to track and account for pages instantly know why I’m asking, but if you don’t care often they’ll let me see the whole list which is amazingly informative.
#programming #interview

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

It really feels that the GameDev community is either closed source or people using one of the big 4 engines out there. I know there's some other projects but where is all the good stuff? There's a lot of people talking about game dev progress but not so much about engine development. Shouldn't we also understand the basics?
#gamedev #engine #programming

sirlan, to programming

just now thought about something

scratch, the 'language' for teachings kids the basics of , has better first class support for async work than a bunch actual programming languages

leanpub, to programming
@leanpub@mastodon.social avatar

NEW! A Leanpub Frontmatter Podcast Interview with Phil Sturgeon, Author of Surviving Other People's APIs | Watch here: https://youtu.be/KxDT3kXS82w

vascorsd, to programming
@vascorsd@mastodon.social avatar
vascorsd, to programming
@vascorsd@mastodon.social avatar
vascorsd, to programming
@vascorsd@mastodon.social avatar
hungryjoe, to programming
@hungryjoe@functional.cafe avatar

Potentially silly question

A lot of codebases have a CI step that validates that the code is formatted correctly

Is there a compelling reason not to do this as part of the unit test framework?

Like, pull in your code formatter as a test dependency, and write a test that checks the formatting.

Advantages are

  • the CI config would be simpler
  • you're less likely to forget to run the formatter
  • versioning the code formatter along with the other dependencies
  • you get the formatting errors bundled with the test output

Disadvantages are???

lefebvre, to programming
@lefebvre@hachyderm.io avatar
eniko, to gamedev
@eniko@peoplemaking.games avatar

tfw game developer

#GameDev #IndieDev #Programming

ALTAnlp, to programming
@ALTAnlp@sigmoid.social avatar

CALL FOR PROBLEMS FOR SHARED TASK FOR WORKSHOP

The ALTA shared tasks are targeted at students with experience.

They should be related to a task, able to be automatically evaluated, with training and test able to be distributed to participants at low- or no-cost, and should be fun!

📆 Submissions by Friday 7 June 2024.

✉️ shared-task@alta.asn.au

https://alta2024.alta.asn.au/calls

tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using , what's actually wrong with it?

aka What are the sharp edges?

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@tripleo ’s “sharp edges” are mainly early syntax and features that later experience with large and networked found dangerous, but are preserved for backward (and we do mean “backward”) compatibility.

See the details of the strict and warnings pragmas, and successively missing items in feature bundles:

https://perldoc.perl.org/strict
https://perldoc.perl.org/warnings
https://perldoc.perl.org/feature#FEATURE-BUNDLES

And the summary of policies included in : https://MetaCPAN.org/pod/Perl::Critic::PolicySummary

mjgardner,
@mjgardner@social.sdf.org avatar

@tripleo I would also be remiss not to mention 's included perltrap manual page, which notes both the strict and warnings pragmas and also has nice lists of things for those coming from other languages and tools like , #C and , , , and .

https://perldoc.perl.org/perltrap

mjgardner,
@mjgardner@social.sdf.org avatar

@tripleo You’re thinking of ’s “taint mode” (stop your teenage giggling), where outside data is untrusted unless it’s the extracted subpattern match in a .

It’s only enabled under certain conditions. Read about it in the perlsec manual page: https://perldoc.perl.org/perlsec#Taint-mode

ovid, to Lisp
@ovid@fosstodon.org avatar

, , and are three powerful programming languages that share a common feature.

Nobody knows how the hell to capitalize them.

smurthys, to llm
@smurthys@hachyderm.io avatar

I just finished a productive Copilot session on a complex programming task. I came up with much of the algorithms, and wrote a lot of the code, and had to guide it a lot throughout, but credit where due, Copilot did make small but meaningful contributions along the way.

Overall, not a pair programmer but someone useful to talk to when WFH alone on complex tasks.

Enough for Copilot to earn a ✋🏽. And I like how it responded to that. It has got that part down. 😉

wezm, to programming
@wezm@mastodon.decentralised.social avatar
matdevdug, to ai
@matdevdug@c.im avatar

One thing that’s funny about and is I keep hearing the same thing. “Oh I use it for generic snippets, just common tasks and functions”.

The amusing thing about that is when I first started working with a app years ago there was already a solution to that problem. It was called “the PHP Cookbook” published by O’Reilly. I was told “oh we buy you a PDF copy and you just search for whatever you are trying to do and use that code. It saves a ton of time for junior programmers.”

Not only was it true, it did save me a ton of time and headaches, but we didn’t need to steal anything. The authors got paid, it worked offline, it didn’t require scraping the entirety of human knowledge to write or nuclear power plants worth of energy to distribute.

It also helped me learn. Since I would have a solid foundation to the solution, I felt more confident experimenting. I always had a known-functioning standard library solution as my base. So when something broke I knew where to start debugging.

Just an incredible thought that instead of paying $20 for a pdf once we decided this was the way to go.

mikaeleiman, to programming
@mikaeleiman@mastodon.sdf.org avatar

Recruiter wants me to describe what the position entails, and give at least three examples. I come up with:

  • development
  • debuggning
  • … isn't that all we do?

#programming

gregorni, to programming
@gregorni@fosstodon.org avatar

When a programming language's website says it's a "general-purpose language", I already kind of want to not use it, because it probably won't offer anything that I can't get in another language.

I'd like to see a world where every language serves exactly one area of programming, and is highly specialized for that area.

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

The story of how the graphing calculator application made it onto the Mac.

#Macintosh #Apple #History #Calculator #Programming #ComputerHistory
http://www.pacifict.com/Story/

mikwee, to haskell

Shoutout to the @haskell team for making such a cool tutorial available on their home page.

  • 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