[-] lysdexic@programming.dev 3 points 1 month ago

However, we’re still implementing IPv6, so how long until we could actually use this?

We can already use custom verbs as we please: we only need to have clients and servers agree on a contract.

What we don't have is the benefit of high-level "batteries included" web frameworks doing the work for us.

[-] lysdexic@programming.dev 3 points 3 months ago

I don't think they did an exceptional job keeping teams separated. In fact, I think monorepos only end up artificially tying teams down with an arbitrary and completely unnecessary constraint.

Also, not all work is services.

[-] lysdexic@programming.dev 3 points 3 months ago* (last edited 3 months ago)

Also, TIL that the IETF deprecated the X- prefix more than 10 years ago. Seems like that one didn’t pan out.

Can you elaborate on that? The X- prefix is supposedly only a recommendation, and intended to be used in non-standard, custom, ah-hoc request headers to avoid naming conflicts.

Taken from https://datatracker.ietf.org/doc/html/rfc6648

In short, although in theory the "X-" convention was a good way to avoid collisions (and attendant interoperability problems) between standardized parameters and unstandardized parameters, in practice the benefits have been outweighed by the costs associated with the leakage of unstandardized parameters into the standards space.

I still work on software that extendively uses X- headers.

[-] lysdexic@programming.dev 3 points 4 months ago

that managers want to stay in control of everything, and they decide whether they do it or not.

That's fine, it's a call from the manager.

That doesn't make it Agile's fault though. In fact, one of the key principles of Agile is providing developers with the support they need. Blaming Agile for the manager single-handledly pushing for something in spite of any feedback does not have any basis.

[-] lysdexic@programming.dev 3 points 9 months ago

I don’t think anyone believes that you are a list of well known apis.

shhh don't raise suspicions.

[-] lysdexic@programming.dev 3 points 1 year ago

So you want me to invest my time (...)

I don't want you to do anything, but I'm not the one wasting my time complaining over how others contribute to FLOSS projects. If you feel entitled to complain about other people's contributions, in the very least you need to put your money where your mouth is.

[-] lysdexic@programming.dev 3 points 1 year ago* (last edited 1 year ago)

Is it not generating HTML on the server to be served to the client?

No, it generates the code that creates the DOM, sets the application state based on the user's setting, and updates the webapp to resume working in a consistent state.

It basically sends a frozen instance of a full blown JavaScript application.

What you’re describing is, in my opinion, an overly complicated form of dynamically rendering HTML on the backend.

That's because you're oblivious to the problem domain,and thus you're falling back to the unrelated but similar sounding things you're familiar with to fill in the void of your understanding of the actual problem.

Anyway, that’s my opinion on the matter

My point is that your opinion is a misinformed one,and really doesn't hold up to scrutiny.

[-] lysdexic@programming.dev 3 points 1 year ago

learn Haskell, write better code

The same has been said about C but people just keep writing awful code in Python.

[-] lysdexic@programming.dev 3 points 1 year ago

I agree. The GIL and packaging woes are a good indication that it's range of applications isn't as extensive as other tech stacks.

[-] lysdexic@programming.dev 3 points 1 year ago* (last edited 1 year ago)

But sudo-rs seems to have a bit of a different usecase since it is intended as a drop in replacement for sudo, hence it must be able to handle the sudoers file aso.

Other than being yet another "standard tool X clone written in Rust" project, does it actually provide any tangible value?

61

Glassdoor has been here for years and is one of the reference sites to evaluate and review companies, specifically their work conditions in general and salary ranges in particular. Glassdoor also operates a job board, but it doesn't enjoy the same reputation as it's company review service.

So, what's your opinion on Glassdoor? Did you ever had any experience with the company? And how do you rank it with regards to other job board services?

1
25
1
66

The "don't repeat yourself" principle is well established, but over-aggressive refactorizarions to extract common code are also widely known for creating hard to maintain code due to the introduction of tight coupling between components that should not be coupled. A passing resemblance between code blocks is reason enough to extract them away, even if that ends up breaking Liskov's substitution principle.

To mitigate problems caused by DRY fundamentalisms, the "write everything twice" (WET) principle was coined. WET works by postponing aggressive refactorizarions, the kind that introduces complexity and couples unrelated code just because it bears some resemblance, by creating a rule of thumb where similar code blocks showing up twice in the code should not be refactored, and only code that shows up multiple times should be considered for this task. However, this rule ignores context and nuances, and can dissuade developers from cleaning up code.

So, where do you stand on the topic? How do you deal with duplicate code? Do you follow any specific rule of thumb?

1
1
[-] lysdexic@programming.dev 3 points 1 year ago* (last edited 1 year ago)

I am constantly losing track of which function is where and I’m never quite sure if I have code in the right place.

That's not a Rust concern but a software architecture concern. The software architecture pattern you follow determines how the project is structured taking into account what requirements it needs to comply to address common requirements, such as ensuring that things that change a lot will be easier to change and things that don't change won't get in the way.

I recommend you read up on topics such as layered architecture, hexagonal architecture/ports and adapters, clean architecture, etc.

[-] lysdexic@programming.dev 3 points 1 year ago

That said, incels REALLY hate Naomi for whatever reason.

I think you're way out of line with the insults and broad accusations. I am bare new to the 3D printing community and I never heard of Naomi Wu before. The article only mentions she is an influencer, and this discussion makes little to no efforts to add context to why is a particular influencer relevant to 3D printing.

Calls to clarification are faced with comments like yours, accusing those of asking a simple question of being incels.

This behavior reflects poorly upon you in particular and the 3D printing community in general. Please pay attention to what you say and do.

9
321
submitted 1 year ago* (last edited 1 year ago) by lysdexic@programming.dev to c/programmer_humor@programming.dev

LinkedIn woke up today and decided to dish out the pain.

54
41
view more: ‹ prev next ›

lysdexic

joined 1 year ago
MODERATOR OF