« first day (2094 days earlier)      last day (2752 days later) » 

12:08 PM
$ cat toram.sh
sudo swapoff -a
sudo swapon -a
^ real useful 2-liner
 
12:27 PM
LINQ is basically C#'s jQuery
It's the answer to every C# question on SO ._.
 
Except LINQ is integrated, unlike jQuery.
 
@DJMcMayhem ಠ_ಠ
 
@TuxCopter what?
 
-1 for undertale
 
ಠ_ಠ -1 for "-1 for undertale"
 
12:36 PM
ಠ_ಠ -1 for "ಠ_ಠ -1 for "-1 for undertale""
 
Why do you hate undertale?
 
¯\_(ツ)_/¯
> LINQPad is not an open-source product and the source code is protected by copyright laws. Nonetheless, you are free to disassemble the executable to satisfy your curiosity.
Huh. A closed source thingy that allow disassembling the executable
 
12:54 PM
huh
My compose key borked my terminal emulator so I can't save a file in vim
Oh nvm it work well now
 
1:32 PM
@Dennis can you pull Charcoal? Thanks!
 
@ASCII-only Done.
 
2:08 PM
0
A: Sandbox for Proposed Challenges

XiKuuKyCode Golf: Directional Brainf*ck Compiler Challenge: Write a Brainf*ck compiler with 4 extra commands. L Set the direction to go left R Set the direction to go right D Set the direction to go down U Set the direction to go up Test case: D - [ - - R----->+<]>D D++++->[-.-L R++..+++.[--->+<]>-...

 
2:19 PM
This room is quiet
 
Just went to check one of my old emails, found about 6 login attempts not from me over the past month. Fun.
 
hi all
 
lla ih
 
@Sp3000 I have an ancient email account that I regularly get notifications that somebody is trying to access. It's been nearly 10 years since I accessed it, though
 
Haha, I had a hotmail account that I basically just used for registering to forums or other crap. One day I noticed someone stole it and changed the password. Tried to recover using all the different options, but it was impossible. Years later they changed the recovery system, and for some reasone I then was able to recover it. Fun stuff...
 
2:27 PM
lol
I just use mailinator if I don't care about the service
 
Oh hey, I have an account which I haven't changed the password to for 8 years. digging through old emails
 
somebody at Weiss research is trying to contact me :)
 
lol
 
@NathanMerrill Unfortunately many forumns continuously block e-mail adresses from services like this one.
 
@flawr yeah, but mailinator has so many domains. I have a couple of them memorized, and if they have mailinator blocked, they usually don't have a different one
 
2:31 PM
@NathanMerrill If you only had followed their instructions, you'd be approximately 80000 times richer!
 
notmailinator.com is my favorite
 
haha, so cool=)
 
@flawr aka crippling debt
 
bah, I used to have an email at cia.com
but I can't seem to login
 
2:37 PM
wat
 
its not affiliated with the CIA
 
google made me reset my password because I was using Tor
 
@NathanMerrill there's an extensiom that's autofill for junk email addresses. they support a ton of providers
 
2:41 PM
^
 
@undergroundmonorail Oh my, I didn't realise you were the one who made the Exhibition Match game on SHENZHEN!
 
@TuxCopter
 
@TuxCopter Seriously, stop posting such useless messages.
7
 
@NathanMerrill probably some guy who actually thinks he owns the account
 
And I'm not saying that as a room owner or a chat mod, but rather as someone that's fed up with how many of your messages are so non-informational.
I come to TNB in large part because I learn stuff almost constantly (and so I can return the favor).
3
 
2:53 PM
Every once and a while I remember the hard way that I don't own the "phinotpi" gmail account.
 
any python experts in?
 
...did you change your nickname or were you always PhiNotPi?
 
@Lembik What have you got?
 
I want to run one of the answers (in C) as a command line tool from my python script. I can do this with subprocess.call. But how do I pass the input the standard input of the command line tool and capture the output?
 
TNB Podcast PSA: I will send a few dates for the first test recording next Thursday (Oct 27), along with further information.
5
 
2:55 PM
@Fatalize no, I've been PhiNotPi for 6 or 7 years.
 
do we know the planned topics?
@PhiNotPi ... I always read that as PhiNotPhi for some reason ._.
 
@Fatalize .-.
 
I've known for a little while that one big reason I don't like in-person social situations is the small talk. (Apparently, not many people like the small talk either, but they think it's worth putting up with it. I don't think so as much.) I'm starting to realize that perhaps what aggravates me about some conversations in here is that they're effectively small talk. I'll keep watching/reading to see if that's actually the case.
 
@Lembik Blind guess: subprocess.Popen with setting stdin and stdout to subprocess.PIPE then using subprocess.communicate()? (either that or subprocess.check_output, but I dunno if that does STDIN)
 
@Sp3000 thanks! I will give it a go. The answerers have made it quite hard for me to test their code :)
@El'endiaStarman the great thing about online chat rooms is that you can just ignore anything you don't like
harder in person
 
3:02 PM
Should probably mention - if you're using Python 3.5 then I think there's also subprocess.run(), but I've yet to try it (dunno what the difference is tbh)
 
@Lembik Certainly, but it still takes a little time and effort to notice that what you're reading is pretty much drivel.
 
:)
@Sp3000 thanks.. I am sadly still on python 2 :(
 
@Fatalize You mean you read the pi as phi not pi?
 
yes
 
its
 
3:04 PM
never noticed that there was no h
 
The irony :)
 
It's similar to my big issue with ads: they're basically mental pollution. They want your attention without giving you anything in return. When I go to a news website to read an article, I don't care about whatever else they want to shove in my face. I want to read the article!
 
1.618033...
not
3.141592...
 
@El'endiaStarman you could always just try to solve my challenges instead :)
they will certainly keep you busy
 
Aye, there's no shortage of challenges. But what if I'm not interested in challenges for the moment?
 
3:07 PM
@El'endiaStarman there are about 2^10 unsolved ones still open!
by which I mean ones where you could still plausibly do better
what sort of challenges do you like?
 
Ones that I can do in Minkolang. :P
Though once I get Pytek feature-complete enough, I'll start answering challenges in it.
 
Are you working on implementing pytek??
 
Slowly, but yes. :P
 
I was shocked when I first noticed steveverrill had two 'v's
I had parsed as 'steve errill' for a year.
 
Did you notice the two vs in flavvr?
 
3:15 PM
No, because there wasn't the word flavvr anywhere.
 
@El'endiaStarman I think there's the potential to avoid a lot of small talk online. Sometimes it's not just filler, but an introduction to talking. In person people go through the ritual of discussing health and weather before getting on to what they really want to say. In here, even "Hello" and "Goodbye" are unnecessary, so we can just say things without any introduction. The problem here seems to be inane messages. I think it's being generous to call them small talk...
 
CMC: Name an English word that contains 3 of two consecutive alphabet letters. e.g. "banabnab" would work because it has 3 a's and 3 b's (except it's not a word)
 
SmallTalk is weird
 
Does anyone know how to copy coloured text (e.g. syntax highlighted code) from a browser to MS Word?
 
carefully AFAIK you can't
 
3:19 PM
@flawr printscreen
Although that's not helpful it's the closest I'm aware of
 
@flawr You could inspect it in the browser for the color
 
@flawr google docs, download as word file
 
@HelkaHomba At least 3, or exactly 3?
 
@Zgarb exactly
 
@mınxomaτ Interesting. I'll be at home in the city at that time. Finding a recording spot is doable but tricky
 
3:22 PM
@Maltysen does google docs preserve the colouring?
 
@trichoplax Yes, inane and noisy messages are definitely problematic. I do think that there are also sometimes fairly lengthy conversations that don't contain much substance, which is what I was thinking of by "small talk".
 
@flawr I think it should, uses browser clipboard
 
@HelkaHomba That does not help for large amounts.
 
yeah
 
@Maltysen For some reason I cannot even past it in google docs =(
 
3:24 PM
are you in chrome?
it should work in other ones, but I just tried it out in chrome
 
No I'm using firefox. I need to install chrome then...
Anways, thank you for the tip!
 
@Sherlock9 Times are a bit weird though.
Current UTC times (green = this person is available).
 
@mınxomaτ Ahhh, the joys of working with people from around the world. :P
 
Sat 14-22 is looking good. So does Fri 2200 - Sat 0400.
Weekdays are absolutely hopeless.
 
@HelkaHomba Monobenzone
 
3:34 PM
 
@Zgarb Ok. But I was thinking of one non-technical :)
 
Oh hi people
 
hi
 
Ah, you're alive.
 
@mınxomaτ It's not looking very good for person #3 there... :P
 
3:36 PM
@TheDoctor Holy crap, I did this exact thing several years ago.
 
@Doorknob That's Riker.
 
Travelling salesman problem?
 
With a greedy algorithm, yep.
 
Also Evan's times are completely incompatible atm.
 
This one is super efficient
 
3:37 PM
Thing is, I even used white dots and red lines too!
 
lol
Runtime for 1000 points = 0.9 sec
 
@HelkaHomba How about "embedded" then.
 
@mınxomaτ which row am I?
 
@PhiNotPi Second to last
 
cool
 
3:41 PM
does that look familiar to anyone?
 
@HelkaHomba highlighting
 
@TheDoctor Hilbert curve?
It has a similar structure.
 
Yeah.
It's my attempt at solving the TSP with fractals
 
Huh, cool idea.
 
what does the random point set look like when solved by fractals?
or is it already?
oh, I see the curve now
 
3:45 PM
This one's constrained to a grid (like a street map)
Here's a more random dist
 
@Sp3000 @Zgarb Nice to both! The word I was thinking has e+f as the letters
 
(I was wondering if you noticed the fact that it's g+h+i :P)
 
Actually now you've got me curious... brb busting out a dictionary
 
My word should be somewhere in the first 26th of it
 
3:53 PM
^ I did it in 3D. :P
 
what type of algo did you use?
 
Wow, last edit of that file was exactly 4 years and 2 months ago.
@TheDoctor Greedy. Just pick the closest available point to the current one.
 
oh.. I wrote one of those to test against, and it usually beats me
but for actual driving, mine makes more sense
 
Well, definitely. :P
 
@HelkaHomba There's... a lot of candidates actually. Mostly n/o r/s s/t t/u by the looks of it from a quick skim. I'm going to take a guess that your word is feoffee
 
3:56 PM
@Sp3000 He said it was in the first 26th, though. Starts with an A.
 
I didn't see anything with an e/f combo starting with a, so maybe my dict's just lacking :P
 
@TheDoctor Not in the travelling spaceman problem :p
 
lol, i'm mainly aiming at delivery vehicle routing
 
@Sp3000 It was "aftereffect", which can apparently be one word
 
Oh, I chucked out all the ones with hyphens, that'll be why
 
4:02 PM
i don't think aftereffect is ever spelled with a hyphen
Also has anyone heard of this? awards.acm.org/cutler-bell
 
4
Q: Where's the 0xBEEF?

ArnauldThis challenge was inspired by this Wendy's commercial from 1984. Illustration by T S Rogers -- Source: http://teaessare.com/wheres-the-beef/ Your task is to find a hexadecimal 0xBEEF on a binary bun. The 'beef' consists of the following pattern: 1 0 1 1 (0xB) 1 1 1 0 (0xE) 1 1 1 0 (0xE)...

 
@DJMcMayhem I just wanted to thank you for your bounty on my question on mother meta. Hopefully we can start to get an official answer soon.
 
4:18 PM
I'm not very used to the american cup measuring system. So I looked up online: 1 cup of sugar = 210g. Then I actually measured 210g of sugar, and guess what, it exactly filled my cup!
5
 
@flawr 10/10 relevant message to the scope. I love it
 
@flawr .....this feels like a joke. =_=
If it's not, then you literally had a cup, the kind used in baking, and didn't use it?
 
I assure you, that is what I just did!
It was just a regular coffee cup.
 
Hah, that's funny.
Also, that's a small coffee cup.
 
I think a 2D pattern matching language would do good here
 
4:24 PM
I mean you can say what you want about americans and their way of measuring things, but the cup system is just way better suited for cooking that the european one that requires measuring weight AND volume.
@El'endiaStarman I don't know, I don't drink coffee:)
The next bigger ones I know is what I'd usually refer to as a tee mug.
 
@flawr Wait, why do you need both weight and volume?
 
DOn't question it
 
@El'endiaStarman Most fluids are measured in volume, but things like sugar and flour are measured in weight.
 
sugar and flour are measured in volume as well
 
Yeah, that's how it is here. We just have a few measurements that are different for solid and liquid substances.
 
4:27 PM
@El'endiaStarman I think that "small talk" is a bit broad. Does is mean "people talking about stuff I'm not interested in", or "people talking about stuff neither of them are interested in". I think the latter is what we usually term "small talk", but I don't think that happens much here
 
You know I'm surprised how many non coffee drinkers there are here
 
As in, a cup of sugar is different volume-wise than a cup of water.
 
@quartata count me in :)
 
I don't like coffee
 
@El'endiaStarman Oh, then I probably have to reconsider what I just said above. :)
 
4:28 PM
I too don't drink coffee. Or any caffeinated drinks, for that matter.
 
I think there was a relevant xkcd for this
 
@quartata Sadly, you can find heretics everywhere.
 
@Geobits Well, I don't necessarily consider it a bad thing. Just unusual.
 
While we're treating it as relevant, I also don't take caffeine
 
4:32 PM
@NathanMerrill Hmm. That's a good point. I think the "people talking about stuff I'm not interested in" variety is more what I meant, but that's tricky to set a guideline for. I don't want to squash all conversations that I'm not interested in, but at the same time, there are definitely some conversations that I think degrade the atmosphere in here.
 
right, I just wouldn't term them "small talk"
 
@El'endiaStarman Does it differ by much? From what I read so far 1 cup is about 200-230g of sugar. This is about equivalent 200gr = 2dl of water. (I just checked with my now reference cup.)
 
And now I'm wondering if I've had the wrong definition for "small talk" in my head all along...
 
this chat has largely been about golfing, programming, math, and other hard sciences, and when 1. the conversation isn't about those things and 2. the regulars aren't interested in the topic, it seems that that is when we try to stop those conversations
 
@flawr I don't really know for sure. I do know that you would not use a liquid cup to measure out a solid cup, and vice versa.
 
4:34 PM
Totally unrelated: does anybody else feel that the definition of "determinant" for 2x2 matrices isn't consistent with how it works for 3x3 matrices and larger?
 
I'd also divide into things I'm interested in, and things I'm not interested in but seem interesting to some. Both seem worth having here. Some things seem to be just imitating previous conversation, with no interest to anyone. Almost like cargo cult chatting.
 
It seems like these days our main focus is talking about talking.
 
@PhiNotPi The volume of the image of a volume 1 object under the map given by the matrix? Sounds pretty consistent to me.
 
There is small talk and small talk. When you post an unrelated link with no context and just a "lol" following it there's 99% chance it's uninteresting
 
@Fatalize that's a bit unfair. I know that Elendia likes to post videos that are unrelated to the conversation, but that I usually find quite interesting
I don't think that "unrelated to the current conversation" is grounds for "off topic in this chat room"
 
4:37 PM
@flawr or perhaps I should clarify: the way people teach you to calculate it by looking at all of the diagonals of the matrix.
 
Well yeah but it has to have the potential of starting a conversation
which is not true for most of Tuxcrafting's small talk posts
 
I agree the following "lol" rather than "interesting" is a fairly good guide to whether a link is interesting, as long as that isn't used as a rule
 
I have felt somewhat odd posting some YouTube video in the middle of a totally unrelated conversation, but I don't want to forget to do so later.
 
And I only post stuff that I think will be interesting to others.
 
4:38 PM
with 3x3 and above, the diagonals are allowed to "wrap around" the matrix.
 
@PhiNotPi Well, that happens in the 2x2 case too, doesn't it?
 
no, it doesn't.
 
@PhiNotPi I know this formula as sarrus rule, but this exclusivley works for the 3x3 case. But even then I still prefer (and I did teach it that way) to use the laplace development, as it is just the more general approach and works for all sizes.
@El'endiaStarman So you do have two different sets of measuring cups for dry and liquid things?
 
@flawr Yes indeed.
 
@flawr okay, thanks
 
4:43 PM
Typically, liquids are measured with a single glass measuring cup, and solids are measured with a set of smaller cups in sizes like 1 cup, 1/2 cup, 1/4 cup, 1/8 cup.
 
@El'endiaStarman It is so difficult to find things online, as there seem to be so many misconceptions.
@El'endiaStarman Can I ask you a favour? Could you compare those two system for me?
(And see whether there is a big difference in volume if you measure one "fluid" cup and one "dry" cup.)
I really need a reliable source now:)
 
protip: don't use american units
 
@TheDoctor Protip: There are effing delicious american receipes. And they do use american units.
 
According to google 1 cup= 2,36588 dl. A bit annoying to translate recepies like that :P
 
4:50 PM
You can measure only in volumes without using vague measures like "cup" which are defined differently in different regions and for different substances. If you convert your recipe to litres and then adjust if it turns out you converted the wrong type of cup, you can settle on a recipe that has the benefits of both volume measuring and standardisation
 
CMP (Chat Mini Poll): Do you created any 'usable for production' language?
 
@RohanJhunjhunwala Haha, no problem! I was frustrated to see no response, and I don't really care about meeta rep so I figured I'd speed up the process a little bit.
Fingers crossed Here's to hoping they implement it!
 
Cheddar is usable for production... jk
 
Prepare for the goat apocalypse
 
Pytek is supposed to be that if I'm not mistaken
so in about 22 years the answer will be yes
 
4:56 PM
@Fatalize Correct. It'll take us a little while to get there though. :P
......hopefully not actually 22 years.
 
Fun fact re: American units - I once followed a recipe and baked a cake at 350 degrees. It wasn't Celsius.
 
Yeah, only 33 years
 
@Sp3000 Oh jeez. Did the fire alarm go off? :P
 
Nope, the cake just got burnt a lot quicker than I expected and I was wondering why
 
@El'endiaStarman Did you even start implementing it?
 
4:59 PM
@Fatalize Yeah, it's been in development for the last several months.
 
@Fatalize ;_; y u sai dis
 
because it's written in Javascript
 
@El'endiaStarman @Sp3000 Come play on MC server helkahomba.mcserver.ws :D (Well, if you want, I'm on for a tiny bit)
 
brb starting MC
 
I should really be sleeping, but seeing as I'm procrastinating anyway and haven't played in a while... might as well
 
5:03 PM
@HelkaHomba what version?
 
1.10.2
 
@HelkaHomba That was really fun! I'm busy today, but I'll hop on tonight most likely
 
@PhiNotPi It's just month-long free server I happened to get, fyi (but maybe it could turn into something more, we'll see)
 
@flawr as an american, I'm not proud of our unit system... or our presidential candidates
oh if only I didn't have homework Helka
 
The results of the elections are before Thanksgiving right?
 
5:12 PM
Nov. 8 i believe
depends on when thanksgiving is
 
Isn't it at a fixed date?
 
I thought it varied in some other countries
idk
 
lol
Thanksgiving doesn't exist in other countries you know that right...?
 
no.. don't call me ignorant :P
 
I won't
but I'll think it
 
5:15 PM
Hey i have a question.. anyone here who was american and age 18-24 during the 2012 election?
I need to poll people for Government class
 
@Sp3000 I never saw any oven that allowd for 350°C o_O
 
@Fatalize election day is the first Tuesday after the first Monday of November.
winner is normally declared within a day or so... barring complications.
 
So you're lucky, you don't have to deal with elections talk at family dinners
 
@flawr I took it to mean "turn it up as high as I could"... yeah...
 
Uh, was there a change to SO's interface? I was on a question sorted by votes and the accepted answer wasn't first
 
5:18 PM
(first cake though, so I didn't really know anything)
 
@Sp3000 @flawr you're sure it's not 350°F?
 
-1
Q: DIVISION GRID that print out the following

user61079need help with this in java. code that will print out this

 
@quartata Was it a self-answer?
 
@TheDoctor That is what @Sp3000 said=)
 
@DJMcMayhem Oh yeah it was. Didn't notice
 
5:20 PM
@TheDoctor The joke is that the recipe said "350 degrees" and I took it to mean Celcius, when it actually meant Fahrenheit yeah :P
 
Sorry but you're on the wrong site. We're a site for recreational programming. We are not a code-writing service and neither is stack overflow. — DJMcMayhem 2 mins ago
 
Have fun vaporizing your food
 
Too harsh?
 
nah @DJMcMayhem
 
Not harsh enough, really.
Especially since it's very obviously a homework question.
 
5:23 PM
as Geobits said, 90% of questions at this period of the year are homework questions on SO
 
@Fatalize Nah, I'm sure that'll still happen.
 
@El'endiaStarman Well it'll be less heated cause voting is over
 
@TheDoctor Me. I was 20 that year, but didn't go to the effort of getting an absentee ballot, so I didn't vote.
 
This christmas here though...
 
@El'endiaStarman Did you get my ?
 
5:24 PM
@flawr Oh right, gimme a moment.
 
@El'endiaStarman It is not that urgent=)
 
The cup was already dirty from something else.
 
@El'endiaStarman Cool, thank you very much!!!
 
I took a solid measuring cup, filled it with water so it was overflowing, shook some of it out so it wasn't bulging, and then poured it in.
 
5:34 PM
@El'endiaStarman So it seems for cooking purposes we could use the same cups.
 
Pretty much, yeah. That's just weird, though.
 
Why?
(So 1 cup = 8 fluid ounces = 1/2 pint?)
 
You have fluid measuring cups for fluids, and solid measuring cups for solids. That's what they're designed for.
Kinda like how fluid ounces are not the same thing as regular ounces.
 
So perhaps the different shape is just more convenient for one or the other
 
@flawr Yep. 8 oz = 1 cup, 2 cups = 1 pint, 2 pints = 1 quart, 4 quarts = 1 gallon.
Pretty much, yeah.
Like, if you want to measure out flour, it's good to knock out the air bubbles and scrape off the excess, which you can't do with a fluid measuring cup.
Likewise, the shape of the fluid measuring cup makes it easy to pour liquids.
Or, to use another example, you can fill a solid 1/8 cup with shortening or butter and smooth it out so you have exactly 1/8 cup, which would be pretty hard with a fluid measuring cup.
 
5:39 PM
So 8 fl oz = 1 cup, right?
I think I finally understand it!
 
and 1 fl oz of water is about the same as 1 oz of water (both not quite 30g / 30ml)
Wow things start to make sense=)
@El'endiaStarman Thank you very much for clearing things up=) Now I can finally make some Nutella Chocolate Chip Cookies =P
 
Haha, you're welcome. :)
 
@flawr ooh
 
@quartata u hungry?
 
5:45 PM
I'm always hungry for cookies.
4
I think most normal people will agree
 
@flawr A good demonstration of this is the process of leveling out flour:
 
Where did you even find such an oddly specific image
I suppose maybe there's a tutorial for leveling flour knowing the internet
 
Google image search for "measuring flour" and you'll actually find lots of these images. :P
 
0
Q: Given only a vertexId write a GLSL ES 1.0 Vertex Shader that makes something interesting

gmanThe Challenge: Write a GLSL ES 1.0 vertex shader that given only a vertexId per vertex sets gl_Position and v_color to generate something interesting. Highest vote count wins Framework/Boilerplate body { margin: 0; } canvas { width: 100vw; height: 100vh; display: block } <script src="htt...

 
5:51 PM
@El'endiaStarman Haha, thanks=)
I'm now writing down all my findings for my receipe directory.
And just as another mnemonic: there are 0.LEET gallons in one cubic foot.
 
Who's up for a Male/Female challenge like the Downgoat/Upgoat challenge?
 
@flawr 0.1337?
 
@El'endiaStarman yep=)
 
@flawr that doesnt seem right
 
Oh sorry, it is the other way around, 0.LEET cubic foot per gallon!!!
 

« first day (2094 days earlier)      last day (2752 days later) »