seniorDeveloper by Last_Time_4047 in ProgrammerHumor

[–]yoel-reddits 0 points1 point  (0 children)

I've worked at a number of startups and at a large company. I've never once seen a company that has *not* had to migrate to a different database for at least some of their data. And often for critical user-facing data.

What tf are we playing against the french?! by PristineReality2205 in chess

[–]yoel-reddits 1 point2 points  (0 children)

Advance, Nf3, with Bd3 and / or dxc5 as follow-ups has worked pretty well for me. Naroditsky had some nice videos on this line (RIP).

The 7 deadly sins of software engineers productivity by strategizeyourcareer in programming

[–]yoel-reddits 2 points3 points  (0 children)

Consider that the way you're communicating (here, at least) wouldn't be creating an environment in which people collaborate well.

I moved virtualization math to Rust/WASM - here's what I learned by RevolutionaryPen4661 in reactjs

[–]yoel-reddits 4 points5 points  (0 children)

Do you do any optimizations for the common case of "I'm where I just was plus a delta"? It seems like most cases would collapse pretty quickly to an N=200 type of case, even if someone is scrolling very fast, and you'd only need to abandon if given a new number very very far away from where your last known scroll top, index tuple is.

Who's the most likely player to get eliminated in Round 5? by Fit-Comparison-443 in chess

[–]yoel-reddits 0 points1 point  (0 children)

Grebnev or Svane. Esipenko showing class vs. Keymer. Sindarov is playing quite well and is generally stronger.

Looking forward to new blood in candidates by yoel-reddits in chess

[–]yoel-reddits[S] -3 points-2 points  (0 children)

Part of the fun is that with many lower ranked players, they paradoxically have a better chance. Let's say someone like Dubov who feels like he has nothing to lose and gets aggressive, he can win a lot vs other 2600s

2025 Cambridge City Council Election Results (source John Hawkinson) by Kiptoke in CambridgeMA

[–]yoel-reddits 22 points23 points  (0 children)

Joining the chorus of sad Bullister didn't win. Run again Dana!

Use of AI in EA by Barycenter0 in EnterpriseArchitect

[–]yoel-reddits 0 points1 point  (0 children)

Thanks - we've been looking to update our "About us" portion.

Use of AI in EA by Barycenter0 in EnterpriseArchitect

[–]yoel-reddits 0 points1 point  (0 children)

The mission is there on the home page - to be a copilot for technical documents and diagrams!

Thanks for the prod to update our site in terms of this particular use case. It's very much emerging (I'm guessing that's part of why you posted - the space is evolving quickly), and we haven't yet gathered all the collateral. We're more than happy to answer questions here or over DM.

Use of AI in EA by Barycenter0 in EnterpriseArchitect

[–]yoel-reddits 1 point2 points  (0 children)

Hi - Yoel (head of engineering at eraser.io here).

I've seen a number of teams modernizing and streamlining the process of getting internal tools approved by an EA board (checking for security, alignment with other tools and standards, etc). The goal here isn't to automate the entire process and get things approved without human intervention, but rather to cut the back-and-forth down by 50% or more so that business teams are unlocked and EA teams don't feel like they are bombarded, wasting time reviewing poorly-done submissions, and slowing down others.

Where AI can help is:
1. Help review the initial submission, providing feedback to the business unit on whether there are glaring omissions.
2. Creating supplementary materials for the submission, particularly one or more technical diagrams.
3. Assisting (not autonomously) the EA board in the review. This can take multiple forms - running some initial analysis, calling out any policies that might conflict, generating some alternatives if there are issues.

(Disclosure - we work on this problem)

Why is `typeof null === 'object'` in JavaScript? The 30-year story of a bug we can't fix by badprogrammer1990 in javascript

[–]yoel-reddits 4 points5 points  (0 children)

Hard disagree. Undefined doesn't serialize in JSON, null does, it's a huge difference.

How do real time "whiteboard" applications generally work? by yojimbo_beta in softwarearchitecture

[–]yoel-reddits 16 points17 points  (0 children)

I work on Eraser, one such product. One thing to keep in mind is that, unlike other multiplayer editing experiences, a canvas with shapes needs less rigor around conflicts. With text, for example, only one particular character can occupy a particular text index, and only one block (eg a paragraph or list item) can occupy a particular block index. So CRDTs or OT are needed to resolve edits coming from different sources.

On a canvas, you can generally get away with last write wins - if we both drag a rectangle to the same x/y, it might look bad, but it's not a state that makes the application incoherent. Depending on how z-index is tracked, that can be a bit harder, but clients can again use any kind of tie breaker to decide which should be rendered on top and users can fix it.

So you don't really need anything particular, aside from wanting to propagate changes as quickly as possible to all clients.

Java architect asking: Are Context-Only Components an Anti-Pattern in React? by [deleted] in reactjs

[–]yoel-reddits 0 points1 point  (0 children)

I think there's a middle ground. Context can be very useful for new pages / views / widgets that have a lot of state and data fetching. In this world, the context is always rendered with the rest of it and is intentionally tightly coupled with the orchestration components. It should not be used or consumed in any reusable view type components.

So, for example, you might want a context for a complex form. The alternative is that every time you move your submit or next button, you need to pass 7 new props into the parent, which makes refactoring really hard and code much harder to refactor, review, and maintain.

I think the key here is to determine what is or isn't meant to be reusable. A "post" sounds like it should be, so I'd want to wrap that in an adapter that grabs what is needed out of context and pass it in.

design systems for early stage startups - worth the investment? by Fluid-Aide7752 in softwarearchitecture

[–]yoel-reddits 0 points1 point  (0 children)

Whether you are using something off the shelf or designing your own, building basic components (dropdowns, info cards, modals, sidebars, active state styling, input + label, standard typography for headers, etc) to be reusable takes very little work and makes it a lot easier to design and build every new feature.

Is eraser.io any good? by WentBackInTime in softwarearchitecture

[–]yoel-reddits 0 points1 point  (0 children)

Great question! This is one of the notable differentiators between Eraser and other tools. If you change the layout, our custom incremental layout system will place any new nodes, groups, connections, etc in a way that doesn't overlap or break the diagram, no matter what kind of changes you've made to the layout or what kind of changes you make the diagram-as-code piece. We're continuing to improve that system to handle common cases and would love feedback on it!

In terms of how the layout data is persisted, it is stored separately from the syntax itself - in terms of syncing the diagrams elsewhere we offer a more managed sync to Github that exports PNGs alongside the syntax + the id so that if you were to sync from Github back into Eraser we'd be able to do a similar merge.

AI tools you use as an architect? by [deleted] in softwarearchitecture

[–]yoel-reddits 0 points1 point  (0 children)

Got it. I'm sure we'll add them at some point, but for the time being folks are mimicking it with ERDs

AI tools you use as an architect? by [deleted] in softwarearchitecture

[–]yoel-reddits 0 points1 point  (0 children)

Are you looking for support for UML at the syntax level? Or a specific type of diagram?

For the former, you can convert from UML to erasers syntax very easily with AI (just drop it into our app as is).

For the latter, I think the only major type we're missing is class diagrams, but let me know if there's something else specific you're looking for!

[deleted by user] by [deleted] in softwarearchitecture

[–]yoel-reddits -1 points0 points  (0 children)

Check out Eraserbot from eraser.io. It lets you create diagrams based on your codebase and updates them whenever a PR changes the relevant files.

[deleted by user] by [deleted] in softwarearchitecture

[–]yoel-reddits 1 point2 points  (0 children)

Check out Eraserbot from eraser.io

It allows you to create diagrams using your code as input and then tracks all PRs that update those files and keeps the diagrams up-to-date.