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

Indeed.

comment 2y ago · link · parent

Just use SQLite?

Specialized vector indexes become important when you have a large number of vectors, but the reality of software is that it is unlikely that your application will ever be used at all, let alone reach a scale where you start to hurt. Computers are really fast. You can go a long way with not-perfectly-optimized solutions.

Once you have proven that users actually want to use your product and see growth on the horizon to where optimization becomes necessary, then you can swap in a dedicated vector solution as needed, which may include using a vector plugin for SQLite. The vector databases you want to use may or may not use SQL, but the APIs are never that much different. Instead of one line of SQL to support a different implementation you might have to update 5 lines of code to use their API, but we're not exactly climbing mountains here.

Know your problem inside and out before making any technical choices, of course.

comment 2y ago · link · parent

Postgres complicates the application in several ways. In particular, Postgres suffers from the n+1 problem, while SQLite does not. That requires a significant amount of added complexity in the application to hack around. Why over engineer the application before it has proven itself as something anyone even wants to use? Let's face it, the large majority of software written gets thrown away soon after it is created.

I already hear you saying that you know of a library that provides a perfect abstraction to hide all those details and complexities, making the choice between Postgres and SQLite just a flip of a switch away. Great! But then what does Postgres bring to the table for you to choose it over SQLite? If you truly prove a need for it in the future for whatever reason, all you need to do is update the configuration.

comment 2y ago · link · parent

> It was mostly stupid and sentimental

Which is why it didn't last. When there was a novelty to it, people tried posting things to see what happens. Being something new, they didn't know what to expect. But soon the novelty wore off and the stupid and sentimental revealed itself as being cringy.

As such, the people made it clear that if they were going to continue to produce, they wanted tighter and tighter control over who can see it. They wanted private chats and closed groups, not a global newsfeed for all to see. Which, indeed, Facebook delivered on, but that also destroyed the "what I did today" content for the casual observer.

So, that left Facebook to draw on professional (or wannabe professional, at least) content creators to fill the void. And here we are today.

> I’m sad the world now looks like a worse place.

There does seem to be a missing gap in news about regular people. Before Facebook you could read the newspaper to find out what your friends "did today". Seriously, look at newspapers from the last century. There are pages upon pages of stories like "Mr. and Mrs. John Smith invited Miss Jones from Nantucket to stay at their home this past week. A good time was had by all."

But maybe lacking that isn't actually worse. Perhaps there is something to be said about staying close enough to your friends that you already know what they "did today" without having to read an account in the news?

comment 2y ago · link · parent

> people used to learn parenting from their communities, families came together when a new baby was born to help out and teach.

Right, and still do. That never went anywhere. That is still how it is done.

Since the dawn of man a small group of, predominantly young, people have set out into the world and left their families behind, but we saw a temporary aberration where that rate rose as people left for college, often to never return. While that trend started seeing a meaningful reversal by the late 2010s, those of average child rearing age today would have been the young adults most likely to leave around the peak migration.

We're still not talking huge numbers. The large majority of people have always stayed close to their parents, but enough people separated from their families that you can write an article about it. Particularly The Atlantic, which caters to the type of people most likely to leave their family behind.

Clearly we do teach parenting, from families, to the community, to even under the direction of formal institutions – so perhaps the takeaway is that the Atlantic's primary audience thought they knew better when they were 18 when they left their families behind, never befriended anyone older with children where they ended up, and now are feeling the consequences of their actions as they have children of their own?

> People want to be taught how to parent, just not by the government.

Keep in mind that the article is focused on America. Government is the community. Understandably, things are different in China (or whatever overlord it is you live under).

comment 2y ago · link · parent

> Would be interesting to get an approx number of coders per 1000 people

Isn't everyone a coder? You are going to be exposed to it at school, if nothing else. Which, assuming the numbers bear any reflection to reality, is what I expect a lot of the accounts to be (that is, students).

But as far as those who do it professionally, as of November 2022, Statistics Canada reports 301,875 people under "Computer, software and Web designers and developers". There were 2.1 million GitHub accounts in that year.

comment 2y ago · link · parent

By the time they are 4-5 they become quite capable of doing many things. A good place to start is cleaning the house. You are, at least in these parts, going to pay an adult at least $20 per hour to convince anyone to show up – or $20 per hour to yourself if nobody else does. If we assume 30 minutes of work each day, that's $3,650 over the course of the year.

Studies that focus on what it actually costs to raise a child – not what it costs to raise a child and stroke parent egos – suggest that it is more like $4,000 per year to raise a child. So at this relatively young age are only in deficit by a few hundred dollars after a year. However, their capabilities ramp up quickly from there. If a teenager is only able to contribute $3k worth of value or less per year, you have failed them miserably[1].

[1] Or they have some kind of severe disability. That is the dice you do have to roll, but is statistically uncommon.

comment 2y ago · link · parent

If the market sees movies as being worthless (a price of 0), why would they even consider making movies? Clearly nobody wants them.

comment 2y ago · link · parent

Is it, then, that because it isn't Stanford and Harvard teaching it that we discount the teaching?

That is certainly a theme seen outside of the topic of parenting. High school graduates in particular, who have spent 12+ years of their life in the education system, are oft considered 'uneducated'. Not because they actually are uneducated, just that they haven't received an education from a particular school.

I don't know where this general idea that we don't teach parenting comes from. Even ignoring said classes, once I had children the teachers will still lining up around the block to help me through the process. There is no subject I know of that has more teaching resources directed to it.

comment 2y ago · link · parent

At least 6.08%, really. The default browser on what is probably the most popular Linux distribution deviates from including "Linux" in its user-agent string so it is counted separately in these figures, but is still counted and still Linux.

comment 2y ago · link · parent

Perhaps, but "citation needed" is always just an attempt to shut down those who don't fit the 'decorum'. It adds nothing to the conversation and is not good faith forum participation. There is no quote taken that could be cited, and there never is. The request is impossible to fulfill. Of course, that's the point.

This anti-social "unless your words come from someone I respect, I don't want to talk to you" behaviour has most definitely shown to extend out into the real world. That became quite apparent during the COVID ordeal. But it is less clear if that was always the case, or if social media has made it more prevalent.

comment 2y ago · link · parent

Great example!

Has this anti-social behaviour become more prevalent because of social media, though? I suspect it has, although perhaps supplanting some other type of 'decorum' witnessed in pre-social media times.

comment 2y ago · link · parent

Python is able to load Python code at runtime, so one can use Python for configuration. A solution doesn’t need to go looking for problems that are already solved.

comment 2y ago · link · parent

> I'm sure these numbers could be argued endlessly

Indeed they could. Most painfully, the child figure includes things like the cost of keeping a larger house. Yet in reality a child couldn't care less how big or small of a house you have. Hell, early North American settlers used to live in tiny, one room log cabins and raised like 12 children in them just fine. If parents choose to live in more luxurious accommodations, good on them, but if we are being honest that is an adult cost to satisfy adult desires, not a child cost. The cost to support a child on what is actually necessary to support a child is only a tiny fraction of that.

But let's say, for the sake of discussion, that the figure is irrefutable. A big difference is still that the child starts to contribute after the first few years. The outflow may be $240k, but there is an inflow to offset it. Unless you are an evil parent who locks the kids in their bedrooms until they turn 18, a net gain would not be unexpected.

While there may be individual dogs out there that could have the same said about them, in the typical case the dog can't offer anything to contribute, even if the dog wanted nothing more.

comment 2y ago · link · parent

> Do we want some institution teaching us how to raise our kids

Whether or not we want it, institutions do teach parenting. I, for one, took the parenting course when I was in high school. I also took another parenting course offered by the local health authority just before I was about to have my first child.

Perhaps what is really going on is that parents/would-be parents don't want to be taught?

comment 2y ago · link · parent

So, just a long and roundabout way to say: "If you don't make trades, you don't have a business"? Or, maybe, "If you are not willing to make trades, you don't have a business"? The latter captures entities that are prepared to make trades, but have not yet done so. While the original definition rules out a 'business' that is still waiting on their first sale, I suspect that wasn't the intent.

comment 2y ago · link · parent

> whether the founders in their 50s had spent their 20s-40s continually trying to start companies.

Apart from some differences in legal paperwork, starting a company and seeking employment are the exact same thing. An employee needs everything else that makes a business: Sales, marketing, capital, viable product, customers, etc. So, unless you think it is the legal paperwork that falters those who are younger, almost assuredly they did. Just like most everyone else.

Lack of capital is what kills most businesses. Statistically, 50-somethings have the greatest access to free capital. Any younger and you're still working on acquiring it. Any older and you have to focus what you have towards supporting retirement. That may explain it more than anything.

comment 2y ago · link · parent

The substantial number of 'businesses' – probably the vast majority – see some trades of goods and services happen, but never accrue anything that the government would try to tax. Colloquially, they 'lose money'. What do you consider those entities if not businesses?

comment 2y ago · link · parent

> My wife and I took a parenting class before our first was born.

Same here, and I also took a parenting class in high school. Further, once the child was born the teachings have continued, with many teachers offering additional teachings and support. I don't think I have seen anything else in life that has tried to be taught to the same extent.

Not teaching how to parent must be a regional thing. Or is it is that we do teach it, but parents don't want to be taught?

comment 2y ago · link · parent

We do teach people how to parent. I took a parenting course in high school. I also took another parenting course with my wife in the months leading up to having a child. And once I had children, others were more than happy to continue to help guide me through the process.

comment 2y ago · link · parent

Human living conditions are well suited to supporting children (human living conditions are designed for humans after all) – other animals like dogs, not so much.

Financial viability is improved with children (they start to contribute once you get past the first few years) – other animals like dogs, not so much.

Existing time and attention focuses can much more easily integrate children (like dining out? Bring your children!) – other animals like dogs, not so much.

comment 2y ago · link · parent

Not only in chickens, but I often get paid in chickens, yes. In fact, I had chicken for lunch. It didn't magically appear. I had to trade something for it.

comment 2y ago · link · parent

> If you aren't exchanging money for goods or services, you don't have a business, full stop.

You wouldn't have a profitable business without holding a debt over someone (money), but a business can also see the transaction be fulfilled and completed in the moment. If I sell pottery and you sell chickens, and we agree to exchange pottery for chickens, then no debt (money) is involved, but we still have viable businesses.

comment 2y ago · link · parent

> the pursuit of maximal profit doesn’t make as much sense to me as it used to.

Alternatively, accounting hasn't kept up with the realities of the world. Profit today isn't measurable just in terms of the exchange of tangible items. Actors also seek to profit by way of other intangible things like, most notably, attention; something old-school accounting doesn't account for.

Maximal profit makes as much sense as ever, but maximal profit as it shows up on the books using traditional accounting methods may not.

comment 2y ago · link · parent

> it was common for people to visit all their neighbors each day.

I am sure there is some regional variability, but at least in these parts you can still see that habit ingrained in those now around 80 years of age or older. But it seems to quickly taper off in anyone younger. By the time you get to my generation it is effectively unheard of.

comment 2y ago · link · parent

> No, this has been covered exactly once.

I count three times in this thread (plus apparently again in another thread, although that has no relevance to this one). I respect that I did not convey it in an understandable way. Communication is hard. But it is not clear to me what was interpreted instead, in order to allow me to turn the ship in the right direction.

> I will absolutely not be corresponding with you in HN comments on this topic or on any other any longer.

Because we wouldn't be able to figure that if you just stopped corresponding...?

> I would do so "in-person" in a Zoom call

Sure, I'll listen in if you want to expand upon how relational databases pertain to your definition of OOP. If you seek a debate, as suggested above, no thanks. High school debate club is best left for high school students. I did not engage in debate with you here for good reason, and I will not engage in debate elsewhere either.

comment 2y ago · link · parent

> How foolish of me to assume you would notice that I assiduously avoided doing anything other than to refer to you by "you" and to refer to the blog article's author as "the author."

I did notice, indeed. But when I called myself "the author", I was referring to myself.

Is it that you want me to call myself "you" instead? I don't think that works. It is not clear what you are trying to convey here.

Obviously I was the author. Were you under the impression someone else authored the work in question? If so, who? If so, how?

> As a critic of OOP

Was "bingo" meant to a criticism? While this is a fun story that you have randomly decided to share, I fail to see the pertinence.

> What do you believe your argument is?

I have no beliefs on the matter. Logically, once a believe is formed, there is no longer value in discussing it. What more can be learned once you are certain of something? Only before beliefs are formed can you gain insights by talking to other people. Beliefs are built on discussion. Discussion always has to come first.

But maybe you have some pet definition for "belief" that contradicts the common usage recorded in the dictionary?

comment 2y ago · link · parent

> You and I don't know for sure what the author's definition of OOP is

And that's fine. We don't need to know the author's definition. That was deferred to Kay, which stands to reason as Kay defined the term. The author is focused on letting it be known that people, which includes the author himself, don't understand OOP.

In fairness, Kay, who appears to be a person, has made it clear that not even he understands OOP. The only thing he knows for sure is that C++ is not it. Inheritance and polymorphism are core concepts in C++, so given that they were brought up, we have proof positive that the article was written from the perspective of not understanding OOP (in case the title wasn't already clear enough; the author could not have been much more explicit).

> Instead I said – To sum up, your argument essentially is, "you critics of OOP are not using the definition that I use." OK. Well, who asked you?

To which I asked: "Says who? You? Did you get a confirmation from the author that this was their intention?"

As I am the author, I already know the answer, but I wanted to hear the other side of the story. Is there some reason for your strange diversion to avoid answering the question? Are you afraid of what we might learn if you were to become earnest with us? Or did you just not bother reading again?

comment 2y ago · link · parent

This has been covered several times. Seemingly in a way that I failed to make it clear, granted, but without any feedback in what you did take from it to determine where the need for further clarity remains, it is difficult to try to correct. Needless to say, I recognize that you are here in bad faith so I was never expecting you to work towards a mutual understanding, but I throw this out there anyway as the response to it will no doubt be hilarious.

Given that you don't know how to clarify your original message, perhaps we can still salvage something here? Let's assume that OOP is by another definition. Your choice. Define it however you please. Then explain how relational databases fit into that definition.

1
686970
256