digitalmars.D.announce - DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield
- Andrei Alexandrescu (4/4) May 15 2013 Watch, discuss, vote! As discussed you may want to use reddit for
- Walter Bright (2/5) May 15 2013 http://www.reddit.com/r/programming/comments/1edih2/dconf_2013_day_1_tal...
- Andrei Alexandrescu (3/10) May 15 2013 One can only assume you didn't click that short URL... :o)
- Walter Bright (3/15) May 15 2013 I did, but only because I trust you. I like to know where urls go before...
- Nick Sabalausky (10/23) May 15 2013 The problem with short URLs is that they're completely opaque: you have
- Walter Bright (3/9) May 15 2013 Twitter used to pretty much require use of shortened URLs, but they fixe...
- Nick Sabalausky (6/17) May 15 2013 That's interesting (and I hadn't even thought of that issue). Did they
- Adam D. Ruppe (5/7) May 15 2013 This is basically it. When you post a link to twitter, they
- Bill Baxter (2/10) May 16 2013
- Adam D. Ruppe (9/10) May 16 2013 Sort of. I just tried this
- Bill Baxter (11/28) May 16 2013 I see. So I guess they have some 'within reason' limit on the length of ...
- 1100110 (11/37) May 16 2013 it_by_pretending_your_content_is_actually_a_url>?
- Walter Bright (2/4) May 15 2013 https://news.ycombinator.com/item?id=5713539
- Nick Sabalausky (4/7) May 15 2013 Torrents and all other links:
- Nick Sabalausky (10/15) May 16 2013 Fantastic talk. I had read about dependency injection before, but ended
Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVi Andrei
May 15 2013
On 5/15/2013 3:25 AM, Andrei Alexandrescu wrote:Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVihttp://www.reddit.com/r/programming/comments/1edih2/dconf_2013_day_1_talk_4_writing_testable_code_in/
May 15 2013
On 5/15/13 1:35 PM, Walter Bright wrote:On 5/15/2013 3:25 AM, Andrei Alexandrescu wrote:One can only assume you didn't click that short URL... :o) AndreiWatch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVihttp://www.reddit.com/r/programming/comments/1edih2/dconf_2013_day_1_talk_4_writing_testable_code_in/
May 15 2013
On 5/15/2013 12:08 PM, Andrei Alexandrescu wrote:On 5/15/13 1:35 PM, Walter Bright wrote:I did, but only because I trust you. I like to know where urls go before clicking, and am guessing that others do as well.On 5/15/2013 3:25 AM, Andrei Alexandrescu wrote:One can only assume you didn't click that short URL... :o)Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVihttp://www.reddit.com/r/programming/comments/1edih2/dconf_2013_day_1_talk_4_writing_testable_code_in/
May 15 2013
On Wed, 15 May 2013 15:08:34 -0400 Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:On 5/15/13 1:35 PM, Walter Bright wrote:The problem with short URLs is that they're completely opaque: you have no idea where they go. Ex: I didn't know if it was for the reddit, youtube, or the DConf page. Besides, hyperlinking and copy/paste tend to obviate any benefit of shortened URLs. "goo.gl" and such are extremely useful if you're giving someone a URL over the phone, but aside from that, I've never seen much of a point. Obviously I'm not saying "How dare you use a short URL, jerk!" ;) I'm just sayin', FWIW.On 5/15/2013 3:25 AM, Andrei Alexandrescu wrote:One can only assume you didn't click that short URL... :o)Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDVihttp://www.reddit.com/r/programming/comments/1edih2/dconf_2013_day_1_talk_4_writing_testable_code_in/
May 15 2013
On 5/15/2013 1:08 PM, Nick Sabalausky wrote:The problem with short URLs is that they're completely opaque: you have no idea where they go. Ex: I didn't know if it was for the reddit, youtube, or the DConf page. Besides, hyperlinking and copy/paste tend to obviate any benefit of shortened URLs. "goo.gl" and such are extremely useful if you're giving someone a URL over the phone, but aside from that, I've never seen much of a point.Twitter used to pretty much require use of shortened URLs, but they fixed that problem, and now I use full length ones on it.
May 15 2013
On Wed, 15 May 2013 14:18:30 -0700 Walter Bright <newshound2 digitalmars.com> wrote:On 5/15/2013 1:08 PM, Nick Sabalausky wrote:That's interesting (and I hadn't even thought of that issue). Did they make that change by increaseing the max message length, or do the detect URLs and not count them towards the total msg length, or something else?The problem with short URLs is that they're completely opaque: you have no idea where they go. Ex: I didn't know if it was for the reddit, youtube, or the DConf page. Besides, hyperlinking and copy/paste tend to obviate any benefit of shortened URLs. "goo.gl" and such are extremely useful if you're giving someone a URL over the phone, but aside from that, I've never seen much of a point.Twitter used to pretty much require use of shortened URLs, but they fixed that problem, and now I use full length ones on it.
May 15 2013
On Wednesday, 15 May 2013 at 23:16:02 UTC, Nick Sabalausky wrote:detect URLs and not count them towards the total msg length, or something else?This is basically it. When you post a link to twitter, they detect the url and rewrite it into t.co/whatever shortlink on their end. Then that is used in the message and counts toward the length instead of the original full link.
May 15 2013
http://does_that_mean_you.can.get.around/the-140-character_limit_by_pretending_your_content_is_actually_a_url? On Wed, May 15, 2013 at 4:28 PM, Adam D. Ruppe <destructionator gmail.com>wrote:On Wednesday, 15 May 2013 at 23:16:02 UTC, Nick Sabalausky wrote:detect URLs and not count them towards the total msg length, or something else?This is basically it. When you post a link to twitter, they detect the url and rewrite it into t.co/whatever shortlink on their end. Then that is used in the message and counts toward the length instead of the original full link.
May 16 2013
On Thursday, 16 May 2013 at 16:51:13 UTC, Bill Baxter wrote:http://does_that_mean_you.can.get.around/the-140-character_limit_by_pretending_your_content_is_actually_a_url?Sort of. I just tried this just trying this http://does_that_mean_you.can.get.around.com/the-140-character_limit_by_pretending_your_content_is_actually_a_url+or+not+because+i+gotta+say+i+don't+really+lnow+this+i+guess+you+prolly+can+and+wow+this+is+one+long+Tweet+but+it+still+says+i+have+99+chars+left? and it said i still had 99 chars left. But when you post it, the link will show up as something like t.co/stuff so to read the message, people will have to click the link anyway... and at that point you might as well just link to a regular webpage with your text.
May 16 2013
I see. So I guess they have some 'within reason' limit on the length of a url they will show in-line. Makes sense. On Thu, May 16, 2013 at 9:58 AM, Adam D. Ruppe <destructionator gmail.com>w= rote:On Thursday, 16 May 2013 at 16:51:13 UTC, Bill Baxter wrote:an_you.can.get.around/the-140-character_limit_by_pretending_your_content_is= _actually_a_url>http://does_that_mean_you.can.**get.around/the-140-character_** limit_by_pretending_your_**content_is_actually_a_url<http://does_that_me=t.around.com/the-140-character_limit_by_pretending_your_content_is_actually= _a_url+or+not+because+i+gotta+say+i+don't+really+lnow+this+i+guess+you+prol= ly+can+and+wow+this+is+one+long+Tweet+but+it+still+says+i+have+99+chars+lef= t>?Sort of. I just tried this just trying this http://does_that_mean_you.can.**get.around.com/the-140-** character_limit_by_pretending_**your_content_is_actually_a_** url+or+not+because+i+gotta+**say+i+don't+really+lnow+this+** i+guess+you+prolly+can+and+**wow+this+is+one+long+Tweet+** but+it+still+says+i+have+99+**chars+left<http://does_that_mean_you.can.ge=? and it said i still had 99 chars left. But when you post it, the link wil=lshow up as something like t.co/stuff so to read the message, people will have to click the link anyway... and at that point you might as well just link to a regular webpage with your text.
May 16 2013
On 05/16/2013 12:19 PM, Bill Baxter wrote:I see. So I guess they have some 'within reason' limit on the length of=a url they will show in-line. Makes sense. =20 =20 On Thu, May 16, 2013 at 9:58 AM, Adam D. Ruppe <destructionator gmail.com <mailto:destructionator gmail.com>> wrote: =20 On Thursday, 16 May 2013 at 16:51:13 UTC, Bill Baxter wrote: =20 http://does_that_mean_you.can.__get.around/the-140-character___=limit_by_pretending_your___content_is_actually_a_url<http://does_that_mean_you.can.get.around/the-140-character_lim=it_by_pretending_your_content_is_actually_a_url>?=20 =20 Sort of. I just tried this =20 just trying this http://does_that_mean_you.can.__get.around.com/the-140-__character_=limit_by_pretending___your_content_is_actually_a___url+or+not+because+i+g= otta+__say+i+don't+really+lnow+this+__i+guess+you+prolly+can+and+__wow+th= is+is+one+long+Tweet+__but+it+still+says+i+have+99+__chars+left<http://does_that_mean_you.can.get.around.com/the-140-character_lim=it_by_pretending_your_content_is_actually_a_url+or+not+because+i+gotta+sa= y+i+don't+really+lnow+this+i+guess+you+prolly+can+and+wow+this+is+one+lon= g+Tweet+but+it+still+says+i+have+99+chars+left>?=20 and it said i still had 99 chars left. But when you post it, the link will show up as something like t.co/stuff <http://t.co/stuff> so to read the message, people will have to click the link anyway..==2Eand at that point you might as well just link to a regular webpage with your text. =20 =20I'm sorry, all I heard was "secret messages."
May 16 2013
On 5/15/2013 3:25 AM, Andrei Alexandrescu wrote:Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact.https://news.ycombinator.com/item?id=5713539
May 15 2013
On Wed, 15 May 2013 06:25:38 -0400 Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact.Torrents and all other links: http://semitwist.com/download/misc/dconf2013/
May 15 2013
On Wed, 15 May 2013 06:25:38 -0400 Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:Watch, discuss, vote! As discussed you may want to use reddit for discussing this talk for a larger audience and impact. http://goo.gl/VnDViFantastic talk. I had read about dependency injection before, but ended up dismissing it as "Java-born overengineering". This changed my mind within the first 15 minutes. Related to what Ben was saying around 34:00-35:00 or so about looking forward with this and being able to say "Oh, XXXX software was made in D, so good chance it's pretty stable": I think a mature version of deject would be a great thing to have in Phobos, building on how well built-in unittests have worked out.
May 16 2013