Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

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

Submissions

comment 2y ago · link · parent

Given that it is a very smart IDE, the column suggestion UI integrates table selection in a smart way. Once the IDE knows which table(s) you are referencing, it automatically fills in the FROM clause for you.

comment 2y ago · link · parent

Trouble is that it falls apart when you have more than one operation. "select socks and pants from drawer, and delete money from drawer" is the weird sentence structure. Whereas if 'from' comes first: "from drawer, select socks and pants, and delete money". Which, granted, is still weird, but less so, and fixable with better word choice. Perhaps: "open drawer, select socks and pants, and remove money.

Codd's original vision would have seen that expressed as something like:

    RANGE DRAWER D
    GET W (D#,SOCKS,PANTS)
    DELETE D:(D.MONEY=1)

comment 2y ago · link · parent

Why is a very smart SQL IDE not able to work around that limitation with smart UI/UX? I can see why baby's first SQL IDE would benefit from the language being amenable to IDEs, but a very smart one should be able to take things further, no?

comment 2y ago · link · parent

> SQL is supposed to be the "better" already.

For non-technical people. It is not supposed to be the "better" for the technical people who end up using SQL in practice. QUEL was the "better" for us, being much closer to Codd's vision. But, alas, Oracle won with the business people and Postgres lost.

comment 2y ago · link · parent

> Inflation can be seen as just the increase in money supply or an increase in prices.

Not quite. Price measures the values of the items being exchanged on both sides of the transaction. If you buy my widget for $1 today, and tomorrow you buy another for $2, that could mean:

1. The value of the currency has decreased.

2. The value of the widget has increased.

3. Some combination of both.

Inflation is only concerned with #1 and we attempt to suss out only the currency component by observing the change in price over a wide range of items frequently transacted for currency, which in practice typically means watching consumer purchases. If you see a general rise in price across all of what you are watching, it is quite likely that the change is a result of the change in value of the currency. If only one good in a basket goes up in price in those observations, it is likely that it is said good that became more valuable, not that the currency became less valuable.

comment 2y ago · link · parent

The godfather of relational calculus languages, Alpha, put the relation context first, and then allowed you to send multiple commands that operate within that context. SQL eventually gave in and added WITH to soft of, kind of, try to get to the same place.

But, ultimately, SQL was designed around the idea discrete function calls rather than unit operations (with continued efforts to try and hack on the latter after the fact), so in that sense, the operator going first does make more sense.

comment 2y ago · link · parent

Until you encounter a more complex example. Now it is "Select green apples from the refrigerator, insert more milk into the refrigerator, and remove any expired items from the refrigerator" which is less natural.

In contrast, the father of SQL, Alpha, allowed: "From the refrigerator, select the green apples, insert more milk, and remove any expired items."

comment 2y ago · link · parent

GM announced several months ago that their newest infotainment system, developed in partnership with Google, will not support CarPlay. Other manufacturers could start to go in the same direction. If Apple is committed to the in-vehicle interface, their own car ensures that they have a vehicle to display it in.

comment 2y ago · link · parent

It is not a problem with tech hiring in general, just hiring where there are millions of people lined up down the street vying for the same position. To be sure, the job will still most likely go to a friend or relative, but if you are willing to jump through insane hoops you might also be considered. But it is to be taken as a hint that says: "Unless you are extra super sure that you are so special that we can't turn you down, don't waste your time, or ours."

Most other jobs, including Mom & Pop Tech Co., are happy if anyone applies at all and will take what they can get.

comment 2y ago · link · parent

But you must remember that they don't want you. They already have more applicants than they can handle.

The trouble is that the leadership does see you as human, which results in them trying to say "Go away! You are not welcome here." as politely as possible.

comment 2y ago · link · parent

Not a whole lot different than what I do as a human. I can do it a lot faster, though, allowing more exploration into the second, third, and fourth most likely word at the same time. Nobody wants to wait years for ChatGPT to finally reply, so shortcuts have to be taken.

I have never discovered any new insights, but it is apparent that the single most important attribute in discovering a new insight is time spent focused on finding a new insight. Undoubtedly, insight simply comes from executing on even more permutations than regular Joes like me take the time for until the right combination finally lands.

comment 2y ago · link · parent

> Why hire 10 when 3 could do the same work with AI tooling?

Why hire 3 when you can hire 10 to do the work of 33? It was only a couple of years ago when businesses were boasting "We can't possibly hire enough."

But, of course, there isn't enough money to be made anymore, which is the real reason creative industries are on the decline.

comment 2y ago · link · parent

The math adds up.

comment 2y ago · link · parent

Software developers on HN are saying the same thing. I don't see much evidence that AI has changed the game such that it would cause the work to dry up, though. In fact, I am surprised it hasn't created more work exploring the possibilities of new AI APIs.

But when you can get 5% returns just by sticking your money in the bank, why would you bother investing in software, where 99¢ is considered an exorbitant cost by its customers? That is no doubt why all of these creative industries are on the decline. There is, generally speaking, no money to be made.

comment 2y ago · link · parent

The large group of average people hold control under democracy, so if a small group of remarkable people want to see change, they have to appeal to the average person.

comment 2y ago · link · parent

What's beauty? It seems like a bit of a handwavy term.

comment 2y ago · link · parent

You do not understand why people are pressing the "this is correct" button even while you recognize that the comment is stating the obvious?

Perhaps you don't understand why anyone would take time out their day to press any button that doesn't do anything? I suppose that's fair. One of life's mysteries.

comment 2y ago · link · parent

> I just continue to not understand how much binary thinking is happening in these comments

Isn't that just a natural consequence of the fact that people will only post about things they don't know about in order to explore things that they haven't fully considered?

Naturally, if you are certain you've got it figured out there wouldn't be any value in posting anything. What could anyone add? But when you don't know, you can explore different ideas and see where they go. As such, the ideas shared will always be incomplete.

comment 2y ago · link · parent

That is what the law, as provided, states. Naturally one understands that law isn't just the words on the page, but also a tangled web of precedent. No doubt there is already plenty of precedent to invalidate usage of the law in many contexts, but that's where someone who understands the legal state in full detail would come in and add more colour, not just retort with "It doesn't mean that. I can't say why, but trust me, I know!" Ouch.

And, well, if nobody here knows, at least I get to enjoy the button presses. Imagine people taking time out of their day to press a button just for me. I feel the love, for sure. That's worth something.

comment 2y ago · link · parent

> which payment is made

Yes, that's right, labour offered in a trade is a form of payment. All trades sees both sides of the transaction make a payment. In the most common case as it pertains to employment, I pay you labour, you pay me money, at which point the trade is settled.

But since the law states that money must always been accepted as a form of payment I can also pay you money in place of my labour. Per the law, the employer has to accept it. Thus, any time you don't want to go to work you simply have to offer money instead of labour, which you will get back since the employer is still obligated to fulfil their side of the trade.

It's an interesting approach. But doesn't seem tenable in the real world, so it is not surprising that it is oft ignored.

> and says you can’t accept credit card and not cash

Exactly. Credit cards don't offer money, but instead offer tokens that you can later trade for money. Practicalities aside, no different than accepting chickens and then trading those chickens for money. Or no different than accepting labour and then trading that labour for money. It's all the same. A trade is a trade is trade.

The law here requires that the cash must be accepted as a substitute in a trade.

comment 2y ago · link · parent

Wouldn't it be much be easier to list the small handful of cases where you want it to apply?

Think I am going to pay you in my house when you pay me money for said house? Ha! By this law, I can simply give you your money back. You are obligated to accept it since you must always accept money as payment, and now the house you lived in prior is gone. Seems incredibly problematic for the vast majority of transactions.

Which is no doubt why nobody actually follows it.

comment 2y ago · link · parent

Interesting law. That means that if you want to take a holiday from work you can just pay your employer the equivalent cash value of your labour instead of showing up and there is nothing your employer can say about it since they are always required to accept money as payment. In fact, you can evade all contractual obligation by offering money in place of what was expected to be paid.

I can see why it isn't generally honoured.

comment 2y ago · link · parent

Nope. The music was generally licensed when those were popular. Ownership was retained by the licensor. Maybe in the wax cylinder era ownership of the music was usually passed with the physical media? That is getting to be before my time.

comment 2y ago · link · parent

I remember CDs well, but the music on them was never owned, even if Napster tried to make a case otherwise (if you don't know, it failed to make that case, leading to its eventual demise). You're going to have to go back way further, if there was ever a time.

comment 2y ago · link · parent

> I won’t be surprised if in 30 years it is extremely difficult to _buy_ (legally) music.

When was ever feasible to legally buy music? I mean for the average Joe, not a record company or Michael Jackson.

It certainly hasn't been in my lifetime, and I'm old by Internet standards. The only thing that has meaningfully changed is that the license period terms have become shorter and shorter.

comment 2y ago · link · parent

> You think he isn't aware of the policies?

With millions of employees there is no way he is able to say on top of the policies the workers are putting in place, no. Hell, I've spent enough time in small businesses to observe workers creating boneheaded policies behind the stakeholders' backs, only seeing them come to light when the stupidity caused itself to become known. How are you going to know? Nobody is going to tell you until it is too late.

> Or their effects?

Yes, most likely he is now aware that someone died as a result of another worker doing something idiotic. Now what? He can command to the workers to stop being idiots. I expect he already does that on a daily basis. But do you think that will really work? If you have ever worked with other people in these types of "low rung" jobs you will know that the worker always thinks they know better.

Perhaps that is difficult to fathom from the tech "ivory tower"? Indeed, in tech – and I expect other "high prestige" careers – workers are generally more willing to think things through together and search for the best possible solution.

comment 2y ago · link · parent

Of course. Who has a vehicle without considering the opportunity cost?

There is no reliably chosen investment I know of that provides ROI anywhere close to what my vehicles facilitate, though. It is possible you could win the lottery investing elsewhere, but that is pretty high risk. The vehicles provide decent, steady returns.

But it is clear that trucks are cheaper than cars.

1
727374
256