nik282000

joined 2 years ago
[–] nik282000@lemmy.ca 2 points 1 day ago

I have an Xbox 360 controller that has been awesome, takes AA batteries.

[–] nik282000@lemmy.ca 18 points 3 days ago (1 children)

He really is the president that america deserves.

[–] nik282000@lemmy.ca 2 points 3 days ago (1 children)

China does not want a strong Canada. A strong Canada might speak out about Taiwan and demand change before making trade deals. A strong Canada will look for more ethical but expensive trade partners in Europe.

The US wants Canada directly for resources, China wants a scared Canada who is willing to take any deal just to get some stability.

[–] nik282000@lemmy.ca 1 points 3 days ago (3 children)

Remember that whole thing where they interfered with elections and were policing expats from China? That never stopped.

[–] nik282000@lemmy.ca 3 points 3 days ago

I do around town but a 30km commute to a 12hr shift is not really viable.

[–] nik282000@lemmy.ca 1 points 3 days ago* (last edited 3 days ago) (3 children)

The US could conceivably do the same as I suspect China is doing, but the US government has to approach each manufacture and request or just take the data. Then they have to correlate it and so on. There was a recent writeup where someone found they could make themselves an admin (oops forgot to finish a sentence) on a US manufactures dealer network and use it to locate any vehicle sold since ~2015.

China has full access to any data collected by any business without red tape, and they are able to compel manufactures to include any feature they want.

Sure we can trade in raw materials and simple manufacturing but we need to stick to importing technology that was not designed by a country that has and will continue to be hostile to Canada.

[–] nik282000@lemmy.ca 3 points 4 days ago (4 children)

Europe, Japan, Korea. They have their own problems too but it's the USA and China that are actively threatening Canada.

[–] nik282000@lemmy.ca -1 points 4 days ago (50 children)

Copypasta:

We should be reducing our import of Chinese developed technology, “smart” devices, phones, and EVs in particular. Every Chinese business big enough to play at the global scale has the government in it’s power structure. They don’t necessarily dictate business decisions but every bit of data collected is by default accessible by the government.

Having a significant fraction of a country driving around in Chinese EVs gives an insane amount of information to the Chinese government for free. And it’s not just direct information either like the driver’s identity, with millions of cars on the road a lot can be inferred, like if the parking lots at military bases suddenly fill up on a Tuesday afternoon or traffic between a high value person’s home and an airport gets unusually slow.

Cars have cellular modems, they have wifi and bluetooth hardware, if a particular person’s device was identified, for example, at a political meeting then that person could be trivially tracked by the dozens of Chinese cars and “smart” devices that they pass in a day. The information could be smuggled home along with all the normal diagnostic, update and service info. It is not in our best interest to let the Chinese government track individuals, be it politicians, expats, or activists.

This could be done today by the our government, and it is to some extent, to identify, and locate, protesters and criminals by their mobile devices but it takes time and access to equipment and logs that the government does not always own. A competent adversary who owns millions of devices in your country can do in seconds what takes law enforcement weeks to accomplish via conventional means.

Remember that China was caught operating their own “police” force around the world not long ago, they will take advantage of any opportunity they are given to spy on other countries and gain political control.

China doesn’t plan for the next fiscal quarter they plan for the next quarter century, and Canada’s resources are in their sights.

[–] nik282000@lemmy.ca 12 points 4 days ago (1 children)

Random auditing of politicians and police. Any politician or police officer caught on their personal phone or otherwise wasting pubic funds should be reprimanded and fined.

If they have nothing to hide they have nothing to worry about.

[–] nik282000@lemmy.ca 5 points 5 days ago (1 children)

I would settle for a casual impalement as long as it is slow and televised.

 

I bought a Cetus X kit last October and an Air65 shortly after, since then I have flow about 1K packs and loved every one. Learning to fly smoothly and calmly was a huge challenge in the beginning so I am pretty satisfied with 45m/week of progress. This is the Air65 in my favorite park, though the Cetus X is a pretty good fit there as well.

 

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

 

Shot at 1500fps, playback at 30fps.

64
submitted 1 year ago* (last edited 1 year ago) by nik282000@lemmy.ca to c/selfhosted@lemmy.world
 

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.

 

// 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

2
Rain (lemmy.ca)
submitted 2 years ago* (last edited 2 years ago) by nik282000@lemmy.ca to c/generative@lemmy.ml
 

// 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

view more: next ›