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

In a similar vein PUZ-PRE is a pencil puzzle JS library supporting loads of Nikoli puzzle types. Loads of puzzle makers make stuff with it.

Puzz.link also includes a database of links to puzzles people are playing.

For people looking to feel old fashioned, printing out some random puzzles on puzz.link and doing them on pen and paper is sometimes satisfying

[0]: http://pzv.jp/ PUZ-PRE [1]: https://puzz.link/ puzz.link

comment 2y ago · link · parent

Blog author, yes on being a PLT dork. It was mainly very funny to me how I _immediately_ knew what category of code the tweet's snippet was about. Just instantly knew this was a type spec translator. Seen 10 of them, seen them all.

comment 2y ago · link · parent

You can scaffold up "unit tests", but honestly for type-level stuff you are working in a different space entirely. Your types are correctness proofs, so your underlying code is either typed correctly or not. There's not really a middle ground that unit tests catch.

Having said that, typescript's soundness issues make it easy to drive a truck through a certain kind of issue, but generally speaking if your type-level programming is no good you're not really going to be able to run unit tests, let alone validate them. Your code just won't go anywhere.

comment 2y ago · link · parent

I mean the topic of this thread is basically on how we have a bunch of well performing, pretty fast Chinese companies. This is happening despite these companies having a lot of buy-in from the state (down to outright ownership).

One might start trying to say "well a bunch of money from the state isn't enough to consider it a state owned enterprise", but then the contention is a bit more specific than just about being state owned.

comment 2y ago · link · parent

I think it’s good to be clear headed and acknowledge empirical evidence when it’s there. Context is useful in understanding the mechanisms of society!

“This thing goes against my orthodoxy therefore I refuse to see it” is exactly the sort of attitude that gets you far away from success.

For the record, I was merely saying it’s possible for a state owned enterprise to do things quickly, even if in practice most of them don’t. So much of the world is just about having the right kind of people at the right place, and that’s true in the public sphere and the private one.

comment 2y ago · link · parent

Aren't you presenting a false dichotomy here? Perhaps they are having their cake and eating it too, so to speak. Not to comment on the supposed economic malaise of the moment.

Sometimes state-owned enterprises might be able to outperform a private structure!

comment 2y ago · link · parent

that model feels safe, there are loads of SKUs of them so I think there's some success.

comment 2y ago · link · parent

No, you’re right. Census is the wrong word. Just… having a list of residents and marital state seems pretty table stakes for an administrative state

comment 2y ago · link · parent

Hmmm… that makes more sense. My experience was getting a visa automatically extended for N months on application, and applications not ever being processed slower than that. But I can totally see the US having wild backlog, for example

comment 2y ago · link · parent

Japan immigration (if you have a college degree) seems to be pretty high up there. PR takes a while, and processing is a bit of a black hole, but generally speaking you apply, application extends your visa a bit, and they get back to you within the period. And it’s maybe $100?

People complain but its generally predictable save for applications for a 3 year visa can lead to a 1 year visa or a 3 year visa or a 5 year visa

comment 2y ago · link · parent

I am a bit flummoxed how you can stay in the country after a permit expires. I’m not for stricter rules but I’ve heard this from several people (I think people in the US as well) and it seems like “permit to enter/leave” is a very weird structure instead of “permit to be here”.

I think most immigration offices in the world are pretty much black boxes, mainly because that’s their coping mechanism to deal with the influx of bargaining from rejections they would otherwise have. But it would be nice to have… some proof of progress.

comment 2y ago · link · parent

I got married in Japan so was curious about the differences. The two differences seem to be needing to schedule an appointment and needing proof of income. Doesn’t seem really much worse than most countries (tho I can get Denmark being easier)

I do place some blame on embassies not issuing documents in local languages. I’m not asking for proof I’m not married for fun! Extremely unhelpful, tho a good job generator for translators.

In the end tho, lots of these convos are based off of people coming from the Wild West of common law, which leads to the US government saying stuff like “well we don’t know if you’re married but you can sign an affidavit in front of us”. The American Empire, barely capable of a proper census!

Things can and should be improved, but I do think it’s good to be cognizant of the fact that many countries off of differing axioms (especially when it comes to things like the need/interdiction of knowing where your residents live)

comment 2y ago · link · parent

To be honest my read on this is not causal. It’s very hard to diagnose ADHD or the like until the child has some theory of self.

That being said maybe it’s causal? But it might also just be a generalized indicator of developmental issues (if you have issues on one part of the body, makes sense for other parts to have issues as well IMO. Especially given the comorbidity stuff on ADHD diagnoses)

comment 2y ago · link · parent

Wouldn't it have been easier to just have someone drive-by comment on the changes in the source tree in the comment? Like "what's up with this?"

Though I guess you end up with some other questions if it's totally anonymous. But I often will do a quick look over commits of things that I upgrade (more for backwards compat questions than anything but)

comment 2y ago · link · parent

It's tricky to change up some parts of pip because it might break some existing users flows. It's really hard to test for this kind of infrastructure tool because it's so environment-dependent. The rewrite lets there be a clean slate. Meanwhile the target of being "compatible" with pip gives them a good idea of where to go, and they can focus a bit more on testing given the lessons learned.

1246.

Avoid blundering: 80% of a winning strategy(longform.asmartbear.com ↗)

1 points · by rtpg · 2y ago · discuss

comment 2y ago · link · parent

I've been on the receiving end of "thoughtful" rejection letters. Some have been helpful, but some really served to cement the subjectivity of the whole thing.

The "funniest" one is one where I in fact knew the person who got the job. I received a nice and long rejection letter explaining all the points they found off for me. I was too aloof during the interview process itself (thinking I was a good fit), and many of the points mentioned were not wrong. But I knew for a fact that I was better than the person who got the job on all the mentioned points[0]! There was one thing not mentioned, a pure "culture fit" component[1]. Pretty sure that was a decisive factor, but not mentioned.

It just felt like something where, if I didn't have the full context, I would have really bogged myself down from "wrong" feedback. And when feedback can involve innate parts of one's personality, from people who have already decided to not work with you, it can be painful.

[0]: I worked closely with this person for many years. I do not have ill will towards them, the skill gap I'm mentioning was purely a "years of experience" thing IMO

[1]: for the curious: the place hired loads of people in a certain community, of which ~all of them were from the British Isles. I am not.

comment 2y ago · link · parent

When you send a letter, it's usually stamped by the post office you are sending it from, so you already gotta do a bit of work to stay anonymous when sending things out. And in the CCTV-loving land of the brits, I gotta imagine there's cameras on every postbox in the country

You now have to be more careful about buying the stamps themselves though. You could make a stock of them and not use them for a year or so (not like CCTV footage lasts more than a week).

comment 2y ago · link · parent

I think it's important to internalize that stamps are like a form of currency[0]. Like you stick it on the envelope to pay the shipping fee. There are tax stamps/revenue stamps which are used to pay for things in a way that is hard for the fee collector themselves to steal.

I applied for a visa-related thing a month or so ago. The fee was 6000 yen, so I stuck 2 3000 yen stamps on the application form. I had paid the application fee, the money can't be stolen by the public servant taking the application form (well, not easily, at least, I'm sure there are sleight of hands), and the purchasing of the stamp happens at a trusted third party that could commit fraud but is heavily incentivized not to (on account of me being able to directly cite where I bought it, and the agency knowing who I am).

[0]: Pedants who want to say it isn't or that it's _exactly_ a form of currency: please go away

comment 2y ago · link · parent

How much was the gaming laptop itself though? I’m sure you can make this work of course, just curious about the base machine price

comment 2y ago · link · parent

I’m really not wild about buying a Xiaomi laptop (even though my understanding is Xiaomis stuff is all well engineered etc). People will point to the NSA doing shit but I have fairly little faith in Xiaomi devices (especially ones heading towards foreign addresses) not having nasty secret backdoors.

There is a bit of a qualitative distinction between the Lenovo backdoor stuff and that. But that’s just my personal threat model

comment 2y ago · link · parent

Laptop + 32 gigs of RAM is a recipe for destruction of your wallet. At least for desktops you can kind of scope things out, but companies aren't really in the practice of distributing desktops anymore it seems.

comment 2y ago · link · parent

I feel like the cheapest thing in a certain price category in IKEA is "doesn't survive two moves" stuff, but everything above it is ... basically fine. Like it's a table, there's only so many ways to put 4 metal bars and a piece of wood on top. It'll be fine.

comment 2y ago · link · parent

I think the idea is that your neighbors didn't sign up to live next to total randos. How valid that argument is is up for debate.

And it's not like you can't still rent out to friends or the like. Just totally financializing and anonymizing that interaction turns it into a different sort of interaction. Social trust is a thing, and avoiding having _every single human interaction_ pass through some broker and be financialized is not the worst.

But really... a touch of social proof never hurts.

1255.

Cohost – March 2024 Financial Update(cohost.org ↗)

4 points · by rtpg · 2y ago · discuss

comment 2y ago · link · parent

`mailto` link is free. You could probably get away with zapier or something as well by being clever with your form target.

There's a lot of value in having one computing device on the internet that you control. You have a monthly cost, but every time something like this comes up you can juist "do the thing" on that machine and have zero extra costs.

1
414243
225