HNHacker News
TopNewBestAskShowJobs

batbomb

2,816 karma · joined April 14, 2013

submissionscomments
batbomb··on SpaceX satellites could blight the night sky, warn astronomers
The amount of light will still be appreciable and will affect many kinds of observatories around the world, even at magnitudes less brightness.

You also can't slew a telescope in space like you can on ground, it would be extremely cost prohibitive in terms of fuel.

"moving telescopes to space" is the equivalent of "let them eat cake" comment in this funding environment. It sounds like a wonderful proposition until you realize how many observatories we have on the ground and their utilization and how expensive it would be to replicate half that utilization. It's already not easy getting time on a telescope, if everybody had to be crammed on 15 space observatories costing $1B/each, there would be no observational time for grad students or post docs let alone funding for research. You also kill follow up observations on temporal events.

Of course, maybe the government could reach an agreement with SpaceX to send up the observatories for free and send some money the way of the astronomers for seriously messing up the sky, but there's no reason to expect SpaceX to be a good citizen of the night sky.

batbomb··on Simple Dockerfile examples are often broken by default
The caching part is (mostly) generally fixable by making sure to always add your source code in two stages - dependency files first, then resolve dependencies, and the rest of the source code later.

Rarely is this done though. And definitely alpine+musl doesn't always do what you might expect, and it's often language dependent as to whether or not you'll encounter something strange (not to mention you forfeiting bash)

batbomb··on SpaceX satellites could blight the night sky, warn astronomers
Astronomy isn't limited to the US and the NSF is not the only funding agency in the US. Sure, the annual cost isn't $50B/year, but that's a shitty metric to use, it is textbook tragedy of the commons.
batbomb··on SpaceX satellites could blight the night sky, warn astronomers
The shelf life isn't the problem. The problem is quantity in the sky (this will continuously be relaunched) and how bright they are. This will ruin many long exposures for many existing telescopes, but you can do some amount of image subtraction if you do many short exposures. That's might be a problem for some instruments depending on their readout electronics.

It's also a global problem.

batbomb··on Simple Dockerfile examples are often broken by default
In general, in Go, Java, and Python I've resorted to copying in the Gopkg files, pom.xml, and requirements.txt, and then running the requisite dependency installer for the language (dep, pip, mvn, etc...) and then just copying in the rest of the repo, relying on the .dockeringore with a default-ignore for everything and specifying the individual files/directories you may want to add, and in some cases a rootfs folder when necessary.

This seems to be the happy medium for me. I don't have very strong opinions on requirements.txt always being the pinned output from a pip freeze, and it seems like pipenv may actually die in a few years, and poetry will evolve to take the mantle, but I do lots of things with conda anyway.

batbomb··on SAT to Add ‘Adversity Score’ That Rates Students’ Hardships
You live in a better neighborhood, you get a better education, you likely have healthier food available to you and grocery stores nearby, in addition to a school that probably cares a little bit about that sort of thing. There's still drugs in high school, but they are sold by the rich kids. There's tutors and test prep centers by your school. There's a lower probability of violent crimes and gangs. Sure, your family has to shop at the thrift store, you get hand-me-downs, and you don't get to go to Subway at lunch with your friends.

Somehow, all of that is rendered worthless when somebody going to a shitty school with shitty food wins the shitty school and home life lottery and edges them out of the more prestigious school with lower test scores thanks to the adversity bump.

Ultimately, good school kid must settle for highly regarded state school and post about how unfair the system is on a website for engineers and entrepreneurs. Shitty school kid becomes rich and famous because they went to an Ivy, everybody in the VC office loves them, buys a Tesla and their single mom a mansion.

Just kidding, shitty school kid had to drop out when their mom got sick junior year.

batbomb··on SAT to Add ‘Adversity Score’ That Rates Students’ Hardships
What would it subvert?

You go to a better school, you get a better education, you are more educated and you get a 34 on the ACT.

If you go to a crappy school and you get the same score than there's no qualitative difference between the schools and your parents skipped vacations for nothing.

But obviously the OP must believe there was value in the better school otherwise they wouldn't mention it. So they would believe they would have got a lower score in a different school, and if that's a proxy for education, then the OP must have ended up with a better education, and is also much more likely to succeed at _any_ college they go to, even if it's not Harvard.

batbomb··on Grocery Outlet S-1
... bargain market.

I live across the street from one. It's effectively my pantry, so I go there quite a bit, but the same way they have opportunistic products I'm shopping opportunistically half the time. If it wasn't so close (and Safeway wasn't so shitty) I'd probably go much less frequently, but I can't complain much.

Their produce has gotten a little better, their meat too. Some staples are variable (eggs only in Jumbo size, shit for olive oil, mayonnaise 1 week before it expires), but if you go there with an open mind and relatively frequently.

batbomb··on IT Runs on Java 8
yep, they run whatever version of Confluence was released 4 years ago
batbomb··on VW opens preorders for the ID.3, its first long-range electric car
If they only sold 1400 of them, then more than 10% of them must drive on the 280 every day.
batbomb··on Alaskan halibut provides a glimpse of Amazon’s strategy with Whole Foods
.... in which the Seattle Times discovers that grocery stores use items at or below cost to lure in buyers to purchase other things at the store.

12 packs of coke were often sold at a loss at grocery stores. I'm not sure what they cost now, but cost use to be in the $3.50 range in 2007. Costco was usually about a bit more than the cost but they were selling 24 can flats, so probably still turning a profit. In 2007 it wasn't uncommon to do 4/$10 deals and even 5/$10 deals occasionally around the super bowl. 3/$10 was the average sale if they wanted to try to boost sales. Other examples include family packs of NY Strip/Ribeye.

batbomb··on Python at Netflix
I'd say a "shop" implies less than 150 employees. So there are many "shops" inside Netflix.
batbomb··on Apache Software Foundation joins GitHub open source community
1. Who is the OAuth provider?

2. What does the registration process look like?

OAuth helps with federated authentication. It's not federated registration.

batbomb··on Apache Software Foundation joins GitHub open source community
You are also not being fair to github then - you can run Github Enterprise Server and it is also "open" in that it's readable (non-obfuscated), debuggable, etc... It's basically a snapshot of what they run at github.com with added features for enterprise (like AD integration). You can't distribute the code.

How easy it is to actually do that depends on your ruby skills and your wallet.

batbomb··on Apache Software Foundation joins GitHub open source community
Well, they've been using Jira forever.

Usually when people say this they are referring to either Gitlab or Gitea. Well, it's not like all of Gitlab is fully open source, it's just Open Core, but I'm sure that's a sizable amount of the code, but I would imagine there's a decent chunk of gitlab.com source code that's proprietary (I'm sure somebody will quibble with this in a following comment, but the original argument is an argument of purism of being free and open).

Gitlab CE and Gitea doesn't solve the hosting issue, though of course Apache could probably pay somebody to manage that, but then you've introduced extra overhead for collaboration that most people aren't that inclined to solve.

batbomb··on Crustacean has never been seen away from Lake Merritt, but it's not from Oakland
Many academic Chileans speak conversational english, either most speak basic english.

Most business performed in multi-nationals in "Sanhattan" (Las Condes/Providencia), for example, is conducted in English.

batbomb··on Testing KettlePizza and Baking Steel's New Joint Pizza Oven (2013)
(2013)
batbomb··on Secret ‘dark web’ apps that are luring your children online
Just wait til they find out about IRC.
batbomb··on Changing San Francisco Is Foreseen as a Haven for Wealthy and Childless (1981)
> The gold rush is deeply embedded in the Bay Area psyche.

I think that's true for a demographic - the San Francisco 24-35 demographic (especially those in the tech sphere of influence), but I don't think it's generally true across the bay area. People who tend to think like this tend to be transplants that do not know very many people over 40, they don't know anybody from, say, Redwood City, Hayward, or Albany or even the Sunset district. I say this as a transplant under the age of 40, but the majority of my coworkers are much older despite most of them also being transplants.

batbomb··on A physics master’s degree opens doors to myriad careers
This is probably bad advice. Better advice would be to just find a good experiment at a reputable school and latch on.

Projects in experimental physics at a good state school are typically a great place for access to a machine shop, computing resources, and the possibility for travel, in addition to the departments typically having a lower student to professor ratio compared to the engineering schools.

You're also more likely to work for people with a variety of skills.

batbomb··on A physics master’s degree opens doors to myriad careers
I will say I do believe this is a much smaller issue in the bay area (and possibly a few other places), provided you can code okay. If you are looking for a job, say, in Phoenix, St. Louis, Dallas or similar, the HR hurdles are much harder to overcome. Those places want CS or EE, maybe ME.

I have a BS in Applied Physics.

batbomb··on “I worked at Boeing for about 1.5 years in the 2008-9 time period”
The E175 is even better than a 787 in 9 seat configuration. It’s a superior experience in economy, and I hope every 737 and CRJ is replaced by it.
batbomb··on BlackBerry cofounder Jim Balsillie is sounding the alarm about surveillance
I’d be afraid of Google if I had worked at Blackberry too, just look at the destruction they did.
batbomb··on Trinity Nuclear Test Site Open House – Saturday, April 6
I'm not necessarily advocating for the state. The circuit I mentioned is very popular especially among europeans. I would recommend going in September or early October if possible.

I would personally move back to New Mexico, but I wouldn't paint a rosy picture of it. I like the culture, I'm sure it's not everyone's cup of tea. I definitely grew up around a lot of animosity from family members about New Yorkers moving to Rio Rancho, so it's nothing new:

https://www.nytimes.com/1987/12/06/business/rio-rancho-s-tan...

That said, New Mexico has been able to east/west coast gentrification to a minimum (Luckily most people end up going to Phoenix or Vegas instead)

On tourism - tourism is pretty much destroying the world, probably thanks to instagram. The west is susceptible but much of it is protected by virtue that many interesting parts are more than 3 hours from a major domestic or international airport. August is fucked though, partially because of the long European holiday, never do anything in August.

batbomb··on Trinity Nuclear Test Site Open House – Saturday, April 6
Socorro sucks. I'd be jaded if I had to live there. My parents pushed me to go there NM Tech, but I had been going to high school in Utah and would rather go there for college. NM Tech actually said in their brochures at the time (2003) that "students often live on campus or in one of the many affordable trailer parts nearby" or something to that effect.

If it's any indication, I did move back to Albuquerque in 2009 to try to find a job after graduating with a degree in Physics - because I did miss the culture and the place, even though I loved Utah too, but I couldn't make it work at the height of the recession. Utah wasn't much better - I had to take a part time mobile app QA position, but more of my adult friends were there.

There are pure science jobs available at Los Alamos but they can be a bit hard to come by, I would consider moving back to Santa Fe for the right position.

I would also say that Albuquerque does have my favorite weather. Winter shows up but it's not obnoxious, same with summer. September is the best month for a nice trip

batbomb··on Trinity Nuclear Test Site Open House – Saturday, April 6
There’s a lot of mixed reviews of New Mexico in this thread. I would encourage people to go. If you are a fan of the outdoors of Utah and Colorado, archaeology, and can appreciate the food, I’d highly recommend a road trip. The Gila Wilderness, White Sands, Lincoln National forest, Albuquerque, the various Pueblos, Chaco Canyon, Bandelier, Valles Caldera, Abiquiu, Taos, Santa Fe, Santa Fe National Forest (east part, north of Pecos) are all wonderful places to visit for a day, or more in the case of the forests if you want to camp and hike. I personally haven’t been to Carlsbad Caverns, but it’s probably worth it too, though out of the way.

Even better is to do a giant road trip circuit between the northern parts of New Mexico abd Arizona, and southern parts of Utah and Colorado. You can also easily hit San Juan National Forest/Mesa Verde and Durango, Moab and Arches/Canyonlands/Capitol Reef, Escalante, Zion, and the Grand Canyon without too much driving between them all.

batbomb··on Ask HN: Physicists of HN, what are you working on these days?
Disclaimer: Most my professional background is in HEP/Astro, outside that find I might be a bit off.

Basically labs/institutes and large universities that get government funding looking for software developers.

National Labs (though it's getting rougher), flagship universities with large labs or targeted programs like MIT (Lincoln Lab), Johns Hopkins (JHAPL, STSCI), UIUC or UChicago (NCSA, UChicago pioneered much of grid computing but some of that was Argonne if I remember too), USC, and especially smaller labs/institutes or even specific projects at large universities. You can also look outside the US, France (INRIA, IN2P3) and Germany (Max Planck institutes) can be good places, Italy is okay, the Netherlands is good but not as large, UK is good, Australia is okay. In Europe you can't expect to do anything with CERN unless you are working at a National Lab in the US generally. Japan does tons of stuff but most people I know who have worked on Japanese projects in Japan don't enjoy it as much.

Secondary jobs are also a possibility near big national labs (Bay Area, New Mexico, Illinois), but usually that's less software and more big-E engineering.

Materials science and bio have a different layout but much of the cutting edge of that tends to be located near light sources these sorts of facilities too, and the need for software devs is growing there.

batbomb··on Ask HN: Physicists of HN, what are you working on these days?
BS in Applied Physics. I work at a national lab (9 years now, since I was 25) on astrophysics projects in a Physics division, but mostly I work on software for data management, workflow management, data access, databases (multi-petabyte distributed and otherwise), and sys admin stuff. Lots of python and java, lots of kubernetes as of late. I occasionally drop down to working on things related to data pipelines, mostly working on improving some internal software interop with pandas. I don’t really touch science code, but the math background still helps, and is sometimes required. Sometimes still have to deal with ROOT.

The physics background means that, even if I don’t understand the exact science of why my coworkers are working on, they don’t have to worry about explaining everything to me.

Even my boss forgets I don't have a PhD. There's a huge need for people that are really good at software development (relatively speaking) that don't get tripped up by the physics, whatever it is.

batbomb··on How MSG Got a Bad Rap (2016)
Just use yeast extract and magically nobody will get headaches.
batbomb··on How to build a distributed throttling system with Nginx, Lua, and Redis
You can change a 403 to a 429 easily in conjunction with auth_request using a named location.

One thing I've been doing recently is to deploy oauth2_proxy in proxy mode, protecting an authorization endpoint. The authorization endpoint can be custom code in any langauge - it can have logic for rate limiting or anything else. Together oauth2_proxy handles authentication, and the authorization endpoint might do an LDAP lookup and limit access based on a group or something else. If you want to return something other than a 401 or a 403 you have to do a little more work.

Something along the lines of this:

     location / {
        auth_request /auth;
        auth_request_set $backend_status $upstream_status;
     }

     location = /auth {
          proxy_pass http://oauth2-proxy:8080/authz;
          proxy_pass_request_body off;
          proxy_set_header Content-Length "";
          proxy_set_header X-Original-URI $request_uri;
      }

     location @process_backend_error {
         return $backend_status;
     }
← PreviousPage 2 of 27Next →