Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 4y ago · link · parent

I mean… you can imagine a history being stiched together serverside. The ingest mechanism isn’t the final result. Just that “have to make a PR, have to make a branch name, etc” feels a bit silly

comment 4y ago · link · parent

I do not believe your explanation is simpler. At least not without more evidence.

The main reason is that all of the lockdown and curfew stuff was 2 years back now! Most people have just signed out of the covid discussion and are not doing any mitigation. The "psychotic episode" (your words) ended in like... mid-2021. Why is it all falling apart now?

We are mid-2022. Hospitals are still a mess worldwide, because _they are all still getting a sickness that knocks people on their feet for a couple of days to a week_. People whose bodies get hit by this end up being weaker and more susceptible to other issues. Seems pretty simple!

comment 4y ago · link · parent

Are there still major pandemic restrictions in Britain? Lots of quotes in this piece seem to imply there’s ongoing issues here but everything I see in Europe or the US from abroad seems to heavily imply that people are “back to normal” (at least in terms of movement).

The idea here (treatment delays lead to excess deaths) seems ok, but is it really the restrictions? Isn’t it more that hospitals are still extremely full? Or is that no longer the case.

The main claim of this article feel a bit… odd to me. There’s a heavy implication about this being from the lockdowns, but in the middle there are 3 lines with a much simpler explanation: Covid infections increase risk of other health issues.

comment 4y ago · link · parent

An alternative universe: you have an email you can send patch files too. You send the patch file (like, gen a patch file and then just manually attach that to an email). That automatically creates a PR looking thing.

The fact that (for example) GitHub requires a fork for you to send a PR to a project (that you don’t have push access to) is soooo overkill.

comment 4y ago · link · parent

I mean… he’s the one out here in front of the press all the time. He was a CEO of a card processing company! There is a universe in which he wouldn’t be a household name.

Sure the “outrage” is just high level gossip for most people talking about it, but it’s a reaction to this person being a loud and vocal person who was trying to build a public persona of being a Good Guy.

There’s definitely a larger idea here about journalism in general looking for hero stories. But the guy is out there giving the interviews

comment 4y ago · link · parent

Hate to break it to you but almost all journalism is “we asked some people questions”

I don’t know what claim you mention, but his newsletter goes into lots of details, is open about how this is just what he is hearing from people, etc. I don’t know what major claim you’re talking about though, but I do get your point about the business angle.

Tho honestly I would not trust any SVP at a company like Uber to have an understanding of what it’s actually like to be an IC, or PM level. Hearing what people at that level are thinking is way more valuable to me.

comment 4y ago · link · parent

Yeah I feel like the fact that there are N screens all over the place is a huge distraction (even when I'm trying to relax!)

Just having somebody watching transformers in the corner of my eye... on a flight a couple of years ago I watched 2 bollywood movies start to finish cuz the lady in the row in front of me was watching it and I couldn't help just watching on her screen.

comment 4y ago · link · parent

There are definitely people who can get work done in a flight, but honestly I have a hard time imagining logging 7 hours. Maybe if you have a lot of reading to do?

comment 4y ago · link · parent

i was talking about recruiting costs. I know Tokyo is cheap(er than many places)

comment 4y ago · link · parent

Yeah that’s just a lie. Those measurements tend to consider purchase cost at a fixed square meter, and doesn’t consider changes in lifestyles as well. Every expat in Tokyo from another big city could confirm this

comment 4y ago · link · parent

I think a huge reason this works is that this site is essentially focused on a small niche: (mostly) Tokyo-based, (mostly) English-heavy IT companies.

Everyone knows each other, it’s a high trust environment anyways, and it’s hard to recruit in the first place!

And like the article says, recruiting in Tokyo is kind of insanely expensive, mainly cuz it’s scaled to salary and a big chunk.

But I think the fact that this is… I mean it’s a lifestyle business? I don’t believe this is gunning for Indeed… it makes it easier

comment 4y ago · link · parent

I fail to see how the fact that other people might be willing to do this research changes the ethical propositions at play. You are responsible for your research! Especially when you know what it is going to be used for. Refusing to do the research yourself might not stop it, but you refusing loudly, and convincing a couple people around you to not do so, adds up over time!

You are of course correct that the best thing is to institutionally change things. But the institutional changes are usually pushed for due to actual public pressure.

comment 4y ago · link · parent

From [0]:

> In the three weeks prior to Hiroshima, 26 cities were attacked by the U.S. Army Air Force. Of these, eight — or almost a third — were as completely or more completely destroyed than Hiroshima (in terms of the percentage of the city destroyed). The fact that Japan had 68 cities destroyed in the summer of 1945 poses a serious challenge for people who want to make the bombing of Hiroshima the cause of Japan’s surrender. The question is: If they surrendered because a city was destroyed, why didn’t they surrender when those other 66 cities were destroyed?

> On August 2, you would have arrived at the office to reports that four more cities have been attacked. And the reports would have included the information that Toyama (roughly the size of Chattanooga, Tennessee in 1945), had been 99.5 percent destroyed. Virtually the entire city had been leveled. Four days later and four more cities have been attacked. On August 6, only one city, Hiroshima, was attacked but reports say that the damage was great and a new type bomb was used. How much would this one new attack have stood out against the background of city destruction that had been going on for weeks?

Of course the perspective of people who actually were on the ground is totally different. But if we are talking about strategic objectives, then how the leadership sees thing is in fact relevant!

[0] https://web.archive.org/web/20160221160530/https://foreignpo...

comment 4y ago · link · parent

[0] is a critique of Gladwell's book about those bombing campaigns. I do not believe it will have all the answers for you, but there is one component of truth: The US was looking for an unconditional surrender for Japan. That was a choice.

Unconditional surrender in Japan lead to the US occupational government for 9 years (along with over 20 years occupation of Okinawa, which had to be pried out of the hands of the US military, who wanted to indefinitely keep it as a colony).

Now, I'm not going to cry over Nazis or the Japanese military not being able to get a conditional surrender. But Japan is especially stark: except for a handful of high profile executions, not only did most decision makers not face punishment, many of them ended up back in the government and as heads of state. All of this more or less at the behest of the US.

What is my point? The US chose to reach for an unconditional surrender, for some pretty realpolitik objectives, prolonging the suffering of the civilians on the ground. There is decent documentation that part of this is so that the US could determine surrender conditions rather than the USSR. There is an alternate universe of a negotiated surrender that shortened the Pacific front.

What does that universe look like? I do not know. It probably would not have lead to the US having military bases all over the country. But conditional surrenders are the norm in wars. Air campaigns allow for militaries to just decide "no, we will just continue to attack forever, as we suffer few casualties anyway".

[0]: https://thebaffler.com/latest/narrative-napalm-kulwin

comment 4y ago · link · parent

Definitely. I was likely being too glib in my response here, and wasn't trying to say to throw all the nukes into the trash.

I think that it is possible to maintain an existing set of weapons without trying to continue pushing the envelope towards even more destructive weapons, and that 5000 is a lot/enough.

comment 4y ago · link · parent

China has an explicit No First Use policy. It also has a nuclear arsenal that is more than 10x smaller than the US.

You might say that China has a secret huge arsenal. The US might have comparable things! And even among the assumed amount of 350 warheads, a lot of damage can be done. The US can do a lot of this as well! There is a nuclear triad on both sides.

Perhaps the No First Use policy is a lie. It is not a law of physics. But it is something. It is a posture that makes it harder for a nation to navigate in some liminal space that makes defensive and offensive posturing look exactly the same.

But the main point of course is that the current state of affairs is already amazingly powerful. What more do people want from their nukes? In what universe is 1500 deployed warheads (out of a stockpile of 5000) not enough to accomplish any sort of strategic objective? There have been many conflicts where 0 has been enough

comment 4y ago · link · parent

With existing nuclear weapons the US could easily wreck large population centers very easily. They also completely destroy a nations infrastructure. Blowing up population centers of course would be a case of indiscriminate bombing and kill tens of thousands of civilians.

In WW2, even before dropping bombs on Hiroshima and Nagasaki, the US committed to a large bombing campaign that completely destroyed the country. The damage was so vast and total that the Japanese government did not even register Hiroshima to be unusual! Around that time other cities were also being razed to the ground, it just took more bombs to do so. During that war, in Europe and in Japan there were large bombing campaigns that indiscriminately killed many civilians. I find it hard to justify this (no, "they were doing the same" does not actually feel like a legitimate reason, especially when the narrative nowadays is that it was a battle between good and evil)

Low-yield tactical nukes seem to be playing with the idea of being able to have this option to massacre people more easily and play around with the idea of using nukes with no consequence. Higher-yield nukes seem to serve the purpose of more effectively wiping chunks of a city from a map. What magical weapon are we looking for that will make the world safer, and that accomplishes strategic objectives that are not already covered by both the existing nuclear arsenal and the conventional weapons of the US? Remember, normal bombs actually do things too!

Meanwhile, actual, legitimate No First Use policies would be much more effective at making the world a safer place. Stronger treaties to reduce nuclear arsenals, giving militaries less space to just push other countries around.

comment 4y ago · link · parent

Or one could choose to not do any further nuclear weapons research.

I understand that is not the marching orders of the US government but it could be, and it could also be a choice made by individuals on the ground.

comment 4y ago · link · parent

Meta: Something funny about how HN will automatically strip "Why" from headlines (garbling legit titles) and here the mod edit to a "proper" title got set to something with "why". Something to consider!

Every game programming story like this makes me feel like game programmers are the most undervalued programmers out there. Loads of them have very little experience, are asked to build extremely complex systems on fast moving ground, and get paid peanuts to do it.

I cannot imagine a system harder to put together than a game (maybe like... accounting software with a bunch of extra business rules?). Just so much stuff that can go wrong.

comment 4y ago · link · parent

I don't get where "easier to transport via rail" comes from. The instant you have a post office, you do want some sort of roads, and the number of rails and switching you would need to get to even some of the distribution centers spread across various supermarkets is a big ask!

That doesn't mean every single last meter needs to happen via truck (lots of deliveries in urban areas can happen via foot or scooter) but ... at one point you need to get the 200 cartons of milk to the supermarket.

comment 4y ago · link · parent

That is a very good point! Obviously a lot of stuff is easier if you just allow yourself downtime, but at one point the file gets big enough to where this matters.

comment 4y ago · link · parent

So I am also "really people, use PostgreSQL", because you have way less tricks you have to play to get it working compared to SQLite, in serious envs. However, some challenges with Postgres, especially if you have less strict data integrity requirements (reddit-y stuff, for example):

- Postgres backups are not trivial. They aren't hard, but well SQLite is just that one file

- Postgres isn't really built for many-cardinal-DB setups (talking on order of 100s of DBs). What does this mean in practice? If you are setting up a multi-tenant system, you're going to quickly realize that you're paying a decent cost because your data is laid out by insertion order. Combine this with MVCC meaning that no amount of indices will give you a nice COUNT, and suddenly your 1% largest tenants will cause perf issues across the board.

SQLite, meanwhile, one file per customer is not a crazy idea. You'll have to do tricks to "map/reduce" for cross-tenant stuff, of course. But your sharding story is much nicer.

- PSQL upgrades are non-trivial if you don't want downtime. There's logical upgrades, but you gotta be real fucking confident (did you remember to copy over your counters? No? Enjoy your downtime on switchover).

That being said, I think a lot of people see SQLite as this magical thing because of people like fly posting about it, without really grokking that the SQLite stuff that gets posted is either "you actually only have one writer" or "you will report successful writes that won't successfully commit later on". The fundamentals of databases don't stop existing with a bunch of SQLite middleware!

But SQLite at least matches the conceptual model of "I run a program on a file", which is much easier to grok than the client-server based stuff in general. But PSQL has way more straightforward conflict management in general

comment 4y ago · link · parent

Unity suffers from being 3d by default (so you're kind of defaulted into "physics-activated 3d world" stuff), having very low discoverability of features, and a lot of googling to land on the Unity forums.

If you're a programmer, there are a couple ways you can experience happiness:

- Try one of the many "2d game library" things. They tend to be limited to playing sound, displaying gfx, and handling input. But if you're a programmer that will at least give you an idea of what is implemented and what isn't.

- Use Unreal with Blueprints. "But I'm a programmer, let me write code!" Trust me, when you are using blueprints you both get a much more discoverable API, and can actually get all the fancy built-in 3d stuff to work. Also if you're not working on something by yourself, suddenly other people can help out a lot.

- Use Game Maker Studio! Being a programmer means you might have some more systems thinking, but ultimately having stuff like tile editors easily means you're not going to spend a month building out your own little tools.

Programming everything from scratch is overrated if you actually want to make something that works. But Unity has a lot of half-baked features and is actually pretty hard to get working nicely for so many things that it can easily end up being a massive source of incidental complexity.

comment 4y ago · link · parent

Any link to documentation on how to use it? Would be a godsend for me

comment 4y ago · link · parent

Several things:

- "we need to take community input into account" gets transformed to "a small handful of people acting in bad faith can stop any process"

- homeowners tend to have more access to these, but are not the only people affected by these decisions (you think the teachers or cops having to live 90 minutes away cuz they can't afford to rent in these areas are showing up here?)

- Home ownership in particular just generates a perverse incentive to try and profit off of your home. That might be great for homeowners, but there's a reason rentseeking is its own economic term.

I believe that the specific thing here is that community input on planning as it exists in the US is bad, for the same reason that deciding everything by referendum is bad. If you put every part of urban development up for line item veto, then you can't make much of a great plan!

I personally think that public comment and the like is ... fine and good. But I do think it should be possible for a city government to lay out requirements for building a thing, and for people who meet those requirements to be able to do the thing, no matter how much others whine. If there are issues, change the requirements for future projects!

comment 4y ago · link · parent

They don’t want construction noise or traffic. No comment about whether they want more neighbors

comment 4y ago · link · parent

I have accounts on both. I think the chess.com video content is great, the puzzle content is great, all the extra little features like puzzle rush is great… the one unfortunate thing is the ads. I pay for chess.com but when friends play it sounds pretty annoying.

There’s a lot of incidental stuff I dislike in lichess’ UI, but at the end of the day chess.com offers lots of stuff to learners (straightforward reviews, with recent game review features offering _why_ moves are good)

But hey, more power to everyone! Just tired of people going out of their way to claim that chess.com is garbage. I’m glad lichess exists and will play some games on it. But there’s a reason that chess.com has more users and it’s not just the domain name.

comment 4y ago · link · parent

While I wouldn't go as far as to say that this is "the point" of ABC, it's certainly relatively important, with __subclass_hook__ being promimently placed near the top of the ABC documetnation.

Control over destructuring isn't entirely new territory for PLs, Scala has Extractor Objects[0], as an example.

I think that it's a bit easy to say "it should just match the type!" when the reality is that even basic classes like list get overwritten in Python. Ultimately many language features have configurable features through dunder methods, and the fact that those get used by other language features is a feature, not a bug IMO.

As usual, don't use libraries that do weird stuff... and every once in a while you'll have the nice DSL that does something useful in this space and it will work well.

The thought experiment about a more restrictive version of this: how does Python tell that an object is a list? If it's through isinstance, then you're hooking into a bunch of tooling that have hooks that can be overwritten. If it's _not_ through isinstance, suddenly you have multiple ways to test if something is a list (which is a problem).

[0]: https://docs.scala-lang.org/tour/extractor-objects.html

comment 4y ago · link · parent

Because what happens is every single company will start doing this in practice. Not to mention that overworking people to the point that they do not believe they can even take a real rest break is a safety issue.
1
737475
225