368 karma · joined November 12, 2009
https://www.tomn.co.uk/
https://github.com/tomjnixon
I'm a bit surprised to find that it works with Firefox; I generally prefer to configure proxies where possible as tsocks is a horrible (albeit very useful) hack.
At a low level, that's exactly what modern CPUs do.
I did have one percieved speed problem, but this scons calculating file checksums to see if it needed to re-build targets; this is usually a good thing, but if you're working with large files it might be better to use the MD5-timestamp Decider instead.
Whether or not this buys you any extra security, I'm not sure. In reality I don't think many users check maintainer keys when asked if they want to trust them, but they could.
At least on systemd based distributions (tested on arch), running
journalctl -fu NetworkManager
will show you the live logs of NetworkManager interleaved with the logs of it's subprocesses; this has lots of juicy information that i've found quite usefull for debugging.I've been working on something recently using modern OpenGL though, and i've found it a lot more manageable. Because there's no longer a fixed pipeline -- you have to write your own shaders to be able to do anything 3D graphics related, the pltform is vastly simpler, to the point of being relatively easy to understand, if still a little complex to use.
The API is still quite crusty; there's little in the way of abstraction, and you often have to make quite a few calls to do simple stuff, but it's conceptually a lot cleaner.
Maybe it would have been better without sound, but calling something "awful" or of "poor taste" just because you don't like it is a bit much, especially for something as subjective and personal as musical taste.
It works quite nicely after that (Firefox on Linux).
Headphone jacks tend to have a capacitor in-line with the output terminals to get rid of any DC bias -- this can cause problems like battery drain, lots of noise when you plug headphones in, and damage to the driver coil of headphones -- not good!
I like to think of a capacitor like a shock absorber, with the length of the shock absorber being like the voltage it's currently storing. If you push on one end of a shock absorber, the larger the force (current), the larger the rate of change of voltage (length), so this analogy might be useful.
Imagine holding on to one end of the shock absorber while someone else tries to move it back an forth at a given frequency. If they try to move it back and forth slowly, the maximum force (current) is going to be low, and so the total energy will be low and you won't get shaken much -- the shock absorber will just change length (voltage).
If they try to move it back and forth quickly, the force (current) will be much higher, and so you can extract a lot more energy from it.
I believe it's the same reason portable devices have poor bass response.
In that case, I would probably turn the whole thing into a case on "unitpropagate s", and get rid of the outer where, but my advice is clearly best taken with a pinch of salt.
Anyway, nice work! A few comments on the Haskell:
- Line 16 isn't necessary; that if/then/else is handled by the previous case.
- You can change line 16 to "dpll s@(SolverState f r) =". This both pattern matches the argument (so binds f and r), and binds the whole argument to s. This allows you to remove lines 26 and 27.
- Line 22 can be written as "let n = negate l". Further, that entire do block is unnecessary -- you could replace the whole thing with a let or a where if you liked.
I swear the entire UI of Vim is made to make the user feel like a ninja.
The most most useful Vim trick I've seen recently is "set relativenumber". This makes Vim show line numbers relative to the current line. This is awesome, because it lets you easily jump to any line you can see. eg. you can get to a line marked "9" above the cursor by pressing "9k".
It can be slightly tricky to get used to if you're used to absolute numbers (have to use gg more), but for me it's worth it.
https://github.com/tpope/vim-fugitive
The last five vimcasts go through what this plugin can do, and are really worth the time:
Thinking rationally, being shy about our bodies doesn't really make sense -- are there any logical reasons why nudity isn't ok?
Although this would be bad for the community (people need to see the low-point articles for them to get voted on), you could have a page that sorts all stories by number of points, and allows you to remove them either by clicking on them, or marking them as uninteresting. It would solve the 'problem' of missing articles when I'm away at least.
I guess you could have some kind of mix of new and highly voted articles, which could be interesting?