vrek

joined 2 years ago
[โ€“] vrek@programming.dev 2 points 5 hours ago

Honestly? It depends. You can make it better, if you try or make it worse if you don't. This sounds like they were not "lonely" that was just something they could blame it on.

Go do something. It doesn't really matter what. Exercise, join a rpg group, join a maker space, move to a new city, change jobs, join a group about off roading. It doesn't matter, learn to cook, learn to bake. Just do something.

Laying in bed or staring at a monitor/TV won't help. Most people will get into a mental loop of how they are bad because they don't have any real comparisons of real people. You may make mistakes but you will see other people make mistakes too.

Regarding relationships I love the quote from Jimmy Carr (yes he has dark humor and often is offensive) "don't think what you can get, think what you can provide".

[โ€“] vrek@programming.dev 1 points 1 day ago (1 children)

Yeah, I'll give you a more complete response after I go to the atm machine where I'll enter my pin number. ๐Ÿ˜œ

[โ€“] vrek@programming.dev 3 points 1 day ago (3 children)

True, all I'm going to say is if you look up videos on "cbt therapy" make sure to put therapy in the search and/or have safe search on, as a result I believe Mike may enjoy the splinters

[โ€“] vrek@programming.dev 4 points 1 day ago (5 children)

But think of the splinters... Oh god... Think of the splinters... Mike should get hazard pay

[โ€“] vrek@programming.dev 2 points 2 days ago

If you think you are bad, you are not. There is no wrong way to play and you may want to have different goals. Do you want fastest time? Smallest area? Most powerful against hoards of bugs? Conquer all planets? Science per minute? Self imposed limitations?

All are valid and all could be fun.

[โ€“] vrek@programming.dev 3 points 2 days ago (1 children)

Depending on age, red vs blue is on Amazon prime just saying....

[โ€“] vrek@programming.dev 2 points 2 days ago (2 children)

I guess I will just keep playing factorio. That's a game which doesn't involve any automatic generation involving intelligence ... Wait... Fuck!

/s

To be clear I don't think factorio has any Gen Ai. It does have a lot of automation, a lot of generation and requires a lot of intelligence. I thought it was just a clever bit of word play.

FACTORY MUST GROW!!

[โ€“] vrek@programming.dev 8 points 3 days ago

Dylan bettle talks about this in one of his presentation. He made a website that did actor and actress recommendations, I believe for like extras to be hired. They kept getting alerts around 7-715am and then around 12.30pm to 1245pm.

Eventually they figured out that casting agents typically woke up, checked email, and submitted the requests on the website. The actors and actresses typically had other jobs and had to wait till lunch to check and apply.

They had to redesign the system and buy more bandwidth to handle these spikes.

He's a great presenter and I highly recommend watching all of them, even if you're not a programmer. And I probably got most of the details wrong... But it was a talk at one of NDC conventions.

[โ€“] vrek@programming.dev 24 points 5 days ago

In an apartment complex I used to live there were 2 "police incidents" which were way overkill. A week or two after I moved in I got home and there were easily over a dozen cop cars in the parking lot. Cops were walking around with assault rifles and body armor. Shortly after I got home I got an email from complex stating there was a emergency situation and everyone was to stay in their apartment if home or stay out if not home. After a few more hours everyone left. What was the cause? A homeless man broke into a empty apartment but with no power had no a or fans and died of heat stroke. When the apartment was rented, one of the maintenance people went in to "prep for move in" and found the body.

Second incident was worse. First 2 cop cars appeared, then atleast 6 more. The complex was on a corner of 2 roads and each of those were shut down by cops blocking them. There was 3 trucks with "swat" written on them. Then they started calling out on a PA system to come out with your hands up. This went on for 3 hours. Finally I hear/feel a shake/bang. Turns out they decided to use an explosive on one of the apartments to gain entry. The apartment was empty. I talked to some neighbors and found out some girl broke up with her boyfriend. She and another friend were home when he showed up and decided to beat her for breaking up with him. He didn't know the friend was there and the friend walked up behind him and hit him with a bottle. The two girls then ran out of the apartment. They ran to a gas station and called the police. It was about 10 minutes until the police showed up and about 30 minutes before they shut down the roads, the complex was less than a mile from a major interstate highway. In addition the apartment was a first floor and had a sliding glass door to a small patio area. This meant they could a. See in the apartment and b. Just break the glass instead of using explosive on the front door. C. Just ask the office for a key instead of using an explosive. Seriously this was such overkill over nothing, yes guy was asshole and beating people up is never right but since it was about 45 minutes before the cops blocked the roads he easily could got away and onto the highway....

[โ€“] vrek@programming.dev 3 points 2 weeks ago

Company computers are different, I definitely don't trust them. That said managers like that are not good managers. Measure outcomes, not time. When a problem occurs and I can't figure a solution I go for a walk. 5 maybe 10 minutes. You would be amazed how often I think of the solution on said walk. Yeah it might look like a waste of time but clearing my head is a huge value to the company.

[โ€“] vrek@programming.dev 4 points 2 weeks ago

Ouch! Tell her I'm sorry, and I'm sorry for you too. All the accountants I worked with did alot more than just reports. Not to mention that sounds great until the Ai says 2+4 =2*4 and now the company owes 20 billion on taxes...

Plus in a lot of cases people don't submit records in identical format, the number of excel workbooks I've seen where the data was on "sheet 2" for some unknown reason....

Maybe its just me, I always provided raw data on sheet 1, analyzed data on sheet 2, and if needed complicated formulas on sheet 3. I would be willing to bet their Ai would break on that format.

 

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

 

I know there choice of distro is really meaningless as you can install almost any program on almost any distro. But I have been playing with kali which is for security people and pen testers. Is there a similar distro for programmers? Like a few ides installed some profiling tools some virtual environment tools etc?

 
view more: next โ€บ