21,278 karma · joined Nov 23, 2012 (14y ago) · 6,746 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 3y ago · link · parent
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
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
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
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 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
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
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
- 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 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
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
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 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
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
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
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
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
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
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
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.