HNHacker News
TopNewBestAskShowJobs

logane

348 karma · joined April 3, 2015

CS PhD student at MIT. Contact: last.first@gmail.com

http://loganengstrom.com/

submissionscomments
logane··on Compiling code into silicon
Chisel and this project are different; chisel is a programming language to design hardware while this is a build tool for hardware design.

In software we have a nice compilation process that transforms code into machine code. However, to "compile" an ASIC you go from a hardware description language like verilog (which basically describes the design) and pass it through a complicated pipeline that composes a number of different tools. Right now, engineers use ad-hoc flows that use bash/TCL to glue together all the parts --- the project posted above is an attempt to cleanly specify + control the "compilation" process.

logane··on DeepMind achieves SOTA image recognition with 8.7x faster training
Not sure if I follow your JFT argument, but there's a large body of work on both (a) studying whether chasing ImageNet accuracy yields models that generalize well to out of distribution data [1, 2, 3] and (b) contextualizing progress on ImageNet (i.e., what does high accuracy on ImageNet really mean?) [4, 5, 6].

For (a), maybe surprisingly the answer is mostly yes! Better ImageNet accuracy generally corresponds to better out of distribution accuracy. For (b), it turns out that the ImageNet dataset is full of contradictions---many images have multiple ImageNet-relevant objects, and often are ambiguously or mis-labeled, etc---so it's hard to disentangle progress in identifying objects vs. models overfitting to the quirks of the benchmark.

[1] ObjectNet: https://objectnet.dev / associated paper

[2] ImageNet-v2: https://arxiv.org/abs/1902.10811

[3] An Unbiased Lookat Dataset Bias: https://people.csail.mit.edu/torralba/publications/datasets_... (pre-AlexNet!)

[4] From ImageNet to Image Classification: https://arxiv.org/abs/2005.11295

[5] Are we done with ImageNet? https://arxiv.org/abs/2006.07159

[6] Evaluating Machine Accuracy on ImageNet: http://proceedings.mlr.press/v119/shankar20c.html

logane··on Teacher's low-tech laptop hack to display handwritten notes for online class
You can use the same trick to make a touch screen for any laptop with a webcam! https://github.com/bijection/sistine

The mirror system isn't quite as macgyvered though :)

logane··on Microsoft Statement on TikTok
> I've seen TikTok videos go viral being really critical of the US government including its foreign policy. The kind of video that would just be invisible or outright banned from Youtube or Facebook video.

Do you have any evidence of this happening? I've never heard of pro-US censorship before on any of these platforms (or any social media platform..)

logane··on Teaching my MIT classes with only free/libre software
Sussman means free as in freedom, not free as in beer :) (see: https://en.wikipedia.org/wiki/Free_software)
logane··on Ask HN: Dear open source devs how do you sustain yourself
I'm a computer science PhD student, and I mostly maintain/create open source projects (https://github.com/lengstrom/) in the evenings for fun --- its particularly great you're working with friends!

I've never viewed it as a potential full time job. However, I recently got GitHub sponsors and make about 5$ a month!

logane··on Show HN: ZoomerBackgrounds – community-sourced virtual video backgrounds
Thank you for pointing this out, we will fix it ASAP!
logane··on Show HN: ZoomerBackgrounds – community-sourced virtual video backgrounds
Hi HN, author here! As students facing online instruction, we built ZoomerBackgrounds to solve firsthand the everyday problems of having subpar backgrounds and spoke with several friends working in industry about their background needs. The result is a product we really think you're really going to love. We had a lot of fun making this over the weekend and hope you all enjoy :)

For the tech stack we used react on the front end with a Node.js server + Firebase for persistent storage. This was my first time writing Javascript in about 5-6 years and it's really neat to see how the ecosystem has matured - there are even real classes now! We also used the Google Cloud Vision API for detecting inappropriate images.

On the database side, we found that Firebase Store works really well until it doesn't -- when you want to do anything that isn't basic reads/writes (e.g. SQL-like IN queries, query pagination, programmatic queries like sorting by the HN ranking algorithm ~ points/(time since post)^(1.5)) the workarounds can get complex and a little weird.

One question we had is around AdSense approval! The Google Adsense approval team rejected our website for not having enough meaningful content / not having "valuable inventory" - it would be great to hear some insight about how to show Google we are a real website.

Happy to answer any questions here or at logan@mit.edu!

logane··on Adversarial Examples Are Not Bugs, They Are Features
One of the first authors here - happy to answer any questions!
logane··on A New Angle on L2 Regularization
We took a look at adversarial examples for linear classifiers (and in general, we looked at properties that adversarial training induces) here: https://arxiv.org/abs/1805.12152 For $\ell_\infty$ adversarial examples on linear classifiers we found that adversarial training forces a tradeoff between the $\ell_1$ norm of the weights (which is directly associated with adversarial accuracy) and accuracy.

It looks like this article works through something vaguely similar for $\ell_2$ adversarial examples. It would be interesting to compare the author's approach with explicit adversarial training.

logane··on Malware Found in the Ubuntu Snap Store
Whoa, I made Hextris (https://github.com/hextris/hextris, one of the games removed from the store) a few years ago! Is there any precedent in OSS developers being held responsible for misuse of their code?
logane··on Fooling Neural Networks in the Physical World with 3D Adversarial Objects
Another author here - adversarial training is not sufficient to protect against white-box attacks but it seems to be the best method we have so far (https://arxiv.org/abs/1706.06083).

It seems that all current state of the art architectures are vulnerable to adversarial examples; to the best of my knowledge there are no image classification networks that researchers have failed to reliably produce adversarial examples for.

logane··on Show HN: Paint yourself in the style of classic art, in your browser
Cool work! We made this demo using the same style transfer network in TensorFire: https://tenso.rs/demos/fast-neural-style/! Your size slider was a nice touch :)
logane··on Show HN: Fast Style Transfer in TensorFlow
I hadn't seen that, thanks for the link - it looks useful! Right now the kernel size is not divisible by the step size - I'll try changing the transformation network.
logane··on Ask HN: Good email host?
What kind of privacy concerns are there with email providers based in Russia?
logane··on Ask HN: $1k+ side projecters, what was the best thing you did to market it?
Currently not significant (few dollars a month), but it used to be a few hundred a month when it initially became popular. Monetization could have been much better if we had put in interstitial ads, etc.
logane··on Ask HN: $1k+ side projecters, what was the best thing you did to market it?
Someone posted my game (http://hextris.io/) on Hacker News - from there it spread to a few popular outlets (major tech news companies, subreddits, obscure but popular blogs), all organically. Initially I tried submitting the game to game journalists / iOS app review websites, none of which responded to me - wouldn't recommend that route unless you have ins somewhere.
logane··on What are the most stressful places in Boston? We’re about to find out
There are so many colleges in Boston, though - probably MIT is the most stressful place in the Boston area :)
logane··on How One 17-Year-Old Coded a #1 App and Got Hired by Facebook
Cryptographers are computer scientists/developers, though. If you want to do something "real," other than make pretty buttons, that is, you're going to have to do some math.
logane··on Town residents pooled together their money to provide scholarships for everyone
With 0% interest loans (lots are available for students), 10k tuition + 10k a year in living sounds pretty reasonable considering that college graduates make about 98% more per hour [1] on average than those with only high school diplomas. Not to mention that if you're doing something in CS, you could pretty easily pay off each year by doing extra work on the side / through summer internships.

[1] http://www.nytimes.com/2014/05/27/upshot/is-college-worth-it...

logane··on Town residents pooled together their money to provide scholarships for everyone
I think there was also some sort of MCAS requirement - I just know that myself and many of my friends were granted the opportunity to go to UMass for nearly free (basically just housing) based upon our GPA / MCAS. I think the John and Abigail Adams scholarship [1] is what we received offers for.

[1] http://www.doe.mass.edu/mcas/adams.html

logane··on Town residents pooled together their money to provide scholarships for everyone
Right, I guess I'm assuming that students receive scholarships, which isn't at all unreasonable at state schools like UMass or UVM (don't know about other areas). Most of my friends going to UVM / UMass are going for free (only have to pay for housing).
logane··on Town residents pooled together their money to provide scholarships for everyone
Public universities are super cheap - in my state (Massachusetts), UMass Amherst is less than 10k a year if you graduate with above a certain (easy to attain) GPA. I think one of the largest issues is with people deciding to forgo cheap, good public schools like UMass, UVM, etc and going instead for more expensive private schools that offer the same or worse quality education, such as Elon, Holy Cross etc.

On the other hand, schools like MIT, Harvard, Yale etc all offer generous scholarships - regardless of your income, you will be able to afford one of these schools. Not to mention that after college, higher paying jobs are easier to get if you go to one of these schools.

If you want to just go to a decent college for cheap, it's not too expensive if you work it out right - either you can get accepted to a top school, or you can go to your state's flagship program (UC Berkeley, UMass Amherst, UNC Chapel Hill, GATech, UT Austin, and others come to mind).

logane··on A* Search
Amit Patel has a great series on A* pathfinding: http://theory.stanford.edu/~amitp/GameProgramming/AStarCompa...
logane··on What Poverty Does to Your Brain
Yep - causation != correlation - being poor in it of itself doesn't cause academic performance. It's the parental values, diet, distrations found in low income communities etc that cause poor performance, not just being poor.

Also, I think that the author meant middle class / upper middle class when he talked about "higher-income families" - certainly, in my university the majority of the kids are from upper middle class families.

logane··on Hackathon DevOps 101
I don't think that post is the same situation at all - there, Crew made side projects that became popular and then received traffic from them. Here, corporate sponsors skew which tools a ChallengePost employee recommends for hackers - some of which I personally believe are not at all good tools for the listed jobs (S3 for static website hosting??).
logane··on Hackathon DevOps 101
Seems like this post is less about real hackathon strategies for devops, and more about marketing for ChallengePost's (I guess DevPost now?) partners.
logane··on Chicago 'cloud tax' to add cost to Netflix, other streaming services
Probably not - heavily taxed cities controlled by democrats, like Boston, New York City, San Francisco, etc are the most successful in the US.
logane··on Boilerplate for turning a mobile website into an iPhone app
We tried to do that with our Cordova project and it wasn't this straightforward at all - we weren't even accessing the hardware. Some main points are behaviors when opening URLs, a completely unresponsive canvas, and slow rendering on the canvas.
logane··on Boilerplate for turning a mobile website into an iPhone app
To add another anecdote, we just wrapped a webapp [0] and it was accepted. It's pretty easy to get into the app store, it's my understanding that Apple stopped truly vetting apps (there are some pretty terrible, broken apps on the app store approved by Apple).

[0] http://hextris.github.io/hextris/

Page 1 of 2Next →