vrek

joined 2 years ago
[–] vrek@programming.dev 4 points 9 hours ago

We used to buy plastic 5 gallon buckets. The bucket was 2.14 and the lid was 1.30 each. When they went to this system we could only buy in counts of 10(about 6 month supply, not really a big deal but annoying) and a count of 10 was 83.74, old system was 33.40 for a 10 pack. No one really cared as 50 dollars to a company making 30+ billion a year was nothing but...

Also so much time wasted jumping between the various systems which costed way more than 50 dollars.

[–] vrek@programming.dev 7 points 17 hours ago (2 children)

Best part is most of their stuff has cad files on their website. Working at a company where everything needed a drawing, being able to email the cad team like "hey, I need to swap part 15 on fixture 12345678 for this other part. Drawing for new part is attached" was a god send as I would get the drawing updated and sent back in like 10 minutes.

Also 1% discount means nothing when grainger is anywhere from 10% to 2000% more. My company did one worse and made a deal with a 3rd party who mainly purchased from grainger. So what we were supposed to do was go to grainger.com find what we need, copy part number, go to third party site, fill out a form including part number, wait 48 hours, get a quote from third party, go onto another site to request purchase, wait for boss approval, depending on cost wait for their boss's approval, finally click purchase button, wait for shipping, receive part directly from grainger in grainger box. It lasted about 6 months before it was reversed.

[–] vrek@programming.dev 2 points 1 day ago

My understanding is there was a group that was saying to combine stuff by use. So you have a class to determine total price, but you sell liquids priced by liter, gasses sold by cubic foot, and solids sold by quantity. Each of those are controlled by separate departments and require different methods of calculating price.

DDD basically says to group everything for liquids together, everything for gasses together and same for solids. Don't group by process but by who uses them.

[–] vrek@programming.dev 11 points 2 days ago (1 children)

Something similar happened to me years ago. Our bus stop was infront of a fire station but just after a turn in the road. There were about 15 of us kids waiting for the bus. The bus comes around the corner and we all go pick up our back packs and form a line to get on the bus. I was front of line. The bus stops, puts on lights and the little stop sign on the side goes out. The doors open and I go to step on the first step and hear something. I look behind the bus and see a garbage truck doing everything it can to stop but rams into the back of the bus.

Luckily we were the first stop, no kids on board, only person was driver. The entire back of the bus crumpled but the driver was ok as well as the garbage truck driver. I heard later there driver claimed he was covering another person's route and didn't know there was a bus stop there. He came around the corner but the heavy garbage truck was just unable to stop quick enough when he saw the bus. This was I think 2001 so he wasn't on a cell or anything like that and he wasn't drunk or something.

If it was 10 seconds later I probably would be on the bus at the time and would not be alive to post this message.

[–] vrek@programming.dev 2 points 2 days ago

According to animal law adding any form of waste onto another object means you own it... You are now his property

[–] vrek@programming.dev 3 points 2 days ago (2 children)

Please let him know I'll defend him pro-bono against these allegations. Everyone else became an expert in bird-law, I went a different route and became a primate paralegal

[–] vrek@programming.dev 5 points 2 days ago (4 children)

In his defense I don't see a sign saying "birds only!"

[–] vrek@programming.dev 5 points 2 days ago

Often I go more towards fiction for fun reading but I'll look into it.

[–] vrek@programming.dev 2 points 2 days ago (1 children)

Maybe but a business man walking a sandwich shop to pick up dinner before taking the train home would not be as excited as 5 year old who was reading books about dinosaurs...

[–] vrek@programming.dev 2 points 2 days ago

True just like we can't go back to the time before the internet. Some companies have a good business which happen to use Ai, they will likely be fine. Some companies only exist because they claim Ai and survive on vc money, they will likely die.

There are uses of Ai. There are smart uses of Ai. There are incredibly stupid uses of Ai. There are some uses of Ai that are stupid now but will be industry standards in 30 years (think Netflix in late 90s) due to advancements in technology. If you know what companies will be which you could be a billionaire which is what people are betting on. But they are bets, no one really knows what will stick and what will burn...

[–] vrek@programming.dev 2 points 2 days ago

Similar stuff has been around for decades. There was(maybe is?) a "search engine" called shodan which allowed you to search for devices open to certain protocols, one of which was used for security cameras and even an option to only show systems which didn't request a login. You could go on there and see literally thousands of people's homes and rooms. This was pre-2010 so atleast a decade and a half ago and no one cared.

Now atleast most camera systems require a login by default but other than that...

[–] vrek@programming.dev 8 points 2 days ago (2 children)

Ah, interesting... That completely changes how I interpreted the message. I thought it was just like "stop using social media for quick dopamine, read long form books" but it's like "stop using Twitter and learn how money actually works" type of message.

 

Those companies were all found to be pyramid schemes!

 

Well first someone would need to put a bank inside a whale...

 

I'm not looking for Chromecast but I have a Linux system hooked up to a TV and ether net. I want a way to pick a YouTube or Amazon prime or Netflix video on my phone and display it on the TV via the Linux pc. Is that possible? If so what software can do it?

 

I don't expect much but I found an old pi I bought probably 2016(may of been 2017). It was supposed to be a pi-hole but was never able to get the dns forwarding to work on my modem. It still works but wanted to somehow convert it to a regular distro(it's based on a micro-SD and I don't have any more microsd readers). I wanted to set it up as a basic system I could ssh into a terminal. Not expecting anything fancy or even graphic based. A lot of stuff I want to learn/practice "work" on windows but are native to Linux, like vim/neovim nmap gcc etc. Is this feasible? Am I under estimating what's possible with it?

 

I don't expect much but I found an old pi I bought probably 2016(may of been 2017). It was supposed to be a pi-hole but was never able to get the dns forwarding to work on my modem. It still works but wanted to somehow convert it to a regular distro(it's based on a micro-SD and I don't have any more microsd readers). I wanted to set it up as a basic system I could ssh into a terminal. Not expecting anything fancy or even graphic based. A lot of stuff I want to learn/practice "work" on windows but are native to Linux, like vim/neovim nmap gcc etc. Is this feasible? Am I under estimating what's possible with it?

 

For anyone interested agdq started today. Raising money for prevent cancer foundation and showing speed runs of video games. Available streaming on twitch and YouTube. Gamesdonequick.com

 

For anyone interested agdq started today. Raising money for prevent cancer foundation and showing speed runs of video games. Available streaming on twitch and YouTube. Gamesdonequick.com

 

I thought of this after a recent bug I found. I use Vivaldi browser and recently it updated. After the update my mouse cursor was not visible when within the browser window. Other programs worked fine. I tried visual studio and steam and epic game store all had my mouse, Vivaldi didn't.

I closed all instances of Vivaldi via task nanager(was unable to click the x) and restarted it. That fixed the bug and I haven't been able to replicate so I don't have anything to submit for a bug report. Just a really strange thing.

What have been your weirdest bugs?

 

What os? What ide? What plug-ins?

 

I'll give an example. At my previous company there was a program where you basically select a start date, select an end date, select the system and press a button and it reaches out to a database and pulls all the data following that matches those parameters. The horrors of this were 1. The queries were hard coded.

  1. They were stored in a configuration file, in xml format.

  2. The queries were not 1 entry. It was 4, a start, the part between start date and end date, the part between end date and system and then the end part. All of these were then concatenated in the program intermixed with variables.

  3. This was then sent to the server as pure sql, no orm.

  4. Here's my favorite part. You obviously don't want anyone modifying the configuration file so they encrypted it. Now I know what you're thinking at some point you probably will need to modify or add to the configuration so you store an unencrypted version in a secure location. Nope! The program had the ability to encrypt and decrypt but there were no visible buttons to access those functions. The program was written in winforms. You had to open the program in visual studio, manually expand the size of the window(locked size in regular use) and that shows the buttons. Now run the program in debug. Press the decrypt button. DO NOT EXIT THE PROGRAM! Edit the file in a text editor. Save file. Press the encrypt button. Copy the encrypted file to any other location on your computer. Close the program. Manually email the encrypted file to anybody using the file.

 

So background, my kid has seizures often. He is currently on 5 different medications to try to control it(plus 1 for sleeping and 1 for his liver enzymes) plus severe non verbal autism so he can't tell us if he already had his meds. Currently when it's medication time, it's always "did you give him his meds yet?" and we have no way of tracking how many seizures he actually has besides "alot more recently" or "it's gone down recently". Yes he had multiple doctors and this is NOT a post looking for health advice.

I am creating an app for phones(c# Maui) which will send json objects to a api to store/retrieve data in a database(when he last had medication x, when he has a seizure etc). It will probably only be used with in my family, maybe 20 entries a day on a really bad day(7 medications twice daily + 6 seizures to give a round number) but should be less then 10 transactions(most medications given at same time).

What's the cheapest/easiest was I can host something like this? I do not have a static ip. Yes it's health information but I'm only storing first names and tracking time of events, not too worried about hippa like security.

 

The only possible exceptions I can think of are fish(I imagine gills and mouth are not connected but don't really know). I am excluding bacteria and viruses and I believe they don't really breath(correct me if I'm wrong).

view more: next ›