[-] vrek@programming.dev 24 points 5 days ago

I prefer when a man calls bears to kill all the first sons in a village because he was called bald.

62

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?

46

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?

61
submitted 1 month ago by vrek@programming.dev to c/linux@lemmy.ml

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?

33
Agdq 2026 has started (programming.dev)

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

73
Agdq 2026 has started (programming.dev)
submitted 1 month ago by vrek@programming.dev to c/games@lemmy.world

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

93

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?

14

So I've been working a program, exact details don't matter, which stores information in a database(either locally hosted or privately hosted by user). Basically it's to store a history of seizures and medication, so you can give it to a doctor and see something like "well most seizures occur in morning so let's give medication at 6am instead of 8am" or something like that. To do that requires two "accounts" one for caregiver and one for patient(idea is for parents of a child with medical issues). It requires accounts to see like "dad gave medicine at 7pm" or "mom saw child 1 have a seizure at 230pm". These are basically just names stored in the local/private database, I will not no them or track them.

I don't want to deal with hippa or be responsible for medical data so I specifically don't want to host the data. Assuming you had a use for this and the ability host the database would you be turned off by the requirements of "accounts" even if you completely controlled them?

[-] vrek@programming.dev 86 points 1 month ago

What's funny is in my experience in the USA it's not that there are not busses but they take SOO much longer. I had a job that was 2.8 miles away. It took 7 or 8 minutes to drive there(depending on if you hit the one traffic light on red). Theres a bus stop outside the company. There's a bus stop on the corner of my complex. I looked up on the bus provider website how long it would take...9 hours each way.

Years ago I was living in a different state, a friend was throwing a new years party in his college house and invited me. His college was 3 hours away. I thought about just taking a bus since obviously we would be drinking. I checked the bus schedule... It would take 2.5 days with 4 change overs each way.

I ended up just crashing on his couch and drove home after I recovered from the hang over.

Its just not feasible to take buses here due to how long they take.

[-] vrek@programming.dev 65 points 1 month ago

I love the idea of this being a thing...

Don't step up to my crew unless you understand bell's equation

You aren't hard untill you memorize pi to 20 digits

The uncertainty principle is not knowing if your girl is coming home with me, my dawg here, or both of us... That's the real dual slit experiment

70

What os? What ide? What plug-ins?

[-] vrek@programming.dev 63 points 1 month ago

Decades ago ago there was a series of videos of girls teaching calculus. For example they had a girl lay down on her back and then described how to use integrals to determine the area of her boobs.

[-] vrek@programming.dev 151 points 2 months ago* (last edited 2 months ago)

Look... We don't allow liquids cause they may be explosive, so put your possible explosive with all these other potential explosives in the busiest and most congested and concentrated area of this airport....i think I may of found a flaw in this plan

[-] vrek@programming.dev 130 points 2 months ago

If they didn't kill everyone, it's possible one of them would be able to prove there were no drugs and this is just racism...

343

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.

[-] vrek@programming.dev 208 points 8 months ago

To verify your stud detector works you must point it to your self, make a beeping sound, turn to your significant other and tell them "I'm a stud"

[-] vrek@programming.dev 60 points 9 months ago

Years ago when I was a late teen and living at my mother's, she was at work as a cashier. She called my one morning and this was the conversation : Mom - do me a favor, go into my bedroom my phone should be on the nightstand. Can you grab it and bring it to me?

Me - you're at work on break right?

Mom - yeah

Me - how are you calling me?

Mom - silence

Mom - nevermind, I have it....

[-] vrek@programming.dev 65 points 10 months ago

I agree and haven't returned but lemmy hasn't hit critical mass yet.... Like I don't recall a post with over a hundred replies. Reddit used to have over a thousand on every reply on the first page.

55
submitted 11 months ago by vrek@programming.dev to c/selfhosted@lemmy.world

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.

48

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

64
submitted 1 year ago by vrek@programming.dev to c/linux@lemmy.ml

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?

[-] vrek@programming.dev 62 points 2 years ago

I mean the white house did say we should start building with rust...

[-] vrek@programming.dev 61 points 2 years ago

I've told this story before it's funny so I'll repeat it... It was the early 2000s and I heard a song on the radio where a man made a bunch of funny sounds with his voice and the only lyrics I remembered were "I'm the scat man". I was interested to see what else he made...

I went on to kazza and search "scat man", found a video I assumed was a music video and downloaded... Several hours later (56k modem)...

My childhood was lost forever.

[-] vrek@programming.dev 61 points 2 years ago

I had a Microsoft support scammer once... I let him in to my system too..well not really.

I quickly spin up a quick fresh install of slack ware Linux in a virtual machine that didn't even have x11 never mind wine installed. When it was up I told him a friend uses something called tellynet (aka telnet but I was playing dumb) to help me on the computer.

He telnetted in and could not understand why any of his malware wasn't working...

view more: next ›

vrek

0 post score
0 comment score
joined 2 years ago