226
59
submitted 9 months ago by GnuLinuxDude@lemmy.ml to c/programming@lemmy.ml

My company is strongly pushing AI. There are lot of experiments, demos, and effort from decently smart people about integrating it into our workflows. There are some impressive victories that have been made with AI tooling producing some things fast. I am not in denial about this. And the SE department is tracking improved productivity (as measured by # of tickets being done, I guess?)

The problem is I hate AI. I hate every fucking thing about it. Its primary purpose, regardless of what utility is gained, is spam. I think it's obvious how google search results are spam, how spam songs and videos are being produced, etc. But even bad results from AI that have to be discarded, IMO, are spam.

And that isn't even getting into all massive amounts of theft to train the data, or the immense amounts of electricity it takes to do training and inference, as well as run, all this crap. Nor the psychosis being inflicted onto people who emplace their trust into these systems. Nor the fact that these tools are being used to empower authoritarian regimes to track vulnerable populations, both here (in the USA) and abroad. And all this AI shit serves to enrich the worst tech moguls and to displace people like artists and people like myself, a programmer.

I'm literally being told at my job that I should view myself basically as an AI babysitter, and that AI has been unambiguously proven in the industry, so the time for wondering about it, experimenting with it, or opposing it is over. The only fault and flaw is my (i.e. any given SE's) unwillingness to adapt and onboard.

Looking for advice from people who have had to navigate similar crap. Because I feel like I'm at a point where I must adapt or eventually get fired.

227
5
submitted 9 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
228
16
submitted 9 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
229
8
submitted 9 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
230
5
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
231
5
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
232
1
submitted 10 months ago by ray@lemmy.ml to c/programming@lemmy.ml
233
1
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
234
7
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
235
4
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
236
4
What is Pseudotime? (blog.serguei.me)
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
237
7
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
238
11
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
239
4
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
240
2
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
241
3
submitted 10 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
242
3
submitted 11 months ago* (last edited 11 months ago) by justicecoder@programming.dev to c/programming@lemmy.ml

Hi everybody, this is the JPlus development team.

JPlus is a Java superset programming language, extending standard Java syntax with additional features. So far, we have introduced null-safety and boilerplate code generation features. Currently, we are planning to add Named Parameter support to JPlus. This feature allows specifying parameter names explicitly when calling methods or constructors.

The point we would like to discuss is whether to support Default Values.

Option A: Named Parameter only

  • Pros: Simpler syntax, minimal implementation and learning overhead

  • Cons: Call sites may become longer in some situations

Option B: Named Parameter + Default Value

  • Pros: More concise code, allows omitting some arguments when calling

  • Cons: Can make code slightly harder to read if too many defaults are used

We would like to gather opinions on whether default values are truly necessary in practical coding scenarios.

If you want to learn more about JPlus, please refer to the links below:

243
1
Against SQL (www.scattered-thoughts.net)
submitted 11 months ago by nutomic@lemmy.ml to c/programming@lemmy.ml
244
4
submitted 11 months ago* (last edited 11 months ago) by replicat@lemmy.world to c/programming@lemmy.ml

I'm new to Fish and really liking it so far but the list type is really confusing me.

Something that I find really non-intuitive about fish is the list data type.

You can set a list like this

set my_list a b c
echo my_list[1] #a

But if you try this it doesnt work:

function mklist
  echo a b c
end
set lst (mklist)
echo $lst[1] # a b c

Putting the echo in quotes doesnt work either.

You can do:

function mklist
    echo a b c
end
set lst (string split " " -- (mklist))
echo $lst[1] # a

But needing to always split your return values is kinda terrible.

So it seems like what fish expects you to do is echo multiple lines.

function mklist
    echo a
    echo b 
    echo c
end
set lst (mklist)
echo $lst[1] # a

Its just very weird to me that it doesnt understand a comma delimited string to be a list.

I feel like I must be missing something.


Edit: FWIW I think I get why they designed it like this after thinking some more. It just feels weird.

This requires you to be explicit about returning lists. Otherwise any echo with spaces would be treated as a list and not a single value

245
30
submitted 11 months ago by replicat@lemmy.world to c/programming@lemmy.ml

I haven't freelanced since the Craigslist / Fiverr days but I'm looking to get back in the game.

Figured this question might be helpful to others as well.

246
5
submitted 11 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
247
6
submitted 11 months ago by potatoguy@lemmy.eco.br to c/programming@lemmy.ml

cross-posted from: https://lemmy.eco.br/post/17894331

From the video description:

Stop recompiling your C code just to change a number. adjust.h is a single-header library that lets you edit variables while your program is running - no rebuilds needed. Just include the header, mark your variables, and watch them update live as you edit your source file. In this video, I'll show you how to set it up and demonstrate why this simple tool can save you time.

Works with any C99 compiler and integrates perfectly with Raylib, ImGui, and other popular libraries. Whether you're tweaking game physics, adjusting graphics parameters, or fine-tuning algorithms, adjust.h will make your life simpler. Zero dependencies, minimal setup, maximum productivity.

248
2
Rendering surfaces (clojurecivitas.github.io)
submitted 11 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
249
3
submitted 11 months ago by JRepin@lemmy.ml to c/programming@lemmy.ml

Qt Creator 18 adds experimental support for Development Containers and many more improvements.

250
11
view more: ‹ prev next ›

General Programming Discussion

10023 readers
5 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS