Better HN
topnewbestaskshowjobs
Log inSign up

elehack

1,764 karma · joined Feb 7, 2011 (15y ago) · 257 submissions

Associate Prof., Information Science, Drexel University.

Lead developer, LensKit recommender toolkit.

Ph.D, University of Minnesota.

Submissions

31.

Building a recommender? Show it off at the ACM Recommender Systems conference(recsys.acm.org ↗)

2 points · by elehack · 10y ago · discuss

32.

The Twitter of the Three-Ton Nail(medium.com ↗)

1 points · by elehack · 11y ago · discuss

comment 11y ago · link · parent

Sakai is an open source offering that seems to be pretty good. At Texas State we use a (heavily customized, I believe) instance of it as the standard e-learning platform, and it's quite a bit better than Moodle in most respects.

comment 11y ago · link · parent

I've been teaching databases this semester, and PostgreSQL's full-text search capabilities have been wonderful for allowing my students to build search into their projects without needing to learn additional tech (we're using PostgreSQL as our database anyway).

comment 12y ago · link · parent

Jails are a FreeBSD thing. OpenBSD doesn't have them so far as I know.

comment 12y ago · link · parent

I read this book in college and was captivated. Not terribly long, but fascinating for learning how the insides of our tools work (or could work better).

comment 12y ago · link · parent

> A big one for me is keyboard input: at one point, I could use the Super key for whatever I liked, and I could easily set the right Alt key to be a Compose key. Now, there is no reclaiming the Super key from hard-coded shortcuts (Unity is even worse about this!), and the Compose key is outright missing from the keyboard settings menu.

Compose key is moved. To a non-obvious spot (if you're used to its historic location).

Settings → Keyboard → Shortcuts, the ‘Typing’ section. There's ‘Compose key’, which lets you set the compose key.

It's also in a more traditional form in Gnome Tweak Tool.

comment 12y ago · link · parent

The lack of documented software that used them to enable useful (to me) functionality.

I was using some of them, such as kvm for my virtualization and lvm for disk management. But systemd still had a substantial 'oh, wow, Linux lets process management be this easy and powerful?' factor, showing me something new that I hadn't seen in my use of any other system (FreeBSD, OpenBSD, Windows, a touch of Mac).

comment 12y ago · link · parent

Not quite.

I'm saying that systemd makes the Linux kernel's feature set and capabilities visibly usable from user-space. For (nearly) the first time, it feels like it matters that I'm using Linux.

Linux is still Linux without systemd, it just doesn't provide as much benefit (aside from device support and compatibility) over, say, FreeBSD without software that takes advantage of its feature set.

comment 12y ago · link · parent

> However, in my mind it has made several awesome things possible. My boot time got dramatically shorter when I adopted it thanks to parallelization. Besides, daemons have now simple and robust service definitions. Sys V had become a mess!

Writing daemon startup files was somehting I always dreaded, and never really did well.

Before systemd, if I needed to run services I'd try to use daemontools (for auto-restart, and logging), but then I had two service-starting services running my system. Upstart had some of the features, but was still finicky (and the versions I had available didn't consistently have good service supervision support).

systemd just fix that.

Also, with systemd, for the first time I feel like I'm really using Linux, not just a random *Nix that has adequate drivers.

comment 12y ago · link · parent

IIRC, the gpg-agent is sadly not that capable or intelligent. In theory, it should be usable for this.

In practice, I believe the agent actually just retrieves the passphrase and hands it to the requesting program, which is then responsible for actually working with the private key. So it doesn't keep your keys safely out of the hands of 'normal' programs, even though it seems like it should. Although it is somewhat confusing, and gpg-agent seems to mediate access to smartcards.

Protocol docs here: https://www.gnupg.org/documentation/manuals/gnupg/Agent-Prot...

The ssh-agent, on the other hand, does keep the key material out of the ssh client executable.

comment 12y ago · link · parent

> The research project was partly funded by NSF grants, so does that mean the public have the right to see all work related to the project?

For better or worse, no. NSF funding brings requirements for data sharing, but does not automatically trigger code availability.

43.

ACM RecSys 2014 – Call for Demos(recsys.acm.org ↗)

1 points · by elehack · 12y ago · discuss

comment 12y ago · link · parent

If it accidentally worked due to bugs/spec violations in the old OS, but is nonconformant in broken ways?

comment 12y ago · link · parent

FF uses fallback. Chrome and other WebKit-based browsers, however, do not.

comment 12y ago · link · parent

I don't have good examples of what can or cannot be done.

But I find pf much easier to understand. I can write pf rules myself and understand, clearly, what my firewall is doing. I haven't found iptables near as approachable, and depend on firewall configuration tools to generate the rules and chains for me.

47.

The awkward copyright collision of Fair Use and Creative Commons(blogs.scientificamerican.com ↗)

59 points · by elehack · 12y ago · 28 comments

comment 12y ago · link · parent

Because it improves the quality of delivery of their service (e.g. video-on-demand). The Internet user won't notice the improvement - their Internet speed would remain the same, by metering - but the actual pipe improves so they can deliver more/better video (and reap the profits from it).

comment 12y ago · link · parent

FLOSS Weekly had one of the lead OwnCloud devs on recently. Of course, he was asked ‘why PHP’. Answer: to make it possible for as many people to deploy it as possible, on commodity shared hosting (or anything better they might have).

There's basically nothing that can achieve that level of deployability besides PHP.

Hearing that reasoning helped me with some of the concerns I had about its implementation language. It sounds like they know what they are doing, and are very careful (including careful code review), they just want the software to be as widely usable as possible.

comment 12y ago · link · parent

GNU License ≠ GNU Project. Yes, (almost) all GNU software (as in projects of the GNU Project) are released under the GPL. So is a lot of other software.

GNU Foo is, branding-wise, just like Microsoft Word, Google Drive, or Apple Macintosh.

51.

Trusting Government IDs in the Web of Trust(elehack.net ↗)

1 points · by elehack · 12y ago · discuss

52.

Twitter's Open Source Code of Conduct(engineering.twitter.com ↗)

1 points · by elehack · 12y ago · discuss

comment 12y ago · link · parent

Anyone using RHEL6's built-in virtualization technology is using KVM, it's just all wrapped up in libvirt stuff. Those tools were in early development 7 years ago.

comment 12y ago · link · parent

KVM is used, a lot: it is the backbone of Red Hat's virtualization in RHEL6. Also, if you create a new VM using Gnome Boxes, you will have a KVM VM unless you go out of your way.

comment 13y ago · link · parent

How can they have legal standing for such a claim, unless one of the authors had privileged access to Wolfram Research knowledge to misappropriate a trade secret? Seems to me that the principle of trade secrets should have a clear defense for independent rediscovery, although law often fails to reflect common sense.

comment 13y ago · link · parent

Go does have a much better concurrency story, OCaml's is rather weak (as others have observed).

For the work I do (data analysis and scientific research, particularly on recommender systems, with system-building to support that), if I need concurrency, it's suitable to run the program on the JVM. So I would use Scala in that case, and OCaml would be fine for the other systems-y stuff.

I personally have taken to writing such code in Haskell these days, but that's largely to practice my FP skills in a manner that's easier to transfer back to Scala.

comment 13y ago · link · parent

It depends on what you are working on. OCaml lets you interact more closely with Unix and with C libraries, if you need that. It also has a lot faster startup time and lower memory overhead, making it somewhat more suitable for writing Unix-style programs that need to run quickly with low overhead.

I also moved from OCaml to Scala for my primary programming, and have really enjoyed it. The functional goodness on top of JVM is a major win for the kinds of things that I primarily work on these days.

When I was working with OCaml, the community was going through a lot of work on figuring out what the ecosystem should look like. This involved at least two competing standard library extensions or replacements (Batteries and Jane St. Core), growing pains in packaging & deployment, etc. The language was (and still is) nice, but I could not, at the time, invest the time into dealing with the ecosystem. Things seem to have improved a lot since then, particularly with things like OPAN emerging, but Scala is still a better fit for the work I do, and Haskell has been serving me well for command-line kinds of things. But OCaml is a fine, practical language for a lot of things.

comment 13y ago · link · parent

Not everyone has notes. When I lecture, I do so from notes, but I usually do other presentations without them. I'll likely have created an outline, but it has less information than the slides.

comment 13y ago · link · parent

Yep: http://data.linkedin.com/publications

comment 13y ago · link · parent

That's on your file system.

The HTTP protocol specifies that, if the server says a document is 'text/plain', the client must not attempt to second-guess it based on content.

IE second-guesses it based on content, so you cannot serve up something that looks like HTML as text/plain to get it to display.

Substantially worse, IMO.

That said, it'd be better to actually save content types in extended attributes or something. And make all applications magically save and respect these attributes.

12345
9