nik282000

joined 2 years ago
[–] [email protected] 1 points 17 hours ago (1 children)

All the addicts who didn't win.

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

The past few years the CBC has been leaning harder right but I think that they may have been trying to butter up the conservatives because of the, then, impending conservative win. There has been a lot of anti-electric car and anti-heat pump pieces in the past 2 years.

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

Canadian farmers are allowed to use antibiotics and hormones in food animals, and tap water is chlorinated and fluorinated...

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

Virtual Box is probably the easiest to get started but lately I have been using LXC containers because they are a very similar to VMs but with less overhead.

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

You missed my point, vegan meat products don't mimic meat, they mimic unhealthy crap that already does not taste like meat. Time and resources would be much better spent manufacturing and marketing traditional vegan foods (literally everything other than meat analog) it a way that makes them easy and appealing as an alternative to meat not as a 1:1 replacement.

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

No idea where you are in your trek, but if you can find the time learn how to use virtual machines (or use an old laptop) so you can test stuff without fear of breaking a machine you rely on.

When I want to use a new package or make a change to my setup I will do it in a virtual machine as many times as it takes until I get it right, then use my notes to do it on my daily driver. I went from a Windows only user to daily driving Linux in about a year thanks to keeping good notes.

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

Windows still hasn't decided what it's configuration windows should look like, there are still dialogs with the 30 year old W95 design language. I doubt that they were able to put together a seamless gaming UI over that past x months or years.

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

A crooked politician, in Canada?!?

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

Water is wet, management is parasitic, any other world shattering news this week?

[–] [email protected] 15 points 4 days ago (1 children)

any more than it already has

So many people I know get fuming mad at the idea of higher taxes because they think their income is going to be given to the poor. It's the same 'one good move away from being a millionaire' mentality that drives voters in red states.

 

Photo taken at 6:32UTC from Burlington Ontario with a 4" f/9.8 refractor.

 

Shot at 1500fps, playback at 30fps.

82
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

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.

 

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.

1
Rain (lemmy.ca)
submitted 9 months ago* (last edited 9 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 ›