« first day (2824 days earlier)      last day (2129 days later) » 

1:19 AM
@ABuckau What am I looking at? Small black bear? Is it a baby or dwarfed by those gigantic bins?
 
@TelKitty my truck, bottom left corner.
And yes a black bear, not sure of age; they don't get very large. I think definitely at least 2 years old: basically full size (?).
Very large is a relative term: compared to a Kodiak Grizzly or Polar, its a spec.
 
<3 bear & garbage
 
1:49 AM
Some people's garbage are other bears treasure.
@ABuckau do you see those bears often?
 
2:06 AM
Very. I live in coastal town with lots of salmon.
Not many salmon yet, about 2 more weeks. But the bears are ready. That same day I saw a grizzly run across the highway.
If you Google "Valdez, Alaska bears" I'm sure you'll find a lot of photos...people wait hours with large cameras set up.
 
2:38 AM
Also whats wrong with C++ developer experience compared to other programing languages? MSVC+ReSharper
 
3:14 AM
0
Q: Lifecycle of object and multithreading

Oleg KuzenkoWe are passing the object to another thread. It suppose to be deleted when oops2 () function is out of scope. How is it possible that after deleting data object we do not have crash in another thread and another thread is successfully working with that object? class Data { public: Data(int v...

^Interesting question because in the single threaded case (invoked directly) causes the expected fault
 
3:45 AM
@Mikhail what do you mean 'wrong with'?
Development speed? I think small/medium businesses would prefer development speed/cost being smaller, rather than a more efficient program. Not that c++ can't be developed as fast as .net applications for example , but in general I would assume so. But your specicif question, I don't see why 'experience' would be bad: there must be more to the question.
 
4:35 AM
@ABuckau So if I come to Valdez & camp next to gigantic dumpsters in summer I will see a lot of bears?
 
5:09 AM
Just one.
 
lone bear :'(
 
 
2 hours later…
7:03 AM
@Mikhail Includes are really clunky compared to just using a thing and then autoinserting a using/nuget package/etc, build times take forever, intellisense of poor quality, managing headers is just really annoying and pointless
unit tests suck tremendously
the Standard library is really poor compared to the BCL as well
and some missing language features like reflection makea lot of things harder than they should be
 
7:57 AM
Don't worry, reflection will most likely be standardized in a way that makes it hard to use too
 
I've only skimmed it myself to be honest.
But I do tend to read parts of it when I need to :)
 
Ven
8:37 AM
helo
 
8:59 AM
Hi
I am getting parse error in below snippet I've placed in header file
scs_status_t scs_core_create_http_headers(const oef_u8_t *url_path,
const oef_u8_t *msg,
scs_core_vendor_info_t *vendor_info,
oef_u8_t **content_header_val,
oef_u8_t **md5_header_val,
oef_u8_t **time_stamp_header_val,
oef_u8_t **auth_header_val);
 
pbn
Hey I was wondering how often do you search for old questions to answer on SO compared to just watching new question?
 
Never
 
Jamais.
 
Can anybody pls help
I've pinged my issue above
 
Ven
9:14 AM
@cbinder see the C++ Q&A channel
 
@Ven sure..tx
 
 
4 hours later…
1:24 PM
Next time, feel free to just edit the question instead of posting it again. We can undupe vote if required. Personally, I don't see how adding "and that's how this question is different" explains anything at all. So it's still a duplicate. The ONLY step you're having difficulty with is with creating the iostream that uses the asio::ssl::stream<asio::ip::tcp::socket> instead of asio::ip::tcp::socket. — sehe 35 secs ago
 
Ven
oh lol it's Cynede
 
You know him/her?
 
Ven
I do, as a matter of fact. They're a Gentoo fan, and a Idris dev at times.
 
@pbn Once a quarter. But then again, I've been monitoring (and related) for years, so there's really nothing I've not seen before.
@Ven Those are good things. Also, sounds like a rightfold clone
 
Ven
I also contributed to their Bikini project, which disappeared it seems.
@sehe Somewhat, yeah. But more F# than Haskell.
I remember their Bikini project.
 
1:32 PM
Seems reasonably competent and with a delightfully bad taste :) I'm positive about this
 
Ven
Yet another nice and boring, I suppose.
 
Surprised this did not earn OP's +1 So here you go. I'll read this more closely later. — sehe 9 secs ago
 
Ven
Catchup on June's boost, huh?
 
Nah. Just found 11 "faved" notifications.
 
1:49 PM
Lol people think patents are about stopping trade secrets in exchange for a monopoly
they clearly haven't read a patent before
 
nwp
It's not so much that that's what people think, it's just that that is the declared goal of patents.
It's like saying "Lol people think farming is to gain food. They clearly have not seen a drought".
 
@nwp I don't care what the declared goal is, I care what the practical outcome is. The practical outcome is broad monopolies
 
2:27 PM
More like oligopolies, patents never stopped Samsung or government protected Chinese manufacturers. It makes entry for little guys harder.
On the other hand, from personal experience, patents drive innovation. I can't build the instruments that work because our PI doesn't own the patents, so instead we've been trying for over a decade to get some wacky stuff to work.
On the other hand, I can't build anything during my free time because my fucking employer would fucking own the fucking patents
 
nwp
That isn't so simple either.
The employer only owns what they paid for. They did not pay for your free time (probably) so they don't automatically own the result.
 
They own it if its on the same subject as your work
 
nwp
I'm fairly sure the law disagrees.
I would also expect the burden of proof to be on the employer.
 
@nwp The law says it doesn't matter because of contracts signed with the employer and forced arbitration which means it would never see a court of law anyway.
 
Your right on the last one. If you don't get sued you're fine. Problem was that the VCs/dude that was going to give me money told me to wait because of the patent situation.
 
2:36 PM
The 7th amendment is dead
 
Or in today's lingo, the 7th Ammendment isn't "webscale"
 
nwp
@Mgetz I guess if you signed a contract that specifies that inventions made in your free time are automatically owned by your employer then that might be valid. If you are in not-USA there is a chance that such a clause would not hold up in court.
Also with the SO arbitration thing I was told no clause can stop you from personally suing whoever you want. You just may not be able to join a mass suing.
 
@nwp I'm pretty sure most force arbitration and non-competes are illegal in the EU
 
I mean people are weird - if you give 24 people each a ball, not many people is likely wanting to watch them playing. But if you take 23 balls away and make those 24 people fighting for one ball, this can become a world scale event (soccer world cup)
I wonder whether there is a chart for various sports and player per square meter for them.
 
nwp
2:52 PM
How is that weird? Conflict between people is inherently interesting while watching people play with balls ...
 
:x
 
nwp
There is a nice GDC talk from a league of legends developer who explains that their characters and their abilities are inherently boring, just like any game. It's that players are put into conflict, make choices, counter other player's choices and so on is what makes things interesting. It's the meta-game that matters.
And some games are better at creating a fun meta-game than others.
He also explained why an active self-healing ability is so much better than a passive regeneration ability in terms of gameplay.
 
3:12 PM
Starcraft's marines and medics is a counter example. Perhaps, League of Legends got lucky :-)
 
nwp
That's just because humans are insufficient at microing 200 units with active abilities while macroing. LoL doesn't have that problem.
 
marines have stimpacks and AFAIK you could drop their HP down to 1, making them very easy targets, thus it's still a challenging dynamic
 
League of 200 units
 
nwp
It's definitely challenging. A marine makes a good starcraft character and a poor LoL character, unless massively changed.
But starcraft's meta-game comes more from tech choices and positioning than which ability is activated when.
 
League somehow had broader appeal, although I never played it
 
nwp
3:21 PM
I couldn't get into mobas either.
Also I don't like shooters because motion sickness.
 
Ven
sc best
 
"doom clones"
 
Ven
@login_not_failed You can't stim a unit with 10 or less HP.
 
@Ven so it's 10 hp then — I was always a zerg player, so can't recall all the details of mechanics
 
nwp
3:33 PM
meh
 
3:47 PM
@nwp Often stipulated in the contract. It is for me
 
Ven
@sehe That what you do in your free time is your company's property?
That's illegal in the EU.
 
nwp
I will try not to sign such contracts.
 
@Ven Well, it's more or less implicit with the non-competition clause (I can't work for a competitor while I'm employed, and if I create IP on the field of my employer, I would be that competitor).
 
becomes a bit of a pain when your employer has a foot in a lot of fields
 
yeah. Well, in that case, don't sign such contracts :)
I reckon they would not have the clause in the first place.
 
3:52 PM
or get out when the company gets acquired by a giant
 
giants still specialize, IME
 
but it gets harder to know for sure whether something is in one of the fields it deals with
 
 
2 hours later…
6:10 PM
@Borgleader
-1
Q: HOW TO FIND THE COMPLEMENTARY FORM FOR CHARACTER IN C LANGUAGE

Garlapati RavitejaHOW TO FIND THE COMPLEMENTARY FORM FOR CHARACTER IN C LANGUAGE

 
nothing is complemented by shouting at it
 
@Mysticial was that the total of the question?
it's deleted now
 
@Mgetz yep
 
6:33 PM
Andrei Alexandrescu is coming to our company for a Q/A tomorrow. What I should I ask this guy?
 
to bugger off?
 
So, about a third of the company is French or Belgian. Let's just say right now is not a very productive time.
 
@EtiennedeMartel haha
 
7:00 PM
find what he likes to rant about and goad him into one
 
HOW TO FIND THE COMPLEMENTARY FORM FOR CHARACTER IN C LANGUAGE. is he asking how to bit flip a char?
 
7:31 PM
@StackedCrooked It's often linked when a new chapter is released.
@Goku Duh, the complement of c is ~c (1s complement) or -c (2s complement)...
@Mysticial Does having a PhD benefit him in some concrete way?
 
@fredoverflow i realize what 1 and 2's comp are. I'm a little unsure if someone would ask that since it is so well documented.
 
@rightfold I removed tons of intermediate keyword states (E, EL, ELS, ELSE, F, FA, FAL, FALS, FALSE...) from the editor lexer and replaced it with perfect hashing:
static final long ELSE = 176741L;
static final long FALSE = 6337125L;
static final long IF = 294L;
static final long REPEAT = 609752116L;
static final long TRUE = 674469L;
static final long VOID = 736548L;
static final long WHILE = 24388997L;
private static final long[] hashTable = {0, ELSE, 0, 0, IF, FALSE, REPEAT, WHILE, VOID, TRUE};

int index = (int) (asciiStream % 10);
if (hashTable[index] == asciiStream) {
    // ...keyword detected, now map index to color...
}
 
@Mysticial MULTIPLY CHARACTER BY 1/INSULTARY
 
@Goku Oh wait, I have a hunch what he actually meant:
#include <ctype.h>

char FIND_THE_COMPLEMENTARY_FORM(char CHARACTER_IN_C_LANGUAGE) {
    if (islower(CHARACTER_IN_C_LANGUAGE))
        return toupper(CHARACTER_IN_C_LANGUAGE);

    if (isupper(CHARACTER_IN_C_LANGUAGE))
        return tolower(CHARACTER_IN_C_LANGUAGE);

    return CHARACTER_IN_C_LANGUAGE;
}
 
8:05 PM
@fredoverflow LOL! mean.
 
8:23 PM
@Goku Funny how "mean" can mean both "denote" and "hurtful"...
 
@fredoverflow or "arithmetic average". in this case I was just implying "unkind"
 
This sums up partially what's wrong with this society - persons are not supposed to ensure their own safety, need another person to 'take care' of them.
 
nwp
8:39 PM
There is a really cool concept you seem to not be aware of.
 
Division of labour is good for team work, great for society. But not necessarily ideal for individuals.
repeated work in a small field tend to be boring
 
Karl Marx was against division of labour
 
nwp
That's what hobbies are for, not forcing everyone to learn to take care of themselves.
 
8:57 PM
I think all adults (except elderly, children & disabled) should know how to take care of themselves.
 
nwp
I guess it depends on what exactly "take care of themselves" means, but I would consider the resources required to educate every adult when to wear life jackets a waste. It's much better to make people who run boats be responsible for ensuring proper life jacket usage for all passengers.
 
Restaurant was fined. Apparently restaurants need to baby sit drinkers too.
such a division of labour ...
 
9:17 PM
damn the cookie dialog on that site is more complicated than my taxes report ^^^
 
The restaurant should be fined: intoxicating her first and then not dealing with the consequences is not okay. If she came in already unconscious, this would be another matter.
 
... I mean, do they not have like, the will to drink, or not, until they're dead drunk? Were they forced to drink?
 
nwp
@TelKitty Would you recommend to allow dumping unconscious people on the pavement instead of taking care of them?
 
@FélixGagnon-Grenier I'm sure the restaurant didn't mind selling them the toxins and didn't care about the consequences.
 
@TelKitty this is an ooooold rule, the vessel's master is basically the equivalent of the law on the ship.
 
Should someone not giving a fuck get into a restaurant, get mad drunk, and be at ease in fining the restaurant for not babysitting them?
I believe I agree, to some extent, with telkitty's general point that people should be responsible for their safety, to a manageable extent.
but staking upon a restaurant to care for every and any one that crosses their door? not so sure, maybe I'm not understanding this correctly.
 
nwp
They should take care of themselves and not drink more than they can handle. But if they fail then other people should step in and not just abandon them.
 
9:41 PM
that sounds reasonable.
 

« first day (2824 days earlier)      last day (2129 days later) »