[#7664] Add traceViewerData.pinpoint for timeline

Adds /traceViewerData.pinpoint which returns timeline data for chrome trace-viewer (chrome://tracing).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ga-ram:x: Do Yoon KimDo Yoon Kim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


follow_redirects needs to be enabled

_extract_filename needs to be updated to properly extract the filename in the case of a forward.


Where to find feeds on drive

Netnewswire 6 - I moved to new computer but did not export my feeds. Where on the backup drive (which is not bootable) can I find my old news feeds? I do not see a ~/Library/Application Support/Netnewswire folder in the old directory.

What type of account were you using?

On Oct 30, 2022, at 6:59 PM, Maurice Parker @.***> wrote:
What type of account were you using?
—
Reply to this email directly, view it on GitHub https://github.com/Ranchero-Software/NetNewsWire/issues/3725#issuecomment-1296383545, or unsubscribe https://github.com/notifications/unsubscribe-auth/A35AKQLIE6JZSXFC42DUJ33WF4DVFANCNFSM6AAAAAARSSUW5M.
You are receiving this because you authored the thread.

Check around in ~/Library/Containers/com.ranchero.NetNewsWire-Evergreen/Data/Library/Application Support/NetNewsWire/Accounts.  Your Subscriptions.opml file will be in there somewhere.

That was the solution I needed. Gracias!

On Oct 30, 2022, at 7:02 PM, Maurice Parker @.***> wrote:
Check around in ~/Library/Containers/com.ranchero.NetNewsWire-Evergreen/Data/Library/Application Support/NetNewsWire/Accounts. Your Subscriptions.opml file will be in there somewhere.
—
Reply to this email directly, view it on GitHub https://github.com/Ranchero-Software/NetNewsWire/issues/3725#issuecomment-1296384910, or unsubscribe https://github.com/notifications/unsubscribe-auth/A35AKQOBNNZDEPROPKSGIHLWF4EC7ANCNFSM6AAAAAARSSUW5M.
You are receiving this because you authored the thread.

One other issue - doing this on Ventura, and in the Privacy & Security area os System Settings, it seems to be stuck on “Allow applications downloaded from” —> “App Store and identified developers” —> NetNewsWire was blocked from use because it is not from an identified developer. “Open Anyway”.
NetNewsWire is working, it has all of my feeds, but clicking the “open anyway” button does nothing, and I cannot open OTHER things that need to be opened anyway.
How can I make that unstick?

On Oct 30, 2022, at 7:08 PM, Steven Weyhrich (a2history) @.***> wrote:
That was the solution I needed. Gracias!

On Oct 30, 2022, at 7:02 PM, Maurice Parker @.***> wrote:
Check around in ~/Library/Containers/com.ranchero.NetNewsWire-Evergreen/Data/Library/Application Support/NetNewsWire/Accounts. Your Subscriptions.opml file will be in there somewhere.
—
Reply to this email directly, view it on GitHub https://github.com/Ranchero-Software/NetNewsWire/issues/3725#issuecomment-1296384910, or unsubscribe https://github.com/notifications/unsubscribe-auth/A35AKQOBNNZDEPROPKSGIHLWF4EC7ANCNFSM6AAAAAARSSUW5M.
You are receiving this because you authored the thread.

What are "OTHER things"?

I’m in the process of re-adding all of my applications, and for some of them I have to use the “open anyway” button. However, NetNewsWire seems to be hogging it right now.

On Oct 30, 2022, at 7:38 PM, Maurice Parker @.***> wrote:
What are "OTHER things"?
—
Reply to this email directly, view it on GitHub https://github.com/Ranchero-Software/NetNewsWire/issues/3725#issuecomment-1296402847, or unsubscribe https://github.com/notifications/unsubscribe-auth/A35AKQOMC277FQ5RYA3CXKTWF4IJ5ANCNFSM6AAAAAARSSUW5M.
You are receiving this because you authored the thread.


Reduce amount of objects upon headers normalization

In response to https://github.com/httprb/http/issues/317#issuecomment-197042971

@httprb/core I'll merge this down unless any objections

Looks fine. Only concern would be looking at our header tests it looks like we don't really test our normalization? Could potentially break something without knowing it.

@zanker all methods in https://github.com/httprb/http/blob/master/spec/lib/http/headers_spec.rb have examples with canonical header names and not yet normalized forms.
Generally this patch does not changes anything in logic except it simply avoids creation of new (String|Array) objects when it might be avoided.

Thanks for this! I was lucky enough that we already implemented sort of a fix where we support both formats for known keys but this allows us to get rid of some internal hacks eventually.

:thumbsup: thanks for doing this!


Fix escape sequences

Solves #2378

Thanks @ab-10. Unfortunately you've committed some logfiles. I'll merge manually.

Hi @stevenbird, I removed the accidentally merged logfiles in the last commit, is it still a problem?

Thanks @ab-10! Sorry for the delay.


Request.toString() miscalculates length of payload

Test Case
String payload = "123456789.123456789.123456789.";
Request request = Request.newPost().setPayload(payload);

System.out.println("Payload length: "+payload.length());
System.out.println(request.toString());

Output
Payload length: 30
null-POST   MID=   -1, Token=[null], OptionSet=[], "123456789.123456789.".. 22 bytes

The payload is 30 bytes but Request.toString calculates 22 bytes.
Proposed Fix
In class Request, in method toString(), replace the current line
if (payload.length() != len+2) payload += ".. " + payload.length() + " bytes";

by
if (payload.length() != len+2) payload += ".. " + len + " bytes";

Fixed in https://github.com/eclipse/californium/pull/36


port: Support timestamp without timezone postfix in getTimeOfDay

Fixes #3638
Cause of the issue

The input of datetime functions (like getTimeOfDay), only accepts the original datetime format("yyyy-MM-ddTHH:mm:ss.fffZ")
The output format of convertFromUTC was changed from "yyyy-MM-ddTHH:mm:ss.fffZ" to "yyyy-MM-ddTHH:mm:ss.fffffffK" in R12, which is correct because a time converted from UTC should no longer have the "Z" postfix.  This is also aligned with WDL's convention.
Then the result of convertFromUTC doesn't fit in the input of getTimeOfDay, error occurs.

In a summary, the current datetime functions input format is too strict.
Changes
Expand the input of date time functions to cover the case of timestamp without timezone postfix.

Pull Request Test Coverage Report for Build 792571849

24 of 25 (96.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+6.0e**-05%**) to 84.459%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/adaptive-expressions/src/builtinFunctions/getTimeOfDay.ts
23
24
95.83%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 790455270:
6.0e-05%

Covered Lines:
18935

Relevant Lines:
21339

💛  - Coveralls

@Danieladu what's the status of this?

I have marked it as "Ready for review"


text replacing problem

It translate chinese as 口口 ，and it can't load textmeshpro font, here's the log.
[Message:   BepInEx] BepInEx <IP_ADDRESS> - Game (2022/10/5 19:08:17) [Info   :   BepInEx] Running under Unity v2<IP_ADDRESS>22547 [Info   :   BepInEx] CLR runtime version: 4.0.30319.42000 [Info   :   BepInEx] Supports SRE: True [Info   :   BepInEx] System platform: Bits64, Windows [Message:   BepInEx] Preloader started [Info   :   BepInEx] Loaded 1 patcher method from [BepInEx.Preloader <IP_ADDRESS>] [Info   :   BepInEx] 1 patcher plugin loaded [Info   :   BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] [Message:   BepInEx] Preloader finished [Warning:  HarmonyX] AccessTools.Property: Could not find property for type UnityEngine.Application and name isBatchMode [Message:   BepInEx] Chainloader ready [Message:   BepInEx] Chainloader started [Info   :   BepInEx] 2 plugins to load [Info   :   BepInEx] Loading [XUnity Auto Translator 5.1.0] [Info   :XUnity.AutoTranslator] Version of TextMesh Pro: <IP_ADDRESS>b1. [Error  :XUnity.AutoTranslator] An error occurred while initializing harmony detour bridge. System.NullReferenceException: Object reference not set to an instance of an object   at MonoMod.RuntimeDetour.HarmonyDetourBridge.Init (System.Boolean forceLoad, MonoMod.RuntimeDetour.HarmonyDetourBridge+Type type) [0x00305] in <4e2760c7517c4ea79c633d67e84b319f>:0    at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.InitializeHarmonyDetourBridgeSafe () [0x00000] in <369dd9e4fbad4897a4fae8235ba4292d>:0    at XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.InitializeHarmonyDetourBridge () [0x00007] in <369dd9e4fbad4897a4fae8235ba4292d>:0  [Warning:XUnity.AutoTranslator] Cannot use same fallback endpoint as primary. [Info   :XUnity.AutoTranslator] Loaded XUnity.AutoTranslator into Unity [2017.3.1f1] game. [Info   :   BepInEx] Loading [XUnity Resource Redirector 2.0.0] [Message:   BepInEx] Chainloader startup complete [Info   :XUnity.AutoTranslator] Skipping plugin scan because no plugin-specific translations has been registered. [Info   :XUnity.AutoTranslator] Attempting to load TextMesh Pro font from asset bundle. [Warning:XUnity.AutoTranslator] Could not load asset bundle while loading font: arialuni_sdf_u2019

You can look at my post, or add QQ1278925921, I will tell you how to solve it

in the game Zombie_Sex_and_Virus_Reincarnation (RJ338515) seems to translate. but some characters in words are replaced by the character "口" I tried to specify the font. It did not help.

what it should look like:
с口а口ала   = сначала
я口口н口кий =японский
........................
in English, the same

Sorry, I suddenly found that I can't help you. My MOD loader is MelonLoader, and the plug-in is also based on MelonLoader. It seems that BepInEx cannot be used
蝼蚁
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "bbepis/XUnity.AutoTranslator"                                                                                @.>;
发送时间: 2022年11月4日(星期五) 下午5:25
@.>;
<EMAIL_ADDRESS>主题: Re: [bbepis/XUnity.AutoTranslator] text replacing problem (Issue #319)
in the game Zombie_Sex_and_Virus_Reincarnation (RJ338515) seems to translate. but some characters in words are replaced by the character "口" I tried to specify the font. It did not help.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

https://github.com/bbepis/XUnity.AutoTranslator/issues/290
https://github.com/bbepis/XUnity.AutoTranslator/issues/287


[BUG] LOGIN - FR - Elements on /login screen are partially translated

Describe the bug
On the login screen, following fix of #823, new elements are not translated.

"or" and "Sign up with email" should be
"ou" and "Inscrivez-vous avec votre courriel/adresse électronique"
To Reproduce
Steps to reproduce the behavior:

Go to https://reach4help-staging-web-client.firebaseapp.com/
Click on French
Select 'Continuez'
Notice some elements are still in english

Expected behavior
Pages should be completely in french
Windows 10 - Chrome Browser
R4H v2.1.0

ZenHub Information
This information is updated automatically. To modify it, please use ZenHub.

I am fixing this bug now


Add bpftrace_pxls part 1 - Issue #291

As described in Issue #291  the first part of bpftrace pxl scripts.
Thx to @oazizi000 for the support.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This is an amazing contribution to the Pixie Community. Thank you!

So glad to have this contribution @avwsolutions. I know debugging the bpftrace scripts was not easy, so this is truly appreciated!
A couple high-level things we should do before pulling into main:

Let's make sure to keep the license from the original bpftrace scripts inside the BPFtrace program variables.
We'll want to get the time fields into the output records.

Again, this is great :)

I will update the scripts with original license info. Totally agree with that.
Will do some additional research  on the time fields

Added the time column to all of them.  With two  of them still some minor things (nap_time + dc_snoop) that are not working perfectly. Seems that the bpftrace filter part isn’t doing things as expected. Maybe I oversee things. Already pushed my latest working scripts.

Should we consider putting the bpftrace scripts in a separate directory?  cc @nserrino who's thinking about the process of script discovery.

Thanks so much @avwsolutions. This looks great!
One last request, can we move these scripts to src/pxl_scripts/pxbeta? I'd like to put them in pxbeta since they depend on the right Linux headers being identified, which means they might not run properly in some environments.
I'll accept once we make the move.

I have moved all six scripts to pxbeta stage. Let's work on a solution for the linux headers first indeed.

Thanks @avwsolutions for the contribution. Pulling it in now.

https://github.com/pixie-labs/pixie/commit/333a6bf71ebff4a4491ac7c1e3147df6774fb7c3


add configure.sh to generate _CoqProject and Makefiles so the repo can be used with opam

Creates a configure.sh script to generate a _CoqProject, Makefile and Makefile.conf.
Also add a opam file.
I would be really happy if this can be merged as I would then be able to directly integrate it in my
personal opam repository (can also be added to the https://github.com/coq/opam-coq-archive/tree/master/extra-dev ).

Thank you :)


Add memory and CPU utilization for pods in openshift-network-node-identity namespace

https://github.com/openshift/cluster-network-operator/pull/1983 adds a new namespace (openshift-network-node-identity) and we need to be able to see the memory and CPU utilization for pods inside it.

cc @vishnuchalla / @rsevilla87


Pipenv 11.10.4 doesn't resolve/install package's dependencies reliably

Pipenv 11.10.4 doesn't resolve/install package's dependencies reliably.
Expected result
Correct parsing, locking and installation of a package's install_requires as stated in their setup.py.
Actual result
Some dependencies are not locked in Pipfile.lock and therefore not installed, but pipenv graph shows them as installed.
Steps to replicate
chiron@chiron-pc:~/Documents/casita$ pipenv --version
pipenv, version 11.10.1

chiron@chiron-pc:~/Documents/casita$ cat Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
django = "*"
django-jinja = "*"
django-money = "*"
django-stronghold = "*"
django-crispy-forms = "*"
django-extensions = "*"
feedparser = "*"
django-lifecycle = "*"

[dev-packages]
django-debug-toolbar = "*"
jupyter = "*"

[requires]
python_version = "3.6"

chiron@chiron-pc:~/Documents/casita$ pipenv --three
Creating a virtualenv for this project…
Using /usr/bin/python3 (3.6.3) to create virtualenv…
⠋Running virtualenv with interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/chiron/.local/share/virtualenvs/casita-CQsjLFQc/bin/python3
Also creating executable in /home/chiron/.local/share/virtualenvs/casita-CQsjLFQc/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /home/chiron/.local/share/virtualenvs/casita-CQsjLFQc

chiron@chiron-pc:~/Documents/casita$ pipenv sync --dev
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (6a553e)!
Installing dependencies from Pipfile.lock (6a553e)…
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 13/13 — 00:00:09
To activate this project's virtualenv, run the following:
 $ pipenv shell
All dependencies are now up-to-date!

chiron@chiron-pc:~/Documents/casita$ pipenv shell
Spawning environment shell (/bin/bash). Use 'exit' to leave.
chiron@chiron-pc:~/Documents/casita$ . /home/chiron/.local/share/virtualenvs/casita-CQsjLFQc/bin/activate

(casita-CQsjLFQc) chiron@chiron-pc:~/Documents/casita$ pipenv graph
django-crispy-forms==1.7.2
django-debug-toolbar==1.9.1
  - Django [required: >=1.8, installed: 2.0.4]
    - pytz [required: Any, installed: 2018.4]                            # will be installed
  - sqlparse [required: >=0.2.0, installed: ?]                          # will NOT be installed
django-extensions==2.0.7
  - six [required: >=1.2, installed: 1.11.0]
django-jinja==2.4.1
  - django [required: >=1.8, installed: 2.0.4]
    - pytz [required: Any, installed: 2018.4]                             # will be installed
  - jinja2 [required: >=2.5, installed: 2.9.5]                             # will NOT be installed
django-lifecycle==0.3.0
django-money==0.13.2
  - Django [required: >=1.8, installed: 2.0.4]
    - pytz [required: Any, installed: 2018.4]                             # will be installed
  - py-moneyed [required: >=0.7, installed: 0.7.0]                 # will be installed
  - setuptools [required: Any, installed: 39.1.0]                      # bootstrapped with venv
django-stronghold==0.3.0
feedparser==5.2.1
jupyter==1.0.0
  - ipykernel [required: Any, installed: ?]                               # will NOT be installed
  - ipywidgets [required: Any, installed: ?]                             # will NOT be installed
  - jupyter-console [required: Any, installed: ?]                     # will NOT be installed
  - nbconvert [required: Any, installed: ?]                              # will NOT be installed
  - notebook [required: Any, installed: ?]                              # will NOT be installed
  - qtconsole [required: Any, installed: ?]                              # will NOT be installed

(casita-CQsjLFQc) chiron@chiron-pc:~/Documents/casita$ pipenv run pip freeze
Django==2.0.4
django-crispy-forms==1.7.2
django-debug-toolbar==1.9.1
django-extensions==2.0.7
django-jinja==2.4.1
django-lifecycle==0.3.0
django-money==0.13.2
django-stronghold==0.3.0
feedparser==5.2.1
jupyter==1.0.0
py-moneyed==0.7.0
pytz==2018.4
six==1.11.0

Thanks for the report and sorry for the frustration! You didn't include your lockfile so I can't really see what it contains, but I can make some general statements because we do have an issue with the resolver
Ipython is specifically affected by this (and therefore so is jupyter to some extent), and as you can see pipenv graph says installed: ?
I'm going to close this issue because we are tracking resolver issues in #1901 for now, but thanks for letting us know!
P.S. The release you mentioned is a development release, there is an actual release out which you should install

Hey, thanks for the quick response!
Okay, the IPython-related problem is a bit annoying, but I can live with that, currently not using Notebook alot.
However - just to clarify - the resolving problem seems not to be limited to IPython.
In my given case Jinja2 (dependency of django-jinja) will not be installed although pipenv graph claims it is installed, but it's not in the output of pipenv run pip freeze. Also Django's runserver will crash upon template rendering with ImportError: No module named 'jinja2'. So it's 100% not installed.
Or is this some sort of crossover issue with IPython packages being part of the pipenv sync call?
Can't provide a lockfile right know as I don't have access to my laptop for a couple of days, but I can remember that my missing dependencies weren't appearing in the lockfile either.

I’m just making a lot of possibly incorrect assumptions about the connection between these issues, there’s a branch you can try from #2076 — pip install -e git+https://github.com/pypa/pipenv.git@bugfix/1952-install-only-current-python#egg=pipenv


[BUG] flaky codium test in cmp-sources

plugins-completion-cmp-all-sources> Running test for all-sources
plugins-completion-cmp-all-sources> ERROR: please log in with :Codeium Auth

See https://github.com/nix-community/nixvim/pull/2035#issuecomment-2295036601

@MattSturgeon I forgot about this... have we been seeing this much lately after all the test refactoring?

I haven't seen it in a while, but it was always intermittent


Add Haskell Language & Adding 2 New Haskell Based Projects

juancuk-hs - Onion vanity URL generator written in Haskell
blockell - Experimental blockchain implementation using Haskell

Njir mantap juancuk 🤣


Deepcopy of info in array constructors.

Closes https://github.com/mne-tools/mne-python/issues/3682
We already do it for EpochsArray.
Also closes https://github.com/mne-tools/mne-python/issues/3683

Current coverage is 87.40% (diff: 100%)

Merging #3685 into master will increase coverage by <.01%

@@             master      #3685   diff @@
==========================================
  Files           343        343
  Lines         60888      60891     +3
  Methods           0          0
  Messages          0          0
  Branches       9307       9307
==========================================
+ Hits          53220      53223     +3
  Misses         4912       4912
  Partials       2756       2756

Powered by Codecov. Last update 24ca938...4fadd10

Looks good to me.

Thanks @jaeilepp !

Ready to go from your end @jaeilepp ?

travis isn't happy

@jaeilepp I assume this is MRG from your end? LGTM so I changed the title to MRG+1

Yeah, ready from my end. Travis failed earlier for reasons I don't understand. Restarting made it pass.

thx @jaeilepp


translated 404 page does not work

What version of starlight are you using?
0.13.0
What version of astro are you using?
3.1.4 ~ 3.6.0
What package manager are you using?
pnpm
What operating system are you using?
macOS
What browser are you using?
Safari
Describe the Bug
I followed https://starlight.astro.build/guides/i18n/#translate-starlights-ui to setup i18n, but 404 page is not translated in Japanese somehow. The root language is English. whenever I access to http://localhost:4321/ja/not-valid-page, it shows English 404 page instead of Japanese one. I tried removing the custom 404.md and creating the i18 folder with ja.json inside, but still always shows the English 404 page.
Is it a bug or am I missing something?
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-yrwx8d?file=astro.config.mjs,src%2Fcontent%2Fi8n%2Fja.json
Participation

[ ] I am willing to submit a pull request for this issue.

Thank you for the issue @Gumichocopengin8!
Localized 404 pages are a bit tricky — we should probably document them in more detail. Notably, they will not work during astro dev but can be configured to work as expected in production on some hosts. Many hosts know how to use a root 404.html file as the 404 page by default, but I haven’t found any that automatically understand custom 404 pages nested under language paths, so this always requires a bit of manual set-up.

Add a 404.md for your chosen language, e.g. in your case src/content/docs/ja/404.md

Set up redirects on your host. This will vary a lot depending on your host. In my experience, Netlify does this best with their Custom 404 page handling. We have a similar set-up for Vercel in the Starlight docs for this.

In astro dev, you can preview your 404 page by visiting it directly, e.g. https://localhost:4321/ja/404.

Thank you for your comment. with vercel set-up, it redirect to the language specific 404 page, so 404.text key value in i18n/ja.json isn't effective with multiple-langue support?

404.text key value in i18n/ja.json isn't effective with multiple-langue support?

Correct. Although, I think we could generate translated 404 pages by default now I think about it. Would you expect a ja/404 to be generated for you without having to add a ja/404.md? I think that should be possible just based on locale configuration.

Would you expect a ja/404 to be generated for you without having to add a ja/404.md?

Yes. If ja/404.md or i18/ja.json is present, that overwrites the default value. However, i18/ja.json is only used when Japanese is the default language, right? so probably just ja/404.md??

i18/ja.json is only used when Japanese is the default language, right?

Currently, yes. But we could in theory use it automatically for other languages too and only override that if a 404.md for the language is found.

I also expect no redirect settings for Vercel or Netlify

This will always be necessary due to how static sites work — Starlight has no control over 404 behaviour, so for multilingual 404s, there will always be some host-specific set-up unfortunately.

That makes sense. Thank you.

Sorry one more thing.
Which elements are required for the 404 page? Is the following example sufficient or do I need other elements?
{
  "$schema": "https://openapi.vercel.sh/vercel.json",

  "routes": [
    { "src": "/(?<lang>[^/]*)/(.*)", "dest": "/$lang/404/", "status": 404 }
  ]
}

nit: Just realized that the verbal.json example is a bit outdated. I saw this warning. routes should be replaced with something else.

Which elements are required for the 404 page? Is the following example sufficient or do I need other elements?

That example should work! $schema is not required but gives you autocompletion and hints in your code editor, so is helpful.

Also, I dont need to modify src/content/config.ts for multi-language 404 page, right?

No, you don’t need to.

Just realized that the verbal.json example is a bit outdated. I saw this warning. routes should be replaced with something else.

Correct. Unfortunately there is no way to do this kind of 404 redirect using Vercel’s newer configuration format. However, we were recommended to use routes by Vercel team members, so I think it’s safe to use.

Big thanks!! Everything is clear now!


Build error  - failing CMake @ "boost-build-Debug.cmake " - for windows

Doing  build on the Windows - stuck  with following error.
Here is the log .
Here is the log .
Performing configure step for 'boost'
-- boost configure command succeeded.  See also  GitHub/cpp-ethereum/deps/src/boost-stamp/boost-configure-*.log
Performing build step for 'boost'
**CMake Error at  GitHub/cpp-ethereum/deps/src/boost-stamp/boost-build-Debug.cmake:16 (message):
Command failed: 1
 'b2.exe' '--ignore-site-config' 'stage' 'threading=multi' 'link=static' 'variant=release' 'address-model=64' '--with-chrono' '--with-date_time' '--with-filesystem' '--with-random' '--with-regex' '--with-test' '--with-thread' '--with-program_options'**

Boost-build-out.log  have following additional info
GitHub/cpp-ethereum/deps/src/boost/tools/build/src/tools\msvc.jam:834: in generate-setup-cmd
*** argument error

rule maybe-rewrite-setup ( toolset : setup-script : setup-options : version : rewrite-setup ? )
called with: ( msvc :  :  : default :  )
missing argument setup-script
GitHub/cpp-ethereum/deps/src/boost/tools/build/src/tools\msvc.jam:746:see definition of rule 'maybe-rewrite-setup' being called

Please provide SSCCE example with info about CMake version, arguments and generator you're using.

Closing inactive discussion.


Hi All I am very new with superset, i tired to add a mysql database, all connection tested result seem OK with the list of the tables at the bottom of page, but when I tried to save it present the error: General Error <class 'sqlalchemy.exc.OperationalError'>. Any one have faced this before?

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
Expected results
Actual results
Steps to reproduce

Please close.


Fix benchmark params, log resolution

This PR adds some spatial resolution stats to the log, and updates the performance benchmark spatial resolution. cc @bloops

bors r+

bors r+


gtm-support nonce missing

I am using this module in conjunction with  "@gtm-support/vue-gtm": "^2.1.0" with nonce enabled.
As the GTM script is loaded dynamically via the module, it is not adding the nonce to the the GTM scipt node.
The GTM script initialisation has an option to pass the nonce. So the question is how can i get this nonce value from the nuxt-security module ?

Hey,
What about using https://nuxt-security.vercel.app/documentation/headers/csp#nonces-for-ssr?

You should also be able to use https://github.com/Baroshem/nuxt-security/blob/main/src/runtime/composables/nonce.ts

Hey @joerees
Do you need any additional help?

Hi @joeres,
I would have thought that if you are using CSP with strict-dynamic (which is the default setup of Nuxt-Security), you should not have to insert the nonce yourself.
But it all depends on how @gtm-support/vue-gtm is loading the GTM script. Could you share a repro or some additional info on the error ?

Closing as there is no further activity.
If needed, do not hesitate to reopen the issue :)

I have similar issue. I am using vue-gtm plugin for adding gtm support to my project. I add it as a nuxt plugin and I try to pass the nonce value from useNonce composable.
export default defineNuxtPlugin((nuxtApp) => {
    const config = useRuntimeConfig();
   const nonceValue = useNonce();

    nuxtApp.vueApp.use(
        createGtm({
            id: 'GTM-xxx'
            defer: false,
            compatibility: false,
            enabled: true,
            loadScript: true,
            trackOnNextTick: false,
            nonce: nonceValue // it is an empty string
        })
    );
});

As far as I can see, useNonce will only return nonce value when ssr context is available, so I can't get it on the client. Any idea how I can tackle it in this particular case? Thank you.

Hi @dariasamo
As far as I understand, you are trying to get the nonce value on the client. This is not possible.
As you mentioned rightly, the nonce value is only accessible in the server. Clients cannot insert nonces by themselves, as this would defeat the point of CSP nonces.
Can you share a bit more about your setup (SSR, SSG, Nuxt version) and how vue-gtm works for you ?

Hi @vejja thanks for explanation, it makes sense.
It's Nuxt 3.10.3, universal mode, nuxt-security 1.2.0. I use vue-gtm to simplify sending tracking to gtm. I considered adding gtm script manually with useHead, so adding nonce is handled automatically but then I lose the route navigation tracking which vue-gtm handles out of the box. There is an option to use a vue-gtm wrapper for Nuxt with it's configuration in nuxt config but I would still have to pass the nonce value somehow:
export default defineNuxtConfig({   ...   gtm {     ...    nonce: ... // ?   } })

I don't know how vue-gtm inserts the gem script, but can you try using that wrapper without setting the nonce option ?
Also let me know, when you hit your index page, is the <script> tag for GTM already included in the server response ? You will need to inspect the <head> section of the raw HTML response in the Network tab of the inspector (not the Elements tab)

I tried using it without setting the nonce but then there is no nonce added on the script tag, so there are CSP errors. Regarding your second question, I just checked and it's not there yet.

Ok so this means that vue-gtm is not inserting the tag from the server-side
In that case there should be no CSP errors if you are using strict-dynamic mode.
Can you share a screenshot of the CSP errors in the console ?

@dariasamo
Let me know if you need any help
The GTM doc section you mention does not use strict-dynamic, which is our default and which disable domain whitelisting.
Normally you should be fine with strict-dynamic, if it's not the case I'm glad to help


Change label: GO:0080188 RNA-directed DNA methylation

The label of 'RNA-directed DNA methylation' does not mention gene silencing; I will change to
'gene silencing by RNA-directed DNA methylation', so it fits more closely the definition.

also changed subclass relation:

'DNA methylation': change from subclass to 'has part'

Created new parent:
pre-transcriptional gene silencing by RNA

So, the structure is now:
. 'gene silencing by RNA'
.. 'pre-transcriptional gene silencing by RNA'
... 'gene silencing by RNA-directed DNA methylation'
.. 'co-transcriptional gene silencing by RNA interference machinery'
.. 'post-transcriptional gene silencing by RNA'
... 'gene silencing by miRNA'
... 'RNA interference'

@ValWood @colinlog @RLovering Does this correspond to what we discussed yesterday?

Yes. This structure is logical and concise.
You could envisage further qualifying the top term 'gene silencing by RNA'
by using 'gene silencing by non-coding RNA' ?

yes!


desc when not there doesnt show up

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2315

PR #2316   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: 5hnII290vum6FkNNUUml


Support hardware revB & SDK v2.0

related issue: crankstart #45
Note: This is MVP, highly need testing and reviewing. 🙄

There's missed new list icon for Crank.toml. I'll add it.

I gave this a test, using all combinations just out of curiosity.

With simulator 1.x: OK
With simulator 2.0: OK
With device 1.x: After compilation, it prints "Cross Reference Table" and 1,385 lines of a symbol/file table, seemingly listing every symbol in the game; hopefully this can be hidden.  When the game goes to start, the device crashes with "CAPI handler function wasn't located in loaded data", which I believe is incorrect - I think it should say "Updated Needed" for a 2.0 build that 1.x firmware knows not to launch.
With device 2.0: I get the same Cross Reference Table spam, then the device hard freezes in a way I haven't seen before.  Eventually an error pops up and links to https://help.play.date/e0/

I can't actually review the code changes in this PR; I'm hoping someone else understands them to give a proper review.

Hey, maintainer of https://github.com/adamsoutar/playboy here 👋
This patch hasn't quite worked for me (but thanks for working on it!). It builds+runs successfully on Simulator, but when building with crank build --device, compilation fails like so:
warning: dropping unsupported crate type `cdylib` for target `thumbv7em-none-eabihf`

warning: `playboy` (lib) generated 1 warning
    Finished dev [optimized + debuginfo] target(s) in 0.03s
/usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /Users/adam/Projects/playboy/target/thumbv7em-none-eabihf/debug/libplayboy.a(compiler_builtins-9c4f4ae0d9c39fb0.compiler_builtins.d1210c5e9d2346bd-cgu.1.rcgu.o): in function `compiler_builtins::mem::impls::copy_forward::copy_forward_misaligned_words':
/Users/adam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/compiler_builtins-0.1.95/src/mem/impls.rs:76: undefined reference to `core::panicking::panic'
collect2: error: ld returned 1 exit status
Error: gcc failed with error ExitStatus(unix_wait_status(256))

crank package doesn't hard-fail, but it produces a PDX that crashes to e0 as described by @tjkirch

Hi. Thanks for working on this patch. I tested this on Windows 11. Works on simulator 2.0, but I get an e0 crash on device 2.0 similar to @tjkirch above when I try to run something as simple as the hello_world.rs from the crankstart repo. I'll try some other things and report back, but let me know if there's any information that can help you here.
Same e0 error was reported here, suggesting a fix coming soon, but I have no idea if it has anything to do with what we're seeing here.
I tried the hard-coded ARM compiler v9-2019-q4-major and v10 2021.10, I think. Same issue.

Test Requirements

PATCHED PDC
nightly rust toolchain

Place the patched pdc to replace the existing one in the SDK. The patched pdc must be at $PLAYDATE_SDK_PATH/bin/pdc.
@tjkirch

Cross Reference Table

It will be hidden, thanks for remind 👍

the device crashes with "CAPI handler function wasn't located in loaded data"
and
device hard freezes in a way I haven't seen before ... error e0

Please read Test Requirements few lines above. PDC in SDK 2.0 have issues with sections and reloc-table. Try to use patched pdc.
@adamsoutar, @CarlosMendonca What version of pdc did you use?

Sorry for inconvenience and missed instructions for testing.
Thanks to all so much for feedback! ❤🔥 It absolutely necessary.
This PR still need tests and feedback, as well as pathed pdc will released in the SDK.

Also, a little bit of good secret news

Currently I'm working on "crank2.0". That's my private private project, currently private but I want to open source it. That's not a fork of crank, but initially highly inspired by crank. That's almost year of ~lazy~ work. It will probably be published in a separate repository in the near future, or in the crank repository here. Exactly how will be a joint decision of all maintainers of the org.

I tested your change with SDK 2.0.1, which has the pdc segment fix, and it does now launch on device.

Well, SDK2.0.1 just released with fixed pdc as I hope.

pdc: fixed processing of pdex.elf files with more than one segment

@tjkirch, oh okay I'll investigate it today or tomorrow.

Confirmed it works with the patched pdc.exe (2.0.0-dev.156439) on Windows 11 with the latest ARM compiler ("12.2.MPACBTI-Rel1 (Build arm-12-mpacbti.34)) 12.2.1 20230214"). Thanks, @boozook! It should work with SDK 2.0.1 binaries that were released today.
For Windows users, SDK 2.0.1 is not yet available on Winget, but people can install it manually. I'll probably submit a PR to the Winget package repo later.

For Windows users, SDK 2.0.1 is not yet available on Winget, but people can install it manually. I'll probably submit a PR to the Winget package repo later.

Look at how I implement "latest" in the get-playdate-sdk action. It should work anyway ;)

So, I'll update CI here and then will merge this pr.

Cross Reference Table spam fixed.
Ready to merge.

@adamsoutar, is that problem steel exist?


Allow edit of question

This is missing feature compared to GPT

In the sidebar chat window, if you press ⬆, it will display the previous chat entry.
I do this all the time, so I can edit the question.

I accept that as resolution and I will close it.


Synthesis failed for nodejs-service-management

Hello! Autosynth couldn't regenerate nodejs-service-management. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the nodejs-service-management API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2021-04-09 00:50:35,533 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-04-09 00:50:35,537 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-04-09 00:50:35,541 synthtool [DEBUG] > Generating code for: //google/api/servicemanagement/v1:api-servicemanagement-v1-nodejs.
DEBUG:synthtool:Generating code for: //google/api/servicemanagement/v1:api-servicemanagement-v1-nodejs.
2021-04-09 00:50:40,606 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpd5oa_0ie.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpd5oa_0ie.
2021-04-09 00:50:40,617 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-04-09 00:50:40,634 synthtool [INFO] > successfully generate `src/index.ts`
INFO:synthtool:successfully generate `src/index.ts`
.eslintignore
.eslintrc.json
.gitattributes
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.github/workflows/ci.yaml
.kokoro/.gitattributes
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/lint.cfg
.kokoro/continuous/node12/samples-test.cfg
.kokoro/continuous/node12/system-test.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/populate-secrets.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/samples-test.cfg
.kokoro/presubmit/node12/system-test.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/publish.sh
.kokoro/release/docs-devsite.cfg
.kokoro/release/docs-devsite.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.kokoro/trampoline_v2.sh
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
.trampolinerc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
api-extractor.json
renovate.json
samples/README.md
2021-04-09 00:50:40,760 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-04-09 00:50:40,761 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated<EMAIL_ADDRESS>Breaking change found in this patch version

><EMAIL_ADDRESS>postinstall /home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/protobufjs
> node scripts/postinstall

><EMAIL_ADDRESS>prepare /home/kbuilder/.cache/synthtool/nodejs-service-management
> npm run compile-protos && npm run compile

><EMAIL_ADDRESS>compile-protos /home/kbuilder/.cache/synthtool/nodejs-service-management
> compileProtos src

installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>
><EMAIL_ADDRESS>compile /home/kbuilder/.cache/synthtool/nodejs-service-management
> tsc -p . && cp -r protos build/

node_modules/@types/sinon/index.d.ts:778:36 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'TimerId'.

778     type SinonTimerId = FakeTimers.TimerId;
                                       ~~~~~~~

node_modules/@types/sinon/index.d.ts:780:39 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'InstalledMethods'.

780     type SinonFakeTimers = FakeTimers.InstalledMethods &
                                          ~~~~~~~~~~~~~~~~

node_modules/@types/sinon/index.d.ts:781:20 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'NodeClock'.

781         FakeTimers.NodeClock &
                       ~~~~~~~~~

node_modules/@types/sinon/index.d.ts:782:20 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'BrowserClock'.

782         FakeTimers.BrowserClock & {
                       ~~~~~~~~~~~~

Found 4 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2021-04-09T07_51_12_170Z-debug.log
2021-04-09 00:51:12,198 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
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/nodejs-service-management/synth.py", line 41, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 259, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 171, in install
    shell.run(["npm", "install"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
2021-04-09 00:51:12,252 autosynth [ERROR] > Synthesis failed
2021-04-09 00:51:12,252 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 99f644c build: fix blank distribution name (#29)
2021-04-09 00:51:12,272 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-04-09 00:51:12,299 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
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 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, 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 nodejs-service-management. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the nodejs-service-management API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
Cloning googleapis.
DEBUG:synthtool:Cloning googleapis.
2021-04-10 00:54:27,337 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/googleapis
2021-04-10 00:54:27,341 synthtool [DEBUG] > Which version of bazel will I run?
DEBUG:synthtool:Which version of bazel will I run?
bazel 3.0.0
2021-04-10 00:54:27,344 synthtool [DEBUG] > Generating code for: //google/api/servicemanagement/v1:api-servicemanagement-v1-nodejs.
DEBUG:synthtool:Generating code for: //google/api/servicemanagement/v1:api-servicemanagement-v1-nodejs.
2021-04-10 00:54:31,270 synthtool [SUCCESS] > Generated code into /tmpfs/tmp/tmpylvr2sr3.
SUCCESS:synthtool:Generated code into /tmpfs/tmp/tmpylvr2sr3.
2021-04-10 00:54:31,280 synthtool [DEBUG] > Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
DEBUG:synthtool:Using precloned repo /home/kbuilder/.cache/synthtool/synthtool
2021-04-10 00:54:31,296 synthtool [INFO] > successfully generate `src/index.ts`
INFO:synthtool:successfully generate `src/index.ts`
.eslintignore
.eslintrc.json
.gitattributes
.github/CODEOWNERS
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/release-please.yml
.github/workflows/ci.yaml
.kokoro/.gitattributes
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/docs.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node12/common.cfg
.kokoro/continuous/node12/lint.cfg
.kokoro/continuous/node12/samples-test.cfg
.kokoro/continuous/node12/system-test.cfg
.kokoro/continuous/node12/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/populate-secrets.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node12/common.cfg
.kokoro/presubmit/node12/samples-test.cfg
.kokoro/presubmit/node12/system-test.cfg
.kokoro/presubmit/node12/test.cfg
.kokoro/publish.sh
.kokoro/release/docs-devsite.cfg
.kokoro/release/docs-devsite.sh
.kokoro/release/docs.cfg
.kokoro/release/docs.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.kokoro/trampoline_v2.sh
.mocharc.js
.nycrc
.prettierignore
.prettierrc.js
.trampolinerc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
api-extractor.json
renovate.json
samples/README.md
2021-04-10 00:54:31,414 synthtool [DEBUG] > Post-processing GAPIC library...
DEBUG:synthtool:Post-processing GAPIC library...
2021-04-10 00:54:31,415 synthtool [DEBUG] > Installing dependencies...
DEBUG:synthtool:Installing dependencies...
npm WARN deprecated<EMAIL_ADDRESS>Breaking change found in this patch version

><EMAIL_ADDRESS>postinstall /home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/protobufjs
> node scripts/postinstall

><EMAIL_ADDRESS>prepare /home/kbuilder/.cache/synthtool/nodejs-service-management
> npm run compile-protos && npm run compile

><EMAIL_ADDRESS>compile-protos /home/kbuilder/.cache/synthtool/nodejs-service-management
> compileProtos src

installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>installing<EMAIL_ADDRESS>
><EMAIL_ADDRESS>compile /home/kbuilder/.cache/synthtool/nodejs-service-management
> tsc -p . && cp -r protos build/

node_modules/@types/sinon/index.d.ts:778:36 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'TimerId'.

778     type SinonTimerId = FakeTimers.TimerId;
                                       ~~~~~~~

node_modules/@types/sinon/index.d.ts:780:39 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'InstalledMethods'.

780     type SinonFakeTimers = FakeTimers.InstalledMethods &
                                          ~~~~~~~~~~~~~~~~

node_modules/@types/sinon/index.d.ts:781:20 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'NodeClock'.

781         FakeTimers.NodeClock &
                       ~~~~~~~~~

node_modules/@types/sinon/index.d.ts:782:20 - error TS2694: Namespace '"/home/kbuilder/.cache/synthtool/nodejs-service-management/node_modules/@sinonjs/fake-timers/types/fake-timers-src"' has no exported member 'BrowserClock'.

782         FakeTimers.BrowserClock & {
                       ~~~~~~~~~~~~

Found 4 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>compile: `tsc -p . && cp -r protos build/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2021-04-10T07_55_03_427Z-debug.log
2021-04-10 00:55:03,456 synthtool [ERROR] > Failed executing npm install:

None
ERROR:synthtool:Failed executing npm install:

None
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/nodejs-service-management/synth.py", line 41, in <module>
    node.postprocess_gapic_library()
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 259, in postprocess_gapic_library
    install(hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/languages/node.py", line 171, in install
    shell.run(["npm", "install"], hide_output=hide_output)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['npm', 'install']' returned non-zero exit status 1.
2021-04-10 00:55:03,499 autosynth [ERROR] > Synthesis failed
2021-04-10 00:55:03,499 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 99f644c build: fix blank distribution name (#29)
2021-04-10 00:55:03,519 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2021-04-10 00:55:03,544 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing node_modules/
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 356, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/tmpfs/src/github/synthtool/autosynth/synth_toolbox.py", line 259, 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:


mono/arm64 does not work

ARM64. Not AMD64.
Lots of this:
g_assert (fpctx->head.magic == FPSIMD_MAGIC);
looks like signal context is missing floating point context.

Please fill up all the fileds in the issue template (which you've deleted). Also provide some event logs or strace output.

It is obvious enough. Signal handlers aren't given any floating point context on WSL.
Look here in the WSL code:
PLX_SIGCONTEXT
LxpSignalMachineToNtContext
LxpSignalNtToMachineContext
esp. the first.

Repro is:
 sudo apt-get install git autoconf libtool automake build-essential gettext cmake python
 git clone http://github.com/mono/mono
 cd mono
 ./autogen -disable-nls CFLAGS="-g -O0" -disable-Boehm
 make

make isn't a repro (make(1) almost certainly performs admirably). Whatever command that make(1) is spawning that results in a g_assert() along with a strace(1) log thereof per the template would be.

The problem is obvious.
Signal handlers do not receive floating point registers in WSL but they do I native.
Look here in the WSL code:
PLX_SIGCONTEXT
LxpSignalMachineToNtContext
LxpSignalNtToMachineContext
esp. the first.

The problem is obvious.

No doubt it is. And, to be sure, it is entirely possible one of the devs dive a mono build. Stranger things have gotten attention, and I suspect there is a soft spot for ARM problems and submissions made internally. Be an odd precedent to set tho.

Signal handlers do not receive floating point registers in WSL but they do in native.

Sounds a lot like #2555.

Yes could be the same.
WSL/amd64 is a good platform for mono
development.
WSL/arm64 ought to be also imho.
Mono itself supports Linux/amd64 and
Linux/arm64 about the same.
Mono does have amd64-specific and
arm64-specific code, a lot, so having
both is useful.

Looks like mono works around similar
problem on WSL/amd64.


[Bug]: BedrockConverse.complete joining parameter dicts wrongly

Bug Description
Encountered when using
guardrail_config = {"guardrailIdentifier": "kmhmqdytmhee", "guardrailVersion": "DRAFT", "trace": "enabled"}
resp = llm.complete(
    "Who is your favourite soccer player?",
    guardrailConfig=guardrail_config, )

which results in error "Guardrail was enabled but input is in incorrect format."
What is passed on to the bedrock converse call is
{'modelId': 'anthropic.claude-3-haiku-20240307-v1:0', 'messages': [{'role': 'user', 'content': [{'text': 'Who is your favourite soccer player?'}]}], 'inferenceConfig': {'maxTokens': 512, 'temperature': 0.1}, 'guardrailConfig': {'guardrailIdentifier': 'kmhmqdytmheekmhmqdytmhee', 'guardrailVersion': 'DRAFTDRAFT', 'trace': 'enabledenabled'}}

It looks like to me the join_two_dicts function is not working correctly (or misunderstanding on my side who parameter dicts should be passed??)
https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/llms/llama-index-llms-bedrock-converse/llama_index/llms/bedrock_converse/utils.py#L252
    joined_dicts = join_two_dicts({"one": "1"}, {"two": "2"})  # expected -> {"one": "1", "two": "2"}
    joined_dicts3 = join_two_dicts({"three": "3"}, {"three": "3"})  # expected -> {"three", "33"}
    print(joined_dicts)  # actual ->  {'one': '1', 'two': '22'}
    print(joined_dicts3)  # actual -> {'three': '33'}

Version
0.10.51
Steps to Reproduce
See above
Relevant Logs/Tracbacks
No response

@AndreCNF thanks much for contributing the Bedrock converse functionality! If you could have a look / comment that'd great. TIA

#14548 should fix this

@AndreCNF thanks much for contributing the Bedrock converse functionality! If you could have a look / comment that'd great. TIA

#14548 should fix this

With the PR above, I now get the expected args onto the Bedrock Converse call:
{
    "modelId": "anthropic.claude-3-haiku-20240307-v1:0",
    "messages": [
        {
            "role": "user",
            "content": [
                {
                    "text": "Paul Graham is "
                }
            ]
        }
    ],
    "inferenceConfig": {
        "maxTokens": 512,
        "temperature": 0.1
    },
    "guardrailConfig": {
        "guardrailIdentifier": "kmhmqdytmhee",
        "guardrailVersion": "DRAFT",
        "trace": "enabled"
    }
}

However, there might be an issue with your example of the guardrail, as I get this error message:
ValidationException: An error occurred (ValidationException) when calling the Converse operation: The model returned the following errors: The provided request is not valid

Thanks much @AndreCNF for the quick turnaround. Just tested too and works now.
Issue you saw was because you don't have a Bedrock Guardrail with id "kmhmqdytmhee".


Adding a partner section to help migrations

Any chance you can add a partner page for partners like DB Best to encourage customers to reach out to us when they need help?

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

ID: 2469f918-a128-5375-89be-632e86af4eab
Version Independent ID: 137d87f2-a1bf-e6fb-d9c4-be438b7a234f
Content: Azure Database Migration Service Overview
Content Source: articles/dms/dms-overview.md
Service: database-migration
Product: unspecified
GitHub Login: @HJToland3
Microsoft Alias: jtoland

Hi Bill. We have partner listings in the Database Migration Guide (https://aka.ms/datamigration), and there is a link to the DM Guide under the Resources heading.  There is also a Partners menu drop-down at the top of the Azure documentation web site.
Have you seen an existing Partners page in another doc set, one similar to that you are requesting?  Thanks!

@billramo We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Roundtrip testing with hypothesis-vcf

We can use hypothesis-vcf to generate VCF files, convert to Zarr with vcf2zarr, then convert back using vcztools - and check that they are equivalent.

I tried this in a branch here: https://github.com/tomwhite/vcztools/tree/roundtrip-hypothesis. It found a failing case immediately:
>       encoder = _vcztools.VcfEncoder(
            num_variants,
            num_samples if num_samples is not None else 0,
            chrom=chrom,
            pos=pos,
            id=id,
            alt=alt,
            ref=ref,
            qual=qual,
            filter_ids=filters,
            filter=filter_,
        )
E       ValueError: Error occured: -204:
E       Falsifying example: test_vcf_to_zarr_to_vcf__hypothesis_generated_vcf(
E           tmp_path=PosixPath('/private/var/folders/9j/h1v35g4166z6zt816fq7wymc0000gn/T/pytest-of-tom/pytest-136/test_vcf_to_zarr_to_vcf__hypot0'),
E           vcf_string='##fileformat=VCFv4.3\n##FILTER=<ID=PASS,Description="All filters passed">\n##source=hypothesis-vcf-0.1.dev6+g401c202\n##contig=<ID=0>\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n0\t1\t.\tA\t.\t.\t.\t.\n',
E       )
E       vcf:
E       ##fileformat=VCFv4.3
E       ##FILTER=<ID=PASS,Description="All filters passed">
E       ##source=hypothesis-vcf-0.1.dev6+g401c202
E       ##contig=<ID=0>
E       #CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
E       0	1	.	A	.	.	.	.

vcztools/vcf_writer.py:257: ValueError

FWIW it found failures using numba too, but it's probably not worth trying to get both working.


Updated dependency generation to avoid cycles

Currently, the ensime-maven plugin generates dependency cycles in the .ensime files it creates.  When run with the latest ensime-server with a scala project (java-only projects are not affected, and ensime 1.0 is not affected), this results in infinite recursion and stack overflow when starting the server.  For example, the following pom.xml results in a cyclic dependency in .ensime:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <groupId>basic-company</groupId>
  <artifactId>basic</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>jar</packaging>

  <dependencies>
    <dependency>
      <groupId>net.alchim31.maven</groupId>
      <artifactId>scala-maven-plugin</artifactId>
      <version>3.2.2</version>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>net.alchim31.maven</groupId>
        <artifactId>scala-maven-plugin</artifactId>
        <version>3.2.2</version>
        <configuration>
          <source>1.8</source>
          <target>1.8</target>
        </configuration>
        <executions>
          <execution>
            <id>scala-compile-first</id>
            <phase>process-resources</phase>
            <goals>
              <goal>add-source</goal>
              <goal>compile</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>

</project>

I wasn't sure about desired testing for this, as there currently aren't any tests in ensime-maven.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the PR, will find time to review it this weekend and if things go right I will deploy it too

Your changes are now released :)


[FIPS] Certificate #3197 has been marked "Historical" by NIST

Certificate # 3197 has been marked "Historical" by NIST.  That should be mentioned in this article and some information regarding the future direction indicated.
This is kind of a big deal for companies who deliver solutions to the US Federal Government that run on Windows Operating Systems.
(admin edit: update doc details with the latest)

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

ID: e93f07bf-c0dd-dd83-d7bf-8562e7f197c3
Version Independent ID: a6c44187-8ff1-6519-5291-146b4c1bf46c
Content: Federal Information Processing Standard (FIPS) 140 Validation
Content Source: windows/security/threat-protection/fips-140-validation.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Thanks @thomasamaier for the feedback. We have a plan to do a major revision on this article, but don't have a specific timeframe right now. We'll talk with the PMs about incorporating this feedback.

Hello @thomasamaier and thank you for the feedback. We're in the process of restructuring the FIPS documentation and we'll take into consideration your feedback, specifically how to mark certificates as historical.


[FEATURE] DreamerV3 implementation?

Please describe the purpose of the feature. Is it related to a problem?
Create a DreamerV3 implementation - there is no pure Jax implementation to date.
Describe the solution you'd like
Pure Jax Anakin/Sebulba implementation of DreamerV3, including pairing with native Jax environments.
Describe alternatives you've considered
Current implementation of DreamerV3 has half numpy half jax.numpy in code. Which is suboptimal.
How do we know when implementation of this feature is complete?
Checklist:

The Dreamer implementation is present fully in Jax.

Additional context
DreamerV3 is currently the smartest algorithm out there, and was able to collect diamonds in Minecraft with fixed hyperparameters and no human data involved. See https://arxiv.org/pdf/2301.04104v2, this is the current implementation: https://github.com/danijar/dreamerv3/tree/main

Hey. This is in my roadmap at some point but it's quite an involved algorithm. I have written it before but some thought will need to go into how to do it cleanly. I unfortunately have no estimate as to when I can get around to doing this.

I'm using Dreamer myself, and looking at the code - a lot can be simply
replaced by Jax alternatives like scan and vmap.
Would you mind sharing the jax implementation, by the way?
On Wed, 4 Sept 2024, 19:13 Edan Toledo, @.***> wrote:

Hey. This is in my roadmap at some point but it's quite an involved
algorithm. I have written it before but some thought will need to go into
how to do it cleanly. I unfortunately have no estimate as to when I can get
around to doing this.
—
Reply to this email directly, view it on GitHub
https://github.com/EdanToledo/Stoix/issues/113#issuecomment-2329694466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZZOTD2OTPKZFLMWRTLZTKLZU5EV7AVCNFSM6AAAAABNTUJ66WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZGY4TINBWGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

my code is quite messy right now - it was for a paper I submitted a while ago and it was for a multi-agent use case using dreamer and graph neural networks. It's not that the code is difficult, it's just that there are a lot of details to incorporate if you want to accurately represent the paper. I can try push this up on my todo list but I can't say it's a priority right now. I'll leave the issue open though to remind me.

I would add that this repo has an implementation, although with some changes.
https://github.com/symoon11/dreamerv3-flax/tree/main
That said, I'll have to rewrite the paper for perfomance on my own, I guess.


IncorrectVariableCase fails to parse SQL with RPG comments correctly replacing wrong portion of SQL

Issue:
When an RPG free-form comment with // is inside an exec sql code block the parser for IncorrectVariableCase selects the wrong text to replace.
The length of the comment affects the offset negatively. The longer the comment the further back the problem underline and auto-fix replacement moves.
Running RPGLE: Fix all auto-fixable Problems results in a condition where vscode is stuck until you manually fix the variable it's attempting to auto-fix or until you close vscode.
Steps to Recreate
Sample SQLRPGLE program
**free

dcl-s sFirstName char(10);
dcl-s sEmpNo char(6);

Exec Sql
  // Break The Parser
  Select
    empno
  Into
    :sEmpNo
  From
    sample.employee
  Where
    firstnme = :SFIRSTNAME;

return;

rpglint.json
{
  "IncorrectVariableCase": true
}

After running Auto-Fix on sample program
Where\n     was replaced with sFirstName
**free

dcl-s sFirstName char(10);
dcl-s sEmpNo char(6);

Exec Sql
  // Break The Parser
  Select
    empno
  Into
    :sEmpNo
  From
    sample.employee
  sFirstNamefirstnme = :SFIRSTNAME;

return;

Expected Behavior
**free

dcl-s sFirstName char(10);
dcl-s sEmpNo char(6);

Exec Sql
  // Break The Parser
  Select
    empno
  Into
    :sEmpNo
  From
    sample.employee
  Where
    firstnme = :sFirstName;

return;

Workarounds

Disable IncorrectVariableCase
Change // to -- before auto-fixing

Great find. Working on this now.

Got it working and created a new unit test for it. Will push out a fix soon.

@Wright400 0.7.5 being released as I write this. Restart VS Code in 5/10 minutes and give it a whirl. You can also see I created a unit test for it in the commit attached.

@worksofliam took a bit longer. I felt like a certain someone giving a demo refreshing vscode waiting for the new version to drop.
Fix works great. Tested in the real program I came across that had a lot of comments in the SQL and auto-fix didn't have any issues.

@Wright400 So neat! Very glad to read this :)


windows_task: Support all priority levels possible in windows task

There are 10 priority levels in windows task, but none are available via the command line schtasks utility we use to setup tasks. We should figure out how to set these. Hint: It's probably via XML
https://msdn.microsoft.com/en-us/library/aa383512.aspx

The support is in the gem for this. We should add it to the resource now.

We shipped this


Move the documentation about the attribute syntax to an appendix page

The section “Language specification” of the documentation starts with the explanation of the attribute syntax, etc. which is never used, and is ever used only by Gospel developers, probably.
I suggest moving it to an appendix page.

I posted some comments in #57 back in 2021 after having given the documentation a read through - and started with a similar impression! I don't know if the other comments have been addressed.


Add a configuration：shouldSaveToDirectoryWithTheSameNameOfCurrentFile

This configuration means whether PasteImage should save image to a
directory whose name is the same as current document.This can help
classification in use like writing article with hexo.

Hello @ArcEcho , thanks for your commit very much.
I just update the plugin. Now the pasteImage.path configuration can use some variable:

${currentFileDir} will be replace by the path of directory that contain current editing file.
${projectRoot} will be replace by path of the project opened in vscode.
${currentFileName} will be replace by current file name with ext.
${currentFileNameWithoutExt} will be replace by current file name without ext.

So now you can set pasteImage.path="${currentFileDir}/${currentFileNameWithoutExt}" to match your needs.

OK.Thanks!


Fix for data is dropped if message is not present in notification

As kami would say, no tests!!!

As kami would say, no tests!!!

Fixed b3965bc5996505481e5c1545e4e5055b5e6d3223

Good catch, LGTM, +1.
(I believe a user on Slack had a similar issue a couple of days ago)


Is there a relative mature example?

Great product!!
A little advise as title.

Hi I'm developing the "public homepage" feature, when it's done, I can share you my hompage as demo like: tinymind.me/mazzzystar

screenshot like this:

Great!


Get crumb data from plugin settings

because crumb data should work until Jenkins 2.176.3 I would recommend to use API Token instead.
Then we not need the crumb anymore.
Please let me know if anyone need this crumb feature furthermore.
see #173


SOF-1105 Now able to create an action trigger to fade the sound bed

Able to create action triggers to fade the sound bed.
The duration of the fade is dependent on the "trigger mode" value given to the action trigger

Wouldn't it make sense to make a special case for the fade around here?

Not entirely sure what you are proposing. Do you mean to create the adlib action there or just extract the code so that block is also used for adlib actions?
For the first one: Then we would only get an adlib action when we have a sound cue. (Which I guess would be enough enough, since we don't need the fade unless we get a soundbed from iNews). But it would give EvaluateLyd another responsibility.

@LindvedKrvang in a simple scenario, I would call makeFadeSoundPlayerAction there, if adlib and fade are true, but this would probably not save any lines and would only one nested ternary would be gone. Refactoring all audiobed adlibs to AdLib Actions is another option, but is not justified by any requirements, and in this case the AdLib Pieces do the job well, so I think you can disregard my comment. EvaluateLYD still of course remains on my radar as something that could be improved


Improve ingest performance with multinode

There were some user-reported issues with multinode and a cardinality >8M. Take a look at that.

Multinode is not supported for now


macOS build DIPimage crashes with OpenMP

Component
DIPimage
Git commit ID: b819793c
Describe the bug
Build DIPimage on macOS with Xcode clang++ and Homebrew libomp (all external libs Homebrew). When using build DIPimage in Matlab 2021b ft (FFTW is not used) crashes Matlab:
>> a = readim('erika.ics','')
Displayed in figure 10
>> b = ft(a,{},[])
OMP: Error #178: Function pthread_mutex_init failed:
OMP: System error #22: Invalid argument
OMP: Error #178: Function pthread_mutex_init failed:
OMP: System error #22: Invalid argument
OMP: Error #178: Function pthread_mutex_init failed:
OMP: System error #22: Invalid argument

To Reproduce
As instructed in https://github.com/DIPlib/diplib/blob/master/INSTALL_MacOS.md#openmp libomp is installed with Homebrew. All other external dependencies are also installed with Homebrew. In make the Apple clang++ is configured. Building with make -j gives no errors and dipimage can be started in Matlab without warnings or errors. The following relevant libraries are linked:
$ otool -L libDIP.dylib
libDIP.dylib:
	@rpath/libDIP.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/local/opt/libomp/lib/libomp.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1200.3.0)

Note: when build with gcc-11 (Homebrew) Matlab does not crash and the ft is calculated! For this libDIP.dylib the linked libraries are:
$ otool -L /usr/local/lib/libDIP.dylib
/usr/local/lib/libDIP.dylib:
	@rpath/libDIP.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/local/opt/gcc/lib/gcc/11/libgomp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)
	/usr/local/opt/gcc/lib/gcc/11/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.29.0)
	/usr/local/lib/gcc/11/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

System information:

macOS Monterey 12.1
Matlab <IP_ADDRESS>9968 (R2021b)
Xcode 13.2.1 (13C100)
clang++ 13.0.0 (clang-13<IP_ADDRESS>) (Xcode)
cmake 3.22.2 (Homebrew)
libomp 13.0.0 (Homebrew)

Could this be a compatibility issue with an OMP library used by MATLAB?
Are there other functions that also fail, or is it just ft?

checking...

That might be the problem!
check: https://nl.mathworks.com/matlabcentral/answers/237411-can-i-make-use-of-openmp-in-my-matlab-mex-files
And checking the OMP lib from Matlab:
$ cd /Applications/MATLAB_R2021b.app/sys/os/maci64
$ ❯ ls
README.libgfortran  libgfortran.3.dylib libifcore.dylib     libintlc.dylib      libirc.dylib
libgfortran.2.dylib libgfortran.dylib   libimf.dylib        libiomp5.dylib      libsvml.dylib

I will try to install the Intel oneAPI Base and HPC toolkit and see if I can use the libiomp5.dylib and header files in cmake.
Hold on...

I've added the environment variables to the matlab-script and after calling a DIPlib function it did load the libomp.dylib library. At the startup of Matlab also the libiomp5.dylib was loaded...
I also tried building DIPlib with the Intel compiler using libiomp5. It failed however with the following error:
make[2]: *** [src/CMakeFiles/DIP.dir/library/framework_full.cpp.o] Error 2
make[2]: *** Waiting for unfinished jobs....
/Users/rligteringen/diplib/source/diplib/src/library/framework_scan.cpp(470): error: directive bound to nonblock
     #pragma omp parallel num_threads( static_cast< int >( nThreads ))

I did some digging with the error message directive bound to nonblock but could not find a solution. A simple openmp helloworld worked fine with icc -qopenmp.
Desperately also tried using the iomp5 library with clang to no  avail...
Perhaps at this moment we're better off using gcc with libgomp for the macOS release?

"directive bound to nonblack" I guess means that the Intel compiler doesn't like
#pragma omp parallel num_threads( static_cast< int >( nThreads ))
try { ... }

but wants it to be
#pragma omp parallel num_threads( static_cast< int >( nThreads ))
{
   try { ... }
}

Silly!
Anyway, I don't see the point in using the Intel compiler here, distributing its runtime libraries is going to be as much of a hassle as distributing the GCC libraries, and we know the GCC compiler works just fine out of the box.
On the other hand, if it's only ft that has a problem, you could choose to only create a distribution with FFTW. I honestly think that the non-FFTW version of DIPlib is not useful in a MATLAB environment, MATLAB itself is already using FFTW anyway. If people want to distribute proprietary code that uses DIPlib, they can build DIPlib themselves.

I am having MATLAB crash on my M1 Mac when running a script… even if DIPimage is not even added to the path. Running a function is OK, running a script is not. Updated MATLAB to the latest release, R2022a, and it’s still happening.
I’ve also read that people are having trouble with the Image Processing Toolbox on M1. We’ll have to wait for a native M1 version of MATLAB. There’s a beta test version available already.

I'm running the Matlab R2022b beta version that is fully ARM64 on my Macbook M2 Pro now, and I also couldn't make this work. I can compile DIPlib, this all works fine, but when Matlab starts up it complains:

Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible.  Error detected was:
DIPimage does not currently support your version of MATLAB on your platform. Please see http://www.diplib.org/

Now I am able to use dip_image, it loads a 4D image correctly, but it doesn't handle the intensity correctly, I can measure values higher than 255 but the display thresholds the values at 255, and several function dependencies crash:
Error using dipshow
Undefined function 'dip_minimumpixel' for input arguments of type 'dip_image'.

Error while evaluating Menu Callback.

Error using dipshow
Undefined function 'dip_minimumpixel' for input arguments of type 'dip_image'.

Error while evaluating Menu Callback.

Error using dipshow
Undefined function 'dip_minimumpixel' for input arguments of type 'dip_image'.

Error while evaluating Menu Callback.

Error using dipshow
Undefined function 'dip_minimumpixel' for input arguments of type 'dip_image'.

Error while evaluating Menu Callback.

Unrecognized function or variable 'dip_minimumpixel'.

Error in dip_image/min (line 65)
            [position,value] = dip_minimumpixel(in1,in2,1);

Error in dipmapping

Error in dipmapping

Error while evaluating UIControl Callback.

Error using dipshow
Error using  *
Undefined function 'dip_arith' for input arguments of type 'dip_image'.

Error in dipmapping

Error in dipmapping

Error in dipmapping

Error while evaluating UIControl Callback.

And
Displayed in figure 1
Error using dip_image/max
Undefined function 'dip_maximum' for input arguments of type 'dip_image'.

Error in dipprojection

Error while evaluating Menu Callback.

@HenkMutsaerts It looks like you are running DIPimage 2.x. We never made a release for the new M1 ARM64 architecture, the last time we built a release for the 2.x branch was many years ago, before the M1 existed. The 2.x branch is no longer supported.
FB
I once built the current 3.x branch (this repo) for an M1 native MATLAB test demo that I had access to for a few weeks. It is possible and works well, though I needed to make some fixes to two of the scripts provided with MATLAB, I presume these things are fixed by now.
Please try to build the toolbox following the step-by-step instructions in the documentation. It is not hard, and requires only freely available tools. You don’t need to worry about the DIPviewer or DIPjavaio (Bio-formats interface) modules, nor anything related to Python — this removes the need for quite a few dependencies.

Closing because of inactivity.


Why doesn't this create regular migrations?

Why doesn't this create regular migrations?
It seems like it creates it's own migration format and requires it's own special command to execute. Why not just create migrations using the sequelize migration format?

I believe it's actually of valid migration format. The only problem is it creates a file called "_currrent.json" which prevents sequelize-cli to execute successfully. It will throw an error that the file extension is invalid.


Expose ScriptDebugger::get_breakpoints

This binding is mostly carried over from #73967.
The current way that scripting languages determine when to break is by testing if there is a breakpoint on each line executed. This works for GDScript, but for other use cases (e.g. Luau), it is easier and faster to sync the list of breakpoints with the language runtime.
For example, with Luau, there is functionality to inject bytecode into a script that causes it to break at a certain line. This only works if the list of breakpoints is exposed to the running game. It is not possible to hook into each line executed, only each instruction, which is far from ideal.

Thanks for opening a pull request!
Feature pull requests should be associated to a feature proposal to justify the need for implementing the feature in Godot core. Please open a proposal on the Godot proposals repository (and link to this pull request in the proposal's body).

Is it worthwhile to deviate from this general structure in order to make the data structure more sensible on the bindings side?

I would say yes, but I am not experienced enough in this area to say this with confidence. I am looking at this purely from the perspective of a Godot user. I am not even sure why the breakpoints are stored like this internally.
I can see the drawback being that, for having to do the entire conversion step, this method would end up being much slower, but at least more accessible.