« first day (2553 days earlier)      last day (2402 days later) » 

7:00 PM
what if i want a 3rd of each
 
@rlemon absolutely is
 
then you get WordPress
 
@Webster go to google, type whatever your search term is, followed by " site:dotnetdesigner.com filetype:pdf" (without the quotes)
 
wordpress is objectively the #1 best written piece of software known to man
 
thanks @vapor I agree. We do pay for the google search .api. They are discontinuing the service. When that happens I'll have to make a new site search. I've always seen google search results look the same, screen wide, blue links, grey description.
 
7:03 PM
don't they still have a similar service?
 
@KevinB they do
@Webster yes and I am telling you to use the new one that they aren't sunsetting
 
which API is that and can Cap use it?
 
okay I'll check it out, although what I saw is all google search that is not going away is not branding or ad free
 
And it will work from javascript, so cap can use it theoretically
 
7:06 PM
@Webster based on this info I'm seeing that it should have been EOS'd (or EOL?) on april 1st. I'm guessing it was just EOSd and EOL will come later? At any rate, anything you see online for google custom search engine should be up-to-date
 
user8581664
Why is only the second script in here running? When I swap them, whichever comes second doesn't run. jsfiddle.net/samgurdus/koyb3eeb/13
 
Looking at the sample code, i don't see what you mean by it not being branding or ad free, this sample shows that it gives you full control.
<html>
  <head>
    <title>JSON/Atom Custom Search API Example</title>
  </head>
  <body>
    <div id="content"></div>
    <script>
      function hndlr(response) {
      for (var i = 0; i < response.items.length; i++) {
        var item = response.items[i];
        // in production code, item.htmlTitle should have the HTML entities escaped.
        document.getElementById("content").innerHTML += "<br>" + item.htmlTitle;
      }
    }
    </script>
    <script src="https://www.googleapis.com/customsearch/v1?key=YOUR-KEY&cx=017576662512468239146:omuauf_lfve&q=cars&callback=hndlr">
 
@SamGurdus a = 1; a = 2; why is a always 2?
 
user8581664
I meant the second one does run
 
user8581664
not the first one
 
7:08 PM
lol
@KevinB looks nice IMO, and it can be styled. No problems.
 
I suspect the compiler sees you setting a value twice with no setter so it ignored the first. that or you just don't see the action on the first because you run the second immediately.
 
yeah, just a simple jsonp-enabled rest api
so we could make a !!lmgtfy foobar :p
 
man this show is so trashy
I love it
 
heh, cool, you can even set it to quota on a per-so chat user basis
 
user8581664
Ok, so I reversed the order. Now, I just want the second one to run if the first one doesn't replace anything in the url. How could I do this? jsfiddle.net/samgurdus/koyb3eeb
 
if( ! location.href.replace('foo', 'bar') ) {
  location.href = 'thing';
}
:P
 
your whitespace is cancer
 
whitespace is love
Isolate your characters
 
if (  ! location   .href    .replace(   'foo'   ,   'bar'   ) )    {
location
    .href =                                                'thing'           ;
      }
 
Hi everyone!
 
user8581664
7:14 PM
@rlemon so does that run 'thing' if it does replace it, or if it doesnt?
 
I have some bugs to resolve
But I don't feel like it
That's why I came here
 
user1596138
> 4 waste samples have been collected so far this week and sent for testing. Residents responsible for this waste will be fined in accordance with the pet policy. To prevent being fined, please pick up after your dog, every time. Thank you!
 
Good idea.
 
Jk
 
@SamGurdus no it does nothing
 
user1596138
7:15 PM
Lol they DNA tested every pet in my apartment complex and are testing the stools
 
you wanna write a real regexp and not just a replace(str1, str2)
 
@Jhoverit I wouldn't consent to pet DNA testing
 
user1596138
@Vap0r Then you lose your pet "license"
 
user8581664
Yeah, I wanted to avoid it because all I am using it for is a bookmarklet
 
... wut
I would say my dog mr. poopypants could in no way be responsible for such a travesty
 
7:15 PM
your apartment complex and its residents all sound like a bunch of dolts
 
then get a url parser
 
user1596138
@Vap0r You have to pay a fee for the privilege to have each pet and pay monthly a small fee. That's just how apartments work in the US.
 
@Jhoverit or just don't say don't tell
and hope for the best
(how I've always done with my cats)
 
user1596138
Yea I did with my Yorkie for awhile
 
user1596138
I have already switched apartments tho and they never said anything about her digging in the carpet or anything lol
 
7:18 PM
@Jhoverit I know about the pet fee, but let's not pretend that pet DNA testing and shit testing is SOP for Apartments in the US
 
they test your poop?!
 
@rlemon the poop they found
 
I would send them some of my own poop instead of my dog's poop
 
user1596138
@rlemon the dogs poop
 
What if they traced it back to the mysterious poopster though @ndugger?
 
user1596138
7:19 PM
They had everyone bring in a poo sample last month.
 
lol
 
s/month/lunch/
 
user1596138
lmao right
 
seriously, I'd have sent in my own
 
it's me; I'm the one pooping in josiah's appartment
 
7:19 PM
enjoy
 
user1596138
Lmfao wait no they had them bring the dogs in and somehow tested them otherwise I found the email
 
I would not allow that
screw them
 
> eye for an eye, you're not getting my dogs poop till I get yours
 
Free exit on my lease so go ahead
 
user1596138
But it's also to help them find undocumented animals
 
7:21 PM
how-to strike-through?
 
unless dog poop dna testing was on the lease, I don't think they can force you to do it
 
user1596138
@Vap0r See history on that message
 
@Jhoverit neat thanks
 
user1596138
@ndugger The pet policy they signed is pretty open to cancellation
 
If they can force your dog to do whatever they want then @towc might become a landlord ;)
 
user1596138
7:22 PM
So they'd just not allow them to keep paying monthly for the pet and remove their pet privileges
 
ah
 
user1596138
Like. It's totally separate from the actual lease it's another thing. Like a garage lol
 
user1596138
As long as they don't DNA test my garage
 
Next your gonna say they don't allow garage meth-factories
 
he doesn't live in Florida bro
 
They had them in NC?
@n
dugger plz delete
for the children
 
no
 
This isn't what are founding fathers wanted bro
 
> are
 
> ore
 
7:25 PM
@ndugger what our you gonna do about it?
 
rust would be so much cooler if the standard was camel case :/
 
why are you the way you are?
 
I might need to get over my snake case phobia
 
snake case is ugly as fuck, but if that's the standard for the language, just go with it
 
screw standards
 
7:27 PM
no u
 
I find snake case to be the easiest to read tbh
just don't like writing it
 
I might need to agree with that
 
Why can't we just have spaces in our variables already, it's 2017...
 
fooBar is easier to write
foo_bar is much easier to read
 
foo bar is better though..
 
7:27 PM
yea, but this isn't magic land
 
foobar
 
PHP?
PHP is magic land, but still doesn't have that though
 
sup fellow kids
 
if it didn't often prove difficult to get it to work in languages, kebab-case is pretty cool
 
kebab-case? lol
 
7:29 PM
ziGi case
 
I think the name is kebab
 
tilde~case
 
mEmEcAsE
 
🚽
 
function turn-on-lightbulb(){

}
// the above is a function that turns on lightbulbs in kebab case
 
7:30 PM
I need to write to a couchdb via vuejs app. Thoughts? I'd rather not use a backend. Maybe pouchdb->couchdb?
 
haskell case: turn(on(lightbulb()))
 
function this is my function () {

}
 
it actually might not be too hard to make a js transpiler that allows for the first to turn into the latter: const some\long\variable\name, const someLongVariableName
 
@ndugger no declarative statements in space case
 
anything is possible with a transpiler
 
7:31 PM
@rlemon no, that's just turn on lightbulb
 
@KendallFrey yea, but no side effects means it's a pretty useless switch doesn't it
check.. fucking.. mate
 
i
 
this is my function [param1, param2] :
    //code here
;
 
@taco make an API call and let the server handle it?
like you normally do?
 
Nobody said anything about it not having side effects
turn :: a -> b -> IO ()
check, mate, game, set, match
 
7:32 PM
turn :: down :: for :: what
 
@towc so add an express backend for an API? Seems a bit heavy.
 
Lol how bad is haskell that you need that much to turn on a lightbulb
 
@taco I mean, if you plan to have a database, chances are you have a backend
 
haskell is basically the scene kid of programming languages
 
unless maybe this is a trusted electron app
 
7:33 PM
how many haskell devs does it take to turn on a lightbulb? all three of them.
3
 
@towc no
 
@towc no
@rlemon lol
 
@towc I'll probably just do pouchdb-> couchdb glebbahmutov.com/blog/synching-db
 
well, if you think you can make it work without a backend :)
how about this for a naming convention: some.long.variable.name?
maybe declare a proxy vars object that instantly makes new things
so you can do stuff like vars.some.long.variable.name
 
@towc no
 
7:36 PM
scoping would go out of the window
 
@towc he could serverless w/ lambda
 
@Vap0r well, right
 
Not really sure if you consider that "backend"less, but I guess classically it is
 
meh, it works
I did say you're right
 
Yeah I just don't know much about it so I was looking for extra validation
 
7:40 PM
 
either way, the server should handle it, whether lambda or not
 
repost
 
old
 
boo
 
well, back to rust
 
7:41 PM
it's a repost of my own post on facebook
you'll like it, or you'll die
 
!!afk dead
 
what game is that from?
 
that reminds me, oculus rift is finally affordable
 
yeah perm price cut
$399
makes me want to buy another to just sit around and collect dust lol
 
7:44 PM
is it worth it
 
yeah $399 for sure
 
Yeah, even though I'd buy it at $400, I still don't think I'd use it
 
it is really damn awesome
 
@Loktar no clue, but it's funny
 
just depends on what you do if you'll be in it a ton
I think @KendallFrey uses his fairly often
 
7:45 PM
So.. Kendall spends most of his time on it rifting his Oculus?
 
damn
 
1 message moved to Trash can
@towc Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
I do use my Rift more than the Vive though
 
fine
 
and the Rift is better overall imo package wise
but.. I'm glad I have the Vive for FO4 VR later this year
 
7:46 PM
@Loktar It varies, tbh
 
@towc returns are bad
 
Sometimes it's every day, sometimes I do other things for a while
 
I use my 3d printer more that's for sure lol
I'm still super happy with that purchase
 
> returns are bad
^AMD
 
I'm interviewing an intern and on his resume he has "Chick-Fil-A mascot" XD
 
7:47 PM
haha
 
hired
 
that's one way to stand out
 
@SterlingArcher if I see that in Florida you drug test them and hire them immediately.
 
> sir, you've tested positive for meth.... can you give the hookups?
 
I mean maybe you could go to a dollar store and get that
but I didn't even have to leave my house
 
7:48 PM
Anyone able to withstand the Florida heat in a mascot costume is either extremely dedicated to working, or to meth
 
I'm crying, college intern resumes are fantastic
because they don't have work experience haha
 
@Loktar "it took 9 hours! but fuck if it wasn't convenient"
 
hah nah only 2.5
 
@Loktar I mean, it only took... fuck you rob
 
> because they don't have work experience hahaha
hahaha... haha.. ha :(
 
7:49 PM
I do hate the time it takes though.. why I never print super big things
too impatient lol
 
when is halloween ?
 
just order it online and get it the next day
 
I need to get back into maker stuff
 
Oct 31st
 
@Loktar make money while printing. Twitch it.
 
7:49 PM
oh ok :P
@SterlingArcher you up for tomorrow eve?
 
@ShrekOverflow should be! You didn't answer my question though -- DC A&S museum or herndon?
I'm not free until about like... 7 or 8
 
AC/DC or heroin?
 
heroin always
 
@SterlingArcher upto you :)
 
@ndugger black tar only
 
7:52 PM
@rlemon why tho?
 
because poptarts taste better cold.
 
I just thought the white powder was of higher quality
 
@KendallFrey because traffic
 
!!woosh
 
7:53 PM
can't decide if this rocks or sucks:
 
let a = [0, 1, 2, 3, 4];
let complete = &a[..]; // A slice containing all of the elements in `a`.
let middle = &a[1..4]; // A slice of `a`: only the elements `1`, `2`, and `3`.
I guess it's ok?
might make it somewhat cleaner?
 
So, the first one is just a clone?
 
guess so
 
It would make more sense as 1..3 to me
 
7:55 PM
start..count makes more sense to me than start..end
 
Normally yeah, but with the ellipsis it would be confusing
 
yeah, languages that have that are start..end
why is there a &
 
reference I guess?
 
is that not js
 
ewww
 
7:58 PM
noup
 
what is it
 
rust
 
ah
 
oh, i thought you were talking about a game
 
we can talk about a game
I played minesweeper once
it was fun
 
7:59 PM
i'm leveling a new wow character
i dunno why
 
I wrote minesweeper once
 

« first day (2553 days earlier)      last day (2402 days later) »