« first day (848 days earlier)      last day (4085 days later) » 

12:00 PM
@LightnessRacesinOrbit I've seen that over 6 months ago
 
user142019
What about lifetime?
 
@Zoidberg Around 500Mb/s write speed. At least 250Mb/s write
 
@sehe Well whoop-de-doo. Arsehole.
 
@Zoidberg Nobody knows.
 
@rubenvb nvm, you just doing it wrong.
 
12:00 PM
@LightnessRacesinOrbit Good morning to you too
 
@Zoidberg Compared to what? The crappiest SSD is hugely better than a spinner for everything except $/GB.
 
@sehe It was until you came along!
 
@LightnessRacesinOrbit why so angry?
 
@LightnessRacesinOrbit It still is. Settle your mind and you'll be able to recover it
 
user142019
12:01 PM
This one is 520 MB/s write speed 540 MB/s reading speed.
 
@JohanLarsson I'm not
@JohanLarsson sehe is being weird today
 
user142019
512 GB
 
@Zoidberg Sounds top of the bill
 
@JohanLarsson i'll just plonk him for a while
 
@Abyx Wow that's helpful. If you weren't going to help, please shut up in the future. It saves my keyboard from wearing out by typing replies to unhelpful people.
 
user142019
12:01 PM
@sehe Indeed, quite a bill. 420.99 EUR.
 
@Zoidberg I hope that's for more than 256Gb
 
@LightnessRacesinOrbit ok I failed to see it but my English sux so I would miss very obvious stuff
 
@rubenvb didn't you hear? "you just doing it wrong" contains a secret message behind a ciphertext
 
user142019
@sehe 512 GB.
 
@Zoidberg Not bad.
 
user142019
SATA III what does that mean. xD
 
user142019
Is that the interface?
 
user142019
Haha.
 
wrong
 
12:03 PM
@Zoidberg 6Gbps, IIRC
@Zoidberg Yes
 
user142019
@sehe Afzetters.
 
@JohanLarsson TB?
 
That's a lot for OS etc. The only way I could justify 512GB is if I had hundreds of unfinished apps.
 
@Zoidberg Don't get ripped: tweakers.net/pricewatch/318331/…
 
@LightnessRacesinOrbit oh, right. I'll fix my code with @Abyx' suggestions hidden behind his gloating right now :P
 
user142019
12:04 PM
@sehe Oh cool.
 
@MartinJames lol
 
-1
Q: Trouble with Copy Constructor of doubly Linked List

CerebralGarconConsider the code Below: //In list.h template <class T> struct Node { T value; Node<T> *next; Node<T> *prev; Node(T Val) { this->value = Val; this->next = NULL; this->prev = NULL; } }; /* This is the generic List clas...

 
I just emptied my bank account upgrading my PC.
 
@rubenvb glad to have been of assistance
 
user142019
I need to buy a new computer.
 
12:04 PM
Core i5 3570k, 8GB RAM.
 
@Zoidberg you should invent one
 
user142019
I'm just gonna buy separate components.
 
user142019
With epic specs.
 
some cheap mobo.
 
@rubenvb your mum's a cheap mobo
 
user142019
12:05 PM
So I can run Vim, Z shell, xmonad and Chromium much faster! xD
 
Then I can finally use my HD6970.
cause my current E8400 with DDR2 RAM ain't pulling it :)
 
@Zoidberg Just buy a 128Gb one
 
user142019
Good idea.
 
hah, JOKE RE-USE GOLD
 
user142019
Nah.
 
user142019
12:07 PM
I have 100 GB used on my laptop already.
 
user142019
I don't want to run out of disk space.
 
@rubenvb If you're going to overclock that 3570k take a look at thermalright silver arrow sb-e, overclocked mine to 4.6GHz
 
@sehe: I imagine the question is encoded into the distribution of * tokens like a ciphertext. — Lightness Races in Orbit 40 secs ago
Indeed :)
 
salmon or steak?
 
steak
 
user142019
12:08 PM
I want 16 GB DDR3, 512 GB SSD, Core i7-980X Extreme Edition, ATI Radeon HD7000 and two 27" Apple Thunderbolt Displays. But money.
 
user142019
The CPU alone is more than a thousand dollars.
 
@EdwardA I'll stick to stock for now. But I'll have the option for moar performance later :). The k version was only €10 more expensive
 
Are you sure that's fast enough to run vim?
 
user142019
For the past few months I have been working with only 1 core and 1 GB RAM.
 
user142019
Linux is wonderful.
 
12:11 PM
and that's just in your brain
 
@EdwardA and whut? €100 for a cooler? Are you kidding me?
 
@Zoidberg Why on Earth would you need all that?
people are so greedy
 
@rubenvb Its the best air cooler though
 
My Arctic Freezer 7 Pro did just fine for my E8400.
 
user142019
@LightnessRacesinOrbit Minecraft, Vim, xmonad, Z shell, Chromium and GHC.
 
12:11 PM
@Zoidberg Impressive. What GUI framework are you using?
 
@Zoidberg All of those things work just fine on a £200 PC.
 
user142019
@MartinJames you mean window manager?
 
user142019
xmonad of course.
 
I was thinking about a Coolermaster Hyper 212.
 
makes me laugh that kids these days think you need 16GB RAM and a CPU that can calculate all digits of pi in two seconds
 
12:12 PM
Wow. You may be able to run two copies of vim.
 
@Zoidberg I'm eying something like this: quietpc.com/sys-a40-z77
 
@sehe fanless case == nono
 
@rubenvb Fanless case == mandatory requirement
 
user142019
Also I want liquid helium cooling.
 
why a soundcard?
 
12:13 PM
@rubenvb Thats probably fine too, although I wanted to make sure I can achieve 4.6GHz without cooking eggs on it
 
@Zoidberg The only thing in that list for which you might need an i7-980X "Extreme Edition" (seriously) is GHC, because it's shit.
 
@rubenvb because I want top notch latency and onchip encoding/decoding
 
@EdwardA hehe.
 
@rubenvb sorry, it just can't be helped. that Sleep call, reading after process was terminated, attempt to use two blocking reads in single thread, weird C++, etc. all of that is just wrong, almost every LOC %)
 
What is an HDD silencer? Some sort of weapon?
2
 
user142019
12:14 PM
@LightnessRacesinOrbit stfu GHC is awesome.
 
@MartinJames It silently fires HDDs at your opponent.
 
@MartinJames Yup. It's the thing that makes your spinning disk less annoying (I've got it spinned down 90% of the time)
 
user142019
It compiles on of the few languages that's not bad.
 
@Zoidberg oh puhleaze
 
@Abyx well, the blocking reads have been removed. weird C++, please explain. I prefer string and nullptr over 0/NULL and char[]. The Sleep call was to prevent 100% CPU usage when the child is running.
 
12:15 PM
@Zoidberg That doesn't make it not shit. Look up "logical fallacy" on Wikipedia, then go back to school
"school can't teach me anything" lulz
inb4 "when will I ever need to know about logical fallacies in the entire next 70 years"
 
That language. And I am being weird today?!
 
@rubenvb Again, read up on Win API synchro, esp. WaitForSingleObject() asn suggested by @Abyx
 
@rubenvb you should call that Reads while child is running.
 
user142019
@sehe You're always weird.
 
@Zoidberg Yeah, my point, really. Tomalak has it in fits, like some others, clearly. "Ego depletion" as Dan Ariely/Daniel Pinkman would call it
 
12:16 PM
@Abyx that's what I'm doing now.
That's the thing I fixed today.
 
STARTUPINFOW startup_info = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; - what the fuck is that?
 
@MartinJames can I read when waitforsingleobject is... waiting?
 
@Abyx suggestions welcome. Zero initialization is a bitch.
 
user142019
12:17 PM
@Abyx an initialization of an object of type STARTUPINFOW.
 
@rubenvb = {} would kill you?
 
@rubenvb yes, in another thread.
 
@LightnessRacesinOrbit I think I tried that, didn't want to work.
 
@rubenvb I'm afraid that your code is begining to disappear from my memory, (it is obviously so radioactive that its half-life is very short) but, IIRC, your read() is in a different process?
 
Look at my cube, my cube is amazing~
 
user142019
12:19 PM
lol
 
You and your cube
 
After a week of DirectX shitting on me, I will celebrate my cube.
 
@MartinJames No. It's a parent that "captures" the output from a child. Currently PeekNamedPipe+ReadFile in the parent (single thread) is doing everything I can wish for. I see absolutely no reason for functional multithreading here.
 
And all its colors and textures.
 
What is it that you're trying to achieve anyway?
 
12:19 PM
@rubenvb Code does not have desires. Well, none beyond "please don't let Zoidberg write me".
 
@EdwardA Nirvana.
 
A compiler does though. And it complains like a bitch if you don't do what it wants.
 
@rubenvb I'll give you that
 
@LightnessRacesinOrbit And indeed ={}; nor ={0}; will NOT work for the things in question.
 
@rubenvb Whatever.. a loop that does nothing else except polling a status with Sleep() is always going to be wrong.
 
12:21 PM
@MartinJames and what does waitforsingleobject do different according to you?
Cause it seems to me that's all it does itself.
 
@rubenvb Removes an average of 50ms latency.
 
@rubenvb IIRC, MS's waitBLAHBLAHBLAH apis have a way of using 0 or near-0 CPU while waiting for a condition.
 
they are a simple block, I believe
the waiting thread yields execution until the signal is set.
 
It was either wait or manualresetevent
 
@ThePhD so does Sleep.
 
12:23 PM
@rubenvb ?? WFSO is not polling, (unless timeout set to 0).
 
@rubenvb Well then, go nuts. :D
 
Sleep(100) loop latency = average 50ms, WFSO latency=0.
 
@rubenvb, btw, is it right thing that your process closes write handles?
 
@rubenvb Why?
also, ={0} is almost always wrong (sort of). Its use stems from a misconception.
 
@LightnessRacesinOrbit I use somestruct = {0} all the time...
 
12:25 PM
Well, don't.
 
@LightnessRacesinOrbit what's wrong with it?
 
That only explicitly initialises the first member; the rest are zero-initialised implicitly according to the standard. So, yes, you get the same effect, but it's misleading code. That place you wrote 0 only affects the first member. So when, one day, you change it to 1 thinking that it'll change all members, you'll have a bug.
For that reason, without an accompanying explanatory comment, = {0} will not pass code review in my team.
 
That sounds more like retardation on the part of a coder who doesn't understand basic struct initialization than a bug to me. o_O
 
I didn't say it's a bug
 
Besides, doing Complicated complicated = {1}; and expecting it to initialize 30 members to the equivalent of 1 is just kind of silly when you think about it.
 
12:30 PM
Is there a word for code that is not a bug now, but might well be after an aparrently innocuous change?
 
"Stupid" "dangerous" "fragile"
@ThePhD Which is why expecting the same of {0} is silly.
 
bug-bait
 
Trap.
 
I like 'bug bait' :)
 
{0} is special and means zero-state or empty-set.
 
12:31 PM
={0} looks more verbose than ={}
 
I do not want to have to punch in the unicode for EmptySet, so 0 is just fine or { }.
 
{} > {0}
 
0
Q: Why are my struct's members not being initialised properly by `{}`?

Lightness Races in OrbitI had the following code: #include <iostream> struct T { int a, b, c; }; int main() { T t = {0}; std::cout << t.a << ',' << t.b << ',' << t.c << '\n'; } Output: 1,1,1 After many years of this code running happily in a critical production ...

go
 
Google Sets still exists. Yay! I really liked that service.
 
user1357851
anyone knows how to escape json string in perl?
 
12:38 PM
@Abyx Which is why people use it. Unfortunately, it's bad for the above stated reasons.
 
@LightnessRacesinOrbit Lol.
You're such a cheater. xD
 
user142019
@StackedCrooked haha awesome.
 
@StackedCrooked lovely spam in those comments
@ThePhD It's encouraged! :D
 
@rapptz I believe I've found that the 'old' method of imgur upload works till june:
> Old (works until Jun 2013)
 
@LightnessRacesinOrbit Have some upvotes for your silliness.
 
12:46 PM
@ThePhD :D
 
@LightnessRacesinOrbit A more subtle error is giving the POD a defaulted-constructor (T() = default;). This way it will retain it's POD-ness but value-initialization (auto t = T()) won't initialize the members anymore. (Not sure if T t = {}; or T t{} is the same as value-initialization.)
 
@StackedCrooked ooh!
 
I've been bitten by that one.
 
@StackedCrooked > [C++11: 8.5.4/3]: If the initializer list has no elements and T is a class type with a default constructor, the object is value-initialized.
@StackedCrooked i.e. "yes"
 
Might have been a GCC bug.
@LightnessRacesinOrbit I see.
 
12:49 PM
Write a question!
And let's find out
 
@Abyx the parent doesn't write to the pipes.
 
@rubenvb I know.
 
@MartinJames Can I read from the pipes during execution with WFSO?
 
Wow. This Link is really "how minecraft works in a nutshell", if you know how to read betwixt the lines
 
@Abyx Well, the code works, I don't see a reason for it to be wrong.
 
12:51 PM
Also, good morning
 
user1357851
Wish someone could gimme the WoW source code so I modify it and play with hacked version
 
@rubenvb omg. did you check result of that CloseHandle?
 
@Telkitty that would be too large to handle by yourself. Why don't you download some open source game instead?
 
@LightnessRacesinOrbit ideone.com/XqOFZv
 
I don't really get this minecraft thing. What's so fun about it?
 
12:52 PM
btw, Y U NO std::system_error?!
 
@Abyx because I throw my own exceptions.
 
@StackedCrooked It's fun with friends
 
user1357851
@BartekBanachewicz & how many people play open source games?
 
std::system_error is anal.
 
@Telkitty A lot. Consider Quake 3.
 
12:53 PM
@rubenvb your silly exceptions without error code?
 
@Telkitty 32 million
 
@rubenvb Either that's just an overzealous warnings and you have "warnings-as-errors" turned on, or the type is not an aggregate type.
 
@Abyx all my exceptions are program-terminating.
4
 
omg
 
user1357851
@BartekBanachewicz modify the source so literally you won't die
 
12:53 PM
@LightnessRacesinOrbit well, it might be both. It's the Win32 API, who knows :P?
 
@rubenvb All mine are meant to be too.
 
@Telkitty "hack it"? what do you mean?
 
@BartekBanachewicz he probably means putting on a hoodie and typing on a keyboard for three minutes really quickly, to obtain everybody's usernames and passwords and control their computahs
 
@Abyx I catch them at the main level, but I have the ability to act on them anywhere in my code. I just don't currently.
 
12:55 PM
@LightnessRacesinOrbit but the fact it warns means there's something nonstandard about it.
 
57 secs ago, by Lightness Races in Orbit
@BartekBanachewicz he probably means putting on a hoodie and typing on a keyboard for three minutes really quickly, to obtain everybody's usernames and passwords and control their computahs
 
@rubenvb not necessarily
It's perfectly compliant to not use a function argument in a function body, for example
void foo(int x)
{
}

// I still get a warning
 
user1357851
@BartekBanachewicz only if you could get other people download the modified version
 
@Telkitty I'll put it this way : you haven't got the slightest idea of what you're talking about.
 
@LightnessRacesinOrbit true, bit that warning cleans up my code ;-)
 
user1357851
12:57 PM
I guess it is possible if you offer it as hacked version giving whoever downloaded it unlimited firepower and could not be killed
 
You're probably right in the struct init case
 
@Telkitty And how many seconds would you last on a server without being kicked out? Not mentioning you wouldn't even be able to connect?
 
user1357851
depends on who is hacking me
 
user1357851
if you have the root power, then not very long
 
@Telkitty's question is valid. How can the software detect abuse if one can modify its source code?
 
12:58 PM
@Telkitty you actually sound like a script kiddie
"hack"
"root power"
dude.
 
@BartekBanachewicz "the root power" <- FTFY
 
@rubenvb even better
 
user1357851
I am not a hacker
 

« first day (848 days earlier)      last day (4085 days later) »