Better HN
topnewbestaskshowjobs
Log inSign up

randomdata

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

Submissions

comment 3y ago · link · parent

Is that abnormal? I remember not being able to read an analog clock at that age, several decades ago. Even back then they were uncommon.

comment 3y ago · link · parent

> we could solve so many harms.

The only 'harm' in question is that the other evil profit seeking villains are losing their source of profit, left to go back to do wonderful volunteer work at charities or whatever it is that is considered more virtuous. Crushing 12,000 villains in one fell swoop, perhaps Google is the superhero here?

comment 3y ago · link · parent

That is a common falsehood. Testing does not verify that the code under test behaves correctly. It only verifies that the what the documentation asserts correctly matches what the code does. Indeed, enabling the machine to verify that the documentation is true is cheaper than having humans do it. Also less error prone. Humans are notoriously bad at keeping documentation properly up to date.

comment 3y ago · link · parent

No. Your documentation is your documentation. It documents your code. It is not your code.

If the documentation can also be interpreted by machine to validate what it claims is true you have a nice side benefit, but not the reason for writing your documentation.

comment 3y ago · link · parent

> Not having a network-capable database limits you to only one server machine

Not true. What has been true until recently is that replication solutions for SQLite have been lacking, necessitating the use of an old school database to lean on existing multi-machine database solutions, but that is no longer the case.

> You usually want a separate worker process (or multiple) to do heavy computation in the background

Also not true. Network overhead introduces things like the n+1 problem which only adds unnecessary computation and breaks the relational model, requiring some pretty insane hacks to work around. What is true is that SQLite write contention has been a problem, necessitating the use of an old school database in high write environments, but that is also a problem on its way out.

Networked databases have been the norm until recently because they're older and more mature and the only practical solution in many cases thanks to that maturity, but SQLite is starting to gain the same maturity and we are now able to rethink the model and gain the benefits of data locality.

Besides, if you really need networking for your niche use case, and have some reason to use SQLite, there is already rqlite. Tightly coupling networking with the database engine doesn't add any value. They are decidedly distinct layers of concern. If Postgres or MySQL were rewritten from scratch today, even if protocol compatible, no doubt the separation between the database engine and the networking layer would also be more explicit.

comment 3y ago · link · parent

I just don't understand why CarPlay doesn't show the outside temperature. It is readily available information, either from the car itself or from Apple's own weather service. The stock head unit software has no problem doing it. The iPhone has no problem doing it when using its built-in screen. But when CarPlay takes over you're left to guess.

Maybe in sunny California you have no reason to care, but in these northern climates it is useful information. Road conditions can change rapidly as you approach the freezing point.

comment 3y ago · link · parent

Gherkin/Cucumber reintroduce the very problem TDD/BDD was intended to solve: Documentation falling out of sync with the implementation.

The revelation of TDD, which was later rebranded as BDD to deal with the confusion that arose with other types of testing, was that if your documentation was also executable the machine could be used to prove that the documentation is true. The Gherkin/Cucumber themselves are not executable and require you to re-document the function in another language with no facilities to ensure that the two are consistent with each other.

If you are attentive enough to ensure that the documentation and the implementation are aligned, you may as well write it in plain English. It will give you all of the same benefits without the annoying syntax.

comment 3y ago · link · parent

Which is funny as the purpose of testing is to explain to other other developers what the code under test assumes and what should be expected of it under various conditions. It is documentation.

If you have to document your documentation, you might be missing something fundamental in how you are writing your first order documentation. Not to mention that in doing so you defeat the reason for writing your documentation in an executable form (to be able to automatically validate that the documentation is true).

comment 3y ago · link · parent

There was a time where desktop client software connecting to the RDBMS server directly was all the rage, necessitating that the RDBMSes of the era have networking capabilities to listen for those clients. But is there any point in a modern database providing that when we've all but completely moved the client->server networking into the application layer?

As cyclical as tech can be, I find it difficult to think that we'll go back to that style of architecture. There are just so many benefits to having an application server sit in between the client and the database. Going back to green screen terminals hanging off a central computer seems more likely, and that model doesn't need its database networked either.

comment 3y ago · link · parent

It was explicitly said that the economy wasn't bad in 1996, just not good either. There is little doubt that the economy was good in 1998.

comment 3y ago · link · parent

There were some papers linked here yesterday. I'm not good at memorizing URLs. Sorry.

comment 3y ago · link · parent

One of the challenges faced by ChatGPT was in seeing it produce conversational-style output instead of simply the most common words that it saw.

I'm not sure your definition really clears up how reasoning or thinking differ from "basic" statistical processes. Granted, perhaps it is not explainable. If it were we would understand it well enough to replicate it.

comment 3y ago · link · parent

That may be, but then his position doesn't stand up as nobody calls everything AI in the AGI sense in the first place. AI is indeed used often, but it is very much understood that it means something quite different to AGI (hence the two different terms).

comment 3y ago · link · parent

What is reasoning other than predicting what next step is most likely to produce a desired outcome? That's all it feels like the mind is doing. Is there a more formal take?

comment 3y ago · link · parent

Well, the canonical example of an AI has always been something that can play chess. We have devised numerous methods of artificially playing chess without needing to employ machine learning.

comment 3y ago · link · parent

We'd do better to stop conflating AI with machine learning. Machine learning can be one way to create AI, but it doesn't end there.

comment 3y ago · link · parent

And that reason is? It is not like it is actually illegal as the law carves out sufficient exceptions to ensure that children are enabled to work.

comment 3y ago · link · parent

Meaning something like rqlite[1]? The age of fat desktop clients all connecting back to the central SQL server is long behind us, so yeah there is probably little reason beyond fun for something like that these days, but where there is fun!

[1] https://github.com/rqlite/rqlite

comment 3y ago · link · parent

I too am from Canada. While there are some exceptions carved into law that do allow children to work at any age, I agree it's not common. I am saying that we would be better off if it were. Historically it was the norm. This aversion to it now is quite recent, rather strange, and seemingly of negative benefit as it divides families and removes access to education.

comment 3y ago · link · parent

Agreed, although we are having this discussion now exactly because those same problems are starting to get solved for SQLite in an open and polished way, so it is no longer a case of needing that second networking layer to integrate with such solutions.

comment 3y ago · link · parent

Unquestionably. Web apps and the like which are little more than networking frontends to a database are probably the most common type of software written these days.

comment 3y ago · link · parent

The only real difference between SQLite and something like Postgres or MySQL is that Postgres and MySQL bundle a networking layer on top of their embedded DB engines.

If you are worried about high availability, chances are you too are building a networking layer on top of a database, so what do you need two networking layers for?

comment 3y ago · link · parent

Why minimum wage? That's what people who have never seen a job in their life make. Someone who has worked alongside their parents for the approximate decade leading up to reaching the typical high school age is quite economically valuable by that point.

And yes, with the time value of money, the sooner you can make it the better.

comment 3y ago · link · parent

> I want to engage with my kids while they care

Interestingly, some of my fondest memories are a kid were going to work with my parents.

This newfound fascination with steering completely clear of work until one is deep into their 20s is a big problem here. Not only does it result in things like the parental separation you allude to, it also means that the child isn't making money during their most important earning years, requiring even harder work and less play later in life to try and catch up.

And for what? More time at the babysitters? That does not seem like a win. It seems quite silly, really.

comment 3y ago · link · parent

> Of course we think what we're doing is important, that's why we do it.

We think it is important... or we think it is fun? I expect a lot of us are, for example, guilty for diving in and creating software (or whatever your craft is) that we think others will like/pay for, but don't actually ever stop to talk to people to see if that's the case because collecting data isn't nearly as enjoyable. Maybe you will get lucky and there will be interested parties aligning around your random guess. But more likely nobody will care and you'll go back to the drawing board to commit the same mistake again and again.

comment 3y ago · link · parent

Work on Google started in 1996. While things weren't bad per se, we were still working through recovery from the early 90s recession. It wasn't bad but it wasn't good either. By 1998, when Google was ready to ship, things were quite good.

If, in an alternate universe, work on Google had started in 1998 when the economy was strong and didn't ship until 2000, things could have been quite different. It was no doubt important that they were ready to ship when the economy was at its peak. That means starting when things aren't so good.

comment 3y ago · link · parent

> I claim "You can/should start something like AirBnb in a bad economy, but not Google."

Yet AirBnB was born into a good economy (that, in fairness, was on the cusp of going quite bad), while Google was born into an economy that was just starting to recover from being bad. Not when you start but when your product is ready to ship may be more significant. By the time Google was ready for prime time we were in a good economy. When AirBnB was ready for prime time, we were in a bad economy.

Skate where the puck is going, as they say.

comment 3y ago · link · parent

Neither. The assumption is that, due to various reasons, the world in need of eating will shrink next year (if not later this year). As software requires a not insignificant amount of time to develop, work intended to eat next year is in development now, which means less work to go around compared to last year.

It is quite possible that these businesses are wrong about the future. They have been before. But as predicting the future is impossible, one has to make an educated guess and live with it.

comment 3y ago · link · parent

OOP in the discussion was undefined prior to me choosing a definition. Smalltalk-style OOP is quite significant to the topic as what are probably the only respected ORM toolkits (CoreData, ActiveRecord) lean heavily on the facilities provided by what you call the Smalltalk-style OOP paradigm. I might even go as far as to say that the active record pattern is unusable without Smalltalk-style OOP. Other languages have certainly tried, but it gets janky really quickly.

Now, it's okay if OOP means something different to you. Words are just tools to help with communication, not some source of pride or identity. That is why definitions were laid out to ensure that we weren't just talking past each other. Despite this making you believe I am young, in my 30 years of development experience I've learned that you can't assume everyone uses the same definition. In software, it is actually quite rare to find any common definition across any sizeable group of developers.

There is no logical reason to leave a discussion because what OOP meant to me differs from what OOP meant to you. The OOP talk that was present early in this thread didn't even carry into the remainder of the conversation about ORM, so it is moot anyway. The reality is that this conversation has reached a dead end because there is nothing left to talk about. We've established that ORM and query building are different operations, which rounds out the entire topic of the thread, and that's that.

comment 3y ago · link · parent

There was also the situation where companies were hiring simply so that the competition couldn't. Now that the competition isn't hiring, you can free the people you were hoarding.
1
122123124
256