Hacker News new | past | comments | ask | show | jobs | submit | shakeel_mohamed's comments login

I highly recommend FreeCodeCamp https://www.freecodecamp.org/ Feel free to DM me on Twitter @_shakeel, I'm happy to give a more exhaustive list if you're interested!


Yep, I love bropages!


Thanks for the link! Been dealing with this problem for multiple years now :)


What's wrong with doing all of this on the front-end? I recently did just that after generating the signature and policy locally.

See this guide: https://aws.amazon.com/articles/1434


The benefit of doing uploads on the front-end is that it's instant: the file is already there! ;-)


You leak your secret key to every user who can view that page.


No you don't. You leak AWSAccessKeyId which is not a secret. You use a signature to authorize the file upload.


I should've been more verbose. You cannot calculate the signature client side without leaking the key. So you need a server. That step is identical to what this "serverless" implementation is doing.


Correct. But the signature doesn't necessarily need to be per-file upload, so I have it embedded in JS. For my use case, saving the extra network hop is worthwhile.


So I can extract it from the JS, and just upload terabytes?


Yeah, that's true. But you can limit the secret key to an IAM user with only perms to uploading to that particular bucket. I know it can still cause damage, but nothing like disclosing your root key. If you do a cost-analysis taking into account development on the back-end, doesn't seem so bad, till of course, it does.


This seems very odd, I wonder if it's a bug or by design


I'm gonna guess it's temporary; I get the impression GitHub likes to test its changes before it releases them (I've been seeing the announced license indicator for several days), and that probably goes extra for logged-out users.


Yeah, I have been seeing it for a few weeks now and was actually looking for an announcement - I thought it was a bit weird when I didn't find one. The indicator not being shown for non-logged in users is probably just a consequence of a staged rollout.


Yeah I'm guessing they just turned it on for 100% and haven't removed the feature flag yet which hides it from logged out users.


Interesting timing, I actually want to do this with my Pi (but wired). The only thing holding me back is the cost of the display - any suggestions for a cheaper non-touch display?


I have used other displays from BuyDisplay but not their larger panels, however they have a 1024x600 10" panel for <50$ which should work, if you can live with that resolution.

http://www.buydisplay.com/default/10-1-inch-raspberry-pi-scr...

I would be perhaps tempted to instead look for an old Android tablet. If you could get a 2013 Nexus 7 or some 10" tablet with a decent screen it might be a cheaper and easier way to do it. USB power + either some Android app or depending upon the device you might be able to run a different Linux distro on it. Looks like the Linx 10 goes pretty cheap sometimes too.


Thanks for the link! I want something for my desk, so I can try using my old Nexus 4. Maybe I can live with the 5" display since it won't cost me anything


That's not obvious :)


My wireless Mac keyboard has a big key in the upper right corner with a left arrow on it. No way to tell if it's backspace, delete, or left. There's also a key in the lower right cluster that has a left pointing triangle on it, along with three other keys with triangles facing in different directions. Then there are two big keys on the left and right sides with upward facing hollow arrows on them. As well as keys with double left and right facing triangles on either side of another key with a right facing triangle followed by two vertical lines, and also another key with an upward facing triangle with a line under it. Not to mention the key referred to as "option" that's labeled with the word "alt" and a branching symbol.


I'm not sure how you could get more obvious than a picture of an Alt key and a picture of a Left Arrow key.


Backspace is often represented by a left arrow. https://www.bing.com/images/search?q=backspace In context, it could have been confusing.


What does an "alt" key even look like? Is it the one labeled "option"?

http://www.cultofmac.com/3147/opinion-apple-keyboards-need-b...

https://en.wikipedia.org/wiki/Option_key


It hardly matters, since the Mac shortcut for back is Command-LeftArrow.


I LOVE the scroll with j & k, it's smoothest scrolling experience I've ever seen!


I knew Brita wasn't great, but I didn't know they were so inferior. Thanks for the info!


I switched to a safety razor and never looked back!


Yep, $25 safety razor + 25 cent Feather blades are the best value for shaving bar none.


Some quick tips for someone interested in using a safety razor (you should!): Get a stainless steel razor so it lasts, and buy a variety pack of blades to determine your preference. I personally find the Feathers to be too sharp, but I don't have tons of coarse facial hair.


Same here. About $30-35 for an Edwin Jagger razor and $8 for a 100-pack of Derby Extra blades; I've been using that same pack now for about 4 years! I still have 25 left.

However, be careful: if you're not used to using a double-edged safety razor, it has a high learning curve. You'll probably cut yourself when you're first learning. Read online tutorials about how to do it right, and very importantly, don't be in a hurry. Once you've gotten the hang of it (after a month or so), it's pretty easy, but it does take time to learn the proper technique.


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: