Windows Detections

some streamer opened my binded file, the problem was that it seemed that it didnt drop the real app and open it, i guess due to detections? or what could have caused that, he managed to get it to work but he had to open it like 7 times. also what could i do to make it more stabily drop and open process? since it doesnt seem to work or isnt stable this way

Could be detections, do you have "Add Windows Defender Exclusions" enabled? I haven't ever really experienced any instability, if I open a bound file with 2 files in it a hundred times then it opens the files correctly every time. Also, if you have a "Start Delay" enabled then there will be a delay. Can you press "Save" in the builder and then zip the .xml file and send it here?

Could be detections, do you have "Add Windows Defender Exclusions" enabled? I haven't ever really experienced any instability, if I open a bound file with 2 files in it a hundred times then it opens the files correctly every time. Also, if you have a "Start Delay" enabled then there will be a delay. Can you press "Save" in the builder and then zip the .xml file and send it here?

i think the reason was i modified it a bit, varysuzuki is my other acc. i had add windows defender exclusions enabled for temp and the place i dropped the miner. the stealer screenshoted it and i could see it live that he had to open it 7 times the stealer and miner opened ig but the real app didnt.

these were the settings

and this is the code (i put startup here instead of using the miners startup)

the thing is i dont care if the executable is detected i want it to open the app without antivirus kicking in. could i do it like this, i use runpe to inject the stealer, and make the miner just be dropped to a wd excluded path and add it to startup with a command? and then idk how im going to inject or assembly.load the python file thats converted to exe (whats the real app) since it isnt c# so how should i do this? could i inject it into the application itself?

these are the detections of the stealer and miner. could the problem be that the tool itself is detected and then windows defender ignores the exclusion?

i think the reason was i modified it a bit, varysuzuki is my other acc. i had add windows defender exclusions enabled for temp and the place i dropped the miner. the stealer screenshoted it and i could see it live that he had to open it 7 times the stealer and miner opened ig but the real app didnt.

Is "Run as Administrator" supposed to be disabled? Or are you running it as administrator in some other way?

the thing is i dont care if the executable is detected i want it to open the app without antivirus kicking in. could i do it like this, i use runpe to inject the stealer, and make the miner just be dropped to a wd excluded path and add it to startup with a command? and then idk how im going to inject or assembly.load the python file thats converted to exe (whats the real app) since it isnt c# so how should i do this? could i inject it into the application itself?

Which antiviruses runtime scans are you trying to avoid, only Windows Defender or all of them? You should be able to inject a converted python file since it's most likely a native file.

these are the detections of the stealer and miner. could the problem be that the tool itself is detected and then windows defender ignores the exclusion?

Well antiscan and other no-distribute scanners don't do all scans such as "Cloud Protection" since using them would distribute the file so they're not entirely accurate. Windows Defender usually doesn't ignore exclusions with the exception of being Assembly.Load (because it's in memory) though that can be bypassed by using an AMSI bypass so that shouldn't really be a problem.

Is "Run as Administrator" supposed to be disabled? Or are you running it as administrator in some other way?
Yeah I manually put  to the manifest file
Which antiviruses runtime scans are you trying to avoid, only Windows Defender or all of them? You should be able to inject a converted python file since it's most likely a native file.
I mean 95% have windows defender so im trying to avoid that. Yeah but how do i inject it without them seeing its in another location or something? I want them to see that its the app that they opened
Well antiscan and other no-distribute scanners don't do all scans such as "Cloud Protection" since using them would distribute the file so they're not entirely accurate. Windows Defender usually doesn't ignore exclusions with the exception of being Assembly.Load (because it's in memory) though that can be bypassed by using an AMSI bypass so that shouldn't really be a problem.
Im going to make the binder c# then.

this is currently the code, i added the miner and stealer manually to the resources so i can just inject them but then id have to use Applaunch from the runtime directory, that will make it really detected right, no? cause im worried if i make it shellcode it'll be alot more detected since shellcode yeah

I mean 95% have windows defender so im trying to avoid that. Yeah but how do i inject it without them seeing its in another location or something? I want them to see that its the app that they opened

If you inject it then they will see the file that you injected into, since that's the point of injection. You could of course create a "fake" file in the real location and inject into that but that would be a bit reduntant.

this is currently the code, i added the miner and stealer manually to the resources so i can just inject them but then id have to use Applaunch from the runtime directory, that will make it really detected right, no? cause im worried if i make it shellcode it'll be alot more detected since shellcode yeah

If you inject something there it shouldn't really get detected by Windows Defender.

I mean 95% have windows defender so im trying to avoid that. Yeah but how do i inject it without them seeing its in another location or something? I want them to see that its the app that they opened

If you inject it then they will see the file that you injected into, since that's the point of injection. You could of course create a "fake" file in the real location and inject into that but that would be a bit reduntant.

this is currently the code, i added the miner and stealer manually to the resources so i can just inject them but then id have to use Applaunch from the runtime directory, that will make it really detected right, no? cause im worried if i make it shellcode it'll be alot more detected since shellcode yeah

If you inject something there it shouldn't really get detected by Windows Defender.

so how could i do this? i got an idea should i make it do all the powershell amsi shit and inject the stealer. miner (hidden of course) and then finally inject the real app into application.executablepath and close itself. but wouldnt that make it open in like 6 seconds? i dont wanna make it inject the real app first and then do the shit cause then if the miner and stealer injection part will get detected and deleted then the real app would still work and then they wont disable their av for it cause it already works and then i wont get anything

is it bad to cipherreplace the #RESPARENT with parentid instead of just replacing it

also do i have to do
RuntimeEnvironment.GetRuntimeDirectory().Replace(""Framework64"", ""Framework"")
instead of just
RuntimeEnvironment.GetRuntimeDirectory()

I mean 95% have windows defender so im trying to avoid that. Yeah but how do i inject it without them seeing its in another location or something? I want them to see that its the app that they opened

If you inject it then they will see the file that you injected into, since that's the point of injection. You could of course create a "fake" file in the real location and inject into that but that would be a bit reduntant.

this is currently the code, i added the miner and stealer manually to the resources so i can just inject them but then id have to use Applaunch from the runtime directory, that will make it really detected right, no? cause im worried if i make it shellcode it'll be alot more detected since shellcode yeah

If you inject something there it shouldn't really get detected by Windows Defender.

and also if i inject the real app inside the binded.exe then it would only show the real app and not do anything that the binded app would've done right? so when i would inject the real app inside Application.Executablepath it wouldnt just do all the commands again and inject again, inevitably just making it spam open/inject the real app and it would lag their pc out

i think i know what happened. in ur binder, the wd exclusion does this, open "powershell" and the argument "-EncodedCommand 'blablabla'" but it only works with "powershell", "powershell -EncodedCommand 'blabla'" i just tested it

the app crashes when it tries to inject do u know what could cause that?

the above one when i try to open it it says application failed to start, and the below one opens applaunch but with werfault.exe and closes itself

nvm i realized i cant inject the converted python file to the C# binded file anyway, idk how to do this

so how could i do this? i got an idea should i make it do all the powershell amsi shit and inject the stealer. miner (hidden of course) and then finally inject the real app into application.executablepath and close itself. but wouldnt that make it open in like 6 seconds? i dont wanna make it inject the real app first and then do the shit cause then if the miner and stealer injection part will get detected and deleted then the real app would still work and then they wont disable their av for it cause it already works and then i wont get anything

Well injection is nearly instant so injecting the three programs shouldn't even take a second.

is it bad to cipherreplace the #RESPARENT with parentid instead of just replacing it

Doesn't really matter usually, but you can do that if you want.

and also if i inject the real app inside the binded.exe then it would only show the real app and not do anything that the binded app would've done right? so when i would inject the real app inside Application.Executablepath it wouldnt just do all the commands again and inject again, inevitably just making it spam open/inject the real app and it would lag their pc out

I'm not fully sure how your entire flow is set up, but I don't really understand what you're saying here.

i think i know what happened. in ur binder, the wd exclusion does this, open "powershell" and the argument "-EncodedCommand 'blablabla'" but it only works with "powershell", "powershell -EncodedCommand 'blabla'" i just tested it

How it is should work fine, I just tested it like it currently is myself and it worked well for me on both my main computer and VM.

is it a better idea to inject the shellcode of the stealer to conhost or to inject the stealer to applaunch

For Windows Defender it shouldn't really matter, it doesn't generally detect injections.

How it is should work fine, I just tested it like it currently is myself and it worked well for me on both my main computer and VM.

thats weird cause it will only work with powershell -EncodedCommand for me on Windows 11 Home

is it a better idea to inject the shellcode of the stealer to conhost or to inject the stealer to applaunch

For Windows Defender it shouldn't really matter, it doesn't generally detect injections.

im having problems the real app just wont inject for some reason

what could be wrong

Is it a native application? And is it 32-bit or 64-bit?

Is it a native application? And is it 32-bit or 64-bit?

it was C and then C# and now i tried using shellcode of the C#, what has Any CPU and i used amd64+(x86) on donut

The injector (if you took the one from the miner) is only for 64-bit so make sure that it's built as 64-bit.

The injector (if you took the one from the miner) is only for 64-bit so make sure that it's built as 64-bit.

so i have to build the file as 64bit or just only convert it with 64bit on donut? or both

Both probably.

oh i get why i get an error jesus christ im retarded. i used runpe instead of shellcode method

so right now this code seems fine? it gets to the last part in about 2-3 seconds so that shouldnt raise any suspicion. also should i make the real tools folder have DisableAV.bat or something? cause they are so dumb they dont even know how to do that

Yes that seems fine, and you can have a .bat file sure, it would probably help.

Yes that seems fine, and you can have a .bat file sure, it would probably help.

yo btw whats the progress with the clipper and the stealer?

yo btw whats the progress with the clipper and the stealer?

Now I'm working on the miner again since I got some inspiration from my other projects, but the clipper is basically done though I've gotten quite a few requests not to release it because it would be bad for crypto, and that it's also more malicious in nature compared to everything else I have released.

Now I'm working on the miner again since I got some inspiration from my other projects, but the clipper is basically done though I've gotten quite a few requests not to release it because it would be bad for crypto, and that it's also more malicious in nature compared to everything else I have released.

release it its only for educational purposes and learning 😄

is this good? maybe it'll fool some dumb people who just know how to put a app into dnspy

Sure, looks good.

Sure, looks good.

is it bad to have all these try catches? should i for example remove the try catch inside the patch amsi and only have the try catch when i call patchamsi or will it cause it to get an exception and break something?

Since you have a try catch inside the functions then they're not really needed around the call of the function. It's better to have it inside the function usually since then you only have to do one.

Since you have a try catch inside the functions then they're not really needed outside around the call of the function. It's better to have it inside the function usually since then you only have to do one.

what about the run for example if gettheresource doesnt work or path.combine doesnt should i have try catch there?

Sure you can have them there, since you're calling multiple functions but otherwise for the most part you call functions without any arguments.

Sure you can have them there, since you're calling multiple functions but otherwise for the most part you call functions without any arguments.

wait does shellcode not work with c++ apps?

yo and also some guy opened my stealer and the file searcher grabbed some "logs"? its luffich cloud free logs or something and idk what to do with them

this happens when i try to inject the converted python with runpemethod to conhost

now when i try injecting the converted python with runpemethod to conhost it works only for a second then closes

hey i thought of making a c# dll that the tool includes in itself instead of a binder do u know how i can do this?

now when i try injecting the converted python with runpemethod to conhost it works only for a second then closes

Does the converted python program work if you start it normally?

hey i thought of making a c# dll that the tool includes in itself instead of a binder do u know how i can do this?

Not sure what you mean, what would the C# DLL do and what tool would you include it in? If you want to include it in a C# program then just make it a resource and then load it, if it's for another language then there are other ways instead (such as using bin2h to make it into a header file for C/C++).

Not sure what you mean, what would the C# DLL do and what tool would you include it in? If you want to include it in a C# program then just make it a resource and then load it, if it's for another language then there are other ways instead (such as using bin2h to make it into a header file for C/C++).

i meant putting the stealer injection and miner drop in the C# dll itself and then calling the dll function from the "real app" that the victim will download, but idk how to do that without the dll getting flagged or the person thinking its a suspicious dll

hey i made the dll work but i have a problem it gets detected by wd

and idk what to do to fix that
this is the code

im thinking its cause of Convert.FromBase64String

does everyone have C:\Users\Public?

Well, you can embed the DLL into the real app, and then add exclusions in the real app before loading the DLL (might have to use and AMSI bypass first).


Recents automation

Will be updating as bugs get taken care of.

@bzang good to go if you want to check out any of the changes after your merge.


[question] Relations included by default

Hi - please excuse my stupid question but I need to ask
I know the docs say in several places that relationships aren't included unless requested for (as a GET param).
But is there some way to force them to be included?
I am looking to migrate an old application (which by default includes all entities relations) and need to maintain the same response structure.
Appreciate I am grasping at straws here - but have to ask anyway :)
PS from using/following your tutorial - big fan of the package and your work
Cheers

Not the maintainer of the package but I believe you are after this https://laraveljsonapi.io/docs/1.0/requests/query-parameters.html#default-include-paths.

I was sure I saw that in the docs somewhere but lost the page!
Thanks that's just what I was looking for!

Thanks for answering the question quicker than me @LeeJump24 !!


Synthesis failed for java-vision

Hello! Autosynth couldn't regenerate java-vision. :broken_heart:
Here's the output from running synth.py:
files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpg95hy707/google-cloud-vision-v1-java/gapic-google-cloud-vision-v1-java/src')] were copied. Does the source contain files?
2020-07-16 20:06:42,540 autosynth [ERROR] > Synthesis failed
2020-07-16 20:06:42,540 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-16 20:06:42,551 autosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-07-16 20:06:42,560 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-16 20:06:42,766 autosynth [DEBUG] > Running: git checkout 191611138f43eab85ca61b6a35d9ef1237c0018f
Note: checking out '191611138f43eab85ca61b6a35d9ef1237c0018f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-16 20:06:42,776 autosynth [DEBUG] > Running: git checkout bb46f87724ddd2fd1ce9f9dcb71f147427775592
HEAD is now at bb46f877 Adds bazel build file for public version of AuditData proto for bigquery.
2020-07-16 20:06:42,819 autosynth [DEBUG] > Running: git checkout 21f1470ecd01424dc91c70f1a7c798e4e87d1eec
Previous HEAD position was 4f2c9f7 ci(java): run dependency test on Java 8 and 11 (#639)
HEAD is now at 21f1470 chore: add config files for cloud-rad for node.js (#667)
2020-07-16 20:06:42,831 autosynth [DEBUG] > Running: git branch -f autosynth-160
2020-07-16 20:06:42,838 autosynth [DEBUG] > Running: git checkout autosynth-160
Switched to branch 'autosynth-160'
2020-07-16 20:06:42,846 autosynth [INFO] > Running synthtool
2020-07-16 20:06:42,847 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-16 20:06:42,847 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-vision/160/sponge_log.log
2020-07-16 20:06:42,849 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-16 20:06:43,059 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-vision/synth.py.
On branch autosynth-160
nothing to commit, working tree clean
2020-07-16 20:06:43,207 synthtool [DEBUG] > Ensuring dependencies.
2020-07-16 20:06:43,218 synthtool [DEBUG] > Cloning googleapis.
2020-07-16 20:06:43,219 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-07-16 20:06:43,224 synthtool [DEBUG] > Generating code for: //google/cloud/vision/v1:google-cloud-vision-v1-java.
2020-07-16 20:06:45,090 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpahugf9by.
2020-07-16 20:06:45,091 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpahugf9by/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*.java')] for pattern // Generated by the protocol buffer compiler.  DO NOT EDIT!, maybe replacement is no longer needed?
2020-07-16 20:06:45,095 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpahugf9by/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmpahugf9by/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is no longer needed?
2020-07-16 20:06:45,096 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpahugf9by/google-cloud-vision-v1-java/grpc-google-cloud-vision-v1-java/src/**/*.java')] for pattern ^package (.*);, maybe replacement is no longer needed?
2020-07-16 20:06:45,096 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-vision/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 318, in bazel_library
    destination_name=destination_name,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 193, in _common_generation
    required=True,
  File "/tmpfs/src/github/synthtool/synthtool/transforms.py", line 208, in move
    f"No files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpahugf9by/google-cloud-vision-v1-java/gapic-google-cloud-vision-v1-java/src')] were copied. Does the source contain files?
2020-07-16 20:06:45,143 autosynth [ERROR] > Synthesis failed
2020-07-16 20:06:45,143 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-16 20:06:45,153 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-16 20:06:45,161 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-vision. :sob:
Here's the output from running synth.py:
files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpswhnacgd/google-cloud-vision-v1-java/gapic-google-cloud-vision-v1-java/src')] were copied. Does the source contain files?
2020-07-17 03:57:51,923 autosynth [ERROR] > Synthesis failed
2020-07-17 03:57:51,924 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-17 03:57:51,933 autosynth [DEBUG] > Running: git checkout autosynth-googleapis
Switched to branch 'autosynth-googleapis'
2020-07-17 03:57:51,941 autosynth [ERROR] > Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.
2020-07-17 03:57:52,067 autosynth [DEBUG] > Running: git checkout 191611138f43eab85ca61b6a35d9ef1237c0018f
Note: checking out '191611138f43eab85ca61b6a35d9ef1237c0018f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-17 03:57:52,076 autosynth [DEBUG] > Running: git checkout bb46f87724ddd2fd1ce9f9dcb71f147427775592
HEAD is now at bb46f877 Adds bazel build file for public version of AuditData proto for bigquery.
2020-07-17 03:57:52,088 autosynth [DEBUG] > Running: git checkout 21f1470ecd01424dc91c70f1a7c798e4e87d1eec
Previous HEAD position was 4f2c9f7 ci(java): run dependency test on Java 8 and 11 (#639)
HEAD is now at 21f1470 chore: add config files for cloud-rad for node.js (#667)
2020-07-17 03:57:52,098 autosynth [DEBUG] > Running: git branch -f autosynth-160
2020-07-17 03:57:52,101 autosynth [DEBUG] > Running: git checkout autosynth-160
Switched to branch 'autosynth-160'
2020-07-17 03:57:52,109 autosynth [INFO] > Running synthtool
2020-07-17 03:57:52,109 autosynth [INFO] > ['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-07-17 03:57:52,109 autosynth [DEBUG] > log_file_path: /tmpfs/src/logs/java-vision/160/sponge_log.log
2020-07-17 03:57:52,111 autosynth [DEBUG] > Running: /tmpfs/src/github/synthtool/env/bin/python3 -m synthtool --metadata synth.metadata synth.py --
2020-07-17 03:57:52,310 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/java-vision/synth.py.
On branch autosynth-160
nothing to commit, working tree clean
2020-07-17 03:57:52,443 synthtool [DEBUG] > Ensuring dependencies.
2020-07-17 03:57:52,454 synthtool [DEBUG] > Cloning googleapis.
2020-07-17 03:57:52,455 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2020-07-17 03:57:52,459 synthtool [DEBUG] > Generating code for: //google/cloud/vision/v1:google-cloud-vision-v1-java.
2020-07-17 03:57:54,133 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpdww9og4d.
2020-07-17 03:57:54,134 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpdww9og4d/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*.java')] for pattern // Generated by the protocol buffer compiler.  DO NOT EDIT!, maybe replacement is no longer needed?
2020-07-17 03:57:54,138 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpdww9og4d/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*Name.java'), PosixPath('/tmpfs/tmp/tmpdww9og4d/google-cloud-vision-v1-java/proto-google-cloud-vision-v1-java/src/**/*Names.java')] for pattern /\*
 \* Copyright \d{4} Google LLC
 \*
 \* Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except
 \* in compliance with the License. You may obtain a copy of the License at
 \*
 \* http://www.apache.org/licenses/LICENSE-2.0
 \*
 \* Unless required by applicable law or agreed to in writing, software distributed under the License
 \* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 \* or implied. See the License for the specific language governing permissions and limitations under
 \* the License.
 \*/
, maybe replacement is no longer needed?
2020-07-17 03:57:54,138 synthtool [WARNING] > No replacements made in [PosixPath('/tmpfs/tmp/tmpdww9og4d/google-cloud-vision-v1-java/grpc-google-cloud-vision-v1-java/src/**/*.java')] for pattern ^package (.*);, maybe replacement is no longer needed?
2020-07-17 03:57:54,139 synthtool [DEBUG] > Wrote metadata to synth.metadata.
Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/tmpfs/src/github/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/kbuilder/.cache/synthtool/java-vision/synth.py", line 28, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 318, in bazel_library
    destination_name=destination_name,
  File "/tmpfs/src/github/synthtool/synthtool/languages/java.py", line 193, in _common_generation
    required=True,
  File "/tmpfs/src/github/synthtool/synthtool/transforms.py", line 208, in move
    f"No files in sources {sources} were copied. Does the source "
synthtool.transforms.MissingSourceError: No files in sources [PosixPath('/tmpfs/tmp/tmpdww9og4d/google-cloud-vision-v1-java/gapic-google-cloud-vision-v1-java/src')] were copied. Does the source contain files?
2020-07-17 03:57:54,177 autosynth [ERROR] > Synthesis failed
2020-07-17 03:57:54,177 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 1916111 chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#188)
2020-07-17 03:57:54,186 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-17 03:57:54,194 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 367, in synthesize_loop
    synthesize_inner_loop(fork, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 375, in synthesize_loop
    synthesize_loop_single_pr(toolbox, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 401, in synthesize_loop_single_pr
    synthesize_inner_loop(toolbox, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 411, in synthesize_inner_loop
    synthesizer, len(toolbox.versions) - 1
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 266, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/tmpfs/src/github/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/tmpfs/src/github/synthtool/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


upgraded embedded mariadb version to 10.1.8 for linux (including

upgraded embedded mariadb version to 10.1.8 for linux (including required libraries).
added: setting os depending library path to optional binary libraries
required by mariadb

+1
I don't know why my PR failed. Local tests succeeded.

+1
Hope this gets merged any time soon

@timorohwedder Thank You for this contribution, and so sorry I'm only picking this up now, merged!
PS, minor changes made:

getOsLibraryEnvironmentVar => getOSLibraryEnvironmentVarName etc.
getOSLibraryEnvironmentVarName => protected _getOSLibraryEnvironmentVarName


Use ui_test from crates.io instead of having it in-tree

I have moved a copy of the ui_test crate into a separate repo to facilitate the further non-miri development of it. I will keep syncing until we have reached a point where we don't touch it anymore for miri. At that point we can remove the in-tree version and do further development out of tree.

Hmm weird, it picked up the commits twice. I need to investigate.

Hmm weird, it picked up the commits twice. I need to investigate.

Ok I guess we'll always to squash merges when pulling

Ok I guess we'll always to squash merges when pulling

What do you mean by this?

What do you mean by this?

when we do a sync with the ui_test repo, we'll only see a single sync commit instead of all the commits that happened on the ui_test side.

Aha... So the usual process does not work? Why?
Anyway I dont think I care strongly about reflecting ui-test history in this repo. Please just add a section to the contributor docs saying exactly which commands one has to run for a sync.
Alternatively, we could just use a cargo git dependency pinned to a particular commit? Or would that make the rustc workspace unhappy?

Aha... So the usual process does not work? Why?

I think because subtree doesn't really work nicely for moving a subfolder out, it is meant for moving a separate repo into a subfolder.

Alternatively, we could just use a cargo git dependency pinned to a particular commit? Or would that make the rustc workspace unhappy?

We could just point to a regular crates.io dependency

Or, that too. You could give me access so I can publish new versions if needed.

You should have an invite

(changed PR title to match)

That repo having its last commit 28 days ago, it probably needs to be synced again?

At least https://github.com/rust-lang/miri/pull/2505 is not included.

published 0.1.1 with the latest changes.

I confirmed they are in sync. Thanks :)
@bors r+

:pushpin: Commit a33fb11894e0c1a21d6ddc1651811b7ea9937591 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit a33fb11894e0c1a21d6ddc1651811b7ea9937591 with merge f08b413161816843d358ff3e8181ebdc3d98bc42...

@bors r- retry
Ah wait can you update the lockfile to sue the 0.1.1 version? then r=me

@bors r=RalfJung

:pushpin: Commit fb071a14bd065da54c5bbc497033503932925cb2 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit fb071a14bd065da54c5bbc497033503932925cb2 with merge d5853bc724d469287ca3aeab2585413625f1a4ba...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing d5853bc724d469287ca3aeab2585413625f1a4ba to master...

At least https://github.com/rust-lang/miri/pull/2505 is not included.


Make ResourceLeakDetector also emit recent access records for IllegalReferenceCountException

Netty's ResourceLeakDetector does an excellent job of exposing "recent access records" (stack traces) to help diagnose the source of a leak.
I wonder, could ResourceLeakDetector (or LeakAwareByteBuf) also emit recent access records in the opposite case... of throwing an IllegalReferenceCountException: refCnt: 0?
E.g.,
    @Override
    public boolean release() {
        leak.record();
        try {
            return super.release();
        catch (IllegalReferenceCountException e) {
            log.warn(leak.recentAccess());
            throw e;
        }
    }

Currently, there's no troubleshooting information attached to IllegalReferenceCountException to help diagnose where an application might be overly ambitious in releasing.
Due to the sampled nature of ResourceLeakDetector, not all IllegalReferenceCountExceptions might be guaranteed to include the recent access records, but users could set the leak detection level to PARANOID for debugging purposes.

@Bennett-Lynch I like the idea... That said I think I would create a special IllegalReferenceCountException which holds the extra details I guess... WDYT ?

@normanmaurer Agree that attaching it to the exception itself is probably better.  Not sure if it'd be cleaner to just update the message / causal chain of IllegalReferenceCountException itself or to create a new subclass though.

I guess I would sub-class

@Bennett-Lynch want to come up with a pr ?

@normanmaurer Have this on my backlog (need to dig into the leak detector details which I'm not deeply familiar with), but would welcome anyone else who wants to try contributing it.

@Bennett-Lynch @normanmaurer
I submit a simple pull request for this issue.
Could u pls help to check it.. ?


V1.3: Post v1.2 refactoring

Closes #105

[x] Rename EditRecipeDescriptor into a generic RecipeDescriptor
[x] Extract RecipeDescriptor out of EditRecipe
[x] Refactor add command to use RecipeDescriptor instead of using functional pipeline
[x] Add emergency fixes to JsonAdaptedStorage

Due to the refactor, do take note that tests regarding add/edit will have to be changed to use the new classes

Note: JSON Adapters do not implement any kind of JsonAdapter<T> interface as we do not need to make use of its polymorphism.
It may be good practice to have the adapters implement this interface to ensure that each adapter implements some basic functionality, however, this has been omitted for now

Regex refactoring will be moved to a separate PR. See #115 for more info


Legend clips with plot lines

Plot lines can be covered up by the legend.
This isn't a problem when the analyte is an acid, and thus starts in the bottom left corner, but when the analyte is a base the plot starts in the top right and is slightly obscured by the legend.
This is also a problem with the relative species plot.

There is no legend options in DPG other than removing it entirely. This will have to be an option in a drop down somewhere in the refactored GUI.


Make folders into clickable links

For ease of using folder paths, they should be clickable links. Currently the dev has to copy them into Run or Explorer, which isn't so bad.

Completed :)


Add: dependencies in helm3 style

Moving away from helm v1 to helm v2
Would be nice to setup minimal k8s supported version:
kubeVersion: ">= 1.16.0"

Was not that what we tried before and we had issues with the condition statements?

Yes I remember it, but I tested locally and would say it work properly

You'd need to rebase @dsever, not sure what happened to the PR here.

@madchap  I will open new PR


Show execution time for running tasks

Finished task has "Execution time"

Running task can have "Execution time" indicator

It would be nice to show the indication with animation for how long time the task is already running.

The problem with that feature is the fact that server time (started) might be very different from client time (current) and in some cases we may end up with a negative execution time. Oops!

So store the client starting time ("run" button pressed) and use that to get elapsed

Then what we should do when the action was executed by another user on another machine or automatically in response to a trigger? I guess we can try to approximate in broad strokes "less than a minute", "about 5 minutes", something like that.

+1

Just FYI: the process of translating into human-readable formats is usually called "humanize"-ing them.
And I think this is probably some low-hanging fruit for a JS developer to add, and it would be a fairly visible and useful change for users.


DESIGN SPIKE: Indicator, result, and reporting period modals: Introduce better save patterns

WORK IN PROGRESS
This ticket was converted from Rickie's note suggesting a "close on save" behavior for the Results form in the near future.
I'd like to establish a pattern that applies to modals across the application:

Results form
Indicator setup form
Reporting period modal

For all three of these, we need to consider the following:

Providing positive system feedback that changes were successfully saved -- what we currently achieve with the green message at the top of the form.
The possibility that someone may want the option to save and leave the form open. This is most likely with the indicator setup form.
The possibility that someone may want to "save and add another" -- again most likely with the indicator setup form.

Acceptance criteria
Indicator form

[ ] 1. Replace single

Result form

Closing this ticket because we will be 🔥 the modals in Swift, and should address save patterns in the context of our future tabular interface.


Missing some reference in the design

Dear:
I am try to read those Verilog file.
however the tools report some Error.
It seems that some references missing in the design.
How can I fix this issue?
Are those references FPGA blocks?
Warning: Unable to resolve reference to 'sirv_gnrl_dffr' first referenced from module 'e203_clk_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_sync' first referenced from module 'e203_irq_sync_MASTER1'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_n2w' first referenced from module 'e203_itcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_n2w' first referenced from module 'e203_itcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_arbt' first referenced from module 'e203_itcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_sram_icb_ctrl' first referenced from module 'e203_itcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_itcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_arbt' first referenced from module 'e203_dtcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_sram_icb_ctrl' first referenced from module 'e203_dtcm_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_ram' first referenced from module 'e203_itcm_ram'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_ram' first referenced from module 'e203_dtcm_ram'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_arbt' first referenced from module 'e203_biu'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_buffer' first referenced from module 'e203_biu'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_splt' first referenced from module 'e203_biu'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffrs' first referenced from module 'e203_ifu_ifetch'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_ifu_ifetch'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_ifu_ifetch'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_ifu_ifetch'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_bypbuf' first referenced from module 'e203_ifu_ift2icb'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_ifu_ift2icb'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_ifu_ift2icb'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_ifu_ift2icb'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_exu_regfile'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_exu_oitf'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_exu_oitf'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_icb_arbt' first referenced from module 'e203_lsu_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_pipe_stage' first referenced from module 'e203_lsu_ctrl'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_exu_alu_lsuagu'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_exu_alu_muldiv'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dfflr' first referenced from module 'e203_exu_alu_muldiv'. (LNK-005)
Warning: Unable to resolve reference to 'sirv_gnrl_dffl' first referenced from module 'e203_exu_alu_dpath'. (LNK-005)
Thanks very much.

That's because sirv_gnrl_dffl module is defined in the file: sirv_gnrl_dffs.v. Check your compiler to see how to resolve it.
the simplest way is split that file into multi files that contain one module in one file.


Returns wrong data on manipulating entered input text

Configuration for Fuse Js:-
this.fuse = new Fuse(data, {
threshold: 0.1,
keys: searchKeys
});
When I search for 'Last Hour' in following dataset
{
data:[
{
"name": "Last Hour",
"id": "A1",
"age": "23"
},
{
"name": "First Hour",
"id": "A2",
"age": "24"
},
{
"name": "Second Hour",
"id": "A3",
"age": "25"
},
{
"name": "Third Hour",
"id": "A4",
"age": "26"
},
{
"name": "Fourth Hour",
"id": "A5",
"age": "27"
},
]
}
Result is - {
"name": "Last Hour",
"id": "A1",
"age": "23"
}
When I change input text Last Hour to Latt Hour,
I still get the following result
{
"name": "Last Hour",
"id": "A1",
"age": "23"
}

Curious to know why you think it's no working correctly..
Seems to be working fine. "Latt Hour" is matching "Last Hour", which is 1 character way from being an exact match (t -> s), and within the threshold specified.


Failed to submit!  op id: 227, op name: OutputOperator:139_convolutional, flags: 0x1...

Hello,
I'm trying to inference YOLOv4 .rknn converted from .onnx with the help of rknn-toolkit2. It performs well on PC using test.py code from toolkit examples but fails on AIO-3568J using rknpu .cc code. It returns error during inference (rknn.run):
E RKNN: [02:49:39.674] failed to submit!, op id: 227, op name: OutputOperator:139_convolutional, flags: 0x1, task start: 0, task number: 2583, run task counter: 2322, int status: 0
Tried to convert original darknet model to .rknn but received the same mistake. Have anyone tried to inference YOLOv4 rknn model before?

@frootonator did you solve it?

Yes, solved it by adding Reshape operator before output layer.

@frootonator did you solve it?

Yes, solved it by adding Reshape operator before output layer.

how to do that , more specific？


iOS 13 support

Right now when you select new controller, it shows black screen. Same code works on iOS 12 and earlier versions.

Same here. I also tried the forked repos that support swift 5.0 but same result.

Try setting the modalPresentationStyle of menu viewController to fullScreen as below. It should solve the problem.
    override func viewDidLoad() {
        super.viewDidLoad()

        let screenSize: CGRect = UIScreen.main.bounds
        self.transitionOptions = TransitionOptions(duration: 0.4, visibleContentWidth: screenSize.width / 6)

        // Instantiate menu view controller by identifier
        self.menuViewController = SampleMenuViewController.storyboardViewController()
        self.menuViewController.modalPresentationStyle = .fullScreen

        // Gather content items controllers
        self.contentViewControllers = contentControllers()

        // Select initial content controller. It's needed even if the first view controller should be selected.
        self.selectContentViewController(contentViewControllers.first!)

        self.currentItemOptions.cornerRadius = 10.0
    }
`

Try setting the modalPresentationStyle of menu viewController to fullScreen as below. It should solve the problem.
    override func viewDidLoad() {
        super.viewDidLoad()

        let screenSize: CGRect = UIScreen.main.bounds
        self.transitionOptions = TransitionOptions(duration: 0.4, visibleContentWidth: screenSize.width / 6)

        // Instantiate menu view controller by identifier
        self.menuViewController = SampleMenuViewController.storyboardViewController()
        self.menuViewController.modalPresentationStyle = .fullScreen

        // Gather content items controllers
        self.contentViewControllers = contentControllers()

        // Select initial content controller. It's needed even if the first view controller should be selected.
        self.selectContentViewController(contentViewControllers.first!)

        self.currentItemOptions.cornerRadius = 10.0
    }
`

Solved my problem. Thank you so much

Awsome Support By you guys.. Thank you guys

Try setting the modalPresentationStyle of menu viewController to fullScreen as below. It should solve the problem.
    override func viewDidLoad() {
        super.viewDidLoad()

        let screenSize: CGRect = UIScreen.main.bounds
        self.transitionOptions = TransitionOptions(duration: 0.4, visibleContentWidth: screenSize.width / 6)

        // Instantiate menu view controller by identifier
        self.menuViewController = SampleMenuViewController.storyboardViewController()
        self.menuViewController.modalPresentationStyle = .fullScreen

        // Gather content items controllers
        self.contentViewControllers = contentControllers()

        // Select initial content controller. It's needed even if the first view controller should be selected.
        self.selectContentViewController(contentViewControllers.first!)

        self.currentItemOptions.cornerRadius = 10.0
    }
`

did u use the latest repo?

Thank you. If you change this code only need this code line self.menuViewController.modalPresentationStyle = .fullScreen

Thanks bro  .fullScreen is fixed this isuues

Perfect fix. @handsomecode pls accept the PR


Changes to .graphqlrc.json aren't picked up

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Strawberry Shake
Describe the bug
Changing something like the namespace or the name of a client in the .graphqlrc.json file is not picked up when re-building. The code will continue to build using the old namespace in the code and errors will only arise, once you build in a "clean" environment like a CI system.
Steps to reproduce

Setup a project with a working Strawberry Shake client and build it
Change the namespace in the .graphqlrc.json
Re-build the project
Observe no errors being thrown, even though the namespace was changed.

Relevant log output
No response
Additional Context?
Manually deleting the obj and bin directories and re-building correctly picks up the changes.
Version
13.0.5

Would adding <GenerateGraphQLCodeItems Include="$(MSBuildProjectDirectory)\.graphqlrc.json" /> below solve the issue?
https://github.com/ChilliCream/graphql-platform/blob/5740150ceb6a30064accca25e328f0a8dd371705/src/StrawberryShake/MetaPackages/Common/MSBuild/StrawberryShake.targets#L2-L9

@tobias-tengler i can confirm

I think we need to also hash the settings. Because also changes in the MSBuild parameters, like enable Persited Queries, do not trigger a rebuild


update(docs): update k8s fields description

What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area documentation
What this PR does / why we need it:
update k8s fields description
Which issue(s) this PR fixes:
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Andreagit97
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

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

See https://github.com/falcosecurity/libs/pull/1665

LGTM label has been added.  Git tree hash: d74063f64bfbf1469eb64455d79ffb892c7037f1

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [LucaGuerra]

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


Blame

This also includes a diff package and revlist package (needed by
blame)
Some extra packfiles (<1MB) are also included, to be used as fixtures in
the tests.

Except for the aforementioned things, LGTM

@mcuadros wrote on slack:
Create a Blame struct to use as the blame output (and only entry point to blame), so we can marshall it to DBs.

Current coverage is 69.65%

Merging #7 into v2.0.0 will increase coverage by +0.61% as of e5bff6a

@@            v2.0.0      #7   diff @@
======================================
  Files           13      15     +2
  Stmts          898     926    +28
  Branches       142     147     +5
  Methods          0       0
======================================
+ Hit            620     645    +25
  Partial         72      72
- Missed         206     209     +3

Review entire Coverage Diff as of e5bff6a

Powered by Codecov. Updated on successful CI builds.

PTAL, this should solve all unanswered previous comments, including @mcuadros one on slack.

Thanks, will fix.

I probably missed something but it's late enough, I'll continue with the review during the weekend. Take a break @alcortesm!


Please invite me to the Recode-Hive GitHub Community Organization

Name
nksmanya
Discord Username (if applicable)
nksmanya
Additional Context
No response

Invitation sent to join the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see. You can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/recodehive/people


Add ability to rollback to a block height and replay N blocks

Context
Difficult to test the fix proposed in https://github.com/celestiaorg/celestia-app/pull/3826
Problem
It isn't currently possible to rollback to a particular block height (i.e. before the v2 activation height on arabica) and then replay a series of blocks after. This would be extremely useful for testing the PR above.
Proposal
Write a tool that enables maintainers to rollback to a particular block height and then replay N blocks after that. Ideally the blocks are stored locally so that maintainer does not need to refetch them from the p2p layer.

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


Ignore default analyzer settings when classifying an SAI as analyzed

Problem
When creating an SAI, the AbstractAnalyzer creates an analyzer in cases where it should not because the logic is too naive.
Details
Users can create SAI indexes with a NonTokenizingAnalyzer using the following queries where ? can be replaced with true or false:
CREATE CUSTOM INDEX ON table(some-column) USING 'StorageAttachedIndex' WITH OPTIONS = { 'normalize' : ? }
CREATE CUSTOM INDEX ON table(some-column) USING 'StorageAttachedIndex' WITH OPTIONS = { 'case_sensitive' : ? }
CREATE CUSTOM INDEX ON table(some-column) USING 'StorageAttachedIndex' WITH OPTIONS = { 'ascii' : ? }

The options are known as "non tokenizing analyzers" because they "analyze" values but do not "tokenize" them. Practically speaking, these analyzers are projections where each input has one and only one output. Lucene calls projections "filters".
The StorageAttachedIndex default is for normalize = false, case_sensitive = true, and ascii = false.
When a default value is passed for one of the options, the AbstractAnalyzer incorrectly classifies the index as "analyzed". Instead, the AbstractAnalyzer should return the NoOpAnalyzer and the index should not be classified as "analyzed".
Solution

Only construct the NonTokenizingAnalyzer when normalize, case_sensitive, or ascii are configured with non default values.
Do not consider an SAI as analyzed if normalize, case_sensitive, or ascii are configured with default values.
Updated some tests to use = on the non-analyzed SAI

So before we started hacking on it, SAI said that "dog" = "Dog" evaluates to True?

No, the default for case_sensitive is true, so "dog" = "Dog" evaluates to false (before and after this PR). The issue this PR addresses is when an SAI is classified as analyzed. Before this PR, an SAI configured explicitly with default settings was classified as "analyzed" even though the default settings are to not analyze terms.


factor out or update log4j?

The current distribution includes jar files that flag security warnings.
@raducoravu can you offer any tips on how this can be updated?

@wendellpiez I do not see anything related to log4j in this framework, can you elaborate?

@wendellpiez sorry, the Jats framework bundled with Oxygen does not have these 2 jars and the JatsKit working copy I had was outdated and I had forgotten to pull the latest content.
I suggest you remove both JAR libraries and also remove the references to them from the "jats.framework" which seems to be the only config file using them.
By the way, I think I should at some point update the JatsKit framework in Oxygen to your latest changes, should I use the changes from the "master" or "develop" branches?

Excellent @raducoravu, thank you for the assessment.
For updates we should probably go with master unless there's some overriding reason.
If you have any other cleanup to propose or push up, let me know --


TestPickleDataset fails on Windows

Chainer version: master, v6
OS/Platform: Windows

C:\path\chainer>pytest tests\chainer_tests\datasets_tests\test_pickle_dataset.py::TestPickleDataset
================================================= test session starts =================================================
platform win32 -- Python 3.7.3, pytest-4.1.1, py-1.8.0, pluggy-0.12.0
rootdir: C:\path\chainer, inifile: setup.cfg
collected 2 items

tests\chainer_tests\datasets_tests\test_pickle_dataset.py F.                                                     [100%]

====================================================== FAILURES =======================================================
__________________________________________ TestPickleDataset.test_after_fork __________________________________________

self = <chainer_tests.datasets_tests.test_pickle_dataset.TestPickleDataset testMethod=test_after_fork>

    def test_after_fork(self):
        writer = datasets.PickleDatasetWriter(self.io)
        writer.write(1)
        writer.flush()

        reader = ReaderMock(self.io)
        # Assign to avoid destruction of the instance
        # before creation a child process
        dataset = datasets.PickleDataset(reader)

        assert reader.n_hook_called == 0
        p = multiprocessing.Process()
        p.start()
        p.join()
>       assert reader.n_hook_called == 1
E       AssertionError: assert 0 == 1
E        +  where 0 = <chainer_tests.datasets_tests.test_pickle_dataset.ReaderMock object at 0x000001E3315518D0>.n_hook_called

tests\chainer_tests\datasets_tests\test_pickle_dataset.py:75: AssertionError

https://github.com/chainer/chainer/blob/09252fb964a7159156b3975033c46835717841ae/chainer/datasets/pickle_dataset.py#L101
register_after_fork does not work? (I don't know detail)

Oh, I had forgot fork() system call is not available on windows...
cf. https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods
Additionally, my implementation (#7625) is not probably enough to make available multiprocessing with spawn method.
It seems that we need to add __getstate__ and __setstate__ methods into _FileReader and reopen the file in it.

Fixed by #8465.


Implement breakpoints

A list of breakpoints will enable easier editing of the hidden locations. They need a separate single tile for their location. The algorithm will find these breakpoints and split the string.

Breakpoints on east edge of map is broken

Implemented


Minor cleaning

Cleaned up code in generate_src_rst_files.py with some minor additions to other files

@CatB1t should this be closed? I think this edit won't be of much contribution anymore.


Errors are not public

The try_new() method of VirtAddr and PhysAddr may return respectively VirtAddrNotValid and PhysAddrNotValid. Unfortunately, those error structs are defined in the private module addr and are not reexported, so their content cannot be accessed and they can't be stored in other errors.
It would be great to export both of them.

Thanks a lot for reporting! I would be happy to merge a PR that reexports these error types too.


Update 0082-helium-mobile-service-provider.md

Updating HIP with the following:

Grace period changed to 6 months from one year
If opt-out not implemented past 6 months, reward cap goes away until implementation is complete
Reward cap is adjusted every year based to be 1 standard deviation away from average subscriber (per KeithR proposal)

@abhay - your change was accepted! Need your final review before we're able to merge.

@abhay - your change was accepted! Need your final review before we're able to merge.

typo recommendation. merging.


refactor: improve app update experience

Iterate on the enhancements added in https://github.com/gitify-app/gitify/pull/1397

Introduce https://github.com/electron/update-electron-app to handle the update lifecycle (interval, user confirmation dialog, release notes)
Fix issues with context menu lifecycle state for ad-hoc updates
Add a set of new tray icons for visual update queues (resolves #1448)

Added new tray icons to show a visual indicator for "update available", as well as updating the tray tooltip

Idle
Active

Definitely way prettier 🚀


Neighbor lists in lammps-allegro

Hello,
I have an issue in compiling Lammps with the Allegro patch, as I get the following error (with gcc):
pair_allegro.cpp:129:33: error: ‘int LAMMPS_NS::NeighRequest::ghost’ is protected within this context
129 |   neighbor->requests[irequest]->ghost = 1;
I had to comment out this line in pair_allegro.cpp and hard-code ghost = 1 in neigh_request.cpp. It works, but probably not the best thing to do... (I think it then messes up with RDF calculations...)
Thanks for your help,
Nicephore

Duplicate of https://github.com/mir-group/pair_allegro/issues/17.

thanks!


admin_token is not updated when changing in docker-compose.yml file

I haven't update the admin_token since beginning. Now I'm using both latest vaultwarden and vaultwarden backup image with the docker-compose.yml file in this repository.
However as I check the admin_token is not updated when changing in docker-compose.yml file. There is another problem that I cannot login to admin page even when I use the correct admin_token or even when I use the secure method.
Is there anyone has the same issue? Thank you.

Thank you for pointing it out.
Even when I update the admin_token value in config.json file inside data volume, I cannot log in to admin settings interface. I don't know what happen to the hashed password. It doesn't work even when I use plaintext password.

Btw, I also report the problem in this discussion. Please refer if needed. Thank you.

The problem is I have / after /admin/ inside nginx.conf so I redirect every time access admin/ page.
Removing / will solve problem.
I will close this issue.


Async example

Added an asynchronous echo example to only show completions after a given delay in time. This is useful if, for example, the completion source has latency before completion data can be filled. By doing this, typing remains fluid and not delayed by the suggestions, and operations like copy/paste remain fast. Still, if the user stops typing for a moment and needs completion assistance, they will then pop up as expected.

@c-bata would you have time to review this PR? thanks!


MRG: Fix --noflash30

Using mne flash_bem --noflash30 which eventually calls convert_flash_mris fails because the glob.glob list result is not correctly inserted in the cmd list. This fixes it.
I don't see a way to add a test because this relies on freesurfer calls.

LGTM
can you merge and backport to maint/0.16?


Sailboat go-to action does not work on action mapping with single quotes

So basically sailboat can't detect action mappings with single quotes hence it can't make it a link to the action file.

This patch release fix this issue - https://github.com/DominusKelvin/sailboat/releases/tag/v0.0.8


chore: add runtime tests

Adds tests for new runtimes: Bun, Deno and the Edge runtime. I wanted to add tests for node16 ESM modes as well as Cloudflare Workers and react-native maybe. But I'm out of time and it's best to get in what we have and follow up with new PRs.
The Deno test is expected to keep failing until get-it gets a similar fix as #24
Let me know if you prefer me to comment out the Deno workflow until the test is passing.

Also, yes - I think we should disable the deno test for now until we can get it working.


Update overview.md

Changing to "dependent repositories" badge instead of the "Machines using"

@jeremyfelder - i didnt understand this as only using golang uses, is this not icicle in general?


Does Axios have a way to queue X simultaneous requests?

Let's say I need to do 20 ajax requests, and my server supports doing 3 at a time.
Does Axios have a way to queue up the 20 requests, and run 3 concurrently?
It doesn't seem like .all() or .spread() support this.

No, you will need some sort of outside scheduler to handle the execution of your requests. Depending on what your needs are, an Observable library will  probably be your best bet for managing the queue and handling side-effects.

You can use Bluebird.map to control the concurrency of any Promise-based code. See http://bluebirdjs.com/docs/api/promise.map.html
This is out of the scope of Axios.

I was able to achieve this using another helper library cwait (in combination with axios):
import axios from 'axios';
import { TaskQueue } from 'cwait';

const MAX_SIMULTANEOUS_DOWNLOADS = 6;

const urls = [/* Array of URLs to download... */];

const queue = new TaskQueue(Promise, MAX_SIMULTANEOUS_DOWNLOADS);
const results = await Promise.all(urls.map(queue.wrap(async url => await axios.get(url))));

Simple implementation is here: https://github.com/bernawil/axios-concurrency

I think it's sad that this is considered out of scope for a HTTP client library. Ideally axios should support a setting that limits the simultaneously running requests per axios instance. A lot of APIs require sequential requests (i.e. one request at a time), and a HTTP client should be able to support that. I don't see how this is out of scope of this project.

@cerlestes there's a way to do it using interceptors, like this: https://medium.com/@matthew_1129/axios-js-maximum-concurrent-requests-b15045eb69d0
I think this code can be catched by a race condition, but it's an idea.


ValueError: The model cannot be compiled because it has no loss to optimize.

When I checked the tutorial Customizing what happens in fit() and ran the codes, I got the following error:
WARNING:tensorflow:Output dense_1 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to dense_1.
Traceback (most recent call last):
  File "/Users/yaosiyuan/PycharmProjects/tensorflow/adversarial_training/customize.py", line 142, in <module>
    model.compile(optimizer="adam")
  File "/Users/yaosiyuan/.pyenv/versions/anaconda3-5.3.1/envs/tflow_dl/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/base.py", line 457, in _method_wrapper
    result = method(self, *args, **kwargs)
  File "/Users/yaosiyuan/.pyenv/versions/anaconda3-5.3.1/envs/tflow_dl/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training.py", line 373, in compile
    self._compile_weights_loss_and_weighted_metrics()
  File "/Users/yaosiyuan/.pyenv/versions/anaconda3-5.3.1/envs/tflow_dl/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/base.py", line 457, in _method_wrapper
    result = method(self, *args, **kwargs)
  File "/Users/yaosiyuan/.pyenv/versions/anaconda3-5.3.1/envs/tflow_dl/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training.py", line 1653, in _compile_weights_loss_and_weighted_metrics
    self.total_loss = self._prepare_total_loss(masks)
  File "/Users/yaosiyuan/.pyenv/versions/anaconda3-5.3.1/envs/tflow_dl/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/training.py", line 1752, in _prepare_total_loss
    raise ValueError('The model cannot be compiled '
ValueError: The model cannot be compiled because it has no loss to optimize.

I read the source code of tf.keras.Model, I found the class don't have a method called train_step and no codes invoking train_step.
Environtment:
python:  Python 3.7.7
tensorflow: 2.0.0
keras: 2.2.4-tf

try model.compile(loss = '[any loss function]',optimizer='adam')

try model.compile(loss = '[any loss function]',optimizer='adam')

Yes, of course this can fix the ERROR.
But I doubt actually we CAN NOT use the way described by this tutorial to customize the fit process. Because there is no member in keras.Model called train_step, and rewrite add train_step method in subclasses can not change model.fit behaviors.
This tutorial is post tens of days ago, I wonder whether it is tested.

This tutorial requires TF 2.2 or higher.


add sidecar resource, egress did not specify Istio namespace, but the workload in Istio namespace still can invoke outside workload

Bug description
[root@master01 sidecar]# cat sidecar-bookinfo-egress.yaml
apiVersion: networking.istio.io/v1alpha3
kind: Sidecar
metadata:
  name: default
spec:
  workloadSelector:
    labels:
      app: productpage
  ingress:
  - port:
      number: 9080
      protocol: http
    defaultEndpoint: <IP_ADDRESS>:9080
  egress:
  - port:
      number: 9080
      protocol: HTTP
      name: egresshttp
    hosts:
    - "xxx/*"
  - hosts:
    - "istio-system/*"

my deployed namespace is istio,egress didn't specifiy istio namespace,but productpage workload still can visite details and reviews,why
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ x] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
[root@master01 sidecar]# istioctl version
client version: 1.6.1
control plane version: 1.6.1
data plane version: 1.6.1 (14 proxies)

[root@master01 sidecar]# kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2020-05-12T09:28:18Z", GoVersion:"go1.12.4", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

the Sidecar.egress field does not act as a firewall, and instead restricts the set of config available to a service, primarily for performance reasons. There is a option to control whether we will pass through traffic to "unknown" services, which is on by default: https://istio.io/latest/docs/tasks/traffic-management/egress/egress-control/#envoy-passthrough-to-external-services.
If you want to restrict traffic between these services, you will need to configure network policy or authn/authz policies to do so. Please see https://istio.io/latest/docs/tasks/security/ for more info. Thanks!


Do not request prefix delegation if no tracking interfaces are setup to use it. Ticket #4436

I'll merge it and implement the fixes


Undraft the bylaws: notice records [due May 23]

Let's undraft the Notice Records policies.
voting group: @commonhaus/cf-egc
Do one of the following:

Approve the PR or react with 👍 (:+1:) if it looks good to you
Review with Comments or react with 👀 (:eyes:) if you're "ok" with it (it may not be your favorite)
If you think it needs discussion or revision

Create a review, add your comments and require changes
Use the +- button to make a suggestion (instead of just adding a comment).

Done, thank you @kenfinnigan.

Thanks @cowtowncoder


✏ Fix typo in docs/tutorial/fastapi/tests.md

s/declate/declare/

@tiangolo small typo fix to look at when you have a sec.

Good catch! :mag: Thank you @feanil! :coffee:


Check if it's possible to retry the Adyen request in some cases

Right now when there's a refuse response from Adyen, we create a failed transaction and we don't allow shopper to retry the request. According to Adyen, it should be retryable in particular cases: https://docs.adyen.com/development-resources/refusal-reasons.
Task: Clarify with Adyen and check our process if it makes sense to retry.

It's not clear if issue might happen and when we should retry. Until we have a real case, the ticket will be closed.


[XP Tracker] Cooking skill always starts at lvl 1

Hey all,
My XP Tracker shows cooking as if I had started lvl 1. So far it's the only skill affected but I haven't tested them all. Restarting the client doesn't fix this.
Here is what it looks liked : http://puu.sh/AuPXq/5803de5679.png

The exp trackers use the in-game trackers to set start/target levels, edit those configurations ingame to change it.

It's sort of what I figured, but I have no idea how to do that. I've checked the settings and didn't see anything related to what you are talking about. Could you give me a few pointers?

Actually I just tested and it doesn't seem to get the start level of the trackers.
@LeviSchuck @deathbeam you know what's up?

The XP on the side bar is based on your vanilla XP tracker goals
https://github.com/runelite/runelite/wiki/XP-Drop

That was it @MESLewis, thank you.
For reason unkown I probably activated those a long time ago and forgot about it.
I'll close this issue then, sorry for the troubles

Yeah I think a lot of people messed with the XP goals when they were first introduced and then have promptly forgotten about it until now


The application is redirecting to a non existing page when the user clicks the site logo.

Description:
When the user click the site logo, it is redirecting to a non existing page.
-Env:
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Hotel_Info site.
In the preview of the site click on the site logo.

CURRENT RESULT:
The application redirects to a non existing page.
https://www.screencast.com/t/hVs3PqBdf
EXPECTED RESULT:
The application should redirects to a valid site, or the logo should not be a link to another page.

Fixed

Bug verified and closed as fixed, build a115998.


Disparity as Grayscale image

HI,
I need the disparity as an image so what the best way to get it?
I am thinking to normalize the MEASURE_DISPARITY from 0-1 then multiply by 255 but the issue each image has a different range so it will be not accurate to make it in real time. Please, if a there better way to do it let me know.

Hi,
Yes, there is a better way to display the disparity map. Use the retrieveImage function with  view=VIEW_DEPTH
The disparity and depth are visually similar.

Ok, thank you @adujardin for this quick response.
I put issue from a long time and I will appreciate more if you could answer it.


Error loading emoji.json when running as Spring Boot

JEmoji version
1.1.5
Steps to reproduce
Thank you for making this library! I am using spring boot with maven
When I run the project directly using vscode everything works great, but when I run using the Spring Boot, this throws an exception trying to load the emojis.json file:
java.lang.IllegalArgumentException: argument "content" is null
at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:4980)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3754)
at net.fellbaum.jemoji.EmojiManager.(EmojiManager.java:37)
It seems like an issue with the class loader not looking at the correct path. I have used this code below in other projects, can you see if changing the EmojiManager.readFileAsString method using this will work for you and I think it should also work for Spring Boot
private static String readFileAsString() {
    ClassPathResource classPathResource = new ClassPathResource(PATH);
    try (InputStream inputStream = classPathResource.getInputStream(); InputStreamReader inputStreamReader = new InputStreamReader(inputStream); BufferedReader bufferedReader = new BufferedReader(inputStreamReader)) {
        return bufferedReader.lines().collect(Collectors.joining(System.lineSeparator()));
    } catch (Exception e) {
         throw new RuntimeException(e);
    }
}

What is expected?
Able to load the emojis.json file while running as Spring Boot
What is actually happening?
Getting an exception
java.lang.IllegalArgumentException: argument "content" is null
at com.fasterxml.jackson.databind.ObjectMapper._assertNotNull(ObjectMapper.java:4980)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3754)
at net.fellbaum.jemoji.EmojiManager.(EmojiManager.java:37)
Any additional comments?
No response

Hi, thank you for reporting this issue.
Your suggestion is unfortunately spring specific so this cannot be used as a fix.
But I have already found a fix for this issue and a new version 1.1.6 is already being released, so it should be available anytime soon.


community: Fixed schema discrepancy in from_texts function for weaviate vectorstore

Description: Fixed schema discrepancy in from_texts function for weaviate vectorstore which created a redundant property "key" inside a class.
Issue: Fixed: https://github.com/langchain-ai/langchain/issues/16692
Twitter handle: @pashvamehta1

@baskaryan @hwchase17

@baskaryan @hwchase17 I think an approval is required, can you please check!


Add Favicon

Add Favicon to the default layout

Update, a ubiquitous term in the digital era, signifies the constant evolution of information, technology, and knowledge. This essay explores the dynamic essay writing service concept of updates, from software upgrades to the ongoing quest for current and accurate information. It delves into the impact of updates on industries, communication, and the ever-changing landscape of our interconnected world.


0.2.0 version release checklist

[ ] Finish management command refactor
[ ] Update changelog with all the stuff
[ ] Django 1.9 and Python 3.5
[ ] New management command features and structure
[ ] Multi-database support
[ ] New way of handling the big downloads to make life easier for smaller computers
[ ] Hundreds of unique keys, field defs and choices patched by Code Rushers
[ ] Automatically generated table documentation page
[ ] .... whatever else ...
[ ] Blog post announcing the updates
[ ] Tag commit in GitHub
[ ] Update setup.py with new version and dependencies (pytz)
[ ] Push new version to PyPI

Aim for Monday AM to get this out.

Do we want to include migrations with this?

Excellent question.
I guess the deciding factor is, do we just about have the calaccess_raw models set in stone? Looks like we have 14 outstanding issues related to setting up choice fields. Maybe we would want to bang through those before shipping the migrations with the app.
Are there other kinds of issues that might lead to changes in calaccess_raw's models?

Not a ton of things but here's what I can think of:

[ ] We currently have inconsistent implementation of DateTime versus Date fields and might want to iron that out
[ ] We are currently using FloatFields in cases where perhaps they should properly be DecimalFields with fixed decimial places
[ ] We are currently commenting out the withheld address fields, even though CSVs acquired via an off-line records request will have that data and therefore won't load into our system
[ ] We might have screwed up a data type or NOT NULL declaration

Then I'm inclined to wait. Seems like we would rather be including as few migrations as possible in the package, and if there isn't a compelling need right now, then why not wait until we get through more of that stuff. In the mean time, just run makemigrations or --run-syncdb after getting the latest changes.


bank-account: implement exercise

To launch Groovy track on Exercism we would love you to help us implement a number of core exercises mentioned in #70.
This guide can be helpful - Porting an Exercise to Another Language Track
And don't hesitate to ask any questions

I'm working on this one ... PR coming soon

PR https://github.com/exercism/groovy/pull/109

Thanks for your effort, @okaram


Cannot use with aeson 1 (lts-8.5)

I get this error when running stack install hpack-convert with resolver lts-8.5:
Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for hpack-convert-0.14.6:
    aeson-<IP_ADDRESS> must match ==0.11.* (latest applicable is <IP_ADDRESS>)

Thanks :)

I use the following sometimes to avoid the having to check in a vanilla stack.yaml file (and add stack.yaml to .gitignore), in case it is helpful for you...It's probably not much better than having the stack.yaml file.
stack.yaml :
> stack init --force --resolver lts-8.13

Will be published shortly in v0.14.7