Dani 1,700

I was able to finally discover that the correct endpoint is https://people.googleapis.com/v1/people/me?personFields= where personFields is a comma-delimited list of fields at this website: https://developers.google.com/people/api/rest/v1/people/get e.g. names,emailAddresses

The problem I ran into initially was that you don't get a friendly error message if you don't specify the personFields parameter, so I thought I had the wrong URI.

Dani 1,700

As Google+ is being deprecated, I need to migrate my Oauth 2 off of Google+ and into the Google Sign-In authentication system.

So far, I changed the list of scopes from https://www.googleapis.com/auth/plus.login email to profile email.

However, I'm struggling trying to find in Google's docs what to change the endpoint https://www.googleapis.com/plus/v1/people/me to. I'm trying to figure out the URL for the endpoint that retrieves the logged in user's public profile and email address.

The Quick migration guide doesn't seem to be very helpful unless you're using their client library (which I'm not). Their guide at https://developers.google.com/identity/protocols/OAuth2 also doesn't seem to show me a list of usable endpoints.

Help much appreciated before everything stops working permanently on January 28th.

Dani 1,700

Oooh. Yes, the guy gave himself the username Unhnd_Exception. Then he deleted his membership, so that’s why his profile is inaccessible. Keep in mind an entire website was named Stack Overflow.

If someone has a full bio, I think that About the Author is kinda hard to miss. And, if they didn’t take the time to provide a bio, then perhaps they just don’t care all that much about bylines.

Dani 1,700

Sorry, I’m not sure what you’re referring to? We don’t have any bots or AI-powered members?

Dani 1,700

What's an NPC?

rproffitt commented: A non-player character (NPC) is a video game character that is controlled by the game's artificial intelligence (AI) rather than by a gamer. (the web) +0
Dani 1,700

Hi,

Sorry for the confusion. Code snippets and editorial have the byline, including a complete About the Author bio, beneath the post, which is in line with what sites such as Sitepoint and Stack Overflow do.

I've gone ahead and corrected the bug where deleted members have no byline at all. Now, the username of the deleted member shows, although there is no link to their profile and no complete bio or post signature. You can now see who submitted that code snippet.

Dani 1,700

The X is pretty noticeable to me? I see what you mean about not being able to click 'Remove file'. Will look into that next week.

rproffitt commented: I should have take two screen shots. The X is very light until you mouse over. +0
Dani 1,700

Test :)

member1.jpg

Dani 1,700

The image thumbnail attachment shown below the post is supposed to disappear if that image is shown inline. There's currently a bug where it doesn't disappear when previewing / posting, but it's just cosmetic and is fixed upon refresh. I'll fix it.

Dani 1,700

As so ...

0341ab21dbbbd9430750cd4890d85e88.png

Dani 1,700

OK, fixed!! :)

0341ab21dbbbd9430750cd4890d85e88.png

Sorry about that.

We require inline attachments to have the path /attachments/small/ or /attachments/large/ so we can resize the image and control the dimensions, and so formatting doesn't get all out of whack.

Dani 1,700

I understand what happened, but I'm not sure why it happened that way. It looks like it added a URL path of /images/attachments/ but it should have added /attachments/large/ instead.

Dani 1,700

Inline image attachments should work now. Let's give it a shot ...

member1.jpg

Test test test :)

Dani 1,700

This is deja vu to me. I was there in the Microsoft meetings with cellular carriers and developers and watched what happened. The developers all wanted Microsoft and the carriers to give up control of the home screen. I learned a lot during those years and felt sad when Microsoft didn't budge.

I don't see it as a parallel at all. I don't think the content on the home screen of your PDA / phone can be compared to the algorithm that powers a landing page feed on a tech forum. I'm much more interested in feedback on the feeds / landing pages / homepage of Facebook, Reddit, Stack Overflow, Quora, etc., which I think are much more relevant, and what you like or dislike on those. Those are parallels that make more sense to me.

Dani 1,700

"Viewed a Topic" is an example of a filter for the home page that should be under user prefences. If I ran a site this would be interesting to me but for me I want to see new and unanswered posts

No offense, but don't you see how this seems a bit hypocritical? On one hand, you're complaining that the homepage is not customizable, and I'm forcing people to see what I want them to see. But on the other hand, you're saying that content that you don't find interesting should not have a link off of the homepage. Davey wrote in last month's newsletter that he thinks that Viewed is a good starting point to pick up where you left off by looking at content you've recently been looking at. The idea is that different people prefer different starting off points ... whether that be Latest or Viewed or whatnot.

I hope someday we'll meet and I can get your pitch on this

You can always find me on Skype at DaniAtDaniWeb or Google Hangouts for a video call. :)

Dani 1,700

Oooh, you mean compared to using Dazah OAuth. Got it!

The homepage isn't designed for regulars who want to make sure they see every latest possible bit of content. (That's what Latest is for.) It's meant for lurkers to use as a landing page when looking for interesting things to read. Or for regulars to use as a starting off point when they have a few minutes and are looking for something interesting to read.

Dani 1,700

It's great to see the sign up is fixed.

Sorry, not sure what you mean?

Changing my DW link to land on Latest which works for me.

Could I convince you to try using the homepage as your landing page for just a couple of days as a user study?

Dani 1,700

t_1, can you please start a new discussion thread which explains your specific problem? Unless, are you using the code provided by Ventech_IT??

Dani 1,700

And how to control what is on that homepage? If there is going to be no member control of the homepage, this reminds me of Microsoft's Windows Mobile homepage fiasco. They forbid the user from changing the Windows Mobile homepage.

An algorithm controls what is on the homepage. It's based on your usage across the site, and is similar to your Facebook feed, Reddit feed, Quora feed, etc.

Dani 1,700

Does the homepage seem a little bit better now? It's still a work in progress.

Dani 1,700

You clicked on an endorsement suggestion button in the email to endorse diafol. Unfortunately, diafol has deleted his membership. I fixed the bug in which it will no longer suggest deleted members in the future.

Dani 1,700

My only feedback is that not everyone will consider reducing the file size with simple tricks like color count reduction.

That's not something I would ever expect of anyone. Our file size limits are pretty darn high, mostly capped by PHP upload limitations. The only way to exceed the limit is, realistically, if you're trying to do something borderline malicious.

Dani 1,700

Yeah, the thing is, I'm not sure why you aren't getting the error message about the dimensions upon failed upload.

Dani 1,700

To keep up with the changing times, I've incrased the maximum allowed dimensions to 7680x4320 (8K).

I want to reiterate that image max dimensions have been in place for 8+ years. 1600x1200 was considered absurdly large 8 years ago. Today, uploading a 5K or 8K image is comparable to that.

Dani 1,700

Incidentally, the max allowable image upload dimensions are 1600x1200. About 2% of our traffic access DaniWeb with resolutions larger than this.

Dani 1,700

As to another editor is so I don't have to learn markdown just for this site.

I recommend learning the basics of Markdown anyways. It's used by DaniWeb, Stack Overflow, Github, Reddit, Wordpress, Google, and so many other sites nowadays. It's pretty much the de facto way of contributing content on the web.

Again, I can see a valid reason to limit file size but image size? Today we are seeing UHD 4K and 5K screens and it appears the size limit forbids a screen capture.

I have two 5K monitors, and if I were to upload a screen capture of my entire desktop, it would be pretty confusing what you were looking at as you would only be able to see a very small fraction of it from a standard 1080p resolution, which is what the majority of visitors use. The screen dimensions are in place to provide a better experience for the viewer, not the creator. The max allowable dimensions are large enough to allow full screen captures for all of the top 100 most frequently used resolutions used to access DaniWeb, which comes close to representing nearly 100% of our visitors.

Dani 1,700

Inline images worked before a recent change.

Inline images work the same way (with Markdown). It's true that the old UI included a little button to auto-insert the Markdown (similar to how there are buttons for Bold or Code, but you don't have to use them), while today it has to be manually coded, because I didn't like the UI of the old auto-insert buttons, and so I want to try to retool them.

My worry here is between image size limits and inline that requires you to have another editor means the end of tutorials.

The image size limits have existed the exact same way for a VERY long time. Why do you need another editor??

Dani 1,700

It's always been in the plan to create a new UI to make it easy to include inline images, but it's taking a bit longer because I really was never happy with the previous implementation, so I want to do some more research to see if I can do better this time. In the meantime, inline images can be manually created with standard Markdown. (However, as you found out the hard way, this is only supported if the images are hosted on the daniweb.com domain, and not from Imgur, as we don't want broken images in the years to come should something happen to any third-party image hosting sites.)

Dani 1,700

Don't see any error message. The image uploads, you click Post Reply and the image vanishes.

I guess I'm confused because all of your posts in this thread do include image attachments? So what isn't working as intended?

Sadly this means the end to tutorials as some screen shots can be full or near full screen.

We have the exact same size and dimension requirements in place that we've had for the past 8+ years (ever since we switched off of vBulletin). If tutorials have been possible for the past 8 years, they're possible today. The only thing that really has changed is screen resolutions have gotten larger (e.g. I'm currently using two 5K monitors) which didn't exist 8 years ago, so I might have a problem uploading a full screen capture today while I wouldn't have had a problem in the past, since it's 10K+ pixels horizontally. For that reason, to keep up with the times, I can see why it would make sense to increase the allowable resolution for the first time in a very long time.

Dani 1,700

There’s a max limit on image dimensions that can be uploaded. The left one is over the limit but the right one should be fine. I’m not sure why you’re not seeing the error message.