Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper

170 karma · joined Dec 5, 2014 (11y ago) · 81 submissions

Submissions

comment 11y ago · link · parent

> This page works best in Megacorp (c) Browser!

I thought we were past this sort of thing, no?

comment 11y ago · link · parent

> but in practice it should always be combined with a calibration algorithm (which add a trivial O(n) cost to the process).

Why not just use logistic regression at this point? The only benefit of Naive Bayes over logistic regression is that Naive Bayes is simpler to code.

comment 11y ago · link · parent

No, not quite. _All_ classification algorithms use "reasoning on the average". (A.k.a. "statistics".)

Naive Bayes is a poor classifier because it ignores conditional dependency: when having feature A raises the odds, having feature also B raises the odds, but having features A and B together lowers the odds.

comment 11y ago · link · parent

systemd depends on Linux-only kernel features. (Like cgroups.)

You'd have to patch the FreeBSD kernel first to be Linux-compatible.

comment 11y ago · link · parent

> I mean, hijacking system logging? What could possibly justify doing that in an init system?

DBJ's /service also hijacks logging. In fact, every decent init system hijacks logging -- you want your init to daemonize processes, and when you daemonize a processes you want its stdout to get logged properly.

comment 11y ago · link · parent

Every human language is 'tonal', i.e., uses tone for some significant purpose. Some languages also happen to use tone at the phonemic layer of perception. This is a minor difference. Does it surprise you that vowel length in English is phonemically significant? Probably not. Why should a phonemically significant tone be any more surprising?

comment 11y ago · link · parent

Yes, constexpr in C++.

comment 11y ago · link · parent

Programmers hate being held accountable, yes. (This is logical given that they control so few of the risks.)

But in the end, accountability is the reason why you're being paid that salary, not knowledge of framework APIs or algorithms.

Embrace that responsibility and process, don't fight it.

comment 11y ago · link · parent

Instead of making yet another slightly different Helvetica, maybe somebody should make an effort to make a font that renders Latin, Cyrillic and Greek in a unified style without glaring errors. (As far as I know, there's only one font that does this correctly, and it doesn't support anything but Latin and Cyrillic.)

How about a font that renders Latin, Cyrillic, Greek and Hanzi correctly? Why do I have to install a special 'Chinese font package' in 2015?

comment 11y ago · link · parent

> what do you really need floating point numbers for?

For representing real (i.e., potentially irrational or transcendental) numbers. Irrational and transcendental numbers are actually very common in nature.

But you're right that representing rational numbers with floating point is stupid.

Instead of inventing new one-size-fits-all coding schemes, people should focus instead on making the idea of a rational number type mainstream.

This wouldn't even be an issue worth discussing if popular programming languages and DBMS's supported rational numbers.

comment 11y ago · link · parent

> he criticizes all of machine learning as simply unprincipled revival of nonparametric curve estimation

He's right. 'Machine learning' is just statistics with better, cleaner names for things. The underlying theory is the same.

(The commenter below says that 'statistics explains, ML predicts', but this isn't really true. Both statistics and ML build models, whether you use these models for prediction or explanation is up to you.)

One problem is that the 'statistics' as usually taught in a college course or explained in a textbook comes from a much earlier age, before supercomputers were available to the average man; in essence, it's like a kind of machine learning as done by paper-and-pencil. In contrast, 'ML' assumes from the start that computing resources will be available.

comment 11y ago · link · parent

> terminals are old crusty awful things

Not really, they're just poorly documented. They're based on ad-hoc standards that are scattered across many outdated documents.

It'd be nice if somebody could actually pull all that together and publish one comprehensible document that is readable and up-to-date.

comment 11y ago · link · parent

I've managed to make it so my memory use is completely deterministic -- no garbage at all.

comment 11y ago · link · parent

> There are probably other interesting properties you can gain by sacrificing Turing-completeness as well.

Not the author, but I wrote another sub-Turing language. In my opinion, there's two useful properties: a) type inference -- you can infer the type of the whole program b) you can infer memory use and thus avoid the need for garbage collection or manual memory management. Both properties are very useful for performance, of course. :)

comment 11y ago · link · parent

Cool!

Another sub-Turing language is my own 'tab', (https://bitbucket.org/tkatchev/tab), a text processing language/utility.

'Tab' was born out of a practical need to process text files in a manner similar to SQL statements, so the focus is different from research languages.

Hope the trend catches on, sub-Turing languages are cool.

comment 11y ago · link · parent

If that sort of thing interests you, also check out my language 'tab' (https://bitbucket.org/tkatchev/tab).

Tab is a statically-typed, functional, type-inferred language that occupies a niche between bash and python.

It's also not Turing-complete but can compute almost everything you could ever think of.

(I wish more languages aimed for Turing-incompleteness -- unsurprisingly, it turns out Turing-incomplete languages have big benefits for performance and resource management.)

comment 11y ago · link · parent

Where's the SVD? Did I miss something?

comment 11y ago · link · parent

Use Tab instead: http://bitbucket.org/tkatchev/tab

Includes a calculator, but also a complete declarative data-processing language too.

E.g.:

    $ tab "[ log(@),@ : count(5) ]"  
    0	1
    0.693147	2
    1.09861	3
    1.38629	4
    1.60944	5

79.

A compression algorithm designed for code simplicity

1 points · by otabdeveloper · 11y ago · 1 comment

80.

'tab', a new command-line utility for processing tabular text files seriously

10 points · by otabdeveloper · 11y ago · 1 comment

81.

'tab', a new command-line utility for processing tabular text files seriously

2 points · by otabdeveloper · 11y ago · discuss

123