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:












8
Self hosting and linux server fundamentals with apache.     (chat-to.dev)
submitted by byte to programming 4 months ago (+8/-0)
4 comments last comment...
10
Superpositions, Sudoku, the Wave Function Collapse algorithm     (gvid.tv)
submitted by x0x7 to programming 4 months ago (+10/-0)
2 comments last comment...
3
My solutions to Advent of Code Day 4     (lab.gvid.tv)
submitted by x0x7 to programming 5 months ago (+3/-0)
1 comments last comment...
6
Revolutionizing the Chat Experience with Modern Features     (programming)
submitted by byte to programming 5 months ago (+6/-0)
6 comments last comment...
At Chat-to.dev, we’ve created a chat room system that goes beyond simple messaging, offering a rich and integrated experience. Here are the key features that make our chat rooms stand out:
1. File and Image Uploads: Share zipped files and images up to 2MB directly within conversations. Perfect for developers and collaborators sharing resources.

2. Direct Replies: Engage precisely by responding to specific messages within the chat flow. This keeps discussions focused and clear.

3. Hashtag Integration with Posts: Use #hashtags in your messages to create direct references to keywords, including blog post titles on the site (e.g., #programming). This feature bridges the gap between chat and posts, enhancing user interaction.

4. User Mentions: Tag user profiles with @ (e.g., @cannibalxxx). This creates notifications and enables targeted conversations.

5. Simple Markdown: Make your messages more expressive with Markdown support for:

- Underline, italics, and bold text.

- Structured content like paragraphs and ordered lists.

We are redefining real-time interaction with tools designed to engage, connect, and optimize communication. Want to try it out? Join us at https://chat-to.dev and experience the future of chat rooms!
0
My solutions for Day 1 of Advent of Code     (goatmatrix.net)
submitted by x0x7 to programming 5 months ago (+0/-0)
1 comments last comment...
4
Advent of Code has properly started. Come give it a shot.     (goatmatrix.net)
submitted by x0x7 to programming 5 months ago (+4/-0)
3 comments last comment...
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.
19
I write articles and tutorials on programming, more than 140 articles written     (chat-to.dev)
submitted by byte to programming 5 months ago (+22/-3)
12 comments last comment...
8
Header-only C++ libraries are pretentious faggotry     (programming)
submitted by SithEmpire to programming 5 months ago (+8/-0)
17 comments last comment...
All the reasons to go header-only are superficial, as is the counter to the compile time problem with thorough templating of every function. This isn't about minor pros and cons, it's about not breaking stuff.

One of the great things about separate declaration and implementation is exactly that, the latter is totally shielded from impact and from impacting anything else. To argue for header-only is to claim that the implementation does not and will never cause any conflict with anything else ever, which is pretentious bullshit.

Sqlite gets it right - they produce amalgamated source, but it's one header file and one source file. The header looks suspiciously large, but that's only because it's 99% comment text to document it.

Some libraries are designed header-only but have a separated version available or a script to produce that, so they get a pass, at least it's not forced header-only.

Then we have shit like Eigen. Nice actual library, but good god damn have they caught the gay header-only HIV. It's just too much time to hit an unexpected compile error for which the resolution involves editing an included library, in this case just to move implementation out of the headers.

For anyone who needs an analogy, the problem with header-only libraries is the same as the problem with open-plan offices.
-1
The horrors of software bugs [16:49] Fireship      (www.youtube.com)
submitted by Love240 to programming 6 months ago (+0/-1)
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...
1
Important http headers for web application security     (chat-to.dev)
submitted by byte to programming 6 months ago (+1/-0)
0 comments...
2
Any programmers here to create a connection?     (programming)
submitted by byte to programming 6 months ago (+2/-0)
7 comments last comment...
1
How to use logical operators in any language?     (chat-to.dev)
submitted by byte to programming 6 months ago (+1/-0)
2 comments last comment...
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...
2
Function of each type of computer virus     (chat-to.dev)
submitted by byte to programming 6 months ago (+2/-0)
1 comments last comment...
1
Copilot seems kinda crappy     (programming)
submitted by shitface9000 to programming 7 months ago (+1/-0)
6 comments last comment...
I'm getting better results generating code from OpenAI. Anybody have a good experience with Copilot?
4
What I did to learn and create complex and giant queries using sql     (chat-to.dev)
submitted by byte to programming 7 months ago (+5/-1)
0 comments...
3
Community learning event     (chat-to.dev)
submitted by byte to programming 7 months ago (+3/-0)
0 comments...
1
Small pieces of code as solutions to specific problems in large companies     (chat-to.dev)
submitted by byte to programming 7 months ago (+1/-0)
0 comments...
6
Here are some things you can replace JavaScript with CSS     (chat-to.dev)
submitted by byte to programming 7 months ago (+7/-1)
3 comments last comment...
2
The invention of the mouse by Douglas Engelbart (1968)     (chat-to.dev)
submitted by byte to programming 7 months ago (+2/-0)
1 comments last comment...
1
The birth of Linux by Linus Torvalds (1991)     (chat-to.dev)
submitted by byte to programming 7 months ago (+1/-0)
2 comments last comment...
1
The Ariane 5 rocket bug (1996)     (chat-to.dev)
submitted by byte to programming 7 months ago (+1/-0)
0 comments...
3
How to hide elements on my page with javascript     (chat-to.dev)
submitted by byte to programming 7 months ago (+3/-0)
6 comments last comment...