Hacker News new | past | comments | ask | show | jobs | submit | kgabis's comments login

I went over "Writing an Interpreter in Go" and "Writing a Compiler in Go" but instead of doing it in Go, I did it in C. In hindsight it was a very good decision, because it forced me to write the code myself, instead of mindlessly copying it. After finishing the books I've spent some time extending the compiler I've written and I've published it on github (https://github.com/kgabis/ape). I've read Bob Nystrom's previous book, so I'm sure Crafting Interpreters is great as well, but I really recommend Writing an Interpreter/Compiler in Go.

An iphone todo app that's tailored for my needs and motivates me to commit to completing some amount of small tasks every day (even if it's just a single "rest and relax" task). Currently I'm building a prototype with SwiftUI and SwiftData and I'm struggling to comprehend why Apple is ditching Objective-C. Compared to my previous experience writing and publishing an iphone app, everything now feels much worse with Swift's ridiculous compile times and non-descriptive compile errors.


Open source yet? This sounds like a great project to learn how to build a small, but functional app.

    > I'm struggling to comprehend why Apple is ditching Objective-C
I never wrote code in ObjC nor Swift. Can you share more thoughts behind this statement? Like, is Swift a worse dev experience compared to ObjC?


This article is based on false premise: he was not arrested, only escorted by police to a parliamentary commission hearing.


LCOE doesn't make much sense when you think about it. It doesn't include storage necessary for intermittent energy sources, nor grid costs. It also doesn't account for how much variation there is in renewable potential geographically - 1 solar panel produces far less electricity in Poland than it would produce in Spain.


LCOE is good for marginal analysis, but quite bad for a systemic and holistic view


It's only 75Hz. Why can't they make a decent pro monitor with a reasonable refresh rate?


Apparently not much.


Definitely, cheap and predictable energy would be fatal for Australian economy.


First time I've heard of nuclear being a cheap technology to deploy



The sarcasm is heavy in that phrase, because it's always been promised by nuclear advocates and never delivered.


Considering it's lifespan and low external costs (like grid extension and energy storage for renewables) - it is cheap. What makes it expensive is politics.


Population of European Russia is ~110 million people so a bit more than Germany.


Shameless plug, but some time ago I've created a language where the main design goal was for it to be easy to use and embed: https://github.com/kgabis/ape.


I imagine it will happen when heatwaves and droughts start to be a serious issue.


Heatwaves are a serious issue already, try being one of the few hundred million people in South Asia/SEA with 3k annual income and no aircon during April 2024. School cancelled and outdoors work nearly impossible due to wet bulb temperatures nearing the threshold of human survivability.


I meant serious as in "this place is no longer habitable".


To be fair, wet bulb events are pretty much stage 1 of "this place is no longer habitable". Unless you mean "this place" as a opposed to "that place", then yes most people won't care until it happens to them.

I do suspect there might be a scare coming that will shock us out of that though. We will likely get to watch tens of millions of people in India and Pakistan die over the course of a few hot days at some point in the not too distant future.


I don't think it's binary, exactly. We have entered a grey area where large swathes or land near the equator is technically survivable but really sucky to live in, where one month of the year is spent sheltering from the heat in an air conditioned mall while you're barely working and your kids' school is cancelled, and the other 11 months of the year suck more than they used to but you're still surviving and working.

As we go from 2C to 4C warming that's when the mass deaths near the equator should start happening from the wet bulb temperatures due to sheer lack of AC in poor areas and households. But even then we might figure out logistics and information systems to get rural and poor people to the nearest mall when a heatwave is expected, which will be often. Assuming a blackout doesn't happen. They might not die if these systems work properly, but it'll be terrible for their economy and human development indices.

At 6C warming, it's just an even worse version of the above.

Whatever the case it's going to massively suck and the people who will pay the biggest price will be the people who have pumped the least amount of carbon into the atmosphere. Life is just structurally unfair.


What's that mean though?

We could still dig under the earth, and put AC in the tunnels, and ship food and water in from afar.

Do you mean, "no longer habitable at a certain price point" ? If so, what is that price point?


By uninhabitable I mean it would make no economic sense for people to live there.


Isn’t the whole issue that the real action will be too late given our currently technology?


And yet the comment you are replying to is probably the case.


I'm not downplaying global warming, but I do think the general public still is.


Nah. Politicians will still have the wrong incentives, and they’ll just let the poor die. Meanwhile the rich will buy up all arable land, and all land not largely affected. Following that, they’ll tighten control of national borders to stop waves of migration.


Until all the pitchforks are taken up again.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: