What was your earliest experiences with the Internet like?
🇨🇦 tunetardis @ tunetardis @lemmy.ca Posts 8Comments 627Joined 2 yr. ago
I guess my very first exposure was my brother letting me use his university account over dialup. You really had to know your way around in those days or know someone who did. He showed me how I could go to umich (U. of Michigan) and a few other places that ran public ftp servers full of games!
Then I landed a job at a small company which had accounts on CompuServe. Around this time at home, I was playing MUDs a lot on a free local BBS, and at some point, the people running the BBS decided to have a go at becoming the first commercial ISP in town. (They're still around, in fact!)
So I approached work about opening an Internet account, arguing that it was way cheaper than CompuServe. They reluctantly agreed. I was over the Moon but my superiors were not super impressed at first. They complained that they couldn't find anything while CompuServe was much better organized. I eventually found Yahoo which, at the time, had a sort of CompuServe-ish vibe of providing this directory that categorized most of the more popular sites by topic and that placated them. You have to remember this was long before search engines and even the www itself was still in its infancy.
I was having a blast, discovering something new every week. Usenet was so cool when I learned about that! And I found out about some sort of MIDI file format with embedded instrument samples you could play to get electronic music in a super compact format long before broadband made mp3s the way to go. What were they called again? Soundtrack files? Something like that. I played them all the time while I was coding.
Oh man, a showdown at the border: Tesla-Bot vs Mecha-Gosling!
After watching Yannick Bisson and Hélène Joy film a scene right next to my wife's workplace, we decided to binge Murdoch Mysteries. There are 18 season on CBC Gem! It's going to take awhile.
Yeah I agree. I came across the article as I like to read up on what's going on with BRICS countries as that seems like something worth keeping an eye on. But the lack of confirmation is troublesome. Even something like a giant trade deal with China that would give them some standing to call Trump's bluff would lend some credibility. It could be that this was threatened during negotiations and someone jumped the gun to say it's now policy? If I see any more about it one way or another, I will update the post.
That’s the point, when programming with immutable structures you always pass the mutability onto the enclosing structure.
I guess the point I was trying to make here was if the data type is already mutable, there is no point in sticking it in a list just so you can replace a reference with an identifier. You're just adding an extra level of indirection. But sure yeah, if the type is inherently immutable, you have to do something.
A list is an antipattern here IMO. Just wrap it in some dedicated object (see e.g. Java’s StringBuilder).
Interesting. I'm not aware of anything like StringBuilder
in the standard library for either Python or JavaScript. Looks like it wraps a list of characters and tries to behave as string-like as possible? You could presumably write your own class like that or download an implementation from someplace.
I guess in most cases in my own code, where I need a mutable string is usually as part of a larger data structure which is the thing that gets passed around by reference, so it's easy enough to replace a field within that.
For building up a string, I would tend to use an io.StringIO
in Python with file-writing calls, but those aren't meant for sharing. What you don't want to do is use the +=
operator a lot on strings. That gets expensive unless strings are mutable (like they are in say C++'s std::string
).
Reddit has said it is working to convince logged-out users to create accounts as logged-in users, which are more lucrative for its business.
wat
Well, but then you're basically just pushing the mutability onto the container, since you need to be able to replace elements within it.
It's a good strategy at times though. Like say you're working in a language where strings are immutable and you want a string you can change. You can wrap it in a list along the lines s=['foo']
and pass references to the list around instead. Then if you go s[0]='bar'
at some point, all the references will now see ['bar']
instead.
As others have pointed out, there is the issue of breaking references to objects.
There can also be a lot of memory thrashing if you have to keep reallocating and copying objects all the time. To some extent, that may be mitigated using an internment scheme for common values. In Python, for example, integers are immutable but they intern something like the first 100 or so iirc? But that doesn't work well for everything.
Any container you want to populate dynamically should probably be mutable to avoid O(N²) nastiness.
I think if there's a silver lining to the 100% tariffs on Chinese EVs in North America, it is that it will hasten adoption of ebikes, which imo solve more problems than EVs in any case.
His point that ebikes replace cars—not conventional bikes—tracks for me. Mine has basically replaced our second car and I use it, as he indicated most people do, for commutes and short errands.
His point that an ebike has an energy footprint comparable to a 4000 mpg ICEV is an incredible metric. I wonder where he pulled that from? I know that my ebike battery has 1/150th the capacity of what goes into a Tesla. Granted, I wouldn't expect a comparable range so there's a bit of apples to oranges there. But if you then work in that EVs are already much more energy efficient than ICEVs, I guess you could arrive at a number like 4000.
Whatever the case, my experience with ebikes is that they are pretty close to free transportation in terms of operating costs. There may be a few unexpected expenses beyond the initial sticker cost of the bike in terms of accessories (particularly high quality locks) and some winter gear if you're in a colder climate, but those are one-time purchases for the most part.
Yeah pretty much! They were in full dress with the red coats and boots and the wide brimmed hats and all that. No horses though. There was also a fair bit more security that day than usual with swat team-looking guys around the exits and stuff.
I remember attending a trade convention in Toronto where they were showcasing this block of pure gold around the size of a loaf of bread. It was surrounded by Mounties but they welcomed me to come forward and even asked if I wanted to try and lift it. My God that thing was heavy!!
Then as I was about to leave, they said "Hold on sir, show us your hands." I did and they said I was good to go. I asked what that was about and they said some people try to scrape a bit off under their fingernails as a souvenir since gold is one of the softer metals.
Why are Americans so litigious?
I had a chat with my American relatives at one point which began with me asking why it seems medical malpractice suits have such soaring high settlements compared to where I am in Canada? They explained it to me like this. Say a botched procedure leaves you requiring constant medical treatments for the rest of your life. You have to sue for any treatments you would otherwise have to pay out of pocket. Where you have a public healthcare system, the state would cover that. You may still sue for loss of employment if you are no longer able to work, say, but settlements tend to be orders of magnitude higher because of those additional costs. Unfortunately, this leads to a proliferation of bottom-feeding personal injury lawyers who try to get you to litigate and overstate your injuries to get bigger settlements.
How's this for an obscure reference? This reminded me of an episode of Max Headroom in which the wunderkind Bryce invented a robotic fly with a spycam that could be used to literally bug a room. They send it on a mission to uncover an evil plot and everyone is excitedly crowded around the screen and heaping praise on it. Then it manages to sneak into the evil lair where it promptly gets swatted, leaving Bryce shocked and devastated.
As a Canadian, my favourite thing about the American flag is there isn't a lot of room for a 51st star on there. It would break the symmetry.
As to our maple leaf, I've had mixed feelings about it. As a kid, I thought it was cute and friendly as national flags go. Then later, watching assholes in Dodge Rams with the flag whipping around next to their Fuck Trudeau stickers during that aggravatingly endless trucker rally left me less enthused. But now with Trump threatening annexation, I've rediscovered its beauty!
My daughter is a vet tech and says it's brutal right now. Cats brought in with H5N1 are immediately quarantined and many are fighting for their lives. She's pleading with owners to keep their cats indoors. She's a proponent of this in general but especially now.
I have boomer friends with 2 outdoor cats who live next to a swamp. They refuse to keep them in. We have an immunocompromised rescue at our place and I have to shower and wash my clothes every time after I visit them. It's aggravating.
We brought back a hamster for our daughter without realizing she was pregnant. After having a giant litter, we gave them all away…or at least we thought we did? A day or two later, I saw a wiggling in the shavings and out pops a head. Our eyes locked momentarily before she dived back down.
Definitely the runt of the litter. Had all sorts of paranoia and cowered under things for most of her life. She was maybe a year old when my daughter came running up. "Guys, you gotta see Hester!" We rushed over and there she was, hanging from the bars at the top of the cage and swinging arm-to-arm across.
We were so happy for her, finally getting past her inhibitions and leading her best hamster life. Then she was curled up dead the next morning.
$3.93 at the nearby No Frills. That converts to about $2.75 USD I think?
I just got back from a trip to California and the first thing I did was order a fried egg sandwich at the Sunset Grill. Oh man, that was sweet bliss! It's good to be home.
I think this happens irl a lot when you have 1st, 2nd, and 3rd gen immigrants trying to communicate with each other and this kind of hybrid speak comes out of that? I'm 2nd gen so it sort of comes naturally to me.
I know some people from northern Ontario who speak a kind of English/French hybrid and it's more than just in the family though. They speak it fluently with each other, so it seems to have taken on a life of its own? I tried to google for an example, and the first hit I got was this tiktoker and he's exactly what I'm talking about. People really do speak like this!
Ok yeah, here's a translation:
That's fabulous! My mother only spoke Japanese with me, but since she passed away, I feel I have forgotten a lot of vocabulary. Once in a while, I get chances to speak but there aren't a lot of Japanese around here so I'm pretty rusty at this point.
Oh yeah right! Mod files. I remember thinking when pdf came into being, it was to postscript like mod was to midi. A pdf is ps with fonts and whatever else embedded in it so that you could render it in a self-contained sort of way. The mod file was midi + samples to make them self-contained as well. I don't know how accurate that is, but that's how I pictured it in my head.