#r doesn't work as expected with local libraries

Describe the bug
This issue has two parts, not sure if they are related:

Attempting to load a locally available library using #r with an absolute path fails partially. An error will be printed as if the #r command failed but namespace is available and types are usable if included with a using statement. Regardless, autocompletion of anything involving this local library doesn't work except when writing the using statement.
Attempting to load a locally available library using #r with a relative path fails completely. It will print out the standard file not found error. I'm not certain if this is intended to work so a clarification would be great. Without using an absolute path, certain (all?) system packaged libraries seem to be loadable just fine which makes me think there is some special handling concerning those.

Both issues are present in Jupyter Notebook, Lab and Console. Tried with various dlls that were either originally downloaded with nuget or built locally.
Did this error occur while using dotnet try or online?

[X] dotnet-try (jupyter)
[ ] online

What kind of error was it?

[ ] User Interface (UI):  For example the output never displayed
[ ] Service Error: For example "The service is temporarily unavailable. We are working on it"
[X] Other: Potential issue with .NET C# Kernel for Jupyter

Screenshots
No screenshots but:
Windows
#r "C:/Users/Mehmet/.nuget/packages/newtonsoft.json/12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll"

Invalid: Command: #r C:/Users/Mehmet/.nuget/packages/newtonsoft.json/12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll

Linux
#r "/home/mehmet/.nuget/packages/newtonsoft.json/12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll"

Invalid: Command: #r /home/mehmet/.nuget/packages/newtonsoft.json/12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll

Please complete the following:

OS

[X] Windows 10
[ ] macOS
[X] Linux (Ubuntu 18.04)
[ ] iOS
[ ] Android

Browser

[X] Chrome
[ ] Edge
[ ] Safari

This should be fixed by #600.

Thank you @jonsequitur. Do you have any clue which release / when the contents of that PR will be available on a feed?

Every PR that merges produces a new package in this feed: https://dotnet.myget.org/F/dotnet-try/api/v3/index.json. You can grab the latest by running this in your console:
> dotnet tool update -g dotnet-try --add-source https://dotnet.myget.org/F/dotnet-try/api/v3/index.json

The fix for this is now available in MyGet feed. Please give it a try and let us know if you see any issues.

It looks like the error is no longer displayed with absolute paths but behavior is same as before (i.e. autocompletion doesn't work for types from the imported library)
Relative paths still don't seem to be working. (tried referencing from both jupyter's workspace root and kernel's working directory)

Autocomplete support is not complete so this isn't indicative of a loading failure. Does code compile successfully against the imported library?

Gotcha. Yes, code compiles great when importing libraries with absolute paths.
How about relative paths? I see them working fine in csi but with .NET Kernel and Jupyter, it complains that the path is wrong. (same on both Win10 and Ubuntu 18.04)

I don't see why a relative path shouldn't work but maybe the working directory is wrong or unclear. I'll give it a look.

I'm seeing this error in version 1.0.19553.4:
#r "C:\Dev\Projects\CafModelingRegionalSoilConditioningIndex\Csip\src\dotnet\Csip.Common\bin\Debug\netstandard2.1\Csip.Common.dll"
Invalid: Command: #r C:\Dev\Projects\CafModelingRegionalSoilConditioningIndex\Csip\src\dotnet\Csip.Common\bin\Debug\netstandard2.1\Csip.Common.dll

When I update to 1.0.19620.2 via:
> dotnet tool update -g dotnet-try --add-source https://dotnet.myget.org/F/dotnet-try/api/v3/index.json

Tool 'dotnet-try' was successfully updated from version '1.0.19553.4' to version '1.0.19620.2'.

The error goes away, but only because the kernel crashes.
[W 09:22:55.774 LabApp] KernelRestarter: restart failed
[W 09:22:55.774 LabApp] Kernel bb768025-c107-4a3e-b5fa-84856efe62da died, removing from map.
[W 09:23:40.784 LabApp] Timeout waiting for kernel_info reply from bb768025-c107-4a3e-b5fa-84856efe62da
[E 09:23:40.784 LabApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: bb768025-c107-4a3e-b5fa-84856efe62da)
[E 09:23:40.785 LabApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: bb768025-c107-4a3e-b5fa-84856efe62da)

@bryanrcarlson This bug was fixed in #609 but the fix is only available in the new dotnet-interactive, which is in the same MyGet feed as the dotnet-try. I've updated the install instructions here: https://github.com/dotnet/try/blob/master/NotebooksLocalExperience.md.
Give that a try.

@jonsequitur That seemed to have fixed it! Thanks!


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

Uncaught (in promise) TypeError: Cannot read property 'map' of undefined(…)
I get this error randomly during db reads. PouchDB 5.1.0 and Transform-pouch 1.0.2. It appears to break replication afterwards. I reproduced error by turning off internet connectivity, making changes, waiting a few seconds (with this warning PouchDB: the remote database may not have CORS enabled.If not please enable CORS: http://pouchdb.com/errors.html#no_access_control_allow_origin_header). On turning back connectivity, I get the error and syncing stops, until manually restarted.
I only have return doc in both incoming and outgoing. Syncing works as it should once I remove transform-pouch.

Can you provide a live test case to reproduce? If not, I'm not sure what's causing the error, sorry.

Hi!
I get the same error with PouchDB 5.2.1 and transform-pouch 1.0.2. I don't know what exactly is the root cause of this behaviour, but the error is thrown in modifyChanges when res objects are{status: "cancelled"}.
Doing a simple check seems to fix it:
    function modifyChanges(res) {
      if(res.results) {
        res.results = res.results.map(modifyChange);
        return res;
      }
    }

@morlikowski Can you open a PR please? Seems reasonable enough to me, even though I'm not sure what's causing this.

I have encountered the same exception. But I do not need to turn down my network connection. Instead, I just cancel() a sync replication.
The problem seems to be that the Changes object emits a opts.complete(null, {status: 'cancelled'}); in  self.once('cancel', ...) and the promise gets fullfilled with the {status: 'cancelled'} object and therefore gets passed on to transform-pouch.
I tried to reproduce the error with a sync cancellation in the transform-pouch live tests but they went all fine.
PouchDB Version: 5.3.2
Here is the stacktrace:
(anonymous function) (transform-pouch/index.js:169)

Promise.resolve (async)

opts.complete (pouchdb.js:3444)
(anonymous function) (pouchdb.js:3450)
g (pouchdb.js:557)
EventEmitter.emit (pouchdb.js:470)
Changes.cancel (pouchdb.js:3475)
(anonymous function) (pouchdb.js:3568)
(anonymous function) (pouchdb.js:23)
abortChanges (pouchdb.js:6633)
g (pouchdb.js:557)
EventEmitter.emit (pouchdb.js:488)
Replication.cancel (pouchdb.js:6772)
EventEmitter.emit (pouchdb.js:488)
completeReplication (pouchdb.js:6570)
g (pouchdb.js:557)
EventEmitter.emit (pouchdb.js:488)
Replication.cancel (pouchdb.js:6772)
EventEmitter.emit (pouchdb.js:488)
completeReplication (pouchdb.js:6570)
g (pouchdb.js:557)
EventEmitter.emit (pouchdb.js:488)
Replication.cancel (pouchdb.js:6772)
Sync.cancel (pouchdb.js:7032)

If you could provide a test case to reproduce, that would be helpful. I'm not sure what's happening here

Please guys. I see that this issues has been fixed in master but the current release on npm does not reflect. this is a major issue actually. I am using crypto-pouch on a live replicated pouch-db. this error popup and whenever I cancel the replication. since I am in react it messes up everything. Any plan for a new release on NPMJS ?

@evanxg852000 published latest master as<EMAIL_ADDRESS>

Can we close this issue @evanxg852000 @agozie @f3anaro

Sure @gr2m  this can be closed now. wait for others feedback :+1:

Thanks @gr2m


feat: Make autorestic configuration file path configurable

This commit updates the autorestic configuration file path to use the autorestic_config_file variable instead of hardcoding ~/.autorestic.yml. This change allows for greater flexibility and customization in specifying the location of the configuration file.

Hey @micxer 👋🏻
Thank you for your contribution to this role!
The changes look good to me. The lint and tests are failing, but looks completely unrelated to these changes. I'll take a look when I can.

Fixed it. Should be working now.


WIP: smart contract for pocv2 that supports new features like tags, submit…

…ted by users

stale branch and code. Need to write new contract. Closing


Add Prometheus metrics reader factory and config

Which problem is this PR solving?

Relates to #2954.

Short description of the changes

Add factories and config for Prometheus metrics reader.

Thanks @jpkrohling!


Players need an objective that's just slightly out of reach

This might be too high-level and abstract, but it's worth noting...
I've been observing a number of different games. The ones that players seem to enjoy the most all have an objective which is just barely out of reach. It seems achievable, but for various reasons, the player can't reach it on the first playthrough.
Then, over a number of attempts, the character+player get better at progressing toward the objective and finally reach the goal. Then the game resets with slightly modified layout, settings, challenges, or rules.
Here's a few possible ways the character+player can improve...

player develops better reflexes, better timing, better intuition
player gains more information, learns the rules of the system, makes better decisions
character gains powerups, and abilities or improves existing capabilities: faster, further, longer, higher, etc.

So.. What concrete additions or changes could we make based on this?

Implement an objective.. escape spaceship arrives, or a wormhole transports the character out of the sector, or the character finds something which can stop the disaster.
Implement some type of character progression.. faster top-speed, bigger oxygen container, tougher suit, higher acceleration, etc.
Implement little objectives.. floating repair packs, some kind of time-alteration device, boosters, short-range jetpack, etc.
Make sure the big objective is visible, but out of reach on the first playthrough
On lose-screen, provide feedback about how close they got to the objective. A visual progress indicator would be better than a simple "best-time" number. (  O =======>[ ]--------X )

One note: if we implement objectives, skills, powerups, etc, we must not lose sight of the core mechanic: "fling stuff".

I've added a progress bar with a spaceship to the end screen.
I should also add it to the in-game hud.
Then I should implement a Win screen if they stay alive that long.


filter Azure Resource Management REST call on tags but response is not including "tag".

Describe the bug
I filter Azure Resource Management REST call on tags. However, the response is just displaying the filtered resources not including "tag".
To Reproduce
Steps to reproduce the behavior:

Go to Resources - List. https://docs.microsoft.com/en-us/rest/api/resources/resources/list
Click on 'Try it'
Scroll down to Add the $filter parameter with values tagname eq 'abc' and tagvalue eq '123' .
Screenshot1
See the response just show the filtered resource not include specified "tag".
Screenshot2

Expected behavior
The response should be filtered resources including "tag".
Screenshots
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Qq20180503 thanks for your feedback, may I ask have you tried with other tool to invoke the REST API such as postman or fiddler? The tag you mentioned is for tags under https://docs.microsoft.com/en-us/rest/api/resources/resources/list#genericresource?

@hellosnow Thanks for your response. Yes, I test it using https://docs.microsoft.com/en-us/rest/api/resources/resources/list#genericresource or https://docs.microsoft.com/en-us/rest/api/resources/resources/list,  the result is the same. I have not tested it using other tools.

@Qq20180503 got you, and I open issue for Azure REST repo https://github.com/Azure/azure-rest-api-specs/issues/3819, Azure team may has someone to look into the API.


Cannot load resources in device.

For our ebook (which loads epub files from remote server) app, we have to migrate to WKWebview and we are using this plugin along with cordova-plugin-wkwebview-engine. Our cordova iOS is 5.1.1.
Everything builds well, no CORS issue etc. in the simulator. The library and ePUB files also load perfectly in the simulator.
But, when the app is run from device (iPhone XR, 14.2), the app runs well Except the library. None of the book cover images are shown and the epub files are downloading (evident from console) but when opened shows a blank page. The safari web inspector says cannot load resources, operation not permitted.
Any help will be highly appreciated.

Try adding also another plugin cordova-plugin-wkwebview-file-xhr.
I think this will help to solve that issue
https://github.com/oracle/cordova-plugin-wkwebview-file-xhr


improve: Keyboard shortcut to toggle terminal

📝 Summary
Toggle terminal with Ctrl + ` just as in vscode. Completes #2608.
📋 Checklist

[x] I have read the contributor guidelines.
[x] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
[ ] I have added tests for the changes made.
[x] I have run the code and verified that it works as expected.

📜 Reviewers
@akshayka OR @mscolnick

Awesome!


Vagrant build steps CI check

What
Add CI checks for the Vagrant build instructions, timed (e.g. nightly) and when related files are touched.
Why
We have a Build Instructions CI check for the Docker instructions, but not for the Vagrant instructions. We also found that after a while upstream changes can cause the Vagrant bootstrap to fail (i.e. additional system packages were suddenly needed for installing a Conan package), so it can break without us doing anything.  Hence a timed (e.g. nightly) CI check would be useful.

See https://github.com/OpenAssetIO/OpenAssetIO/issues/1280


Add promise and timer information to dependency graph

Goes with https://github.com/replayio/chromium-v8/pull/218

The DEPS change here handles PromiseHook related changes within V8, and the DOMTimer changes let us track dependencies for setTimeout/setInterval calls.


Update tutorial-multiple-sites-cli.md

Updated the correct listener, backend pool and rule name for fabrikam listener config for adding priority configuration to the appropriate rule.

#sign-off


motd should show origin of cloud

When a cloud is built via Jenkins, ideally a URL to the job should be included in /etc/motd on at least the Crowbar node (maybe the others too) so that when sshing to a worker cloud, it's easy to see where it came from.  This mechanism could be implemented in a way which supports arbitrary cloud descriptions, not just Jenkins URLs etc.  E.g. if I manually invoke mkcloud to test a particular feature such as compute node HA, I should be able to set a clouddescription variable or similar with a value like testing compute node HA feature.  Then anyone else who sshes to my cloud can see what its purpose is.
Implementation would be in two parts:

add clouddescription variable to mkcloud, so that the description appears in /etc/motd
amend Jenkins jobs so that they set this variable appropriately (i.e. it includes a URL to the Jenkins job, and maybe other useful info too)

#760 implements a lot of this, but we still need to change the triggers so that they set the new $clouddescription.

@aspiers with https://github.com/SUSE-Cloud/automation/issues/1404 now merged, is there anything left from this issue to be implemented? If not lets close this issue.

@jdsn It's looking almost awesome, except that:

There is a quoting bug which I've fixed in #1410.
For some reason /etc/motd is written late, in the onadmin_add_cloud_repo step.  This makes no sense to me.  It should be in its own onadmin_write_motd function, which should be called from the setupadmin step.  Please can you clean that up?

@aspiers
Yes, it is written late because it depends on onadmin_add_cloud_repo to write the file /etc/cloudversion. By moving it earlier, we either lose the info from that file in motd or we have to add it to motd later.

or we have to add it to motd later.

@jdsn That sounds more sensible to me.  There's no reason why we have to create /etc/motd in a single go, is there?


More text formatting options

I love that Babylon is using text wrapping, but there is no clear demonstration on how to apply it https://doc.babylonjs.com/typedoc/enums/babylon.gui.textwrapping
So maybe some docs there and also things like, columns, and even path wrapping that is now being supported in Firefox
https://blog.logrocket.com/creative-text-flows-using-css-shapes/
I was thinking more along the lines of allowing any 3D object to have boundaries and where applicable to the wrapper text it would move the text onto new lines and automatically allow wrapping when the external object was overlapping the text wrapping area.

Hello please use forum.babylonjs.com for discussion

Hello please use forum.babylonjs.com for discussion


Related to closed bug 1970 - issue with http only rse profile

I do have the same issue, Zowe explorer is not working with a RSE account set with HTTP only.
Retrieving response from uss-file-list Error: Zowe REST Operations API Error: | http(s) request error event called | Error: write EPROTO 2242944:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:....\third_party\boringssl\src\ssl\tls_record.cc:231: |
Zowe CLI answer correctly without SSL.
Originally posted by @Thibaut69 in https://github.com/zowe/vscode-extension-for-zowe/issues/2704

This is the related closed bug:

https://github.com/zowe/vscode-extension-for-zowe/issues/1970

Hello @Thibaut69. I understand that sometimes you do not have control over how these server are deployed in your organization. But, we really cannot support pure http anymore. If we would even tried to deploy test servers like this in IBM all alarms would chime :-) I will propose that Zowe should remove the Protocol settings from the profiles.


We are out of milk

get milk

I recommend getting more milk

Ran out of milk again

Uber eats-ing the milk. Have Covid-19

False alarm, got more milk in fridge

The milk has 0 subscribers

This has gotten a little off-topic. This thread is going to be closed for the next week.

Reopening as milk expiry was not checked and the milk has since expired. See https://github.com/dante1130/ReflexEngine/issues/159


chore(package_xml): added autoware_ prefix to gnss_poser

Description
Following the movement of adding autoware_ prefix to package names, this PR adds autoware prefix to gnss_poser.
Related links
Since this PR strongly relates to sensor launching systems, this PR must be merged together with the following PRs.

https://github.com/autowarefoundation/autoware.universe/pull/8323
https://github.com/autowarefoundation/sample_sensor_kit_launch/pull/100
https://github.com/tier4/aip_launcher/pull/283
https://github.com/RobotecAI/awsim_sensor_kit_launch/pull/17

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@mitsudome-r @xmfcx
This is just a friendly ping.
Do Autoware developers have to keep the awsim_labs_sensor_kit_launch in touch when relevant changes occur?

@mitsudome-r @xmfcx
Friendly ping. Could answer these questions above please?


List Index out of bound when decoding some objects

Hey David,
I am seeing an issue where when decoding objects that require tagIDs I can sometimes hit an index out of bounds exception. Traceback is below.
I have found that if I replace the get method in the _IDProxy class to return None this problem goes away, and this seems like the intended behavior as well. Since this is a proxy object it seems that it shouldn't be expected for this _IDProxy to return a valid value. Currently in _restore_id we are trying to access this value, catching the exception, and then creating a proxy that is set up to commit the same error. From code inspection it looks to me that _IDProxy should match _Proxy implementation like so:
class _IDProxy(_Proxy):
def init(self, objs, index):
self._index = index
self._objs = objs
def get(self):
    try:
        return self._objs[self._index]
    except IndexError:
        return None

Where None is returned if the objs list is not fully populated.
object = jsonpickle.decode(json)

File "/usr/local/lib/python3.6/site-packages/jsonpickle/init.py", line 149, in decode
return unpickler.decode(string, backend=backend, keys=keys)
File "/usr/local/lib/python3.6/site-packages/jsonpickle/unpickler.py", line 26, in decode
return context.restore(backend.decode(string), reset=reset)
File "/usr/local/lib/python3.6/site-packages/jsonpickle/unpickler.py", line 129, in restore
self._swap_proxies()
File "/usr/local/lib/python3.6/site-packages/jsonpickle/unpickler.py", line 135, in _swap_proxies
method(obj, attr, proxy)
File "/usr/local/lib/python3.6/site-packages/jsonpickle/unpickler.py", line 83, in _obj_setattr
setattr(obj, attr, proxy.get())
File "/usr/local/lib/python3.6/site-packages/jsonpickle/unpickler.py", line 79, in get
return self._objs[self._index]
IndexError: list index out of range
Love this tool by the way! Thanks for all of the effort you've put into it!

I believe this may be related to how you handle FileHandlers and python3, but not sure how yet.

If you can help put together a minimal reproducible test case that'll help dig into it a bit.  That traceback might be showing a limitation in the current approach, as returning None there might make it work, but it's losing data there.  We should really be indexing the objects by some other means rather than the index.. and there's probably a mismatch between encoder/decoder that the None is papering over.
I'm curious to see what type of object can do this.  A unit test (see the tests directory, and make test) would go a long way.
The current proxy and referencing scheme has some limitations with read-only objects, which would be nice to eliminate.  Objects with issues are namely tuples, file objects, database handles, C extensions, and other things of that ilk.  We implement a pickle protocol that can be used to help proxy away these types of objects.
To make things work with the current implementation, the __getstate__  and __setstate__ protocol can be used on a class to proxy these types of objects, and from inside those methods use new instances of the Pickler and Unpickler classes to pickle specific object subgraphs that don't have these issues.

Thanks David. I definitely have plenty of read-only objects here, including Obj-C bridges and file objects. It may be best for me to implement the get state and set state method in each of my objects. In the meantime, if I can recreate this issue using a simple unit test I will send it your way to have a look.

Hi David.  I have encountered the same issue.  In context.restore    value = self._restore(obj)    succeeds, i.e. the Python object gets created.  Then _swap_proxies() loops through 3 proxies.  method(obj, attr, proxy)   calls  _IDProxy.get    In the third time through the loop there are the following values in self in _IDProxy.get:

self._index   is 20
self.obj        is a list that has 20 elements, 0 through 19.

So this statement;    return self._objs[self._index]       begets this:  IndexError: list index out of range
def _swap_proxies(self):
    """Replace proxies with their corresponding instances"""
    for (obj, attr, proxy, method) in self._proxies:
        method(obj, attr, proxy)
    self._proxies = []

calls:
def _obj_setvalue(obj, idx, proxy):
obj[idx] = proxy.get()
calls:
def get(self):
return self._objs[self._index]
I've tried to create test data that I can send to reproduce the issue.  When I capture the data (via a print statement) that results in the failure and then copy that to a short program that just calls    jsonpickle.decode   I end up with other errors that don't happen in "the real program" (e.g. errors with control characters \n)  (and e.g. ValueError: Expecting , delimiter: line 1 column 3347 (char 3346) - an error that does not occur when I just pass the string to jsonpickle.decode in the real software).   The control characters and the funky construct that causes the "Expecting ," are in the data passed to jsonpickle.decode in the real program - and they get decoded fine there, but not in the simple program that only calls jsonpickle.decode.
So I don't have test data available that reproduces the error in a test case (even though I have captured the data).

I know this is an old issue, but I've recently run up against it as well, in the latest pypi packaged version of jsonpickle 1.2, with the latest simplejson and numpy, in both Python 2.7.15 and Python 3.6.8. I'm using the numpy extension. The simplejson encoder options don't seem to matter:
import jsonpickle
jsonpickle.set_preferred_backend('simplejson') # make default explicit
jsonpickle.set_encoder_options('simplejson',
                               indent=1, separators=(',', ':'), sort_keys=True) # more readable
import jsonpickle.ext.numpy as jsonpickle_numpy
jsonpickle_numpy.register_handlers()

I have a large complex object that I can reliably generate to trigger this error. Unfortunately, I'm not sure what it is about this object that makes it special, and the code that generates it is itself complex. The one particular object being decoded that triggers this error is a numpy float64 scalar that is referenced to another id()-identical numpy scalar. I have two of them that are generated with something like:
s, = abs(sls.p) # sls.p is a numpy array of length 1
sx, sy = s, s
sort.sls.sx = sx
sort.sls.sy = sy

where sort is my top-level object and sls is a child object. In the json output, sy references (presumably) sx, but the py/id is out of range of jsonpickle's proxies list.
Here's the traceback, with some manual debugging:
Running spyke in Python 2.7
PyOpenGL 3.1.0
simplejson 3.16.0
matplotlib 2.2.4
PyQt4 4.12.1
scipy 1.2.2
pywt 1.0.3
IPython 5.8.0
mdp 3.5
cython 0.29.13
Qt4 4.8.7
Python 2.7.15+
jsonpickle 1.2
numpy 1.16.5
sklearn 0.20.4
Opening file '/home/mspacek/Desktop/json_test/blab1b/revert2broken/Ntsr1Cre_2019_0004_s03.track.json'
Opening sort file 'Ntsr1Cre_2019_0004_s03.track.json'
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
/home/mspacek/dev/spyke/spyke/main.py in OpenRecentFile(self)
   2573         if action:
   2574             fullfname = qvar2str(action.data())
-> 2575             self.OpenFile(fullfname)
   2576
   2577     def updateRecentFiles(self, fullfname=None):

/home/mspacek/dev/spyke/spyke/main.py in OpenFile(self, fname)
   2621         elif ext in ['.sort', '.json']:
   2622             self.sortpath = head
-> 2623             self.OpenSortFile(tail)
   2624         else:
   2625             critical = QtGui.QMessageBox.critical

/home/mspacek/dev/spyke/spyke/main.py in OpenSortFile(self, fname)
   3408         elif ext == '.json':
   3409             with open(os.path.join(self.sortpath, fname), 'r') as f:
-> 3410                 sort = jsonpickle.decode(f.read(), keys=True)
   3411                 nbytes = f.tell()
   3412         print('Done opening sort file, took %.3f sec' % (time.time()-t0))

/usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.pyc in decode(string, backend, context, keys, reset, safe, classes)
     39     context = context or Unpickler(keys=keys, backend=backend, safe=safe)
     40     data = backend.decode(string)
---> 41     return context.restore(data, reset=reset, classes=classes)
     42
     43

/usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.pyc in restore(self, obj, reset, classes)
    150         value = self._restore(obj)
    151         if reset:
--> 152             self._swap_proxies()
    153         return value
    154

/usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.pyc in _swap_proxies(self)
    168         """Replace proxies with their corresponding instances"""
    169         for (obj, attr, proxy, method) in self._proxies:
--> 170             method(obj, attr, proxy)
    171         self._proxies = []
    172

/usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.pyc in _obj_setattr(obj, attr, proxy)
     99
    100 def _obj_setattr(obj, attr, proxy):
--> 101     setattr(obj, attr, proxy.get())
    102
    103

/usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.pyc in get(self)
     95
     96     def get(self):
---> 97         return self._objs[self._index]
     98
     99

IndexError: list index out of range
> /usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.py(97)get()
     95
     96     def get(self):
---> 97         return self._objs[self._index]
     98
     99

ipdb> len(self._objs)
1078
ipdb> self._index
1098
ipdb> u
> /usr/local/lib/python2.7/dist-packages/jsonpickle/unpickler.py(101)_obj_setattr()
     99
    100 def _obj_setattr(obj, attr, proxy):
--> 101     setattr(obj, attr, proxy.get())
    102
    103

ipdb> obj
<spyke.extract.SpatialLeastSquares object at 0x7fa5ae504190>
ipdb> dir(obj)
['A', '__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'calc_s', 'calc_sxsy', 'calc_sy', 'calc_x0y0', 'calc_y0', 'cost_s', 'cost_sxsy', 'cost_sy', 'cost_x0y0', 'cost_y0', 'cov_p', 'debug', 'ier', 'infodict', 'mesg', 'model_s', 'model_sxsy', 'model_sy', 'model_x0y0', 'model_y0', 'p', 'p0', 'plot', 'static_model', 'sx', 'sy', 'x0', 'y0']
ipdb> attr
'sy'
ipdb> obj.sx
56.08609594210083
ipdb> obj.sy
<jsonpickle.unpickler._IDProxy object at 0x7fa5ae504210>
ipdb>

The py/id for sy is 1098, which is out of range by about 20, and strangely, the next highest py/id I can find in the .json is something like 587, which is a big gap. Maybe this is a hint.
I've worked around this in my code by indexing into self.p separately for both sx and sy:
s, = abs(sls.p) # sls.p is a numpy array of length 1
sort.sls.sx, sort.sls.sy = s[0], s[0]

This gives them the same value but different ids, i.e. they're different objects, jsonpickle doesn't generate a proxy for sy, and the IndexError is avoided. I also found that if I cleaned up a few other unnecessary instances of numpy scalar ints/floats in my object and converted them to builtin ints/floats (or lists of ints/floats, etc.), that also fixed the issue.
I've attached a .json encoding of the sort object that triggers the issue. You'll probably have to grab a copy of my app https://github.com/spyke/spyke to get far enough in decoding it that the IndexError is triggered. It can also be visually inspected. It uses simplejson's indentation, about 13000 lines long:
mspacek_IndexError_bug_182.zip
I tried creating something similar in a fairly minimal example (see jsonpickle_debug.py in the attached .zip) with lots of deep nesting and numpy scalars set by reference, and reference counts way up into the 10s of thousands, but I haven't had any success in reproducing the error.
Please let me know if there's anything specific I can do to help debug. Might be easier that way than forcing others to inspect my app. The last commit of my app that triggered the bug was https://github.com/spyke/spyke/commit/0711b617851bc08e319e79dad73a8e13a659c2d5 . The one after it fixed it. Subsequent commits on their own also fixed it.
I could also include a Python2 pickle of the same object, generated using cPickle, which decodes error-free in Python2.

@davvid just FYI, https://github.com/jsonpickle/jsonpickle/issues/246 seems to be reporting a failure at the same place in unpickler.py. I don't know if the cause is similar.

Yeah, these are all the same fundamental issue as described in #246. I don't have much time to work on a v2 this year so I'd be pretty stoked to see some experimental versions from the community.
These days I don't like the multi-backend feature either. We should just use simplejson/json and nothing more, so that's another thing for v2.
One reason the multi-backend thing exists is that it allowed having json files with comments to get gracefully loaded by demjson, and in hindsight that was a mistake.
The numpy id() thing is pretty interesting -- in practice I think it would cause it to export more than expected, but it's possible it could have other effects.
As described in #246 a good place to start reworking the approach would be to read the cpickle code.
Sorry for not having much jp time lately, but I do believe there's improvements that we will be able to achieve eventually, especially if someone comes up with something experimental.

Hi, we're currently trying to use jsonpickle in one project I'm working on and I think we have run into this issue (or something very similar) as well. We're currently trying to evaluate what to do next. In the meantime, I was able to come up with a pretty minimalist piece of code that is failing with an IndexError: list index out of range error at least on my side. It seems, that the problem lies somewhere in the numpy array ids logic like @mspacek mentioned. Here is the code if anybody wants to take a look:
import numpy as np

import jsonpickle
import jsonpickle.ext.numpy as jsonpickle_numpy

class Object1:
    def __init__(self, spots):
        if spots is None:
            spots = {}
        self.spots = spots

class Object2:
    def __init__(self):
        self.a = 12
        self.b = 8

if __name__ == "__main__":
    jsonpickle_numpy.register_handlers()
    jsonpickle.set_preferred_backend("json")

    larger_numpy_array = np.array(
        [
            [6.63207911e00, -1.25597576e02, -1.24453443e-03],
            [-1.01356520e01, -1.25654364e02, -1.25025794e-03],
            [-1.01260821e01, -1.28480009e02, -1.30673898e-03],
            [6.63781893e00, -1.28423234e02, -1.30101209e-03],
            [6.63207911e00, -1.25597576e02, -1.24453443e-03],
        ]
    )
    object1 = Object1(spots={"9E": larger_numpy_array[:, :2]})
    object2 = Object2()

    original_object = [object1, object2, object2]

    json_string = jsonpickle.encode(original_object)
    rebuilt_object = jsonpickle.decode(json_string)

i get IndexError: list index out of range when i modify the json

What would be your expected output in this case? Tampering with the output like this, basically removing referenced objects, does not allow for clean deserialization, so there is not much jsonpickle can do about it in my opinion.

removing referenced objects

this is not necessary to reproduce the error. example:

#! /usr/bin/env python3

#! /usr/bin/env nix-shell
#! nix-shell -p python3 python3.pkgs.jsonpickle -i python3

import json, jsonpickle

class X:
  def __init__(self, data=None):
    self.data = data

a = X()
a.data = a # circular reference

b = X()
b.data = b # circular reference

data1 = [a, b]
text1 = jsonpickle.encode(data1)
print(f"data1:\n{data1}")
print(f"text1:\n{text1}")

data2 = json.loads(text1)
data2 = data2[1:] # remove data2[0]
text2 = json.dumps(data2)
print(f"text2:\n{text2}")

data3 = jsonpickle.decode(text2)
print(f"data3:\n{data3}")

output:
data1:
[<__main__.X object at 0x7fd5ce2f90c0>, <__main__.X object at 0x7fd5ce2f88e0>]
text1:
[{"py/object": "__main__.X", "data": {"py/id": 1}}, {"py/object": "__main__.X", "data": {"py/id": 2}}]
text2:
[{"py/object": "__main__.X", "data": {"py/id": 2}}]
IndexError: list index out of range

i would expect that the addressing is position-independent. example:
text2:
[{"py/self": 2, "py/object": "__main__.X", "data": {"py/id": 2}}]

Addressing is not position-independent.


Minifying and renaming disassociates sources pointer

I'm trying to minify and get a source map into a file named 'mycore.min.js' and a map 'mycore.min.js.map.
The problem is that the "sources" attribute does not change and instead directs to a file named 'scripts/app-##HASH##.js'.
mycore.min.js.map:
{"version":3,"sources":["scripts/app-7cb05e4631.js"],"names":["global ...
my gulp build goes as follows
...
.pipe(jsFilter)
.pipe($.ngAnnotate())
.pipe($.sourcemaps.init())
.pipe($.uglify({preserveComments: false})).on('error', conf.errorHandler('Uglify'))
.pipe($.rename('mycore.min.js'))
.pipe($.sourcemaps.write('.'))
...
.pipe(gulp.dest(path.join(conf.paths.dist, '/')))
.pipe($.size({ title: path.join(conf.paths.dist, '/'), showFiles: true }));
...
I believe I read that both uglify and rename are supported in the wiki page.
Is there a feature to control the name of the 'sources' so it points to mycore.min.js. In the end I'd like a single min.js and map file made from a bunch of javascript files.

Please see here to make an MVCE.
Since this is an old issue I am closing until there is feedback.


Fix possible deadlock of Future when adding a listener after completed

Motivation
There is a case that deadlock could happen for a Future. Assume there is a Promise and its Future.

Call Future::addListener to add a listener that tries to acquire a user-provided mutex (lock).
Thread 1: Acquire lock first.
Thread 2: Call Promise::setValue, the listener will be triggered first before completed. Since lock is held by Thread 1, the listener will be blocked.
Thread 1: Call Future::addListener, since it detects the InternalState::completed_ is true, it will call get to retrieve the result and value.

Thread 2 holds lock but wait for InternalState::future_ is completed.

In a real world case, if we acquire a lock before
ProducerImpl::closeAsync, then another thread call setValue in ClientConnection::handleSuccess and the callback of createProducerAsync tries to acquire the lock, handleSuccess will be blocked. Then in closeAsync, the current thread will be blocked in:
    cnx->sendRequestWithId(Commands::newCloseProducer(producerId_, requestId), requestId)
        .addListener([self, callback](Result result, const ResponseData&) { callback(result); });

The stacks:
Thread 1:
#11 0x00007fab80da2173 in pulsar::InternalState<...>::complete (this=0x3d53e7a10, result=..., value=...) at lib/Futre.h:61
#13 pulsar::ClientConnection::handleSuccess (this=this@entry=0x2214bc000, success=...) at lib/ClientConnection.cc:1552

Thread 2:
#8  get (result=..., this=0x3d53e7a10) at lib/Future.h:69
#9  pulsar::InternalState<...>::addListener (this=this@entry=0x3d53e7a10, listener=...) at lib/Future.h:51
#11 0x00007fab80e8dc4e in pulsar::ProducerImpl::closeAsync at lib/ProducerImpl.cc:794

There are two points that make the deadlock:

We use completed_ to represent if the future is completed. However, after it's true, the future might not be completed because the value is not set and the listeners are not completed.
If addListener is called after it's completed, we still push the listener to listeners_ so that previous listeners could be executed before the new listener. This guarantee is unnecessarily strong.

Modifications
First, complete the future before calling the listeners.
Then, use an enum to represent the status:

INITIAL: complete has not been called
COMPLETING: when the 1st time complete is called, the status will change from INITIAL to COMPLETING
COMPLETED: the future is completed.

Besides, implementation of Future is simplified. https://github.com/apache/pulsar-client-cpp/pull/299 fixes a possible mutex crash by introducing the std::future. However, the root cause is the conditional variable is not used correctly:

Even if the shared variable is atomic, it must be modified while owning the mutex to correctly publish the modification to the waiting thread.

See https://en.cppreference.com/w/cpp/thread/condition_variable
The simplest way to fix
https://github.com/apache/pulsar-client-cpp/pull/298 is just adding lock.lock() before state->condition.notify_all();.

The Oauth2test seems stuck at connecting:
2023-10-26 07:13:58.425 DEBUG [140675173545536] AuthOauth2:378 | access_token: *** expires_in: 10
2023-10-26 07:13:58.447 DEBUG [140675173545536] ClientConnection:882 | [[::1]:36014 -> [::1]:6650] Handling incoming command: CONNECTED
2023-10-26 07:13:58.447 DEBUG [140675173545536] ClientConnection:279 | Connection has max message size setting: 5[242](https://github.com/apache/pulsar-client-cpp/actions/runs/6650646879/job/18071147259?pr=334#step:8:243)880
2023-10-26 07:13:58.447 DEBUG [140675173545536] ClientConnection:281 | Current max message size is: 5242880
2023-10-26 07:14:28.118 DEBUG [140675173545536] ClientConnection:882 | [[::1]:36014 -> [::1]:6650] Handling incoming command: PING
2023-10-26 07:14:28.118 DEBUG [140675173545536] ClientConnection:955 | [[::1]:36014 -> [::1]:6650] Replying to ping command
2023-10-26 07:14:28.447 DEBUG [140675173545536] ClientConnection:1232 | [[::1]:36014 -> [::1]:6650] Sending ping message
2023-10-26 07:14:28.450 DEBUG [140675173545536] ClientConnection:882 | [[::1]:36014 -> [::1]:6650] Handling incoming command: PONG

However, I cannot reproduce it locally. I'm marking it as drafted and going to do some investigation


chore(main): release docs-site 1.16.0

:robot: I have created a release beep boop
1.16.0 (2024-11-07)
Features

docs-site: update graphic for hekla network config (#18457) (1d9b753)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

docs-site-v1.16.0
:sunflower:


Position of container title when using is-rounded

actual
expect

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Candidate 1v1 [RANK] Final Crossroad ZH v2] Terrain textures are not blended

Issue Description
Terrain textures are not blended.
Expected behavior
Terrain textures are blended beautifully to appear natural.
Screenshots

I will let the mapper know.

Mapper has given permission to allow me or someone to texture for him. TKLyo said he will try and do it.

Fixed in #37
@TKLyo
The 2 middle docks look borderline pass, the ground below them is not flat, thus raising a corner off the ground for each.
I see you have balanced the wooden huts near the bases, I would revert this a bit for 2 reasons, if you look carefully, the mound below them is not the same, (I have not tested this but) this could allow for one to shoot over the mound and not the other, please test, otherwise revert the pos so both are on the mounds or flatten the areas a bit. Second reason is the hp, please revert the health, back to 100% or give it enough health to be garrisoned,

I'll test it out later on. @Jundiyy Might make the changes later if I see any problems with it

Fixed with https://github.com/xezon/GeneralsRankedMaps/commit/246e6ce1d0154ece99aeb2c6260d4f7d1c961996


.gitignore compiled binary.

The capitalization of the ignored file was different
than the actual file so on systems with case sensitive filesystems
(!OSX) it does not actually ignore it.

good pickup, best to exclude the case-sensitive name of the build artifact.
ACK

Closing this and reopening it on https://github.com/Pink2Dev/Pink2 where I guess it should have gone in the first place.


README for LinkedList added + LinkedList files added to folder

Issue: #512

What does this PR do?
This will add a README for the LinkedList plus all the files of LinkedList are added to the directory Data Structures/LinkedList
Test Plan
There is no change in the code.
Related PRs and Issues
No there isn't
Have you read the Contributing Guidelines?
Yes I did.

Related Issue is mentioned above as "Issue: #512 "

@taneemishere can you add some pictorial explanations too

@dubesar I've added pictorial explanation.

@taneemishere thanks a lot for the contribution.

@dubesar ❤❤ and thanks to you for maintaining such repository.


Point Sufia and CC users at Hyrax

As soon as Hyrax is a thing that can be tested and used, add documentation to the Sufia and CC READMEs that clarifies the role between all three gems and the known timeline for any changes (e.g., what are our plans for new Sufia and CC versions?). Point at https://wiki.duraspace.org/pages/viewpage.action?pageId=78161232 for more information, and keep that page updated as we go.

The noble hyrax.

https://www.flickr.com/photos/pamas/19756465613

Thanks for taking this on, @bess!

@bess @dheles Do y'all want to stay assigned to this issue?

Closing this as stale.


Add a page describing the dataset update/add process

Right. So the process goes:

For simple folks:

Go to https://github.com/okestonia/jkan/tree/master/_datasets
Edit/add files based on https://github.com/okestonia/jkan/blob/master/_data/schemas/default.yml
Press "Create pull request"
Be sure to choose "okestonia/jkan" from the left-hand menu
Press "Create pull request"

For git users

Clone repo https://github.com/okestonia/jkan
Edit what you need
Create a pull request

@andreskytt to do this you can just make a .md file and then add it to the navigation in the config schema (_config.yml).

We need answer:

Who are the users we accept requests. Is there any process to validate them etc

If there is non, then also we need to point that out.

We need an answer:

Do user needs to create fork or branch?

#67


[lit-next] Use WeakMap for templateCache

Fixes #1646
Want to watch out for any movement in perf numbers based on this change.

I think this change caused an issue, mostly because the cache isn't a "proper" cache because a hit/miss actually influences the behaviour: If there's a cache miss, the existing DOM nodes won't be re-used, which causes browser state (e.g. in form inputs) to be lost.
If you have time, it would be much appreciated if you could have a look at the linked issue.


HeatMap

We can provide Heatmap based on the data in areas too. Now we are having based on states. I would like to update this feature

We don't have city/area level information for almost all the cases. The choropleth that we have provided is basically a Heatmap.

Fine, even the new district-level feature is awesome


[mssql] feature request: support for connection encryption

I'm really happy to see that you are working on mssql support for sqlx. I really would like to use sqlx with an azure managed mssql database, which requires connection encryption.

Definitely on the table. This is pretty trivial all things considered, so it shouldn't be much of a stretch to get this in soon.

Sooo... I've been hitting my head against this for the whole week and finally gotten sqlx to correctly negotiate TLS with Azure SQL serverless. Trivial in principle as you said, but wrapping TLS over TDS has proven tricky. Anyhow, I hope to clean up the changed I made (which are a huge mess right now) sometime this week and send a PR :)

For those searching the issue tracker, I'm adding some keywords here: ConnectionAborted, database.windows.net


Added Nepal Engineering College Domain

The Nepal Engineering College was established in 1994 as the first privately led not-for-profit social organization providing engineering education in Nepal and is the largest engineering college in terms annual student intake as well as in terms of area. Its main campus is located at Changunarayan, Bhaktapur
Domain: https://nec.edu.np/

@suzaana749 First stage of verification passed, official domain is nec.edu.np as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@suzaana749 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


affusedaffusing should be two different words

"affusedaffusing" shows up as a single word in both words.txt and words_alpha.txt
It should just be "affused" and "affusing" as two separate words, each on their own line.

@JaviSorribes don't be so sure:

cylindrocylindrical
[Define](https://www.wordnik.com/words/cylindrocylindrical#define)
[Relate](https://www.wordnik.com/words/cylindrocylindrical#relate)
[List](https://www.wordnik.com/words/cylindrocylindrical#lists)
[Discuss](https://www.wordnik.com/words/cylindrocylindrical#discuss)
[See](https://www.wordnik.com/words/cylindrocylindrical#see)
[Hear](https://www.wordnik.com/words/cylindrocylindrical#hear)
[Love](https://www.wordnik.com/words/cylindrocylindrical#)

Definitions
from The Century Dictionary.
In architecture, formed by the intersection of one cylindrical vault with another of greater span and height, springing from the same level: said of an arch. See cross-vaulting.

On the quadriquadric Curve in connexion with the theory of Elliptic Functions


Update stylecop.json schema to have correct default for headerDecoration.

The default is documented to be the empty string, and since it's typed as string, null is not actually a valid value and will fail to validate.

The default values need to also be updated in these two locations:
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/17b613ddbc2f0f8313727953048cea30c36b7482/StyleCop.Analyzers/StyleCop.Analyzers/Settings/ObjectModel/DocumentationSettings.cs#L119
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/17b613ddbc2f0f8313727953048cea30c36b7482/StyleCop.Analyzers/StyleCop.Analyzers/Settings/ObjectModel/DocumentationSettings.cs#L270


Submit Workflow: Audio Switcher

Preflight

[X] The Alfred team has invited me to submit this workflow.

The submitted workflow:

[X] Was authored by me. ⓘ
[X] Uses Workflow Configuration or has no user-facing settings. ⓘ
[X] Does not have an auto-updater. ⓘ
[X] Does not contain unsigned and non-notarised binaries. ⓘ
[X] Does not download extra software. ⓘ
[X] Uses keywords with more than one character. ⓘ
[X] Has a descriptive About section. ⓘ
[X] Has an icon of at least 256x256 px. ⓘ

Homepage
https://github.com/TobiasMende/alfred-audio-switcher
Alfred Forum page
https://www.alfredforum.com/topic/21244-audio-switcher-swiftly-switch-audio-output-and-input-devices/
Gallery page content
Usage
Quickly switch between audio output devices (like speakers) with out and audio input devices (like microphones) with in. – Keywords are configurable.

The workflow also allows filtering out devices that should not show up in the suggestions. This can be done in the workflow configuration. To make this easier, the fetchaudiodevices can be used to copy names of output or input devices to the clipboard.

Hotkeys
Configure the Hotkeys for faster selection of up to three input and three output devices.
Remote
This workflow comes with a Remote page and actions can be used in individual Remote pages, too.
There are actions to select the three favorite inputs and three favorite outputs as well as one action to trigger the input selection and one for the output selection.

Configuration Example

Tags
audio, sound, audio input, audio output, hotkeys, remote
Test data
No response
Homebrew dependencies
No response
Bundled libraries
No response

Second screenshot is showing input instead of the real default of in. Third screenshot should not have the input text selected.
Other than that it looks good. After those are replaced this will be good to go.

Thanks for the quick response!
I changed the keyword for the screenshot to now show a lot of other results, too. Is there another way to prevent it or would it be okay to cut the image? :-)

That’s OK, then, I can edit that one. Fixing the third one will be enough.
But for future reference, a quick way to solve that is to temporarily reduce the number of visible Alfred results in Alfred Preferences → Appearance → Options → I want to see [N] visible result item.

Thank you! I updated both images. :-)

Thank you. Will be live later today at https://alfred.app/workflows/tobiasmende/audio-switcher/.


Add "rest_product" as global metadata

To make reference tab title include "Dynamics 365" and more SEO friendly.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add Empty Structure

Empty files where they need to be.
Ref: https://replicated-vendor-api.readme.io/v1.0/reference

CR :+1: Let it begin

MERGE IT


test(e2e):  project preview modal

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

#51705

camperbot cant code

Nocie

Heyllo!

Please review


Surface Tool doesn't generate mesh on mobile renderer with Android 10

Godot version
v4.2.beta4.official [93cdacbb0], 4.1.2.stable
System information
Godot v4.2.beta4 - Android 10 - Vulkan (Mobile)
Issue description
This happens only when trying to run it on Android 10 using the mobile renderer.
It fails on Samsung Galaxy S9+ (Android 10).
It works on Nokia 5.4 (Android 12).
The surface tool doesn't seem generate mesh at least not visible one. It also fails to generate collision mesh as a character will fall through it.
I included an example code.
Steps to reproduce
Export the attached reproduction project (remember to set the renderer to mobile) and install it on an Android phone. The phone I tested is Samsung Galaxy S9+ with Android 10.
Minimal reproduction project
SurfaceToolBug.zip

Related to https://github.com/godotengine/godot/issues/83381 and https://github.com/godotengine/godot/issues/80371.

Also happens with v4.2.beta5.official

And still happens with v4.2.beta6.official [64150060f]

Might be fixed by https://github.com/godotengine/godot/pull/84852

Still happens with v4.2.rc1.official [ad72de508]

@punaukko #84852 will fix this bug. We are waiting to merge it until after we release 4.2, so it can get tested more. We are aiming to include it in the 4.2.1 release.

It works with v4.2.1.rc1.official [daeb1c729]. Thanks!!


Add Authorization Logic

This PR includes the commit history from the authorization logic directory. This was done using git-subtree. Uninteresting commits were squashed using an interactive rebase. See the commit history messages for more information, and see the README.md for information about this tool in general.

This link makes the README slightly easier to see:
https://github.com/aferr/oak/tree/auth-logic-split2


Improve link external libs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (39608cb) 98.44% compared to head (1243027) 98.40%.
Report is 3 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   98.44%   98.40%   -0.05%
==========================================
  Files         102      102
  Lines       20905    20357     -548
==========================================
- Hits        20580    20032     -548
  Misses        325      325

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


kola: Go back to using master version of falco driver loader

The fix for Flatcar is in the falcoctl 0.7.2 release, which got picked up by the master version of falco-driver-loader.

I'm running the tests with this PR and glibc 2.38:

amd64: http://jenkins.infra.kinvolk.io:8080/job/container/job/test_dispatcher/3461/
arm64: http://jenkins.infra.kinvolk.io:8080/job/container/job/test_dispatcher/3462/


CAMEL-14414: back port to 3.0.x for aggregation group completion setting and removal is …

…handled through methods to enforce code cohesion and avoid repetitions. fixed issue for CURRENT_GROUP and ALL_GROUPS flag removal. adapted tests and documentation

as discussed with Claus


unable to find aws-auth-cn.yaml file to update

hi Can you please let me know where to find file aws-auth-cn.yaml?
I am unable to find one and also unable to get one from "kubectl describe configmap -n kube-system" command if its  config map file you are refereeing to

Please refer to
https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
There is a guide with for the download of it.
curl -o aws-auth-cm.yaml https://s3.us-west-2.amazonaws.com/amazon-eks/cloudformation/2020-10-29/aws-auth-cm.yaml


feature(whitespace): Gutters for marginalia

[ ] final version numbers

That's still true: I didn't generate more marginalia sizes, just the ones that are useful.

could s/padding/gutter/ though


Hide button

Will review in a couple hrs at most 👍

Functionally it's fine but I'm concerned about the build size @Domterion
$ yarn build
✨ Built in 16.90s

dist/index.html                  2.58 KB    569ms
dist/favicon.34e1dad6.ico        4.19 KB    327ms
dist/index.bbad0abf.css          4.14 KB     58ms
dist/index.d759ba72.css           4.3 KB     52ms
dist/index.3bb62ee5.js       ⚠  1.04 MB    6.48s
dist/index.82b1fb79.js          ⚠  1 MB    6.11s

Turns out this is unrelated and instead a problem with how we were using highlight.js. We were accidentally importing all languages instead of the common ones. See: https://github.com/highlightjs/highlight.js#nodejs-on-the-server
Very proud to announce the frontend is 60% lighter.
$ yarn build
✨ Built in 4.50s

dist/index.html                2.58 KB    107ms
dist/favicon.34e1dad6.ico      4.19 KB     99ms
dist/index.bbad0abf.css        4.14 KB     14ms
dist/index.d759ba72.css         4.3 KB     21ms
dist/index.2d5cdad3.js       307.27 KB    1.69s
dist/index.ec9c2817.js       266.72 KB    1.44s


feat: fcc-todo-app

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

This is a PR for the localstorage project of the new JS curriculum

I went through all of the steps and it looks good so far. left some comments 👍

Thanks for your review suggestions. I will implement them before the end of the day.

I am having an issue where I am unable to go to the next step
Here is a video of what I am experiencing on my end I have the correct code and when I try to submit and go to the next step it kicks me back to the JS learn page Have you run into this issue?
borken-next-step.mov

I can't get the video to play but YES. I have run into that issue multiple times. And everytime, it goes away.

I am having an issue where I am unable to go to the next step
Here is a video of what I am experiencing on my end I have the correct code and when I try to submit and go to the next step it kicks me back to the JS learn page Have you run into this issue?
borken-next-step.mov

The video plays now. Again, YES, this has been happening since I started writing the tests. But it suddenly stops happening every single time.

@zairahira and @naomi-lgbt can we get your requested changes dismissed?
Seems like I can't do it myself.


WIP Custom CSharp single client class operation name generator.

I encountered a problem with ambiguous methods when generating the CSharp client with MultipleClientsFromPathSegments operation name generator. The following swagger definition includes the path '/products/{id}' with HTTP operations GET and DELETE:
products_json.txt
which will result in the generated Client class having two members with same name and signature:
/// Load by ID
public async System.Threading.Tasks.Task<ProductDto> ProductsAsync(string id, System.Threading.CancellationToken cancellationToken)
{
    // ...
    request_.Method = new System.Net.Http.HttpMethod("GET");
    // ...
}

and
/// Delete an entry
public async System.Threading.Tasks.Task ProductsAsync(string id, System.Threading.CancellationToken cancellationToken)
{
    // ...
    request_.Method = new System.Net.Http.HttpMethod("DELETE");
    // ...
}

The compiler will complain about ambiguous method invocation.
I would like to propose a new client operation name generator implementation, which produces a single client class with members names composed from Swagger path segments suffixed by the respective HTTP operation name.
 I think this is a good idea...
My problem is, that MultipleClientsFromPathSegmentsOperationNameGenerator and SingleClientFromPathSegmentsOperationNameGenerator do not behave the same way - one appends the HTTP method (single) and the other doesnt (multiple).
What if we append the HTTP method only if there are name clashes (can be checked with the SwaggerDocument document parameter) in both generators. This would not be a breaking change for MultipleClientsFromPathSegmentsOperationNameGenerator because it would have produced invalid code on clashes.
What do you think?

I agree with your proposal. Actually I initially thought about that, but I
did the changes in a bit of hurry and did not thoroughly investigate the
existing implementation.
On Oct 4, 2017 15:27, "Rico Suter"<EMAIL_ADDRESS>wrote:
Thanks for the PR. I think this is a good idea...
My problem is, that MultipleClientsFromPathSegmentsOperationNameGenerator
and SingleClientFromPathSegmentsOperationNameGenerator do not behave the
same way - one appends the HTTP method (single) and the other doesnt
(multiple).
What if we append the HTTP method only if there are name clashes (can be
checked with the SwaggerDocument document parameter) in both generators.
This would not be a breaking change for
MultipleClientsFromPathSegmentsOperationNameGenerator
because it would have produced invalid code on clashes.
What do you think?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RSuter/NSwag/pull/978#issuecomment-334154463, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ae3L_GD7QUCwViCreSp5NP3HOy7t-3lPks5so4engaJpZM4PtlrG
.

What is the status of this pr?

WiP (been out on a business trip last week). Detecting collisions based on swagger document is not trivial since operations resulting from specific paths and HTTP methods may only collide when the resulting operation signature matches, as is the case with GET and DELETE by ID in the example provided above.

I am submitting a possible solution to conflicting operations: please see changes in src/NSwag.CodeGeneration/ClientGeneratorBase.cs. I tested it with all four controller/operation name generators and it does produce valid code for all of them.
On the other hand, removing HTTP methods from the generated operation name in SIngleClientFromPathSegments produces client code that is much more unreadable (IMHO) e.g.:
    public partial class Client
    {
        /// List entries
        /// <param name="offset">Number of entries to skip</param>
        /// <param name="limit">Max number of entries to return</param>
        /// <param name="orderBy">Property to order by</param>
        /// <param name="ascending">Ascending/descending order</param>
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<System.Collections.ObjectModel.ObservableCollection<ProductDto>> ProductsAsync(int? offset, int? limit, string orderBy, bool? ascending) { ... }

        /// Create a new entry
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<ProductDto> ProductsAsync(NewProductDto body) { ... }

        public System.Threading.Tasks.Task<long> ProductsCountAsync() { ... }

        public System.Threading.Tasks.Task<ProductDto> ProductsGetAsync(string id) { ... }

        public System.Threading.Tasks.Task ProductsDeleteAsync(string id) { ... }

        /// Update an entry
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<ProductDto> ProductsAsync(string id, NewProductDto body) { ... }
    }

In the above implementation we get three client functions with same name. Compare that to the output of the initially proposed implementation:
    public partial class Client
    {
        /// List entries
        /// <param name="offset">Number of entries to skip</param>
        /// <param name="limit">Max number of entries to return</param>
        /// <param name="orderBy">Property to order by</param>
        /// <param name="ascending">Ascending/descending order</param>
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<System.Collections.ObjectModel.ObservableCollection<ProductDto>> ProductsGetAsync(int? offset, int? limit, string orderBy, bool? ascending) { ... }

        /// Create a new entry
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<ProductDto> ProductsPostAsync(NewProductDto body) { ... }

        public System.Threading.Tasks.Task<long> ProductsCountGetAsync() { ... }

        public System.Threading.Tasks.Task<ProductDto> ProductsGetAsync(string id) { ... }

        /// Update an entry
        /// <returns>successful operation</returns>
        /// <exception cref="SwaggerException">A server side error occurred.</exception>
        public System.Threading.Tasks.Task<ProductDto> ProductsPutAsync(string id, NewProductDto body) { ... }

        public System.Threading.Tasks.Task ProductsDeleteAsync(string id) { ... }
    }

You may agree that the purpose of operations is more obvious making client methods identification easier, especially when addressing large APIs.

Can you rebase?

Sorry. I did rebase before pushing. Am I missing something?

I dont know but the pr has too many changes.. (?)

I don't like that you change the behavior of the existing generators. This may introduce breaking changes for existing users and we cannot do that... Can't this logic be only implemented in the new generator?

Well, I am just working on a possible solution - I would like to extend the existing IOperationNameGenerator with a new method ResolveConflicts, which can then perform deconfliction or not (just return the original operations list) at the operation name generator level. I will push the update today.

I dont think its a good idea to add this method: First the generation is no longer functional/immutable, the added method breaks existing implementations, and I think a generator should directly generate operation name without conflicts... You know all operations in the generator, so you can directly deconflict it without calling the method after generating all names

In this case I see the problem with the current  responsibility separation between ClientGeneratorBase and specific OperationNameGenerators. At IOperationNameGenerator level we do not see the entire operation model nor do we have all the required information to generate one as we do not get ClientGeneratorBaseSettings in there (please note that we need to compare the resulting method signatures). Unless we implement a completely independent Swagger document parser at that level I do not see an elegant way to solve conflicts.

I think we shouldnt compare signatures but method names because languages other than C# (e.g. TypeScript) do not have method overloads...

I understand. I'll move the conflict resolving logic into the generator.

Latest update: on every invocation of IOperationNameGenerator.GetOperationName the current {path , HTTP method, swagger operation} name is generated from the relative path. Then it is compared against all other swagger operations matching the current client name. In case of conflicts the HTTP method is appended to the name.

Is the PR ready?

The PR is ready.

v11.11.3


Add more features to the Javascript Calculator

There is only basic math functionalities implemented in the calculator
I would like to add more trignometric functionalities and some features similar to scientific calculator
Please assign me this issue @iamrahulmahato
Please assign it under gssoc extd and hacktoberfest

I would like add more functionalities to the calculator and Assign me i loved to work on this


I just want to use the saved .h5 model to test my own inputs.

Would you mind telling me how the input should be given to the models and how the outputs would be recieved

Hello @uneverknwwhoim ,
You can have a look at loading the model step in the jupyter notebook.

When i do try to load the pretrained model it says 8 % Accuracy

When i do try to load the pretrained model it says 8 % Accuracy

hi Arun
Did you get an accuracy ....??of around 70%


fix: keyboard shortcut does not work with non-qwerty keyboard layout

🐛 The bug
I use an alternative keyboard layout. When I hit "shift-option-D" to open the devtools, then nothing happens.
The problem is in using KeyboardEvent.code vs .key. When I hit my D, then the event contains {code: "d", key: "KeyW"!
The code in https://github.com/nuxt/devtools/blob/main/packages/devtools/src/runtime/plugins/view/client.ts#L274 uses KeyboardEvent.code which refers to the physical key being pressed. Alternatively, the code could use KeyboardEvent.key, which is d when I press D in my layout. Unfortunately in combination with Shift and Option the event becomes {altKey: true, code: "KeyW", key: "Î", shiftKey: true}!
I see (in Chrome) the KeyboardEvent attribute keyCode which does not change with and without modifier keys pressed, it is 68. So the code could use this property and it would work regardless of keyboard layout. The KeyboardEvent.keyCode attribute is deprecated however. 😢 I also see an undocumented (?) KeyboardEvent.which which is also 68.
I thought I'd send a PR, but I genuinely don't know what the correct solution would be here!
🛠 To reproduce

select alternate keyboard layout like colemak or workman, I'm on a mac in case that's relevant

🌈 Expected behavior
Shift-Option-D should open devtools, regardless of the user's current keyboard layout.
ℹ Additional context
No response

As someone using the German layout, I feel the pain of i18n keyboard layout.
One option could be using the Keyboard API (chromium only), if available, and else fall back to the current flow.


Transparent Visualization making problem

when tour toast showing on another field like text field or date field then vue tour previous or next button is not working due to transparent toast.

Hi @mahamudul87,
I'm not sure what you mean... Could you update a screenshot please?
It seems like a z-index problem but then you should have no problem customizing the CSS for your needs.

Closing this as we had no answer, feel free to re-open this issue if you still need help!


Qtum core 20.4 won't update....how to remedy for non-tech

Have not opened Qtum core since 2022....now won't update/unstake, etc. what is the best way to update from here? I have backup .dat from 2022, and I just did another one 3-9-24. Please advise.

You need to update to latest Qtum version, here's the link with latest releases:
https://github.com/qtumproject/qtum/releases
Choose the correct version for your Operating System, download, install and run.


mapfile: command not found in zsh

Describe the bug
When running the hooks locally in a zsh mapfile is not available this breaks all hooks loading the new _common.sh

How can we reproduce it?
    - repo: https://github.com/antonbabenko/pre-commit-terraform
      rev: v1.87.0
      hooks:
        - id: terraform_fmt

run in zsh

Environment information

OS: MacOS Apple Silicon

uname -a and/or systeminfo | Select-String "^OS" output:

Darwin MAC 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64

Tools availability and versions:

GNU bash, version 3.2.57(1)-release (arm64-apple-darwin23)
pre-commit 3.6.0
Terraform v1.7.1
Python 3.11.7
Python 3.11.7
checkov 3.2.0
infracost SKIPPED
terraform-docs SKIPPED
terragrunt version 0.55.1
terrascan SKIPPED
TFLint version 0.50.3
+ ruleset.terraform (0.5.0-bundled)
tfsec SKIPPED
trivy Version: 0.49.1
Vulnerability DB:
  Version: 2
  UpdatedAt: 2022-06-24 06:06:57.585311457 +0000 UTC
  NextUpdate: 2022-06-24 12:06:57.585311157 +0000 UTC
  DownloadedAt: 2022-06-24 08:02:01.406102 +0000 UTC
tfupdate SKIPPED
hcledit SKIPPED
flock SKIPPED

.pre-commit-config.yaml:

file content
    - repo: https://github.com/antonbabenko/pre-commit-terraform
      rev: v1.87.0
      hooks:
        - id: terraform_fmt

mapfile was introduced in bash 4.0.
MacOS uses zsh by default, and only installs v3.x of bash by default.
We can replace mapfile with something like this:
dir_paths_unique=()
while IFS= read -r line ; do
  dir_paths_unique+=("$line)
done < <(echo "${dir_paths[@]}" | tr ' ' '\n' | sort -u)

Thx for the quick fix. The new update resolved the issue

Fixed in v1.87.1


Conference Call sample not working in release

Specify the sample to which the issue belongs (use [x]):
[ ] Chat sample
[ ] P2P Call sample
[x ] Conference Call sample
Platform (use [x])
[ x] Android
[x ] iOS
Device info
Manufacture:
Model:
OS version:
Describe the bug:
Conference Call sample not working in release ? Any config ?

Do you have the same issue for both platforms? IOS and Android? For Android try to add obfuscation rules to the project in the same way as in our P2P sample. For iOS try to apply the solution from https://github.com/ConnectyCube/connectycube-flutter-samples/issues/91

@beheobong have you try our solutions? Any luck here?


Undefined values

#18

Codecov Report

Merging #19 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #19      +/-   ##
=========================================
+ Coverage   98.41%   98.6%   +0.19%
=========================================
  Files          33      33
  Lines         632     647      +15
  Branches       90      91       +1
=========================================
+ Hits          622     638      +16
+ Misses         10       9       -1

Impacted Files
Coverage Δ

src/dsl/Field.ts
100% <ø> (ø)
:arrow_up:

src/Utils.ts
100% <ø> (+16.66%)
:arrow_up:

src/dsl/Result.ts
100% <ø> (ø)
:arrow_up:

src/dsl/DefaultContext.ts
100% <100%> (ø)
:arrow_up:

src/Getter.ts
90.9% <100%> (ø)
:arrow_up:

src/dsl/lang/Function.ts
98.9% <100%> (+0.18%)
:arrow_up:

src/Setter.ts
90% <100%> (ø)
:arrow_up:

src/dsl/lang/DefaultOperators.ts
100% <100%> (ø)
:arrow_up:

src/Paths.ts
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e594c9...3c01f6f. Read the comment docs.


feat(InnerHeader): update layout, remove headerBg exact types

:tada: This PR is included in version 1.2.0-beta.11 :tada:
The release is available on:

v1.2.0-beta.11
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0-beta.1 :tada:
The release is available on:

v1.3.0-beta.1
GitHub release

Your semantic-release bot :package::rocket:

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

v1.3.0
GitHub release

Your semantic-release bot :package::rocket:


Documentation example for md-nav-list gives unexpected user feedback

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Clicks / touches that trigger a ripple effect should cause some action.
What is the current behavior?
Clicks / touches in the example nav-list item always create a ripple effect, but only trigger an action when on the item text.
What are the steps to reproduce?
Create a list with the example code in the nav-list section of the current docs.  Click or touch in the padding around the link text.  Observe that the ripple effect triggers as though you did something, but no navigation occurs.
What is the use-case or motivation for changing an existing behavior?
Poor feedback is confusing to users.  It's more pronounced for very short link text, where the list item is mostly whitespace.  Users who click the whitespace and see a ripple will think the application is broken when nothing happens.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I don't think this is specific to any version, it's mostly a docs problem.
Is there anything else we should know?
At the very least, I'd like to see @kara's example from #1391 included in the docs -- how to make a multiline nav-list item where clicking anywhere in the item counts as a link click.  If users are going to continue to create list items with more than one link in the item, then the ripple should be scoped to each link, not the whole item, to make it clear that clicking different lines of text have different effects.  (If there's an allowance for this in the Material spec, though, I can't find it.)

I threw together a Plunker for this with an added border to highlight the problem.  Clicking anywhere between the blue (around the <a>) and the red (around the list item) results in a ripple with no action.

See https://github.com/angular/material2/issues/5132

Closing as duplicate of #5132


Extending efergy component for get the amount of energy consumed

Description:
A minor extension of the component efergy in order to read de total energy consumed in a period (day, month, etc) using the service getEnergy from Efergy API (http://napi.hbcontent.com/document/index.php).
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):
   - platform: efergy
     app_token: <TOKEN>
     utc_offset: -60
     monitored_variables:
      - type: instant_readings
      - type: amount
        period: day
      - type: cost
        period: day

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Looks good, although I think the units for the energy should be kWh rather than kW.


fix: use infura gateway

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix Temporary
[ ] Feature
[ ] Refactoring

Context

[x] use infura gateway while pinata down

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

I've got some errors on landing, is it related with this new provider?

it seemed to me that infura pricing were more expensive, is this a temporary solution? how long will we keep it?

can you give me that list of error URLs

error [BasicImage] to load: https://r2.infura-ipfs.io/ipfs/bafybeiatkjlzk7rsrr4hgaq4dbx4uypvp2ecj7wad6xt334bb4iwrnfcxi
error [BasicImage] to load: https://r2.infura-ipfs.io/ipfs/bafybeic2vnueynsiiuezdtooilpskkcgsmlme574qgvvfd4f4g5kmjekdy
error [BasicImage] to load: https://r2.infura-ipfs.io/ipfs/bafybeihs2baqyzydacsrbssgsv3yud2pemyllcisb7s4yl527zdmq7fj3y

this one not working for me https://deploy-preview-4588--koda-nuxt.netlify.app/bsx/gallery/2608295324-7

This should be temporary solution.

hmm 🤔
so at current stuff I've set up host origin working well from production like kodadot.xyz so we should be ok there yet from deploy preview and beta it's pitty.
Terms of numbers I've been inspecting that even recent billing cycle made over 200-300g easily, and usually we do currently 2T per month but things is that even pinata isn't best as we already hit half of their high plan where they limit to 10M reqs and we did 4-6M easy peasy so I guess we will wait for @vikiival fix and it's should be faster and cheaper as CF has far cost effective plans for us.
I'm also curious why we have such lot reqs either pinata is miss reporting or restricted gateway should help but they simply have strategy in restricted mode they serve only pinned content through their gateway... which is pitty as their storage limits are not much comparing to nft.storage.. so I guess r2 would be way cheaper as terms of storage prices of pinata uses some expensive s3

Let's make hack
https://github.com/kodadot/nft-gallery/issues/4587#issuecomment-1369901103


Conceal with Unicode (disabled by default)

Borrowing from the VimL files for concealing in the Haskell, Idris, and OCaml spheres, this is a reasonable set of concealed characters users can opt into. There are additional flags to disable all characters not directly supported by the compiler as well as allowing discretionary characters that look more similar to a math paper. With it being disabled by default, current users shouldn’t be affected.
Motivation: while I use Unicode in my personal projects and have a custom Prelude inspired by a former employer, I do have to work with the broader community and contract with teams that don’t use these symbols. While the utility of conceal isn’t high, the aesthetics and joy it can bring may make the environment just a little bit cozier.
Checklist:

[x] Briefly described the change
[ ] Opened an issue before investing a significant amount of work into changes
[x] Updated README.md with any new configuration options and behavior
[x] Updated CHANGELOG.md with the proposed changes
[x] Ran generate-doc.sh to re-generate the documentation

Hi @toastal , would you please join purescript-contrib and become the maintainer of this repo? You've got an invitation in your email to join purescript-contrib.

Joined. I think this is the 3rd time I've been on contrib now haha.

Thx for closing all these PRs @toastal :heart:


[ZEPPELIN-4347]: add seperate shortcuts for run all above/below

What is this PR for?
Currently same shortcut is configured for run all above and run all below, clicking on shortcut will again show popup to choose run all above or run all below. With this additional action required from user it doesn't makes sense to use shortcut.
What type of PR is it?
Improvement
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4347
How should this be tested?

Ctrl + Shift + UP shortcut should run all the paragraphs above
Ctrl  + Shift + Down shortcut should run all the paragraphs below and the current one

Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

travis build - https://travis-ci.org/santosh1994/zeppelin/builds/598482665

Thanks, @santosh1994 for the improvement.
Just curious how did you come up with shortcut key combination Ctrl + Shift + UP and Ctrl + Shift + DOWN. Any reason behind of it? or is it a combination that you like (which is totally fine)?

No reason as such, based on usage on cursor move and text selection with UP and DOWN arrow felt using it.
If we are following any command patter like a for above and b for below we can use the same combination

Thanks for the explanation.
I'm merging it to master.


how to change input device event handling model from polling-event to post-event type

Hi. I want to change  input device event handling model from polling-event to post-event type.
I don't know whether the change has any advantage or not.
As for electric consumption, it looks that post-event model is better than polling-model.
is it possible for lvgl to prepare the framework for it ?

Hi,
lvgl will always poll via he input device read function, however in your read function you can use either polling or events.  For events I mean when an even (move, click etc) happens you can save what happened and and just return with it in the read function.
See  this as a reference: https://github.com/littlevgl/lv_drivers/blob/master/indev/mouse.c


Cannot access '' before initialization.

Bug report / Question

What is the current behavior?
I've been getting a large number of Cannot access 'something' before initialization errors. I took a look at a similar issue #12724 and also tried running CircularDependencyPlugin to identify any circular dependencies but none were identified. I also use the ESLint rule import/no-cycle. Looking at the generated module chunk I can't really make sense of it, but I'm not too familiar with the internals of the webpack runtime.
I have a simple file like this:
import React from "react";
import { QueryClientProvider } from "react-query";
import { queryClient } from "./client";

export const AppQueryProvider = ({
  children,
}: {
  children: React.ReactNode;
}): JSX.Element => {
  return (
    <QueryClientProvider client={queryClient} contextSharing>
      {children}
    </QueryClientProvider>
  );
};

export function withAppQueryClientProvider<TProps>(
  Component: React.ComponentType<TProps>
): typeof Component {
  return (props: TProps) => {
    return (
      <AppQueryProvider>
        <Component {...props} />
      </AppQueryProvider>
    );
  };
}

Which generates a chunk like this:
    93992: (e, t, r) => {
      "use strict";
      r.d(t, { k: () => m });
      var s = r(87711),
        n = r.n(s),
        o = r(94812),
        a = r(29404),
        i = Object.defineProperty,
        c = Object.getOwnPropertySymbols,
        l = Object.prototype.hasOwnProperty,
        u = Object.prototype.propertyIsEnumerable,
        d = (e, t, r) =>
          t in e
            ? i(e, t, {
                enumerable: !0,
                configurable: !0,
                writable: !0,
                value: r,
              })
            : (e[t] = r);
      const v = ({ children: e }) =>
        n().createElement(
          o.QueryClientProvider,
          { client: a.IR, contextSharing: !0 },
          e
        );
      function m(e) {
        return (t) =>
          n().createElement(
            v,  // ReferenceError: Cannot access 'v' before initialization
            null,
            n().createElement(
              e,
              ((e, t) => {
                for (var r in t || (t = {})) l.call(t, r) && d(e, r, t[r]);
                if (c) for (var r of c(t)) u.call(t, r) && d(e, r, t[r]);
                return e;
              })({}, t)
            )
          );
      }
    },

So basically the error says Cannot access 'AppQueryProvider' before initialization. I'm not sure what the r.d dh function on the third line does (r.d(t, { k: () => m });, but it sure seems like the k function that returns withAppQueryClientProvider is being called before AppQueryProvider is initialized. I'm also wondering why r.d(t, { k: () => m }); is at the top of the module, shouldn't it be called after the module has been initialized?
I'm really just looking for some help debugging this issue and figuring out what's going on, as well as confirmation on whether the generated code looks correct.
This extra context may or may not be relevant:
This is a React project that uses ModuleFederationPlugin. I'm seeing many of these errors reported from one of our legacy clients that is still on Webpack 4, so I'm are manually initializing the remote by injecting a script for the remoteEntry.js, something like below. Also because of this, I'm not doing anything to initialize a shared context, as far as I know I don't think that would be possible when the host is on Webpack 4. Not sure if this is relevant.
  // This is not the real code that initializes the remote, just proto code to give an example
  // Part of `loadRemote` function
...
   const varName = "react_federated_remote"
    const onLoad = () => {
      const remoteVar = window[varName];
      callback?.(remoteVar);
    };
      const script = document.createElement("script");
      script.type = "text/javascript";
      script.addEventListener("load", onLoad);
      script.src = "/react-remote/static/remoteEntry.js";
      document.body.appendChild(script);
...
// Helper function that returns the async remote module

export const getRemoteModule = async () => {
  const remote = await loadRemote();
  return (await remote.get("./TheRemoteModule"))().default;
};

If the current behavior is a bug, please provide the steps to reproduce.
Sorry, I'm not really sure how to repro at this time.

What is the expected behavior?

Other relevant information:
webpack version:  5.51
Node.js version:  10.24.1
Operating System: macos
Additional tools: yarn 1.22.17

Can you try to disable minification? Maybe terser bug

it looks like terser bug, please report in terser issue tracker


pbis-open: init at 9.1.0

Motivation for this change
For Active Directory integration. This PR only contains the package.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @dtzWill @abbradar @vcunat @edolstra
(members are chosen from linux-pam committers)

otherwise LGTM

lwsmd is main daemon. It would start without link error but provide nothing yet.
Next PR come with the systemd service with initialization script and NixOS options that unlock its features. It works well with production AD.
To test its functionality, you need a working Windows server, though.

@GrahamcOfBorg build pbis-open

it seems this depends on gencat binary provided by glibc.
build is okay out of Nix because macOS has native /usr/bin/gencat.

@GrahamcOfBorg build pbis-open

seems to fail on darwin because it can't find gencat? maybe some if is required?

reduced number of platforms.

@GrahamcOfBorg build pbis-open

@jonringer Thanks!


⚠ Bofrost.fr has degraded performance

In 5737745, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1410 ms

Resolved: Bofrost.fr performance has improved in 9aad30e after 43 minutes.


Small Typo

The "D" in Deny has to be small.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 57f125a6-bdb5-71c6-dad9-2d60bdb8e5aa
Version Independent ID: 660b0fda-b107-f1fe-d1ad-27b7e37fb7e9
Content: Azure Policy json sample - Allowed locations
Content Source: articles/azure-policy/scripts/allowed-locs.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@msghaleb Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

It is in the first JSON code sample:
},       "then": {         "effect": "Deny"       }

@msghaleb Thanks for the feedback!  The JSON properties for Azure Policy are not case-sensitive.  However, the editor in Azure Portal is for schema validation.  You are likely getting the “green squiggle”.  You can still save the definition and assign it and it will work as written without the Deny/deny being an issue or blocker.  Thank you!  #please-close


[UPDATE] catppuccin-gtk: unstable-2022-02-24 -> 0.2.7

Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

Project name
nix search name: catppuccin-gtk

current version: unstable-2022-02-24
desired version: 0.2.7 (or newer)
Notify maintainers

maintainers: @fufexan
Note for maintainers
Please tag this issue in your PR.

It was updated https://github.com/NixOS/nixpkgs/pull/187245.

Oh, I'm sorry. I checked both git and used the package search and obviously missed both results. Gotta get some more sleep.

Looking more closely I see that themes resulting from the nix package don't line up with the ones from the GitHub release.
Here we've got names like "Catppuccin-Purple" and "Catppuccin-Purple-Dark", upstream (pre-packaged) the names are "Catppuccin-Latte-Muave" and "Catppuccin-Mocha-Muave". In this case, I presume they can be inter-changed but others such as "Catppuccin-Frappe-Muave" and "Catppuccin-Macchiato-Muave" seem to be missing.
I presume this is an upstream bug (no way to build the pre-packaged versions).  Perhaps you could simply grab the pre-packaged themes instead of building them?

I've thought about that, but it would just be a temporary fix on our end. We would revert to building from source as soon as they support it from the install scripts.
I've seen some work on that in this branch.