Programming

frescosecco,
@frescosecco@mastodon.social avatar

Blog post by the #Erlang team: Erlang/OTP 27 Highlights.
https://www.erlang.org/blog/highlights-otp-27/

matdevdug,
@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

stevensanderson,
@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

frescosecco,
@frescosecco@mastodon.social avatar

With the OTP 27.0 release, now has year-2038-safe timestamps.
Phew, close call!

javajuggler,

Why use chat-to.dev compared to other technologies

It's better than stack overflow because you can have a conversation if you need help instead of having a long comment thread. It's better than IRC because the feed exists even when you're not online, without you having to create an inbox bot. It's better than discord because discord is a ball. And it's better than language-specific forums because sometimes you just have a general question that isn't framework/lang specific. So don't waste time and register now and have fun programming. https://chat-to.dev

leanpub,
@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,
@vascorsd@mastodon.social avatar
hannesm,
@hannesm@mastodon.social avatar

@vascorsd FWIW, the dream-caqti fix has been merged into dream since more than half a year... but yeah, it seems dream is once again a bit stale.. https://github.com/aantron/dream/issues/319 (dream-caqti PR https://github.com/aantron/dream/pull/302)

sad story :/

hungryjoe,
@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???

hungryjoe,
@hungryjoe@functional.cafe avatar

@BoydStephenSmithJr So, personally I want to format code on save, ideally

However, (for not very good reasons), I've recently found myself having to turn this off a fair bit, and then forgetting to turn it back on

(Also, not having format on save configured is fairly common for people who are new to a repo)

So I think there's a distinction between "me formatting code locally" and "the thing that checks for unformatted code in a PR"

BoydStephenSmithJr,
@BoydStephenSmithJr@hachyderm.io avatar

@hungryjoe I think you need to be careful with that because of the LACK of semantic distance. Ideally, there would never be any diagnostic emitted by the local format check that wasn't emitted by the CI format check and vice-versa. Using the unit test framework for one and not for the other just makes it more likely that the processes diverge.

vascorsd,
@vascorsd@mastodon.social avatar
HarkMahlberg,
HarkMahlberg avatar

This is the SECOND time in 3 days that I forgot that if statements in lisp are ternary. Someone needs to end me.

vascorsd,
@vascorsd@mastodon.social avatar
lefebvre,
@lefebvre@hachyderm.io avatar
jimfl,
@jimfl@hachyderm.io avatar

@lefebvre I learned Modula-2 at university in the 80s. I still recall sitting in the coffee house reviewing printouts of Modula-2 coding assignments.

Never seen or heard of it used in anger.

ALTAnlp,
@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

wezm,
@wezm@mastodon.decentralised.social avatar
imrehg,
@imrehg@fosstodon.org avatar

@wezm excellent choices, layered references, much goodness!

ekuber,
@ekuber@hachyderm.io avatar

@wezm want

gregorni,
@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.

camelCaseNick,
@camelCaseNick@floss.social avatar

@gregorni I like being guided by languages – forced, not just optinally. I find it reassuring. You see so many multi-paradigm languages. But I want to be called out for writing one part functional and another object oriented. Code that compiles and does what I want – okay – but clean code is just so much easier to maintain. And on that note, I just can't stand type inference. It's cool what the compiler understands, but do I, and do we agree? And yes, those catch all languages make you choose.

gregorni,
@gregorni@fosstodon.org avatar

@camelCaseNick But this is a different problem. I'm not talking about the safety, convenience, or intelligence that a programming language may or may not come with. I'm simply talking about the type of programming tasks that a language is intended to be used for (AI, Game Development, Systems Programming, Data Science, Embedded Systems). In this context I find being "General Purpose" a disadvantage, since you can't specialize in any specific area, or add features that only benefit that area.

  • 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