« first day (2614 days earlier)      last day (2333 days later) » 

2:00 PM
@LucasBustamante do you know what "host aliasing" means ?
it is fairly simple: if you visit project.dev, it checks first locally if that name is known. If so, then visit that IP address/CNAME assigned to that. Otherwise lookup DNS cache (if not in cache, then send DNS query to a TLD)
 
why cant you do this:
const foo = 2
export foo
 
scoooooppeeeeeee
 
chat.stackoverflow.com/users/7481412/seongwon-choi jesus this user is annoying. just invited me to a room randomly for help
 
I want to have some conditional logic on foo
 
look at the list of other rooms.
 
2:03 PM
@rlemon I got that one too
He said "can you spend some time on me?"
@Seongwon-Choi speak of the devil how ya doin bub
!!afk vape
 
@Seongwon-Choi do not randomly invite people to rooms like that.
 
@towc Bulma's great for what I needed, thanks
 
it's annoying and spammy
 
My actions were rash. Sorry.
 
@Seongwon-Choi Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
2:05 PM
@Seongwon-Choi do NOT invite people to rooms for help. Ask your question here once, if someone will respond - great. If not, carry on.
 
@KarelG sorry, I was away
 
I will listen to your advice.
 
now, ask your question to the room and hopefully someone can help
 
@KarelG yeah, I know what you mean, but as I said, Google bought .dev domains and added a preload HSTS policy for it enforcing HTTPS
 
does not matter :)
 
2:07 PM
@KarelG so it basically means .dev can't be used for localhost development anymore, unless you use HTTPS locally
 
@LucasBustamante so make it mysite.superdev
because then it will be super
 
@LucasBustamante even if you do
use a TLD from the safe list or no TLD at all
 
or use .local, and ignore the haters.
 
@ssube yeah that's exactly what I'm thinking
 
already fucked google with their HSTS policy before and reconfigured the company DNS
 
2:09 PM
@ssube can I use no TLD at all? That's the question
@rlemon sounds like a plan
 
it's entirely up to the tool and how it parses URLs
 
I was tempted to host my dev site on a .local
 
.local is not a safe TLD, unfortunately
 
but then decided to just make a dev 'branch' on my personal server
 
The origin section is just a bunch of dot-delimited names, which one is "top" doesn't really matter. On my network, foo.sg.house and foo resolve to the same thing.
 
2:10 PM
only .test and .localhost
 
@LucasBustamante not only
there are hundreds, at least
 
@KendallFrey Literally unplayable
 
these are second level domains, http://[2].[1] (if I'm not mistaken. test and localhost are [1], for example)
 
dat s
 
the best tests are done on 127.0.0.1
 
It says .localhost is recommended for localhost development, but says nothing about no TLD at all... I just wanted a shorter pattern, but I think I'll go with .localhost...
 
@LucasBustamante where are you seeing a difference between TLD and these second level ones?
 
:(
 
also, if there are special top level parts, why do all dns entries end with . ?
lol lemon
 
2:18 PM
In the Domain Name System (DNS) hierarchy, a second-level domain (SLD or 2LD) is a domain that is directly below a top-level domain (TLD). For example, in example.com, example is the second-level domain of the .com TLD. Second-level domains commonly refer to the organization that registered the domain name with a domain name registrar. Some domain name registries introduce a second-level hierarchy to a TLD that indicates the type of entity intended to register an SLD under it. For example, in the .uk namespace a college or other academic institution would register under the .ac.uk ccSLD, while...
 
you are making things so complicated IMO
 
@KarelG It's knowledge, neverthless xD
 
my rpi webserver development is on diggingmy.rpi
😐
 
echo "127.0.0.1    whatever.potato" > /etc/hosts
why not just like.. not care what wiki says
do your thing
 
yeah
it is your environment anyways
 
2:22 PM
@LucasBustamante right, so if you switch example.com. to com.example., then the TLD and SLD switch. They're just names for the position.
 
man, now I want my home network to all be [machine].corn
 
at the end of the day, the name is a right-to-left list of .-delimited names, your program probably doesn't care what they are
 
I know what I'm doing tonight
 
@ssube i like that you have added the root domain in your example :P
 
2:26 PM
I've spent entirely too much time with DNS recently. 😐 had to do a bunch of kube, delegating subdomains to clusters, autoprovisioning records, stuff like that
 
@ssube on the topic, how would I get windows to recognize a .local?
because octopi.local is convenient, but on windows I have to type the ip
 
does windows have a problem with those or do you just want to serve it?
 
windows doesn't resolve it
goes out to google and does a search
 
so, your router might be able to help, otherwise you need to run a dns server
obvs
dnsmasq is the best imo
 
Ubuntu has no problem
anywhere on the network. it'll find it
 
2:27 PM
on ubuntu, who does dig say it's querying?
you might have different dns servers
(if they're both on dhcp, that's unlikely)
 
uhh, I'm asking you because I know just enough about networks to fuck them up
 
I think it might be that ubuntu defaults to .local as its search domain if you didn't specify
does your router have a "Hostname DNS" option?
 
nvm, found it
well, a doc to help me get it setup
> Windows doesn’t have Zeroconf support out of the box, but a few popular applications slip it in for their own needs, including Skype, Apple’s iTunes and Adobe Photoshop CS3 or later. So you might not need to add anything at all!
Otherwise, it’s most easily installed using Bonjour Print Services for Windows 2.0.2.
 
ah, that should work
 
I'll give that a try when I get home
 
2:30 PM
I don't use bonjour and have uPNP restricted in general, in which case DNS is the next best
 
or just tie my pi to a static ip on my network
which I should probably do.
 
there's a solid 50% chance your router can do DNS, even shitty home ones
if not, running dnsmasq on a box with a static IP (maybe the pi) will do it
 
you can just steal the Bonjour installer from itunes
that sounds pretty easy
and I'm all about easy
 
@rlemon windows and zeroconf support? :P
 
yeah, so long as you're on a network that allows them (the whole bonjour/upnp concept has security issues)
 
2:32 PM
ah you already figured it out at your own
 
@ssube considering it works on my linux installs, I imagine I am
 
ya. Home routers all have it (I think?), SOHO ones vary, business usually doesn't.
 
AFAIK windows server has .local as default dns suffix
 
Is it possible to have webpack just load up my tests for me if I specify some type of cli option?
 
for whatever reason my beaglebones and rpis keep wanting to swap local ips
 
2:33 PM
--me
 
every time I reboot my router they don't hold their previous location
I just need to static them
 
your dhcp server isn't saving leases to disk, maybe
 
it is for my tv, ps4s, and pcs
just not my rpis and bbb
 
> ps4
 
no, ps4s
I have more than one
 
2:35 PM
why do you want $300 paperweights
 
I bid you all farewell
 
@Neoares let me guess, you don't think people can own a console and a gaming pc?
 
@Neoares xbox > ps2, xbox 360 > ps3, xbox one < ps4
Unless this is a pc vs console thing
 
@rlemon oh I do
 
@Vap0r I assumed it was
 
2:36 PM
but I was talking about paperweights, not consoles
 
In which case I'll wreck you 1v1 me n00b
 
@Vap0r unless you want framerate or shooters
 
might buy a ps4 pro today
 
neither of which the ps4 ever deigned to deliver
 
@Vap0r I'd say ps2 was better, and ps3 probably
 
2:36 PM
@ssube shooters?
 
@ssube never been an issue for me
 
but wii > ps3 and xbox 360 :D
 
@Neoares you're probably right but halo 2 holds a special place in my heart
 
all the good exclusive shooters are xbox
 
@Vap0r that's true
 
2:37 PM
the only reason I'll get a ps4 pro is to up the quality of the psvr
 
but it's the only game
 
hola amigo
 
halo, titanfall, idk what else
 
@FangmingNing yo no soy tu amigo
 
titanfall isn't exclusive
 
2:37 PM
hey guys a question i have a jquery slider that goes from 0 to 10 with steps of 0.1
 
@rlemon idk about the normal vs pro. The xbone vs xbonex is no change, though.
 
but it stops at 9.9 and not 10
 
@ssube psvr runs better on pro
 
oh, I bet
 
@Neoares I know but I still cried when they closed down the servers
 
2:38 PM
do you guys know something that might help me
 
@namzaG so go from 0 to 10.1
 
the new xbone is supposed to have a ton of hardware, but you can't tell in any game
 
@Neoares lol nice job
 
@Neoares too smart dude
 
@namzaG make a demo
because there are a bunch of different jQuery plugins that you could be using, or jQuery UI
 
2:38 PM
me like to helps
 
@rlemon do you create subnets for your networking devices ?
would make things more easier IMO
 
probably
 
I did that anyways
 
but I really don't do much
I hate dealing with networks and routers.
so I avoid it
 
I'm just happy with my mario odyssey and my zelda this year
masterpieces
 
2:40 PM
@Neoares mario, zelda, and skyrim for me
Amazing
 
I like to fiddle with networks and routers ;D
 
<div class="slider ui-slider ui-slider-horizontal ui-widget ui-widget-content ui-corner-all" min="0" max="10" step="0.1" value="0" id="slider_payrule_pctfee_surplus" style="width:100%"><span class="ui-slider-handle ui-state-default ui-corner-all" tabindex="0" style="left: 0%;">0</span></div>
<div class="slider_max">10&nbsp;%</div>
 
yea, I had to deal with it for work, so tainted me
 
!!s/fi/cu/
 
@Neoares I like to cuddle with networks and routers ;D (source)
 
2:41 PM
@namzaG dude, make a fiddle.
no one knows what you're using to create this
 
oops
srry
 
no prblm
 
yes, I'd like to buy a vowel
 
vowls are expensive
 
:(
 
2:41 PM
uhhh..... x-pensve
 
x isn't a vowel, vowels don't give it to ya
 
and y is variable
 
does anybody know here web3.js
 
someone explain me the joke :/
 
const y
@rlemon try me
 
2:43 PM
@ParnasreeChowdhury just ask your question
 
oh
 
we're all real good with google
 
> no problm
 
@Vap0r a constant is still a variable.
 
@Neoares yes and right before that "srry"
 
2:44 PM
ooooh
 
@rlemon you said "is variable" not "is a variable"
 
I have a stupid question
 
const are not variable
 
the answer is 42
 
const are variables
@ParnasreeChowdhury just ask we're all so desperate for validation we'll answer even if we don't know
 
2:44 PM
@Vap0r sure they are. const a, const b. those are variable constants
 
@Cereal let us decide if it is really stupid. Or it could be that it is just you.
 
english will rape your logic nine ways to sunday
 
@rlemon nope
 
If you have an anchour with href '..', it goes up a level. If you just have '<something>', it replaces the current level, if you have '/<something>', it navigates from the root
 
@rlemon yours too
 
2:45 PM
is there no way to do '<something> and have it append to the current path
 
./something?
 
^--
 
depends on how the server canonicalizes paths, but it should work
 
It does nothing!
 
don't use <> when you're talking about HTML
 
2:45 PM
> canonicalizes
 
Must be a setting somewhere then
 
@Cereal just use the real path.
 
../foo/something might actually be better supported
 
@rlemon That's what I usually do, I was just wondering
 
`${SITE_ROOT}/something`
 
2:46 PM
I was typing out that path thinking "there's probably an easier way to do this"
 
a helper fn to generate absolute paths
just make sure you pay attention to forwarded headers
 
const url = path => `${SITE_ROOT}/${path}`;
 
my parents just called me with my sister's name
it hurts, a tiny bit
 
with?
 
with.
 
2:57 PM
no parent can keep their kids straight
you should talk to tumblr about being so offended
 
my mom never called me by my brothers name
but she calls me her cats name, and my brothers kid my name
 
lol
 
I have 3 sisters and when they fucked up it was a regular "X! Y! Z! No, X! Y, stop it!"
 
:D
 
literally impossible to keep track of which sister was which or what they were doing wrong
 

« first day (2614 days earlier)      last day (2333 days later) »