News for hackers. Stuff that matters.

dpkendal

As a learner/non-native speaker of German, please don't abolish the only way to tell the vowel length of an unfamiliar word.
Re:The PhD Octopus (1903) on Friday March 24, 2017 @08:54PM (#13953439)
Did we read the same paragraph? The problem with his first thesis was that, though he presented a brilliant and original result, he didn’t show that he’d studied enough prior research.

Nothing to do with schmoozing, everything to do with scholarly integrity.

Re:Ask HN: Freelancer? Seeking freelancer? (November 2016) on Tuesday November 01, 2016 @12:03PM (#12847051)
SEEKING FREELANCER (Remote or Berlin, Germany)

Abecedary Limited

We’re looking for someone to help us integrate SAML authentication into a Python/Flask web app (as a Service Provider, wanting to authenticate against IdPs). There is already a full authentication system in-place — all that needs doing is integration with SAML-based SSO.

Knowledge of Python or Flask is not needed but extensive experience of SAML — and, ideally, the UK Access Management Federation and/or comparable schemes around the world — will be needed.

Expected completion within 1–2 weeks.

Contact <[email protected]>.

Re:PrlConf 2016 is cancelled on Saturday March 26, 2016 @03:17AM (#11364767)
> Freedom of speech is not freedom from criticism.

“Sorry, you wrote this and we don’t like it, therefore you’re not invited to this conference on an irrelevant topic” or “… therefore we’re not going to a conference to which you were invited” is not valid criticism of an idea.

Re:Ask HN: Freelancer? Seeking freelancer? (January 2016) on Friday January 01, 2016 @02:45PM (#10823058)
SEEKING WORK

Berlin, DE.

Remote possible (preferred).

12 years experience, 5 professional, in Python and Ruby web development, with popular frameworks (Rails, Sinatra, Flask). Additional experience in PHP, JavaScript, etc. Open-source work is at https://github.com/dpk and https://gist.github.com/dpk

See http://dpk.io/contact for details of how to get in touch with me.

Re:0.30000000000000004 on Friday November 13, 2015 @07:16AM (#10559391)
Perl 6 uses rationals by default. They have the advantages of being base-agnostic, able to accurately represent any recurring digit expansion accurately regardless of eventual base, and also faster (since, especially if you normalize (convert to lowest terms) lazily, most operations are just a few integer instructions with no branching, looping, or bit-twiddling involved).
Re:0.30000000000000004 on Friday November 13, 2015 @07:12AM (#10559380)
The difference is in how the result is converted to a string, not in how the result is produced.
Re:Douglas Crockford's JavaScript Encyclopedia on Monday September 28, 2015 @05:30AM (#10289554)
This was published so he can get community help with finishing it: http://www.crockford.com/javascript/encyclopedia/preface.htm...
The Oxford Dictionary of National Biography (https://en.wikipedia.org/wiki/Dictionary_of_National_Biograp...) follows a similar model to the SEP to deliver on the comprehensive/authoritative/up-to-date trifecta. Unfortunately it’s paywalled, unlike SEP, but it’s certainly the best biographical encyclopedia I know of because of this.
Re:The Curious Case of the Greek Final Sigma on Wednesday September 16, 2015 @05:23PM (#10229997)
Unicode has things for this: https://en.wikipedia.org/wiki/Zero-width_non-joiner

And customization is done declaratively, not imperatively.

Re:Oldest use of the word ‘fuck’ in 1310 English court case on Monday September 14, 2015 @07:40PM (#10218172)
It’s not certain yet that this is an antedating. OED editor Jesse Sheidlower calls it ‘putative’: https://twitter.com/jessesheidlower/status/64305138542510899... and slang lexicographer Jonathon Green concurs but finds it probable: https://twitter.com/MisterSlang/status/643060037221515264

If it is, it’s big news. But bear in mind that ‘John le Fucker’, recorded 1278, (https://en.wikipedia.org/wiki/John_le_Fucker) would be a further antedating from a personal name if it were somehow to be confirmed as a use of the word.

Re:The Curious Case of the Greek Final Sigma on Saturday September 05, 2015 @01:01PM (#10175353)
The Unicode case-mapping algorithm is customizable by locale (e.g. uppercase i is İ in Turkish). A application which needed long s (for German Fraktur, for instance) could use a custom locale.
Re:Regexes: The Bad, the Better, and the Best on Tuesday June 23, 2015 @09:54PM (#9769115)
My mistake, I meant O(2 ^ n) indeed. Regardless, having exponential time complexity in terms of the regular expression (which is usually controlled by the programmer) where the processing is done at compile-time is much better than having exponential complexity in terms of the input string (which often comes from an untrusted source) where the processing is done at run-time.
Re:Regexes: The Bad, the Better, and the Best on Tuesday June 23, 2015 @06:39PM (#9768302)
Not true. Finite automata (NFAs, DFAs) can match that pattern (and any pattern that doesn't involve backreferences or lookaround) in O(n) time where n is the size of the input string. DFA implementations are worst-case O(n ^ 2) in the number of states of the regular expression, but this is far better in most cases than the exponential worst-case time in terms of the input string offered by backtracking implementations.

See https://swtch.com/~rsc/regexp/ for information on finite-state-machine implementations of regexp matching.

Re:Show HN: Efficiently searching compressed text files on Saturday May 02, 2015 @11:09AM (#9477338)
Why not store the log files in an FM-index? (https://en.wikipedia.org/wiki/FM-index)
Re:“RNG broken for last 4 months” on Tuesday February 17, 2015 @02:15PM (#9064346)
Bears repeating: this does not affect stable versions of FreeBSD. FreeBSD-CURRENT is the development version.
Re:W3C declares HTML5 standard complete on Tuesday October 28, 2014 @02:39PM (#8522674)
Indeed, the W3C's work on HTML5 is irrelevant. It exists only for the purpose of giving the W3C-qua-organization the appearance of being involved in the further development of HTML.
Re:TempleOS: 5 minute random code walkthrough on Tuesday September 23, 2014 @01:27PM (#8356600)
Which is exactly what djb says about Germany. It doesn’t affect public domain status.
Re:TempleOS: 5 minute random code walkthrough on Tuesday September 23, 2014 @08:51AM (#8355081)
Re:Modern computing: A short history and a shorter rant on Saturday November 23, 2013 @09:40AM (#6786014)
“Multics Emacs proved to be a great success — programming new editing commands was so convenient that even the secretaries in his office started learning how to use it. They used a manual someone had written which showed how to extend Emacs, but didn't say it was a programming. So the secretaries, who believed they couldn't do programming, weren't scared off. They read the manual, discovered they could do useful things and they learned to program.” — http://www.gnu.org/gnu/rms-lisp.html

You also assume that programmability implies complexity, which is the argument I tried to refute …

Re:Modern computing: A short history and a shorter rant on Saturday November 23, 2013 @09:34AM (#6786002)
You seem to be the only person in this thread who has grasped this idea; though instinctively to me it feels another formalism like LC is the wrong way to go.
Re:Modern computing: A short history and a shorter rant on Friday November 22, 2013 @10:02AM (#6781058)
Bret Victor is working on some amazing stuff right now. I suggest his talk Drawing Dynamic Visualizations to see how he’s making programing more direct and less “code”-ish: http://vimeo.com/66085662
Re:Modern computing: A short history and a shorter rant on Friday November 22, 2013 @09:19AM (#6780797)
“If you believe that you have never tried to teach a class of non-programmers.”

No, you’re trying to teach them with the same kind of tool that I call ‘clumsy and unsophisticated’ in the article.

“Apple have made a lot of efforts to bring programming to the common user: Hypercard, Applescript, Automator. They are abandoned because no-one was interested in using them.”

In many ways HyperCard was still too difficult, but it was a great tool. Many people did use it to make simple programs, and some became programmers from it. I’m not arguing that everyone should learn to program to the level of being able to create and sell apps; HyperCard is a good example in that sense.

AppleScript is a failure because it’s a terribly difficult language even for most working programmers. Its designers completely failed in that respect.

Automator is not programming.

Re:Modern computing: A short history and a shorter rant on Friday November 22, 2013 @09:11AM (#6780747)
I am a programmer, writer and musician, but I don’t find any of them easy.

Programming is unique, though, because the tools you use to do it can also be used to make the task in general much easier.

Re:Confusing UI in iOS7 on Tuesday September 24, 2013 @04:38PM (#6440609)
Funny, that's exactly what people used to say when OS X came out, right after Steve Jobs came back …

Older »