« first day (440 days earlier)      last day (3348 days later) » 

22:00
Oh wow, they ask for a website. It's a good thing I have the most professional one ever: zakb.co
I actually was bored the other day and bought k111ky.com as well, but I have like 15 or so domains and I honestly feel like I'm addicted to buying domains
@k111ky Hah.
"Tags related to jQuery" < what does this even mean
Yus fixed my font problem! I ended up editing the descender metric in Glyphs and it seems to have worked.
@k111ky You mean with SO? Or are you still talking about CM?
CM
I need to add tags related to jquery to my profile and I didn't even know there was tags for jquery other than, well, jquery
"Thanks for your application. We will be in touch with you shortly. Please help us spread the words too!" < I've heard this before from potential employers who never call back.
jquery is big.. jquery-ui, jquery-mobile..
I was accepted the next day
22:18
I have too many time consuming hobbies. Making music, pet projects, helping out a charity organization my friend runs, alcohol.
I'm exactly the same
except in reality I spend 90% of my free time smoking a joint
haha
but I have more projects than I can remember
Mostly I have music, and I'm not even good at it, but I have like around 40 or so unfinished tracks :/
I've never been great at making music
my projects are mostly either coding or mechanical
I want to make a quadrocopter with a raspberry Pi as the main computer.. then I can write the flight controller as well as the UI controls, video transfer etc
22:23
Yea my brain is too stupid for any of that
I'd rather make some beats and sing on them and feel like a superstar for a minute even tho' nobody knows I even exist.
The electronics theory escapes me easily
supplying different amounts of power to different components/peripherals is just mind numbingly complicated for me
I find it hard to motivate myself to do things that aren't a hard challenge for me
Which I guess is why I enjoy stuff like programming over music
You can't really go too wrong with music, as long as you like it. Right?
You get what I mean anyway?
Music ain't simple either, that's why I like it, too. I look at the mixer controls and I still don't know what half the buttons do and then making your own synts and beats and actually making any of it sound decent.
Yeah I guess saying that music isn't hard is just wrong.. haha
But if it's just you and your guitar then yes, I could say that is more like what you said.
I'd say the opposite. I learnt a bit of guitar and I enjoyed the challenge of learning complicated picking songs
22:31
I meant more like that guy you see in a pub every night singing the same songs lol
Ah well then yes
I think also making music lacks definitive targets and solutions
When you are coding a project you know (exactly) what you need to acheive and how to do it, with music it's down to preference, and it can never be right or wrong.. get me?
Yea, but there are very specific types of music which require a lot of brain squeezing to make. It's a very wide topic, which I guess also is web stuff. But that again individual to everyone so this conversation is so pointless I can't even fathom it.
I think music is similar to design in that way
And yeah haha
With music, in my case at least, I start with a specific set of notes and then a decent chillout track might turn out to be some club banger. Never know the end result.
I guess it's like you start a blogging platform and it ends up being a CMS which sucks horribly (I'm looking at you, WordPress)
Haha
I have to defend WordPress, though
It's great for a quick deploy of a small static site
I have been deploying sites like this for 2 years and never had any problems
22:38
WordPress is far from static man unless you cache all of the content.
I make a living with WordPress and I would have nothing against it if it weren't for its unpredictable behavior.
When I say static.. I mean just a few pages of content.. no interactivity with the user at all
maybe "static" isn't correct in that context?
I don't know man, I barely know English, but static for me reminded me of Jekyll.
static meaning just html/css and nothing dynamically changing the page?
@BuddhistBeast Yeah
That's what I thought yes
but WP is a query whore
22:40
You got it then haha
Although, to be fair, I do use JavaScript sliders and stuff but I meant there is no user interaction that will have any effect server-side
so, no web apps.. just small websites with content and stuff
like portfolios and stuff
One thing that sucks horribly with WP is that if you make custom post types, it often shows a white page on said type page. Fix for that? Go to the permalinks settings page and do nothing. Yup, do nothing, just being on that page flushes the permalinks cache or whatever.
Retarded beyond oblivion.
Oh and making e-stores with WP is another major "pleasure". Woocommerce is horrible, so if it's a store that'll have only like 10 or so products I often write my own thing.
@k111ky I was going to say, what is unpredictable about wordpress? That is a problem I've had before. tbf, you should flush the permalinks yourself inside your theme ini function
@k111ky Like I said, it's good for small static sites
22:43
Yeah I know, but it's retarded that such a thing even exists.
e-commerce? That's too much for WP
too much overhead and bs
and plugins are always dirty af, especially huge ones
I always thought of WP as a means of creating small sites that people can maintain themselves
Exactly
I can't really choose most of the time. Clients here demand WordPress and they don't care how I make it work.
in the end game, I don't want to bother myself with people's relentless bullshit
that's when the KISS concept comes in
I would try to convince them to not use WP
22:45
Yea, I'm writing DB-less very extendable CMS-kind-of-thing as a pet project right now. Dunno, maybe I'll shove in one of my clients throat.
Make your life easier for e-comm stuf
Any idea why this is happening?
http://pokit.org/get/?d89b8590bff8115730c5f9cf48ecb527.jpg

Basically i through the loop i have some number of "col-sm-4", why 4th box is not place on the left side?
I think of myself as a problem solver. Client has a problem, and wants that problem to be solved with a specific platform. I state the amount of cash I need, and I do whatever the client wants. I'm basically a hooker.
hahahahah
Lol
22:46
I don't want to click the link because im at work...
Quick question @Srle, do your rows add up to 12 columns?
@k111ky DB-less? How do you save content? to files?
@BuddhistBeast, yes
Yes. As soon as I get the core thing figured out my main headache will be performance.
@k111ky Sounds not right to me
Not that my opinion has any relevance; I really don't know
Yeah, how are you not using a database if you are saving content and files?
22:49
I figure I just update the cache each time a new file gets pushed, that way it only actually reads one file and is super-fast.
or a file gets removed, or modified.
YAML my friend
as far as the end-user goes, there's still an admin side and the user wouldn't even know a difference.
as I said, this is a pet project, so it's okay if it's a stupid-ass idea.
@Srle , what are the column dimensions for the other three items? col-sm-4 ? Or something else?
Hey man, it's a good way to learn. No complaints here.
I'm practicing mobile app web-dev.. I made a tip calcualtor
calculator
Just like WordPress it can have an endless amount of custom post types and you can make them do whatever you want to do, very modular or whatever is the word for it.
@BuddhistBeast, on "tablet" design they are all col-sm-4
And there are 4 items?
My pet project is also a CMS, but the admin is sort of a live page editor.. and I want to save the content of each post/page as HTML.. maybe I can steal your idea and save the post content to an HTML file
22:52
@BuddhistBeast, something like:
<?php foreach ($products as $product) { ?>
<div class="col-md-3 col-sm-4 col-xs-6 product">
...
Simple question, are there 3 or 4 items?
@Billy adding custom fields to said file is pretty easy with YAML
If there are 4 items, then change all of it to col-sm-3
if there are 3 items, then it should work as col-sm-4
@Srle Why are you using a table??
so you can make each "entry" or "post" or whatever you call it do same things as a post in WP for example, have categories and features images and what-not
22:53
batman is here.
@jushhunt, where do you see a table :/ ?
Maybe I clicked on the wrong link...
@Srle change your column sizes to col-sm-3 and let me know if your problem is fied
fixed
@BuddhistBeast, client want 3 per row on tablet design :D
22:55
Also if you're only serving one html file, then using a DB for it is quite a bad idea. Server > db > server communication could just be server communication. Way faster.
Oh nevermind hahaha you just posted an image?
Are you creating a new column then?
@joshhunt it was just a picture haha
Damn
:D
@Srle are you creating a new row then?
so you want it like this:
+++
+

?
22:55
because you cannot put 4 items in a row with col-sm-4 and expect it to magically create a new row for you
@k111ky I'll have to look into YAML
all columns are in one parent row (independently of number of columns)
@joshunt, yes
@Billy raw.githubusercontent.com/mojombo/mojombo.github.io/master/… < see there, YAML key-value based settings are between the --- and ---.
To get the jist of it
@Srle Unfortunately you can't do that unless they are all equal height, you have to use <div class="row"> in between each row
Ah yeah I see
22:58
It can do more than just key-value tho'
@joshhunt, that will be really bad code to put creating row inside foor loop for all variants of design
@Srle Why?
because of col-md-3, col-sm-4, col-xs-6
Srle you are pulling this all from a Database, right?
yes
23:01
@Srle Choose the other option then and make each column exactly the same height
well there is no way to know maximum height between boxes and to put that height to all other boxes without javascript
@Srle Sorry but I don't think there are any other options
thanks on help
No worries, let me know if you find a better solution
I need a resource on how to make an interface purty
I don't know how to word that better
but I feel I should :|
I know CSS but I don't know what makes something look good
source: my mom buys my clothes
23:14
Hahaha
just add border-radius and box-shadow to everything
subtle border-radius and box-shadow tho'
on it
it needs to barely be there
otherwise it's ugly
what about color, font
@Mosho This might give you some ideas: google.com/design
23:16
\> was joking
\> might work
bah
green text fail
How the hell do I detect whether a string has spaces or not
Ask it nicely
$str = explode(' ', $string); if(is_array($str)) { // has spaces < the only thing my tired brain can think of
make sure you get to know it first
^ agreed, start off with some small talk before you get into the deep questions
23:18
You guys really need to get out more, I'm starting to smell insanity in this room
lol, what is the purpose of the space detection?
Irrelevant.
@k111ky if ( strpos( $str, " ") > 0 ){
so like an if statement? Or are you actually planning to do something with the spaces
@Billy thank you!
I need to remove any array item that has a key that is 1) a number or 2) has spaces in a string
23:21
@k111ky this function is wierd in that it can return false but on true it can return values that evaluate to false
best usage is if ( strpos( $str, " ") !== false ) { // true.. }
if(!is_int($key) && strpos($key, ' ') < 1) did the trick for me
Yes because strpost may return 2.. or 3.. but then when it returns 0 or 1 (which actually should be true) it will eval to false
well 0 means there isn't any, right?
but if a match is not made strpos will always return false.. so it's better to check that the return isn't false then you know a match must have been made
No
so in my case I check if it isn't true
23:25
strpos returns the index of the matched character in the search string, or (bool) false if no match is made
alright alright, I went with !strpos($key, '') !== false
:)
because apparently !== true doesn't bloody work as expected
hence the !
strpos won't ever return true
it will return integers that may evaluate to true, sometimes
so instead of doing !== true, just do === false
Alright. Well anyway I finally got my YAML stuff working.
So something like: ---
title: Hello, World
date: 09-17-1992
bump: dump
---

Hello, World.
will return {"data":{"title":"Hello, World","date":"09-17-1992","bump":"dump"},"content":"\r\n\r\nHello, World."}
23:31
So that YAML will be saved to a text file? then used as that data when a user requests a page?
no, content and YAML are in the same file.
content comes after the last ---
so all the required data is in one file, from which I get the data I showed above. And what you do with that data is totally up to you.
What about when you want to show an archive of posts?
Performance goes out the window :P
but yea, file name is hello-world.whatever, so if the user requests url.com/hello-world, I will locate the hello-world.whatever file, parse it and show it.
@Billy I already talked about that as well. Everything is cached, the only way a cache gets updated is if the user creates a new post, edits a post or deletes it.
so instead of reading a thousand files, it actually reads just one.
which is a massive JSON file
So in fact you have one massive JSON file instead of a DB
eg $archive = json_decode(file_get_contents('cache.json')); and then loop it or whatever
well it's more of a cache than DB, because the DB are the actual files.
But I guess you could think of it like that, too
23:36
Do you have a github repo or something for this project?
Yeah
Can you link me so I can subscribe to it
I warn you tho', it's incredibly messy right now and, I'm no Picasso at code.
I'm just interested to see how it turns out
Will take a while hehe
23:47
bed time for me now.. goodnight everyone
night
@joshhunt thanks
picked some colors, feel like throwing up
:D did you find the guide useful?
yeah, but I'm in over my head
it's all good, just find some designs/styles that you think are good and then copy the parts of them that you like. If you want a second pair of eyes to look over anything just let me know

« first day (440 days earlier)      last day (3348 days later) »