ushi
Re:A well-known URL for changing passwords
on Thursday December 06, 2018 @10:04AM (#18618526)
Thunderbird looks for http://domain.tld/.well-known/autoconfig/mail/config-v1.1.xm... for autoconfiguration.
See: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird...
Re:Insane complexity of calendrically correct date and time operations
on Thursday September 20, 2018 @05:43PM (#18035706)
What you want is probably TAI [1], Unix Time has leap seconds.
Ruby defines division by zero for Floats
1.0 / 0
=> Float::INFINITY
and 0 * Float::INFINITY
=> Float::NAN
I think infinity is a more intuitive result, but most of the time i get this as a user i would rather see 0 (bought books per month: Infinity). As a programmer i like to get an error, because i forgot to handle an edge case...
Re:Dev.to is now open source
on Wednesday August 08, 2018 @04:00PM (#17718938)
Looks like the standard rails mess :/ Don't get me wrong. From time to time i am going to look at other peoples rails code to learn, how they solved common problems in grown rails apps. Most oft the time i leave rather disappointed...
I like the spec for Comment#id_code_generated ;)
Re:The Biggest and Weirdest Commits in Linux Kernel Git History (2017)
on Friday June 08, 2018 @11:03AM (#17266104)
yes. its implemented:
--allow-unrelated-histories
By default, git merge command refuses to merge histories
that do not share a common ancestor. This option can be
used to override this safety when merging histories of
two projects that started their lives independently. As
that is a very rare occasion, no configuration variable
to enable this by default exists and will not be added.
Re:Postal: Open source mail delivery platform, alternative to Mailgun ...
on Wednesday April 26, 2017 @02:06PM (#14205441)
We are running this[0] with some postfix boxes in front of it. Works quite well for us.
Re:The Opa Language
on Saturday July 11, 2015 @04:57AM (#9869117)
if you can do all the shiny web things by writing grandpa code, this might be a good thing :)
Re:Chrome is developing a Sidebar API
on Tuesday July 07, 2015 @02:21PM (#9847162)
This could make the octotree[0] extension even more awesome. Let's see.
Re:No one expects command execution
on Friday July 03, 2015 @12:38PM (#9826538)
I agree. Every single example in this article makes perfect sense to me.
Roundcube Next reached their crowdfunding goal
Cube composer
Re:Monsti – a free and open source CMS written in Go
on Friday May 29, 2015 @04:24AM (#9623380)
the demo is readonly
Re:Animated vector map
on Saturday March 21, 2015 @05:41AM (#9242265)
HTTPS Everywhere enabled? When you visit the https site, chrome refuses to load non https resources.
Re:PDF Viewing
on Tuesday March 17, 2015 @03:29PM (#9220631)
Checkout the pdfjs test suite, if you want to try it:
Re:Arc4random – randomization for all occasions
on Saturday November 22, 2014 @04:21AM (#8645187)
getrandom() is a generic interface you can use to implement getentropy(), which is used to seed arc4random(). It is not an alternative arc4random implementation...
From the OpenBSD Manpage:
getentropy() will succeed unless:
[EFAULT]
The buf parameter points to an invalid address.
[EIO]
Too many bytes requested, or some other fatal error occurred.
See: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/...
Re:What Do You Need?
on Thursday November 06, 2014 @07:26AM (#8566688)
It is already mentioned in his beloved developer forum[0], but he didn't respond yet. Let's see...
Rails CVE-2014-7818
Re:W3C declares HTML5 standard complete
on Wednesday October 29, 2014 @07:45AM (#8526627)
i know it was just a joke, but for vim users working with html i recommend the html5 plugin[0].
Re:Audi’s Self-Driving Car Hits 150 MPH on an F1 Track
on Saturday October 25, 2014 @03:43PM (#8509161)
From the article:
While the RS7’s computer had a detailed digital map of the track and was following an optimized path through it, Audi did not preprogram things like torque or steering.
Re:Webmail and Open Source
on Saturday October 18, 2014 @08:01PM (#8476797)
Roundcube isn't shipped with PGP support. Their are some plugins though...
Re:The SQLite Database File Format
on Monday September 29, 2014 @06:11PM (#8385615)
There was this submission[0] yesterday. Probably someone wanted to learn more about it and stumbled upon this amazing document.
Re:Show HN: Pup – A command-line HTML parser
on Saturday September 13, 2014 @04:25PM (#8313450)
So getting the front page links is now as easy as:
curl https://news.ycombinator.com | pup td.title a attr{href}
Well done and thx for sharing.
Re:Dimensions – Measure everything you see in the browser
on Thursday September 11, 2014 @08:24AM (#8302156)
Then it is time to learn about Ctrl+L
Re:Google search indexes itself
on Wednesday September 10, 2014 @02:25PM (#8298112)
It is obviously the most relevant content on this site. PageRank is always right.
Re:Google search indexes itself
on Wednesday September 10, 2014 @02:19PM (#8298066)
Funny thing... It works only with[0]
site:http://www.google.com//search
but not with[1] site:http://www.google.com/search
[0] https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.goog...[1] https://www.google.com/search?q=site%3Ahttp%3A%2F%2Fwww.goog...
Re:Ask HN: Do you program in multiple languages in a day?
on Monday September 08, 2014 @10:12AM (#8284802)
Today it was Ruby, Go and JavaScript. I feel productiv in all of them. Sometimes some C, Shell and Python. Python is becoming a pain, because i use it so rarely, that i have to look up everything.
Re:Geohash: text representation allows you to sort locations by proximity
on Saturday August 23, 2014 @10:29AM (#8215892)
Ruby implementation: https://github.com/davetroy/geohash
Re:Cron commands to plain English
on Friday August 01, 2014 @07:27PM (#8123382)
Awesome, now you have a test suite
assert(cronchecker(cronstring(input)) == input)