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 2y ago · link · parent

yeah, I meant "fun" perhaps in a more open sense of "people are not just annoyed at everything all the time", perhaps "relaxed" is the right word.

I am not a superfan of actual closet office given, like, CO2 and friends, but having at least semi-closed spaces with some degree of privacy for groups of people feels totally reasonable. I always think about how some grad students at my university (paired 4 off to an office) had a nicer-feeling office space than any tech office I've been to short of a handful

comment 2y ago · link · parent

A recurring theme in so many startups I've seen inside is how the CEO in particular is extremely aloof with regards to presence. Sometimes that translates to aloofness for staff, but what more often happens is that when the CEO _does_ come in they expect other people to be there. So long as the alignment is good they don't care, but when it's not aligned, they just assume nobody is ever around and get real pissy about people showing up on time.

Fortunately the "good" ones are able to disassociate how much of that emotion is just them being lonely vs how much of it is actual synergy-seeking or whatever. The worst cases are people who get real tyranical, on top of just like... outright not showing up to do the actual day-to-day work that they are blockers on. A proper theory of the mind can often be quite absent.

My really glib take on this phenomenom is that a not-insignificant chunk of decision making for HR stuff is "make the CEO fill the tip-top of their Maslovian pyramind". And to a lesser extent other executives who have decided that their job is their life.

Very annoying to listen to post-facto RTO arguments when you can feel the loneliness as the driving factor. Make a fun space, and make people's work schedules be loose enough to where they can actually relax in the space, and some people will show up! Or at the very least, give the CEO a fun side project to work on or something.

comment 2y ago · link · parent

> Enforcing copyright violations is as much about how you feel about IP as it is about, whom do we permit to make money? It's a big part of why Apple is so fucking rich. Should only Apple be permitted to make real money? I don't think so.

I read this and din't quite understand the argument, but realized (if I understood) this is saying that if you are a content host, then you need a lot of resources to deal with copyright violations, so it's hard to compete against these hosts.

Safe harbor in the DMCA isn't perfect, but a world without safe harbor would be a world with a lot less freemium products, that's for sure.

comment 2y ago · link · parent

Of course I've seen the opposite all the time. People who find issues with the conventional reasoning, and then apply their own _extremely faulty reasoning_ to reach their own conclusion!

Someone having incorrect reasoning doesn't mean they are wrong, just that they do not know (in the sense of knowing something for the right reasons)

Case in point: OP decided to wash the toaster in the dishwasher. Their story about walking through water assuming that their hair dryer experiment validated them walking through water with a bunch of sockets.... they are applying super hand-wavy reasoning in the same way as the critics are!

The funny thing about the whole piece is that while "an unplugged toaster through the washing machine is probably fine" is not a huge leap, so much in the PS is indicative of how I would not really trust this person much for their decision making

comment 2y ago · link · parent

I use fp.ts quite a lot! I think it's _extremely unfortunate_ that the API docs don't include top-level examples for basically anything, though. So when people hit a problem that fp-ts or io-ts can solve, I have to basically write a disclaimer about the slight impenetrability before suggesting it.

I really think that TS itself should offer syntax more or less matching what that lib does at the type level, but this is a bit of a maximalist request.

comment 2y ago · link · parent

Complicated types are effectively little Prolog programs, doing a bunch of very useful and helpful checks to make sure that your code does what you expect it to.

I do wish that Typescript would offer some tools to make it more ergonomic to write performant unifying code (I kind of despise conditional types, especially when you then use it to create the partially valid types by resolving to never). But I think it would also be very helpful to get people to understand that your types are their own little program that run and have performance characteristics. It's not magic!

There's been some handwaving about performance not being due to it running in JS (because at the end of the day unification is unification is unification and it takes time), but looking at the Typescript codebase in general and poking at it, I can't help but wonder how much of even the heavier stuff is "death by 1000 cuts" on that front.

comment 2y ago · link · parent

Does it support playing media even when it’s backgrounded? Stuff like Picture in Picture?

comment 2y ago · link · parent

Sounds like somebody should set up incremental CI with Bazel :)

Seriously though, of course there's a lot of details here, but I think people tend to not really interenalize how much testing is about confidence, and things like incremental CI can really chew away at how big/small your test suite needs to be. There are some things that are just inherently slow, but I've seen a lot of test suites that are mostly rerunning tests that only use unchanged code for most of its runtime.

My glib assertion is that there is likely to be no test suite generated by 20 engineers that requires 30 shards that is impossible to chop up with incremental CI. And downstream of that, getting incremental CI would improve DX a lot, cuz I bet those 30 shards take a long time

comment 2y ago · link · parent

I really am hopeful we come a bit full circle on builders and machines to "we buy one or two very expensive machines that run CI and builds". Caching in particular is just sitting there, waiting to be properly captured, instead of constantly churning on various machines.

Of course, CI SaaSes implement a lot of caching on their end, but they also try to put people on the most anemic machines possible to try and capture those juicy margins.

comment 2y ago · link · parent

Hmmm... yeah that's a good point. Though I would contend that the fact that languages do not do this is indicative of... something.

comment 2y ago · link · parent

In particular Patreon can host things like podcasts so has a media player. The app isn’t just about configuring billing

comment 2y ago · link · parent

C++ is a live language, C# has out parameters.... there's stuff out there.

The classic example of "pass by copy-reference is less expressive" is you can't have pass a reference to number and have the caller modify it. You have to explicitly box it. I understand you understand this, but it's worth considering when thinking about whether the distinction means absolutely nothing at all.

comment 2y ago · link · parent

But it would have the advantage of working in a proven model, whereas flatpaks are notorious for causing breakage for so much that uses it.

I am OK with flatpaks in theory, but there are years-old bugs with flatpak permissions that simply aren't getting resolved. Something is off with the feedback loop.

comment 2y ago · link · parent

RE Fractions, for _many people_, decimal.Decimal will work very well.

For layout concerns, fractions are probably a more natural fit (things like 1/3), but Decimal is a great floating point default for a lot of problems. They aren't exact, but a lot of the "normal" floating point weirdness goes away and your results look a lot more human. Highly recommend if you don't have a perf reason not to.

comment 2y ago · link · parent

> Charge men money per month. Only men. Every club promoter understands this. You don’t want your club to be a sausage fest, similarly, you don’t want your dating app to be a sausage fest.

Isn't this already just the norm in a lot of apps? When your first point seems to be a thing tat this level that people already ambiently know about I'm going to have a hard time imagining that you have done a lot of research into the space.

----

Four points points from reading it:

- Coffee Meets Bagel does one of the best things IMO: only showing a limited number of profiles a day. Forces people into a bit more of a "speed dating" mindset rather than an "endless scrolling" mindset. Good for serious people.

- Pairs, a Japanese app, does have a pretty "CRM" vibe, with a lot of filters and a whole list view. Kinda neat, and again a thing with some serious people

- Somebody on twitter said it best: online dating in its current form is so much worse than mixers because in it the most popular people can talk to way more people. At least at a mixer popular people pair off and then other people talk to other people[0]

- And of course, just like meeting people at parties, online dating is its own vibe. It's not _as_ limiting as mixer/club vibes in some sense if you can find the right app with the right kind of people matching your mindset, but it's easy to forget that a loooooot of people are still meeting outside of that space, despite what online people say.

[0] Can no longer find the original tweet, but it was @Ugarles, included the fun bit about how he met his wife at a party, and much later on in the relationship they realized they had matched online and she had decided against it.

comment 2y ago · link · parent

There's a lot less space when you consider how many airstrips there are in the world. Imagine if everyone on the highway in a city had to get on and off on the same exit ramp.

comment 2y ago · link · parent

Bit of a different space, but Amaranth does some fun stuff to copy control flow. It's obviously not "native" `if-then-else` but it's close enough for things that matter IMO.

https://amaranth-lang.org/docs/amaranth/latest/guide.html#co...

comment 2y ago · link · parent

Is there an idea here that you could write out a script and then compile out a Python implementation (for example?), given you have the `Record` code, for example?

I have had a decent number of times where if I was told "write this code in this Python DSL, and then you can do interactive theorem proofs just on that bit", I would be pretty satisfied, even if it meant really cutting down what kind of objects I could use in the process.

comment 2y ago · link · parent

People have buy-in to Chrome that I think might be more than the buy-in to the search engine at this point. People like their set of extensions, and know how to use it.

Meanwhile if the search bar works when typing things in and gives you good results, I think a lot of people will be fine with whatever.

comment 2y ago · link · parent

I just am thinking about how many phones you can find all over the place. And that tiny footprint... just so tempting.

comment 2y ago · link · parent

I think there's a great balance here in these environments:

- write tests as part of figuring out the implementation (basically: automate the random clicking you're doing to test things anyways)

- Make these tests really loose

- Just check them in

Being unprecious about test coverage means you just write a handful of "don't blow up" tests for features, that help you get the ball rolling and establish at least a baseline of functionality, without really getting in the way.

comment 2y ago · link · parent

I remember a couple of threads where someone would come in and mention how phones make terrible servers because they basically default to overheating and just start failing terribly if you try to leave them on... wonder if people have found ways around this issue.

Would actually be pretty amazing if you could just mount like 5 or 10 garbage phones into a thing and it could smartly give you a super slow but reliable server setup. Reuse!

comment 2y ago · link · parent

> Democracy isn't in their DNA, it was imposed.

this is an aside but the 1889 constitution had democractic components. Turns out a military coup stops democratic progress for a while. Japanese popular participation in politics has a lot of dimensions to it, including popular uprisings and authoritarian pushback by the government (including post-1945)

I've also lived in Japan for a while, and I've always found any sort of argument around the different nature of Japan based in "people be different" to be unsatisfying.

Usually you can dig just a bit more and find very straightforward material explanations for people's behavior. Or even at worst the same kind of behavior you see everywhere, just shifted around in intensity a little. Maybe this is too nihilistic but sometimes there are less magical explanations (like not caring about interest rates being downstream of them being near 0 percent)

comment 2y ago · link · parent

> Japanese are extremely cautious and change isn't something they deal with on a frequent basis (Japan moves very slowly) so I think this freaked people out.

I feel like if this is your level of analysis for the entire country you're not going to have that many insights beyond "interest rate movements matter more".

There's a lot of economic difficulties right now in Japan due to high costs and a stubbornly weak yen. Of course it's dangerous to make quantitative arguments with qualitative facts, and it makes it hard to counterbalance the above with a statement like "the weak yen helps exporters". But if we're going off of vibes, a lot of people in Japan are struggling with worse buying power, downstream of an economy that needs to import a lot of raw materials... and that can cause pressure.

And combining that with the tech news in the US... well... at least as a narrative there's a lot to say!

I'd love to hear something more quantitative though. At the end of the day this all _might be_ vibes, but at one point the economy has to be somewhat linked to something a bit real, right?

comment 2y ago · link · parent

One thing that I've found works kinda well: if you use a linter with "autofix" options, then the policy can be: complaint about formatting? Add the lint that can be autofixed. Then your formatter is just "run the lint autofixes"

comment 2y ago · link · parent

gofmt probably has alone saved so much time across the world (and is upstream from every other language ecosystem basically saying "ok let's just autoformat").

I hate what autoformatters do to my code, but I love not having to talk about spacing anymore.

comment 2y ago · link · parent

I really appreciate Rust's copy/clone semantics when reading this. The "hopefully" is so worrying.

Production code in Rust is littered with imperformant `.clone()`s but at least I can see where they're happening to ponder a better way.

comment 2y ago · link · parent

> It is something a Windows95 era PC had no problem doing in something like Delphi Builder.

I would recommend you actually try this, because it's not as true as you would like to believe.

I am very much pro-"make things fast" but let's not pretend that old machines didn't randomly hiccup on things all the time as well.

1
373839
225