vrek

joined 2 years ago
[–] vrek@programming.dev 1 points 1 hour ago

Maybe not what it's intended for but I promise that's what it will be used for...

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

True but I could see using Ai to write a function which does the math... Like I write a prompt (simplified example as I'm on my phone) like "sum all the values above A4 and place result in A4" and the Ai should then write the function "sum(A1, A3)" and place it in cell A4

[–] vrek@programming.dev 1 points 4 hours ago (4 children)

Wow, yeah most people who want to use a function like this will mess that up...

[–] vrek@programming.dev 6 points 5 hours ago

Also be careful how much you break stuff into steps... I said make a list. I didn't say ok now you need to get a pen. Ok to get a pen you need stand up. We'll to stand up you push against your chair and extend your legs etc.

[–] vrek@programming.dev 8 points 5 hours ago (1 children)

The real way to handle this? The main task has 27 sub steps ok... Look at sub step 1 and ignore the other 26. Let's say this is getting required materials for a project. This may have 10 sub sub steps, pick the first ignore the other 9. This first one is making a list of what you need. Keep this generic, say you're building a shelf, add screws to your material list, don't worry about exact size or type, that's later just screws. And you need wood and you need wood stain. Now you completed the first task. Second task is determine wood type, oak? Maple? Mdf? Plywood? That was easy number 2 done. Now you have 2 tasks done and are on a roll so it's easier to start working on step 3(say determining length of shelf).

Doing small steps increases confidence and encourages further progress. It's not the total number of steps, it's showing yourself you did some so you can likely do the next small task.

Like washing dishes, an overflowing sink is intimidating but if you wash a bowl a plate shouldn't be much more work and then you see a fork well that's easy and a spoon also easy... Now the sink is half empty and wouldn't it be nice to just have an empty sink?

[–] vrek@programming.dev 1 points 5 hours ago

Oh ok. Haven't smoked since like 2008 so didn't know.

[–] vrek@programming.dev 3 points 6 hours ago (6 children)

Wait... Is that really true? The integrated copilot in excel can't see the data in excel? That's insane. Copilot in vscode or visual studio can see all the code your working on so I don't see why excel wouldn't be able to...

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

What am I missing? You gave him a bag of assault rifles? Why did you have a bag of assault rifles? Why would you measure them bags?

[–] vrek@programming.dev 1 points 6 hours ago (8 children)

I'm betting the one is formatted as text and the other rows are formatted as a numbers. Can't confirm as I don't use excel but that seems to be the issue.

[–] vrek@programming.dev 2 points 7 hours ago

Yeah but then in hex it would equal 16, not 15. I'm betting he set the format of the 2 and 3 to number but forgot to set the format of the 1 and it defaulted to text. 2 and 3 got added but adding a string to an integer defaulted to concatenation, since they integrated python within excel and this how it would work in python.

[–] vrek@programming.dev 1 points 7 hours ago

1.21 jiggawatts!

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

Ok maybe I could a apartment lobby... Still crazy but not quite as crazy as a house.

I was picturing some like young pot head comedy where they order food towards the beginning but the dasher asks to charge there phone. As the story goes on people keep coming over for various reasons and before they say anything illegal "wait... Whose that?" and the main character replies "he's the delivery guy, don't worry he said he's cool and won't say anything" and the delivery guy raises his fist with a thumb and pinky extended and shakes it like the old surfer sign thing.

Now the twist ending is he is secretly an fbi agent gathering evidence on the drug dealing before they raid the house but ends up finding out the people in the house are chill pot heads but the movie bad guys are kidnapping people or something much worse then selling small bags of weed.

 

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 ›