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

not really? It's not like CPython is written in Python either. Almost every language that has some notion of virtual environments writes a good chunk as shell scripts for maximum environment compatibility.

Sometimes you want to use the right tool for the job, and sometimes the scripting language that has a lot of environment-based configuration will not be a good fit for an "installer" that needs to handle a lot of environments cleanly.

comment 3y ago · link · parent

I have had a similar experience, not with Duolinguo but taking Chinese classes IRL. It's easy to write up the brain as some sort of computer, but I do think that with language acquisition "recall words from memory"[0] is _much harder_ than "do a thing you have already done" (which you get through a lot of actual practice).

This is why I really think shadowing is so important with language learning, because it trains you to actually put words next to another. Just sitting down learning vocabulary is of course better than nothing, but having set phrases where you use that vocab ends up actually giving you at least _some_ scenarios where you can use them.

And of course "recognize countdowns when they show up in anime" and "do the counting up to 10 yourself" is extremely different. It's so much easier to understand something than to say it yourself! Understanding is of course super satisfying, and a good target in itself, but self-production is pretty important in my opinion.

[0]: a fun exercise for people is to try and name 40 states, or 80 pokemon. Turns out that a lot of info is locked in our brains but is not easily accessible in a context-free environment

comment 3y ago · link · parent

50 weeks at 15 dollars an hour, 40 hours a week is $30k.

I imagine there are better paying jobs but I do think that $40k is not an immediately accessible thing. Though to your point 15 seems in line with what’s on indeed for Chattanooga, many jobs are under that line as well (cashier stuff for $11 or $12), so it might be worth adjusting your preconceptions about the yearly wages that these positons offer.

comment 3y ago · link · parent

Shouldn’t most of the protections come at the OS layer? Weird tracking nonsense isn’t stopped by App Store policy alone (far from it!)

comment 3y ago · link · parent

You’re being downvoted but honestly Inkscape suffers a bit when put up against some nastier SVGs. Chrome handles them alright though

comment 3y ago · link · parent

This gets me thinking of a fun "PvP" version of this, where people make screenshots that have to (say) get something like a 10% correct rate or the like. The ultimate screenshot that gives away _just enough_ to where people who have the tiles burned in their mind will identify the game, but that isn't actually impossible.

comment 3y ago · link · parent

Yeah, sure. If you're running some successful bakery in Kagurazaka having the nice-looking truck feels like a "fine" decision. My mental image is that Townaces are bigger, but maybe that's just my impression from the Kangoo's curves

comment 3y ago · link · parent

This made me realize why I see so many Kangoos in Japan, despite them not really being cheap here! A bit of a nicer version of a Kei truck, without being a full minivan!

comment 3y ago · link · parent

My point is that revenue is not gain? Like if I’m a retail store reselling at 10% profit $100 of revenue only represents $10 of gain.

comment 3y ago · link · parent

If you’re going off the idea that the fine is based on the value of the gain, then you need to go off of the profit made (bit trickier with staff working multiple projects but hard disks aren’t 100% profit)

comment 3y ago · link · parent

There was a similar case where some NY-based startup had thousands of small antennas and DVRs, so you could stream NY TV, and in theory the entire pipeline was being just rented to you.

Went to the Supreme Court, and they got owned. Company was shut down.

IIRC the trouble came down to the notion of retransmission (thus copyright violations). The argument that it was being sent to just one customer was not really accepted by the justices I think.

comment 3y ago · link · parent

I don’t know why you would say it’s impossible. 10k people do it a year, it’s a well documented process. The biggest hurdle is probably the language? Since most people can exist in Japan without a full grasp of the language in more ways than other countries

comment 3y ago · link · parent

Yes, “easily” based on what people who do it say. But getting citizenship requires [0] renouncing other citizenships.

There’s a permanent resident status which is I think is closest to a green card. You can’t vote but you don’t have to work or otherwise justify your existence. You can temporarily leave the country for several years if you intend to return (apparently this is pretty loose so “several” = 10)

There was a window during COVID where permanent residents were stuck outside the country. It was a couple of months, and I’m hopeful future incidents would be more humane… but citizens were not stranded.

[0] there is some pedantry on “requires”.

comment 3y ago · link · parent

In practice if you’re out of a job you can be put on a special visa to look for work and if done in good faith I’ve heard of people who were on such visas for like 6 months.

Another point about being “on your own”. Basically every service that exists to help people out of work is accessible to foreigners. My locality offers “loans” (partially aid, part loan) for people who experience massive drops in salaries, for example. Any resident. Ive almost never run into a service gated on citizenship (except for some job postings with the govt)

comment 3y ago · link · parent

Do you have a college degree or 10 years professional experience? Congratulations, after finding a job you can move here. And on top of that your visa is not tied to your employer so there’s no visa risk if you find a better job on the spot ([0])

There’s some immigration stuff that’s tougher, but based off everything I’ve heard from dealing with Anglo countries or the EU, most people on this website would have zero problems dealing with immigration.

[0] technically the high skilled professional visa is employer-associated but people doing these jobs can easily pay to navigate the subtleties in any job change

comment 3y ago · link · parent

Thank dog for that. I feel like I even read the release notes for that but it was while I hadn’t been touching a specific codebase with loads of early returns. Thanks for pointing this out!

comment 3y ago · link · parent

What I want is..

let MyEnum(foo, bar, baz) = input but otherwise { do some stuff return some value }

Point being I don’t have to check for MyEnum-ness twice (like with matches! + if let) and the indented code is for the exception (no match) not the norm.

Tho I … guess !matches(MyEnum{ .. }) is not the worst… but it’s annoying to have this pattern all over my code instead of as some encoded concept we all use

comment 3y ago · link · parent

Nice tip.

I honestly am a bit frustrated with Rusts pattern matching ergonomics, cuz it ends up requiring me to introduce indentation in places where I don’t want it, mainly to futz around with unwrapping structures or the like.

Lots of helper methods exist on standard library enumerations but I really want there to be some nice built in macros to just give me the innards when I need it, and have a control flow block for when I _cant_ pattern match (and thus want to do an early return or blow up). Maybe this already exists!

Too much indentation makes languages unfun (see every lisp struggle with this with name binding)

comment 3y ago · link · parent

I don't really think that's true. the content is usually in assets and just behind some flag that gets activated via some callout to a store, but there's not active anti-cheat software making sure that you "actually bought the content" in general()

(

) technically a lot of games have anti-piracy measures that are somewhat active, but they're rarely of the "phone home" variety

comment 3y ago · link · parent

Is CSS under-specified? when I've been curious about some thing, there has been a pretty detailed spec. There are differences in behavior on newer things as things get worked out, but I feel like so much is due to actual bugs relative to the spec than the spec itself.

Is there an example of under-specification that sticks around in practice?

comment 3y ago · link · parent

One valuable trait of most humans is that we are able to have experience and consequences transmitted to us without experiencing it first hand.

I understand that falling from high up is painful, not because I have fallen, but because I have seen other people fall, or have had people tell me. I have never broken a bone in my body, but I still understand that it is a thing that I want to avoid!

First-hand experience teaches people things, but it neither guarantees the lesson (people make the same mistake over and over all the time!) nor is necessarily the best way to learn a thing.

I think it's good that kids toys (mostly) no longer can cause lasting damage to children.

comment 3y ago · link · parent

The real pie in the sky stuff is figuring out open designs that are durable but not so complex as to be totally out of reach.

I cannot claim to know the relative difficulty of such a task, or relevant regulations. But if there were some standard designs that multiple manufacturers were involved in, I bet parts would stay in production for a very very long time.

comment 3y ago · link · parent

> What I don't understand is why a couple of the higher quality tractor companies have not started pushing hard to brand "we support repair" and having available online manuals and software to support this. This seems a perfect marketing/product platform for an underdog that also believes this.

My understanding is basically all high-capital machinery makes a _lot_ of money from support contracts and repairs.

I think there is an idea to do something like this anyways, but it legit feels like something that needs to happen out of the goodness of your heart because you _are_ just leaving money on the table.

comment 3y ago · link · parent

You can think about the motives. The same questions could be asked about the Walgreens cases, and yet I’ve posted stuff about that.

comment 3y ago · link · parent

It’s well documented from last year that Walgreens similarly used crime as their reasoning for closing stores but it didn’t at all hold up to real scrutiny

Walgreens’ CFO has said outright that the crime stuff was overblown , 2 years later [0]

[1] has a breakdown of the arguments for why this stuff doesn’t align with reality (“biased” of course, as it’s a media critique podcast, but I find their arguments convincing. I admit they confirm my priors)

“Safety” and “shoplifting” are of course not the same. And many people here talk about feeling unsafe going there. But people also mention it being empty! And there’s a Safeway across the street.

Companies like making money. Something tells me you don’t close down a massive store if it were making money. “Large supermarket without a parking lot in an area without much foot traffic” just seems like an expensive proposition.

[0] https://www.nytimes.com/2023/01/06/business/walgreens-shopli...

[1] https://citationsneeded.medium.com/news-brief-organized-crim...

1
606162
225