top:
day week month all

programming

Community for : 4.2 years

The Official Sub for Programming
__________
Have your say on any programming language, opinions and questions, memes and pics, are good.




Owner: system

Mods:












3
How javascript localstorage works and how to master it     (chat-to.dev)
submitted by byte to programming 6 months ago (+3/-0)
0 comments...
3
How to definitively learn regular expressions in programming languages.     (chat-to.dev)
submitted by byte to programming 6 months ago (+3/-0)
0 comments...
3
Is my code legible?     (lab.gvid.tv)
submitted by x0x7 to programming 5 months ago (+3/-0)
5 comments last comment...
https://lab.gvid.tv/x0x7/AdventOfCodeSolutions/src/branch/main/2023/Day2

When you care more about getting it done quickly than legibility and you know your functional programming muscle memory a millimeter above good enough to do it in one take.
3
My solutions to Advent of Code Day 4     (lab.gvid.tv)
submitted by x0x7 to programming 4 months ago (+3/-0)
1 comments last comment...
3
Optimize slow SQL queries in a production system     (chat-to.dev)
submitted by byte to programming 3 months ago (+3/-0)
0 comments...
3
Set up a honeypot to detect intruders     (chat-to.dev)
submitted by byte to programming 3 months ago (+3/-0)
0 comments...
3
🤩 Have you ever thought about winning a Raspberriy Pi?     (chat-to.dev)
submitted by byte to programming 2 months ago (+3/-0)
6 comments last comment...
3
My userscript to make sure you never loose a chatgpt prompt     (goatmatrix.net)
submitted by x0x7 to programming 2 months ago (+3/-0)
1 comments last comment...
3
Simplifying the use of Redux in complex projects.     (chat-to.dev)
submitted by byte to programming 2 months ago (+3/-0)
2 comments last comment...
1
I want to measure your JavaScript skills     (chat-to.dev)
submitted by byte to programming 2 months ago (+2/-1)
0 comments...
2
The email field is now optional for those who want to register and interact with the news, posts and chat rooms on chat-to.dev.     (chat-to.dev)
submitted by byte to programming 2 months ago (+4/-2)
0 comments...
3
Introduction to reverse software engineering.     (chat-to.dev)
submitted by byte to programming 1 month ago (+5/-2)
1 comments last comment...
3
Functional Programming in JavaScript: How to apply concepts such as currying, functors and monads.     (chat-to.dev)
submitted by byte to programming 1 month ago (+3/-0)
0 comments...
3
Creating Fluid Animations with Framer Motion     (chat-to.dev)
submitted by byte to programming 1 month ago (+3/-0)
0 comments...
3
Programmers' Monday Blues Explained Playfully     (chat-to.dev)
submitted by byte to programming 1 month ago (+4/-1)
1 comments last comment...
3
IT Market Saturation: Evolution, Not Decline     (chat-to.dev)
submitted by byte to programming 1 month ago (+3/-0)
1 comments last comment...
3
Travis Kalanick and the Dark Side of Uber’s Rise     (chat-to.dev)
submitted by byte to programming 3 weeks ago (+3/-0)
0 comments...
3
Victory Over the Bug That Tried to Ruin My Life (And My Sanity)     (chat-to.dev)
submitted by byte to programming 1 week ago (+3/-0)
1 comments last comment...
3
Teaching Grandpa to Code: A Comedy of Errors     (chat-to.dev)
submitted by byte to programming 4 days ago (+4/-1)
2 comments last comment...
2
Web 2.0     (programming)
submitted by templurker to programming 3.8 years ago (+2/-0)
8 comments last comment...
Any recommended reading regarding developing for Web 3.0?
2
starting new job soon, coming back up to speed in C#. thought I would run through a producer/consumer pattern using delegates to oil the rusty parts of my brain :-)     (programming)
submitted by AugustineOfHippo2 to programming 3.0 years ago (+3/-1)
5 comments last comment...
using System;

public delegate void del_call(int prntVal);//defining the delegate

public class ProduceRandom {
del_call prDel;//local instance of delegate
public ProduceRandom(del_call pp) {
prDel = pp;//constructor to populate the local delegate
}
public void makeRandom() {
Random rnd = new Random();
for(int i = 0; i<10; i++ ) {
prDel( rnd.Next(0,10) );//generate 10 random numbers (from 0 to 10)
}
}
}//end class ProduceRandom
public class ConsumeRandom {
public void printRandom(int rVal) {
Console.WriteLine("Random = " + rVal); //delegate target, just print to console
}
}//end class ConsumeRandom
public class xyz{
public static void Main(string[] args) {
ConsumeRandom cr1 = new ConsumeRandom();//caveat - must instantiate consumer prior to producer
ProduceRandom pr1 = new ProduceRandom(cr1.printRandom);
pr1.makeRandom();
}//end Main
}//end class
2
Strong independent wahman develops brain damage because Google is toxic     (archive.ph)
submitted by v0atmage to programming 3.0 years ago (+2/-0)
6 comments last comment...
2
Jack's Ass: A Lisp weenie shares his tale of trying to use the power of the parentheses to cure hemorrhoids     (sdf.org)
submitted by happytoes to programming 2.2 years ago (+3/-1)
3 comments last comment...
https://sdf.org/%7Evito/jack.html

Here is a war story about the perils of having too many dependencies. You could share it at work, as part of a discussion about whether to write your own versions of some functions to reduce dependencies. Since that would be a bad idea, I've tagged it NSFW.
2
Python Language Creator: “Male Attitude” Is Hurting The Programming Space     (fossbytes.com)
submitted by Spaceman84 to programming 1.8 years ago (+3/-1)
8 comments last comment...
2
Physics in video game development     (chat-to.dev)
submitted by byte to programming 8 months ago (+2/-0)
3 comments last comment...