The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

Archive for the ‘Twitter’ Category

Twitter image size suffixes – via: Making silly #latex jokes is much more fun than doing final tweaks in my thesis on #coeffects…

Posted by jpluimers on 2017/08/18

Twitter stores images on twimg.com in various sizes.

You specify the size by adding a colon plus suffix to the URL. No colon plus suffix means a default size.

Suffixes you can use see to come from the media entity in Entities in Objects | Twitter Developers:

  • thumb
  • small
  • medium
  • large

There is one undocumented size: orig

The default size seems to be medium.

Examples (full images below):

media entity observed size URL
thumb 150×150 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png:thumb
small 340×325 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png:small
medium 600×573 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png:medium
(none) 600×573 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png
large 1024×979 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png:large
orig 1600×1529 https://pbs.twimg.com/media/CiMNh9rWEAAdM6Q.png:orig

Thanks to Thomas Petricek [WayBack] who poked fun last year on Twitter [WayBack] at both LaTeX and O RLY (the image meme [WayBack], not the text meme)

--jeroen

Read the rest of this entry »

Posted in Development, SocialMedia, Software Development, Twitter, Web Development | Tagged: , | Leave a Comment »

Posting from Google+ to Twitter: an #IFTTT recipe

Posted by jpluimers on 2016/01/12

A long time ago I setup to post from Google+ to Twitter.

Somewhere close to spring 2015, that stopped with a G+ tweet about FireDAC which linked to my G+ post about it.

I could not find out however how I initiated that post forwarding, so I did some searching, then decided to go the IFTTT route: 10 Easy Steps To Automate Your Google Plus To Twitter Postings – Social Media Strategies & Techniques For Business Professionals.

The page does not allow you to select text or right click, but you can view the source (for instance in Chrome with view-source:http://www.garyhyman.com/10-easy-steps-to-automate-your-google-plus-to-twitter-postings/) so I’ll summarise:

  1. Note your Google+ numeric ID. For me these were 31 digits. Lets call it ####.
  2. Append the ID to http://gplus-to-rss.appspot.com/rss/ so you get http://gplus-to-rss.appspot.com/rss/####, then verify it indeed returns an RSS feed
  3. Login to ifttt.com (create an account first if you don’t have one), then create a new THIS source from the RSS feed icon.
  4. Select the link from 2. as source.
  5. Click on the THAT link, and select Twitter (you might need to enable IFTTT for Twitter).
  6. From the Twitter list, select “post a tweet”.
  7. Amend the text if needed (remember you only have 140 characters!), then press Create Action.
  8. Test (you might need to wait for about 15 minutes): indeed it worked as my G+ post got picked up by a tweet pointing to it about 15 minutes later.

Notes:

There are more complex schemes going through FeedBurner which I didn’t try yet:

Other alternatives I might try when IFTTT stops working:

–jeroen

 

Posted in G+: GooglePlus, Power User, SocialMedia, Twitter | Leave a Comment »

Optimal posting time? (via: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User)

Posted by jpluimers on 2014/09/22

A while ago, i came across this interesting question: Are there optimal days/hours to post questions in order to get visibility and answers? – Meta Super User.

The recommended time 1400 UTC is related to my blog post scheduling behaviour.

Virtually all my blog posts are either (when both apply at the same time, that is pure coincidence):

I schedule posts on Monday through Friday:

Difference between 0600 UTC and 1400 UTC

So why the time difference of about 8 hours between 0600 UTC and 1400 UTC?

That has to do with the public I generally interact with: software developers speaking English, mainly living in European and USA, with a minority in India, Asia and down-under.

  • At 0600 UTC, most Europeans are about to wake up or just arrived at work, so they get fresh content. Still quite a few people from India and Asia are up (returning from work) can read it the same day it was posted. And virtually everyone in the USA is still sleeping, so they get fresh content too.
  • At 1400 UTC, most Europeans are at work, people at the USA East Coast just started working and the rest of the USA is waking up and (hopefully) going to work. So you get a huge group of on-line people online with a high chance if comment/answer interaction on your question: great for getting answers on the same day.

“Missed Schedule” on WordPress blogs Read the rest of this entry »

Posted in Facebook, G+: GooglePlus, LifeHacker, LinkedIn, Power User, SocialMedia, Twitter, WordPress | Leave a Comment »

Interesting try by Tame.it: Your Twitter timeline

Posted by jpluimers on 2014/07/07

I tried Tame.it for a while to condense my twitter timeline and separate noise from information.

It looks like my tweeps are so disparate that Tame finds it hard to distill the information.

But if you have a similar tweeps, Tame.it could do a much better job.

–jeroen

via Tame | Your Twitter timeline.

Posted in Power User, SocialMedia, Twitter | 2 Comments »

Download your tweets: are you one of the lucky ones that are in the Twitter beta?

Posted by jpluimers on 2012/12/17

Interesting, when I browse to https://twitter.com/settings/account, there is no option to download all my past tweets yet so obviously I’m not on the beta.

Are you?

–jeroen

via: Twitter has started rolling out the option to download all your tweets – The Next Web.

Posted in Power User, SocialMedia, Twitter | Leave a Comment »

Dear fellow social media users, please post screen shots as PNG, not as JPEG image files

Posted by jpluimers on 2012/08/01

I still see many people post screen shots as JPEG images.

JPEG images introduce distortion, and usually are bigger than PNG images.

The PNG images are more crisp, and have more vibrant colors.

So dear fellow social media users: please post screen shots as PNG images.

Comparison: the JPEG on the left is 120 kilobyte, the PNG on the right only 60 kilobyte and looks much better.

JPEG PNG 

Posted in G+: GooglePlus, LinkedIn, Power User, SocialMedia, Twitter, WordPress | 4 Comments »

More on Delphi x64 by twitter kylix_rd (Allen Bauer)

Posted by jpluimers on 2010/11/09

As a continuation of the previous assembly, the new twitter kylix_rd messages on Delphi x64 (and some reactions by Danny Thorpe):

To save people from browsing Twitter history:

kylix_rd:

Interesting x64 fun fact: RIP relative addressing. Some instructions that use a 32bit offset, are interpreted as [RIP+offs].
7 nov

@danny_thorpe Add x64 and it happens even more.
7 nov

Because of the way the Intel instructions are encoded, it is possible to encode the same effective instruction in different ways.
7 nov

You know what would have made the x64 “REX” prefix moniker even better? They could have called it T-REX.
7 nov

As much as people like to deride the aging x86 architecture, I gotta admit that AMD did a fine job of stretching it into 64bit land.
7 nov

@davidheff Undetermined. There are plenty of reasons to deliver them separately. Either way will have no impact on the results.
2 Nov

Be ready for 64 bit: In Delphi XE, this “Component.Tag := NativeInt(Self);” will just recompile in 64 bit.
2 Nov

@davidheff Oh don’t worry… there will be plenty who will find that “limiting”, if only in concept and not in the real world :-)
2 Nov

x64 Fun Fact: JMP opcodes/offsets are identical to 32bit. Can only xfer control to an address +/- 2GB away. Thus the PE image size limit.
2 Nov

danny_thorpe:

@kylix_rd I remember digging through the x64 specs. Fun times til mgmt shut it down. Still have my Amd x64 laptop circa 2003 or so.
8 nov

@kylix_rd You just noticed? :P
8 nov

davidheff:

@kylix_rd is it still on course to be a cross-compiler as announced by Nick – single 32 bit compiler that can create 32 and 64 bit images
from Stavanger, Rogaland
2 Nov Favorite Retweet Reply

@kylix_rd Actually, I wonder whether the compiler wouldn’t give out first at such a monstrous demand
from Stavanger, Rogaland
2 Nov

@kylix_rd Think most of us should be able to avoid creating 2GB images!!!!
from Stavanger, Rogaland
2 Nov

–jeroen

via Allen Bauer (kylix_rd) on Twitter
Danny Thorpe (danny_thorpe) on Twitter
David Heffernan (davidheff) on Twitter

Posted in Delphi, Development, kylix_rd, SocialMedia, Software Development, Twitter | 5 Comments »

More Delphi x64 bits – Allen Bauer (kylix_rd) on Twitter

Posted by jpluimers on 2010/11/01

To save people from browsing Twitter history:

danny_thorpe:

@davidheff @kylix_rd x64 has SSE2 for FP ops. 8 directly addressable 64bit XMM FP registers. 8087 FP ops emulated in microcode, deprecated

28 Oct

@kylix_rd You mean critical mass isn’t church service on Christmas and Easter?

27 Oct

@kylix_rd Bah. What do they know about floating point? :P MSVC turns off all the FP hardware (exceptions) by default already!

27 Oct

@kylix_rd Yes, we did. The reason was Extendeds don’t exist at all in CLR. x64 FP ops only supporting 64 bit floats is justification

27 Oct

@kylix_rd Ok, so your cause/effect statement was incomplete. :P Shame to see extendeds go. How to count all atoms in the universe now?

27 Oct

@kylix_rd That doesn’t follow. You could still pass extendeds on the stack (not using the x87 register stack)

27 Oct

kylix_rd:

@davidheff Yes. Alignment is critical. Even the stack must remain properly aligned. Its all part of the ABI.

27 Oct

@davidheff SSE instructions and the xmm0:xmm15 registers.

27 Oct

@danny_thorpe That and the fact that MS strongly discourages the use of the FP coproc on 64 bit Windows.

27 Oct

@danny_thorpe Extendeds don’t align well, FP ops would dumb them down, sub-optimal codegen, are other reasons to drop them.

27 Oct

http://goo.gl/D0Kv. “The x87 register stack is unused. … must be considered volatile across function calls” So, Extended = Double.

27 Oct

As speculated, the Tag property will become a NativeInt.

27 Oct

@malcolmgroves @seanbdurkin And if we change the underlying implementation, don’t complain… mkay?

27 Oct

The elephants in the room. Max 64bit PE image size 4GB. Extended = Double (since xmm0-xmm4 are for FP param passing).

27 Oct

Number of calling conventions in x64 – 1. pascal, register, cdecl, stdcall… gone, treated as nop.

26 Oct

Wow… just a few tweets about D64 and I get flooded with new followers. Welcome to all my new followers from the last 24 hours.

26 Oct

Most common 64bit data models, LP64 and LLP64. Windows = LLP64, Linux, OSX = LP64. D64/Windows = LLP64.

26 Oct

64bit gotcha: SizeOf(THandle/HWND/HMODULE/Hxxxx) = SizeOf(Pointer) = 8. This isn’t valid: Value := Integer(Handle).

26 Oct

Type sizes for 64: SizeOf(Integer)=4, SizeOf(NativeInt)=SizeOf(Pointer)=8,

26 Oct

If you must… Value := Integer(TList[x]) -> Value := NativeInt(TList[x]). Even better, TList.

26 Oct

via Allen Bauer (kylix_rd) on Twitter
Danny Thorpe (danny_thorpe) on Twitter

Posted in 8087, Algorithms, Delphi, Development, Floating point handling, kylix_rd, SocialMedia, Software Development, Twitter | Leave a Comment »

WordPress: New Twitter “Tweet Button” for your readers

Posted by jpluimers on 2010/08/27

Now your readers can have an easy way to tweet about your blog postings too: New Twitter “Tweet Button”.

From the post by Andy P (wordpress team):

New Twitter “Tweet Button”




When one of your readers hits the Tweet Button, they will be shown a popup that includes a shortened link to your post. Readers can add in a quick message, and then hit “Tweet” to send the post to their Twitter feed as a tweet — all without leaving your blog.

To enable the button on your blog please visit the “Appearance > Extras” menu and select the “Show a Twitter Tweet Button on my posts” option.

Edit: 20100901:

The WordPress team has moved the Twitter Tweet button into Settings > Sharing. In addition to that, they added sharing mechanisms for FaceBook, Press This, Reddit, Digg, StumbleUpon, Email and Print.
In addition to those, you can define your own sharing methods.
You can read more about this move here.

–jeroen

via:  New Twitter “Tweet Button” — Blog — WordPress.com.

Posted in Power User, SocialMedia, Twitter, WordPress | 2 Comments »