« first day (4118 days earlier)      last day (1055 days later) » 

08:58
hi does anyone know if you = delete a certain c'tor will code for it also not be generated? as in some minor savings in memory? I have a codebase where the old guy had a bunch of "static" classes where he deleted the default c'tor, but also literally every other c'tor, which is pretty redundant in my eyes, however if deleting them has some savings in memory then it might be somewhat worth it.. thoughts?
nwp
nwp
It does not save any memory, it prevents the people from creating an instance of the class. That is the purpose.
I know that, but at the end of the day, the code is compiled to binary, do you think deleting a certain c'tor will actually prevent code from being generated?
a c'tor is just a function
nwp
nwp
The compiler/linker should remove unused functions, so there should be no difference in code generation.
I suppose. Thx.
 
4 hours later…
nwp
nwp
"Hackers mine monkey NFTs via Dark Souls exploit"
Why can't headlines be like that instead?
I mean best comment on an alternative outlet was "Talk about getting invaded!"
nwp
nwp
And again the developers go unpunished.
You know just as well as anyone else that it isn't just a developer calling all the shots. Blaming the developer is such a classic shitty manager move
well it was also an english speaking developer reporting it to a japanese speaking company
12:56
When you're being pressuring to release something before hammering out all the bugs, you're going to have bugs. Is it your fault? Not if you bring it up before releasing
nwp
nwp
By "developer" I meant the company responsible for the release, not necessarily the people who wrote the code.
At least hit them with a fine for "Endangering the public" or whatever you wanna call it.
I have no doubt that their license says that the software works without any warranty of any sorts etc
Legally, not possible.. Should it be possible? i think not. There are far worse damage software can do, like planes crashing or medical devices failing, and they go through a lot more rigorous testing (even if it sometimes fails).
my college roommate worked on that software for a vendor that shall not be named... it was almost all F77 code
in the worst possible way
Shitty code also uses up a bunch of resources like mining, should the developer also be fined for writing shitty code?
I think there's a difference between "resource wasting" and "leave in a RCE vulnerability"
13:13
I was arguing for a slippery slope
if your shitty code gets customers hacked and you knew about it... then GPDR says yes
The fact that From Software writes garbage code isn't new btw. This is the same company that couldn't be arsed to fix the 30FPS frame limiter they put on all the Souls games because they did crappy code on console.
13:45
An additional proof IMO that Boost is shit at documentation (at least):
It isn t explained anywhere what the difference is between an acceptor, socket and endpoint.
when looking around for explanation about this, multiple other seem to complain about the topic's unclarity as well
I think it's dependent on which library you're talking about, and the complexity. ASIO is far more complicated, than say boost::noncopyable
I simply dont get all the hype around Boost. It is just overhyped.
their xml/json parsing lib is shit as well
well, the documentation of it is shit
the json library you are using is probably property_tree.. newer versions of boost have a dedicated library just for json btw
yes I am using property tree for both xml and json
and property tree s doc is shit.
I remember having used a third library, dont remember exactly which one and came to exactly the same conclusion.
I think the biggest advantage of boost is not that it's the greatest library around code-wise, more that it's an all-in-one, and compiling it is much simpler as a result
There are more factors at play rather than just usability, another factor is "will it be maintained for a long time, or abandoned by the github dude who wrote it as a side project"
frankly speaking I d rather have a library with perfect and clear documentation that requires a bit of an effort to setup instead of the opposite, ie a library you can install in 1 minute but has shitty documentation
Show me this library you are speaking of that has clear documentation
Hey if Qt suits your needs, go for it. hides his scars
13:55
ok, and you go use Boost. hides dead bodies
Then again, I have never used the networking part, so I can't say for sure
Honestly I've stopped using boost if I can avoid it
it's a heavy dependency that has to be maintained
I only use the standard library and reinvent half of it anyway x)
nwp
nwp
@A.Smoliak I make medical software, but it's arguably the least critical type. If the medical software fails then the patient is surrounded by doctors who will save the patient immediately. If, say, train software fails making them crash into each other then you end up with a lot of injured people with no doctors around.
That said ISO 62304 does exist.
One would say a game crashing isn't that bad, no serious harm done, but remove code execution exploits actually do significant damage.
I hope it wasn't one of those games that demanded to be run as admin
14:08
Train and plane software by and large is supplementary based on my roommates description
if something goes wrong they just disengage to manual control or fail safe
nwp
nwp
So is the medical software we make.
There is also the whole "this is just a measurement device, it doesn't do any diagnostic" to dodge responsibility reduce scrutiny.
the assumption was always that they focus the hyper reliability on the core systems and everything else is just an assist of various levels
nwp
nwp
It turns out you can dodge the requirement for reliability by just telling people to buy 2 devices and test them before using them 🤡
pretty much
nwp
nwp
But I guess that doesn't really work for trains.
14:13
"This gear control mechanism is simply measuring how much should it control the gear mechanism"
nwp
nwp
Nah. It's things like "this device just measures the pressure of the front wheel. If you think that it tells you if you are standing on the ground or flying, well, that is your own doing."
Not a good example. There are better ways to tell such things. It works better in the medical area.
14:25
Don't be so hard on yourself, we're all just venting here
I m telling facts
nwp
nwp
But really, if you screw up peoples' computers with your software there should be consequences and putting "use at your own risk" in a prominent place really isn't sufficient.
Though it seems like most people would blame the one who found the exploit, not the company who published it as part of a game.
14:41
but what if free & open-source
Might not be OK, as the open source and/or free code has not been developed as per the appliccable standard(s)
Intel installed a hardware backdoor in every CPU that runs even if the computer is powered off and can bypass the TCP/IP stack of your OS
And they call it a "feature": Management Engine
nwp
nwp
Should have mined monkey NFTs instead.
Every computer expert should learn to hack hardware for the sack of liberty. ~_~
Time to be not an expert
nwp
nwp
14:56
Hack at it with an axe.
Grind the motherboard back into sand.
15:16
And go back to botany? :p
nwp
nwp
Rest peacefully, knowing that for at least this device you disabled all remote code execution vulnerabilities.
15:48
What is the root cause of cyber crime anyway? poverty?
people have money, other people want money
nwp
nwp
It depends on what you count as cyber crime. Sometimes it's just stupid teenagers who think they are clever and edgy.
a lot of it is organized crime though
they have money and pay salaries
also certain state actors have very blurred lines on that front
I wonder how job interviews go for those guys... "So are you EVIL enough for this job?"
nwp
nwp
Nah, you make sure of that beforehand. "You can't pay for the medication of your terminally ill mother, but we're willing to help you out. For a price."
And by the time she dies they have so much proof of you breaking the law that they don't need any more leverage.
 
3 hours later…
19:09
@Sehe is there something inefficient with using boost flyweight to pool strings?
 
1 hour later…
20:14

« first day (4118 days earlier)      last day (1055 days later) »