Hacker Timesnew | past | comments | ask | show | jobs | submit | fergyfresh's commentslogin

In my experience its purely random if/when someone will care about that. You just have to do a lot of interviews and if you're still coming up with near optimal solutions in the allotted time you should be okay.

I also do not think Senior Engineers have better mental models of these code trivia questions than Junior Engineers do on average. Seniors spend more time on architecture and facilitating Juniors to be more productive so I dk.

I have never been in an interview where piecing out the problem solving and debugging outside of whatever the IDE/editor of choice was frowned upon.

Maybe they just wanted to see you solve the solution in the pair programming window and thought you were copy/pasting your solutions from someone that was helping you off screen.


This.

Don't try to get the right answer. Try to get the right interviewer.


WeWork does for office space what companies like Just Works does for HR stuff.

We are a small company that works out of NYC and WeWork is great for New York. Most office leases have a 2-5 year minimum and you have you deal with getting office furniture, janitorial services, etc. It's a LOT of overhead for a small company. Also they let you go month to month or sign up for multiple years at a discount.

Also you don't have to worry about overpaying for office space as wework lets you grow from office to office without having to change your whole office setting slash commute. Its also not HORRIBLE pricing wise if you're okay with having a slightly smaller office space, because it does have a common area with free coffee, milk, beer, etc.

TLDR: WeWork is more than just a sexy startup office space. It also gives you flexibility until you get big enough to be able to need a massive office.


Yep! In downtown Seattle, if you factor in all the overhead, WeWork is cheaper by person until you hit ~15 people... and without that 3 year lease!


Use Flask-Ask and Zappa and deploy to AWS Lambda. I use that setup and have been running for free on AWS infra for about 6 months now.


oh i guess i didn't explain my use case enough... i'll deploy to lambda, but then i want lambda to ask about or control things around my house


Not sure if I understand what you're after, but AWS offers private API Gateway's now


Echo <-> Lambda <-> ?? <-> Home Network

For ?? I've tried just making the lambda directly connect to an open port, but this requires me to open the router to quite a large range since lambdas don't have static IPs.

I'd like a VPN in ?? I have that for my phone.

As I dig into VPC and such it seems like it almost requires an EC2 endpoint for me to VPN into from my network which will NAT the request?

I'd like to not have to pay for an EC2 instance.


You should be able to setup a vpn from aws to your home. The lambda can be assigned to the vpc, then you setup a virtual private gateway, a customer gateway (which points at the public ip of your home vpn endpoint),and a vpn connection. If you dont have bgp for routing, then you'll need to setup the static route on the subnet the lambda was assigned to. I havent done this exact thing before, but it should work.


This should help you: https://gist.github.com/reggi/dc5f2620b7b4f515e68e46255ac042...

Once you have your lambda running inside a VPC, you can assign an elastic IP to the VPC. You don't need an EC2 instance, but you will need a NAT gateway, which is billed at similar levels to a small EC2 instance anyway.


Hrmmm perhaps I'll just have to develop something with single packet encrypted port knocking perhaps. ~$36 a month is out of mine price range for something that is like 100k bytes a month (say having an Echo skill that can control Home Assistant)...


Can’t you open up a SSH-tunnel from the lambda? I think there are Python clients if OpenSSH isn’t available in lambda instances (anyone know which binaries are available? I suppose it’s a quite barebone Linux container)


I guess I don't want a socket listening. If AWS would publish their subnets maybe I could limit it to those addresses. It sure seems like they could keep their subnets dynamic and accommodate something like this but I guess not.



Nice! Okay hrmmm


Not sure about lamba, but the Firebase equivalent can make outgoing requests. You can setup challenge/response auth and then have a gateway controller in your network using that.


I recently contributed to Flask-Ask and have been developing apps for Alexa for a while now. The APIs/Boilerplate code for the `easier way` is definitely harder than Flask-Ask is right now.


I wholeheartedly agree with what you said. There is a time and a place for leaving legacy code alone. I also know from first hand experience some things are just too far down the hacky rabbit hole and you just gotta cut of the dead stuff and start over sometimes. But on the other hand, the only times I've done that in my career the code was written in a very anti-pattern style pretty much against all language guidelines and had hidden side effects everywhere. It was a mess to figure out how some features worked so I just rewrote some features in 1/10th of the time it took the original maintainer to piece in similar bug fixes in the legacy code.


Don't write off saleor though. It's basically fully featured OOTB, all you really have to do is integrate payments and your own AWS setup if you don't wanna use Heroku. Probably easier than using Squarespace and def cheaper. I haven't looked into Shopify or Sellfy though.

It has taxes and configurable shipping costs by region. I was going to use Shopify or Squarespace until I found saleor. I definitely agree with using Etsy first though to gain traction before trying to get higher margins by rolling your own.


Is this on github, I'd love to contribute!


It's closed source. Sorry. I've thought about things like trying to crowdsource the summaries, since people sometimes write "tl;dr" comments on posts.


I did this for google play music. I have a crude working version of scraping out the setlists from setlist.fm here, https://github.com/fergyfresh/setlist-on-a-playlist/blob/mas...

I'll work on this tonight to make it better at handling errors where it will force to find the most recent one that isn't blank, because if there are no songs in the most recent entry it will return a blank list.


I'd be willing to work with you as I have built a googleplay music version of this a while ago. https://github.com/fergyfresh/setlist-on-a-playlist

I took it a step further to make a playlist out of the bands most recent setlist, so its similar, but not the same. It's currently just a cli that allows you to make a playlist on your google play music based on a band's most recent setlist, provided it was posted on setlist.fm. Most of the bands that I listen to have the setlist.fm posted basically the same night of the show.

Would love to help, leverage, or even refactor some of your stuff so that we could use virtually any music playing platform to do this.


I LOVE THIS MORE THAN YOU COULD EVER BEGIN TO KNOW!


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

Search: