vrek

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

Good news is the hospital bill included free meals and once I was cleared for normal diet it was decent food...

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

Yeah, obviously but does it mean something?

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

Ah, the bundle_2 link looks at lot more readable and understandable. That said it's not even 530am yet here so I'll need a little while to wake up before I can try to understand it.

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

He was a business God, not so sure of programming God, more like surrounding himself with programming gods.

But seriously, how do you read this, is it like a representation of how the memory should be at a specific point in time? I'm guessing blank spaces would be undefined then?

[–] vrek@programming.dev 19 points 1 day ago* (last edited 1 day ago) (2 children)

I called 911 and went to hospital, unable to stand and uncontrollable vomiting black sludge with white specs in it, imagine over-used engine oil with seaseme seeds mixed in. Turns out my liver was leaking into my gi track. 43k bill from hospital, 1200 from ambulance to drive 1 mile, combined 3k from various doctors, 8k for all the tests they ran. Yes all separate bills. I was there for 3 days. That's about a total of 55k in bills for 3 days...

Even if the 25 dollar an hour minimum wage bill passed, and I worked full time for minimum wage with no other expenses(no food, no rent, no gas, no nothing) I still couldn't pay it in a year(yearly pay at 25 an hour is 52k a year).

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

I can 1/2 read asm, know c/c++/c# and a bunch of other languages but how do I even read this?

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

True, Ai doesn't really exist at the moment. It is a buzzword a lot of companies are fuzzing the definition of to get it into their marketing / pr releases. Let's see details on what they are claiming is Ai and they are using it before forming strong opinions.

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

But no one has said language model, they said Ai of which there are many types.

[–] vrek@programming.dev 27 points 3 days ago

I was watching a comedy special by Jimmy Carr. He gives out a number before the show that you can text and select ones are shown on a giant screen behind him and he responds.

One text that was sent in was something like "im am blind. I asked for cheapest seats in the house for me and my service dog. I got seated behind a stone pillar. A+ service staff."

[–] vrek@programming.dev 1 points 3 days ago

I would say python is good for basics like for what's a variable, how if/else work, how to iterate over a list, the thought process of breaking down a problem into sub problems. Now it's not a good language for going much beyond that. Do not try to make a real time video renderer in python.

Once past that I would say go either front end or backend. If backend c++ is a good option. Now that you know what a variable is we can discuss the difference between a uint32 and a bool. Why we don't use an int variable set to 1 or 0 to determine the results of an if statement. This is also where you learn about memory and how computers actually work.

If front end is the choice, maybe not Javascript but typescript would probably be a good option. I don't know much about front end(I hate doing visual design) so I can't go into much detail. Is there a better front-end language you recommend? Only other one I know at all is c# with blazor or winforms.

The issue I see with jumping straight into c++ is it's so much to learn to do simple stuff. For example a lot of early programmers get confused with working with functions and what return values. I attended a boot camp through work for python(I knew programming hobby level but it gave me a pay raise). There were 12 students, 4 choose to do a selenium script to test a website as a final project, 1 did a script I think for tracking expenses and income but he did it all in main because he couldn't figure out arguments and return values from other functions. This was after 9 weeks, 5 days a week 8 hours a day, plus 4 days to develop the final project. Now throw in what a header file is and the difference between declaring a function and defining a function. It's a lot to start off with.

[–] vrek@programming.dev -1 points 3 days ago (4 children)

Planes have had "Ai" for decades, it was called autopilot. This is for air traffic controllers. They sit in the tower and basically coordinate all the traffic on around the airport. Why this is important, look at the crash at laguadia(airport in NYC I'm likely spelling wrong). Basically fire crew wanted to cross run towards an unrelated incident, plane wanted to land. Atc told fire crew they were clear and told the plane they were clear to land... On same runway. Plane crashed into water truck of fire crew causing severe damage to both vehicles. "luckily" only the 2 pilots of the plane lost their lives, it could of been so much worse.

MAYBE I could see a use of Ai. Currently their are sensors to detect where planes and land vehicles are but imagine if an llm could interpret the talk on the comms and detect if two statements could result in a collision. Especially if there are multiple Atc officers active. Like Tom tells one plane to land on runway 22 and Lucy tells another plane to land on runway 22 and Tom and Lucy don't hear eachother. Or if a single officer tells a plane to land on runway 30 but they were 10 minutes out. A truck to refill the food/drinks asks to cross runway 30 when the plane is only 20 seconds out. I could see the Atc officer forgetting about the plane and granting clearance.

Ai logs all these orders, reading the sensors for current situation and activates visual and audio alarms that two orders may conflict. Officer could tell the plane to go around, maybe cost some fuel and time for a false alarm but potentially save hundreds of lives. Maybe Ai doesn't detect conflicting orders and it's up to the human officers to notice. We are now in the same situation we are currently. Now, if you try to eliminate the human element and just rely on Ai people will die in many accidents.

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

Every murderer in the last 100 years has had dhmo in their body prior to committing the murder!

 

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 ›