-
13 votes
-
Official Mozilla statement about the future of MDN Web Docs
24 votes -
Zero-downtime Kubernetes deployments
4 votes -
What are the warning signs of an imminent project crisis?
Which signs have you learned to recognize?
16 votes -
How to conduct a System Design Interview
4 votes -
Dear Google Cloud: your deprecation policy is killing you
12 votes -
Don't trust default timeouts
9 votes -
Learning Rust can be frustrating because it's different enough from other languages that you may not even be able to easily describe the issues you're having
11 votes -
Fortnightly Programming Q&A Thread
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema: ```sql CREATE TABLE article_to_warehouse ( article_id INTEGER , warehouse_id INTEGER ) ; ``` How do I add a `UNIQUE` constraint?
5 votes -
How to design a database?
I'm working on an application that allows a user to view playlists belonging to a particular radio show and stream/download/favourite the tracks in them. It has 4 core entities: User, Show,...
I'm working on an application that allows a user to view playlists belonging to a particular radio show and stream/download/favourite the tracks in them. It has 4 core entities: User, Show, Playlist and Track.
- Each show has multiple playlists (one-to-many)
- Each playlist has multiple tracks (one-to-many)
To be able to reference a playlist belonging to a particular show. I gave those playlists the same uuid as the show they belong to. A few questions though.
- Is this the right/best way to associate data?
- As a track could potentially belong to multiple playlists, I can't take the same approach as I do for (show/playlist) How would be best to handle this? Ideally I would like to have a single "Track" table containing all tracks for all playlists.
For any experienced database designers out there, how would you structure this data? What would you consider in designing the schema and why? If I did go with 4 tables only, presumably there would be performance implications given the potential amount of data in any one of those tables, particularly tracks. If that is the case, how best to structure this kind of thing with performance in mind? Thanks in advance for any help :)
For reference, in case it's of importance, I'm using sqlite3.
5 votes -
Welcome To OS13k – A Tiny Web Based OS and Game Engine
8 votes -
Open Standards Are Simple
(I am not directly posting as a link, as I have originally shared this over Gemini, which I don't think a majority of the people here have a client for, and directly linking to a proxy just seemed...
(I am not directly posting as a link, as I have originally shared this over Gemini, which I don't think a majority of the people here have a client for, and directly linking to a proxy just seemed weird to me. So here are both the original and proxied links for people to choose between)
gemini://ebc.li/posts/open-standards-are-simple.gmi (HTTP Proxy)
13 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
5 votes -
Architecture for untrained software engineers (Python)
Hey everyone, I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar...
Hey everyone,
I've been programming for some time now but notice without any formalized education in CS I often get lost in the weeds when it comes to developing larger applications. I'm familiar with the principles of TDD and SOLID - which have helped with maintainability - however still feel that I'm lacking in the ability to architect a properly structured system. As an example, I'm currently developing a flask REST API for a website (just for learning purposes). This involves parsing a html response and serializing the result as JSON. I'm still quite unclear as to structuring this sort of thing. If any more experienced developers could point me in the right direction/offer up their opinion I'd be very appreciative. Currently I have something like this (based - I hope correctly? - on uncle bob's clean architecture).
Firstly, I'm defining the domain model. i.e the structure of the API response. Then, from outside in.
- Infrastructure (Flask): User makes request via interface (in my case a request to some endpoint)
- Adapters: request object checks if the request is valid (on the way back it checks if the response is valid) - Is this layer only for error handling?
- Repository: I'm struggling a bit here, AFAIUI this layer is traditionally a database. In my case however, where the request is valid, is this where I should handle the networking layer? i.e all the requests to return the website source? I'm also confused given at this stage I should be returning the relevant domain model, like an ORM, but as my data is unstructured, in order to do this I need to transform the response first. Where would it be best to handle this?
- Use Cases: Here I transform the domain model depending on the request. For example, filter all objects by id. Have I understood this correctly?
- Serializers: Encode the domain model as JSON to return from flask route.
If you got this far, thanks so much for reading. I really hope to hear the opinions of more experienced devs who can steer me in the right direction/correct me should I have misunderstood anything.
8 votes -
Looking for a simple language to build a compiler for
I've recently built a brainfuck just-in-time compiler and I'm looking for my next project. I think compiling a more complicated (and more easily written) language would build on what I've learned...
I've recently built a brainfuck just-in-time compiler and I'm looking for my next project. I think compiling a more complicated (and more easily written) language would build on what I've learned so far. Rather than design my own language from the ground up, I'd prefer to work with a toy language that already has existing programs and a spec. This would both save me some work and give me more solid ground to build upon.
6 votes -
Video Summarizer - browser extension that speeds up video depending on whether is there person talking or not
7 votes -
I want to contribute to your project, how do I start?
6 votes -
Tripping over the potholes in too many libraries
7 votes -
Scrivenvar: Writing + Variables
4 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
12 votes -
You May Finally Use JSHint for Evil
8 votes -
Reversing Lyft’s ride history API to analyze 6 years worth of rides
4 votes -
I'm searching for software developers for a study on flow theory
Hi folks, I hope this is ok to post. Flow (also known as 'the zone', and others) is a mental state of profound task-absorption that makes a person feel one with the activity in which they are...
Hi folks, I hope this is ok to post.
Flow (also known as 'the zone', and others) is a mental state of profound task-absorption that makes a person feel one with the activity in which they are involved - I'm sure many of you have experienced it.
I'm on a team of people doing research on flow theory, and we focus on people employed in software development. Our goal is to help make the office a better place for employees, by understanding when and why people enter flow. We prepared a survey for some work- and flow related topics, and it would be of great help if you could take and maybe even share it.
Completing the survey only takes 2-5 minutes of your time, and we will handle your anonymous entries with utmost care.
Link: https://forms.gle/efqTMk2oVDVEGcgT6
Thank you!
8 votes -
Federated Networks Association
3 votes -
Designer to Developer Handoff Process
I am a fullstack developer that spends a good portion of my time building out complex User Interfaces, and the rest building out back-ends for that software. In my opinion the current method that...
I am a fullstack developer that spends a good portion of my time building out complex User Interfaces, and the rest building out back-ends for that software. In my opinion the current method that my company uses for a designer to developer hand off is a bit lacking in efficiency.
The current method is usually a designer will provide a developer with a Photoshop (or very occasionally an Illustrator) file containing the entire applications design. It is then up to the developer to export assets (both quick exporting things as pngs, going through and separating shadows from assets, or creating assets from the layers provided) and dig through the file to determine fonts and placement of items.
Is it a common expectation that a developer should be spending a good chunk of time in Adobe on asset manipulation?
Additionally does anyone have any process or program suggestions that may make life easier?
3 votes -
GitLab Support will no longer process MFA resets for free accounts as of August 15th, 2020 - make sure you have a valid backup recovery method set up
14 votes -
Fortnightly Programming Q&A Thread
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema: ```sql CREATE TABLE article_to_warehouse ( article_id INTEGER , warehouse_id INTEGER ) ; ``` How do I add a `UNIQUE` constraint?
9 votes -
Freedom Isn't Free
21 votes -
Replacing YouTube & Invidious
14 votes -
Things you want to do in Git and how to do them
4 votes -
Tailwind CSS: From Side-Project Byproduct to Multi-Million Dollar Business
5 votes -
questions - a site for identifying some (mostly tech related) things you don’t know
10 votes -
Digital Vintage Sound: Modeling Analog Synthesizers with the Wolfram Language and System Modeler
4 votes -
Seeking good anti-malware to replace AVG Free
Hi. AVG's been bugging me with reminders to renew my subscription recently, but I don't have the money for that. I've been using AVG Free for years, but each time I trial the full edition it seems...
Hi. AVG's been bugging me with reminders to renew my subscription recently, but I don't have the money for that. I've been using AVG Free for years, but each time I trial the full edition it seems to install as a separate program, and then I have to manually revert back to the free version once the trial's up. The only other anti-malware I use is MalwareBytes (free again).
I'm not too worried about using a VPN, and have been advised to avoid the free ones anyway. I'd really just like a decent alternative to AVG Free that won't mess with my Steam games or pester me to upgrade several times a day. I have almost no experience with other anti-malware programs, so I'd rather ask people in the know for advice than just install something straight away and find out that it does one of the aforementioned annoying things.
...Should I use a free VPN? I'm trying to save as much of my scant moolah as I can, and I do occasionally torrent things, but the free ones are allegedly a little shady.
5 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
10 votes -
Recommendations to learn SQL?
I read the AskReddit thread on "What costs less than $100 that changed your life?" (link unavailable since I'm at work) but someone responded "SQL" - jobs just open up that make a ton of money. I...
I read the AskReddit thread on "What costs less than $100 that changed your life?" (link unavailable since I'm at work) but someone responded "SQL" - jobs just open up that make a ton of money.
I did a cursory search on Indeed and holy moly they were right -- SQL jobs get easily 2x what I make now. I'm pretty good at Excel and that sort of thinking, so I was thinking I'd try taking a class.
Do yall have any recommendations as to a good course to take in SQL, preferably online, preferably free or cheap? I'm willing to pay a bit if it'll mean I can make a lot more, but I'm currently not making a ton, haha.
Any responses welcome, including ideas as to how to break into like, tech-oriented fields as well.
9 votes -
A new funding model for open source software
3 votes -
Neocortix Announces Arm 64-bit Support for Folding@home and Rosetta@home COVID-19 Vaccine Research
4 votes -
Historical programming-language Usenet groups disappearing from Google Groups, including comp.lang.lisp
6 votes -
The Postman Always Pings Twice: a postman tutorial, with pinball
4 votes -
7 Aspects of IT Certifications
1 vote -
KmCaster: On-screen key-mouse display software
4 votes -
Change in manjaro team composition
8 votes -
On not caring about your privacy
7 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
11 votes -
Fortnightly Programming Q&A Thread
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads. Don't forget to format your code using the triple...
General Programming Q&A thread! Ask any questions about programming, answer the questions of other users, or post suggestions for future threads.
Don't forget to format your code using the triple backticks or tildes:
Here is my schema: ```sql CREATE TABLE article_to_warehouse ( article_id INTEGER , warehouse_id INTEGER ) ; ``` How do I add a `UNIQUE` constraint?
4 votes -
Twilio's TaskRouter JavaScript SDK was in a world-writeable S3 bucket, and had what appears to be a precursor to a payment-card skimmer inserted for about 12 hours
10 votes -
Highlighting code with color can carry a huge amount of information, and there are many useful approaches other than just using it for syntax
10 votes -
Personal Software Development Checklists
11 votes -
What do you self host?
I'm interested to see what people on here self host, or if they self host at all. Reply with what you self host, why you host it and any other thoughts you have!
51 votes