Better HN
topnewbestaskshowjobs
Log inSign up

kenshi

882 karma · joined Feb 20, 2007 (19y ago) · 206 submissions

[ my public key: https://keybase.io/kenshi; my proof: https://keybase.io/kenshi/sigs/csYlrkIKMecrjpizDEM8jX5rdzbexf7FO8yNNULvKLY ]
Submissions

comment 6mo ago · link · parent

I wrote an explainer for monads because I think they are typically explained in a terrible way for the working programmer.

Would love any feedback on this.

2.

Monads Are Easy(krishna.github.io ↗)

2 points · by kenshi · 6mo ago · 1 comment

comment 6mo ago · link · parent

Thanks for posting this!

I've started looking into the history of Postscript because I was looking into the idea of "sending a program not a data structure".

Some thoughts so far: https://krishna.github.io/posts/send-a-program-not-a-datastr...

comment 7mo ago · link · parent

This sounds cool. You mentioned Swift's macros - would you mind talking a bit how you are using them?

5.

Send a Program, Not a Data Structure(krishna.github.io ↗)

2 points · by kenshi · 7mo ago · discuss

6.

Stop Playing Flappy Bird with Your New Year's Goals(suntreeapps.com ↗)

3 points · by kenshi · 10mo ago · discuss

comment 1y ago · link · parent

Yes, you can use SPM to package up Objective-C code.

8.

Showing the Sketchbook(krishna.github.io ↗)

1 points · by kenshi · 1y ago · discuss

comment 1y ago · link · parent

I should have included the following information in the blog post (will update it later!):

I usually have:

- 45g of air popped popcorn (64 calories).

- 5 to 10g of butter (37 - 74 calories).

- couple of garlic cloves (10 cals).

10.

The creative tension between developer and language(krishna.github.io ↗)

18 points · by kenshi · 1y ago · 1 comment

11.

The Garlic Bread Hack(suntreeapps.com ↗)

41 points · by kenshi · 1y ago · 17 comments

12.

AI: The Magic and the Fear(krishna.github.io ↗)

2 points · by kenshi · 1y ago · discuss

13.

What It Takes to Ship(krishna.github.io ↗)

2 points · by kenshi · 1y ago · discuss

comment 1y ago · link · parent

Most people are consumers, not creators.

15.

The Many Types of Polymorphism(krishna.github.io ↗)

1 points · by kenshi · 1y ago · discuss

16.

Programmer Junk Food(krishna.github.io ↗)

2 points · by kenshi · 1y ago · 2 comments

17.

Paint the Whole Canvas – Limiting Beliefs of Specialization(krishna.github.io ↗)

1 points · by kenshi · 1y ago · discuss

comment 2y ago · link · parent

Probably my favourite book on programming. Thanks for posting it here - I'll have to make time for a re-read of it.

19.

Build and Show Your Weird Idea(voidstar.ghost.io ↗)

1 points · by kenshi · 2y ago · discuss

comment 5y ago · link · parent

Information arbitrage is one helluva social media drug.

comment 5y ago · link · parent

The thing that's "holding back" the iPad isn't hardware. It's the economics of the App store.

I'm sure Apple are very happy with the niche the iPad dominates in - it leaves plenty of room for Mac laptop sales.

comment 6y ago · link · parent

Maybe you just aren't going to be able to afford everything and will just have to make a choice about what you consume.

comment 6y ago · link · parent

I suspect Apple knows the developer experience for Swift is terrible (even if the Apple developer community at large is in mass denial about this).

The number 2 item on Swift Core Teams goals for Swift 6 is "Create a fantastic development experience". See: https://forums.swift.org/t/on-the-road-to-swift-6/32862

Whether anyone at Apple cares about documentation any more is another matter. A really sad state of affairs, because once upon a time, Apple had some of the best documentation out there. Of course, that was when they actively needed to court a developer community, and couldn't just announce something half-baked at WWDC and get mass adoption from enthusiastic developers.

comment 6y ago · link · parent

Could you talk a bit about the kinds of things you had to fight the compiler on?

Can you identify any idioms or approaches that seem normal or natural in other languages, but which are problematic in Rust?

comment 6y ago · link · parent

You are dealing with a lot, in a compressed period of time.

Try to remember that your first priority and responsibility is looking after your own mental, physical and spiritual (I don't mean this in a religious sense) well being.

In your situation, work really should be the lowest priority that you can afford to make it. If you can afford to take extended time off to deal with everything you need to, I would highly recommend that you give it serious consideration.

comment 6y ago · link · parent

It's only technically impossible if the system software and/or hardware can't be compromised/exploited.

If you are just going by the intent and marketing of any platform vendor, plenty of things are technically impossible. But exploits and flaws in software and hardware exist, and the resources a nation state can bring to bear to find and use them are significant.

There is a reason vendors run bug bounty programmes, why the jailbreak scene is still a thing, and cybercrime in general is booming.

No one vendor has solved computer security.

comment 6y ago · link · parent

I’d call you a person of taste and sophistication.

But more objectively, it is always a pleasure to come to some open source code base and know you have few worries about language churn incurring a maintenance cost.

comment 7y ago · link · parent

Why be a "staunch <Company X> supporter" at all?

It's one thing to admire the work/output of a company, but once you identify as a "Company X" supporter you are just closing yourself off to being critical of "Company X".

I cringe at every WWDC session when people applaud for minor features (new themes in Xcode!) and long overdue bug fixes.

I am embarrassed whenever someone online talks about a problem they have with Apple hardware or software, and they are met with passive-aggressive replies along the lines of "I've never seen that problem, what are you doing wrong..."

I develop for and use Apple platforms. I really like some things they have done, but I'd never consider myself an "Apple supporter".

I'm the customer, they are the vendor. They are here to support me.

If they don't do a good job at that, I'll try to find another company to take their place.

Also companies change, as do their priorities. There was once a period in when MS were making the best internet browser (really)...

comment 7y ago · link · parent

If it quacks like an alpha, is documented like an alpha, and is unreliable like an alpha... it's production ready because the vendor took the beta label off it.

Edits: typos

comment 7y ago · link · parent

> Flutter has its own layout rendering engine, and uses low level APIs in the browser to circumvent the default rendering.

Does this mean that Flutter on the web is really Flutter on Chrome? Or does is support other web browsers well?

1234567