skysight-inc/HackerNews huggingface dataset:
You could view it as an example not meant to be used, sure

I'd say it's still easy to get the wrong idea -- the title is "C Interfaces and Implementations: Techniques for Creating Reusable Software"

So the claim is that focusing on reuse is missing what C is good for. It's going against the grain; if you want that style, use C++ or Python

Those were less viable choices when the book was written, which is another reason I wouldn't recommend this old book, especially to beginners.

http://drh.github.io/cii/

Also the techniques for real long-term reuse involve C ABIs and not C APIs, which are not covered in almost any book, including this one.
well I can, I wrote a year-long js project that I abandoned as refactorings gradually turned into eternal bug-fests. I started from scratch in typescript, and the project is now 3x the dead project, with none of the bugs. and refactorings have become painless, with the compiler tools and editor telling me what I must fix up.
There may be a special breed of programmers who need no such help, but I have yet to meet them in my 32+y long professional programming career :-)
The point is to free up the table so that they can seat another customer.
Eight percent of the earth's crust is aluminum. That's a lot.

Of course, that doesn't mean that recycling aluminum is senseless - there's the energy cost of isolating the aluminum to consider. But literally running out of aluminum is not something to worry about.
I have a rather funny story about Typescript from ~4 years ago. I joined a team that had, amongst other things, an Node-Express.js and React-redux stack, all in vanilla Javascript.

I was a bit younger and bolder then; I lamented with the lead developer about how vanilla JS was probably not a good idea for what was to be a large enterprise platform. The response I got back was probably what you would expect from a senior developer receiving criticism from a rather newly minted developer: Oh i've tried Typescript, but it's just SO VERBOSE. I feel like I can't get ANYTHING done, etc. etc. etc.

I've personally been all in on TS from close to day one - around 2013 when I started some very early web development (hooray for the AngularJS/Angular days! /s). It somewhat scratches my ego and has been rather interesting to see the developer mindset change, particularly that of vanilla JS developers of old. Response like ones I had have gone from often negative, complaining about verbosity and I guess frustration with anything different from what they are used to, to overwhelmingly positive. Old guards join us, or fade away, I suppose.
I'm sure the business side has its problems, but as a consumer, I far prefer Stripe over PayPal. I've never had a payments problem with Stripe, while PayPal is consistently painful.

I have a credit card issued by a bank in country X, but my home address both in reality and in bank X's records is in country Y. This seems to consistently trigger that fabled PayPal fraud protection the article mentions, making it impossible to enter my information correctly. After lots of poking about in the dark, I eventually figured out that the only way to make PayPal payments through this card is to set my country as "X" and enter a completely fictitious address in X with a separate delivery address in Y, after which the transaction sails through happily.
That's the problem. The original image is talking about "effort", which I take to be about energy and natural resource usage, but this response deflects it to "complexity" to make it seem like anything is equally justifiable regardless of how wasteful it is.
Or "ruining someone's holiday" is a secondary effect. Simplest explanation is that it's easy to get vacation time from your "normal" job at that time compared to other times, so if you want to make sure as many people can make it as possible, those dates are likely to be the best.
Didn't know skin pigment contributed to innovation.

"Diversity" is empty HR speak, please specify which kind of diversity fosters innovation.
Maybe, Security?

I mean, cryptography is at the core of it.
Problem is, what's a "banner"? It's just some div with CSS properties attached to it. Nobody's going to style their cookie popup with "#block-me: { whatever }". A lot of sites seem to generate unpredictable strings for their popup CSS classes.
“CTO of Azure not using Magit”
Something tells me Benediktbroich could send me an invite link...
It is unintuitive and crappy in places (anyone who claims otherwise is out of their mind).

No one, I repeat no one, wants to consider VCS operations as graph operations. We endure it because it gets the job done.

The fact that “mine” and “theirs” is reversed for merge and rebase doesn’t even make sense after the explanation is made. There are dozens of examples like this.

And the worst wart of all in my opinion is that it’s designed around posix, even “mostly” expecting to be run in a posix shell. I guess I can forgive that (seeing as it was created by a Linux person) but I’m not interested in running git-bash or similar on windows, meaning it’s a pretty degraded experience. Making aliases under windows cmd/PS is… interesting.

Git served us well but I hope it is soon displaced by something else. We can do better.
you can discrimnate against anyone and you do it every day.

When you choose your gf you discriminated another girl that liked you.

When you choose another coffee brand also.

When you hire someone also.

Ppl who pay the cost should be able to choose.

Any solution forcing the party paying to choose what you would like them to choose without you paying the cost is, IMHO , plain wrong.
As a C++/C#/Java developer I just couldn't deal with Javascript. Since discovering TS its fast becoming my favorite language. I think I might even use in the back end going forward.
I did not know. Spiffy!
But, if the climate is warmer, we would live more comfortably, not to forget that we could grow more food.

I'm basically saying, change in itself is not a terrible occurrence - there are pros and cons. Stasis or no change, is arguably worse, imo. Must we keep things the same, or can we develop our adaptability? With all our tech, we should be able to manage things better than ever, if we want.

Change is not a disaster.
The scale at which plastic spoons are manufactured completely dwarfs with efficiency, the effort to individually wash one spoon. It's likely 10X to 100X more expensive to the environment to wash that spoon.

See, its eco-theatre our generation will be remembered for. Fiddling around with plastic recycle while the planet burns.
This reminds me when I was contracted by a certain huge US company to write a driver for their new hardware. They… wanted me to take a drug test. It took them three months of me silently ignoring their emails (they had a deadline to meet) to figure it out.
I am in the midwest, live in a mid size city in the mid west. I live in a Middle Income Neighborhood in the midwest...

Demographics of this city I believe are 30% minority and 70% white. Of the 10 Homes owners closest to me (and they are all home owners no rentals) 4 of them are black.

My employer has a much larger than 30% black workforce.

Homelessness is not a large problem here, however it is primarily white men that I see homeless. probably on the order of 70% matching demographics

I am tired of the false narrative that the midwest is racist.
Todon't (2012)
I wasn't making any value judgement on the situation, just nitpicking GP's comment for accuracy.

I will probably not use Ubuntu for any personal stuff after this, but I already wasn't.
Do you have a Discord server?
I would like to know what your specific issues with git have been. Certainly they must to be substantial and well documented to warrant expressing such an arrogant opinion.
I guess they do. After all, in German it's the same phrase
Customer was from US, my company was from Romania. They were forced to do what the customer wanted.
One mild winter is not sign of climate change, and one harsh winter is not sign of climate change.

However when a snow free Scotland changes from being once every 50 years to every other year, that's a strong correlation with climate change.
Likely followed by git commit --amend
I don’t understand the English thing. I lived in Singapore for 10 years and have heard so many words pronounced wrong. To give an example one of my ex coworkers used to say the word swap as sw-app. Another one said return as ret-urn. I did ask them and they said they are taught phonics and so they just say the words how they are written.

English is such a turd language. We have so many rules and then all those rules get broken all the time.

(Despite the English thing which didn’t get in the way of working together, my single team are the best team I’ve ever had in my career and I’ll really miss them)
Ask HN: Multi-Protocol Chat Clients
At the moment, I have MacOS desktop clients for Discord, Slack, Mattermost, Signal, iMessage/SMS, Teams, and IRC. I have tabs open for social media messengers. It's a lot of real estate dedicated to essentially the same thing.

Does anyone have a good recommendation for a native chat client that could talk to all of these (or more) and present a single window?

I looked into Matrix via Element One, but Matrix's bridging method requires me to add a bot to servers I may not control (e.g. Slack and Teams where I'm connecting to clients' instances and I have no ability to add bots). Pidgin seems to be poorly supported on MacOS, as most of the plugins seem to be Linux-only.

What I'm really after is an app that will log in as me to all of these services.

tl;dr I'm drowning in chat solutions, and need something to mux all these clone services.
buy it, then download it via IRC/XDCC https://sunxdcc.com/
That was a good skim. Already seeing wafer thin, and excellent, consumer apps built on stable diffusion.

I’ve been increasingly concerned that given now the wide spread skills to build consumer apps for example, the value will be eaten up too quickly.

Thai article makes the point that in fact this isn’t where (economic) value really sits. Building a moat requires more than just the ability to build.

Thus, it feels as though building simple consumer interfaces to the latest AI models is a short-term and largely thankless play.
> small hurdles spike my anxiety, my anger flares at the slightest confrontation

This has been me for the past few months at FAANG. Basically, behaving completely disrespectfully to my boss. Anywhere else I’d been fired, but I guess if you deliver it’s fine?

We had meeting after meeting about how to work better together. I think we both knew I needed a break and I’m taking one. But I would never expect a boss to tell you to not show up to work. Even though they won’t think twice before asking you to work late or the weekend.

How do you handle such situations?
> please specify which kind of diversity fosters innovation

To keep an open mind I did a thought experiment and found a few: entertainment, fusion food, music, those things I'd imagine benefit greatly from diversity.
Is it subjective in this case? There is a logic to how this word is constructed: regard-less means without regard. Irregardless violates that logic: ir-regard-less, not without regard?
I tried to pay with Stripe only once and it didn't let me. Can't live in Germany and provide a Dutch bank account. Should not make any difference within the Single Euro Payment Area. Sorry, DeepL, then I will have to continue to use the free version, I'm not missing any features anyway, I just wanted to pay for my use... (I also let support know but they didn't care of course.)

PayPal required for a few years that I use a VPN for being allowed to log in. All the support could do for me was offer to close my Dutch account so that I could open a German account to use here. I hear that others have no problems using PayPal while on holiday abroad, so not sure what's up with that. Sometimes it also throws javascript errors and gets stuck on some loading icon. Plus all the horror stories about paypal.

The things that always worked effortlessly for me were iDeal (collaboration of Dutch banks for online payments), regular bank transfers (always free in the SEPA zone, but takes 0-4 days depending on bank holidays and servers that take a weekend off), and direct debit (provide your name, address, and IBAN, such as at Liberapay, and everything will be arranged automatically). Basically, the European stuff simply works, not sure why.
The lobsters IRC
Just in case you're not aware, a couple of options. It's possible (though who knows for how long) to add the filter list[1] used by IDCAC directly to uBO. The extension was forked[2] prior to acquisition if that is preferable. EasyList Cookie is available as a toggleable list on uBlock Origin, which hides many consent prompts - though only visually if I'm understanding correctly, so better to combine with an autodelete extension.

[1]: https://www.i-dont-care-about-cookies.eu/abp/
[2]: https://github.com/OhMyGuus/I-Dont-Care-About-Cookies
- non modal

- don't require action or decision on you

- can be put at the bottom right on the corner

- don't prevent accessing the main content

It's the same thing as a cookie banner in the way a HN comment and a double blind study are the same thing.
Depends on who you ask. The following graphic is on the article about developing countries and includes emerging markets in the „lesser developed“ category:
https://commons.wikimedia.org/wiki/File:IMF_advanced_economi...
North Korea's Crypto Hackers Are Paving the Road to Nuclear Armageddon
Japan's population is something like 98% Japanese ethnicity.
> undo a commit

git reset --hard HEAD^

Which makes perfect sense once you know that you are not ”undoing a commit” inasmuch as you are resetting the most recent state of an index to the second most previous one.

Just make an alias for it if it bothers you, that’s what is generally recommended by unix beards for hard to remember but oft-used commands anyway.
I've been using git professionally for about 11 years. I've taught entire teams to use git.

I don't disagree with him. Git isn't user friendly and its non obvious how to do a lot of things you'd expect to be trivial in your workflow.
As an IC I don’t want to absorb that. It’s really not in my JD. I don’t go to my “higher ups” to absorb some tasks from me and get down and dirty, and I expect them to also not involve me in their orchestration. Ultimately they should manage the situation for the money thay they receive.

When in the position to manage, it’s my responsability to create a controllable pipeline for task delivery and not bother the devs with office politics while providing them with a reasonable segmented work and enough autonomy to accomplish their best work.

This jumping to help, that I also used to partake in until I got burnt too many times, at the end of the day is one of the reasons for why, as a profession we get so much money but so little respect.
Affirmative action is heavy handed when it involves hard quotas. There's nothing wrong with an affirmative action policy that sets a goal to be more inclusive by reaching out to other groups yet does not require limits strictly on the basis of skin color.
I would never work for a company that required me to have my webcam on for the full work day.
Diversity of world view and human experience foster innovation.

If you hire all of the same socioeconomic strata even if they are different races chances are you will not get a wide depth of experience and world view
> There are always tasks that can be done without having to think too much about it

As you tack more of these on to the end of the day, you get less rest, and tomorrow's window of opportunity for doing difficult work shortens.
Correct. It is shifting the discrimination somewhere else.
Whisper.cpp: Port of OpenAI's Whisper model in C/C++
A previous discussion:

https://news.ycombinator.com/item?id=22146746

Also, heads up, they tend to have fairly low opinions about HN’s moderation system when brought up. Just let it slide.
git reflog --help

Probably not what you want to use day to day but if you want to undo things i find reflogs better then commits for tricky situations.
Well it has a certain kind of utopian ring to it. But my guess (as a German native speaker) would be that if you were to ask ten Germans whether the word was meant positive, negative or neutral, the needle would not swing as decisively into negative direction as some here claim.

It is very typical for example to read: "Die Eierlegende Wollmilchsau!" as the title line of a clearly positive review of some sort of technological product sold online. I have never once seen it used in a negative way in such a review, even though it certainly has the aforementioned "wet dream" aspect to it.
we were told in class that the meat is called what the nobility called it and the nobility spoke french
Wonderfull, looking forward to seeing all the nooks, crannies and secret passages again.
Japan is 98% ethnically homogenous, with the remaining 2% primarily consisting of Koreans and Chinese. I don't see why Japan would have any need for a discussion on 'race'.
The EU should adopt this.
> any problem that I couldn't find a solution for oneline.

That could still be the pulling my hair situation he mentions. Having too Google or even being up a documentation is a failure for a tool like this.

When I argue that git is bad it’s “unintuitive” I mean. I have to RTFM after years of use. I does the job but it’s a shit UX. It’s like getting in your car and having to Google how to put it in reverse, for the 10th time, after driving it for 10years.
A big problem is that work is a cultural phenomenon. Most people choose career paths early in life, and do so to a great extent based on role models and general cultural attitudes. This is before adding explicit biases in such fields (in my country at least, I have heard several older professors at university claiming that female students that got better grades than their male counterparts were probably cheating, and docking them a few points for it).

If there are few women in tech, and few women professors of computer science or engineering, there will be few girls taking tech courses. This is a self-reinforcing cycle, and you need explicit action to break it. Affirmative action is one of the only known ways of doing this, as it has been at least moderately successful at integrating black people into high-status positions and jobs after the centuries of slavery. Explicit programs to encourage STEM education for girls in school are another, but less proven.
Ive been using git for 5 years now and i feel ive been using like the same 5 6 commands all the time. I dont understand these debates.

Why would you need more ? Even when merge and rebase are getting out of hands, just take a good breath and use a bunch of manual cherrypicks.
Location: PK

Remote: Yes

Willing to relocate: No

Technologies: Python, FastAPI, Flask, Web scraping, Golang, PHP Laravel, ETLs for Blockchain, Stock and other Data.

Above mentioned technologies are a few of many I have worked so far but not limited to it. I am a curious individual who likes to work on interesting and challenging tasks. Check my details below:

- CV: http://adnansiddiqi.me/Resume2021.pdf

- Blog: http://blog.adnansiddiqi.me

- Github: http://github.com/kadnan

Contact kadnan@ gmail.com
Vegetable Sommeliers: Changing the World’s Sustainability (2020)
There are very few true synonyms. Most have some cases where you'd want to use one or the other.
Maybe, I'm not seeing it from those links

Either way, it doesn't really matter, as it's clear that C does not include any of those ideas, and the CII style isn't idiomatic

Especially when it was created, but even today!
English is the simplest Latin based language. This has nothing to do with pronunciation but not even knowing basic words. Or how to communicate. Only a small percentage of Indians speak English and most statistics on it are heavily inflated. The Indian English Education system is the same one the Japanese and Koreans use. And they don't know English. The reality is it's like if you learned Spanish in middle school to highschool. That's the average English proficency. Most Indians do not interact with people outside their groups as most things are written in the languages they use. It's not Singapore or even close to it in English proficency trying to claim it is, is a lie.
This article is extremely confusing and filled with do many errors it's hard to even list them all. However, the bit I wanted to focus on was the author's claim that PayPal got "sued" and "stopped taking money from people". Getting sued is part of the ordinary course of business for a company like PayPal, and ~85% of lawsuits like that go nowhere, and result in no internal changes. The specific lawsuit the author seems to have been talking about was dismissed entirely by a judge in July, because the contact you sign with Facebook when you use their account explicitly forbids you from suing them instead of going through private arbitration proceedings: https://www.pokertube.com/article/chris-moneymaker-s-class-a... (Chris Moneymaker's Class Action Lawsuit Against PayPal Falls At First Hurdle).

And again, this is the kind of thing that happens to PayPal all the time. The fact that some random lawsuit that never even required a substantial reply from PayPal got picked up by Zed as evidence of their bad behavior "finally catching up to them" really erodes my confidence in the way he represents any of the other details in this article. What else is he misrepresenting or exaggerating?
What is asserted without evidence can be dismissed without evidence. In reality, humanity has been washing spoons since the dawn of...spoons. Humanity has been making plastic spoons for ~60 years. "Because it scales [1]" is no argument whatsoever for doing something unsustainable.

[1] Right now, with cheap oil, that is.
English is an official language over there, but it is spoken differently.
Few things make me feel as gross about reading this website than all the whining about discrimination against white men.
So the problem is hiring cheap labor, yet you didnt list any problems with Eastern European.

Since some Indians fucked something up somewhere, there is subtle racism towards Eastern Europeans?
> It was a non aggression pact.

...which included an (at the time) secret protocol which divided Poland into German and Soviet 'spheres of influence' [1], and the Soviet Union promptly invaded Poland two weeks after Germany did (on the 17th September 1939) annexing the Eastern territories of Poland.

In Europe at least, the start of WW2 is usually placed at the 1st of September 1939, when Germany invaded Poland (this was also taught in East German schools btw, so it's not a 'Western" point of view - the secret protocol of the Molotov-Ribbentrop-Pact was conveniently left out of course).

Germany and the Soviet Union also had pretty close economic ties right up until the German invasion of the Soviet Union in 1941 [2].

[1] https://en.wikipedia.org/wiki/Soviet_invasion_of_Poland

[2] https://en.wikipedia.org/wiki/German%E2%80%93Soviet_Commerci...
> since 99% of users will choose "Accept All" WITHOUT ever bothering to read the site's policy

I block all cookies that aren't from the site I'm visiting. I'm OK with first party session-cookies.

It's like this: if you serve me a cookie, and I accept it, then you can check that WITHOUT A POPUP. And if my blocker rejects it, then whether I click "Accept" or "Reject" on your popup isn't going to change the configuration of my blocker.

So If I get one of these popups, I click "Accept". Your popup can't override my browser preferences.
Very impressive how that’s possible in lisp. Thanks for sharing.
you can find small alternative with https://bundlephobia.com/
A Japanese company filled with mostly Japanese people in Japan - a country with 98% Japanese people. Who would've thunk it.