HNHacker News
TopNewBestAskShowJobs

kjksf

6,940 karma · joined September 5, 2009

My website is https://blog.kowalczyk.info

Working on https://filerion.com/, a web based file manager (s3, Dropbox and more).

I created https://www.sumatrapdfreader.org

submissionscomments
kjksf··on X sues Calif. to avoid revealing how it makes “controversial” content decisions
This is actually one of Twitter legal arguments against this law: section 230 explicitly gives companies ability to moderate user submitted content as they please.

By putting additional restrictions on moderation activities (the requirement to report to government how they are moderating) this state law contradicts the federal law and the way things work, federal law wins.

We will have to wait to see if the judge / juries agree with this argument, but that's one of the reasons Twitter believes this law should be eliminated.

kjksf··on X sues Calif. to avoid revealing how it makes “controversial” content decisions
It would be even more bonkers if government could regulate without any restrictions.

Can California demand that a restaurant provides daily report on how often each employee washes their hands and fine them $15k per day if they don't or provide incorrect information?

Per your simplistic argument it would be bonkers if California could create such law. It's a mere reporting of its relevant business activity.

To me it would be bonkers if California could create such onerous regulation.

In law analogies only get you so far. I'm pretty sure that things like food labeling were challenged in courts and were found to not violate 1st amendment but the onerous requirements California tries to impose here are not even close to use them as some kind of precedent.

kjksf··on Landlords Are Pushing the Supreme Court to End Rent Control
Good for them but how is it just and fair?

Why your friends get cheap rents and not my friends who would also like to have cheap apartments in SF?

How is it fair that everyone who doesn't have rent controlled apartment is paying more for their apt than they otherwise would, as dictated by supply-demand 101.

How is it fair that a private entity (a landlord) subsidies another private entity (renter) under threat of government violence?

In any other business context (e.g. selling cars) such rules would be beyond the pale.

Can you imagine the government telling Ford that if a buyer meets some criteria Ford has to sell them F-150 at 40% discount? It sounds absurd but this is what rent control is.

kjksf··on Landlords Are Pushing the Supreme Court to End Rent Control
Citizen United is bad but this has nothing to do with it.

It's just a lawsuit against NY that the plaintiffs hope to get in front of Supreme Court and win there.

The article insinuates there's lobbying involved but it's mum on the details i.e. what exactly they are spending money on given that it'll be decided by 9 judges.

Furthermore, I believe Citizen United is specifically about spending money on political candidates and whatever lobbying this is, it's not that.

kjksf··on Experimental Alzheimer's Vaccine Shows Promise in Mice
https://www.youtube.com/results?search_query=diabetes+alzhei...

https://www.webmd.com/alzheimers/alzheimers-diabetes-link

You'll find numerous researches talking about this link.

kjksf··on Tesla committed fraud by “grossly” exaggerating EV range, class action says
It's not an anecdote, it's physics.

EPA created a repeatable test where the car runs at a certain speeds, most likely without wind resistance.

If you drive faster, the car will use more energy per mile therefore will have lower range than the EPA estimate.

If you drive slower, they car will use less energy per mile therefore will have higher range than the EPA estimate.

If there's head or side wind, the car will use more energy => lower range.

Someone drove Model 3 for 606 miles, at extremely low speeds: https://www.theverge.com/2018/5/29/17405906/tesla-model-3-hy...

kjksf··on Tesla committed fraud by “grossly” exaggerating EV range, class action says
Depends.

If the plaintiffs have a sworn, signed statement from the person claiming that then it could be presented as evidence during the trial, subject to cross-examination.

If all they have is the article it's hearsay i.e. "evidence based not on a witness's personal knowledge but on another's statement not made under oath"

Also known as: bupkis.

kjksf··on Tesla committed fraud by “grossly” exaggerating EV range, class action says
When you look at web page of Tesla (or any other EV manufacturer), when they describe the range it's always "est. EPA range".

This is 100% truth. It is an estimated EPA range.

What's more it's often actually measured by an EPA. The Reuters article that spurred this lawsuit said that EPA, not Tesla, tested 6 Tesla cars since 2020. That's at least half of them (Tesla has only 3 + 3 + 2 + 2 = 10 different models on sale in U.S. although they have to re-certify if they change the battery).

kjksf··on Experimental Alzheimer's Vaccine Shows Promise in Mice
It merely slows progress of Alzheimer i.e. stops progress of brain inflammation.

Strange that they call it a vaccine.

Nomenclature aside, it's even better to not develop the inflammation in the first place.

And it can be done with a simple (but difficult) change: stop eating insane amounts of sugar and carbs that most people eat in standard American / western diet.

This prevents diabetes (because diabetes is "too much glucose in your blood" disease and not eating sugar (glucose) and carbs (are converted to glucose by our body).

Elevated levels of glucose trigger elevated levels of insulin. If it persists for long periods of time, it causes inflammation in our body, including brain.

This inflammation caused by diabetes is believed to be main cause of Alzheimer. Some scientists even call Alzheimer a Type 3 diabetes.

As to "insane amounts of sugar": you probably consume insane amount of sugar without knowing your doing it.

The optimal amount of glucose in our blood in 3 grams, which is 6 grams of sugar.

A daily recommended dose of sugar is 25 grams for women and 36 for men.

A single can of coca-cola is 33 grams of sugar. That's more than a daily sugar budget for a woman and almost daily budget for a man.

An average consumption by an American is 76.7 grams i.e. 2x daily recommended dose.

kjksf··on Man spends entire career mastering crappy codebase
Being good at C++ is very much a transferable skill.

I'm sure he could learn STL (standard C++ library) in a fraction of time it would take someone else to become proficient in C++ in general.

kjksf··on Microbially produced protein that is much sweeter than sugar
This thing is a protein, not a carb.

Sugar is glucose and carbs are converted to glucose. Glucose leads to production of insulin. Too much glucose leads to too much insulin production which leads to diabetes. Diabetes is basically "you have too much insulin in your body" disease.

Protein builds your muscles and bones.

Sugar bad. Carb bad. Protein (and fat) good.

kjksf··on Microbially produced protein that is much sweeter than sugar
Most people are already addicted to that.

It would still be of great benefit to replace sugar with much smaller amount of protein.

Overconsumption of sugar (glucose) leads to diabetes which leads to metabolic / autoimmune issues. Basically it fucks up your body inside.

Overconsumption of protein doesn't fuck up your body and it's much harder to over-eat protein that it is to over-eat glucose.

kjksf··on Microbially produced protein that is much sweeter than sugar
The problem really is overconsumption of glucose which creates overproduction of insulin which over time (years) make you fat (overweight or obese), insulin resistance and type 2 diabetes.

Diabetes is basically a state of elevated levels of glucose and insulin in your body which fucks up your metabolism.

So addiction to sugar is bad mostly because it causes overconsumption of glucose (sugar is 50% glucose, 50% fructose).

And almost everything you buy in grocery store is loaded with sugar: coke, red bull, cereal, all the sweets, cakes, pastries even things like yogurt or ketchup.

So in theory if if replaced all the sugar in all the products with this thing and it didn't have harmful effects on the body by itself, then we would greatly reduce the consumption of glucose so it stands to reason we would greatly reduce diabetes.

You can still get too much glucose by over consuming carbs (bread, pasta, pizza, rice, tomato, anything with flower) but it's much harder to eat 5 pizzas than to drink 5 liters of coke loaded with sugar.

kjksf··on Microbially produced protein that is much sweeter than sugar
Fructose is not just in fruit. Table sugar is 50% glucose and 50% fructose.

In extreme moderation nothing is unhealthy. One drink a week, one cigarette a weak, a teaspoon of sugar a day or one fruit a day are all perfectly fine.

Overconsumption is unhealthy.

Fructose is more unhealthy than glucose because glucose is absorbed by your whole body and fructose by your liver.

Liver is small so it's easier to over tax it. Just like a car engine will fail faster if you drive at max speed all the time, your liver will stop working well if you constantly overload it with processing fructose.

Fructose turns into fat which is deposited in your belly (you get fat / overweight) and in your liver, which is worse.

It leads to fatty liver disease i.e. the fat prevents optimal liver functions which leads to insulin resistance, type 2 diabetes and other metabolism / autoimmune issues. You're more likely to catch a flu or die from covid.

https://www.vegetariantimes.com/health-nutrition/nutritionis...

kjksf··on GM to use Tesla charging network, joining Ford
Not really.

The rule is: if government is subsidizing the chargers, it must be available to all cars.

Which is more than fair.

The current Tesla superchargers were fully funded by Tesla, so that requirement doesn't apply.

If government gives Tesla money to build a supercharger then this (and ONLY this) supercharger needs to be available to every car. Which Tesla would do by adding CCS connector to those superchargers and provide an app where you, an owner of Ford or GM car, can create an account and charge using that CCS connector.

That doesn't require Tesla to open the design of the connector.

What GM and Ford is (probably) paying here is access to 12 thousand of superchargers that Tesla build and paid for and things like API access etc. so that they can implement seamless billing for charging in their apps (as Tesla does in Tesla app) or get real-time information about availability of chargers so that they can do route planning that takes into account location of superchargers.

kjksf··on GM to use Tesla charging network, joining Ford
Tesla's supercharger network was funded by Tesla.

Those are:

a) recommendations, not rules

b) for government-funded chargers

Even if those were rules, not mere recommendations, they would not apply to this deal.

kjksf··on GM to use Tesla charging network, joining Ford
The design is open which means that GM or Ford can build their own adapters and their own chargers.

The deal is for access to Tesla's supercharger network.

The superchargers cost money to produce, install and maintain.

The land on which they are installed costs money to lease.

Tesla installed, in US, over 12 thousand chargers and the rumored cost of a supercharger is about $50k. That's $600 million, not counting the land and other costs.

Those chargers are Tesla's property.

It would be preposterous for government to meddle in a business deal where Tesla sells access to their property to others.

Ford and GM are free to build their own supercharger network but I'm guessing that they would rather pay Tesla than spend $600 million and 10 years to build something that is only as good as what Tesla has today.

kjksf··on Tesla Model Y overtakes Corolla to be world’s best-selling car in 2023
The talking point about Tesla reliability is outdated.

Model 3 was one of the most reliable cars in Germany in 2022.

"Germany’s ADAC, which is the largest automobile club in Europe, published the results of its latest reliability study, which analyzes vehicle breakdowns and their causes in 2022, and the Tesla Model 3 ranked at the top of the chart."

https://insideevs.com/news/667690/tesla-model-3-reliability-...

kjksf··on Performance excuses debunked
Casey obviously can't know what financial impact of those changes were at Twitter, Facebook or Microsoft.

But Ockham Razor tells us they did spend significant effort on performance because they had a reason to do it.

kjksf··on Performance excuses debunked
Everything cannot be important.

If you say that maintainability, extensibility, legibility etc. etc. is more important than performance then you are, in fact, saying that performance is NOT important.

But those are mostly just the excuses that Casey is ranting about.

There's nothing inherent in writing fast code that makes is not maintainable, not extensible, not legible not etc., not etc.

In fact, the things that make code less maintainable and less legible are often the things that make is slower.

Things like replacing new Foo() with FooFactory and replacing FooFactory with FooFactoryProvider and then encoding logic in XML files.

Those are things that people do way more often that writing SIMD intrinsic.

And there are those who way overemphasize supposed "legibility" over performance.

In JavaScript land you get legion claiming that the world will end if they rewrite unnecessarily slow map(), filter(), forEach() etc. with a regular for loop.

kjksf··on Verified accounts are now prioritized
Paid spam accounts are removed as well, which you left out of your analysis.

Buying an account doesn't give you un-suspendable account.

All spam detection techniques are applied to paid accounts and they are removed as well.

This not only raises the cost but difficulty.

Just having money is not enough. Detecting 10+ payments from the same credit card is trivial.

There aren't infinite amounts of valid credit cards or Apple accounts to be used for verification.

kjksf··on Ban on Tenure for New Faculty Hires Passes Texas Senate
Here's the problem with your "admins are so absolutely necessary" argument.

Per https://mndaily.com/193678/uncategorized/statistics-show-inc... between 1999 and 2010 admin jobs increased 75% across universities.

Per https://yaledailynews.com/blog/2021/11/10/reluctance-on-the-... over the last 20 years, the number of managerial and professional staff that Yale employs has risen three times faster than the undergraduate student body.

So were universities in 2000 providing unacceptable level of admin service or was the level of service just fine and they got bloated because they could, not because they needed to?

kjksf··on Ask HN: Side project of more than $2k monthly revenue? what's your project?
A paying customer of pirsch with feature request for the dashboard: for page views stats, could you make more space for urls?

My urls aren't even that long but get truncated because they get only 30% of the space.

Make more space for links: allow me to hide some columns and persist that across sessions. I really don't care about bounce rate or percentages.

Also, a deadly sin of arrogant designers: in your infinite wisdom you decided to to limit the width of that page so even if I go fullscreen I don't see the full URL but a lot of unused space. Why do you hate me?

kjksf··on PrimateJS: Svelte and Htmx Quick Start
It's a combination of capabilities and productivity.

To use a concrete example from another app I built: it's a web-based file browser for S3 (think Norton Commander for S3 on the web).

You enter S3 creds and my backend code gets a list of files and sends to the client as JSON. I generate UI (HTML) from that JSON.

Could the backend generate that HTML? Not really, because it's not just a static list.

It's a sophisticated file browser. The user can double-click to "enter" a directory, navigate the list of files with a keyboard, right click to get context menu with options to delete, rename files etc.

My UI (HTML) needs to be mutated and it's not even possible to offload those kinds of things to the backend because they are driven by the state in the client (mouse movements, keyboard events, scroll events etc.).

That's the capability part: a lot of things can only be done in the client.

As to productivity: even if the needs are not as sophisticated, my productivity in Svelte is off the charts.

Let's say you just generate static HTML for the list of files.

Generating HTML is a very iterative process: you start with the basic structure, you try it and then you tweak the CSS to make it look better.

Since my backends are in Go, changing a single line of Go code requires killing the server, rebuilding it and restarting it and since I lost all the state, re-doing all the steps needed to get to a page I'm working on.

My iteration loop per single change is minutes and very annoying.

With Svelte I have an amazing HTML templating language and with HMR (Hot Module Reload) I often don't even have to refresh the page: I change my .svelte file to, say, add a class to <td> element, I save it in Visual Studio Code and the page get magically refreshed with new visuals, without loosing the state.

My iteration loop is basically nothing.

Over many iterations, that all adds up.

kjksf··on PrimateJS: Svelte and Htmx Quick Start
I did a couple of project in Svelte (proof: all the tools on https://onlinetool.io/ are in Svelte).

I understand (I think) what htmx does.

I don't get at all the need to add htmx to Svelte.

It looks like cargo culting because Svelte does what htmx does and more.

htmx has a use case where you mostly generate html e.g. on the backend and then want to sprinkle bits of interactivity by making it easy to replace parts of your HTML with another HTML generated by the server.

Svelte has it's own, superior, way of doing interactivity. The whole point is to make it easy to generate HTML client side. Anything you would want to do with htmx you can do just in Svelte. You've already paid the price (setting up Svelte transpilation toolchain) you might just as well get all the benefits of Svelte.

kjksf··on Dashcam footage shows driverless cars clogging San Francisco
When exactly did that imaginary, completely made up "sparing of taxes" ever happened?

This is San Francisco. The only thing I ever hear from politicians is an additional tax, on top of all the other taxes.

But prove me wrong: when in the last 10 years did San Francisco "spared" or lowered taxes?

San Francisco has a budget of $14 billion dollars.

Paris, France: €4.4 billion euro.

The issue is not lack of money but mind boggling, ineffective, corrupt spending of the money.

kjksf··on RAM’s New Electric Pickup Truck Aims for Battery Range of 500 Miles
Gross Vehicle Weight: Model 3 is 100 pounds lighter than BMW 3 series.

https://www.truecar.com/compare/bmw-3-series-vs-tesla-model-...

kjksf··on RAM’s New Electric Pickup Truck Aims for Battery Range of 500 Miles
Do you have EVIDENCE that production of batteries is VERY toxic?

What, specifically, is toxic?

How do you measure this toxicity?

How does it compare to, I don't know, digging oil in the middle of ocean, occasionally spilling it into ocean or earth.

Plus all the toxic CO2 generated transporting the oil all over the world and then burning it in gas engine.

You don't get to throw around FUD about vague, undefined "toxicity" supposedly involved in making batteries.

When you're CONFIDENTLY making such claims, provide definitions, numbers, supporting evidence and compare and contrast with the thing electric batteries are replacing i.e. the oil industry which involves digging out oil, refining it, distributing it and a few wars to protect it.

kjksf··on Tesla ordered to pay more than $3M to former worker in racism suit
Nothing (except lawyers fees).

It was Eberhard who sued Musk trying to get the courts to declare that only he and Tarpenning can be called co-founders of Tesla.

And that backfired because the judge declared that, actually, Musk and JB. Straubel are also co-founders of Tesla.

https://www.tesla.com/blog/judge-strikes-claim-who-can-be-de...

kjksf··on Tesla ordered to pay more than $3M to former worker in racism suit
Yes, because they wanted $160 million which is what their lawyers wanted in the second trail.

In the first suit jury awarded $137 million, judge lowered that to $15 and they had an option to get that or have a new trial.

They went with a new trial.

So yeah, it was all about the money.

← PreviousPage 12 of 34Next →