Hacker Newsnew | past | comments | ask | show | jobs | submit | compootr's commentslogin

gdp isn't and will never be a measure for social wellbeing. it's just economic output :)


I think that’s what’s changed though, as GP asked, people want to define recession as closer to the social wellbeing than a metric like gdp that is divorced


Doesn’t this kinda create a problem though? Like a recession implies economic slowdown, but social wellbeing can decrease while the economy is fine.

For example, a plague or severe weather might make the average person have a worse standard of living, but if the economy isn’t net affected, it seems wrong to say we are in a recession.


Our vocabulary is too limited then. I know average people only use the word recession when things are compounding negative towards their personal finances / economics AND they feel like most people they know are dealing with the same. They don't claim it's a Katrina/Harvey/[any storm name] recession, they know the differences and that storm driven struggles are usually localized / temporary with a known amount of work to rebuild - average joe feels helpless in a macro-recession as it's only going to be solved in time and/or with help of politicians they don't trust.

Plagues are a weird example, because I can't think of any situation where a plague would not affect the economy - and it should effect it negatively. I think COVID effected it negatively, we just chose to have a financial long COVID and drag out what should have been a financial disaster without all the government programs. Instead of economic collapse and starvation, we chose to massively spend money knowing it would be paid in time through inflation and also knowing it wouldn't get reallocated in an even way as pre-COVID. (That's my take, I don't know if there's any validity to it but it's just my gut feeling.)


I bought an IONIQ 6 with Hyundai Driver assist II, and it's not what the reviews cut it out to be.

On stretches of pretty straight highway and in traffic, it fares very well, only requiring minor interaction, but on larger curves, it completely disengages with no tone or warning, just a light on the dashboard that turns off.

I'm fully aware you're supposed to drive a car by paying attention to the road, but if the whole point of this feature is to make driving more chill, randomly disengaging makes me distrustful of it


So you're "fully aware" that you're supposed to pay attention, but you still think "making driving more chill" is somehow desirable (or at least supposed to be desirable, for marketing purposes)...

I think you -- and everyone else -- should not only be "distrustful" of these purported "autopilots" or "copilots" or WETF the marketeers call the contraptions, but actively avoid ever buyin any vehicle equipped with them. Just refuse, and do your own damn driving. For everyone's sake, including your own.


I don't agree! It's easiest to printf() things since you don't have to have tooling to debug every language you want to work with!

while you should know this for anything you're proficient in, I usually reach for printf since it's usually quicker than messing with a debugger :)


> I don't agree! It's easiest to printf() things since you don't have to have tooling to debug every language you want to work with!

Nothing is easier than setting a breakpoint in a line of code and running the app.

When a breakpoint is hit, you also have access to local variables and their state. Some debuggers even allow us to change variable values at runtime.

Using printf is effective, but far from being the best way to achieve anything.


You guys are probably gonna laugh me out of the room, but I use a combination of both printing and debugging tools when identifying issues.


I noticed this issue and someone else mentioned it to them too. I think it's cheeky because it's been like that for a while


tokens are stored in localStorage, which is accessible by JS


Well, it used to be much more accessible before, now you have to do some hack to retrieve it, and by hack, I mean some "window.webpackChunkdiscord_app.push" kinda hack, no longer your usual retrieval. Basically you have to get the token from webpack. The localStorage one does not seem to work anymore. That is what I used, but now it does not work (or rather, not always). The webpack one seems to be reliably good.

So your code goes like:

  // Try localStorage first
  const token = getLocalStorageItem('token')
  if (token) return token

  // Try webpack if localStorage fails
  const webpackToken = await getTokenFromWebpack()
  if (webpackToken) return webpackToken
and localStorage does fail often now. I knew the reason for that (something about them removing it at some point when you load the website?) so you need the webpack way, which is consistently reliable.

I believe if you search for the snippet above, you can find the code for the webpack way.


Discord removes the token from localStorage when the web app is open and it's in app memory, and places it back when you close the tab using the "onbeforeunload" event.


Yeah, that is what I have observed, too.

You can retrieve it the webpack way though.


@grok all software engineers do is mindlessly turn specifications into code in one shot, right?!?


Even though overly broad regulation is a risk, I don't believe little/no regulation is an option either. I don't think the US's consumer protection mechanisms work, and I'm happy to accept the downsides of the EU's systems that come with the upsides of regulation.


this reads like it was written by a clanker


I still think this is an acceptable footgun (?) to have. The expressiveness of downloading an image tag with a domain included outweighs potential miscommunication issues.

For example, if you're on a team and you have documentation containing commands, but your docker config is outdated, you can accidentally pull from docker's global public registry.

A welcome change IMO would be removing global registries entirely, since it just makes it easier to tell where your image is coming from (but I severely doubt docker would ever consider this since it makes it fractionally easier to use their services)


free workers only get 100k reqs per day or something


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: