|
my high school only had one generic computer course that was required to graduate and the only programming was one or two classes in qbasic doing things at the level ofcode:
this was around the turn of the century
|
# ? Apr 7, 2019 11:43 |
|
|
# ? Apr 29, 2024 02:40 |
|
Beamed posted:who the hell's high school had programming courses we had ap comp sci
|
# ? Apr 7, 2019 12:22 |
|
Beamed posted:who the hell's high school had programming courses we had C++ and Java in 04 oh yeah it was AP computer science
|
# ? Apr 7, 2019 16:13 |
|
Beamed posted:who the hell's high school had programming courses mine too. mostly BASIC when i was there, but sometime after i graduated they gave the programming classes responsibility for maintaining the school's website
|
# ? Apr 7, 2019 16:47 |
|
Beamed posted:who the hell's high school had programming courses who's didn't?
|
# ? Apr 7, 2019 17:01 |
|
akadajet posted:who's didn't? whomsts've
|
# ? Apr 7, 2019 18:25 |
|
Blinkz0rz posted:i came in asking this question thinking i was the terrible programmer but maybe it's u? Oh for sure I’m a terrible programmer.
|
# ? Apr 7, 2019 18:44 |
|
akadajet posted:who's didn't? mine
|
# ? Apr 7, 2019 18:48 |
|
akadajet posted:who's didn't? mine had a computer course where you went into a computer room and they taught you how to use Microsoft Word and Excel. The teacher would walk behind you and make sure that you weren't browsing the internet. I once asked if they had any programming stuff and was told that's more of a technical school kind of thing. This was 2008-2011.
|
# ? Apr 7, 2019 20:05 |
|
ctps: just spent an hour googling and stack overflowing how chrome and firefox handled redirects because i was returning 203 and not 302
|
# ? Apr 7, 2019 20:12 |
|
Beamed posted:mine had a computer course where you went into a computer room and they taught you how to use Microsoft Word and Excel. The teacher would walk behind you and make sure that you weren't browsing the internet. mine had a “keyboard and document processing” class as an elective where you learned to type. i finished the semesters lessons in a week and spent the remainder making lovely text adventure games in QBASIC. the same school was also angling to become a tech magnet around 2000 and we had a networking course which entailed us rigging up a classroom network and playing Quake 2 death match off CD for the entire semester while the teacher hosed off and ignored us. simpler times
|
# ? Apr 7, 2019 20:19 |
|
PierreTheMime posted:mine had a “keyboard and document processing” class as an elective where you learned to type. i finished the semesters lessons in a week and spent the remainder making lovely text adventure games in QBASIC. I was in the non-AP Computer Science 2 class, which was small enough that we got folded in to the AP Computer Science class. This was the year that they switched the AP test from Pascal to C++. Of course, the dinosaur teaching the class was on her last year before retirement and refused to learn a new programming language, just taught her regular lesson plan from previous years (with a two-week “here AP kids, teach yourself C++ for the test you’re about to take” segment).
|
# ? Apr 7, 2019 20:51 |
|
Beamed posted:This was 2008-2011. Regdate Nov 26, 2010
|
# ? Apr 7, 2019 21:44 |
|
gonadic io posted:ctps: just spent an hour googling and stack overflowing how chrome and firefox handled redirects because i was returning 203 and not 302 non-authoritative posts
|
# ? Apr 7, 2019 21:47 |
|
so oauth question: user visits "butts.com/auth-me" i get a request_token from twitter, and redirect the user to "twitter.com/auth?token=request_token" (or whatever) twitter redirects the user to "butts.com/authed?key=twitter_key", and then i gotta make another request to twitter with both the access token from step one, and then the new key in the query param. my question is: how do I save the token (it's not secret) between user requests. is a cookie pretty much the only way? if i put it in a db on the server i'd still have to make sure that the user was the same one e.g. with a cookie the guide i've been following is https://developer.twitter.com/en/docs/twitter-for-websites/log-in-with-twitter/guides/implementing-sign-in-with-twitter and it just says to use the request token from step 1, doesn't say how you're supposed to get it across two different requests. so much for statelessness
|
# ? Apr 7, 2019 22:32 |
|
if you have some mechanism for session state use that. gives you everything you want and manages the lifecycle of it.
|
# ? Apr 7, 2019 22:53 |
|
Wheany posted:Regdate Nov 26, 2010 what? lmao I imagine most people registered for SA in high school
|
# ? Apr 7, 2019 23:11 |
|
Beamed posted:what? lmao I imagine most people registered for SA in high school lol no. I wasn't going to spend $10 for a forums account in high school
|
# ? Apr 7, 2019 23:25 |
|
gonadic io posted:so oauth question: there's supposed to be a context parameter to twitter.com/auth that gets passed back to you when the user gets redirected, at least according to the oauth2 spec. e: oh looks like they mostly just want you to use oauth1. gently caress that then. there might still be a context parameter though Sapozhnik fucked around with this message at 23:51 on Apr 7, 2019 |
# ? Apr 7, 2019 23:49 |
|
Sapozhnik posted:there's supposed to be a context parameter to twitter.com/auth that gets passed back to you when the user gets redirected, at least according to the oauth2 spec. yeah 1.0 sadly, that would have been perfect. can't see anything about it in twitter's docs or http://oauthbible.com/#oauth-10a-three-legged
|
# ? Apr 8, 2019 00:00 |
|
akadajet posted:lol no. I wasn't going to spend $10 for a forums account in high school
|
# ? Apr 8, 2019 04:11 |
|
akadajet posted:lol no. I wasn't going to spend $10 for a forums account in high school i mean your high school could probably hand out forums accounts for free if it was rich enough for programming courses lol
|
# ? Apr 8, 2019 04:15 |
|
does google maps really charge per request for access to their API? what the gently caress?
|
# ? Apr 8, 2019 04:17 |
|
abigserve posted:does google maps really charge per request for access to their API? what the gently caress? uh, how else would you charge for it? a flat fee that's exactly the same whether you do one request or one million? (it doesn't run a separate half-cent charge against your credit card for every single request, if that's what you're asking. once you're too big for the free tier, you load up your billing account with a balance and it gets deducted from that automatically.)
|
# ? Apr 8, 2019 04:23 |
|
Jabor posted:uh, how else would you charge for it? a flat fee that's exactly the same whether you do one request or one million? I was expecting there to be some level where it was free but heavily rate limited and would charge/disable your key if you exceeded some number Like if you just want to fart around and send maybe 100 requests at the most basic level of the API per day you can do that without being charged and having to put a credit card into the account
|
# ? Apr 8, 2019 04:28 |
|
You get $200/month of free credit.
|
# ? Apr 8, 2019 05:34 |
|
well gently caress me dead I guess I can't read
|
# ? Apr 8, 2019 05:51 |
|
Sapozhnik posted:Sordicius' posting gimmick, from 1995, is that every internet service should come with a Windows client application written in C++ using MFC change that to iOS/macOS and ObjC/Swift and it’ll be absolutely correct thought web pages aren’t applications, they’re documents
|
# ? Apr 8, 2019 07:58 |
|
eschaton posted:change that to iOS/macOS and ObjC/Swift and it’ll be absolutely correct thought Sure let me just pack my server's private key into the binary and ship it onto user's machines
|
# ? Apr 8, 2019 08:15 |
|
gonadic io posted:Sure let me just pack my server's private key into the binary and ship it onto user's machines my boss: this is the perfect solution
|
# ? Apr 8, 2019 08:17 |
|
Boiled Water posted:my boss: this is the perfect solution What if we encrypt it...using another private ket we also ship in the binary Bonus points for them being the same Double bonus points for sending the private key over the internet to keep it out of the binary
|
# ? Apr 8, 2019 08:31 |
|
gonadic io posted:Sure let me just pack my server's private key into the binary and ship it onto user's machines there’s nothing wrong with your application talking to a secure remote server the problem is with building the user interface using technologies that were not designed for building user interfaces, and are really rather bad at it, unless you like your guis to be achingly slow, brittle, and completely ignorant of user preferences
|
# ? Apr 8, 2019 09:07 |
|
is it possible to create a WKWebView where everything is proxied through my code? e.g. make all loaded html pages ALL CAPS. i know you can inject javascript after the fact but that won't work for my purposes.
|
# ? Apr 8, 2019 09:18 |
|
ctps: turns out that twitter does pass the key back to you in the request, so you need to implement a lookup on your side to store/get the secret for a given key but you don't need cookies or anything
|
# ? Apr 8, 2019 13:04 |
|
recently ive been spending 30%+ of my time just handholding people through the most basic poo poo and it's driving me mad. for example just had this wonderful exchange: "i cant get it to work when i publish to the web server" "ok well it works for me in debug with no changes to the checked out code so what does that tell you?" "......" jfc use your brains people, if it works in one enviroment and not another could it be a difference between the environments????
|
# ? Apr 8, 2019 13:07 |
|
Powerful Two-Hander posted:recently ive been spending 30%+ of my time just handholding people through the most basic poo poo and it's driving me mad. for example just had this wonderful exchange: I dont believe in environment change
|
# ? Apr 8, 2019 13:08 |
|
gonadic io posted:I dont believe in environment change what is the programming equivalent of rolling coal? edit: im going to throw in "mongo" as a starter for 10
|
# ? Apr 8, 2019 13:12 |
|
Powerful Two-Hander posted:what is the programming equivalent of rolling coal? shipping an electron/react native desktop app
|
# ? Apr 8, 2019 13:18 |
|
Phobeste posted:shipping an electron/react native desktop app
|
# ? Apr 8, 2019 13:23 |
|
|
# ? Apr 29, 2024 02:40 |
|
Phobeste posted:shipping an electron/react native desktop app Shipping an electron/react native desktop app running inside a js docker implementation running in another electron/react native desktop app
|
# ? Apr 8, 2019 13:25 |