• 0 Posts
  • 106 Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle

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



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















  • I do this just so I can be aware of what’s going on because it makes less work for me during work hours. It have silent notifications on for that app, so it doesn’t interrupt what I’m doing. I pretty much only read the subject line unless it pertains to me personally. It really only takes a few seconds out of my day, but it makes it so I don’t need to start earlier and I can review my emails before my scrum starts at 9 AM. I start working at like 8:50 AM to get logged into my VPN and everything, while some of my coworkers start at 8 AM to review all their emails before scrum.


  • I work with a team in a time zone about 12 hours off of mine, so we are almost never online at the same time. I sent one guy on that team a message at 3AM his time, and he got all annoyed that I was expecting him to work at 3AM, and I was like no dude, just respond when you start working. So now whenever I sent messages to that guy, I always prefix some text about how this isn’t urgent and to ignore it until his work hours start.