« first day (2983 days earlier)      last day (1972 days later) » 

12:53 AM
No clue. I stay far away.
Although in googling I know it helps to spell it UEFI
 
probably
I've done this stuff a few times this year, it look like the firmware/motherboard isn't detecting the file systems, although they appear to be correct...
 
sanity check: is the firmware up to date?
 
@EtiennedeMartel no reason why it can't be called .h :) gcc -x c++ really-header-only.h
A wild Danton appears!
 
user406009
Have you tried installing Debian or something?
 
Yeah, I just updated the bios
 
user406009
12:56 AM
Debian is usually better tested than Gentoo
 
user406009
Only crazy people run Gentoo :P
2
 
@sehe I'm always around (though saying that, I may not be for the holidays)
 
@Lalaland Yup. It's a right fold
@LucDanton I'm rarely around myself :|
 
Not a matter of distros. Basically, when I boot into the EFI shell I can't seem to see the partition I created.
There is supposed to be something like "fs0" from where you choose the boot loader...
but all I see are BLK devices
 
The way I deal with it when I have to enter BIOS I failed.
I have, on occasion had to, because, you know, breakage and software, but that's way too much
 
1:03 AM
I don't have the luxury of having somebody else (dev ops) do this for me.
If I need a bunch of GPU boxes setup, I have to do it myself.
 
@sehe I go through the firmware to swap systems to save me the trouble of learning how to setup multi UEFI
 
I guess that's the extent to which I've grappled with it. Multi UEFI, sounds like a good hobby for someone I dislike.
Note: I do like secureboot. And I'm willing to put up with lots to enjoy it. But I'm not enthusiastic to learn about how it all works like in the LILO/GRUB /GRUB2 days
 
Its normally not too hard, you basically use grub to detect all the system and you're done
 
Yeah. I guess that is actually what I do. No clue though. It "just works" :magic.jpg:
 
I'm going to install ubuntu, see if the mobo can detect it, then change up the boot loader, see if the os can detect that, then move onto gentoo.
 
1:09 AM
@Mikhail there are tentatively named options in the installer that I may try sometime
my previous board had a shortcut to go through a boot menu with F11 without having to go through the whole firmware, but my current one doesn't so I'll probably get tired of it at some point
@sehe does the 'willing to put up with lots' part include self-signing and such?
 
Not really. I might have to some time soon because our new workstations are complaining about unsigned DKMS packages
 
What exactly is your problem? Can you see the partition in the EFI firmware? If so, you should be able to grub-mkconfig -o /boot/grb/grub.cfg to which will detect the OSs (using probe)
my problem is that this particular mobo can't seem to see the partition
 
So what if you plug that file system somewhere else ... using a different OS maybe.
You know, use the 'technology triangulation' to confine the problem to a smaller part.
At least try it on a different machine with different settings.
If you run diagnose on the file system using windows or mac, what does diagnose tool say?
 
2:07 AM
This picture is so awesome, definitely my favourite picture of the year.
So the politician is speaking in the front, and at the back the staff is mopping the floor with a protester.
 
2:30 AM
Okay. I redid the install by having ubuntu format the drive for me.
Basically, this mobo requires that the EFI be on the first partition, which means its not compliant, and MSI can burn in hell.
 
 
1 hour later…
3:35 AM
Why do I have to provide privacy policy information when my apps do not collect personal information at all?
So the privacy policy in essence reads like this: this app does not collect personal info, but we are not sure about 3rd party services that this app uses.
 
4:19 AM
-5
Q: Can some please guide me through this weeks assignment, in C++ programming?

Brandi BlankenfeldI need some help with this week assignment I have gotten this week, I have been working on it for a while now, I just keep destroying it more and more. I would just like a walkthrough or you're on the right page. This is the assignment and the code I have I will attach. Espresso Yourself’s Coff...

/cc @Mysticial @milleniumbug
 
5:05 AM
oh no what is you doin
 
 
2 hours later…
6:36 AM
I spend half a day playing around with privacy policy templates. I finally understand the basic of it.
 
6:57 AM
 
7:07 AM
So, apparently AMDs secure virtualization technology is incompatible with the nvidia driver.
Anyways my gentoo box gpu box is now running, although a world rebuild with gcc 8 is going to take like 8 hour
Anyways, I am the greatest
 
 
5 hours later…
nwp
12:04 PM
@SephReed Have you seen .inl files? It's people separating files even more with no external requirement or build speed difference.
 
 
3 hours later…
2:36 PM
@nwp Thats a separate file though
Seph wants to write all the code in one file
 
 
5 hours later…
8:04 PM
Do you guys know of any tools for making css applicable to c++? I'm looking for something that I can pass a basic DOM tree to (a tree of objects with ids and class name identifiers), that will then take some css and tell me what sizes it things each of those should be. I'm not trying to have a full scale web thing, just the basics of positioning and sizing boxes.
------
Currently I'm hard coding a bunch Components, and I know how hellish it is when suddenly you decide to move something.
Oh, the basic dom tree bit is just to let the css part know which components contain the others.
 
8:17 PM
Qt Quick
 
Hmmm... this is neat, but it's missing most of the css features that make css so useful.
http://doc.qt.io/qt-5/stylesheet-reference.html#list-of-properties

`display: grid` and `display: flex`, in particular.

Thank you very much, but I'm going to keep looking. Right now this one is looking applicable:
https://ultralig.ht/
 
8:50 PM
Basically you want to scale components as you stretch the window? This is handled by literally every framework, even Qt Widgets. Heck, I think there is some way to do this in the WinAPI.
 
What's your experience with css? I don't want to seem patronizing by explaining something simple, but neither consider any of it common knowledge.
 
Freelance contracting work making websites with php in the late 2000s. It seems you are trying to center or scale some widget. You could probably do that in any gui framework.
 
9:06 PM
Ah. In the passed 3ish years, flex and grid display modes have come out, and they size and position a bit differently. The special thing they do is add a "left over space distribution property".

So if something has two items with width 10px are on a line with 30px, there will be 10px left over. And if the first item has flex:2 and the second flex:3, the first with get (2/(2+3) * 10px) = (2/5 of 10px) and the second with get 3/5 of 10px.

It makes it a lot easier to keep things looking good no matter what height or width you're dealing with.
 
Similar things are done with Qt's Widget's stretch parameter.
 
That's very good to hear. I suppose, at this point, it's just that I'd rather not learn a new way of doing things. But, should that make my life harder than learning the new thing, qt will be at the top of my list.

Thank you.
 
Zoe
9:41 PM
Would calling a pointer that's declared for a specific type (but initialized as 0) cause a segmentation fault? Kinda expected an exception. (tried googling, couldn't find anything. Probably missed a keyword, pretty new to C++ xd)
 
the type doesnt matter
dereferencing a nullptr is bad
 
Zoe
The compiler likely wouldn't accept calls to a method if the declared type of the pointer didn't have that method. Should've figured though. Thanks ^^
 
Youre mixing two things though
Dereferencing a nullptr is runtime problem
not having the right type on your pointer is a compile time problem
 
Zoe
10:33 PM
yeah. I'm just playing around with the language at the moment though. (basically trying to screw up as much as possible on purpose now to not do that when it actually matters). Pretty used to languages that throw exceptions when a variable is null rather than causing a segmentation fault. Just needed to find out whether or not that was a result of my code or if I somehow did something else wrong.
Now I know not to dereference nullptrs :D
 
11:10 PM
it doesn't cause a segmentation fault
it causes undefined behaviour
all sorts of really weird shit can happen if you do that- for instance, the compiler can optimise out code that de-references null, so you have code (e.g. security checks) that never get run but are written in the source- this was an actual security exploit in the Linux kernel
so really it's much, much worse than a segmentation fault
if you want exception checking use a smart pointer type that throws on null
 
Is there anywhere in the standard that assumes memory protection? Aka, C++ should be fine if the system doesn't have an MMU.
 

« first day (2983 days earlier)      last day (1972 days later) »