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 US banks have $620B of unrealized losses on their books
For one there's an election in 2024.

High interest is killing stock market returns.

No administration wants to enter election season with decimated stock market.

Hence, if nothing else, there will be political pressure on FED to lower interest rates to juice up stock market.

Second, some kind of recession is expected by many so if it happens, that will a reason to cut rates.

kjksf··on US banks have $620B of unrealized losses on their books
This is the same FED who said "inflation is temporary" and then hiked rates like krazy.

I'm not saying this is proof that they won't hike rates, just that what they say should be heavily discounted.

They might just pivot on a dime.

What I find interesting is that literally everyone is saying that FED is wrong.

Like find me anyone outside FED that says: yeah, rising rates is good.

Granted, many people who comment (wall street) have self-interest in rates being low but I don't think there's any notable economist who isn't critical of FED.

kjksf··on A student's guide to startups (2006)
Gates didn't steal anything.

In fact, when IBM came to Microsoft to talk about licensing their programming languages for the PC, it was IBM who wanted a packaged deal i.e. get the OS from Microsoft as well.

And it was Gates who told IBM reps to go talk to Kildall.

Only when Kildall apparently blew them off Gates took a great risk by promising to deliver an OS as well. And he did it by buying an existing product to use as a base and evolving it.

It's all well document from both Microsoft people and IBM people.

kjksf··on A student's guide to startups (2006)
Impossible to comment without you providing specifics of the things that founders do that are so obviously wrong.

You're also giving way, WAY, WAAAY too much credit to "experts".

Two prominent counter-examples: AirBnB and SpaceX.

If AirBnB founders asked anyone involved in hotel industry, they would tell them it'll surely fail. The laws, the liability (what if someone trashes the place?), who will want to sleep in stranger's bed? who will allow strangers to sleep in their bed?

And yet AirBnB is amazingly successful.

Not because those were not valid concerns but because they were overblown.

Same with SpaceX: it was ridiculed on principle (what does internet guy know about rockets?) and it was ridiculed for their methodology (fail fast, iterate quickly, blow up rockets to learn from failures).

Armstrong, the guy who landed on the moon, testified before Congress telling them to not award SpaceX any contracts because they will surely fail.

Doesn't get more "expert" or more wrong than that.

Also, framing "fake it until you make it" as "manipulative" suggests that you're coming at this with some chip on the shoulder. The nature of learning is that first you don't know and then you know.

If only experts could do stuff then there would be no experts. Even Einstein didn't know physics.

kjksf··on Ask HN: Successful one-person online businesses?
I've collected 53 stories from past HN discussions: https://blog.kowalczyk.info/article/wjRD/solo-founders-with-...

And another batch: https://blog.kowalczyk.info/article/81714acf995e4968bb220684...

There's also @levelsio who's killing it with multi-million / year solo business: https://blog.kowalczyk.info/article/de943f80c7924745abf9405f...

kjksf··on a[low:high:max] in Golang – A Rare Slice Trick
Maybe you shouldn't play game of telephone like that.

Go generics are exceptionally well designed.

The reason it took so long for Go to get generics is because Go designers took their time to arrive at a design that fits with the rest of Go.

It's not rushed, it's not "bolted on".

They did several designs that they rejected before they accepted the design that got implemented.

kjksf··on a[low:high:max] in Golang – A Rare Slice Trick
Because nil is a special thing in Go.

nil is not a value, it's a predeclared identifier.

it represents zero value for pointers, interfaces, maps, slices, channels and function types, representing an uninitialized value

len(nil) feels like it should work if you think of nil as the same as "value of empty array"

but what should be:

  var p *Struct
  len(p) 
  ???
There's no "length of zero-valued pointer".
kjksf··on Copyright Registration Guidance: Works containing material generated by AI
Applying color balancing in photoshop doesn't make the original image taken by a photographer the product of a machine.

Laws are not black and white.

The whole point of lawsuits and lengthy opinions by judges is to have a nuanced interpretation of the law.

If the whole movie would be generated by a computer from a single sentence then yes, it wouldn't be copyrightable.

But as long as producing movie involves human screen writers, human directors, human performers, human camera operators etc. they are obviously creative works of those humans and therefore copyrightable.

kjksf··on Copyright Registration Guidance: Works containing material generated by AI
And it doesn't matter because anyone can use the AI to produce thousands of similar images with little effort.

All those tools have randomization so they don't produce the exact same image for the exact same prompt.

The value of an image produced by AI is very low because the cost to produce it is very low.

No point in committing federal fraud by falsely claim you made them.

> no one can dispute that

Of course I can dispute that.

I can even prove you didn't make the AI image by asking you to produce a work of similar quality under supervision.

If all you can do is type AI prompts into a computer, good luck producing an actual painting.

kjksf··on First Republic Bank Executives Sold $12M in Stock in Months Before Crash
Or it means the CEO wants to buy a yacht.

Either way if you think it's such a strong signal about company's prospects, go ahead and short companies whose CEO are selling the stock.

CEO stock sale is public information. Disclosing those sales is mandated by FCC.

You have no excuse for not being very rich.

Alternatively, CEOs are selling stock for variety of reasons and you can't make judgements about the company with confidence greater than 50%. And lower confidence is basically a random coin toss.

kjksf··on Lessons learned from 15 years of SumatraPDF, an open source Windows app (2021)
Retired thanks to TSLA.

> Do your open source projects help with getting new gigs?

I think it did a bit but not as much as I think it should.

You would think seeing a proof someone can deliver a complex app by themselves would be enough to skip the coding part of the interview, but then you would be wrong.

kjksf··on Lessons learned from 15 years of SumatraPDF, an open source Windows app (2021)
SumatraPDF author here. Glad people like the software for the reasons I thought the would (small, fast).

If you haven't already: use Ctrl + K (Command Palette), a better way to operate the program than menus etc.

Also I'll plug my latest project: I "ported" notepad2 to web:

https://onlinetool.io/notepad2/

It's 85% done i.e. some functions are not implemented.

On Chrome / Edge it can even read / write files from your computer (needs File System API). Otherwise files are stored in the browser in IndexedDB.

Not sure if it makes sense but here it is.

kjksf··on “Here's the number I used to win the lottery“ –Entrepreneurs giving advice
Those are not the odds, just his success rate.

If you do everything badly (i.e. come up with bad business ides, cannot implement even those bad ideas, are bad at hiring, managing money, paying taxes etc.) then your success rate will be 0%, not 20%.

The issue here isn't about how hard starting a business is. It's obviously hard enough that many (most?) people who try will fail.

The issue is: can you do things better? Is doing things better lead to higher probability of success?

The "it's all luck" people say that you can't. There is no better or worse way. It's just luck. Therefore any advice is useless.

The opposite point of view is: yes. There are better and worse ways of doing things. And if you know what they are then you can tell other people. And that advice will help them to achieve success. But not guarantee.

kjksf··on Ford Hires 550 Former Argo.ai Engineers, Creates Latitude.ai
Well, Ford (and VW) were major investors in Argo AI.

Argo AI ran out of money, no-one else was willing to put more money in so Argo AI had to shut down.

It looks like Ford effectively acquired the company by hiring all the people (who would otherwise be out of the job) but without actually acquiring the company.

They waited for the company to dissolve and then picked up (most of?) the people. I'm sure it was possible because of the prior investment and relationship with the company.

kjksf··on The US Supreme Court doesn’t understand the internet
Here's the difference:

TV network made a deal with the government (FCC): they got a monopoly access to a limited resource (spectrum).

In exchange they agreed to limitations set by FCC, like decency standards.

Limitations that go beyond what the law, as created by congress, requires.

YouTube or Facebook didn't make a similar deal with FCC because they use unconstrained resource (internet bandwidth).

Furthermore congress did the right thing and created a law explicitly calling out this scenario and made internet companies not liable for user generated content.

Why did they do it? Because without that there would be madness.

kjksf··on Facebook Announces Meta Verified
Uber re-wrote their 1 million loc mobile app in 3 months.

How much time should it take to implement a subscription payment?

With all the respect to Facebook scale, more than 1 month would be a failure.

I'm not saying that Facebook did it because Twitter did it, but the timing of it seems more than a coincidence and they are using the same justification for doing it as Twitter.

It's quite likely that Twitter doing it successfully overcame the risk aversion that large corporations are oversupplied with.

https://blog.pragmaticengineer.com/uber-app-rewrite-yolo/

kjksf··on 1 Dead After Tesla Slams Into Fire Truck on I-680 in Walnut Creek
Based on how many times those crashes hit HN home page: 0.

Reality: quite a few if you bother to Google it e.g. hhttps://www.google.com/search?q=bwm+crashes+emergency+vehicl...

Obviously there are no statistics for "brand X crashes into fire truck" so unless you have data to the contrary, you can assume that the rates are more or less the same.

kjksf··on Gigapresses – the die casts reshaping car manufacturing
Munroe addressed this complaint and his point was: if the collision is bad enough that it damages that cast, it would total a non-cast car as well.

Plus you have to reason on the level of systems, not components.

Single-piece rear casting replaces 70+ parts.

Those parts have to be welded together by robots.

Each weld is a potential failure point.

Casting produces more reliable car with less variances which ends up lowering repair costs on global (system) level.

https://twitter.com/Tesla/status/1513886756923445254

kjksf··on Tesla to open some superchargers to other vehicles
What do you own and where are those magic EV chargers that don't require you to do SOMETHING other than plugging in, like swiping a credit card or some such?
kjksf··on Tesla to open some superchargers to other vehicles
> It’s no surprise that he is resistant.

For many years now Tesla offered other car makers to use Tesla's superchargers as long as they chip in some of the cost of building it.

It was a fair offer that no car maker took.

The Fed offers a fair deal: free money under the condition of chargers being open to all.

Tesla was always willing to open supercharging to others under fair terms so it's incorrect to label Musk as "resistant" to this. If he was "resistant", Tesla wouldn't take the deal.

kjksf··on Tesla to open some superchargers to other vehicles
You both absolved car makers of their strategic incompetence and stretched the idea of "anti-competitive" beyond breaking point.

I get why car makers don't want to do charging - it takes capital, it takes away focus and historically it's not what they do.

But customers do not car what's easy of convenient for the business.

Tesla saw the chicken and egg problem and solved. It was risky (especially for a company that, at the time, was loosing money) and costly but they saw the obvious truth: without wide spread, convenient network of chargers people will not buy EV cars.

They also publicly declared that if any other car makers wants access, all they have to do is to chip in some of the cost.

That was more than fair and consistent with their goal of accelerating transition to sustainable energy. They were not hoarding the superchargers, just looking for a fair deal.

No car maker took them up on the offer, despite that being the right thing to do for their customers and to grow EV market overall.

I don't see why competitors should now benefit from the hard work and billions of dollars that Tesla invested into their supercharger network.

The feds are giving companies free money so it's fair that they require open access and it's the deal Tesla always thought would be fair, which is why they took it.

kjksf··on Gigapresses – the die casts reshaping car manufacturing
All EVs are subsidized and pretty much all of them (except Tesla) are loosing money while Tesla has industry leading gross and operating profit margins.

So it's definitely not subsidies.

On a definitional level, gross profit is difference between price and cost.

Tesla has biggest difference which implies that it's a combination of charging higher prices and having lower production cost that other.

kjksf··on Gigapresses – the die casts reshaping car manufacturing
Fun fact: Musk says that when Tesla was thinking about doing gigacasting, they called 6 suppliers of those machines asking if they can make 6 gigaton machine (which didn't exist at the time).

5 out of 6 said "no" and 1 said "maybe". I'm guessing that "maybe" was IDRA and they made 6 gigaton, then 9 gigaton (already in Texas for making Cybertruck) and there are rumors of 12 gigaton machine in development.

Another fun fact: Tesla body line pre gigapress was 1000 robots.

Doing front casting removed 300 robots, rear casting another 300.

So Tesla saved 600 out of 1000 (60%) robots, so the line is shorter and faster.

kjksf··on Jsdoc Cheatsheet
JSDoc provides type annotations in comments.

They are (mostly) not for you.

They are for the tooling, including your editor, to detect that your declared foo(bar: string) but you're calling it as foo(5).

The value of JSDoc is the same as value of TypeScript: add static types to your code to detect bugs.

And yes, it works in practice.

I started using JSDoc quite recently.

I don't enjoy adding those type annotation comments but undeniably they (and VS Code tooling, jsconfig.json) detect errors that, if not fixed, would end up blowing up at runtime and causing me to spend more time fixing them.

kjksf··on Musk Defeats Tesla Shareholder Suit After Trial over 2018 Tweets
It's a strange framing of what happened.

Musk didn't battle the shareholders.

He was accused of doing something illegal but after both sides presented their story to the jury of our peers, the peers found that he did not, in fact, do anything illegal.

So it's more like shareholders falsely accused him of doing something illegal and the courts found that he didn't.

kjksf··on Flutter desktop isn’t there yet
I don't know about Rust but Go doesn't.

And probably never will. There are a bunch of projects but they are not very good or complete.

The problem is that "good" requires massive amounts of work that is beyond the capacity of single person / small team of volunteers i.e. typical open source project.

Which is why Flutter (and Electron) are the only reasonable technologies for desktop apps that I see today (and in the future).

They get majority of investment from other place: 99.99999% investment in Electron is investment in Chrome.

99% investment in Flutter Desktop is investment in Flutter Mobile.

Flutter Desktop and Electron will continue to benefit from massive investments in Chrome and Flutter Mobile. No other project building desktop UI can come anywhere close this level of investment.

kjksf··on Flutter desktop isn’t there yet
In March 2021 there were 150 thousand Flutter apps in Google Play store.

In May 2022 - 500 thousand.

See: https://www.nomtek.com/blog/flutter-app-examples

Today: I'm too lazy but you can google for more up-to-date stats.

"nobody" is gigantically wrong.

Flutter is extremely popular in mobile.

Web and desktop support is behind but it'll improve and popularity of Flutter on desktop and web will grow too.

kjksf··on The pool of talented C++ developers is running dry
Yes, but you should specialize in domain and not programming language.

It's better to be a specialist in JavaScript + crypto than forth.

If crypto doesn't pan out, you're still a JavaScript developer that can get a non-crypto job.

If forth doesn't pan out, you have to become JavaScript developer to get a job.

kjksf··on The pool of talented C++ developers is running dry
In the context of this discussion Perl is an exception that proves the rule.

There are no Perl jobs because Perl was supplanted by Python and Ruby and embarked on a disastrous Perl 6 journey.

This will not happen to node.

JavaScript is and will continue to be for the next 10 years the most popular programming language ("popular" == "most jobs") because it has monopoly in the browser.

As a result JavaScript will continue to be used in other domains (backend, desktop, mobile) due to sheer number of JavaScript programmers. Quantity is a quality of its own.

So node (and deno and bun) will continue to be used and there will be plenty of jobs for JavaScript programmers ("node" programmer is 90% JavaScript programmer and 10% "node specific APIs" programmer).

Of all programming languages that you worry might disappear in the future, JavaScript is at the end of the list.

kjksf··on Ask HN: Who needs beta testers?
https://onlinetool.io/gisteditor/

Gist editor and manager - a better UI for managing and editing GitHub gists.

Contact info: https://blog.kowalczyk.info/contactme.html

← PreviousPage 13 of 34Next →