No Image
No Image

Push to every device or use topics?

October 22, 2019 admin 0

Software https://softwareengineering.stackexchange.com/questions/387652/push-to-every-device-or-use-topics

We’ve got hundreds of thousands of users and we want push notifications to all their devices, to certain groups of people. We’ve got about 5000 classes. Each user in a class has notification preferences, they can choose or opt from a specific notification type. Let us say we have 20 telling types. We are to use SNS and Firebase to get this done. As far as I am aware, Firebase and SNS don’t possess message and doing it is.

What is a better option concerning rate and endurance, to push to every device individually or to create a topic per group, per notification kind?

Google Images may soon feature "shoppable ads"

October 22, 2019 admin 0

Software https://www.ghacks.net/2019/03/07/google-images-may-soon-feature-shoppable-ads/

Google Images is a popular image search engine that returns pictures based on search phrases that you enter in the search box on the website.

Advertisement could be shown on Google Images determined by your search query and region of the searcher.

Google announced recently that it plans to expand advertising on Google Images by introducing what it calls“shoppable advertisements” into the supported ad formats.

The fundamental concept behind the new ad format is that advertisers may use it in order to highlight many items in a single image that are available on the market. Think of an interactive image that lets you interact with certain elements in it.

shoppable ads

A home office thoughts advertisement might demonstrate a picture of a home office. Upon consumer interaction with the element, it may emphasize the table and a bookshelf about the picture, and exhibit prices for every one of the items.

Let’s say a shopper is searching for home office ideas onto her mobile device or desktop computer and extends to Google Images to explore ideas about how to arrange her space. She can scroll through the images, hover over any sponsored ad with all the price tag, and see the things for sale in the picture — along with prices, the brand, and much more.

Google notes that it is testing the format currently”onto a small proportion of visitors together with select retailers” and on particular broad queries currently. The business plans to roll out the new ad format to more groups in the coming months.

Google Images will comprise Showcase Shopping ads too soon. The advertising unit is also available on Google Search and supplies advertisers with choices to highlight products or their brand at the top of the search results.

The brand new ad formats will appear on mobile and desktop searches on Google Images.

Google Images options

Employing an ad-blocker may block the ads from showing up on Google Images. You can also use another picture search engine that uses less or even no advertisements at all.

Google has been criticized recently for eliminating the View Image button in image search. While you’ll be able to restore it using extensions, then you can also utilize different search engines entirely.

Here’s a short list of picture search engines That You Might want to try out:

Now You: Which picture search engine would you use, and why?

Ghacks requires you. You can find out how to support us support the website directly by turning into a Patreon. Thank you for becoming a Ghacks reader. The article Google Images may soon comprise”shoppable ads” appeared first on gHacks Technology News.

No Image
No Image

How to deduplicate messages coming from having multiple instances of the same observer

October 22, 2019 admin 0

Software https://softwareengineering.stackexchange.com/questions/388482/how-to-deduplicate-messages-coming-from-having-multiple-instances-of-the-same-ob

I’ve got a web application that’s currently of several different services, 1 instance each.

My current objective is to scale some of my services to make sure fail over. 1 huge problem I foresee is that a service may execute the Exact Same job with all the instances, here is one example:

I’ve got one service which sends a mail composed of different data grabbed from the net. The email is programmed by the user, either persistent or one time. The planned email is then placed in database with the a datetime field saying when this ought to be done. My solutions are polling every x minutes to see if they have something to do, should they discover something to be done they mark the job as managed and goes on doing it. The problem I face is really between the time that the ceremony grabs the data from the database and the time the upgrade is effective other cases may have grabbed the”bogus” information and send another mail.

This may go the same way for another”observer” service that waits for incoming mails within a single inbox. From polling the inbox and deleting the email once handled, the exact identical race condition can create 2 or more instances handle the received mail.

This question have one part of my issue and the proposed solutions would be good for me. But this, it makes the assumption that there is only one”watcher”.

My other hypothesis is to have an elected master, or even any communication channel between different instances of an agency to get just one of them send the message to the job queue…

I would be delighted to learn how this type of topic is usually handled, astonishingly enough I could not find much info about that, or did not find the right search phrases to look for this.

No Image

BBEdit 12.6.1 – Powerful text and HTML editor. (Shareware)

October 22, 2019 admin 0

Software http://feedproxy.google.com/~r/macupdate/~3/AA0y_9vze7E/1552212074

Specifically crafted in response to the needs of Web authors and software developers, this award winning product provides an array of features for editing, searching, and manipulation of text.

An intelligent interface offers easy access to BBEdit’s best of class features including grep pattern matching, search and replace across multiple files, function navigation and syntax coloring for numerous source code languages, FTP and SFTP open and save, AppleScript, Perl, and also OS X Unix scripting support, glossary support, and a comprehensive set of HTML tools.

Model 12.6.1:

  • When running on macOS 10.14.1 and after, if /usr/local/bin/ or /usr/local/share/man/man1/ don’t exist, then BBEdit will try to create them before requesting the system to finish installation of the control line tools. If this fails you will find a useful message, as opposed to a quiet failure to set up the resources.
  • Fixed a performance bug where BBEdit would ask a language module to perform a keyword lookup, even as soon as the module did not explicitly report it supported lookups.
  • This never stopped well.

  • Though you should always specify which text to include when using the make new line AppleScript construction, BBEdit will no longer crash if you are unable to achieve that. In the lack of any text, even a single blank line is supposed.
  • Fixed a bug where the program’s evaluation for determining the usability of an automatically located Unix tool didn’t return the right answer. This would break things like in-application Python script execution.
  • Worked around macOS sandboxing bug where particular ssh surgeries which necessitated socket access to ssh-agent could fail. A common instance of this was SSH multiplexing, however, certain forms of crucial access would fail to. This in turn broke the built-in SFTP service, typically resulting in 22807 mistakes when trying to connect to SFTP servers.
  • Left a bug in which changes to the print settings in the Print panel did not take effect, nor did they last.
  • Produced internal changes in the SFTP client execution to work around stability issues brought on by an OS bug when running on macOS 10.12.6.
  • Fixed bug in which cancelling an SFTP connection attempt would be”tacky”, and induce future connection attempts to fail before the FTP/SFTP browser window in which the link was created was shut.
  • Fixed a bug in which running a text factory in the greek menu with no previously specified resources would prompt for sources and options, and then do nothing.
  • Fixed bug where the”Options” sheet for a”Run Unix Filter” text mill operation could refuse to appear when a Unix script had formerly been chosen, but was missing.
  • Fixed a bug where the application-modal progress panel (used for a few things, like distant file transfers and folder compares) did not properly upgrade itself as requested by the activity being performed (for instance, the title of an folder/file being contrasted, or the number of information transferred).
  • Worked around macOS sandboxing bug (48537807) which induced AppleScript tape to become nonfunctional.
  • Fixed bug in which a PHP function declaration with a nullable return kind would cause that purpose to be omitted from the menu.
  • Additional some keywords to PHP for built in types.
  • Fixed a bug in which documents that began with a Number! Were inappropriately suspected as HTML, if they included something recognizable as HTML (like HTML code at a heredoc or string).
  • Worked about an OS behavior in which the dictation system could cause insertion of a naked carriage return (ASCII 13) when buying”new line”. This would seem as a gremlin.
  • Additional a third party application to the AppleEvent entitlements to ensure ODB support functions with it (com.agile.teambase).
  • When a Unix text filter yields a nonzero exit code, BBEdit can do nothing and report an error, instead of replacing the choice (or document contents) without a thing.
  • Fixed bug where bbdiff /dev/null / / path/to/some/file did not trigger the program.
  • Fixed a performance regression when running AppleScripts from the Scripts menu along with alternative resources, especially whenever the script done a huge quantity of operations which included sending occasions to BBEdit.
  • Made a change to the way new files are created on disk while doing a Save As, to see if that fixes a reported symptom with new-document conserves requiring authentication.
  • Made a switch to work around an OS bug (46341124) in which the OS would refuse to resolve certain file references created by old versions of the program, and return an inscrutable error.
  • The built-in application updater once more correctly checks for if you’re able to set up the updated application, and thus can suitably opt to download the upgrade disk image, instead of attempting (and failing) to self-update.
  • Added the async keyword to the JavaScript language module, and also fixed a bug where its presence in a purpose assignment would create the purpose scanner to record it as”[anonymous]” from the function menu.
  • MacOS 10.12.6 or later

More info

Download Today

No Image