Hacker Newsnew | past | comments | ask | show | jobs | submit | AbundantSalmon's commentslogin

Just posting this in case anyone else has problems with getting AWS Lambdas to send CORS headers when using SAM. I spent a few hours before eventually getting it to work.


Good topic for a second blog post/skill share. Are there any other interesting topics you can think of? I think I know so much but in it too deep to remember what is unusual. These came up with the recent onboarding of some new devs.

Thanks, I will update the data migration code!


Practical Electronics for Inventors by Paul Scherz is pretty good, but hard for me to tell if it is good for a complete beginner as I come from a non-electrical/electronics engineering background and we still get taught the basics in first year and have the fundamentals.


I am in my early 30s and got PRK in my late 20s and absolutely do not regret my decision at all! It's been such a quality of life improvement. I am also a BJJ/Judo player and it really beats having to deal with contacts/glasses all the time. I believe they usually will have wanted you to have tried contacts for a time to make sure that contacts aren't a good use case for you, as with any surgeries there are always risks involves which the ophthalmologist will run through with you.

For me, this is so much better than contacts, not having to fumble around for glasses in the morning and being able to see clearly stuff that is further than 20 cm from my face is life changing (my prescription was -5.5 + astigmatism, so not the worse but still pretty bad) which I haven't been able to since I was like 12 years old. I know a bunch of people who have had it done and very happy as well and I do mention it to other friends. Though it is a personal choice as it is a very elective surgery.

1 week is the bare minimum to be able to took a screen again for a long length of time and "full" recovery can be months (you'll still be able to drive and use the computer fine but there will be some "fuzziness"). I was able to work after the one week. One of my eyes was over-corrected, as basically there is a bit of art of these types of surgery as it relies on the body's healing factor, and after a year of monitoring (which would have been standard even if the over-correction wasn't detected) hoping that it would work it self out, we had to redo the that eye and both eyes were fine after that.

You definitely want to not force it, just take sick/annual leave and don't stress out about working. I'm not based in the US but if you are, I would really recommend you research who you're getting your treatment from and what laser/approach they might be using. Because when I was researching before my decision it seemed like a lot of horror stories were US based (this just might be due to the demographic of the internet posters though). Stories of no contact with an ophthalmologist before the surgery, the surgery being done by technicians and not the surgeon, the responsible surgeon was based out of the state and only approved the surgeries, no follow up monitoring after surgery etc.

If you have an specific questions post then below and I am happy to answer.


Any side effects? It must be really frustrating to go months with vision that isn’t as good as just glasses.

I’m worried about trading good vision with glasses for less that perfect and light sensitivity.


No side effects for me. I've always had bad night vision even with glasses so no noticeable effect for me, and no dry eyes like someone else reported on this thread.

I guess my question for you is what is your prescription? Because mine was high enough (-5.5 + astigmatism) that even with glasses due to how thick they were, chromatic aberrations always existed especially in my peripherals, and contacts would cause dry eyes after 8 hours which would then drop visual acuity. So my reality never existed with "perfect vision" like you are worried about having to deal with... It was just a different type of aberration that eventually went away, became unnoticable. I definitely knew my glasses never corrected to perfect vision. Remember 6/6 (aka 20/20) also isn't "perfect vision", it is just the average vision person for a person doesn't "need glasses", people have a whole range of visual acuity.

While I am definitely a fan and would recommend it people who were thinking about it. If your prescription is low enough I believe surgeons will usually suggest that you probably don't need it, though my experience is not in the US so YMMV...


I use hammerspoon (https://www.hammerspoon.org/) to run a lot of shortcuts for myself, I find that the lua language whilst a little strange but still more easier to grok than automator/applescript.


This sounds like my setup! I literally have 1 button startup for starting all my normal programs (including split tmux windows, each running appropriate startup commands for what ever process they need) and it moves all my windows into their regular positions. I usually get into to work, plug in the laptop, press my button and go make coffee :)


Developer now but was originally a mechanical engineer and have dealt with some CAD software in my time. Solidworks > Fusion360 >> AutoCAD 2D has been my experience. Though I have to admit that the AutoCAD 2D was not my day to day software and I had originally come from 3D CAD as opposed to starting with 2D/AutoCAD initially. When I used AutoCAD for the first time I had an instant distaste for it and can see where you are coming from, the interface and the way of "drawing" was unintuitive, and I could never work out how make my lines be parametric instead of having to redraw them when related dimensions changed (though that could be a me problem).

I think the reasons it is still popular are:

- People who learnt to draft with pencil and paper are still around

- Legacy, still so many drawings that they don't want to have to remodel. The open format exports are never perfect.

- 2D layouts are just practical for a lot of industries (electrical, HVAC, MEP, etc) where they are just need to convey connection information or everything is nice boxes on planes and they don't need spend more time extruding out a 3D when they can just easily just draw an arrow and go "AxBmm". But apparently Revit, which haven't used, is becoming more popular int the MEP/HVAC space apparently?

I know my friend has lots of drop in templates and scripts that they have built up over the years.


AutoCAD is still a standard because it is flexible and scales great. You can draw as easily a pcb, a dog house or a city.

Imagine you are starting a concept for an housing block. You are just starting to "shape it". You don't really know if it will be a square or a rectangle or even a more complex polygon. If you use BIM (e.g. Revit), you'll need to define what wall is exactly made of, what kind (and brand!) of window is it, etc, since the beginning.. you don't even know yet what the building will look like! It's completely nonsense and an huge incentive to repetition: you use what you already have in your library once it is a massive hassle to create new objects.

When the project is settled and approved by authorities, then and only then, may pay (depending on the scale) to convert it to BIM: you'll get 3D renderings, bill of quantities and a realtime model of the building out of the box.

An analogy for HNers: Autocad is a text editor (emacs kind), BIM is an IDE.


I think a key point that people fail to remember or marketing just oversells, is that there is no silver bullet for all the problems, especially for an industry that has so much history, precedent and inertia. People want to try and solve (and from the other side, want perfect full solutions) all problems at once, whilst in reality small improvements in key areas are probably the 80/20 that is needed to bring business value. I think continuous feedback and good "translators" would be key for any product in those industries. Manufacturing people are busy and will tell you what the surface level pain point is, but they don't have the time or maybe don't have the idea fully thought out on what the underlying problem/goal is.

After typing up all that, I realise that most of this is applicable to every industry.


Must be a legacy name, as they still have it as a unit at a Uni I've been to: https://handbook.curtin.edu.au/units/unit-ug-unix-and-c-prog...


Same, the air was a great machine and probably would have been fine, but work was willing to upgrade my machine to the pro and hand down my air to the new non-dev hire.


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

Search: