1226
17

Some of their stuff seems very popular, but i’m always a little distrustful, when i can’t figure out the business model of some org. They list 10 people involved - how do they make money?

1227
45
1228
22
1229
25

Seems like a ton (over 1k) of people were affected because of an auto updating VS Code extension. Check your bashrc/zshrc and GitHub account if you use nx

1230
22
submitted 1 year ago* (last edited 1 year ago) by Davriellelouna@lemmy.world to c/programming@programming.dev
1231
18

I stumbled across this site. It's a kind of guessing game where you try to guess what the original content of a hash value is. Guesses are hashed and then scored by counting how many bits are different from the target hash so a random guess ought to be 512 or so. You're probably supposed to write a program to do the guessing for you.

Only your lowest score is kept. Can you beat the hash?

Disclaimer: not my site but I'm in love with the idea

1232
8
1233
23
Long Names Are Long (journal.stuffwithstuff.com)

A nice little reminder that clarity is not the same as verbosity. Also has some concrete tips for removing unnecessary verbosity in names, complete with examples. Though in some contexts, I might prefer a name like employeeToRole for a Map<Employee, Role> over the article's employeeRoles.

1234
115
1235
7
Agit-Flow and git-repo (git-repo.info)
1236
30
1237
32
1238
383
1239
429
1240
18

cross-posted from: https://lemmybefree.net/post/1201042

Let's say I use some AGPL software like Mastodon or Gitea. If I write a script to interact with some elements, like a nodejs script that interacts with the messages posted to act as an antispam, is it considered derivative work?

If I use a custom theme, does it have to be AGPL? If I add an overlay over the interface or interact with Mastodon through JS, does it have to be AGPL?

For Gitea, if I make a script to scrap some visual elements and send it by email to some people, does it have to be AGPL?

For an email software like Mailcow, if I write an antispam script that communicates with Mailcow's API, does it have to be AGPL?

1241
78
1242
45
1243
226
1244
27
submitted 1 year ago* (last edited 1 year ago) by mesamunefire@piefed.social to c/programming@programming.dev
1245
37

Explores how the Lean programming language handles 2 + 2 = 4, which other programming languages collapse into a bool, but Lean considers a Proposition, and requires Proof.

How does provably correct programming look? This article seems to give a good introduction and example.

1246
14
1247
34
submitted 1 year ago* (last edited 1 year ago) by bridgeenjoyer@sh.itjust.works to c/programming@programming.dev

Mono appears to be dead. I enjoy making life hard so I dont use windows. I am trying to learn very simple c# but am having trouble gettung visual studio to run anything on linux (debian/mint). It wont even run with dotnet in the terminal either. I dont really like all the features in vs either, i just want simple.

For reference im learning with the yellow book by rob miles. I want to learn the old way, not using a bunch of shiny helping tools (i never feel i really learn with those and it stunts my growth).

1248
52

I've seen a few articles saying that instead of hating AI, the real quiet programmers young and old are loving it and have a renewed sense of purpose coding with llm helpers (this article was also hating on ed zitiron, which makes sense why it would).

Is this total bullshit? I have to admit, even though it makes me ill, I've used llms a few times to help me learn simple code syntax quickly (im and absolute noob who's wanted my whole life to learn code but cant grasp it very well). But yes, a lot of time its wrong.

1249
42
1250
8

I'm hoping to get pointed in the right direction on finding or creating a tool that can optimize the storage of items based on their dimensions and the dimensions of storage spaces available. Luckily there is only 1 dimension to measure (Width), so the constraints and logic are fairly simple (no 3D stacking needed).

In very rough terms, there will be 2 tables with the following fields: Table 1: Storage Space

  • Storage ID: Unique ID for the space
  • Storage Width: Numerical value in metres
  • Storage Capacity: Numerical how many items can be stored side by side - generally 1 or 2.

Table 2: Storage Items

  • Item ID: Unique ID for the item being stored
  • Item Width: Numerical value in Metres

The optimization exercise is to run through the list of Storage Items and assign them to a Storage Space while minimizing the unallocated storage width (i.e. pack these items as tight as it can) while respecting that a Storage Space may have a maximum capacity of 1 or 2 items.

I'm not the coding sort myself (I can work my way around programming logic but I'm not immersed in it and it will take me a good deal of time) so I'm wondering if anyone may be familiar with tools that could hand hold analyzing data sets in this way, or ready-made solutions that happen to tackle the optimization problem.

Thanks in advance!

view more: ‹ prev next ›

Programming

28304 readers
573 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS