skysight-inc/HackerNews huggingface dataset:
Right, I do this with argparse for creating simple CLIs for a module generally intended to be imported and used in another program. argparse has nothing to do with the actual module functions and won't be needed if the module if going to be used in a web app or some other context.

This make even more sense for a non-standard library like fire because you won't even need this dependency if you're going to import the module and write your own interface instead.

The import in main doesn't seem particularly useful in context on a quick read, but considering the line

> utils.py contains the code to download and load the GPT-2 model weights, tokenizer, and hyper-parameters.

it seems possible some downloads are happening on import so does make sense to defer until actually needed, as suggested in sibling comments.
That was my question as well. I wonder if they'll phase out the GitHub offices, then, after a time, force workers to RTO to existing MSFT offices.
> I’m young (35) but I’ve never seen layoffs so continuous.

Go read up on the .com bubble popping.

The layoffs look huge because the increase in headcounts were so huge in the past 2 years:

https://bsmedia.business-standard.com/_media/bs/img/article/...

It's like saying "I lost a ton of weight recently! I'm down 20 lbs!" when you gained 50 lbs over the last 2 years.
Drug costs in general are jacked up in the US. Insurance will "negotiate" but ends up paying anyway. No insurance, you pay the full price.

Insulin is cheap. My brother gets his from the Brazilian government, no charge and no proof of income(it is a life-saving medication and you already pay your taxes). If you want more "convenience" (receive at home, not wait in line, etc), you can go to a pharmacy and pay. Costs maybe $20 for a month's supply of brand name long acting insulin (less if you are low income, even less if you have some forms of private insurance).

The Brazilian government also highly incentivizes generics vs brand names, doctors will often prescribe by the active ingredient unless there's a very specific reason to go to a particular brand. It has threatened to break patents (and done so on occasion) of companies that overcharge for essential medication (https://www.reuters.com/article/us-merck-brazil/brazil-bypas...)

There is absolutely no way insulin costs should be as high as they are. Walmart survives with a 3% profit margin but somehow we allow pharmaceutical companies to charge about whatever they want. It's not 'high tech' anymore, despite minor improvements by Lilly and friends to keep the patents alive.

Related: US health care costs (global is following) are also higher than they should because of the food industry. They will push their sugar heavy processed crap worldwide, but in the US they use high fructose corn syrup. For decades fructose was erroneously pushed to diabetics because fructose doesn't raise insulin levels. What it does do it cause metabolic syndrome, ultimately leading to obesity, type-2 diabetes, and there are links to cancer and even a growing number of publication linking to Alzheimer's and dementia in general. 88% of Americans have some sort of metabolic dysfunction(https://www.ksl.com/article/50332891/88-of-americans-are-met...).

We tend to shame people and say that they are pre-diabetic, obese or what have you because they are lazy and over eat. That's untrue. You can't outrun a bad diet. People will try to "eat healthy" and eat a bowl of cereal because companies say it's good for you. It is not. They will cut fat (and end up eating more carbs) because they have been told (by the food industry) that fat is bad. It is not, sugar and highly processed foods are. They feed people bad information(a calorie is a calorie) and then shame people for not "taking care of themselves", all the while polluting geniune research that contradicts them. It's terrible.
Banks should abandon their blockchain fantasies
> Why would that make it easier?

Because the immediate problem you're trying to solve as an employer isn't writing a commitment satisfying all situations, it's having a valuable association with your employees, and if employees know under what conditions they will be fired your problem is easier to solve than if they don't. Gene's rules-lawyering is not relevant. Refusal of an idea is not relevant, why would you try to make a window into men's souls that way, are you a better administrator than Elizabeth I? No.
I moved to France at 60. For more than 20 years, I have developed software in vb and SQL, don't laugh. Two years ago, I found a job as a freelancer. It seems that my client is happy, month after month the contract is renewed. The daily rate is not among the highest but let me have a good life in France. I don't know how long this will last. The only problem is that I don't have time for my passion, woodworking with manual tools. Conclusion, there, there must be a solution for you as well.
Cold calling is a variation on the hard-sell. Hard-selling is aggressive and few people are very comfortable with doing it (mostly because it violates a few social norms).

It's not the only, or even necessarily the best, sales method. My advice to you is to adopt a sales method that you are comfortable with -- the more comfortable you are, the better the results you'll see will be. If you really feel the need for a sort of sales that you just aren't built to do, then you need to hire or partner with someone who excels at it.
It's mostly copycat behavior. https://news.stanford.edu/2022/12/05/explains-recent-tech-la...

These companies are either setting all-time profit and revenue numbers or just missing last year's all-time records. Wall Street wasn't happy that they just missed their growth targets, but keep in mind that all growth is compounded. So they have never been more profitable, and yet here we are.
>"Don't get me started on having to fill out sections in a form that are just resume sections"

I haven't been laid off but I've been dipping my toe in the past few months because I'm a bit bored in my current role.

The process is much more fiddly than it needs to be. When I run into those 'fill this out again for our system' forms, often times it's after a long day and I will just save it to come back to it later...and I never do.

I wonder how much talent mobility there'd be if someone really solved the issues of repetative job search data entry and just proving to strangers that you can excel in a role without running through an obstacle course that may or may not represent the actual job.
Yeah, well, being very old myself, stuff like Mosaic / Navigator / NetExplorer / SpyGlass still all seem sorta recent to me.
non-paywall
https://archive.is/QDerR
I’m curious as well, what specific lines would cause an issue or abstracts too much.
> I think there’s a simpler explanation. Imagine what it would look like if ChatGPT were a lossless algorithm. If that were the case, it would always answer questions by providing a verbatim quote from a relevant Web page. We would probably regard the software as only a slight improvement over a conventional search engine, and be less impressed by it.

Tautologically, yes, ChatGPT works because it is, as defined by the author, a lossy algorithm. If it were a lossless algorithm it wouldn't work the way it does now.

> The fact that ChatGPT rephrases material from the Web instead of quoting it word for word makes it seem like a student expressing ideas in her own words, rather than simply regurgitating what she’s read; it creates the illusion that ChatGPT understands the material. In human students, rote memorization isn’t an indicator of genuine learning, so ChatGPT’s inability to produce exact quotes from Web pages is precisely what makes us think that it has learned something. When we’re dealing with sequences of words, lossy compression looks smarter than lossless compression.

This is where the analogy of a lossy and lossless compression algorithm breaks down. Yes, a loosely similar approach of principle component analysis and dimensional reduction as used in lossy compression algorithms is being applied and we can see that most directly in a technical sense with GPT `embedding vector(1536)`, but there is a big difference: ChatGPT is also a translator and not just a synthesizer.

This has nothing to do with "looking smarter". It has to do with being reliably proficient at both translating and synthesizing.

When given an analytic prompt like "turn this provided box score into an entertaining outline", ChatGPT proves itself to be a reliable translator, because it can reference all of the facts in the prompt itself.

When given a synthetic prompt like "give me some quotes from the broadcast", ChatGPT proves itself to be a reliable synthesizer, because it can provide fictional quotes that sound correct when the facts are not present in the prompt itself.

The synthetic prompts function in a similar manner to lossy compression algorithms. The analytic prompts do not. This lossy compression algorithm theory, also known as the bullshit generator theory, is an incomplete description of large language models.

https://williamcotton.com/articles/chatgpt-and-the-analytic-...
It wasn't worth the effort when the Moto G30 with a much better cameras, four times as much storage, faster processor, was only 1199 NOK, less than 120 USD. Much less than I paid for the G5plus

It's convenient to use the G5plus as an almost dedicated Internet radio and podcast player.
This is a good Q and you should make your own ASK HN

Reply me the post and I'll upvote it
ZIRP allowed companies to borrow infinite money at almost no cost
This is not the case. Companies have already done this and It did not really work. Sure a lot of junior positions were and will be outsourced but the "good" worker will always be paid accordingly. This is why you can see companies hiring in India and then bringing a lot of people to the US.
> Inflation has been tame over the past six months.

> but not rapidly in a wage-inflation spiral.

inflation doesn't feel Tame for my extended family.
People who aren't doing anything wrong should not be penalised, there's the presumption of innocence which is an underlying principal of a free state. Should police have keys to every house in case of domestic violence?
easier to blend in and avoid scrutiny
You don't want to store reference counts in pointers. The reference count of a heap-allocated object is a property of that object, and not of the pointer.

The pointer gets copied; the object does not. You're going to end up with copies of the pointer which have different reference counts, not knowing which one is the real one.

As a rule of thumb, no mutable property of the heap object should be forwarded into the pointer word used to reference it.

Not sure where the author is going with all that.

Edit: it may work if these pointers are handles in a table, which seems to be what the article is getting at. The actual value representation points or indexes into the table and those are passed around.

So the table is just a very compact way to store objects in a single pointer-sized word.
Ask HN: Who's looking for a co-founder CTO?
There were similar threads like this in the past and I think it is a great opportunity to match CEOs with CTOs. I find myself in that position: I want to work on something interesting, yet 0 interest in business/marketing/bla.

You should probably mention what you are working on, where you are located, what stage you are in, who you are looking for and a way to contact you.
Both comments said it was natural. Only your original comment sort of insinuated that it wasn't.
> I don't think its the case that a really simple human can learn to code.

People always think this about their own trade. But let me assure you that I am dumb as shit and a pretty decent programmer as well. I've taught programming to beginner adults, who were coming out of prison or the military, and out of hundreds I ran across maybe a handful that truly truly were not ever going to be able to learn it to competence.

The main skill at play from my experience is comfort with the state of not having a clue, and tolerance for frustration. That's an uncomfortable emotional zone for work; people will frequently abandon the pursuit. But that doesn't mean they can't learn it.

It's like playing a violin or something: you could, anyone could if they put the hundreds of hours in. Who does put those hours in may be a self-selecting group, but it doesn't mean there's anything inherent in the skill itself that limits who can learn it.
Fed reps are on record as saying interest rate hikes are to get a pullback in labor market, and that’s expected to affect lower paid industries, but with the relationship with investments, it can make sense to see it in tech
Only vaguely related to the article: it's really screwed up to see the overall trendline of suicides: averaging ~75/week in 1999 to ~125/week in 2022. It's truly disheartening to see.

Silver lining: COVID lockdown didn't seem to lead to a rash of suicides like some predicted it would, so I guess that's nice?
Well, they rewrote their engine a few years ago.
from TFA "The company is also going fully remote, Dohmke wrote, telling staff they’re “seeing very low utilization rates” in their offices."
It might have different effects over time. E.g. in the intermediate term it emphasizes certain topics/regions which leads to embodied mastery but over the long term it ossifies into stubbornness and broken record repetition. Similar to how human minds work
It doesn’t even have to be an icon. For my digital copies of DVDs, I change the icon to the cover of the DVD by copying the image to the clipboard, doing cmd-I on the file, selecting the icon in the upper left corner and pasting the image in place of the icon. The default view for the folder with all the DVD rips has large icons and black text on a black background to hide the file names (for aesthetics). I miss the old carousel view which would make it feel like flipping through a stack of DVDs to find what I wanted to watch.
An observation, Microsoft subsidiaries are being told to use teams.

Cisco subsidiaries are being told to use webex in place of slack.

We might be in a new world of chaos
The article directly explains this.

# 1 competition works

> When a company develops a new drug, it gets a period of exclusivity, 10 years or more, in which it is the only one able to make or sell that drug. But after that exclusivity period has passed, other companies can make a carbon copy and sell it at a lower price. Studies find that once several generic competitors come on the market, prices drop significantly.

# 2 big pharma has hacked regulations for prescription drugs, medical devices and generic replacement to prevent losing federal government granted monopolies.

> But pharma companies are savvy about finding ways to extend their monopolies, with insulin and other drugs, by making minor tweaks to the chemical compound and asking for a patent extension. In the case of insulin, the companies can also modify the delivery device to protect their market share. Each product is meant to be used with specific, company-designed injectors.

This is a government created problem.
Would you agree then, that we need to deal with the racial discrimination in society to ensure that those groups who are disadvantaged so that they aren't able to compete on the same playing field when applying for jobs which hire based upon merit can have a chance? Right now DEI is trying to solve a problem at the finish line that should be solved before the job race starts? If so, how do we do so without considering race?
The thing that drives me crazy about Teams is that I can't figure out how to start a quick meeting. Just a single button that is easy to find that when I click it, it just makes a meeting for me. Does not matter the team or organization, just make a meeting and let me copy the details to send to people.
Bringing back the wooly mammoth is a big genetic gamble
I agree with a lot of the sentiment around what you're saying, that new forms shouldn't be dismissed as inferior to old forms. What I would say, is that we tend to value the structure and organisation of ideas and information into systems and larger works tend to be more impressive and valuable than shorter form works. For example, in the architectural space, large cathedrals tend to be more impressive than small chapels (unless there is something particularly intriguing about the small chapel). Similarly, movies tend to be more impressive than YouTube videos and books tend to give a more detailed and better structured condensation of a topic than a podcast. I'm not saying that the shorter form doesn't have value, it absolutely does, and you could argue that long form is just an amalgamation of short form. Both have their time and place. But the long form versions are more complex and therefore tend to take more time, effort and skill to assemble and that's why we generally value them higher than the short form counterparts.
Gsuite has the best collaborative editing.
Utterly absurd comment, supported in no way by any evidence. This bill has wide cross party support. There is a lot of blame for it's stupidity to go around. You've lived a very sheltered life if you think the UK in any manner is an authoritarian unaccountable state. COVID hysteria aside
Yeah; its really important to keep in mind that in the majority of these layoffs, these companies are still employing at or above the number of people they were in Dec 2019. This isn't a business model correction; this is a "free covid money" correction. Everything that is happening was predicted by economists the moment the government started writing billions in checks during 2020; the fact that its only 10% in most cases, and hasn't substantively spread beyond Tech and Finance, is actually extremely good news, not something to feel dread about.
I know I'm in the minority here, but I choose Teams over Slack any day. I much prefer thread-based chat than message based chat. Teams forces people to use top message as a topic, then respond to messages under that topic. Slack message is just a message. You want to search something on Teams, you get full threads, chat is part of documentation. You want to find something on Slack, you need to click on date of the related message and hope no one wrote any off-topic messages underneath. I often felt like Teams could replace unofficial documentation and most Confluence pages.

Screen sharing, reminders about meetings are also better in Teams.

Ability to add people to "direct message channels" is definitely lacking in Slack. No I don't want to convert this chat with 3 people into a channel, FO. I want to add 3rd person.
Not to mention the toll it takes on your body.
Apple Mail on Mac and iOS/iPadOS works great. I'm using pobox.com (Fastmail's sibling) for forwarding.
> I don't think you meant it that way, but your claim is false. It's saying that if you file an EEOC claim, you'll probably get fired.

I didn't mean that, but that may be the reality of the situation. In any case, it doesn't appear that filing an EEOC claim provides much protection. And as also noted in the article, the results are rarely favorable to the filer.

Again, in my experience, we assume anyone who is getting fired will file a claim of some sort. A claim has never stopped any firing that I know of.
https://archive.ph/J7zCI
The Rot Economy
Compact the folders. If still slow, vacuum the sqlites. Still slow? Do a FS checkup, may have corruption.
Viable alternatives to VSCode have been around since the 90s
It's a terrible analogy because the entire point of ML systems is to generalize well to new data, not to reproduce the original data as accurate as possible with a space/time tradeoff.
Very cool and congrats on the launch! Love the MIT license as well.
Can you talk about some of the differences with n8n except for the license?
Looking at the CEO's statement it seems the final layoffs aren't even finalized yet.

> Unfortunately, this will include changes that will result in a reduction of GitHub’s workforce by up to 10% through the end of FY23. A number of Hubbers will receive notifications today, others will follow as we are re-aligning the business through the end of FY23.
Your friend has bought into the hype, as a lot of people have. There are very few people making "big tech money" who are not also putting in very long hours. They exist, but are often/usually in the (long) process of being "managed out."

There's no doubt in my mind that a lot of this is a power-play by profitable companies to push back against developers who've collectively gained more power at the negotiating table. Paying dividends and doing stock buybacks while saying "tough economic headwinds require us to lay off 6-8% of you" can only be a power move, as far as I'm concerned.
Where I live, I wouldn't be surprised if I walked past a handful of people with a gun in their waistband at the grocery store. Or a couple at the gas station. You don't even need a permit to do so here. And I have yet to end up in the middle of a shootout. Probably because the risk is too high for criminals as the barrier to entry for defending yourself is essentially zero, except for the price of a gun and ammo.

The nice thing about that is it has a "herd immunity" effect. If many people carry around you, but the criminals don't know which person that is, they're likely to refrain from picking on anybody directly. You don't even have to carry yourself to benefit from it.

The only crime that happens often in this city, despite that, is parked & vacant cars getting smashed into and robbed. Because it only happens when nobody's looking.
The fact they're closing all offices and switching to fully-remote suggests it was Github's decision. Microsoft doesn't seem pro WFH
This is one of the great secrets of the internet.

I've been on both sides of using HN to find work. It's just sooo good.
Yep. I worked for a half dozen different contracting companies over those years and in three different groups. I was at Goddard two separate times, with a three year break in the Real World in between. My two stints together amount to just short of thirty years. I retired last July.
Meanwhile, the only major website my elderly dad, who didn't really start using the Web until something like 2015, can use unassisted with a fair amount of confidence, is Craigslist.

I'm skeptical that normal, non-technical users actually benefit from or even prefer all this crap. Someone does, but I'm not convinced it's them.
Nah battering rams are fine and more fun. It's also a good excuse for them to toss a flash-bang in the crib on the way in.

If somehow an un-pickable lock were the only way to get into a house and a sizeable portion of houses could practically be built that way, you can bet the courts would invent a reason why the government has to have the key in basically every anglo-sphere country. It would only take a few news stories about "women beaten to death while police desperately and futilely attempt entry" or "terrorist hiding in London house, alive and well years after attack but unable to be arrested" before half the public would start begging for something to be done about it.
I think what the GP was trying to say is they could easily solve this problem however letting it happen and blabbering about fixing the issue is easier and more profitable than actually doing anything.
I've always assumed this was the stigma, so I've always avoided mentioning it, but during the much more competitive market in 2020-2021, it seemed like big tech types were the only ones wise enough to look past that stigma and appreciate that often, cuts are to business units, not people. My wife was part of a big (31%) layoff at an AI Healthcare company during the earliest round of layoffs, and she had literally hundreds of requests to interview within the first two days of being laid off.

This round of layoffs seems different. If big tech isn't hiring, and they're the only ones wise enough to see through the stigma, that is a possible explanation for why.
That you're talking over a great distance isn't necessarily an improvement. Didn't internet influence how much people are meeting in person?