Programming

13473 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
101
102
 
 

I find this really useful since it hides most of the ads and other annoyances GitHub has now. Luckily I don't really use GitHub that much but when I'm forced to interact with it, this makes it more pleasant experience.

103
 
 

Hi all! Data scientist here, trying professionalise a group of hobby programmers who've somehow found ourselves doing it for a living. The programming we know; it's the infrastructure we're lacking. None of us knows how to organise a programming team, myself very much included.

Can anyone recommend resources, books, courses on software engineering suitable for data scientists?

104
 
 

Zig Build System & How to Build Software From Source - Andrew Kelley

https://www.youtube.com/watch?v=vKKTMBoxpS8

@programming

105
 
 

Read the doc, what are your thoughts?

106
 
 

A post with id 1 in lemmy.world has a different id in lemmy.ml (or any instance). How do I get the post id in lemmy.ml?

107
108
 
 

My wife didn't understand why I got so excited reading this article.

109
 
 

cross-posted from: https://lemmy.one/post/2707178

An interesting blog post that reflects some ideas I've been thinking about lately.

Since nothing close to the environment described in the article has entered the mainstream since ten years, it's safe to say that it's probably too hard or maybe too inconvenient.

I'd still like programming to go into this general direction, our tooling is really limited in comparison with how complex software has become.

110
 
 

cross-posted from: https://programming.dev/post/1941671

Details in the link of the headline.

111
 
 

cross-posted from: https://programming.dev/post/1923251

Some frontend developers know the BEM methodology as a naming convention for CSS and they create a disgusting #webcomponents. I've explain the essence of BEM and shown the benefits for your frontend projects.

Feel free to share it with a people who tells you "i use CSS-modules, so i no needs a BEM"

112
113
 
 

cross-posted from: https://programming.dev/post/1890996

(That's the title of this page.)

114
115
 
 

This is sad as fuck, to be honest. Reliably the best tech conference — inclusive, interesting, varied, diverse, language-agnostic, just absolutely fantastic.

116
 
 

As a programming student i feel sometimes we go a bit too technical and we lose the philosophy and the main point of what we are doing.

What are some great books (classics and none) to read on programming?

I'm interested to the topic of programming and computer science in general but especially to the cypherpunk philosophy and to concepts like the story of internet, the philosophy that led to the beginning of it etc..

117
 
 

Hello! I'm writing my application in QML, and inside a TextArea formatted with RichText I want to display this:

a header

(an empty line)

another header

my first thought was to go with a <br> tag, but it has a problem: it creates 2 empty lines, don't know why. so doing this

<h1>hello</h1>
<br>
<h2>world</h2>

produces

hello

(an empty line)
(an empty line)

world

I tried using the <pre> tag:

<pre>
</pre>

but no empty lines were displayed

the only working workaround was to use a non breaking space &nbsp;, but being it a TextArea, the user is able to edit the text, and so there would be a "rogue" space instead of an empty line. How can I display just a single line break between two headers (or even paragraphs, but in my case the header is needed)?

118
 
 

Hi lemmy, You all probably kniw about https://adventofcode.com/

I would love to do that with some students of mine. Only thing is, I'm not very good at it, so I can't always figure out what the underlyong principles are.

Is there a place where someone (website, blog, github, erc), much better than I, explains each puzzle, how it's solved, which algorithm is used, what underlying principles you can learn from this?

119
120
 
 

Hey all,

I am a software developer at a small company where I'm one of two developers. The other dev is primarily back-end and has been working off some basic cloud infra set up by an external company before I joined, so I'm essentially running solo on the frontend, some of the backend, cloud architecture, project management, etc. (really, everything except database management some of the existing api endpoints).

So, what are the best ways to improve in this scenario? How do you prevent a limited learning environment from limiting your growth? Has anyone been in a similar situation and learned some tips for making the best of it? Any ideas?

(Also, I know it's frequent advice to just say "move companies" but this job is a really unique opportunity, and I absolutely love the company, so I am not interested in doing that.)

Thanks :)

121
 
 

Was looking through some code today, and found something that highlights my biggest struggles in programming, it's compound words and casing. Had identifiers such as...

strikeThroughOffset
whitespaceWidth
lineSpacing
underlineOffset
outlineThickness

I can keep in mind "strike through off set", but then I struggle to remember, is it strikethrough or strikeThrough? What about Offset or OffSet? Why are offset, underline, and outline, all one word, but strikeThrough isn't? I think of it as one compound word, many people apparently do, but I guess someone who wrote this code doesn't.

Or... is this just a me problem? Does anyone else struggle with this sort of thing? Am I missing something or should I "just get good"? My best solution so far is just keep everything always lowercase, personally I find that more readable and memorable, but that's a lot to ask of literally every other programmer in the world...

122
7
submitted 2 years ago by small44 to c/programming
 
 

I would like to contribute to lemmy but I have issue with the docker image. I got this error when trying to execute docker-compose up : "ERROR: Service 'lemmy' failed to build: the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled"

I executed the commands that was in the link in the error message and I still have the same issue.

123
16
submitted 2 years ago* (last edited 2 years ago) by Kissaki@feddit.de to c/programming
 
 

They explore a great retrospective and assessment of the broader context of Lazygit: Git and version control systems in general, their interface, and text-based UIs.

124
125
 
 

cross-posted from: https://programming.dev/post/1245230

Hi, what is the most primitive programming language (esolangs included) that you can think of or make up that could still be reasonably well^1^ supported by a language server (or similar piece of software)?

1 We have to draw a line somewhere, so I'd figure capabilities

  • highlight semantic errors
  • renaming stuff safely, that is:
    • without confirmation
    • without evaluating parts of the code
  • proper completion (not just best guess)
  • go to definition/show use

I appreciate your answers!

view more: ‹ prev next ›