dandroid

joined 1 year ago
MODERATOR OF
[–] [email protected] 2 points 9 months ago

I remember being upset about the exact same thing when 4G first launched.

[–] [email protected] 86 points 9 months ago (13 children)

Uh, I assumed that was a minimum viable product requirement.

[–] [email protected] 3 points 9 months ago (4 children)

OpenVPN server was my number 1. Being able to VPN back into my home from anywhere in the world was amazing. I can't really remember any other, since it was more than a few years ago.

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

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.

[–] [email protected] 4 points 9 months ago (3 children)

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.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

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.

[–] [email protected] 68 points 9 months ago (16 children)

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.

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

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.

[–] [email protected] 0 points 9 months ago

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.

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

In my friend circles, the passenger was responsible for playing for the driver.

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

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.

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago) (1 children)

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

1
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Since the CSAM attacks, I have disabled pictrs on my instance until I can turn off caching images from other instances. However, I haven't been keeping up on pictrs development. I know there were talks about making this feature, but I am unable to find any information about pictrs and the state of development.

Is pictrs open source? If yes, does anyone have a link to the source? If no, is there anywhere I can find information about the state of development of the project? The only thing I can find is its docker hub page here, which has a completely blank description.

 

Hi All

I am currently in the early stages of working on a GDT bot for this community. I wanted to communicate early in case any one else started working on the same thing so we can combine our efforts instead of duplicating them. This is for the community, so I wanted to know the community's thoughts on what features are important or not, or if there are any features that you want.

I am taking heavy inspiration from the reddit GDT bot for formatting and feautres, but definitely don't expect all of those features right at launch. Questions for the community:

  • Are there any features that you wished the reddit GDT bot had?
  • Are there any features that you wished the reddit GDT bot didn't have, say if it is a distraction or takes up too much space on the screen?
  • How would you feel about having the bot leave a comment with additional info instead of cluttering up the main body? (not sure if this is possible with the Lemmy API I am using)

My goal is to have a functioning minimum viable product by the preseason so I can test it out during the preseason and have it ready by the first day of the season. I can run full tests with historical data now, as the NHL API lets me pull data from all old games (which is amazing, btw!), but I am sure I am going to have issues with creating posts and updating the post bodies, and the testing of that feature sounds tricky without live data updating.

Current minimum viable product features planed:

  • Post GDTs 30 minutes or 1 hour before the start of each game
  • Title contains the teams playing and the start time of the game (in the Eastern Time Zone?)
  • Body contains the score, game clock, other basic stats, and updates throughout the game.
  • Body contains who got each goal, along with who got each assist
  • Possibly have some details like the status of the game (Not started yet, In progress, completed) in the title
  • Open source so anyone can contribute
  • UNIT TESTS
  • Self-hostable via container, so if another hockey community on another instance wanted to have a GDT bot, they would just need to change a few variables in a .env file and host it themselves.

Edit: I wanted to provide an update on my progress. I posted the source code on github here. I also have tested it on a community in my own instance here. Since there are no games currently going on, this game is a random one I chose from last season. It's actually this one

view more: next ›