1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions
comment 3y ago · link · parent
I've shipped some data in a JSON file bundled with an application, because it didn't change a lot, and we had frequent (biweekly) releases anyway. I mistakenly assumed those two things would always be true.
As time went on, the frequency of necessary changes increased but our overall products release cadence got worse and worse (many months) as the product grew. So customers had continually outdated data.
An additional problem I didn't expect is that since we wanted to get customers the latest data (because the next release was so far out), we had to update the data set as close to release as possible. So always a change at the last minute, which is already a busy time and means it's not really tested well. And also it was extra toil; we had a script for data generation but it still needed a manual run and pull request. In the time I spent running this I could have easily written an API based version several times.
Another problem was that this change had to be made for every release, including bugfix ones. This caused frequent discussion (do we need this?), was forgotten a few times, and caused merge conflicts later which were annoying because in this case the proper way to merge was to ignore both ancestors and rerun the script, which people weren't used to.
Of course I rewrote it eventually (after convincing PM that I need time for this supposedly long done feature again), but then I had to deal with the extra problem of customers who had local customer specific modifications of the file (because that was the workaround our support staff came up with as a way to deal with the outdatedness).
Thankfully, a problem I did not habe was binary data in git. The commits were ugly but at least still got ok diffs (once we sorted the JSON file properly). But you mentioned SQLite, which is not a good match for git. Of course one can work around it by merging the raw SQL, but still, yet another pitfall.
comment 3y ago · link · parent
I know that engine on time is particularly expensive for airplanes whereas for rental cars it's no factor, but I would also expect the pure rental time to be expensive for airplanes if you use it to go on trips as opposed to standalone flights ending back at the home airfield?
comment 3y ago · link · parent
And I meant a better pathway through the medical system, not involving firearms. Using guns for that seems all around awful, and it is sad if people do see that as their most realistic option.
comment 3y ago · link · parent
That "side effect" is is not because of impulse buying and getting guns on short notice. In fact, there's a mandatory waiting period in 1/5th of US states (10 days in California) specifically to prevent that situation, which seems like a _very_ good idea to me. It's about a) getting them without learning a large amount of material (not everyone memorizes things as easily as engineers), and b) without approval buy someone who might actually object.
To get a gun in France, you need a hunting/sports license. The hunting license requires a 1-day theoretical and practical exam, as well as a medical exam that is specifically meant to verify if the physical and mental health is compatible with the stated purpose of the purchase. Whereas in the US, you need at most a trivial knowledge test (firearms safety certificate, with questions like in which direction to point the gun. possible answers: safest possible direction, up, down, north (!) [1]) to buy a firearm (hunter's safety education is only required to purchase a hunting license, not a gun).
And regarding your third point, sure, but the solution to that is to provide a better, legal, safe and professionally supervised pathway. Anything else makes as much sense as writing a law that bans cancer.
[1] https://oag.ca.gov/sites/all/files/agweb/pdfs/firearms/forms...
comment 3y ago · link · parent
It's rendering style is sooooo nice though, I really wish Osmand could render in the same style.
I do think it is a great project to support, where donations can have an outsized impact. Organic maps is our best shot yet at having OSM get wide use for general navigation. I just worry that it's ideological stance (e.g. no data collection ever) means it will never be able to support some things (e.g. traffic aware time estimates and routing, accident and speed trap warnings or sharing own live location with friends) that people just expect.
comment 3y ago · link · parent
It's a common political tactic to make statements that can be interpreted one way or another. On average, people will read it the way they want to, and yet the statement will never be wrong.
comment 3y ago · link · parent
Fighter Pilot Podcast. Exactly what it says. A former US Navy F/A-18 pilot invites other military aviation people to talk about military aviation related topics - "the aircraft, the weapons systems and the people" - an hour at a time. Somewhat technical at times, but generally focuses more on the people and the culture. It does get a bit repetitive after a hundred episodes or so (when they do one aircraft per episode), but the early episodes were great. https://www.fighterpilotpodcast.com/
comment 3y ago · link · parent
This article in particular is interesting because Tailscale inserting malicious nodes is the #1 concern I had around their product, and their solution (tailnet locks) is interesting and probably better than the solution I would have come up with (using Wireguard's support for additional symmetric secrets).
comment 3y ago · link · parent
Cause if there's no protection, support for the "other" less common IDs are undoubtedly going to the "not supported at this time" low priority task graveyard of any growth hacking dynamic company.
I've had no end of issues before I got an actual US drivers license, which took ~6 months to get after I moved here (DMV appointment waiting times, processing time incl. DHS verification etc.).
comment 3y ago · link · parent
comment 4y ago · link · parent
Nowadays, it is seen as acceptable to post it virtually, let's say on an HR page on SharePoint, in addition to the physical notice in whatever office there may be. For certain areas we also considered mailing a notice to all employees in the area, but I don't know if that ever happened. The idea is that the physical notice covers the letter of the law, and the electronic notice covers the spirit.
I don't know if DoL has issued any guidance since then, but at the time there wasn't any.
comment 4y ago · link · parent
To hire an H-1B, the company has to do a Prevailing Wage Determination (PWD), where they ask the Department of Labor what an appropriate wage for this a) job function, b) experience level and c) geographic area is. To go forward with the H-1B, they only have to offer that much for the position.
comment 4y ago · link · parent
Immigration Nation was very hard for me to watch back then, in the context of the time at which it was released.
comment 4y ago · link · parent
1. Mandatory I-9 verification means you will not be able to work at any large or non-shady company. No more highly paid tech jobs.
2. You can not re-enter and therefore you cannot leave, e.g. to see your parents in your home country, business trips or international vacations.
3. You cannot renew your drivers license past your visa expiration date. At best you can get a worse alternative (depends on state; AB60 in California) that lets you drive and not much more.
4. You would live in fear of ICE. After going through the legal immigration system, I cannot even imagine the stress of interacting with the illegal immigration system.
5. At that point your chance of naturalization is gone. Even everything else being equal, leaving and legally coming back on another H-1B would've been a _much_ more appealing option.
And I don't think any illegal immigrants would be laughing at the efforts of legal immigrants. I am shocked that you would write that. I am pretty sure nearly all illegal immigrants would love to follow a legal path if there was one that was achievable for them. After all, undocumented immigrants currently pay billions of dollars in state and federal taxes every year.
comment 4y ago · link · parent
1. The person who has to leave won't use any goods/services in America anymore, further decreasing demand on the economy at the worst time. H-1B's are generally well paid and can afford to spend money on goods/services when employed, which probably usually sums up to more than one job's worth of labor (and not just unskilled labor, things like legal counsel too). Especially if they have family. In particular, while they are still unemployed they cost 0 jobs but still consume, so kicking them out is a guaranteed net negative until they find the next job. Which they would be most likely to do when the upturn begins, at which point it wouldn't matter anymore.
2. They are laid off and didn't find a new job. So they _aren't_ consuming a job in the US that an American could have filled - instead, the job is gone. On the contrary - if they _had_ retained/found a job in the 60 day window, they would have been allowed to stay. And they might not have gotten a new job before the next economic upturn. So the expected cost of letting them stay is more than 0 jobs but also less than 1 job.
3. It might help improve the odds for current job seekers competing for a limited job pool, but as H-1B's are on average highly qualified (the H-1B category is for specialty occupations), the job that the H-1B might have held will still not be available to most Americans and companies will probably end up with worse qualified employees (otherwise they wouldn't have hired an H-1B in the first place). So companies will be worse off, which is probably also bad for Americans as a whole on average. And those Americans who are likely hit hardest by the downturn - lower skilled labor - don't benefit from it at all.
4. The reduced supply of highly qualified labor may contribute to delaying the next economic upturn. This can have very severe mid term consequences. We see this in other areas, for example the chip shortage is _still_ causing serious issues. And considering how slow the US immigration system moves, it unlikely a (skilled) labor shortage would be any easier to solve than a chip shortage.
5. Kicking H-1B's out also means they will take any property and savings with them, instead of keeping them in the US market. Tech worker investments can be significant.
6. It is possible that their departure may lead to a job moving overseas, which is strictly worse for Americans than the job being in America and just held by a non-American (taxes etc.). Both because of reduced high skilled labor supply in the US, and because if they were already attractive enough to be employed as an H-1B, imagine how attractive it would be to get the same employee overseas, at a lower price point, and maybe with a better chance of long term retention if the company works on a new H-1B with them. All the US labor market protection mechanisms (prevailing wage determination, labor market test, etc.) don't apply to non-US subsidiaries...
Also, not deported. Deportation is one option for what happens after breaking laws and being put in removal proceedings (another would be voluntary departure). All H-1B's that I know are acutely cognizant of immigration laws and would leave if they can't find a job rather than risk incurring a ban. Either in 60 days, or maybe longer after applying for a period of satisfactory departure. Of course this distinction is primarily important for that person; the outcome for those who stay may be the same but let's have empathy.
comment 4y ago · link · parent
I am not an expert.
A mix of interest, a compulsion/obsession with learning the basics of anything to make optimal decisons, and get taken more seriously by experts (it turns out all it takes to get your optometrist to take you seriously is to use words like "autorefractor" and "phoroptor"), overconfidence ("I know RF, and light is an electromagnetic wave too, how different can it be?") and I guess also frustration (what do you mean, I need to renew the contact lens prescription every year, I can only be prescribed one type and I need your blessing to try 2-weeklies from the same brand, which you would have happily prescribed instead of the dailies? No thanks, I'll just import them then.)
But really, I've just worn glasses for a long time and nothing I wrote there is actually all that deep. I may have read a few papers.
comment 4y ago · link · parent
* A material with a higher refractive index (-> thinner glasses) and higher Abbe number (-> less dispersion). Scroll down to the "Optical Glass Selection" in this article for a diagram: https://www.edmundoptics.com/knowledge-center/application-no... - the stronger the prescription, the more it matters, but generally the step up from the cheapest material is much more significant than from the mid priced tier to high priced tier.
* Coatings (anti reflective, anti scratch / oil / water, and for sunglasses also: polarizating, and the tint itself of course, ...). These are all worth it in my opinion. I cannot praise the polarizing coating on sunglasses enough. And the anti reflective coating. "Computer vision" coatings are not useful in my opinion. Mirror coatings for sunglasses are a personal/aestetic choice.
* Glasses for people with astigmatism or with both near and far prescriptions are more expensive.
More expensive frames get you:
* Lighter, thinner frames and frameless options.
* Hinges that open a bit more than 90deg and flex back with a spring, so the temples will adapt to the head better. Better hinge materials (e.g. I've had hinges wear out).
* Titanium or memory metals instead of plastic of aluminum.
* "Aesthetics" and minor add-ons like laser engraving.
Obviously price only correlates with quality, paying more doesn't guarantee getting more.