jcbritobr
0
21
jcbritobr

@mastodon.social

Computer science lover, digital artist and open sourcerer. 🖥️ 🐹 🦀 🐧 ⚛️

jcbritobr 12 points 4 years ago

@winnie snap is not so mature as flatpaks yet. Dont know if its really a nice descision.

path: 0 535113, hotness: undefined, score: 12, children: 10
jcbritobr 9 points 3 years ago

@ghariksforge @Gecko No one supports Win 10/11 telemetry and updates. And also, there are a huge rejection to win 11 from 10 users.

path: 0 954072 954612 955725 955775, hotness: undefined, score: 9, children: 0
jcbritobr 7 points 2 years ago

@larix @Ephera it's better to return an Option<&str> as a String may DeRef to &str.

For example

self.name.as_deref()

path: 0 9552250 9555696 9556132, hotness: undefined, score: 7, children: 3
jcbritobr 6 points 3 years ago path: 0 3402673, hotness: undefined, score: 6, children: 0
jcbritobr 4 points 3 years ago

@snaggen Cyber security problems seems to be a major issue to fix in this decade.

path: 0 3685732, hotness: undefined, score: 4, children: 1
jcbritobr 3 points 3 years ago

@onlinepersona Got this issue two days ago. Someone upload a package with same name of mine. I was need to change the name to also upload.

path: 0 4893190, hotness: undefined, score: 3, children: 1
jcbritobr 2 points 3 years ago path: 0 4888846 4896912 4898553, hotness: undefined, score: 2, children: 1
jcbritobr 2 points 2 years ago

@kaffiene @asdfasdfasdf Its slow when you dont know what youŕe doing. For example, build a linked list in #rustlang is different then build one in java, because you can´t leave the variables in a wrong state. It's only a different approach, not a slow approach.

path: 0 9692166 9699014 9704894 9708772 9718231 9718544, hotness: undefined, score: 2, children: 10
jcbritobr 2 points 3 years ago path: 0 4830013 4830097, hotness: undefined, score: 2, children: 0
jcbritobr 2 points 3 years ago

@onlinepersona @snaggen

people write oo code in linux source code using c. With rust is simple. Just use composition, and you can explore the traits, that serves as and is better than interfaces.

path: 0 4293714 4301174, hotness: undefined, score: 2, children: 2
jcbritobr 2 points 3 years ago path: 0 3685732 3685825, hotness: undefined, score: 2, children: 0
jcbritobr 1 point 2 years ago

@asdfasdfasdf @kaffiene As the friend above says, rust require some time and have a learning curve. Its very different, and thats why people gets strugling with the language. As you got proficience, it will save you hours of debug. I suffered with the learning curve also, but I needed to change the way I was think about how to program.

path: 0 9692166 9699014 9704894 9708772 9718231 9718544 9723810 9723907 9725339, hotness: undefined, score: 1, children: 1
jcbritobr 1 point 3 years ago
path: 0 4830013 4830088, hotness: undefined, score: 1, children: 0
jcbritobr 1 point 3 years ago
path: 0 5211561, hotness: undefined, score: 1, children: 0
jcbritobr 1 point 3 years ago

@iso In my opninion they are pretty neat, if you use their monads correctly.

path: 0 5511416, hotness: undefined, score: 1, children: 4
jcbritobr 1 point 3 years ago

@iso all the errors are the same. Missing trait implementations. Already see c++ template issue with dozens of lines. There are some tools that helps like the below. But if you had 100 missing traits implementations, you will got a 100 error lines report.
https://github.com/zkat/miette

path: 0 5511416 5511421 5511860, hotness: undefined, score: 1, children: 2
jcbritobr 1 point 2 years ago

@asdfasdfasdf @kaffiene I think build a linked list is the last stage of learning rust, because linked lists has circular references that can lead to memory leaks and other memory issues. Build one with rust is hard, because the compiler will not easy for you to make mistakes, but if you can write a linked list, you can write anything in rust. Try this book.

https://rust-unofficial.github.io/too-many-lists

path: 0 9692166 9699014 9704894 9708772 9718231 9718544 9723810 9723907 9725339 9725457, hotness: undefined, score: 1, children: 0
jcbritobr 1 point 3 years ago path: 0 987724 992054 997437, hotness: undefined, score: 1, children: 0
jcbritobr 0 points 3 years ago path: 0 5135792 5138405, hotness: undefined, score: 0, children: 1
jcbritobr 0 points 3 years ago

@onlinepersona @snaggen another problem I see people doing while writing rust, is trying to write code like java. Rust isn't an OO language, but you can organize your code and have hierarchies.

path: 0 4293714 4301174 4301764, hotness: undefined, score: 0, children: 1

thanks for using Leebra!

go to feed...