Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 3y ago · link · parent

I mean the spaghetti takes 9 minutes to cook, right? Meanwhile a sunny side up egg is maybe 3 minutes?

I don’t have canned sauce (a me thing), I make it just by doing “olive oil in pan with garlic, then throw in some cut up tomatoes”. I really like this but it’s a thing. Pasta pot is of course bigger than a pan too.

But I’m more talking about the time commitment since mornings are usually “I want to eat ASAP”

And egg cleanup is one pan? Scrambled there’s a bowl but this is why God invented washing machines

Ultimately everyone has their own rhythm though

comment 3y ago · link · parent

Yes! I like trees a lot. I’m just commenting about how carbon captures scale is not aligned with trees capabilities on this front

comment 3y ago · link · parent

As a person who has to prep breakfast, spaghetti is probably the easiest non-breakfast-typical meal to prep and that’s like 5 times more work to prep than toast + eggs + yogurt + bananas.

Though I did experience “breakfast is for dinners leftovers” in one family and that seems to work well when planned for

comment 3y ago · link · parent

I think there’s some stats about the amount of co2 captured by planting an absurd amount of trees is pretty negligible

There are other reasons to plant trees (well, plant plants in general), notably around rehabilitating land that is on the verge of desertification or the like.

comment 3y ago · link · parent

In Europe isn't PayPal a bank? Therefore there might be three kinds of PayPal dollars?

comment 3y ago · link · parent

for transportation, there is one kind of out: synthetic fuel. It's 3x the cost of normal fuel at the moment, but in exchange you get a very dense form of energy storage that can be used with a lot of existing infrastructure.

comment 3y ago · link · parent

Function-ified visitor pattern I guess? Python's NodeTransformer[0] is a good example of a thing like this though only across AST nodes.

Going along some previous discussions about jq, and stuff like specter (for Clojure), I do think it would be cool if there were more syntactic niceties for path expressions, extracting data from nested data structures/lists/etc, and applying transformations on them.

Specter can have a "nice DSL" (for certain definitions of nice!) thanks to Clojure's macro functionality. Haskell lenses get somewhere thanks to custom infix operator syntax being a thing. I have yet to see a library that tackles this nicely without those two tools though.

[0]: https://docs.python.org/3/library/ast.html#ast.NodeTransform...

comment 3y ago · link · parent

I didn't mean to move goalposts, and I don't really believe this is something where you can be "right or wrong" about. Just expressing how I feel about it.

The thing I was implicitly thinking is that you might do that for somebody you care about, and ultimately things like debt forgiveness programs are also about giving compassion to people you might not know.

comment 3y ago · link · parent

I wonder how much it would cost to add extra tracks in places like the Seattle -> Eugene line (that I recently took, except that the trip back turned into a bus due to ... well, freight I think). It's mostly emptiness, my understanding is that actually laying the track isn't hard.

But the more I think about other rail networks, the more I feel like I almost never see multi-track lines. I think these lines are also being used for freight and yet... is the US really just running uniquely long trains for freight?

comment 3y ago · link · parent

> Giving people bad at personal finance a free ride is not

I get what you're saying but if you've ever gotten to "I now have enough credit card debt for it to be A Problem", the baseline level of stress in your entire life gets pretty high. That doesn't mean that suddenly everyone has "learned their lesson forever", but especially for stuff like "I was bad at personal finance in my 20s, and now I am better but the debt is still around and a problem", helping people with that debt can just make somebody's life much better.

Nothing is guaranteed but if it were a family member and you had a way to clear out some stuff for pennies on the dollar, it feels like the right sort of thing to do.

comment 3y ago · link · parent

I know these kinds of stories, and people like to say them. But they don’t distinguish from “spray water into the air to fix global warming” and “put iodine into table salt to fix an entire populations iodine deficiency”. Sometimes the simple solution works! The reality is that even simple solutions involve a lot of work at a large scale.

comment 3y ago · link · parent

I mean… “breathing in sulfur is bad for people’s health” is a documented issue right? Like the sulfur _is pollution_. That’s why we cared to get rid of it!

comment 3y ago · link · parent

The conspiracy-minded part of me really wants to link this year to the sulfur reductions in ship emissions kicking in this year. The fact that there's basically only one person really trumpeting this in a way kind of indistinguishable from things I know are false is hard though.

Hank Green pointing out that we could just spray water into the air to get the same effect (and avoid the whole "sulfur" thing in general) gives me a modicum of hope. But If it's all true I just have so many doubts in being able to act on this nicely. How would you even police giant ships to make sure they keep the "water spraying gun" running all the time?

comment 3y ago · link · parent

Is there a website with more info about where and when I should look?

comment 3y ago · link · parent

I think Emacs is appealing to those who want to quickly write customizations to their text editor.

When working on certain projects, I'll sometimes write a code snippet of elisp to handle some task I find myself doing a lot (things like "fold all fragments of this bespoke file format which includes some string"). The fact that Emacs Lisp is a "real programming language" is nice, and the way that it's very easy to inspect what a certain key command does means that you can very quickly set something up.

This lower barrier to entry is nice for people who really want to make things very close to right. Things like "set up a custom error checker based on this validator command and add highlighting to the text based on it" is as simple as setting up something in flycheck and setting up some regular expressions.

So I think it's interesting for people who like IDEs but want it to be easier to mold and understand, more than people who have a simple text editor but want "more".

comment 3y ago · link · parent

Yeah that's a good point. I know a couple events whose scheduling is "we ask the bar what day they usually have ~0 people, and we will instead bring 30 people". Always seems a bit limited to bars, but it's something!

comment 3y ago · link · parent

If you're sitting there playing card games (especially if you're young and cash-strapped), you're gonna hog a table for a while and order the bare minimum. All the while there might be people lining up to come in, or even worse people deciding against coming in cuz it's full.

This is more of a problem in high traffic areas ofc, but like on the weekend _lots of places_ are high-traffic.

Ultimately the deeper problem is that places like cafes and restaurants are mostly "give us money so we can pay the building's rent". The margins are super thin from the get-go, and rent is so high that places really really really need to cycle through people during peak hours.

High rent means smaller restaurants, means that (say) 4 tables locked in for a long period is a much bigger deal, and the variability is a much higher problem.

Of course if you go to a place that's very empty from the get go and is pretty big, people don't really care. Just that there aren't that many places like that in major traffic centers.

comment 3y ago · link · parent

Thanks for this info! I’m over near Asakusa so it’s a bit of a trek but seems fun

comment 3y ago · link · parent

Maybe not too cold, but definitely too hot to be in direct sunlight.

I meant chill in the “not caring that you are playing chess in the place”. Most cafes or restaurants here have express rules against playing card games or the like at tables, for example (for good reason)

comment 3y ago · link · parent

There are nice spots, but a lot of them do not want you organizing events inside them. Like many things this is all pretty funancialized (it doesn’t help that new constructions are almost all filled with chains staffed by part-time staff).

On top of that parks don’t tend to have that many tables (Yoyogi exists but Yoyogi is one park).

Community spaces kinda work but you need a quorum of people who live in the ward, so there’s some startup difficulties there.

Chess isn’t that popular but it’s a hell of a lot easier in many places to just take over a space during sleepy weekend AMs.

comment 3y ago · link · parent

I don't understand why people compare Go with Chess or Shogi like this. It's not a competition, they're entirely different kinds of games, and for the most part there's loads of people who play both anyways! Real "Trek vs. Wars" nonsense

comment 3y ago · link · parent

One thing that kinda sucks in Tokyo in particular is a dearth of just chill public spaces. I think Go and Shogi both benefit from incumbent status, with club spaces and the like existing. Chess meetups right now seem to be relegated to city community spaces (glad they exist!). But I was real jealous when I was in Brisbane for a bit and visisted a chess meetup that was just happening in a cafe. Also saw some kids playing in the local library. It's nice for there to be spaces that allow for activities that don't require an exchange of money beyond maybe buying one drink.

comment 3y ago · link · parent

jmespath does look like an interesting thing. Wish it weren't stringly-typed but that is a bit unavoidable.

comment 3y ago · link · parent

There's some variations of that (like MSN), but I gotta say having messaging tied to a paid service makes me feel a lot more comfortable with using it. I am paying for this! This is how the service works! No weird angles to it

comment 3y ago · link · parent

Oops, yep totally. Even more futzy! Think if I was doing this a lot I'd totally pull out one of those "dict wrappers that allow for attr-based access" that lots of projects end up writing for whatever reason

comment 3y ago · link · parent

data = json.load(sys.stdin)

commits = [elt.commit for elt in data if elt.commit.author = "Tom Hudson"]

json.dump(commits, sys.stdout)

Definitely not as straightforward... would be nice to have a bit more affordances for path expressions in Python.

comment 3y ago · link · parent

`json.loads` in Python exists, and Python does the intuitive thing when you do `{"a": 1} == {"a": 1}`, at least for most purposes (you want the other option? `is` is right there!). Stuff like argparse is not the easiest thing to use but it's in the standard library and relatively easy to use as well.

Not going to outright say that node.js scripts are the worst thing ever (they're not), but out-of-the-box Python is totally underrated (except on MacOS where `urllib` fails with some opaque errors untill you run some random script to deal with certs)

1
515253
225