Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

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

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 1y ago · link · parent

Yeah, you're right on that, and I do appreciate the value of, well, not bundling. I just have had loads of weirdness with things like "ran my test suite with `tsc`/`node-ts`, bundled with `webpack`, and weird side effects existed downstream of that".

I think my complaint is less that these runtimes do nothing, but more that I would expect them to do _even more_. But I'm not trying to make things much better.

comment 1y ago · link · parent

what I've done is run the bundler across test code so that my test suite is also "just" JS, but that precludes certain kind of code flows without some hacks, so I get why people don't like it much.

comment 1y ago · link · parent

Typescript's type system is uniquely good for preventing types in "bog standard enterprise code". No other language comes close to it. Two words: untagged unions. And of course all the other utilities it provides.

It's extremely good! Shame about it being coupled to Javascript.

comment 1y ago · link · parent

by adding node compatibility it reduces pressure for libs to be written "the deno way". Libraries that could be cleaner!

At least that's the theory. To be honest I don't see Deno's value add. The runtime is like... I mean node works fine at this point? And the capabilities system is both too pedantic and too simplistic, so it's not actually useful.

I don't understand the value add of Bun much either. "Native" Typescript support but at the end of the day I need a bundler that does more than what these tools tend to offer.

Now if one of these basically had "esbuild but built in"....

comment 1y ago · link · parent

My understanding is that it was added fairly recently at that, and already this has happened. This must be a record time in "change of policy leading to the most embarassing result". Only a couple of months!

comment 1y ago · link · parent

I feel like it's valuable to not flatten the context here. We are talking about leaking texts by the Trump admin (and I guess some law enforcement agencies using this?).

There is a lot of daylight between dropping a bunch of texts for government officials and committing horrible violence against people as a whole! These are not the same thing! One could be good/fine while the other is bad!

Having said that I would worry for a WikiLeaks-style "oh now this random person's info is out there because it was in one of these e-mails".

I just want to see the gossip

comment 1y ago · link · parent

https://maps.app.goo.gl/DURwu3dHtt9aUWBm8 At the very least you can go to this mountain on the Chinese - NK border ("you"... I, as an American, went along with a mainland Chinese person). People do live in these places and there are (well, were...) cross-border interactions. I just stood kinda close to the border and was like "I guess I could just jump over?"

There were cameras but that's it.

There's not some magical thing when you look across the border and "feel the oppression", in some of the border towns on the Chinese side there were ads for tours where you could go to NK and do some shopping for cigarettes or something. I do not believe I would be able to sign up for those though.

I was just visiting but it's how I imagine some parts of the US/Mexico border are like? It's not like that area of China is super vibrant either, pretty industrial.

I have the impression that when Russia gets involved border stuff gets messy, if all those videos of people driving across Georgia and the like are to be believed.

comment 1y ago · link · parent

Sounds like formal verification is built into the language, which sounds nice for people who care!

Given this is spitting out C++ code, it could be that the ideal way of using this is to write your state machines with this, then use the output in a more traditional setup.

https://dezyne.org/dezyne/manual/dezyne/dezyne.html#Formal-V...

comment 1y ago · link · parent

What do people's success stories with fancy PKMS looks like? I get writing stuff down, but I've never quite gotten the deep linking stuff. I tend to just be able to get away with some basic folders.

comment 1y ago · link · parent

It’s so annoying that right now the state of the art is essentially “just write all of your code as async because even sync callers could just spin up a one-off event loop in the worst case” in most languages.

The only language I know that navigates this issue well is Purescript, because you can write code that targets Eff (sync effects) or Aff (async effects) and at call time decide.

Structured concurrency is wonderful, but my impression is we’re doing all this syntactic work not to get structured concurrency, but mostly to have, like, multiple top-level request handlers in our server. Embarassingly parallel work!

comment 1y ago · link · parent

Typescript has no problem with typing your scenario (or at least nothing that isn’t present in “plain” JavaScript… what if your value is a promise?)

And compiled languages don’t have more trouble with this than JavaScript. Or rather, Javascript doesn’t have less issues on this front. The color issue is an issue at the syntactic level!

comment 1y ago · link · parent

I feel like hiring juniors still exists, because I still hear about loads of "boring" small startups that do the "we hire juniors and seniors".

Juniors cuz they're cheap and motivated (and potentially grow into very good team members!), seniors to handle the trickier stuff. Mid-level people don't get picked up cuz there's enough junior pipeline that the cost-benefit doesn't work out.

Thing is these companies tend to have, say, college pipelines and the like for juniors. Internships and the like. It would be really painful to not have internships lined up at "your local startup" in this day and age.

My impression is that a lot of the junior dev pipeline is in smaller places that don't show up in job boards in the same way as the rest of it. Maybe that's dried up too, but I have my doubts.

You still need somebody to work the robot, even if the robot is "doing the coding"!

comment 1y ago · link · parent

what kind of difficulties come up in practice in :advanced mode for JS? I would have assumed that by now code is pretty good about not using "weird" effects

comment 1y ago · link · parent

I _really_ appreciate Tokyo's system of basically forcing you to affirmatively declare your parking spot when you buy a car, on top of the usual "pay extra rent to have a parking space" thing that happens in many spots.

While it doesn't stop cars from being abandoned "randomly", just the entire principle of having a paper trail for these things and creating a bunch of incentives to make sure that parking spots don't turn into trash heaps[0].

Especially now that I live in a place where street parking is a prime resource and yet people _who have garages_ still choose to street park out of convenience...

[0]: not always of course, I know about the trash houses

comment 1y ago · link · parent

Right, totally see what you're saying. In the junk food example (assuming fast food a la McDs...) it feels fairly noncontroversial to say there's health costs. Just then you get into convenience discussions (or even just enjoyment discussions) and now you're weighing health vs convenience and these are totally not fungible quantities. So you're already veering into subjectivity if you're saying "on balance it's bad".

There has to be a point at which you pull in preferences. But at least then you can split the "objective" from the subjective, and think about the details in earnest. Even when conclusions differ.

comment 1y ago · link · parent

I'm just saying I doubt that zug_zug has actually unlocked some chain of reasoning to say that all that stuff is objectively bad. If they did, what's stopping everyone else from doing it? I am expressing doubt.

Like if someone showed up and said "I can predict lottery numbers". Maybe I'm talking to someone who has figured it out. Maybe I'm talking to someone who is wrong. This isn't at the same level but the claim to objectivity feels pretty close to me!

I think zug_zug's claims are based in a worldview, and not derived from some objective truth. That's fine! We are allowed to inject our own preferences into these discussions! It feels intellectually dishonest to pretend that we're working off of some objective truth of how the world "should" be.

comment 1y ago · link · parent

This is meandering a bit (and I'll once again state that I think Burrito Now Pay Layer is Bad(TM)), but the flow here is (forgive the paraphrasing):

- zug_zug said "we should talk about economics objectively" and claimed "bnpl is one of a dozen services that extracts money from those whose judgment we doubt" , giving examples of other services in that category

- I replied to that claim, saying that I believe their claim that, for example, junk food is a service that extracts money from whose judgement we doubt, is likely to be a subjective analysis and not an objective one.

- I further said that I think you could end up with a believe that it was an objective analysis if you are a person who has reached the conclusion that spending money on leisure is bad

- I am then claiming that I doubt that there's an objective chain of logic that gets you to "spending money on leisure is bad". My reasoning is that I believe that to not be the position held by many people, on top of my belief that generally most people are not extremely smart.

Absent the "spending money on leisure is bad" claim, I don't see a claim to saying that, _objectively_, junk food, sports cars etc is an indicator of people applying bad judgement. And so saying "well BNPL is objectively just yet another stupid tax" is not a well founded argument in my opinion!

"I think Burrito Now Pay Later is bad" is a fine statement, and doesn't try to apply a layer of objectivity that, in my view, crumbles pretty quickly.

comment 1y ago · link · parent

A thing that still stands out to me is that even in this work we're looking at Lean as a way of verifying a proof, but I do not know how much exploratory work is possible in Lean.

In Rocq/Coq, I've found myself often lost in the weeds when exploring a problem just through tactics mode (half expecting it to handle the more boring machinery), and really do have to think pretty hard about how I get from A to B.

Some of this is, quite simply, me just walking in the wrong direction (if you have multiple things you can induct on, the choice can greatly affect how easy it is to move forward!). I just wish that the computer would be a bit better at helping me realize I'm in the wrong direction.

Stuff like Quickchick[0] helps, but just generally I would love the computer to more actively give me counterexamples to some extent.

[0]: https://github.com/QuickChick/QuickChick

769.

Platform as a Reflection of Values (2017) [video](youtube.com ↗)

2 points · by rtpg · 1y ago · discuss

comment 1y ago · link · parent

To be clear I think the BNPL thing laid out here is Bad(TM), I just got there through my belief system about how society should be organized.

I do not believe that life is measured in how many burritos I can or cannot get access to, so the idea that not using BNPL means I'll get more burritos next month falls a bit flat on me.

comment 1y ago · link · parent

If you think that objectively spending money on leisure is bad, my claim is that you are in a minority with that thought process.

My implication here is not that being in a minority changes whether something is objectively true or not (it doesn't!). But I will outright say that I do not believe this, and I think that most people do not believe this.

Claiming to believe that leisure is bad objectively is, in my opinion, also a claim that you are "smarter" than the vast majority of people. After all, you have unlocked some reasoning to reach this, that other people seem to have missed. Do you believe to have unlocked some deeper truths through thought? Perhaps! I tend to assume I am far from the smartest person in the room.

Objectivity is the load bearing thing here, of course. If you merely think spending money on leisure is bad, then that's what you think. That can be one of your axioms in your belief system. Stating it as some objective fact is a much stronger claim, that I don't think really holds up to much scrutiny.

This is even before getting into the idea of "objective badness", which is a can of worms.

A lot of work to try and claim objectivity on your side, when the much easier "my belief system is like this, and from that I conclude this other thing" is a perfectly respectable argument when discussing policy preferences.

Added bonus of being honest about what part of your argument is just a belief system is you can then more quickly identify why you disagree with someone else.

comment 1y ago · link · parent

Your statement is pretty subjective! Not going to defend gambling but "junk food" and "overpriced status-symbol vehicles"? Digital goods as an entire concept?

You can think it's all for the stupids, but I'm not seeing how it's some objective truth. Even if you're some stoic who thinks spending money on leisure is just incorrect at a fundamental level, but I think you're going to find yourself in the minority there.

comment 1y ago · link · parent

It's not the same flavor of logic language but I've been trying to find some interesting things to do in Curry. The functional dependency component it introduces makes some problems a lot easier to deal with in Curry than in Prolog (or at least that's what someone told me one day....)

The project as a whole exists and everything, but even things like just having an easy-to-install implementation on Homebrew hasn't happened yet, so if you're up for some sweat and tears and low hanging fruit, it feels right to me!

comment 1y ago · link · parent

Or management is cynically thinking they could get more bang for their buck with multiple people (I gotta imagine at 19 years at google gets you a healthy multiple compared to new hires)

comment 1y ago · link · parent

Memory ain’t that cheap on laptops in general! The bigger issue is less “pyright” and more “every tool out there being as heavy as pyright” + docker etc… but things are getting better IMO

comment 1y ago · link · parent

To be honest I can't respect a project that names itself like that. I am a working professional.

comment 1y ago · link · parent

I don't get why so many people go to bat for pyright, my experience with it has been pretty miserable. Open enough instances of it and you're in OOM city. It works, but often gets confused... and of course the absolute audacity of MSFT to say "let's go over to pyright, and by the way we're going to carve up some stuff and put it into pylance instead", meaning that it's totally not within the actual spirit of open source.

I would like to just not use it, but the existence of pyright as a _barely_ functional alternative really sucks the air out of other attempts' continued existence. Real "extend/extinguish" behavior from MSFT.

comment 1y ago · link · parent

I mean in bigger cities lots of people don't have cars, they might also be in the middle of something and so having someone else get the food makes sense. And a lot of people have "too much money", leading to them being like "yeah I'll pay like 40 bucks for somebody to bring these burgers to me so I can just keep on playing something with a friend".

And you know... if food is cold, you probably have a microwave?

Whether this is a good use of money is debatable but I think it's pretty easy to imagine scenarios in which this would be used.

1
252627
225