terminology – Scrolling Behavior – Mobile vs Desktop

We have some internal research that shows our users scroll much further down the page on mobile vs desktop. The page lengths are exactly the same in terms of the amount of products displayed – 3 across and 12 down.

When describing this behavioral difference I call it the ‘Facebook Phenomenon’ as in users just scroll endlessly without fully absorbing the information presented to them.

My question is, is there a UX/analytical term for this behavior? I made up the phrase ‘Facebook Phenomenon’ where I work but wondered if I’d subconsciously copied something I’d read.

interface – Which ergonomic criteria would justify the behavior of redirecting the user to a 404 redirect page?

Without having to reference the criteria (because I think it is not necessary to answer the question), you are probably struggle with the question because of a couple of reasons.

Firstly, it is possible for there to be more than one way of classifying something, and if the criteria doesn’t allow for this (or isn’t flexible enough to adapt) then you should consider customizing it so as to be more fit for your purpose.

Guidance and error management can both fall under the bigger perspective of messaging and notification to the user, which allows the user to feel in control of their actions (in their interaction with the system). So I don’t see this as a problem that you can’t fit it neatly into just one category.

The other thing is that there are ways to implement a 404 page that leads to a more positive user experience, and ways that can make the user more confused and frustrated. So it is not so much redirecting the user to a 404 page that is the problem, because at some point your system will probably generate an error that you can’t necessarily address immediately (e.g. the server is down).

But as with all good error handling and management best practices, if you can:

  • identify the source of the error (i.e. is it caused by the user or
    the system)
  • provide some idea the nature of the error (e.g. is it an expected error caused by things like validation or something unexpected and outside of the system) and then
  • give some ideas of how to resolve the issue or perhaps next steps

Then your users will thank you instead of clogging up your support system/mechanisms.

display – OSX cmd+tab behavior with multiple windows of same application and monitors

First of all, my question is not answered in any of the questions with the similar titles. My context is a little different.

I have 2 monitors connected to my MacBook Pro. I opened 2 windows of Safari, one for each monitor.

  • On 1st monitor, there’s a Safari window and Application A.

  • On 2nd monitor, there’s the 2nd Safari window and Application B.

  • 2nd monitor is focused on Application B.

  • 1st monitor is focused on Application A.

  • On the 1st monitor, I switch from Application A to Safari using cmd+tab and 1st monitor successfully focuses on it’s own Safari window.

  • But 2nd monitor also switches to it’s own Safari windows instead of keeping the Application B on the screen.

How can I prevent this from happening so 2nd monitor doesn’t switch to Safari as well and instead keep it’s application on its screen?

I already tried all the combinations from Mission Control page but none of them helped me achieve this. Or maybe they didn’t work as they intended to be, I’m not sure if that’s the case.

9 – Different behavior of URL response and service response

I am trying to pass csrf_token or session token without an additional request.
I am able to get token using /session/token endpoint.

I am observing a different behavior here.
The response of routing service endpoint /session/token and Drupal::service('csrf_token')->get() are different in Drupal 9.

Why the above mentioned methods give different values. The CsrfTokenController::csrfToken class method is hit by /session/token route.

How can I get /session/token in module?


Which other service can give /session/token equal response making CSRF-TOKEN validation successful?

regex – `find` command unusual behavior for matching glob

I am trying to understand the find command (running on Ubuntu) and encountered a strange situation. I searched for a pattern that I knew to match some file:

$ find /data2/SharonFolder/conda-envs/envs/sparse-conv/lib/python3.8/site-packages/ -name sparseconvnet.egg-link

This worked, and returned /data2/SharonFolder/conda-envs/envs/sparse-conv/lib/python3.8/site-packages/sparseconvnet.egg-link as I would expect. I tried with a wildcard at the end.

find /data2/SharonFolder/conda-envs/envs/sparse-conv/lib/python3.8/site-packages/ -name sparseconvne*

This also worked just fine as it returned the same filename.

However, if I run the wildcard too far from the end, it stops matching!

find /data2/SharonFolder/conda-envs/envs/sparse-conv/lib/python3.8/site-packages/ -name sparseconv*

If I move the wildcard further back (e.g. sparse*), it continues not to match.

big sur – Big Sur update changed Home/Documents folder behavior with Dropbox

I have used Dropbox for 8+ years. I used symbolic links to map the Mac home folders to Dropbox until that would not work (about 1.5 years ago). So came up with the following process to move home folders to a Dropbox backup folder and then link those folder so the mac home folder; then make the links permanent It has worked just fine until Big Sur WRT documents folder. I could sudo mv all folders to a backup folder in Dropbox. But when I made the symbolic links ln -s for the Mac home folder, the Documents folder in the Home directory will not disappear. The ln -s command generates no response nor an error message.

I have turned off system integrity protection to no avail.

It is most frustrating, as I had a process that worked perfectly for back up and replication between machines that has stopped working b/c of some undocumented behavior.

Is there anyone who has some insight that can lead me forward?

design patterns – Internal behavior VS external behavior with the count of method-parameter

Inspired by my own question + a fragment of Robert Bräutigams answer there: Tell one, but ask the others?

i came up with this question here:

let’s take us the write method of a chatroom or any other method of any object

public void doSomething();

i can add one parameter to that method

public void doSomething(Object a);

and a lot of more:

public void doSomething(Object a, Object b, Object c, ....);

i think the more parameter we add the more we give up the internal behaviour?

let’s say the doSomething is the write method of a Chatroom. write(message) writes a message to the chatroom, and now we want to define how this is written to the chatroom, in bold-style, uperrcased-style, kursive-style, colored and so on, for that we need more parameters.

So we move more and more behaviour from the the class which contains the doSomething method to the outside to the client.

to bring the whole thing to the head, we also can do something like this

public void doSomething(Function f)

the Function f get as parameter all internals from the class of doSomething and now i can really do all i want with that class

ok one different we have there the code with many-parameters doesn’t get direct access to all internals, but theoretically yes.

And as strict object-oriented programmer knows, don’t manipulate the internals from outside^^

So my question is how you would do something like this, controlling the manner how is something written into a channel?

how you would classify my different code examples here: no parameter, many parameter till functional parameter? in which programming-style (oop, solid/procedural, ….) should i do when what?

Yeah i know of the technique capsulating many-parameter into a DTO, but that should change nothing^^

domain model logic behavior (ddd)

You are not lost! Your observations are correct. What’s happening is that people have wildly different interpretations what DDD or even OO is or should be.

Your interpretation seems to be (which is also mine), that “domain” objects should capture the “logic”, the behavior of a domain. When I first read the Blue Book, I came away with this interpretation, which is also consistent with object-orientation.

However, there is a seemingly more popular approach, in which “domain objects” are simply data structures, or very close to data structures, with some minor logic at most. This interpretation, as you can probably imagine, does not require “repositories” or indeed any collaborating objects.

So yes, the “domain” should capture logic / behavior, but most projects simply don’t. It’s that simple.

user behavior – How to deal with unicode within a form?

I never thought about it before, but by having to validate a user’s description (on both sides), I’ve faced a problem.

My users can write a short description about them, really short. In fact, the description can’t be longer than 130 characters. They can write anything, there is no regex or something else.

It is more likely they’ll add emoji rather than Chinese or Korean. But how should I approach this scenario, when I say to my user he can’t write more than 130 characters but he get an error after 75 emojis or less? This isn’t the behavior he expected. Isn’t it a really bad user experience ?

Are there any solutions?
I’m also afraid about characters like Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́ that I don’t want.