« first day (1464 days earlier)      last day (3499 days later) » 

5:00 PM
After effects does gif rendering on the fly in the browser?
 
wut?
 
Oh, wait, nvm.
 
@AwalGarg with the third point codepen.io/MateiGCopot/pen/oJpmB
 
@towc nice
 
5:15 PM
xkcd is awesome XD
never leaves me upset
 
question about factory pattern
 
btw, new what-if
 
@Teomanshipahi What is it?
 
anyone using sublime right now?
 
5:22 PM
@AwalGarg Like "right this second"?
 
@erikroyall open some important file that you want to preserve and hit F9 (and tell me the result)
@Retsam More like "in this decade of minutes"
 
> In Greek legend, Icarus flew too close to the Sun, and the heat melted his wings and he fell to his death. But "melting" is a phase change which is a function of temperature, a measure of internal energy, which is the integral of incident power flux over time. His wings didn't melt because he flew too close to the Sun, they melted because he spent too much time there.
 
Anyone use Sublime 3 with the Bower plugin? And the follow-up: anyone know what you have to do to make it do something? Says it's installing, say, jquery - in the status bar at the bottom of the editor - but nothing happens
 
now I can tell my teacher that she, mostly all of the literature teachers and the greek guys who wrote this are wrong >:)
 
my hunch is that it doesn't know where I want it because of some expectation it has about the project file
 
5:24 PM
@towc I mean, as written it's still right, it's just omitting an intermediary cause.
 
@Awal Garg

> dot
> ===
>
> Really tiny DOM library

was converted to:

>
> ===
> dot
> Really tiny DOM library
 
@erikroyall ?
 
@erikroyall open a big css file, select everything, and then hit F9 and tell me the result.
 
Googling SublimeText F9 says it sorts selected lines alphabetically.
 
@Retsam shhhh
@erikroyall also save immediately and close the file
 
5:26 PM
oh, and I've opened the console - nothing that I understand appears there, and nothing that indicates an error
 
@AwalGarg I did in in a JS file: pastebin.com/1SiFR5ej
 
Why is "" == false // true, and "truthy" == true // false ?
 
@erikroyall haha nice
 
and "1" == true // true
but "2" == true // false
 
this is a sublime (prank) that you can play with someone. open some big file on thier system, hit F9, save and close.
 
5:28 PM
@AfonsoMatos read about truthy and falsity
 
!!> "2" == true
 
@Retsam false
 
@AfonsoMatos booleans true and false can be referred to as 1 and 0, right?
 
Short answer, because you should almost never use ==.
 
Towc I heard that there were only 7 falsy values, every other is truthy. So why isn't "hello" == true ?
 
5:29 PM
an empty string has no data, 0
a string with characters has 8 bites, 1 only has 1
 
@AfonsoMatos time to ditch == and go with ===
 
therefore equal to true
 
"hello" != true
 
@AfonsoMatos Because x == true doesn't mean "is x truthy"; it means "can x equal true, possibly with type conversions"
 
@AfonsoMatos == true doesn't check for truthiness
 
5:30 PM
"1" only has the bit rappresenting 1, therefore 1
 
Can I check for a truthy value comparing it to something @Retsam?
 
this is probably not true, but if you follow this kind of thinking it'll still work
 
@AfonsoMatos Boolean(val)
Or !!val
 
@AwalGarg Haha.
Git ftw
 
5:31 PM
Or just if(val) is most commonly what is needed.
 
sublimetexttips.com/archives this page is nice-ish
 
Ok, I was just wondering because I use that on a daily basis but never understood why non-falsy values weren't equal to true.
Thanks.
 
!!> Boolean(false)
 
@SecondRikudo false
 
!!> Boolean("Awal Garg")
 
5:35 PM
@AwalGarg true
 
@AwalGarg Not good if you're coding directly in CSS
Great if you're using a preprocessor or minifier.
 
@SecondRikudo and with grunt?
I keep that minimap disabled to get more screen space
and I don't really find it any useful
 
@AwalGarg You need more screen width.
Also, if your code lines are that long, you have a different problem.
I enforce a soft limit of 80 characters, and a hard limit of 120 characters on each line of code I write.
Lines over 120 characters don't pass Lint, and thus Grunt fails the build.
(on my setup that is, it's not default behavior)
 
my screen res is low-ish (1366x768), I use a higher zoom level on sublime, and I normally have the sublime window cover half of the screen and the browser the other half
 
5:42 PM
I have the map on Sublime enabled, still; but I don't know if I've ever used it.
 
@AwalGarg You need more screens!
 
@SecondRikudo but how is that map useful? (except that css thing we just saw)
 
@AwalGarg You start remembering how your code looks on that map
And when you need to get to a certain area, you know where to look for it on the map, and quickly get there.
 
@SecondRikudo haha true! I know you have a multi monitor ubuntu setup... I am still learning so I have to do with what I have :D
@SecondRikudo ...and you actually use that (feature)?
 
Personally, I usually hide the sidebar to save space.
 
5:44 PM
@Retsam I am also gonna do that once I get habitual of the fuzzy file find xD
 
@AwalGarg Personally, I prefer Intellij/WebStorm/PhpStorm's approach.
 
@SecondRikudo which is?
 
@AwalGarg Well, if you do disable it, I bet you'll get used to fuzzy find pretty quickly.
 
You need to get to a function? CTRL+Click it, BAM done.
^^
 
Hey guys, do you know examples of applications that do not require persistent data?
 
5:45 PM
@ziGi REST APIs
 
@SecondRikudo hmm nice
 
@SecondRikudo how so REST provides persistence in a DB?
some not
you are right
for example Whatsapp API
 
@ziGi REST is abstracted over a DB
 
yes
 
There may or may not be a DB behind it, you don't know.
 
5:46 PM
@ziGi Key generators? Weather forecast clients?
 
true, but still it provides persistance
@Zirak true ture, ok thanks
 
@ziGi Everything eventually has persistence, if you go down deep enough
The application always runs on the same OS and thus shares memory with it
 
Text editors like nano don't need persistence
 
@SecondRikudo I guess persistence is important in the sense that data could be sold so it is valuable
 
Rogue games
 
5:48 PM
@ziGi So you mean applications that don't save data
 
test driving linux based OSes doesn't need persistence :D
 
yes
 
Guitar tuner
 
@AwalGarg Oh, it takes a lot of persistence to test drive linux based OS.
 
Tetris
 
5:49 PM
@ziGi grep, sed, less,
 
ok
I see, thank you
 
@SecondRikudo which persistence are ya talkin off duude?
 
@AwalGarg Mental fortitude
 
lol
!!afk
 
@SomeGuy You might enjoy the title:
17
Q: Ship of Theseus applied to GPL - Can I relicense my program if I replace all of the derivative parts?

LandonI translated a GPLv2 C program to Python, but found it was hard to extend as designed and rewrote significant portions of it. The program is now structurally completely different, but there are several verbatim translated functions in use. The Ship of Theseus Paradox (as stated from Wikipedia) "...

 
5:58 PM
I love protobuf, its fucking awesome-sauce (for internal comms)
and probably for the web too one day\
 
@darkyen00 use emscripten ~
 
@BartekBanachewicz there is a js only lib for protobuf aswell
 
@Zirak Interesting
 
@BartekBanachewicz up for a quick sunday project ?
 
6:13 PM
@darkyen00 I was about to get my soldering gun hot for my hardware project, but... what'cha proposing?
 
@BartekBanachewicz something on the top of protobuf ?
 
@darkyen00 meh.
might as well say "something on top of TCP"
 
WebSocket + Protobuf :D
 
"let's implement something over a generic low-level socket protocol and transport mechanism"
that's like... anything, really.
 
a lib that lets you send messages with protobuf, x-browser [higher performance then json using libs is garunteed :3]. For realtime apps and games.
 
6:17 PM
@BartekBanachewicz Got any recommendations for TUI libraries in haskell? vty-ui seems like the highest level but with weaker portability (I'd want this to work on both windows and linux), and nanocurses seems lower level but more x-platform (working directly with ncurses or some shit).
 
@Zirak haven't used any sans the basics, so can't really help you.
 
m'kay, thanks
 
Lysol kills ebola :o
 
@BartekBanachewicz yes or no ?
@erikroyall I just orded 200 barrels of lysol
 
@darkyen00 nah. I'll go back to embedded C :|
 
6:21 PM
and sulphuric acid
@BartekBanachewicz have fun :D
i'd say it'd be awesome
 
@darkyen00 A lysol a day keeps ebola away.
 
@darkyen00 for varying definitions of fun
 
if you can control your hardware gun with internet of devices :D
 
I'm making a joystick actually
 
oh wow :D
that sounds funky fun :-)
 
6:23 PM
@darkyen00 I have this thing ^ and want to hook it up directly as a HID device
bought only the shifter unit for pennies :)
it utilizes proprietary Logitech connection, but there are descriptions on the internet
 
gluck.
 
6:38 PM
@AwalGarg Nah!
 
@Sawarnik AwalGarg is afk.
 
Afk?
Offline?
 
"away from keyboard"
 
Oh.
@CapricaSix I knew, bot.
 
Guys, this question might sound a bit stupid, but do you have any idea where I can read about how to organize my way of work to be more constructive in terms of paper and time management when it comes to building websites and developing ideas?
maybe something related to Content Organization or sturctured planning
 
6:57 PM
@ziGi The gist of it is: you will spend a lot more time fixing code then you would be writing it.
Also, that second time is always constant, the first time will grow longer as your codebase grows.
You should do everything in your power to reduce that "fixing code" time.
 
@SecondRikudo I am not talking about the process of building something, but about the process of how to make a structured plan about building some network or website
so more or less, what are good steps to take before starting to build something
(more or less people would say proof of concept)
 
@ziGi Wireframe it, maintain a todo list
 
@SecondRikudo actually if code is being written using testing from the beginning and good practices (like those discussed in PeEAA) then it should be much easier
 
@ziGi Testing is easy.
Writing testable code is slightly more tricky.
 
Writing good tests is harder
yes
exactly
 
7:00 PM
TDD aims to help you solve that problem, but it still takes understanding to utilize it.
 
so true
it is really hard to know what to test if you are not experienced
I am just learning and it takes time
and it seems easy when someone experienced does it, you say to yourself, yeah, right, I am gonna do this, but then again when you start doing it, you find yourself pondering what should be tested
 
@ziGi It's the problem of copying vs understanding
 
true
 
Building experience in order to understand takes time.
This is why you should seek peer review often
 
but what do you think is a good way to build an understanding of what should be tested
I see
 
7:03 PM
Either here on chat or on a dedicated site like Code Review
You'll get a lot of insight.
 
yeah, true, I posted there recently
and Gordon gave me a really good answer to my question which was more or less something I was thinking of, but having a confirmation of your ideas
is something really good
especially from people with much more experience
 
@SecondRikudo: From a distance that actually looks like a plausible piece of code :P
 
hahaha :D
I really like this website
When I show it to people that don't understand anything from coding
they go, wow
you are such a hacker
:D
 
@Cerbrus It is actual code
It's a site that allows you to type anything and it renders as predefined code
 
7:09 PM
Hax :P
 
So is taking home a bicycle that isn't locked stealing since you have found it and no one protected it by locking it, so do you think it is moral to take it?
 
@ziGi Yeah, that's stealing.
 
so how is it different than finding 5 bucks on the street and taking them?
 
If it's there for a while and seems forgotten, I'd leave a note with my phone number asking people who lost something to call me
If they ask about the bike, it's theirs.
@ziGi Two things
a. a bike usually costs (a lot) more than 5 bucks
b. The person who owns the bike can describe and identify it, proving its his
 
also, wherever a bike is, it was put there on purpose
 
7:13 PM
Sorry, which country do you come from?
 
you can't accidentally drop your bike and not notice
 
@ziGi Israel
 
@ziGi: If you accidentally didn't lock your (new) bike, and someone took it, wouldn't that someone be stealing your bike?
 
Ok, what about I wanted to get rid of an old bike so I just put it on the street and it was gone the next day
I guess it really depends on the bike
I have found a bike unlocked under a bridge
 
!!s/) bike/) car/
 
7:14 PM
@Cerbrus Could not process input. Error: unmatched ) in regular expression on line 201
 
@ziGi If I wanted to get rid of it, I'd put a note on it saying "Free giveaway" or something similar.
 
that couldn't go because of a broken chain and breaking system
so I took it fixed it and still use it
well it is different in the Netherlands
there are like on average 2 bikes per person in this country
and people even throw them in the canals
 
A dumped bike that's obviously broken, well, yea
 
I'm pretty sure the Netherlands has laws against theft
 
:D
there are
for new bikes
but I have heard many stories for stolen bikes, my bike got stolen, although it was chained
and the police didn't do shit
 
7:15 PM
'cause they can't search for a bike
But that doesn't make it legal
 
lol
true
but there are some people that just leave stuff on the street here and other people pick it up
is that illegal
since it is clear that they want to get rid of it
for example: furniture
 
@ziGi If someone purposely puts their furniture outside and leaves, it's reasonable to assume they want to get rid of it.
That's not the case with bikes though.
 
what about forgotten bikes?
that are broken
 
@ziGi If you see a bike that's been accumulating dust for months, the owner's probably not coming back for it.
 
yeah and if it doesn't go well
and it needs repair and it has been left under a bridge
 
7:19 PM
Personally, I wouldn't touch these bike.
You can't know where its been or what kind of infestation took place on it
I'd feel much more comfortable inheriting a decent bike, or buying my own and be done with it.
I'm all in favor for recycling, but I wouldn't touch something I'm not 100% sure is unclaimed.
 
many young people don't have the money to buy a bike
 
@zigi good job taking it
 
well I was a student back then
I fixed it and I am still using it
I really hate leaving working things thrown away
I really can't understand what consumerism is doing to people
maybe cause I am coming from a former commie country
 
@FlorianMargaine I'm not many young people. Which is why I said that personally I wouldn't.
 
I remember my granddad used to drive his Lada for like 30 years
since late 70's till 2005-2006
 
7:22 PM
If I have the means to purchase a bike, and I came to the conclusion that a bike is beneficial to me, I'll buy one
 
oh yeah, talking as the rich guy with a job, it's easy to say that
 
As it currently stands, I'm comfortable walking
 
@SecondRikudo doesn't it take too much time?
 
@FlorianMargaine Life isn't fair, and I won't pretend they are. I was blessed with the means to buy a bike (among other things) and to that I am grateful.
 
I'm comfortable walking to work, yes
especially since work is at home :D
for anything else? car
 
7:24 PM
@ziGi Nah, 10 mins walk is just the thing I need in the morning to properly wake up.
 
ah, 10 is not much
 
Water, some fruit for sugar, and a 10 minute walk.
 
I cycle to work 10 min
so I think if I have to walk it'd take me like 20-30 min at least
 
more than 10 minutes and you're sweaty when you get to work... not a good idea either
 
@FlorianMargaine There are some days in Israel where even in those 10 minutes you get to work soaking wet.
 
7:25 PM
not true
I am not racing
 
In those days, I take the bus.
 
@SecondRikudo heh
 
Hi guys !
@FlorianMargaine hey man !
 
@SecondRikudo all buses have AC?
@darkyen00 hey
 
Well in the Netherlands the temperature is between 10 and 20 degrees most of the times
so you can't get sweaty
 
7:25 PM
how was gaypride?
 
how are you ?
 
@FlorianMargaine Most of them do, and even if they don't, 1 min of no AC beats 10 mins of walking with no AC :)
 
I'm fine, thank you
 
Hey tranny man
@SecondRikudo how are winters in Israel?
 
@ziGi Probably like your falls.
 
7:27 PM
@ziGi in India they are usually like your summer
 
Temps around 15~20, sometimes rain
 
hm I see
that's fine
 
Temps around 15 - 30
 
Summers can reach 35~40 easy :)
 
@SecondRikudo wow israel sounds like India
a lil colder though
summers can easily reach 40+ here
 
7:28 PM
haha still better than Bulgaria, summers are usually 35-45 degrees, winters are (-20) - (-10)
 
@darkyen00 I think Israel is on pretty much the same latitude as India
 
and you have like spring and fall that are around 1-2 weeks long
 
@ziGi In Israel we have 10 months summer, 2 months winter
Pretty much.
 
Winter sucks anyway
 
stfu, I love winter
 
7:31 PM
haha :D
@Zirak sucks anyway
 
The only good thing about winter is the pitch black nights
 
@Zirak Who wants to sweat all day long?
 
@SecondRikudo we have something messing us up though
much more po(pu)llution.. pun intended
 
where's the pun?
 
7:33 PM
polluted with excess of people :-(
popullution
 
I'm not sure how the culture is like in India, but I think I wouldn't have been able to live there for long.
 
Start the massacre, then.
3
 
That is, if I had the skills I have today and were to live in India, I'd probably leave at some point.
@Zirak Saying that in front of Madara Uchiha is never a wise thing :P
 
Good thing it's in front of Second Rikudo
 
@Zirak The two are one and the same.
Madara Uchiha is the name, Second Rikudo is the concept.
 
7:36 PM
that's a progammer twitch.tv/guardsmanbob
 
how did countries like China and India have produced so many people while other countries in europe and africa are so small in population
 
the hearthstone game in main screen... and sometimes IDEA pops up
iz fun
 
@ziGi It's a culture thing I guess.
I don't know how much of a good thing it is though..
 
Yeah, they are quite old as countries as well
China is like 4000 years old
or smth
 
poor countries usually have more children than developed countries
it's well-known and has been long studied by sociologists
 
7:39 PM
@FlorianMargaine not always true
 
Because mortality rates among children is higher, and because they can often send children to work to earn the family some money.
 
Example: Netherlands has x2.5 more people than Bulgaria but it is 2 times smaller in size
 
Also, don't be misled by the Mercator projection we're all familiar with - China and India are both enormous
in terms of land area
I'm going to look at population density, one sec
India 383.66/km2
China 141.83/km2
India's is high, China's isn't
Netherlands higher than both, Belgium about the same as India
so they've mainly got a lot of people because they're really big
 
Hm, yeah
Russia is also really big
but the population is quite scarse
 
well yeah, USA and Canada too
I suppose human migration just happened to leave those areas alone until later
mostly, anyway
there's been people almost everywhere for as long as there have been people, it seems
 
7:50 PM
well netherlands around 1950 used to have ~8 million people
but then a lot of people came working here
because the Dutch opened the market
so they doubled in 60 years period
 
8:05 PM
@towc raised shoulders
 
8:30 PM
@BartekBanachewicz oh
 
8:48 PM
wow: 5 lines to cross each US state
 
never seen it
 
They're not straight...
 
it doesn't load for me
 
Quite obvious for the top horizontal line
 
8:50 PM
@FlorianMargaine earth curvature
 
Core.when('image:changed').then().then().then()
Core.when('image:removed').then().then().then()
^ does that look ugly ?
 
it does, yes
 
How about this then biach
 
I have to sleep in 6 mins, be quick
 
<Nothing>
just have all this wrapped up
and update on server automatically updates the view associated with it ? (by calling a render function)
everything abstracted out ?
 
8:56 PM
didn't understand much, but you're still ugly
ok, the time has come
 

« first day (1464 days earlier)      last day (3499 days later) »