HackerTrans
TopNewTrendsCommentsPastAskShowJobs

riizade

no profile record

comments

riizade
·9 bulan yang lalu·discuss
Same, but games run uncompressed assets as an optimization measure to trade disk usage for CPU usage, depending on which is the bottleneck for their particular game (iiuc)

So it'd be surprising to me if a developer chose to use uncompressed/lightly compressed assets, and compressing them caused performance to increase; because you're intentionally choosing the tradeoff in the opposite direction the developer did

Of course, there are game developers that are less technical and may not have knowingly made that tradeoff in which case all bets are off, but the games made by those developers tend not to be the kind that require beefy machines to run at 60fps+
riizade
·9 bulan yang lalu·discuss
Can you elaborate on Unity wasting disk space on gigabytes of zeroes?

How did you discover that? Is it intentional on Unity's part? Percentage-wise, are we talking 2% of a 100GB game, or 50% of a 4GB game?

I can't find anything about it online.
riizade
·tahun lalu·discuss
I got a light interrogation as a US citizen. For the record, I have Global Entry, NEXUS, and TSA Pre-Check.

I handed the border agent my US passport and the conversation went like this

"why are you entering the country?"

"I live here"

"do you have legal status in the US?"

"I'm a citizen, you're holding my passport"

"have you ever overstayed a visa in the US in the past?"

"I was born here, so no"

"do you intend to do any work while you're in the US?"

"yes, I'm a US citizen and I have a job"

I didn't get pulled off to the side or anything, it was just standard questioning at entry processing when flying in, but it was just bizarre

the border agent kept looking me up and down suspiciously like I was hiding something, but he had my passport the whole time

even when I got questioned on my way to Canada (I would've stopped me too), they were much nicer about the whole process, it's an air of "we're just double checking cuz making a mistake here would be real bad, but as long as everything's legit, no worries, I hope you have a nice stay in Canada"

entering the US the vibe is "you're a violent criminal and it's my job to ask you questions until you slip up and admit that fact, the US is magnanimous for allowing you to touch our great country's land with your disgusting feet, and you should remember that every day you're here or we'll detain you so you won't forget again"

I'm a little surprised you've only had positive experiences.
riizade
·2 tahun yang lalu·discuss
> normally, you can visit the PRC for 15 days, you're railroaded throughout your whole trip, and you're required by law to stay in a select few hotels where the staff speak English anyway

Huh?

The tourist visa is I believe 90 days per entry (as it is for most countries), and valid for 10 years. There has been no foreign guest licensing requirement in the PRC since 2002, as far as I can tell, and even then it didn't seem to be a "select few" hotels, it was something any hotel could get, but probably a lot didn't because international tourism to China wasn't as big then. Some hotels will refuse foreign guests, apparently, but that's the hotel's individual decision and it doesn't seem to be widespread.

I know several non-Chinese people who have traveled extensively throughout China via simple tourist visas, there were no restrictions as far as I could tell, and I've never heard of any.

Are you confusing the PRC with the DPRK?
riizade
·2 tahun yang lalu·discuss
Wait, huh? The article is light on hard figures, but the homicide rate in Sweden doesn't seem to have changed much at all in the last 30 years

https://data.worldbank.org/indicator/VC.IHR.PSRC.P5?location...

The only real numbers the article gives are > About 62,000 people are linked to criminal networks in the country, police say.

which says... nothing? What does "linked to" mean? are those people that buy illicit drugs off the street? are they "linked to" a criminal organization?

> Last year, 363 recorded shootings led to 53 deaths across Sweden, according to police.

Absolute numbers, without per capita context (given above) this is not useful.

> In 2022, the gun murder rate in Stockholm was roughly 25 times higher than in London.

This is _gun_ murders specifically, but for all murders, London is comparable to Sweden overall (~1.3 per 100k population), I wasn't able to find numbers for Stockholm specifically, but yeah, if I die I die, I'm not sure I would particularly care whether it was due to a knife or a gun.

Overall, seems like another overblown narrative that doesn't reflect reality to me. Violent crime just doesn't seem to be trending upward in Sweden.

Curious if others have information that counters what I've found.

Edit: sorry, Wikipedia was the source for London homicide rate https://en.wikipedia.org/wiki/Crime_in_London
riizade
·2 tahun yang lalu·discuss
I don't have anything insightful to add, I just want to add my voice to the choir of people saying that after using sum types, working in a language without them feels unnecessarily restrictive and awkward.

If this feature were implemented, it would take C# to a top contender for a daily driver language for me, and would make me feel a lot more confident in choosing it for projects where the C# ecosystem is already present, such Godot's C# version.

I'm really excited about this proposal, and I don't know anything about C#'s development pace, but I'll be watching from the sidelines hoping I can use union types in production in 2025 or so.
riizade
·2 tahun yang lalu·discuss
As a very junior developer, I once worked on a chatbot for purchasing flight tickets. You know the ones, the annoying windows that pop up when you're trying to navigate a (hopefully) otherwise perfectly usable site, the ones that are intended to replace customer support but are fundamentally unable to, the ones that you'd never trust with a transaction worth $5, much less one worth hundreds or more.

Even if this project were a rousing success by the company's definition, it would have ended up a useless chatbot used by very few people but frustrating many more.

Instead, one day we're chatting about the project, and when talking about strategy for implementation, the product manager pushes back on working too early on integrating with the actual API calls to purchase tickets. I thought having a proof-of-concept for the actual functionality would be important, so if we ran into roadblocks we could ask other teams to provide us alternative APIs with enough notice at the beginning of the project rather than the end.

The product manager said that we couldn't afford to do that, because if we did, we'd lose.

I said "what? lose? what do you mean?"

It turns out, our team was one of 3 teams competing to make the same project. Leadership wanted to make 3 fully implemented, separate systems, and the one they liked best would go live, while the others would wither and die.

It also turns out, that our team was way behind because although we had some logic set up for handling edge cases in conversations (not great by any stretch), another team with no backend developers had a beautiful UI concept that handled only exact strings with no room for deviation on the user's part. This UI concept demoed well, of course, so they were the favorites.

It was made clear to me by the team's technical lead that nobody up the management chain (including our team's direct manager) had ever written a line of code before, or knew what the difference was between backend and frontend, or a tech demo that presents well versus a working product, and so wouldn't be able to differentiate a finished product that actually purchases tickets from one that runs entirely on the frontend and talks to nothing (until launch day, of course).

I was already on edge because I had been asked to test API integrations by using my personal credit card to purchase a real flight ticket and refund it because we didn't have test cards or even corporate cards we could use.

So I resigned within a week, and my manager was furious.

This story happened probably more recently than you're thinking.

That was the most useless project I've ever worked on.
riizade
·3 tahun yang lalu·discuss
Same.

Expedia asked me to test production ticket booking flows using my personal credit card.

It was a flow where you can use a special code to book a refundable ticket. I asked what happened if I forgot to refund it in time, or if something went wrong.

"Don't forget!"

I asked for a corporate card to test with and was denied. I refused to ever input my personal card. I think the team lead said I could use his, but I refused to use anyone's actual, real card.

I was young at the time, and I'm glad I saw the red flags quickly enough and left.
riizade
·3 tahun yang lalu·discuss
Tangentially related, but I don't understand.

From light googling, a quick-release steering wheel seems to be a steering wheel that you can simply remove by pressing a button.

So from your post, the implication seems to be that if someone has one, and their car is rear-ended, the steering wheel just comes off into their hands and they can't control their car.

Is that right?

Why would someone purchase a quick-release steering wheel? What does it help them accomplish?