« first day (2393 days earlier)      last day (2781 days later) » 

00:08
@thecoshman single point of failir concern
I would encourage you to use the spellcheck feature in Chrome :-P
00:50
When I am so lazy, I couldn't be bothered to think of a way to solve the current problem. I looked up some other app where I have solved similar problems. It didn't disappoint.
@JerryCoffin I'll give prescanning a shot. I'm not sure whether I want to make a vector of pairs or whether I want to do recursively evaluate subexpressions (a call tree basically). /cc @Ell
Ell
Ell
@Aaron3468 no idea, never implemented brainfuck :D
01:16
Haha, yeah. Just the difference between matching brackets using stack memory or heap memory. Stack is probably better.
@rightfold nice try you functional shill
bitcoin is alredy abover 1500 USD.. not bad
01:37
I like property market better - especially in those top global cities. A million US dollars can get you at most a small piece of land with a run down house 10km+ away from the CBD, except you don't own the sky above it or the mineral beneath. And if you cause harm to any native animals on your land, you may get sued. Did I mention that your country has more rights to your property than yourself?
top 99.99% of the worlds dumbest population, unite!
ETFs/ITFs ftw, steady 5-8% gains in the long term. More liquid than a house, less need for insurance.
02:17
@Borgleader cuddles
so much stuff I need to work on now I have to move everything from telkitty.com to telkitty.com.au
literally everything, although some are just small changes
02:53
Isn't it as simple as copying your database and your directory structure to the new server?
it's not just the website, but most of my apps used to be associated with the email accounts associated with the old website
if it's simply the website, it's rather easy
@Aaron3468 I wouldn't do either. I'd do a map or (if you want a little extra speed) a parallel array, where each element contains the index/address of the matching bracket (and the ones that aren't brackets just have zeros or whatever).
@Telkitty That makes sense. Maybe time for a quick update to any of your apps that still work
Hmmm, parallel arrays seems like the heap-based approach; an array where each element is its own index (or 0), except for brackets which contain the index they can jump to. Map would have minimal penalties because lookup is efficient O(log(n)) (though bad implementations might have O(n) when there is no match).
Hmmm, yeah, using a parallel array is less likely to break than recursive calls, and easier to get right. Might as well
03:18
btw, i've just found your telkitty website can easily get hacked...
goodluck with maintaining,.it may become the next botnet node
03:43
doh, if I go somewhere without internet reception, I wouldn't be saying anything any more ... til I come back to civilization (reminds self civilization != internet access)
04:04
@Aaron3468 It's not so much about bad implementation of the hash table itself, as a poor hash function. But yeah...
Bottom line is that you're normally talking about a small enough program that having an entire second array just to hold jump targets is fairly innocuous.
05:01
my new obsession is hair claws :p
weight lifting ... with Java textbooks
4
user784668
@Mysticial Windows does absolutely nothing right. Just look at its way of doing asynchronous I/O: you actually can make an async I/O request and forget about it until the OS tells you it's been completed! That's insane! I much prefer the UNIX approach of not even having the notion of asynchronous I/O and relying on barely working readiness polling.
Maybe Windows would appeal to Linux users if it were renamed to Windox?
@Fanael Wait, how does Windows "not doing async I/O" right mean that it does "absolutely nothing" right?
user784668
@Mysticial You failed a sarcasm spot check.
05:22
oh
But your D&D spot check passed
@Fanael I get your sarcasm thingy but both models are fine tbh
It's really a matter of habit and upbringing
user784668
@fredoverflow The only things that appeal to Linux users are crappy monolithic kernels designed by Rube Goldberg.
@Fanael mysticial failing at sarcasm is brand new information btw
user784668
I want Microsoft to realize that machines are pretty fucking powerful now, so they can move the NT executive out of the kernel.
05:27
sounds like a lot of effort
user784668
And Win32 GUI parts, obviously, should go too.
but there's nothing wrong with rendering font glyphs in kernel mode, right?
I follow the philosophy: what's not broken does not need fix
user784668
@Cauterite It really is not, the NT kernel is designed as a microkernel.
user784668
There are surprisingly few parts where the actual microkernel part calls into the NT executive.
05:28
@Cauterite GDI did nothing wrong
All systems have inertia. It may be a relatively easy task, but coordinating it is often harder than the task itself.
user784668
@RudiantoPrasetya The UNIX way is so bad some commercial unixes actually implement the Windows model.
Can I ask what you find so bad about it
I agree for most use-cases the windows model is just fine
user784668
@RudiantoPrasetya Make an async write.
user784668
Go ahead, I'll wait.
05:40
attempt write, if blocking, suspend current task until fd is ready, try again
this of course requires a runtime that supports task switching
(eg Go, or C++ with fibers)
06:09
@fredoverflow Windex
07:06
VS 2010 showing incompentence again
This time with ADL
This leads to this: error C3861: 'begin': identifier not found
Now someone might tell me "heck, use a range-based for loop!"
But VS 2010 doesn't support it (understandable, it's a C++11 feature)
But ADL for chrissake
07:27
there's nothing wrong with 2010's ADL, I'm pretty sure they just didn't ship std::begin and std::end
07:50
@Fanael btw if you wish to further develop your POV I'm genuinely interested
@Rerito Can this stop being a surprise to you
@Mikhail further tracking -_-
08:18
@Puppy If I qualify the calls to begin and end, the error disapears
@Rerito it took you 7 years to be convinced of the incompetence :p
Oh no, much less than that
@Telkitty It's just that I never cease to be amazed by the level of frustration it can induce
08:44
There's only two types of Rules in this room: the ones you haven't read yet, and the ones you should read again.
14
nwp
nwp
two -> 10
too late to edit :(
@nwp Nah, that joke is so overused your mom looks brand new in comparison
(Bonus point for overusing the mom joke while pointing that out)
no such thing as overused mom joke
nwp
nwp
your mom is overused
08:51
@nwp That's basically what I just said :D
I am putting myself on a spending curfew - no new clothes for a whole month & can only eat out maximum 5 times during the same time (need extra coz mothers day)
currrrfew~~~
purrrfew~~~
Hello I am getting this error .
ISO C++ forbids declaration of 'it' with no type|
hello yes it is an error
09:05
it's quite clear - you declared 'it' with no type
My code is :
vector<set<pair<int,int> > > V;
map<pair<int,int>,int> M;
for(int i=0;i<V.size();i++)
{
if(!included[i])
for(auto it = V[i].begin();it!=V[i].end();it++)
{
M[*it]++;
}
}
You might want to use some typedefs there.
using vspii = vector<set<pair<int, int>>>;
Sounds like your problem is not having C++11 support enabled.
I am not familiar with using auto keyword
how can I enabled that ?
Joe
Joe
09:08
is that aluminum and steel and iron , are they called metal materials?
Check your compiler documentation.
Joe
Joe
or metalic materials
Oh dear, are you at least using a recent version of gcc, clang, or msvc, @IccheGuri?
nwp
nwp
@Joe metals?
Joe
Joe
thank you
09:09
yes this is Lounge<Metallurgy>
nwp
nwp
also Lounge<Q&A>
also it really depends what you mean by "metal"
is it the common usage of the world or the element classification one
@Joe This sounds too technical to have an appropriate answer without the context.
Lounge<Botany> when people code too philosophically
3
Just like many of the other questions you asked lately.
09:11
steel for example would be a metal in common speak but isn't strictly a metal per se
Lounge<fake encyclopedia>
How can I check that ?
@Aaron3468
@RudiantoPrasetya Not just common speak. There are at least two technical uses of "metal" that include steel.
nwp
nwp
apparently these D&D(?) ppl have 36k subs which translates to 36k*5$ per month which is such a huge amount of income for playing D&D
@R.MartinhoFernandes that I didn't know
nwp
nwp
09:14
like, why am I even working a whole month for only a fraction of that?
let's just make guy's work, and append our names after his :D
@RudiantoPrasetya There's the one where things with metallic bonds are metals (material science? not sure which exact context), and the astronomy one.
I do hear a lot of people refer to silicon as metal, though
In astronomy, everything that isn't hydrogen or helium is a metal.
iunno, I go by the mendeleiev classification
@IccheGuri Your trial period has ended. For more detailed help, please enter the chatroom linked below:

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
@R.MartinhoFernandes lol
trials period ?
What is that ?
lol
He's saying questions are better suited in the other room. Here's more random chit-chat.
tfw O is a metal, though
or Ar or Xe
09:17
@Joe imho, "metallic" is appropriate if something has metallic properties, but it's not a metal (and all metals have metallic properties by definition)
guys how comes that i get this error when i try to run a project in visual studio 2013
>visual studio 2013
found the problem
@RudiantoPrasetya Oxygen is a metal?
3 mins ago, by R. Martinho Fernandes
In astronomy, everything that isn't hydrogen or helium is a metal.
@StackedCrooked according to astronomers, says Robot, yes
09:18
See flowchart above.
In astronomy and physical cosmology, the metallicity or Z is the fraction of mass of a star or other kind of astronomical object that is not in hydrogen (X) or helium (Y). Most of the physical matter in the universe is in the form of hydrogen and helium, so astronomers use the word "metals" as a convenient short term for "all elements except hydrogen and helium". This usage is distinct from the usual physical definition of a solid metal. The rationale for the astronomical usage is that in the high-temperature and pressure environment of a star, atoms do not undergo chemical reactions and effectively...
noice
now we have to ask @Joe if he's an astronomer or not
Joe
Joe
no hahaha :)
FWIW:
Metallic hydrogen is a kind of degenerate matter, a phase of hydrogen in which it behaves like an electrical conductor. This phase was predicted in 1935 on theoretical grounds by Eugene Wigner and Hillard Bell Huntington. At high pressure and temperatures, metallic hydrogen might exist as a liquid rather than a solid, and researchers think it is present in large amounts in the hot and gravitationally compressed interiors of Jupiter, Saturn, and in some extrasolar planets. In October 2016, there were claims that metallic hydrogen had been observed in the laboratory at a pressure of around 49...
495 gigapascals
that's a lot for sure
what's the current highest pressure that can be achieved in a lab?
@login_not_failed According to this en.wikipedia.org/wiki/Orders_of_magnitude_(pressure), that'd be over 600 GPa, using a diamond anvil cell.
so it's a bleeding edge science, that's impressive
Also of note, the mention of metallic oxygen (in the chemistry sense, not astronomy) at 96 GPa.
@login_not_failed I mean, there are higher pressures generated by man-made devices, but those are not controlled conditions (e.g. thermonuclear bomb detonations).
yea, obviously they don't count
The page on the diamond anvil cell is more specific and explicitly mentions 770 GPa.
but giga- and tera- Pascals range is insane
09:33
The metallic hydrogen claim last year was also obtained using a diamond anvil cell.
Microsoft: "We've made a computer that only allows app from the Windows Store." Also Microsoft: https://t.co/lNiKSXpouS
lool
apocalypse is coming, get the children and get to the bunker! quick!~
how is bunker going to help?
it's a forthcoming question that would be answered soon
like if the world is nuked, say you survive in the bunker for like 100 days, then??
09:45
happy 100 days!
have you ever played Fallout? people figured it all out
Joe
Joe
when u write a report and u want to put the unit of e.g. velocity when u mention it in the report ,, do u do it like this v[m/s] or so v(m/s)
@Joe it dependens
@login_not_failed neither Chernobyl nor Fukushima has figured it out
Joe
Joe
lets say that I mentioned this in the report: v=d/t ,, there v[m/s] is velocity
is that correct?
why not put the unit next to the number?
09:51
@Joe It's not necessarily correct as it is a matter of style.
@Telkitty I was answering in a playful manner in a realm of fictional dangers, for sure, real world problems are much worse
then it's just 5 m/s (with a non-breaking space inbetween)
[] vs () basically. I use [m/s] when I want to be formal
@login_not_failed don't give in
@ratchetfreak I don't prefer this style because when you want to do dimensional analysis it gets a bit hard
Joe
Joe
09:52
I dont have numbers in my report , it is just equation
I see, thanks
[m/s]/[s] is more clear than m/s/s
What @ratchetfreak said. There's no benefit in adding the unit next to the dimension symbol.
@Joe Then don't write the units. They're irrelevant.
@VermillionAzure that should be m/s²
v = d/t is true for all units of velocity you can imagine.
Joe
Joe
I was told to do that
ok, i will skip it
09:54
it only matters when you have constants but those will have their own unit
@Rerito nevar defeat!111 wanted to do some work for a period of time, while quickly answering something meaningful
first autonomous racing car
those people redefine "missing the point"
first autonomous shitpost
wow, Indonesia
not to be confused with Outdonesia
10:02
@RudiantoPrasetya a whole autonomous shitposting branch of discussion would be a better project
Joe
Joe
can u say : tools and setups or just tools and setup ?
I have many setup
if there was more than one setup, then "setups"
Joe
Joe
thanks
depends if you wanna be wrong
being wrong is fun
10:09
@Joe For the trillionth time, it depends on what you mean and in what context.
@R.MartinhoFernandes he has many setup
Joe
Joe
I just used many differernt setups to do measurements in the laboratory room ,, that is all bro :)
I’m in the market for a good feed reader
@LucDanton Hahahaha, good joke, bro.
Q_Q
:( @sehe I think I asked you ages ago
@R.MartinhoFernandes I’ve got another one: I also considered looking for a good browser
10:25
lel
what is this 2005
we don't have browsers or feed readers anymore
@LucDanton why not firefox
it's slow af
also its dev tools suck miserably
slow?
dev tools no idea, never used, but I think there's a wubdev edition that is perhaps better in that regard?
not really
it just looks "dev" ime
and the 3rd and final thing for me is that I'd need to switch to FF on android as well to get "tabs open on other devices"
and on OSX
anywho I consider unpleasant-to-use-for-webdevs as a feature
Ell
Ell
10:28
Hi
@RudiantoPrasetya well you don't do nearly as much js
@BartekBanachewicz thank god
Ell
Ell
@BartekBanachewicz we don't have browsers? :P
hi @ell was that you who added me on FB or was it @RudiantoPrasetya's troll account
@RudiantoPrasetya I didn’t consider for very long and settled on good enough, yes
Ell
Ell
10:29
@BartekBanachewicz It was me :D
k good then
Ell
Ell
just FYI, I don't say anything on facebook
there's your face there
Ell
Ell
I'm not sure why I'm still adding people :V
Yeah my face is on there
and some old photos
somewhere down the list I’ll want a music player, too
Ell
Ell
10:30
@LucDanton Do you happen to need an email client too?
lol music player in 2017
@Ell yeah wanted to say that as well
@Ell we don't have "browsers", we have mini operating systems running applications
based on the JS VM kernel
running hot garbage
You're looking for emacs
@RudiantoPrasetya yes that's what I said
@Ell if I have to be honest I don’t care much for email
10:33
@LucDanton foobar2000
At least that is one thing I'm happy with.
Also, best name ever.
@R.MartinhoFernandes I only use it on windows
Oh, you need one for Linux?
Damn, you're good at this.
@R.MartinhoFernandes I remember trying to write a plugin for it and failing miserably
You suck? :P
Dunno, never tried anything like that.
@BartekBanachewicz I remember you failing miserably on other occasions so there might be a pattern right there
3
10:36
@R.MartinhoFernandes it's native code
@R.MartinhoFernandes ftr I kinda feel it’s not so great out of the box. it also messed my tags, but what doesn’t?
@BartekBanachewicz You know that's a terrible excuse, right? Plenty of people succeed when using native code, so clearly that can't be the problem :P
@LucDanton Messed your tags? AFAIK it doesn't do anything like that without intervention.
@R.MartinhoFernandes slavery was also kinda successful :P
Ell
Ell
Does "native" mean not-js? :P
@BartekBanachewicz Yes, so if you failed at slavery, it's also your fault :P
10:38
@Ell it means american-indian
@R.MartinhoFernandes tags and/or organisation, with duplicate songs or albums because some of the metadata looked different enough
can you gain 10k on html5 tag? :p
@LucDanton Ah. Yeah, I guess that happens. I have a decade-old configuration I carry around all the time, so I kinda forgot what the out-of-the-box experience is.
like I’ve said all players come short one way or the other (and a lot of the time it’s not even their fault). foobar is the one that made me do the most manual cleanup though :(
@Ell it means something that you have to build against some obscure libs downloaded from the internet that crashes because said libs conflict with your binary
IME
10:45
Surely by "obscure libs" you mean "official SDK".
11:01
@R.MartinhoFernandes since we’re having fun with that, how much do you like Windows 10?
lol
Haven't really felt compelled enough to try it yet.
Lots of annoying things in it, it seems.
well to give you an idea of the situation I’m in, Win7 is not a realistic option (for long anyway) for my new hardware
Is this about DX support or something? :(
@R.MartinhoFernandes GPU, CPU & USB 3.1 actually
oh and I have a Home edition so 16 GB RAM
Oh.
I see.
Yeah, I'm probably going to be a Win7 holdout for a while.
11:06
@LucDanton win7 from a kernel perspective is tombstoned, so yeah it's not good on new hardware
@R.MartinhoFernandes oh and I noticed my W7 does not see the M.2 SSD out of the box either, but since that’s for the new system I did not investigate it
I'm happy with my 32GB and Pro edition for now.
soon: Civ 7 VR
And I also kinda gave up on buying new games for now, so I'll be fine on that front too.
Given that I've also been considering keeping this box offline for the most part.
Going full hermit on Windows.
Actually, now that I think about it, even for my Linux box usage I could stay offline 90% of the time.
@LucDanton If I can, I'm not getting a new box nor upgrading Windows until Win11.
why 11?
I was actually thinking about upgrading my workstation to 10
11:19
Because it's after 10?
No idea if that's what they'll call it.
Maybe they'll call it Win20 in 2020.
@R.MartinhoFernandes you do realize that MS has already announced their won't be an 11? They are going full MacOS and releasing iterative updates
@R.MartinhoFernandes why not 10 I mean
@BartekBanachewicz FUD indubitably
@Mgetz But that means they can't do their shuffle-everything-around trick anymore!
@R.MartinhoFernandes didn't stop apple, hasn't stopped MS from moving the cheese a little more slowly
11:23
@Mgetz they know that every other windows version is bad so now they are skipping version numbers...
@ratchetfreak I think it was more a recognition that you need to move the cheese slowly
unfortunately 7 was the last good one...
@ratchetfreak on that we'll just have to disagree
From what I've seen Win 10 is bringing in a lot of interesting changes
*I've never properly used 8 or 10 so that's just hearsay though
11:25
not sure about the quality of execution, but the idea is certainly there
I've been using 8.1 for almost two years now on my work workstation and it's perfectly fine
I miss Aero glass windows but that's about it
@ratchetfreak I've used all of them, and compressed memory is pretty nice
honestly I didn't even hate 8 or 8.1
I have the classic start menu installed so no metro ever
I have disabled launching metro apps for previews of stuff
@BartekBanachewicz I never bothered with that
then you're left with a better (but uglier) 7 basically
IMHO 7 was the best looking Windows so far
if you disable what made win8 win8 then sure, it's great
11:28
@ratchetfreak it's not "what made it win8", it's "annoying feaures people complain about"
@Mgetz dunno, did they remove the ad bullshit?
the Win 8 is about much more than just that
@R.MartinhoFernandes you can turn that off? and I did
it's the most visible and marketed feature of win8 though
I know you can turn it off, but fuck that.
11:28
@ratchetfreak so? I'd think you'd see past that
I can just keep using win7 instead.
I couldn't care less about metro on a workstation
@R.MartinhoFernandes your choice, I like having a modern and supported fully OS
like OSX :D
there were some updates to OSX recently but I actually stopped caring about them as well
@Mgetz as I said above, I'm going to keep this box offline; I don't use Windows much, and when I do it's for playing old games.
11:30
I just use the web browser, ST and a terminal
@BartekBanachewicz like I said I've never properly used it so my opinions aren't valid on it
@R.MartinhoFernandes as you will I play modern games and have modern hardware
well modern games suck so there's that as well
@LucDanton I stopped using feed readers. I used to have greader, now strictly speaking could still log into my netvibes, and briefly tried to get the hang of that one that Cat (or Xeo?) recommended.
In reality, twitter is my feedreader now :(
@Mgetz Note I didn't say "win10 sucks, you shouldn't use it". When asked about how I will deal with win10 I said I will not bother.
11:33
@R.MartinhoFernandes note I dropped the topic after you mentioned your use case
@BartekBanachewicz for me it's mostly that I don't have time for playing many games, and it's hard to justify buying new ones when I already have so many.
ironically the only game I have that won't run on my current machine dies because it isn't multicore compatible but uses threads
nwp
nwp
@R.MartinhoFernandes interested in smalltalk?
@Mgetz no worries.
@R.MartinhoFernandes as much as it sucks there are games that only run on old OSes because they broke literally every rule that microsoft said "DON'T DO THIS"
11:41
@nwp not really, and I'm really struggling with free time lately
@Mgetz the ones that are the cause of driver bloat because if it works on one vendor but not another then it's the fault of the other vendor not the game...
another tabs vs spaces war go
@ratchetfreak no usually it's things like DRM, or having their own Kernel driver because "KERNEL MODE IS FASTER DUUUUUR"
Seems that many people don't realize tabs vs spaces is not about keyboard buttons.
11:46
@StackedCrooked for us it's about the interface we use to review code, which uses 8 space tabs which make everything unreadable
who though 8 space tabs was a good idea?
@ratchetfreak dunno, but since it's a web based tool and the majority of browsers use 8 space tabs it breaks things. Our coding standards dictate 4 spaces
@Mgetz Yeah. Even though it's possible to avoid this in theory (tabs for indentation and spaces for alignment). But in practice it always gets messed up somehow.
@ratchetfreak typewriters?
IIRC tabs were originally for aligning tabular data.
8 spaces allows for 6-7 digit columns
IIRC, tabs were settable on old mechanical type writers to different lengths but a default was adopted as representation in text on compupters.
code shouldn't be text
11:54
@BartekBanachewicz it shouldn't be emoji either
what matters is the AST
having it in a grid of characters isn't a very optimal way of handling it
@BartekBanachewicz but you need some way of representing it
and anything hierarchical will end up being encoded as json anyway
nwp
nwp
I write my code in excel too, can't beat that grid of characters
Joe
Joe
12:16
is this correct when I used "and then" : Three different ways have been studied to do the measurements and then choose one of them to make the linear array transducer
any body?
@Joe I am not native English speaker but I would write this instead: We studied three different ways how to do the measurements and then we have chosen one of them to make linear array transducer.
Joe
Joe
thank you
@wilx s/have chosen/chose/
12:30
Matching the tenses reads better unless you're trying to be poetic or something.
Can not I post any c++ problems here ?
What is this group intended for ?
@IccheGuri Explaining the joke since 1998.

Lounge<C++>

Today we're daydreaming about C++26 reflection
@R.MartinhoFernandes I thought the choice persists and thus have chosen. Dunno. :)
Says so right there.
Total.js Messenger, the Slack killer https://www.totaljs.com/messenger
looks good
12:32
Let them kill each other.
4
@wilx self-killing killer of an app
@wilx I guess that depending on the tenses used in the surrounding text, maybe s/studied/have studied/ could be appropriate too. Unless there are different time frames involved, shifting tenses tends to make sentences/paragraphs more confusing.
12:52
had been sudying , huh?
What about it?

« first day (2393 days earlier)      last day (2781 days later) »