8,634 karma · joined Jun 23, 2011 (15y ago) · 7,679 submissions
comment 2y ago · link · parent
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
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
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
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
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
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
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
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
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
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
comment 2y ago · link · parent
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
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
comment 2y ago · link · parent
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
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
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
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
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
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
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
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.