A URL is not an agent string, just saying.
- 0 posts
- 12 comments
- 2 years
- simonced@lemmy.onetoProgramming@programming.dev•What to do if I accidentally commit an API key or other sensitive information to the git repo?English2 years
You don’t say if you noticed before pushing. If it’s your last commit and not pushed yet, you can still amend your last commit.
- 2 years
what the fuck else do you want?
Lol, maybe a max-width on body at least, so I don’t lose my line when reading long lines.
It’s said to have narrow lines helps readeability for a reason.Although, I agree, you don’t need much to make a website that is functional.
- simonced@lemmy.onetoProgramming@programming.dev•Do any of you program on non-US keyboard layouts?English2 years
Using the JIS layout. One thing I miss from ANSI is the single and double quotes on my right pinky.(on the same key) Other than that, JIS is a nice layout to do programing with.
- simonced@lemmy.onetoProgramming@programming.dev•If you had to choose one programming language that you had to use for the rest of your life, what would it be?English3 years
Clojure, can’t stop using it, so fun to use!
- simonced@lemmy.onetoProgramming@programming.dev•As a beginner, how should I go about learning difficult concepts?English3 years
Her is my take to try to help you.
If it’s your own code, you can add docstrings comments to your functions, so you don’t have to re-read the function body everytime. Also, name functions to be understandable more easily when possible.
If not your code, write on a piece of paper (not on computer) the in and out of a function, maybe like so:
[1,2,3] -> (sum function) -> 6Then, you can even connect the functions together and see the whole algorithm:
[1,2,3] -> (sum) -> (multiplyBy2) -> (...) -> final_resultWhen projects get more complex, paper will not cut it, then some note taking app of some sort will help. (logseq could help, but some mind mapping or sequence diagram programs would help as well)
Also, I don’t know what language your are working with, but learning LISP (maybe clojure) could help.
Why? Because you have to connect your functions together, and it forces you to do so.
At first, it might be harder compared to what you’re used to, but it’ll give you better fundations to keep learing.
- simonced@lemmy.onetoProgramming@programming.dev•Monaspace - Microsoft presents a new font family for codeEnglish3 years
Looks nice, I’ll try it today and see how it goes. At least MS doing something good for a change…unless they added spyware to a font!? LOL
- simonced@lemmy.onetoProgramming@programming.dev•Which language you wish would really grow and reach mainstream adoption?English3 years
Some LISP going mainstream woulb be great!
- 3 years
set
margin:autoto your div, and call it a day, no need of flex/grid whatever…
lol, MD5 is NOT a secure password algorithm…
- 3 years
wait a little bit, electron is still loading…

Letting your text editor write your code, not using version control… I don’t feel sad at all. Hope lesson was learned.