HNHacker News
TopNewBestAskShowJobs

nycticorax

610 karma · joined March 18, 2010

submissionscomments
nycticorax··on Semantic Linefeeds (2012)
There's an xkcd about this:

https://xkcd.com/1285/

nycticorax··on Dotfile madness
Well, I know that I hate them. And I know a lot of other people that hate them. And I'm pretty suspicious of 'features' that allegedly make life easier for naive users by definitely making life harder for experienced users.

And I guess I would call it a "basic usability tenet" that the computer does what I tell it to. Documents, Music, and Videos folders violate this, because if I do the seemingly-obvious thing of just deleting them, the applications that want to use them will just recreate them unless I edit ~/.config/user-dirs.dirs. So, if developers really think they need to 'help' their 'average users' by creating these folders by default, they should finish the job and honor my desire to not use them, which I've expressed by deleting the damn things.

Also, if I want to rename them, the system should honor that. E.g. if I rename "Music" to "music", applications should not then go and re-create a "Music" folder.

Or, you know, they could just simplify my life and theirs by not creating these 'special' folders in the first place.

nycticorax··on Dotfile madness
Maybe I'm being unfair to the snap devs. But maybe not. Comments like this don't inspire confidence:

https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053...

Also, the bug was first reported in 2016, and Mark Shuttleworth himself has commented on it. And yet it's still not fixed. That gives me the impression that the devs don't consider it super-important. Which is odd to me, since I consider not doing this kind of thing to be 'table stakes' for any application that wants me to take it seriously.

> If you have an issue with default folders that are quite normal in a modern desktop environment I suggest you move back to Arch or wherever you came from and install i3 again?

Ummm, I came from Linux before they started having default Documents, Videos, etc folders. And, like I said, the nice thing is that, in Linux, I can change the XDG environment variables and delete the (IMHO) foolish Documents, Music, Videos, etc folders.

nycticorax··on Dotfile madness
I can't find "official" XDG documentation of this, but the Arch Wiki describes, for instance, the XDG_DOCUMENTS_DIR and XDG_VIDEOS_DIR environment variables:

https://wiki.archlinux.org/index.php/XDG_user_directories

It looks like maybe the "official" documentation is here:

http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.17...

But I haven't gone through that carefully.

nycticorax··on Dotfile madness
To me, the real problem is not the dotfiles, but the regular (i.e. non-hidden) files that applications surreptitiously create in my home folder. (Which the author does mention as being particularly bad.) dotfiles in the home folder are not a new thing on Linux (e.g. .bashrc, .profile, .emacs, etc.), even if it would be better if more applications used the XDG folders. And if I don't see them when I "ls", they don't bother me.

But nowadays, lots of applications seem to think it's OK to put normal files in my home folder without asking first. This is just outright barbarism. In particular, Ubuntu now seems like it's all-in on snaps, and if you use snaps, they create a non-hidden "snap" folder in the user's home folder. Madness! And when people complain, the devs have the gall to suggest that this is all fine:

https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053

I like the idea of snap/flatpak in the abstract, but until they get their act together, and stop creating non-hidden files in my home folder without asking first, I am never going to use snaps.

And of course, all this is on top of the new fashion for the OS to "helpfully" create Documents, Music, Video, etc folders in my home folder, and set the XDG environment variables to point to them. Noooooope.

But at least in that case the user can change the environment variables and delete the stupid folders. No such luck with ~/snap.

nycticorax··on Do I really need to get out the soldering-iron again?
A USB DAC+amp seems like the right answer if you don't want to break out the soldering iron and don't want to buy an Apple product. I just don't think makers of commodity hardware have much incentive to spend money on good audio circuitry. But if their USB ports didn't work, well, that would be a real problem. I have an earlier model of this:

http://www.schiit.com/products/fulla-1

that delivers good audio quality (to my non-audiophile ears). The one I have is not perfect: there's some static when you turn the volume knob (maybe a good design tradeoff at the price, I don't know), and the metal edges on the enclosure were sharp enough that I took it apart and filed them down a bit (others might not have been bothered by this, but I was). But there sure isn't any background hissing like there is with the built-in headphone jack on my Dell workstation.

nycticorax··on Economics Nobel laureate Paul Romer is a Python programming convert
Does anyone have any insight into why Paul Romer is a Julia skeptic?

In the blog post

https://paulromer.net/jupyter-mathematica-and-the-future-of-...

he says:

"Which reminds me. If you are a Julia enthusiast, how do you suppose the investors in this new language plan to make their big score?"

Also there's this:

https://twitter.com/paulmromer/status/985507319114096640

It doesn't seem like he's followed up on his threat/promise to write a blog post about why he's not a Julia enthusiast, however.

nycticorax··on Windows Subsystem for Linux is good, but not enough yet
For WSL to be perfect (for me), it would also have to have better integration with the native filesystem. This whole business where the WSL filesystem is a separate thing, hidden away in the user's AppData folder, that you can't write to using Windows tools, is a significant drawback. I dunno, I guess I don't quite get who WSL is supposed to be for. The author of this article presents it as an alternative to running Linux in a VM. Which, OK, maybe that's exactly what it's intended to be. But I still wish that MS would include something like Hamilton C Shell as a built-in part of Windows. I.e. a unixy shell that provides unixy tools, and the ability to compose them, but where the tools are designed to mesh well with the rest of Windows.
nycticorax··on Windows as a service? Now, there’s an argument for Linux
> Think that's bad? Try switching back to windows. I've found it is at least as bad, except you can't edit driver source to work around brain damage. It is like staring into the abyss.

This does not match my experience at all. I've installed both Linux and Windows on a lot of different hardware, and getting all the hardware to work under Linux is always harder. Probably partly because the manufacturer took care to make sure everything is workable under Windows, whereas Linux support was usually not even on the radar. Sure, there are plenty of annoyances on Windows, like how the Nvidia and Realtek driver installers also install a bunch of other software that you probably mostly don't need, but at least the hardware works once you're done with the driver install.

nycticorax··on LibreOffice announces new “MUFFIN” user interface concept
1. It's optional, but its existence increases the testing burden for all other parts of the application, because now there are more options to test. See here:

https://mail.gnome.org/archives/desktop-devel-list/2002-Apri...

2. Communities, like individuals, sometimes make mistakes. It's OK to voice ones opinion that a mistake is a mistake. And they are free to ignore me if they disagree.

nycticorax··on LibreOffice announces new “MUFFIN” user interface concept
Sure seems like LibreOffice would be better off investing in stability than in this sort of thing. Honestly, one of the things I like about LibreOffice is that the UI is fairly traditional. I'm all for innovation, but in my opinion most of the changes in desktop UI since about 2000 have been questionable change masquerading as innovation. Maybe I'm just old.
nycticorax··on Tim Cook assures employees that Apple is committed to the Mac
Or Ubuntu Mate 16.04, and switch to the "TraditionalOK" theme. (The default theme is, IMHO, not attractive.)
nycticorax··on The State of Mobile XMPP in 2016
This looks like a nice service, and the price seems very reasonable. Hope it works out well for you!
nycticorax··on The State of Mobile XMPP in 2016
So... in practical terms, what's the simplest way for me to get an account on an XMPP server that supports all these modern XEPs? I could maintain my own XMPP server, but I'd really rather not. Life is short, etc. Is there a reasonably-trustworthy company that I can just pay to use their XMPP server? I gather FastMail used to support this, but no longer does.
nycticorax··on How one announcement damaged the .NET ecosystem on Windows
I think your viewpoint is really wrong-headed. Since around 2001, Apple has given you pretty much a single way to write OS X apps: Objective-C and Cocoa. Yes, there was a brief flirtation with Java, but that lasted what? A year? And afterwards it was 100% clear that Objective-C was the way forward. Same thing with GC. They tried it, decided they didn't like it, and then got rid of it. No ambiguity. Furthermore, the basic structure of a desktop application has not changed much at all in the OS X era. In contrast, MS pushed C#+WinForms for a while, then moved on to C#+WPF (without really killing WinForms), then moved on to C++/WinRT (again without really killing C#+WPF). Also, none of these post-Win32 technologies seemed to get anything near universal buy-in from developers. Furthermore, the switch from C#+WPF to C++/WinRT was a profound change: If you had a WPF app, you pretty much had to redesign the whole UI when you switched to WinRT, because it's based on an entirely different way of organizing a UI.

And I say all this as someone who has mostly stuck with Windows since NT 4. Personally, I find it just sad the way they've mismanaged the developer story for the platform, starting, really, with the introduction of WPF.

On OS X, in contrast, the developer story has been pretty consistent since the introduction of OS X: Write your apps in Objective-C+Cocoa. Full stop.

Of course, now Apple has introduced Swift, and the coexistence of Obj-C and Swift does seem like it complicates the developer story. But not nearly to the extent the MS developer story has been, and continues to be, a mess.

nycticorax··on How one announcement damaged the .NET ecosystem on Windows
What are some examples of well-known desktop applications written for .net? Recent versions of Visual Studio are the only ones I know of, and those are only well-known to developers.
nycticorax··on How one announcement damaged the .NET ecosystem on Windows
Is there any evidence that desktop users want UWP applications? Given the reception of Windows 8 and MS's subsequent backtracking with Windows 10, it seems like most desktop users prefer traditional winapi applications.
nycticorax··on Why I Bought a Chromebook Instead of a Mac
This article would be better if it talked more about what applications he typically uses on his Chromebook, and talked about any downsides he's experienced. From the article, it's hard for me to tell whether my experience would be similar if I bought a Chromebook instead of a Mac.
nycticorax··on Why do we have allergies?
That was in the early 90's, when most papers were still distributed as, well, paper. Back then, someone had to build and run an actual printing press.
nycticorax··on “Extremely angry with the state of academic CS research right now”
Word is awkward for this. (At least the offline versions of Word are---I've never tried the online ones.) Word does have a "track changes" feature, which is invaluable when you have multiple authors, at least in the absence of 'traditional' source control tools. I don't think many neuroscientists have tried a LaTeX-git workflow and rejected it---I think the learning curve of LaTeX and git are steep enough that few have tried it. I myself prefer LaTeX, but I think you'll admit it also has its frustrations. And any time I suggesting using it to my neuroscience coworkers, they looked at me like I had lobsters coming out of my ears.
nycticorax··on “Extremely angry with the state of academic CS research right now”
Maybe I've drunk the kool-aid, but saying "academic institutions fetishize academic papers" seems wrong to me. It's like saying that developers fetishize working applications. It's not a fetish, it's the whole point of the thing. The output of research is research papers. Yes, sharing raw data and code are both good things, and should be promoted. But no one is going to take the time to look at either unless the paper presents good evidence for some novel result.
nycticorax··on “Extremely angry with the state of academic CS research right now”
Just adding another data point: When I was in CS grad school (late 90s), everyone used LaTeX (including the journals). Then I started hanging out with neuroscience people, and everyone (including the journals) used Word+Endnote, with basically ad-hoc treatment of the figures.
nycticorax··on The Best Linux Distros of 2016
So... The ultimate source of the breach was an exceedingly weak password? OK, I guess that does seem like a rookie mistake, which is worrisome. Sorry for the naive questions, and I apologize for my confrontational tone. But I really had read most of the referenced articles about the Mint hack (not that last one you linked to), and it was still not obvious to me that this was (apparently) incontrovertible evidence of total incompetence on the part of the Mint devs.

Also, is ryanlol a well-known hacker or something? (I had never heard of him.)

nycticorax··on The Best Linux Distros of 2016
> They basically had no effort in their security,

This is clearly hyperbole. "no effort"? C'mon.

> no idea how long they were compromised, and couldnt even respond effectively.

The hacked .iso was up for less than 24 hrs, so that puts a hard limit on the worst part of the compromise. The forum issues they fixed in a couple of days. This seems like a reasonably effective response to me.

> I was a big fan of Mint usability who reluctantly had to ditch it.

Did you really have to ditch it? Or did you just decide to go with a distro that emphasizes security over convenience? (Which is, of course, a completely reasonable thing to do, but others may make other (also reasonable) choices.)

nycticorax··on The Best Linux Distros of 2016
Certainly, lack of security can lead to lack of stability. But sometimes Ubuntu makes changes that can render your machine unbootable, in the name of security. And in some cases the Mint devs chose not to make those changes. There's nothing obviously wrong about this, it's just a different trade-off.

Your points about socket re-use and connect-backs may well be true, but they miss the larger point. How much security is enough? Your computer is less vulnerable if you air-gap it. Do you do this? Likely not, because that's inconvenient. The Mint devs sacrifice some (not much, it seems to me, but some) security for convenience. Maybe you don't like the tradeoffs they made. Fine. But saying some blanket statement like "Mint is insecure" is just silly. It's like saying "Connecting your computer to the Internet is insecure." Yeah, there's some truth to it, but it also ignores the fact that sometimes it makes sense to trade some security for convenience.

nycticorax··on The Best Linux Distros of 2016
No, I read all of the "thorough" discussion. I found it unconvincing.
nycticorax··on The Best Linux Distros of 2016
None of these statements are correct.
nycticorax··on The Best Linux Distros of 2016
It's been a while since I used Unity, but as I recall it uses a global menu (yuk), it lacks a window list (which I like), and Alt-Tab works in a per-application, not a per-window, basis. And I think it does the Mac thing where clicking on a launcher icon either activates the app or launches it. I generally want the launcher icon to launch a new window, no matter what.

It's also, IMHO, ugly as heck out of the box.

nycticorax··on The Best Linux Distros of 2016
I agree with you, that's why Canonical did what they did. It's also why Gnome 3 is the way it is, and why Windows 8 was the way it was. But to me, it feels like a huge mistake in all cases. I use my desktop all day. I want an experience tailored to the desktop, not some compromise experience that's not-too-bad on the desktop and not-too-bad on a touch device. All these orgs made this huge bet that you could make a one-size-fits-all experience, and so far I'd say the results are not promising at all. Apple took the opposite tack: have a desktop UI and a touch UI, and allow them to diverge. And that seems to have worked out pretty well for them.
nycticorax··on The Best Linux Distros of 2016
Yeah, I know about that. Certainly, not a proud moment in Mint's history, but it got resolved quickly. But I'm not going to rule out Mint just because they got hacked once. kernel.org got hacked, after all.
← PreviousPage 4 of 6Next →