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 if Tesla wasn't offering it to other companies to use, then that's part of the thing. Things changed, and now things are better. Progress!

comment 3y ago · link · parent

The point is that from a UX perspective, people want to be able to specify loose dependencies, and then for a constraint solver to then provide an overall set of dependencies where all of these holds.

You're saying "just use nix". Nix does not provide this. This is a fundamental feature of programming language package managers. I would love for Nix to have an interesting answer to this problem, but I think that if nixpkgs continues to exist in its current form (following more of an apt model), it will be hard for the Nix community to come up with an answer that fits well. Nixpkgs is mostly about distributing compiled assets, while programming language package managers are mostly about distributing source code. The important parts are different!

comment 3y ago · link · parent

Most language package managers have some notion of dependency resolution, since various deps declare bounds for their dependencies instead of pinned versions (since otherwise frameworks would be impossible to upgrade).

Nix the language doesn't have such a thing (would be a bit of a category error), and nixpkgs the ecosystem is so far away from that kind of thing...

Language ecosystems around sharing source code cannot exist as they do today if every dependency pinned its dependencies to specific versions. Source distribution like that has different requirements than binaries.

comment 3y ago · link · parent

There's been some discussion around this, where tools like Nix and Bazel do a bunch of work figuring out how to get various packages working in their ecosystem, but often fail to actually get that work upstreamed in a reasonable way.

For example, if you have a JS project with a package.json, Nix offers node2nix as a way to transform that package.json into Nix-like expressions. But in an alternate universe npm and lockfiles would "work" well enough to where we wouldn't need to rely on nix for package pinning.

There's all this work put into reproducibility that thinks that the answers are around adding wrappers around the existing tooling. It's good as a last resort, but if those efforts were going more into each language's ecosystem may we would end up in a scenario where each packaging tool didn't have to come up with its own magic way of doing things.

Nix and Bazel are complex because they try to hard to work well despite the tooling, rather than getting tooling to a place where all these layers of hacks were not an issue. And so downstream of that, "simple" tools become too complex from all the incidental complexity introduced by this way of doing things.

comment 3y ago · link · parent

I definitely feel this effect, in that some languages are definitely about playing with the language. This can be helpful and make things more productive, but is definitely felt more in some languages than others. It's almost whimsy.

Haskell has this, Rust has this (where you're enticed to imagine everything as moving in and out of memory with a certain flow), C++ has this (trying to imagine how you can take advantage of as many features as possible to get beyond C's expressive ceiling).

Scala definitely has this, if only by making it impossible to write more than 2 lines of Scala without having to make 4 decisions around language feature usage.

You can see attraction to this kind of whimsy in the community.

I would definitely place Ruby in the whimsical language category though. There's way too much fun being had with mixins in that ecosystem for it to be considered a "straightforward" language.

comment 3y ago · link · parent

I think that domestic airlines have to generally be 50+% owned by citizens of a country in most countries.

comment 3y ago · link · parent

> If a merchant wanted to, it would be trivial for them to give you a 3% discount for paying with debit.

I don't believe that a merchant is allowed to do this? Probably very dependent on your deal with credit card processors but my understanding is that the default contract between a merchant and a credit card processor stipulates that you are not allowed to offer discounts to not use credit cards differently.

Of course if you are Target-sized, you get special treatment. My understanding is stuff like Redcard is basically just Target "giving back" their cut of processing fees...

comment 3y ago · link · parent

Maybe it's just me projecting. I don't like being dragged into the office all the time. I like meeting up with coworkers a couple times a year (if only to get a feel for our "real personas", which can be hard over async text and video). It's also a good way of establishing a certain rhythm for progress.

And ultimately onboarding remotely is super tough and isolating compared to having someone around physically for a bit.

This is easier for me to say, as I do not have kids and am generally fond of staying in a new place for a bit every once in a while.

I think twice-yearly team get-togethers (especially if they're organized in the understanding that work won't really get done) is a good breather. Get people to give little talks about stuff, chill out, have blue sky discussions about future plans... all the advantages that people get at conferences, on a small scale.

I think people whine about "pointless" RTO (especially when executives calling for it aren't even following it), but what I'm thinking about at least has some defined point and pretty time gated. Some people really don't like adult field trips though (for good reason).

comment 3y ago · link · parent

> "It's a mess," one current employee said of Meta's RTO so far. "And all of this because it's difficult to remote onboard new hires. Instead of solving that problem, they just decided let's go back to exactly how it was before."

Kinda surprised at this. To me the "obvious" thing with remote onboarding is to fly in new hires somewhere with at least a handful of team members, and then do onboarding face to face. That along with travel twice a year would probably be more than enough.

Sure, you'd likely need a big team to just plan out this kind of stuff, but you'd have a vibrant office, teams with each other, and people not feeling they're being dragged in.

comment 3y ago · link · parent

the fact that this looks like it can't stand up upright is a real missed opportunity to make this more "suitcase"-y

comment 3y ago · link · parent

I think that this is two things:

- these people doing this stuff

- Tesla, once receiving complaints about it, not doing anything about this

The important bit:

> Tesla has failed to investigate complaints of racist conduct and has fired or otherwise retaliated against workers who reported harassment, the EEOC said in the lawsuit.

I don't really know how labor law works on this front but if Tesla knew this was happening and did nothing about it I guess they are considered partly liable for... something?

comment 3y ago · link · parent

Big business sells stuff to consumers. They collect consumption tax from consumers. That consumption tax gets sent to the gov't. This is the same as its always been.

Big business buys stuff from other businesses. When buying things, they are paying 10% in consumption tax.

With this change, the consumption tax they pay to other businesses can be deducted from the consumption tax they send to the gov't from their sales to consumers (making consumption tax be a value added tax, and avoiding deeper value chains from being "consumption taxed" over and and over and over again).

In order to support this, invoices have extra details (notably a tax number), to avoid VAT fraud.

However, businesses also sometimes bought things from freelancers and the like, who mostly did not charge consumption tax. A freelancer with an existing business relation might send a 100k JPY invoice to a business, and the business pays it.

But with this change, the business might say "hey, you're supposed to charge consumption tax right?" And would pressure a freelancer to charge 100k JPY (tax inclusive), effectively reducing the amount the freelancer get (since the consumption tax would need to be sent), _but also reducing the cost to the business_ since the 10% of paid tax reduces the amount of collected tax sent to the government, and they only really are paying like 91k JPY.

Now really really, freelancers should be like "We are going to charge consumption tax so are increasing the tax inclusive amount by 10%. Please deduct things correctly" to businesses. B2B interactions are already basically marketed at tax exclusive rates. And hey, the business can deduct.

But freelancers are bad at negotiating, and "please pay me more" is an argument that many freelancers are bad at doing this. On the business side, many businesses use freelancers specifically for cynical reasons and are very comfortable pushing for freelancers to offer to take the tax hit.

I think it's important that in this model, the amount of consumption tax given to the gov't doesn't actually increase. The amount of consumption tax collected by the freelancer is deducted by the business from its collections. This is totally advantageous to "real businesses".

I don't want to comment too much on the ethical/moral nature of it, because I'm fortunate enough to be exempt from this stuff for "clients being abroad" reasons. But it's a bit of a mess.

EDIT: also, if you register into the tax system you gotta do a lot of paperwork. People not in the consumption tax system were basically just having to report their income on a single line, and paying income tax. There's a lot of good software to track this stuff, but taxes in Japan for a freelancer was basically easy enough to entirely do on paper by just adding up invoices and dividing, up until now.

comment 3y ago · link · parent

There's consumption tax of 10%. Freelancers basically were not collecting it up until now. Businesses didn't care.

Now, businesses can deduct the 10%, so it looks like they can reduce their bills by 10% _so long as freelancers actually collect the consumption tax_. (This wasn't in place before! consumption tax was consumption tax, not a VAT-style system)

Now in theory a freelancer can also deduct the 10% from their expenses. But many freelancers have very little in the term of business expenses (their computer, basically). So freelancers all have just taken an income hit (in a period where inflation is making a lot of basic food more expensive than ever).

The perfect storm of extra taxes, lower purchasing power to begin with, and more and more industries demanding people become "freelance" contractors rather than employees.

comment 3y ago · link · parent

I have done something like this with my kindle. I then got kind of mad at myself for doing something so utilitarian. I wrote a little script to instead generate random wordle playthroughs, display that, be happy with the code... then immediately throw the kindle in my drawer.

Still, "generate a static image from a computer and send it to a display at a certain rate" is an underrated way to do fun things

comment 3y ago · link · parent

I can see in person being "Better" for the novelty factor of people moving out to SF. But if they're doing 4 autonomous groups anyways, having groups spread out in different places would be an interesting experiment.

I do wonder what percent of YC companies force moves to SF. If a bunch of those people are moving anyways, running a batch in some other city (hell, Seattle or NY is surely filled with decent stuff) would be interesting. And on the YC-side, moving out somewhere for 3 months might give them their own novelty bonus as well.

comment 3y ago · link · parent

What I've settled on is "store most job state in the DB, use task queues just to poke workers into working on the jobs".

Storing the job state in the DB means you can query state nicely. It's not going to exactly show the state of things but it's helpful for working through a live incident (especially when most job queues just delete records as work is processed).

And if you make all the background tasks idempotent anyways then you're almost always safe with running a thing like "send a job to the task queue to handle this job".

If you rely _just_ on message queues, there are a lot of times where you can have performance issues, yet have a lot of trouble knowing what's going on (for example, rabbitMQ might tell you the size of your queues, but offer little-to-no inspection of the data inside them).

comment 3y ago · link · parent

Because while the point is to make money, the point is not to maximize the earnings for tours. Instead, it's to make enough to make it worthwhile, while giving fans "what they want". Artists care about doing fun/good/cool stuff!

This is similar to stuff like auctions to have dinners with certain successful people. Those people have many dinners where they don't ask for a bunch of money from the participant, because then they would only have boring dinners!

comment 3y ago · link · parent

The 3DS 3D effect really didn't work at all for people with strong prescriptions. Because most glasses will distort your edge of view with different wavelengths at different intensities, the effect totally falls apart.

For the longest time this effect was super intense for me for the 3DS power light, and it made it look like the light from the power LED was just piercing through the case of the 3DS, while the cutout for the LED was almost pitch black.

(for people with glasses and iPhones: look at your homescreen, look at a notification dot. Put the phone at the edge of your field of view. Notice the number dance around in the space. Works with Discord notification dots on a desktop screen as well).

comment 3y ago · link · parent

After having the Switch and then bringing the 3DS on a trip recently.... I really miss the 3DS/Vita-size devices. I know there are emulators for things but there's something about games made for small screens and those form factors that are near perfect.

The PSP and Vita were already steps towards the Switch in a sense ("powerful handheld" meaning suddenly PS2-level games were available portably), and the Switch kind of pushing the limits of what people accept as portable devices means that there's almost no market pressure to go back to a small thing. But when you hold a 3DS and realize how easy it is on the move, it makes me wistful.

I would mention the Game Boy Micro as well but that thing is not meant for anyone over the age of 30.

comment 3y ago · link · parent

I don't think the wage increases are the biggest input to the increase in sandwhich pricing. Some random Quora answer says that you might see 50-120 orders served at peak per McDonalds employee. Increasing the price by... what, 50 cents? Is already looking at an extra $25-$60.

Peak hours of course, but given that the McDonalds business model is mostly "sell drinks at pure profit, sell food at cost", price changes at best are just linked to raw materials costing more, and other expenses. Cynicailly: most of that price increase is not landing in workers pockets.

Some other random website states that wages are 20% of a McDonald's franchisee's costs. So I bet a part of the cost is for wages, but most of it is probably about everything else.

comment 3y ago · link · parent

> The US has one of the highest median incomes in the world; among the top 5, by any measure. It's hard to understand why anyone would look at the system of governance in the US and call it a major mistake

No amount of money beyond being a millionaire gives you nice infrastructure where there was none. I’m not going to say all of the US is messed up but there are many people who choose to move away from the US and to other countries, taking massive pay cuts, because the surrounding conditions are nicer.

EDIT: also, Europe built a massive rail network without the cultural revolution.

comment 3y ago · link · parent

You can't gift it to where you live (or rather, where you will send your residence tax).

comment 3y ago · link · parent

if it makes you feel better, major construction projects in Japan can also take years and years and years. The difference being that you don't have federalism throwing a wrench in projects halfway through.

It's hard to look at America and not draw the conclusion that federalism is a major mistake. So many problems downstream from fickle localities.

comment 3y ago · link · parent

Valve seems like such a blank check company, able to jump onto projects and apply so much effort to things thanks to their resources

Would love to see more about what they’re doing and how they’re organized recently (an updated employee handbook?)

1
505152
225