Ogeon

joined 1 year ago
[–] Ogeon@programming.dev 13 points 1 week ago

A relatively cheap PC with Factorio and you are set. You won't spend much on food either, so win-win.

[–] Ogeon@programming.dev 13 points 1 month ago (1 children)

Reject C, return to assembly. Structured programming is the true oppression our generation never talks about.

[–] Ogeon@programming.dev 5 points 3 months ago (1 children)

That's silly. Luckily, I don't think this was the same situation. This was at a university and they had classes with other languages. The beginner classes were split into two variants, where some students (mostly CS students) learned C, and other students (economy, etc.) learned Python. I suppose they figured it was more useful to them or something.

[–] Ogeon@programming.dev 19 points 3 months ago (4 children)

I was a teacher's assistant in beginner's programming at university for a bit. I expected them to learn C, which I knew enough of, but I got assigned to a group that learned Python instead. I had never used Python at the time. I ended up having to speed learn it while trying to teach it, to not be completely useless.

[–] Ogeon@programming.dev 4 points 4 months ago

Det är ändå redan för sent. Det är buskens hus nu.

[–] Ogeon@programming.dev 11 points 4 months ago

That's definitely part of "the deal" with MIT and Apache. The other end of it is that they shouldn't really expect to get anything more than what the authors are willing to give.

[–] Ogeon@programming.dev 1 points 4 months ago

Right, there may be too many unknowns involved. 🤔

[–] Ogeon@programming.dev 18 points 4 months ago (4 children)

Option<T> has a From<T> implementation that lets you write Option::from($file_path).map(|path| path.to_string()) to accept both cases in the same expression.

https://doc.rust-lang.org/std/option/enum.Option.html#impl-From%3CT%3E-for-Option%3CT%3E

[–] Ogeon@programming.dev 12 points 5 months ago

Zooming in? In this economy?!

[–] Ogeon@programming.dev 2 points 6 months ago

"Search prompt engineer"

 

The maintainer here! Feel free to ask questions. I know especially CAM16 can feel a bit abstract if you aren't in the loop, but I will try to answer what I can. I have tried my best to explain the concepts in the docs, but it can always be better.

 

Just to reiterate what the linked blog post mentions; this isn't a bug with Iced, specifically, but seemed to have been brought into light by having Iced 0.12.0 among the dependencies. Many variants of this bug has been reported to the Rust compiler repository and some seem to be fixed by the next trait resolver.

 

Hey, folks! Here's another update for Palette, the color crate I'm maintaining. Feel free to let me know if you have any questions or feedback! I will do my best to answer.

 

I suppose I should start posting updates here too. 😁

view more: next ›