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

having a local simulator (DynamoDB, Spanner, others) helps me a lot for offline/local development and CI. when a vendor doesn't off this I have often end up mocking it out (one way or another) and have to wait for integration or e2e tests for feedback that could have been pushed further to the left.

in many CI environments unit tests don't have network access, it's not purely a price consideration.

(not a turbopuffer customer but I have been looking at it)


> in many CI environments unit tests don't have network access, it's not purely a price consideration.

I've never seen a hard block on network access (how do you install packages/pull images?) but I am sympathetic to wanting to enforce that unit tests run quickly by minimizing/eliminating RTT to networked services.

We've considered the possibility of a local simulator before. Let me know if it winds up being a blocker for your use case.


you pull packages from a trusted package repository, not from the internet. this is not rare in my experience (financial services, security) and will become increasingly common due to software supply chain issues.

> how do you install packages/pull images

You pre-build the images with packages installed beforehand, then use those image offline.


My point is it's enough of a hassle to set up that I've yet to see that level of restriction in practice (across hundreds of CI systems).

Look into Bazel, a very standard build system used at many large tech companies. It splits fetches from build/test actions and allows blocking network for build/test actions with a single CLI flag. No hassle at all.

The fact that you haven't come across this kind of setup suggests that your hundreds of CI systems are not representative of the industry as a whole.


I agree our sample may not be representative but we try to stay focused on the current and next crop of tpuf customers rather than the software industry as a whole. So far "CI prohibits network access during tests" just hasn't come up as a pain point for any of them, but as I mentioned in another comment [0], we're definitely keeping an open mind about introducing an offline dev experience.

(I am familiar with Bazel, but I'll have to save the war stories for another thread. It's not a build tool we see our particular customers using.)

[0]: https://news.ycombinator.com/item?id=46758156


it depends on the airport and airspace. it's not required everywhere.


Sure but that probably wouldn't affect rich people. Rich people would be flying to LA, NYC, Chicago, Seattle, Dallas, etc. Big metropolitan areas.

I think those areas would probably need air traffic controllers.


yeah all the major airports are class B and they need atc at jet cruise altitudes.

there are uncontrolled airports with runways large enough for jets.. like Alpine Wyoming.


No one rich enough flying what the average person would consider a "private jet" or private plane would be flying VFR from uncontrolled airport to uncontrolled airport. The "ultra rich" are not puttering around in single-engine Cessnas


not going to argue with that, there were single engine comments on the thread though.


mirrors can be configured in dockerd or buildkit. if you can update the config (might need a self-hosted runner?) it’s a quick fix - see https://cloud.google.com/artifact-registry/docs/pull-cached-... for an example. aws and azure are similar.


Hmm yea with a self hosted runner this could work. Gotta need to set the dockerd config into the VM before the runner starts I assume - unfortunately GitHub itself does not allow to change anything for the prepare stage - and it's a known issue for 2 years at least...

https://github.com/actions/runner-images/issues/1445#issueco... https://github.com/orgs/community/discussions/76636


this already exists, many apps use it. I do wish it was mandatory for _all_ apps to use it instead of being optional.


iOS (and Android) could also replace the non-privacy-respecting one with a privacy-respecting one that just gives dummy responses to other API calls. Devices should be lying on my behalf to apps and services all the time.


https://www.tindie.com/products/will123321/fourthirdeye-v10/ and a few other third party options have been available.



there are tags for this but I don’t see it used much around here, see https://wiki.openstreetmap.org/wiki/Key:check_date as a starting point


this is a common enough need that

  out geom
does a similar operation in fewer characters


It doesn't do exactly the same thing, it inserts the lat/long into the parent instead of returning the nodes. Often doesn't matter, but it does if you are using a library that is expecting osm xml.


most dairy cow meat is used for hamburger, it's rarely sold as steak or roasts.


it's also possible to have more than one microservice in a single repo. defining good interfaces is a problem unsolved by repo size and count.


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

Search: