« first day (854 days earlier)      last day (4077 days later) » 

3:00 PM
@wilx "Steve Cuozzo" some stuck-up jackass food critic who reckons it's okay that one billion people live in the most horrific depraved conditions, because they didn't splash out $5,000 on a cruise ticket.
 
Ell
Hmm. How to shorten this? results_elements = $("div[title='Your results']").children[1].firstChild.firstChild.firstChild.firstChild.firstChild.f‌​irstChild.firstChild.firstChild.firstChild.firstChild.children;
 
@Ell dude.
 
oh my
fuckin' '@Ell!
 
@LightnessRacesinOrbit: And you can derive all of that from the single tweet?
 
3:01 PM
@Ell whaat
 
@wilx Well the "food critic" part comes from his Twitter profile
why is melak47's curl code starred three times? o.O
 
user784668
@LightnessRacesinOrbit Because Comic Sans.
 
Ell
Seriously? :S
 
@LightnessRacesinOrbit: IMO, your statement about him does not make any sense at all. Also, I would be pretty pissed if I had spent $5k on a cruise that turned out into a shit storm and rightly so. That 1 billion people live in worse conditions is tangential and irellevant.
 
3:04 PM
@Ell that code is seriously terrible
 
@BartekBanachewicz btw, what is this "Minefield.cpp", and what is that Amplifier XE Results project?
 
@melak47 minicraft, and well, results from profiler?
 
@wilx Irrelevant how? It's relevant by comparison. Are there rules to what comments we can draw on the situation on Twitter?
The original tweeter was making a very valid point and attempting to raise awareness.
 
Ell
@BartekBanachewicz I know :3 I don't know how to shorten though :O
 
i.e. "you think that's bad? you don't know nuffink, son"
to then turn around and basically say "pfft fuck those guys, they didn't pay $5,000" is abhorrent
the strong implication from Cuozzo's tweet is that the boat cruise people are somehow less deserving of the situation, because they paid $5,000. And if that wasn't the implication, then that tweet was certainly tangential and irrelevant!
 
3:07 PM
My .profile file now begins with: mkdir -p Development && cd Development && ln -fs ../.profile . && HOME=$HOME/Development. This gives me a clean home directory without all the 'Documents', 'Downloads', 'Music', .. clutter.
 
Surely there are languages that tolerate blood alcohol levels better than C++. It's like squinting at old rock carvings done by someone else. Except it was me. All I had was a crude stone programming implement, a reliable water supply, and a loin cloth made out of old textbooks. Fuck.
 
@StackedCrooked It also gives you lack of your settings
 
@CatPlusPlus How so?
 
If I add a vector to every vertex, it's like multiplying it by model matrix, right?
 
3:11 PM
Many many programs use $HOME as basedir for settings
 
There may be unexpected problems with this approach. I'm just giving it a try.
 
There's a lot of hidden directories in your $HOME
 
couldn't you just.... delete the clutter?
 
I just make work subdir, cd to that and problem solved
 
The .profile is only loaded by the terminal I think and then I have the HOME=$HOME/Development.
 
3:11 PM
No need to modify $HOME
Do ls -a $HOME
 
~ $ ls -a $HOME
.		..		.profile
See? No clutter :)
 
user784668
@StackedCrooked ls -a /home/whatever
 
No doubt that it will cause some problems. I just like to mess around.
 
Fuck. ufw is not working.
 
user784668
3:15 PM
@LightnessRacesinOrbit lol
 
INTERCEPTED
 
@NikiC what's good?
 
Ell
Seriously guise how do I shorten that firstChild nonsense?
 
1
A: Should I use std::size_t to count instance of my class?

eladidanstd::size_t definition is implementation specific, as you can see in en.cppreference. In most implementations you will find it is defined as unsigned int.

who is upvoting this nonsense
fucking losers
 
@Ell for loop? :3
 
user784668
3:18 PM
@Ell for i in range(42): crap = crap.firstChild
 
Ell
meh, still seems hacky
 
@Ell: fetus.Parent()
 
Fetch the element you want directly instead of fetching some element that's bazillion levels up?
 
Ell
std::abort()
 
@Ell Fix your stupid hyper-nested node tree
 
3:20 PM
Sigh
 
Ladies and Gentlemen
 
Ell
Ladies and germanies
 
I hereby present to you
one motherfucking million of cubes
 
L.A. Moire
 
Ell
3:22 PM
@BartekBanachewicz srs? what fps?
 
@Ell I don't measure, but as fluent as 60.
 
Ell
I want to be part of this project!
 
Ell
I was trying to write a cmake
 
3:22 PM
Anisotropy to max.
 
Ell
but then I didn't know where libengine was
also something else I can't remember
 
Ah, I forgot to say, that it's 1M on Debug
 
guys
in C++, a number is what
a constant? a literal?
what's the correct term
 
@Cicada both.
 
3:25 PM
hm, on 3M it's noticeably slower
 
0
A: cuda "expected a type specifier"

Cicada global void kernel(double* dev_fitness,double* dev_prob, F) ______________________________________________ ^ here You can't put literals in an argument list. Make that: global void kernel(double* dev_fitness,double* dev_prob)

i donno what word to use
 
it's a literal for C++ parser and constant for compiler.
 
Expression
 
@Cicada Depends. In what context?
 
Also use code blocks not quote blocks
 
3:26 PM
@Cicada Do you mean when a number is literally present in your source code?
 
@CatPlusPlus Yeah i'm retarded
 
And seriously, an expression
 
Ah, that answer. Yeah "literal" is good there I suppose. Expression is more general and still true
 
You can't put any expression there
 
edited, thank you
 
3:27 PM
I'd say "can't put expressions (including literals, like your macro F which expands to 20) in an..."
 
@Cicada finally, proof.
 
toupper("Brigitte Bardot mit ihren beachtlichen Körpermaßen") = "BRIGITTE BARDOT MIT IHREN BEACHTLICHEN KÖRPERMASSEN"
 
F is not a literal, nor a number, WTF?
 
@Abyx Did you read the code?
 
3:28 PM
@R.MartinhoFernandes Nice
 
@Abyx it's a #define
 
hint: the answer is "no")
 
@LightnessRacesinOrbit it was retarded
 
@Cicada oh my
 
user784668
@R.MartinhoFernandes Doesn't break on ß, good.
 
3:28 PM
lol, not the point.
 
btw
 
@R.MartinhoFernandes well, it works?
 
The original translates as "Brigitte Bardot with her remarkable body measurements", the uppercase form translates as "Brigitte Bardot with her considerable body masses"
 
user784668
Oh right.
 
3:30 PM
@R.MartinhoFernandes "considerable body measurements" still implies that she has...considerable measurements, no? Doesn't make her sound much fatter imho :/
 
I thought ß===SS?
 
Only on Wednesdays
 
i just called a store which on the other side of the city, to ask them whether they sold a special type of lightbulb. the automated standard says "do you want to be put in relation with our kitchen service, furniture service, or electronics service?" heh. well electronics I guess? "sorry ma'am you're not in the good service for lightbulbs." SO WHO THE FUCK DO I CALL
 
@LightnessRacesinOrbit Not interchangeable.
 
(Now Wednesday is a weird word)
 
3:31 PM
@Cicada electronics I suppose, but that's fucked up
 
@Cicada Ghostbusters
 
@Cicada Another store.
 
you need "homewares"!
@R.MartinhoFernandes o.O
 
I'll just order the fucking lightbulb online
 
I hear transporting one lightbulb is very cheap
 
3:32 PM
@Cicada: In 1972 a crack commando unit was sent to prison by a military court for a crime they didn't commit. These men promptly escaped from a maximum security stockade to the Los Angeles underground. Today, still wanted by the government, they survive as soldiers of fortune. If you have a problem, if no one else can help, and if you can find them, maybe you can hire the A-Team.
 
@CatPlusPlus I'll buy 2
 
@LightnessRacesinOrbit Körpermassen and Körpermaßen are different words. They just happen to uppercase to the same thing.
 
@BrettHale I thought you were going to work lightbulbs into that somehow... Disappoint.
 
@BrettHale heh, where do I click?
 
@melak47 Stop ruining my joke :(
 
user784668
3:33 PM
libstdc++ you need iconv?
 
@BartekBanachewicz now, consolidate neighbouring cube faces :)
 
@R.MartinhoFernandes and when you replace "ß" with "ss" per common practice and, incidentally, official German lithography rules for Switzerland, the two words appear identical, which is retarded.
 
@LightnessRacesinOrbit Only the Swiss do that.
 
Thank you, I change to-> "double* F" I have tow error now!Can you tell me the correct code — ali delavaran 3 mins ago
why did i answer this question
 
@R.MartinhoFernandes No, Liechtenstein too.
 
3:34 PM
lol
 
@Cicada lol
 
@Cicada weakness
 
"Can you tell me the correct code" => close tab.
 
#define F 20
void bla(double* F){...}
//yeah I wonder why this doesn't work...
 
ragedeleted
 
3:37 PM
lol
 
@Cicada "No code for you".
 
@melak47 i will have to finish my octree for it. I doubt it will be very efficient, though
@Cicada I will answer it, don't you mind?
 
please do
 
@BartekBanachewicz why? if done properly, it could consolidate your "one million cubes" to one cube with tiled textures :3
 
anyone here have experience firewalling Linux servers?
 
3:39 PM
Pull all the plugs.
 
install windows in a VM and use its firewall :)
 
user784668
@R.MartinhoFernandes Too unsafe. Somebody can undo it.
 
1. Add iptables rule for SSH before you do anything else
 
@rubenvb install windows xp. get "toolbar security kit"
disable root login
change ssh port
use pubkey authentication
 
@Cicada I've got two-factor auth set up for ssh.
 
3:40 PM
Yeah if you ever enable root login you're literally a scrub
 
@rubenvb even better
 
I haven't changed the SSH port yet. And I disabled remote root login
 
Ell
@BartekBanachewicz how many of the million cubes are being rendered?
 
change your ssh port if you don't want your logs filled with junk
 
Change your SSH port and put honeypots around it
 
3:41 PM
I used ufw to block all access from the outside world, but nmap is reporting a huge amount of open ports.
 
@BartekBanachewicz: Yours is better :(
 
are you by chance doing nmap localhost
 
I'm nmapping from the wifi hotspot on my phone, so it shouldn't be on LAN right now.
 
Also run a honeypot on 22
 
I'm nmapping my ddns host
 
3:41 PM
WTF is it with the code in Comic Sans on the starboard.
 
@R.MartinhoFernandes There was a worse one
Below that one
Be glad it's not that one
 
obviously :)
@Ell a few million. Or, with a simple optimization, a few dozen thousands
 
ufw status output: ideone.com/BmRGpX
 
@R.MartinhoFernandes I'm sorry. (not really)
 
@melak47 remember real-world usage
 
3:43 PM
i don't know what ufw is
 
@BartekBanachewicz bleh. go ahead with your octree then and occlude ALL the cubes...
 
all the cubes
 
30,000 cubes is still better than 1,000,000
 
3:44 PM
@melak47 MOAR IS BEDAR
 
moar is chedar?
 
@R.MartinhoFernandes it can render 1M, actually. I am so proud.
 
@rubenvb Don't make your services listen on 0.0.0.0 in the first place
 
@BartekBanachewicz now shade them >:3
 
@melak47 my GF wants a pickaxe implemented first, sorry :)
 
3:45 PM
You really only need iptables if you have services you have to expose, but limit who can access them
If you make SSH the only thing that listens to the world, the end effect is the same
 
Perpetual motion coming next week...
 
lolwut
WTF
How the fuck do journalists come up with crap like that.
 
@CatPlusPlus I guess this with the addition of SFTP and a webserver would not benefit from a firewall through iptables then?
 
Ell
@BartekBanachewicz how about when blocks are transparent, how does occlusion work then? (not sure if occluision is right word - optimisation whereby only visible blockss are drawn)
 
@MartinJames Also lol at the comments.
 
3:48 PM
It's well-known amongst reptiles that computers always crash because of code that's been corrupted.
 
@Ell transparent blocks are treated as empty for the occlusion
 
Ell
Oh right
I assumed there would be a cumultive alpha counter/multiplier thing
 
@Ell it's on github
 
@Ell that shouldn't be the hard part. Z ordering the transparent cubes might be a pain though
 
I will use deffered rendering anyway, so transparent blocks will be drawn in totally different way
 
3:49 PM
Btw, Eclipse never crashes.
 
But it isn't a problem, they won't be appearing as much as dirt, for example
 
@rubenvb Turn off this dumb port mapping
 
Work in progress:
 
The most common blocks have to be optimized, gold block can have even environmental mapping
because why not
 
I have no idea what netbios-ssn and microsoft-ds means
 
3:50 PM
 
@CatPlusPlus It's Samba. (SMB Windows compatible network storate)
It's one of those things I want.
 
Why are you running SMB over WAN again
 
@BrettHale Is that a Rubik's cube?
 
@BrettHale wat. moar cubes
 
@CatPlusPlus Because it allows access to my files from anywhere...
It's not like there's alternatives...
 
3:51 PM
You mean like SFTP
 
-1
A: Should I use std::size_t to count instance of my class?

eladidanstd::size_t definition is implementation specific, as you can see in en.cppreference. In most implementations you will find it is defined as unsigned int. So to answer your question, you can use it instead of unsigned long long if you prefer, and your code will remain portable (as long as you do...

trollololololol
 
Yep - some random layer (slices) applied to it.
 
Ell
Hamachiiii
 
@R.MartinhoFernandes yes
 
@CatPlusPlus barely integrated into Windows... as in: not.
 
3:52 PM
If you want to run SMB I'd VPN it
But then you'll complain that you have install VPN client :v
(btw SMB is hilariously bad)
 
@rubenvb i don't know
just iptable drop everything by default
and add rules for the ports you want to open
that's a little nazi but oh well
also don't lock yourself out
 
@BrettHale is that DoF or crappy filtering? :3
 
0
Q: C code doesn't run as expected

JulianI'm very new to C, but despite some extensive googling, I can't get this program to run properly. It's written in a somewhat esoteric language know as Pike, but Pike is extremely similar to C. I hope you don't mind! #!/usr/local/bin/pike // pic2html v0.5 - converts images into HTML text // Aut...

Tagged C#, Pike.
 
> It's written in a somewhat esoteric language know as Pike, but Pike is extremely similar to C
 
My C code doesn't work in Pike! Also, C#!
 
3:56 PM
"This is why I tagged it "
3
 
@Cicada that was the plan, but iptables is daunting. That's why I tried ufw, which doesn't seem to do anything. Problem is: I really can't afford to lock myself out (I'll have to get up to attach a screen and keyboard to my pi to fix it, and I don't want to get up ;-))
 
> Additionally, there is a special "mixed" data type. That definition allows a variable to hold any kind of data type.
nice language
 
@Cicada don't forget to post photos of it
or, should I say, "image macros"
 
@LightnessRacesinOrbit your answer was accepted [-.-]
 
STOP DELETING THINGS
 
3:58 PM
we should star everything she writes so she can't delete
 
I'll delete this account sooner or later
 
@LightnessRacesinOrbit (removed)
 
@BartekBanachewicz gutted
 
@Cicada nooo :'(
 
@BartekBanachewicz does that work?
 
3:58 PM
@melak47 - trackball rotation view, but still deciding on filtering. Aniso makes things sharper, but not always in a good way. LINEAR_MIPMAP_LINEAR at GenerateMipmaps make shitty mipmaps that bleed into each other (basically a big 8NxN texure: [F:R:U:B:L:D:BACK:VOID]).
 
@LightnessRacesinOrbit me thinks it does
 
@BartekBanachewicz Let's try it.
 
3:59 PM
nope
 
yeah the star went away.
 
Deleting still works.
 
it disappeared :(
well, we can also quote
 
ok I want to try something as an experiment. star this.
 
52 secs ago, by Lightness Races in Orbit
@BartekBanachewicz Let's try it.
 

« first day (854 days earlier)      last day (4077 days later) »