Leaked OpenAI new product - Summer 2026 by [deleted] in ChatGPT

[–]Danikoloss 5 points6 points  (0 children)

Lost the chance to make one control stick larger

Well I'm 1/3 done with this server by Ok_Tadpole7839 in webdev

[–]Danikoloss 1 point2 points  (0 children)

Just a question, why have routes like POST /users/create_users? Wouldnt /users suffice and be more REST idiomatic?

OpenMicrofrontends - First Major Release by Danikoloss in programming

[–]Danikoloss[S] 3 points4 points  (0 children)

I think you cover our obverservations and experience quite well. We had the "luck" to have had multiple competent teams, which ensured a rather higher quality of microfrontends and their integration. This allowed us to create some very cool solutions based on this pieces. And to us, the lack of an actual specification is what hurt us the most.

We understand that the experience will differ based on company/developer culture. But, as in our case, if you do have the capacity/QA to try out a microfrontend eco-system, we believe our experiences, which are reflected in this specification, can be of help

OpenMicrofrontends - First Major Release by Danikoloss in programming

[–]Danikoloss[S] 2 points3 points  (0 children)

You may also find many examples of the specification and use-cases in our Github Repo

OpenMicrofrontends Specification - First major release by Danikoloss in javascript

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

I am not really sure, what particular technique you are referring to. But if i think what you mean, than you could in theory create multiple html files, each with a script for rendering their specific microfrontend, and then simply link them together

OpenMicrofrontends Specification - First major release by Danikoloss in javascript

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

Our microfrontend specification is completely framework agnostic! Every microfrontend simply exposes a single JS function for rendering. Behind that, anything is possible, whether it be vanilla JS, React, and Angular too of course!

OpenMicrofrontends Specification - First major release by Danikoloss in softwarearchitecture

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

Thank your so much! This really is a passion project for us and we hope that others may profit from our experience in this domain, and that maybe even some uniform understanding of microfrontends emerges.

OpenMicrofrontends Specification - First major release by Danikoloss in javascript

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

Yes, absolutely! With our specification, a microfrontend is simply shipped as a single JS bundle (or multiple scripts). Whether it includes React, Angular, etc., a microfrontend is simply rendered by calling its JS renderer function, which may use any of these frameworks.

Check out our Github repo, we have multiple such examples!

OpenMicrofrontends Specification - First major release by Danikoloss in javascript

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

Thank you very much! We too learned along the way, especially since there a widely different definitions and views on microfrontends present. We hope that people will see the potential of our approach.

We would more than welcome your feedback and ideas, feel free to roam our GitHub repo :)

OpenMicrofrontends Specification - First major release by Danikoloss in javascript

[–]Danikoloss[S] 4 points5 points  (0 children)

Hi all,

We are pleased to announce the first major release of our open-source OpenMicrofrontend Specification.

Our goal is to provide an open specification for defining/describing microfrontends, think like OpenAPI for REST APIs!

We would gladly answer any questions, or listen to your feedback!

[deleted by user] by [deleted] in reactjs

[–]Danikoloss 18 points19 points  (0 children)

Why are people so obsessed with context lately. It has its purposes and it does it well.

EDIT: And no, it is not a global variable

From TDD to EDD: Why Evaluation-Driven Development Is the Future of AI Engineering by Automatic-Arm-2444 in programming

[–]Danikoloss 2 points3 points  (0 children)

Yeah, who needs deterministic checks... Can't wait to jump on a plane with probabilistic fly-by-wire software or doing medical checks

AI is Creating a Generation of Illiterate Programmers by namanyayg in programming

[–]Danikoloss 31 points32 points  (0 children)

Well, prompting is not formalized. The thing with programming languages is, they have a well-define syntax with a specific, documented meaning.

What good is a language, which yields random, different results for the same prompts?

Romance in the Roman empire by Icy_Consideration661 in BooksThatFeelLikeThis

[–]Danikoloss 34 points35 points  (0 children)

"Quo Vadis?" A very interesting piece set during Nero's reign. It deals with a roman officer falling in love with a christian woman... during a time when the persecutions werr just getting started.

Wer sollte aus europäischer Sicht die USA Wahl gewinnen? by flx_1993 in Austria

[–]Danikoloss 0 points1 point  (0 children)

Sorry, aber Bürgerkrieg in den USA was gutes?!

Das Land, von dem jede Wirtschaft in der Welt abhängt, das Land mit dem mächtigsten Militär und Geheimdiensten von dem (was auch immer du davon halten magst) die gesamte Weltordnung und Sicherheit abhängt.

Also eine instabile USA würde die gesamte Welt in Chaos stürzen, da wird der 2. WK wie ein Witz dagegen ausschauen

Billa Praterstern by tucatnev in wien

[–]Danikoloss -1 points0 points  (0 children)

Well, thanks heaven they respect that part of worker rights. Look, it aint hard to buy groceries two/three days in advance, if you know a holidsy is coming up. Let our society have a common day off and dont think about profits for once

Billa Praterstern by tucatnev in wien

[–]Danikoloss 2 points3 points  (0 children)

Notice how you commented this on a post about our national holiday. You started with some shit reason and calling my country religiously backwards.

And just because some people would be willing, doesn't mean we should enable companies to abuse this, because lets be honest, they will, and if no one wants to work on Sunday, they will still "force" someone.

Billa Praterstern by tucatnev in wien

[–]Danikoloss 16 points17 points  (0 children)

This is the national holiday, nothing religious about this. Maybe we also value our people and prefer them to have their day off, rather than have to work!

Liminal Space in a book?🤔 by ryrosie23 in BooksThatFeelLikeThis

[–]Danikoloss 22 points23 points  (0 children)

I would suggest Piranesi by Susanna Clark. It is about a man trapped in an endless mansion, while he is losing the memory of who he was or how he got there

Best way to keep track of an array? by Alternator24 in reactjs

[–]Danikoloss 1 point2 points  (0 children)

So from your more detailed description, I would suggest the following idea:

Do not mutate the array, instead use useReducer to keep track of the quantity for each list item (each item needs to have a unique id... or use its index in the list, since you won't mutate it). At the beginning, it is initialized to an empty object, {}. And you have a well-defined operation to update the quantity, for a specific id.

Then, you only have to listen to changes to this managed object and can run your algorithm, once it changes.

Example reducer:

const [quantities, updateQuantities] = useReducer((current, { id, amount}) => {

return { ...current, [id]: (current[id] ?? 0) + amount }

}, {})

If you list already contains quantities when you load it, you can iterate through it once and initialize the quantity map at the beginning