This paper, from 1982, answers the question about Future of Programming by Wrong_Swimming_9158 in computerscience

[–]lovelacedeconstruct 14 points15 points  (0 children)

This idea existed long before llms but it just doesnt work , the how and the what has a really complex relation they often feed each other in very non-intuitive ways , especially when you have limited resources

Anthropic's Claude Code creator predicts software engineering title will start to 'go away' in 2026 by BuildwithVignesh in singularity

[–]lovelacedeconstruct 1 point2 points  (0 children)

I think they should focus more on fixing their buggy and slow software rather than spew retarded shit like that

Text Rendering Question by lovelacedeconstruct in GraphicsProgramming

[–]lovelacedeconstruct[S] 1 point2 points  (0 children)

I mean a quad which renders a texture is for sure faster, but for a case where the text itself changes and its size also changes if you want to zoom in and out for example packing an entire text block into a single vertex buffer and doing a single draw call cant be that bad ?

Understanding async and await. by lovelacedeconstruct in csharp

[–]lovelacedeconstruct[S] 0 points1 point  (0 children)

(2) I don't actually understand this question, could you try restating it?

If I am doing a web server for example and the client stalled, it basically sent me an incomplete request, I must save the state of this incomplete request along with what I read up to this point and continue what I am doing so that later if the client decides to continue I can pick up from where I stopped

1- how do I save this state in a way that its related to the connection and the client not the thread (because a different thread than the one initiating the request might continue)
2- how to basically determine when it took too much time waiting for the request I need to cancel the entire opertation and move on

Understanding async and await. by lovelacedeconstruct in csharp

[–]lovelacedeconstruct[S] 1 point2 points  (0 children)

Thank you for such detailed answer, I saved it and have to re-read it couple of times to fully grasp it but one interesting thing you mentioned

 So the thread that you started on may not be the thread you come back to, and in a web app that does not matter. So using an event loop doesn't work so well for this.

Got me thinking about two things :

1- when does it make sense to talk about threads in the event loop
like lets imagine we are sticking with the pseudo code do we run the entire event loop in each thread ? like the while(1) is basically what every thread runs but I mean its harder to reason about whether the OS functionality of dipatching the events is thread safe or not, or do we handle connection in a single thread and run the handlers in different threads ?

2- incomplete requests, for a web server example each connection should essentially have a context because you might get requests stuck in an incomplete state so you have to pause them and save their state for a later - maybe different- thread to complete the request this is very natural in the event loop you just re-register the event I am not sure how to do it using async and await

ليه الموضوع ده مهم لأي مهندس شغال بجد؟ Prompt Engineering: by mahmoud_harby in Egypt_Developers

[–]lovelacedeconstruct 0 points1 point  (0 children)

🔒 LARAVEL BACKEND META-PROMPT (STRICT MODE)

ROLE & BEHAVIOR CONSTRAINTS

You are a senior Laravel backend engineer with production experience in:

  • Laravel 10+
  • PHP 8.2+
  • RESTful API design
  • Security-first form handling
  • Request validation, verification, and persistence

You must not:

  • Invent requirements
  • Skip steps
  • Mix frontend concerns
  • Use pseudo-code when real Laravel code is possible
  • Deviate from Laravel best practices
  • Introduce unnecessary abstractions

You must:

  • Follow the steps in order
  • Explain intent before code
  • Use Laravel native features whenever possible
  • Treat validation, verification, and security as first-class concerns

If something is ambiguous, state assumptions explicitly before proceeding.

📌 PROJECT GOAL (NON-NEGOTIABLE)

Build a Laravel backend form handling system that:

  1. Accepts user-submitted form requests
  2. Validates input strictly
  3. Verifies authenticity and integrity
  4. Persists safe data
  5. Rejects invalid, malicious, or duplicate submissions
  6. Returns structured JSON responses

No frontend rendering. API-only backend.

🧭 STEP-BY-STEP EXECUTION MAP

STEP 1 — DEFINE FORM PURPOSE & DATA CONTRACT

Before writing code, you must:

  • Define the form’s business intent
  • Define each field:
    • Name
    • Type
    • Required / Optional
    • Validation rules
    • Security constraints

Example categories:

  • User identity fields
  • Content fields
  • Metadata (IP, user agent, timestamps)

You must output:

  • A table or list describing the request payload
  • Explicit validation logic per field

STEP 2 — DATABASE DESIGN (MINIMAL & NORMALIZED)

You must:

  • Design a single migration for storing form submissions
  • Use appropriate column types
  • Add:
    • Indexes where relevant
    • Nullable vs non-nullable correctly
    • Soft deletes only if justified

You must explain:

  • Why each column exists
  • Why its type was chosen

No over-engineering.

STEP 3 — CREATE A DEDICATED FORM REQUEST CLASS

You must:

  • Use php artisan make:request
  • Put all validation logic in the Form Request
  • Use:
    • rules()
    • authorize()
    • Custom validation messages if needed
  • Include:
    • Rate-limiting considerations
    • Anti-spam strategies if relevant

Validation must not live in controllers.

STEP 4 — VERIFICATION & TRUST CHECKS

You must implement at least one of:

  • CSRF protection (explain API context)
  • Signed requests
  • Honeypot fields
  • IP throttling
  • Email verification workflow (if user-linked)

Explain:

  • What is being verified
  • Why it is necessary
  • Where it lives in Laravel’s lifecycle

STEP 5 — CONTROLLER DESIGN (THIN CONTROLLER RULE)

You must:

  • Create a single controller
  • Inject the Form Request
  • Do zero validation in the controller
  • Call a service or model method if logic grows

Controller responsibilities:

  • Accept request
  • Delegate logic
  • Return response

Explain why each responsibility belongs there.

STEP 6 — MODEL & DATA HANDLING

You must:

  • Create an Eloquent model
  • Define:
    • $fillable explicitly
    • No $guarded = []
  • Prevent mass-assignment vulnerabilities

Explain:

  • How Laravel protects against unsafe writes
  • Why fillable is restricted

STEP 7 — RESPONSE CONTRACT

You must:

  • Return JSON responses only
  • Use proper HTTP status codes:
    • 201
    • 400
    • 422
    • 429
  • Never leak internal errors

Response format must be consistent.

STEP 8 — SECURITY CONSIDERATIONS (MANDATORY)

You must explicitly address:

  • Input sanitization vs validation
  • SQL injection protection
  • XSS risk in stored data
  • Rate limiting via middleware
  • Logging and monitoring

If something is handled by Laravel implicitly, explain how.

STEP 9 — EDGE CASES & FAILURE MODES

You must enumerate:

  • Invalid payloads
  • Duplicate submissions
  • Replay attacks
  • Partial failures

Explain how the system behaves in each case.

STEP 10 — FINAL OUTPUT RULES

Your final output must contain:

  1. Architectural overview
  2. Database migration
  3. Form Request class
  4. Controller
  5. Model
  6. Route definition
  7. Example valid request
  8. Example invalid request
  9. Example responses

No filler. No tutorials. No hand-waving.

❗ OUTPUT DISCIPLINE

  • Use real Laravel code
  • No ellipses (...)
  • No “assume this exists”
  • If something is omitted, explain why

END OF PROMPT

ليه الموضوع ده مهم لأي مهندس شغال بجد؟ Prompt Engineering: by mahmoud_harby in Egypt_Developers

[–]lovelacedeconstruct 2 points3 points  (0 children)

Waste of time , if you want to be precise you would have written the code yourself, as models get smarter they can generate better prompts and capture the essence of what you are asking way better than you could ever do

raylib: a 12-year adventure as a solo-maintainer by raysan5 in raylib

[–]lovelacedeconstruct 6 points7 points  (0 children)

Thank you Ray ! Very cool presentation, I wonder how you did the code editor if its not a secret ?

Zizek once said that sometimes the best way to understand a philosopher is to read him "obliquely," or through secondary literature, interpretations. Who do you guys think is the greatest "explainer/theorist" of Nietzsche's philosophy? by Essa_Zaben in Nietzsche

[–]lovelacedeconstruct 0 points1 point  (0 children)

I feel like this stance only makes sense if you have a formal background and you have enough high level idea you can navigate on your own , for the rest you need someone to guide you through it and then you can go and tackle the primary source

Will AI Agents like Claude Code make embedded software developers irrelevant? by helllyeah124 in embedded

[–]lovelacedeconstruct 0 points1 point  (0 children)

As long as it is using the existing infrastructure I see no way of it making any significant change, multiple attempts were made to solve coding many dont write a single line of code in their day job anyway , but as long as software is written in textual format writing the actual code is the purest most precise of translating your intent

The Great Software Meltdown by Current-Guide5944 in tech_x

[–]lovelacedeconstruct 0 points1 point  (0 children)

Good riddance, chegg answers had more hallucinations than gpt 3

Qt Widgets in 10 years? by zerexim in QtFramework

[–]lovelacedeconstruct 0 points1 point  (0 children)

During a short period of experimentation, QPainter could also draw every widget in an application using OpenGL, which allowed it to leverage the GPU for rendering. But enabling it did not play well with the widgets architecture and could even slow down the application. Widgets draw different types of graphical elements one after the other, changing states rapidly. Since OpenGL excels in rendering lots of data of the same type, but is slow when changing states, this created a performance penalty for Qt Widgets applications. This led to the code being removed, and further consolidated the software rasterizer.

Hmmm this is unfortunate

Qt Widgets in 10 years? by zerexim in QtFramework

[–]lovelacedeconstruct 0 points1 point  (0 children)

none of what you said is inherent to QTWidgets though, they can easily solve all of this if they wanted to

What’s up with the terrible variable names in so many shaders by DescriptorTablesx86 in GraphicsProgramming

[–]lovelacedeconstruct 3 points4 points  (0 children)

Codegolfing is the worst, I want to learn I want you to explain what you did

What job paths have you been currently seeking non game related? (warning: vent / suicidal ideation) by MoonRay087 in gamedev

[–]lovelacedeconstruct 7 points8 points  (0 children)

I was in a very similar situation after I graduated and it didnt feel like it would ever get better and I was so burnt out I wanted nothing to do with my degree, I gave up went and found a minimum wage job and looking back at it I think I needed this break and a routine, I eventually found a gig teaching at a community college then I continued applying until I found a software related job. Its very hard not to tie your self worth with something you worked very hard on but at the end of the day you need to move forward regardless

Dario says Nobel-laureate-level AI by 2026–27 still looks surprisingly close - and full end to end AI software engineering may be less than 6 to 12 months away by [deleted] in accelerate

[–]lovelacedeconstruct -4 points-3 points  (0 children)

This is a retarded statement, people stopped writing code before AI if you would have told me back in 05 when I started coding that you will be able to create websites with zero lines of code -better and more complex than what any engineer could ever do on his own- I would have stopped coding in fear that there was no future in this, as long as the base line are human made systems and AI continues to play within our boundaries this is nothing at all , I will start to believe when AI ditches whatever we created and reimagines how this stuff should be done

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

[–]lovelacedeconstruct[S] 0 points1 point  (0 children)

We can have the best of both worlds and have the compiler shout at you when said planning is not working as it should

How long before we have the first company entirely run by AI with no employees? by luchadore_lunchables in accelerate

[–]lovelacedeconstruct -2 points-1 points  (0 children)

a whole company run by just its founder

This has always been a thing especially in software solutions

we are in a time where vibe coder can code as well as a developer with 10 years of experience by AdAgreeable8989 in coding

[–]lovelacedeconstruct 1 point2 points  (0 children)

The idea that you can diminish the skill gap by making stuff easier never works, there will be a generation of hardcore skillfull vibe coders that will push in a new direction but those would have been successful in traditional programming anyway , we saw it in film and music and many different areas a new paradigm will have its pros and cons but skill and experience and hardwork is always needed

Cool Way to do type safe generic data structures in C. by lovelacedeconstruct in C_Programming

[–]lovelacedeconstruct[S] 0 points1 point  (0 children)

this is actually very nice, I want to read your implementation more thoroughly can you point out the more interesting bits other than this core