« first day (2436 days earlier)      last day (1038 days later) » 

8:49 AM
what a question
too bad it could be a good question if you change it a bit
 
9:35 AM
Well, sort of. I mean coming from a dynamically typed language and not knowing much about type systems (i.e. how to achieve dynamical behaviour in them) could be overwhelming, and might as well block you understanding and figuring out how to do things based on, say, serde_json's documentation.
If you think this is a common enough problem, then the question should be reinstated and answered
Otherwise, for me it is a matter of RTFM situation.
 
10:00 AM
Regarding this question:
0
Q: How to create new identifier without std

cptpoopooI'm in a #![no_std] environment and need to generate new functions based on a given name. The following code using procedural macros works, however it makes use of std. Is there any way to achieve the same without std? #[proc_macro] pub fn generate_func(input: TokenStream) -> TokenStream { le...

It's about compiling in no-std, right ?
 
op look confused
that not the first time I see someone mix compile time and runtime
look so basic for me
 
Compiling in no-std looks like a hard challenge
 
well, forget 99% of crates
 
@Stargateur Nah, that's quite a bit of a stretch. The last time I looked at lib.rs I was so surprised the amount of no-std crates. Yes, they are the minority, as they should be, but there are much more of them than I expected.
Besides, the main usage of no-std must be embedded, and with that I truly believe custom implementations which fit the specific bill of a specific platform. There's nothing wrong with lesser reusability / portability when it comes to this field IMO.
 
10:17 AM
@PeterVaro there is a lot of crate you know ? :p
 
@Stargateur It is surprising to me as well. Especially, since even dynamic languages, such as Ruby, Python or JavaScript have (optional) static checkers, which are happening at a different time than the execution of the program, and they are rather popular these days, so one would think even for people coming from these backgrounds the differentiation must be trivial.
@Stargateur Unfortunately if you ask me, because half of them are unmaintained, empty or not relevant anymore.
 
on 62 657 crates there is 359 tag with no-std that 0.5% :p
@PeterVaro chuuuuut
 
@Stargateur All right, all right, you proved your point. Mine was a hunch, not based on actual figures :sweat_smile:
 
no, I completly agree with you
 
When you build a simple thing, and you notice you don't use std, you may as well tag the crate no-std just in case. That was my reasoning at least.
 
10:31 AM
should be automatic if you ask me
compile should be able to see it or at least cargo could try to compile it without std
that could help all no std dev
 
I don't think the tag could be automatic. Or a minor change could become a breaking one.
 
But some crates require a few tweaks to support no-std.
This ought to be where most of the problems are.
 
@DenysSéguret just clearly say that unless manually specified it could change also, no std should always ping precise version
 
11:16 AM
funny to look this burn cause someone abusing of its power
 
11:28 AM
I had to laugh at this person that called it fleenode.
 
11:59 AM
we can't anymore code in peace
 
Someone tries to get banned
 
can't wait for linus to answer just "banned"
 
12:17 PM
@Stargateur These people are everywhere. It's as if there's something in the water.
 
@Jason or in the air. Did you notice the big white trails that some planes make ? Can you imagine what chemical poison the government is putting there hoping we won't notice ?
 
12:35 PM
@DenysSéguret It really is an awful rabbit hole.
 
A side problems is that any reasonable discussion about problems of vaccins, medications, sanitary measures, etc. becomes hard and (self-)censured. One day we'll ignore some important warnings about a real problem because we'll be too afraid to give arguments to the crazy deniers
My wife is egg allergic, which means she has to look for variants of vaccines which aren't grown on eggs (no problem with covid, there's none). But even trying to check for this information turns her into an antivax in the eyes of some practicians.
 
@DenysSéguret I did have raise some reserve about use a new techno on all the population, cause we don't have long term study, I get a ton of shit saying I was an antivax... despite the fact I get my vaccine as soon I had could...
it's very annoying to be a true neutral
 
@DenysSéguret Oh, sure it's not binary to me and there's room for criticism. I was somewhat hesitant at first due to it being a new technology, and the speed of trials, but I'm comfortable with it after having a (superficial) understanding of how the vaccine works.
 
1:03 PM
Why would a .gitignore file contain just * ?
 
@Stargateur I have not used freenode actively in the last year or so, I'm only following how the current events unfold themselves. What I don't get is what is Andrew Lee's motive? Why is he doing this? What is he trying to achieve? Is the current situation intentional or a massively backfired attempt to do something else?
 
@DenysSéguret I guess this avoid git add -A .
or maybe not
 
@PeterVaro The consensus among observers seems to be that he's a crazy drug addict and he can't overcome the delusions he had from this failed evil plan. Nobody seems to see a way for him to gain anything from this adventure
 
Me neither, hence I'm baffled. When they say "he's a crazy drug addict and he can't overcome the delusions he had from this failed evil plan", they're joking, right?
 
The resume is from me. But there are evidences of him being a crazy drug addict. But I won't dive into this trash again
 
1:18 PM
Odd, sounded like a fighter jet was flying at 500 m here.
 
@DenysSéguret Well, I guess we'll have to see where this thing goes.. or as Severus Snape put it "If we are to truly discover the meaning of these events, perhaps we should, for the time being, let them unfold."
 
2:14 PM
damm, want to try a game, installer is 27 go, installer "decompress" the thing in the C THEN install the game on D. Of course it doesn't use TMP environement variable of windows but create a ramdom name dir in home...
mean you need ~100 go to install this game and mandatory ~30 on C
useless compression make me mad
 
3:01 PM
@Stargateur Here, have a file.jpg.gz
 
@E_net4theflagger I'd much rather see a JPG of a GZ indeed..
 
@PeterVaro :)
 
I just tried to zip a few jpg files. Each one was reduced by several bytes, sometimes dozens of bytes
 
and I skip you the "I download the game to test it before buy it so the installer come in a zip file" XD
here the zip
 
image not found
 
3:04 PM
Did you try pasting a zip file ? A 27GB zip file ?
 
MMM seem discord have change their api so I can't use the image host by discord
or discord simply bug
damm forced to take a screen shot of a screenshot
 
Size
 
orite
So it's in an uncompressed zip?
 
 
4 hours later…
7:13 PM
posted on June 15, 2021 by Mark Rousskov

The 1.53.0 pre-release is ready for testing. The release is scheduled for this Thursday, June 17th. Release notes can be found here. You can try it out locally by running: RUSTUP_DIST_SERVER=https://dev-static.rust-lang.org rustup update stable The index is https://dev-static.rust-lang.org/dist/2021-06-15/index.html. You can leave feedback on the internals thread.

 
I'm really looking forward to nesting patterns!
From the listed example:
let x = Some(2u8);
// Before
matches!(x, Some(1) | Some(2));
// Now
matches!(x, Some(1 | 2));
 
7:58 PM
I don't like this macro
Well no, I don't like the clippy warning for this macro
damm I'm feeling like denys
but nesting patterns are nice
 
8:59 PM
@Stargateur That sounds good
 

« first day (2436 days earlier)      last day (1038 days later) »