News for hackers. Stuff that matters.

abusque

Re:A Brief History of Peanut Butter (2021) on Tuesday August 02, 2022 @09:49AM (#32318429)
I'm surprised there is no mention of Marcellus Gilmore Edson [0]. He was a pharmacist from Montréal who patented a method to make an early version of peanut butter, more than a decade before the Kellogg's patent mentioned in the Smithsonian article.

[0] https://en.wikipedia.org/wiki/Marcellus_Gilmore_Edson

Re:Dtrace for Linux on Wednesday February 14, 2018 @09:05PM (#16381399)
An option for correlated kernel and userspace tracing on Linux is LTTng. [0] For a comparison of LTTng and other tracers, check out the LTTng docs. [1]

[0] http://lttng.org/

[1] http://lttng.org/docs/v2.10/#doc-lttng-alternatives

While it's true that Google and the like benefit from closed or partially closed data ecosystems and formats, as I've pointed out in another comment elsewhere in this thread [0], they've at least been pushing for the development and adoption of linked data formats like JSON-LD and vocabularies like schema.org, and they're using both of those pretty extensively in products like search and Gmail.

It's a far cry from things like Solid's vision of a fully decentralized web of linked data, but at least it's something.

[0] https://news.ycombinator.com/item?id=16356193

I can see where you're coming from, and your point of view is certainly not baseless, but I just thought I'd point out that at least Google has pushed for the development and adoption of linked data formats like JSON-LD [0] and standardized vocabularies like schema.org [1]. They make use of it for "knowledge graph" [2] features, as well as in Gmail for what they call "actions and highlights" [3] (things like displaying flight reservation details, for instance).

[0] https://json-ld.org/

[1] https://schema.org/

[2] https://developers.google.com/knowledge-graph/

[3] https://developers.google.com/gmail/markup/getting-started

You can filter these out actually. When you go on someone's profile, and then to the "repositories" tab, there is a drop-down menu that reads "Type: All" from which you can select other repository-type filters, namely forks, mirrors, and sources (the user's own repositories).

It's somewhat imperfect as not all forks or mirrors are marked as such by github (if, say, it's a fork of a repository not originally hosted on github), but it works in the vast majority of cases.

Re:Building a NAS on Monday April 10, 2017 @05:14PM (#14082623)
That's actually a fairly common setup, known as a LackRack [0], although this one seems to be a different size/model, but maybe that's my eyes playing tricks on me.

Edit: actually now that I look back at it I'm almost positive this is the deeper lack "coffee table".

[0] https://wiki.eth0.nl/index.php/LackRack

Re:Linux Performance on Friday January 27, 2017 @10:41AM (#13500401)
I used to work at a consulting firm called EfficiOS[0], specialized in OS and application efficiency and performance. They maintain the LTTng[1] kernel and userspace tracers and related tools, and offer training. I'm not sure whether that responds to your specific needs, but if you get in touch they'll certainly be able to guide you.

[0] http://www.efficios.com/ [1] http://lttng.org/

Re:The Problem with AMP on Monday January 16, 2017 @09:42PM (#13414790)
Possibly off-topic, but the article isn't displaying[0] for me on Chromium 55.0.2883.87 (64-bit), running on Arch Linux, unless I go in the dev tools and manually remove "Fira Sans" from the font-family list in .container[1]. Not sure whether the problem is with me or the site, I'm surprised it doesn't fall-back to sans-serif before I override manually.

[0] http://i.imgur.com/qJKSvMC.png [1] http://i.imgur.com/zYDZrtr.png

Re:Firefox 50.0 on Tuesday November 15, 2016 @03:15PM (#12961762)
I don't know about Firefox or Atom, but in Chromium you can achieve that via Ctrl-PgUp and Ctrl-PgDn.
> but afaict it doesn't work at all for adding totally new files

You can use git add --intent-to-add on your new file (or -N for short), and then use git add -p as usual. You can then use the edit mode to remove hunks you don't want to commit just yet.

Not quite as convenient as on an already tracked file, but it's reasonably usable.

Re:Linux debugging tools I love on Friday July 08, 2016 @10:17PM (#12059772)
There's also LTTng which is more mature and, arguably, more powerful too (and it does userspace tracing as well): http://lttng.org/

Full disclaimer: I'm am a contributor to the LTTng project.

Which companies, if any, in the anti-virus business would you not consider as "snake oil vendors"?

I'm genuinely curious, I haven't had to deal with Windows systems for so long, I'm not well acquainted with AVG and their competitors.

Re:Introducing d3-scale on Monday December 28, 2015 @04:05PM (#10803383)
I read an article about the similarities and differences between data art and data visualisation a short while back (couple of weeks?), but I really can't seem to find it right now. Mike Bostock's visualisations, though very visually pleasing, always tend towards the functional side of the spectrum, serving a purpose of enhancing the comprehension of concepts or relationships that lie in the data, rather than being designed for purely æsthetic aspirations.

There's obviously a place for both visualisations and art, though, and the line between the two is not always clearly defined.

Re:My First Death Threat (2004) on Friday December 18, 2015 @05:39PM (#10761460)
The threatening message itself is actually from 1996.
Re:Pdfmake – PDF printing in pure JavaScript on Saturday May 30, 2015 @02:16PM (#9631149)
pdfmake is actually built on top of pdfkit.
Re:Making Python 3 more attractive on Wednesday April 15, 2015 @11:07AM (#9381428)
I wasn't aware of his stance on this specific matter. I guess I was needlessly worried, then.
Re:Making Python 3 more attractive on Wednesday April 15, 2015 @01:56AM (#9379126)
I find it somewhat unfortunate that a LWN subscriber link is being abused like that. I don't think such a link should be shared on a widely accessible platform like Hacker News. I find LWN articles to always be of great quality, and the subscription cost is definitely worth it if you can afford it. Also, "subscriber-only" content becomes publicly available after only a week. There is consequently no reason to share a subscriber link like this on Hacker News. The discussion could have waited a week.
Re:The User Is Drunk on Tuesday March 24, 2015 @11:40PM (#9261144)
There was a poster a few weeks back on here offering to test your web app on all the major ISPs/carriers in Dar es Salaam: https://news.ycombinator.com/item?id=9133792
What do you mean by GNUism?
Re:GNU Emacs conversion to Git on Tuesday November 11, 2014 @12:00PM (#8590829)
He's not really actively involved, though. He's just been on a crusade lately to eradicate unwanted VCSs still used in older projects, including CVS for NetBSD and bzr for emacs. Honestly I'm glad he's doing it, I'm hoping it might make it more likely for newcomers to contribute to these projects. He has posted quite a few articles about these conversions on his blog [0], if you want to read about it.

[0] http://esr.ibiblio.org/

Re:LTTng: An open-source tracing framework for Linux on Thursday October 16, 2014 @03:00PM (#8466774)
Well, I've never used OProfile myself, so please take this answer with a grain of salt, but from a quick perusal of their website, and as the project's name seems to suggest, OProfile is a sampling profiler, which usually means it will collect data from counters at given intervals of time, producing a number of statistics over time. This generally implies a somewhat significant overhead, and consequent performance drop.

LTTng, on the other hand, is a tracer, which means it collects events from the kernel (using the built-in tracepoint facilities) as they happen. It's also possible to trace userspace apps (with lttng-ust), or define your own tracepoints. This has the benefit of being much more detailed, and also has a much smaller overhead.

You might be interested in reading the "What is Tracing?" section of the lttng docs [0], which does a far better job at explaining this than I do.

[0] - http://lttng.org/docs/#doc-nuts-and-bolts