« first day (2954 days earlier)      last day (1977 days later) » 

user8729657
12:06 AM
Any guides for web scrapping with node.js?
 
user4639281
Scrapping the web are we?
 
user8729657
gotta pay rent fam
 
user4639281
Did you mean web "scraping"?
 
user4639281
Or are we talking about tearing the whole thing down?
 
user4639281
'cause if we're gonna burn it down, let me grab my torch
 
12:11 AM
@OvieAdese node.js + request + cheerio
+ however you want to save the results.
but that should get you most of the way
 
user8729657
Cool thanks
 
request and cheerio are npm modules btw
request is a very simple to use wrapper over http module
and cheerio is basically jQuery in nodejs, so you can query the results of the request.
 
user8729657
Think I'd be able to scrape flight results from this website expedia.ca?
 
probably, but you would be better off using an api expediaconnectivity.com/developer
 
user4639281
 
12:30 AM
Oh, web scraping
My favorite thing
 
web scrapping sucks now with javasript and captcha
 
I haven't bothered scraping anything like that
 
well I tried scrapping google results didn't work out
 
Hmm
Is that really that hard?
 
it throws a captcha after a while
they may have an api now
 
12:41 AM
That's smart of them I guess
 
to throttle your usage or something
 
user4639281
12:51 AM
srsly? web scrapping?
 
user4639281
> verb (used with object), scrapped, scrap·ping.
> * to make into scraps or scrap; break up
> * to discard as useless, worthless, or ineffective:
 
Tbh yeah scrap the web
It was a mistake
 
I wish I could say I typed that on my phone but did not
at least the intent is clear to anyone familiar with tech
 
I got contacts the other day and i still get some slight double vision from them
 
user4639281
> verb, scraped, scrap·ing
> * to scrape something.
 
12:54 AM
I can't tell scraping apart from scrapping unless i really look close
 
yeah obviously me neither
 
user4639281
Idk, when I read it I hear "scrapping" in my head and it just sounds wrong
 
I spell recommendation as reccomendation all the time
also
its the double letters on Dvorak that screw with me
on my mac it autocorrects
I'm glad I speak english because of the internet but Spanish is way more logical
effectively english is the de facto language of the internet
 
html is
 
HTML is a markup tool if you must
 
12:58 AM
No but yeah
 
mathml is a language written in XML
the math language
latex is a more of a language then html really
 
I'm sure there are a ton of xml variants
 
and I dislike latex a lot
 
and they're all trash
I like latex
 
why?
 
1:01 AM
idk it makes me feel smart when i get it to work
 
unicode support sucks on latex
makes me hate it
no emojis
 
Can't you just \whatever it
 
or chinese
@Meredith no because of font issues
 
Oh
 
you have to link a font for each language specifically
 
1:02 AM
Good thing I don't use emojis when writing math papers
 
if you bilingual latex sucks
3
Q: How do I convert LaTeX containing arbitrary Unicode to XHTML?

WilliamI was reading this question(How to get Unicode characters into HTML output) and because his intent is simply to ouput the text to HTML, I was wondering if there is a command that simple does binary dump of the containing content? I could see this being useful in maybe embedding certain types of ...

one solution the quite weirdly works is to output latex as HTML
kinda defeats the purpose of latex though
 
encoding is just annoying to me
 
latex needs to get with the utf-8 more
 
Like it really isn't an issue anymore
 
especially with the fonts
 
1:05 AM
But I remember back in the day when I would just write a shit ton of terrible php
having a bunch of ?s everywhere
 
yeah I don't really remember but I used php on mac back in the day
mac adopted some of this stuff much much faster
but I don't remember really
I need to finish my likely last paper of college
due at midnight
 
I never really properly learned about encodings
So emojis are part of utf-8
 
me neither
 
it's just a bunch of characters together
 
yes
it depends what unicode encoding you use
 
1:07 AM
Everyone uses utf-8 i think
 
for HTML yes everything else most likely yes but not necessarily
if you want to count the length of a string in chinese multivariable byte encoding isn't ideal
 
All I know is that you're supposed to use special functions instead of string.length
 
yes
or mb_ in php
but theoretically you can get around that
 
Which tbh I don't remember the last time I took the length of a string
where it needed to be the number of letters
instead of the actual size
 
its rare es
if you are just in spanish and english you should be fine
which is basically all you need to worry about in north america
I would go as far to say they should have put n with the squiggle and the five accent vowels in the ascii standard
Its six more characters and effectively the next most common language could use the default str.length and everything else functions
 
1:12 AM
n with an accent
 
is that also a thing
 
Yeah
 
I haven't taken spanish since high school
okay 7 characters then
 
I can't write my last name in ascii technically
 
:D
what character is it missing
 
1:13 AM
n with an accent
 
so its a spanish last name? (you don't have to share it obviously)
 
No it's Polish
Å„
 
I delete that in a second
 
Your name is super common so no one can google you
 
lol you are right
I have met someone with the same first name middle name last name and birthday
 
1:17 AM
That's crazy
 
I think spanish really only have 6 additional characters
there is no n with accent in spanish
its n with tilde instead
 
Yeah Polish has the n with an accent
And an l with a slash
and a few others
 
it would have been a good language to add to regular ASCII
its the next most common ASCII language
then german should have been addded
that would have covered the most important latin based languages
 
Just force everyone to use basic latin or cyrillic
 
?
I don't understand
 
1:22 AM
Change the languages themselves
 
ahh so what about chinese
what is it
basically what I am saying is that you need a multibyte encoding language for chinese
otherwise it gets pretty crazy
and then we are basically back to unicode
 
Yeah of course
But I feel like you gotta cram what you can into the first byte
 
does anyone know how to pull database from ssh of cpanel site? I stop paying for cpanel dont want to use it no longer but need to retrieve the db
 
exactly what I was thinking
@RTarson pay for an additional month and get them to do it
that is the easiest solution
 
damn. thats what i was thinking maybe i can renew the public ip and get a trial month
 
1:26 AM
ssh and cpanel soundis like a bad idea
I mean do you know the sql password
 
yeah
 
I remember cpanel
 
@Meredith what do you do?
 
idk man
 
haha ight
you dont use a cms?
 
1:28 AM
I'm just a node developer
 
fair enough
 
ASCII doesn't have any more room for oter languages
like I thought it had width space characters or something
 
I just use it to quickly look over site stats, manage psswd, etc... I use vesta panel now
 
unless we throw out the control characters maybe
they should have made the printable characters first at least
 
I hate contacts
I feel like theyre never over the center of my eye
 
1:33 AM
get lasiks
my father and grandfather did
he has better eyesight then me now
 
My vision isn't bad enough to risk it
 
do you guys wanna judge my logo?
 
@Meredith my distance is pretty bad but everything else is good
so yeah same for me
I pass the driving test with out though just barely
 
user4639281
I totally cheat on the eye exam when they tell you to keep both eyes open. I'm squinting the whole time.
 
I passed it without glasses in high school
 
1:35 AM
so apparently they did create an
latin based encoding but ASCII was quite literally full
 
Oh that's what ISO-4ngkjret3n4 is
 
I mean they might have been able to get german into ascii
but not anything else
and it would have required removing old character encodings
they should have jammed german into ascii
would have been smart
spanish would have been more valuable though
 
I guess they didn't want the debate
 
sure but it would have saved bandwidth for basically the rest of time
 
Also I put new wax in my wax warmer
Which idk what I was thinking when I bought it
Cuz when I came home today my apartment smelled like mens deodorant
 
1:41 AM
what is a wax warmer?
 
Oh
You know like scented candles
Like that but without the fire
 
yeah
 
It's literally a lamp that heats scented wax
 
hmm interesting
 
Strongly recommend
 
user4639281
1:42 AM
Why not just an oil diffuser?
 
Idk they're interchangeable I guess
 
user4639281
So is an oil diffuser, you just put oil in it
 
No I mean oil diffusers and wax warmers are interchangeable
It's actually a pain in the ass to swap the wax
 
wax has a different aroma
probably
 
But anyway it's zen scented
But smells like idk old spice or something
It's a disaster
 
1:45 AM
hahhha I hate most scented things
messies with my allergies
I start sneezing
 
I got in trouble for having a cinnamon whisk at work
cuz of someone like you
 
I'm sorry I'm also allergic to cats
people like me unfortunately exist
 
You're everything I hate
 
do you have a cat?
 
No
I'm really irresponsible
But I like cats
 
1:48 AM
cats are like fish though
there pretty easy
 
No
Cats need love
 
I had a cat and liked her
except I was obviously allergic and we got ride of her
 
Also fish are creepy
 
Patriots are cool
 
?
football
I don't watch or follow sports really
sometimes I go to the local soccer games at our university
because there are always in top 5
 
1:51 AM
Football is awesome
 
All I really know is go gators
 
Do you dance with gators
 
They don't really dance
 
wheel snipe celly boys
 
I don't get the reference
hockey oh
 
1:53 AM
I think ist a Canadian saying
 
letter kenny
 
ftr the correct response is DIRTY FUCKIN DANGLES BOYS
 
I have a friend who dances by marching
In place
 
I'm not gonna pretend to be a good dancer
But that's terrible
 
sometimse i think canadians don't speak english
 
1:56 AM
Ya it's funny
And fun
 
@WilliamA What's it to ya?
 
lol had to search that one also :D
but that is properly acceptable in the US and I just don't keep up with sayings well enough
 
yer a hoser mate
 
you couldn't deke a fucking snowman you fuckin bender
 
what's snow
 

« first day (2954 days earlier)      last day (1977 days later) »