Should finfo have smallest normal/subnormal attributes?

Following up on gh-129: we removed the tiny attribute from finfo because it's badly named. In the discussion @kgryte explained its purpose and proposed instead to add two new attributes: smallest_normal and smallest_subnormal. That does sound like a good idea, however it'd be good to propose adding those attributes to numpy.finfo first, because it's not existing API and if NumPy doesn't want to extend finfo then we're better off leaving it out probably.

We discussed this, and because finfo comes from NumPy, moved the discussion there. PR close to being merged: https://github.com/numpy/numpy/pull/18536

smallest_subnormal seems to be painful to get right, so not sure that should be included. But smallest_normal makes total sense I think.

This has been resolved. Closing...


Drc02

per our last conversation, removed commented functions and migrated a bit more code

not intended. closing


Odd behaviour with Elder Scrolls Online

So I'm trying to isolate the HUD and unfortunately the game is exhibiting some unintended effects from doing so. I made sure I had a shader that covered the whole screen, then I first searched for vertex shaders that had the effect active but not on the HUD and that worked but as soon as I start moving a still image will cover the screen (think screenshot) that only disappears when the camera is on a certain angle making the game unplayable. I've tried again with a different vertex shader and while it worked, the shader effects I'd activate would have what I can only describe as a gamma issue as it feels like every effect is twice applied (blacks crushed, etc)
I repeated the process with pixel shaders and I've gotten the same issue. I'd catch a pixel/vertex shader that relatively works but as soon as I fast travel to a different location the still image issue would pop up again. I'm not an expert by any means and I would really appreciate some help.

Did you use a specific release or did you compile from source?

Woops, I had a feeling I forgot to mention something important. So I've tried both 1.0.1 and 1.1.0-testing, both have the same issues.

I'm encountering very similar issues, although not just with E.S.O. in particular. SMAA always seems to darken the whole image when being affected by a shader toggle group, and sometimes all effects that are affected by a toggle group get disabled alltogether, depending on where the camera is pointed at or located.
While the idea of this addon is awesome, this sadly makes it a bit unpractical and annoying to use when effect such as MXAO or RTGI just disable at random angles.

Hey! How would one go about compiling the dev branch version? I have also been running into the same darkening issue with some of my favorite shaders and would totally be up for messing around with the new version.

The darkening issue is fixed in the current dev branch (next), though there's no release build yet (unless you want to compile yourself to play around with it). Same kinda-sorta goes for effects disappearing, though the underlying issue is that not all shaders are enabled at all times in a game. At best you'll suddenly have effects rendered on top of the UI. So either you find one that is stable enough, or you're just out of luck. This addon uses a very specific method to do what it does, it is no silver bullet.

So I've tested the next-branch and unfortunately it doesn't work at all with ESO, I can cycle through the vertex/pixel shaders but nothing is happening on screen.

I had this problem too with DDO. I think that this addon is using some modified version of ShadderToggler.
If it helps the dev to fix this issue and create a more generic solution (and everyone can use this to test if it works with your game);
I think that the "shader finder solution" needs to look at the original idea and adapt on this add-on. Using ShaderToggler from FransBouma (https://github.com/FransBouma/ShaderToggler) i could normally find the UI and disable in-game without flickering and problems(needs testing on other games).
Since the FransBouma add-on is just to remove the shader, 4lex4nder gonna need to look at his solution that he uses to "search/select" shader and adapt.
I hope this help moving this project forward, this could be the biggest innovation around game modding!

For everyone's information, I finally tried REST in ESO and the problem is on ESO's end not the addon itself, the addon functions as expected there just unfortunately isn't a pixel or vertex shader that draws only the UI elements and does absolutely nothing else (what 99% of REST users look for)
as for @sh0t4r0 Reshade Effect Shader Toggle, is a fork of Shader Toggler, its base code is from Frans Bouma's Shader Toggler, the pixel/vertex shader finder used to work exactly the same, but because of the differences between the two addons, REST needs to function differently, that difference mainly being you need to enable the group before looking for shaders.
so for alex, unless you would like to absolutely confirm by getting the game for yourself, i think you can safely close this issue. as ESO is at fault, not REST.

For everyone's information, I finally tried REST in ESO and the problem is on ESO's end not the addon itself, the addon functions as expected there just unfortunately isn't a pixel or vertex shader that draws only the UI elements and does absolutely nothing else (what 99% of REST users look for)
as for @sh0t4r0 Reshade Effect Shader Toggle, is a fork of Shader Toggler, its base code is from Frans Bouma's Shader Toggler, the pixel/vertex shader finder used to work exactly the same, but because of the differences between the two addons, REST needs to function differently, that difference mainly being you need to enable the group before looking for shaders.
so for alex, unless you would like to absolutely confirm by getting the game for yourself, i think you can safely close this issue. as ESO is at fault, not REST.

If that were true then using shader toggler to disable the HUD would also disable some other effects, no? Because straight up disabling it is a non-issue.

Looked into the game. ESO renders the UI onto a blank buffer first, which is then blended and tonemapped in a single step with the pre-tonemapped game color buffer. There's no step between the tonemapping and blending of the UI where REST can inject itself.
The original ShaderToggler can disable the HUD by preventing the execution of the shader that renders the UI onto the blank buffer, but that means nothing for how REST works.
REST and ST do very different things.

Looked into the game. ESO renders the UI onto a blank buffer first, which is then blended and tonemapped in a single step with the pre-tonemapped game color buffer. There's no step between the tonemapping and blending of the UI where REST can inject itself. The original ShaderToggler can disable the HUD by preventing the execution of the shader that renders the UI onto the blank buffer, but that means nothing for how REST works. REST and ST do very different things.

That is very unfortunate. Thank you for testing out the game and for creating this shader tool.


FolderScanUltra detected by CrowdStrike as malware

Hi Paul,
I am the IT End User Computing lead for our company and we have CrowdStrike deployed on all PC's. I just ran FSU 5.10 on Windows 11 Enterprise with the below parameters and it trigger CrowdStrike to block its activity and flag it as malware. The FSC.exe and related files were not themselves detected as risky while at rest (i.e. not being executed).
fsu.exe c:\ /sum /users /extensions
Just letting you know so you can possibly work around this.
Thanks.

Thanks for letting me know. I'll do some investigating...!

No problem. Let me know if you wish me to test an updated version.

Thanks again. I've reached out to the CrowdStrike false positive team. I think it's possibly down to the application's "excessive" calls to the Windows API functions FindFirstFileW() and FindNextFileW(), but I'm not 100% sure, though I can't think of anything else it could be.


Refresh CU2 Troubleshooting Book

Refresh the latest books from Stuart for CU2.

@kenvanhyning  Stuart just emailed me that he has CU2 updates for TSG book and I have a PR out for it.


Allow exiting requirements selection

Context
Accidentally set a requirement because 1 is usually exit.
Not spending too long on this.
Changes proposed in this pull request
Make exit an option
Guidance to review
Suggestions for why exit isn't a symbol would be nice, also how to apply it to the other editing bits of course (route etc) as they don't follow the same pattern.
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

@timabell I added some unit specs and fixed a subtle bug in the code by replacing a call of menu.choice(:exit) to menu.choice("exit") which was not matching the guard.


Unable to find twGetUrlLength

Hi, not sure if this is the right place to drop this issue that I reported in the Bluesky Thread Writer. Looks like this is the codebase being used.
When typing a URL into Thread Writer, I'm getting this error:
I would like to include URLs in a thread.
I'm getting this when I get to the end of typing something like https://google.com/ (and the parsing stops).
Console error:
ReferenceError: Can't find variable: twGetUrlLength
[Error] ReferenceError: Can't find variable: twGetUrlLength
wordLength (code.js:104)
doSplit (code.js:163)
splitIntoTweetArray (code.js:188)
recalcTweetArray (code.js:210)
everySecond (code.js:508)
Here's where I started looking since it's the only twGetUrlLength reference I could find: https://github.com/scripting/electricPork/blob/783395c534fecf0e1b31bfbf84c7e5da15301fd3/code/code.js#L167

There's a link at the end of the howto that points to the place to ask questions.
https://this.how/threadWriterForBluesky/


Add call backs for caching SSL sessions

This change adds two new callback setters: one for storing data
to be cached, and one for retrieval. These are used in later
commits to actually cache data.

Do we also need a callback for session invalidation? https://tools.ietf.org/html/rfc5246#section-7.2.2 says we must not resume any sessions terminated with a fatal alert


Upgrade to Assemblyscript 0.21.x

But firstly we should be adapted to 0.20.x

https://github.com/as-pect/as-pect
https://github.com/as-pect/visitor-as


iOS 9 crash

I have an error while loading messages:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x15ec64600 of class JSQMessagesComposerTextView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x15dee6a30> (
<NSKeyValueObservance 0x15f628f20: Observer: 0x162e46a00, Key path: contentSize, Options: <New: YES, Old: YES, Prior: NO> Context: 0x1002bfa10, Property: 0x15ddcc350>
)'
can anyone know whats the reason?
it worked on Xcode 6 but, with the new xcode7 i have more issues with jsqmessenger

Any news? Did you solve this problem?
I have same issue...

@csontosgabor You most likely removed the ComposerTextView from the view stack at some point. And the bug is that its dealloc doesn't clean up the KVO hooks. Therefore, a crash occurs. I hope this gets fixed, because it's causing us some headaches as well.

Any updates on this? I removed the composer view and this started to happen. i don't need to show composer view. if there is any other method, which can safely hide the composer view, i am open to it. :)

Actually I made it, but unfortunatelly, I forget what was this issue.
send a mail<EMAIL_ADDRESS>than talk about there

@csontosgabor  Thanks for so quick turn around. I have sent an email.

@csontosgabor @mmiroslav @tomasicg @akki7017
I can see how to cause this by calling [self.inputToolbar.contentView.textView removeFromSuperview]; from within the Chat view controller.
Is there a legitimate need to remove the textView in this manner? Do any of you have a solution?

closing this -- doesn't seem like a library bug.


copy interval error

I need to copy/deepcopy a interval with the module copy, but it's always error:

k = interval([-3, -2], [0, 1])
A=copy.copy(k)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 96, in copy
return _reconstruct(x, rv, 0)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 329, in _reconstruct
y = callable(*args)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy_reg.py", line 93, in newobj
return cls.new(cls, *args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 101, in new
return cls.union(process(x) for x in args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 181, in union
return cls._canonical(c for i in intervals for c in i)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 158, in _canonical
components = [c for c in components if c.inf <= c.sup]
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 181, in
return cls._canonical(c for i in intervals for c in i)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 101, in
return cls.union(process(x) for x in args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 100, in process
raise cls.ComponentError("Invalid interval component: " + repr(x))
ComponentError: Invalid interval component: ((-3.0, -2.0), (0.0, 1.0))

for deepcopy:

k = interval([-3, -2], [0, 1])
A=copy.copy(k)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 96, in copy
return _reconstruct(x, rv, 0)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 329, in _reconstruct
y = callable(*args)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy_reg.py", line 93, in newobj
return cls.new(cls, *args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 101, in new
return cls.union(process(x) for x in args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 181, in union
return cls._canonical(c for i in intervals for c in i)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 158, in _canonical
components = [c for c in components if c.inf <= c.sup]
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 181, in
return cls._canonical(c for i in intervals for c in i)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 101, in
return cls.union(process(x) for x in args)
File "/usr/local/lib/python2.7/site-packages/interval/init.py", line 100, in process
raise cls.ComponentError("Invalid interval component: " + repr(x))
ComponentError: Invalid interval component: ((-3.0, -2.0), (0.0, 1.0))
k = interval([-3, -2], [0, 1])
A=copy.deepcopy(k)
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 328, in _reconstruct
args = deepcopy(args, memo)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 237, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 237, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 329, in _reconstruct
y = callable(*args)
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy_reg.py", line 93, in newobj
return cls.new(cls, *args)
TypeError: new() takes exactly 3 arguments (2 given)

also it cannot be copied by module pickle. Any ideas?

I'll have a look.

I just released version 1.1.1 that fixes this issues. Now pickling, shallow copy and deep copy all work.

Interesting, the cause is just lack of the __getnewargs__ method which I've never met before.
Learning!

Can you confirm that it is now working for you?

Yes, I have tested. Now it works


Added Thibault Jochem as a Growlab Technician and link to the current…

… build.

Welcome aboard 🌱 👀


Standardize CLI arguments for new incoming features

We must standardize the CLI since several features are coming and they will have a impact ons args.
REMIDER :
$ niet --help
usage: niet [-h] [-f {json,yaml,eval,newline,ifs,squote,dquote}] [-s] [-v]
            object [file]

Read data from YAML or JSON file

positional arguments:
  object                Path to object separated by dot (.). Use '.' to get
                        whole file. eg: a.b.c
  file                  Optional JSON or YAML filename. If not provided niet
                        read from stdin

optional arguments:
  -h, --help            show this help message and exit
  -f {json,yaml,eval,newline,ifs,squote,dquote}, --format {json,yaml,eval,newline,ifs,squote,dquote}
                        output format
  -i, --in-place        Perform modification in place. Will so alter read file
  -o OUTPUT_FILE, --output OUTPUT_FILE
                        Print output in a file instead of stdout (surcharged
                        by infile parameter if set)
  -s, --silent          silent mode, doesn't display message when element was
                        not found
  -v, --version         print the Niet version number and exit (also
                        --version)

Incoming features are the add command and deletion ones
Standard usage :
niet .object file.yaml = Return object from file
echo 'toto' | niet . = Return object from stdin; no need of second positional arg since reading from stdin
Deletion :
Several ways of work identified:
Solution 1 niet -d .objects.object1 --del .objects.object2 file.yml => The is no need for .object first positional arg in this case, this will remove only these two objects from file. The -i can be used to makes the change in the file itself (or -o for writing in an other ourput file)
Solution 2  niet .objects file.yaml --del object1 object2 => Delete object1 and object2 from objects and return all the file.yaml except these two objects.
Solution 3 niet .objects file.yaml --del object1 -d object2 => Extract the .objects object from file.yaml and return it with deleting object1 and object2. Difference with previous one is that the output is only on .objects object and there is nothing outside of .objects.

IMHO the second solution make no sense.
Until now the object to handle, if exist, was the returned part (the output), so if we consider it we still need to return only the section who correspond to this object. For this reason I'm not confortable with the second solution, I think it could misleading users.
Concerning the first solution, it suppose to move the object parameter as an optional parameter... I'm not a big fan... This will break the standard usage of niet where the object is the central piece of this software and of the niet logic.
So the third solution appear to me as the right solution and the more flexible one!
With this one we can delete from everywhere and the object parameter will determine the scope of the deletion.
Example:
$ echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": 7}}' | niet  . -d .four.five .four.seven -f json
{"one": 1, "two": 2, "three": 3, "four": {"six": 6}}
$ echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": 7}}' | niet  .four -d six -f json
{"four": {"five": 5, "seven": 7}}
$ # in the following example `six` is outside of the scope of the `two` key so deletion will be ignored
$ # how is it useful to return an error code in this situation?
$ echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": 7}}' | niet  .two -d six -f json
{"two": 2}
$ echo $?
0

I am not so comfortable with the nargs feature to have several objets after the -d or --del argument indeed.
But What we could do is to allow to have some multiples arguments in one arg, I mean this kind of thing :
$echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": 7}}' | \
> niet  . -d 'one .four.six' -f json
{"two": 2, "three": 3, "four": {"five": 5, "seven": 7}}

This can easily be obtained by intelligency spliting the only arg in a list separated by spaces (with taking care about quotes and backslash).
This allow to deal with bash table (if there is no spaces in the bash table), and still fix to one argument so there can be no issue regarding if you plain to use it before the positionning argument or after.


Sunk ball offset doesn't appear to scale with table

Pardon the non-standard table skin in the screenshot, but I noticed that on smaller tables (half size in this case), the sunk balls retain the full size offset.

Good bug, will fix

The balls are offset via localPosition rather than position, which means that at a net x scale of 0.5 their world position should only change by half too - unsure what's going on here but I'm unable to reproduce it atm.


Tests do not check if arbitrary contract with a non-token ABI properly parses

In ./theData/tests folder, test cases do not cover the case of an arbitrary contract with either (a) no abi, or (b) an abi. Does arbitrary abi work to identify function calls?

Moved to https://github.com/Great-Hill-Corporation/quickBlocks/issues/73


tflite conversion of segmentation model with input_shape=1,512,512,3

Hi,
This hosted tflite segmentation model (https://github.com/fatihcakirs/mobile_models/blob/main/v0_7/tflite/deeplabv3_mnv2_ade20k_float.tflite) is having input resolution of (1,512,512,3) whereas the default command for conversion has a resolution of (1,513,513,3):
tflite_convert \
--graph_def_file=<model dir>/frozen_inference_graph.pb \
--output_file=<model dir>/deeplabv3_mnv2_ade20k_float.tflite \
--output_format=TFLITE \
--input_shape=1,513,513,3 \
--input_arrays="MobilenetV2/MobilenetV2/input" \
--change_concat_input_ranges=true \
--output_arrays="ArgMax"

When tried changing the input_shape to 1,512,512,3 in the above command, I am getting an error regarding shape mismatch.
Will you please share the details on how the hosted model with i/p shape  1,512,512,3 generated ?
Regards, Debapriya

@debapriyamaji This should be moved to https://github.com/mlcommons/mobile which is where the description of how the tflite files are generated is described

Hi,
This  link https://github.com/mlcommons/mobile doesn't work, Will you please redirect me to the correct link.


Fortunac/cmd arguments

Integrates parts 1-3 in #218. This is a very big update that transforms our wp plugin to a bap command. All the run_wp scripts in the internal repo will break.
Interface changes

WP's invocation is now bap wp --func=foo [options] file1 [file2]
All the flags are no longer prepended with wp-
Some flag names have been changed to prevent ambiguity:

check-calls => compare-func-calls
gdb-filename => gdb-output

Removed some flags that are no longer necessary:

compare, file1, and file2 in favor of WP determining whether to perform a single or comparative analysis depending on the number of input files.

To view the help page, the command is bap wp --help.

Other changes/notes

Updated the README with the new flags.
This PR still reads from our .bpj files. The upcoming PR will remove the save_project plugin, so we will no longer need this.
The majority of the changes are located in plugin/wp.ml.  It looks like a lot of changes, but it is all the same functions, but placed in separate modules.

I'm a little worried about "guessing" behavior in options, generally: if the user forgets to put file2, but asks for compare-func-calls, what happens?

I'm a little worried about "guessing" behavior in options, generally: if the user forgets to put file2, but asks for compare-func-calls, what happens?

That property won't be added because we only check this flag in the comparative case, and wp continues running. I can add a check for the flags the assume we have two binaries. It will let the user know that the flag is meant for the comparative case and the user did not specify a second file, and then exit.


Support StreamingCallSettings for BidiStreamingCalls

StreamingCallSettings are ignored when creating a bidiStreamingCallable: https://github.com/googleapis/gax-java/blob/5fd82c7058bf780dacbf0127cc5b4f74fd4a9800/gax-grpc/src/main/java/com/google/api/gax/grpc/GrpcCallableFactory.java#L231-L248

@vam-google any updates?

@vam-google any update?

@vam-google Is this still a relevant feature request at P1?


Testing Approach on Verify-Frontend

Background
Following a number of conversations on the testing approach in this project we're attempting to define a set of guidelines for testing Verify-Frontend
Feature tests
We use feature tests to test that pages are rendered as expected based on interactions with the user. There should be a relatively small number of these for each page and they should use real application classes not stubs/mocks
We should aim to make feature tests as descriptive as possible.
Feature tests are about testing user interactions with the application. As such assertions should be about the state of the application from the user's perspective, try and avoid asserting on application internals e.g. headers/cookie values in these tests - these types of things should be tested in controller tests
Controller tests
Controller tests should used to test any logic that sits in a controller. These still use Rails request-response cycle so are not as fast as unit tests but do not render the views so are faster than Feature tests. Depending on the complexity of the logic, there should be more of these per page than feature specs.
These test can still take advantage of the existing fixtures (things under /stub) so try and use these where possible instead of mocking things out.
Unit tests
Unit tests should be preferred where it makes sense to extract logic from the controller. These tests are very fast to run and being relatively self-contained should give good feedback to help you fix any issues

Controllers with logic and no controller tests
These are probably tested via feature tests.

AuthnRequestController
CertifiedCompanyUnavailableController
ConfigurableJourneyController 😛
ConfirmYourIdentityController
FeedbackController
RedirectToIdpWarningController
ResponseProcessingController
ServiceStatusController
StartController

Can this be written up as an ADR?


Warning to show end of life for selected stack when eol is within 6 months or passed already

Closing as duplicate of https://github.com/microsoft/vscode-azurefunctions/issues/3353


Fix compatibility with Boost 1.67+

Boost 1.67+ uses a version suffix like "python36" or "python27" for the boost python library. This updates CMakeLists.txt to look for this (in addition to the existing lookups).
See: https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L43-L50 and also https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L202-L207 for more info.
Tested with boost 1.67 from conda-forge on windows, but this should hopefully also fix homebrew boost 1.67 on Mac - see https://github.com/rdkit/homebrew-rdkit/issues/62.

I think there is a similar problem with boost-1.71
CMake Error at /usr/local/lib/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
  Could not find a package configuration file provided by "boost_python"
  (requested version 1.71.0) with any of the following names:

    boost_pythonConfig.cmake
    boost_python-config.cmake

  Add the installation prefix of "boost_python" to CMAKE_PREFIX_PATH or set
  "boost_python_DIR" to a directory containing one of the above files.  If
  "boost_python" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
  /usr/local/Cellar/cmake/3.15.3/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:262 (find_package)

@mcs07 can you compile rdkit with boost-1.71? I don't manage to fix this.


Automated cherry pick of #8415: fix: 支持多安全组

Cherry pick of #8415 on release/3.5.
#8415: fix: 支持多安全组

Codecov Report

Merging #8473 into release/3.5 will decrease coverage by 2.62%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.5   #8473      +/-   ##
==============================================
- Coverage         6.14%   3.51%   -2.63%
==============================================
  Files              761     305     -456
  Lines           118373   62740   -55633
==============================================
- Hits              7269    2205    -5064
+ Misses          110445   60381   -50064
+ Partials           659     154     -505

Flag
Coverage Δ

#aFlag
3.51% <0.00%> (-2.63%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/compute/models/cloudsync.go
0.00% <0.00%> (ø)

pkg/compute/models/dbinstance_secgroups.go
0.00% <0.00%> (ø)

pkg/compute/models/dbinstancejoints.go
0.00% <0.00%> (ø)

pkg/compute/models/dbinstancenetworks.go
0.00% <0.00%> (ø)

pkg/compute/models/dbinstances.go
0.75% <0.00%> (+<0.01%)
:arrow_up:

pkg/compute/models/elasticcache_instances.go
0.88% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/loadbalancers.go
1.14% <0.00%> (-0.02%)
:arrow_down:

pkg/compute/models/purge.go
0.00% <0.00%> (ø)

pkg/compute/models/regiondrivers.go
14.28% <ø> (ø)

pkg/compute/models/secgroups.go
1.47% <0.00%> (-0.02%)
:arrow_down:

... and 451 more

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 eb3bffc...ec7e287. Read the comment docs.


ValueError: num_outputs should be int or long, got 11.

Need for help:
Win10
Python 3.6
tensorflow-gpu            1.4.0
tensorflow-tensorboard    0.4.0rc3
The error is as below by runing 'python trainer.py --dataset MNIST':

(C:\Anaconda3) F:\PythonWorkSpace\SSGAN-Tensorflow>python trainer.py --dataset MNIST
[2017-11-28 22:25:31,294] Reading ./datasets/mnist\data.hy ...
[2017-11-28 22:25:31,298] Reading Done: ./datasets/mnist\data.hy
[2017-11-28 22:25:31,300] Reading ./datasets/mnist\data.hy ...
[2017-11-28 22:25:31,312] Reading Done: ./datasets/mnist\data.hy
[2017-11-28 22:25:31,329] Train Dir: ./train_dir/default-MNIST_lr_0.0001_update_G5_D1-20171128-222531
[2017-11-28 22:25:31,330] input_ops [inputs]: Using 60000 IDs from dataset
[2017-11-28 22:25:31,628] input_ops [inputs]: Using 10000 IDs from dataset
[2017-11-28 22:25:31,756] Generator
[2017-11-28 22:25:31,814] Generator Tensor("Generator/g_1_deconv/BatchNorm/Identity:0", shape=(64, 2, 2, 100), dtype=float32)
[2017-11-28 22:25:31,870] Generator Tensor("Generator/g_2_deconv/BatchNorm/Identity:0", shape=(64, 5, 5, 25), dtype=float32)
[2017-11-28 22:25:31,927] Generator Tensor("Generator/g_3_deconv/BatchNorm/Identity:0", shape=(64, 12, 12, 6), dtype=float32)
[2017-11-28 22:25:31,962] Generator Tensor("Generator/g_4_deconv/Tanh:0", shape=(64, 28, 28, 1), dtype=float32)
[2017-11-28 22:25:31,963] Discriminator
[2017-11-28 22:25:32,012] Discriminator Tensor("d_1_conv/dropout/mul:0", shape=(64, 14, 14, 32), dtype=float32)
[2017-11-28 22:25:32,061] Discriminator Tensor("d_2_conv/dropout/mul:0", shape=(64, 7, 7, 64), dtype=float32)
[2017-11-28 22:25:32,167] Discriminator Tensor("d_3_conv/dropout/mul:0", shape=(64, 4, 4, 128), dtype=float32)
Traceback (most recent call last):
File "trainer.py", line 253, in
main()
File "trainer.py", line 247, in main
dataset_train, dataset_test)
File "trainer.py", line 50, in init
self.model = Model(config)
File "F:\PythonWorkSpace\SSGAN-Tensorflow\model.py", line 44, in init
self.build(is_train=is_train)
File "F:\PythonWorkSpace\SSGAN-Tensorflow\model.py", line 138, in build
d_real, d_real_logits = D(self.image, scope='Discriminator', reuse=False)
File "F:\PythonWorkSpace\SSGAN-Tensorflow\model.py", line 123, in D
tf.reshape(d_3, [self.batch_size, -1]), n+1, scope='d_4_fc', activation_fn=None)
File "C:\Anaconda3\lib\site-packages\tensorflow\contrib\framework\python\ops\arg_scope.py", line 181, in func_with_args
return func(*args, **current_args)
File "C:\Anaconda3\lib\site-packages\tensorflow\contrib\layers\python\layers\layers.py", line 1616, in fully_connected
'num_outputs should be int or long, got %s.' % (num_outputs,))
ValueError: num_outputs should be int or long, got 11.
Who can help me? Thank you so much.

solved by changing model.py due to the fact that n+1 is numpy int32, whereas slim.fully_connected permits naive python int!!! So, convert n+1 from numpy int32 to python int by np.asscalar(n+1).
d_4 = slim.fully_connected(
tf.reshape(d_3, [self.batch_size, -1]), np.asscalar(n+1), scope='d_4_fc', activation_fn=None)

Thanks a lot for solving my problem.

Thank you! I had the same problem. Although it's kind of ridiculous that 11 is not automatically converted to an int32.

Thanks for the help! I am closing this issue for now.


Unable to validate date in yaml

Hi, I'm not able to validate date's in yaml. I mean, I can validate them, but the ajv-cli says they're invalid although they're not. Here's the simples example that can reproduce it.
Schema:
{
  "type": "object",
  "properties": {
     "date": {
        "type": "string",
        "format": "date"
     }
   }
}

Doc:
date: 2021-02-02

call:
ajv -s schema.json -d doc.yml -c ajv-formats

Versions:
➜  yaml npm info ajv-cli

<EMAIL_ADDRESS>| MIT | deps: 7 | versions: 26
Command line interface for Ajv JSON schema validator
https://github.com/ajv-validator/ajv-cli#readme

bin: ajv

dist
.tarball: https://registry.npmjs.org/ajv-cli/-/ajv-cli-4.2.0.tgz
.shasum: f2c371edfd9c999f2a9e0afdd5675eede8e16544
.integrity: sha512-3Ab8Kuh7QnyXxg+v4NFzah1LLBHgYBUVtJZC8bOaDAdl766kT6Usw5f+g8UcFN+24lYIbchaQBQ+uUntYpBEyQ==
.unpackedSize: 150.1 kB

dependencies:
ajv: ^7.2.1                 glob: ^7.1.0                json-schema-migrate: ^1.1.0 minimist: ^1.2.0
fast-json-patch: ^2.0.0     js-yaml: ^3.14.0            json5: ^2.1.3

maintainers:
- esp<EMAIL_ADDRESS>- jessedc<EMAIL_ADDRESS>
dist-tags:
beta: 4.0.0-rc.0  latest: 4.2.0

published 2 weeks ago by esp<EMAIL_ADDRESS>
➜  yaml npm info ajv-formats

<EMAIL_ADDRESS>| MIT | deps: 1 | versions: 26
Format validation for Ajv v7
https://github.com/ajv-validator/ajv-formats#readme

keywords: Ajv, JSON-Schema, format, validation

dist
.tarball: https://registry.npmjs.org/ajv-formats/-/ajv-formats-1.5.1.tgz
.shasum: 0f301b1b3846182f224cc563fc0a032daafb7dab
.integrity: sha512-s1RBVF4HZd2UjGkb6t6uWoXjf6o7j7dXPQIL7vprcIT/67bTD6+5ocsU0UKShS2qWxueGDWuGfKHfOxHWrlTQg==
.unpackedSize: 47.8 kB

dependencies:
ajv: ^7.0.0

maintainers:
- esp<EMAIL_ADDRESS>- additiveamateur<EMAIL_ADDRESS>
dist-tags:
beta: 2.0.0-beta.3  latest: 1.5.1

published 3 months ago by esp<EMAIL_ADDRESS>
The error I'm getting:
➜  ajv -s schema.json -d doc.yml -c ajv-formats --verbose
simple_doc.yml invalid
[
  {
    keyword: 'type',
    dataPath: '/date',
    schemaPath: '#/properties/date/type',
    params: { type: 'string' },
    message: 'should be string',
    schema: 'string',
    parentSchema: { type: 'string', format: 'date' },
    data: 2021-02-02T00:00:00.000Z
  }
]

The problematic seem to be a format in which this date is read.

I'm also having this problem.

I believe this is because js-yaml by default parses it as timestamp (Date) and not as string, so it fails the validation.
The simple fix is to use the option schema: CORE_SCHEMA in .safeLoad - PR would be appreciated.
See https://github.com/nodeca/js-yaml#load-string---options-

PR would be appreciated

Sure, I'll do my best.

@epoberezkin could you make a release with fix for this? I'd love to recommend it to my coworkers

@epoberezkin this fix was merged to master, but was not released, could you make a release? Thanks.


Clarify message in disk IO utilization check

The previous message could lead one to believe that the disk was
filling up.  The new message specifies IO utilization vs storage
utilization.
Fixes-Branch: #831
Signed-off-by: Matthew Thode<EMAIL_ADDRESS>

:+1:

:+1:


Fix/Remove potentially confusing references to Euler

e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp description invalid.
Fixed #18179

The file that contains incorrect info is VisualScriptMathFunc

Cherry picked into 3.0.3


Deploy Key

Hello,
When I try to create a deploy_secret, terraform gives me an error
Error: field: deploy_secret, code: invalid
│
│   with looker_project_git_repo.git_repo,
│   on adeo_team.tf line 183, in resource "looker_project_git_repo" "git_repo":
│  183:   deploy_secret = looker_project_git_deploy_key.git_key.public_key
│
│ Invalid deploy_secret. Cannot be longer than 128 characters
Any idea ?
Regards

Hello,
You are trying to use the git deploy key into the "deploy_secret" variable which is used to authenticate requests to the webhook. Those are 2 totally different use cases.
Here is a setup where I create a github repository, generate a deploy key and link it to a Looker project -> code sample. (Don't forget to setup the GitHub provider)
Regards,
Nabil Lahssini

Hello Nabil,
Thank you for your support.
In other terraform custom provider, the project_git_repo have the ability to take git_deploy_key in input and set it.
Is it possible to generate git_deploy_key as mentionned in your code and affect it to project_git_repo ?

I find a solution ! Thank's

The deploy key must be generated by Looker itself and set on the Github resource "github_repository_deploy_key" , since it uses SSH cloning method.
As far as I know, there is no other way of using the deploy key.
The other method is using HTTPS cloning and it requires username and API key.
I hope this answered your question.


Use getAttribute to find duplicate ids, not the id property

Since form controls can be accessed in javascript directly by name through the form object, (e.g. my_form.my_input), c.id may end up referring to an element whose name is id, instead of referring to the global id attribute. Explicitly retrieving the id with getAttribute avoids this.
Fixes #879

Happy to adjust if requested 👍

disregard approval! accident...

Ha! No worries! 👍

Incidentally, if anyone is able to discuss with me (or point to somewhere I can ask appropriately) about how I can make @hotwired/turbo-rails in one of my projects use my patched version of turbo until this fix (or at least another like it that fixes the issue it is addressing) is officially available, I would be very grateful. (I have attempted to pull this fix into a project I'm working on with a "resolutions" field added to package.json for yarn, pointing towards the Git commit of my fix, but I'm unable to get yarn build to succeed because the turbo-rails source code, which says things like import * as Turbo from "@hotwired/turbo" causes yarn to say "Could not resolve "@hotwired/turbo". Can anyone help, or where should I ask? 🙂

This feels related to https://github.com/hotwired/turbo/pull/1037.

Are folks happy enough with a force push here for me to correct the conflicts, or is a new commit preferred?

@seanpdoyle I don't think I can run the CI due to the merge conflicts.
@ethancrawford force push is ok. Re. using a custom version of Turbo I think your best option is build the branch yourself and vendor the resulting dist file in your app. You can remove the vendored file once there's a release with your changes.

Sure, thanks!

@ethancrawford can you do rebase? Hopefully this can be merged soon

@brunoprietog done - apologies for not noticing the latest conflict sooner!

You're welcome! 👍


opencensus: Disable by default

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@kyessenov we can remove this from istio?

@zirain @lei-tang
I think we should remove opencensus-based code from OSS. We are capable of keeping it in Google-vendored Istio builds only, but we probably need to improve our internal CI to handle it.

As part of the move from upstream/OSS, we probably want to revert some of these deprecation warnings on the protos as well.

BTW, the c-ares problem may related any grpc service with dns:xxxxxx(not sure this is the right way to use), we just found it on opencensus.

changelog add and description updated

changelog add and description updated

The link to the tracking should be part of the api-doc.
My goal is for some user that detects their old-config is now broken, to look at the field's docs and get a better understanding of what are the steps they should take.

My goal is for some user that detects their old-config is now broken, to look at the field's docs and get a better understanding of what are the steps they should take.

happy to add that but in 3 months it wont appear at all - wondering if it would be better to just add the link in the changelog

/docs

annoyingly deprecation and even default disable are totally ignored https://storage.googleapis.com/envoy-pr/678383c/docs/api-v3/config/trace/v3/opencensus.proto.html

happy to add that but in 3 months it wont appear at all - wondering if it would be better to just add the link in the changelog

I need more context. I thought that the api (proto) stays but is no longer implemented (and if that's the case, then the docs will stay, no?)

annoyingly deprecation and even default disable are totally ignored

Aside from the docs there's what happens when running an Envoy and receiving such config (in the bootstrap or dynamically). This will probably break people that use the feature, and I think we need to give them a way to translate their configs. This could probably be in a github issue.

@adisuissa This is a case when the library is simply gone and there's no nice way around it. Breakage is imminent, so we're trying to warn developers to do something about it. This should be a lesson not to promote extensions with unstable governance structure - OpenCensus OSS was unilaterally shut down by Google, and all maintenance for legacy use of the library should be deferred back to Google into vendor (closed) code.

Sure, and I agree that support will disappear.
What I'm saying is:

give a way for users to migrate to something else (better to write this up in a github issue).
add the link in the fields' comments, so if my config no longer works, I can go to the docs, click the link, and follow the instructions.

There may be some context that I'm missing, and if so feel free to correct me. WDYT?

give a way for users to migrate to something else (better to write this up in a github issue).

In general, that something else equivalent doesn't exist. They have to go and buy a solution from a vendor (e.g. Google) to get an extended support for Stackdriver, for example. OpenTelemetry and collector are quite distinct and not easy to migrate to/from.

In general, that something else equivalent doesn't exist. They have to go and buy a solution from a vendor (e.g. Google) to get an extended support for Stackdriver, for example. OpenTelemetry and collector are quite distinct and not easy to migrate to/from.

Thanks for clarifying this.
What I'm trying to avoid is unhappy users claiming that Envoy is now broken (bad PR), and us receiving many issues around this (burden on the maintainers).
In other words, put yourself in the user's shoes, and consider if we can make things a bit better (maybe not having a list of steps to solve the issue, but at least have some guidance on what alternatives exist, and where can one find more information about them).

@phlax Let's add a release note saying that:

OpenCensus has been sunset, link to https://opentelemetry.io/blog/2023/sunsetting-opencensus/.
Prescribe users to migrate to OpenTelemetry tracer instead, and use an OpenTelemetry collector to convert traces.

@phlax Let's add a release note saying that:

OpenCensus has been sunset, link to https://opentelemetry.io/blog/2023/sunsetting-opencensus/.
Prescribe users to migrate to OpenTelemetry tracer instead, and use an OpenTelemetry collector to convert traces.

That would be great. Thanks for finding this Kuat!


Fix typos

Found some misspellings.
Please consider using typos as it is a superior tool. (although not in Python)
Change Summary
Fix typos.
Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[ ] Unit tests for the changes exist
[ ] Tests pass on CI
[ ] Documentation reflects the changes where applicable
[x] My PR is ready to review

please review

.typos.toml
[files]
extend-exclude = [
    ".git/",
]
ignore-hidden = false

[default]
extend-ignore-re = [
    "b'fo'",
]

[default.extend-words]
"ser" = "ser"

Thanks @szepeviktor


Add RubyMine specific file to Ruby.gitignore

RubyMine is a Ruby and Rails IDE, used very commonly in companies, which automatically makes this file, that you'd want to ignore :smile:

Thanks, but this is tracked in Global/Jetbrains.gitignore along with all the other IDEs that JetBrains ship.
https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
This file is intended to be IDE-agnostic.

Oh, Great! Should've looked into that :smile: .. Anyway thanks for the quick response :hibiscus:


AccessViolationException - Attempted to read or write protected memory

Hello,
So I am using the Effort.EF6 (1.1.4) and NMemory(1.1.2) framework for my Unit Tests - now I have only recently returned to using Effort after deciding it was probably the best route for my situation. I have been using the framework for the past month without an issue, until yesterday morning I came across an:

AccessViolationException was unhandled by user code
An exception of type 'System.AccessViolationException' occurred in NMemory.dll but was not handled in user code
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

The particular case I refer to seems to happen when trying to perform a LINQ Where(x => x.) on one of the properties of my DbContext. I will check my other unit tests to see if it is just querying that it occurs on.
Now I have seen this issue before (https://effort.codeplex.com/discussions/632411) however it was never my laptop.
Any ideas on what is causing this?? It is just strange that it reappeared yesterday.

We are seeing the same AccessViolationException when calling ToList() on a DbSet of our type "MilestoneType".
The stack trace is:
   at DataRow1..ctor(Nullable`1 Name, String OrderNumber, Nullable`1 InboundMilestone, Nullable`1 OutboundMilestone, Nullable`1 MilestoneUsage, Nullable`1 MilestoneChildTypeId, Nullable`1 Created, Nullable`1 CreatedBy, String Modified, Nullable`1 ModifiedBy, String Deleted, Nullable`1 DeletedBy, String )
   at lambda_method(Closure , MilestoneType )
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at NMemory.Execution.CommandExecutor.ExecuteQuery[T](IExecutionPlan`1 plan, IExecutionContext context, ITable[] tablesToLock, Boolean cloneEntities)
   at NMemory.Execution.CommandExecutor.ExecuteQuery[T](IExecutionPlan`1 plan, IExecutionContext context)
   at NMemory.Linq.TableQuery`1.GetEnumerator(IDictionary`2 parameters, Transaction transaction)
   at NMemory.Linq.TableQueryWrapper`1.GetEnumerator()
   at NMemory.Linq.TableQueryWrapper`1.System.Collections.IEnumerable.GetEnumerator()
   at Effort.Provider.EffortDataReader..ctor(IEnumerable result, Int32 recordsAffected, FieldDescription[] fields, DbContainer container)
   at Effort.Internal.CommandActions.QueryCommandAction.ExecuteDataReader(ActionContext context)
   at Effort.Provider.EffortEntityCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.<Reader>b__c(DbCommand t, DbCommandInterceptionContext`1 c)
   at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
   at System.Data.Entity.Internal.InterceptableDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
   at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__6()
   at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5()
   at System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at our code

Effort.EF6 1.1.4
NMemory 1.1.2
EF 6.1.3
The calling code is just
var milestoneTypes = context.MilestoneTypes.ToList();
This is a blocker for us using Effort for unit testing. Is there any additional information I can provide to help diagnose the problem?

I'm not sure if anyone's still watching the old codeplex post @hicks86 referenced, so I thought I'd also mention here that we are seeing a similar issue that seems to be triggered when we have Telerik's JustMock Profiler enabled.  It seems JustMock's use of the .NET Profiler API and Effort don't seem to play well together.  The free version of JustMock (or with it's profiler disabled) works fine with Effort.  Unfortunately though we use some of the advanced mocking functionality that requires it to be enabled.

We also use the paid-for version of JustMock so that pretty much confirms the conflict.

We have JustMock installed however I'm not sure if its the Paid version - This could be conflict as mentioned. A few weeks after I had posted this question,  I made the decision to dump Effort and implement my own (very basic) way of testing our code that talks to EF (Using NSubstitute to create a Mock object of the  DbContext).
Out of curiosity, how are you guys testing this sort of code?

FYI - I opened a Telerik support ticket a couple days ago regarding this.  After a couple emails back-and-forth and having to send them an example project, I got this response from them this morning:
"We managed to reproduce the exception, it looks like there is a problem with our Code Weaver that breaks the Entity Framework. You correctly observed that enabling the profiler causes the issue.We have identified that it is a problem on our side and we will continue investigating it in a few days. We will keep you posted."
I'm still not holding my breath, but at least they've acknowledged it.

Update-  Telerik sent me a corrected pre-release build of JustMock this morning to try.  I am very happy to report that it seems to be working in our initial testing.  Our unit tests seem to be working fine even with the Profiler enabled.
We will continue testing with Telerik, but hopefully this is something they can include in their next release.

Wow that is impressively quick.
I'm still a bit cautious about using Effort framework due to the amount of work it was to roll back. But like you said if this is included in the next release, maybe I'll venture back.

Excellent, we'll try the new version of JustMock when it is released. Thanks for following this up!

@kennethscott Sorry to resurrect this but did Telerik give you any idea of when this fix might make it into a public release?

@Fistynuts I actually just asked them that very question this past Tuesday (6/7).  This was their response:

From: Telerik Admin
Date: 6/7/2016 6:08:06 AM
Hi,
We will release it this or next week. Please, stay tuned.

Hopefully not much longer.  We aren't too crazy about committing the pre-release build they gave us either.  :smiley:

FYI, Telerik has posted a new Internal Build that includes this fix:

@kennethscott - I tried the new internal build and it does indeed fix the issue! Thanks again.


IndexOutOfBoundsException while measuring...

Hello,
I have android 2.3.6 phone device. Sometimes I get IndexOutOfBoundsException on SpannableDocumentLayout class starting from the 230 line:
// Use the line-height of the next line
y += enableLineBreak * (-staticLayout.getLineAscent(lineNumber + 1) + staticLayout
.getLineDescent(lineNumber + 1));
I debug and see that error comes from staticLayout.getLineAscent(lineNumber + 1) part.

Can you provide me the version number?

Android version on my phone 2.3.6, SDK version 10

@Shuhratjava I meant the version of TextJustify

Version is 2.0.4

Interesting. Ill review it and let you know by tomorrow.

Try 2.0.5 and let me know


make sure generated polygons follow right-hand-rule

to comply with https://tools.ietf.org/html/rfc7946#section-3.1.6

Thanks Martin!


How do I disable the hot reload feature ? (Ideally disable it only when I change css ?)

Hi! Sorry, but disabling refresh is not possible in the default setup.

If you want to customize this, you can either npm run eject and then configure Webpack as you like, or fork react-scripts and maintain your own version that doesn’t refresh automatically.

Is there a specific problem you're working against?

Yes I am working againts the fact that I have setup chrome to automatically save changes made in CSS directly to the file system , so that I can make the designing process a little more flexible, but now each time I make a change on CSS the whole application reloads , so Image me using Chrome dev tools to change my css top: attribute on an element each px that I change is one autoreload. Chrome handles live css editing build in

@Timer CSS should be hot reloaded, isn't it?
@JimmySplit can you confirm that the app is only refreshing if you edit CSS from the devtool? How about editing it manually eg from a text editor?

Its because I am not compiling the CSS, instead I insert the css file inside the public folder and then insert it on the main html page (the one that you could also import google analytics for example) if that make any sense

I see. It's because CRA detected a change in the public folder for any files and reload the page for that. To support your use case we should enable source maps for imported CSS files, but it has FOUC issue https://github.com/facebookincubator/create-react-app/pull/591. I have tried to hack it out here https://github.com/webpack-contrib/style-loader/pull/221 but it's not accepted 😄  . So, currently, it's not supported.
In the meantime, importing CSS from src will give you hot reloading (not ideal if you already accustomed to dev tool editing). Or add new env variable to disable reloading on public folder (not ideal because it adds another config to CRA) which is not accepted judging from https://github.com/facebookincubator/create-react-app/issues/1428
FWIW, I think opening text editor and browser side by side is good enough to replace dev tool editing. (CRA hot reloads CSS in src and automatically vendor prefix it) so you don't depend on dev tool feature. It will make your workflow the same regardless of the browser that you are using.

There's an extremely hacky solution to this 😄 . On the page you'd like to temporarily disable HMR:

Open up your browser's Developer Tools
Find the file your-project/node_modules/react-dev-utils/webpackHotDevClient.js
Find the line of code immediately after the webpack dev server connection handler is registered (at the time of this writing, it's L316)
Set a breakpoint on the line

The breakpoint must be after the handler is registered, but still during the initialization of the module

Refresh the page
When the breakpoint is triggered, de-register the connection handler using your browser console's REPL (at the time of this writing, you can run connection.onmessage = () => {}

The page will no longer refresh when you change files. To revert the changes, simply remove the breakpoint and refresh the page.


Added developer's guide

This patch adds a developer's guide to the project's documentation.

Hi @clintonskitson,
Please use mkdocs to serve this for yourself locally to make sure it looks good and provides you with the knowledge / steps to create releases in the future.


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 1069 ms

Resolved: Bofrost.fr performance has improved in 6cb5df5 after 7 minutes.


Reversal of Linked List

Description 📜
This code reverses a linked list without using a stack
Fixes #956

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[x] DSA
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

[reversal.txt](https://github.com/girlscript/winter-of-contributing/files/7540368/reversal.txt)

"/assign"

@muskan612

Please fetch and merge before creating a PR. kindly close this one.


Warning error in Angular 17 saying it is not ES6 modules .

Is the smol-toml ES6 module compatible? When trying to ng server or ng built in Angular 17
it throws a warning
Warning: E:\ec-projects\angular-v17-projects\htxpp-web-app-v1\src\app\modules\landing\aboutus\aboutus.component.ts depends on'smol-toml'. CommonJS or AMD dependencies can cause optimization bailouts.
Is it ES6 and Typescript compatible?

Hi there! This library is compatible with ESM style imports and provides TypeScript declaration files (since it's itself written in TypeScript!)
This warning from Angular comes from the fact this library is packaged as a ESM-compatible CommonJS module, to maximize interoperability. As CJS is more tricky to treeshake than ESM, Angular made the choice to warn when CJS is involved.
This warning can safely be ignored (and silenced), the library will work without issues. I'm also pretty sure there will be no treeshaking issues either, as this library does express its exports in a way recognized by all major build tools as treeshakable. Feel free to let me know if you encounter any issues!

@cyyynthia  Thank you for responding. The library works like a charm, and there are no issues with it.
Only my Angular 17 throws a warning at the time of build or serve.  I have to suppress this error in my config file.


[RFC] Combine first name and last name into one field

Been thinking that it makes sense to only have one name field. The only potential problem I see is that if we ever decide to do sorting in the lists of talks by last name, we lose that ability.
Thoughts?

What would be gained by combining them together?  If you are looking at exporting them to a service like joind.in, then combined makes sense. If its just for the sake of combining them, no I don't think it makes sense. I see a larger benefit to keep them separate.


How to send customGET with several ids and other parameter

Hi
I want to send several ids with other parameter from customGET method. It's my method but doesn't work:
var selection = [2,10,20];

// send GET /api/user/export/file?param1=test&ids=2,10,20
Restangular.all('user').customGET('export/file',{param1:'test',ids:selection}).then(function(response) {
/*  */
        })

Thanks

Just use join
var selection = [2,10,20]
Restangular.all('user').customGET('export/file', {param1:'test', ids: selection.join(',')})

I'm going to go ahead and close this. Feel free to re-open if there's still an issue!


Fix router socket handling

Clojupyter was not correctly handling the shell socket, which is a ZMQ router socket. With router sockets, you have to read and send back the ZMQ identifiers. For some weird reason the code was sending back the IPython session ID instead of these identifiers. As a result, ZMQ was silently dropping any responses on the shell socket so the frontend never saw them. This PR fixes this problem and also makes Clojupyter gracefully handle an empty key.

Oops, this seems to break jupyter-console at the moment. Let me fix and re-open...

Okay, I'm very confused why these lines are necessary for jupyter-console to work:
(send-message-piece socket (get-in message [:header :session]))

This PR has been updated to send stdout and results in separate IPython messages, btw.

Thanks @thomashm, this looks great. Sorry for the delay in merging this in!


[RFR] Removed -moz-box-sizing in scut-reset-border-box

There is no need to prefix this property in Firefox since version 29: http://caniuse.com/#search=box-sizing. :)

Thanks.


what symbolic engine is AlphaGeometry using?

DDAR

The Nature article describes it: GEX, JGEX, MMP/Geometer and GeoLogic. The PDF version of the article has the list of operators.

Deductive Database + Algebraic Reasoning


Empty result if FULLTEXT() is used together with LIMIT offset

Discovered by Piwaï in Slack
my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[x] 3.3.7

Mode:

[x] Single-Server

Storage-Engine:

[x] mmfiles

On this operating system:

[x] Windows, version: 10

this is an AQL-related issue:
I'm issuing AQL via:

[x] web interface with this browser: Chrome

The AQL query in question is:
FOR doc IN FULLTEXT(fulltext_skip, "contact.email", "prefix:jo")
    //SORT doc
    LIMIT 10,5
    COLLECT WITH COUNT INTO count
    RETURN count

The issue can be reproduced using this dataset:
https://raw.githubusercontent.com/arangodb/example-datasets/master/RandomUsers/names_1000.json
These are the steps to reproduce:

Import example dataset, arangoimp --file names_1000.json --collection fulltext_skip --create-collection true
Create full-text on contact.email
Run above query with result: 0
Uncomment the SORT operation and re-run with result: 5
Remove SORT and LIMIT and re-run with result: 18

Instead I would be expecting:
The original query should return 5 results.
There seems to be a problem with skipping documents coming from the full-text index. FULLTEXT() has a limit parameter, but not for skipping. LIMIT works to (post-)cap the result count, but as soon as an offset is given, no result remains - unless a SORT is involved (there might be more ways to circumvent the bad behavior).

I also am experiencing this problem, I am using version 3.3.8.
Besides SORT that helps a FILTER helps to. So I use that as a workaround by using a filter checking if _key is not empty (which never will be).

Fixed by the above commits.

ArangoDB version 3.3.10, which includes a fix for this issue, has been released today.


QC: add ISBN wellformed check in chado load script test

DPO and FBCV

@matentzn Is this issue still relevant?
Looking at the src/scripts/chado_load_checks.pl script, there is some code in place to perform some checks on ISBN cross-references, but it is entirely commented out. Should that be re-activated?

I dont remember, feel free to do so, but feel free to also just close.

OK, I think I know why the check was commented out. It flags several ISBNs that are well-formed but that are still in the old “ISBN-10” format. But they all come from the GO import, not from us. I guess someone got tired of seeing warnings about things that are not ours to fix…
I’ll reactivate the check, but in such a way that it will only flag ill-formed ISBNs, not old ISBNs. That is, it will accept both ISBN-10 and ISBN-13 as long as they are valid, instead of accepting only ISBN-13.

Would be great if we could support this more generally on ODK with SPARQL .

I don’t think it can be done solely with SPARQL. Verifying that a ISBN is correct implies to compute a checksum on the digits, it doesn’t look like something that can be done with SPARQL’s limited numerical functions.
But of course it should still be possible to use SPARQL to extract ISBN cross-references and then hand them over to a dedicated ISBN validation script.


Upload image don't work on safari

I don't succeed to upload image banner of my form.
My browser is safari (ios 15.1)

After updating of my version of crispy-bulma, everything is OK.


I get an error about mixing android support library versions with 2.1.7

Hi,
@mikepenz You may need to bump up the android library support version being used in this awesome library. I am using android support library 25.2.0 and getting an error for mixing android support library version 25.2.0 and 25.1.1.

@ankitbatra11 you can exclude the support libraries via gradle, so it won'T cause issues.
http://stackoverflow.com/a/21765656/325479


Missings docs (FloatingWindow, Window…)

https://vanilla.robotools.dev/en/latest/objects/Window.html
https://vanilla.robotools.dev/en/latest/objects/FloatingWindow.html
Most doc pages begin with the class constructor and some examples and descriptions, like the image below. This is missing from the Window and FloatingWindow doc pages linked above. It seems like these two classes are documented properly in the source code, so maybe there is a small syntax error preventing them from being pulled into the docs?

Additionally, I noticed two doc pages are completely empty:
https://vanilla.robotools.dev/en/latest/objects/Sheet.html
https://vanilla.robotools.dev/en/latest/objects/List.html

Would you be willing to contribute a PR?

I'll take a closer look. I've never used Sphinx before, but I think I understand the gist of how it works (class/method defs and docstrings w/ markup are parsed into .rst format, then Sphinx generates .html doc pages).

I suspect Window and FloatingWindow are being excluded due to their inheritance of NSObject. I noticed the Sphinx conf.py has a Mock class that seems to have a list of classes to be ignored. If that's where the problem lies, I'm not sure whether to remove NSObject from Mock.__all__, or if it would be enough to simply remove :inherited-members: from the autoclass declaration in Window.rst.
If anyone more knowledgeable of Sphinx can finish solving this, please do. Otherwise I'll come back to this later when I have time to clone the repo and figure out how to run Sphinx.


Lint JavaScript specs

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
All new code requires tests to ensure against regressions

Description of the Change
Lints specs written in JS.
Alternate Designs
None.
Why Should This Be In Core?
Because everything else gets linted in core?
Benefits
Better code quality.
Possible Drawbacks
None.
Applicable Issues
None.

Not quite sure if the eslint-disable-line no-unused-var statements are the best way to handle the ffit stuff.

Alternatively you could just removed the unused variables :wink: I would suggest one change tho, on line 13 in lint-java-script-paths.js I would change 'main-process' by '**', and remove line 12. This way all tests in the ./spec folder and subfolders will be linted.
Furthermore, your changes seem alright, I don't see why you won't lint the test suites. 😃

This way all tests in the ./spec folder and subfolders will be linted.

We don't want to lint the fixtures folder though.

We don't want to lint the fixtures folder though.

In that case this seems like a good solution 😄

Thanks for opening this PR!
This has already been done on master. Now we also lint the spec files.


[Question] How to make perf comparison

I am working on boosting List performance project in my company. Then found flashlight is exactly what i want to make perf benchmark.
I have ran flashlist with my own project call SpectrumList. code base could be found https://github.com/red-armor/ReactNativeListComparison. It's based on the demo example https://github.com/naqvitalha/travelMate. The bench result is posted as below. In fact, I was shocked for this.

And then, I has also followed your project on twitter, the following is related post link.

https://twitter.com/almouro/status/1564227005121454081?s=20
https://docs.flashlight.dev/examples/flashlist/report.html

The question is I want to make benchmark result more reasonable, So could you give some suggestion or any demo code base?
Best regards

Hi @ryuever, we're planning to write a blog post in the coming days, exactly about how to make Flashlist/Flatlist comparison! 🥳
The gist will pretty much be:

automating scrolling with Maestro e2e test
running flashlight test (https://docs.flashlight.dev/test/maestro)

on app with Flatlist
on app with Flashlist

checking out the report flashlight report results1.json results2.json

Then doing the same thing in the cloud
Stay tuned!

Thanks for kind reply. Looking forward to related blog post :)

And here's finally the guide I was mentioning https://www.bam.tech/article/measuring-react-native-performance-with-flashlight 🥳


Cable-free test lab

Today many of our test suites depend on access to ethernet ports that are physically cabled together. I propose that we improve our tests to break this dependency. I have a specific idea for how to accomplish this. It's related to the more flexible I/O model described in #687.
The reasons I want to relax the cabling requirement are:

Convenience. Want to run the performance regression tests in your production environment? Just go ahead: no need to go to site and reconnect the cables for the duration of your tests.
Physics. Cables take up space. Cross-connecting 20 x 10G ports on the same server is already cramped: quad-port 10G cards make this worse.
Economics.

We would still need some cabled ports for PHY testing. It may even be worth separately testing several SFP+ modules. However, only a few driver-development servers would need to be setup like this.
Specifically I imagine keeping the ports in our original lab cabled but skipping cables for the new servers at SWITCH.
How to do it
Suppose we want to run a realistic performance test with Snabb NFV connected to one port and packetblaster to another. There are two ways to do this:
Option A:

Snabb NFV gets port 1.
Packetblaster gets port 2.
Physical direct-attach cable is connected between the ports.

Option B:

Snabb NFV gets RX on port 1 and TX on port 2.
Packetblaster get RX on port 2 and TX on port 1.
Both ports are put into MAC loopback mode by their device drivers.

Here is a diagram using the notation from #684:

Both scenarios have the same effect: packets sent by each process will pass through hardware transmit/receive and then be received by the other process. The second scenario works independent of how the NIC is cabled: the ports could be connected together, or connected to a switch, or not connected at all, and the test would work the same.
Thoughts?

Ack, clever & neat idea. Also motivates your other idea in #683 about splitting NIC driver apps into separate "half-duplex" tx and rx paths.

Brilliant idea! But what about full ixgbe emulation from hardware side? So we could run virtual PCI device and use it with upstream ixgbe driver or with snabbswitch.


ws type is not exported making it harder to store ws (WebSocket) objects in a TypeScript compliant way

What version of Elysia.JS is running?
0.8.17
What platform is your computer?
Darwin 23.2.0 arm64 arm
What steps can reproduce the bug?
import { Elysia } from "elysia";

const webSockets = new Set();

export const messagesRouter = new Elysia({
    prefix: "/messages",
});

messagesRouter.ws("", {
    open(ws) {},
});

What is the expected behavior?
I should be able to provide a type argument to new Set().
What do you see instead?
Unable to provide type argument to new Set().
Additional information
No response

Having the same issue. In a previous version of Elysia, I managed to jump into the inferred value and copy it in order to type things:
// Copied from inferred value so we can type check the map
type WS = ElysiaWS<
  ServerWebSocket<{}>,
  MergeSchema<UnwrapRoute<InputSchema<never>, {}>, {}>
>;

const connections = new Map<string, WS>();

However after upgrading it, it is no longer valid. It's possible it would work by repeating the process, but this is overall cumbersome and it would be nice with a solid type to use.


Does not add Az module path if GitHub OIDC login is used.

name: ▶Deploy
on:
  push:
    branches:
      - main
      - ci

#Required for OIDC operations
permissions:
      id-token: write
      contents: read

jobs:
  deploy:
    name:  👷♂Deploy to Azure
    environment: development
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: pwsh
    steps:
      - name: 💻Azure Login
        uses: azure/login@v1
        with:
          client-id: ${{ secrets.AZURE_CLIENT_ID }}
          tenant-id: ${{ secrets.AZURE_TENANT_ID }}
          subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
          enable-AzPSSession: true
      - name: Az Test
        run: |
          $env:PSModulePath
          Get-Command Get-AzResourceGroup

Workaround
      - name: ➕Add Az Module to Path
        run: |
          #PowerShell Script (Workaround for: https://github.com/Azure/login/issues/231)
          function Set-GhEnvVar($Name, $Value) {"$Name=$Value" >> $env:GITHUB_ENV}

          if ($isMacOS) {throw "Not supported on MacOS"}
          $azBasePath = $isLinux ? "/usr/share" : "C:\Modules"
          $azModule = Get-ChildItem -Directory "$azBasePath/az*" -ErrorAction Stop | Select-Object -Last 1
          $newPSModulePath = $azModule.FullName,$env:PSModulePath -join [io.path]::PathSeparator
          Set-GhEnvVar 'PSModulePath' $newPSModulePath

I made a pure PowerShell way to handle this rather than this action if all you need is Az PowerShell + OIDC login. Takes less than 5 seconds vs the 30+ seconds this action takes.
https://gist.github.com/JustinGrote/2603d2ede81b23cf251978d2771b3522

Hello @JustinGrote. I'm assuming you are facing an issue while trying to execute az pwsh commands after login action. The solution would be using azure/powershell@v1 action which will have az ps module added to the path. Hope it helps with your problem. Feel free to reopen if the problem persists.


implement kdigo_uo_criterion function

This function should for now take to numpy vectors as input: one vector containing the urine output values, one vector containing the respective timestamps.
It should output two vectors:

The first vector should contain the hourly timestamps
The second vector should contain the kdigo stages at each hour according to the kdigo urine output criteria

I have built this using pd.DataFrame instead of vectors. Seems to be more flexible. But we could of course just reimplement it.


Fix producer-app chart identation when build streams config

You need to package the chart as well

The title of the PR is not a correct sentence


Download model info

Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion

Read the contribution guidelines (CONTRIBUTING.md).
If this has been discussed in an issue, make sure to link to the issue here.
If not, go file an issue about this before creating a pull request to discuss.

Testing

Make sure all existing tests in the repository pass after your change.
If you fixed a bug or added a feature, add a new test to cover your code.

API Changes

At this time we cannot accept changes that affect the public API.  If you'd like to help
us make Firebase APIs better, please propose your change in a feature request so that we
can discuss it together.

@manjanac Could you please update the PR description to reflect the PR content.


Union type is always generated, even if withObjectType is false

If you have a schema
        type Square {
          size: Int
        }
        type Circle {
          radius: Int
        }
        union Shape = Circle | Square

then (with the default withObjectType = false) the generated code contains
export function ShapeSchema() {
    return z.union([CircleSchema(), SquareSchema()])
}

but the referenced type schemas CircleSchema and SquareSchema don't exist. Thus, the union schema should also not be generated if withObjectType is false.

have a similar problem with just using union as type alias

@Code-Hex also the uniontypedefinition seems to be missing in the latest version?!

@tobiasdiez Thanks I will fix it!
@sschneider-ihre-pvs I cannot read your JavaScript

@tobiasdiez Thanks I will fix it!
@sschneider-ihre-pvs I cannot read your JavaScript

that is the published js from the npm package

@alisabzevari
thought you can find the problem in #237

@tobiasdiez @anhdd-kuro I just published the latest version (v0.7.1) which is contained this fix.
I'm sorry too late.
https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/releases/tag/v0.7.1

I can confirm that it is working now. Thanks for the fix!


RLock or WLock when we do a put/deletion?

In docs, it says that we should take a write lock when we do a put/deletion:
extra-tasks
But in reference solution, we take a read lock actually:
line109 and line119
It seems that RLock is enough, because MemTable is concurrent safe?

Lost -> list

Will be fixed shortly…


Russian Translation of Front End Development Certification: HTML5 and CSS

[x] Say Hello to HTML Elements Complete
[x] Headline with the h2 Element Complete
[x] Inform with the Paragraph Element Complete
[x] Uncomment HTML Complete
[x] Comment out HTML Complete
[x] Fill in the Blank with Placeholder Text Complete
[x] Delete HTML Elements Complete
[x] Change the Color of Text Complete
[x] Use CSS Selectors to Style Elements Complete
[x] Use a CSS Class to Style an Element Complete
[x] Style Multiple Elements with a CSS Class Complete
[x] Change the Font Size of an Element Complete
[x] Set the Font Family of an Element Complete
[x] Import a Google Font Complete
[x] Specify How Fonts Should Degrade Complete
[x] Add Images to your Website Complete
[x] Size your Images Complete
[x] Add Borders Around your Elements Complete
[x] Add Rounded Corners with a Border Radius Complete
[x] Make Circular Images with a Border Radius Complete
[x] Link to External Pages with Anchor Elements Complete
[x] Nest an Anchor Element within a Paragraph Complete
[x] Make Dead Links using the Hash Symbol Complete
[x] Turn an Image into a Link Complete
[x] Add Alt Text to an Image for Accessibility Complete
[x] Create a Bulleted Unordered List Complete
[x] Create an Ordered List Complete
[x] Create a Text Field Complete
[x] Add Placeholder Text to a Text Field Complete
[x] Create a Form Element Complete
[x] Add a Submit Button to a Form Complete
[x] Use HTML5 to Require a Field Complete
[x] Create a Set of Radio Buttons Complete
[x] Create a Set of Checkboxes Complete
[x] Check Radio Buttons and Checkboxes by Default Complete
[x] Nest Many Elements within a Single Div Element Complete
[x] Give a Background Color to a Div Element Complete
[x] Set the ID of an Element Complete
[x] Use an ID Attribute to Style an Element Complete
[x] Adjusting the Padding of an Element Complete
[x] Adjust the Margin of an Element Complete
[x] Add a Negative Margin to an Element Complete
[x] Add Different Padding to Each Side of an Element Complete
[x] Add Different Margins to Each Side of an Element Complete
[x] Use Clockwise Notation to Specify the Padding of an Element Complete
[x] Use Clockwise Notation to Specify the Margin of an Element Complete
[x] Style the HTML Body Element Complete
[x] Inherit Styles from the Body Element Complete
[x] Prioritize One Style Over Another Complete
[x] Override Styles in Subsequent CSS Complete
[x] Override Class Declarations by Styling ID Attributes Complete
[x] Override Class Declarations with Inline Styles Complete
[x] Override All Other Styles by using Important Complete
[x] Use Hex Code for Specific Colors Complete
[x] Use Hex Code to Color Elements White Complete
[x] Use Hex Code to Color Elements Red Complete
[x] Use Hex Code to Color Elements Green Complete
[x] Use Hex Code to Color Elements Blue Complete
[x] Use Hex Code to Mix Colors Complete
[x] Use Hex Code to Color Elements Gray Complete
[x] Use Hex Code for Specific Shades of Gray Complete
[x] Use Abbreviated Hex Code Complete
[x] Use RGB values to Color Elements Complete
[x] Use RGB to Color Elements White Complete
[x] Use RGB to Color Elements Red Complete
[x] Use RGB to Color Elements Green Complete
[x] Use RGB to Color Elements Blue Complete
[x] Use RGB to Mix Colors

Planning to finish translation tomorrow, inviting @bugron to do QA.

669598a, dd70767, and b869798 are wrongly made commits. Pull request was made after deleting a branch, making changes and making one commit. Not sure why wrongly made are still existent, when the branch is deleted and created from scratch.

@rfprod Hey! That's an awesome amount of work! But it was a little inconvenient to see that #7747 was duplicated here. By no means I mean offense or something. But it would be even greater next time before translation to create an issue and indicate that you are working on it.

@troglotit Hi. Sorry, I'm extremely busy, searched for similar issues before posting this issue, but for some reason (if server logs time of making a request to make a record to db, maybe I started creating the issue and then switched to another task and then got back to the issue creation; I see issue ids difference is only 5). Also, because of being busy, I did this translation when had some spare time and did this quite quickly - decision making and finishing the translation both happened in about 2 days, it was not planned. So, sorry again if this led to some time waste from your perspective. Anyway, you practiced your translation skills, which is probably not bad at all.


srml-contract: Ditch the input buffer

At the present srml-contract has notion of an input buffer. When a contract is invoked the data passed as input is stored in this buffer and stays available until the execution context for that contract is disposed.
It looks like we can remove this buffer and reuse the scratch buffer instead of it. This should work because at present the scratch buffer for a newly created execution context is empty, as well as when call/instantiate returns the buffer either is wiped (in case of a trap) or filled with the output data (in case of call) or the address of a contract (in case of instantiate). The latter can be changed to the output data of an instantiate though.

I like unifying the input and scratch buffer. How is the exact design for this?
I think for the purpose of clear usage we want to do the following:
Remove
fn ext_input_len
fn ext_input

And replace it with
fn ext_input_buffer() -> u32

Which simply returns the length of the input buffer and copies the input buffer contents into the scratch buffer so that the next call to copy from scratch buffer returns the input buffer data.

My thinking was that the input data would be stored in the scratch buffer at the beginning of the call. Then the contract would copy this data to its linear memory before calling other functions that clobber the scratch buffer (such as ext_get_storage).
This approach, compared to the status quo and yours, will allow us to not store the input buffer throughout the whole lifespan of the execution context thus lowering peak memory usage in some cases. That said, this is not the primary benefit that I am interested in, the primary benefit is small simplification of the srml-contract.

It is a good point that we can drop the input buffer after it has been received once.
However, my only fear is that this introduces some kind of implicit state in the mechanism of copying from the scratch buffer.
I am fine with your proposed approach thought and I currently do not see any major pitfalls besides this implied state that is never really beautiful to have.

Yeah, although we already have this, since the scratch buffer already has this implicit stateful behavior: the data is retained until the next call.


Question: Async Actions

Hi,
If I have, say, a button binding via Action to a method returning a Task, is there a way to keep the button disabled as long as the method does not return?
I might add that I'm terribly rusty with WPF, I've just come back after 5-6 years of doing other stuff, so maybe there is a very obvious answer to my question that I've overlooked - in that case sorry.
Thanks a lot for any pointers,
Max
PS: And please let me add that I like your renewed take on MVVM very much!

Yep, that's exactly how I'd do it as well.
On 3 June 2018 05:24:00 BST, RyanYANG<EMAIL_ADDRESS>wrote:

Take a look at
https://github.com/canton7/Stylet/wiki/Actions#guard-properties, use
async Task , set CanAction to false, await task completed, set back
to true. This's how I did it.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/canton7/Stylet/issues/48#issuecomment-394134038

thxalot!


Port std::map to gRPC Core

Addresses Issue 17864.

Yes I'm planning to use this for locality map and another exercise may be to refactor other code like subchannel pool to use this instead of AVL map

Sounds good. I'll wrap my changes in the xDs Locality Map PR.


Fix pack conformance availability checking [5.9]

Description: We forgot to walk into PackConformances when checking conformance availability, as a result you could reference an unavailable witness table pointer and get a crash at runtime.

Origination: Never worked.

Tested: New tests added.

Reviewed by: @tshortli

@swift-ci Please test


Production build does not recognize _document transaction and does not inject NR script

I know there is a lot of discussion around the dreaded <!-- NREUM: (1) --> injection caused by invoking the New Relic browser injection script outside the context of a transaction -- I have read what I think is all of the discussion on the topic at this point -- and I created a public discussion topic here, but I wanted to open an issue as well because I feel that this is either a bug or a documentation gap.
Observed behavior
When I clone this repository and run it as-is, I see a difference between the dynamic <head> injection in npm run dev mode and after running npm run build and npm start against the built assets. In "dev mode", everything appears to work correctly and the browser module successfully reports metrics and errors to New Relic. In "prod mode", the server side successfully injects the script content from browserTimingHeader, but when it is evaluated, the

Closing this in favor of an issue in the official newrelic integration repo


Add a LICENSE file

https://www.npmjs.com/package/angular-oauth2-oidc says this library has an MIT license, but there's no indication of a license on GitHub.

Thanks. The next version will contain an MIT license


Add some comments to the 'whole node GPUs' block

Since my reordering and MY/TARGET changes were discouraged, add some comments at least.

Fixed.


[STM32xx] Fix analog_out issue with 12 to 16bits conversion

Issue #1383

My comments are related to some trivial things. I'll merge this as it fixes the issue


Write a C++ program to print numbers from 1 to n

Description
Write a C++ program to print numbers from 1 to n
Input  : 5
Output : 1 2 3 4 5

How to contribute

Save the solution in PrintNumbersFrom1ToN.cpp file
Add PrintNumbersFrom1ToN.cpp file in program/print-numbers-from-1-to-n folder

!assign

!assign


Cmake generate error when link mfem in another project on windows

A basic folder struct is
project
--main.cpp
--CMakeLists.txt
--mfem(folder)
--hypre(folder, contains include and compiled lib)
And in cmake
PROJECT(solvertest)
add_executable(${PROJECT_NAME} main.cpp)
target_include_directories(${PROJECT_NAME} PUBLIC ${PROJECT_SOURCE_DIR})
add_subdirectory(mfem)
target_link_libraries(${PROJECT_NAME} mfem)

Then run cmake and choose MFEM_USE_MPI on, then choose hypre include and lib.
Configure is ok, but Generate error:
CMake Error in mfem/CMakeLists.txt:
  Target "mfem" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "C:/project/hypre/include"

  which is prefixed in the source directory.

It seems like a cmakelist problem. I found some references https://stackoverflow.com/questions/25676277/cmake-target-include-directories-prints-an-error-when-i-try-to-add-the-source,https://stackoverflow.com/questions/62348945/cmake-error-target-foo-interface-sources-property-contains-path-which-is-prefi

I have found the solution based on https://stackoverflow.com/questions/44425257/how-to-properly-use-target-include-directories-with-lists-of-includes. I tried to start a pr but seems that I don't have access.

Hi @ruihuasun, I just added you the the Collaborators team, so now you should be able to create branches in the MFEM repo. Let us know if you encounter any issues.

A solution for this was explored in PR #3418 -- for more details see the discussion there.


Stream.asyncMap bug in weak mode + nnbd sdk

If you return null from the closure passed Stream.asyncMap in weak mode (with the nnbd sdk) today you will hit an unreachable error.
Repro program:
void main() {
  var stream = Stream.fromIterable([1, 2, 3, 4]);
  var eventsStream =
      stream.asyncMap((i) => i % 2 == 0 ? i : null).where((i) => i != null);
  eventsStream.listen(print);
}

CC @lrhn

Can I get an assessment on the bug?  Is it a blocker for unfork?

Is it a blocker for unfork?

Yes. This will break existing code. It should be considered a blocker.

@lrhn @leafpetersen
What is the right resolution here?  Do we need (and can we) undo the change that triggers the error?

Or is this just a plain bug in the new SDK?

The issue is the following code:
   if (newValue is Future<E>) {
          subscription.pause();
          newValue.then(add, onError: addError).whenComplete(resume);
        } else {
          if (newValue is! E) {
            throw "unreachable"; // TODO(lrn): Remove when type promotion works.
          }
          controller.add(newValue);
        }

which assumes that given a value x of type FutureOr<E>, either x is Future<E> or x is E will be true.  This doesn't hold in pre-nnbd/weak mode Dart because null is Future<E> and null is E are both false unless E is a nullable type (or a top type).
The code above should be changed to something like:
   if (newValue is Future<E>) {
          subscription.pause();
          newValue.then(add, onError: addError).whenComplete(resume);
        } else {
          if (newValue is! E && newValue != null) {
            throw "unreachable"; // TODO(lrn): Remove when type promotion works.
          }
          controller.add(newValue);
        }

We should probably audit the ported core libraries for similar patterns.  Shouldn't be hard to fix.  I can take a look, probably tomorrow.

https://dart-review.googlesource.com/c/sdk/+/143333

Fix landed.


Missing a space

Description
There is a space missing between West Bengal, and India.
Screenshots

Additional information
I am ready to fix this small issue by adding a Pull Request.

@FahimFBA Do you wanna work on this issue?

@FahimFBA Do you wanna work on this issue?

Yes.


Cannot use import statement outside a module: blocking package upgrade

Describe the bug
Cannot use Firelord in a Sveltekit project but can use it in a pure Svelte-only (not Sveltekit) project.
Since Firelord works with pure Svelte, React and a few other frameworks this clearly seems like a blocking Sveltekit issue -- most likely blocking a few libraries, not just Firelord.
Reproduction
Reproduction steps:

Repo: https://github.com/hahnrobert/firelord-repro
npm i && npm run dev

Alternative:

npm create svelte@latest (select Skeleton app)
npm i<EMAIL_ADDRESS>Add the following to your +page.svelte file:

<script lang="ts">
	import { getFirelord } from 'firelordjs';
</script>

Working pure Svelte-only (no Sveltekit) repo:

https://github.com/tylim88/firelord-vite-svelte

Logs
Internal server error: Cannot use import statement outside a module
      at internalCompileFunction (node:internal/vm:73:18)
      at wrapSafe (node:internal/modules/cjs/loader:1175:20)
      at Module._compile (node:internal/modules/cjs/loader:1219:27)
      at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
      at Module.load (node:internal/modules/cjs/loader:1113:32)
      at Module._load (node:internal/modules/cjs/loader:960:12)
      at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
      at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async DefaultModuleLoader.import (node:internal/modules/esm/loader:246:24) (x2)
/Users/rob/workspace/firelord_repro/node_modules/firelordjs/dist/index.js:21
import { docCreator, collectionCreator, collectionGroupCreator, andCreator, orCreator, } from './refs';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1175:20)
    at Module._compile (node:internal/modules/cjs/loader:1219:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:165:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async DefaultModuleLoader.import (node:internal/modules/esm/loader:246:24)

System Info
System:
    OS: macOS 13.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 4.84 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.17 - /opt/homebrew/bin/yarn
    npm: 9.6.7 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 108.0.5359.94
    Edge: 114.0.1823.43
    Firefox: 99.0.1
    Safari: 16.5
  npmPackages:
    @sveltejs/adapter-auto: ^2.0.0 => 2.1.0
    @sveltejs/kit: ^1.5.0 => 1.20.2
    svelte: ^3.54.0 => 3.59.1
    vite: ^4.3.0 => 4.3.9

Severity
blocking an upgrade
Additional Information
No response

This is a bug in the packaging of that library. They are shipping .js files that are ESM, but they do not have "type": "module" in their package.json. https://nodejs.org/dist/latest/docs/api/packages.html#type

that is because it is not an ESM, the reason I do not transpile import statement is because of this firebase issue https://github.com/firebase/firebase-js-sdk/issues/7135

update: after giving it some thoughts, my guess is, if build tools can resolve import in non ESM, then they definitely can work with ESM, so I change my package to ESM, or so I thoughts
I tested both non ESM and ESM
results:

Non ESM with import statement

work with react-sctipts(v5.0.1)
work with @vitejs/plugin-react-swc
work with @sveltejs/vite-plugin-svelte
does not work with @sveltejs/kit/vite

ESM

work with @vitejs/plugin-react-swc
work with @sveltejs/vite-plugin-svelte
does not work with react-sctipts(v5.0.1), https://github.com/facebook/create-react-app/issues/11865
still does not work with @sveltejs/kit/vite due to “Directory import is not supported resolving ES modules” error, https://github.com/sveltejs/kit/issues/612

I want to keep the non ESM because it works with most build tools but I can give up react-sctipts because it is dying anyway
but how can I solve the “Directory import is not supported resolving ES modules” error, @Conduitry?
Should I open a new issue or continue it here or here?

I would imagine that instead of importing from dist/refs you want dist/refs/index.js

@ghostdevv if I fix this, there will be a new one

I need to go to node_modules/firelord/dist and fix every single import
The best is to release Non ESM package with import statement because it works with react-scripts
but since react-scripts is dying, I am willing to give up create-react-app and release a proper ESM package
surprisingly CommonJS package work with svelte, it does not works for other build tools because it will break them (firebase fked up)
Should I release a CommonJS variant just to support svelte kit users?
Maybe, but I prefer svelte kit solve this issue on their side, this will make not only me, but also others library author job easier


fix: updated footer #19

[ ] Removed Old Content
[ ] Modified Design
[ ] Updated content as per the issue

Closes #19

closes #26