UndercoverUlrikHD

joined 2 years ago
MODERATOR OF
[–] [email protected] 4 points 2 months ago

Yeah, it's crazy that no one has done anything about it yet, but most of the top brass are likely Madridistas so they might just ignore it until something goes really wrong.

Most of their *online* fans seems completely fine with it too, somehow the most successful club in the world is also the most victimised one πŸ™„

[–] [email protected] 21 points 2 months ago (1 children)

It works for now, we can refactor it later.

[–] [email protected] 5 points 2 months ago (2 children)

While I agree to some extent, if not var is more than clear enough for anyone that knows python. If that pattern confuses someone, they probably aren't at level where they should be dealing with python at a professional level. The same way you would expect people to understand pointers and references before delving into C code.

This sort of stuff is something I taught first year engineering student in their programming introductory course, it's just how python is written.

For what it's worth, it's sort of similar in Erlang/Elixir. If you want to check if a list is empty, checking the length of the list is discouraged. Instead you would use Enum.empty?().

[–] [email protected] 1 points 2 months ago

While there are no major health risks for the general American public, there are potential health concerns for infants and children under age 5, as they consume more food relative to their bodyweights than adults.

β€œWhile we found that choosing brown rice over white rice would result in higher arsenic exposure on average, the levels should not cause long-term health problems unless someone ate an enormous amount of brown rice every day for years.”

It's something to be mindful of, but shouldn't be a major concern for most people.

[–] [email protected] 18 points 2 months ago (9 children)

I'd argue that if it's strict explicitness you want, python is the wrong language. if not var is a standard pattern in python. You would be making your code slower for no good reason.

[–] [email protected] 1 points 2 months ago (1 children)

Unreal Engine 5 isn't all that great when it comes to utilising the CPU. What CPU do you have and on what settings are you running?

Asking out of curiosity, haven't bought the game yet.

[–] [email protected] 2 points 2 months ago

Would be hilarious if Napoli win after Conte had his breakdown

[–] [email protected] 3 points 2 months ago

I don't know why

But when I am able to write map, reduce, case, set, hashmap, bindings in a language that compiles without referring any doc.

My mind just start having an illusion that I have mastered the language πŸ˜‚.

And The language that have muteable state, I don't consider them trustworthy πŸ˜›. That's why I have started loving Erlang over js.

I am not blaming javascript for a being single threaded and stateful, but it's damn easy...

Thoughts?

[–] [email protected] 1 points 2 months ago

Went to bed early yesterday. Looks like an absolutely wild game based on the highlights!

[–] [email protected] 7 points 2 months ago

[Squawka] BodΓΈ/Glimt are the first EVER Norwegian side to reach the semi-finals of a major European UEFA competition. An incredible achievement.

[–] [email protected] 2 points 2 months ago

The top of the table getting knocked out by the one team not in the top 4 is certainly something.

[–] [email protected] 6 points 2 months ago

Arsenal looks really solid too, and they aren't competing for the league. Fatigue seems like a serious threat for Barcelona

 
 
23
LiveThreadBot is now live (programming.dev)
submitted 10 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Update: To add or remove women's game's, you now need to add -w to the command. E.g. -football -w Barcelona - Liverpool or -remove -football -w Barcelona - Liverpool This is due to edge cases where men's and women's team share name and play against the same opponent on the same day. Women's match thread will also be marked with [Women's game] in the title.

As some of you may have seen, the community now has a match thread bot to help with automating creation and updating match threads.

The bot takes a request in the format -football [email protected] Barcelona - Real Madrid and will look up to 6 days ahead for an upcoming match and add it to a queue. ~15 minutes before kick off it will make a post that it will continuously update with available score, stats and commentary.

To make a request you can either tag the bot or reply to one of the bot's comments. See the comments for an interaction example.

The bot will work in any community federated with lemmy.world so if you want to create a live thread in e.g. c/gunners you could make a request like this -football [email protected] Arsenal - Tottenham Hotspur

Do note that the bot requires approval from a mod or admin to post in a community. So unless you're a mod/admin, you'll need to ask them to approve the bot via -mod_action whitelist [email protected] or become a trusted user that can bypass the block -mod_action trust [email protected] [email protected]

For a more detailed and technical overview of the bot's capabilities, please check the readme in the gitlab repo: https://gitlab.com/UlrikHD/lemmy-match-thread-bot

Example output of a live thread: https://lemmy.ml/post/18633476

 

Latest version of Boost on Android 11. When opening up DMs (not replying) the notification for unread messages stays unchanged and the messages aren't marked as read.

Can other people reproduce this issue?

 

cross-posted from: https://programming.dev/post/11357795

I've been thinking about writing my own workout logger that better fits my use and I'd like to hear some recommendations on what language or framework to use.

I don't have any prior experience with mobile development nor with Java or Kotlin, and C++ I suspect would be needlessly low level for the features I'd like to include.

Features is like to include in the app is capability of recording video, playing video/audio, creating graphs and opening up in-app tabs. Fancy ui and animations is not of much importance.

Any recommendations on what languages to use and what libraries might be of interest to get going?

 

I've been thinking about writing my own workout logger that better fits my use and I'd like to hear some recommendations on what language or framework to use.

I don't have any prior experience with mobile development nor with Java or Kotlin, and C++ I suspect would be needlessly low level for the features I'd like to include.

Features is like to include in the app is capability of recording video, playing video/audio, creating graphs and opening up in-app tabs. Fancy ui and animations is not of much importance.

Any recommendations on what languages to use and what libraries might be of interest to get going?

 

Not sure what causes it, but about 7% of the times I try to comment on a post, the app will crash and restart, failing to post the comment. Unless the comment was manually saved, the comment will also be completely gone, forcing you to rewrite the whole comment.

It seems to happen mostly on longer comments when the app have spent some time in the "comment" state. It's possible that leaving the app (not closing it) and reopen the window is part of what triggers the bug.

Android version 9, the bug has been persistent through multiple versions of the app, including the latest version available at the play store.

 

Credits to u/Felix_Tholomyes over on r/adventofcode

view more: β€Ή prev next β€Ί