8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
Depends on the implementation. gc doesn't put a whole lot of effort into optimization, but it isn't the only implementation. In fact, the Go project insists that there must be more than one implementation as part of its mandate.
comment 2y ago · link · parent
It is a perfectly logical name if you know what you are talking about and are familiar with the history of how these so-called serverless applications used to be developed.
Which is to say that back in the day, once CGI fell out of fashion, the applications became servers themselves. You would have a listening HTTP server right within the application, often reverse proxied through something like Apache or nginx, and that is how it would be exposed to the world. The downside of this model is that your application always needs to be resident in order to serve requests, and, from a scaling perspective, you need to predict ahead of time many server instances are needed to handle the request load. This often resulted in poor resource utilization.
Now with a return to back to the CGI-esq model, where you have managing servers call upon the application through a process-based execution flow, albeit no longer using CGI specifically, the application is no longer the server again. This allows systems to save on resources by killing off all instances of your application when no requests are happening, and, with respect to scalability, it gives the freedom to the system the ability to launch as many instances of your application as is required to handle the load when the requests start coming in.
Hence, with the end of the application being the server under the adoption of said process-based model, the application became serverless.
> I was dumbfounded by the term
The marketers have certainly tried to usurp the term for other purposes. It seems just about everything is trying to be called "serverless" nowadays. Perhaps that is the source of your dumbfoundary? Then again, if you know what you are talking about then you know when marketers are blowing smoke, so...
comment 2y ago · link · parent
Right, with the quotes being theirs. Meaning even they recognize that it isn't serverless-proper, just a blatant attempt at gaining SEO attention in an effort to advertise their service. It is quite telling when an advertisement that explicitly states right in it it has nothing to do with serverless is the best you could come up with.
comment 2y ago · link · parent
But, again, Agile is pretty clear that it requires special people. It was never meant for everyone. To observe it in a light where it is applicable to all organizations violates its very existence.
comment 2y ago · link · parent
Managers didn't want to be eliminated? Who'd a thunk it. Which is also why Agile is oft considered "bad" as management by and large never actually walked away, they just pushed some of workload off onto developers under the guise of "Agile" and half-ass adopted tools designed for a flat organizational structure in a hierarchical structure with all of the impedance mismatches to go along with that.
> Everyone wants to throw out Agile. However I don't see anything to replace it.
It's not so much that anyone, non-manager at least, wants to throw out Agile per se, but in this high (relatively, at least) interest rate environment there is more of a crackdown on the work people are doing, so managers are trying to reel back in the boring work they earlier tried to outsource onto developers in order to continue to justify their jobs. That is what has replaced it, so to speak.
comment 2y ago · link · parent
No, "server" most definitely refers to software that listens for network requests. Colloquially, hardware that runs such software is often also given the server moniker ("the computer running the server" is a mouthful), but that has no applicability within the realm of discussion here. If you put the user in front of that same computer with a keyboard and mouse controlling a GUI application, it would no longer be considered a server. We'd call it something like a desktop. It is the software that drives the terminology.
> nobody knows what "serverless" is or that App Engine / Heroku already had it in 2008 :)
Hell, we were doing serverless in the 90s. You uploaded your CGI script to the provider and everything else was their problem.
The difference back then was that everyone used CGI, and FastCGI later on, so we simply called it CGI. If you are old enough to recall, you'll remember many providers popped up advertising "CGI hosting". Nowadays it is a mishmash of proprietary technologies, so while technically no different than what we were doing with CGI back in the day, it isn't always built on literal CGI. Hence why serverless was introduced as a more broad term to capture the gamut of similar technologies.
comment 2y ago · link · parent
The move away from CGI/FastCGI/SCGI to the application being the server was a meaningful shift in how web applications were developed. Now that we've started adopting the server back out of the application in favour of the process-based model again, albeit now largely through propriety protocols instead of a standard like CGI, serverless has come into use in recognition of that. We don't want to go back to calling it CGI because CGI is no longer the protocol du jour.
comment 2y ago · link · parent
But pedantically, serverless is to be taken literally. It implies that there is no server in your application.
comment 2y ago · link · parent
Serverless refers to the software not being a server (usually implied to be a HTTP server), as was the common way to expose a network application throughout the 2010s, instead using some other process-based means to see the application interface with an outside server implementation. Hence server-less.
It's not a new idea, of course. Good old CGI is serverless, but CGI defines a specific protocol whereas serverless refers to a broad category of various implementations.
comment 2y ago · link · parent
comment 2y ago · link · parent
The only use of "managers" was with respect to the use of Scrum itself, which is only tangentially related to what came before it. It logically cannot put words into anyone's mouth as it is not directly related to any mouths that may be near. It is only directly related to the comment that it is contained within by the additional context it setup.
> The article is basically suggesting POs shouldn’t control the backlog because engineers know better (essentially).
Yes, that is what Agile also says. Of course, it also says that you need the right people. We need to know more about the specific engineers to know if it is a valid take. Statistically it won't be, but perhaps it is under his unique circumstances? It is invalid to conflate his situation with someone else's.
> Sounds like they’ve had a bad experience and want to vent about it. Fine, but it’s an immature take imho.
I know Agile isn't cool anymore, but there was a time where the industry as a whole actually tried to embrace it. It wasn't considered immature then. Perhaps it is immature now only because it is no longer in fashion?
> I am an engineer myself and I think it’s insulting
If you are insulted by words on a screen, you might need to think about it harder. That is not logically sound.
comment 2y ago · link · parent
Anyway, the primary advantages of the separate process you speak of is that it:
1. Deals with the LGPL concerns for you.
2. Deals with the pains of compilation, and especially cross-compilation for you.
That is why you might consider it. Of course, it comes with many disadvantages too. Tradeoffs, as always.
comment 2y ago · link · parent
How is it disagreeable? Scrum is a formalization of Agile, which is literally about eliminating management by giving engineers control over the project. They are intrinsically linked. It doesn't make sense otherwise.
The Twelve Principles, is pretty clear that you need special people to make Agile work; that it's not for everyone. Your assessment that you don't want to go down that road is going to be true in the vast majorly of cases, and nothing in the literature disagrees with that. However, in those cases you wouldn't be using Scrum in the first place. It is clearly the wrong tool for the job if you are going to retain managers.
comment 2y ago · link · parent
Which means the RFC claim is false and should not be asserted in the first place. The API may incidentally accept valid RFC input, but there is no way to know that it does for sure for all inputs. You might suspect it conforms to the RFC, but to claim that it does with certainty is incorrect. Only what is documented in the tests is known to be true.
Everything else is undefined behaviour. Even if you do happen to conform to an RFC in one version, without testing to verify that continues to hold true, it probably won’t.
This is exactly why unit tests are the expected documentation by users. It prevents you, the author, from make spurious claims. If you try, the computer will catch you in your lies.
> The other thing I would shy away from is including throwaway tests in the framework.
What does that mean? I suspect you are thinking of something completely different as this doesn't quite make sense with respect to what I said. It probably makes sense in another context, and if I have inferred that context correctly, I'd agree... But, again, untreated to our discussion.
comment 2y ago · link · parent
If you have a free market finding competition isn't an issue, but maintaining profitability is. If we had a free market when Google came onto the scene, everyone else would have copied PageRank the next day, and then you'd have hundreds of search engines all as good as each other, each sharping their pencils sharper and sharper in an attempt to win customers over on a price basis until there is nothing left. At which point there is nothing left to further innovation.
To combat that, we grant short-term monopolies over technology to allow their inventors time to build up a decent business before opening the flood gates, with the intent to balance what makes mixed-market economies great without ending up with no competition. The problem is that those monopoly procedures were established when time moved slowly. Back then, 20 years was barely enough time to get your product to and recognized in the market. These days, you can get there in a few years, or even less, which leaves nearly 20 more years to focus on killing all the competition.
Ultimately, we would have been better off if Google was pushed out into a free market after a few years. We benefitted from it having some head start, but it went on much too long.
comment 2y ago · link · parent
There is a time and place for other types of tests, of course. You are right that unit tests are not the be all and end all. A good testing framework will allow you to mark for future developers which tests are "set in stone" and which are deemed throwaway.
comment 2y ago · link · parent
The good news is that programmers generally hate writing documentation and will avoid it to the greatest extent possible, so if one is able to overcome that friction to start writing documentation, it is probably worthwhile.
Thus we can sum the rule of thumb up to: If you have already started writing documentation for something, you are ready for an abstraction in your code.
comment 2y ago · link · parent
Except, no. This compiles and evaluates just fine in C++. Both quack the same quack.
int x = 1;
float y = 1;
x > y;
The previously provided code fails because of the use of typename, which explicitly calls for the compiler to evaluate the type based on name. That is literally the documented purpose of the keyword. And which is exactly what duck typing is not. Duck typing doesn't need a duck to actually be a duck. If a goose walks and quacks like a duck... Close enough — it is a duck!> Anyway, your confusion may be easily resolved by perusing the following link.
Imagine having such little understanding of what you are talking about that you can't do it and have to defer to the work of others. Why even bother participating in a discussion if you can't speak to it yourself? It is especially humorous when that work of someone else doesn't even state what it is purported to.
comment 2y ago · link · parent
comment 2y ago · link · parent
I understand how it can be confusing, though. Many services that were built to foster community originally, and given the social media moniker at that time, are transitioning (if not fully transitioned already) into being cable TV providers to try and remain relevant with the slow death of social media, so it can be easy to forget that times are a changing and still think of them as being social media even when they are no longer. Indeed, people tend to be quite susceptible to getting an idea in their head and then holding onto that idea forevermore, not looking again to see if anything has changed.
comment 2y ago · link · parent
Social media is for old people still trying to re-live what the internet was like 20 years ago. And, I expect, that is the tree you actually want to bark up. Does parental social media use impact their children negatively? That answer to that is probably yes.