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
17
Comments
1,578
Joined
2 yr. ago

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • I live in NA, and I have one. Most tea drinkers that I know have them, too. I don't know how I could live without one.

    But I guess tea isn't as ubiquitous here. That's probably why people don't have kettles. They wouldn't use them enough to be worth the counter space.

  • 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)?

  • Ironically, I have had some really bad French toast in my day. Like, so bad I hated anything with cinnamon on it for years. For decades, the smell of French toast made me want to vomit. I couldn't even go to breakfast joints that served it.

  • pics @lemmy.world

    I went to the zoo yesterday. This was my favorite picture that I took from the whole day.

    Voyager @lemmy.world

    My reaction when the developer of Voyager takes a vacation after cranking out updates nearly daily, so now I have to go a couple of days without an update.

    Voyager @lemmy.world

    Text faces appreciation post

    cats @lemmy.world

    Jumping on the bandwagon.

    Selfhosted @lemmy.world

    Migrate lemmy instance directory to NFS file share

    Linux @lemmy.ml

    Mounting NAS in linux

    Memes @lemmy.ml

    l literally did this a few hours ago

    cute dogs, cats, and other animals @lemmy.ml

    Mikei knows she's not supposed to be on the table. Apparently she thinks that if her back legs are not on the table, she isn't breaking the rules.

    cats @lemmy.world

    Mikei knows she's not supposed to be on the table. Apparently she thinks that if her back legs are not on the table, she isn't breaking the rules.

    cute dogs, cats, and other animals @lemmy.ml

    This was from Mikei's birthday last year

    cats @lemmy.world

    This was from Mikei's birthday last year

    Linux @lemmy.ml

    Migrating Linux install from old SSD to new SSD with different filesystem

    Selfhosted @lemmy.world

    Trying to self-hosting a mail server, but port 25 is blocked by my ISP

    cute dogs, cats, and other animals @lemmy.ml

    Mikei really missed me after I spent the whole day out

    Mildly Interesting @lemmy.world

    A swarm of bees decided to visit me today

    cute dogs, cats, and other animals @lemmy.ml

    Get you a girl that can do both

    Lemmy @lemmy.ml

    Content not being fetched when a community is searched