« first day (1702 days earlier)      last day (3261 days later) » 

12:00 AM
to log in to the sql server
 
that's sad. Talk to the dean on monday
And learn :)
 
i'm not dropping DBs lmao i have a 90 in the class
it's just so...boring...and in my eyes useless...
im gonna go do the practice midterm now for data structures brb AttentionWhoring.Suspend();
 
C#6 interpolated strings are cool
 
so its "in place" string format basically?
or inline might be a better term
 
12:16 AM
the formatting isn't special. It's the interpolation of the expression to be formatted
 
Github can render IPython?
 
(not special for scripting languages, but special for compiled / strongly types languages)
@LucDanton you mean, syntax highlight?
 
I was looking at this example
 
that’s amazing
 
12:18 AM
Ah. It's not Iron Python then
 
@Borgleader Yeah it's syntax sugar
 
> Implementation Running On Net
 
But it gets rid of string.Format and puts the expressions directly in the placeholders
$"foo {whatever.Blah} bar" == string.Format("foo {0} bar", whatever.Blah)
 
righto
 
@Borgleader SSDs definitely are fast. Reliability depends a lot on how you define things. For example, physical abuse can kill a hard drive much more easily than an SSD. SSDs are much more prone to simply wearing out though--Flash memory supports a limited number of write cycles, at which point it just doesn't work any more.
Failure rates tend to look vaguely like this (upper line is HDs, lower is SSDs):
I haven't extended it out, but the line for the HD keeps extending a long ways to the right, long after SSDs are dead and forgotten. It does eventually start to curve upward, but much more gently than the curve for SSDs.
 
12:27 AM
How "long" before you reach the bend on the line for SSDs?
 
Depends on HDD and SSD
Well and I/O load
 
@CatPlusPlus It must start with a $ to signal that’s an easy way to save hours, hence money.
 
@JerryCoffin I love how ambiguous you made which line is upper :)
 
ConfigureAwait is annoying
 
@sehe lol
 
12:29 AM
@sehe That's what gives me the upper line hand!
 
@JerryCoffin As per cat's comment, how much i/o before you reach the bend?
 
@Shubham you don't (re)initialize s each time around the loop
 
@Borgleader The article you linked has quite a bit about that--but just as a quick guideline, figure half a petabyte or so (for a good quality one). Enterprise class SSDs (that use SLC memory cells) generally do quite a bit better than that. Total amount depends on drive size too though--it's basically a maximum number of writes per cell, so more cells means you can write more data overall.
 
@JerryCoffin right, but i thought maybe you had other figures from different sources.
anyway, half a petabyte? thats uh 500tbs? even if we lower this to say 100 TBs, and say that in general a normal user would do at most say.... 10GBs of transfer a day, thats what... 3 years before it fails? until that time failure rate is better for ssds
 
@Borgleader I've seen a few other things, such as the standard for how to measure such things, and documents from both Seagate and Kingston talking about it.
 
12:42 AM
@Borgleader I wouldn't expect the average user to save 10GB/day.
 
@Shubham and here's for good measure coliru.stacked-crooked.com/a/c376854c3af9729b
Remember we're meanies
Night all :)
 
@TBohne I was being somewhat conservative with my estimates.
id have to lookup stats on how long ppl generally keep their drives before changing them but i wouldnt be surprised that for this amount of time the failure rate of SSDs would be lower than that of HDDs
which brings us back to my original comment about them being more reliable
 
@Borgleader Yeah, I think three to five years or so is probably about what they expect as a reasonable minimum for most average users.
 
@Borgleader depends on a lot. I imagine SSD being more reliable in laptops/mobile drives pretty quickly; more so in humid climates etc.
 
I'd imagine for most people the amount they write is basically coupled closely to the bandwidth of their Internet connection. A typical programmer can generate a lot more writes in a hurry (modify 10 bytes of source code, write half a gigabyte or so of object code. Repeat interminably).
 
12:53 AM
Don't forget about important IDE services: intellisense/navigation indices
 
Yeah, I moved all of my VS solution folders to my HDD.
 
I've thought about @Mysticial's situation a bit though. He's pointed out that for computing Pi, he'd blow through an SSD in a few months. After considerable thought, I've decided what we really need is a box with a, say, 10 GB/s Ethernet connection, and a few terabytes of DRAM sticks.
 
I tend to move stuff like that to ram disk. /tmp actually, but on windows...
@JerryCoffin PCI SSDs are close
(but still SSD, I know)
 
I got an 81. Highly disappointing....but yet highly sobering
 
12:58 AM
@DonLarynx I got an '82. Was never disappointed in her at all. (We are talking about the year your first girlfriend graduated from secondary school, right?)
 
@JerryCoffin my first gf wasnt alive until '94 i think
this midterm showed me i understand more of AAs than lists, wtf?
how does myList.Remove() NOT HAVE O(1) runtime?!
I understand to get to its location it's T(n)
 
What's myList
 
myList is a List object
 
Also it's natural for programmers to understand alcohol more than lists
List object what
 
@sehe What difference does the interconnect make? The flash cells wear out the same.
 
1:02 AM
@CatPlusPlus It's a List object. List object implementing the ADT Linked List
doubly linked
 
I'm apparently an owner of bin, does that mean I can bin things?
 
@Potatoswatter Sounds like it.
 
You don't have to be the owner of a room to move messages to it
You do have to be an owner to move messages from a room
@DonLarynx Linear scan executes in linear time, yes
 
Oh. So, no.
 
1:06 AM
Not from here no
 
@Potatoswatter Not from here, but if (for example) you create a room, you can bin things from there.
 
You can move stuff from bin to wherever though
You're basically a garbage man
Congrats
 
That doesn't sound quite as useful. And good thing I'm not a troll.
 
@CatPlusPlus Actually unsigned int Remove (const T& t); // Remove all copies of t was his implementation...so I'm wrong completely...i am an idiot.
i thought there was only 1 copy of t. too much subconscious working with tables i guess.
 
Even if it was just remove first it still has to go through the entire thing in worst case, only unlinking the node is constant-time
 
1:08 AM
@DonLarynx Don't feel bad, it should have been named remove_first or remove_all. However, both those operations have the same big-O complexity.
 
@Xeo lvl 412 of this game has been going on for 10 min :(
 
@Borgleader Your mistake is paying attention
 
@CatPlusPlus I'm not, I was watching Dexter, I checked up on it is all
 
Man how I hate this city
 
Ugh VS started to hang on run
 
1:12 AM
Metro stations close at midnight, on a saturday night. Buses don't come when they should. When they come, they won't let you buy a ticket on board and they won't tell you where to buy one. Taxis are all full and not even that many. If you book one by phone, it arrives 20 minutes after the estimated time of arrival and costs 15 pounds for a 15 minutes ride.
Fuck this place sideways
What is this, Italy?
 
loldon?
 
yeah
 
No seriously why is this stupid debugger hanging
Fucking
Ughhh
 
How are the destructors of a vector ADT implementation T(n) when the destructor only does one operation: delete[] thisvector;
 
@AndyProwl Obviously not. If it were Italy, it'd be more like: "The trains were on strike yesterday, the buses went on strike at midnight, and the taxis did sympathy strikes both days." (Or maybe it's just me, but the one time I visited Italy, the first thing they gave me at the Hotel was a schedule of who was going to be on strike which days...)
 
1:17 AM
Windsor's debugger visualiser freaked out on dependency loop apparently
@DonLarynx Because it invokes N dtors?
 
@DonLarynx Destructor has to be invoked on each item in the array.
 
@JerryCoffin Yeah Italy's a joke but if they won't sell you a ticket on board at least they won't throw you out of the bus. And if they do (which they won't) they will at least tell you where to buy the tickets. This fucker was just "get off mate, get the fuck off"
 
i didn't know that....i just thought it deleted the pointer. which doesnt make sense now because the pointer + (2, ..., n) arent deleted
 
That's like the whole reason delete and delete[] are separate things
 
thats how i dont listen to things without thinking about them.
 
1:20 AM
@AndyProwl Yeah, I sometimes think Londoners got envious of the French being so well known for being rude, so they decided to prove they could be even more rude...
 
@AndyProwl @TonyTheLion So turns out I was right about cash payments and London buses.
:D
 
@ScottW I managed to convinced them to take one picture and this is all, but I don't think they'll agree on posting it here :D
@Griwes Any payment. They won't take credit cards either
 
@AndyProwl s/cash/any non-contactless/
excuse my not being extremely focused on the details of my messages
:P
 
Bus/tram drivers here are forbidden to talk with passengers, but we have a ticket machine that takes cards in every vehicle
 
@Griwes s/any non-contactless/any/ really. I asked the driver and he said tickets can't be bought on the buses full stop
 
1:29 AM
@AndyProwl wat
 
Even on the night lines
 
The TfL websites say that you can pay with a contactless card.
 
@CatPlusPlus That's how a civilized country should look like :D
@Griwes Then the driver lied to me
 
He just wanted to throw you out :v
 
Probably
 
1:30 AM
Anyway, I guess it will take me a long time to understand how pubs can be closing down before 2am.
 
Oh and the 00:57 bus did not come
 
eh
maybe it came later ;P
 
@CatPlusPlus forbidden?...while he's driving, or at all?
 
lol uk
 
only the 1:13 one showed up so in the end I waited like one hour before finding a vehicle that would carry me to the hotel
 
1:31 AM
I was supposed to only make it to an N73 one, I managed to catch the last 73 one.
 
use uber
 
Oh and Victoria was also closing down, so I didn't get any actual food in the end. :D
 
@melak47 Well mostly while driving, but in newer trams/buses they lock themselves in and there's no way to do that even so
 
@CatPlusPlus tram I can see, but a bus where the driver has a sound proof cabin? :D
 
let's see if I can wake up at 8am
 
1:33 AM
I don't think they're sound proof anywhere :p
But yeah you don't talk with the driver usually at all
 
Yeah, the buses don't differ between the old and the new ones in that regard really.
But for trams Cat's mostly correct. :P
 
i sometimes use this source forge project and talk to the author and such... should I suggest that he move to github or would that be rude?
 
Yes, no
 
yes
 
@Prismatic just take control of his sourceforge page and do the move for him :p
 
1:35 AM
Whether or not it would be rude is extremely irrelevant.
 
> and a few hundred terabytes of DRAM sticks
 
Never enough RAM
 
I wish github provided a mailing list. I feel like that's the only thing github doesn't have and everyone who uses/discusses the project uses the mailing list
 
Fuck mailing lists
 
I'm not a huge fan of mailing lists but at least they are archived, easy to use and easy to search
 
1:36 AM
yeah
plus there's issues
and you can watch a project
 
Easy to search
 
and then it sends mails
 
Easy to use
 
and it's basically superior in every way
 
github's issues thing is ... I don't know. Not a fan.
 
1:36 AM
You're not describing mailing lists here
 
no-one sane's a fan of mailing lists
 
@Mysticial That'd take a pretty big box. I was figuring a few terabytes per box, then stack as many boxes as needed.
 
-7
Q: What is PHP useful for?

Giorgio VitanzaI have been studying PHP for few days, but so far I doesn't seem to be useful in a matter of style of the webpage,am I right? And database.. Is it useful for something else except for sites you need to register to?

2
 
@JerryCoffin ooooooh
 
I'd say I've gotten solutions for the majority of issues I've faced using open source projects through mailing list archives
 
1:38 AM
ooooh I still have some snacks I bought in the morning-ish
 
Remember, before SO came along?
 
looks like I will make it till morning
 
Fuck mailing lists forever
 
mailing lists are unreadable to me honestly
 
Are you young?
 
1:39 AM
er yes
 
that is irrelevant
 
@MartinJames Did he really think that would be a good question? lmao'
 
mailing lists are terrible in every way imaginable
(and so are mails really)
 
I think some people believe that the underlying assumption here is incorrect. — Mysticial 7 secs ago
 
@Mysticial Looking at things though, DDR4 (at least theoretically) supports up to 512 GB per stick, and something like 40 sticks per box would still be pretty reasonable, so that'd give you 20 TB per box. Not sure about when/if DIMMs with that capacity would be available though...
 
1:40 AM
It would be cool if you provided some reasons instead of just saying "turrible" over and over again like barkley would if he had been watching lebron's little accident the other day
 
@DonLarynx Well, at least he didn't dump it here, (well, I suppose I did:).
 
@JerryCoffin Are there any actual CPUs that can handle like, 2TiB+ of RAM?
@Prismatic they are absurdly unreadable, hard to search, none of the software to showing them works well on mobile, they are full of arbitrary line breaks (as if sane software doesn't break lines), and then they inherit the rest of email terribleness.
 
The only thing I agree with you on is that code snippets turn out shitty
 
@Griwes Why would today's 64-bit CPU's not be able to address that?
 
Anyway, I think it's time to sleep. G'night from this weird city called London, guys.
 
1:43 AM
nn
 
Mail software is universally shit, the archives are usually not indexed in any way (or done badly) and just left to the mercy of external crawlers, nested threading is a terrible idea when you read threads from start to finish, emails are a jumbled mess of outdated design and unstructured text that can't be rerendered in any sane way
 
@MartinJames They don't physically have lines for all 64 bits. I believe the first few generations of 64-bit processors only had like 40 bit address lines.
 
I think the highest memory supported I've seen on Intel Ark was like 1TiB (tip: it's the physical address space that matters, not the virtual one).
 
I dread navigating through any mailing list archive
 
Anyway, g'night.
 
1:44 AM
It's still on the level of bad websites from 1990
 
@Griwes The idea here is to build a ridiculously fast SSD, not something the CPU would address directly as memory.
 
@CatPlusPlus lets write a better system
and post it on hackernews
 
Even dicsourse is better than a mailing list
And that's saying volumes
 
There's this thing I've seen where people tie mailing lists to forums where posting in one automatically posts to the other and vice versa which is kind of neat (though it doesn't work as well as you'd think)
 
Do that
And then get rid of email part
And then you have something you can at least work on
 
1:48 AM
I feel like some people are probably too used to mailing lists to ever move
like you think the LKML will ever migrate to something more modern?
 
Like I care
I just hope I'll never have to find anything there
 
it was just an idle comment
 
Also no
 
@Griwes A quick check shows that Xeon E7 V3 processors can address ~1.5 TB.
 
> The daily grind would make a good name for a coffee shop
so true
 
1:52 AM
Hm...apparently the display driver didn't like my mentioning that kind of hardware--it just crashed and re-started.
 
yo yall ever heard of butter coffee (or even tried it)
 
@Prismatic Not me (I don't drink coffee at all).
 
@JerryCoffin Or maybe you have an AMD Green Edition CPU.
 
I ... want to try it
Just to see what it tastes like
 
cant tell if it would be amazing or meh
 
2:00 AM
tastes like eggnog
 
Yeah, I can't imagine what it would taste like but its piqued my curiosity
 
@Prismatic when is newbell.js going to become a thing?
 
@LucDanton Nope. It's an E5-1620 CPU.
@Prismatic I'm gonna bet it still tastes like coffee (which will ruin any other flavor you try to add).
 
2:28 AM
> Highly portable C++ with no use of STL containers
Ah, Box2D.
 
@nick You mean nooble.js?
 
i thought you said it was newbell?
 
@JerryCoffin You use a server processor? That's interesting.
@nick newbell == nooble
Pretty much
 
right right
he needs those cores to compile c++
 
You need a lot of cores to compile C++ because it's bigger than your mother in bed.
 
2:40 AM
Hehe.
 
@Mysticial y so mean
 
@Nooble Yes (at work I do). At home, where I have to actually pay for it, I have a much less expensive processor (an AMD A8-7600). The latter is definitely slower, but not by nearly as much as the difference in price might suggest.
 
@JerryCoffin Looks like you have some definitely exceptional integrated graphics.
 
@Nooble Yeah, as integrated graphics go, it's pretty sweet. I'd previously used a fairly high-end discrete graphics card (but an old one--nVidia GTS-8800), and this seems pretty close to the same speed, though I haven't tried to test it thoroughly at all.
 
3:22 AM
@JerryCoffin I'd be surprised if the integrated graphics didn't beat out that 8800. I mean, the thing is 8 years old.
 
@Nooble It might--I haven't tried to check carefully at all.
 
The 8800 was a marvel of a card at the time
i bought its slightly less marvelous sibling the 9800gt
 
does anyone know whether iphone can play mp4?
 
yes
H.264 encoding only though as far as i know
 
3:46 AM
Fuck, why doesn't python have destructors?
 
isn't memory cleaned up automagically?
 
you mean garbage collection?
 
More like whenever the fuck. Its a problem with resources like file handles or something more difficult like hardware handles. There is indeed a method called __del__ but it seems to be called at whim.
 
@Mikhail It seems to be the general problem with garbage collection - I don't know a GC'ed environment that also has deterministic destructors.
 
does anyone know how to bunch convert mp4 files into mp3 format?
 
3:52 AM
OTOH Python has using
 
@chmod711telkitty ffmpeg superuser.com/questions/332347/…
@milleniumbug I wonder if we could have a better language that would have both? for example classes could be declared with a decorator called finalize
 
linux ...
sad me using windows
 
@chmod711telkitty also works on Windows...
 
ffmpeg is cross platform
 
looks like I have retrieve it & build the executable from git source ...
but thanks
 
such helpful
 
there were no C++ questions to answer
 
now I feel like a newblet ~_~
 
You little ahh nooblet
Smaller than a bug nooblet ahh
Easier to defeat than a 2 char 2 + 2 = 4 bug nooblet ahh
 
I got 300 USD, what bike should I get?
 
4:14 AM
@Mikhail You could (of course both Java and .NET have finalizers) but they're pretty much a dead issue. Destructors are useful largely because they're predictable--when an object goes out of scope, it's destroyed. No ifs, ands, but, or delays. With garbage collection, you get a guarantee that an object won't be destroyed until sometime after it's no longer accessible--but that's pretty much it. It might happen almost immediately, or it might happen a lot later.
 
you can get a bike with 300 dollars?
 
How do I convert all the files in certain directory from mp4 to mp3 using ffmpeg? Is there a -r or -R option?
apparently all the links you have sent me only convert one at a time
Oo, I need to write a script ...
 
@chmod711telkitty It must feel great.
 
@JerryCoffin In java its something ugly, right? You need to use the zombie object paradigm with a field called isAliveso that you don't destruct it twice?Is it any better in .net?
 
4:33 AM
learning to write dos script in 5 mins
 
Morning.
@chmod711telkitty In command line window do for /? and use one of the syntaxes to list he dirs.
 
for %%a in ("*.mp4") do DO ffmpeg -i "%%a" -acodec mp3 "%~na.mp3"
converts all the mp4 in the current directory into mp3 ... no?
does not seem to work
 
5:07 AM
figured it out, all 40 files converted!
for %%a in ("*.mp4") do ffmpeg -i "%%a" -acodec mp3 "Converted\%%~na.mp3"
 
maybe use python with call functions, os.system
 
Working full time for 6 days is not easy.
Hi.
I just finished surveying a shoreline yay
 
did you find anything?
 
No the point is to basically survey the property, check boundaries, and then give technical material to be used legally to trim land off a person's property since beaches disappear.
 
5:14 AM
@VermillionAzure in January I was doing 60-70 hrs a week regular :)
@VermillionAzure and what's the point of that? to lower property tax or something?
 
5:40 AM
@Borgleader lol why the clouds
that car has stratocumulus generating wheels
 
@nick no it's to redefine boundaries I think when selling
Some of these properties can lose hundreds of feet in length over a few decades
 
@VermillionAzure doesnt 10 acres sound better than 8.5 acres though?
wait does anybody besides America still use acres as unit of measurement?
 
@nick you can't consider underwater really as LAND
especially if it's not just underwater, it's been obliterated by the sea into fine grains of sand
 
but who would know? I don't think anyone besides surveyors actually know what an acre looks like :)
 
@nick surveyors are pretty vital to almost all aspects of real estate. It's also written into law
 
5:54 AM
so you're not working as a programmer at all right now?
 
That's my regular and other job
The field work is on an occasional basis
 
ah I see
 
I am an R and Lisp programmer for pay now
And I hang out with C++. Go figure.
 
I haven't even touched R and Lisp, its all js these days
@VermillionAzure what happened to Cicada btw? been meaning to ask
 
@nick you chat as if I know him
I think he 's moving or something
 
@nick I heard she's doing well, why do you ask?
 
Btw I need to settle this
 
> PS I've used C++ for 15 years.
 
Is rightfold a girl? (Or actually claim to be one contrary to LRiO?)
 
6:28 AM
I read that as "PS I've been terrible as C++ for 15 years."
rightfold is a girl who had a sex change
nobody's quite sure of rightfold's gender anymore
we just know he/she has a vagina
 
@buttifulbuttefly and Tomalak is a woman who is cosplaying as a man. No really
 
Eh that's complicated
meh.
also btw why does Chrome render so high-res and small vs Firefox
 
7:07 AM
neat
19 flags.
time to validate them all
 
7:34 AM
Hello.
 
kumusta ka kababayan
 
Time to enter the wonderful world of iOS!
 
smurf alert
 
I know you are but what am I
 
minismurf
 
7:40 AM
A miserable pile of jabbascript
 
[5,3,1].map(n=>Array(10).join(+{}).replace(/(..)./g,"$1"+Array(n).join(" ")).forEach(s=>console.log(s))
 
user1804599
8:28 AM
@minitech delete that code and rewrite it.
 
user1804599
It's terrible and unreadable. It looks like it was written by a JavaScript programmer.
 
Gah. Woken up by some idiot hornet buzzing around my room, unable to get out.
 
user1804599
Make a laser turret.
 
Hmm, are those things powerful enough to shoot down hornets?
 
user1804599
8TW laser.
 
8:33 AM
Also IIRC those things go for the wings? Having an disabled, angry hornet crawling around my room/bed doesn't sound great either...
 
user1804599
3
Q: Do variant callers miss rare variants in reference?

Can H.Generally variant calling programs (such as GATK-UnifiedGenotyper) look for differences between reference genome and submitted sequence. However, we all know that reference genome consist rare variants in various positions. If submitted sequence has this rare form of that variant, variant call do...

 
user1804599
ITT biology = C++
 
Except they have nodules!
 
user1804599
@sehe twitch.tv/sethbling livestream
 
8:39 AM
Anyone here involved in the C++ spec process?
 
Andy's on the edgy videos committee.
2
 
user1804599
If you have to fix such a horrible language before 2017 then you don't have time to chat here.
 
@MarkGarcia neat.
@rightfold bjarne had time to reply to Andy's video on reddit :p
 
user1804599
That's why C++ is so terrible.
 
user1804599
 

« first day (1702 days earlier)      last day (3261 days later) »