« first day (1110 days earlier)      last day (3840 days later) » 

4:03 AM
I'm always installing tons of weird experimental keyboards because it serves as a good reminder that nothing I was going to type was really worth the trouble.
6
 
awww
 
4:15 AM
fuckshitballs it's cocksucking cold here.
 
4:40 AM
there are solutions for that :)
 
-6
Q: My display name was changed. Why? What if my name really is Steve Jobs?

User2931210My display name was changed by a moderator. Why? What if my name really is Steve Jobs?

 
UB in one of my apps - could not reproduce the crash when I intend to but crashes after testing it for a while
I suspect the destructor
 
This is the moment I want to thrown Visual Studio C++ out of the window.
 
@Nican window 8 that is?
or all windows?
 
That works as well.
I really need to learn how to effectively use cGDB...
 
5:12 AM
cgdb only has a handful of commands
gdb has many more
cgdb makes gdb a little bit nicer to use, but you still need to know basic gdb stuff, which sucks
I should learn more about elf and dwarf file formats.
 
5:55 AM
Although this is off-topic here, I would be really interested on how you write an OS in Java. — Alvin Wong 10 mins ago
3 programming questions in the row on meta, lol
 
Hey guys, I had a question about redis queue
 
@Mysticial lol. so he has full OS, but had never boot it? yeah, that is just tiny problem: "ok guys, we have made OS, now we are trying to boot it"
 
IOW:
> "Everything is working great so far, but nothing works". – Asad 15 mins ago
 
@Mysticial By exposing the underlying OS :P
@Mysticial I've been there..
 
6:14 AM
"But my OS runs fine under Windows"
 
6:28 AM
Would you consider Dell when buying a PC? (For yourself, not for office.)
 
I'd just build it.
 
Is building fun?
 
yes
And cheaper if you're building a medium to high-end machine.
 
I should start considering it serously then.
 
And more customizable. The rig I just built 2 weeks ago has maxed out ram and shitty graphics. You can't really buy something like that.
 
6:30 AM
I don't mind if it's a little more expensive when prebuilt. However, it's hard to find med-to-high-end machine that matches my specs.
 
If you've never built something before, then you probably want to go with lower-end parts. Just in case you fry something.
 
personally
 
My core list of desires is: i7 3+Ghz, 16+ GB RAM and 256+ GB SSD. And a silent fan. (Or no fan.)
 
for my next machine, I intend to look for pre-built.
just because when something goes tits up, you can just call the manufacturer and tell them to fix it.
 
That's right.
 
6:33 AM
@StackedCrooked No fan is almost impossible. You could slap a self-contained water cooler on it though. Those have very slow fans.
 
Ok, just a reasonably silent PC is fine :)
 
@StackedCrooked CPUs need CPU fans. Most of the rest can be passive cooled, but you might well need water cooling for nearly fanless operation.
 
*slow fans be default. They can afford to be slow because it's a water cooler. But there's nothing stopping you from slapping on a high-end fan on the radiator for some fun...
 
I bought my previous PC from a shop called "ikbenstil.nl" (I-am-silent) which specialized silent prebuilt PCs.
 
christ I need an SSD so bad.
but no moneys :(
 
6:35 AM
They glued isolation material to the inside of the case.
I would like something like Mac Mini but with higher specs.
 
Although building does have its risks.
Although it's hard to actually fry something (since they intentionally makes the connectors unique for everything), there are a few exceptions.
Such as USB headers and stuff.
And in my case, the 32GB of ram that I got for my AMD rig aren't stable.
 
What's the name for inter-process communication where the sender never blocks, because a container is full, but just keeps updating the container. However, it does block if the other process wants to read from that container.
 
I'm trying to narrow it down to which stick it is, before I can exchange it.
 
My previous PC (2007) was silenced like this: 1 2.
 
@StackedCrooked Looks like a disaster for the hard drives...
They don't overheat?
 
6:38 AM
Never had any problems actually.
But it worried me as well.
 
ergh
some of LLVM's codebase is so bad.
global variables and shit up the wazoo.
 
It was not a very high-end PC for the time. It was a core-2 duo with 512 MB RAM and a 7200 RPM hard drive.
But it definitely was silent.
 
I like buying those massive heatsinks/water-coolers, and replacing those default fans with something ridiculously powerful.
And then turning that overclock up. :)
 
@DeadMG What do you need to do if a component (HD, RAM, ...?) fails? Send it to the manufacturer by mail? Find a local dealer..?
 
I think that if it's still under warranty, you return to manufacturer.
 
6:43 AM
By mail, I presume?
 
Which is kind of a pain if the thing is prebuilt. You need to send the whole thing.
 
posted on October 30, 2013 by Ankit Asthana

The time spent in the link phase could be a significant portion of an applications overall build time for most large projects. A user can quickly determine this by adding the '/time' flag to the linker command line. The 'Final: Total time' reports the total time spent in the link phase. There are essentially two primary scenarios to consider when looking at link time. The first is the developer

 
On the flip-side: If you built it yourself and something goes unstable, you need to figure out what part it is.
 
Would you expect a big difference for gaming performance between "NVIDIA GeForce GTX 775M 2 GB GDDR5" and "NVIDIA GeForce GTX 780M 4 GB GDDR5"?
 
That can be hard. Especially if you don't have another machine with compatible interchangeable parts to test with.
 
6:44 AM
If you happen to know? :D
 
I'm way behind on video cards. :(
I'm still using a GTS250.
 
@Mysticial My Mac had a faulty hard-drive so I gave it to the local mac dealer for repairs. When I came back they had replaced the hard drive, the screen, the motherboard and the DVD drive. All under warrantee. (The machine was 2.5 years old at the time, good thing I had purchased Apple Care).
 
That's nice.
 
So basically a new PC.
But it's a mac, which means I paid the price of 2 PCs so it all evens out :D
 
lol
 
alright, so I wrote this test:
f(bool->lvalue arg) {
    arg = false;
}
Main() {
    ret := true;
    true || f(ret);
    false && f(ret);
    return ret;
}
should return false if short-circuiting doesn't work correctly.
 
Does bool->lvalue mean that it's an lvalue-reference, or an argument passed by value?
 
@StackedCrooked Remind me exactly what's new about apple having retard prices?
 
lvalue ref.
 
@Borgleader that horse is dead
 
6:52 AM
my point exactly?
 
I know your feelings :)
You've shared them before :P
It was the hottest day of August.
@DeadMG By the way, is the return type normally placed after the arguments or before? (e.g int f(int); vs f(int) int;)
 
either answer would imply that you normally specify the return type.
which you don't.
 
It's always deduced?
No forward declarations?
 
you can explicitly specify it.
but I intend that won't be of much use.
also, LOL, of course no declarations.
why would I implement such shit.
 
So you can call a function before it's defined? (For example if you need mutual recursion.)
 
6:57 AM
sure.
 
Alright.
So it's a two-phase lookup or something?
 
well, the entire program is compiled into one AST before the analyzer ever sees it.
my co-recursive type inference test looks like this
 
I see.
 
foo(x) {
    if (x > 5)
        return bar(x);
    return x;
}
bar(x) {
    return foo(x - 1);
}
 
Ah, the return type is deducible here. (Basically return type is same as type of x.)
Do you plan to support pattern matching?
 
7:01 AM
nope.
 
Ok.
Which features would mention if you wanted to attract new developers to Wide?
I mean what are the nice things about Wide?
 
well
 
Or is Wide more like a personal experiment.
 
for me, I would say the core selling point is C++ compatibility, so for people with existing C++ codebases, it's a viable migration (unlike pretty much everything else, ever), but it's just as usable (or in some cases more) than a typical "managed" language e.g. C#
 
Like IDE integration? And possibility to write refactoring tools..?
 
7:05 AM
I have a VS addin
it's not very complete at all, much like the rest of Wide, but it shows promise.
but tooling in general- because Wide isn't as complex as C++ from a tools perspective, and the first implementation is suitable for compiler-as-a-service jobs, then it's VASTLY more tools friendly.
at least, the compiler is designed for compiler-as-a-service.
and I use it that way in the VS addin.
 
Hm, it seems to me like Wide is mostly C++ with cleaner syntax.
 
there are important semantic differences too.
for example, C++ can't type check the above sample.
but in a sense, you're right that "C++ but cleaner" kinda sums up the entire design intent.
for another simple example, Wide treats a function name as an overload set, instead of having to do that function pointer bullshit.
and it can bind member functions to function objects implicitly.
I'm also intending to upgrade the type system.
 
Somehow reminds me of Vala.
Even thought it's very different.
 
yeah
the reality is, Wide would not have the same... punch, if you like, to it if it did not have the C++ compatibility.
because the reality is, if you have a program that depends on Boost.Spirit, you cannot migrate that program to any other language, because no other language can interface with Boost.Spirit.
 
It would be nice if Wide had some killer features, like safe pointers or safe concurrency using the type system.
 
7:15 AM
currently, I'm pretty happy to lead with "Compatible with your existing C++ codebase".
but IME, stuff like safe pointers or safe concurrency tends to be over-restrictive in what you can or can't do.
ultimately, I feel there's a reason why C++ lets you do almost anything, and it's because sometimes, you really need it.
good luck interfacing with that GPU buffer code if you can't handle some unsafe pointers.
 
Yes, but you could have an unsafe pointer type as well. Kind of like volatile in C++.
 
sure I do
it's called unique_ptr.
but I'm gonna be honest and say that stuff does not really interest me
 
morning all
stop tooting your horn puppy :P
 
lol
 
Alright, I'm off to work then. Back in 30 minutes or so.
 
7:46 AM
Bah. Do Google Groups have any way of permanent filtering?
I want to filter out one nutter out of comp.programming.threads.
 
8:15 AM
morning
relying on strings to get anything done is somewhat fragile
I mean, if the string changes, then your program can fail
urgh
 
use const string
 
user1804599
Stop using stringly-typed designs.
 
"Don't tell me what to do!"
 
user1804599
I’m not telling you what to do. I’m telling you what not to do.
 
std::string("no!".to_string().c_str())
 
8:21 AM
well, C++ sucks. you can't do anything good with it no matter how you try.
 
Xeo
@StackedCrooked Nah, I meant when selecting text in there.
@Abyx exaggeration much?
 
@Xeo nope. no exaggeration.
 
Xeo
then you just suck
 
user1804599
Just make everything a template and you’ll be fine.
 
@TonyTheLion oh but stringly typed stuff is so nice to work with
 
8:27 AM
@thecoshman urgh
 
@TonyTheLion ¬_¬ I deal with it too
 
The worst is when they don't even use some static variables for the strings. At least that way, the string only has one place where it can be changed and that changes it for everything.
 
user1804599
@TonyTheLion I know a guy who does stuff like this: var item = new List<string>(); item.Add("foo=bar"); item.Add("baz=qux"); instead of creating a custom data type class Item { public string Foo, Baz; }.
 
user1804599
I don’t even understand how somebody could be that moronic.
 
8:29 AM
@rightfold o_0 not even a map?
 
user1804599
@thecoshman no :v
 
user1804599
He has been programming for about eight years.
 
so many people here seem surprised by the idea of creating a new class to use as a return value. "need to give the caller back two lists, one of passes one of fails" there solution will almost always be two extra out paramaters, rather then a class for it
 
user1804599
He also puts everything in one giant god class. :D
 
@rightfold it's all powerful, so it must be good
 
user1804599
8:30 AM
@thecoshman tuple.
 
@rightfold Java
 
user1804599
@thecoshman Scala
 
@rightfold bussines
 
user1804599
You could create a generic Pair type in Java.
 
user1804599
Also Java has no support for out parameters. vOv
 
8:32 AM
@rightfold did people have to work with him? 0_o
 
user1804599
I hope not.
 
@rightfold ugh
 
@rightfold for things like lists, you can pass in an empty list (keeping a reference) and the function can add items to it for you. This is a done thing here
 
user1804599
Eww.
 
@rightfold I could, but I would have to add it to every code base I work in, because heaven forbid we have one central 'good reusable code set'.
 
user1804599
8:35 AM
At least return an array of lists. :(
 
@rightfold nah, custom class all the way :D
 
user1804599
Custom class is best, though.
 
user1804599
With public final List<T> passes, fails;.
 
user1804599
And then everybody will complain about public fields!
 
yeah, I often come across people asking why I just made things public... ಠ_ಠ because they don't need twatish [s/g]etters.
 
user1804599
8:39 AM
Upgrade your career.
 
@sehe best get her sorted out early... maybe try the wife too
@rightfold that would require moving, and €0 rent/mortgage is rather nice.
so erm, http basic authentication... this concept of 'realm' from what I can see, it is ~basically~ an arbitrary string. So this could be set to something like "The Service I am Offering"
 
user1804599
0
Q: A Java programmer wants to understand a C++ code: Use a method of an object without malloc

zellI have been using Java since years. Now I need to understand a piece of C++ program. TimeStamp theTimeStamp; theTimeStamp.update(); What puzzles me is why don't we write TimeStamp theTimeStamp = malloc(); My intuition is, to use an object, a memory space should be first allocated and ass...

 
user1804599
lololol
 
woof woof
 
@User17 I thought you was some kind of cat.
but actually you're a bitch?
 
user1804599
8:53 AM
@rightfold Avoid boost for a simple substitution of strtok(). It's too big. Use strtok_r() instead. — H2CO3 48 secs ago
 
user1804599
Ugh that idiot again.
 
@Abyx when you hang around with lemurs, you speak lemur slur
 
> I am yet trying to avoid installing some large third party libraries there
oh my, he needs to install a header-only boost library
 
@Abyx good luck, we will be here when you are having a mental break down
 
@User17 so do you want to say that it's we who're bitches here?
@ScottW maybe most of loungers don't watch movies. only anime and fucking ponies
 
8:58 AM
pony or porny? :x
 
@ScottW yeah, us cultural heathens read books instead :P
 
@User17 isn't it the same? fucking ponies, I mean
meh books
well actually books are useful to get sleepy fast
books like The Holy Standard
...you start to read something like *The visible sequence of side effects on an atomic object M, with respect to a value computation B of M, is
a maximal contiguous sub-sequence of side effects in the modification order of M, where the first side effect
is visible with respect to B, and for every side effect, it is not the case that B happens before it. The value
of an atomic object M, as determined by evaluation B, shall be the value stored by some operation in the
visible sequence of M with respect to B.* and then you wake up and it's morning already
 
@rightfold I really want to respond to the "a memory space should first be allocated" part with some snarky comment about how, unlike Java, C++ is a high-level language where the compiler can figure that out on its own...
3
 
functools in python is AWESOME! :P
 
python is awesome even without funcstuff
 
9:04 AM
I know, but man oh man, python has the best standard library
 
yep, it's good
 
@Abyx What other languages do you like as much as Python?
So far, my other tool of choice would be C#
 
@Xeo I don't understand..
 
user1804599
@jalf do it!
 
@rightfold To be rightfold or not-rightfold, that is the question.
 
user1804599
9:06 AM
@GamesBrainiac I like Go’s too.
 
user1804599
And Elixir’s.
 
user1804599
But Python’s is more extensive. :P
 
@rightfold I agree. Also, the multiprocessing module is just plain awesome
 
user1804599
@GamesBrainiac You should see Elixir’s concurrency capabilities. :0
 
John Skeet has a pony, and its called Tony
@rightfold Better than golang's ?
 
9:08 AM
@GamesBrainiac hm... dunno, I don't use many languages. only C++ and a bit of Python. C# is good, but it looks like C++ and when I write in it I always feel like I need RAII and templates
 
user1804599
Yes.
 
user1804599
It’s the very best.
 
yuck it looks like ruby
@rightfold What IDE do you use for it?
 
unfortunately we don't have many production ready languages (implementations). D, go, rust - they still have beta quality.
 
user1804599
Sublime Text 2.
 
9:11 AM
@Abyx I see what you mean there. I mean, I'm staying away for Haskell because it does not have proper IDE support, and the only commercial IDE is online, which sucks :P
Because I was really beginning to like Haskell
 
user1804599
Use Vim or Sublime Text 2.
 
user1804599
Unix is my IDE.
2
 
I've been using Sublime Haskell, but the autocomplete sorta sucks.
 
well, IDE support is not that important if language have a good syntax. I write Python in IDLE.
 
@Abyx Python is a rare exception because its syntax is pretty much psuedocode
 
9:12 AM
yep
 
I mean, I showed python code to people, and they asked me, "thats a programming language?"
and I was like "yea"
and they were like "what have I been doing all my life?"
:P
 
user1804599
python is a pseudocode interpreter.
 
yea, pretty much
or as close as you'll ever get
 
@rightfold finally got out of that yucky mac stuff then :P
 
also
vagrant is awesome.
 
user1804599
9:14 AM
@thecoshman OS X is a Unix-like OS. :V
 
Xeo
@StackedCrooked Try selecting text in the command box
 
@rightfold oh... I thought you had sen the light
 
user1804599
I’m switching to Gentoo soon.
 
user1804599
ASC and DESC feel silly when using ORDER BY on a Boolean.
 
@rightfold When did you transform from human to pony again?
 
9:18 AM
@rightfold not really, do you want true first, or false first?
 
Xeo
@StackedCrooked Okay, I'm confused
Yesterday, it wouldn't show any selection :/
 
user1804599
@thecoshman I know, but there isn’t really an ordering between true and false.
 
user1804599
I want true to be first, so that will be DESC, but Booleans are weird.
 
user1804599
”Order orders correctly” commit message of the day.
 
you probably can convert Boolean to an integer
 
Xeo
9:21 AM
true -> 1, false -> 0, is the usual convention in that regard
 
@rightfold truely true, false truth, trueish, meh, falseish, false false, truely false
 
@rightfold Best avatar of all times. Congrats.
 
@Xeo actually there was true == -1
in Basic at least
 
user1804599
@thecoshman sounds like a combination of PHP, JavaScript and shell script.
 
user1804599
true == -1 is a type error in any sane language.
 
9:22 AM
it makes sense if -1 == ~0.
 
@Abyx no, -1 is exactly -1
 
like false == 0, ~false == -1
 
oooh, you mean ~ as in not, not ~ as in approximately
 
Xeo
@rightfold In Haskell, False < True at least :D
 
user1804599
Meh, I don’t like that.
 
9:24 AM
@thecoshman yep. binary complement
 
Xeo
There's really no harm to that ordering
 
user1804599
Smaller than and greater than for sorting should be in separate type class IMO.
 
user1804599
As in, Ord.
 
user1804599
And < and > as mathematical operators should be in something else.
 
huh? < and > in math define ordering
 
9:29 AM
@thecoshman obviously already tried the wife (how do you think the other one happened). Should have asked for the documentation and upgrade paths though. Seems I'll be stuck with just the version I had at the time of selection. There's quite sophisticated room for customizability though
 
@sehe o_0 that last sentence really changes the tone...
 
user1804599
Accidental property.
 
user1804599
I don’t like that.
 
I think it is better to allow users to write arbitrary kernels in Boost.Compute - it will be much more useful. For instance via TaskGraph method which I described here. — Evgeny Panasyuk 6 mins ago
 
This question appears to be off-topic because it is about looking up a value in a table that is public available on the Internet from official sources. WTF is wrong with people? Can't they search these days? FFS, I'm 26, don't make me go all "get off my lawn" on you. — R. Martinho Fernandes 6 secs ago
Close votes, please.
 
9:37 AM
vote cast
 
user1804599
vote_cast
 
vote_pointer_cast
 
Why is the Windows 7 start menu search so hilariously bad?
 
Xeo
 
user1804599
@Xeo haha
 
user1804599
9:44 AM
> #include<iostream.h>
 
user1804599
What kind of book is that?
 
@jalf Why is it bad?
 
@jalf dunno it always finds what I type there
 
@wilx because it can't search?
if I type 'dbgview' it then it suggests the dbgview application, which is fine
if I type 'dbgvie' it finds nothing
 
> Seems like ISO isn't a non-profit organization at all. Their main mission is to make money, and the whole "standardization" thing is bullshit.
 
Xeo
9:46 AM
@R.MartinhoFernandes Entitlement much in that thread
 
user1804599
Source?
 
user1804599
Yum.
 
user1804599
Knäckebröd and apple juice.
 
@rightfold a cock?
 
@Xeo I love these people that want to have all sorts of things to be free.
 
9:53 AM
speaking of which, wikipedia's donation thing is annoying
why can't they make money from ads like everyone else
 
I also like "But currently ISO and ANSI are like the Microsoft of standards, abusing their name and reputation to make money". It's particularly funny because Microsoft is part of the ECMA thing they are praising for providing free specs.
 
@User17 because then people will complain about ads on Wikipedia.
 
@User17 Because fuck ads.
 
make it no intrusive like google.com
 
@User17 Fuck ads regardless of intrusiveness.
(The only non-intrusive ads are the ones that aren't there)
 
9:55 AM
then pay for the software
 
@R.MartinhoFernandes ads are good. especially with the adblock plugin.
 
^
organizations need money to survive
 
@User17 WTF you complain about the donation campaigns, and want them to charge everyone instead?
How goddamn stupid can you be?
@User17 WTF, you want them to support themselves with ads, because people can use adblock to not give them any money from ads?
How goddamn stupid can you be?
 
donation campaign is more intrusive than well laid out ads in my opinion, but that's just me
 
Use your stupid adblock plugin and shut up.
 
9:57 AM
@R.MartinhoFernandes do you use adblock?
 
I like one element C style array's smell in the morning.
 
@Abyx Does it matter? I wasn't suggesting anyone to use ads.
 
@R.MartinhoFernandes most people aren't paying for their services anyways
 
"Support yourselves with ads; I use adblock" is such an hypocrite's stand.
 
only if you use ads block
 
9:58 AM
@R.MartinhoFernandes well my point is that most of people don't use it.
so they still can get money from ads even if some people use adblock
 
you either pay for services directly, through donation or by someone else through ads
 
Doesn't make you any less of an hypocrite.
 

« first day (1110 days earlier)      last day (3840 days later) »