« first day (2400 days earlier)      last day (1087 days later) » 

7:44 AM
Morning!
 
 
6 hours later…
1:53 PM
o/
 
2:04 PM
\o \o \o
Heck, an answer just a few minutes after the question was asked. Dupe check, pretty please! :(
 
@E_net4thejanitor I don't think so, but I also don't think the answer is correct.
 
You mean that it doesn't work for every case, right.
I, for one, am surprised to see downvotes comin' in fast today.
(positively surprised)
 
well, you get that when you joint tag c and rust
but the others are surprising
 
@Shepmaster henlo ô/
 
2:20 PM
@LukasKalbertodt If it isn't Mr. I-Cant-Finish-The-Array-By-Value-Iterator
 
@Shepmaster :D
Suddenly everyone got involved and came up with a good solution
 
@LukasKalbertodt what have you been up to these days?
 
@Shepmaster Nothing too special. Working. Trying to stay positive during the last months of social isolation. Just the usual :P
I got vacation this week, so I'm trying to push out a couple of my hobby project
And what happened here? What have you been up to?
 
@LukasKalbertodt Hanging out in chat is a good way to waste a vacation (ask me how I know) :-)
 
@Shepmaster hOw dO YoU KnOw?!
But ok, I guess I shouldn't hang out here too much then :)
 
2:30 PM
Aw Shep, so you're pushing people away from chat now? :)
 
Man
I was just about to say that I want Lukas to hang out
 
@E_net4thejanitor henlo to you too!
 
I heard GATs have gotten pretty far!
 
Just pointing out it's not always the most efficient use of time :-)
 
2:30 PM
Will try them out this week
@Shepmaster I guess I was aware of that ^_^ But I guess life is not about that. shrug.
By the way, any gut feelings about my question? Intended behavior?
 
@LukasKalbertodt ah ha, that's why you are in here
trying to pump us for information
 
Noooo :(
Just to hang out!
But yeah, I figured you might have some thoughts that are inappropriate for a comment or answer :P
 
posted on May 10, 2021 by Felix Klock, Mark Rousskov

The Rust team has prepared a new release, 1.52.1, working around a bug in incremental compilation which was made into a compiler error in 1.52.0. We recommend all Rust users, including those currently using stable versions prior to 1.52.0, upgrade to 1.52.1 or disable incremental compilation. Guidance on how to do so is available below. If you have a previous version of Rust installed via rust

 
There it goes
 
2:53 PM
eek
 
3:06 PM
Hah, vacation this week? Nice. I depart thursday and am gone all through next week. Taking advantage of being vaxxed to drag the wife to a family weeding and whirlwind road trip.
Have to agree with Shep here - while we'd love you to hang out here, it's an easy way to eat up a vacation.
 
I wanna be vaxxed as well °_° gimmi
 
I would if I could -_-
 
Europeans lose! They get nothing! Good day sir!
:(
 
soon (TM)
 
OK, to be fair, it's not like we have nothing, but there sure is a strict prioritization policy.
 
3:11 PM
How is vaccination progressing in Portugal?
And dunno where @Zarenor is from?
 
I'm in the US
 
ah I see.
 
Yeah. It's become pretty easy for anyone who wants the vaccine to get one here, but getting everyone to want one is proving challenging. And that's to say nothing of the problem getting it distributed outside the US.
I wish we'd step up more there, but I'm afraid the US has lost it's appetite for being a leader. We're retreating to the old 'isolationist bully' role from the turn of the last century. I hate to see it.
 
@LukasKalbertodt Going well, a bit above early estimates, but a fairly long way to go. We've recently reached the 1 million fully vaccinated people, a bit over 10% of the population.
 
Aaaaand I think that's all the politics for me today.
 
3:17 PM
But for now it's still restricted to, IIRC, elderly folk, health professionals, and teachers.
 
@E_net4thejanitor Wow, very nice! I expect that Germany reached 10% fully vaccinated people today, or will reach tomorrow.
@Zarenor Yeah, I would have lots to say regarding politics. But leaving that aside, it's at least nice for US citizens to be able to get vaccinated quickly.
Germany has a fancy website to track the vaccination progress at least: https://impfdashboard.de/
One of the very few things they got right during this whole time.
Mh okay, only available in German. Bummer.
 
@LukasKalbertodt Heh. I'd be very interested to talk sometime, if you're interested. But here it's quite off topic, and I need to focus on work for now. I am at least glad we managed to get the vaccine accelerated.
 
@Zarenor Sure thing. And well, I remember quite lengthy totally off topic discussions in this chat room :D
 
@LukasKalbertodt Hahahah, fair enough :D
 
@LukasKalbertodt Looks nice. Feel free to compare. :) covid19.min-saude.pt/ponto-de-situacao-atual-em-portugal
Off-topicness? This is about fearless vaccination.
 
3:23 PM
@LukasKalbertodt it does look nice, and I can read a bit (took German in middle school and college, but not seriously, and it's been years), but unfortunately, nearly all the content isn't accessible to google translate
Haha. A fourth freedom?
 
@E_net4thejanitor Close to the metal. In fact, the metal is even inside of you.
@E_net4thejanitor Interesting. Very cool. Unfortunately, I cannot get Google translate to translate the actual "widget" stuff
 
@LukasKalbertodt Safety.
Yeah, the website is a bit broken in that regard.
 
@Zarenor Oh wow that sucks. I had hoped google translate works fine. Meh.
We enter the age of Covid-vaccination-progress-dashboard-based-patriotism
 
The topbar and the bottom bar worked, but some issue in the script generating it meant it never loaded if I did whole-page translation. Maybe in chrome (where it'd be from the browser?), or if I copy+pasted I'd get results.
 
Does the US have something like this as well?
 
3:28 PM
I'm aware of a few regional organizations, and some private aggregation... let me see if I can find something at the federal level
This looks like the most similar dashboard:
https://protect-public.hhs.gov/
 
@E_net4thejanitor Now that I actually tried "reading" some of that text: I do understand a surprising amount. Lots of shared word stems with English I guess?
And I guess the colors help too
ACTIVOS, CONFIRMADOS, Vacinas administradas
 
And here's for Georgia, the state I'm in. A bit flashier, but both are pretty clunky, I think.
https://dph.georgia.gov/covid-19-daily-status-report
 
@LukasKalbertodt Those are likely shared etymological roots.
 
@Zarenor Nice nice!
 
3:45 PM
Happy Mondays!
 
4:06 PM
[cargo-make] INFO - Execute Command: "pwd"
[cargo-make] ERROR - Error while executing command, error: Os {
    code: 2,
    kind: NotFound,
    message: "The system cannot find the file specified.",
}
I'm trying to use cargo make to run an npm script before compilation to ember the resulting bundles in the executable.
While trying to cd into the correct directory to run the npm script, I got this system can't find file a lot, so I tried various commands and it seems they all give this.
I'm not quite sure what happens, is it possible the cargo make shell not see the system's path environment?
I've consulted this page to try and find some information about the working directory as well as using commands, but I don't seem to find similar situations sagiegurari.github.io/cargo-make
 
 
1 hour later…
5:28 PM
@FélixGagnon-Grenier are you on Windows?
 
That explains it -- on Windows, pwd isn't actually a command, it's a shell builtin.
 
I've twiddled with trying to set PATH= "${PATH}" in the [env] section of the makefile, but it did not seem to work
oh
I am unaware of the differences between what command and shell builtin means here, I believe
 
4
Q: What is the reason for "X is not recognized as an internal or external command, operable program or batch file"?

Hashim AzizI have a one-line snippet that works perfectly in the command line, but fails and throws up errors when I run it as part of a batch script. The below commands behaves as expected, deleting all empty subfolders in the folder. for /f "delims=" %d in ('dir /s /b /ad ^| sort /r') do rd "%d" Howev...

 
5:31 PM
So I'm guessing you are using powershell
 
yes, however the cli used to run the cargo make command is the one inside clion, which looks like the normal terminal
I've tried running it from powershell as well in the early stages of trying this, and I think there were no observable differences in behaviour
@Shepmaster wow, that was indeed the problem, thank you very much!
I think I can use cargo-make aliases and conditions to make the commands run behind "cmd.exe" on windows only :)
 
@FélixGagnon-Grenier why would you use those commands instead of setting the current directory via Rust?
 
@Shepmaster I'm not sure I understand the suggestion. I would like the npm command to be run before the executable actually runs, so that compilation can inject the resulting minified bundle inside the executable.
Like, at the moment Rust code actually executes, the executable would be on a different machine than where the javascript code lives
Or, are you saying that it would be possible to create a simple rust executable, build that one in cargo make pre-build tasks, run it to create the bundle, then continue with the "main" compilation?
 
6:05 PM
> A task is a command, script, rust code or other sub tasks to execute.
whistles innocently
... I even distinctly remember reading the rust examples in cargo make doc. Well, probably more like looking at rather than reading, it appears...
 
 
1 hour later…
7:20 PM
anyhow vs. snafu
Fight!
 
They're not on the same ring
 
Fair enough
They both make error handling easier
anyhow is super convenient, snafu is more performant
It how it seems to me
Because anyhow allocates and snafu doesn't
Don't really see another difference
 
anyhow is java, snafu is rust
 
No, they're both written in and for Rust
 
7:25 PM
you kind of miss my point
 
Intentionally so
 
Anyhow is kind of cool too, and it's not exception level, when you want a small app. It's just not usable in libs.
And I've already regretted at least once to have used anyhow because it makes complex error handling harder to go into
 
@DenysSéguret Have you used this? github.com/dtolnay/thiserror
 
Yes, many times
 
I'll just use that and not use anyhow. Seems good enough.
 
7:33 PM
Comparing it to snafu seems fair. But I'm not really competent in error handling.
 
SNAFU 0.7 is planned to have capabilities similar to anyhow
plus the existing thiserror++ capabilities
 
7:49 PM
Did the StackOverflow font-family change or did I do something to my Linux install again?
 
150
Q: We are switching to system fonts on May 10, 2021

Aaron ShekeyUpdate - These changes are now live! TL;DR We’re shipping system fonts as our default font stack. We plan to do this on May 10th, 2021. What? We’re planning on specifying system fonts on Stack Overflow and the Stack Exchange Network. On macOS and iOS, you’ll see things set in San Francisco. On Wi...

sidebar is yer friend
 
Thanks! I missed that.
 

« first day (2400 days earlier)      last day (1087 days later) »