8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
Those are incongruent. Do you mean Western notation?
> It's a fine way to query relational data
It's quirky, but good enough for ad-hoc queries that I think it will be hard to overcome the momentum in that area.
It's not fine for application work, where you need things like composition. We've tried to solve those problems with ORMs, but the ORM is starting to fall out of fashion due to a number of problems of its own. SQL is not a great compiler target. I do eventually see something lower level built for programmers, not data analysts, rising up here. If SQL is compared to Javascript, something akin to WASM, perhaps.
comment 4y ago · link · parent
In pre-industrial times, and even modern times, those who were able to compel (or force) people to work for them – i.e. provide them energy – were those considered to have a higher social standing. Those who provided the energy were of lower social standing.
comment 4y ago · link · parent
The original claim replied to was that profit would decline, not disappear... Talk about a bad take.
> enough labor protections in place.
That's the remainder of the story. Because labour laws have appeared over the decades and centuries, one doesn't have to forego financial stability to save their life like people once had to. Workers now become de facto members of the government union which has already negotiated minimum standards for all. That wasn't always the case.
Those who are in a position to be able to walk away from an income for months at a time may hold on to eek out an ounce more, but it's simply not worth it to low paid workers who rely on a regular paycheque. The cost of losing a home and going hungry greatly outweighs any potential returns.
comment 4y ago · link · parent
This is also why unions have largely fallen out of fashion except in industries where the workers are well off. Unless you are wealthy enough to burden several months, if not years, without work striking isn't an option and thus the union becomes toothless.
comment 4y ago · link · parent
Solving the problem may involve estimating, but blindly being asked "How long will this take?" without exploring the entire solution space, often without even being aware of what problem needs to be solved with that information, is when you get failed results. A time estimate may not even be the right tool to solve the particular problem.
If you are the one asking "How long will this take?" you have already recognized that you don't have a satisfactory solution yourself and need to defer to the experts, so why obscure useful context from those you are deferring to? While there may be some sense of pride in being the one to come up with the solution, such emotions aren't suitable for the workplace. It's okay to give someone else the 'glory' if they have the solution and you don't.
comment 4y ago · link · parent
In a small organization, the reality is that many hats must be worn. That may mean developers play manager to some degree, but also the CEO must be prepared to step into the trenches.
comment 4y ago · link · parent
comment 4y ago · link · parent
What's fast moving about Javascript? It has certainly picked up some features along the way, and compatibility across implementations has improved, but the code I remember writing 25 years ago would still work just fine. Overall, it's quite stable and slow moving.
The 'ORMs' of the Javascript world, to stick with the analogy, have a reputation of being replaced every few months, but that's a different topic entirely. ORMs of the SQL world aren't much better. All the more reason to focus on the core language in both cases.
comment 4y ago · link · parent
I'm not sure it matters. You can assume it will be as reliable as your own buggy code that you wrote yourself. The more important question is how maintainable or replaceable is it. Once you include a dependency it becomes your code to maintain, so it had better be something that you're comfortable jumping in and getting your hands dirty with if need be.
comment 4y ago · link · parent
comment 4y ago · link · parent
The more complicated answer is that, traditionally, systems programming languages were those which are not scripting or assembler languages. If you listen to Pike for more than a few seconds you'll soon notice that he's a bit of a language purist, so whatever modern interpretation you might have for a term is unlikely to match what he is communicating.
More specifically, it was announced as a systems programming language designed for things like web servers and systems of that nature, with more control than Java in some areas. Even with conflicting definitions of systems, there should have been no illusions about it being designed to be in roughly the same space as Java with that context. It was very much suggested from the onset that it was meant to compete with Java.
But, ultimately the game of telephone truncated the context that would have helped with finding the right definition of systems and, I expect exacerbate things, there was Rust coming onto the scene juicing the situation with its fans often claiming that "Go isn't a systems language, Rust is!" leaving some revisionism about people believing that Go was a systems language (in the modern sense).
comment 4y ago · link · parent
As a Canadian living in the heart of supply management (i.e. state ownership of the means of production) country, where supplies are provided by the so named and literal Co-op (i.e. community ownership of the means of production), trucks are very popular. In part because they are useful tools in carrying out the business within that socialist system, but also because outsiders emulate to try and convey similar social standing.
If there is a political statement to be found in there, which may be a stretch, to me it would be that trucks = socialism. But when I look beyond my bubble, I'm left with the impression that trucks are, if anything, especially stateside, a statement at the compete opposite end of the spectrum.
What approximate political position do you believe is inbuilt into the design of modern trucks?
comment 4y ago · link · parent
As you venture out into the world you will also find trucks that are clear political statements. You might be right that an individual cannot own a truck for both fashion and political reasons (although I'm not sure I agree), but just because some people use trucks for political statements does not mean all trucks are political statements. Some trucks can be used for fashion without crossing those who use them political statements.
comment 4y ago · link · parent
I've always preferred a good CVT when it comes to fun. There's nothing like being snapped from 0-100 with no pause in the action. And the scream of a hydrostatic on a 30,000 pound combine is a treat. Manuals might be more fun than your average slush box, but in the grand scheme of things...
comment 4y ago · link · parent
If SQL is to Javascript then something akin to WASM would be nice. Lower level primitives that allow query systems to be built. SQL could be one such system, but not limited to.
comment 4y ago · link · parent
So be it. If we were talking about a governmental election, and "your team" lost, you would also have to disappear to the mountains if you wanted to avoid having to interface with the elected government that doesn't represent your interests. More likely you'll just suck up the loss. That's what elections entail... They are not about the individual.
> Sticking to a narrative where Google's monopoly/monopsony represents free choices between free people is idiotic.
In reality, Google wouldn't last long if a large swath had a problem with them. The fact of the matter is that they offer a compelling product that many people want to use. You might not want to, but your minority position means that you've lost the election. Suck it up or move to the mountains, I guess, because the vote isn't about you as an individual.
Monopolies of this sort can be problematic in that they can cause people to become blind to alternatives. If what Google offers is good enough, you're not compelled to look elsewhere. And when everyone has settled on the same good enough, there isn't someone else in your ear saying "You should check out X! It is even better than Google." This keeps the votes coming in for the incumbent.
But if Google were to become no longer good enough, people will quickly start to look for X and vote for something else. Google already had exactly that happen when they were coupling their product with "unsavoury" content, which scared away customers who didn't want to be associated with such content. They had to change their policy to win back the votes.
Voting works. That doesn't mean you will win.
comment 4y ago · link · parent
In my experience when you need to escape to raw SQL there is still some kind of query builder employed, which too becomes another "compile to SQL" source.
comment 4y ago · link · parent
comment 4y ago · link · parent
I am assuming that the reader is biased towards the average HN user. That won't always work for everyone who will come across my comment, but close enough for an unpaid contribution. I'm not about to write a novel to make sure I catch every edge case.
comment 4y ago · link · parent
Indeed they are, which is why I literally said so in the previous comment. Did you forget to finish reading it?
> They do not include the event itself.
That is true because the event itself is implied information. There is no value in speaking of it. If you stand before us, we can be certain that you had a day of birth (your 0th anniversary). We don't necessarily know how many times you've gone around the sun following that, however, so that is where we find value in communicating additional information.
If you were counting apples, there is the state where you have no apples (index 0), the state where you have one apple (index 1), the state where you have two apples (index 2), etc. When counting you don't need to worry about index 0 because the no apple state is naturally implied. It only becomes interesting and worthy of communication when you have at least one apple to speak of, thus you start at 1. The state found at index 0 is still implicitly there, though.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
In some cultures you are considered 1 the moment you are born, so the zero indexing isn't universal here, but typical in North America as noted earlier.