Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions

Submissions

comment 3y ago · link · parent

Software engineering is software engineering, but the process of creating software may often be more gardening than engineering.

I mean, what is it about haphazardly trying out an approach you read about on a random blog written by someone who has a different problem to solve than you says engineering? In my world engineering implies rigour, adherence to the data, etc.

There can be engineering in software. There can be science in software. But I'm not sure that means software work is categorically either engineering or science. I expect you will find that there is a lot of fad chasing and leaps of faith in hopes of stumbling upon something that will yield.

To the specific topic of conversation, where do you find the science or engineering, and not just people throwing shit in their plot and seeing what grows?

comment 3y ago · link · parent

The industry of which we speak is not in the sciences. Maybe engineering. The earliest recognition of software engineering seems to only go back to the 1980s, but there is a lot of debate as to whether it is even that. It's probably closer to gardening. Unfortunately, the industry is too new to have yet fully recognized what it is.

comment 3y ago · link · parent

I generally find shell/npm scripts work until you get to the few cases that actually benefit from the dependency management and then you wish you'd just given in to .PHONY, no matter how inelegant it may be.

comment 3y ago · link · parent

Facebook is a monolith backed by a relational database. What scaling problems do you have that they don't have?

comment 3y ago · link · parent

Strange tangent, but I guess you're looking for JDLink? https://signin.johndeere.com

comment 3y ago · link · parent

Developers all provide the same service (more or less), giving no clear delineation in which to organize. More likely will you organize teams of developers around products.

comment 3y ago · link · parent

It is always curious when someone writes that they are bowing out of a discussion, as if they don't realize that no longer replying conveys the exact same information. Was there an additional takeaway here that I missed?

comment 3y ago · link · parent

> You're not allowed to have a share DB with microservice architecture.

The law won't prevent you, but indeed it is impractical. As I said before, things like schema upgrades become impossible if you don't have the ear of other teams. When you can't call up another team you also lack trust, so security becomes an issue as well. This is why teams who operate in independent silos must ultimately have their own databases.

The practice has nothing to do with performance, though. Microservices has little to do with technology at all. It is about people.

> The more I work with microservices, the more I'm convinced that microservice first architecture is garbage.

I personally steer clear of organizations so large that they need to silo their teams internally, but I have had a positive experience using services provided by other companies with the only communication between us being API contracts. The concept works well enough. At least so long as the product does what you need of it.

If you try to force big business practices into a small organization, you're no doubt in for a bad time. That said, I don't get the impression you are talking about microservices at all, just a bad case of over-engineering.

comment 3y ago · link · parent

It is people who provide service. If the (micro)service produces 4-5 products as part of the service they provide, that's not beyond Conway's Law at all.

comment 3y ago · link · parent

Are you, perhaps, not familiar with Conway's Law?

comment 3y ago · link · parent

What's the common understanding? I've honestly never heard of any other definition. The article shares the same definition, at least.

comment 3y ago · link · parent

> where user account information is copied to every single microservice's internal DB... to minimize access time to that information...

In terms of access time, what does that gain you over a bog standard shared database? With careful planning, you can likely achieve the lowest access times using a shared database. There is so much more room for optimization at every level.

The reason actual microservices (teams only communicating via API contracts) must carry out this practice of duplicating data is because a shared database requires non-API communication for various things, like enabling schema changes. If you can call up someone on another team to talk about how to upgrade the database and reach a shared understanding, what do you need API-only communication for?

Did your organization become confused about why they are doing that and then invented a performance argument to justify it?

comment 3y ago · link · parent

> a library is not a considered a microservice.

Quite right. As before, people provide service. A library is something that people can produce as part of their service, perhaps, but a library is not a person itself.

comment 3y ago · link · parent

> Everything is a microservice, even Linux kernel modules are... apparently.

A microservice is comprised of people. Not a whole lot different than a service, but narrower in what is offered such that the service doesn't provide something useful on its own and is meant to be integrated with other services to achieve its full utility, hence the 'micro' moniker. In the world of physical products we often call these people suppliers.

It is possible that a microservice may produce Linux kernel modules.

comment 3y ago · link · parent

> That's not what microservices means. You're intentionally equating all services to microservices, which is not the case.

Eventually everyone provides a service to someone, I guess, but there is a clear division between those who serve end users and those who serve the servers. The service that places your food down on the table at the restaurant is not thought of in the same was as those who get to the food to the restaurant. The latter camp is often known as a supplier, but we in tech call them a microservice instead. There is no suggestion that all services are microservices.

comment 3y ago · link · parent

In practice, likely. The trouble with only communicating by API is that if you want to change the API you can't just tell those who use it that they'd better be prepared for breakage, so you have to juggle both the legacy API and your new API in your work to maintain compatibility.

If you use a linked library, interface compatibility can be a real challenge. Web APIs, as you call them, offer more flexibility in adapting to different callers. It also comes with the added benefit of defining explicitly clear boundaries between teams that something that shares memory doesn't necessarily guarantee (e.g. monkey patching). This oftentimes makes it a good practical choice.

comment 3y ago · link · parent

A service is something someone provides. A microservice is much the same, but serves those who offer services to the end user – roughly analogous to a supplier in the physical goods space. A module may be the product of the service rendered.

comment 3y ago · link · parent

Microservices is a collection of independent teams who only communicate using well defined APIs. Those teams may produce libraries, perhaps. That's up to Conway.

comment 3y ago · link · parent

Microservices is a team organization technique, whereby disparate teams only communicate by well defined APIs. Any technology choices that come out of that are merely the result of Conway's Law.

Any time you lean on code in a random GitHub repository, where you never speak to the author and just use the API you're given, you're doing microservices. This works well enough so long as the product does what you need of it.

The problem is that when the product doesn't do what you need. If the microservices teams are under the same organization umbrella there is a strong inclination to start talking to other teams instead of building what's needed in house, which violates the only communicate by well defined APIs. This is where the ball of mud enters.

If your organization is such that you can call up someone on another team, you don't need microservices. They're for places so big that it is impossible to keep track of who is who and your coworkers may as well be some random GitHub repository.

comment 3y ago · link · parent

A link to what?

comment 3y ago · link · parent

When, exactly, did we become not permitted to repair our own equipment for this to change anything? I own some John Deere farm equipment and repair it myself, when I don't hire my mechanic neighbour to do it for me, all the time. The parts desk down at the Deere dealership never had any qualms giving me the parts I needed.

comment 3y ago · link · parent

Thing is, Deere's entire business model is built around trying to be the most repairable brand around. Hell, they even own A&I Products, the leading aftermarket farm equipment part supplier. If you didn't want people to repair equipment, being in the business of selling aftermarket parts targeted at the self-repair market would be a strange one to be in.

The contention, of course, is around their software systems that have paid upgrades. If they supply tools and manuals you'll be able to enable paid features for free and that's what they want to avoid. Same as every other software business, frankly. Not even HN gives you the ability to fix problems with this forum because they're afraid of what you'd be able to enable if they gave you access.

comment 3y ago · link · parent

Does this extend into the used market?

I buy a widget without software, install a closed source option that is available for the widget, and later want to sell it. Do I have to remove the software?

comment 3y ago · link · parent

You are right that people won't pay attention to anything that isn't already of interest to them, but the medium of exchange makes no difference there.

In fact, there was once advocacy towards a style of meeting (oft called a "standup") where you explicitly called upon participants to give their status update because it was recognized that they wouldn't be paying attention and needed prompting to snap them back, although this has largely fallen out of favour as we realized that only kept their attention for the length of their update and didn't achieve the desired effect.

comment 3y ago · link · parent

My great uncle hated John Deere (for what reason, I'm not sure). His grandson runs the farm now and there is still not a John Deere in sight. If more people hated John Deere, they would be out of business. You can't survive if nobody buys your product.

I own some John Deere equipment on my farm, alongside equipment from all of the major brands. I find no measurable difference in experience across dealing with those brands, and they are all great compared to other products in my life. Repairability in everyday life is actually quite horrendous compared to farm equipment. My broom broke the other day and I have no idea where to even begin looking for parts to fix it. I'm going to have to buy a new broom to replace it.

When my farm equipment breaks, the parts department at the local dealer will bend over backwards to find what I need.

comment 3y ago · link · parent

Fendt is considered the cream of the crop around here, at least as far as tractors go, but the dealer network is sparse. I'd run into several Deere dealerships before finally getting to the Fendt dealer.

All brands break. If you don't have easy access to parts, it's harder sell. Farmers don't want machines they can't easily fix and so Deere wins on that front. The CaseIH dealer network is just as strong, so that's the actual competition for Deere in these parts.

comment 3y ago · link · parent

If you wrote your own software the whole issue disappears.

comment 3y ago · link · parent

If more questions are answered, is it because of the internet or is there some other factor like people having more time to answer questions?

It's not like the internet wasn't alive and well 20 years ago. Hell, Stack Exchange is little more than Usenet, and that was in use over 40 years ago.

comment 3y ago · link · parent

Deere rose up to being one of the top equipment brands because they put extra effort into ensuring the equipment was repairable. There is a lot of equipment in the scrap heap from other brands that you can't get parts for. Theoretically you can repair them, but the cost to hire someone to recreate/design a one-off part can be extraordinarily expensive. Deere likes to boast that they have parts in stock for equipment that is 75+ years old. Hell, John Deere owns A&I Products, the premier aftermarket farm equipment parts supplier (multiple brands, Deere included). They have no problem with you repairing your equipment.

What happened, however, is that the equipment manufacturers in modern times streamlined manufacturing such that they created a whole line of equipment that is physically identical but differentiated by software unlocks. The problem is that if you were able to repair the software, you would be able to unlock features. It is access to those systems has been closely guarded to prevent piracy, just as all kinds of software has done for 50+ years. They do have a problem with you using software you didn't pay for.

1
124125126
256