Programming

ALTAnlp,
@ALTAnlp@sigmoid.social avatar

ICYMI: CALL FOR PROBLEMS FOR SHARED TASK FOR #ALTA2024 WORKSHOP

The ALTA shared tasks are targeted at #university students with #programming experience.

They should be related to a #language #technology task, able to be automatically evaluated, with training and test #data 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

pragmaticmarg,
@pragmaticmarg@hachyderm.io avatar

Celebrating the beta release of Advanced Hands-on Rust by Herbert Wolverson. @herberticus https://medium.com/pragmatic-programmers/advanced-hands-on-rust-2f1446827466
#pragprog #programming #rust #books

lpil,
@lpil@hachyderm.io avatar

Does anyone have data on how #Scala 3 adoption is going? 2 vs 3 package downloads per month, for example

xavdid,
@xavdid@mastodon.social avatar

I'm doing some monitor shopping and am looking for recs. I do #programming, so I look at code and browsers all day. Priority is for screen real estate and text sharpness. There's a budget, but it's sizeable enough to not be a (big) factor here.

Anyone have big recs or feelings?

My top 4 frontrunners are https://www.displayspecifications.com/en/comparison/a8752b4ad3

mpirnat,
@mpirnat@mas.to avatar

@xavdid I have the LG version of that 40” Dell ultrawide. I like it pretty well, though the pixel density is still not ideal for use with Apple. I find myself wishing I had the 5k2k resolution in a 34” or 38” ultrawide instead. It’s also silly expensive. Text is good on it, but still not “Apple good”. It rules for doing video and audio editing though (anything with a horizontal timeline). Also I’ve liked running D&D from it.

mpirnat,
@mpirnat@mas.to avatar

@xavdid That 27” Apple display is gorgeous, but a single 27” screen may feel too limiting. I also hate the stupid non-removable cord situation and that you have to pick a stand type at purchase time and can’t self-serve a change to a vesa mount.

What I really want Apple to make is a Retina ultrawide, probably in the 34-38” range.

virtulis,
@virtulis@loud.computer avatar

Funsies: node-gyp is broken on latest kernel.

Likely some other libuv stuff as well. In case you're experiencing more weirdness than usual, consider a downgrade :blobcatthumbsup:​

https://github.com/nodejs/node/issues/53051

#nodejs #linux #libuv

andrewfeeney,
@andrewfeeney@phpc.social avatar

@virtulis I’ve never really understood what node-gyp actually is or why I need to care about it, just that it occasionally pops up in build error messages and when I see it I get irrationally angry.

davidbisset,
@davidbisset@phpc.social avatar

"Clever code is probably the worst code you could write... and clear, readable code is probably the hardest #code to write."

https://read.engineerscodex.com/p/clever-code-is-probably-the-worst #programming #coding

bobmagicii,
@bobmagicii@phpc.social avatar

@davidbisset one thing i found that can convince a lot of developers to stop doing those one liners "because its fewer vars and faster" is if the language can stop being compiled at an assembly stage.

the compilers of most languages will end up making ::temp# variables to assign the results of each call to, ergo being the same as if you had declared them yourself.

sirlan,

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

ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

@luis_in_brief @sirlan well, it is easier to do async when there aren't any actual hardware threads to worry about, and it is all happening in a virtual machine.

I prefer Snap because you can do first-class functions, plus they have some pretty incredible lanugage additions like "SciSnap!" which give you access to SQL databases and linear algebra primitives, and they even have an APL implementation. Anyway, Async works the same as in Scratch.

But it does get a little tedius if you need to create more complex chains of async actions, like for doing animation. Then I start to wish it had a good built-in nonlinear editor.

luis_in_brief,
@luis_in_brief@social.coop avatar

@ramin_hal9001 @sirlan sure, lots of hard problems when you want to use that sort of model for more complex applications. Still, I wonder how different CS would be (will be?) when the assumption is that those are compromises rather than defaults.

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

frescosecco,
@frescosecco@mastodon.social avatar

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

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.

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
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 :/

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

  • 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