-
erica
especially since it works fine when it is not async :/
-
erica
and thus has no boxfuture
-
FreeFull
erica: I remember seeing this error in the past but I'm not sure what to do about it
-
FreeFull
Also, this IRC channel really isn't that active any more, maybe try the Discord server
-
FreeFull
The link is in the topic
-
erica
hm
-
erica
i know, irc is going offline in a few hours
-
june
long live IRC!
-
mk
;_;
-
FreeFull
RIP Mozilla IRC
-
FreeFull
It used to be so lively
-
Moongoodgirl
booooo discordapp.com.
-
Moongoodgirl
we've got an OFTC channel, a Freenode channel, and a Matrix channel
-
erica
can someone help me understand this lifetime match error? it does not happen when the fn is not async and thus does not require the box future:
play.rust-lang.org/?version=stable&…st=4274761d37140a5b6e4cd4a16925bf5a
-
erica
it even says type mismatch but then talks about lifetimes
-
Moongoodgirl
I still hold that this was a mistake.
-
Moongoodgirl
Rust should've moved to Matrix (like Mozilla!), not discordapp.com..
-
Lumpio-
mmmm closed platforms
-
Lumpio-
Perfect for an open project... wait
-
cjd
op, we're still here
-
cjd
-
june
Moongoodgirl: except rust moved way before mozilla even started considering alternatives
-
Moongoodgirl
june: Matrix was well-established before Rust moved to discordapp.com..
-
june
well-established in comparison to discord?
-
june
clearly all the gamers in rust were eager to jump ship to that awful platform
-
Moongoodgirl
/well-established/ does not imply /good/. I hadn't gone there yet. discordapp.com. was also well-established by that time, though it's pretty terrible.
-
cjd
Both platforms have their advantages and disadvantages
-
cjd
Matrix federates with IRC and it's open source
-
cjd
Discord works
-
Moongoodgirl
discordapp.com. is a single-centralized, closed-source platform that denies freedoms to users
-
Moongoodgirl
it is absolutely unsuitable for use by a FOSS project.
-
Moongoodgirl
I mean, has Rust forsaken its roots?
-
june
yes
-
Moongoodgirl
It started kind of as a /Mozilla/ thing.
-
Moongoodgirl
Wow. That's sad.
-
Moongoodgirl
Also, I don't believe you. :V
-
june
cjd: federates*
-
june
*: on a good day
-
Moongoodgirl
discordapp.com. is down every week, too, so that's not exactly an advantage
-
cjd
oh, that's sad
-
june
and I meant well-established. ask an average internet user if they've heard of discord and ask if they've heard of matrix (no, not the film)
-
cjd
they probably won't know about either one :D
-
Moongoodgirl
An average Internet user won't have heard of Rust (no, not the game) either.
-
june
if you ranked messaging platforms by how aware people are of them I'd bet matrix wouldn't even make top 7
-
Moongoodgirl
I guess that means we should pack up and go home, no need for any IM platform?
-
june
I'm not even confident it would rank above IRC
-
Moongoodgirl
attention everycreature!
-
Moongoodgirl
Most people haven't heard of Rust!
-
Moongoodgirl
That means that it's not suitable for general use!
-
june
ok but messaging platforms are not nearly as niche as programming languages
-
Moongoodgirl
we're done here, shut it down
-
june
also I have a counterpoint
-
june
Rust was mentioned in a superbowl commercial
-
june
it's mainstream now
-
june
everyone has heard of it
-
Moongoodgirl
Anyway, mere popularity isn't a good reason to choose something.
-
Moongoodgirl
actually, it's a pretty bad reason, on its own
-
june
I'm not saying it's a good reason, I'm saying it was (part of) the reason
-
Moongoodgirl
there are way more important things
-
june
network effects are always strong
-
erica
i am not sure what stackoverflow popularity means. it seems pointless when nobody really uses in terms of %
-
Moongoodgirl
/And./ Rust has never exactly gone the popular route.
-
Moongoodgirl
Ownership and borrowing, anycreature?
-
june
well why do you think rust moved to discord then?
-
june
I don't think they had any good reasons
-
june
it's popular and it works*
-
june
hey is anyone still bitter about the rust-lang.org redesign :P
-
Moongoodgirl
not really
-
Moongoodgirl
if you couldn't already tell, how something looks doesn't matter as much to me as other things :V
-
Moongoodgirl
(*: if /down every week/ can count as /works/)
-
Moongoodgirl
I've also heard creatures complaining about messages being delayed and duplicated on discordapp.com..
-
june
it's incredible what people will tolerate as long as you give them emoji reactions
-
Moongoodgirl
It's almost like it has the same issues as matrix.org..(!)
-
june
does matrix have emoji reactions?
-
Moongoodgirl
Which most of the rest of Matrix doesn't have (as far as I know)
-
june
somehow I don't know the answer
-
eijebong
june: It does
-
june
does their shitty IRC bridge turn those into TAGMSG if it can?
-
Moongoodgirl
what's the status of TAGMSG?
-
june
TAGMSG and related stuff is standardized, but +draft/reply is not
-
june
+draft/reply and +draft/react
-
june
I'm invested in IRC software so I'm bitter about people abandoning IRC instead of investing in making it better going forward
-
june
like look we could have emoji reactions if we all put in some work to modernize IRC clients!
-
cjd
IRC is unfortunately dead due to politics
-
june
lol what politics
-
cjd
IRCv3 was a flop, nobody agrees on anything
-
june
that's... not true at all?
-
cjd
centralized systems, for better or worse, can decide to adopt a change
-
cjd
lol
-
cjd
nobody agrees on anything -- that's... not true at all :D
-
june
there are a bunch of ratified ircv3 specs that are implemented by popular ircds
-
cjd
and freenode ?
-
june
freenode is shit
-
cjd
isn't it the biggest right now ?
-
june
it's not entirely refusing to implement ircv3 though
-
june
I think it might do better than mozilla irc even....
-
june
:cherryh.freenode.net CAP * LS :account-notify away-notify cap-notify chghost extended-join identify-msg multi-prefix sasl tls
-
june
:collins.mozilla.org CAP 381ACXSL7 LS :multi-prefix sasl userhost-in-names
-
june
LOL
-
cjd
-
cjd
Interesting Signal doesn't quote user count
-
june
wtf is ebuddy
-
june
literally never heard that before
-
erica
i tried fixing this all night but no luck, using no async function works fine, so i am really puzzled why there is a lifetime mismatch in a type error:
play.rust-lang.org/?version=stable&…st=4274761d37140a5b6e4cd4a16925bf5a
-
cjd
lol WeChat and Tencent QQ are in positions 1 and 4 and they're both the same company
-
» Moongoodgirl shakes her head.
-
Moongoodgirl
What a sorry state.
-
Moongoodgirl
We can and should do better, as a collective.
-
sgift
?
-
june
yes everyone should install my irc software
-
Moongoodgirl
erica: I fiddled with that for a bit earlier and couldn't figure it out :<
-
Moongoodgirl
erica: What are you trying to do? {~xy}
-
rustybot
The XY problem is asking about the solution you've attempted, when there may be a better approach to your problem if you explain it in full. More at
meta.stackexchange.com/a/66378
-
erica
Moongoodgirl: just storing an async function provided by the user
-
erica
with a set signature
-
erica
removing the async and boxfuture removes the problem... but ye.s.
-
Moongoodgirl
well, I managed to make it slightly simpler, but it still has the same error:
play.rust-lang.org/?version=stable&…st=e7ce3d69ca2e03a74c233c3f38fb4474
-
erica
Moongoodgirl: hm, i wish i would understand it in the first place :/
-
Moongoodgirl
yeah, I don't grok what's going on here, myself
-
erica
i cannot figure it out, if anyone has a tip on this lifetime mismatch, i would be very glad to know, the error is very tricky to understand for me:
play.rust-lang.org/?version=stable&…st=e7aa8880b623d75095b0f8fa5141da30
-
erica
it also works when i use values instead of references, but that defeats the purpose
-
Mutabah
well... first off you're requiring 'static for the future, instead of binding it to the function arguments
-
Mutabah
which is where the error is coming from
-
Mutabah
but then fixing that... not sure it's possible
-
Mutabah
erica: ^
-
erica
Mutabah: strange :( it would work fine if it was not async :/
-
» Mutabah is away (Work Trip)
-
Mutabah
Yes, becuase async
-
Mutabah
`async fn foo(&T)` is sugar for `fn foo<'a>(&'a T) -> impl Future<Output=()> + 'a`
-
erica
Mutabah: so there is no way to do this? i mean, there obviously should be? as seen, what the function does is feasible and verifiable by the compiler (see struct construction)
-
Mutabah
It should be, but it requires more complex bounds on the function
-
Mutabah
and I don't think that level of complexity can be encoded currently
-
erica
Mutabah: oh, hm. is there an rfc to look for maybe?
-
Mutabah
not that I'm aware of
-
Mutabah
maybe you'd have better luck on discord, or on Freenode ##rust
-
erica
oh, unfortunate, both services do not recognise my exotic email as okay, but that's another problem
-
john
hello
-
john
I got a proble
-
john
can anybody help me?
-
Mutabah
just ask
-
john
my first time to run the binary programe, but it wrong, something like this: error: aborting due to previous error error: could not compile `date`.
-
john
how to fix this?
-
Mutabah
There will be more to that error than jsut that, it will say why it failed to compile that crate
-
Mutabah
what are you trying to compile?
-
john
just print a string type in the screen
-
Mutabah
Is `date` the name of your crate, or is it a crate you've imported?
-
john
i didnt
-
john
but the I've been read the rust book, it tell me dont need to import some crate in my programe
-
Mutabah
can you proivide the full error message (from shell prompt to shell prompt) in a gist?
-
john
john@eml:~/date$ cargo run date
-
john
Compiling date v0.1.0 (/home/john/date)
-
john
error: linking with `cc` failed: exit code: 1
-
john
|
-
Mutabah
A feature I wish discord had
-
Mutabah
I did say "in a gist"
-
Mutabah
that seems to be a linking error, maybe you're missing a working gcc install? (rustc uses the system C compiler for linking)
-
john
i've already installed
-
Mutabah
We only saw the first four lines of your paste, becuase the server kicked you on the fifth
-
Mutabah
do you have the rest of the error?
-
john
no
-
Mutabah
well then, it's hard to help
-
Mutabah
(and unforturnately, I'm falling asleep and will have to sign off soon)
-
Mutabah
If you read the topic, you'll see that this server is sutting down soon, you might find other people online in the other chat locatins - discord or freenode
-
john
that's ok, thank you for help
-
O01eg
-
codebam_
hey, getting this error when installing tectonic using `cargo install tectonic` on 1.41.0
0x0.st/icpP.png
-
codebam_
-
june
it's still alive!