« first day (1749 days earlier)      last day (3199 days later) » 

9:01 PM
I love games that don't bother explaining anything
 
KSP is meant to be played that way
 
Xeo
@CatPlusPlus Sure, I don't like that very much either (KSP being one of the exceptions), but that run was still crazy.
 
I was talking about a bundle thing I just tried
But meh it's always lazy
 
Xeo
@CatPlusPlus oh
 
user1804599
Fuck tar.
 
user1804599
9:14 PM
Not sure whether this is a good idea: take 99 filename.
 
@AlexM. I once tried making a new UI for coliru
 
@CatPlusPlus I like games that force you to figure things out on your own
 
I still haven't found an answer to my matlab question and their Q&A site is silent :\
 
'force you to figure things out on your own' ... like it disconnects your internet so that you can not read walk thru or something?
 
I swear it's like the whole planet pirates matlab
nobody buys the home version
 
9:21 PM
@AlexM. Call them?
Surely they have a sales number
 
they don't even want to be contacted via their form by non-company customers
you have to make a request to be contacted AND be a company
lmao
 
that sucks
use octave
 
fuck it I'll just pirate 2015
not taking chances
 
what was your question
 
if r2015a home edition changes the prompt from ">>" to "Home>>" or something like it
they say that only the title bar and banner are watermarked but they say the same thing about the student edition and there they change the prompt to "EDU>>"
I cannot work with a butchered prompt
 
9:29 PM
Why does it matter what the prompt says?
 
it's ugly and distracting
 
I don't have good memories of matlab. We had this volume license where we used to work and it was like there was a limit on the number of concurrent users or something with the license server. So you'd start it up and it'd tell you TOO MANY CONCURRENT USERS
So you'd have to go around and find someone who just had matlab open but wasn't doing anything and tell them to close it, restart matlab on your machine and hopefully you'd get it
I hope octave becomes good enough to replace it... I haven't used it in awhile now.
 
does octave even have something like a simulink alternative?
 
nope afaik too many alternatives. also building systems in simulink lol
 
9:36 PM
dunno, I've never used simulink or octave for anything like that
is simulink like labview or something
 
^ yeah. "lets try graphical programming", it wont look like a mess, jk it does
 
I don't know yet, ask me about labview in around a week or so
I'll know then
 
Simulink is death
 
I mean I know about the similarities between them but you get the point
 
Simulink is programming on stone tablets, complete with "throw it away if you made a mistake"
 
9:38 PM
I don't really mind throwing things away in simulink (?)
my simulations are quite simple and I use a lot of embedded code that's easy to debug
 
If you made a WYSIWYG for perforated cards it'd be a better programming environment than Simulink
2
And probably easier to debug
 
I wonder if I'll get a labview license
 
Hell if you skip the entire computer part and just make the cards by hand
 
for free
 
I used qucs for analog circuit sim, was quite good
 
9:39 PM
then I might go for a combination of something else + labview
 
what kind of sim are you doing
 
instead of matlab
 
man I'm so happy I sped up my update loop that I no longer want to do anything productive
hmm
 
I should've asked at the interview about the license
-
 
Welp
Hello again
 
9:48 PM
howdy
 
Howdy, partner!
 
I've read that there's this mobile game where the most expensive IAP can be obtained for free by waiting for 58 full years
that's RL years
 
I still haven't gotten my Windows 10 notification
Should I be worried
So... Simulink throughly traumatized Cat
 
@milleniumbug Nah. He is just naturally grumpy.
 
10:03 PM
@milleniumbug The update download fails to start a lot
Look in WU log
 
w3m is so cool
 
Ell
evening folks
@nabijaczleweli links is better imho
 
@Ell Looks pretty neat, too
I just Googeled snackoverflow and w3m was the first thing that popped up
 
10:24 PM
@sbi You have a fan
SBI, Switzerland
1.6k 1 5 12
 
@milleniumbug He is a Java guy. Let's summon the hitmen and go kill him.
 
> rm_root – adds --no-preserve-root to rm -rf / command.
lol
 
@Puppy Your system die while computing rm -rf / . Lost something? Go get another one!
 
Ell
it's quiet in here
 
10:37 PM
thanks now you ruined it
 
Off 4 the 30km bushwalk ...
 
sbi
@milleniumbug I have many fans. (I have kids, you know.)
@Ell Wow! Congrats! What are you gonna do with this?
 
Ell
@sbi Thanks!
I think I will use it to pay off half of my tuition fee :)
Which is quite a significant amount
 
@sbi What, do they keep buying you fans? You must keep nice and cool in summer
 
sbi
@Puppy Kids are their parents' biggest fans. Always.
 
10:44 PM
what, with the whole palm leaves, grapes kind of stuff? that must be sweet
 
sbi
You're such a cute puppy when you're trying to be clever!
 
woof woof
I just am a cute puppy in general
 
Cuppy
 
What torrent client do you guys use?
 
sbi
None.
 
10:47 PM
qBittorrent
 
Deluge
 
transmission
 
Xeo
what cat said
 
Deluge is garbage
 
Still better than uTorrent
 
Xeo
10:48 PM
fuck what uTorrent has become :<
 
(lmao @ bitcoin miner)
 
Yes uTorrent is worse garbage
 
transmission will always and forever be the king of torrent clients
 
last I checked uTorrent was like an operating system running ads and weird hiddenware
 
10:50 PM
Maybe if you really need remoting
qBT is better otherwise
 
@AlexM. at least it's small, just a couple megabytes if I remember correctly
 
That so doesn't matter
 
Ell
inb4 are you a dinosaur
 
Xeo
@ʞɔᴉN That's worth nothing
It was a few kbyte big back in the day
and had no ads, no installer crapware, nothing
 
Neh, it was always in hundreds
 
Xeo
10:52 PM
@CatPlusPlus was it? I thought I remember around 20
 
It was around 200
 
Xeo
ah, okay
 
1.8.1 is 263 some random site says
 
that's still really impressive
 
But I doubt it was ever smaller than that
 
10:55 PM
yay I got to the Gentoo kernel config
 
Ell
11:06 PM
Woo
 
@AlexM. Running a bitcoin miner.
 
the youtube auto-generated subs are getting good
 
@Veritas Example? :o
 
the great war series from some episode on, I forgot the number
I only saw "minor" mistakes when I went into the autogenerated subs
 
it gets better a minute or two in
well make that five
 
11:14 PM
what about never
 
@Veritas tl;dw
 
yadayada
 
why would I need emacs when I have nano..
 
man why is android studio so terrible
 
because Java
 
11:26 PM
is it?
 
and Android
 
I can forgive how bad java is, its just the application is confusing and has shit design
 
isn't android studio just a version of intellij IDEA?
not a bad IDE
 
It has a bunch of android specific stuff (which sucks). I haven't used IDEA so I can't really compare the two.
 
11:28 PM
@Prismatic well that makes sense, because it is Android Studio after all
 
i want to calculate how fast that whale had to be moving vertically to reach that height
 
i want to calculate # of seals consumed and burned in order to reach that height
seems like a terrible waste of energy
 
std::vector<int> v{1,2,3};
auto iter = v.begin();

//how do I use iter to get int back?
 
You dereference it
 
Ell
@TonyTheLion wow that whale is high
 
11:32 PM
have you googled "C++ iterators"?
 
Ell
@TrevorHickey assert(*it == 1)
 
I ate too many madeleines and I feel like vomiting :<
 
well I have two iterators passed into a template like this:
template<class InputIt, class UnaryPredicate>
void algorithm(InputIt first, InputIt last, , UnaryPredicate p ){
}
 
Ell
You silly billy
Let it be a lesson to you
 
I want to get the type that the iterator points to inside the function
 
11:34 PM
iterator_traits
or decltype
 
Ell
^
 
is it value_type?
 
Ell
Iterator traits preferred IMHO
Yes
 
I'd just decltype(*it) because why not lol :P
 
Wrong choice
It could be a reference
You have to remove_reference first
 
11:36 PM
error: 'InputIt' does not refer to a value
decltype(*InputIt) i;
 
well duh
 
so I have to use an iterator trait
 
the decltype takes an expression
you haven't provided one
 
oh.. I forgot typename
I think:
does it
 
lolno
 
11:37 PM
but
 
typename std::iterator_traits<InputIt>::value_type i;
 
oh, that
 
you do know that InputIt is the type you're looking for
right?
wait nvm
 
sure, that's how you do it
 
right. InputIt is a template type.
I needed to use that type to get back another type.
yup, thanks guys :)
 
11:37 PM
post your whole function somewhere and link
I never needed to do this so I'm curious
i.e. never had to explicitly get the type of a thing below the iterator in a generic func
@milleniumbug which is still part of the type
int& is "reference to int"
hence why I'm asking for his example
 
Hi everyone. Where I can get help with building llvm using visual studio?
I've got strange linking errors and don't know if it's a bug of llvm, vs15 or I'm doing something wrong
 
@AlexM. Yeah, except if you want an usable object type for declarations, that's would give you a wrong answer
 
yes, I got that
 
> don't know if it's a bug of llvm, vs15 or I'm doing something wrong
 
can you have iterators over collections of references
last I checked you needed reference wrappers
to get e.g. a vector of refs
 
ok, dude doesn't want to show me his function
must be NSA work
 
@milleniumbug I have details listed here: stackoverflow.com/questions/31666481/…
 
@AlexM. Sure, but it’ll have to be a non-standard collection as you note. The standard allocator concept gets in the way.
 
I wonder if I can check if a given pointer points to aligned memory portably.
I've seen this question but they all use weird casting tricks I don't know if they're portable.
omg that's awesome
187
A: How to open Windows CMD so that it starts in the current folder?

The_IT_Guy_You_Don't_LikeEnter cmd in explorer's address bar & press enter

 
repost
13 hours ago, by Alex M.
TIL
 
11:56 PM
I should've lurked more then :/
 
@AlexM. you can't, it's impossible to initialize references from uninitialized memory.
 

« first day (1749 days earlier)      last day (3199 days later) »