« first day (2376 days earlier)      last day (1103 days later) » 

10:15 AM
One more vote on this one pl0x.
 
10:26 AM
Already voted :-)
Is CMake supposed to be such a painful experience? It's such a regular occurrence for packages to blow up whenever my package manager attempts to build something from source.
 
@Jason Sort of, yes.
At least for us, who are used to npm and Cargo, it's a painful mess indeed.
 
10:56 AM
and wait to play with configure ^^
 
@Jason In my C days I tried to avoid CMake, it's complicated and it's fragile. I used Scons and then later Tup for build automations, albeit that meant that I had to manually define the tricky bits of configuration options for each supported platform, that's something you usually got OOTB with CMake.
Yet, CMake I believe is the most feature rich and portable build automation tool out there..
 
It seems some of these configurations turn into giant contraptions :(
 
On what OS what exactly are you trying to build?
 
It's on arch, but obs-studio now has support for Wayland, so I was trying to upgrade it … yet I'm getting ffmpeg related errors as it attempts to build it.
 
Are you building a specific AUR package then?
(I assume the official community/obs-studio does not have the appropriate support for your setup then)
 
11:10 AM
@PeterVaro Yes! To be specific it's aur.archlinux.org/packages/obs-studio-git
 
@Jason Did you look at the first comment?
I'm not a huge fan of using untrusted builds from AUR
but that might be a solution you could look into
 
@PeterVaro Ha, me neither, that's why I was reluctant to do so.
 
Fair enough
 
…
[ 21%] Linking C shared library libobs.so
/usr/bin/ld: /usr/local/sbin/../lib/libavcodec.a(h264_cabac.o): warning: relocation against `ff_h264_cabac_tables' in read-only section `.text'
/usr/bin/ld: /usr/local/sbin/../lib/libswscale.a(swscale.o): relocation R_X86_64_PC32 against symbol `ff_M24A' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
I guess I'll look into recompiling ffmpeg
 
Should we close this Q ?
And you are absolutely right. process::Command does all I need. — ArekBulski 3 hours ago
 
11:15 AM
@Jason I'm not ascending down to the rabbit hole with you if you don't mind, but I'm pretty sure there's either a patched version or some comment to enable/disable some feature requirements during compilation. The very, very last thing would be to recompile a package such as ffmpeg myself.
@DenysSéguret I would turn your comment into an answer and wait for the OP to accept it if I were you.
 
@PeterVaro That's wise :-) I'll try to dig through the comments later on. Thanks so far!
 
11:46 AM
@PeterVaro Did it. But I'm sure shep would have found an original QA for closure ^^
(Is he fine ? Do you have news ?)
 
Fantabulous!
 
 
1 hour later…
1:07 PM
Does the answer seem related to the question here ? stackoverflow.com/a/67125789/263525
 
1:22 PM
Why do you think it does not?
 
OP asks why a syntax isn't possible. This user asks with an obvious case when it's possible.
Oh, I get it. They answer the title and didn't read the question itself
 
 
1 hour later…
2:35 PM
Yeah, I just got two badges for an answer I made more than 6 years ago
 
This guy seems incredibly short-sighted
This guy is trying to say that a language he doesn't know is bad because it doesn't have the same parenthesis rules than C ?
He sounds like a guy who's about to lose his relevance or job and goes full defensive
 
> I cannot view with less or vim. Therefore it looks not at all.
 
@DenysSéguret Which is relatable / understandable
 
There are some relevant objections in the thread, though (not in this message)
 
It is very hard to convince people to move away from C, when they spent decades of practicing it, rolling out tools for it, etc.
 
3:07 PM
@DenysSéguret like I said, I HATE talk to most old programmer
> And as one of those freaks I can tell
> you where exactly I would like you to go and what I would like you to do
> with implicit suggestions to start a browser when I need to read some
> in-tree documentation.
I could be mistaken but you seem angry. Perhaps it wouldn't be a bad idea to
read your own code of conduct, I don't think you need a browser for that either.
https://lkml.org/lkml/2021/4/16/25
 
@DenysSéguret You know, I'm happy that this discussion is happening, but I believe Linux is a very, very difficult target. It is not your traditional C anyway, they even do things differently than the vast majority of C programmers and they have different requirements as well.
 
I don't even see why old guys still able to be productive in C and not able to learn Rust would have to. There's probably enough to maintain for old people. But I've spent decades writing things that aren't relevant anymore and I don't feel so old that I want to freeze the whole world to keep those old things relevant.
 
@DenysSéguret well yes, I very open to talk about rust problem like ... abort on OOM :p
 
That being said, I would be very happy if Rust would make it into the kernel, but still, I believe this bite could be bigger than those guys could chew.
 
3:08 PM
@DenysSéguret but the doc is in html ! imagine HAVING TO OPEN FIREFOX
@PeterVaro linux kernel style format is SHIT
mailing list is SHIT
 
@Stargateur You don't even have to. The source comments are quite readable with some vim fu
 
@Stargateur by making such explicit and (pretended to be) objective statements, you do exactly the same thing as those guys.
You could say, they seem shit to you. They feel outdated to you. You don't like it. You wouldn't be productive in it. Etc.
 
@DenysSéguret I'm sure someone will do a "ascii" style output just to be able to say "Happy now ?"
 
And that would be fine.
 
@PeterVaro the difference is I'm right :p
 
3:11 PM
Naturally.
 
mailing list is very hard to follow/read
there is no markdown
 
/me wonders if this is a joke
 
I least in the link I receive the site show mail in raw
I'm used to github with link everywhere, nice feature to follow conversation
mailing list is really not nice to use for me
^ literally the whole linux kernel ecosystem
 
haha excellent
tu les trouves ou tous tes meme francophones
 
I'd be interested by an innovative rust-based new OS but you don't find geniuses with lot of free time everywhere everytime
 
3:15 PM
@PeterVaro if I have to list all the problem about the style code in the linux kernel I can no problem few: 8 space, all variable are always declared in the top
 
@DenysSéguret Fuchsia
 
innovative ?
 
its built with Rust mainly
what do you mean by innovative
 
@DenysSéguret that why introduce rust in linux kernel is a nice step IMO, make a kernel from scratch today is very hard
but there is one if you want redox-os.org
 
@Stargateur I know them
I don't know them (fuchsia, redox) well enough to talk shit about them. So I won't. But I'd like better.
 
3:18 PM
well Fuchsia is backed by Google
I dont know how you could wish for better
I dont think they put their interns on the project...
 
You mean they have the best committees on this design ?
 
@DenysSéguret I don't know much about the project and I wish them all good
 
I really can't reproach to linux maintainers to be cautious. They have to be cautious and conservative.
 
@DenysSéguret linus have so far answer perfectly, there is a different between, there is a problem with this cause insert here good reason and rent like "omg look parenthesis, look doc is in (perfect) html)
 
that one mail you linked to does look stupid. Objections in the rest of the thread aren't
 
3:21 PM
and I'm the one that totally agree with the problem of Rust std to have choice to abort on fail allocation
@DenysSéguret I didn't read everything and I'm sure there are good argument
 
Current allocator & allocation story does look primitive in Rust, yes
@Stargateur this and the answer
 
I really just can't understand WHY there decision to make an exception for oom error
I hate exception
general rule are far better
 
@Stargateur I used to think it would be really annoying to have to unwrap all that shit...
But I think you're right
 
There's a list of things that they'd like for Rust to have github.com/Rust-for-Linux/linux/issues/2
 
It was a mistake
 
3:24 PM
@DenysSéguret that a very constructive comment
@EnnMichael Everything, EVERYTHING I use in rust return error.
we have tool to handle it
snafu, ?
it's almost invisible now
the argument people say to me is "but what would you do in OOM" and the fuck, I stop the problem at almost ANY error, so with this logic why not make all error abort in all library ? why choice that specific error on allocation (not only OOM) will abort and not other error ? That BAD rust core team have make a big mistake
 
Yeah, there are plenty of other errors that you almost always unwrap, but they're still errors and not panics
Such as mutex poisoning
 
I never unwrap in prod code, I only except because sometime it SHOULD NOT fail
an error should not be unwrap if it can happen
 
Mutex poisoning?
 
just return it
 
Well
 
3:29 PM
mutex poissoning is a specific error
 
OOM is a specific error too
What are you saying
 
i'm talking about unrecovery error obviously
 
What
 
and so it's depend an what you do
 
4:01 PM
hackaday.com/2021/04/14/… <= have you tried turning it off and on again ?
 
4:54 PM
that's wild
 
 
2 hours later…
6:30 PM
I just answered a legit question by changing exactly one char
oops, not true, I've also added 2 other chars
 
@DenysSéguret you don't have to introduce a new lifetime paramter 'b if its not used. The offending 'a can just be removed
 
I'm not sure. And as I'm usually lost when I deal with both implicit and explicit lifetimes in declarations, I prefer not to try
 
7:27 PM
I hadn't seen this message: lkml.org/lkml/2021/4/14/1099
This looks perfectly raisonnable from Linus
But isn't rust in the kernel no_std ?
 
@Stargateur because who needs free 😂
 
@DenysSéguret lol
 
@DenysSéguret Linus says a lot of right things but he whould not be worshipped like a Guru
should*
 
8:26 PM
It's a fair point in general. Allocations definitely need to be handled gracefully in this context.
 
9:17 PM
rate my rasberry setup :p
yes the camera is floating I need to find a way
@DenysSéguret well no and yes, it would be nice to be able to use std collection for example...
also allocator of rust is in core anyway
that also a problem because most crate in rust use this and so will abort on allocation error
it's like GPL license, this contaminate everything :p
 
@Stargateur What does it do when it hits 88 miles per hour?
It looks like a serious setup. What are you running on it?
 
absolutely NOTHING
well there ware a script to get the temp but I break it :p
so the http is pointless now xd
I wanted to run a factorio server but there didn't make a build for arm....
cause "rasberry pi are too slow and don't have enough ram" yeah but not the 4B
 
9:39 PM
@Stargateur The hardware or software?
 
@Jason I switch from debian to archlinux and forget to save my crontab, so software
I never break hardware... sorry little ryzen 3600... I'm sorry
 
Oh, ouch
Out of interest, have you ever looked into NixOS @Stargateur?
 
@Jason yes never try it
 
Ah, okay. It looks quite interesting. I was told by someone that uses it that in their view it was not such a great fit for a workstation though, unfortunately.
 

« first day (2376 days earlier)      last day (1103 days later) »