#ot1-perplexing-regexing
1 messages · Page 215 of 1
ah
but also a little bit because using iframes for this sort of thing is inadvisable
I will admit though, I wish we were able to use js/python 
but it's a design course non the less
which happens to teach html and css to achieve it
I would probably just copypaste if that seems to be what they expect
but
might be fun to experiment
They only expect it to work, when scripts are stripped off
aha
As in, I CAN use js. But it will be completely stripped upon review
a website using a python backend works fine without scripts though
How would I setup that backend on their network 
haha. yeah you probably can't
would be great
"Hey how is your website doing login, queries, templating etcetc..."
"oh you know.. html"
no php either?
Imma make fancy hyperlink hover css now, and worry bout the nav bar when I need to navigate
php 
I dont think so..?
yeah..
no iframes needed.
(and very little php)
css navbars are fun to write.
Is html/css Turing complete?
No, apparently not, damn
One proof was that you can determine when it will halt, therefore it's not Turing complete
Proof by contradiction 👌
The stackoverflow page seems to be pure CSS, while the codeworks page mentions a continuous stream of HTML feeding into it, which might explain the contradiction.
CSSPython
They're really just formatting languages though, kind of a dumb question
Lol
Wait
Is that
Oh no
It's not
;(
CSS3 is a little more than a formatting language now
There was a game made in only CSS / HTML
Of course, perhaps the question is not one of could, but of should.
that's fair
"pie-ci-sss"
Is is with less guns and more memory usage
I’ll take the guns
o/
o/
I did hyperlink hover thing
https://dikult105.k.uib.no/2018H/students/tpe044/
Imma stop touching the frontpage now
Before i break it
oo
My only concern atm is the "project" headers color
It may not be readable to colorblind people
¯_(ツ)_/¯
just checked with 4 common filters, looks okay on all of them
Which ones is that
the common ones

Pretending to be color blind 
I should probably change the 3rd picture though
As the project title gets hard to read there
I also showed it to my dog and he looked like, if he knew English, he could read it
lol
Agreed on #3
I got you the perf image to use
Do share
monochromacy colour blindness would actually show that yellow as white
hmm
Text shadow
?
web design got really progressive somewhere down the line
no more epileptic seizure inducing marquees
probably for the best but you gotta miss it sometimes
Ay
Are the words even really needed on the pictures? The lab names seem pretty clear.
Atleast we still have http://arngren.net
mip, elatv, el-atv, atv, mip robot, robot, mercedes barn, elbil til barn, el-bil til barn, mercedes elbil, drone, mip robot, robot, elsykkel, el-sykkel elbil, el scooter, elscooter, el-scooter, rc helikopter, rc bil, rc fly, rc produkter
It's mostly because projects != labs
labs are equal to things im tasked to write in lectures
while projects could be anything
I'm sure it was fun to flail around wildly without wanting to.
Floppy didn’t like my photo 😦

now that's what I'm talkin' about
haha
accessibility in the form of no one can read the page anyways so it doesn't matter that you're colorblind
yup :D
That’s equal opportunity
the end user should have to work to get anything of value from my site
holy shit i think it changes every time you load the page. this is wonderful
information doesn't come cheap
^^^
I found a pic to use
Lucy I’m starting to rub off on you. Feels good man
Could use my dog too. But i have a license fee of 1 pet per page view
👌
fbm, the site that applies filters doesnt have hover enabled
So can't test if the color change on hover makes is easier for color blind, or opposite
next thing this guy will ask you to buy iTunes card and give him the code
must be apple's secret way of making mooney ye
Free book if anyone is interested
thanks i wanted to learn meself some data mining
ty
I think we might need to have @royal lake warn about Packt links
Just remember, they'll publish just about anything
this one looks okay
I think I found my new favourite subreddit
38,316 votes and 1,022 comments so far on Reddit
r/RubeGoldbergFails
waow
server died
lack of players
I'd join if they made a survival one
i only play vanilla survival with plugins rly LOL
or minecraft factions can be okay if you have a decent team
nice
okay ye sounds gud
try: play.nextgamers.eu as IP minecraft 😉 we even have a discord channel relayed to the server and vice versa
ook i try now 😄
oki 😃
oh yea, most servers right now are on 1.13 because, spigot (the server software that is fast efficient and supports plugins) is first announced to be updated on 5.9. 😃
yes u have to
1.13 is aquatic yes
ure trying to connect with version 1.13.1
but the server has 1.13
thats because spigot has to be updated first
ye sure
oki ^^
if u want i can give u 5000 or so ingame money so u are closer to premium (/fly etc.) and everything is free on our server, nothing u have to pay real money for ;D
eiuu minecraft
boring? yes, I agree
one hour of mnb warband is more exciting than 1 year of minecraft
lol
the risk is too limited and playing on hardcore you can only lose if you either 1) die early on 2) fall in lava/off a cliff late game
it flopped because it wasnt fun like chivalry
flopped 
floppy flopped
if you knew what you were doing, it was easy to go on that power trip
A lot of fun games have died unfortunately
mirage is very balanced, so people that cheesed chivalry didn't find it fun
Esp in the mmo category
i liked that chivalry wasnt balanced
it felt kinda bullshit to some players ultimately
the harder a game is the more rewarding when you do something
reminds me of hello neighbor
that game was terrible
mirage has an ability system as well, which is very interesting
you could fly on a trash can and beat every level
yes
that game was too hard
i'm completely out of the loop when it comes to games haha
you must be really bad because its extremely easy if you dont follow the developers intended path
This is the greatest shark riding of All Time
yeah hello neighbor was super broken
its in my 10 worst games ever played
Just because it has a game breaking bug, doesnt mean you cant enjoy it the intended way
the game is just terrible even if you dont run into any bugs
The game wasn't buggy really
Lots of games let you object boost at least
Just difficult
the game was extremely easy
I believe it when i see it
the alpha was better than the release
Btw Im waiting for beach buggy racing 2 to come out for mobile
Can't wait to see whats new
is that sarcastic
well i can see why you liked hello neighbour
hmm
I'm pretty sad Everquest Next was cancelled
A game ?
Video originally published on dagbladet.no/dbtv.no on 03.08.2013 EverQuest Next Worldwide Debut Gameplay Footage
Hm
whats that
@sour shale A game
looks kinda cool
no its no
BDO is pretty
but WoW just has too much content. its really hard for an MMO to gain any traction because you blow through your launch stuff in a month and then people are stuck doing nothing
so then they come back to WoW
Eve Online
Yeah, you basically need to create another world
clay
Eve isn't new player friendly
why do you love that santa hat so much
Yeah eve is okay but
To do anything cool it’s spend money on injectors or wait like 6 actual months of real time for skills to train
Overwatch too
Yeah. I mean I’d welcome another on the scene it just almost feels like they’re always destined to flop because you can’t compete as a new game with like 15+ years of content or whatever t is now
Both are not MMOs
Also not new player friendly
new player friendly is bad not good
I've got 3,000 hours in that game and I'm still bad
Fortnite is great
you can learn dota in like 70 hours
I have about 1300-1400 days total /played on WoW. And still nowhere near done with everything
Another pay to win
What is
WoW
How do you figure
New player friendly is good when you want new players
and if you think you can learn DotA2 in 70 hours then you don't know DotA 2
LOL I've played dota roughly same hours that u have

nice logical fallacy though
after 70 hours I was able to win in the trench with viper mid
back in like patch 6.78
That doesn't mean you know the game
like, I was playing functional dota
ye but at least at that point you know what's going on
like the overall game
Yeah you can flop around and win, I'm talking about actually knowing how the game works and what you should be doing
I still don't know that

SAME
I watch the international and the team that I think will lose wins easily lol
they pick some weird strat and win TI8
The mechanics of that game are a bottomless pit
a few months ago Topson was a pub random Dota player
he gets added to OG right before international
plays dagon pugna
wins a million dollars
👍
idek
That game is too stressful for me, I like using the minimum amount of brain power required, so WoW it is
Same
Only problem with WoW is the cost to enter as a new player
Which they just fixed by removing the battle chest
ye
nice, you figured out how to play juggernaut
dota was a BITCH when I was playing the original
before they reworked viper's skills he was a bigger pubstomper
you're right that you can learn some basic character strats
and then use those chars
but if you're on AR
juggernaut never used to be good until they buffed his Base Attack Time
is this DotA or #2?
22222
Isn’t every game p2w then cake if you’re including black market purchases?
nah, AR requires you know a wider range of stuff
i think in 70h you can do okay in learning how to operatate 1 char
you can't buy anything to win dota more
but to get better with AR
You can’t buy anything to “win” WoW more. It has a rotation you have to know for good damage
but you can buy an account that played for 15 years
and has all the stuff they got over 15 years
And all meaningless in the current expansion
You could make the point that buying an account gives you access to better groups by having a higher item level, but you’re gonna perform poorly and be kicked almost immediately because of it
No. Every expansion has a cap. This expansion is 120. There’s stuff you can only obtain at 120, but if you don’t know your rotation or how to play the class. It doesn’t matter how much gear you have, You’ll perform poorly
It’d be like buying an account in ancient in dota
Not really. But that’s not how the games designed. The end game doesn’t start until level cap of the expansion, which is 120 right now. But that’s only like 15-20 hours of leveling. You are put against people your level in pvp situations though
okay
Level is less like - I’ve done stuff and leveled up for power like bdo where it’s a huge grind.
In WoW it’s more like, story progress. Once you’ve finished the main games story; the end game raids and stuff open. If that makes sense
i think so
more lens flare
the white is hard to read.
No problem, but don't forget to let it mature
:P
you need to leave it in a sterilized, airtight container, out on your counter out of direct sunlight, for a month
if you didn't manage that, you'll have to eat it
to sterilize, I mean
@prisma gust
if the jar wasn't sterilized (ovened for 20 mins, with the seal boiled if there is one) then store it in the fridge and use it
it won't mature in the fridge, so just go ahead
i read that as "if the jar wasn't serialized" and was wondering how java jars would be serialized
oh god
food
whats that
chutney ?
whats this
ah nice
i made this once
with green tomatoes from allotment
i rly like to add cayenne pepper
i have a giant oversized pepper plant
yields like 300 peppers per year lol
it grew like a virus
england
its in a makeshift greenhouse its rly hot in there
it might die eventually
i just kept giving it water and fertilizer lol
Heres a question
why do all custom Emojis
start with :GWetc
in the emoji name if you hover over it
because it never use to do that
GW is a public emoji
Means you can use them cross server without nitro
It’s for GameWisp. Not all of them are like that
;~;
It took me here : https://github.com/rtyler/brokenco.de/edit/master/_posts/2018-08-15-five-stages-of-yaml.md
Which is the markdown file on GitHub in edit mode, which if you're not a contributer, shows options to fork the repo
😂
Why does this make me uncomfortable
y
charming dude
Found his "doctor watches" series
Hooked atm
Imma become a doctor soon™ with all the advice imgetting
yeah, I started seeing him after I finished house
I just read a few comments on his videos, I wonder why they all seem to be female 
Is this the place to pick up ladies 
Dr Mike is pretty cool @glass gorge
Or private message but here people can help too, in any case I strongly suggest to ask someone with more experience in React to advise you
ok no worries, I'm just kicking ideas around
not taking anything for gospel just looking for open discussion
So currently you have one Django app for each "section" or "part" of your web app
Is there a Master app for the home page or the container then ?
so actually the homepage is just a simple form that takes in the ticker. So the app I showed is actually dashboard. here's the current site (lfav2 is the django project name)
so far I've build home and dashboard and dashboard is a big react app
By Django app you mean like when you create a whole new Django app right ?
yes
okay
Yeah in this case I'm not sure how you could do it while preserving the xxx/part/ in the url unless you serve the react app after every part in the url
Not sure if that makes sense
If the parts are really independant (and I suppose they are since they each have their app) then I guess it's fine if it's one React app per Django app
yeah they are really independent
for example here's dashboard.html
for ChartMachine, I would basically just duplicate this, change the css and js file and render a different parent component into the lazy_app div
I feel like it's best to make everything as independent as possible for the purposes of the mobile app down the road, since that would allow me to just swap components around however I want later on
How would that affect the mobile app
I don't know I've never built a mobile app before 😄 ... I was just going with my gut, lol
making everything independent and reusable
one of the problems I have now is that there's just so much stuff on the site, it's difficult to use on mobile screens. So I thought maybe a mobile APP w/ an API to talk to would be better, and this was a good start towards making that happen
I'm not sure of the scale of your project
But a native mobile app is a lot of work, you could consider a responsive website too
the site is responsive now, but uses chartjs heavily, which would be better as a native mobile app IMO
since the charts themselves are not really responsive
Oh okay I see
I don't mind a lot of work though ... site has the potential to generate big $$$
The mobile app will need a rest api and your react app too so
Yeah ... sounds like API is the way to go
not a big deal I've built lots of APIs 😃
my goal right now is just to make a "lite" version which will be just this dashboard app ... and sell it for $5-10/month
as opposed to the current $30/month for the whole site
then I want to add each extra app and convert them to independent, mobile-friendly, react components as I go
gives me a smooth transition for current users and allows me to do a full site overhaul piece by piece
I could even split it off to allow access to only certain apps for a small cost each
I never splitted my app into multiple apps
When it gets big It means it's just bad organization
But I guess it can work too
It will be hard to deploy though
you'll have to do it manually or do custom scripts
well this is a fairly large app
it needs multiple URL namespaces and such so it made sense for me to split it
What were the limitations ?
Can't you just make routes in Django
or you mean xxx.website.com/
not website.com/xxx
multiple subdomains for each app ?
well it's mostly just that each section of the site logically is independent from all the others
for example red flags has nothing to do w/ the dashboard
so I segregated them so I have site.com/dashboard/whatever and site.com/redflags/whatever
I guess it's just logical separation for purposes of keeping my codebase organized
It just made sense to me that way I suppose 🤷
I don't know, I would just make a folder for each section
A whole different application might be overkill
I suppose they are all using the same database
But they all have their own views, URLs, functionality
tests
etc
I always thought best practice was to separate functionality into separate apps
I don't think it's bad practice it's good to split stuff actually
I just never did multiple apps
gotcha
I'm sure some would say it's better to do that even
I feel it makes sense when apps get larger
my views.py for the parent app would probably have like 500 views if I didn't separate things lol
yeah that's a lot
I do different microservices in the back-end when it's really independant (with each their own db)
so it's separate apps (even servers)
that's cool. interestingly this doesn't use a DB at all other than for user/subscription management.
but for the front-end I never tried multiple so far, with Angular you have modules so it just loads a part of the application so it's alright
Okay then 😄
to be fair this is the first time I've really built a production level react/django site so I might come back a year from now and say damn this is a big mess
but it will be a major improvement over the current site at least haha
Maybe, maybe not
I would check how to handle horizontal scalability as well if this is targeting many conccurent users
Not sure how Django apps scale
Don't work a lot with it
ok I will definitely do that
I don't expect to hit scalability problems yet but it's good to think about in advance
going to get to work building this API now ... thanks so much for your advice/input! It was really helpful!
You're welcome, have fun
guys is there anyone to whom i can give 6 .dex files and they send me back java sourcecode?
@sullen thorn why not use a online decompilerlike http://www.javadecompilers.com/apk
Decompile Android Apk applications and extract Java source code and resources ✓ ONLINE ✓
or some local stuff like https://github.com/skylot/jadx
oh shit didnt know that was a thing (although i may have searched for it wrong)
yeah was hoping to avoid having to install java runtime or whatever and then jadx and dex2jar
but
what is dex 👀
why want java code if you cant run it
some java binary format for apks
dalvik executable
wanna try reverse engineer something
does a admin have to change these off topic channels each day or is it automatic from Pythonbot?
it occurs automatically
h u h
dont get fucking black mirror here
ah
yes
It is automatic
woah on earth is hiphop-prison?
Just reading through source of the bot because why not, And I see a cog for a channel named hiphop-prison
That's the old repo
This is the current one: https://gitlab.com/python-discord/projects/bot
We migrated to GitLab several months ago
hiphop prison is for people with bad names
it changes their nickname to a random hiphop artist for the specified amount of time
ah
Wooo time for 2-3 hour travel for 2 hour lecture! 
Sounds like a reason to stay home
did it take 2-3 hours to get there or including time to return home lol
either way it does sound like a heavenly reason to stay in a home yes
2-3 h both ways
If I get a bis home
Bus
20min walk to the bus, 1h bus. 2h lecture, (tfw no bus all the way home at midday), 45min bus home , 5km walk home
Atleast ill reach dat 10k steps 
a rather bold move tbh
you don't get made president by not taking chances, gwyndolimburger.
that is true
you get made president by being like Trump

so not sure if we want another one of those
Members of WORLD ORDER GENKI SUDO/AKIHIRO TAKAHASHI/HAYATO UCHIYAMA/YUSUKE MORISAWA/TAKASHI JONISHI/RYUTA TOMITA Lyrics: GENKI SUDO Music: GENKI SUDO/TAKU Pr...
looks at @glass gorge
Thonking very softly
Ill do so when I get home
America first!
aha, you're watching it :P
What am i watching 
Memes
World Order


I love this channel name 
-d in cURL is the data parameter in requests, right?
lol yeah its pretty good
curl -X POST https://rest.nexmo.com/sms/json \
-d api_key=a \
-d api_secret=b \
-d to='c' \
-d from='d' \
-d text='e'
import requests
url = 'nexmo thing'
data = {
'api_key': 'a',
'api_secret': 'b',
'to': 'c',
'from': 'f',
'text': 'e'
}
r = requests.post(url, data=data)
those two should be the same thing right?
that will encode the data as a multipart form body
If the API accepts json, you should probably send it JSON, though
you can do that by using json=data in the call instead
ok lemme try
hmm - says bad credentials but i swear i copy pasted them... lemme try them again
you could try using data=data if you like
i did both
although it may be the case that nexmo provides a python library
I'd recommend trying that first if so
oh huh so they do
still kinda wanna figure out why it doesnt work with requests but works with curl
you may need to set the content-type header yourself depending on the data they expect
I had to do that with the saltstack rest api
Having a deja Vu this might be terrible
Is there a way for unix systems to check if a script is running? (specifically raspian, check if script is running, pipe echo 1 to a gpio pin)
@glass gorge you could use ps, but it'd be more reliable to have the script create a file that you check for the existence of
(mind I barely know how to navigate a raspian system c:)
So would the os / scripting something or have a python script handle it
is there anyone who worked with installers? tag me if you did please
actually, could have a python script handle it
i mean the first question is, what is the script you're checking if it's running, and can you modify it
More specifically a python script
and yes, I thought i'd try to weave in some "hardware" to a dpy bot
While working on an async build for the io part
P = NP, change my mind. :^)
Its true. N = 1.
0 is an integer.
0.0 is a 0-bit float
you're a 0 bit float
0.0
N is truthy
ahh, but your mom was also truthy when she complimented me on my fine beard, but that does not her a boolean make.
pets his majestic beard
I want a beard like lemons
I have a moustache but no beard 😞
will you send us a picture of your lemon beard once its done byte
I am actually gonna grow my beard much longer now
wikingmon
...wiking. I will kill you etc.
whyking
exactly
pyking
you're high king.
sorry nix
who
this reminds me that I also didn't listen to Amon Amarth in a while... 🤔
a longer beard will require a lot more maintenance
thank you Discord very cool
I always grow my beard for like a year and then shave it all off
eep
Lemon on average how long does beard maintenance take every morning
I always feel like a sheep when I trim a month's work
Same
oof
I shave it in the summer, feels so nice once it’s all gone
(length * time_not_maintained)/skill @bleak lintel
you wash it, you oil it, you blow dry it and you balm it into shape.
the last part is not compulsory
do you get bed beard like you get bed hair?
not as much.
fair enough
beard oil hmm
oil beard
I shave it monthly maybe, just the stache probably bi-weekly because otherwise it tickles while eating
a beard brush takes care of bed beard.
every 3 weeks my barber trims it up and reinstates contours.
maybe I should look into oils and stuff too
didn't so far
this is gonna be lemon in a few months
in a few years, maybe.
👌 young 👌 living 👌 oils ❓
@worn kite the right barber will teach you maintenance.
try a bunch.
There’s a couple monthly boxes too with random beard supplies
Which may or may be worth a damn. But it’s neat to try stuff
but the biggest tip I can give is beard wash (not hair shampoo, that stuff is murder), beard oil, and a blow drier.
no shampoo? 
you need beard products.
hmm
hair products will fuck up your skin
i wonder if aperture can photoshop us a barbarossa beard on lemons face
not meant for facial use.
fucked up is its default state
^
normal hair products will wash away your facial skins natural oils. beard wash or beard shampoo will help hydrate your skin.
and prevent stuff like split ends
I normally use some sensitive or special shampoos anyway
well that might be better. iunno.
because of dry skin and atopic dermatitis and stuff
but yeah, splitting beard hair is something I observed quite often recently
annoying stuff
something like this is fantastic.
a good wash and a good oil every two days is how you keep it alive.
what does the oil do
rip
if you want longer than one month, this is how :)
and it is like 5 minutes of work every 2 days so it's not exactly super hard work
makes the beard all soft and nice, too.
instead of hard
yeah, getting beards to grow straight is mostly a matter of blow drying it and having a barber that knows how to counteract curls with smart contouring.
(it's a science)
those hipsters with super gorgeous beards probably all have a skilled barber involved.
and when you can't counteract, you compensate with product
beard balm + a comb
but a blow drier can sometimes act almost like a straigtener
so it's a super important part of it.
best investment I made in my beard tbh
that I use already, after washing the longer part
but it's not a really hot one
turn it up to hothothothot
why do you all even want to get so long beards
i wonder if byte commander is gonna head bang with his beard
not really trying to grow a dumbledore though
if you put a sausage in a bun, it's called a hothothothothothothothot dog
nasa considers hotdogs a sandwhich
get more hair
yeah well nasa calls everything it launches up to the ISS a vitamin so
wtf do they know
catsup?
ye
cat soup?
another term for ketchup

wheres that emote from byte
is that real?
yeah
astronauts can't have a sense of humor?
Victoria's Wonderland, I think
💩 
where are you getting these from
i just had these 2 saved from my time @ space camp that were funny
all the transcripts are online though
Also apollo 16 lost Ken Mattingly lost their wedding ring in space and found it on the way back from the moon on a space walk
Lmfao
\/ /\/
did they like it?
lmao
i think so
did they send something back?
Nop
sad
o.o
LTT only channel that really supports it i've seen
I have a selection of 4K anime images in my download folder that you just reminded me of
I should delete them some day
They take up hella space
It's from when I tried to make an anime detection neural network
sounds cool
but then I remembered I have no experience with machine learning or neural networks
oh right after installing tensorflow
Hey Joseph
Oh no
Lul
Hello Jason
You seem annoyed when I said hey
understandable why
lol

Controls are wierd on mobile
oh dear
unity or unreal
Unity
good
Talking about that. I saw a Linux user with epic games launcher installed today
So that means
Fortnite is possible for Linux ?

@bleak lintel send anime
I think wine has issues with epic games launcher but proton may have fixed them
id like to make anime detection
I believe it was to do with the anti cheat
When I get back home I'll send them Clay
0w0
I got to watch the channels change
its cool that it cycles through names then chooses some
sup everyone. Anyone in here good w/ the django rest framework? Trying to figure out how to construct a few views for an API I'm building
@mental stratus just start writing your request handler.. I not good with django anyway and I ever tried Flask
well my question is more about if I have a collections of endpoints that all have part in common, like
/api/v1/companyinfo/basic/
/api/v1/companyinfo/vital/
/api/v1/companyinfo/averages/
I'm trying to decide how the views should be built
I want them all to be post-only but don't really see the point to write 3 separate views for that
can I nest them somehow?
dunno Django, but usually you can make parts of the path parameters
so your schema would be like /api/v1/companyinfo/$TYPE/...
no idea how you'd do that in Django, but should be possible
yeah that's not a bad idea
or just submit the info type w/ the POST data
but then I have if-then logic inside the parent view which is ugly
Just trying to think of the most elegant way to do it thats all 😃
depends on how different your logic is for each type
Not different at all really ... all it determines is which data comes back from the data provider
basic would be like company name, stock ticker, website, SEC number etc
vitals is some financial info
but it all comes from the same API and can get retrieved w/ a single request
I like your idea of sending the info type as an argument. Think I'm gonna start there and see where it leads. Thanks!
# For MAC (a.k.a. IEEE 802, or EUI-48) addresses, the second least significant
# bit of the first octet signifies whether the MAC address is universally (0)
# or locally (1) administered. Network cards from hardware manufacturers will
# always be universally administered to guarantee global uniqueness of the MAC
# address, but any particular machine may have other interfaces which are
# locally administered. An example of the latter is the bridge interface to
# the Touch Bar on MacBook Pros.
Huh
Do anyone know the way to get where this guy from(like country) when this user accesses your website? I intend to make web service for both Japanese and English users, and want to use some detection mechanism to determine the default language website shows to user
I'm gonna look through google myself too but if anyone knows something good let me know
Look at Accept-Language in the header
I mean, A simple way would be just check IP of user. There are many IP Locate APIs that will give you rough country estimates
Hm, tbh i totally did forget IP exists lol I'll start from that and accept-language, thanks!
the header is better because I believe that is something that can be set by the user
whereas I could be visiting Germany for a week and not want all my websites in German.
Accept-Language is ideal for localisation
If it's not present default to something or check IP
there are a mix of services on the internet, some will send me to a USA site when I browse them, some will send me to the norweigan site based on my localisation header
Is using both of them at same time a bad idea?
I wouldn't say so, you can use them in an order of like, Header, then IP, then default
Alright, thanks! ❤
I was about to ask that is installing google auth to your web service costly but i totally forgot I'm gonna make user to use twitter to login lmao
support multiple services so everyone is happy 🤠
Right, But I don't intend to make these email/password authentication system for now
I did the same thing with most of my apps
I used discord oauth for a lot of my logins because I could reuse code lol
One of reason is that I don't know jackshit about securities aside from stop installing authentication system on your javascript lol
o discord oauth exists?
(And hashing your password of course)
yeah discord has oauth
Check dev docs: https://discordapp.com/developers
Step up your game with a modern voice & text chat app. Crystal clear voice, multiple server and channel support, mobile apps, and more. Get your free server now!
https://discordapp.com/developers/docs/topics/oauth2 specifically this section
Hmm, I'll look into it, thanks! I gotta write down my plans and concepts first in my notebook first tho
I couldn't focus on job because this fucking idea keeps circling around in my brain
I have recently converted a blog to a static site generated by Jekyll and am thinking about the git workflow for drafting and publishing new articles. Opinions between having a stock drafts branch vs. having a feature branch for each individual draft?
Use Netlify with Hugo for your website. Hugo has drafts builtin. Netlify's default setting wont build the drafts. Your local server run by hugo server -D will show the drafts
To publish, just change it to
---
draft: false
---
and push and Netlify will build it again and render it this time
no need for messing around with branches
Netlify is great
I'm currently doing that with Jekyll (deployed automatically to AWS)
I am thinking though that I like the idea of feature branches for drafts. When I'm doing a series I can edit the other post(s) in the series to add navigation links to the new post, and then roll them all out at once.
Lovely... I need to manually invalidate Cloudfront caches when I deploy an update.
"personal solutions engineer" = "our stuff is complicated, here's a guy to help you figure out how to make it do what you want"
I assume
Hmm - like is it just to explain their options to me? Or like can they help me setup a mail server or something?
Guess that would depend on that company. I'd assume it to be someone to help setup stuff
It’s still digital ocean
Hmm so u think it’s more like help set up a domain name on a server or somethjng
Are there any free git clients for iOS that support pushing to remote repos?
Pushing to remote repos. 😃
oh
feelsbadman
couldn't find the list anywhere but i saw free, remote repos, and something else on the website for it xd
Yes, there are two or three that are "free" with an in-app purchase to enable pushing to remote repos. Kind of makes the free version worthless.
I don't play consoles anymore
That’s honestly an insane deal
Yep, 20 dollars off the xbox one x, over a two year contract that there's no getting out of
Insane.
what desktop GPU is the xbox one x equal to 🤔
its 0% apr friend
that's the insane part
you're not just saving $20 you're saving $840 and getting it's worth of interest through being able to freely invest it the first month, $820s, the second month, ... etc for 2 years.
The S will cost you $530 in total compared to $640 if you were to purchase an Xbox One S and 24 months of Gold and Game Pass individually. On the other hand, the Xbox One X will set you back $840 in total instead of $860.
🤔
so you could actually net $200 over the course of it with a 5%monthly investment, which i don't think is hugely unreasonable
wut
how on earth do you get 5% monthly
5% compounded monthly = 12.6% annual
can't safely get 12.6% annual
admittedly, I only checked one source, but 5% was what I saw as an average return they listed for months
but even at 3% you only lose like $30 over the course of the 2 years
You're ignoring the fact that in 2 years this hardware won't be worth that much
I guess but idk how important that is when its the 0% plan vs paying all upfront
3% compounded monthly = 12.36% annual
This is also really unrealistic
discord is litterally taking over steam
BAAAAAAAAGPIPES https://www.youtube.com/watch?v=amJ_WLmOKS0
The Sidh - Iridium (Official Video) Pubblicato il 10 lug 2015 ©&(P) Artis Records. "Si ringrazia l’Amministrazione Comunale di ZOVENCEDO per aver messo a dis...
❤
yes very cool
Thank you kanye
giving up ain't gonna make you smarter :P
where did you have it tested
u never know it might be 68



wifi-password

