Viewing profile — butlerm
butlerm
HN member- Joined
- Sun, Dec 05, 2021, 2:41 PM UTC
- HN karma
- 427
- Public activity
- 290 items
- HN profile
- View on Hacker News ↗
About butlerm
No profile information was provided.
Recent public activity
-
comment
Comment #38729142
> If that's the case, you will have an overhead anyway, the only question being whether it's at the DB level or at the application level. Inserts and updates do not require referen…
-
comment
Comment #38726878
Referential integrity problems usually happen due to missing deletes, improper deletes, or references that should be cleared. The overhead of checking for the existence of referred…
-
comment
Comment #38726475
It is quite common for modern databases to have multiversion concurrency so that writers do not block readers. If you do not your transactions should either be awfully short, you s…
-
comment
Comment #38726358
Orphaned detail records are usually inconsequential, like uncollected garbage. References to anything with an optional relationship should use outer joins as a matter of course. If…
-
comment
Comment #38726247
Typically you look for orphan rows - the sort of thing ON DELETE CASCADE was invented to prevent. Another thing to check for are records that need to exist but should have referenc…
-
comment
Comment #38725686
Large ERP systems do that sort of thing as a matter of course and have for decades now. It does require careful planning and design. I mean AR / AP / scheduling / manufacturing / i…
-
comment
Comment #38725327
If you do not particularly care about performance or have a great deal of headroom then database enforcement of referential integrity is great. Alternatively you could just write t…
-
comment
Comment #38630151
Perhaps someone should define a new C compatible threading API to allow C libraries (including glibc or a wrapper around glibc) to work with something other than native pthreads. S…
-
comment
Comment #38614008
It is basically impossible to write general purpose software like compilers, word processors, and layout engines without doing heap allocations. That means either pointers or refer…
-
comment
Comment #38613678
It is generally speaking difficult to make an efficient implementation of the compiler and/or the virtual machine for many memory safe languages without writing it in a more effici…
-
comment
Comment #38609665
That would be convenient, and some programming environments have support for that kind of thing already. A hierarchical object valued expression would also be convenient in a diffe…
-
comment
Comment #38609475
The main application for this is where you have detail data for parent records in a snowflake pattern. In that case SQL tends to require a ridiculous number of queries, where commo…
-
comment
Comment #38527643
It is possible for telcos to provide point to point or point to multipoint layer 2 permanent virtual circuits (PVCs) from customers to providers or branch offices to home offices, …
-
comment
Comment #38506853
Making your code run quickly will not help if your software architecture is inefficient or optimized against the customer as so many web applications are these days, for example. T…
-
comment
Comment #38446822
There is a considerable divergence of opinion on that subject. In my view, C++ isn't remotely suitable as a programming language for someone without a healthy understanding of C. P…
-
comment
Comment #38341400
Whether tax deductions are subsidies or not depends on whether they are targeted at and benefit particular industries or special interests in a way that others do not qualify for.
-
comment
Comment #38250845
A libertarian would say that purveyors of poison would face civil and criminal liability after the fact if anyone was harmed.
-
comment
Comment #38166809
As I understand it, the U.S. does not subsidize petroleum marketers, or at least not very much. Oil companies are generally taxed on net income after expenses and depreciation, sam…
-
comment
Comment #38159609
The cable ISPs are exactly the kind of companies that could use a little regulation under Title II, they are horrible. My point is that government regulation is likely to make cost…
-
comment
Comment #38150834
Net neutrality is largely about blocking, throttling, and paid prioritization. Treatment of Internet access and transit services under Title II of the Communications Act of 1934 is…
-
comment
Comment #38145112
A dash is definitely not the same as a minus. A hyphen however is so close as to cause a serious ambiguity, so much so that they call the standard character a hyphen minus. So if s…
-
comment
Comment #38124540
If an IME doesn't enter a standard hyphen-minus by default, no matter what the language is, that is basically engineering malpractice. How could anyone not know that would fail har…
- comment
-
comment
Comment #38094846
I would love to believe that advertising would go away if only we all paid subscription fees. Cable television tells a different story.
-
comment
Comment #38094821
I believe in most relational databases you can just alter a column to allow null values and run a series of transactions in the background to set that column value to null, and tha…