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.
HN user
[ my public key: https://keybase.io/kenshi; my proof: https://keybase.io/kenshi/sigs/csYlrkIKMecrjpizDEM8jX5rdzbexf7FO8yNNULvKLY ]
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.
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...
This sounds cool. You mentioned Swift's macros - would you mind talking a bit how you are using them?
Yes, you can use SPM to package up Objective-C code.
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).
Most people are consumers, not creators.
Probably my favourite book on programming. Thanks for posting it here - I'll have to make time for a re-read of it.
Information arbitrage is one helluva social media drug.
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.
Maybe you just aren't going to be able to afford everything and will just have to make a choice about what you consume.
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.
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?
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.
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.
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.
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)...
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
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?
Sad to see your comment downvoted.
You'd think iOS device and Mac fans would understand well the sentiment of 'not wanting to be a second-class citizen'.
Frame the discussion around Material design in iOS apps, Electron apps vs native apps, and I'm sure all your downvoters would emphatically agree: no one wants to be a second-class citizen.
Like anything - they make the time.
Open plan offices do have some advantages:
- being able to put more employees in the space AKA being able to scale efficiently as the company grows
- easily able to group related employees together (perhaps on a per project basis)
- ad-hoc collaboration can occur
- easier/cheaper maintenance
How much of these advantages are actually leveraged in practice can vary greatly. (eg: If your company culture is cut throat or demoralised no open plan office is going to foster greater collaboration).
There are of course downsides to the open plan office, which I am confident other people will list on this thread.
edit: formatting
Meetups. Conferences. Hackathons.
A really good way to meet a lot of developers is to organise a meetup.
Find new (additional) friends who like to do sociable things. Meetup is a good place to find people like this. If you like a place which has its own subreddit (eg r/losangeles etc), you may find people who regularly do sociable stuff.
Turn solitary activities into group activities. If your friends are into a particular TV show, throw a get together/party where you hang out and watch and discuss that show.
Invite your friends who are into solitary activities to come along to some of your new found more group oriented activities.
- Practice a lot.
- For that authentic whiteboard performance feeling ask a friend to play the role of an interviewer.
- Maybe set up a local meet up to help people practice this interview skill
Thanks for taking the time to post all those informative links. Usually these kinds of discussions end up being people expressing what they like or dislike about the re-brand.
I'd suggest that a re-brand that didn't provoke a strong reaction was a waste of time.
A space filled with laptop users gives off a work vibe, and a somewhat anti-social vibe too, regardless of what they are actually doing on their machines.
Would you consider it pretentious for a library to ask noisy guests to leave?
If someone wants to run and maintain a social space, they have every right to prevent it from becoming a cheap office or work space.
I imagine most coffee shop and café owners intentionally didn't choose to go into the office rental or co-working space business.
It's more a case of too many laptop users in a space, transform what was meant to be a social space into a work space.
It changes the vibe and the mood.
VR online shopping could be a massive thing one day.
It is bullshit, but unfortunately mental health is an area that receives little funding. In a world where it feels like policy makers seem to only care about the bottom line, perhaps making an economic argument might help move the needle on taking mental health seriously. ¯\_(ツ)_/¯