We had a very large monorepo at my previous company and building Docker images required us to set the context at the root of the directory (libraries, protos and helpers scattered around the repo). On macOS this is extremely slow as Docker copies the context into the daemon. This used to take several minutes.
Fortunately, we also used Bazel. So I created a custom Bazel rule that aggregates all the required files of a target/service then builds the Docker image within the Bazel sandbox which only contains the files we need. This massively reduced the context size and thus the image build time. From several minutes to single digit seconds.
Hi Peter, thanks for doing these AMAs! I’m a Canadian currently working in the US on a TN visa. I am interested in starting my own SaaS startup.
I’m currently exploring my options to raise a pre-seed round as a solo founder. Will I be able to stay in the Bay Area to start a company as a solo founder with some pre-seed and angel investors?
If not, will it be possible with an American co-founder? If not that, what is the best way for a Canadian technical founder to continue to stay in the Bay Area to startup?
However, because of Apple's new strict rules on what it considers user aggregated content, privacy, and etc. It's been stuck on beta for a while. I originally wanted to create a YouTube aggregator (like yours) however, I'm almost certain Apple will reject it.
It currently takes around ~0.3s on average to extract the colors. However, with my new PR (https://github.com/jathu/UIImageColors/pull/54), it takes around ~0.14s on average. IMO this is still slow, I would like to bring it below 0.1s.
I tried to optimize this with k-means to reduce total number of colors, but the result was slower and worse color choices. If anyone has methods to improve the performance, please make a PR.
I've been reading a lot about this "ancestral hijacking" lately and have tried to cut out on a lot of them. My phone now only has two possible notifications: phone calls and Things app. I have 0 social apps or games. I am also slowly cutting out sugars and extra carbs. I think you guys should read about supernormal stimulus [1].
There is this comic [2] about supernormal stimulus that shows how man, and man alone, has the ability to overcome it.
I have a lot of experience in designing and developing products from web to apps (please look at my site for some examples: http://jathu.me/). However, I am really interested in CS + finance and looking to get into a HFT, quant firm, hedge fund or a bank.
This is reminiscent of auteur theory in film, which essentially says that the director is the author of the film. Similar to corporations, making a movie requires a lot of people with different skills/talent. The director overshadows everyone and is the person primarily credited with authoring a film, they even overshadow the writers of the screenplay. One of the leading arguments for auteur theory is that the director has the vision of the film and they set out to create it. This is the same narrative used in the startup world: the founders have the vision. So this extends to why we credit founders for the invention of products, just like how we credit directors for films.
Maybe 100 years from now we will say "Steve Jobs invented the iPhone/smartphone", just like how we say "Thomas Edison invented the light bulb" or "Martin Scorsese made Taxi Driver".
* Your layout is a bit confusing. It's kind of difficult to figure out what title is the company name and your job title. I suggest you keep the EXPERIENCE and EDUCATION labels on the left and move everything else to the right. I've done a rough mock: http://imgur.com/a/g2t0c
* I'm not a fan of the design, but that's just my opinion. You can search for better resume templates
* Add a section where you point out what languages you know
* Another section for all the frameworks, tech stack, experiences and etc.
* "Netted over 700 hours...", I'm not sure if quantifying something like that is a good thing. 700 hours is kind of arbitrary, even as a developer I don't know that that really entails. You should just say you know how to build web apps, you're a full stack eng. and etc.
* "After learning about this word from a friend...", totally irrelevant. I don't think a recruiter cares about this. It is a good story to tell in an interview, but just not an a resume. Just get to the point as fast as possible while describing what the app does
* Overall the resume tells me what your projects do but it doesn't tell me too much about you. Tell me what you did, what you learned, obstacles you overcame, etc. This is a good area to quantify things. i.e. "Used CSS to develop convolutional neural network to improve efficiency by 100000000%"
* I'm not sure if your other two work experiences are relevant for a web dev, but you did a good job in making it sound relevant to who you are
When I was making a simple EPUB app for my own use [1], I found it surprising that many publishers don't follow IDPF standards. Most do, but there are a significant amount that mix and match all sorts of rules.
How do you differentiate a product and a company? There are obvious examples like most of the stuff on Shark Tank (i.e. cookies, jam, clothing, food products). However, I find it hard to think Pebble was just a product and not a company. Doesn't every company start off as a product? Apple started off as Apple I, Google started off as search and Snap started off as a photo sharing app. By your definition, a product is something that can be superseded by a competitor? Isn't that every company ever? My guess was, Pebble believed it could become a company and not just a product... but Apple had other plans for them.
for-in is elegant, and you can use enumerate() to access index. However, if we had to do reverse for-loops in Swift 3, we would have to use for-in with either from.stride(to:by:) or reverse(), and to me that is not as elegant as c style for loops.
Reminds me of the Jordan commercial [1] where he mentions he lost more than 9000 shots in his career, lost almost 300 games and missed 26 game winning shots. Amazing commercial (like most Nike commercials).
Yes, I just added an MIT license to all my work after some people suggested it. I was just too naive to think no one would do this, hence my very loose initial license. Wouldn't the "Please include the original header in any modifications or redistributions" hold up?
I've just emailed him again to please include the original headers and give credit or I'm filing a DMCA takedown notice. I'm going to give him 24 hours. Also, I just went ahead and added a real license to all my work.
Honestly, I wouldn't care if he did steal my work as long as he included the credits. I think I've learned my lesson and will include a license with all my projects from now on.
I grew up around Toronto and we started saying this in high school back around 2009/2010. I always assumed it was patois influenced, like ever other slang in Toronto, but I guess it's Australian.
"yeah, no worries bro", or simply in texts as "nw".
Fortunately, we also used Bazel. So I created a custom Bazel rule that aggregates all the required files of a target/service then builds the Docker image within the Bazel sandbox which only contains the files we need. This massively reduced the context size and thus the image build time. From several minutes to single digit seconds.