This is a very concise overview! I have made a small example chat app [1] to explore two interesting aspects of gleam: BEAM OTP and compilation to javascript (typescript actually). If anyone is interested...
Yes, fly.io allows you to expose a UDP port. See the fly.toml [1] in the repo. Make sure the tailscale port is pinned [2] to the exposed port (41641 in that case).
I just tested it again and the connections are made directly (after the first 2,3 packages go via DERP):
tailscale ping fly-ams
pong from fly-ams (100.96.123.32) via DERP(ams) in 15ms
pong from fly-ams (100.96.123.32) via [2604:1380:4601:d605:0:6c3b:eed5:1]:41641 in 12ms
tailscale status
100.96.123.32 fly-ams patte@ linux active; offers exit node; direct [2604:1380:4601:d605:0:6c3b:eed5:1]:41641
100.101.54.36 fly-hkg patte@ linux active; offers exit node; direct [2605:4c40:95:4eed:0:40f0:67b1:1]:41641
Tailscale builds a mesh, where the participants can communicated directly, so it's common for all nodes to be behind a FW that does NAT. There is a very interesting blog post from tailscale about all the trickery they pull to reliably deal with NAT: https://tailscale.com/blog/how-nat-traversal-works/
> The Tricky Business of Democracy - For its prestigious electronic voting project, Swiss Post is relying on technology provided by the Spanish company Scytl. But reporting by Republik shows that the e-voting market leader has misused EU funds, bungled elections and encountered security problems during voting.
I turned away from the mac, first because the HW, second because prop. software is creaping me out more and more. I bought a lenovo T480 (big battery, higres screen, good keyboard, only the trackpad is shitty) and I installed the shiny ubuntu 18.04 and I have to say, it's the best setup I ever used. It's super stable, with some tweeking(https://github.com/erpalma/lenovo-throttling-fix) it's crazy fast, 7h+ battery life when doing web development. Even the LG UltraFine works great under linux. I never regretted it.
> I bought a lenovo T480 (big battery, higres screen, good keyboard, only the trackpad is shitty) and I installed the shiny ubuntu 18.04 and I have to say, it's the best setup I ever used.
If by hires screen you mean WQHD, I am wondering what you do with absence of proper fractional scaling support by desktop environments (and how workarounds interact with external monitors).
Former macbook pro user here. I currently use a T480 with the 72wHr battery. Web Development and programming I pull about 20+ hours of battery life. Using i3wm under Fedora.
I got the one with the MX150 dGPU, because there was no other option from the students program I bought it from. But I personally would go for the one without a dGPU. Even-tough the dGPU version uses 2 heatpipes, there are thermal issues. As soon as the GPU hits 70°C, the cpu-package gets power throtteled to 5W... so it's not usable for graphic intense workloads. I would choose the one without the dGPU, manually buy and install the 2heatpipe cooler for better CPU temperatures and use a eGPU if I really needed the power. For the time being I just disabled the dGPU under linux with bbswitch. I'm still able to watch 4K movies with 60fps, no problem.
Wow, what a shame. How is this even possible? A Macbook Pro 15" has a 45 Watt TDP CPU and is half as thick but throttles less? The new Macbook Pro has two extra cores and I could use the graphic cards as well. Switching graphic also works where in Linux it does not. Taking into account that resale value of Macbook Pros the price difference is not so big.
[1]: https://github.com/patte/gleam-playground
reply