Better HN
topnewbestaskshowjobs
Log inSign up

widdma

154 karma · joined Jan 24, 2014 (12y ago) · 58 submissions

[ my public key: https://keybase.io/dhorsley; my proof: https://keybase.io/dhorsley/sigs/yUzNRc1vjPaeXUmb8jDThvrIqE6G9IvqKfUaXS1GtpY ]
Submissions

comment 2y ago · link · parent

> given that Australia does daylight savings time

DST varies by state in Australia. Western Australia (UTC+8) does not observe DST.

comment 4y ago · link · parent

It's worth pointing out AEMO's demand is for the grid, and residential solar typically does not show up on the grid. OpenNEM[1] uses estimates of residential solar to approximate the full load.

[1]: https://opennem.org.au/

comment 6y ago · link · parent

Nice article, thanks. For anyone interested in the topic, I highly recommend Trefethen's Approximation Theory and Approximation Practice. It's approachable, intuitive, and fun while still covering a lot of technical detail.

comment 8y ago · link · parent

Yup, and make dirty power more expensive with a carbon tax.

comment 8y ago · link · parent

This is exactly what is already done! On Earth at least. Radio telescopes around the world observe (mostly) quasars to perform geodesy. This is the main method used to measure the Earth Orientation Parameters which is need for keeping GPS/GNSS calibrated.

With it, you can measure distances of several thousand km with a precision on the order of a few millimetres. The problem is that it's really expensive compared to GPS: at each site you need a reasonably size telescope, atomic clock, some serious storage, and a way to ship all the data to a central cluster.

comment 8y ago · link · parent

PyPy is written in RPython, which can be compiled to C. PyPy itself emits machine instructions like a regular JIT interpreter.

comment 9y ago · link · parent

You can enter passthrough mode in Vimium with "i"

comment 9y ago · link · parent

True, perhaps the author meant rationals.

comment 9y ago · link · parent

I think if he did have mental health problems, like many others in the field, it's now more than ever to raise the point. If he didn't it doesn't hurt to raise the issue, because it is genuine.

If you suffer from anxiety and/or depression, there is help. Talk to someone. You're not alone, and you don't need to suffer alone.

comment 9y ago · link · parent

If you're after something lightweight, similar enough to be vim to be useable, and lua built-in checkout vis: https://github.com/martanne/vis

The structural regular expressions are also pretty interesting.

comment 9y ago · link · parent

Every number has an infinite decimal expansion.

1 = 0.999... 1/2 = 0.49999...

etc.

In some ways it's a property of the representation, not something intrinsic to the number.

comment 9y ago · link · parent

Pi isn't an infinite series, it is just a number. Sure, it can be represented as an infinite series, but so can any number! (Eg. 1 = 0.999999...)

comment 9y ago · link · parent

This release introduces Project Treble with the goal, I believe, of fixing this exactly this problem.

comment 9y ago · link · parent

For contex, Ross Ihaka is one of the original authors of R. This date back to 2008. Also see Ross Ihaka's 2010 paper: https://www.stat.auckland.ac.nz/~ihaka/downloads/JSM-2010.pd...

comment 9y ago · link · parent

Since Python is an interpreter, it keeps a dictionary/hash table of the local and global variables. These can be accesses by the functions `locals()` and `globals()`.

`a = ... ` can be thought of as `locals()["a"] = ...`

(although you can should not actually modify the local variables this way)

comment 9y ago · link · parent

> Different regions have dramatically different average commute times which don't directly correlate with population. Thus disproving your point.

Average commute time is not the desired metric here, see Duranton and Turner[1].

[1]: http://www.brown.edu/Departments/Economics/Faculty/Matthew_T...

comment 9y ago · link · parent

The slight curve to usually straight letters like 'v' and 'k' reminds me a bit of of Inconsolata. I really like this touch and makes a monospaced font flow. Is it also using Spiro splines?

comment 9y ago · link · parent

> Not at all! Happiness _is_ correlated to shorter door-to-door time, but higher speed does not equate to shorter times if the distance grows as well.

Exactly! This is also related to the The Fundamental Law of Road Congestion: building new roads just allows people drive more. (See Duranton and Turner.)

You can view this as an equilibrium. People will prefer uncongested roads until they become congested.

Surprising, yet simple when it's pointed out.

comment 9y ago · link · parent

A problem I'd like to see a good solution to is selection bias. Unless there is some kind of reward, only people that really care are likely rate something

I think Netflix's move might help this. It certainly lowers the cost rating.

comment 9y ago · link · parent

3D plots can useful when the data is intrinsically 3D. But forcing a 3D plot on 2D data, like a pie chart, makes it hard for a viewer to develop an intuition for the data.

comment 9y ago · link · parent

I'd second the PGFPlots recommendation. Easy to create plots by hand or you can use matlab2tikz (mentioned but dismissed in the article) if you're coming from matlab.

I'd also second the latexmk recommendation!

comment 9y ago · link · parent

I found matlabl2tikz to be superior to plot2latex. I did my honours thesis with plot2LaTeX+inkscape and my PhD one with a matlab2tikz, so I've had a fair experience with both.

I have created some high quality, complex plots out through matlabl2tikz with no problem. I haven't had the issues the author notes and I'd suggest they file a bug report. The m2t community is active and friendly.

The other bonus of m2t is you can edit the files in PGFplots, which is a powerful and complete language/library. For my use case, it was important that my plots be repeatable, so manually doing it with Inkscape would be tedious. Having easily editable source code allowed me to write scripts to filter the output to what I needed.

The one problem I did find is that pgfplots can be quite slow. This isn't m2t's fault though and can be overcome with TikZ's cache system.

Disclosure: I wrote the path simplification in matlab2tikz, but nothing else.

comment 9y ago · link · parent

PulseAudio is pretty good these days and typically works out of the box for most need. Per app volume is an amazing feature and switching sinks is a breeze. I often play music on my stereo (mobo sound card) and game audio on some headphones (audio over hdmi through monitor). Being able to switch them around live is great.

However, like systemd, PulseAudio large and opinionated so it's not everyone's cup-of-tea.

comment 9y ago · link · parent

iTerm2's killer feature that I haven't seen in any Linux terms yet is tmux integration. Being able to treat a remote tmux session like a local terminal session — including tabs, splits and windows — is fantastic.

comment 9y ago · link · parent

> Google should not be prohibited to discriminate or censor search results[...]

You're right, filtering results would be a concerning step. I guess this is why they've added a fact check tag rather than a filter. I think it's a good solution.

But then again, free speech doesn't mean you have the right to have your results shown on the first page of Google. If they change their algorithm to preference articles with fact checking, is it the same as someone refusing to make a wedding cake for two dudes?

comment 9y ago · link · parent

Video here: http://video.fosdem.org/2017/H.1302/ (go_state.*)

comment 9y ago · link · parent

The story is that Knuth chose '$' to denote math mode because math typesetting at the time was prohibitively expensive.

comment 9y ago · link · parent

Yeah, fair enough. On MacTeX or texlive on Arch, it usually takes me a few iterations of `tlmgr install` runs before I have everything I need. "collection-fontsrecommended" is usually the (meta) package I install these days.

I wish texlive would move to rolling updates, or at-least make distribution upgrades easier.

comment 9y ago · link · parent

LaTeX itself isn't over 2GB. The complete texlive distribution is about that large, but that's everything and the kitchen sink.

You can install a small base which comes in ~150mb, then add packages as you need.

12