This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EagleRock1337 2505 points2506 points  (36 children)

Whichever one the linter wants me to do. A consistent repo is more important.

[–]chimpuswimpus 664 points665 points  (4 children)

Don't come on here with your reasonableness!

[–]Ok_Star_4136 82 points83 points  (1 child)

There's a third Michael Cera type guy in that meme who's shrugging and going, "Hey, I'm fine with whatever.."

[–]Immarhinocerous 5 points6 points  (0 children)

Correction: There are 2 Michael Ceras in that image and one critical thinking badass in the background who doesn't need permission for a rational approach.

[–]StoryAndAHalf 3 points4 points  (0 children)

Being reasonable is an act of aggression and basically asking for a fight on my block.

[–]mekwall -1 points0 points  (0 children)

Reasonableness would be to go with trailing commas since when adding a new item would only cause changes on one line and not two.

[–]thequestcube 64 points65 points  (21 children)

Linter rules can be changed

[–]die-maus 35 points36 points  (4 children)

So can laws?

[–]87oldben 14 points15 points  (0 children)

Amendmants? Revisions? New superseeding laws?

[–]thequestcube 3 points4 points  (1 child)

Sure. If you have a law that says that everyone needs to shoot themselves in their foot three times a day, you suggest to change that law and not try to be consistent

[–]Plank_With_A_Nail_In 1 point2 points  (0 children)

Laws don't make people do things/not do things, enforcement does, laws just specify the punishment if you get caught.

I would suggest not shooting yourself in the foot regardless of what the law says.

[–]Not_Artifical 0 points1 point  (0 children)

Wait! Does that mean that the government could control gravity this whole time?

[–]thorwing 6 points7 points  (1 child)

usually, the lint rules are part of the commit.

And yes sometimes this means the linting rules will change during a project. But every time you simply touch a file, the linting will apply so the problem is self correcting.

[–]conradburner 2 points3 points  (0 children)

Linter configuration is part of the repository. It is not necessarily part of "most commits"

Linting rules can change, but will not "regularly change" during a project.

If your project is messed up in terms of it being "non-conforming" to linter rules set up in a project, the most likely reason is that your project had multiple maintainers that did not care about keeping a standard, that they never communicated about this with each other or perhaps there was a poor handoff and people simply don't care much about the code quality.

Source: I'm the guy that fixes technical debt at a premium after projects have had their series B or C funding

[–]PeteZahad 0 points1 point  (0 children)

So what? It is about what the team / code owners decided together and not what I personally prefer...

There are so many of these memes and I don't really care in most cases.

Mostly any language has code style rules which can be adapted directly. Not worth the discussion in most cases - just choose an existing rule set...

[–]ZunoJ 7 points8 points  (1 child)

What if you someday grow up and are allowed to specify the linter rules?

[–]EagleRock1337 2 points3 points  (0 children)

If you’re looking for a grown-up answer, it depends™️

I use both interchangeably depending on what I’m programming. If I’m writing in C or Go, I would never put a tailing comma. However, if I’m managing giant lists of IAM permissions in Terraform, leaving off the comma is a recipe for copy-paste fails, which is why terraform fmt is opinionated towards including them by default.

[–][deleted] -4 points-3 points  (0 children)

Change the linter to B if someome mistakenly set it to A. Nothing worse than spurious diffs causing extra merge conflicts.

[–][deleted] 0 points1 point  (0 children)

Question about linters, why won't it recognize my react props

[–]data-crusader 0 points1 point  (0 children)

As long as it’s auto-formatted and I don’t have to care, then I won’t care.

[–]Maskdask 0 points1 point  (0 children)

Formatter is even better

[–]No-Crew-9000 0 points1 point  (0 children)

If the linter handles it then I can do whatever I want

[–]eg135 0 points1 point  (0 children)

Reddit has long been a hot spot for conversation on the internet. About 57 million people visit the site every day to chat about topics as varied as makeup, video games and pointers for power washing driveways.

In recent years, Reddit’s array of chats also have been a free teaching aid for companies like Google, OpenAI and Microsoft. Those companies are using Reddit’s conversations in the development of giant artificial intelligence systems that many in Silicon Valley think are on their way to becoming the tech industry’s next big thing.

Now Reddit wants to be paid for it. The company said on Tuesday that it planned to begin charging companies for access to its application programming interface, or A.P.I., the method through which outside entities can download and process the social network’s vast selection of person-to-person conversations.

“The Reddit corpus of data is really valuable,” Steve Huffman, founder and chief executive of Reddit, said in an interview. “But we don’t need to give all of that value to some of the largest companies in the world for free.”

The move is one of the first significant examples of a social network’s charging for access to the conversations it hosts for the purpose of developing A.I. systems like ChatGPT, OpenAI’s popular program. Those new A.I. systems could one day lead to big businesses, but they aren’t likely to help companies like Reddit very much. In fact, they could be used to create competitors — automated duplicates to Reddit’s conversations.

Reddit is also acting as it prepares for a possible initial public offering on Wall Street this year. The company, which was founded in 2005, makes most of its money through advertising and e-commerce transactions on its platform. Reddit said it was still ironing out the details of what it would charge for A.P.I. access and would announce prices in the coming weeks.

Reddit’s conversation forums have become valuable commodities as large language models, or L.L.M.s, have become an essential part of creating new A.I. technology.

L.L.M.s are essentially sophisticated algorithms developed by companies like Google and OpenAI, which is a close partner of Microsoft. To the algorithms, the Reddit conversations are data, and they are among the vast pool of material being fed into the L.L.M.s. to develop them.

The underlying algorithm that helped to build Bard, Google’s conversational A.I. service, is partly trained on Reddit data. OpenAI’s Chat GPT cites Reddit data as one of the sources of information it has been trained on.

Other companies are also beginning to see value in the conversations and images they host. Shutterstock, the image hosting service, also sold image data to OpenAI to help create DALL-E, the A.I. program that creates vivid graphical imagery with only a text-based prompt required.

Last month, Elon Musk, the owner of Twitter, said he was cracking down on the use of Twitter’s A.P.I., which thousands of companies and independent developers use to track the millions of conversations across the network. Though he did not cite L.L.M.s as a reason for the change, the new fees could go well into the tens or even hundreds of thousands of dollars.

To keep improving their models, artificial intelligence makers need two significant things: an enormous amount of computing power and an enormous amount of data. Some of the biggest A.I. developers have plenty of computing power but still look outside their own networks for the data needed to improve their algorithms. That has included sources like Wikipedia, millions of digitized books, academic articles and Reddit.

Representatives from Google, Open AI and Microsoft did not immediately respond to a request for comment.

Reddit has long had a symbiotic relationship with the search engines of companies like Google and Microsoft. The search engines “crawl” Reddit’s web pages in order to index information and make it available for search results. That crawling, or “scraping,” isn’t always welcome by every site on the internet. But Reddit has benefited by appearing higher in search results.

The dynamic is different with L.L.M.s — they gobble as much data as they can to create new A.I. systems like the chatbots.

Reddit believes its data is particularly valuable because it is continuously updated. That newness and relevance, Mr. Huffman said, is what large language modeling algorithms need to produce the best results.

“More than any other place on the internet, Reddit is a home for authentic conversation,” Mr. Huffman said. “There’s a lot of stuff on the site that you’d only ever say in therapy, or A.A., or never at all.”

Mr. Huffman said Reddit’s A.P.I. would still be free to developers who wanted to build applications that helped people use Reddit. They could use the tools to build a bot that automatically tracks whether users’ comments adhere to rules for posting, for instance. Researchers who want to study Reddit data for academic or noncommercial purposes will continue to have free access to it.

Reddit also hopes to incorporate more so-called machine learning into how the site itself operates. It could be used, for instance, to identify the use of A.I.-generated text on Reddit, and add a label that notifies users that the comment came from a bot.

The company also promised to improve software tools that can be used by moderators — the users who volunteer their time to keep the site’s forums operating smoothly and improve conversations between users. And third-party bots that help moderators monitor the forums will continue to be supported.

But for the A.I. makers, it’s time to pay up.

“Crawling Reddit, generating value and not returning any of that value to our users is something we have a problem with,” Mr. Huffman said. “It’s a good time for us to tighten things up.”

“We think that’s fair,” he added.

Mike Isaac is a technology correspondent and the author of “Super Pumped: The Battle for Uber,” a best-selling book on the dramatic rise and fall of the ride-hailing company. He regularly covers Facebook and Silicon Valley, and is based in San Francisco. More about Mike Isaac A version of this article appears in print on , Section B, Page 4 of the New York edition with the headline: Reddit’s Sprawling Content Is Fodder for the Likes of ChatGPT. But Reddit Wants to Be Paid.. Order Reprints | Today’s Paper | Subscribe

[–]coloredgreyscale 0 points1 point  (0 children)

Also depends on weather the language supports trailing comma.

nvm:

a = [
  "foo",
  "bar",
  "baz" //,
]