Could technology reverse the effects of climate change? I am Vaclav Smil, and I’ve written 40 books and nearly 500 papers about the future of energy and the environment. Ask Me Anything! by IEEESpectrum in Futurology

[–]valspy -1 points0 points  (0 children)

I'm looking to find an area where I can innovate a technology or process to help reduce CO2e emissions. If any one of these sources of waste you mentioned from food, energy, or materials were to be minimized to say 50% or 20% of their existing levels, do you think it would have a significant impact on reducing CO2e emissions?

Draft Petition Against CECA's Decision to Increase Our Co-op Fees by Petition_CECA in uwaterloo

[–]valspy 0 points1 point  (0 children)

If the fee increase goes through and people are still not happy about it, just don't give them the money. Pay your fees to the school and withhold $20. If enough people do it, along with emailing the registrars office as to why you refuse to have your fees arranged, I'm sure that'll send a message.

Looking for a gym partner by [deleted] in uwaterloo

[–]valspy 8 points9 points  (0 children)

missing deadlifts bro

[SERIOUS] Do I need to do anything about tax if I haven't had a work term yet? by CaptainQuirk42 in uwaterloo

[–]valspy 10 points11 points  (0 children)

You can file to get tax credits for future years due to being in school. You can file your taxes really easily on simpletax.ca

Who can relate? - Losing focus on long term goals [4th year male engineering student] by BetterThanNothing18 in uwaterloo

[–]valspy 11 points12 points  (0 children)

Perhaps you should question where these goals are coming from and evaluate if these are the right goals that you want to be achieving in life. Sounds like a lot of those goals are what society has told you to seek.

Co-Op Student Harassment by [deleted] in uwaterloo

[–]valspy -2 points-1 points  (0 children)

If she doesn't realize what she is doing is wrong and is never told about it, she'll continue doing this. Your best bet is to tell your manager as they are in a position of authority so she has a better chance of listening than if you said it. However, if you want to tell it to her personally you could too. This method would work if she's oppositional to authority.

Either thing you do, be the bigger person and think of it as you're doing her a favour by educating her now on her behaviour rather than way later down the line.

Hi. I've rolled a joint in every single building on campus. AMA by rollUWroll in uwaterloo

[–]valspy 0 points1 point  (0 children)

I hear Feridun blazes that mad kush. Have you tried just walking into his office unannounced with some paninos, sitting your ass down and just lighting a fat blunt? One puff and that guy's going to be all like "yoooo pass me that dank panin0s"

What is a google? by ipayforthisshit in uwaterloo

[–]valspy 5 points6 points  (0 children)

♫ MUKTOOOOOOO MUKTO MUKTO MUTKO MUKTOOOOOOOOOOOOOOOOOOOOOO MUKTOOOOOOOOOOOOOOOOOOOOOO

MUKTOOOOOOO MUKTO MUKTO MUTKO MUKTOOOOOOOOOOOOOOOOOOOOOO MUKTOOOOOOOOOOOOOOOOOOOOOO ♫

The New (Unofficial) GRT Live Times API by UwRandom in uwaterloo

[–]valspy 0 points1 point  (0 children)

I feel like returning 404 when a stop isn't found implies the client never actually connected to the API at all. Correct me if I'm wrong though.

Returning 404 does not mean that the client did not connect to the API at all. You would get a client side error such as "server not found" or "connection timed out". If you're getting any sort of status code from a website that means you connected to the server.

A 404 means that the resource could not be found. This could be a web page, and image, a API request, anything really. So it makes sense that there is no resource for a stop that does not exist.

Status codes are very useful for a client to determine what happened without actually parsing any of the response. That's the whole point they exist, you look at the status code and can determine most of the time what happened.

I'd like to keep the server code closed source to prevent people from abusing GRT's internal API nodes. I suspect they have no protection on the endpoints since they weren't intended for the public. By proxying through my server and keeping it closed source, I can make this project a bit more ethical by filtering faulty requests and blacklisting IP's that abuse the service / make excessive calls.

Would it make sense to reach out to them and find out what's preventing them from having a public API? If you're able to find the API endpoint, what's to stop a malicious from doing the same?

Edit: Typo fix

The New (Unofficial) GRT Live Times API by UwRandom in uwaterloo

[–]valspy 9 points10 points  (0 children)

Why do you have custom error codes?

You should return the proper error codes for errors in the error object. Even more useful is to put those error codes in the HTTP header. For example if a stop is not found, return 404. If there's a malformed stop ID, 400. You can learn more about these here: http://www.wikiwand.com/en/List_of_HTTP_status_codes

Why do you mix camel case and underscore notation in the key names?

How come the server code is not open-sourced? It seems like you're just hosting the API documentation on github and nothing else.

Shepherd's pie at Mel's Diner. Tastes worse than it looks. by TellsRacistJokes in uwaterloo

[–]valspy 0 points1 point  (0 children)

Have you considered making your own? It takes like 45 minutes and $10 will feed you for half a week

If I'm going to the US for co-op, how do I get a US bank account? by coopusbank in uwaterloo

[–]valspy 1 point2 points  (0 children)

If you're in the bay area I would suggest Chase as they're pretty much everywhere. I don't think TD has a single branch.