« first day (2032 days earlier)      last day (3141 days later) » 

15:00
@SterlingArcher idk if you like these types of shows.. but I've been digging history.ca/forged-in-fire
tl;dr it is top chef but for blacksmithing
I don't trust things that install binaries on my system
I wouldn't flag it. just don't run it
(unless it is malicious. I didn't run it)
I'd assume it's malicious and nuke it.
@rlemon I read the code, it's fine
15:06
@FlorianMargaine keroserene.net/lol the compressed file in here gets extracted on your system
I'm not sure what it is.
I saw that in some article I read
@rlemon and it's run by aplay
@rlemon it's sort of malicious. It seems to rick roll you.
I read the code too
so not much harm can be done
15:07
@FlorianMargaine still. shifty
@AaditMShah malicious words detected: Rick Astley
(was starred in PHP room today)
@FlorianMargaine that's the one
Hahaha. Yeah.
15:09
@AaditMShah dude, you're getting so banned for that
some other room picked up the flags
And a mod just entered
Am I? Well, that's going to suck.
@ssube wot? really?
it's at +11 now and that's definitely not all room 17
apparently everybody considers a rickroll script to be spam
I invalidated it. he isn't trying to fuck with us. :/
15:10
Well, I guess I deserved it.
what has the internet come to
Speaking of that:
1466
A: What is the best comment in source code you have ever encountered?

Jens RolandI am particularly guilty of this, embedding non-constructive comments, code poetry and little jokes into most of my projects (although I usually have enough sense to remove anything directly offensive before releasing the code). Here's one I'm particulary fond of, placed far, far down a poorly-de...

Please stop "updating" the counter. It's not worth bumping this question onto the front page yet again. — Michael Myers ♦ Sep 23 '10 at 20:30
RickRollin? seriously?
15:16
one thousand years dungeon!
@TheLostMind it was flagged?
ugh
@SterlingArcher he grabs the step at the end
I'd like to believe he isn't passed out and they are stupid college kids doing stupid things
@littlepootis - Yes
okay really dumb question here, but I have not used Mongo directly very much. Do you generally create a connection via the MongoClient, then somehow export that database object, and close it on process.on('exit', db.close.bind(db))?
15:25
hey guys
i need some code to convert numbers to time
any predifined function ?
What... kind of numbers? epoch date?
I want to convert my pizza to a girlfriend.
e.g 00:00 = 12
1440 = 24:00
@AaditMShah - Please be careful the next time around. The code you posted wasn't received well.
15:26
@BenjaminGruenbaum happy birthday buddy!!!!
@gtzinos so moment?
use moment
any idea using moment
int a = 0; then time = 00:00

int a = 1440; then time = 24:00
1440 => 24:00 ? How does that work? Wouldn't it go to 2:40 PM?
15:29
it's a trivial task
@corvid minutes
0 minutes from day start
1440 from day start
1440 minutes in a day
1440 minutes in a day
yes
1440 minutes in a day
15:30
You should've said "minutes" instead of "numbers"
You don't need moment for this
moment.duration(a, 'minutes')
So with redux... do you save the state of data you get from a server to the global state?
@Cerbrus Spoiler: Everyone dies.
!!fire or trigger or emit
var hours = 0,minutes;
if(data.schedule[i]['start-time'] > 60)
{
  hours = parseInt(data.schedule[i]['start-time'] / 60);
}
minutes = parseInt(data.schedule[i]['start-time'] - hours);
any better idea @littlepootis
anybody ever seen Docker truncate files?
!!info fire
@rlemon Command fire, created by rlemon on Thu, 21 Aug 2014 19:53:17 GMT
ohh damn
!!forget fire
15:42
@rlemon Command fire forgotten.
15:53
This question looks like a fun exersize: stackoverflow.com/q/37120012/6220751
Is that even possible without a fixed width text?
Marked it as a duplicate. (I could be wrong)
@Neal It's about getting the content of the last line, not the length.
OP only mentions getting length if they can't get the content
@ssube Hmmm. Well if they can get the length can't they technically get the content?
@Neal No, not even vaguely. The length answers are based on getting the position offset of an invisible element.
Wow that user has a lot of questions. cool.
15:59
That doesn't help one bit with getting the actual content of the text that was wrapped to the last line.
@ssube Hmmm so is it even possible to get the content in that given length?
@Neal We'll never know, since you dupe hammered a decent question.
If you are following ECMAScript development, I would appreciate it if you could vote here: twitter.com/fkling42/status/729700943164399616 (the question is: "What do you think "ECMAScript 7" (ES7) stands for. Thanks!
@ssube un"hammered"
good evening
user1596138
16:04
I got racing buckets to make a driving simulator
user1596138
user1596138
@rlemon be excited for me plz
user1596138
Nobody seems to sell just frames without the seats so Ig I gotta build something
build the frame out of jquery plugins
!!afk lunch
user1596138
Lmfao
16:15
@Josiah me want
@Josiah Sup J
@Josiah looks slick. Are you coding the sim? Or just building the hardware.
user1596138
@rlemon Oh just hardware
Do you already have the software, then?
user1596138
16:26
I will grab a nice force feedback wheel/shifter/pedals
user1596138
@ndugger I mean I have games
Oh, I see. I thought you were gonna do like a full on sim, like with the whole thing tilting and all that
They used to have a racing sim in the MoA
That shit was so much fun
user1596138
@ndugger Oh no I'm not rich. I will get a butt kicker tho
@Josiah iRacing?
user1596138
I'm just doing seats and wheel an shit. Nothing crazy, no hydraulics lol
16:29
@Josiah they sell red foreman?
@gtzinos That's a nice view
user1596138
@gtzinos Is that a bowl of bacon
@ndugger yes its very beautiful. Nea peramos kavalas (Greece)
@Josiah haha not. its quaker
user1596138
Listening to John Legend while eating a bowl of bacon and working by the ocean. Nice
16:31
hahaha
Except he's looking at jquery plugins :(
Why spoil such a nice view with such filth?
yes its a jquery plugin haha
why not
?
I like my view better
16:31
its a great plugin
@gtzinos nice view, Atom, but... where's the coffee?
There's no such thing as a great jquery plugin
@gtzinos for shame
user1596138
@ndugger They have ready to go systems with all the hydraulics and everything... Starting around $35K
@FilipDupanović i am sorry. i dont drink coffee
16:32
@Josiah Yikes
i drink alternative (sona)
!!wiki sona
Sona may refer to: == Places == Sona, Veneto, comune in the province of Verona in Italy Soná District, Veraguas, district within the Province of Veraguas, situated in Panama Soná, Panama, town in Soná District, Veraguas, Panama. Șona, commune located in Alba County, Romania. Sona Glacier, Himalayan glacier situated in the eastern part of Uttarakhand in the Pithoragarh district of India Sona, Norway, village in the municipality of Stjørdal in Nord-Trøndelag county, Norway Sona Station, railway station on the Meråker Line in the village of Sona Sona Mosque, mosque in Chapai Nawabganj district of...
haha wait
this one
or salepi ? you know salepi ?
@gtzinos That is all greek to me
16:34
yes
but its amazing
you must drink them
is it still caffienated artificially? What even is it?
heard of salep, but never tried! it's common here, I'll make sure to have a try when I visit the old town next time
some info
@ndugger
With atom , i develop a web platform for teachers. If any there can use our platform hehe.
> Probably due to its suggestive milk or semen-like texture, salepi had been considered for centuries to be a stimulating aphrodisiac.
What the fuck, dude
16:37
Teacher create lessons on a specific place at a specific time range and students when will go there will get some questions to answer on (web client, ios, android )
@FilipDupanović its too much for my eyes
So I just had my normalisation meeting with my bosses.
Half the stuff I suggested was shot down, including Node.
are you more normal, now?
wth is a "normalization" meeting?
@ssube Not even remotely.
I love Node, but I don't feel confident in it enough to suggest a company use it... I and it need a bit more battle testing before I'd throw it on the table
16:43
guys i want to learn a language on summer. you reccomend me python / node.js / ruby ?
@gtzinos python or javascript. Both are widely used.
@gtzinos Node isn't a language--if you already know JS, you can write Node--you just need to learn the APIs, or a library
why not ruby ?
@ndugger I was of that opinion until 4.x came out. We're on that for now, since it's the LTS release.
Node.js, Python, Go...
16:44
@gtzinos it's a mushy language, doesn't come with any OS by default, used for very specific web backend stuff
it's also a pain to set up on most OSes
@ndugger The stuff I wanted to do with it initially was cake. Commands sent to our units that are less than 24 hours old, check every 15 seconds and update the status provided it's not failed or complete.
@ssube You think Node finally has its place among enterprise apps?
why someone use ruby instead of php, python , nodejs ?
Preference
Ruby may be a "culture" thing
16:45
@ndugger Maybe. There's an LTS release packaged by NodeSource and easy to install. It can be managed well by SystemD. You can package a node app into a system package and install it with deps easily enough.
@gtzinos it's what they know. There's a group of devs who were told ruby was the best and are stuck with it now.
Most language decisions are made because they either know something better than the alternatives, or they simply just like it better. Unfortunately, what's best for the app/company is usually more of an afterthought
One day a Python swallowed a Ruby, luckily someone made a Node into the snake to stahp it from digesting.
so, if you need to create a web server with target on security what language will you prefer for backend ?
which will help you more ?
@ndugger Well, I'm trying to increase my resume appeal, but I was at least giving a good option for utilizing Node.
@gtzinos Google.
@gtzinos security is not a target, it's a necessity
16:47
i think python or php cause i fear node.js
i dont know why
but i can't use a client language on back end
PHP is notoriously bad at security and almost everything else
really ?
Node and Python are fairly comparable. Widely-used but not terribly well-tested.
@ssube Just like Kendall's mom.
I doubt anyone has done a proper security audit of node, although RedHat may have commissioned one for Python.
16:49
why they dont well tested ?
because a security audit is incredibly expensive
node at least benefits from google's work on v8
@gtzinos JS is not a client side language--It's just most popularily used for client-side scripting in browsers. You can find JS all over the place these days, from running desktop scripts on windows, to scripting in Unity game engine
v8 = ?
A V8 engine is an eight-cylinder V engine with the cylinders mounted on the crankcase in two sets of four cylinders, in most cases set at a right angle to each other, but sometimes at a narrower angle, with all eight pistons driving a common crankshaft. In its simplest form, it is basically two inline-four engines sharing a common crankshaft. However, this simple configuration, with a flat- or single-plane crankshaft, has the same secondary dynamic imbalance problems as two straight-4s, resulting in vibrations in large engine displacements. Since the 1920s most V8s have used the somewhat more complex...
16:50
@gtzinos V8 JavaScript engine
totally not into cars...
The V8 JavaScript Engine is an open source JavaScript engine developed by The Chromium Project for the Google Chrome web browser. It has since seen use in many other projects, such as Couchbase, MongoDB and Node.js that are used server side. As of 2012, the head programmer is Lars Bak. The first version of the V8 engine was released at the same time as the first version of Chrome, September 2, 2008. V8 compiles JavaScript to native machine code (IA-32, x86-64, ARM, or MIPS ISAs; has also been ported to PowerPC and IBM s390 for use in servers) before executing it, instead of more traditional...
so google prefer node ?
Not particularily
16:50
@gtzinos no, they're pretty Java-heavy
Google also uses python in some projects
some Go, maybe Dart and/or Rust (not sure anymore)
They use a lot of shit
i believe that they use python for web platforms
@ssube ouuu, they're using Rust?
16:51
@gtzinos doubtful. Python is not strong for web stuff.
@ssube noooo, why would say that?
so which language is strong for web ?
@FilipDupanović threading
@gtzinos java and javascript are popular choices
hmm
so its better to learn node.js and java ee ?
the C#/.Net stuff, too, if you're at a windows shop
16:52
I'd use C# over Java
cause of visual studio ?
@ssube but, it's not like you have to use threads
windows shops are unfortunately rare, since most people want to run linux servers
i think it is a very strong IDE
@FilipDupanović lolwut
16:53
@ndugger I use C# all day er'ry day.
VS has nothing to do with why I'd choose C# over Java
are you saying that some popular frameworks that dispatch HTTP requests to separate threads are slowing things down or that threading in Python is hard?
C# is pretty easy to use. Tossing up new pages only takes me a half hour or so in most cases.
> easy to use
> half hour
that's like calling a tramp stamp, septum, and dreads a dime
@ssube Long as it's warm and wet, who cares?
16:55
I used to want dreads
> Yeah, my car is fast, traps 38s @ 55mph
@ssube so what's the catch?
PHP is unfortunately one of the fastest languages to get up and running with. Java can be pretty quick if you're familiar with an IDE already. Node can be fairly fast if you know the commands. C# is not fast.
@FilipDupanović besides the GIL and the absolute cluster that is WSGI?
I use NodeJS most dominantly at the moment

« first day (2032 days earlier)      last day (3141 days later) »