A little insane, but in a good way.

Why this name?

  • 25 Posts
Joined 5M ago
Cake day: Jun 14, 2023


If I remember correctly, the properties the API returns are comment_score and post_score.

Lemmy does have karma, it is stored in the DB, and the API returns it. It just isn’t displayed on the UI.

someone watching you code in a google doc

I’ve had nightmares less terrifying than this

I looked it up (on Google of course) and it seems like this is one of Google's recruitment channels. You get access to a terminal and a text editor: ![](https://programming.dev/pictrs/image/01640b08-7f56-440f-a00f-0c6facb204e9.png) Here are the commands you can execute: ![](https://programming.dev/pictrs/image/30746d07-8129-4af6-9c0c-915a68dd3ca6.png) You have a week to complete each challenge. I've done 2 of them so far, and requested the third one - they have been very enjoyable and I've already learnt a lot from them. I'm pretty sure I have literally zero chance of being hired by Google (and I'm not even sure I would want to work for them even if they made the mistake of wanting to hire me), but this has been super interesting so far. And yeah, also a huge time waster, I've been thinking about making the solution to the third challenge more elegant and performant all day instead of doing my actual job.

Fair enough, I can understand the emphasis on mod autonomy after the recent Reddit events. I really like this instance and appreciate the work you and the other admins do to make this a great place.

First, I’d like to thank @Ategon for their work on these icons and also for running this poll to determine what people who care about the issue want.

It’s no secret that I vastly preferred the “All Unified” option - the coherent visual identity would not only help recognition across different instances, but it would also strengthen the community and the sense of belonging on this instance.

With this in mind, I find myself somewhat puzzled by the this remark in the post:

Community mods though have the final say in what their community icon looks like and can choose not to follow this result if they want

While the question of icons might seem minor (maybe even trivial), allowing this would set a precedent that undermines the effectiveness of such polls in the future. Everyone who cared about the issue had the opportunity to vote for an entire week, and the “All Unified” option won by an overwhelming majority.

If even one mod disregarded this result, it would run counter to the result of the poll, effectively making the end state undesirable for the supporters of any of the options: the icons wouldn’t be “all unified”, the “general unified” option wouldn’t happen either because at least some language-specific communities would also have the unified icon, and obviously, “no unified style” voters would be dissatisfied too.

Beta version of AutoTLDR bot for Lemmy released (powered by GPT-3.5)
cross-posted from: https://programming.dev/post/314158 > **Announcement** > > The bot I announced in [this thread](https://programming.dev/post/177822) is now ready for a limited beta release. > > You can see an example summary it wrote [here](https://programming.dev/post/313749). > > **How to Use AutoTLDR** > > - Just mention it ("@" + "AutoTLDR") in a **comment** or **post**, and it will generate a summary for you. > - If mentioned in a comment, it will try to summarize the **parent comment**, but if there is no parent comment, it will summarize **the post itself**. > - If the parent comment contains a **link**, or if the post is a link post, it will summarize **the content at that link**. > - If there is no link, it will summarize **the text of the comment or post** itself. > - 🔒 If you include the **#nobot** hashtag in your profile, it will not summarize anything posted by you. > > **Beta limitations** > > - The bot only works in the [!auai@programming.dev](https://programming.dev/c/auai) community. > - It is limited to 100 summaries per day. > > **How to try it** > > - If you want to test the bot, write a long comment, or include a link in a comment **[in this thread](https://programming.dev/post/314158)**, and then, **in a reply comment**, mention the bot. > - Feel free to test it and try to break it **[in this thread](https://programming.dev/post/314158)**. Please report any weird behavior you encounter in a PM to me (NOT the bot). > - You can also use it **for its designated purpose** anywhere in the AUAI community.

Here people actually react to what I post and write. And they react to the best possible interpretation of what I wrote, not the worst. And even if we disagree, we can still have a nice conversation.

Does anyone have a good theory about why the threadiverse is so much friendlier? Is it only because it’s smaller? Is it because of the kind of people a new platform like this attracts? Because there is no karma? Maybe something else?

Did I miss something? Or is this still about Beehaw?

Hungarian here. It is safe to drink without boiling. People only boil water for baby formula to be extra safe.

This describes 99% of AI startups.

The company I work for was considering using Mendable for AI-powered documentation search. I built a prototype using OpenAI embeddings and GPT-3.5 that was just as good as their product in a day. They didn’t buy Mendable :)

First, thank you for the detailed response.

Second, I think you finally convinced me to delete my FB. I will link to this comment wherever possible to show people what a terrible company Meta is.

Good humor is based on reality

After all, they said we need quality content to attract new users

I’m the author of that bot. It will have an opt-out option, I implemented it as soon as someone suggested it:


Don’t spread sensationalist lies.

Oh wow, I’ve just realized it was OP I talked to in the comments. I immediately replied to their suggestion. What a clown 🤡

Finally I could get into the beta and all I can say is wow, I’m in love with this app 🤩

Keep up the good work!

I have a question. If these were the final results (in descending order of votes):

  • x1 votes for UBP icons for non-language-specific communities
  • y1 votes for UBP everywhere
  • y2 votes for colorful UBP everywhere
  • x2 votes for colorful UBP icons for non-language-specific communities
  • z votes for no UBP icons

Where y1 + y2 > x1 + x2, so more people wanted UBP everywhere but because of the two independent options (where to use them and what color), their votes got fragmented, what is the right course of action?

I think it would have been better to have two polls, one about the question of using visually consistent icons and another one about what they should look like.

That’s a problem for sure. And if someone has a display name, someone else can create a user with the same avatar and display name on another instance, and pretend to be them.

Community name squatting doesn’t make sense at all because different instances can have communities with the same name. So unless they manage to create one on all the big instances, that’s completely useless.

I’ve already seen and reported an obvious, low-effort spam comment. Looks like they don’t use particularly sophisticated methods.

These are awesome! One thing I like about beehaw is their visually consistent icons. It’s great we’re planning to have them as well.

I’m terrible at graphics so I used Midjourney to create the icon and background for !auai@programming.dev but I must admit they turned out pretty bad.

If it’s not too much trouble, would you consider making an icon for us too?

This is an excellent explanation of hashing, and the interactive animations make it very enjoyable and easy to follow.

Actually the communities show up in the search results, but only after some time (10-20 seconds). At least for me.

It’s intuitive to those who grew up using it. For me, Celsius is much more intuitive because people around me used it all my life and refer to common temperatures in Celsius.

So I think intuitiveness is very subjective and not a good criterion to judge a unit by.

Unfortunately the tutorials out there are mostly terrible. I’ve learnt it by experimenting a lot and seeing what worked for me. Some general advice:

  • Subscribe to both Copilot and ChatGPT Plus and try using them as much as possible for at least a month. Some people prefer the former, others the latter, and you can’t know in advance which.
  • Always use the GPT-4 model in ChatGPT but keep in mind that there is a 25 answers/3 hours rate limit. So try to squeeze as many questions and information into your messages as possible. GPT-4 is miles ahead of any other publicly available LLM, including GPT-3.5.
  • Tips for ChatGPT:
    • Give detailed, well-written prompts. Try to describe the problem the same way you would to a coworker.
    • After describing the problem, ask ChatGPT if it needs any additional information to implement the code well. It usually asks very insightful questions.
    • Answer the questions and then ask it to break down the problem into individual functions and then, in separate messages, ask it to implement them one by one.
    • Remember that the context window is limited, after some time it won’t remember the beginning of the conversation so it’s worth repeating parts of the specification later.
  • Tips for Copilot:
    • Write the method signature and have Copilot implement it for you
    • Write a comment and have Copilot implement the corresponding code
    • Paste the code as a comment in a different language, write “the same logic in $lang2” in a comment, and it will translate it from $lang1 into $lang2.

Trust me, the shit show is glorious. I even instinctively upvoted a couple of medieval memes but quickly realized what I was doing and closed the tab.

I’m firmly in the print statement / console.log camp but this article convinced me to try using a debugger.

I absolutely agree. But:

  • sometimes you need to modify existing code and you can’t add the types necessary without a giant refactoring
  • you can’t express units with types in:
    • JSON/YAML object keys
    • XML tag or attribute names
    • environment variable names
    • CLI switch names
    • database column names
    • HTTP query parameters
    • programming languages without a strong type system

Obviously as a Hungarian I have a soft spot for Hungarian notation :) But in these cases I think it’s warranted.

I understand what you mean, and I even agree with it, but just to be a little pedantic, variable names are code, or at least they are more code than comments or docs.

But yes, encoding units into the type system is a much better solution. It doesn’t work however for config options, environment variables or CLI switches.

A quick tip for better variable names
Whenever you store a value that has a unit in a variable, config option or CLI switch, include the unit in the name. So: - `maxRequestSize` => `maxRequestSizeBytes` - `elapsedTime` => `elapsedSeconds` - `cacheSize` => `cacheSizeMB` - `chargingTime` => `chargingTimeHours` - `fileSizeLimit` => `fileSizeLimitGB` - `temperatureThreshold` => `temperatureThresholdCelsius` - `diskSpace` => `diskSpaceTerabytes` - `flightAltitude` => `flightAltitudeFeet` - `monitorRefreshRate` => `monitorRefreshRateHz` - `serverResponseTimeout` => `serverResponseTimeoutMs` - `connectionSpeed` => `connectionSpeedMbps` EDIT: I know it’s better to use types to represent units. Please don’t write yet another comment about it. You can find my response to that point here: https://programming.dev/comment/219329

Can you please give me some tips on how to grow and popularize a Lemmy community?
I’m a moderator of a smaller community. I’m posting quality content multiple times a day, and I posted about it in [New Communities](https://lemmy.world/c/newcommunities). The number of subscribers is low but it’s growing steadily. Could you please give me some advice on growing this community? I don’t want to spam/flood or come off as rude or weird, but I really believe in it and think it would be useful to many people.

A community for sane and hype-free discussion of Artificial Intelligence: Actually Useful AI
There’s a lot of AI/crypto bro type sigma grindset blogspam on the internet about artificial intelligence. It’s really hard to separate the wheat from the chaff and find actually useful or interesting content. Join us if you want to learn more about AI or share what you learned in a friendly and constructive community. **Links** - for **Lemmy** users: [Actually Useful AI](/c/auai@programming.dev) - for **kbin** users: [Actually Useful AI](/m/auai@programming.dev)

Programming and Humility
This is something I’ve been wondering about for a long time. Programming is an activity that makes you face your own fallibility all the time. You write some code, compile it or run it, and then 80% of the time, it doesn’t work exactly the way you imagined. There’s an error message, or it just behaves incorrectly. Then you need to iterate on it and fix the issues until you get the desired result, and even then it’s subtly wrong, and causes an outage at 3am on Sunday. I thought this experience would teach programmers to be the humblest people in the world. I can’t believe how wrong I was. Programmers can be the most arrogant dickheads you will ever meet. Why is that?

While not strictly related to programming, this is very surprising and harmful behavior that demonstrates how important thinking about edge cases is.