HNHacker News
TopNewBestAskShowJobs

eshyong

172 karma · joined April 8, 2013

submissionscomments
eshyong··on Show HN: PugSQL, a Python Port of HugSQL
FYI, you can also execute queries directly against a database in SQLAlchemy:

    engine = create_engine('mysql://scott:tiger@localhost/test')
    connection = engine.connect()
    result = connection.execute("select username from users")
    for row in result:
        print("username:", row['username'])
    connection.close()
eshyong··on Is Google OAuth Down?
Can't log into Jenkins right now because we use Oauth...
eshyong··on Facebook Asking for Some New Users' Email Passwords
I haven't heard any reports of Plaid doing bad stuff with user transaction data, so I suspect there's a bit of paranoia in the comments here.

On the other hand, there's an underlying (and valid) concern that handing over bank credentials to a third party is risky and, even assuming good faith from Plaid, they have to store passwords on their servers somehow (probably encrypted). Since they make money from integrations with startups/big banks, there is definitely a conflict of interest between keeping user credentials safe and growing their revenue.

I think as a whole, relying on a modern company which specializes in authentication is better than trusting that thousands of app developers, some of which might big legacy banks with woefully understaffed IT departments, will keep your credentials safe. I'm aware that I'm more optimistic than most people in this thread (and on HN) though.

Here's a stackexchange question with some good discussion about Plaid security:

https://security.stackexchange.com/questions/198005/is-plaid...

Here's a github issue on Plaid's repo, showing that they are at least considering oauth on their roadmap:

https://github.com/plaid/link/issues/68

And here's Plaid's page on security, which is frankly short and a bit vague:

https://plaid.com/security/

eshyong··on Lyft Files S-1
See some of the AWS fees mentioned in the top comment on this thread. $300MM over 3 years is not a small amount of money.

Not to mention the salaries you need to pay to stay competitive in the bay area, they seem to have a sizable headcount (~1600 from a quick google search)

eshyong··on Scala.js contribution disclaimer
Probably to avoid a similar situation to Oracle vs. Google.
eshyong··on Reflecting on My Failure to Build a Billion-Dollar Company
The author mentions hiring a lot of good friends, so I assume they did it because they believed in him and the mission.
eshyong··on Facebook Referred to Kids as Young as Five as “Whales” for Its Monetized Games
It's important because the article headline is a bit clickbaity. It's true that Facebook called children "whales" but not "as young as 5", since the linked chat transcript in the article mentions a 15-year old child.
eshyong··on How to Start Learning Computer Graphics Programming
I've heard good things about Andrew Ng's Coursera machine learning class, and it's free:

https://www.coursera.org/learn/machine-learning

There is a free intro to data science class on Udacity as well:

https://www.udacity.com/course/intro-to-data-science--ud359

Lastly, there's always Kaggle, which has plenty of resources to learn from, and competitions as well:

https://www.kaggle.com/

eshyong··on Amazon Web Services in Plain English
My favorite is the original page from 2015:

https://web.archive.org/web/20150910211935/https://www.exped...

Don't forget to see the DirectConnect description.

eshyong··on Dear Venmo: Update Your Privacy Settings
There's an activity feed, just like Facebook. Whenever you pay someone on Venmo the app will make a public post on your behalf, and any of your friends can see all of your purchases on the feed ("Bottomless mimosas", "Sushi with Jessica", etc).

Also important to note that your transactions are "public" by default, which means everyone can see them, not just friends that you've added.

eshyong··on Pineapple Fund's $56M Giving Spree
From the article:

"...bitcoin deposits were usually handled by outside agencies, such as BitPay, which then transferred cash to the charity’s bank account."

eshyong··on After Surgery in Germany, I Wanted Vicodin, Not Herbal Tea
I'm pretty sure the author is a woman... the article says she got a hysterectomy, which is surgery to remove a uterus. (She also mentions her husband in the opening paragraph)
eshyong··on Frequent sauna bathing can reduce the risk of dementia
FYI, I got a "Page not found" error when clicking on your link.
eshyong··on Show HN: A fork of sudo with Touch ID support
I'm not sure that's true. Anyone can claim to be "rrmm" but only one person has that set of fingerprints.
eshyong··on Show HN: A simple infinite world in WebGL
It's probably a bundled JS file containing all of his dependencies.
eshyong··on Student Who Found Security Flaws in Police Protocol Gets Suspended Sentence
Ah ok, sure. Thanks for clarifying.
eshyong··on Student Who Found Security Flaws in Police Protocol Gets Suspended Sentence
How does this analogy make sense? It's totally possible for someone to steal valuable data from a computer system, even personal information. There may not have been any sensitive information in this case, but to suggest that breaking a security system is a "public debate" seems wrong.
eshyong··on Beautiful sci-fi GIFs
Apparently it's Cinema 4D: https://serialpodcast.org/posts/2016/04/how-the-art-comes-to...
eshyong··on Drawing Lines is Hard – an interactive look at GPU line rendering
Awesome, thanks! I knew I should have read the article more closely.
eshyong··on Drawing Lines is Hard – an interactive look at GPU line rendering
Slightly off topic, I was messing around with the triangulated lines demo, and I get this rendering glitch:

https://imgur.com/FPEaVTC

Anyone know the reason behind this? I'm guessing it's sort of triangle bounding error where something is being divided by a tiny divisor. It happens when I draw the snake in an arc, then retrace the arc from the same angle but in the opposite direction.

eshyong··on fork() can fail
FYI, I think you replied to the wrong message :)
eshyong··on Performance comparison of Functional C++ 11, Java 8, JavaScript and Wolfram
I've seen this on other blogs too hosted by Blogger/Blogspot. I'm pretty sure it's their doing, not the blog owner himself.
eshyong··on Ask HN: I feel like an 'expert beginner' and I don't know how to get better
Just an addition to your course suggestion: Coursera has a compilers course too, taught by a Stanford professor! I'm working through it right now. The lectures are informative and the assignments have you build a working version of a COOL (professor's own language) to MIPS assembly compiler. It's been very enlightening so far!

https://class.coursera.org/compilers-004

eshyong··on Are coders worth it? (2013)
I'm guessing "Too old, didn't hire?"
eshyong··on Results of the Grand C++ Error Explosion Competition
Looks like this is what you're looking for:

"pv - monitor the progress of data through a pipe"

http://linux.die.net/man/1/pv

eshyong··on What 4chan thinks of HN
That's because it was an actual submission :P
eshyong··on How Node.js applications will benefit from replacing V8 in JXcore
Wait, I'm confused. From the following line:

https://github.com/Nubisa/jxdocs/blob/master/benchmarks/core...

Doesn't this line calculate the amount of time it takes to compute a single task? (elapsed time / number of runs = time per run) Doesn't this mean that JXcore is actually faster, since the number would be smaller with more runs?

eshyong··on Help me surprise Catherine
Did she try reapplying? They're accepting Summer applicants right now.
eshyong··on WebM support on 4chan
The link works for me on Firefox Nightly (yesterday's update).
eshyong··on Low-level is easy
Hi, I'm interested in learning low level programming too! I've been taking classes, reading tutorials about programming, and starting projects on my own. It really depends on what kind of projects you want to work on. Some of the major types of projects include compilers, OS-level projects (drivers, kernel, etc.), networking (server/client), and graphics. You'll probably want to learn C and/or Assembly, probably x86 but I've found ARM to be fun. (and Raspberry Pi is built on it!)

- Compilers: I'm taking the Stanford course on Coursera right now. It just started two weeks ago so you can still catch up. Here's the link: https://class.coursera.org/compilers-004 Here's some literature on compilers/interpreters/JIT (Just In Time compilation): http://www.stephendiehl.com/llvm/ (I've heard good things about LLVM!) http://blog.reverberate.org/2012/12/hello-jit-world-joy-of-s... (Just saw this today) Tutorial on building a Lisp in C, from two days ago: http://www.buildyourownlisp.com/

- Operating Systems: Definitely check out MIT's open courseware on xv6! It's an implementation of Unix version 6. The course includes a git project that you can clone and play with yourself, as well as some labs. Here's the link: http://pdos.csail.mit.edu/6.828/2012/index.html OSDev wiki had some resources too: wiki.osdev.org If you have a Raspberry Pi or are patient enough to try to emulate the hardware, here are some tutorials on ARM assembly for RasPi: https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/

- Networking: Here, you'll probably want to look for tutorials on socket programming and the TCP/UDP protocol. People recommend Beej's tutorials, which are quite comprehensive and a good source of information, but I found some of his server code confusing and convoluted (deeply nested loops and if statements). Here's a link to his site: http://beej.us/guide/bgnet/ Here's a easy to learn server/client tutorial: http://www.thegeekstuff.com/2011/12/c-socket-programming/

- Graphics: I have the least amount of exposure to this, but a good resource is at the website open.gl. Basically you'll want to learn about shader languages and how the graphics pipeline works.

Hope this helps!

← PreviousPage 3 of 4Next →