HN user

mraison

602 karma

∇.com

Posts9
Comments101
View on HN

Limit the amount Twilio can charge us

This is unfortunately easier said than done. You'd expect Twilio to let you set a max spending limit in your account settings. Instead this is what they tell you to do: https://support.twilio.com/hc/en-us/articles/223132387-Prote... (notice the PHP snippet too)

Essentially, setting up a webhook to receive alerts from Twilio, and then calling a Twilio API to suspend the account. Your webhook better be up and running flawlessly if you don't want to go bankrupt. Why can't they do it themselves?

One of the first things I do when setting up a new Mac is to enable “three finger drag”. I’m pretty sure it also removes the drag lock. You’ll have to get used to the new way of dragging things though.

Nabla | https://nabla.com | iOS, Android, Frontend, Full Stack | Full Time | Paris, France | Onsite

We're building a continuous & personalized primary care service. Our goal is to make healthcare more holistic, empathetic, precise, connected & preventive.

We're building top-notch mobile apps for people to monitor their health, and putting world-class tools & the latest ML advances in the hands of practitioners so they can make the best decisions.

Our current tech stack: Swift, Kotlin (both Android and back-end), TypeScript + React, Python (for ML).

Engineering quality + boring tech + quick iteration = great products

Hiring process: technical screen + half-day interviews (includes coding) + arrange a day onsite if we can so you can meet the team

Apply via https://www.nabla.com/careers/

Very happy about this move. Nuclide’s remote development capabilities were way above anything else I’ve tried (Sublime, IntelliJ Ultimate, VSCode, remote SSH mounts, etc).

It’s the only solution I’ve found that really allows you to browse the remote filesystem as smoothly as you would with your local drive (including when you’re also changing the remote files outside the IDE), degrade functionality as needed when the connection isn’t great (using caching appropriately), and immediately recover when it comes back. The only cost to pay was a bit of setup server-side (installing watchman and opening a port, if I remember correctly). I really hope they can bring the VSCode experience to the same level!

the issue is the total emissions under the control of any one government

Total emissions definitely matter (no need to give speeches in Palau even if per-capita emissions are much greater than in the USA), but considering this number without regard to the population size is completely unrealistic and insensitive.

For China's overall emissions to get to the same level as the USA, that means a Chinese citizen would be expected, on average, to emit less than half of what a US citizen emits.

Would you expect a Chinese citizen to only eat half of what a US citizen eats, just because there are more people in their country ? Of course not.

China's trend is dramatically upwards because a big chunk of the population is still getting out of poverty. Of course CO2 emissions are increasing.

I assume you're looking at overall CO2 emissions rather than per-capita emissions.

The page you linked shows fossil CO2 emissions per capita:

China: 7.7t CO2/cap/yr

USA: 15.7t CO2/cap/yr

Denver seems like a good place to give a speech.

Of course, country size does matter, but it's unfair to simply compare total emissions when there's such a huge difference in population size.

Definitely depends on the platform. On Linux it's probably great, but on macOS at least, I've yet to see a GTK app that doesn't feel super clunky. GTK breaks lots of expectations about how things should behave on macOS (shortcuts, standard menus, buttons, etc). Gimp or Inkscape are good examples. On the other hand those are examples of what a "native" app is expected to look like:

https://www.sketch.com

https://paw.cloud

https://www.pixelmator.com

Note that the apps above are not implemented with Qt or Electron either, they use the official Apple frameworks.

TeX Live 2019 7 years ago

If you just want to compile a TeX document without drowning your hard drive, I heavily recommend Tectonic (https://tectonic-typesetting.github.io/en-US/), which behaves more like a typical development tool.

On macOS:

    brew install tectonic
    tectonic mypaper.tex
This will automatically download the exact set of packages needed to compile the paper, and cleanup any intermediary files generated during compilation. And it's trivial to upgrade and uninstall.

I will really miss the remote development experience. It didn't get a lot of visibility because Nuclide's scope was much broader. It was also a pain to setup (compiling Watchman from source on Linux servers...) but after the initial setup it was way better than anything else out there (FUSE mounts, rmate, etc). Hopefully VSCode will get there soon.

Normally I wouldn't be bothered, but in this case I saw people being misled into thinking Nvidia did this work. Given Nvidia publishes a lot at computer vision conferences, there's a higher than usual potential for confusion.