« first day (2027 days earlier)      last day (3147 days later) » 

11:09
Current status: installing Xubuntu 14.04 because no 16.04 isos will stick to that old laptop (what kind of CPU do they require?!) after trying to clean and refresh that Vista installation for a week.
Grrr. It's 2016. You'd think that mess was somewhat fixed now
nwp
nwp
Say I have a dictionary as a sorted vector<string>. I search for "Hello", and instead of using lower_bound I say "Hello" starts with H which is letter 8, so I first jump to position v.size() * 8/26 instead of to the middle. Does that have a name and possibly an implementation in boost or so?
I don't see how that makes any sense when doing a binary search equivalent.
nwp
nwp
fewer jumps, more speed
Is it though?
You can have 28 words starting with "a" and 1 starting with "h".
nwp
nwp
I don't know, I was wondering about that
11:16
It kinda sounds like you want a trie for whatever reason.
nwp
nwp
yeah, kinda like that, except with a flat structure
Frankly that doesn't seem to make any sense whatsoever.
nwp
nwp
the actual use case would be for a vector<size_t>
> Learners progress in their knowledge of the language when they comprehend language input that is slightly more advanced than their current level.
interesting
@nwp If it's sorted, just binary search it and be done with it.
nwp
nwp
11:19
thats what I'm doing now, feels suboptimal
...did you profile it and find that it causes significant slowness in your application?
nwp
nwp
no, valgrind always crashes with invalid instruction :(
but that is a separate issue
lol
@nwp the difference is most probably negligible (or, what's far more probable, actually makes things worse)
@nwp If you want to talk about your feelings, go to a psychology, not CS class.
nwp
nwp
@BartekBanachewicz tried that, didn't work so well NSFW?
11:23
point being, this shit is ultimately impossible to predict
we're well past the time where you could say how much time your C program will take down to the CPU cycle count
nwp
nwp
guess you are right, profiling is the way to go
And that's still wrong
Ven
Ven
yo
nwp
nwp
the right thing is ... don't worry until it is a problem?
not optimizing is the way to go; or more specifically, optimizing anything other than readability and maintainability
@nwp exactly
11:29
@nwp interpolation search
nwp
nwp
@DmitriBudnikov awesome
user1804599
11:44
monkey vomit
ughfuck people using "Hm" chord name
god
user1804599
@Ven yoyogames
user1804599
WinSCP is nice.
@BartekBanachewicz What's wrong with Hm? Is it that it mixes two conventions? :D
@Griwes the problem is with H really
there's no such sound
11:57
There is, if you're a Pole.
unless your alphabet goes ahcdefg
@Griwes no, if you're a badlet.
sorry, a hadlet
music theory is fucked up enough without introducing bullshit like that
The convention used in Poland says that the sounds are a a#/b h c.
used by retards and badlets
Poland has nothing to do with it
So generally if it was h instead of Hm it'd just mean that a Pole (or someone else, dunno if anyone else uses that convention) wrote it.
@BartekBanachewicz you have never attended a musical school, have you
if it was "h" to mean "Bm" then it's even worse
using small letters for minor chords is like Wrong
11:59
No, it's Polish.
@Griwes how is that relevant
Everyone in Poland uses h to mean the English Bm.
@Griwes it's not, it's just bad. Don't slap the retarded misuse sticker on the entire country will you
@Griwes hardly
@BartekBanachewicz Show me a Polish site with chords that uses the Bm convention.
the fuck
moving the goalposts, are we?
12:00
(And then I'll change that statement to "most of people in Poland".)
user406009
@BartekBanachewicz Did you decide which of the two UI approaches you liked best? Your explicit click handlers and state management vs the more complex (and screwed up) one I setup?
@Griwes Everyone in Poland that isn't a dumbfuck and has access to the internet uses the normal, international convention
lol
You couldn't be more wrong about that.
People who are taught badly sometimes use Hm. People who aren't taught at all use h
lol
just... lol
Have fun living in your alternative dimension.
For the record: I agree that Hm is bad, because it mixes conventions.
12:02
ITT everyone disagreeing with guriwesu lives in an alternative dimension
My imaginary friend lives in the 5th dimension
Everyone disagreeing with reality lives in an alternative dimension.
3
3 mins ago, by Griwes
Everyone in Poland uses h to mean the English Bm.
Clash of poles, round N
well then, seems to be you then
because I'm from Poland and I don't use h. I know many other people in Poland who don't use h.
12:04
Okay: most people in Poland use h.
I don't disagree with that.
Now go on, show me a site with chords used by the general population that's a) Polish and b) uses Bm.
nwp
nwp
yay for yet another polish notation
@Griwes what fuck even is a "site with chords"
@BartekBanachewicz A website that provides chords for songs.
12:05
A site that has chords in it?
you mean those retarded blobs of html 4 where people post mis-transcribed bits of music?
Just guessing.
lol
if you seriously consider that a representative example of anything then I don't know what to tell you
you should've picked german composers really
ITT only Bratek can properly transcribe chords of songs.
12:06
but no you chose to pick like the worst possible source of information
@Griwes Poles are not true Scotsmen.
Also ITT it's impossible to properly transcribe 4-chord songs.
@R.MartinhoFernandes what's not clear in saying "retards and badlets use that notation"
I mean, Scotsmen are not true German composers.
@BartekBanachewicz I'm showing you representative examples of a usage of a convention, duh.
12:07
I mean regardless of whether you were taught german or international convention, use your fucking brain time to time.
@BartekBanachewicz When you use that to dismiss a (relatively) widespread convention, it's quite clear.
Also h allows you to avoid fucking monsters like Bmmaj7 or whatever.
H hm Bm Bmmaj7, i have no fucking clue what you guys are on about and at this point im afraid to ask
@BartekBanachewicz Okay, but still.
@Borgleader eadd11
12:08
The guitar tutor whose workshops I attended summed it up the best: "if you use small letters for minor chords, you're just bad".
there's really no other explanation for that
Ah, so no true musician.
Saying "I use h because someone taught me to" is like saying "I believe in Jesus because someone told me to"
it's the same level of ignorant idiocy I absolutely fucking despise
Nice to see the same logical fallacy (yes I admit to using it what will you do to me) on both sides of the discussion.
No true Scotsman is an informal fallacy, an ad hoc attempt to retain an unreasoned assertion. When faced with a counterexample to a universal claim ("no Scotsman would do such a thing"), rather than denying the counterexample or rejecting the original claim, this fallacy modifies the subject of the assertion to exclude the specific case or others like it by rhetoric, without reference to any specific objective rule ("no true Scotsman would do such a thing"; i.e., those who perform that action are not part of our group and thus criticism of that action is not criticism of the group). == Examples... ==
Okay, so here's a controversial statement: no-one fucking cares about how a chord is written down, since competent musicians can read both conventions.
12:10
That's not true.
I've talked to a lot of competent musicians who find the confusing state bad.
And let that statement close the discussion from my side.
Lack of consistency is bad.
And heck, you were the one who was totally advocating consistency in C++ last time
But then, A foolish consistency is the hobgoblin of little minds
But I gotta remember the "it appears in polish internet" argument because I would be hardly pressed to find a less reliable source of information on the whole planet
Nice to see the Lounge discussing
Makes me feel home once again
12:13
@R.MartinhoFernandes There's nothing foolish in this particular case.
ITT Bartek says Poles are unreliable sources of information.
6
@BartekBanachewicz Your useless hate would be better used by making a reform to make everyone in Poland start using your preferred notation (which, let me just tell you up front, will not happen).
There's an idiotic specialcase introduced by people who were lacking basic math skills to properly describe the modular arithmetic in western music
@Griwes Of course it won't happen for everyone in Poland, just like I won't convince everyone to stop being religious; I am happy with the moderate success of my immediate surroundings.
vOv
Whenever someone isn't sure whether to say or spell or name the chord "H", just step in and say no.
12:16
Wtf
The big change in the world is the sum of all small changes. I believe on doing good on the small local scale.
H-dur it is.
If they can't estimate for shit, why do it
@Griwes Well you'll always encounter stubborn idiots, but that happens everywhere.
user1804599
Retards Jehova witness organisation made anti-gay cartoon and now all non-religious sane people are in rage.
12:16
Sorry mate, some unreliable Pole on the internet won't trump what my musical school teachers told me vOv
You don't have to believe me, lol
There's a shitload of resources over the whole global internet
not looking there doesn't make you not guilty
Again: it's trivial to see which convention is used immediately upon looking at what's written.
@Griwes except when B can mean two different things.
There'll be some minor chord around that'll tell you which it is.
You know, breaking news, there are people on this planet who play music that isn't just chords
12:19
Also... you can check what is going on by looking at the language of the lyrics vOv
user1804599
I only play BBC.
But I mean really, imagine you were taught the world is flat, and held on to that belief.
Does that make you any less wrong? No. Does that make your belief any better? No.
given the widely available resources you could read, your ignorance is entirely your fault
being wrong is your fault.
@BartekBanachewicz If the music notation you are using isn't either (1) chords (2) notes on the staff, or (3) a tab, your music notation is bad.
I'm not wrong.
It's a different conventions.
@Griwes that's what a person that's wrong would say
lol
I'm starting to remember why I used to have you plonked: because you don't realize that two different ways to describe the exact same thing might be right at the same time.
12:21
because you have a weak personality that can't take his views challenged
but don't worry there's plenty of other snowflakes out there like you
isn't that ironic
No, because you're an asshat who assumes that only his world view is right.
see the difference between us is that I'm not assuming anything
I don't need magical sky man or the fucking "H" in the middle of the alphabet
You are assuming that your convention is the only right one.
Do you know the alphabet dude?
I assume that both can be correct at the same time. vOv
12:22
Like, you know, the order the letters go
Who the fuck cares.
@DmitriBudnikov popcorn, quick
@Griwes do you agree that there is more than one correct order of the alphabet
It's a convention, and in Poland the one used is the one which you don't like.
@BartekBanachewicz It's not about the fucking alphabet.
@Griwes it's the same bullshit all over again
and it's not polish, again, it's german
it came to polish because poland was a third world country with a limited influence from outside
but that was fucking years ago. We have internet now.
Stop thinking like a villageman who communicate with spoken world and start behaving like a member of the global community
12:24
@Griwes same in Czech Republic and Slovakia
@BartekBanachewicz Whatever.
I also think it's retarded, but yeah, it's just a convention. I also think a / b / c... is retarded
fuck's sake this is one of the reasons I'd move out of there, the ultimate nationalistic "our way is right" views
we use do re mi fa sol lol
ITT Braket thinks you should only speak English in Poland
12:25
@AndyProwl sol lol
@Griwes eventually you will
Because we only speak Polish because Poland was a third world country with a limited influence from outside.
But that was fucking years ago. We have internet now.
TOTAL RETARDATION in music
(Do you realize how ultimately retarded this argument is?)
@Griwes and do you see how what you said is actually true?
The number of people who speak english in poland is skyrocketing
public space stops using polish and opts for english (or both) a lot of times
Yes; but notice something: it's a number of people that also speak English.
It doesn't involve not speaking Polish.
Because that'd be fucking retarded.
12:27
a) it wouldn't
b) that's where we're headed, whether you like it or not
there's no point in making say public transportation info in two language versions, if the english one is understood by everyone
why not?
ok after edit
but that's an assumption
getting more and more true vOv, which I don't think anyone will deny
dunno how it is in Poland
using polish in a lot of cases is plainly a waste of money
definitely not here though, nor in Italy
12:28
lol
I mean if you like your money being thrown away then sure, but if I can help it I'd rather we didn't, as a society, spend it on unnecessary things
and I see absolutely no reason for the use of polish in public space
if you want to preserve culture then w/e, sure
not knowing other languages is a citizen's right, I guess
hell not knowing any language is your right if you look at it that way
I don't think so
I don't think it's illegal to be illiterate
12:30
you are expected to know the language of the place you officially live in
ok, didn't mean legal right, I mean it's fair to expect it
think old people
fact: old people statistically die
young people die too
also, not really relevant
or, to put it less bluntly, their influence on the society is gonna be spread over shorter period of time
See, it'd be great if everyone spoke English, but that's not going to happen (at least on an acceptable level; most of non-natives - and hell, even natives - are below communicable level in their knowledge of it), at least not for a while.
"fuck the old people, they're gonna die anyway"
12:31
@AndyProwl that's not what I said. What I meant was that while old people not knowing english might be a proble, they'll get replaced with old people knowing english rather soon
The problem with "let's make everyone speak English" is the same problem that exists with "let's make everyone program".
all I'm saying is that your assumption that everyone understands English is not realistic
You need to be taught that from the ground up, since you are a kid, to be actually really proficient in either.
old people are just an example
@Griwes I don't think that at all. I think that communicating with other people is necessary on a more fundamental level than programming
12:32
But for that to happen, your parents need to be proficient at it.
Loop around, ad eternum.
4 mins ago, by Bartek Banachewicz
getting more and more true vOv, which I don't think anyone will deny
@BartekBanachewicz more and more doesn't mean much
@Griwes My english education started when I was 3
@BartekBanachewicz You are missing the point - I'm talking about the learning process.
@BartekBanachewicz Which is why you can speak it! Great!
@Griwes and it's also changing.
12:33
@BartekBanachewicz Slowly as hell.
Pretty much every school teaches english now, no
@BartekBanachewicz school teaches it != pupils will learn it
Ven
Ven
as a frenchie...
did I mention old people
12:34
Just going to lessons won't teach you a language.
so maybe an actual driving force will
Bartek is definitely a driving force :D
while we're discussing teaching, in the US the Giant Idaho Potato tour has started
It's the biggest potato in the US which is travelling across the states
@BartekBanachewicz Just FWIW, the most recent estimate I've seen says that Canada's bilingualism costs approximately $2.4 billion (milliard) annually (e.g., on road signs that are ~double the size to have both English and French markings).
@BartekBanachewicz lol
12:37
how is potato relevant
I thought it's important
@JerryCoffin His point is that bilingualism shouldn't be supported, just the English, though.
@Griwes which would save that $2.4b?
@Griwes Yeah, I figured that out. I think you'd just about have to have at least some transition period during which road signs and such were bilingual. Politically, there's not going to be a point at which it's acceptable to just say: "If you don't know [a language many still consider foreign], you have to stop driving", no matter how much money that might save. Also, I thought it was interesting in its own right.
@JerryCoffin That's crazy, yo
12:40
> Either you learn english or the gas prices go 25% up.
That... would not be accepted by any political party in existence ever.
@BartekBanachewicz Meanwhile potato chip companies are somewhat upset because it's much harder to get the smaller potatoes they want.
(Because they'd never win an election again.)
@Griwes should be a national referendum then vOv
@JerryCoffin can't they like cut it :D
...that'd be passed even less times.
12:42
@Griwes I'm not really sure. People like their gas prices low.
See, the point is that it requires just a little effort from you to read the english signs. That's something you can do.
Other than that, there's absolutely nothing you can do about gas prices
@BartekBanachewicz They could, but it would drive up costs (of course).
No, they referendum would be treated as "this is nonsense" and would probably not be valid either way.
@Griwes Yeah well "this is nonsense" is what the people voting no could say
@BartekBanachewicz ENOPARSE
Also would you vote no? ;)
12:44
@JerryCoffin That's a surprising statistic. Do you have the source?
What I said is that it'd not reach the required amount of votes to be considered valid.
@BartekBanachewicz I'd not vote at all, because it's nonsense.
@Griwes even if there was a possibility of it passing?
I don't believe there'd be.
I mean I could also say that our parliamentary elections were nonsense... except no one cares
And we're stuck with this joke of a government now
12:45
Which is gladly imposing The Catholic Internet Shopping Tax as we speak
Well, we needed that, to remind everyone not happy with the previous one why they didn't really wanted this one...
@BartekBanachewicz wait whaaaat
@Borgleader Not the original study, but one of the (many) news stories about it: huffingtonpost.ca/2012/01/16/…
na mózg się kurwim synom rzuciło
12:47
not sure if that thing is really gonna happen after all (hopefully) but just to give you an idea what those fuckers are up to
@Griwes except it can also mean some hardly reversible idiotic changes
@BartekBanachewicz vOv
You know what?
These fuckers that voted for those fuckers deserve what they are getting.
But weeeee dooooooon't :/
I'm not planning on staying in this country for long, so I don't really care that much.
12:48
my taxes pay for those fuckers welfare
migrate to zimbabwe
@Griwes Eh see that's kinda a problem there
Not really.
because people who have reasonable views and people who can just up and leave form very similar sets
I generally deeply despise the Polish society (as a whole).
12:49
I generally deeply despise most of the global society
That too.
> Po wejściu w życie tej ustawy, Komisja Europejska natychmiast rozpocznie postępowanie w tej sprawie, nałoży karę w wysokości co najmniej kilkudziesięciu milionów Euro i nakaże zwrot pobranego „podatku internetowego”.
is that the point where I play the Ayn Rand card?
Good.
I only wish it'd get to the milliards of Euro range, not millions of Euro one.
Honestly I'd like to stay in Poland
The salaries would need to go considerably up though
In other news, reading this in the star order is pretty hilarious.
12:53
@BartekBanachewicz get into the govt and you're set for life :v
meh I'd like to continue doing what I do mostly
well and speak on conferences more perhaps
but I'd also like to be reasonably able to afford a Panamera
user1804599
I'd say endsWith('foo', '') == false is the correct behavior. Because foo doesn't end with nothing. 'Foo' ends with 'o', 'oo' and 'Foo'. — MrHus Apr 13 '12 at 13:34
user1804599
ugh
Mar 4 '15 at 15:36, by Bartek Banachewicz
OH GODS OF HASKELL HOW DID I OFFEND YOU
3
lol
Feb 26 '13 at 21:20, by Cat Plus Plus
The only people here not recommending Haskell are too dumb to learn it
this is gold as well
12:57
Nov 13 '14 at 12:08, by R. Martinho Fernandes
@BartekBanachewicz ITT Bartek humiliates himself by openly admitting lack of understanding of fundamental Haskell principles.
oh that
foldl (return a) xs (>>=)
@набиячлэвэлиь Good morning
@Griwes it would actually be cool if quotes displayed stars
user1804599
@BartekBanachewicz wtf dat code
12:59
so that you could actually star the quoted message
user1804599
y u no Kleisli and (>>>)
@Zoidberg because I was nub back then
Well, you can, just with some additional boilerplate.
user1804599
<dt><code>bind&lt;TM>((function(T): IO&lt;TM>) $f): IO&lt;TM></code></dt>
<dd>Combine this I/O action with a Kleisli arrow.</dd>

« first day (2027 days earlier)      last day (3147 days later) »