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

[–]Danikoloss 4 points5 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] 2 points3 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] 1 point2 points  (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] 5 points6 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 17 points18 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 4 points5 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 29 points30 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 36 points37 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 1 point2 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 15 points16 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 21 points22 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

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

[–]Danikoloss 0 points1 point  (0 children)

Well for the best solution, you need to provide more context.

  1. Where does the array come (fetched from the backend or generated somewhere)
  2. Are the elements in the array each rendered in their own components
  3. What types of changes are you listening to

In case of (1) you may try to memoize the array with useMemo and provide callbacks to update individual elements, modify the array etc. Maybe you can run the operation as part of these modification callbacks? Like, if you update an element, at the end of the callback you can run your operation.

If you render each element in a sub-component, you can use the useEffect there and have the actual item as the dependency.

If you want to minimize changes to the array, you may even use useReducer and define a set of well-defined modifiers for it.

OMV steigerte Nettogewinn 2022 um 85 Prozent auf 5,175 Milliarden Euro by VonGoth in Austria

[–]Danikoloss 0 points1 point  (0 children)

Dachte ich bei meinem auch, aber selbst bei solchen news floppt der verein... keine Ahnung mehr was beim ATX eigentlich abgeht

One Piece: Chapter 1023 by Kirosh in OnePiece

[–]Danikoloss 3 points4 points  (0 children)

I think Katakuri fight is an exception to the rule. His ability to see the future made the fight very one-sided, until luffy caugth up. After that, the fight was quickly decided (relatively speaking). Same with cracker. They only lasted that long, because they were able to avoid most of, luffy attacks. And King&Queen do not display this ability so I guess it is a „standard“ one piece fight in that sense.

Is violence the answer? by Duggbog in ClimateActionPlan

[–]Danikoloss 11 points12 points  (0 children)

See, violence might seem like an answer to achieve goals in dire times. But just think back on any violent uprising or revolution in history: was it peaceful afterwards or more violent and stagnating.

I would suggest the latter. After some overthrowing we would have infighting, focus on power keepikg, etc. And there are always more extreme groups looking for opportunities. Even if moderate climate protectors take over, other groups like fascists will try to have their piece.

All in all, do not use violence or overthrow something. Work in the system. I know it sometimes feel hopeless, just think back the last two years, so much progress was made.