Remote printing not working in Windows 10 Pro 10.0.18362.267, RDPWrap v <IP_ADDRESS>

RDP connections work fine, but remote printers do not appear.  What can I do to fix this?  Thanks.
Screenshot of RDP Wrapper Configuration:

Have you set your RDC remote connection to forward printers? It's off by default.

Yes it's turned on to enable printers.  Thanks for mentioning this though,
as it may not have been an obvious step.

Ryan Griggs
Hilltop Computing
www.hilltop.net
859-328-3223
Toll Free: 1 (888) 5-HILLTOP<PHONE_NUMBER>)
On Fri, Aug 30, 2019 at 10:40 AM TanMan1217<EMAIL_ADDRESS>wrote:

Have you set your RDC remote connection to forward printers? It's off by
default.
[image: image]
https://user-images.githubusercontent.com/20880426/64029418-830c9300-cb12-11e9-8d0b-d89a29d4e886.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/874?email_source=notifications&email_token=ABMVKGPEYDUZKYTFHIDAOY3QHEWPDA5CNFSM4ISMXC6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5R3ERY#issuecomment-526627399,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMVKGMN2ITA6FIN6MIWOXLQHEWPDANCNFSM4ISMXC6A
.

Set Enable
Computer Configuration –> Administrative Templates –> Windows Components -> Remote Desktop Services –> Remote Desktop Session Host -> Printer Redirection -> Use Remote Desktop Easy Print driver first

I tested this but it's not working.  Any other ideas for getting local
printers working?
Thanks

Ryan Griggs
Hilltop Computing
www.hilltop.net
859-328-3223
Toll Free: 1 (888) 5-HILLTOP<PHONE_NUMBER>)
On Mon, Sep 2, 2019 at 1:10 AM khshassa<EMAIL_ADDRESS>wrote:

Set Enable
Computer Configuration –> Administrative Templates –> Windows Components
-> Remote Desktop Services –> Remote Desktop Session Host -> Printer
Redirection -> Use Remote Desktop Easy Print driver first
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/874?email_source=notifications&email_token=ABMVKGN7VLDIHFHLFYLVGA3QHSN5FA5CNFSM4ISMXC6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5UW7KY#issuecomment-527003563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMVKGNBRTGOVXJYK246BATQHSN5FANCNFSM4ISMXC6A
.

Use Screw Driver
https://yadi.sk/d/ox1YMniQRTI82A
https://yadi.sk/d/kH_JT9Gm1sbFrA

Remote Printing is working without rdpwrap ? Because I don't think it's related to rdpwrap ...

Would you mind to give us the PW for the Scre Driver tools?
Thanks,
Hannes

12345678
Sorry )))

Thanks :-)

The problem still persist in Windows 10 build newer than 1709 (it starts from 1803) and rdpwrap installed.
Below two screens:

With rdpwrap installed the redirected ones ("przekierowana sesja") are the built in only ones (PDF and fax)

without rdpwrap installed - the physical printers appeared correclty

The version rdpwrap

any issues abou redireting printers?
from latest w10 Pro versions?

20H2 - same issue (no redirection for network printers)

You have to remove Slinit lines from your supported version on the ini file, that will fix it, something must be wrong with the patching of the several policies that interferes with printer redirection, I hope someone can fix this error, it could be patch address or something else, cheers.

I had the same Issue for a long time, and I just made it work again by installing the printer driver on the remote host and the local client as well. In the not working state, it said "ipp class driver" in the properties of the printer (locally and remotely), after installing the driver on both the host and the client the driver has the actual name of the printer (Brother HL-3142CW in my case) and printing works again. If you install the driver through rdp, disconnect after installation and reconnect. I guess windows 10 installed my printer with a generic driver that worked fine locally but not through rdp connection. A friends pc with a different printer from hp has the same problem, I will test it there as well and report back, could be in a couple of days however.

Sorry, I forgot to report back, it didn't work for the other device which was a HP printer. So the workaround above only seems to work in some cases.

You have to remove Slinit lines from your supported version on the ini file, that will fix it, something must be wrong with the patching of the several policies that interferes with printer redirection, I hope someone can fix this error, it could be patch address or something else, cheers.

Perfect answer in right time... i lost only 5hours to solve this issue :)

curl.exe -j -L "https://raw.githubusercontent.com/asmtron/rdpwrap/master/res/rdpwrap.ini" | sed.exe -re "s/^SLInit/;SLInit/g"
do this job

curl.exe -j -L "https://raw.githubusercontent.com/asmtron/rdpwrap/master/res/rdpwrap.ini" | sed.exe -re "s/^SLInit/;SLInit/g"
do this job

That would work to remove the troubled lines, but I hope someone can debug the real problem with those.

You have to remove Slinit lines from your supported version on the ini file, that will fix it, something must be wrong with the patching of the several policies that interferes with printer redirection, I hope someone can fix this error, it could be patch address or something else, cheers.

it really works, thanks!
x86 and x64 SLInit
10.0.19041.964
after removing following lines:
SLInitHook.x86=1
SLInitOffset.x86=687F8
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=1E29C
SLInitFunc.x64=New_CSLQuery_Initialize
and all printers work again now

You have to remove Slinit lines from your supported version on the ini file, that will fix it, something must be wrong with the patching of the several policies that interferes with printer redirection, I hope someone can fix this error, it could be patch address or something else, cheers.

it really works, thanks!
x86 and x64 SLInit
10.0.19041.964
after removing following lines:
SLInitHook.x86=1 SLInitOffset.x86=687F8 SLInitFunc.x86=New_CSLQuery_Initialize SLInitHook.x64=1 SLInitOffset.x64=1E29C SLInitFunc.x64=New_CSLQuery_Initialize
and all printers work again now

You are welcome! :)

I can attest that commenting out SLInit lines with # worked as a charm. We can print now again, hardware printers can now be redirected again, not just virtual printers by Microsoft.
Is it enough to change SLInitHook.x64=1  to SLInitHook.x64=0 (for 64-bit system) and is it possible to change RDPConfig to have checkbox we can tick on/off to get desired behavior? After any update we will need to edit ini file manually by first searching proper dll version config.

Hi, have another issue,
the remote printer sharring work  only on some user accounts..
i try to add administrators group to the account but it still doesnt work.
Maybe someone have a solution for this.
thank you

Applicable to https://github.com/stascorp/rdpwrap/issues/504


Add fromThrowable utility function

It is common within javascript libraries to throw within a synchronous function
This adds a utility function fromThowable that wraps a function and creates a
function with the same signature except instead of throwing, a Result will be
returned. Ok if the original function succeds, or Err if the function throws.
As we cannot infer the type of the thrown error, this will be of unknown type
unless a mapping function is provided.
Discussed in #203

Updated! Please take a look.

Thanks @Liam-Tait ! This is awesome !


Slug is unique for two unrelated models

I understand that it is possible (using scopeWithUniqueSlugConstraints()) to limit uniqueness check within the same model (so for example we only ensure that the new post that is being created has unique slug for all posts by the same author instead of all posts in the whole table).
Can I achieve opposite effect? Can I extend uniqueness check to more than one table?
Let's say I have two models that use Sluggable: Post and Page and corresponding tables: "posts" and "pages". For both models I use the same attribute for slug source: "title". Models are not related.
Is it possible to ensure that slug that is to be created is unique in both tables? So when I create new Post both "posts.title" and "pages.title" columns are checked? (and vice versa)
Obviously a reason for that is using the same URL for retrieving both models from database, which would be nice, instead of necessity of using some prefix in URL.
Thanks!

I think you could still do this in the scopeWithUniqueSlugConstraints() method.  It might not be the prettiest solution but something joining the two tables might work?  I haven't tried it out, so please post any solutions you come up with.  Otherwise, I'll mark this as a feature request for the next minor version of the package.
(You might also need to override the scopeFindSimilarSlugs() method in both models as well to find the next slug value to use in a series -- e.g. title-1, title-2, etc..)

Long time without any movement on this, but the solution here probably falls into the category of things that could be done if all the slugs were stored in one polymorphic table, as opposed to a field in each model's table.
Adding the polymorphic-table milestone to this ... but there is no time frame for doing this, presently.
Also, see #379 for a possible solution.

Long time without any movement on this, but the solution here probably falls into the category of things that could be done if all the slugs were stored in one polymorphic table, as opposed to a field in each model's table.
Adding the polymorphic-table milestone to this ... but there is no time frame for doing this, presently.
Also, see #379 for a possible solution.


Start automatically with Spotify?

I'm struggling to get blockify to start automatically at the same time as Spotify. I'm using the default .desktop file which is provided by Spotify:
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Listen to music using Spotify
Icon=spotify-client
Exec=spotify %U
TryExec=spotify
Terminal=false
Type=Application
Categories=Qt;Audio;Music;Player;AudioVideo
MimeType=x-scheme-handler/spotify

Any suggestions on how to achieve this? I tried changing the Exec line to spotify %U & blockify (which works ok from bash), but this doesn't start blockify when launched from Gnome.

Nevermind, just replaced /usr/bin/spotify with a script which starts both processes in the background. No change to the .desktop file is needed.

Like this ?
/usr/bin/spotify
#!/bin/sh
export LD_PRELOAD=libcurl.so.3
/usr/share/spotify/spotify "$@"
/usr/bin/blockify


Show all the cards in CardList / DeckBuilder

Currently the CardList is only showing the cards you can actually put in your deck, it would be good to also show the cards that can only be summoned (like Upgrado Mk II) for example

AFAIK, when the game server starts deck building phase, it doesn't send the "unchoosable" cards at all, I've never noticed them in the server messages, I think they only get sent when triggered through game rules, so if we do this it may require changes on server side.

That's correct. Indeed they are not sent by the server at the moment.


ENH: graph can show columns optionally

What do these changes do?
Add an option show_columns to graph.view and graph.to_dot for better understanding of column pruning.

Changes are merged to master in #134


using disableWebsockets instead of useWebsockets

Additional PR for #3636. As discussed with @shilman it would be better to maintain backwards compatibility with using both onDeviceUI and storybook server at the same time. So I swapped useWebsockets with disableWebsockets. So now if somebody will want to use storybook without server in the app he will have to pass in the disableWebsockets option. This will be described in some documentation when we start separating RN storybook into two parts.

@shilman IDK, some problem with cached dependencies maybe. Corresponding TeamCity build passes

@shilman To make it more deterministic, you can add marko-widgets as top-level devDependency


Can't fill an  with regex generated content

I use this regex<EMAIL_ADDRESS>to generate test accounts that aren't already registered in my app, but that gmail still treats as my real gmail account so I can receive my app's confirmation emails.
This works great with <input type="text"> but not <input type="email">. Is the regex type custom field only able to recognize text inputs?

The email settings do not come from custom fields. Rather, they come from the general tab. So it is not possible to do what you want. But this is a good feature to add and I will work on adding it.

By the way, for now you can use a disposable email service such as mailinator to receive confirmation emails from your application.

+1
I was trying to do the same...


Error with Youtube

Hi !
When I try to play a Youtube video, an error occurs :
ERROR: Signature extraction failed: Traceback (most recent call last):   File "C:\Users\Killian\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py", line 997, in _decrypt_signature     video_id, player_url, s   File "C:\Users\Killian\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py", line 912, in _extract_signature_function     res = self._parse_sig_js(code)   File "C:\Users\Killian\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\extractor\youtube.py", line 975, in _parse_sig_js     initial_function = jsi.extract_function(funcname)   File "C:\Users\Killian\AppData\Local\Programs\Python\Python35\lib\site-packages\youtube_dl\jsinterp.py", line 239, in extract_function     raise ExtractorError('Could not find JS function %r' % funcname) youtube_dl.utils.ExtractorError: Could not find JS function 'ur'  (caused by ExtractorError("Could not find JS function 'ur'",))
How can i fix it ?

I am having the same issue, I wonder if this is a widespread issue? Any help would be appreciated.

FIXED IT, run update deps as admin and it will update and fix it

This did not help me at all. I updated the bot with update deps, but now my bots don't even log in anymore...

Are you getting a new error?

Traceback (most recent call last):
File "run.py", line 204, in
main()
File "run.py", line 182, in main
MusicBot().run()
File "C:\Users\Kevin\Desktop\Minecraft\Transformice\Bot LMR\MusicBot-1.9.5rc5\musicbot\bot.py", line 67, in init
self.voice_clients = {}
File "C:\Users\Kevin\AppData\Local\Programs\Python\Python35-32\lib\site-packages\discord\client.py", line 258, in setattr
return setattr(self.connection, name, value)
AttributeError: can't set attribute
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x01B767B0>
C:\Users\Kevin\Desktop\Minecraft\Transformice\Bot LMR\MusicBot-1.9.5rc5>

Hmmm, not too familiar with that error, double check the options file, you may need to re create the bot to ensure it didnt go change the original files

I checked the options file, nothing changed there, and I even rebooted my pc, since it said that the client session was unclosed...
Does it have to do with the fact that I upgraded my python to the latest version?

I completely remade the bots, it works now. It works completely differently than before now, lol. At least it works and I copied the options/permissions

Resolved. Fixed by updating your dependencies.

rome1245 OMG i just made a user on the page just to write to you WTF the is DEPS ?!?!?!?! "update deps" pleas mate more info plx

@Simondd50 this is an old issue. This may be relevant to you: #1072


Replace imp with importlib

This project uses the imp module which has been deprecated since Python 3.4 and set for removal in 3.12:

Raised PendingDeprecationWarning since 3.4 (2014)
Raised DeprecationWarning since 3.5 (2015)
Updated DeprecationWarning to say removal in 3.12 since 3.10 (2021)
Removal planned for 3.12 (2023)

This change removes the dependency on imp in favour of importlib.
Co-authored-by: @jbkkd
Inspired by: @mgorny
https://github.com/jazzband/django-configurations/issues/358

Seems that the pypy builds are failing due to typing issues that are not related to changes in this PR at all. I'm not sure how to best tackle this. If anyone has ideas on how to solve this please shout!
  pypy38-dj42 installdeps: django~=4.2.0, coverage, coverage_enable_subprocess
  [2171] /home/runner/work/django-configurations/django-configurations$ /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/python -m pip install 'django~=4.2.0' coverage coverage_enable_subprocess >.tox/pypy38-dj42/log/pypy38-dj42-1.log
  pypy38-dj42 develop-inst: /home/runner/work/django-configurations/django-configurations
  write config to /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/.tox-config1 as '5f83b1adfc4e93325d54b10bf36fb935a03a746487f791180f644a357ed6f6ab /opt/hostedtoolcache/PyPy/3.8.16/x64/bin/python\n3.28.0 0 1 0\n00000000000000000000000000000000 django~=4.2.0\n00000000000000000000000000000000 coverage\n00000000000000000000000000000000 coverage_enable_subprocess'
  [2181] /home/runner/work/django-configurations/django-configurations$ /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/python -m pip install --exists-action w -e '/home/runner/work/django-configurations/django-configurations[testing]' >.tox/pypy38-dj42/log/pypy38-dj42-2.log
  [2222] /home/runner/work/django-configurations/django-configurations$ /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/python -m pip freeze >.tox/pypy38-dj42/log/pypy38-dj42-3.log
  pypy38-dj42 installed: asgiref==3.7.2,backports.zoneinfo==0.2.1,cffi==1.15.1,coverage==7.3.1,coverage-enable-subprocess==1.0,dj-database-url==2.1.0,dj-email-url==1.0.6,dj-search-url==0.1,Django==4.2.5,django-cache-url==3.4.4,-e git+https://github.com/jazzband/django-configurations@bc02e9dd35fcecaf462847caf7dd56f46bcf40ec#egg=django_configurations,greenlet==0.4.13,hpy==0.0.4.dev[179](https://github.com/jazzband/django-configurations/actions/runs/6123560281/job/16621808225?pr=365#step:7:183)+g9b5d200,readline==<IP_ADDRESS>,sqlparse==0.4.4,typing_extensions==4.7.1
  pypy38-dj42 run-test-pre: PYTHONHASHSEED='546480419'
  pypy38-dj42 run-test: commands[0] | python --version
  [2228] /home/runner/work/django-configurations/django-configurations$ /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/python --version
  Python 3.8.16 (a9dbdca6fc3286b0addd2240f11d97d8e8de[187](https://github.com/jazzband/django-configurations/actions/runs/6123560281/job/16621808225?pr=365#step:7:191)a, Dec 29 2022, 11:45:13)
  [PyPy 7.3.11 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
  pypy38-dj42 run-test: commands[1] | /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/coverage run /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/django-cadmin test -v2 tests
  [2229] /home/runner/work/django-configurations/django-configurations$ /home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/bin/coverage run .tox/pypy38-dj42/bin/django-cadmin test -v2 tests
  Traceback (most recent call last):
    File ".tox/pypy38-dj42/bin/django-cadmin", line 33, in <module>
      sys.exit(load_entry_point('django-configurations', 'console_scripts', 'django-cadmin')())
    File ".tox/pypy38-dj42/bin/django-cadmin", line 25, in importlib_load_entry_point
      return next(matches).load()
    File "/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/importlib/metadata.py", line 77, in load
      module = import_module(match.group('module'))
    File "/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/importlib/__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1023, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1000, in _find_and_load
    File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
    File "<frozen importlib._bootstrap>", line 1023, in _gcd_import
    File "<frozen importlib._bootstrap>", line 1000, in _find_and_load
    File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
    File "<builtin>/frozen importlib._bootstrap_external", line 858, in exec_module
    File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
    File "/home/runner/work/django-configurations/django-configurations/configurations/__init__.py", line 1, in <module>
      from .base import Configuration  # noqa
    File "/home/runner/work/django-configurations/django-configurations/configurations/base.py", line 4, in <module>
      from django.conf import global_settings
    File "/home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/lib/pypy3.8/site-packages/django/conf/__init__.py", line 19, in <module>
      from django.utils.deprecation import RemovedInDjango50Warning, RemovedInDjango51Warning
    File "/home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/lib/pypy3.8/site-packages/django/utils/deprecation.py", line 4, in <module>
      from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async
    File "/home/runner/work/django-configurations/django-configurations/.tox/pypy38-dj42/lib/pypy3.8/site-packages/asgiref/sync.py", line 130, in <module>
      class AsyncToSync(Generic[_P, _R]):
    File "/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/typing.py", line 261, in inner
      return func(*args, **kwds)
    File "/opt/hostedtoolcache/PyPy/3.8.16/x64/lib/pypy3.8/typing.py", line 890, in __class_getitem__
      raise TypeError(
TypeError: Parameters to Generic[...] must all be type variables

@gump I'm not sure if this should block the PR because there is exactly the same error on master (tested on pypy39-dj42 with tox on my machine).

I believe the root cause is that asgiref is using typing_extension on python 3.9 and lower (including pypy) and we are running into https://github.com/python/typing_extensions/issues/126
I verified that the issue does not exist on pypy3.10 (which does not use typing_extensions). My suggestion would be to merge this PR and drop support for PyPy < 3.10.

Thanks @washeck. I can see you already prepared https://github.com/jazzband/django-configurations/pull/366 which adds pypy3.10.
I don't have the powers to merge this so will need to wait for someone with the powers to take the honours.

@washeck @gump I opened PR #369  to upgrade Python/Django dependencies and fix the PyPy-related issue to permit a new package release.
Can you please review it?

@pauloxnet LGTM. I didn't do it in my PR as I didn't know what the maintainers want. Looking forward to merge of your PR and release of 2.5.

@pauloxnet LGTM.

Can you please use the "Review changes" button to approve my PR
https://github.com/jazzband/django-configurations/pull/369/files

Can you please use the "Review changes" button to approve my PR https://github.com/jazzband/django-configurations/pull/369/files

Sorry, I didn't know I have the permission. Approved now.

Thanks 👍


Can provider support multi serialization protocols?

I'm trying to change my service's serialization protocol gracefully, so I want to implement a feature like this:
provider can support multi serialization protocols, and consumer assigns its serialization protocol, provider can receive consumer's request correctlly if consumer's serialization protocol is supported by provider.
I found there's a issue #4640 related my problem, and known that the consumer can't assign self serizalization protocol.
I try to set the dubbo.protocol.serialization = protostuff,fastjson in the application.yml, the provider service can start up successfully and the registry url contains serialization field, but when I send request to the provider, I got an exception No such extension org.apache.dubbo.common.serialize.Serialization by name protostuff,fastjson, it seems provider can't support multi serialization protocols, but why the code shows it seems it supports?
Am I using it wrong?
And more, I think it's not graceful enough that consumer can't assign self serialization protocol, can you introduce to me why design it like this?

@zyna If the serialization protocol is only supported one, then the setSerialization method does't need to check if serialization is multi extension:
    public void setSerialization(String serialization) {
        if (DUBBO_PROTOCOL.equals(name)) {
            checkMultiExtension(Serialization.class, Constants.SERIALIZATION_KEY, serialization);
        }
        this.serialization = serialization;
    }

@RojerAlone Yes, I think checkMultiExtension method  is  not necessary,can use  checkExtension method to replace it.

you can try like this.
<dubbo:protocol id="p1" name="dubbo" serialization="hessian2" />
<dubbo:protocol id="p2" name="dubbo" serialization="java"/>
<dubbo:service interface="XX" ref="XX" version="XX" protocol="p1,p2" />

you can try like this.
<dubbo:protocol id="p1" name="dubbo" serialization="hessian2" />
<dubbo:protocol id="p2" name="dubbo" serialization="java"/>
<dubbo:service interface="XX" ref="XX" version="XX" protocol="p1,p2" />

Is this configuratiton indicates the provider supports multi protocol? so how consumers choose which to use. I use spring boot, it seems to unsupport multi protocol field in the yml file.


More generic fixes

Addresses https://github.com/haskell-graphql/graphql-api/pull/178#issuecomment-415929999

Just realized this was already done in:
https://github.com/haskell-graphql/graphql-api/pull/195


ss-console error with ss.log

When using ss-console, an error is thrown at start up:
.../node_modules/ss-console/lib/server.js:26
ss.log("i".green, "Console Server running on port " + port);
Simply changing "ss" to "console" fixes the issue. I know you're all still working on things, so take this as just a head's up. Great work by the way, thanks!

Thanks for spotting the issue and putting it on Github. Give me a couple of minutes and I'll fix it.

Excellent, thank you!

Hi, I've pushed a fix up (https://github.com/socketstream/ss-console/pull/8), and published it with ss-console 0.1.4 on NPM. I'll close it but if you have any further issues please reopen and let me know.

Thank you Paul :)

I do verify that it is working now without error after an npm update ss-console, thanks again!

@havoc74 Since you are a user of ss-console I'd like your opinion on how to best evolve the console for SocketStream 0.5
Do you have special wishes or any low hanging fruits that could be added/changed ?


关于blender版本与Python适配问题

哥，很抱歉还需要问您（不用英文了）
我想问一下blender的版本用哪一个，我这2天卡在了blender的安装上：安装blender后，运行失败，报错如下：
np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use ’bool‘ by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use ’np.bool_‘ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:     https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'?
即使，上网搜pip install numpy==1.23.2也不行
可以加微信咨询吗

Hello, I tried to solve the issue.
This is what I did:
To resolve the numpy deprecation warning and ensure compatibility, we'll update the numpy import statement and add a specific numpy version requirement to requirements.txt.
You can review changes in this commit: https://github.com/lattaai13/Mrguanglei-Instantmesh_scriptData-9/commit/27bfe25c040e18733a0b109cb8227bb49b3e5c72.

[!CAUTION]
Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

哥，很抱歉还需要问你（不用英文了）
我想问一下blender的版本用哪一个，我这2天卡在了blender的安装上：安装blender后，运行失败，报错如下： np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use ’bool‘ by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use ’np.bool_‘ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'? 即使，上网搜pip install numpy==1.23.2也不行
可以加微信

当然可以，blender的话使用的4.2，你需要将blender安装到ubuntu或者Windows上面

哥，很抱歉还需要问你（不用英文了）
我想问一下blender的版本用哪一个，我这2天卡在了blender的安装上：安装blender后，运行失败，报错如下： np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use ’bool‘ by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use ’np.bool_‘ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'bool_'? 即使，上网搜pip install numpy==1.23.2也不行
可以加微信

当然可以，blender的话使用的4.2，你需要将blender安装到ubuntu或者Windows上面
微信号发邮箱了，哥，麻烦操作下


✨ 🔍 Improved SEO for each page and added new demo

@max-programming , Thanks for posting the PR.
The Web share Demo is just rocking. Working like a charm. I see a couple of problems with the branch deployed build.

Do not see the profile images anymore

The characters are not rendered correctly,

Could you please have a look, when you can?

@max-programming , Thanks for posting the PR.
The Web share Demo is just rocking. Working like a charm.
I see a couple of problems with the branch deployed build. though

Do not see the profile images anymore

The characters are not rendered correctly,

Could you please have a look, when you can?

The profile pic is working fine for me 🤔  But I fixed the other issue
Can you inspect the profile pic's src and send an image of that on your end?

@max-programming , Thanks for posting the PR.
The Web share Demo is just rocking. Working like a charm.
I see a couple of problems with the branch deployed build. though

Do not see the profile images anymore

The characters are not rendered correctly,

Could you please have a look, when you can?

The profile pic is working fine for me 🤔 But I fixed the other issue
Can you inspect the profile pic's src and send an image of that on your end?

Yep, I see the other issue is fixed now.
For the image when I inspect, I see this,

Here is the image URL: https://unavatar.io/twitter/MaxProgramming1

@atapas So weird that works for me on every browser
Let me know by checking on this address: https://webapis-playground-q07p5l81h-thoughtdump.vercel.app/

@max-programming, yes checked the same. Even on mobile browser, I m seeing the same issue.
Could it be because, you are authenticated to some service using the same browser and it's working?

@max-programming, yes checked the same. Even on mobile browser, I m seeing the same issue.
Could it be because, you are authenticated to some service using the same browser and it's working?

@atapas It works for me on all devices and all browsers 😂
Maybe try clearing site data 🤔


Refactor Tests, New PlatyPS Type, and improvements.

Changes
Types

Added PlatyPS Deployment Type
FilesSystem: Added PSDrive Target support
RemoteFileSystem: Added PSDrive Target support

Improvements and Fixes

Added Resolve-Module to build.ps1 to make local deployments easier
IntegrationFolder.PSDeploy.ps1: Missing $ on Mirror
IntegrationFile.PSDeploy.ps1: Missing $ on Mirror

Tests

Restructured Pester Tests into seperate files
Broke up tests into multiple It blocks that did multiple asserts in a single It block.
Moved to using InModuleScope in tests to eventually test private functions
Testing making Tests independent of build.ps1
Added Module Help Pester Tests by @juneb
Added new tests throughout Module

Function Specific Test Changes

WithPreScript: Added Tests for SkipOnError
CopyVMFile: Move Deploy Folder tests to seperate Context blocks to give each clean scopes
CopyVMFile: Migrated tests to use TestDrive:\
Invoke-PSDeployment: Migrated tests to use TestDrive:\
Invoke-PSDeployment: Cleaned up Here-String yml and created yml files in artifacts
Invoke-PSDeploy: Added missing Tests for integrationFile.psdeploy.ps1 and integrationFolder.psdeploy.ps1

Help

Added Module Help Pester Tests by @juneb
Invoke-PSDeployment: Added missing help for Parameter Tags and Path
Get-PSDeploymentScript: Added missing help for Parameter Path
DependingOn: Added missing help for Parameter Scriptblock

Oh, I forgot to add a few changes, one sec.

Great stuff, thank you for all the work on this!


[Feature Request] Migrate cache library to use kotlin.time APIs

As part of the kotlin multi-platform effort #50, let's migrate cache library to use kotlin.time.Duration instead of duration: Long, unit: TimeUnit.
Example:
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
/**
 * Specifies that each entry should be automatically removed from the cache once a fixed duration
 * has elapsed after the entry's creation or the most recent replacement of its value.
 *
 * The [duration] passed in must be positive.
 *
 * If not set, default value is [Duration.INFINITE].
 */
@ExperimentalTime
fun expireAfterWrite(duration: Duration): Builder

@ychescale9 This can be closed, right?


No Response on all devices

Homebridge and plug-ins all start and seem to be running normally. I've tried on my Mac and on my Rpi3 (primary). AppleTV shows connected. But iPhones all show No Response on every accessory.
I would assume this is related to iOS 11 and the new tvOS, but I can't be sure.
I updated homebridge and the plug-ins (Smartthings and Wink) just to see if that would help, with no change in results. I'm stumped usually rebooting everything solves issues, but not this time.

I am seeing the same thing after updating to iOS 11. I see homebridge is gathering data correctly in terminal. I am also getting notifications from the home app when my door unlocks yet I am getting no response on all devices.
I just tried other HomeKit app such as EVE and Hesperus and they are working fine. Seems to be an issue with the Home app only.

I'm also having the same issue. I can verify that Homebridge is working properly, since the Alexa plugin is working perfectly. I'm currently running iOS 11.1 Beta 1, and the Home app is pretty much useless. It will sometimes work, but it is terrible slow. It's either stuck on updating or it just says No Response. I have Eve as well, same thing. I also recently updated to tvOS 4, so I'm not sure if that's what's causing the issue.
I don't know if it's something that needs a quick patch in Homebridge, or if it's a bug in Apple's Home app.

I've got the same issue.
On my iOS 11 devices all accessories are shown as "no repsonse". When I use my iPhone on iOS 10(still have 32 bit apps that were not updated yet) everything works properly.
Judging from your updated comment @13mralex I also have one accessory that goes missing all the time. I did not find out why yet though as everything in the raspberry's process looks fine. It says 7 devices mapped, but Home app only shows 6 after some time. How were you able to fix your broken accessory?

I don't have much to add except that I have this problem too. I think it was fine until I updated to iOS 11.0.1.

It is happening on iOS 11.0.0 and 11.0.1 for me. 10.3.3 works fine though. :-/

Anyone having any luck figuring this out? I've tried both my Rpi3 and iMac, still no luck at all. iOS 10 or 11... no luck. Stumped.

iOS 11 update fix that worked for me...
If you have a lot of stuff in your home, you might want to try this last.
Shutdown homebridge and kill the home app.
Change the user name and pin in the config.json file.
Restart the home app and see if it works. If so, STOP and be happy.
<<<(The next step requires you to re-do all room assignments, zones, and automations!)>>>
Delete the Homebridge from the app. (Details, remove). Kill the app and restart it.
Add the homebridge using the new pin.
For me, it immediately asked me to setup all my devices assigning them back to the rooms.
If that doesn't work, see @jeroen1973 post from Aug 20/13 days ago. His post was the basis for this.

Thanks @jack-hub
This (for now) has solved it for me and was pretty painless:
• Stop homebridge
• Edit config.json to change "username" and "pin" values slightly (I incremented each by 1)
• Start homebridge
• Force-close Home app on iPhone
• Open Home app on iPhone, see Homebridge as unavailable
• Add the "new" Homebridge accessory as 'Homebridge2'
• Don't bother configuring new accessories, just hit Next a bunch of times and make sure they're reported as responsive

At this point I had duplicates of all my Homebridge accessories with the originals reporting "Not Available" and the new ones working but with default names, rooms, and icons. Good, but not great.

• Stop Homebridge
• Revert changes to config.json (decrement "username" and "pin" by 1 in my case)
• Start Homebridge
• Force-close Home app on iPhone
• Open Home app on iPhone

At this point I saw my original "Homebridge" as available and all my original accessories were back up and working with the new unconfigured accessories reporting not responding / unavailable.
• Delete "Homebridge2" and I'm back up and running with everything the way I had it set up originally.

@Lemongrass3110 My broken device was an RGB LED WiFi controller, and it had lost connection to my network. Because of that, it had caused my Home app to render useless. After resetting the LED controller and connecting it back to my network and then restarting Homebridge, everything has been working fine. I also run my Homebridge on a Mac Mini running Windows 10. I have found it easy to run on Windows. I have a Pi, but I don't really want to start over. I have also recently switched from wireless to wired, but that hasn't really made a difference in Homebridge performance.
Also note that even though my LED controller was offline, it still showed up on my devices on my Home app since it was still in my config file. After the issue was resolved, I removed the bridge from Home and re-added it back, and everything is still working fine.

In my case the issue was caused by homebridge-roomba980 - removing the accessory (trial and error) and restarting homebridge was enough to see other ones working on the Home app.

After spending almost 3 hours on that... @iRonin 's answer was also true to mine: it was the roomba plugin that was causing this mess... (after removing the plugin, had to do the 'resetting' of changing user name etc. for this to work again), but at least it's now fixed 😬


fix(item): inherit overflow but default to hidden

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: fixes #17670
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Hello, just a little question : why the CSS class .input-wrapper is still defined with overflow:hidden ?


Add KIS 1.1.1

duplicate of #439 which was merged rather than this due to saner handling of url's, closing this since it is now no longer needed.


Reduce memory allocations in AMR

Currently, we create completely new solution arrays when refining and coarsening (the solver).

Can we instead just insert/erase some solution data to save memory allocations and some time?
Is it worth the effort?

Here are my initial thoughts on this issue:

Memory allocations are in itself no problem (yet). Thus I'd address them only when it's clear that we face some sort of memory bottlenecks, either due to allocation time or out-of-memory errors.
Inserting and erasing solution data (= the element containers) could theoretically be easily supported by implementing raw_copy!, invalidate! etc. for the DG containers (https://github.com/trixi-framework/Trixi.jl/blob/master/src/auxiliary/containers.jl#L6-L10). However, the surface data structures (interfaces, mortars, and so on) are just too much of a hassle to keep in sync - I think it's better to throw them away and rebuild them each time.
Whether it makes sense from a wall clock time perspective to reuse the element containers or not is something that would require careful benchmarking to decide. So far, it always seemed to me that the projection/interpolation of solution data is by far the most expensive part of the AMR procedure with respect to the solver. But this might change with your optimizations in place.

allocation 679MiB on average per call looks like it might be worth

No, you're right. This should at least be motivation enough to be investigated once. The downside is that it would require the elements container to be larger than strictly necessary to account for future growth. Thus, e.g., nelements(elements::ElementContainer2D) = length(elements.cell_ids) will not be possible anymore. This might be OK, but we'd have to make sure that anywhere any of the element variables are accessed, no slicing with :, size(dg.elements.u, <index_for_element_ids>) is used.

Moreover, we allocate some temporary arrays - we could also move them to some cache.


"failed to execute command: uv tool" if uv installed via mise/ubi

Describe the bug
Since v2024.10.3, mise fails to install pipx:… tools if uv is installed using ubi:astral-sh/uv.
To Reproduce
[settings]
experimental = true
paranoid = true
pipx_uvx = true

[tools]
"ubi:astral-sh/uv" = "0.4.20"
"pipx:timezonefinder" = "6.5.4"

then:

uv install ubi:astral-sh/uv
uv install

mise ERROR Failed to install<EMAIL_ADDRESS>mise ERROR failed to execute command: uv tool install timezonefinder==6.5.4
mise ERROR No such file or directory (os error 2)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information

Expected behavior
This used to work in v2024.10.2 and earlier, so I expected no regression.
And there doesn't seem to be a viable workaround - see the discussion at https://github.com/jdx/mise/issues/2854#issuecomment-2451735613
mise doctor output

version: 2024.10.13 linux-x64 (ee83488 2024-10-28)
activated: no
shims_on_path: yes

build_info:
  Target: x86_64-unknown-linux-gnu
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Mon, 28 Oct 2024 03:25:17 +0000
  Rust Version: rustc 1.81.0 (eeb90cda1 2024-09-04)
  Profile: release

shell:
  /bin/bash
  GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)
  Copyright (C) 2022 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

  This is free software; you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/.cache/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  usage  https://github.com/jdx/mise-usage.git#fe3888a

toolset:
<EMAIL_ADDRESS>  cargo:JojiiOfficial/LiveBudsCli@ref:4a2d75f5bede545738110dccbac033954b1d6087
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  pipx:liskin/foursquare-swarm-ical@172e1d0336fdab568ab6b5ed505a06daafa5078c
  pipx:liskin/liscopridge@a9c2debe41d045ef184c87bbad331ee6fa20b13c
  pipx:liskin/strava-gear@6883fefc8a8f0a2e5144f271480e406a33540417
  pipx:liskin/strava-offline@1abe986b2d1ba6a300954df6ff648d88bead6c80
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  ubi:rust-analyzer/rust-analyzer@2024-10-28
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
env_vars:
  (none)

settings:
  activate_aggressive = false
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cache_prune_age = "30d"
  ci = false
  color = true
  debug = false
  disable_backends = []
  disable_default_registry = false
  disable_hints = []
  disable_tools = []
  experimental = true
  fetch_remote_versions_cache = "1h"
  fetch_remote_versions_timeout = "10s"
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = "30s"
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  lockfile = false
  log_level = "info"
  not_found_auto_install = false
  paranoid = true
  pin = true
  pipx_uvx = true
  plugin_autoupdate_last_check_duration = "7d"
  quiet = false
  raw = false
  trace = false
  trusted_config_paths = ["~/.config/mise/config.toml"]
  use_versions_host = true
  verbose = false
  yes = false

  [cargo]
  binstall = true

  [node]

  [pipx]
  uvx = true

  [python]
  default_packages_file = "~/.default-python-packages"
  pyenv_repo = "https://github.com/pyenv/pyenv.git"
  venv_auto_create = false
  venv_stdlib = false

  [ruby]
  default_packages_file = "~/.default-gems"
  ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
  ruby_install = false
  ruby_install_repo = "https://github.com/postmodern/ruby-install.git"

  [status]
  missing_tools = "always"
  show_env = true
  show_tools = false
No warnings found
No problems found

Additional context
bisected, first bad commit is df47d0a39769df9cde4f81d316fd8be9ab38ae9c:
df47d0a39769df9cde4f81d316fd8be9ab38ae9c is the first bad commit
commit df47d0a39769df9cde4f81d316fd8be9ab38ae9c
Author: jdx<EMAIL_ADDRESS>Date:   Sun Oct 13 16:44:54 2024 -0500

    fix: do not include shims dir in path_env when reinserting (#2745)

    Fixes #2682

 src/path_env.rs | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

I don't see the asdf plugin for uv doing anything special, looks like we can just default mise to use ubi for uv

I don't see the asdf plugin for uv doing anything special, looks like we can just default mise to use ubi for uv

Not really, there's two binaries in the uv tarball - uv and uvx. I don't need uvx personally, as I only use that functionality through mise and it's available as uv tool anyway. But others might.

With https://github.com/jdx/mise/issues/2885 being done, this is no longer an issue as the following just works:
[settings]
experimental = true
paranoid = true
pipx_uvx = true

[tools]
uv = "0.5.2"
"pipx:timezonefinder" = "6.5.4"

[alias]
uv = "ubi:astral-sh/uv"

I think we can close this.

(actually, with mise registry preferring aqua over asdf for uv, I don't even need that alias! that's awesome ❤)


In create_kg_node_extractor, if the input json has a doc_id, use that instead of creating one

Implemented and tested


No mention to wrappable_struct! macro at README.md

Is it on purpose (to keep it private so you change it at the near future (or something like that))?
Can I open a PR adding the examples of the documentation? (or at least citing its existence)
I've found wrappable_struct! by navigating through the documentation and it was exactly what I was needing for my lib. It was really confusing how it worked (and I'm still not so sure of everything).
It seems to me like it "attaches" an amount of allocated raw memory to the Ruby object instance. And it puts a Rust struct on it. And the rutie/rust wrapper is able to "decode/dereference" this memory. It doesn't show in any instance variable or something (from the Ruby side).
Could you give me hints for a better understanding of the macro?
Can we document that on the Readme so it may be clear when to use it or not to use it?

I haven't used wrappable_struct! myself, the README that speaks of this is the original project ruru  https://github.com/d-unseductable/ruru#wrapping-rust-data-to-ruby-objects .  I'll need to refresh myself by reading the code again if I'm going to be able to add anything more helpful.

I think I can put some basic documentation about at the README. In a way that harmonizes with the remaining docs. I'll open a PR and we can discuss further.

@danielpclark you can look at my pet project https://github.com/abinoam/matrix_rs
I think it's a really small example of how to use wrappable_struct!


parser: Fix DISCARD/IMPORT TABLESPACE syntax

What problem does this PR solve?
Fix compatibility problem about keyword import/discard tablespace
issue #501
What is changed and how it works?
I added a rule to identify the statments in the parser, and it introduced just a few changes in related files (ast/ddl.go, parser.y), as well as added test in parser_test.go.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has exported function/method change
Has exported variable/fields change
Has interface methods change

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation
Need to be included in the release note

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.fzh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

please sign the CLA

resolve conflicts please @fzhedu


0.10.3

What is the motivation here?
The reason this version branch fell apart was someone ran into an error on the branch


Remove jaeger collector

This removes the jsonnet and all left over references in favour of using the TempoStack

Do we still need services/sidecars/jaeger-agent.libsonnet ?

Do we still need services/sidecars/jaeger-agent.libsonnet ?
yep for now at least


Ideation: Design Thinking Sessions

incorporate the feedback from the comments - 6/19-6/21
finalize questions 6/21-6/23
transfer them to a Google Form 6/24-6/25
share Google Form across all of Techqueria platforms 6/26
get at least 500 responses 6/26 to 7/12 - raffle off 3 $25 Amazon Gift Cards for incentive
have a design thinking workshop with responses incorporated 7/15 or 7/16
reflect & ideate 7/16 to 7/19
finalize feature list 7/19

cc @fvntr

actual timeline so far

finalize google form 6/28
share across Techqueria platforms 7/1


The access_token provided is invalid

I successfully can get the media by tags with my access_token using link at below:
(https://api.instagram.com/v1/tags/qe/media/recent?access_token=MY_TOKEN)

But, while using this api, i receive an error: The access_token provided is invalid
Here is my code:
$instagram = new Instagram($client_id); //
$instagram->setAccessToken($my_token);
$tags = $instagram->getTag("qe");

What is wrong in my code?

I'm with same issue :/

Same as well.

Same as well.

I get the same error while trying to access public APIs like getPopularMedia() and getUser($id). I am not setting an access token because it's not necessary, and I don't have one.
$gram = new Instagram('CLIENT_ID'); var_dump($gram->getPopularMedia());

Same..
getUserLikesworks fine,
searchTags() displays:

The access_token provided is invalid

I think Instagram has changed the API and access tokens are necessary even for public endpoints.
If you provide the library a client_id and access_token and use something that doesn't require authentication, like getUser(), then it uses the client_id in the request. There should be a way to force the library to use access_token if it has supplied, since that provides more information from the API in all cases.
Super quick hack I did was in function getUser(), I set the $auth = true;

@Krisseck you absolutely right! Thanks!
According to Instagram Platform(API) changelog from Nov 17, 2015 we can see...

...
Apps created on or after Nov 17, 2015

Start in Sandbox mode for dev & test
Need to be reviewed and permission scopes approved before used in production
All API endpoints require a valid access_token

...

So if you want to use this library for your application, you need to do small hack that @Krisseck described above. Because in library code access_token  used not in every case(just look in 👇 code)...
...

protected function _makeCall($function, $auth = false, $params = null, $method = 'GET')
{
    if (!$auth) {
        // if the call doesn't requires authentication
        $authMethod = '?client_id=' . $this->getApiKey();
    } else {
        // if the call needs an authenticated user
        if (!isset($this->_accesstoken)) {
            throw new InstagramException("Error: _makeCall() | $function - This method requires an authenticated users access token.");
        }

        $authMethod = '?access_token=' . $this->getAccessToken();
    }

...

As for Me... I prefer to make changes in _makeCall method and change...
$auth=false

on
$auth=true

After this small change every endpoint request uses acces_token! Of course if you setup access_token 😄
This is not good practice! But this is choice if author of the library does not support it and doesn't approve(for a long time) any PR


Organize release planning session - JUNE 2, 6PM, MLK LIBRARY DIGITAL COMMONS ROOM 5

Doodle to pick a date: http://doodle.com/poll/b4r92bdes4cgdey7
Brain dump of things to discuss (please add to this in this issue!):
Release 1

Where will the application live? How will users find it?
What is it called?
Who can create an account and how do we control that?
First user should be @lwaldsc, possibly starting on July 11
UXers can sit with Lisa on one or more nights to observe how she uses the tool
1 sprint to respond to problems from pilot
Expand pilot to one full line and train new CM users
At release, we should share our work and how our awesome, diverse team worked (tweets, blog post)

After Release 1

Build accountant / audit features
Build case manager lead features
Budgeting features
How can we share the system with other abortion funds?
How can we neutralize the system for other case management systems to use?

Our winner for the date is June 2! We'll be at MLK library room 5.

@colinxfleming @lwaldsc @adinneen - Please take a look at this issue in the next week and add the things you're interested in exploring. How should we structure this? I think it would be great if one outcome of this meeting was a group of epics, features, and stories for the next release. I'm hoping we can spend at least half of our time on that topic!
We will also be able to quick-follow our release planning session with some action at the National Day for Civic Hacking on June 4. I plan to be there!
We should also make sure we document this meeting well!

I think having a group of epics/features/stories for next release is an A+ idea.
Here's the questions I'll want to make sure we address:
General administrativa:

At some point we'll need to get information we capture during this week back into the Excel doc. What's the least annoying way to do that?
How do we provide technical coverage for @lwaldsc ? It sounds like a design/UX person will be sitting with her part of the time; should we have a member of the backend team there as well?
Should we plan on responsively fixing issues on the fly? e.g. if something doesn't work, should we aim to have a technical hotfix in place by the time @lwaldsc is settling in to make calls the following day?

Technical stuff (mostly security stuff):
** Should we move our auth to a service like auth0, and stop using devise?
** We should DEFINITELY turn off account registration, which is currently open as we continue to test. Let's make sure we remember to do that.
** Can we keep deploying on heroku? Should we move to another provider, like google cloud platform or something?
** Should we set up a security integration service like Hakiri, if we think Brakeman isn't enough?
** Should we set up a monitoring service like New Relic?
** We've punted on clinics-related features for now. When do we start really working these in?

Supplies needed for Thursday: sticky notes, sharpies, notecards, blank 8.5x11 paper, tape, whiteboard markers
Great group of questions @colinxfleming. I love the idea of hot fixes for Lisa, and backends attending the usability testing. I think we can just timebox R1 discussion to the first 90 mins, and R2 to the second 90 mins.
Is it 6-9 pm? Can we bring food in? I'm guessing the answer is no; any ideas for how to keep people fed and happy?
Can the DCAF accountant come? And any other board members who were there for initial planning stuff? If we have these folks, we should start with a 5 minute demo of what we've built so far.

Draft agenda:
6:00-6:20 - Introductions, demo of product so far
6:20-6:50 - Release and security (How to find it, who can find it, who can register, security)
6:50-7:30 - Usability testing plan with @lwaldsc, plan for release to a single DCAF line
7:30-7:45 - BREAK
7:45-8:30 - Epic and feature exercise for R2 (Paired user story writing, sorting, voting). Determine MVP for release to all DCAF users, elimination of spreadsheet use
8:30-8:45 - Future of case management tool (Share with other abortion funds? Neutralize the system for other case management systems to use?)
8:45-9:00 - Inevitable overage time and next steps

Yep, it's 6-9pm. I'll ask about bringing some snacks to keep us chipper.
I'll also get out the ask to the DCAF board team -- I think Meghan and Crofoot esp might have some valuable insights.

(Tapping in the core team, also: @NerdyGirl537 @Kevin-Wei @charleshuang80 @Nico-ehs @rebeccaestes @ewiggins @drownedout @CamLatimer @ajohnson052 @clarissastark @ashlynnpai @mchelen )

Just emailed DCAF stakeholders to request their presence. Also got clearance from our accountant to purchase things we need, so I'll take stock of what I have laying around and then we can invest in the remainder.

"At some point we'll need to get information we capture during this week back into the Excel doc. What's the least annoying way to do that?"
Just to get some stuff out of the way ahead of time, I was planning on using both the excel sheet and DCAF system at the same time anyway. I'm sure there will be some tech hiccups along the way, but calls still need to be made. The new AbortBot 5000 will be my primary, obviously, but I can record everything in the Excel as I go. This will take care of having to worry about data at the end of the shift as well.

Do we have a template for creating the user stories and epics? I can create or find simple templates ahead of the meeting for standardization when creating them.

@ewiggins -- @mebates is our expert on that process. Mollie will you flag for @ewiggins if you'd like a second set of hands on that process before tomorrow?

Three points of housekeeping:
a) I got a hard no from the library on food, so probably grab something on your way to the library. Sorry, everyone.
b) I got clearance from DCAF's accountant to buy supplies, so I'll grab the hardware tomorrow morning on my way to work.
c) Megan F from DCAF's case manager team will be joining us! (She's not on github that I know of, so she isn't tagged here.)

@ewiggins I'm not sure what you mean by templates! Usually for user stories we just use a sentence: As a X, I want to X, so that I can X. For epics, we just look for themes to the user stories. If you have another strategy or template I would love to hear about it!

The result of this was a game plan between now and launch -- gameplans for sprints before initial showtime, and logging more long-term plans. These are represented in https://github.com/colinxfleming/dcaf_case_management/wiki .
@mebates straight killed it at organizing this session.
Closing it out!


Connect with FIN

The Ministry of Finance (FIN) plays a key role in establishing, implementing and reviewing government’s economic, fiscal, financial management and taxation policies.

[x] Set up calendar invite
[x] Write questions for conversation
[x] Get feedback on questions

Thank you @jaimiebutton !


Make Handwritten Digit Recognizer

1,2,B,4,S,9,o....
Create a simple machine learning model that classifies handwritten digits from a dataset like MNIST. Display the results in a small interface or CLI.

@sumanth-0, can you assign this issue to me?


[sw dv] Multi-site support for Verilator

Support non-standard library & include paths via environment variables
CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD
Add -D__STDC_CONSTANT_MACROS for versions of g++ which discard some
C99 macros (such as UIINT64_C, which we use for some prince cipher code.)

Signed-off-by: Martin Lueker-Boden<EMAIL_ADDRESS>

Thanks @martin-lueker. The solution you found is actually surprising and not really intended to work this way. (It's expanding the variables in the Makefile, which are more an implementation detail.) Can you add a comment e.g. "TODO: Variable expansion depends on edalize internals. Find better solution." to make us remember what's going on? I can't see a better solution at the moment without edalize/fusesoc changes, so let's not block on that.

TODO: Variable expansion depends on edalize internals. Find better solution.

Sure.  Will do.


Torque being global applied in Unity

Hi,
I'm a student and I'm trying to use MuJoCo for simulating robotics. I’m looking for some help with applying forces/torque in Unity.
Before I applied the torque by using xfrc_applied. But now with multiple hinges connected to each other I started to run in some issues. I think the torque is being applied globally.
When I rotate it towards the Z axis it stops rotating but the torque is still applied? The torque is applied on the X axis so that’s why I think its applied globally. The hinge itself doesn’t rotate (see gif).
Here is a gif illustrating my question:

I tried different methods of applying forces but none of these worked except setting the velocity but that’s not what I need for this problem.
private unsafe void SetTorque(Vector3 torque)
{
        torque = MjEngineTool.MjVector3(torque);
        int numDOFs = MjScene.Instance.Model->nu;

        //MjScene.Instance.Data->xfrc_applied[6 * _body.MujocoId + 3] = torque.x;
        //MjScene.Instance.Data->xfrc_applied[6 * _body.MujocoId + 4] = torque.y;
        //MjScene.Instance.Data->xfrc_applied[6 * _body.MujocoId + 5] = torque.z;
        MjEngineTool.SetMjVector3(&MjScene.Instance.Data->xfrc_applied[6 * _body.MujocoId + 3], torque);

        //MjEngineTool.SetMjVector3(&MjScene.Instance.Data->xfrc_applied[6 * _joint.MujocoId + 3], torque);

        //MjScene.Instance.Data->qfrc_applied[6 * _joint.MujocoId + 3] = torque.x;
        //MjScene.Instance.Data->qfrc_applied[6 * _joint.MujocoId + 4] = torque.y;
        //MjScene.Instance.Data->qfrc_applied[6 * _joint.MujocoId + 5] = torque.z;

        //MjScene.Instance.Data->qfrc_applied[numDOFs * _joint.MujocoId + 3] = torque.x;
        //MjScene.Instance.Data->qfrc_applied[numDOFs * _joint.MujocoId + 4] = torque.y;
        //MjScene.Instance.Data->qfrc_applied[numDOFs * _joint.MujocoId + 5] = torque.z;

        //MjScene.Instance.Data->ctrl[_joint.MujocoId] = _strength;

        //MjScene.Instance.Data->qvel[_joint.DofAddress + 0] = torque.x;
        //MjScene.Instance.Data->qvel[_joint.DofAddress + 1] = torque.y;
        //MjScene.Instance.Data->qvel[_joint.DofAddress + 2] = torque.z;

        //MjScene.Instance.Data->qfrc_applied[_joint.MujocoId + 6] = _strength;

        //MjScene.Instance.Data->ctrl[_joint.MujocoId] = _strength;
}

Is there a way to apply the torque locally or am I doing something wrong? The above commented lines are all attempts I tried without result. Only the qvel had result but that one is using the velocity and I need to use and measure forces.

Hello,
You are correct, xfrc is global force+torque. qfrc is what you are looking for, and you were close t the correct usage.
Note that for hinges the joint space is one dimensional, so you would only have one value to apply.
private unsafe void SetTorque(float torque)
{
    MjScene.Instance.Data -> qfrc_applied[_joint.DofAddress] = torque
}

If you want to apply 3D torque regardless of the body degrees of freedom, you can instead convert from desired local to global forces using the body's transform: https://docs.unity3d.com/ScriptReference/Transform.TransformVector.html
After converting to global space you can apply it using xfrc like you have done.
Lastly consider if using MjActuators would be more appropriate in your case, as it looks like they would cover your needs.


Formatting on type (break before curly braces) is not working for C/C++/C# languages (possibly some others too)

Issue Type: Bug

Open fresh VSC, in the settings check format on Type, on Paste and on Save.
Install official C/C++ or C# extension.
For C/C++, change the formatting to follow Visual Studio style (Clang_format_style). For C#
Write any function with curly braces, for example.
The formatting won't apply. Hit CTRL+S and it will apply now. Here's the example of formatting not applying on type, but applying on CRTL+S.

Expected behaviour:
VSCode should format the code on type like it does with JavaScript (here's the example) right outside the box.
VS Code version: Code - OSS 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-25T01:43:18.461Z)
OS version: Linux x64 5.5.13-1-MANJARO

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 x 3998)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
23.37GB (0.72GB free)

Process Argv
--no-sandbox --unity-launch --no-sandbox

Screen Reader
no

VM
0%

Also I have to add that that issue haunting me from the first day I started using VSCode. Is not an exclusive for me, it happens to a lot of people using the different languages. I have an opened issue for omnisharp since summer, and the devs seems to ignore it.
It is really a shame that the text editor can't do the basic formatting right without forcing you to try million of options and eventually open an issue.

/extC++


Provide option to disabled button highlight adjustment

Hi,
it would be great if we can disable image highlight adjustment in addSideMenuButton() function.
A better way would be to get the button as a return value to change/improve it ourself.
E.g: func addSideMenuButton(options?)  {
button.adjustsImageWhenHighlighted = false
}

See also my pull request : https://github.com/teodorpatras/SideMenuController/pull/53

see my comment on #53


GCP DNS load crashes with neobolt.exceptions.ClientError - merge using null id

Description:

What issue is being seen?  Describe what should be happening instead of the bug, for example: Cartography should not crash, the expected value isn't returned, the data schema is wrong, etc.

gcp.dns.load_*() crashes with neobolt.exceptions.ClientError: Cannot merge node using null property value for id.
My guess for a root cause:
If gcp.dns.get_*() throws an exception, it will return {}, which then gets passed to gcp.dns.load_*(). dns.load_*() performs an UNWIND on the {}, which results in trying to merge  GCPDNSZone with a null id.
I'll test when I can.
To Reproduce:

Steps to reproduce the behavior.  Provide all data and inputs required to reproduce the issue.

Run the GCP DNS sync on a project where you don't have permissions to rundns.resourceRecordSets().list(project=project_id, managedZone=zone['id']).
Logs:

If applicable, copy and paste your console log with the failing stack trace.

  File "/{PATH}/cartography/sync.py", line 145, in run_with_config
    return sync.run(neo4j_driver, config)
  File "/{PATH}/cartography/sync.py", line 71, in run
    stage_func(neo4j_session, config)
  File "/{PATH}/cartography/util.py", line 58, in timed
    result = method(*args, **kwargs)
  File "/{PATH}/cartography/intel/gcp/__init__.py", line 237, in start_gcp_ingestion
    _sync_multiple_projects(neo4j_session, resources, projects, config.update_tag, common_job_parameters)
  File "/{PATH}/cartography/intel/gcp/__init__.py", line 196, in _sync_multiple_projects
    _sync_single_project(neo4j_session, resources, project_id, gcp_update_tag, common_job_parameters)
  File "/{PATH}/cartography/intel/gcp/__init__.py", line 174, in _sync_single_project
    dns.sync(neo4j_session, resources.dns, project_id, gcp_update_tag, common_job_parameters)
  File "/{PATH}/cartography/util.py", line 58, in timed
    result = method(*args, **kwargs)
  File "/{PATH}/cartography/intel/gcp/dns.py", line 227, in sync
    load_dns_zones(neo4j_session, dns_zones, project_id, gcp_update_tag)
  File "/{PATH}/cartography/util.py", line 58, in timed
    result = method(*args, **kwargs)
  File "/{PATH}/cartography/intel/gcp/dns.py", line 135, in load_dns_zones
    gcp_update_tag=gcp_update_tag,
  File "/{PATH}/neo4j/__init__.py", line 503, in run
    self._connection.fetch()
  File "/{PATH}/neobolt/direct.py", line 414, in fetch
    return self._fetch()
  File "/{PATH}/neobolt/direct.py", line 454, in _fetch
    response.on_failure(summary_metadata or {})
  File "/{PATH}/neobolt/direct.py", line 738, in on_failure
    raise CypherError.hydrate(**metadata)
    neobolt.exceptions.ClientError: Cannot merge node using null property value for id",

Please complete the following information::

Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11913e2a44a4d4682506d8364a638ceac69]

41697af4e83fc0e183a43b80fcc8e30b0bb3e3cb
Additional context:

Add any other context about the problem here.

Related to #484, exposed by #485.

I was right, here's my local repro:

To fix, we simply need to return [] and not  {}:


DOC: Advise against having np.nan in Categoricals

This came out of work on https://github.com/pydata/pandas/pull/10729
In the documentation, we mention that

There are two ways a np.nan can be represented in categorical data: either the value is not available (“missing value”) or np.nan is a valid category.

In the first case, NaN is not in .categories, and in the second case it is. I think we should only
recommend the first.
The option of NaNs in the categories makes the code in #10729 less pleasant that it would be otherwise. I don't think we should error if NaNs are included, just advise against it in the docs. Perhaps a deprecation, but I worry that I'm missing some obvious reason why NaNs were allowed in .categories.
@JanSchulz  do you remember the initial reason for allowing either representation?
Some bad things that come out of NaN in .categories:

Can't rely on a value of nan mapping to a code of -1:

In [2]: s = pd.Categorical(['a', 'b', 'a', np.nan], categories=['a', 'b', np.nan])

In [3]: s
Out[3]:
[a, b, a, NaN]
Categories (3, object): [a, b, NaN]

In [4]: s.categories
Out[4]: Index(['a', 'b', nan], dtype='object')

In [5]: s.codes
Out[5]: array([0, 1, 0, 2], dtype=int8)

potentially have to upcast the index type or mix strings and floats (nan) in the .categories Index.
extra code if you want to generically handle Categoricals that may or may not have NaN in categories.

hmm, we don't have an explicity prohibition in _validate_categories, but if you pass in your own categories (not as an Index) a null would be removed.
I think if you added a test and checked in validate_categories (maybe exempting fastpath=True) would be ok. (and I dont think anything would fail).

Unless someone comes up with a good use case of NaNs in the categories, I think we should just disallow it. This will make it a lot easier I think. Because even if we advise against it in the docs, if it is possible, people will do it and we will have to deal with the bug reports.

Ok, I've updated the title to recommend deprecation (unless there's a good reason otherwise). Later tonight I'll try out a check disallowing it and see what happens.

The original reasosn, AFAIR, was that R handled that corner case (NA as factor and NA as missing -> two different NA in a vector)

Thanks.
I think this is an area where with the pandas way of handling missing data (np.nan for everything) means it makes sense to differ from R. Unless the potential of adding integer NA with dynd means we would want to allow NA in the .categories. I still don't really see the benefit of that though.

I agree, I don't think there is anything to be gained from copying this R behavior in pandas.

@TomAugspurger let's just change this. I don't even thing its worth deprecating.

@TomAugspurger any chance you would have some time for this to get it into 0.17?

I'll give it a shot today. I think FutureWarning though right, not a straight removal? People could be relying on this.

yes deprecation warning is fine


No Input and Invisible Menus

Describe the bug
Can't type or draw within sticky note. As well, when changing sticky note color, it looses all buttons (although I can still interact with them even through their invisible). Tested in several Ubuntu env's.
To Reproduce
Steps to reproduce the behavior:

Snap install && Open
Create a new sticky note
Attempt to type or draw
Nothing happens

Expected behavior
It to work as advertised. Typing, drawing, and colors.
Screenshots
Invisible Menu error:

Desktop (please complete the following information):

OS: Ubuntu 20.04 (Gnome Desktop)
OS: Ubuntu 20.04 (Cinnamon Desktop)
OS: Ubuntu 18.04 (Gnome Desktop)
OS: Ubuntu 18.04 (Cinnamon Desktop)

Additional context
Not much other context, it doesn't work via snap currently. I do get the following syslog message when opening:
Nov 17 18:51:57 xxxx kernel: [100444.297531] audit: type=1107 audit(1605639117.394:191): pid=650 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=249950 label="snap.stickynotes.stickynotes"

As a tangent to this issue, the import export functionality does not appear to be functional either.


Huawei (android 6.0，OpenGL3.1 is Mali) GPU slower than CPU

I have two mobile phones, one is XiaoMi  (Android 9.0，OpenGL3.1 is Adreno), the other is Huawei (Android 6.0, OpenGL3.1 is Mail). When I run this demo app (Tensor Flow Lite GPU delegate), GPU is faster in the XiaoMi mobile phone than CPU, but in Huawei mobile phone, GPU is slower than CPU. What's the reason, the system version problem? Or the OpenGL ES chip problem?

？？？？

It depends on the specific model of your Huawei device.Some Huawei HiSilicon SOCs have very low GPU performance.In addition, the performance of the memory controller of the individual models of the HiSilicon SOC has performance problems.Devices that support NNAPI can use GPU/DSP/TPU to speed up some OPs, perhaps for performance improvements.

well,If my device GPU is good enough, but my Android system is less than 8.1 (NNAPI needs to be greater than 8.1), what happens? in tensorflow lite demo app,Will the GPU be faster than the CPU?

@anneyking
Thanks for reporting.  We also have noticed the performance degradation with Mali devices.  We're actively investigating where the performance regression happened.  I'll update the thread when we find the root cause.

@impjdi I test the inference time of mobilentv2 on Huawei Kirin seris GPU.  It is really a strange things. It shows same worse performance on  970 and 980, and shows better performance on 960.  It is sure that 980 has a stronger GPU,  but 960 get the best performance. Also, 980 gpu get slight accelerate compared to its cpu (about 30%). But, 960  gpu get  great accelerate compared to its cpu (about 7x). Below are some results on Kirin GPUs. So, can the tensorflow lite optimize for this?

Kirin 980 (Mail 76)
Kirin 970 (Mail 72)
Kirin 960(Mail 71)

mobilenetv2(224*224)
19ms
21ms
14ms

ssdlite_mobilenetv2(300*300)
41ms
33ms
29ms

@impjdi FYR. Dunno if this is same problem, but it seems there is a problem on some Qualcomm platforms too. I bought a Pixel 3a last week. NNAPI driver doesn't work on it, so I tried GPU Delegate on it. I got GPU numbers much worse than expected with my quick-and-dirty benchmark. I also got similar GPU numbers for Mobilenet V1 on both TfLiteCameraDemo apk and command line label_image.

model name
CPU 1 thread (ms)
CPU 4 threads (ms)
GPU delegate (ms)

Mobilenet
113
80
118

PoseNet
138
96
175

DeepLab V3
173
132
270

Mobilenet SSD V2 COCO
200
167
250

@freedomtan
We have prioritized and have someone working on Mali performance.  Maybe he can find the problem soon.  Hopefully that also addresses the Pixel 3a issue...

@impjdi FYR. I got more reasonable GPU numbers on Pixel 3a after the GlPersistentBuffer 87ae6fb8ee4.

model name
CPU 1 thread (ms)
CPU 4 threads (ms)
GPU (ms)

Mobilenet
113
80
52

PoseNet
138
96
78

DeepLab V3
173
132
144

Mobilenet SSD V2 COCO
200
167
113

@freedomtan
Thanks for measuring the timing.  My colleague @NikolayChirkov added those improvements a couple days ago.  It doesn't solve the Mali performance bug, which we're still looking into, but improves some performance issues.

@impjdi It turns out that I was wrong. The faster numbers are on Pixel 3a running Android Q beta 3 and slower numbers are on Android P. The aforementioned patch doesn't help improve performance on Pixel 3a running Android P. Which means the slower numbers might be caused by GPU driver(s). Maybe the some of the Mali performance issues are caused by driver too?

@freedomtan
Thanks for the update.  Yeah, Driver versions definitely play a big role in GPU inference.  Thay may be possible.

@anneyking
Could you please try on the latest tf version and let us know if this is still an issue.


Add .editorconfig file

After i made a branch of the repo to include some functions/fix some bugs (will make separate issues/pull requests for these) it re-formated all the files because unfortunately, my visual studio settings are setup differently. I would suggest to add an .editorconfig file.

I've added .editorconfig with root="true"... I wasn't aware I use custom settings.. feel free to change it as you think it should look like...

@beakona thx, i will try to find settings that match. I assume you have default settings in VisualStudio then? (Mine are custom, but i never use them anymore because i use .editorconfig everywhere)


ENOENT: no such file or directory /loader.js/loader.js

We have loader.js pinned to ember-cli/loader.js, as far as I know this was auto-generated by ember-cli. However with the latest release I get this error:
Build failed.
ENOENT: no such file or directory, stat '/var/www/doge/frontend/tmp/concat_with_mapsnput_base_path-DxUfHEA3.tmp/0/bower_components/loader.js/loader.js'
Error: ENOENT: no such file or directory, stat '/var/www/doge/frontend/tmp/concat_with_maps-input_base_path-DxUfHEA3.tmp/0/bower_components/loader.js/loader.js'
    at Error (native)
    at Object.fs.statSync (fs.js:844:18)
    at ConcatWithMaps.keyForFile (/var/www/doge/frontend/node_modules/broccoli-caching-writer/index.js:91:55)
    at Array.map (native)
    at ConcatWithMaps.CachingWriter._conditionalBuild (/var/www/doge/frontend/node_modules/broccoli-caching-writer/index.js:107:61)
    at /var/www/doge/frontend/node_modules/broccoli-caching-writer/node_modules/broccoli-plugin/read_compat.js:61:34
    at lib$rsvp$$internal$$tryCatch (/var/www/doge/frontend/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/var/www/doge/frontend/node_modules/rsvp/dist/rsvp.js:505:17)
    at lib$rsvp$$internal$$publish (/var/www/doge/frontend/node_modules/rsvp/dist/rsvp.js:476:11)
    at lib$rsvp$asap$$flush (/var/www/doge/frontend/node_modules/rsvp/dist/rsvp.js:1198:9)

I'm posting this here because pinning the version to 3.6.1 works correctly.

Yep, 4.0.0 is now intended to be solely a NPM package (and ember-cli addon). This was a breaking change, so we bumped the major version as appropriate. Please continue to use the version range that is provided by your ember-cli version.

I'd love a PR to call this out in the README.


Document DockerComposeContainer usage

Adds an example of defining and starting a container, from a docker-compose file, using the new API (#78, support added #100).
I had to search around a bit to find out how to use the new API, so I thought adding an example might help others.
If you'd rather avoid over-complicating the Readme examples I'm happy to close the PR. Whatever works 👍

Overall I'm +1 on this. But maybe we need more information about DockerComposeContainer in a separate section?


Constant "Connected to ..." message when loading playlists

What went wrong?
The music bot fires up and runs perfectly normal... until you attempt to !play (spotify playlist here). the bot starts processing this playlist and as it does calls the cmd_summon command after every load of the song either from download or cache.
This started showing up after I called the update.sh command due to bot forgetting its in a discord channel with other people at random.
Snip of the Log.last file since github doesn't allow me to upload it

and here is a snip of the discord side of the output

How do we reproduce this?
Start the bot using run.sh
play (spotify playlist)
Which version of the bot are you using?
release-151221
Which operating system are you using?
Ubuntu 18.04 or higher
Just checking...

[X] I have confirmed that my issue has not already been reported.
[X] I am using Python 3.8 or higher.
[X] I have updated my Python dependencies.

I'm also having this issue

how do you fix this on review branch?

Have you updated the repository?

there has not been an update in almost a year..

While true, I do think you were running an older version of the master branch. That aside, you should try the review branch and see if your issue persists.
git checkout review

already am on the review branch. This specific issue came up on me quite a few weeks after using the bot.

Very interesting behaviour. Unfortunately I don't run the bot for an extend period of time anymore, so I can't replicate the issue.
Did this issue continue after a restart?

When this issue appears again, send in the discord.log and musicbot.log files.

I was having the same issue, everytime it looked up/downloaded a song from a spotify playlist it would spam the "Connected to " line. I commented out this block:
            voice_channel = author.voice.channel if author.voice else None
            response = await self.cmd_summon(
                channel, channel.guild, author, voice_channel
            )  # @TheerapakG: As far as I know voice_channel param is unused
            if self.config.embeds:
                content = self._gen_embed()
                content.title = "summon"
                content.description = response.content
            else:
                content = response.content
            await self.safe_send_message(
                channel,
                content,
                expire_in=response.delete_after if self.config.delete_messages else 0,
            )
            player = self.get_player_in(channel.guild)

Honestly I didn't put much thought into it since it seemed like this would just break the auto summon feature, but this fixed it. Hopefully that narrows it down

Should be fixed in review! https://github.com/Just-Some-Bots/MusicBot/commit/daa73be5681abe541aef9fb6460eeea777efcddf


Allow deletion of artifacts from other workflow runs

Specifically, I would like to remove temporary artifacts that are required for triggered workflows like the event file described here https://github.com/EnricoMi/publish-unit-test-result-action#support-fork-repositories-and-dependabot-branches

Hey @ofek, when deleting artifacts, an access token is required. This action currently acquires that token from an undocumented environment variable, ACTIONS_RUNTIME_TOKEN. Sadly, IIRC this token only provides access to artifacts for the current workflow run.
If this undocumented token does provide access to other workflow runs, this action could be updated to accept an optional run-id and delete matching artifacts. If this is something you would be interested in investigating, I would be open to pull requests. 👍
However, if the token doesn’t provide access to other workflow runs, it would require the user to generate and specify an access token, which is currently outside the scope of this action.
Alternatively, here are some other approaches that could be taken;

Utilise List workflow run artifacts and Delete an artifact API endpoints.
Use a reduced Retention period when uploading artifacts, e.g. retention-days: 1.

retention-days: 1 works well, thanks!


Updated PyPI creds with Scrapinghub's PyPI API token

@agusc to confirm: haven you used encryption for travis.org or travis.com?

hey @kmike, sorry! This one fell completely through the cracks  :(
And it just got revisited due to an issue with scrapy-autoextract, token was encrypted using travis-ci.org version, the one we were using at the moment, and upload failed due to wrong API endpoint.
So to answer your question this one was generated the same way, using travis-ci.org so I'll update the PR with travis-ci.com version.

Thanks @agusc!


Footer is always detached from the literal foot of page

This fragment...
Back to content
...sits outside and after the footer on WDTK and lots of other sites, and causes a white space of approx 1em to appear underneath the footer. It's hideous. And if it's required, shouldn't it be above the footer anyway?

@handelaar thanks for spotting that one, looks like a small bug to do with the positioning. I'll get that fixed right away

The gap is not being caused by the "Back to content" link – .show-with-keyboard-focus-only positions the link absolutely, so it’s impossible for it to take up space in the page flow.
Instead, my hunch is that the gap is being caused by an unclosed
 much further up the page. I’m hoping @wrightmartin will get a chance to fix that gap as part of https://github.com/mysociety/alaveteli/issues/4342#issuecomment-342435523

That said, removing the link from the DOM does close up the space. But we do still have some sort of nesting error. Hmmm.

That said, removing the link from the DOM does close up the space. But we do still have some sort of nesting error. Hmmm.

It has no top declaration, adding it removes it from the document flow


Update opensearch build name in releases

Signed-off-by: Junqiu Lei<EMAIL_ADDRESS>Description
Update opensearch build name in releases
Check List

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #119 (e6f1a7b) into main (a81ea44) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #119   +/-   ##
=========================================
  Coverage     86.50%   86.50%
+ Complexity      248      247    -1
=========================================
  Files            37       37
  Lines           830      830
  Branches         55       55
=========================================
  Hits            718      718
  Misses           87       87
  Partials         25       25

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Can we please add the results for this command -
./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true

@Shivamdhar Sure
(base) ➜  geospatial-junqiu git:(update_in_gradle) ./gradlew assemble --no-daemon --refresh-dependencies -DskipTests=true
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 7.4.1
  OS Info               : Mac OS X 12.3.1 (x86_64)
  JDK Version           : 11 (Eclipse Temurin JDK)
  JAVA_HOME             : /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home
  Random Testing Seed   : F060900B9EFB1F9A
  In FIPS 140 mode      : false
=======================================

BUILD SUCCESSFUL in 39s
13 actionable tasks: 12 executed, 1 up-to-date


Binding<double, string> fails with complex path with null member

Found the following issue with Bindings with complex paths: If you set a Binding<double, string> with a complex path, setting the binding fails because of a cast error from double to string, if one member of the complex path is null.
For example (if Btc is null):
_bindings.Add(this.SetBinding(
                () => Vm.Btc.Model.CurrentValue,
                () => ValueLabelBtc.Text));

Fixed in V5.4.1


Add tests for UpdateDomain in common/domain/handler.go

What changed?
tests for UpdateDomain in common/domain/handler.go. Created helper methods to make tests easier
Why?
improve unit test coverage
How did you test it?
unit tests
Potential risks
The logic didn't change but parts of it were encapsulated in helper methods. Need to ensure that the logic wasn't affected by the changes
Release notes
Documentation Changes

Pull Request Test Coverage Report for Build 019018b6-6cbf-48ca-929e-b90c90ffe186
Details

73 of 83 (87.95%)  changed or added relevant lines in 1 file are covered.
941 unchanged lines in 18 files lost coverage.
Overall coverage increased (+0.03%) to 71.469%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/domain/handler.go
73
83
87.95%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
2
88.06%

common/persistence/sql/sqlplugin/postgres/task.go
2
73.4%

service/matching/tasklist/db.go
2
73.23%

common/quotas/multistageratelimiter.go
2
83.33%

common/task/fifo_task_scheduler.go
2
87.63%

common/persistence/visibility_single_manager.go
2
99.36%

common/log/tag/tags.go
3
50.46%

service/history/task/fetcher.go
4
85.05%

service/history/task/transfer_standby_task_executor.go
5
86.33%

service/history/workflowcache/cache.go
6
93.33%

Totals

Change from base Build 01901736-46e3-4d50-830b-93f72c960f94:
0.03%

Covered Lines:
106581

Relevant Lines:
149129

💛  - Coveralls


feat: added multi part data api

API Details:

It's a multi-part request API with an endpoint -   /multi_part/echo_file.
It will just revert the file that we are sending as a form-data file.

Thanks for the PR @vidya-hub 🙌🚀

I will add a comment here as soon as it is available for testing.


ember-responsive-image v2 breaks Casper template

Got the following production error when upgrading ember-responsive-image in my app:

Uncaught (in promise) TypeError: Cannot read property 'charAt' of undefined

The build also threw this:

WARNING: Could not find config for ember-responsive-image, skipping image processing...

I believe this has to do with the migration to Octane, per the following error in the terminal output:

Error: Assertion Failed: No image argument supplied for

There's a fairly lengthy migration guide for this addon: https://github.com/kaliber5/ember-responsive-image/blob/master/docs/MIGRATION.md

Here's a branch that can be checked out for basic repro: https://github.com/empress/empress-blog-casper-template/compare/master...elwayman02:responsive-2.0

Just got burned by this again. If there is no easy fix, can we simply lock the version of ember-responsive-image on v1.x? I can't find where that comes from?

Fixed by #37 & #45


RN 0.38.0 ReactNativePropRegistry path changed

"react-native": "^0.38.0",
import ReactNativePropRegistry from 'react/lib/ReactNativePropRegistry';
should be changed to
import ReactNativePropRegistry from 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry';
in:

native-base\Components\Widgets\Button.js
native-base\Utils\computeProps.js
react-native-easy-grid\Utils\computeProps.js

Better to change to
import ReactNativePropRegistry from 'ReactNativePropRegistry';

@alexicum I think the issue is still there, can we reopen it?

Yes!
And that is why:

Requiring module 'ReactNativePropRegistry' by name is only supported for debugging purposes and will BREAK IN PRODUCTION!

#319

I believe this is a private API and should not be relied on. Can native-base switch to a public API instead?

I have created a pull request for this.

Fixed with v0.5.16

Fixed with latest release 0.5.18

@priezz curious, where should i change this
'import ReactNativePropRegistry from 'ReactNativePropRegistry';
since im not even using it anywhere. thanks

@thundenilla, it is about the NativeBase sources. 'Components/Widgets/Button.js' and 'Utils/computeProps.js'. However, the paths are already fixed in the recent version, so it is just enough to update the package.
Anyway... Can someone explain why to use private React/RN API?

@thundenilla You need not 'import ReactNativePropRegistry from 'ReactNativePropRegistry';, since the issue has been fixed.
Have proper version of NativeBase with RN

Is not resolve in the version release 0.5.18.
"dependencies": {
    "color": "^0.11.4",
    "moment": "^2.16.0",
    "native-base": "0.5.18",
    "node-qs-serialization": "0.0.2",
    "numeral": "^1.5.3",
    "react": "15.3.2",
    "react-native": "0.37.0"
....

And
--------- beginning of main
12-03 19:29:29.534 10933 11110 E ReactNativeJS: Requiring unknown module "react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry".If you are sure the module is there, try restarting the packager or running "npm install".
12-03 19:29:29.603 10933 11110 E ReactNativeJS: Module AppRegistry is not a registered callable module (calling runApplication)

@alejonext Have proper version of NativeBase with RN

@alejonext Have proper version of NativeBase with RN

For RN < 0.38 then you should go for NB < 0.5.16
For RN >= 0.38, NB 0.5.18 is compatible

We will soon document this

@SupriyaKalghatgi
`
"native-base": "^0.5.14",
"react": "15.3.2",
"react-native": "0.34.0",
"react-native-code-push": "1.14.6-beta",
"react-native-easy-grid": "^0.1.6",
`
And still getting the error, any idea why? I tried updating NB but then CardSwipping Crashed, so I need to stick with 0.5.14 for a while.

@SupriyaKalghatgi I've this issue with these config:
"dependencies": {
"color": "^0.11.3",
"lodash": "^4.13.1",
"moment": "^2.13.0",
"native-base": "2.0.13",
"react": "15.4.2",
"react-native": "0.42.3",
"react-native-code-push": "^1.17.2-beta",
"react-native-easy-grid": "0.1.8",
"react-native-modalbox": "^1.3.4",
"react-native-navigation-redux-helpers": "^0.5.0",
"react-redux": "^5.0.2",
"redux": "^3.6.0",
"redux-persist": "^4.0.0",
"redux-thunk": "^2.2.0",
"remote-redux-devtools": "^0.5.0",
"remote-redux-devtools-on-debugger": "^0.7.0",
"socketcluster-client": "^5.3.0"
}
I'm running the starter kit. I tried to fix it but I haven't found fortune so far.

This issue happen again with react-native 0.46.1. The path has change to "react-native/Libraries/Renderer/shims/ReactNativePropRegistry".
My config:
{
"native-base": "^2.1.4",
"react": "16.0.0-alpha.12",
"react-native": "0.46.1",
}

This issue happen again with react-native 0.46.1, +1

also seeing this issue with lastest RN / Expo 0.18

#307


chilfOf Selector added

Proposed Changes

🤖 Generated by Copilot at a0070d6
This pull request adds the childOf feature to the ElementSelector class and its YAML representation, which allows finding elements that are nested inside other elements. It also refactors the project structure and adds a new function to the Maestro class that uses the childOf feature to find an element from a view hierarchy.
Added support of childOf  selector which takes a element node as value. If we want to search a selector that is child of some view we can use this selector
childOf: Element
tapOn:
   text: "buy now"
    childOf:
        - id: "buy-now-button"

Testing

Issues Fixed

Hi there @sandeepjoshi19 👋 Would be great to learn more about this use case and when you want to use a selector like this?

@axelniklasson wanted to share one usecase where this would help me. This is my hierarchy
(LinearLayout)
    .
    .
    (LinearLayout) tv_post_like
	.
	.
	- (TextView) text_view
	.
	.
    (LinearLayout) tv_post_comment
	.
	.
	- (TextView) text_view
	.
	.

I want to copy text from the text_view inside tv_post_like. But I cannot use index or id selectors in copyTextFrom as index can change and id is not unique. But I can use childOf: tv_post_like selector to get my desired result.

Thanks for that context @saihemanth121 👍
@sandeepjoshi19 I'd be happy to help you get this merged. If you want to update with the following:

Rebase on latest main
Add tests

After that I'll be happy to take a look and review it!

Hi there @sandeepjoshi19, just checking in here -- when are you planning on addressing the feedback? We're working on improving our "time to land" for community PRs to avoid them hanging for too long.

Closing out due to inactivity from author. @sandeepjoshi19 let me know if you end up picking this up again and I'll be helping out to get it merged!

@axelniklasson Sorry was busy with some other work. I have rebased the code Please help me on Test.