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

long-time java dev and did a portion of my startup on dial-up. they've been hostile to any attempt to optimize for bandwidth for a very long time - i had elaborate hoops i jumped through to implement caching that should have been baked in to the tooling

this is just chickens coming home to roost


I've been a user of the Java/Maven ecosystem for decades. Maven has had local caching of artifacts for as long as I can remember, and there are several ways to set up a private repository mirror for caching and reproducibility.


The interests of the Maven project (i.e. the Maven community), Sonatype and other actors in the space are not necessarily aligned.

But I do wonder where you had to jump through hoops? A basic Squid caching proxy should be enough at least for a pure pull-through like Maven Central. Once you have to publish stuff, okay, that is messy, you won't get anywhere with just Squid there.


what VM/provisioning are you using ?


For work, EC2. For play, the cheapest VM I could find: https://vpshostingservice.co/

They have specials every now and then.


!remindme 500 years


everything can be a moving part if you use enough hydrogen and oxygen


do you run vscode in the container ? if so, can you share your config ?

i've been trying to do this with systemd-nspawn


Easiest way to do it would be enable ssh in container and then use VSCode ssh extension. Your host VSCode “becomes” your container VSCode.

I run it natively on my rocky8 container with UI sometimes but usually just do ssh


there are dozens of us !


i'm on a mid-level laptop, at times with slow or expensive internet, running ubuntu. i want to be able to run nominally-isolated "copies" of my laptop at near-native speed

1. each one should have it's own network config, eg so i can use wireguard or a vpn

2. gui pass-through to the host, eg wayland, for trusted tools, eg firefox, zoom or citrix

3. needs to be lightweight. eg gnome-boxes is dead simple to setup and run and it works, but the resource usage was noticeably higher than native

4. optional - more security is better (ie, i might run semi-untrusted software in one of them, eg from a github repo or npm), but i'm not expecting miracles and accept that escape is possible

5. optional - sharing disk with the host via COW would be nice, so i'd only need to install the env-specific packages, not the full OS

i'm currently working on a podman solution, and i believe that it will work (but rebuilding seems to hammer the network - i'm hoping i can tweak the layers to reduce this). does microsandbox offer any advantages for this use case ?


> 1. each one should have it's own network config, eg so i can use wireguard or a vpn

This is possible right now but the networking is not where I want it to be yet. It uses libkrun's default TSI impl; performant and simplifies setup but can be inflexible. I plan to implement an alternative user-space networking stack soon.

> 2. gui pass-through to the host, eg wayland, for trusted tools, eg firefox, zoom or citrix

We don't have GUI passthrough. VNC?

> 3. needs to be lightweight. eg gnome-boxes is dead simple to setup and run and it works, but the resource usage was noticeably higher than native

It is lightweight in the sense that it is not a full vm

> 4. optional - more security is better (ie, i might run semi-untrusted software in one of them, eg from a github repo or npm), but i'm not expecting miracles and accept that escape is possible

The security guarantees are similar to what typical VMs support. It is hardware-virtualized so I would say you should be fine.

> 5. optional - sharing disk with the host via COW would be nice, so i'd only need to install the env-specific packages, not the full OS

Yeah. It uses virtio-fs and has overlayfs on top of that for COW.


any idea how the webapp is written ? eg, what libraries or framework is used


Pretty standard Next app on Vercel. Some pre-fetching. Food pages are cached post-generation. Custom go-based search server behind a Cloudflare cache. Any other questions?


this is 100% proprietary and the source code for this isn't available: https://frinklang.org/faq.html#OpenSource

i'm open to non-FOSS licenses (and advocate for and use a class of them), but in this case 1. afaict, the license offers zero rights to the user 2. for me personally, i want more rights for a language than for an app, eg mongo


they're trying to demo low-latency so they more-or-less have to be aggressive with cutting you off. that said, i think they're using filler to buy themselves a second or 2 - try a yes-or-no question


we dont use any fillers- we do some cool stuff with speculative responses though to drop a few milliseconds!

But yes- accuracy versus speed of interrupts is a tradeoff we're working on tuning. sorry to hear it was cutting you off. It could have been audio feedback or hug of death, but it shouldn't be talking over you.


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

Search: