All of my bundles can't be extracted.

Fails with different errors.
D:\Test>unityextract pirates_5d67f7b47ee4f4a78686c48f8926381d.unity3d
WARNING:root:-10551 absent from structs.dat
WARNING:root:8069 absent from structs.dat
WARNING:root:0 absent from structs.dat
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 119, in load
    self.register_object(obj)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 158, in register_object
    raise ValueError("Duplicate asset object: %r (path_id=%r)" % (obj, obj.path_id))
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\object.py", line 21, in __repr__
    return "<%s %i>" % (self.type, self.class_id)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\object.py", line 28, in type
    script = self.read()["m_Script"]
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\object.py", line 74, in read
    return self.read_value(self.type_tree, buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\object.py", line 78, in read_value
    t = type.type
AttributeError: 'NoneType' object has no attribute 'type'

D:\Test>unityextract sounds_38bcf14f388d4cc1dc43c8e658d5af16.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 132, in load
    tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 32, in load
    self.load_blob(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 69, in load_blob
    parents.pop()
IndexError: pop from empty list

D:\Test>unityextract sounds_38bcf14f388d4cc1dc43c8e658d5af16.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 132, in load
    tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 32, in load
    self.load_blob(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 69, in load_blob
    parents.pop()
IndexError: pop from empty list

D:\Test>unityextract indiana_f0b2dae294d7913662d096d515cc4e97.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 115, in load
    self.target_platform = RuntimePlatform(buf.read_uint())
  File "C:\Python36\lib\enum.py", line 291, in __call__
    return cls.__new__(cls, value)
  File "C:\Python36\lib\enum.py", line 533, in __new__
    return cls._missing_(value)
  File "C:\Python36\lib\enum.py", line 546, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 33 is not a valid RuntimePlatform

D:\Test>unityextract jungle_909c07a7482ae015500a4c472af38614.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 115, in load
    self.target_platform = RuntimePlatform(buf.read_uint())
  File "C:\Python36\lib\enum.py", line 291, in __call__
    return cls.__new__(cls, value)
  File "C:\Python36\lib\enum.py", line 533, in __new__
    return cls._missing_(value)
  File "C:\Python36\lib\enum.py", line 546, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 8404736 is not a valid RuntimePlatform

D:\Test>unityextract lobby_2678b6f86f5dbd5b5ac9a3076c5f9936.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 133, in load
    ref.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 184, in load
    self.file_path = buf.read_string()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 70, in read_string
    ret = self.read_cstring()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 83, in read_cstring
    c = self.read(1)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 60, in read
    return self.buf.read(*args)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\assetbundle.py", line 188, in read
    self.seek_to_block(self.cursor)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\assetbundle.py", line 235, in seek_to_block
    self.current_stream = self.current_block.decompress(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\assetbundle.py", line 166, in decompress
    res = lz4_decompress(buf.read(self.compressed_size), self.uncompressed_size)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 13, in lz4_decompress
    return lz4.loads(data)
KeyboardInterrupt ----- too long ~5 minutes

D:\Test>unityextract musketeers_240083e70840140e8d06ed37cacbba13.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 140, in load
    tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 34, in load
    self.load_old(buf)
...
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 37, in load_old
    self.type = buf.read_string()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 70, in read_string
    ret = self.read_cstring()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 83, in read_cstring
    c = self.read(1)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\utils.py", line 60, in read
    return self.buf.read(*args)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\assetbundle.py", line 185, in read
    buf = bytearray()
RecursionError: maximum recursion depth exceeded while calling a Python object

D:\Test>unityextract notredame_b4672ec2b2ce4e55bb36ee693e1b858a.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 115, in load
    self.target_platform = RuntimePlatform(buf.read_uint())
  File "C:\Python36\lib\enum.py", line 291, in __call__
    return cls.__new__(cls, value)
  File "C:\Python36\lib\enum.py", line 533, in __new__
    return cls._missing_(value)
  File "C:\Python36\lib\enum.py", line 546, in _missing_
    raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 4161536 is not a valid RuntimePlatform

D:\Test>unityextract promolastchance_22f9e9d5e32a4c5b429bbd273b89d3a4.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 132, in load
    tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 32, in load
    self.load_blob(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 69, in load_blob
    parents.pop()
IndexError: pop from empty list

D:\Test>unityextract --all -o out robin_37f5fd552635c01cfccc0709d906825a.unity3d

Do nothing W/O Any output

D:\Test>unityextract windows_5626cce8f12bc07aabffb1c6d07ea5b0.unity3d
Traceback (most recent call last):
  File "d:\Projects\bin\\unityextract.py", line 146, in <module>
    main()
  File "d:\Projects\bin\\unityextract.py", line 143, in main
    exit(app.run())
  File "d:\Projects\bin\\unityextract.py", line 56, in run
    self.handle_asset(asset)
  File "d:\Projects\bin\\unityextract.py", line 81, in handle_asset
    for id, obj in asset.objects.items():
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 83, in objects
    self.load()
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\asset.py", line 108, in load
    self.tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 132, in load
    tree.load(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 32, in load
    self.load_blob(buf)
  File "C:\Python36\lib\site-packages\unitypack-0.6.1-py3.6.egg\unitypack\type.py", line 69, in load_blob
    parents.pop()
IndexError: pop from empty list

For example I provide one bundle with manifest Test.zip

Which game are those files from?

Can you send me musketeers_240083e70840140e8d06ed37cacbba13.unity3d as well as windows_5626cce8f12bc07aabffb1c6d07ea5b0.unity3d please.

Is from my game. I just want to know how Unity handles my bundles. And resources.

Can you send me musketeers_240083e70840140e8d06ed37cacbba13.unity3d as well as windows_5626cce8f12bc07aabffb1c6d07ea5b0.unity3d please.

Yep files.zip

I also provide you a manifest that describes bundle relations.

Hi, any news? You fix this issue?

Sorry, I can't look into this any time soon :/ but whenever I get back to this I'll take a look. Or maybe @ifeherva knows better.

You have any documents about Unity bundle structure? If I read may be I can help also.

Not really, documentation is nearly nonexistant. It's all reverse engineering work.

@doterax I know the program that can extract all your assets

Make me advice and make me happy :)
вт, 7 февр. 2017 г. в 21:25, Danil Yarancev<EMAIL_ADDRESS>
@doterax https://github.com/doterax I know the program that can extract
all your assets
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HearthSim/UnityPack/issues/28#issuecomment-278112550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEn3SBHePY4yV6xcKZY_vIYWCHOmWh3Sks5raMVAgaJpZM4Lt0EV
.

@doterax nah, I was mistaken :)

UnityFS����5.x.x�5.5.0p4 in header.

@Stellarspace so what?

@doterax Is that even supported?

Some of these issues are fixed by 11c22bc.  There are, however, still further issues reading some of the objects that I'll have to look into when I get more time.

After fixing the Object reading issue, there are two remaining errors here:

unityextract can't handle the shader format introduced in Unity 5.5:

Traceback (most recent call last):
  File "../../bin/unityextract", line 100, in handle_asset
    self.write_to_file(d.name + ".cg", d.script)
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/engine/object.py", line 6, in _inner
    ret = self._obj[f]
KeyError: 'm_Script'

The external file references in these assetbundles aren't being resolved correctly:

Traceback (most recent call last):
  File "../../bin/unityextract", line 86, in handle_asset
    d = obj.read()
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/object.py", line 81, in read
    return self.read_value(self.type_tree, BinaryReader(BytesIO(object_buf)))
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/object.py", line 143, in read_value
    result[child.name] = self.read_value(child, buf)
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/object.py", line 148, in read_value
    result.asset = self.asset.get_asset(result.source)
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/asset.py", line 61, in get_asset
    return self.environment.get_asset(path)
  File "/usr/lib/python3.4/site-packages/unitypack-0.7.2-py3.4.egg/unitypack/environment.py", line 71, in get_asset
    raise NotImplementedError("Cannot find %r in %r" % (archive, self.bundles))
NotImplementedError: Cannot find 'buildplayer-musketeers' in {'buildplayer-musketeers.sharedassets': <AssetBundle 'BuildPlayer-Musketeers.sharedAssets'>}

Hey.
Yeah I am trying to export the shaders and having the same issues.
Any luck with this?

unityextract can't handle the shader format introduced in Unity 5.5:
I can confirm this issue is still there


Subscriptions

Hi  @timeshift92 . I wanted to find out if this lib handles GraphQL subscriptions , especially when paired with graphql-svelte

Hello, yes, https://github.com/timeshift92/sapper-hasura/blob/main/src/core/svqlConfig.ts
This link give you new config with graphql-svelte

'''
export default function hasura(schema) {
Hasura.provider = client;
const orm = new Hasura(schema)
orm.provider = client;
return orm;
}

Thanks @timeshift92


eudev does not support escaped double quotes so use single quotes

Closes #10

Looks good to me, FWIW.

As mentioned on #10, this is not entirely eudev-specific: I think this change is also going to be necessary if Steam still aims to support OSs that have older versions of the original udev (the versions included in systemd 234 and older, and all versions from before udev merged with systemd).

Released in steam-launcher <IP_ADDRESS> (currently a beta, should become the stable release later).


Use sqlite to manage state?

At present, we store import data in the upstream Postgres. This means we dirty the upstream Postgres with the progress of our imports, which might not be the best of ideas.
It may be a nicer deployment to use an abstract SQL adapter, with the option of a local sqlite database to store the import jobs. The default installation of pg2sink could be a singleton statefulset with a local sqlite database, with import workers running in the same binary as the logical stream.

Having thought about it, I don't think this is a good idea for a v1. While we pull from Postgres only, it doesn't make sense to introduce the ability to place storage in a different database.
Changing to an abstract datastore would prevent us from using go-jet, skip for locked queues (imports), and complicate the import model by introducing another datastore separate from the primary.
Closing now, until there's a clearer need.


Product images are not available on K8s deployment

The public web application is using internal service url as remote-service for the gateway. The images can not be reached.

On production, remote service must be set to real DNS as set in https://eshoponabp.com/ to https://gateway-public.eshoponabp.com/.
It is not possible on staging environment because the hosts file overrides:
<IP_ADDRESS> gateway-public.eshoponabp.dev
# To allow the same kube context to work on the host and the container:
<IP_ADDRESS> kubernetes.docker.internal

So the DNS is being tried to resolved by internal kubernetes cluster that results with not found service error.


winpthreads-related issue when compiling against flint

winpthreads is currently not compatible with Python on Windows, see https://github.com/mingw-w64/mingw-w64/issues/65.
Would it be possible to build the windows version of flint without pthreads? Seems like it can be disabled: https://github.com/flintlib/flint/blob/b197a2ea779afeb960e546d83c68c2d11bc7e2eb/configure.ac#L174-L183

With the new version merged, pthread.h is included only when thread_pool.h is used by the downstream project.

You mean it's fixed already in the upstream flint library? Is it included in 3.1.3?

Yes, it's included in 3.1.3

Awesome, then I'll wait patiently for 3.1.3 to be available via conda 🐱

@conda-forge-admin, update version


Score of the user not getting displayed in the mutation request

query scoresofUser($scoresOfUserUsername2: String!)
{
scoresOfUser(username: $scoresOfUserUsername2) {
points
}
}

Converted the data type of points in the model to be Number and not Decimal


Author Login page

The author will have to login to their own account. I am currently thinking of doing this with a separate login page and setting permissions in that page, but have not yet closely looked at the Flask-Login extension

I have added the author login and logout, but will wait till all the author stuff is done to close


Aborted Packages Marked As "Installed"

It would be nice if Chocolatey had a transctional approach to whether a package is considered installed.  Currently if I abort a package shortly after it starts - re running says it is installed.
I know I can use -Force to override - but it is a bit counter intuitive.  I assume Chocolatey is using the existence of the package folder for "installed" and that this folder is created at the start of an install.
What if a tag file like InstallCompleted.txt was added to the package folder upon an error free completion?
This simple change would allow chocolatey to have a more "transactional" approach to "installed" marking without too much change or effort.

@DarwinCSIWindowscom can I get you to re-create your issue here:
https://github.com/chocolatey/chocolatey/issues/698
This is where all new work will be carried out.
Thanks!

Fixed the link.

Closed now that it has been moved.


Text Selection Overflow (Android)

Description
The text selection menu overflows in some fairly common cases.  This PR will fix it by handling it the same way that native does.

This PR is only for Android, and we'll need to do a similar approach for iOS.
Related Issues
https://github.com/flutter/flutter/issues/35826
Closes https://github.com/flutter/flutter/issues/50935
Tests
In material/text_selection_test.dart, I tested various overflow cases and the position of the menu above and below the anchor. I also noticed an edge case in showing the menu when a large block of text was selected, and I wrote a test for that too.
Breaking change
This is a breaking change, see the design doc.

in reply to https://github.com/flutter/flutter/pull/49391#discussion_r385874977
I can only think of using animation to achieve this effect. however, this might be tricky, you will have to provide both pure container element and animation element to renderObject. If the rendering layout with overflow, you paints the pure container element. otherwise paints the animation element. There might be way to simply the structure, but i this is what i can think of from a quick peek.

@goderbauer @chunhtai Ready for re-review, thanks!
I used applyPaintTransform to get the tests to work again.  Before, tester.tap was not tapping at the right location, and now it is.  However, I still don't fully understand how and when that method should be used, so please let me know if something looks off.  I tried implementing it on the child RenderBox as well (_TextSelectionToolbarItems), but the test always received weird values for the location of the buttons in that case.  I tried many different combinations of transforming and not transforming and peeked at the values the hit testers were getting, but couldn't convince myself that I understood the way it's intended to be used.
I'll take a look at updating the goldens soon.

Design doc
Breaking change email:

Hello Flutter,
If your app doesn't involve selectable or editable text, you can stop reading now.
I'm modernizing a few things about the text selection menu, and if you use any visual diff tests with the text selection menu open, you may encounter failures.  See the full design doc.
Summary of Changes
The text selection menu has a positioning bug when selecting multiline text.  The position will be changed to match native.
The visual appearance of Android's menu will be updated slightly to match the latest versions of Android.
In the case that the menu overflows, such as on narrow devices or locales with long menu items, the menu will place overflowing items in an overflow menu in line with the native platform on iOS and Android.
Migration Guide
No code changes are needed.  If you have affected visual diff tests, update the tests to recognize the new visuals.
Thanks!  Please see the design doc for more information and to leave feedback.
Justin (@justinmc)

Looks like cirrus is unhappy, though.

Gold has detected one or more untriaged digests on patchset 28.
Please triage them at https://flutter-gold.skia.org/search?issue=49391.

Gold has detected one or more untriaged digests on patchset 28.
Please triage them at https://flutter-gold.skia.org/search?issue=49391.

Gold has detected one or more untriaged digests on patchset 28.
Please triage them at https://flutter-gold.skia.org/search?issue=49391.


Simple Amazon AWS EC2 F1 example

Hi,
I'm fairly new to the FPGA development stuff, I'm just tying to play around with AWS F1, so I have done
$ cd examples/simple
$ make build.awsf1

the output of the make is in https://gist.github.com/KoviRobi/8316a68ee10dc7e3b22b0298ab6d9339 but let me highlight a couple of lines

grep: /home/rmk35/programming/bluespec/connectal/boardinfo/.json: No such file or directory, perhaps a bug in Makefile.connectal, or I'm doing something wrong? There is an boardinfo/awsf1.json
Do I need quartus/vivado/vsim? I was just hoping to do the gen on my machine, and the synthesise on the Amazon FPGA Developer AMI.
make[1]: *** No rule to make target 'obj/Vector.bo', needed by 'obj/AwsF1Top.bo'.  Stop. I guess it's looking for the Vector.bo shipped with bluespec, which with the bluespec installed with the Nix package manager is /nix/store/2vxm66aq8f580x90z6nwc4iglm3ahijh-bluespec-unstable-2020.02.09/lib/Libraries/Vector.bo in this instance, but this path (specifically the hash in /nix/store/<hash>-<name>) will change with different versions of bsc so should definitely not be hardcoded.

I don't know what is causing this.

You need vivado 2019.2 with a license for the vcu9p FPGA synthesis and implementation.

An easy way to get these tools is to launch an AWS FPGA Developer AMI instance. That AMI is based on centos.

Connectal still requires BLUESPECDIR to point to the bsc lib directory but has been updated for the layout of libraries in the opensource bsc.

Connectal could use which bsc to determine BLUESPECDIR if it's not set.

Seems like the AWS FPGA Developer AMI only has GHC version 7.6 (and for some reason, it doesn't like installing the Nix package manager) so getting bluespec might be a bit difficult. I wonder if can I do the bluespec/bluesim parts on my machine, and the synthesis parts on the FPGA Developer AMI?

And it's Centos, which I find to be a pain. I had success copying vivado into a similarly configured Ubuntu 18.04 instance. I imagine you could do the same with other Linux distros.

Don't know if that will break any licenses (either break as in stop the software working, or as in legally I shouldn't do that). But we do have a lab machine that has Vivado set up (though not yet with the right license to do the encryption).
Is that a no on the being able to do the bluespec stuff on a separate machine to the synthesis stuff?

The software works but I did not ask if it was OK. I figure I'm complying with the spirit of the license: I only run it on AWS instances and only to develop for AWS FPGAs.
However, it's actually not hard to split those steps:

at the point where it attempts to run vivado for synthesis and implementation, all the necessary files are in awsf1/build.
You should be able to copy that and the cd awsf1/build/scripts; ./build.sh

I changed some AWS scripts this week, btw.
If this makes sense, we could add a Makefile target to make this easier, or add a remote synthesis option that uses rsync and ssh (or other appropriate mechanism). It might be handy to have it start the instance, run the build, and then shut it down again, at least as an option.

That's great to hear the steps could be split! In the meanwhile I might be having success with installing Nix on CentOS so that I can get the FPGA Developer AMI to have Bluespec.
But still, splitting the steps will allow me to develop/simulate on my laptop, and only be billed for the synthesis time :) (Though I'm still just starting with the FPGA stuff so not 100% sure on how the workflow goes)

For simulation, I recommend build.verilator, though it depends on what you'd like to do with AWS.
BSV compile time is short compared to synthesis and implementation for AWS.
Simulation of the AWS CL and SH requires Xilinx xsim or other commercial verilog simulators, which works but requires more manual steps.

Got the problem with 1. (the $(BOARD) not being defined) down:
https://github.com/cambridgehackers/connectal/blob/3f1bf0518b3bac3fa8acb414f3e253d001c829b2/Makefile.connectal#L206
ifeq ($(PCIEGEN),2)

forces the evaluation of the deferred variable $(PCIEGEN), defined at
https://github.com/cambridgehackers/connectal/blob/3f1bf0518b3bac3fa8acb414f3e253d001c829b2/Makefile.connectal#L178
PCIEGEN=$(shell grep PCIE $(CONNECTALDIR)/boardinfo/$(BOARD).json | sed 's/.*PCIE\([123]\).*/\1/')

which requires $(BOARD) to be defined, but that is only defined at https://github.com/cambridgehackers/connectal/blob/3f1bf0518b3bac3fa8acb414f3e253d001c829b2/Makefile.connectal#L44

I'm puzzled why you are getting this, because I've been running make build.awsf1 over and over again the past couple of weeks. Is the behavior the same with make gen.awsf1 ?

Yes, though it's just one line in the top of the Makefile, it still continues on fine. Now that I have figured out why I am getting that, I wonder why you aren't getting it, are you using the same Makefile.connectal as in the master branch here? Note, I'm using GNU Make 4.2.1

GNU Make 4.1.

But this is just a simple thing, make gen.awsf1 BOARD=awsf1 solves this problem.
A bigger thing I'm having is make[1]: *** No rule to make target 'obj/XilinxCells.bo', needed by 'obj/SyncAxisFifo32x8.bo'.  Stop.. I couldn't XilinxCells.* in either $BLUESPECDIR or connectal repo

XilinxCells.bsv is in bsc-contrib

If we clean up the split build, then Travis could run awsf1 builds.

Right, I have I think got to the point where I have done all that is needed on my local machine :)
https://gist.github.com/bc9b3c13971584c14a2b543c1bf1eaa5
Also, I have 'packaged' bsc-contrib as a BlueSpec library for NixOS (inverted commas are there because it's not an upstreamed first class package yet). I think Nix could function as the BlueSpec package manager, but obviously I quite like Nix (Nix doesn't require NixOS, nor specifically Linux :) ).
https://gist.github.com/KoviRobi/1381abdfce8e87139e4d04cfef3d76be#file-example-bluespec-shell-nix-L16-L27

Thanks for your help, I can confirm I have managed to synthesise and deploy the examples/echo program, so closing. Here is a summary of the steps I did, but no doubt it can be simplified further and will do that tomorrow:

Create an Amazon AWS FPGA Developer AMI instance
Clone aws/aws-fpga
Clone from cahbridgehackers repos connectal, fpgamake and buildcache
Install nix on the FPGA Developer AMI, see https://github.com/NixOS/nix/issues/2632#issuecomment-606867291 for what else I needed to do before sh <(curl https://nixos.org/nix/install) --no-daemon
nix-shell shell.nix where shell.nix contains https://gist.github.com/KoviRobi/1381abdfce8e87139e4d04cfef3d76be (this sets up the bluespec tools)
cd connectal/examples/echo
make build.awsf1, this will fail before synthesis
Convert the symlinks in connectal/examples/echo/awsf1/build/src_post_encryption/ to real files (this is kind of due to Nix, but I will patch the encrypt.tcl file and pull request)
Edit the encrypt.tcl to not copy the files, by commenting the Developr section
source ~/aws-fpga/hdk_setup.sh, export CONNECTALDIR=~/connectal and export CL_DIR=~/connectal/examples/echo/awsf1
~/aws-fpga/hdk/common/shell_stable/build/scripts/aws_build_dcp_from_cl.sh
Upload ~/connectal/examples/echo/awsf1/build/checkpoints/to_aws/*.Developer.tar to s3 and create an FPGA image per https://github.com/aws/aws-fpga/tree/master/hdk as usual.


Key error of ordinary for loop and TypeError of list indices in vsc.foreach

Hi!
I encountered the problem of reporting keyerror in the for loop but i don't know why.
Here is an exampel.
import vsc

@vsc.randobj
class my_s(object):
    def __init__(self) -> None:
        self.a = [i for i in range(10)]
        self.b = vsc.rand_list_t(vsc.int_t(8), 10)

    @vsc.constraint
    def ab_c1(self):
        for i in range(6):
            if i == 0:
                self.b[i] == self.a[i]
            else:
                self.b[i] == self.b[i-1] + self.a[i]

if __name__ == "__main__":
    random1 = my_s()
    random1.randomize()

Output:
kangshuo@oa-wssong1:~/work/f1_constraint$ python3 ./test.py
Traceback (most recent call last):
  File "./test1.py", line 20, in <module>
    random1.randomize()
  File "/home/kangshuo/work/pyvsc/src/vsc/rand_obj.py", line 162, in randomize
    Randomizer.do_randomize(
  File "/home/kangshuo/work/pyvsc/src/vsc/model/randomizer.py", line 593, in do_randomize
    ri = RandInfoBuilder.build(field_model_l, constraint_l, Randomizer._rng)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/rand_info_builder.py", line 116, in build
    fm.accept(builder)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/field_composite_model.py", line 154, in accept
    v.visit_composite_field(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/rand_info_builder.py", line 429, in visit_composite_field
    super().visit_composite_field(f)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 68, in visit_composite_field
    c.accept(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/constraint_block_model.py", line 42, in accept
    v.visit_constraint_block(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/rand_info_builder.py", line 176, in visit_constraint_block
    super().visit_constraint_block(c)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 107, in visit_constraint_block
    self.visit_constraint_scope(c)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 147, in visit_constraint_scope
    cc.accept(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/constraint_expr_model.py", line 40, in accept
    visitor.visit_constraint_expr(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/rand_info_builder.py", line 227, in visit_constraint_expr
    super().visit_constraint_expr(c)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 115, in visit_constraint_expr
    c.e.accept(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/expr_bin_model.py", line 178, in accept
    visitor.visit_expr_bin(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 166, in visit_expr_bin
    e.rhs.accept(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/expr_bin_model.py", line 178, in accept
    visitor.visit_expr_bin(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/model_visitor.py", line 165, in visit_expr_bin
    e.lhs.accept(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/expr_array_subscript_model.py", line 58, in accept
    v.visit_expr_array_subscript(self)
  File "/home/kangshuo/work/pyvsc/src/vsc/model/rand_info_builder.py", line 314, in visit_expr_array_subscript
    self._randset_m.pop(idx)
KeyError: 1

I found that this error does not occur when using vsc.foreach and vsc.if_then.
import vsc

@vsc.randobj
class my_s(object):
    def __init__(self) -> None:
        self.a = [i for i in range(10)]
        self.b = vsc.rand_list_t(vsc.int_t(8), 10)

    @vsc.constraint
    def ab_c1(self):
        with vsc.foreach(self.b, idx=True) as i:
            with vsc.if_then(i == 0):
                self.b[i] == self.a[i]
            with vsc.else_then:
                self.b[i] == self.b[i-1] + self.a[i]

if __name__ == "__main__":
    random1 = my_s()
    random1.randomize()

However, the list indices type of vsc.foreach does not support access to ordinary integer lists (self.a)
Exception while processing constraint: list indices must be integers or slices, not idx_term_c
Traceback (most recent call last):
  File "./test1.py", line 19, in <module>
    random1 = my_s()
  File "/home/kangshuo/work/pyvsc/src/vsc/rand_obj.py", line 82, in __init__
    self.build_field_model(None)
  File "/home/kangshuo/work/pyvsc/src/vsc/rand_obj.py", line 211, in build_field_model
    raise e
  File "/home/kangshuo/work/pyvsc/src/vsc/rand_obj.py", line 208, in build_field_model
    fo.c(self)
  File "./test1.py", line 13, in ab_c1
    self.b[i] == self.a[i]
TypeError: list indices must be integers or slices, not idx_term_c

Do you have any good suggestions to solve this problem?
Looking forward to your reply

I think you need to wrap up self.a as a list_t, which is non-random by default. Then you can append values to it and you'll end up with a list of constant non-random int_t.
import vsc

@vsc.randobj
class my_s(object):
    def __init__(self) -> None:
        self.a = vsc.list_t(vsc.int_t(8))
        for i in range(10):
            self.a.append(i)
        self.b = vsc.rand_list_t(vsc.rand_int_t(8), 10)

    @vsc.constraint
    def ab_c1(self):
        with vsc.foreach(self.b, idx=True) as i:
            with vsc.if_then(i == 0):
                self.b[i] == self.a[i]
            with vsc.else_then:
                self.b[i] == self.b[i-1] + self.a[i]

if __name__ == "__main__":
    random1 = my_s()
    random1.randomize(debug=False)
    print(random1.a)
    print(random1.b)


[FLINK-12115][fs] Add support for AzureFS

This PR is based on #8117. It decreases the dependency footprint and adds a proper NOTICE file to it.
cc @piyushnarang

@shuai-xu do you have time to test the Azure FS implementation?

Thanks for spinning this up @tillrohrmann, will review and chime in.

@tillrohrmann I have test the implementation. It works well, all libs are included. The only problem is that the file words is not uploaded to azure automatically. so the ones who run E2E tests don't know the file content and the checksum check will fail.

Thanks for testing the Azure file system @shuai-xu. This is a valid point you are bringing up here. I think it would be best if we added a Flink Azure account similar to what we did with S3 and add a static words file. This would, however, still mean that a user would need to upload it manually when testing it with her own Azure account. Since this is also the problem with the S3 tests, I would address this problem as a follow up.

Follow up for enabling the Azure FS E2E test on Travis: https://issues.apache.org/jira/browse/FLINK-12654
Merging this PR now.

Thanks @tillrohrmann :-)
ps. the words file is identical to that in the s3 tests and is the one we have in the repo.


Proposal: Add --zone flag for DNS challenge

I ran into an issue trying to a cert with multiple SANs on Google using lego. The issue is when trying to get a cert for a subdomain(i.e. foo.example.com) when my hosted zone is example.com. This doesn't work (as least for Google DNS provider) due to the assumption that the domain being passed is also the zone being hosted: https://github.com/xenolf/lego/blob/master/providers/dns/googlecloud/googlecloud.go#L127
This is simple enough to fix when the hosted zone is just the domain.tld and I have a working fix here: https://github.com/doublerr/lego/commit/99b62912aee47ae917417b1caa0d54893948525b
BUT this would break for anyone that want a cert for a fqdn that is multiple sub domains deep (which is me), a.foo.example.com.
Since we can't reasonably assume what the hosted zone is, I'd like to propose adding a --zone flag for the DNS challenge. This would allow an user to do something like:
GCE_PROJECT=example-123 lego --dns gcloud --zone=example.com \
--domains=foo.exmaple.com \
--domains=a.foo.example.com \
--domains=bar.example.com \
<EMAIL_ADDRESS>--accept-tos run

Since this would change the interface I think we can use a reasonable default that doesn't really change current behavior. Some possible defaults:

Assume the zone is domain.tldof the supplied fqdn.
If 1 fqdn is supplied, assume the zone is that domain. ( This is how things are today)
If 2 fqdns are supplied, assume the zone the common portion.

I'm happy to work on this, if this seems like a feature you want.

Hello there!
This seems to be a limitation of the Google DNS provider. The Route53 provider for example, does a lookup on the list of hosted zones to find it. Maybe this is also possible for Google DNS?

@xenolf the route53 provider does something similar when looking up zones. The difference is that it uses acme.FindZoneByFqdn, https://github.com/xenolf/lego/blob/master/providers/dns/route53/route53.go#L128, to solve this problem. That should be an easy fix if it works like I expect.


iOS: view does not update if element is scrolled

I am running into the following error:

I open a modal on an iPhone4 (for example, any iOS device is affected)
I display a list with buttons that extends over the end of the screen -> I have to scroll down

Now:
Any element that is initially visible can be clicked and the modal view is updated
Any element that is initially NOT visible can be clicked, the modal view is NOT update (e.g. a button stays selected), but if I console.log the click as well it does happen.
Any idea? It only happens when I use $aside. Using the standard $modal lets me click on scrolled elements. I think it has to do with the overflow, but I havent found a workaround yet

Found the following workaround:
added
.ng-aside .modal-dialog .modal-content {
  overflow: visible;
}

and then set the background-color for the overflowing element the same as modal


Feature/retry reader supports forced retries

It's looking good to me. I'll let @jiacfan take a look too before I merge.


Allow certificate password to be configured

I needed this for my application and thought I'd share.
Allows you to specify the certificate password

@turlockmike,
Thanks for the feature.  Version 0.3.9 includes it.


chore: bdd-spring-1585823334 to 0.0.1

chore: Promote bdd-spring-1585823334 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


add Step block on goal (reissue)

sorry for the repetition of my post but there was a slight misunderstanding.
#1550
What does your feature do?
I wanted to add this functionality:

Define the step block
In the stage objective, category "block" because despite all the proposed functions I would like the players to use a particular block at positions

Blocks

use blocks
For example during an exploration of a cave the player must for example find a hidden skull in order to obtain a card (given by the function of the quests events) however if he clicks on any skull in the cave that he validate the step
But I want only one (whose block would be defined as selecting a starting block but directly integrated into the quest as a block objective) can make him accomplish that objective.
To select a step block, choosing like this is fine

right click on the block to be used as a step block, then enter < finished > to save or < clear > to erase all data or < cancel > to return to the menu
And whose display of the lens would be on this principle

define the replacement list of the objectives of the stage
I hope I was clear on this idea which would help me enormously.
Your plugin is wonderful, I hope my idea will benefit many enthusiasts like me

Duplicate of #1550
While I appreciate the detailed explanation, it's my understanding you simply want to convince a player to step on a certain block. Install WorldGuard (not affiliated) and create a 1x1 area around the block to step on. In Quests, if you would like to do this at the start of a quest, use the Set region start (Définir la région) selection. If you would like to do this during a stage, use the Reach locations (Atteindre des coordonnées) objective.

Duplicate of #1550
While I appreciate the detailed explanation, it's my understanding you simply want to convince a player to step on a certain block. Install WorldGuard (not affiliated) and create a 1x1 area around the block to step on. In Quests, if you would like to do this at the start of a quest, use the Set region start (Définir la région) selection. If you would like to do this during a stage, use the Reach locations (Atteindre des coordonnées) objective.


Separate LOG into different files for different day

Is there any way to do this?  I am not sure whether by customing sink may achieve this ?
Since some of our programm may run for several days and all logs in one files makes the log very large .
We woule like to separate logs for different days.
Thanks,

https://bitbucket.org/KjellKod/g2log/issues/10/how-to-create-only-one-file-for-a-day
this should work..


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/sirjojo69/ioBroker.awattar

[ ] [E145] No news found for actual version 1.0.6
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2022 SirJojo69<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Thanks, that all bugs have been fixed.


Installation of satosa depends on clients

Currently, installation of satosa depends on the (demo) clients being correctly configured, because Satosa needs to fetch the client metadata.
It would be cleaner to split this: one role that installs a clean satosa, and another role (or perhaps the client role need to include this) to register the clients with satosa.

The proper way to handle this is probably to make sure that both satosa and the clients fetch metadata from https, and make sure they fail (and retry) gracefully if the other side isn't configured yet.

obsolete


socket receiving logic in eredis_client could be optimized

Problem
Right now after every received packet, setopts(Socket, {active, once}) is called. This results in high CPU load as there can be lots of incoming packets and from performance metrics we see that erts_internal:port_control NIF is taking a large slice of CPU time.
****** Process <0.2064.0>    -- 99.98 % of profiled time ***
FUNCTION                           CALLS        %    TIME  [uS / CALLS]
--------                           -----  -------    ----  [----------]
eredis_client:handle_call/3        17866     0.70    4546  [      0.25]
gen_server:try_dispatch/3          17866     0.71    4612  [      0.26]
erlang:port_get_data/1             17866     0.72    4676  [      0.26]
inet_tcp:send/2                    17866     0.75    4843  [      0.27]
eredis_client:safe_reply/2         17866     0.80    5181  [      0.29]
eredis_client:setopts/3            17866     0.88    5662  [      0.32]
queue:out/1                        17866     0.90    5783  [      0.32]
gen_server:handle_common_reply/8   17866     0.98    6302  [      0.35]
queue:in/2                         17866     1.00    6458  [      0.36]
prim_inet:encode_opt_val/1         17866     1.11    7185  [      0.40]
erlang:port_command/3              17866     1.27    8194  [      0.46]
inet_db:lookup_socket/1            17866     1.29    8338  [      0.47]
eredis_parser:parse/2              17866     1.31    8435  [      0.47]
gen_server:try_handle_call/4       17866     1.41    9100  [      0.51]
erlang:setelement/3                35732     1.44    9298  [      0.26]
eredis_parser:return/2             17866     1.44    9301  [      0.52]
inet:setopts/2                     17866     1.45    9360  [      0.52]
prim_inet:send/3                   17866     1.46    9393  [      0.53]
prim_inet:ctl_cmd/3                17866     1.49    9630  [      0.54]
prim_inet:send_recv_reply/2        17866     1.49    9638  [      0.54]
erlang:port_control/3              17866     1.50    9658  [      0.54]
prim_inet:enc_opt_val/2            35732     1.52    9786  [      0.27]
gen_server:decode_msg/9            35732     1.70   10968  [      0.31]
inet:'-setopts/2-lc$^0/1-0-'/1     35732     1.72   11076  [      0.31]
prim_inet:setopts/2                17866     1.87   12095  [      0.68]
eredis_client:reply/2              17866     2.16   13923  [      0.78]
gen_server:try_dispatch/4          17866     2.33   15042  [      0.84]
eredis_client:handle_info/2        17866     2.47   15933  [      0.89]
eredis_parser:do_parse/2           35732     2.78   17935  [      0.50]
gen_server:handle_msg/6            35732     2.97   19199  [      0.54]
eredis_client:handle_response/2    17866     3.13   20231  [      1.13]
eredis_client:do_request/3         17866     3.17   20440  [      1.14]
gen_tcp:send/2                     17866     3.98   25683  [      1.44]
eredis_parser:split_by_newline/2   17866     4.78   30868  [      1.73]
gen_server:reply/2                 17866     5.51   35590  [      1.99]
binary:match/2                     17866     7.23   46642  [      2.61]
gen_server:loop/7                  35732     7.50   48433  [      1.36]
erts_internal:port_control/3       17866     9.91   63994  [      3.58]
erts_internal:port_command/3       17866    11.17   72107  [      4.04]
--------------------------------  ------  -------  ------  [----------]
Total:                            821836  100.00%  645538  [      0.79]

Suggestion
Always set socket to passive mode ({active, false}) during connection setup (including TLS handshake, DB cmd, Auth cmd), regardless of user-provided socket option. This is what the current code expects anyway.
Then, make the {active, _} receive behavior of the eredis_client gen_server configurable via the existing socket_options configuration parameter:

if no {active, _} is provided in user-provided socket_options, then pick an ideal default behavior

TBD: should default behavior be the current one, ie. {active, once} or {active, SomeDefaultNumber} ?

if  {active, false}  is provided, crash

passive receiving doesn't really make sense

if {active, true} is provided:

after a successful connection setup, set the state to {active, true}
in handle_msg, do not call setopts at all (leave the socket as active)
TBD: would there be any difference in connection reset/close handling?

if {active, N} where N > 0 is provided:

check if transport layer supports it (maybe ssl below OTP/21 doesn't?)

if not, crash?

store the value of N in the #state{}, ~and also store a counter of received TCP packets that starts at 0.~
~on every non-error handle_info, increment the counter~

~if the counter >= N then call setopts({active, N}) again and reset counter to 0?~

setopt when we receive tcp_passive or ssl_passive, which we don't get if we're in {active, once} mode

These are a bit tricky because the {active, _} tuple from the initial socket_options proplist will need some special handling. eredis_sub should also be given consideration (at least so that it doesn't break) as it uses eredis_client:connect too.

Comparing this to cowboy. They're using active N with default N=100, but N is configurable in options:

active_n (100)
The number of packets Cowboy will request from the socket at once. This can be used to tweak the performance of the server. Higher values reduce the number of times Cowboy need to request more packets from the port driver at the expense of potentially higher memory being used.

What's the use case of making it configurable?

Performance tuning as you show with cowboy. I was thinking that different options can be tested in a real environment to see what works best. That's easier if it is not hardcoded.

active_n (100)

I don't know if active is better or this one. This one is not technically a socket option accepted by gen_tcp/ssl so it'd need to go into the top-level options I suppose. In case active_n is added though, the {active, _} should not be explicitly discarded from the user-provided in socket_options because the client's logic regarding it would not be customizable through that flag.

For {active, N} we shouldn't, but we need to setopt when we receive tcp_passive or ssl_passive, which we don't get if we're in {active, once} mode. We don't need to count the number of messages.

Ok, this sounds better then than what I thought.

Personally I prefer using socket_options -> {active, _} for this because the code will anyway have to check what is provided there by the library user, so there's not much benefit to introducing another flag elsewhere too.


Update Spring schemas from 3.0 to 4.1

Resolves: https://jira.duraspace.org/browse/FCREPO-1751

I think it's recommended practice to omit the version numbers from the spring xsd locations, e.g.:
xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

Merged via 080e5132d76cfa590e2a52f779f429c420b3b07c


[Error] Error reading character data

I am receiving the error "[Error] Error reading character data for teaaa, if you are in offline mode you will need to login and update. Make sure that your account name is entered correctly and with the correct casing. If you received this error while logging in, the authenticated session may have expired or bad data has been returned by GGG or a network issue may have occurred - Please try again."
I have read other remarks regarding this issue and understand this may happen when entering characters wrong as it is case sensitive. Problem is, this is not happening to my "login" character. This is happening to another character i have on the same league. I have tried deleting the character which creates the problem and procurement just goes to the next character and has the same issue.
To be clear, I log in to procurement and it loads my stash tabs, It than tries loading all other characters inventory which is when the error occurs.

I am having this exact problem as well.  Sometimes it will say what he is getting, and sometimes it will simply have an error of "Error: Failed to load characters".  I have DEFINITELY spelled my character name right and it's not loading ANY characters, not just the one I typed in under Account Name.  I haven't used Procurement since 1.8.6, but it definitely worked then.
I uninstalled and re-installed (Using 1.9.2, as that was the newest installer on the site?) then copied and pasted the 1.9.5 version into the installer folder.  PLEASE HELP!

I had this issue as well, My "Account Name" i was using was misspelled.If you go to path of exile forums and log in, in the top left corner above the "log out" and "messages" tabs, it will state "Logged in as XXXX". This XXXX is the account name needed for Procurement. Your account name is a name you chose when creating your path of exile account and is totally different to your character names. Hope this helps.
  From: moustaffa<EMAIL_ADDRESS>
To: Stickymaddness/Procurement<EMAIL_ADDRESS>Cc: ekoar<EMAIL_ADDRESS>Sent: Tuesday, August 25, 2015 5:49 PM
Subject: Re: [Procurement] [Error] Error reading character data (#169)
I am having this exact problem as well. Sometimes it will say what he is getting, and sometimes it will simply have an error of "Error: Failed to load characters". I have DEFINITELY spelled my character name right and it's not loading ANY characters, not just the one I typed in under Account Name. I haven't used Procurement since 1.8.6, but it definitely worked then. I uninstalled and re-installed (Using 1.9.2, as that was the newest installer on the site?) then copied and pasted the 1.9.5 version into the installer folder. PLEASE HELP!
—
Reply to this email directly or view it on GitHub.


Scrolling enable when closing a modal inside a modal

Expected Behavior

It should keep the scroll overflow hidden on the body when we close a modal inside a modal.

Current Behavior
The scrolling is enabled on the first modal.

Possible Solution
Steps to Reproduce (for bugs)
http://next.materializecss.com/test/html/multiple_modals

Click on Fixed modal header.
Click on Modal
3 Close Modal
You can scroll ouside the Fixed modal header

Context

Your Environment

Version used: Any
Browser Name and version: Chrome 63
Operating System and version (desktop or mobile): Windows 10
Link to your project (if appropriate):

Fixed in ef90dbd3.
Thanks for pointing this out!


Support raw text in drop-down-Editor with flag ( acceptRawText )

:tada: This PR is included in version 5.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Modify code to allow resetting max BUFR record through an environment variable

Modified the routines in NCEP_Paqc which write new information to ADPUPA (radiosonde) records.  If a sounding has a large number of levels, the modifications made to the records may cause them to be larger than the maximum BUFR record size, and that sounding record will be discarded.  The previous maximum record size (set by 'call maxout') was 15000, which is adequate for most soundings.  (An occasional sounding record is still being dropped in the MERRA2 assimilation, and these long soundings also appear to be missing from the gdas.prepbufr files.)
In the IGRA2 processing the number of levels in a raob sounding was reduced to 250 or less, which produced records small enough to fit in the original BUFR record size.   However, during a 'sweeper' test of IGRA data one sounding created an 'overlarge subset' (bufr record too large) after the RADCOR processing and the sounding was discarded.
While we could go back in the programs and bump up the maximum record size again, it would more convenient to be able to adjust the maximum record without having to recompile all the affected programs - hence the addition of a method to increase the bufr record size by modifying the environment variable BUFR_MAXOUT.  If the environment variable is not set, the maximum record size will be set to 15000 as before.

Zero diff if environment variable is not set, or if environment variable is set to the current bufr record size or lower.
Zero diff if the input prepbufr file does not have any long soundings which create overlarge records after additional QC information is added.
Non-zero diff if environment variable is set to a larger bufr values.  QC decisions will be the same for input files that did not generate any overlarge records; the bufr record size will just be different.  (For single level data the library will pack in observations into a record until the maximum size is reached.)  QC decisions will be different in e.g. OIQC if a previously dropped record is retained after the maximum bufr record size is increased.

This is more oriented for R21C but similar changes might be useful for MERRA2.  We have one or two 'overlarge subset' reports every month or so in the MERRA2 prepqc.log files

I have been monitoring the various runs (sweeper, GEOSIT and of course MERRA2) and with the current settings were are dropping a sounding every so often.  It seems like maybe it is a little more frequent as time goes by.  Though of course with GEOSIT we'll be switching the the NCEP gdas.prepbufr input files at the end of 2021 (I think) and will be letting the NCEP processing drop the overlong soundings instead.
Here are the results of a scan of the prepqc.log files from GEOSIT:
d5294_geosit_jan18/etc> grep -c 'OVERLARGE SUBSET' Y*/M*/prepqc.log | grep -v 't:0'
Y2017/M01/d5294_geosit_jan18.prepqc.log.20170116_00z-20170116_21z.txt:1
Y2017/M06/d5294_geosit_jan18.prepqc.log.20170617_00z-20170617_21z.txt:1
Y2017/M10/d5294_geosit_jan18.prepqc.log.20171022_00z-20171022_21z.txt:1
Y2017/M11/d5294_geosit_jan18.prepqc.log.20171106_00z-20171106_21z.txt:1
Y2018/M02/d5294_geosit_jan18.prepqc.log.20180207_00z-20180207_21z.txt:1
Y2018/M04/d5294_geosit_jan18.prepqc.log.20180402_00z-20180402_21z.txt:1
Y2018/M05/d5294_geosit_jan18.prepqc.log.20180511_00z-20180511_21z.txt:1
Y2018/M06/d5294_geosit_jan18.prepqc.log.20180623_00z-20180623_21z.txt:1
Y2018/M07/d5294_geosit_jan18.prepqc.log.20180709_00z-20180709_21z.txt:1
Y2018/M07/d5294_geosit_jan18.prepqc.log.20180720_00z-20180720_21z.txt:1
Y2018/M10/d5294_geosit_jan18.prepqc.log.20181026_00z-20181026_21z.txt:1
Y2018/M11/d5294_geosit_jan18.prepqc.log.20181124_00z-20181124_21z.txt:1
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190205_00z-20190205_21z.txt:1
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190208_00z-20190208_21z.txt:1
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190209_00z-20190209_21z.txt:2
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190210_00z-20190210_21z.txt:1
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190211_00z-20190211_21z.txt:2
Y2019/M02/d5294_geosit_jan18.prepqc.log.20190214_00z-20190214_21z.txt:1
Y2019/M04/d5294_geosit_jan18.prepqc.log.20190414_00z-20190414_21z.txt:1
Y2019/M07/d5294_geosit_jan18.prepqc.log.20190730_00z-20190730_21z.txt:1
Y2019/M08/d5294_geosit_jan18.prepqc.log.20190815_00z-20190815_21z.txt:1
Y2019/M08/d5294_geosit_jan18.prepqc.log.20190821_00z-20190821_21z.txt:2
Y2019/M09/d5294_geosit_jan18.prepqc.log.20190904_00z-20190904_21z.txt:1

I decided to add the 'zero diff' label since as explained above this would almost always be zero-diff unless the environment variable feature is used to prevent overlarge records from being dropped in the prepQC processing.


Update 404.tsx

added "|" between 404 not found. separates them, looks better.

The status string for a 404 is "404 Not Found", not "404 | Not Found". Keeping the current one since it's more standard imo.

Unnecessary stylistic change. I agree with Kiko, current text is more standard.

gonna agree with vrganj and kiko here


Onboard contributors with all-contributors cli

Describe your changes
Onboard project contributors with all-contributors CLI (as opposed to with bot, which opens individual PRs and is more suitable for individual contributors as they arise).
Onboarded contributors mentioned in https://github.com/ClimateTown/knowledge-hub/issues/82#issuecomment-1545034797
Please let me know if I missed anyone. I spent a while going through to make sure I got everyone, but I may have missed someone.

There are some contributors who have suggested resources/code that is yet to be merged. Those contributors will be added this weekend once their code and contributions become merged.


Roslyn analyzer/code fixer for use of Marshal.* functions

When using C#/WinRT, how developers do COM interop has changed a bit.
Before:

Guid guid = new Guid(ISurfaceImageSourceNative);
var imageSource = new MyImageSource();
IntPtr pointer = Marshal.GetIUnknownForObject(imageSource);
IntPtr pOut;
Marshal.QueryInterface(pointer, ref guid, out pOut);
var nativeInterface = (ISurfaceImageSourceNative)Marshal.GetObjectForIUnknown(pOut);
nativeInterface = null;
Marshal.Release(pOut);

Now:
var imageSource = new MyImageSource();
var nativeInterface = imageSource.As<ISurfaceImageSourceNative>();

The new code is so much prettier! But it will be a stumbling block for developers who are used to the old pattern. I think it should be possible to detect usage of Marshal.* APIs with a Roslyn analyzer, and hopefully a code-fixer as well. This could be added to https://github.com/dotnet/try-convert/issues/308
Thoughts?

This recommendation is limited to interop interfaces with the ComImport attribute.  The As<>() function is basically equivalent to the marshal code above.

Oh sorry, let me update the issue with the definitition of ISurfaceImageSourceNative
[ComImport, Guid(MainWindow.ISurfaceImageSourceNative), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISurfaceImageSourceNative {
}

Thx - there's nothing that requires the ComImport attribute.  I used it for consistency with old CLR behavior.  We could add AsComInterface<> if users just wanted to define a COM interface explicitly.  That already has to be done halfway for IInspectable COM imports, due to a CLR bug (see the unit test case).

Gotcha, so with the way it currently works, it requires ComImport? I think that sounds ok to me for now, unless someone comes asking for it, I wouldn't change it


merge status response into cluster status response

Minor comments. Otherwise :shipit: .

Fixed.  Thanks!


Kazari - showing modal window to edit code / integration of evaluator client

This PR includes code to the Kazari plugin that allows users to launch a modal window to edit every code snippet included in the documentation, and to request the remote evaluator to run those. This is still WIP, with no design and missing functionalities (i.e.: save modified code as a GitHub gist). Also included is the use of the evaluator client to perform requests to the remote evaluator, instead of using other libraries or jQuery ajax calls.
Also included is a first draft of the Kazari documentation, to keep track of the functionalities and little details to take into account when using it on an existing documentation.
Could you please review @juanpedromoreno @raulraja @dialelo? Thanks!

Closing this, as it includes a merge it shouldn't. Fixing and creating a new one ASAP :/


Feature/add point endpoint

continues #146
The mai change is that I'm introducing multi_points_pgstac which replace rio-tiler's multi_values method (because we use item dict instead of url, so it's not hashable as dict key).
In multi_points_pgstac I'm constructing an Item ID using the id and collection which we says are mandatory (this is not asserted but should)
@hrodmn could you have a look and tell me your tough

@hrodmn I'm having second though on the endpoint path /{lon},{lat}/values
I know we already have /{lon},{lat}/assets which might be the reason for the choice but at the same time in titiler (single item) we use /point/{lon},{lat}
would you be ok if we change this to /point/{lon},{lat} ?

That's fine with me. When I started working on it I went with /point/{lon},{lat} but changed my mind after finding /{lon},{lat}/assets. I think it makes sense to stay consistent with titiler.


add macau into the location list

The list doesn't show Macao/Macau so I make the PR to support it.

Thanks for the contribution, @gapry! I've merged it in my fork (see the commit referenced above) and the changes are live.


ability to add Pictures from clipboard

the Idea would be, to be able to add Pictures directly from the clipboard.
a lot of times I just snip/grab an image or screenshot and would like to be able to paste it.
could this be done by adding the image as a data blob? or have it upload like Github just did with this?
![image](https://cloud.githubusercontent.com/assets/7304823/20577010/60d2c0fc-b18e-11e6-97a3-2ab93d43c21a.png)
you can just paste it in and it will upload it and assign it a name and all.
thanks

Hi, that's a great idea. I haven't done any copy'n'paste of data into the browser yet. Have to see how that works.

might be able to use this as a baseline https://github.com/JoelBesada/pasteboard


Bug: 'changed_when' is not a valid attribute for a TaskInclude in roles/splunk/tasks/configure_splunk_boot.yml'

Minor mistake in configure_splunk_boot.yml.
We should remove the changed_when attribute.
    - name: Check if Splunk needs to be stopped if boot-start isn't configured as Ansible expects (or boot-start is not configured at all)
      include_tasks: check_splunk_status.yml
      when: >
        ((systemd_boot and splunk_use_initd) or
        (initd_boot.stat.exists and not splunk_use_initd) or
        (not systemd_boot and not initd_boot.stat.exists and not splunk_use_initd)

Fixed in v1.2.7 release. Thanks for the report!


enumerate output files in /steps

Now, CSV files located in /steps are not enumerated. It should be this way:
/steps
  /01-repos.csv
  /02-after-filter.csv
  ...

@rultor release, tag is 0.0.12

@rultor release, tag is 0.0.12

@h1alexbel OK, I will release it now. Please check the progress here.

@rultor release, tag is 0.0.12

@h1alexbel Done! FYI, the full log is here (took me 19min).


gitfinder Error !

Please what the problem?
Laptop Macbook Pro
python3 gitfinder.py -i input.txt

###########
# Finder is part of https://github.com/internetwache/GitTools
#
# Developed and maintained by @gehaxelt from @internetwache
#
# Use at your own risk. Usage might be illegal in certain circumstances.
# Only for educational purposes!
###########

Scanning...
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
  File<EMAIL_ADDRESS>line 48, in mapstar
    return list(map(*args))
  File "/Users/gt/Desktop/Bugbounty-tools/GitTools/Finder/gitfinder.py", line 22, in findgitrepo
    domain = ".".join(encodings.idna.ToASCII(label).decode("ascii") for label in domains.strip().split("."))
  File "/Users/gt/Desktop/Bugbounty-tools/GitTools/Finder/gitfinder.py", line 22, in <genexpr>
    domain = ".".join(encodings.idna.ToASCII(label).decode("ascii") for label in domains.strip().split("."))
  File<EMAIL_ADDRESS>line 73, in ToASCII
    raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/gt/Desktop/Bugbounty-tools/GitTools/Finder/gitfinder.py", line 95, in <module>
    main()
  File "/Users/gt/Desktop/Bugbounty-tools/GitTools/Finder/gitfinder.py", line 91, in main
    pool.map(fun, domains)
  File<EMAIL_ADDRESS>line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File<EMAIL_ADDRESS>line 771, in get
    raise self._value
UnicodeError: label empty or too long

Thank you!

It seems like you have too long or empty lines in your input.txt.

@gehaxelt how many characters is considered too long?


"PRO CPU has been reset by WDT" when using ESP32 bluetooth stack (IDFGH-12718)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1.3-416-gd23b7a0361
Espressif SoC revision.
ESP32D0WDQ5(revision 3)
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP-WROVER-KIT
Power Supply used.
USB
What is the expected behavior?
send modified AVDTP packet to peer.
What is the actual behavior?
"PRO CPU has been reset by WDT" and the development board has been reset
Steps to reproduce.

modify code: esp-idf/components/bt/host/bluedroid/stack/avdt/avdt_ad.c/advt_ad_write_req
``  `UINT8 avdt_ad_write_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, BT_HDR *p_buf)
{
UINT8   tcid;
/* get tcid from type, scb */
tcid = avdt_ad_type_to_tcid(type, p_scb);
srand(time(NULL));
// p_buf[0].event = (uint16_t)rand();
// if(type == AVDT_CHAN_MEDIA){
p_buf->event = (uint16_t)rand();
p_buf->len = (uint16_t)rand();
p_buf->offset = (uint16_t)rand();
p_buf->layer_specific = (uint16_t)rand();
for(int i = 0; i < p_buf->len; ++i) p_buf->data[i] = (uint16_t)rand();
// }
// static int dk_cnt = 0;
// if(++dk_cnt % 1000 == 0){
//     dk_cnt = 0, printf("\n\n avdt_ad_write_req \n");
//     printf("%" PRIu16 " ", p_buf->event);
//     printf("%" PRIu16 " ", p_buf->len);
//     printf("%" PRIu16 " ", p_buf->offset);
//     printf("%" PRIu16 " \n", p_buf->layer_specific);
//     for(int i = 0; i < p_buf->len; ++i) printf("%" PRIu16 " ", p_buf->data[i]);
//     printf("\n\n");
// }
return L2CA_DataWrite(avdt_cb.ad.rt_tbl[avdt_ccb_to_idx(p_ccb)][tcid].lcid, p_buf);
}`

2.change the target of esp-idf/examples/bluetooth/bluedroid/classic_bt/a2dp_source to "HUAWEI FreeBuds 4i"  /* device name */ #define TARGET_DEVICE_NAME    "HUAWEI FreeBuds 4i"
3. use idf.py to build a2dp_source
4. flash it to ESP-WROVER-KIT and monitor it
5. "PRO CPU has been reset by WDT" and the development board has been reset, the information of pairing has been deleted, I must set my headphone to broadcast state to reconnect.
...
Debug Logs.
TTTT  HUAWEI FreeBuds 4i
I (9877) BT_AV: Found a target device, address b8:8e:82:9a:be:50, name HUAWEI FreeBuds 4i
I (9887) BT_AV: Cancel device discovery ...
I (9897) BT_AV: Device discovery stopped.
I (9897) BT_AV: a2dp connecting to peer: HUAWEI FreeBuds 4i
W (9907) BT_APPL: reset flags
I (9917) BT_AV: bt_app_av_sm_hdlr state: 4, event: 0x0
W (10367) BT_HCI: hcif conn complete: hdl 0x80, st 0x0
I (10367) BT_AV: event: 16
ets Jul 29 2019 12:21:46

rst:0x7 (TG0WDT_SYS_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7132
ho 0 tail 12 room 4
load:0x40078000,len:15624
ho 0 tail 12 room 4
load:0x40080400,len:4
0x40080400: _init at ??:?

load:0x40080404,len:3876
entry 0x4008064c
I (65) boot: ESP-IDF v5.1.3-416-gd23b7a0361-dirty 2nd stage bootloader
I (65) boot: compile time Apr 23 2024 07:46:47
I (68) boot: Multicore bootloader
I (72) boot: chip revision: v3.1
I (76) boot.esp32: SPI Speed      : 40MHz
I (81) boot.esp32: SPI Mode       : DIO
I (85) boot.esp32: SPI Flash Size : 2MB
W (90) boot.esp32: PRO CPU has been reset by WDT.
W (95) boot.esp32: WDT reset info: PRO CPU PC=0x4000c056
0x4000c056: xthal_get_ccount in ROM

W (101) boot.esp32: WDT reset info: APP CPU PC=0x400d3952
0x400d3952: panic_handler at /root/esp/esp-idf/components/esp_system/port/panic_handler.c:138 (discriminator 1)

I (107) boot: Enabling RNG early entropy source...
I (113) boot: Partition Table:
I (116) boot: ## Label            Usage          Type ST Offset   Length
I (124) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (131) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (139) boot:  2 factory          factory app      00 00 00010000 00100000
I (146) boot: End of partition table
I (151) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2b044h (176196) map
I (223) esp_image: segment 1: paddr=0003b06c vaddr=3ffbdb60 size=04988h ( 18824) load
I (230) esp_image: segment 2: paddr=0003f9fc vaddr=40080000 size=0061ch (  1564) load
I (231) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a26fch (665340) map
I (477) esp_image: segment 4: paddr=000e2724 vaddr=4008061c size=15814h ( 88084) load
I (525) boot: Loaded app from partition at offset 0x10000
I (525) boot: Disabling RNG early entropy source...
I (537) cpu_start: Multicore app
I (537) cpu_start: Pro cpu up.
I (537) cpu_start: Starting app cpu, entry point is 0x400813f4
0x400813f4: call_start_cpu1 at /root/esp/esp-idf/components/esp_system/port/cpu_start.c:159

I (0) cpu_start: App cpu up.
I (557) cpu_start: Pro cpu start user code
I (557) cpu_start: cpu freq: 160000000 Hz
I (558) cpu_start: Application information:
I (562) cpu_start: Project name:     a2dp_source
I (567) cpu_start: App version:      1
I (572) cpu_start: Compile time:     Apr 23 2024 07:46:52
I (578) cpu_start: ELF file SHA256:  c8def851c5f44aa9...
I (584) cpu_start: ESP-IDF:          v5.1.3-416-gd23b7a0361-dirty
I (591) cpu_start: Min chip rev:     v0.0
I (595) cpu_start: Max chip rev:     v3.99
I (600) cpu_start: Chip rev:         v3.1
I (605) heap_init: Initializing. RAM available for dynamic allocation:
I (612) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (618) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (624) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (631) heap_init: At 3FFCC6D8 len 00013928 (78 KiB): DRAM
I (637) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (643) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (649) heap_init: At 40095E30 len 0000A1D0 (40 KiB): IRAM
I (657) spi_flash: detected chip: generic
I (660) spi_flash: flash io: dio
W (664) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (678) coexist: coex firmware version: d96c1e51f
I (683) app_start: Starting scheduler on CPU0
I (688) app_start: Starting scheduler on CPU1
I (688) main_task: Started on CPU0
I (698) main_task: Calling app_main()
I (718) BTDM_INIT: BT controller compile version [1175e0a]
I (718) BTDM_INIT: Bluetooth MAC: 48:e7:29:a3:b3:ae
I (718) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06

More Information.
No response

Same as the issus https://github.com/espressif/esp-idf/issues/13664.


[Bug]: Issues in alignment.

The div elements on the loan page are not properly aligned, causing a layout issue where content is overlapping and not displayed as intended. This misalignment affects the user interface and disrupts the visual structure of the page.

Hey @Vin205 please add label like hactoberfest and gssoc-ext etc.


some specific  network failure leads to  Abnormal problem

Please answer these questions before submitting your issue. Thanks!

What did you do?
If possible, provide a recipe for reproducing the error.

I simulated a network failure on pd leader machine,and I found that TiDB Cluster can not work very well in this situation which may be rarely happened;
I run cmds on PD leader machine :
iptables -A INPUT    -p tcp --dport 2379  -j DROP
iptables -A OUTPUT   -p tcp --dport 2379  -j DROP

What did you expect to see?

PD cluter elect a new PD leader

What did you see instead?
a、any Query got timeout：(ERROR 9001 (HY000): PD server timeout[try again later])
b、the PD followers print error log continuously：2018/07/25 14:24:05.596 leader.go:103: [info] pd3 is not etcd leader, skip campaign leader and check later

What version of PD are you using (pd-server -V)?
Release Version: v2.0.3

Hi, @wilanhuang  Etcd elect new leader will spend some time, could you show the detail logs about the election.

Closing it due to no response for a long time.


Conditional Delete when CRG ManagedBy != OpenShiftCluster.Id

Which issue this PR addresses:
Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/9744005/
What this PR does / why we need it:
Customers have created clusters without using AZ CLI and have created the cluster resource groups prior to submitting a PUT request into ARM to create an ARO cluster. This results in the cluster resource group not being owned by the RP. In this circumstance we do not want the RP to blindly delete (and likely does not have permissions on) resources in this customers cluster resource group that they created.
As a side effect of this PR I have modified non production clusters to have a proper ManagedBy field set. Prior to this, all non production clusters ManagedBy field was ManagedBy = nil, and the purger operated on deleting clusters older than X amount of days that have ManagedBy = nil || ManagedBy = "". To fix this, I am proposing tagging non production clusters and adding in logic to have the purger key off that tag, rather than the ManagedBy being nil.
Test plan for issue:
Manually tested using a hack/cluster create/ delete. When managedBy != openshiftcluster.id, does not delete role assignments, role definitions, cluster resources, or cluster resource group. Does delete RP DNS record and database row object.
In progress: manually testing creating a cluster "programmatically" following steps customers have provided. See 236319415 for exact steps/details.
to discuss: unit testing
Is there any documentation that needs to be updated for this PR?
Perhaps around the new tag for non production clusters.

/azp run e2e

E2E's will never pass with these changes because E2E runs on master, the cluster will always fail to delete. The cluster is being created with a CRG that has a managedBy: nil value, which in that circumstance backs out of deleting the CRG and corresponding resources.

This tells me we need to re-think this a bit. We can't just break tests and hope for it to work in prod.

E2E's will never pass with these changes because E2E runs on master, the cluster will always fail to delete. The cluster is being created with a CRG that has a managedBy: nil value, which in that circumstance backs out of deleting the CRG and corresponding resources.

This tells me we need to re-think this a bit. We can't just break tests and hope for it to work in prod.

My plan is to remove the purger fixes out of this PR, so it just focuses on conditional deletion logic. I'll create a new PR to fix purger logic. And we will need another PR/card to fix dynamic validation as well.

E2E's will never pass with these changes because E2E runs on master, the cluster will always fail to delete. The cluster is being created with a CRG that has a managedBy: nil value, which in that circumstance backs out of deleting the CRG and corresponding resources.

This tells me we need to re-think this a bit. We can't just break tests and hope for it to work in prod.

My plan is to remove the purger fixes out of this PR, so it just focuses on conditional deletion logic, doing will enable this PR to pass tests. I'll create a new PR to fix purger logic. And we will need another PR/card to fix dynamic validation as well.

This needs to go in into next release so lets make sure we have it sorted soon :)

This will begin passing e2e test after https://github.com/Azure/ARO-RP/pull/1564 is merged

One more nit and should be good:
cc: @bennerv @m1kola


failed to build the TensorRT engine

Hi @jkjung-avt  first, thank you for your amazing work,
I have tested this demo on jetson tx2 and it’s work! and i wanted to test it on jetson xavier, i succefully convert yolov4.weights to yolov4.onnx, but when I try to convert onnx to tensorrt without int8 and dla_core i got this error :
`python onnx_to_tensorrt.py -m yolov4
Loading the ONNX file...
Adding yolo_layer plugins.
Adding a concatenated output as "detections".
Naming the input tensort as "input".
Building the TensorRT engine.  This would take a while...
(Use "--verbose" or "-v" to enable verbose logging.)
onnx_to_tensorrt.py:148: DeprecationWarning: Use set_memory_pool_limit instead.
config.max_workspace_size = 1 << 30
onnx_to_tensorrt.py:170: DeprecationWarning: Use build_serialized_network instead.
engine = builder.build_engine(network, config)
[07/26/2022-11:14:38] [TRT] [W] Convolution + generic activation fusion is disable due to incompatible driver or nvrtc
[07/26/2022-11:14:39] [TRT] [E] 1: [ltWrapper.cpp::CublasLtWrapper::66] Error Code 1: Cublas (Could not initialize cublasLt.
Please check CUDA installation.)
ERROR: failed to build the TensorRT engine!`
Any idea how to solve it?
best regards.

This might be a problem of the specific combination CUDA 10.2 and TensorRT 7.2.1.x?  Please refer to: https://github.com/NVIDIA/TensorRT/issues/866
Please test with the latest version of JetPack.

Thank you for your answer .I’m using jetpack 5.0.1, cuda 11.4  and tensorrt <IP_ADDRESS>

Then I have no idea.  The error message points to a problem about the cuBLAS library.  Please direct your question to NVIDIA instead.

[07/26/2022-11:14:39] [TRT] [E] 1: [ltWrapper.cpp::CublasLtWrapper::66] Error Code 1: Cublas (Could not initialize cublasLt.
Please check CUDA installation.)

Problem solved by reflashing the os, and installing the newest version of jetpack 5.0.2.
thanks again :).

Good to hear that.


Instead of making your own clone, you should create pull requests to the original instead

This is not cool, sir

http://stackoverflow.com/a/27842854/1331425

Great I hope this won't become another abandoned repo


feat: show path of failed import

Old error
    error: no such file or directory (error code: 2)
      file: ./././Bug/Foo.lean

New error
    error: 'bug.Main' ▸ 'Bug' ▸ 'Bug.Foo' ▸ 'Bug.Foo': no such file or directory (error code: 2)
      file: ./././Bug/Foo.lean

@tydeu do you know why the path contains repeated references to the module Bug.Foo?
awaiting-review

awaiting-review

@bollu

@tydeu do you know why the path contains repeated references to the module Bug.Foo?

This is because Lake visits multiple nested facets of the same module when building it (and parseImports is not the top-level one).

@tydeu I pulled the auxiliary definition into Lake.List.squeeze.

LGTM!

@bollu I forgot about this myself as well, but this should probably come with a brief mention in RELEASES.md. Sorry for another nitpick!

@tydeu Just added a release note!


Add the jest JavaScript Testing Framework

Goal
What will this issue accomplish?
This will allow us to write unit and component tests, where appropriate.
Reason
It will potentially improve the stability of the app as well as improve confidence in shipping to production.
Tips

Install jest
Install jest plugins. See the Forem jest configuration for inspiration.

Definition of Done
Jest is configured and runs as part of the CI/CD pipeline.

You mentioned you had wanted to work on this @andreamartz.

Yes, I do! Please assign it to me.


No loading icon

When template is being loaded first time then no loading icon or message is shown which is not good user experience, need to fix.

Can you create PR for this issue? @kamleshwebtech


Make smoke test pre-consent to cookies

One of our new variants of cookie banners is causing our smoke test to
fail, as it shows a modal cookie banner that must be dismissed before
interacting with the site.

Review app deployed to https://teaching-vacancies-review-pr-2906.london.cloudapps.digital


Upload new report: Operation returned an invalid status code 'Unauthorized'

Describe the issue
I have created the SP, and enabled the SP to access to PowerBI API in tenant settings, and set the SP as the admin of the workspace, but failed in uploading new .pbix report. The other operations such as 'create workspace, assign one user to the workspace and delete report' can be executed successfully.

**Extension **

Extension: [Name of the extension]
Version: [Version of the extension]

To Reproduce
Steps to reproduce the behavior:

Every time run the command will fail

Expected behavior
I can upload the report use the service principle.

I'm experiencing the same issue, it works while creating a new workspace (even though nothing is created in my power bi portal). But when it comes to publishing a new or existing report, returns "Unalthorized" error

What permissions does the SP have on the Power BI Api's?

Hi, Maik
I gave these permissions to my Service Principal:

And these are the permissions I gave inside Power BI Admin Portal:

My Service Principal also has Admin role in my workspace:

I've ran many different tests to see if my Service Principal is really not configured the right way, but it's seems to be configured correctly. The Power BI Actions Task can create workspaces and refresh datasets without issues. However, I noticed it can upload the report only if the dataset is within the pbix file, because when I try to upload a report connected to a published dataset the task will show me this Unauthorized error message.

Ohh, now I understand. So you are trying to upload a report that is connected to another dataset. That is a situation I have never tested before so that could be the case.
I would have to test out this scenario. As I am not a Power BI Guru I will see If I can set up a scenario.

Can you maybe offer help?

Ohh, now I understand. So you are trying to upload a report that is connected to another dataset. That is a situation I have never tested before so that could be the case.
I would have to test out this scenario. As I am not a Power BI Guru I will see If I can set up a scenario.

That's correct!
I first uploaded a dataset and then deleted the report that's auto created by the portal so I can have only the semantic model on my workspace.
Then I connected a local pbix file to this dataset online and tried to publish it by cmdlet. Everything within the same workspace

Can you maybe offer help?

Sure! Let me know which tests you want to run

Would love some insights how to set up a scenario like that.

Would love some insights how to set up a scenario like that.

Open a new PBIX file and create a data model from scratch without any visuals, only importing tables. In my case I imported 4 tables from my One Drive
Upload this new semantic model (dataset) to the Power BI portal via Power BI Desktop interface, and delete the report create automatically
Open a new PBIX file and connect it to this semantic model (dataset) you just created. Create some sample visuals and save the file
Publish the "report PBIX" file to the Power BI portal via Power BI Powershell cmdlet (Here is where I'm getting that error message)

I'm seeing the same error message when using your extension on Azure DevOps or when using the Power BI Powershell cmdlet import command


Figure out a way to use the fuels package in our playwright tests

It would be helpful to be able to use the fuels package as a dependency in our playwright tests for things like asserting balances etc.
Why this is needed
For example, when I was trying to add UI integration tests for the faucet page in the create-fuels template, I needed to fetch and check the balance of a wallet before and after clicking the 'Send Funds' button. This can only be done by using the fuels package via the getBalance method.
Possible solutions
The playwright tests currently have access to all the workspace-wide dependencies i.e. the dependencies which are specified in the package.json at the root of the project. We need to figure out a way to include fuels there. I am not sure _how_though.

Using the internal fuels package when asserting tests can be tricky because the same version would affect the tests and the assertions - unless we used an older version from NPM.
Maybe we could use static ranges when asserting numbers in the UI?

Hmm for now what we could do is just check the balance of the burner wallet using the number printed in the UI in the top right. That would work but is a bit gimmicky.

Not necessarily. That's how most UI assertions are performed, anyway. First, you render something and then add assertions using elements from the DOM. The benefit is that we'll always validate what the user is actually seeing. 🙂


Resume interrupted backups

When a backup is interrupted and restarted later, restic writes all data again, newly encrypted, because the index is written at the end so restic doesn't know about what blobs have already been stored.
This can be fixed for example by regularly (e.g. every X minutes or every Y files or so) uploading a preliminary index that is removed after the next preliminary index (which is a superset of the first one) has been uploaded. Once the final index was successfully uploaded, all preliminary indexes from this session are removed.
Connects #243

hi...it's possible right ow resume a backup???...I'm interested on this feature...thank you

Yes, restic will automatically resume a backup roughly where it left of.


Accessing a different tenants channel memberships

I was going back and forth between two tenants when I came across a strange issue.
I got a list of members from a channel and noticed that all the display names were blanks.
{
<EMAIL_ADDRESS>"#microsoft.graph.aadUserConversationMember",
    "id": "some_id",
    "roles": [],
    "displayName": null,
    "userId": "some_id",
    "email": null
}

When I looked up the user I got this message:
{
  "error": {
    "code": "Request_ResourceNotFound",
    "message": "Resource 'some_id' does not exist or one of its queried reference-property objects are not present.",
    "innerError": {
      "request-id": "fec02c08-65bf-41a9-a870-6b53281d01cb",
      "date": "2020-05-13T19:14:44"
    }
  }
}

That's when I realized I had just looked up the members of a channel using a different tenants token. This should not be possible and the messages I receive for this bug are very confusing.
https://graph.microsoft.com/beta/chats/<chat_id>/members?

We have created a bug and discussing this issue with internal team, will update you shortly.


[Feature Request]: Option to auto fix all indent problems on save

Today there is an option to auto fix all errors on save and on type. I'm not always convinced that the eslint fix is the best one in all cases so I usually leave this off.
However, I am confident that eslint can fix all my indentation and as such could be used as a nice auto-indent complement to VSCode.
So this request is to add the possibility to auto indent using eslint and leave the rest of the problems for manual fixing.
The best way to provide this would probably be to use the built in formatting support in vscode so that you could configure it something like:
    "[javascript]": {
        "editor.formatOnSave": true,
        "editor.formatOnType": true,
        "editor.formatOnPaste": true
    }

And hook it up with the "Format Document"-command.

I am marking this as out-of-scope. What is still something we work on is to allow using eslint as a formatter and on format on save.


Unable to add as an Integration

Have installed custom repository via HACS but am unable to add as an integration..
please help!

You have to add it using yaml

How would I go about doing that?
Ive tried the manual installation but I cant get the to work either

If you have added it to custom repositories in HACS then you just have to search for "soundbar" in "integrations" section of HACS and install it. Then you have to add configuration to configuration.yaml and restart HA

Thats where im having trouble.
I have added it to custom repositories in HACS - Restarted
Then when I search for Soundbar in HACS, nothing shows?

You can get it by clicking on it in the list of custom repos

Its right there on the HACS tab, but not joy adding as an integration.. I just will not show!

I'm not sure what you mean... Have you installed it and now you have problems with configuration, or do you have problems with installation?

These are the steps ive taken:

Installed custom repo via HACS
Selected the SmartThings Soundbar in HACS & installed the repository (install button at the bottom)
Edited configuration.yaml with relevant info
Restart HA

Cant get anything working from there - Appreciate you taking the time to respond btw. Im a bit of a noob at this!

Ok, it looks fine for me. It should appear on entities list in dev tools. Is it there?

Its there twice as:
media_player.soundbar
volume_level: 1
is_volume_muted: false
media_title:
source:
device_class: speaker
friendly_name: Soundbar
supported_features: 19853
&
update.smartthings_soundbar_update
auto_update: false
installed_version: v1.0.2
in_progress: false
latest_version: v1.0.2
release_summary: null
release_url: https://github.com/PiotrMachowski/Home-Assistant-custom-components-SmartThings-Soundbar/releases/v1.0.2
skipped_version: null
title: null
entity_picture: https://brands.home-assistant.io/_/smartthings_soundbar/icon.png
friendly_name: Soundbar
supported_features: 17

Soooo it's installed and configured.

Ok so you getting me to look into Dev Tools finally made it click!
Its working prefectly. I was looking for a UI in Integrations and then figured out just to create a button on the dashboard.
Thanks so much for your help! Just to confirm, its working perfectly on the Q950a 👍


Close button doesn't appear on mobile menu

On mobile browsers the button doesn't appear visually:

Note: he is still there. If you click on it, the menu will close.

Done!