« first day (1384 days earlier)      last day (3556 days later) » 

6:00 PM
The guy who writes Websharper is a reg.
 
user784668
@LightnessRacesinOrbit Okay, so you're an exception.
 
Would be nice with a Cat reg to get some ughs.
 
@chris I know what you mean, you ask them for a java book recommendation and they want you to fill out a form like you're at the DMV, half of the room is super anally retentive about everything.
 
@chris Because when people take things completely for granted, it will (almost) always involve all sorts of messy crap, which runs contrary to a clean abstraction.
 
I can't follow two chats
Also blegh AGPL framework
 
6:03 PM
Imagine how much easier life would be if every platform used the same good character encoding right from the start.
 
It's not a platform issue
Also one-size-fits-all never works out
There's a reason there's more than one Unicode encoding!
 
user784668
AGPL? Is that the license that says that if you've heard about the project, all your code has to be GPL'd?
 
If people weren't bad at programming it wouldn't be an issue
@Fanael Yes
You're welcome
 
user784668
@CatPlusPlus He said good character encoding, so Unicode encodings are not relevant.
 
Unicode is not an encoding
So pfffffffffffffffffffffffftbbtbtbtb
@CatPlusPlus The title of the question is more general than the code in the question. OP's code works for the 26 characters to which it is meant to apply. — dasblinkenlight 2 mins ago
 
6:06 PM
well, it is
 
Ell
@CatPlusPlus He did say "Unicode encodings"
 
Edits don't count
 
Ell
oh. My bad
@LightnessRacesinOrbit Unicode is a standard
 
It's not what he refers to
wtb downvoting comments and also shooting people over the internet
 
user784668
6:07 PM
TBF the problem is Unicode itself, not its transformation formats.
 
@Ell and ASCII is a standard
 
The problem is with humanity
Unicode just follows the insanity
 
> The standard consists of a set of code charts for visual reference, an encoding method and set of standard character encodings, a set of reference data computer files, and a number of related items, such as character properties, rules for normalization, decomposition, collation, rendering, and bidirectional display order (for the correct display of text containing both right-to-left scripts, such as Arabic and Hebrew, and left-to-right scripts).
 
@Fanael The real problem is with ISO 10646, which is the character set that Unicode is (at least usually) used to encode.
 
Has-a, not is-a, I'll grant you. But no further than that.
 
Ell
6:08 PM
@LightnessRacesinOrbit Well. I think ascii is a standard for character encoding
 
@Ell You think correctly!!
 
Ell
whereas unicode is a group of standards for encoding + character set
 
@LightnessRacesinOrbit wth
 
> Furthermore, this works no matter how many pigeons you have. "You can put an infinite number of pigeons in two boxes, and no two pigeons will be in the same box,"
fuck.
I thought that QM was already batshit insane?
 
user784668
@Puppy what
 
My head hurts just from the title
 
Huh.
> "Then we would have the very first ever experimental proof that quantum mechanics is wrong. But I'm sure that won't happen."
I would laugh.
 
Finally, all music ever recorded to fit onto one floppy disk.
 
so
technically I don't have a job now :D
I'm going to sign everything tomorrow
feels weird to not be at intel
 
-_-
0
Q: Why is there garbage in strcpy from source to destination for 15+ chars?

Aditya BistI have this code - #include <string.h> #include <stdlib.h> #include <stdio.h> int main() { char *letter_data = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; char a[16]; strncpy(a, letter_data, sizeof(a)+1); printf("The first sixteen letters are: %s\n", a); return 0; } When i compile this here - ht...

 
6:17 PM
What's wrong with unicode now
 
I should prolly download netbeans
oh @ruben nice that you're here I need MinGW
 
@BartekBanachewicz why
 
@CatPlusPlus why not?
 
Because it's shit
 
6:19 PM
Cat, you're funny.
 
If you want a Java IDE, get IntelliJ
 
why is it shit? What should I use instead?
 
oh
Netbeans, not MinGW.
 
No, I want a C++ IDE.
 
@BartekBanachewicz Qt Creator.
 
6:19 PM
Then get Qt Creator
 
Yay!
It even has Clang syntax shizzle
 
Is it worth to migrate the build files?
 
Jun 9 at 23:58, by crasic
unicode is pretty cool
 
Netbeans is a good at C++ as Eclipse
 
@BartekBanachewicz to CMake? Sure.
 
6:20 PM
Build system is not a reason to keep using a crappy IDE
 
@CatPlusPlus okey
 
To qmake? If you are the only dev or it's a Qt project.
 
@rubenvb Beh Pacman
They should've ported Portage
 
@CatPlusPlus eh, no.
 
will QTC download MinGW or clang for me?
 
6:21 PM
Oh wait, let's install Qt.
 
are there preconfigured batteries-included packs?
 
<four hours later>
 
Portage best package manager
 
@BartekBanachewicz get MSYS2, install Qt Creator from there
 
It supports binary packages
 
6:21 PM
@CatPlusPlus oh, didn't know.
 
It's still better at everything than any other Linux package manager
Even if you ignore binpkgs
USE is enough of a reason to ignore binpkgs really
 
user784668
something something funroll-loops
 
I don't see a QTC option for x64 on windows
 
@BartekBanachewicz GET MSYS2
FFS
 
I found that if you want to use 64-bit MinGW you have to compile most things manually anyway
 
6:23 PM
@rubenvb okay
 
GET MSYS2 IT HAS EVERYTHING ALREADY COMPILED FOR YOU
djeezes
 
so I am downloading MSYS2 then
 
Good :-p
 
don't shout at me I can't use that C++ gimmick
 
How much is MSYS2 paying you
 
user784668
6:24 PM
@CatPlusPlus $100%
 
install, pacman -S mingw-w64-x86_64-* where * is any of gcc, qt-creator, and any lib you need. replace x86_64 with i686 for 32-bit.
 
Also stupid Sourceforge how do I get rid of the subscribe-on-download shit
Why is Sourceforge still a thing
 
It works just like on Linux.
 
Why does this shit still exist
 
oh man the newest edition of the book I wanted to get is currently not available amazon.com/Java-Programming-Language-Edition-Series/dp/…
 
user784668
6:25 PM
@rubenvb So, it doesn't?
 
@rubenvb I have no idea how it works on linux
 
@CatPlusPlus Nothing, but I really really like the idea of a decent managed package system on Windows.
 
I just use apt-get install ghc
 
@BartekBanachewicz pacman -Syu is full system update
 
or just download haskell platform
 
6:25 PM
pacman -Ss searchterm is search
 
@rubenvb fuck those cryptic memonics
 
@rubenvb Meh, doesn't help for MSVC anyway
 
pacman -S packagename is install.
 
why the fuck would you call that -Ss
why not search
 
pacman -Syu is full system breakage
 
6:26 PM
@CatPlusPlus But that has NuGet, doesn't it :-^p
 
Ssssssss BOOM
 
user784668
@BartekBanachewicz --sync --search
 
If they're faithful to the original
 
@rubenvb It's meh for C++
 
6:26 PM
@CatPlusPlus note the :^-P
It's made by Microsoft, of course it's meh for C++.
 
C++ is meh
 
The smiley is different from the one you have posted. So which is it? :-^p or :^-p
 
inb4 Xeo writing in AS all day telling us how C++ is great
 
reply asap
 
6:27 PM
@Jefffrey ^:-p
 
unicorns yay
 
Xeo
@BartekBanachewicz YaY C++ \o/
 
lol
 
Xeo
barely touching AS3 at the moment!
delegating all the annoying client shit to other people =D
 
focusing on annoying C++ shit instead
 
6:28 PM
I really hope AS is not action script
 
meh at least I don't need MSVC compatibility at all
 
Xeo
@BartekBanachewicz I wuv C++
 
my (our) goal is 100% conformant C++11
lol the other dev even asked
> why don't we go the whole step towards C++14 then?
I had to tell him that exotic toolchains get a while to adapt, but I like his attitude
 
> exotic
 
NDK yay.
At least iOS is not a problem.
 
6:30 PM
~clang be so exotic~
 
NDK is never the latest and greatest
 
@BartekBanachewicz doesn't that come with GCC or can't GCC be built to work with the NDK?
 
user784668
But GCC is so exotic.
 
@rubenvb not using the one provided is asking for disaster
I am not going to risk issues for polymorphic lambdas
 
user784668
Besides, GCC is so 2008.
 
6:31 PM
@Fanael lol. GCC 4.4 maybe
 
4.4 was the thing
-std=c++0x
 
@BartekBanachewicz NDK supports C++11?
 
@CatPlusPlus for quite some time now
 
how's the C++ exceptions business on Android anyways?
A complete failure?
:-p
 
dat pun
 
6:32 PM
Android is just another linux.
 
But with a crappy libc?
 
Yeah, just another Linux
 
lol.
glibc is better than msvcrt
 
it's just another crappy linux no less
but it's still just another linux
 
6:33 PM
There's no such thing as not-crappy libc
libc is broken as designed and also as implemented
 
there's no not-crappy C
 
errywhere
 
what the fuck I got a shell
 
We need to change topic
 
Xeo
Hm... so, I got a mobile phone contract thingy
 
6:34 PM
It's getting stale
 
user784668
@rubenvb lol "glibc is better than anything"
 
I read that I would need to use java to develop an android app. Are there c++ api's I can use to access the features that phones have and stuff?
or at least I read that it was recommended
 
You can use NDK if you're a total masochist
 
wha the hell 9-pt font
 
@Fanael dat pun. No, wait. I don't get it.
 
6:34 PM
you certainly can use C++ APIs for stuff.
 
Why would you want to is another matter
JNI is shit
 
@AaronKyleKilleen fuck that recommendation
I mean yeah don't use C++ because you like it
if you're a reasonable person you don't like C++ so that's not a problem
So you get to the point where you have to use it
and then NDK is okay-ish
 
@CatPlusPlus yeah I figured it would just be easier to use java and I just imagine the api's would be incredibly esoteric with not a lot information I could find on how to use them
 
It's JNI
 
@CatPlusPlus the c++ api's i mean
 
6:36 PM
It's very much not C++
 
95% of C++ APIs is shit
you should get used to it
 
@BartekBanachewicz oh I like c++, it's by far my main language
3
 
dat pun
 
@ruben installing gcc
@AaronKyleKilleen that just means you haven't tried enough languages
 
> Furthermore, this works no matter how many pigeons you have. "You can put an infinite number of pigeons in two boxes, and no two pigeons will be in the same box," says Tollaksen (arxiv.org/abs/1407.3194).
> This is a surprising breakthrough, says Paul Davies at Arizona State University in Tempe.
quantum physicists just make bullshit up I swear
this stuff belongs on thedailymash.co.uk
 
user784668
6:38 PM
Quantum bullshit.
 
yeah, infinite pigeons.
 
gcc version 4.5.2 (GCC)
@ruben halp
 
@BartekBanachewicz You're as bad as Puppy
 
@BartekBanachewicz well I'm not going to be doing anything that tries to push the limits of what a smart phone can do it's going to mostly use standard features in a standard way. I just imagine they've put most of their resources into java and so for a large portion of the UI they've already done the work for you, I imagine if I did c++ i'd have to reinvent the wheel.
 
it said it was installing 4.9 :/
 
6:40 PM
I had some quantumkatie.x domains for a while. Sad that I never used them :(
 
and why the fuck
would that thing
install into my DEV/Haskell
 
so the festival I was planning to go to in like two weeks fell through...
 
what the fuck
 
@BartekBanachewicz :lol:
 
@CatPlusPlus dude that's not even funny
 
6:41 PM
so, who wants to meetup in the Midlands area around the 16thish
 
user784668
@BartekBanachewicz Oh, I can assure you it is.
 
I just had a strange idea
 
quit programming?
 
@Jefffrey no, that's a good idea
 
6:41 PM
maybe that's wrong G++
 
time to install REE
 
@LightnessRacesinOrbit yeah there's a bunch of bad philosophy in that quantum physics, logical positivism and whatnot they sometimes say dumb things, they seem to believe that if no one is looking at something, it doesn't exist
 
user784668
> nie udało się odwidlić nowego procesu
3
 
yeah
"odwidlić"
 
6:42 PM
that reminds me of how stupid the schrgetrfwyguhugygnger cat thing is
 
Translated errors are extremely funny and annoying
 
user784668
Twoja stara odwidla nowe procesy~
 
people who translate errors to polish are communists
@Fanael sublime
 
Nie śpię odwidlam kredens
 
6:43 PM
~inside jokes~
 
@AaronKyleKilleen It's a very-well-known scientific fact, proven in thousands of experiments and the operation of our advanced technology based on this principle, that you can't observe a quantum system without interacting with it and changing its state.
 
user784668
@CatPlusPlus msys2-runtime update, I bet?
 
user784668
These need to be done separately, else you get awesome errors like that.
 
@Fanael That updated with no problem
It died on gnupg :v
 
6:44 PM
I can already see GitHub with "Odwidlenie" button
 
@puppy that's not the same as saying that if it's not being observed it doesn't exist.
 
user784668
@CatPlusPlus Caused by a msys2-runtime update.
 
Well at least it's not "nie udało się odwidelcować nowego procesu"
 
I wish that was a joke :(
 
6:45 PM
Yeah I know
 
@AaronKyleKilleen Well, it can be. Existing or not is clearly a change in state.
 
19 mins ago, by Cat Plus Plus
pacman -Syu is full system breakage
19 mins ago, by Cat Plus Plus
If they're faithful to the original
I did guess though :v
 
@thecoshman maybe
grab Martin and come to Notts
do you have a funny accent
 
amazing
running stuff as administrator breaks High-DPI scaling
WHAT THE FUCK windows
 
unable to find identifier funny in objective namespace
holy shit
 
6:49 PM
@BartekBanachewicz Now that's profile/privilege separation!
 
I just had a huuuuuuge dejavu
 
Your mom
 
@LightnessRacesinOrbit I'm always up for a beer.
 
@sehe so only the users are privileged to see non-eye-fucking-text?
@MartinJames he's an oblivious fella, huh
 
Or vice versa. Also. Check your privilege!
 
6:50 PM
btw I haven't seen you around much, Martin
what where you up to
 
drinking most likely
 
gcc version 4.9.0 (Rev4, Built by MSYS2 project)
 
@BartekBanachewicz I've been w**king :)
 
Xeo
... fuck you, O2 :( They let me change my password to a 64 char one, but don't accept any over 30 chars when logging in
 
6:51 PM
@Jefffrey that
 
@puppy well some of them seem to think that for example, the moon is not there when no one is looking at it, which is clearly insane.
 
@MartinJames walking? :P
 
Xeo
They silently cut off the last 34 chars
 
@BartekBanachewicz wink wink
 
@BartekBanachewicz That too.
 
6:51 PM
@Xeo I've had that happen before. It sucks. Because you can't log in.
 
> too
 
@sehe winking? :D
 
Xeo
24 secs ago, by Xeo
They silently cut off the last 34 chars
I tried with the first 30 chars on a whim
 
lol fuckers
 
@Xeo I had a case where it didn't cut it off.
 
6:51 PM
try 10
 
@BartekBanachewicz Maybe blinking, when sunny.
 
@Xeo sounds reasonable. 30 chars ought to be anough for anyone
8
 
So I had to do a password reset.
 
Xeo
@Mysticial :s
 
@sehe I don't think I have an passwords that long. But I do have a few upwards of 25.
 
@Jefffrey I'm listening
 
@Xeo bad ux is bad
 
@rubenvb now it doesn't find pacman
 
Xeo
@Mysticial Since I switched to KeePass, I've just been generating mine
 
6:53 PM
@thecoshman I will pencil in w/e 16th for a Notts unconference.
 
@Xeo lol, I don't trust my passwords to any application.
 
not feeding his poor dog
 
Someone go feed the puppy.
 
@AaronKyleKilleen The Moon and electrons behave very, very differently.
 
6:55 PM
@Xeo I also had that before. Except it was 2005. And the limit was 6 chars.
 
@Mgetz MISRA Standard enforces us to identify private members with a leading underscore. — Marc-O 7 hours ago
 
(lol)
 
Xeo
@Mysticial I don't trust my brain with passwords :)
 
what the fuck
why does QTC take 3GB
 
Xeo
@milleniumbug My bank only allows 5 chars :(
 
6:55 PM
download: 500MB. Installed size: 3GB.
for fucks sake
 
Xeo
but I can change the login name, so I changed that to a random 15-char string
 
@Xeo lol
 
I should've bought that 512GB SSD
 
Xeo
wut
 
I will just buy another 256 vOv
 
6:56 PM
@Xeo I have them written down somewhere (encrypted). But it's offline and I rarely ever access it.
 
and put it in the M.2 slot
 
@Mgetz Too bad you're wrong.
 
@LightnessRacesinOrbit about leading underscores or UB?
 
Since there's only like 4 or 5 places that I constantly have to login to and I remember those.
 
6:57 PM
@Mgetz A single leading underscore with anything other than a capital letter following it is perfectly fine outside of global scope
 
Probably pointless..
 
@LightnessRacesinOrbit Or another underscore
 
@StackedCrooked yes..
@chris or another underscore
@StackedCrooked A\nA\n, obviously
 
@StackedCrooked If it's not "butts" then I'm not interested
 
-4
A: What is operator T* (where T is a template parameter ) in C++?

oknsnloperator T*() something like that used for class reference as i guess but at your situtation it is just used for compare with the null, as i said im not totaly sure.I hope it will help!

lol, great "answer"
 
6:59 PM
lol who'd ask LRIO as "personal advisor".
 
@FredOverflow lol
 

« first day (1384 days earlier)      last day (3556 days later) »