Very similar to mine. Although for me the ball was white and rolled right
I thought it was interesting I could only see the arm, probably because I wouldn’t be able to picture the full body
Very similar to mine. Although for me the ball was white and rolled right
I thought it was interesting I could only see the arm, probably because I wouldn’t be able to picture the full body
Something i didnt know for a long time (even though its mentioned in the book pretty sure) is that enum discriminants work like functions
#[derive(Debug, PartialEq, Eq)]
enum Foo {
Bar(i32),
}
let x: Vec<_> = [1, 2, 3]
.into_iter()
.map(Foo::Bar)
.collect();
assert_eq!(
x,
vec![Foo::Bar(1), Foo::Bar(2), Foo::Bar(3)]
);
Not too crazy but its something that blew my mind when i first saw it
I want to take a look at this https://github.com/w-okada/voice-changer which is apparently a realtime ai voice changer. My friend wants to cosplay a character on his live stream and have the voice match with the visuals. Plan is to try the pre-trained models (to see if its any good) then try to train the model on as much audio we can get 💀 lol
Arch is the only person who has been in my house for the last week and i have no clue how he is going about it and he has no clue how it is affecting him or how he feels and how it is affected me
Mine also starts off the exact same way?? I’m pressing the middle option
Women are not allowed in this world anymore because of their own personal preferences or the way their body and body is designed and made and made and they have no choice to make decisions
but right here it takes a different path:
that make it a choice to do it and that makes them a bad person to do so they have no right of way of life or the choice that is not their right of way and that they are entitled and have to choose their choice to choose what to choose to choose to live with that choice is a right that is theirs and it’s a choice and not yours
i’m tricking the nintendo switch into thinking my computer is a bluetooth pro controller. I’m using a crate called bluer which exposes bindings to the BlueZ stack and it’s been great to use.
I got to the point where it pairs the controller and hits B to exit. However it doesnt seem to accept any more button presses after that… :) So I have some ways to go.
I’ve also needed a project where I can challenge myself with the basics of async without it being overwhelming, and I think this hits the sweet spot. It’s my first time using tokio spawn, join, and select in a real project!
My reasons were more hardware related. When I was a bit younger my parents gave me a netbook which had 32 GB of storage, and Windows used almost all of it. I wanted to do creative projects in my free time, but I couldn’t install programs or save any of my work. I would often restart to clear log files and gain a bit more working storage, which was extremely annoying because it took like 5 mins for the computer to finally settle down and be usable.
I eventually got a 32GB flash drive which helped a lot, but it was not enough. With 4GB ram I could only have about 3 browser tabs open, and not all the programs I wanted could be run off the flash drive. It was still resource management hell.
Somehow, some way, I learned about Linux. I got a 128GB microSD, put Mint on it. It truly set me free. I could install the software I wanted, I could make the things I wanted to make, I could open more programs at once, and I could do it all without unbearable lag. I never looked back since.
If you’d like to learn how to speedrun a niche puzzle game, check this one out :)
I haven’t written all the tutorial posts I’ve wanted to yet, so stay tuned.
There’s some unexplored territory I haven’t explained for myself, like the connection to graph theory (i dont have any foundational knowledge for graph theory so maybe someone smarter than me can help ;) i figure it would help formalize some proofs)
Feel free to share your progress!
Yeah, thinking about it more, the similarities are kind of narrow.
You could make a better comparison with a regular crowd, but then it wouldn’t feel like much of a showerthought at that point because it’s just observing that the crowd has moved online.
Laugh tracks might be used to improve there ratings of a show, but with memes there’s not really a show and no one’s forcing a laugh
I think the essence of what I was thinking of though is that just like a regular crowd, an online crowd can still influence you to think something is funnier or better than you would alone (at least for me)
LMAO, yeah this one didnt seem to hit did it
fish. I think it has most things i want out of the box, so it should be simpler and snappier than my zsh setup. it’s just that zsh hasnt bothered me enough to try it yet.
also nushell, im interested in the idea of manipulating structured data instead of unstructured text
And make sure the time is synced to the cloud so they need internet connection, and so the player can’t be sneaky and reload the game to reset the timer if they pressed x too many times
I noticed it and placed a few pixels :D
Here’s one on the claw
You might be okay with this:
macro_rules! span {
($line:expr, $column:expr) => {
Span {
line: $line,
column: $column,
file_path: None,
}
};
($line:expr, $column:expr, $file_path:literal) => {
Span {
line: $line,
column: $column,
file_path: Some($file_path.to_string()),
}
};
($line:expr, $column:expr, $file_path:expr) => {
Span {
line: $line,
column: $column,
file_path: $file_path,
}
};
}
However, sometimes I don’t want to pass in the file path directly but through a variable that is Option<String>.
Essentially I took this to mean str
literals will be auto wrapped in Some
, but anything else is expected to be Option<String>
Another optimization:
More progress on the Finite Projective Plane (incidence matrix) generation from last week. There already exists an algorithm to generate boards of order p+1 where p is prime. It is stateless, so with CUDA we can generate huge boards in seconds since all you need is the x, y position and board size. 258x258 under 3s!
However, p+1 isn’t the only sequence. It seems by our observations that the fermat numbers also generate valid boards, using our “naïve” algorithm.
Unfortunately 3x3, 5x5, and 17x17 might not contain all the nuggets of generality to find a nice algorithm like the p+1, so we’re gonna generate the next up: 257x257. We’ve been improving the naïve algorithm since it is too slow. (The resulting image would be 65793x65793)
true
elements would be using row and column indexes. This is okay because of the constraint which limits how many true
elements can be in a row/column
slice::contains
, use slice::binary_search(...).is_ok()
Next steps:
Apparently generating “Finite Projective Planes”. For context on how I got here, I went camping with my family and brought the game Spot It. My brother was analyzing it and came up with the same type of pattern.
When we got home he made a python script to generate these boards, but it was quite slow, so he half joked asking me to rewrite it in Rust.
I kinda struggled a bit since I didn’t fully understand what it was doing. Near the end I even got a segfault using safe code😃! (i was spawning a thread with a large stack size, and allocating huge slices on its stack, rather than you know… boxing the slice Lol.) When I finally got it working, it ended up being in the ballpark of a 23x speedup. Not bad for changing the language choice!
There’s lots of room for improvement left for sure. The algorithm could benefit with some running statistics about cols/rows and the algorithm itself is quite naïve and could maybe be improved too :P
Looks to be in the works which makes me very happy. If you use nightly, make sure browser.tabs.groups.enabled in about:config is enabled
https://connect.mozilla.org/t5/ideas/native-tab-grouping-more-customizable-tab-bar/idc-p/72706/highlight/true#M39420