HNHacker News
TopNewBestAskShowJobs

mcjiggerlog

2,524 karma · joined January 28, 2014

mail: hn at tomjwatson.com

x.com/tom_j_watson

github.com/tom-james-watson

submissionscomments
mcjiggerlog··on Google announces Pixel 5, Pixel 4A 5G, and Pixel 4A
Of course it's $100 more in Europe (389 EUR = 456 USD). Still, very tempting.
mcjiggerlog··on Brexit fuels brain drain as skilled Britons head to the EU
By "naturalization" I was referring to the fact the article is talking about people getting passports. You can't get a passport unless you've lived there for a substantial amount of years.
mcjiggerlog··on Brexit fuels brain drain as skilled Britons head to the EU
I think by definition if you are able to naturalize then you haven't moved over recently.

As you say, I think way more significant will be the numbers of EU citizens resident in the UK deciding to leave.

mcjiggerlog··on Double Entry Accounting for Developers
"GnuCash" was the first thing I looked for when I opened this thread. This application is an absolute godsend and I'm not sure why it's not more popular with developers. It takes some getting used to / setting up, but once you understand how it works it will revolutionize the control you have over your finances.
mcjiggerlog··on Pinebook Pro longer term usage report
On a Windows that would render at 125% or 150% scaling. 1080p on a 13" screen is actually quite small. Even on my 15" laptop with a 4K screen at 200%, which is equivalent to 1080p at 100% in terms of scale, I find everything feels tiny.

Fractional scaling does not have to be only for super high res screens.

mcjiggerlog··on Vue v3.0.0-RC.1
It looks like Vue 3's single file components share quite a lot in common with Svelte.

As someone who has mostly only worked with React over the past few years - can anyone shed any insight on how they compare? Advantages/disadvantages?

From a cursory look it looks like Svelte's greenfield approach has led to cleaner code, though it might just be my React experience speaking.

mcjiggerlog··on Libtorrent adds support for the WebTorrent protocol
Pretty much this. The code runs as an extension - it registers the protocol handler in the extension's background script. That means the code for webrtc has no need to run in a service worker.
mcjiggerlog··on Libtorrent adds support for the WebTorrent protocol
A while back I built out a proof-of-concept distributed web based on webtorrents - https://github.com/tom-james-watson/wtp-ext. Once this change makes its way into popular clients, it makes the idea a whole lot more viable.

Unfortunately it looks like Mozilla's interest in the distributed web died when they made redundant the main stakeholders in the project last year - https://github.com/mozilla/libdweb/issues/109.

mcjiggerlog··on How Did Vim Become So Popular?
Not that specific example, but you'd really be surprised by how useful some of these things are. For example you can do a `di[` to delete everything inside an array. Or `ci"` to replace everything inside a string.
mcjiggerlog··on Onivim 2: Lightweight, Modal Code Editor
You can have all that in vim - it just takes some set up.

syntax highlighting: https://github.com/sheerun/vim-polyglot

completion: https://github.com/neoclide/coc.nvim

file browser: https://github.com/preservim/nerdtree

how to install these plugins: https://github.com/junegunn/vim-plug

mcjiggerlog··on How to create a video call application with WebRTC
I have some experience in this from developing https://p2p.chat a while back.

As others have mentioned, building a simple project is fairly simple. The difficulty comes when you want to scale to more than ~4 users without the app becoming unusable. Adjusting audio/video constraints to ensure that you get optimal media streams is quite difficult, also. Nevermind dynamically tweaking them!

mcjiggerlog··on DuckDuckGo was down
Looks like it's back up now!
mcjiggerlog··on First Krita Beta for Android and ChromeOS in Play Store
Every other app treating the tablet like a mouse is the normal and desired behaviour. As others said, Wacom tablets on linux should just be plug and play. I literally just plug it in, open krita and start drawing. Big difference from the literally hours I spent on macOS trying to find the right drivers for this older model.

I would add that I did have some issues with the Flatpak version of Krita where the tablet didn't draw as expected. Replacing it with the standard deb from apt repositories fixed that though.

mcjiggerlog··on Siri, What Time Is It in London?
For written times, no. If you're arranging to meet a friend you'd write "see you at 2030", but you'd say "eight thirty" out loud.
mcjiggerlog··on Ask HN: What's your quarantine side project?
I built an emoji picker for linux - https://github.com/tom-james-watson/emote.

I was frustrated there didn't seem to be any decent desktop-agnostic solutions that work in all apps, so I decided to give it a go myself.

mcjiggerlog··on Tmux for Mere Mortals
Nice to see somebody else go through the exact same thought processes I did - there's no need for tiling when everything other than the terminal is fullscreened on its own workspace. 2D workspace grids are crucial to this flow though, which is sadly something that seems to be slowly being removed from most desktop environments. I can recommend https://extensions.gnome.org/extension/1485/workspace-matrix... for Gnome.

My tmux bindings are also different, but the logic behind them is the same. Mine are available here - https://github.com/tom-james-watson/dotfiles

mcjiggerlog··on Ubuntu 20.04 LTS (Focal Fossa)
If you only ever want to use the laptop's screen then you can indeed run the X1E on the intel gpu only. Unfortunately the display ports are hardwired to the discrete gpu so you need run the nvidia chip in that case.
mcjiggerlog··on Apple acquires Dark Sky
Another great option is Klara - https://play.google.com/store/apps/details?id=org.androworks...

Great information density, clean interface and has by the far the best widget of any weather app I've seen. It manages to display so much information with graphs without being visually overloaded.

mcjiggerlog··on Austria to make basic face masks compulsory in supermarkets
Asian countries already have a culture of wearing face masks in public. I imagine they already have the supply chains set up whereas America is needing to either import or build up the production capacity.
mcjiggerlog··on Server-Side Only React with Next
In the way it's being used here it is rendering out every page to a bundle to be served as a static site - there is no server side rendering to speak of really.
mcjiggerlog··on Things about the new Firefox browser for Android
Scheduled for Q2 - https://github.com/mozilla-mobile/fenix/issues/3481
mcjiggerlog··on Show HN: Camp Fire – chat with people within a radius
username: <script type="text/javascript">alert('oh oh')</script>

Oh boy... How long till someone loads a cryptominer on everyone's machine?

Also, for kicks: https://i.imgur.com/wHq8nrb.png

mcjiggerlog··on Show HN: Camp Fire – chat with people within a radius
On ubuntu 19.10 I get:

    Error when getting location: 2 Unknown error acquiring position
mcjiggerlog··on Nuclear power is the only green solution (2004)
Well nothing in this universe is 100% demonstrably true, yet we still must take an evidence-based and scientific approach to making energy policy decisions. The evidence says that the current management process is working. There is no evidence to say that the current process will stop working. We cannot paralyze ourselves with unfounded fears of future unknowns. What we do know is that there is plenty of evidence to say that there are going to be catastrophic consequences should we not clean up our energy production, and currently there is no 100% low-carbon solution that does not involve nuclear.

I'd likewise recommend you read this for a contrasting viewpoint from the same publication: https://www.forbes.com/sites/michaelshellenberger/2018/06/19...

mcjiggerlog··on Nuclear power is the only green solution (2004)
Yes, I consider storing something in a way that is a demonstrably secure as feasibly possible "safe", regardless of the timespans. Especially when compared to the alternative, which is fossil fuels spewing their waste straight into the air.

And a better analogy would be that what anti-nuclear folk are arguing is like saying we shouldn't go to space at all because there's radiation there.

mcjiggerlog··on Nuclear power is the only green solution (2004)
> Nuclear does not scale

Tell that to France, who have been sourcing the vast majority of their energy from nuclear for decades and, other than territories with the geography to support large amounts of hydro, are the only country to ALREADY have a low-carbon, stable energy supply.

So, instead of opting for a low-carbon solution which is already in place and proven to work, we want build renewables alone, depending the on decades-away storage technology needed to stabilize their intermittence. In the meantime, we either back renewables with nuclear, or we back them with fossil fuels. They are your options.

mcjiggerlog··on Nuclear power is the only green solution (2004)
Nuclear waste is not "dumped". It is stored under the strictest safety regulations possible. It is the only energy source where 100% of the waste is captured and securely managed. Yes, even renewables create unmanaged waste.

Nobody has EVER died from nuclear waste, whereas millions (www.who.int/airpollution/en/) of people a year are estimated to die from the effects of fossil fuel waste.

mcjiggerlog··on Rust Lang in a nutshell
Looks like it's down.

Webcache version - https://webcache.googleusercontent.com/search?q=cache:SHrbch...

mcjiggerlog··on Scotland to use 100% renewables on time to host 2020 climate summit
It was a typo, it was 53.2% for wind + hydro. Biomass I refuse to count as it is absolutely awful for the environment. Nuclear is not technically renewable either.

Regardless, I agree that getting fixated on the "renewable" label is not particularly productive. What matters is "zero-carbon".

mcjiggerlog··on Scotland to use 100% renewables on time to host 2020 climate summit
This is somewhat misleading - it appears to be offsetting energy exported when there's particularly good conditions for renewables against times when there's not. In reality they are still both burning some fossil fuels and importing energy from countries that are burning fossil fuels. What really should matter is the carbon intensity of both electricity production and consumption.

In terms of hard numbers for Scotland, their carbon intensity is 59 gCO2/KWh (https://www.carbonintensity.org.uk/), which is actually pretty great. You can compare against other countries here - https://www.electricitymap.org. Here's the current breakdown of their electricity production:

Wind: 36.5%

Nuclear: 31.1%

Hydro: 16.7%

Gas: 13.5%

Biomass: 1.4%

So right now they are 52.2% renewable energy. Presuming they are running renewables to capacity, this low carbon intensity figure is actually being kept low due to the fact they are sourcing a third of their load from nuclear. Should the Scottish government phase out nuclear as they are currently planning (https://www.gov.scot/policies/nuclear-energy/), then we can expect this carbon intensity to rise as gas is used to pick up the base load when conditions for renewables aren't favourable.

← PreviousPage 5 of 17Next →