nik282000

joined 1 year ago
[–] [email protected] 21 points 21 hours ago (5 children)

Is this The Onion? It sounds like The Onion.

Our sales specialists have found that adding diamond to the GPU can increase profit margins by up to 30%. And with optional ruby studded HDMI cables we expect out customers to be selling their parents into slavery this holiday season!

[–] [email protected] 7 points 1 day ago

I have NEVER seen anyone in Canada steal groceries.

[–] [email protected] 2 points 1 day ago

That is pretty much why. I took one programming class in high school (2004) and since then alway enjoyed solving software puzzles.

[–] [email protected] 1 points 2 days ago

I ran my first "smart" phone for more than 5 years before needing an upgrade. My latest Pixel 8 is less than a year old and now has a row of pink pixels. Never been dropped, never been wet, never fast charged.

[–] [email protected] 1 points 2 days ago

At least it's honest.

[–] [email protected] 1 points 2 days ago

App /ăp/

noun

A small program designed to duplicate existing features while collecting private data and monetizing user interactions.

[–] [email protected] 11 points 2 days ago (1 children)

In case of emergency, lift the floor mat and input the 16 digit release code.

[–] [email protected] 1 points 3 days ago (2 children)

This is a 10 year old house and was supposed to be built with all the latest energy saving tech, except it's Canada and I doubt it would have passed inspection even on the day it was sold.

[–] [email protected] 2 points 3 days ago (5 children)

Nope, home made sensors and python scripts.

[–] [email protected] 4 points 3 days ago

Previous to this the basement was always 5 degrees warmer than the rest of the house because the ductwork was so terribly installed. I spent a week sealing them all up only to find that what feels comfortable has as much to do with the humidity as the temperature so just balancing flow between floors couldn't fix everything.

[–] [email protected] 2 points 3 days ago (4 children)

The weather outside changes things indoors way more than I expected. By looking at the graphs I can tell if it was a windy day, if it rained at all, if it was sunny and which blinds were open that day.

81
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/selfhosted
 

Warning there are some tall-ass images in this post.

A few years ago I got mad enough at the temperature gradient in my town house that I designed and build a bunch of ESP8266 sensors to feed data into an RRD so that I could have some pretty graphs to be angry about as well. (As of this week I have also started logging stats from my UPS and server.) Using the minimum of HTML and CSS I threw those graphs, a map of the previous day's incoming network traffic, and some convenient links onto a homepage that I use on all of my devices. At a glance this tells me if the furnace/AC is working, if my server is having a fit for unknown reasons, and if the local power grid is playing it fast and loose with the voltage and frequency (which I suspect they do).

Clicking the temperature/humidity data leads to a long term data page covering 2 years of data in varying resolution. The gap last fall was when the garage sensor failed and I was waiting for Aliexpress.

There are also long term trends for the server load and UPS but they have only been logging for a few days so there is not much to look at.

Clicking the map on the home page leads to a text file containing a summary of all incoming traffic to apache and ssh. The ssh server is on a high port number and doesn't see much traffic but occasionally a persistent bot will find it.

Everything but my landing page (this animation in p5.js https://old.reddit.com/r/cellular_automata/comments/1djwjbu/waves_processingorg/ with the text "Hey this isn't where I parked my car" overlayed) is behind basic auth or better and I have push notifications set up for every ssh login (even my own), in 5 years I have never had a successful login from an attacker, this is not an invitation, have mercy.

All the data is gathered with python scripts and stored in RoundRobinDatabases or, in the case of network data, digested down into a CSV. The climate sensors respond to requests on port 80 with the temperature and humidity separated by a comma to allow for easy polling. The map is generated by looking up the IPs' information on Shodan then plotting the location data if it was present.

Absolutely none of this is the ideal solution, there are existing projects that cover literally every aspect plus a dozen extra features I could never hope to implement. I wrote as much as I could from scratch just to see if I could, it's more fun to drive a shitty car that you built than one you bought from the dealer.

Aaaand I accidentally made the UPS database only 24hrs instead of the 10years I had intended. Lucky for me rrdtool has a function to expand an rrd without wiping out the data!

 

Got lucky with a clear night.

 

Using a vinyl cutter and mini-sand blaster I made some alternate universe corporate schwag! I like the idea that someone might have swiped these during an interview before both companies had their 'accidents.'

 

I got my hands on some really weird EL panels and did a little dive into how they work. I still have no idea where to get more but I think they may be DIY-able.

49
First Functional Print (www.thingiverse.com)
 

I was gifted an unused Ender 3 Pro two weeks ago and managed to model and print an adapter to connect Sony E-Mount cameras onto a 42mm dovetail used by microscopes.

Bed adhesion, leveling, stringing, clearance issues, blobs and permanently welded supports, I got to battle it all but thanks to the massive volume of community support I worked my way though.

 

I was given an Ender 3 Pro last week and after a few bumps managed to successfully CAD, slice and print a booster seat for my phone. The caddy as it was would grab the volume down button on my phone, this little wedge solves the issue!

 

I learned this week that many high speed CD-ROM drives used balancing balls on the spindle to stop discs from vibrating at 10Krpm.

Between the platter that supports the CD and the motor there is a puck with a toroidal void containing a few ball bearings. When an out of balance CD is spun up the spindle and disc together rotate around their common center of mass, some point between the spindle and the edge of the disk. This means that the void containing the balls no longer rotates around it's center, it spins like a hula-hoop around the spindle/DC center of mass. With the "lighter" side of the system being farther from the center of rotation the balls roll 'down hill' towards the side of the void that is experiencing more centrifugal force. Eventually enough balls will collect on the light side to perfectly cancel out the heavy side. If there are too many balls they will distribute themselves inside the void until they cancel out each other's weight!

The link leads to a scaled up demo of this using an empty water bottle and steel BBs.

32
Rain (lemmy.ca)
 

// Randomly spawn drops

// Take a random fraction of each cell move it down, or down and to the left or right

// The remainder of the fraction stays where it is

// Subtract a constant small value from all cells to prevent rain from accumulating

5
Rain (lemmy.ca)
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

// Randomly spawn drops

// Take a random fraction of each cell move it down, or down and to the left or right

// The remainder of the fraction stays where it is

// Subtract a constant small value from all cells to prevent rain from accumulating

 

I found a box of CD-Roms and floppy disks in my mum's basement and damnit, I want to play them! I could use emulators, DosBox or VMs but it's never quite the same as having the real thing, so between an eBay mobo and a box of old parts I managed to build my new gaming rig to cover 1990-2005.

Its running a P3 at 1GHz, 512MB of ram, and an ATI Xpert98 with 8MB of memory. As I didn't want to run an old IDE drive with a million hours on it, I tried an SATA-IDE adapter, it caused some issues during the install but that just felt like the standard Windows experience.

Though unpopular, I went with ME for 2 reasons, the first was Dos support, the second is that I went from W95 to ME as a kid, 98 wouldn't have felt the same. The install bricked twice with video drivers but I finally got it up and running with the default drivers and an 18" Samsung flat CRT (runs up to 1600x1200 at a nauseating 60hz).

So what were your favorite games from the 90's and early 2000s?

 

In the ruling, the judges argued the application could not be successful because of a new law, Rebuilding Ontario Place Act, 2023, that the government passed days after the court application was filed last November.

wow

 
view more: next ›