« first day (980 days earlier)      last day (2491 days later) » 

12:59 AM
Oh my... so simple change. I was assuming that all &str and Vec<&str> need to be of same lifetime and thus made it Vec<&'a str>. Did not expect this to be the cause of trouble. You do obviously have a trained eye - thank you so much, @Stargateur! — ERnsTL 1 min ago
I think I didn't understand the full OP question, not even the code but look I have "a trained eye" ! I write maybe two function in rust XD.
 
 
2 hours later…
3:30 AM
@Stargateur congratulations for having an analytical mind! ^_^
 
 
1 hour later…
4:59 AM
dam, I just want to joke about it, not to look snooty.
 
 
8 hours later…
1:02 PM
First time in this chat! hey guys! :)
Is there some kind of desktop application for these chat rooms? Or Browser Only?
 
@xetra11 Welcome! :)
@xetra11 Not that I know of... but you can enable desktop notification via the browser.
 
@xetra11 Greetings!
I'm afraid I don't know that one either...
But I've used the web application on both desktop and mobile without issues.
 
o/ @xetra11
 
1:49 PM
Sometimes I feel like I'm answering things that could have been resolved with proper rubberducking.
Pretty sure Shep feels the same.
 
@E_net4 we are the rubber ducks
 
@Shepmaster We're too proactive to be rubber ducks.
 
I need your opinion: so I want to write a Rust lib to do X. There is already exactly one Rust lib that does X. But all the code is pre-1.0. And X is not too complicated, so I can probably write the library in a few hours. Additionally, I want to match the interface of a type in std. Question now is: trying to fix/update the old crate or just create a new one?
 
@LukasKalbertodt That looks old and unmaintained. I'd say don't take unnecessary risks, those improvements might never hit the crate.
 
And of course, if the crate is used by others, I get all the fame :P
 
1:56 PM
Not a matter of fame, but of value. If you can do better, people will use that.
Although under different circumstances, I had to make that decision with dicom-rs. Before that, there was an incomplete piece of a project that I figured it couldn't go far. And it didn't, that repository is gone as we speak.
 
Well, I guess I write it anew then. It's more fun anyway :3
@Shepmaster Are you already answering the new one?
 
@LukasKalbertodt no. I don't think OP has defined what they really want
 
Mh yeah ok
 
I feel urged to downboat this one.
 
@LukasKalbertodt cause like... the program is compiled already at that point
 
2:03 PM
And now the OP is adding extra info in the comments, I'm so triggered. :[
 
I'm still trying to answer it, going behind your backs :>
 
@LukasKalbertodt go go go go go
@LukasKalbertodt don't get distracted by pings in chat
 
So it's either asking to find a library, or it's not Rust related...
probably both
 
@LukasKalbertodt did you see my note about not getting distracted?
@oli_obk-ker It does feel like it has to be an OS-specific call, eh?
 
@Shepmaster that, or a library abstracting it away across OSes
Also the question is wrong... the program will run in whatever mode it was compiled in, or not at all
I guess that's boolean
but not what they wanted
 
2:10 PM
You can run a 32-bit program on 64-bit platforms
 
true, but that means you first have to figure out how to compile a Rust program in 32 bit
 
heck, you can run 16-bit applications on 64-bit Windows, IIRC
 
@Shepmaster I thought that was removed?
too many ages old security issues
 
cargo build --target=i686-windows-pc
or whatever
@oli_obk-ker entirely possible; I don't follow that world too carefully
 
Meh, I don't like my answer. Should have listened to you and just not write anything :D
 
2:19 PM
@LukasKalbertodt More answers is better than no answers. Let the people decide how good it is. :>
 
@oli_obk-ker stackoverflow.com/a/2140781/155423 looks like it
my god. Trying to see how everyone else does this check is painful
80% of the answers are compile-time checks
> since they don't provide any information which would help me answer this question
haha
 
3:26 PM
Derp
 
4:13 PM
See all fade to cur.
 
4:40 PM
@E_net4 What. That's not even a sentence.
 
@Shepmaster It is.
O no
There we go.
 
5:13 PM
@E_net4 for next time: stackoverflow.com/q/32059370/155423
 
5:26 PM
@Shepmaster I also figured that there could be a dupe. But it felt easier to point towards the book.
 
5:45 PM
@E_net4 true. And worth adding the book to the answer
 
 
4 hours later…
9:45 PM
Relevant...
23
Q: Is my OS 32-bit or 64-bit?

tuskiomiSo, with all the challenges out, I'm surprised this one isn't here yet. It's not too important anymore, but occasionally somebody needs to know. Here is a simple golf: Taking no user input, tell me if the computer on which the code is ran is on a 64-bit operating system, or a 32-bit operating s...

 
10:20 PM
@Shepmaster And yet there is no "runtime portable" C version. :P
One of them uses the Win32 API.
 
11:16 PM
Spot on! And very helpful for those starting to learn the language. — alvits 2 mins ago
Takes the time to leave a comment, mentioning how good it is; doesn't upboat
 
11:30 PM
haha, their didn't even read the first pages of rust book :p
 
@Stargateur the commenter isn't the OP ;-)
 
oh fuck
 
@Stargateur And technically the first pages are about installing Rust ;-)
 
1.2 please ^^
 

« first day (980 days earlier)      last day (2491 days later) »