« first day (3105 days earlier)      last day (1826 days later) » 

12:29 AM
@CaptainGiraffe I sort of miss being the age I was when I knew Heather. There are certainly some things that are better (some of them a lot better) now, but other things that were much better then. Certainly a lot less miscellaneous aches and pains as a teenager.
 
1:11 AM
Out of memory in c:\users\qt\work\qt\qtbase\include\qtcore\../../src/corelib/tools/qvector.h, line 564 new one
I replaced a QHBoxLayout , QGridLayout
 
1:35 AM
Basically, when I add the groupbox in code, it crashes Qt, but I bake it into the layout it doesn't crash. Might actually be a bug on their end.
 
 
4 hours later…
5:33 AM
An A.I. in robotics buddy emailed me and informed me that one of the attendees in a previous group meeting belonged to one of first hacker groups in Australia (to which Julian Assange belong). The first as in the first to get arrested, no the whole group, just some in that group.
Nowadays I am fringing around whole bunch of groups that I had never been exposed to before.
 
5:47 AM
~facepalm~
 
6:13 AM
Now with more rs232
 
 
1 hour later…
7:42 AM
Can one be charged for kidnapping a rescued animal?
 
It's not really kidnapping, more like property theft
 
But what if the rescued animal does not want to be kept by the person? Especially if they are wildlife and would like to remind free.
 
8:07 AM
well you asked for the law, most law treats pets and animals as property
in that aspect they treat that statement the same as "but his Roomba really wanted to be freed"
The argument to animal welfare would be legislated seperately and unless it was court-ordered that they release the animal. But IANAL that's just the logic that I see used in most judicial systems.
Although I guess it being wildlife might change whether or not there was any actual ownership.
But it probably still at least requires trespassing to do it, so I doubt you would be able to perform that act completely legally
 
 
5 hours later…
1:21 PM
I don't know what people are trying to achieve when they protest for climate change. Can human kind really cut down emission while the population is going up?
 
they can assuming they find other powersources than burning fossil fuels
 
Sam
https://stackoverflow.com/questions/55354184/lowering-iphone-screen-brightness-swift

Any help would be greatly appreciated. Thanks in advance.
 
@ratchetfreak Solar, wind, hydro or bio. Solar panel can't be easily recycled, which will create problems later on. Wind and hydro harvestings are inefficient and bio involves burning most of the times.
 
1:38 PM
but bio only burns stuff recently created, making it a zero-sum over the long term
while fossil fuels were created millions of years ago and are essentially stockpiled carbon that when burned creates tons of CO2
 
Fossil fuels has high energy content, that's exactly why machines use them.
 
which means we need some way of condensing energy efficiently
which I don't believe we actually have
 
Precisely.
 
is there any real research into that area though?
 
I think fossil fuels are like sugar, they have a lot of energy, but they will eventually rot your teeth. People are upset that alternatives are not subsidized in the same way as fossil fuels are.
 
1:53 PM
maybe people should do something then, instead of crying to the government
 
but the oil industry has a vested interest in blocking people that are trying to create alternatives
 
I also think it's a generational thing, old money vs new money. Fossil fuels are institutional and enjoy a lot of support it's also old industries.
 
it took a millionaire like Elon Musk to get electric cars into the mainstream
 
@ratchet sure, but if enough 'upset people' tried to do something about it, that wouldn't matter.
maybe because they're not actually very good yet, and shouldn't be on the market?
if you're burning fossil fuels to charge them, seems silly..
 
@ABuckau they are only not very good because no research went into them for several decades
 
1:58 PM
i mean...consolidating the fuel usage could make for gains in efficiency, but still..likely not how it's happening.
 
@ABuckau if my neighbor is burning trash in their backyard, you're dam right I'm going to charge him.
 
so by that logic in several decades they'll be awesome?
charge?
 
@ABuckau look at how cell phones evolved from massive bricks with external suitcase sized batteries to an almost general computing device today
 
@rick what is the problem with that? (humor me)
 
@ratchetfreak Not sure it's possible, possibly related to the entropy thing.
 
2:02 PM
@ABuckau because I don't want lung cancer and I don't want to live in a cesspool.
I would rather have clean water over the newest PlayStation
 
I can't even argue :p ..I agree. But I think there's a pretty deep issue inside that.
 
Still protesting will not solve the root problem.
 
nope. they should all stop driving cars and only shower once a week. that'll definitely help :s
 
Also they need to stop eating ice creams, not travelling and only eat vegetables.
 
:'( yep
but
 
2:11 PM
the protest is a symptom, not a solution. It's the canary in the coal mine. The few are getting richer on the backs of the many. But you only need to look at Russia and France to see the eventual outcome
 
I'm not so sure.
 
The tragedy of the commons is a human problem and it is part of human nature
 
I think protesting is a good idea. Taking personal resposibility should also be encouraged but at the scale of the problem policy needs to be involved as well.
 
unfortunately policy tends to be dictated by those who benefit from the status quo
 
Now protesting without specific demands can be weird sometimes, see how the protests after the economic crash turned out.
 
2:20 PM
policy is a nice word for force
 
Living in a society comes with a social contract, if you don't like it you can protest against it or you can go live in the woods
 
for now
and, social contract is..I can't think of the words - you are still sovereign.
 
there's always a social contract, regardless if you're living in a classical state or in an Anarchist commune
It's not a fixed thing, it gets negotiated and changes over time
 
sure, but felt like you were saying..you have to accept the tyranny of the majority.
which is actually true..I don't know what my point was : (
 
2:40 PM
@PeterT But what is it going to achieve?
Shut down coal mines? Discontinue petrol/diesel powered cars?
 
2:52 PM
That's why I said it can be weird without direct goals. So the government is free to choose what policies they like/benefit from. E.g. in Germany they could like you said set a schedule to abolish petrol/diesel cars in cities and the car lobbyists would move them to add a "buyback/wreck" program to incentivise people to buy cars again. Instead of improving public transport.
 
From my years experience, I know the most effective way to solve a problem is to find a direct way to solve it, at least trying to find a direct way to solve it. Protesting might help solving the issue to certain extend, like giving various people the incentives. But it will not directly solve the problem. This might sound very simple, but you will be surprised that how many people do not follow this principle.
I agree that it's a hard issue to solve. But instead of wasting your time complaining in a sinking ship, you could use that time to find a better solution before the ship completely sunk.
 
For some things you kind of need more than just individual action. Sure you could say to people protesting for civil rights or to end the vietnam war: "just do things in your life to change it". Like those issues I don't think climate change/pollution is just an individual problem.
 
3:08 PM
According to economics, a global solution would not work just because of more protests unless someone could come up with a very good solution.
In the social sciences, the free-rider problem occurs when those who benefit from resources, public goods, or services do not pay for them, which results in an underprovision of those goods or services. For example, a free-rider may frequently ask for available parking lots (public goods) from those who have already paid for them, in order to benefit from free parking. That is, the free-rider may use the parking even more than the others without paying a penny. The free-rider problem is the question of how to limit free riding and its negative effects in these situations. The free-rider problem...
 
I mean that's what embargos and trade-agreements are for. That's how the international community usually deals with preventing "undesirable but profitable" behavior like slavery. Still needs broad support, but you don't need everybody to be on board
I'm not saying that slavery and indentured servitude are a solved problem
 
@ratchetfreak his other projects are mostly shit though
 
 
4:18 PM
@TelKitty The problem is that the people protesting aren't the ones who choose solutions, so they are just doing what they can to get the people who can solve the problem to actually do so.
 
 
2 hours later…
6:37 PM
@fredoverflow I think I want to have a generic 'object' in Kotlin... I want to do something like object foo<E> { ... } but it seems like I can't do this...
 
isn't Kotlin just Java, so isn't "Object" just what you want
or does it have sensible generics without complete type-earsure
 
 
1 hour later…
7:46 PM
@PeterT it's Java done right :P
'object' is a keyword kinda like static
in this case, it's basically making a singleton called 'foo'
but it turns out you simply can't do generics with them
 
 
3 hours later…
10:22 PM
@thecoshman No such thing
 
10:41 PM
I wonder if there is way to make a function that will grab a private member using memcpy. Obviously, would cause issues if its not POD.
 
there are ways to grab private members of classes, perfectly legal in language lawyer terms
(it's still morally wrong, but, you know)
 
friends?
 
not friends
 
I can't tell if you're joking about genitalia or if I just don't know enough C++ :-(
 
something involving specialization of class templates when pointers to members are used as template parameters
fairly obscure
 
10:45 PM
48
A: Can I access private members from outside the class without using friends?

Johannes Schaub - litbI've added an entry to my blog (see below) that shows how it can be done. Here is an example on how you use it for the following class struct A { private: int member; }; Just declare a struct for it where you describe it and instantiate the implementation class used for robbery // tag used ...

 
yes, that one
 
@milleniumbug Is it a sign that I'm evil as soon as I saw you say that, I checked to see if I could edit it to point to the wrong place? :-)
 
@JerryCoffin that's quite evil, yeah
 
@milleniumbug One million dollars!
 

« first day (3105 days earlier)      last day (1826 days later) »