skysight-inc/HackerNews huggingface dataset:
> I'd argue if a company depends too much on "spontaneous hallway conversations" for information flow/exchange, that should be treated as a problem to correct

I don't think this is a black-and-white issue. Sometimes a "spontaneous hallway conversation" clarifies in 5 min what a 30 min Zoom call would otherwise do.

3 of my coworkers and I coordinated a few months back to go in on a single day together. I was reading over a doc a coworker wrote and had a question about a portion and found him grabbing coffee and coming back to his desk. I just went over and asked him the question, he clarified, then we both sat back at our desks and got back to work; I was unblocked. If we were remote, I'd DM him and then stop reviewing the doc until I got an answer. I often context switch out of work I need clarification on since I have no guarantee that the coworker is even ready to help. Having state (in a meeting, not at your desk, at your desk, chatting with a coworker, etc) on coworker availability is very useful for efficiently working.

> Perception of decisions getting made in secret or without transparency

I'd argue that this is worse remote. When remote, a lead and a manager get into a VC call and hash out the team roadmap without any input from the team. They can reason it's a lot easier on availability and less disruptive on the rest of the team to make the decision. While the lead and manager offer the plan to the team for comment, the team feels demotivated because they have to read and push back rather than sit at the table for comment. In office, the lead and manager can discuss things at desks and interested employees can overhear and interject. It's not perfect of course (favors those around for the conversation), but it's better than the Zoom world.

I think hybrid remote-first work is the best of both options but I think most companies going fully remote will not go hybrid because the cost savings of doing everything online is just so much higher. As you noted, offline-first companies will treat remote workers and second-class citizens.
"Efficiency" is not a goal in itself, and it does not pass as an argument here.

1) Walmart may be a better "business model", but is it a better model for a society that we want to live? I surely don't want to live in a place where big box stores are the norm, and the only alternatives are crazy expensive "niche" stores. And I surely don't want to live in a world where the quality of my food is determined by Walmart's weight, who will favor products that can last longer, are cheaper to produce and are easier to store and transport - i.e, ultra processed crap. If the price to pay to have better groceries is the "inconvenience" that I will have to go to 2-3 separate shops, it's absolutely worth it and I'll gladly accept the "inefficiency".

2) Optimizing for efficiency is a recipe for systemic, catastrophic failures. Just as an example: think of the semi-weekly github outages that are happening. Everyone is convinced that the cost of paying for a SaaS is negligible compared to the cost of operating your own, so they don't even try to set up their own CI and code repository and have to pray everyday to make sure that will be able to work with it. Meanwhile, my self-hosted gitea/drone/docker repo has been running for almost 4 years already with no issues and it requires minimal maintenance. It took me some time initially to set things up in a way that I was satisfied, and it probably doesn't save me any money compared with a off-the-shelf solution, but thanks to my initial investment and willingness to accept these costs I am more resilient than any competitor.

3) Taken to an extreme, focusing on "efficiency" could be used to justify authoritarian governments and the most dystopian worlds. I really do not share this techno-utilitarian worldview that thinks that maximizing economic output can justify the existence of corporations that reduce us to nothing but consumers that can be placed in a segmented box. It's this worldview that is brought us Big Data, the invasion of our privacy, the "gamification" of everything, and so on. Google/Apple/Microsoft/Amazon may all be trillion-dollar companies and may have built incredible products, but the societal/environmental/civil cost is just too much to be worth it. If I knew in 2004 that by accepting the invite to 1GB of Gmail I would be contributing to the emergence of Surveillance Capitalism, I'd never had done it.

Anything else you'd like to try?
Thanks for introducing a new (to me) term, i.e BANANAS. Upon searching i discovered a few others:

NIABY: Opposition to certain developments as inappropriate anywhere in the world is characterised by the acronym NIABY ("Not In Anyone's Backyard"). The building of nuclear power plants, for example, is often subject to NIABY concerns.

NAMBI: ("Not Against My Business or Industry") is used as a label for any business concern that expresses umbrage with actions or policy that threaten that business, whereby they are believed to be complaining about the principle of the action or policy only for their interests alone and not for all similar business concerns who would equally suffer from the actions or policies.

BANANA: is an acronym for "Build Absolutely Nothing Anywhere Near Anything" (or "Anyone").The term is most often used to criticize the ongoing opposition of certain advocacy groups to land development. The apparent opposition of some activists to every instance of proposed development suggests that they seek a complete absence of new growth.

NOPE: (Not On Planet Earth)To leave an uncomfortable situation, usually quickly.

LULU: Locally Unwanted/Undesirable Land Use planning.

NOTE: Not Over There Either (meaning is same NIMBY)
I agree that in SF it has gotten out of hand. But the concept that communities can establish rules for what you can build in those communities seems acceptable?

If I moved to a a suburb because I wanted a smaller scale, and my neighbor wanted to build an apartment building next door, I'd probably push back against that. It feels like what is happening in SF is some extension of that.. projects getting caught up in community board reviews that happen slowly and unpredictably, and are staffed by old-timer SF residents who want to keep the city small. Frustrating for sure, but hard to fault them for that, if that's why they moved there pre-tech boom?

I personally live in NYC and appreciate that you can build whatever you want here!
People don't connect in sterile, comfortable-for-all environments. Professionalism keeps this in check: inclusive enough to not exclude people from other cultures, etc. But it's somewhat of a trade-off and we have trouble admitting that.

I don't have a strong opinion about whether alcohol should be an ordinary part of business or not. Seems reasonable either way. But anything interesting can make some people uncomfortable, so let's not eliminate it all.
The reflected background is oddly familiar, almost blissful…
Lost it at 'steering wheel'. Very funny!
Here's a perfect example. I maintain a simple Node library designed to connect to Apple's App Store Connect API. https://github.com/dfabulich/node-app-store-connect-api

It accepts, as a parameter, a URL for Apple's REST API. My library handles authentication, and returns the parsed JSON result, with a handful of tweaks to make the API more usable in JavaScript.

Depending on which URL you request, you'll get different result object back. You could get a single object in response, or an array of objects, and the type of returned objects is different for each URL type.

How would you add TypeScript types to this API? Well, Apple provides an OpenAPI documentation of all of their URLs, which I could use to autogenerate types, but then, how would I handle all of those types in response to the user's string input?

Well, it turns out that TypeScript is so amazingly fancy that you can write very clever code to parse strings at compile time, extracting parameter types etc. from string literal types. https://lihautan.com/extract-parameters-type-from-string-lit...

The documentation explains how an API like this:

app.get('/purchase/[shopid]/[itemid]/args/[...args]')

can parse its parameters into a Request type with shopid, itemid, and args[] array parameters. This would catch a bug if you had a typo, e.g. "itmid".

But the code to do that looks like this:

type IsParameter<Part> = Part extends `[${infer ParamName}]` ? ParamName : never;
type FilteredParts<Path> = Path extends `${infer PartA}/${infer PartB}`
? IsParameter<PartA> | FilteredParts<PartB>
: IsParameter<Path>;
type ParamValue<Key> = Key extends `...${infer Anything}` ? string[] : number;
type RemovePrefixDots<Key> = Key extends `...${infer Name}` ? Name : Key;
type Params<Path> = {
[Key in FilteredParts<Path> as RemovePrefixDots<Key>]: ParamValue<Key>;
};
type CallbackFn<Path> = (req: { params: Params<Path> }) => void;

function get<Path extends string>(path: Path, callback: CallbackFn<Path>) {
// TODO: implement
}

Nifty, eh? But, as the article says: how would you test this code? How would you debug it?

Clearly, I wouldn't do that. Instead, I'd write a script to autogenerate individual methods, e.g. instead of get(`apps/${appId}`) that returns a parsed JSON blob, I'd autogenerate a getApp(appId) method that returns an App object.

But that API isn't any simpler than the API I already have; it's just different.

And let's not forget that I'd have to write a script to autogenerate these methods (or just their types) based on Apple's OpenAPI specification, and now I have to maintain that code, updating my @types/node-app-store-connect-api definition every time Apple introduces a new URL you can request. Testing and debugging that is a challenge in its own right.

And even if I did it, the complexity of my library just went from a few hundred lines of glue code to 1,000+ lines of type generation (plus tests for the generated types).

This is in no way worth it for me. As a library developer, adding TypeScript types would make my life harder.
Just to weigh in as a chemist. A high level of skill and patience went into the creation of this. Fluorine is one of the nastiest things youll find in a lab. HF is no joke.
> I am in a lucky position where the current hardships don't affect me financially.

Yet. But I'm not sure if that is something that has enough staying power to see you through to the end of this. Inflation is a fickle thing. So are bankruns.
> TypeScript is terrible for library developers

That's the title. That's the whole premise of the post.

> his primary gripe specifically as a library developer - is that the knowledge base for library developers is very sparse.

No, it isn't.
Given the political state of US tech, has this not proven to be an incredibly wise decision?
Europe's drought the worst in 500 years – report
I mean, that's good for society. But that's not a benefit for the well off who rely on their "network" (aka nepotism and cronyism).
This is not about devastating effect. As adults, we take responsibility for our choices.
I didn't drink any alcohol for the first 40 years of my life for religious reasons and I really don't think it's that big of a deal to say "no thank you". If you're in America or Europe, alcohol is going to be a part of the culture whether you partake or not and I feel that people who don't drink need to accept that.

However, there are definitely things that those in the majority can do to make the minority feel included. When I was a new grad student my advisor made it very clear that I wouldn't be pressured to drink at social events and I was grateful for his thoughtfulness. And he was true to his word. I still had to say "no thank you", but I felt safe doing so, and I still felt included.
There's a great deal of difference between "You must hire from this government-operated job training program" and "You must hire this person. No, really, this guy."

In any case, this is irrelevant. The linked document says that Russia, Nigeria, India + one redacted government sought to force Twitter to hire local FTEs "that could be used as leverage", no mention of providing candidates or anything. It looks less like trying to embed agents in Twitter and more like wanting Twitter employees they could pressure, arrest, and punish without causing a diplomatic clusterfuck. India jailing an American citizen forces the US government to intervene, and said US citizen would've fled the country long before things got that tense anyway. A citizen of their own country, on the other hand, can be much more easily contained, and when push comes to shove, the US won't do much for a foreign national who only happens to work for Twitter.
There's a huge amount of capital available and borrowing is still cheap.

I don't know in the US but in many European locations building of new housing has drastically slowed down over the past decades, which naturally puts am upward pressure on the market.

There is no need to demonise investing in property, which not the root of the problem (and frankly is often an ideological stance).

If anything, there should be more investment in new buildings to boost supply but very often the problem is planning restrictions.
Python is also very dynamic, yet libraries rarely allow arguments to be number/string/list/dict/function at the same time.

Yet in JavaScript I see this all the time - pass a string URL, but we also accept a function which will return a string URL, or maybe an option object - { url: string, strict: boolean }

So I think it's more of a culture thing.
Looking forward to your review!
What gift would that be? Genuine question - I don't see what gift I received that is comparible to my in-laws purchasing their first home for 30k and flipping it for 100k not long after. I haven't had a gift close to that.
Sounds like a bunch of jerks. Maybe it's time to find another circle?
I think this classic

https://en.wikipedia.org/wiki/Prince_of_Gosplan

should have a link here.
see you're doing exactly what I described.. you saw someone mention the word immigration and went off like a dog on a steak without reading.

I'm not "blaming immigrants" - I'm blaming immigration policies that have Canada leading most of the developed world in net immigration while also being in last place for it's housing stock.

That situation causes a supply and demand loop that makes it profitable for corporations to flip units (the corps doing this is a SYMPTOM not the CAUSE of the problem).

I have no issue with immigration and I'm not scapegoating minority groups (seriously read next time please), what I'm saying is the policy that allows one needs to be directly influenced by the policy of the other or you get knock on effects like we are seeing now.

You are correct that we can't agree on the underlying issue, but not because anyone is scapegoating but because so many people want to concern troll and try to avoid having a discussion for fear of being labeled as insensitive.
Yes, and while we're at it, let's outlaw war and murder too!
I somewhat relate to this. I don't drink and never really have, but do find it tends to be the center of many conversations and of after-hours work-related events, be it vendors or what have you.

It's never really posed a huge problem for me to tag along and drink something non-alcoholic though, and it gives me (an introvert) and excuse to skip out on some more drinking-centric social events (where people are just going to get hammered) that I'd prefer to avoid.

People love alcohol and I don't expect this aspect of culture to shift anytime soon nor would I push for it to. If I miss out on some social climbing outcome, so be it.
If you read the document "Security Chief's Final Report to Twitter" on the Washington Post article (https://www.washingtonpost.com/technology/interactive/2022/t...), you will see that 'god mode' just means they have IPMI access to servers.
I've been abstaining from alcohol for a year now, and haven't noticed the peer pressure at all (mid 30s tech worker). But I do understand -- I'd much rather go socialize at a place that has good food or some activities rather than a cocktail bar being the main theme.
I tend to feel most productive in interpreted languages and most disciplined in compiled languages.

I feel particularly productive in Python and R but I think I write my best code in Go, C#, or Elixir
> wifibox essentially spins up an Alpine Linux VM using FreeBSD's bhyve virtualization technology, and allows you to passthrough your machine's wireless card

Jesus christ.
Does it mean that languages should prohibit type-level programming (or type-valued functions), like in Idris?
Conservatives: "Government doesn't work. Elect us and we'll prove it."
I think there's some disconnect here but I'm not sure where. In my scenario I have crypto sitting in my wallet that can't be linked to any other wallet. That means when I buy coffee with that wallet there is zero way for starbucks to also see that I bought something at target with a different wallet.

Again, this is achievable in many different ways. Today, anybody with a trivial amount of knowledge on basic feature sets of various coins can do this.

You can't link me to the coins I earn via mining, you can't link me to the coins I spent on some other private chain (e.g. monero) and thus when I buy starbucks with a wallet, quite literally only starbucks will know that I had enough funds in a wallet to pay for a coffee and unless starbucks goes KYC then they also won't have metadata linking my identity to that purchase anymore than if I had used cash.
It's a fair point, but if the thought exercise is that we must do as much as we can to prevent a future catastrophe, I feel like the cost of an antarctic vault would be manageable compared to the cost of some military projects, moon missions, or even megaprojects in American cities.
Link me to an example of an empty lot in San Francisco that you are trying to build a single family home on and can’t, please.
Good for you. I was somewhat disappointed with TypeScript in the beginning, because I tried to use the type system like I would use it in Swift or Scala. That's not really a good idea. If instead, you view TypeScript as a smoother implementation of JavaScript + JSDoc, then it becomes a really powerful tool, which I like more and more!
This is interesting. Communities like postmarketOS put in a lot of effort to adapt their distribution to hardware that would otherwise be running Android.

Perhaps targeting commodity hardware is a more viable strategy than contending with newer platforms like Pinephone. Sure the device is more open, but most of the software support falls on the same community of developers. Lord knows they have enough build targets to maintain already.

I'm sure there will always be a place for custom hardware like Pinephone, Librem 5, but repurposing a flagship Android device is going to be a better value proposition for most people.

I own a first-gen Pinephone and it seemed really promising for a while. As things got fixed and the state of affairs improved, I think everybody's expectations shifted whether they realized it or not. Phone calls and SMS work perfectly, but after that started working, now I want it to do GPS and navigation. Doing this is possible, but pushes the poor Pinephone's hardware to its limit.

I think offloading progressively more tasks to a computer is perfectly natural, but ultimately (for me at least) this killed the Pinephone's viability. I wound up hitting a glass ceiling way too soon for comfort.

It's one thing if software support for specific tasks is nonexistent - this is a solvable problem, the community marches forward and fixes this as a matter of course.

But what do you do when you have the software support, but it just doesn't run on your Allwinner A64?

Maybe things have improved yet more since the last time I tried. I'll have to check out Pure Maps again.
Yes I agree, interested to see how it plays out. But I’d argue Adams and Albany’s pressure on PwC or whoever to renew their midtown lease paired with my various employee-unity rants ITT will be what results in the meaningful RTO events. There
won’t be any laws, just social pressure.

The market might solve it via PwC tanking over 10 yrs due to talent, but in the meantime that’s 10 yrs of people who deserve to see their families more too and can’t.

You could argue they should just be good enough at their jobs and/or choose the right career as to get remote options. Fair enough and this is what I’ve done.

But the implied primitive that the market decides who gets more family time, especially when it’s almost as simple as internet at the office or internet at home, seems very socially wrong to me.
There are no magic wands here. Property is a limited commodity, it can't be expanded to fit demand.

> then there needs to be a change

No there doesn't

> Having all the low paying workers commute 2 hours to work every day to make frappes and burgers for the rich locals is not a viable option.

Viable is in the mind of the beholder. Viable solutions include

- low income workers moving to more affordable areas, leaving the wealthy to make frappes and burgers with their Kurigs and air fryers

- low income workers continuing to commute feeling it is still the best option for them considering all factors

- wages raise in high-income areas to compensate baristas and chefs, allowing them to move closer to city centers.

All of these are 'viable' and none of them make housing a right or necessity.
It is like any other thing including coffee or food people like it so it is a common thing to do. I have never seen it be an issue in a work context. Don't restrict others because of your piety or whatever your reasons. So long as you can opt out don't restrict others.

Let's not have a beer? I disagree let's have a beer. The post should have been about the alternatives he wants to have or do. Let's have coffee? Plenty of that happening.
Not to pull a "whatabout"ism, but I can only imagine it would be a lot harder to not drink as a Japanese salaryman. Very difficult to bond with your coworkers if you can't participate at nomikai, the only time they can let their guard down and speak their true feelings.

I can't speak for how it is in China, Taiwan, or other east Asian countries, but from what I've heard the drinking is more intense than it is in America.
I don't think it's petty; availability of data and systems is a core component of security design.
It's certainly no hard binary! But drinking behaviours are socially determined, so unsurprisingly it does tend to cluster:

> People were 50 percent more likely to be heavy drinkers if one of their friends or relatives drank heavily. However, if a friend-of-a-friend drank heavily, people were only 36 percent more likely to do so, and if a friend-of-a-friend-of-a-friend drank heavily, they were 15 percent more likely to do so.

> The pattern worked in reverse, too, although it wasn't as pronounced. People with a friend or relative who didn't drink were 29 percent more likely to be teetotalers themselves.

> The quantity of relationships mattered as well. The more connections to drinkers--or nondrinkers--a person had, the more powerful the effect was. People "surrounded by" heavy drinkers were 70 percent more likely to drink heavily themselves, while those with many abstinent friends and relatives were 50 percent more likely to also abstain, according to the study.

http://www.cnn.com/2010/HEALTH/04/06/drinking.alcohol.family... Other studies mostly point in the same direction.
The TDP of the 5900HX is 45W.

Don't forget we are comparing last-gen AMD vs current gen M2.

M2 on Mac makes 1884/8717, but on Paralles -> 1681/7260.

So, the penalty is 11% on single, 17% on multi because of running on Windows via Paralles.

APPLE M1 average Single Core is 1706, average multi is 7421 on MAC.

If we apply the above penalty becomes -> 1706/7421 -> 1522/6180.

AMD 5900HX average Single Core is 1413, average multi is 7656.

So, AMD - 1413/7656 | Apple M1 - 1522/6180 -> Amd is 8% slower in single, 19% faster in multi.