Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DA
Posts 86
Comments 1.9K

The Canucks have acquired Elias Lindholm from the Calgary Flames in exchange for Andrei Kuzmenko, Hunter Brzustewicz, Joni Jurmo, a first-round pick and a conditional fourth-round pick

4
Select all SoCs which can boot mainline linux.
  • OH MAN. I worked on an Android tablet that used a rockchip CPU, not the one listed here but an older one (I think RK3026). What a PIECE OF SHIT. I don't wish that tablet on my worst enemy. Battery life was like sub 2 hours with a 3200 mAh battery. Sometimes it would start running hot, and you could watch the batter percentage go down one percent every 10-20 seconds. The only way to break it out was to reboot it or let it die.

    We later upgraded our CPU to the 3288, one gen older than this one, and it was significantly improved, but still very entry level.

  • OpenWrt, now 20 years old, is crafting its own future-proof reference hardware
  • Yes, I was shocked at how small it is. I had no experience working with such limited resources going into this project. Our router had 32MB of storage. At one point I was looked into adding a python interpreter, and it was like 11MB. The Lua interpreter is like 250KB. Tiny!

    Also, the ternary operator has the best syntax of any language I have ever used.

    x = [condition] and [true value] or [false value]

    No question marks or colons or anything weird. It's a logical extension of && and || after commands in bash using keywords since it is a verbose language. I wish every language had this syntax.

    For contrast, python is:

    x = [true value] if [condition] else [false value]

    It just seems weird to me to have the condition in the middle.

  • OpenWrt, now 20 years old, is crafting its own future-proof reference hardware
  • The web UI backend stuff is all done in Lua. So receiving and processing forms was all Lua. My main feature that I implemented was a REST API that was called from another product that my company sold. So I had to do all the REST API processing and data validation and whatnot in Lua.

    I don't really have recommendations, because I really only knew our product. If I knew what I get, I probably would have got that instead of the Asus router that I ended up with when I had to return my work materials.

  • OpenWrt, now 20 years old, is crafting its own future-proof reference hardware
  • I was the lead engineer on an Openwrt router for 2 years at my old job. Their documentation is complete and utter shit, but their design is extremely intuitive. Whenever I said to myself, "hell, let's just try this and see if it works," it had an insanely high success rate.

    I didn't know Lua going into this project, but when I left the company, it made me really wonder why more people don't use Lua. It's a really nice language.

    I really enjoyed having my own open source router that I could just drop new features into by adding packages and recompiling. I was sad when I had to send all my dev units back.

  • What's (are) the funniest/stupidest way(s) you've broken your linux setup?
  • It was my first time using a Linux GUI. I was comfortable with CLI, but it was my first time having it installed on a laptop instead of just sshing into a server somewhere.

    So naturally, instead of learning how the GUI worked, I tried changing it to be exactly like Windows. I was doing things like making it so I could double click shell scripts and other code files and they would run instead of opening them up in an editor. I think you see where this is going, but I sure as hell didn't.

    Well, one of my coworkers comes over and asks me to run this code on this device we were developing. We were still in the very early stages of development, we didn't even have git set up, so he brought the code over on a USB stick. I pop it into my laptop. I went to check it once by opening it in an editor by double clicking on it... Only it ran the code that was written for our device on my laptop instead of opening in an editor.

    To this day, I have no idea what it did to fuck my laptop so bad. I spent maybe an hour trying to figure out what was wrong, but I was so inexperienced with Linux, that I decided to just reinstall the OS. I had only installed it the day before anyway, so I wasn't losing much.

  • Sublinks Aims to Be a Drop-In Replacement for Lemmy
  • I'm a long time Java developer who was recently moved to a project written in Go. All I can say is: What. The. Fuck. I swear, the people who designed the syntax must have been trying to make every wrong decision possible on purpose as a joke. The only think I can think of is that they only made design decisions on the syntax while high on shrooms or something.

    Like, why in the actual fuck does the capitalization of a function change the scope?????? Who thought that was a good idea? It's not intuitive AT ALL. Just have a public/private keyword.

  • Flyers goalie Carter Hart on indefinite leave for personal reasons
  • I personally think we should hold off on the speculation. We have seen recently with the Perry/Bedard situation how speculation, even when lighthearted here on the internet, can be extremely hurtful to the people involved. Imagine Carter Hart is ill or going through the loss of a family member, and now the internet is accusing him of sexual assault.

    I personally say we wait for more information before we start speculating wildly. Let's be better than Reddit here.

    Edit: well, it's official now. Hart's lawyers confirmed he has been accused of sexual assault.

  • Announcement of Sublinks
  • So if I'm understanding correctly, if I created a Sublinks account, theoretically I would see all the same content, and I could use the same app, but it would be more optimized and have some additional features (on the web UI or if the app implemented those features)?

  • Grace Zumwinkle scores a shorthanded goal to jailbreak Tapani and to tie the game 2-2 against Ottawa

    1

    Zegras suffered a broken left ankle. He will undergo surgery in the near future and be out approximately six to eight weeks.

    www.nhl.com Ducks Announce Injury Updates on Zegras, Mintyukov | Anaheim Ducks

    The Ducks have announced the following injury updates on forward Trevor Zegras and defenseman Pavel Mintyukov: Zegras suffered a broken left ankle in the first period Tuesday night against Nashville. He will undergo surgery in the near future and be out approximately six to eight weeks. The 22-year-...

    Ducks Announce Injury Updates on Zegras, Mintyukov | Anaheim Ducks
    4

    Taylor Heise scores a nasty goal for her second of the game to put Minnesota up 2-1 against Toronto

    2

    Hearing Connor Bedard underwent surgery on Monday to repair his fractured jaw. Bedard is expected to miss approximately 6-8 weeks

    2

    Tyler Seguin scores a goal that is initially called off, but upon further review is called a goal

    0

    Flyers acquire Jamie Drysdale and a 2nd round selection in the 2025 NHL Draft from Anaheim in exchange for Cutter Gauthier

    www.nhl.com TRADE: Flyers acquire Jamie Drysdale and a 2nd round selection in the 2025 NHL Draft from Anaheim in exchange for Cutter Gauthier | Philadelphia Flyers

    The Philadelphia Flyers have acquired defenseman Jamie Drysdale and a second-round selection in the 2025 NHL Draft from the Anaheim Ducks in exchange for forward Cutter Gauthier.

    TRADE: Flyers acquire Jamie Drysdale and a 2nd round selection in the 2025 NHL Draft from Anaheim in exchange for Cutter Gauthier | Philadelphia Flyers
    2

    Maple Leafs Sign William Nylander To Eight-year Contract Extension. $11.5M AAV x 8 years.

    www.nhl.com Maple Leafs Sign William Nylander To Eight-year Contract Extension  | Toronto Maple Leafs

    The Toronto Maple Leafs announced today that the hockey club has signed forward William Nylander to an eight-year contract extension.

    Maple Leafs Sign William Nylander To Eight-year Contract Extension  | Toronto Maple Leafs
    13

    Grace Zumwinkle records the first hat trick in PWHL history in Minnesota's home opener

    piped.video Piped

    An alternative privacy-friendly YouTube frontend which is efficient by design.

    Piped
    4

    UPDATE: We have placed Connor Bedard (fractured jaw) and Nick Foligno (fractured left finger) on injured reserve.

    3

    Team USA celebrates their 6-2 victory over Sweden for the gold medal in the WJC

    0

    Czechia rallies back after being down 5-2 against Finland to win 8-5 for the bronze in the WJC

    1

    Ryan Leonard with a huge individual effort scores a goal to put Team USA up 5-2 against Team Sweden late in the third.

    0

    First overall pick Taylor Heise scores the first ever PWHL goal on American ice as Minnesota takes a 1-0 lead against Boston

    1

    An update on the GDT bot!

    Happy New Year, !hockey@lemmy.ca! 🎉

    As you may have noticed, the game day thread bot is back up! 🥳 For anyone that missed it, it went down because the NHL dramatically changed their API, and a good portion of the bot needed to be rewritten. I have mostly updated the bot to use the new API. A couple of caveats: 1. They no longer provide data for which goalie was in net when a goal was scored. Currently this field is empty in the posts. I might remove the column entirely if I don't find a good way to get the data (without for example looping through the whole play by play just for this one piece of data). I also might just replace it with if the net is empty or not, since info is provided. I'm definitely open to feedback on this. 2. The bot is still occasionally freezing and crashing. This will get cleaned up over time. If you notice data not updating, or any data is incorrect or wonky-looking, please take a screenshot and send it to me!

    By the way, the bot is open source! If you want to contribute by writing code, reporting issues, or even just donate beer money to me as a thank you, you can do so on the github page here.

    Seeing as this is !hockey@lemmy.ca and not !nhl@lemmy.ca, is anyone watching the non NHL games goes on? The World Junior Championship is currently going on. The PWHL just started their inaugural season! US-based fans can watch every PWHL game for free on their Youtube channel here.

    Is there any interest in having game day threads for these non NHL games?

    Edit: OH I forgot to mention, highlight videos for goals are now attached in the game posts by the bot!

    2

    A performance of my favorite "sock and roll" band

    1

    What player do you feel is going to breakout in the New Year and crush fan's expectations?

    No hockey for the next 3 days, so this is what I'm resorting to to get my hockey fix.

    5

    Trevor Zegras scores "the Michigan" to make it two lacrosse goals in one night in the NHL.

    6

    Connor Bedard scores with "the Michigan" to tie the game at 1 against the St. Louis Blues

    2

    The Dallas Stars score two goals in the final 15 seconds of the third period to come from behind and win in regulation against the Nashville Predators

    5