HNHacker News
TopNewBestAskShowJobs

ccleve

4,019 karma · joined April 20, 2012

You can reach me at ccleve[delete this]land at diesel[delete this too]point dot com.
submissionscomments
ccleve··on Ask HN: Is there a site for quality short-term contract programming work?
Dice.com used to be the place to go. I haven't looked at them in quite some time.
ccleve··on Tell HN: AWS connectivity issues, but health dashboard says everything fine
Try it on your phone.
ccleve··on Hertz to pay $168M to customers arrested due to Hertz’s false police reports
Precisely. Nothing happens until the individuals responsible pay a penalty. If an exec knowingly, or through negligence, causes a person to be arrested, that person needs to pay up personally. If they did it to protect their own position, then jail time is appropriate. Falsely reporting a crime is a crime.
ccleve··on Ask HN: What platform/tool do you use for software documentation?
Plain markdown files is definitely the way to go. It's easy to create a basic table of contents and arrange them in a tree-like manner. You can view them rendered in a GitHub project.

If you want search and some other features, consider the mdbook project used by Rust. It's not specific to Rust and it's pretty slick.

I have used docusaurus, vuepress, mkdocs, antora, and asciidoctor for documentation. I like mdbook the best.

ccleve··on America’s School Districts Are Too Big
Wrong. The money gets distributed from two sources: the state, and the county via property taxes. The size of the district has no impact on the money-distribution formula for either.

If a county, or a state, wants to send money to poorer areas, they can do it without regard to the organization of the school districts. Often, the formula is targeted at the student: if a school has X low-income students, then they get Y dollars.

Edit: my comment pertains to large school districts, aka city-wide or within large counties. The suburbs get organized differently.

ccleve··on America’s School Districts Are Too Big
Chicago Public Schools, one of the biggest districts in the nation, has an enormous department for special ed (Office of Diverse Learner Supports and Services). They are utterly incompetent. They have been sued again and again. They are staffed by arrogant, pompous bureaucrats lording over their little fiefdoms. They are bound to their rule books and could not care less about whether the rules apply to an individual student.

They are so incompetent, and have been sued so many times, that they are currently under the supervision of the state board of ed pursuant to a consent decree. It's likely that I will have them in court in the coming year.

Big buys you nothing. A single teacher who knows what they're doing can make all the difference. More bureaucrats add nothing.

ccleve··on Artist feeds childhood diary into GPT-3 to have a chat with herself
This is a conversation a man had with his younger self. It's way, way better: https://m.youtube.com/watch?v=XFGAQrEUaeU
ccleve··on Oracle Contributing GraalVM Community Edition Java Code to OpenJDK
I don't say nice things about Oracle very often, but they deserve some praise here. Graal is a very, very ambitious project, and Oracle has been funding it for years. It's still rough around the edges, but it promises to enable new programming languages to run on a high-performance JVM, compiled to native code. Write-once, run anywhere, at native speed. And now they're donating it. It's very decent of them.
ccleve··on Ask HN: What is your fav “I can't believe in 2022 this still doesn't work right”
Database versioning. Why can't I have version control on a database record just like we do for documents? Why do we have to implement audit trails over and over again?
ccleve··on Ask HN: What is your fav “I can't believe in 2022 this still doesn't work right”
My inability to connect to a printer over the network reliably. Can't tell you how many times I have to "fix the printer" in my house.
ccleve··on Stateless – Evolving the architecture of Elasticsearch to simplify deployment
How is it that the S3 API is remotely fast enough to make this work?

As search engine that operates at any kind of scale needs to skip through very large files to evaluate a query. You need very low-latency, high-bandwidth access to disk. A search engine instance that accesses files on a local SSD is an order of magnitude faster than one that puts files on EBS.

They make some mention of local caching, but the devil is in the details here. Does all data get copied to local cache? What is the performance here?

ccleve··on Forum Channels: A space for organized conversations
I wonder that Discord doesn't use Discord for their own support forums:

https://support.discord.com/hc/en-us

An example:

https://support.discord.com/hc/en-us/community/topics/532642...

This looks a lot like Zendesk.

Maybe they finally realize that long-term knowledge retention is a good thing.

ccleve··on We Are Changing the License for Akka
I did not see the part about the minimum spend. You're right; they'll probably run into significant resistance on that from the smaller customers.
ccleve··on We Are Changing the License for Akka
To everyone who thinks that $2k/vCPU is a lot of money, it's not.

First, if you're running it on an 8-core server, that's $16k per year, which is about what many companies are paying for an enterprise support contract. It's not much when you consider that it gives you access to Akka engineers at the cost of 1/10 of an FTE.

Second, the $2k number is a list price. All large enterprise deals are negotiated, and nearly all are discounted from the list price. Akka probably won't discount small deals, but they'll be forced to discount larger ones if the buyer has an alternative. Plus, the buyer will demand SLAs, dedicated support, and will often demand changes to the license and custom work on the software itself (tweaks to make it work with X, etc.)

Akka and their larger customers will make it work. The purpose of this license change is to give Akka the ability to get their customers to the table in the first place.

ccleve··on Ask HN: What was life like before and after a baby
Strongly recommend that you and your spouse (hope you have one, this is hard to do alone) do night duty on alternate days. You'll get a full night's sleep every other day. It's essential.

Enjoy these first few weeks and months. Take all the parental leave you can. Maximize the amount of time you spend holding, playing with, and talking to the child.

Do it for you, because you will always remember these days.

Do it for the child, because their brain is developing very, very rapidly at this time, even if you don't see much evidence of it. The time you spend with your child now will have benefits for the rest of his or her life. (You won't have time to read books, but if you do have a look at "What's Going on in There? How the Brain and Mind Develop in the First Five Years of Life".)

A few days from now, programming will seem a lot less important.

ccleve··on Ask HN: What was life like before and after a baby
It sounds like your problem isn't having a kid, it's not having a separate, quiet space to work. You can't do work that requires concentration with a small child in the house, you just can't. If you have a spouse or a relative or a baby sitter who can do child care for a few hours a day, then please go elsewhere. It will make you feel so much better when you can actually get something done. It will do wonders for your mental health.
ccleve··on Two containers with same number detected in Chittagong port
Thank you for the link. I just watched it in entirety. It's slow moving but well worth it. It's about a world I did not know existed.
ccleve··on Soft deletion probably isn't worth it
Someday we'll have a database that handles this for us. We'll specify whether a particular table should have an audit trail. The system will know about foreign keys and related tables, and save them as well. Everything will be configurable, of course. Internally, the system will save the relevant data using the write-ahead log. Restoring deleted data will be easy, a simple command. Purging data that should disappear forever will be another command. This is all very possible.

Someday.

I'm embarrassed to admit how many decades I've been waiting for this.

ccleve··on New Arizona law makes it illegal to film within 8 feet of police
Paradoxically, this law could lead to more filming, because it codifies the fact that filming beyond eight feet is perfectly okay. That may have been legally true before, but now the police have a clear, bright rule. This might be good for both police and bystanders.
ccleve··on Brex is canceling customer accounts
Yup, I just got my letter. Brex is obviously not interested in serving startups.

If there's one thing that a startup needs in a bank or cash management account, it's stability. Only a month ago Brex sent a letter saying that they were changing our routing number / account number for inbound transfers, because, it seems, they changed the bank they were working with. This was a giant pain because we needed to notify all of our customers that our payment info had changed. It's embarrassing.

Same thing happened with Azlo a few years ago. They were great, until they changed the underlying bank, and then they went out of business.

I'm done with internet "banks" until I see a few years of stability. Going back to a traditional bank. Traditional banks are terrible, their fees are unreasonable, but at least they won't keep jerking me around.

ccleve··on California court finds that bees fall within a legal definition of fish [pdf]
Certainly, the endangered species act ought to include insects, but as written it just doesn't. The opinion itself makes that crystal clear by showing the plain language of the act itself, the context of the relevant language, and the legislative history.

In context, it's clear that the legislature intended "invertebrates" to mean aquatic ones. There is zero textual evidence to the contrary.

The California legislature ought to step in and do a quick amendment to include insects and be done with it.

This court is legislating from the bench. This opinion is an embarrassment to the legal profession.

ccleve··on Speeding up sort performance in Postgres 15
The difficulty is that the new table access method is very complex and hard to get right. I'm building something using a regular index access method now and it's hard enough. Once I get all that infrastructure working properly I may take another crack at a table access method.

For some purposes you can get away with a foreign data wrapper. FDWs are a lot simpler.

ccleve··on Town Seized Building, Offered to Return It If Owners Bought Two Cars for Police
I've long had an idea for solving the civil asset forfeiture problem.

It's simply this: any asset seized must go to the general fund, not into a law enforcement fund.

If a local police department seizes cash or a car, that asset goes to the state. If federal law enforcement does the same, it goes to the treasury, not the FBI or ATF or the Justice Department.

This small change would remove the incentive to seize assets for any reason other than stopping criminals.

We also need due-process reforms, but this would be a good start. Government departments should never profit from criminal activity.

ccleve··on Why won’t some people pay for news?
There's an issue for me which did not appear in the article and so far has not appeared in the comments.

It's that I look at news aggregators like Real Clear Politics and various newsletters, and I sample a small number of articles from a very large number of news sources. I'm unwilling to pay for a newspaper subscription if it serves me only a very small number of articles that I'm interested in each day.

I suspect that others who use Google News or Apple News or Yahoo experience the same thing.

All this suggests that a Spotify or Netflix-like subscription model might work. Spotify charges $9.99 a month to give you access to 82 million songs. I would totally pay for a similar subscription that gave me access to many newspapers.

I need to graze, not feed.

ccleve··on Super-Structured Data: Rethinking the Schema
tldr; Don't use relational tables or unstructured document databases. Instead use structured types. The "schema" here is ultimately a collection of independent objects / classes with well-defined fields.

Ok, fine. But I'm not sure how this helps if you have six different systems with six different definitions of a customer, and more importantly, different relationships between customers and other objects like orders or transactions or locations or communications.

I don't see their approach as ground-breaking, but it is definitely worthy of discussion.

ccleve··on I employed a California resident, so now I’m subject to its regulations
>don't hire remote employees living in a jurisdiction whose employment laws you don't know.

If you read the blog post, you can see that I fully knew and complied with the employment laws. (I used Gusto, as it happens). The blog post has nothing to do with employment laws.

The blog post is about income taxes, the franchise fee, Sec of State filings and absurd amounts of paperwork.

ccleve··on I employed a California resident, so now I’m subject to its regulations
Reread the post. I did comply with employment law, fully. The blog post is about income tax filings.
ccleve··on I employed a California resident, so now I’m subject to its regulations
Uh, Justworks is for employment and payroll, not income taxes or Secretary of State filings. The blog post is about the latter.

As it happens, I did use a payroll service, Gusto.

ccleve··on I employed a California resident, so now I’m subject to its regulations
@dang Someone edited my headline in such a way that it ridicules the blog post and does not reflect the topic. Questions: 1. Who gets to edit headlines? 2. Is doing this ok?

Original: Don't hire remote employees living in California

Current: I employed a California resident, so now I’m subject to its regulations

ccleve··on I employed a California resident, so now I’m subject to its regulations
You're absolutely right. I am personally to blame for Illinois' tax rate, gun violence, and financial condition, and I really shouldn't talk. I'll go quietly now...
← PreviousPage 3 of 14Next →