Source?
Edit - found - https://www.reddit.com/r/ProgrammerHumor/comments/1ayuh4b/comment/krx0p8h/
I love that you took time to draw a blueprint. And of course, had to index it from 0.
You are right. I fixed it just now. That is an annoying "feature" of lemmy...
Coroutines / Generators - Resume with a value after a Yield?
Please let me know if this is possible...
I would like to be able to have a coroutine / generator yield
to resume with a value.
This is a simplified version of what I am looking for:
In this example, yield
would end up requesting from the parent, that it wants to read the next byte, and the parent would resume the coroutine with the next byte. (In this case, it's hardcoded to 54, but it can be any value.)
Yet it seems like Rust doesn't have the ability to resume a yield with a value.
Is there any way I can get this to work?
Online Channel F Emulator (From 1976)
Hey everyone,
I love building emulators, especially of older systems. The Fairchild Channel F was the first console to include a removable ROM. The function of reading from memory was handled by the PSU (Program Storage Unit) rather than the CPU, which made it unique among chipsets.
My emulator runs entirely online. No downloading required. It should work on all modern browsers, both on desktop and mobile. On desktop you can use the numpad keyboard, and mouse. Note that only the right joystick works. Not the left.
My emulator does not contain ROMs in it, but it will open any ROM you pass in as a link. Below is a demonstration of all of the videocarts:
- BIOS alone without any Videocart (Hockey and Tennis)
- Videocart 1 - Tic-Tac-Toe, etc
- Videocart 2 - Desert Fox, etc
- Videocart 3 - Video Blackjack - Just make sure to select Mode, then 3 to switch to single player mode with the right joystick.
- Videocart 4 - Spitfire
- Videocart 5 - Space War
- Videocart 6 - Math Quiz
- Videocart 7 - Math Quiz II
- Videocart 8 - Magic Numbers, etc
- Videocart 9 - Drag Race
- Videocart 10 - Maze
- Videocart 11 - Backgammon, etc
- Videocart 12 - Baseball - Not very playable because it requires two players.
- Videocart 13 - Robot War, etc
- Videocart 14 - Sonar Search
- Videocart 15 - Memory Match
- Videocart 16 - Dodge' It
- Videocart 17 - Pinball Challenge
- Videocart 18 - Hangman
- Videocart 19 - Checkers
- Videocart 20 - Video Whizball
- Videocart 21 - Bowling
- Videocart 22 - Slot Machine
- Videocart 23 - Galactic Space Wars
- Videocart 24 - Pro Football
- Videocart 25 - Casino Poker
- Videocart 26 - Alien Invasion
Wait, what do they think happened at Tienanmen Square then? And do they paint the wiki article about it as "fake news"?
Is there a crate to use cosmic's widgets?
The default Iced widgets feel a bit lacking. I want to see if cosmic's widgets have a bit more functionality, or if they are just a theme change.
Your dog looked like it had two teeth tearing into your flesh with blood. Had to zoom in to see it was a tongue.
That's part of the warranty. Make it a free lifetime warranty.
Need to buy that extended warranty...
Hospitals or healthcare insurance is so regulated?
you could go to a store, see a menu board and order an MRI with upfront pricing
Can you explain this? From what I understood, there is no upfront pricing because insurance companies are slow to provide a price. If there is no insurance company involved, then hospitals would be able to tell you the price.
Did you not have to pay a deposit for renting something?
This is why I bought/own my own modem and my own router, and I known that the modem doesn't come with an access point feature.
Can you get their modem to not be an access point? That is my biggest annoyance with modern modems you rent. They become access points which allow anyone to connect to their network.
Edit - I just realized you said buy a modem. I probably wouldn't buy one. They are too expensive. I'd want the separation of modem and router with just a rented modem.
The seller was male. It is hard for me to tell them I am uninterested in their product. If someone comes knocking on my door, I try to listen to what they have to say.
And I legitimately would have been interested in using Verizon, if I could separate the devices into two.
It might have ended up sounding like I was an asshole, but that was not my intention.
Annoyance with modern cars..
So, I would like my next car to be an electric car. However, I don't like some "modern conveniences" which most new cars seem to have.
Like automatic climate control... I don't want to set a temperature. I want to be able to just turn on the AC or heater. Yet every electric car I look at keeps including these things..
I wish there were modular cars...
My wife does watch lots anime! But she would never pay for it! Tons of websites online where you can watch anything for free.
I found this in a book of Soviet style humorous math riddles (translation inside)
![](https://lemmy.world/pictrs/image/791ebf2d-0160-453e-b395-dd9c2ddd0db9.jpeg?format=webp&thumbnail=128)
![](https://lemmy.world/pictrs/image/791ebf2d-0160-453e-b395-dd9c2ddd0db9.jpeg?format=webp)
"Disciplining his failing son, father uses up 2 pant belts on the son per year. How many belts does father use up during the eleven grades of education, taking into account that in fifth grade the son got left back twice?"
Interesting observation with dehumidification..
I experimented this between two rooms:
Open a door between a dry hot room and a slightly humid cold room.
Hot air moves from the dry hot room into the slightly humid cold room.
Somehow this causes the humidity in the hot dry room to become even drier.
Second minor credit card fraud in a month...
Last month, someone tried to use our credit card to pay for crunchroll online. Only about $1.50.. Seemed like someone was testing if the card could be used.. So we had to cancel the card and get a new card number. 1 month later, now the same thing happened. Crunchyroll for about $1.50 The things we used the credit card for over the past month were normal.. No clue how the fraudsters got the credit card number this quickly.
Dealt with a door to door Verizon salesman..
A Verizon sales guy just came to our house trying to sell his service. After listening to his shpeel, I started complaining to him about how Verizon forces you to combine the WiFi and modem together into one device. I don't like this because I want to have full control over what WiFi I have, with my own router.
At first he seemed confused. "We don't use WiFi. It's fiber!"
Next he started to sell it as a good thing "why worry about multiple devices when you could have just one?"
Finally he told me "ah you just want to waste my time", shook my hand, and left.