May 16, 2013 Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe Attachments:
| 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 Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | 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 Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe Attachments:
| 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>wrote: > 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<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<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 Re: DConf 2013 Day 1 Talk 4: Writing Testable Code in D by Ben Gertzfield | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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/VnDVi > Fantastic 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. |
Copyright © 1999-2021 by the D Language Foundation