« first day (2438 days earlier)      last day (2522 days later) » 
01:00 - 16:0016:00 - 00:00

1:06 AM
why can't human experimenting colonizing moon first ... or even building self sustaining spaceships
 
1:19 AM
-5
Q: do you help c++ project passing array ro function?

Sathya help with c++ questions. It is about passing array to functions

2
/cc @Mysticial
 
Why are the x,y points in opencv keypoints floats? I assumed they would be single values representing pixels.
 
I guess you'd have to ask the authors of OpenCV?
 
yeah but their documentation is shit
 
1:30 AM
nearly 300 emails today from arachni-scanner.com
 
@Borgleader spectacular
 
better contact provider and finding out what's going on
 
Here we go
I havent seen enough Richard Ayoade lately so I'm rewatching this.
jaggy, howve you been?
 
I've been alright :)
You?
 
Tired but, it's my week off now :)
 
1:40 AM
nice!
 
I no long get shocked when one of my accounts is violated - you, an individual user, is like a young jungle fowl hen walking down a forest full of predators, your online security can be compromised at any time.
 
that's why I arm all my jungle fowl with guns
 
hens have sharp beak and claws
they are not herbivores
 
I also arm all my hens with guns
guns for everyone
that's how you keep things safe
 
<https://youtu.be/ehMWbZ_nH1o?t=1226> <--- This is amazing, god I love Richard
 
1:52 AM
@Borgleader your discord habits are showing :)
 
Indeed
 
discord habits best habits
 
I'm still laughing btw
 
@EnthusiasticChair when do you plan on switching usernames next?
 
@jaggedSpire about now
 
1:57 AM
IC
 
2:09 AM
need to add capcha to contact form
on the internet, if you can't afford QA, trying to make as many enemies as possible - they will find out all your security loops for you </trollololo>
 
 
2 hours later…
4:46 AM
-4
Q: Matlab. How to get a ratio inertia value for each blood cell?

Dani Prasetyo[This is an example of blood image body region. Ratio inertia is a ratio between lenght and width for each cell in this image. So i want to 1. Count how many cell 2. Get the ratio inertia value of each cell Please help me for the final project. Thank You]1

Let me just ask SO to do my undergrad thesis
0
Q: Find license plate corner with houghline opencv

ngân phạmI want to find 4 corner points of license plate,to use for perspective correction. I search for a solution but nothing is good for my scene. Here are some image sample. Please help me.

and another one in rapid succesion
Must be finals week in Asia
 
user784668
5:09 AM
@fredoverflow Refcounting is a form of GC, so obviously they use a GC.
 
user784668
But pedantry aside, I've seen, and used, both.
 
user784668
A per-structure M&S GC coupled with QSBR is a quite nice solution IME.
 
5:24 AM
@Telkitty Because Moon has no atmosphere to speak of.
 
6:14 AM
@login_not_failed damn you
 
6:33 AM
@Horttanainen good day, sir!
 
That Tis-100 totally consumed my weekend
 
how far did you went?
 
I am not sure maybe 20?
 
I keep trying to save on cycle counts and it is really hard
 
6:35 AM
yup
also saving nodes is fun as well
usually implies saving instructions :)
 
I like to use as many of the nodes I can but want to be #fast
Does it? I noticed that every time I added nodes I got a little faster
 
some tasks are naturally suited for utilizing parallelism, some are not :P
 
Did you solve sequence reverser using both of the stacks?
 
one stack and 4 nodes in total, IIRC — using one of the stack nodes as a regular one to save nodes
but I always want to do it without stack nodes :)
 
I tried to do it in two stacks, it took me 4 hours to figure things out. It has one bug still
 
6:39 AM
there's one interesting task involving stack nodes, in which you need to get a specific value by index from an array
that was a fun one :D
 
I have not tried it yet
 
the farther you go, the weirder it gets
from "is it possible" to "how the hell do I save some instructions there?" in a couple of hours
 
Yeah. I already decided that some of the problems are too hard to save cycles on :P
 
have found a trick with directions when using any adjacent node as a register?
 
ah I have not but now I get it!
thats genius
 
6:43 AM
[mov right right] [mov left nil] for example
the left one will just store one value for future :)
 
Okay I had something else in mind
 
ofc it would contain junk, so you'll have to erase it from time to time, if the task implies it
 
But that is very clever also
 
it's kind of an essential trick, that's why I mentioned it ^_^ others are not helpful as much as this one
 
You gave me an idea for another trick. I will try it at home and infrom you if it is usable. I will definitely use your trick
 
6:47 AM
also loop unrolling is kind of helpful (it's when you repeat instruction n times instead of doing a loop which goes n times)
 
I think this game would do wonders for starting cpu students
 
if they manage to stay sane, for sure!
 
Well the previous owner of the machine sure did not
 
there was some kind of a space-time collision involving aliens, so it's a different story </spoiler>
 
I already figured out that there would be aliens :D
 
user784668
6:54 AM
@login_not_failed But in the real world loop unrolling is a nice way to waste precious I$ space.
 
@Fanael in that game it's even more brutal: you have a maximum amount of 15 lines of code per core
 
Every time I hit the limit I just want to stop
 
so if you do loop unrolling 7 times, you'll for sure get some cycle count advantage, but you'll waste a half of your available space
 
user784668
@login_not_failed So if you spend, say, 8 lines for actual work, you can't unroll at all?
 
@Fanael buy the game. It is awesome
 
6:56 AM
@Fanael no, I meant that you have far less space to work, and giving game's very limited assembler, you're pretty much left with no space
you can hardly put anything in that core anymore if you do anything meaningful with loop unrolling (but there are like 2-3 tasks utilizing that)
 
After my current project is finished I will look onto doing a similar game.
 
you can join that guy to save time
 
user784668
@Horttanainen But it's €7.
 
user784668
Why would I spend that much on a game, if I can buy vodka instead?
 
vodka lasts for one evening, this game will last for a couple of weeks for sure, if you never messed with assembler/verilog/etc.
 
7:00 AM
@Fanael So after spending 20 minutes playing it you have already had your money back
 
user784668
@login_not_failed I probably forgot more about assembly than most programmers ever learn in their lifetime.
 
then for sure your best bet is vodka, and I'm not judging there — everyone here has their needs
 
@login_not_failed My current project is so huge and complicated that making a game like this seems like a walk in a park
 
see you at a steam green light :)
 
I assume you can use the Unreal Engine?
 
7:04 AM
@R.MartinhoFernandes Robot! Small heads up: your code samples on your website are messed up; they display xml inline with the C++ code, which makes it impossible to read the example code. Looks to be like some javascript hiccup. See e.g. rmf.io/cxx11/rule-of-zero
 
conquered C++ only to be defeated by JS
 
@rubenvb I was annoyed at that too
@Mikhail :D
 
I've seen it at other websites as well
 
user784668
@rubenvb ahahahahahaahahhaahahhhahahahahahahahahahahhaahah the web
 
It seems like it's some javascript library issue or something.
What do I know about the web..
 
user784668
7:06 AM
@rubenvb Is there anything more broken than the web?
 
who would've thought js have flaws
 
@Fanael C++ initialization rules?
 
@Fanael US Presidential election procedures?
 
user784668
@JerryCoffin This one certainly comes pretty close.
 
7:09 AM
like me on ur mom ehehehehhehe
 
@login_not_failed Once you take on the Operating Systems, are you going to read the source code?
 
@Horttanainen yup >:3 viciously read the sources
 
user784668
@EdgyAlpaca Are we still doing your mom jokes in 2017?
 
current year is always current
 
@login_not_failed It sometimes takes 2 hours to go through two pages :D
 
7:11 AM
@Horttanainen these two hours are far more valuable than any books describing it though
 
@login_not_failed The code is described also
The last part of every chapter walks you through the source.
 
@Horttanainen I mean, these sources have decades of engineering experience in them, how could you miss it? assuming, you're not so heavily into vodka :P </judgement>
 
@login_not_failed :D
 
@Fanael C++? C++ is more broken than the web.
 
user784668
@rubenvb lol
 
7:18 AM
Sup guise
 
@Fanael Internet of Things?
 
user784668
@wilx You mean Internet of Shit?
 
@Fanael Yes.
 
@login_not_failed I was remind of this: (paulgraham.com/knuth.html chapter: Less Facilities: More Enjoyment) when I was playing TIS-100
 
> December 1974
 
7:27 AM
Yes, the fact that he is talking about too abstracted programming environment in 1974 makes it makes the point even more powerful when you think today's operating systems
 
8:08 AM
Hi
 
good morning!
 
WTF is that? That looks p/creepy.
 
@wilx yeah ... that's why you build a gigantic greenhouse with soil, earthworms, grass, chives and chickens
added chives and chickens because I love chives and chickens
 
@Telkitty Because building a giant not compartmetalized area on a planet without atmosphere is such a good idea. :)
 
8:20 AM
moon is chosen because its proximity to earth of course
much easier for damage control
 
9:04 AM
That feeling you get when you browse SO for a solution and end up taking one from one of your own answers
 
FeelsGoodMan
 
9:21 AM
@Horttanainen We can only fit 8 in our shed (so, 4 bicycles)
 
@sehe sehe being so hehe
 
@sehe #DutchProblems
 
> Proposal for moving Boost to CMake
Looks like there's been a somewhat heated discussion over the weekend in the mailing list x)
 
@sehe only if your cycle is a unicycle, it might as well be a tricycle
 
octocycle
 
9:35 AM
@login_not_failed I could not have been more specific, IMO
Again. That is a recurring discussion.
There was a large push when modular boost (github) was done
 
I can't say I'm surprised.
But the 100+ messages over the week-end is quite impressive.
 
The point made is pretty sound: "Why replace a perfectly tuned build tool with one that might (not) work"
 
user784668
@sehe "perfectly tuned"
 
While the opposite view would be "why not use a somewhat standard build system instead of maintaining our own?" I guess.
 
David Robinson on June 15, 2017

Do you use tabs or spaces for code indentation?

This is a bit of a “holy war” among software developers; one that’s been the subject of many debates and in-jokes. I use spaces, but I never thought it was particularly important. But today we’re releasing the raw data behind the Stack Overflow 2017 Developer Survey, and some analysis suggests this choice matters more than I expected.

There were 28,657 survey respondents who provided an answer to tabs versus spaces and who considered themselves a professional developer (as opposed to a student or former programmer). Within t …

 
user784668
9:42 AM
@BartekBanachewicz Hi, James May.
 
Most advertised risotto of all time
 
@Fanael I'm gonna repost shit out of it
 
The "It works" argument is a bit stronger I suppose.
Note that the original argument made sounded more like "Why replace a superior build product with one that is vastly more popular"
 
> For example, it’s conceivable that developers in low GDP-per-capita countries could be more likely to use tabs
lol
 
I remember not managing to get bjam to work with MinGW a few years ago x)
 
user784668
9:44 AM
@BartekBanachewicz I use word joiners for indentation.
 
user784668
@sehe Because CMake works, unlike bjam.
 
user784668
Case closed.
 
> That's not the key I'm pressing though. And way easier to navigate within tabs than spaces. And who wants to "clack clack clack..." with the space key?
also there are still people who think that "using spaces" means "pressing the space bar a few times"
 
user784668
@BartekBanachewicz Yes, that's what most tab people think.
 
cc @KonradRudolph
@Fanael so most of the "tab people" are dumb
 
user784668
9:47 AM
@BartekBanachewicz Obviously, the one true key for indentation is =!
 
there's no such key
 
user784668
@BartekBanachewicz My keyboard has = on the left of backspace.
 
oh wait
your exclamation mark at the end wasn't code-quoted
 
Guise, Boost.MPL question here
 
I thought you meant a "=/!" key
 
user784668
9:49 AM
@Rerito Cool kids use Hana.
 
What are these weirds compiler errors? MVCE
 
user784668
@BartekBanachewicz I'm gonna make a custom keyboard layout where tab is replaced with return, =, < and > depending on the modifiers pressed.
 
user784668
Because they're the keys I actually use for indentation.
 
by layout you mean just reprogramming right?
not some stickers or w/e
 
stickers :D
 
user784668
9:51 AM
@BartekBanachewicz Keyboard layout is mostly a software thing.
 
@login_not_failed yeah there are people who look at their keyboards while typing
 
user784668
 
which is pretty hilarious, as at the same time they often consider themselves keyboard experts
@Fanael yeah a lot of companies makes stuff like that now
my next keyboard will certainly be blank
I'm still using my trusty BlackWidow but it's really tarnished already
I'd need to pry all the switches open and clean them more thoroughly
I was considering giving it a bath in something but water-based solvents could damage the electronics even more and e.g. gasoline would melt the plastic
 
user784668
10:05 AM
@BartekBanachewicz Mate, you can't use this word, that's racist.
 
but WhiteWidow would be even more racist
 
@Fanael supports or requires? Either way, LOL
 
user784668
@thecoshman Supports.
 
user784668
10:20 AM
@thecoshman It's Hurd, it probably requires like 20 KB.
 
@Fanael You can still look at it
 
user784668
@thecoshman It's 32-bit only currently, but it'll probably get AMD64 support by 2050.
 
@BartekBanachewicz My kids learn touchtyping on a blank-top keyboard. I got it cheap from a coworker. very nice little board too
I actually wanted it to be mech, but blank tops was a bonus
 
@Fanael hahahahahah
 
Ven
Hi
 
10:59 AM
@BartekBanachewicz you know, water + soap isn't that bad. Unless your keyboard has some potentiometer or something else than a "schematic", there's hardly something to break there
 
Hi, I have an abstract base class Component and Collider class that inherits from Component. Additionally, I have Texture class which also inherits from Component. I want to something like this: int x(Component component){ if(component == Texture) return 0; if(component == Collider) return 1; } (in C++). How can I do this in C++? Is it possible?
 
user784668
@MuhamedCicak Use virtual functions.
 
Just make sure it's powered off and that there isn't anything like paper.
 
user784668
Also the Lounge is the wrong place to ask questions, try SO.
 
@Fanael Actually I am scared of asking not too long questions on SO. Because, every time I do, I get -200 votes... Thank you for that tip, I will search what virtual functions are. I am new to C++ so I dont know, anyway, thanks :)
@Fanael Oh, by the way, even if I was to ask on SO, I could not. I got question limit, asked too many questions, I guess.
 
11:13 AM
user image
8
@BartekBanachewicz
 
Bartek isn't even close to Fjotolf Hansen
 
user784668
wait what
 
user784668
C++ has no thread-local storage apart from thread_local?
 
What else did you expect?
 
You want two thread-local mechamisms?
Stack memory is also thread-local.
 
11:27 AM
@Fanael What more do you want?
 
inb4 _Thread_local
 
user784668
pthread_key_create?
 
That's inferior imo.
 
user784668
@StackedCrooked It allows creation of per-object-instance TLS slots, unlike thread_local.
 
11:41 AM
@Fanael Of course thread local allows that.
@Fanael So, you're surprised that C++ doesn't come with a replacement of typical C-style API? You can still use the POSIX API if you want it.
Actually, pthread_key_create makes most (if any) sense if you have thread-specific singletons
 
user784668
@sehe Congratulations on being disingenuous.
 
11:56 AM
@sehe magic statics are good enough
 
@Fanael Tell me what is disingenuous about it. I happen to be one of the lucky ones who had to work around incomplete tl-support in GCC 4.x and used pthread_key_create (as well as pthread_at_exit). It was fun. I don't know what you'd actually want to use such an interface for in favour over RAII
 
@login_not_failed yet an another book on your never ending pile: amazon.com/Reversing-Secrets-Engineering-Eldad-Eilam/dp/…
 
so what's a cheap & good VR wearable that I can buy on the market?
 
Google cardboard?
 
since my drone has 3D function ... I don't know why it has 3D function - it has got such a low resolution cam
 
user784668
12:03 PM
@sehe I'm not talking specifically about pthread_key_create, I'm talking about dynamic creation of TLS slots. That's where you're being disingenuous, by focusing on the part that's easy to pick on that just happens to be a solution to the problem.
 
@Horttanainen where can I buy it?
 
@Telkitty I think I ordered mine from here: vr.google.com/cardboard/get-cardboard
 
omg VR devices so cheap
I thought they are like $300-$1000
@Horttanainen thanks
 
They offer an okay experience in my opinion. You realize that they require your phone and an app?
 
I got phone and I hope app is free
 
12:09 PM
@Telkitty There were a lot of options two years ago. There are probably many more by now
 
I think I am going plastic ... paper one looks too charp for my tender flesh
many choices even for around $20
 
Just be sure your phone fits
I have the Unofficial cardboard 2.0
 
I have a older phone from 2 years ago, it should be cheap to pair up
but thanks for the advice
 
 
No problem
 
12:13 PM
@Fanael You can create a thread_local pointer to dynamically allocated memory. If the dynamic initialization occurs in the same declaration than the thread_local pointer declaration, it should indeed only occur once per thread.
 
speaking of which, I have a few pairs of glasses from watching 3D movies
if I really want to go cheapskating ...
 
@Telkitty I think you will fail miserably :D
 
I am trying some 3D games with glasses, I will be able to tell you the result soon ... after downloading those games
 
@Telkitty You might have a misconception of how vr glasses work. They warp the image to a "dome" and duplicate it for both eyes. I don't think 3d glasses are going to help you with this
but please report when you are done :D
 
err ... downloaded 3D games instead
mistook 3D for VR ~_~
@Horttanainen that seems to be cheapskating way of doing things
no wonder VR glasses are so cheap
@Horttanainen yeah I am buying VR device
 
12:37 PM
@Telkitty thought so :P
 
12:47 PM
hi, I got told in JavaScript chat to post this meta.stackexchange.com/questions/297349/… in Lounge; I assume they meant here but if there is a more appropriate forum I would appreciate your assistance in finding it
 
@PeterDavidCarter beware strangers in chat telling you things to post in other chats
 
@Mgetz I tend to assume good faith
 
@PeterDavidCarter then you're the first when it comes to the Lounge
 
user784668
@Mgetz I assume everyone is Bartek
 
@Mgetz apologies for my naivety -- where should I really post it?
 
12:52 PM

 Tavern on the Meta

MY GOD, IT'S FULL OF STARS AND BACKLOG! General friendly chit-...
 
@Horttanainen :O thanks!
 
@login_not_failed np
 
@PeterDavidCarter I'm pretty sure posting it on meta was enough. Anywhere else you're just tempting people to downvote you to oblivion
 
user784668
@Morwenn I mean I know I can basically do thread_local std::unordered_map<T*, U>.
 
Hi guys, I'm having an error that I wondered if you could help me out with
 
user784668
1:01 PM
@musicman523 Sorry, nobody here knows C++.
 
The traffic on cpp-sort is back to more or less 0 clone per day. I've no idea why it jumped to ~40 clones per day two weeks ago x)
 
1:19 PM
Is there such a thing as a Javascript lounge?
 
nwp
 
1:35 PM
that time of the month ... it's early
probably a indication that I lack exercise because of injury
last week, I got almost a new cut/injury everyday
mostly small cuts, and minor strain
 
1:59 PM
It's around 30°C here, which seems too hot for everyone.
 
You know, instead of doing 1h DST offsets, make them 12h long, so we sleep in the day and work in the night, when it's cooler
:D
 
@LoïcFaure-Lacroix there's a JS room: chat.stackoverflow.com/rooms/17/javascript
 
@milleniumbug or we can switch land with another hemisphere, preserving our timings
 
@Morwenn I can't stand the heat
The gym where I work out seems not to switch the AC on whenever they can spare it
 
@Rerito I guess I'll drop my sweater and my big trousers tomorrow.
 
2:11 PM
Saturday's workout was p horrible because of this
 
I'll switch them for a sleeveless shirt and lighter trousers :D
 
@Morwenn Lol I've been wearing ts and polos only for more than a month
 
@Rerito tbh I'd consider workout to always be horrible x)
@Rerito I need to find clothes that don't make people realize I've got small boobs, so it's not always that easy xD
I can't wear all of my T-shirts or tank tops.
 
@Morwenn You could always pretend they're pecs?
Though I broke my rep records on the 110kg squat (8) /cc @EdgyAlpaca
 
@Rerito With my overall muscle structure, it's near impossible.
 
2:16 PM
@Morwenn So now you feel better with the more feminine body but have to deal with the hypothetical judgement from other people?
 
@Morwenn so like... you like having the wee boobs, but not others knowing it?
I guess you're quite skinny, so it wouldn't take much to look like they are there
 
It's just that for now it's easier not mentioning it at work ^'
 
faggotry overload
@Rerito I mean, technically, they are pecs.
it's just the amount of fat that makes you call it a "boob" or a "pec", but the underlying muscle in the same :p
 
2:32 PM
@EdgyAlpaca There's also the size of the mammary gland.
 
nothing hormones can't fix
 
user1804599
My new ringtone.
 
@Morwenn pregnancy will help
 
user1804599
this is known as "islamization"
 
user1804599
becoming more islam-like
 
user1804599
itsbaddontdoit
 
@wilx o.o
 
@LoïcFaure-Lacroix No thanks :D
 
2:53 PM
seriously hairy moobs - man boobs are way more disgusting than womens' boobs
it any thing needs banning, it would be hairy moobs
it's not fair a hairy fat man can go out topless
but women can't
 
> Other adverts which would no longer be permitted are those in which “a woman is barely dressed and smiling without reason, while a man is completely and comfortably clothed.”
WTF?
> But the conservative Christian Democrats (CDU) said that politicians “have no right to interfere in the free market.”
>
> The liberal Free Democrats (FDP) meanwhile argue that billboard displays “are protected through laws on freedom of expression.”
At least some sane people are there.
 
@wilx Tried to describe generally sexist ads without managing to properly describe them.
I mean, the intent is obvious, but nobody apparently managed to formally define what a "sexist" ad is, so you end up with somewhat dumb descriptions.
 
Sexism in advertising is, like, 90% context anyway.
 
3:10 PM
Lol TV Static Simulator 101.
#include <iostream>
#include <boost/multiprecision/cpp_int.hpp>

int main()
{
    for (boost::multiprecision::cpp_int n{2}; ; std::cout << n << '\n', n *= 2);
}
 
@EdgyAlpaca Did you witness dudes taking juice in HK?
 
@Morwenn I think even sexist ads should be allowed.
 
@wilx Ads need more sexy nude guys and barely hidden cocks.
6
 
@Morwenn Indeed! :D
 
Ell
@Morwenn please no :V
 
Ven
3:19 PM
@Morwenn there are some in paris
 
@Ell Why?
 
@Mikhail NDAs lift on Skylake X today. It looks like the 10-core Skylake X will have full-throughput AVX512. Good News, I'm getting full-throughput AVX512 to play with in 2 weeks. Bad News: I need to spend more money.
 
@Ven Can't say I'm surprised :p
 
@wilx If sexual objectification was evenly spread between all genders it wouldn't be sexist.
4
 
3:24 PM
@wilx Obvious idiots. They clearly don't understand that freedom of expression means freedom to express what I want them to in ways of which I approve!
 
Ell
@Morwenn I don't want to see it :P
 
@nwp no
 
Ell
I dislike the male underwear adverts enough
With the men in just underwear
 
Ven
why?
I remember you had some ideas I considered pretty weird, I think it was you?
 
Ell
Because they look better than me :P
 
Ven
3:28 PM
Like your mate that fucked lots of ppl and you disliked her for that
 
@Rerito what do you mean?
 
Ell
@Ven lol no I don't dislike people for that
Unless it's my girlfriend
 
@EdgyAlpaca Injecting roids
 
Ven
@Ell twasn't you?
 
No I'm p sure it's illegal in HK
 
Ell
3:29 PM
I don't think so
 
Ven
alright mb
 
Ell
Unless you learned it this unconf in which case I don't remember
 
@EdgyAlpaca It's supposed to be in France too and that doesn't mean no one is taking it
 
HK justice doesn't kid around
 
@JerryCoffin Right!
 
3:32 PM
but do you know who does?
 
Ell
@Ven maybe I said I wouldn't want to fuck her because of that
 
Ven
probably
 
01:00 - 16:0016:00 - 00:00

« first day (2438 days earlier)      last day (2522 days later) »