« first day (1619 days earlier)      last day (3319 days later) » 

12:00 PM
@Mgetz 404
 
@LightnessRacesinOrbit spacex.com/media
 
user1804599
I prefer the conspiracy.
 
user1804599
:tinfoil:
 
@райтфолд No links to conspiracy.
AFAIK the author made it up themselves.
Not that I expect tech journalism to be any good.
 
user1804599
12:04 PM
I still like to believe there are aliens.
 
@райтфолд if you want conspiracy, the ESA refuses to release any photos at high res
 
Man. I hate it when I find kickstarter stuff I want to back and it's over.
 
"What is wrong with you people!" Dude, this is not a good start. — Lightness Races in Orbit 19 secs ago
 
@райтфолд lol at commenter who debunks the truth by pointing out that Dawn has infrared cameras.
because infrared cameras are guaranteed to work whenever there is no visible light, you see.
 
12:07 PM
First sentence is lol (in Italian) /cc @Jefffrey
 
user1804599
Speaking of which, maybe I should remove the infinite loop from my object file parser when it encounters premature EOF.
 
@LightnessRacesinOrbit watching the blind leading the blind:
4
Q: speed issue in my project from pointing to an int

sina TavakoliI am working on a project in which a great number of objects interact with each other. And I am having a performance problem with my code. Lets say it has a structure as described below. There is a class (lets call it "A") like this: class A { /*Some methods and variables*/ public: const...

 
@райтфолд nah
 
> The announcement came from Windows's vice president, Terry Myerson, [...]
Great journalism there
 
4 mins ago, by R. Martinho Fernandes
Not that I expect tech journalism to be any good.
 
12:09 PM
@R.MartinhoFernandes Hehe
This is really embarrassing though
 
user1804599
Journalists gonna journal.
 
@AndyProwl What's wrong with it?
 
> Windows's vice president
 
@AndyProwl Yeah. What's wrong with it?
 
Windows is not a company is it?
You can't be the president of a product
 
12:11 PM
@AndyProwl Divisions can have Vice Presidents.
Terry Myerson (born 1972 or 1973) is Microsoft's Executive Vice President of Operating Systems. He graduated from Duke University in 1992 and founded Intersé Corporation, which Microsoft purchased in 1997. At Microsoft, he led software and engineering teams behind Microsoft Exchange and Windows Phone before his executive promotion in the company's July 2013 reorganization. == §Education and career == Myerson attended Duke University, where he studied in the college of arts and sciences for a semester before choosing a mechanical engineering major. While in college, he worked as a waiter and a part...
Now apologise to the journalist.
 
:(
I apologize, unknown journalist. (He's still not the vice president of Windows though)
 
(He is.)
@Mgetz images are all squishy :(
huh F5 fixed it
 
@LightnessRacesinOrbit @AndyProwl's actually right. "Microsoft's Executive Vice President of Operating Systems" MS's divisions AFAIK are lead by vice presidents.
 
@LightnessRacesinOrbit He should have written something like Vice President, Operating Systems Group. Not "Windows's Vice President"
 
@MarkGarcia That's literally the opposite of what Andy said, and precisely what I said.
2 mins ago, by Lightness Races in Orbit
@AndyProwl Divisions can have Vice Presidents.
Nice try, though.
@AndyProwl It's a shorthand. It's a description. Not his formal title.
Like saying he's the "boss". Well, no, he's not the boss, he's the Executive President of Monetisation and Corporate Affairs.
or whjateva
 
12:14 PM
guys, does anyone here use an UPS at home?
 
@LightnessRacesinOrbit Oh, then I've read it differently. Thought you were saying that he's the VP of the division.
 
@BartekBanachewicz Yes.
 
@LightnessRacesinOrbit I mean at home specifically
 
@MarkGarcia Yes, he is....
@MarkGarcia And that's precisely what you just said!!!
wtf dude
 
@BartekBanachewicz If I get to snatch one at work. :P
 
12:15 PM
My research shows that for a reasonably modern PC it should be around €250-300
 
@BartekBanachewicz Always wanted to. But never got around to it. Plus my supply here's pretty good. So nope. At work though.
 
Since I'm possibly redoing the power network here I am thinking about that too
 
So uh...
 
I always wanted to buy one but welp
 
"Most everything uses DWARF"
Surprise, Lua uses SJLJ? IDK?
 
12:17 PM
@LightnessRacesinOrbit We had the best things at Intel. Car-sized batteries + 2 separate fuel-based generators
the whole site could theoretically work on its own power for days
the batteries covered the generators' startup time
but yeah, that was Intel :S
 
@LightnessRacesinOrbit Nope. What I said is that he's MS's VP, not Window's. He heads the division, as a VP of the company. Ah well, I think I get what you're thinking. Off with this! :)
@Cinch Compile the libraries yourself. No problems! (with exception handling, that is)
 
@MarkGarcia I am...
I think I need to link libc++ if i compile using g++
 
wat
 
It's giving me the __gxx_personality_vo thing
Or, well, you know...
WE COULD COMPILE THE FREAKING LUA USING g++
Ugh I swear.
Everyone here, star my words:
 
> THE LUA
 
12:25 PM
Cinch is an idiot.
 
@MarkGarcia Yes, he's the VP for Operating Systems. The MS VP in charge of Windows. The MS VP who belongs to the Windows project. Windows's VP.
 
@BartekBanachewicz Wait you used to work for Intel?
 
@Cinch You replied to the wrong guy there bub
 
@Cinch @BartekBanachewicz did. He did say "we" though in reply to LRiO...
 
12:30 PM
@MarkGarcia Him and his Intel friends.
 
@Cinch yes
 
@BartekBanachewicz How are they?
 
@Cinch ssshhh I was just trying to trick him more!
 
Intelligents.
 
I actually recently attended a talk of the IEEE Organizer or something and he said that he used to work at Intel
 
12:31 PM
@MarkGarcia You replied to the wrong guy there bub
lol
 
@MarkGarcia Of course.
BARTEK I AM ACTUALLY THE REAL BARTEK
@MarkGarcia Quick do something
 
Anyways
 
getting that star was a cinch
 
I need to get up in 4 hours.
 
12:32 PM
@LightnessRacesinOrbit I need a real mouse, and a real desk. :/
 
Gotta teach kids Javascript and redstone in Minecraft, y'know?
 
@MarkGarcia yesh
@Cinch yesh
 
no but seriously
i'm excited
as of right now, Hawaii only has, well...
1 Code bootcamp
It's a small startup too
 
@Cinch depends.
 
12:34 PM
I was wondering if I could ever get to work for Intel
 
@Cinch not particularly hard
 
Bah, young dreams are fickle.
I'm actually more interested in attracting more education to Hawaii since it's in a unique place between both Asia and the Americas
And I do want to jump into tech at the same time so...
idk how might the government or state be able to attract potential coding teachers to schools in an effective manner?
And how do you guys feel about interfacing with your Asian counterparts?
 
Asian barteks?
 
@Cinch What do you mean?
 
@Cinch On Hawaii? I'd have thought it was pretty easy to make people move there :p
 
Actually, either people want to stay or people want to leave.
And people that move here often don't fit in or want to leave.
@BartekBanachewicz I need to think of a name for Asian bartek.
Ba-ru-te-ku? Ba-ru-so-re-mi-yu?
 
Oh ffs
Prospective customer routes all traffic through a proxy that MITM's all SSL traffic and downgrades it to SSLv3, and the want a meeting with us to be convinced that our product won't harm their security.
 
Got it:
バルソレミユ バナシュイエズ
 
user1804599
@CatPlusPlus should I use Puppet, Chef or Salt?
 
@Cinch Why? "Bartek" isn't Asian enough?
@Cinch What about Бартек?
 
12:45 PM
バナシュイエズさん は
バルソレミユ王です.
雹!雹!雹!
Uhm... Can anyone decode that?
@R.MartinhoFernandes What is that
 
It's Cyrillic.
Asia isn't just China, Korea, and Japan!
 
@R.MartinhoFernandes When we say, "Asian," we usually think of either SEA people or Indian people.
Americans usually -> CJK
UK -> Indian
Russians are considered more... European.
 
The same way "American" means "from the USA". I know.
 
See?
 
@Cinch What about Kazakhs?
 
12:49 PM
I really don't know.
I am American.
 
are you fat
 
are you dumb
 
@Cinch (Note how I didn't say "it's Russian")
 
@BartekBanachewicz Getting there. 121lbs.
@R.MartinhoFernandes Notice how nobody cares that I'm Okinawan but of course Okinawa has "great significance."
 
ITT Bartek is obviously Kazakh.
 
12:51 PM
If I were from Poland I wouldn't give anything either.
Bah I really need to go to sleep
I need to get up in 3 hours.
@BartekBanachewicz But seriously, I apologize if I offended you in anyway.
 
ASR
Hi all I want to learn C++ can any one suggest me good tutorial links
 
@ASR You do not want tutorials. You want a good book.
Well, unless you want to badly learn shit C++.
inb4 logical fallacy
(I'm watching you, Robot)
 
ASR
@LightnessRacesinOrbit ok thanks, any online editor to run my programs ?
 
12:55 PM
@ASR Do you care about privacy?...
 
@LightnessRacesinOrbit I wouldn't call it racism in any way.
 
@R.MartinhoFernandes Not even as a funny joke?
 
It's just a pet peeve of mine when people seemingly forget that there's a bit more world out there (not that they necessarily do, but it's easy to trigger).
 
ASR
@Cinch no
 
He didn't offend anyone, either. Which was kind of the point.
 
ASR
12:55 PM
@LightnessRacesinOrbit thanks
 
@ASR Strange. But whatever.
 
@ASR start by going through this:
 
@ASR Please send me your personally identifying information.
@Cinch STAHP
 
ASR
@Cinch thanks :)
 
12:56 PM
2 mins ago, by Lightness Races in Orbit
@ASR You do not want tutorials. You want a good book.
 
It's not the best, but it's free resources.
 
I think I'll buy a non-physical music album.
 
ffs
you just ruined another potential software developer. thanks
 
ASR
@LightnessRacesinOrbit Personal Identity information means?
 
@ASR It's a joke. Don't bother.
 
12:57 PM
@ASR Full name, address, bank details. That sort of thing.
 
@ASR Like "she" said, get a good book.
 
ASR
@LightnessRacesinOrbit :) ha ha ha
 
@R.MartinhoFernandes That.
 
ASR
12:57 PM
@LightnessRacesinOrbit my bank balance is empty you can send money
:)
 
Honestly getting a good book is important but seeing you're in India I'm unsure of the publishign circumstances but you should still be able to get something online.
 
I've been looking for the physical form of this on eBay but no dice.
 
@Cinch Worldwide shipping exists.
 
ASR
@Cinch yes
 
But you seem to do fine already with Javascript so let's get to this:
 
12:58 PM
> a mountain goats albune
Well, if you like goat-related music: soundcloud.com/gstfs/sets/goat-simulator-ost
/cc @AlexM.
 
@LightnessRacesinOrbit It's a fancy cursive 'm'.
 
Many basic books will not teach you the most useful stuff.
 
@LightnessRacesinOrbit lol
 
@R.MartinhoFernandes It's a "ne"
Clearly a keming problem
 
Books often do not teach build systems, helpful libraries, and the sort.
 
12:59 PM
(You're welcome)
 
ASR
I am poor at algorithms, is it that much important to learn algorithms?
 
@LightnessRacesinOrbit It actually doesn't have The Mountain Goats in it at all. It's just covers by other artists.
 
@ASR Constantly important.
 
@ASR No, it is more important to learn semantics in C++
If you want to learn just the language, you need to study the specifics quite hard as the syntax is quite thick.
 
Just like most of its users.
 
1:00 PM
Algorithms are only important once you start optimizing code and actually need to use them--which is important, but why worry about the fastest sort if you can't even code the container to sort through?
You should touch on the following topics:
- Debugging with GDB/LLDB
- Build/build systems, i.e. the GCC `make` utility as the most basic, CMake as a system for creating or configuring `makefiles`, and Ninja as a much better alternative in the future
 
ASR
@LightnessRacesinOrbit thanks
@Cinch you too :)
 
- Generic programming (i.e. being able to substitute different variable types into functions) with templates
- Manual memory management (using pointers, references)
 
@ASR - Classes, composition, operator overloading, encapsulation, etc etc etc.
 
@Cinch ninja isn't bad, I used it a couple of times for the chromium sources
 
1:04 PM
When you get past the novice level you'll probably want to take a look at these topics. Many resources cover the basics but after you'll need to learn more about paradigms rather than just "algorithms*
 
I just hate CMake's syntax. It feels kinda sick.
 
Ninja is not an alternative to CMake.
 
@ASR May I ask why you want to learn C++?
@R.MartinhoFernandes alternative to build/build systems
 
make is not "the GCC make utility"
@Cinch Ninja is not an alternative to build systems.
 
@R.MartinhoFernandes Not important to him right now.
 
1:06 PM
You brought it up!
 
He was just having another of his teaching orgasms
 
ASR
@Cinch I know java, I am always interested in write coding, in java they have given API, so I want to improve writing my code and I dnt know much idea about data structures.
 
@ASR What will you be using C++ for?
 
ASR
@Cinch for learning data structures.
 
You don't need C++ for that.
 
1:08 PM
@Cinch mostly hello worlds and viruses for scientific programs
 
ASR
@R.MartinhoFernandes then What I need?
 
If you want to learn data structures find material that covers data structures, not material that covers C++.
 
@ASR Why do you need or want to learn data structures?
School? Work? Or hobby?
 
ASR
where can I find real time projects in c++? Now a days I never seen the projects in c++.
 
@ASR I like to fool around but I have to agree with the others. C++ is a language, is not the only language you can use with data structures. The principles stand regardless of the language used to implement them (if it's not abstracting too much)
 
ASR
1:10 PM
@Cinch hobby.
 
@ASR You won't understand most of the true projects out there on the web because they will be using concepts and new features of C++ that have been over 10 years in the making
 
@MarcoA. The bigger problem is that C++ is hard enough that you don't want to also be learning data structures along with it, through it.
 
@R.MartinhoFernandes Then what else? How do you REALLY learn how a linked list works?
What other language has manual memory management?
 
1
A: Binary String to Hex c++

seheRead input from a stream and output a single character each 4 bytes. Here's the gist: char nibble[4]; while (std::cin.read(nibble, 4)) { std::cout << "0123456789abcdef"[ (nibble[0]!='0')*8 + (nibble[1]!='0')*4 + (nibble[2]!='0')*2 + (nibble[3]...

Ah. Delicious old fashioned performance wanking. In which all the other answer fail to realize that the main scalability bottleneck is reuqiring huge memory allocations in the first place
 
1:11 PM
@ASR You need to start at the very beginning--you will not be able to do much alone unless you start learning.
 
ASR
@Cinch I really dnt know much about c++, it is one of my subject in a semister. :(
 
@Cinch I thought he wanted to learn data structures, not manual memory management.
 
inb4 check out this tutorial
 
@R.MartinhoFernandes Linked list -> pointers -> memory management.
 
@Cinch No. No. No.
 
1:12 PM
lol
 
@Cinch C :)
 
@ASR That's terrible. C++ should not be glossed over in just 1 semester.
I am a college student too so I know how it feels and it is just bad.
 
@R.MartinhoFernandes I agree. I studied data structures with some java-coded books. At first I thought "damn java" but then it really made my life easier.
 
ASR
@Cinch I just started participate in competitive programming, so every where algorithms are there. so some one suggested me learn c++.
 
as usual: the right tool for the right job.
 
1:13 PM
@ASR I believe C++ programmers end up going the farthest on average in competitions. So yes?
 
@ASR Wow. I wonder why they didn't suggest you learn algorithms.
That's ridiculous.
 
@R.MartinhoFernandes Maybe competitors suggested it. They don't want him to win
 
@AndyProwl lol
 
@ASR If I may continue... Start with "Hello world." Then go to "Input/Output." Then go to "File Input/Output"
 
ASR
@R.MartinhoFernandes C++ is the base for Java they told me
 
1:14 PM
@ASR Yes and no.
 
@ASR lol, no
 
these comparisons are useful to nothing
 
ASR
@Cinch :yes
 
and prone to errors and religious flame wars
 
1:15 PM
@ASR No, I mean the answer is both yes and no.
 
I recommend not taking any advice from those people, but then I'm just another stranger on the Internet.
 
@ASR Java and C++ are similar, but also very different once you get to know both of them.
 
@Cinch lol man come on
 
The answer is hardly both yes and no. Java and C++ are just completely different languages
 
1:15 PM
Java is almost, but not quite, entirely unlike C++.
7
 
ASR
@Cinch I am confused :( I want to be a better programmer. Please give me suggestions
 
I also recommend not to take any additional piece of advice from those guys. Otherwise the next one will be "and python is the direct son of C++, his mother is ruby because red is a woman's color"
 
I am not sure if I want to be a better pgorammer
 
@ASR You are thinking so simple! There is no "better programmer path" for you! You get better simply by coding and taking on challenging projects!
The best thing is to just "do" rather than keep asking how to learn all day. Just learn.
 
@ASR I don't want to sound harsh, but please don't listen to Cinch's suggestion. He's himself a noob but wants to teach other people at all costs. Listen to Martinho instead.
 
1:17 PM
Robot is right
 
Robot's always right
 
(Who's this robot?)
 
ASR
@BartekBanachewicz ok
 
1:18 PM
lol
 
@BartekBanachewicz First you need to become a better tpyer! :P
 
@AndyProwl grr
well-timed
 
haha
 
ASR
@BartekBanachewicz thanks
@AndyProwl thanks
 
1:19 PM
tanks
 
world of thanks
 
ASR
:)
 
@AndyProwl that reminds me of a nice "you're now leaving Rome, please come back with many tanks" signboard on the road
 
FWIW, I did competitive programming in high school and I was in the IOI'04.
 
@MarcoA. lol
 
1:23 PM
I didn't learn C++. I didn't learn any new language.
I used only some bare minimal knowledge of C I had.
 
user1804599
How do you get the memory usage of a program?
 
user1804599
All I can find is how to get it by process and that breaks horribly with shared memory.
 
@райтфолд Profiler.
 
@R.MartinhoFernandes oh you never told us
 
user1804599
@R.MartinhoFernandes Good idea, profiling MySQL on a production server.
 
1:24 PM
I didn't even know about qsort so I always wrote my own quicksorts every single time.
2
 
to get into IOI you needed to be the best in your country right?
 
@R.MartinhoFernandes How long have you been using C++?
 
I didn't know about function pointers either, so I always hardcoded the comparison.
@BartekBanachewicz We had four spots to fill.
 
the funniest competition thing I did was Deadline24
 
I was actually fourth at national level, but obtained the best results of the four in the IOI.
 
1:27 PM
I wasn't good enough to get to latest stage in our national olympiade anyway
 
Oh wow looks like I still qualify.
 
Funny how those competitions are totally not like regular programming
 
At the national level competition, there were three problems to solve. I solved only one, but solved all the corner and hard cases. My eventual teammates solved only about a third of the cases of each problem.
 
@R.MartinhoFernandes that's typically easier because you can fake it often
 
Fake what?
 
1:28 PM
complexity. Or use heuristics
 
Of all competitors there I was the only one to solve a problem completely.
 
Interesting.
 
user1804599
Ugh, htop shows threads.
 
Damn I have 2 hours to sleep
Gnite
 
In the IOI I solved this one completely: ioinformatics.org/locations/ioi04/contest/day2.shtml#p1. It was fun.
I still have full printouts of my code.
It's both beautiful and horrendous.
 
1:32 PM
> Additionally, in 50% of the inputs, M≤2600.
so O(M^3) for 50%
 
I'm sure my co-workers used to do competitive programming while at work. Their code looked like an hydrophobic cat's run on the keyboard.
 
@BartekBanachewicz All problems were set up like that: half the test cases are easy, one of them is horribly hard, and the others are in the middle.
 
O(M) or perhaps O(M log M) for 100%
@R.MartinhoFernandes in our national olympiades they didn't publish the test percentages. Doing a brute force could score anywhere from 10% to 90%
 
> In one input, 1000000≤M≤1100000.
 
1^6 * log(1^6) is doable typically
It was 2004 so I am not sure how fast the PCs were back then
When I was participating I think 2Ghz was a standard
 
1:35 PM
I spent a ton of time upfront just writing an input generator and a validator.
Then I could generate a huge file to make sure I could solve them all.
 
Oh yeah, you get no feedback when submitting a solution.
Well, technically you do: a solution is rejected if it doesn't solve the example given.
 
isn't it run on first 10% tests or something
 
@BartekBanachewicz No. Just the example.
 
> We've learned a lot about the NSA's abilities to hack a computer's BIOS so that the hack survives reinstalling the OS. Now we have a research presentation about it. Bruce S. blog
 
1:37 PM
So std::cout << "1\n2 5\n"; would be accepted.
 
@R.MartinhoFernandes Just the tip :/
 
user1804599
I need a better alternative.
 
user1804599
htop is horrible.
 
Anyway, what I wanted to say is: of the three languages that were accepted (C, C++, and Pascal) I didn't really know any of them really well at all.
 
user1804599
I'll learn how to use top and ps.
 
1:40 PM
@R.MartinhoFernandes I entered Informatica Olympiade once in highschool. Thoroughly enjoyed writing the programs + documentation in Turbo Pascal. Never felt like a competition to me :)
When the natinonal "competion" was held, I had different obligations (musical, most likely). So I let my schoolmates go without me
 
user1804599
Informatica was verschrikkelijk op de middelbare school.
 
Jul 18 '11 at 17:34, by Martinho Fernandes
And I went to IOI.
 
@райтфолд What's bad about it?
@райтфолд No relation whatsoever
 
user1804599
@sehe selected process changes automatically just before hitting return in the kill screen, so I often end up killing the wrong process.
 
user1804599
Because you can only select a table row, not a process.
 
user1804599
1:43 PM
And when the order of the processes changes, so does the process which appears in the selected row.
 
@ASR Write more code
 
@райтфолд don't do that then :) Use `\` to filter first. Then, hit space to mark. /Then/ kill
 
user1804599
TIL about backslash.
 
By the way `\` is my feature :) I implemented it in htop
I thought / was braindead. I wanted incremental filtering on the fly
 
user1804599
Cool.
 
user1804599
1:51 PM
Yeah / is terrible.
 
@R.MartinhoFernandes I hate this stuff
 
user1804599
Ik haat op htop.
 
It makes me sound like a code monkey but I vastly prefer bug-fixing
I also enjoy architectural design of new projects but that's mostly for the fame and glory
 
ASR
@Jefffrey I need to some exercises and assignments, do you know any links?
 
you really don't.
unless you're at terribly basic level in which case it'd be best to get a dedicated someone who can help you
otherwise you should be able to pick stuff you want to do yourself
 
user1804599
1:53 PM
Help me decide on a syntax for quasi-quotation.
 
ASR
@BartekBanachewicz can you help me?
 
@райтфолд I like boo's [| |] with $() splices.
 
@ASR Didn't I link you to our recommended book list, like, an hour ago?
 
The [| |] bits stand out and don't take symbols you may want elsewhere.
 
That's not bad
 
ASR
1:56 PM
@LightnessRacesinOrbit yes
 

« first day (1619 days earlier)      last day (3319 days later) »