Update Svelte to 1.23.4

Self explanatory.

In the future I'm thinking we should maybe keep this package in sync with svelte, when it comes to versioning.
Svelte 1.35.0 would give this package 1.35.0_1, then when we do internal changes we just bump the last _1 part.
But we can't do this until svelte's version moves beyond the current version of our packages.

I agree, but isn't that possible already?

I agree, but isn't that possible already?

The last published version of svelte:compiler is 1.3.1 which is higher than the current svelte version which will cause problems.

What happens when they do a meteor update and there is a later version published?

Maybe we should put svelte:compiler at 1.3.2 instead of 1.4.0 so that we don't have to wait for svelte to reach 1.4.1 before we can publish under the new version schema.

Let's just keep svelte:core's version in sync with svelte and this way we can start with that now as the latest version of svelte is at 1.23.4 and the latest svelte:core is at 1.2.1 so this shouldn't cause a problem with future updates.

That's what I had in mind. 👌  But I think we should we also bump the version of svelte:compiler to 1.23.4_1.

We can't put svelte:compiler on a lower version than it is on now, because that will cause trouble with us having to recommend versions below the currently published versions of svelte:compiler and what happens once svelte reaches version 1.3.1 which is the current version of svelte:compiler? We can't publish another release with that version on atmosphere again.

we can't align the version of svelte:compiler with svelte until svelte is above the latest published version of svelte:compiler.

Maybe I'm misunderstanding you, but the latest published version of svelte:compiler is 1.3.1 and the current version of Svelte is 1.23.4, which is greater, so a bump of svelte:compiler to 1.23.4_1 shouldn't be a problem.

Maybe I'm misunderstanding you, but the latest published version of svelte:compiler is 1.3.1 and the current version of Svelte is 1.23.4, which is greater, so a bump of svelte:compiler to 1.23.4_1 shouldn't be a problem.

You are right again, I think something's broken in my brain today...

I'm good with these changes, merge at will.

Squashed into https://github.com/meteor-svelte/meteor-svelte/commit/9c676393bbcbb5ec9ad32be7b3d4b71557cf562e.


add new rebus

Associated Issue: #
Summary of Changes
Add New Rebus

Pull Request Test Coverage Report for Build 845

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Connector appears to be missing statistics including views, likes and comments

Hey, I've got the connector working and am excited about the potential.  However, I appear to be experiencing issues with respect to the data being loaded.
I have 279 videos and started my channel in August 2016.
The connector is under-reporting the views, likes, shares, comments, etc. for any video I've manually checked, including the "What if Ryan Reynolds did Christmas Carpool Karaoke".  I've attached a screenshot of what I see in Power BI and what I get directly from YouTube Analytics.
BTW.  I definitely DON'T have any filters set in Power BI!
Thanks!

20181227 YouTube Analytics Watch Time Report.xlsx

Just to confirm this issue, I have the same problem.

Hey!
The YouTube team deployed a change a few months ago that is causing the API to not provide all of the data unless it meets certain tresholds.
You can read about it from this issue #17 and the official documentation from YouTube here.
You could still use the other functions to get the global views of a video, but having the breakdown by country will rely on your video meeting those criterias / tresholds.
There's nothing that I could possibly do on the connector side to create a workaround - this is a limitation of the API itself.

Thanks Miguel.  Another disappointing decision from YouTube.  :-(


OmniSharp just stopped working when upgrading to Mac OSX 10.10.5

I can't for the life of me figure out what's wrong. I can start a server manually, everything seems to be fine. I run -v=Verbose but it doesn't seem to be receiving input from vim.

I try to run the OmniSharpReloadSolution command and I get that. Nothing really works.

So I think it has to do with python, this is the error I'm getting when I first launch vim;
Error detected while processing /Users/josephferano/dotfiles/vim/bundle/omnisharp-vim/plugin/OmniSharp.vim:
line   15:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/josephferano/dotfiles/vim/bundle/omnisharp-vim/python/Completion.py", line 1, in <module>
    import vim, syncrequest, types
  File "/Users/josephferano/dotfiles/vim/bundle/omnisharp-vim/python/syncrequest.py", line 1, in <module>
    import vim, urllib2, urllib, urlparse, json
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 94, in <module>
    import httplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
  Referenced from: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
line   16:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/josephferano/dotfiles/vim/bundle/omnisharp-vim/python/OmniSharp.py", line 1, in <module>
    import vim, urllib2, urllib, urlparse, logging, json, os, os.path, cgi, types, threading
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 94, in <module>
    import httplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
  Referenced from: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
Error detected while processing /Users/josephferano/dotfiles/vim/bundle/browserlink.vim/plugin/brolink.vim:
line   26:
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 94, in <module>
    import httplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: dlopen(/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so, 2): Symbol not found: __PyErr_ReplaceException
  Referenced from: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
  Expected in: flat namespace
 in /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so

This has happened before when updating freaking OSX where links and stuff just get broken for now reason. Maybe the python link got broken.

I checked to see if python was running; seems to be;
:echo has('python')

That returned 1

I removed my compiled version of macvim and just installed macvim through homebrew and that seems to have fixed it.

Thanks, this worked for me too. The homebrew version of Vim on macOS seems to be required (when using the homebrew version of Python I guess).

Thanks, worked for me too :-)
brew reinstall macvim --HEAD --with-cscope --with-lua --override-system-vim


questions about do.sibreport

Dear vincentvanhees,
I am applying GGIR package on UK biobank. In one previous article(Association of accelerometer-derived sleep measures with lifetime psychiatric diagnoses: A cross-sectional study of 89,205 participants from the UK Biobank), the author reported number of naps, which meant number of >-30 minutes sleep periods outside the primary sleep period. With the help of Guidelines  of GGIR, I set the parameter: do.sibreport=True. However, I cannot find the value of nap_count or nap_totalduration in results and I do not know how to set the parameters of detecting naps. I wander to know if there is something wrong with my codes, The followings are my codes, could you please to help me for checking them?
Thanks for your kindly help
Yimeng
codes using in GGIR:
library(GGIR)
GGIR(mode=c(1,2,3,4,5),
datadir="F:/UKB/myresults",
outputdir="D:/mydata",
studyname="UKBiobank_batch1",
overwrite = FALSE,
do.imp=TRUE,
idloc=1,
print.filename=TRUE,
storefolderstructure = FALSE,
windowsizes = c(5,900,3600),
do.cal=TRUE,
do.enmo = TRUE,
do.anglez=TRUE,
chunksize=1,
printsummary=TRUE,
strategy = 1,
hrs.del.start = 1,
hrs.del.end = 1,
maxdur = 9,
includedaycrit = 16,
 L5M5window = c(0,24),
M5L5res = 10,
inhr = c(5,10),
qlevels = c(c(1380/1440),c(1410/1440)),
 qwindow=c(0,24),
ilevels = c(0,45.2,93.2,150,8000),
mvpathreshold =c(100,120),
mvpadur=c(1,5,10),
timethreshold= c(5),
anglethreshold=5,
 ignorenonwear = TRUE,
excludefirstlast = FALSE,
def.noc.sleep = 1,
 outliers.only = TRUE,
 criterror = 4,
relyonsleeplog = FALSE,
 sleeplogidnum = TRUE,
colid=1,
coln1=2,
do.visual = TRUE,
nnights = 9,
do.report=c(2,4,5),
visualreport=TRUE,
dofirstpage = TRUE,
viewingwindow=1,
do.sibreport=TRUE)

Dear vincentvanhees,
Thank you for your kindly help for my questions.
Best wishes to you,
Yimeng


[Bug]: the date conversion has still issue even after the update of number of days

What happened?
I cannot convert 2081-02-32 to AD date
How to reproduce the bug
Try converting 2081-02-32 to AD
Package Version
1.6
PHP Version
8.2
Laravel Version
10.0
Which operating systems does with happen with?
Linux
Notes
Thank you in advance

Hello @novaprime-code.
The issue has been identified and to solve this problem I might have to re-write the whole toEnglishDate() function. Since the package use Carbon extension, the problem is it cannot set 32 to the second month. I will get this fixed by the end of the week.
The feature you requested for daysInMonth and daysInYear has been completed. It will be available from the release of 1.7.0.

Thank you so much


[material-ui][Menu] Incorrect padding-right value on body when Menu opens inside iframe

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/sharp-yonath-7mj7sk
Steps:

Make sure that the scrollbar is showing inside the iframe with gray border. If you're using Mac, you may need to go to System Settings > Appearance > Show scroll bars and select "Always" option.

Go to the link and click on "DASHBOARD" button inside the iframe to open menu.

Current behavior 😯
Once the menu is open, you can see that padding-right style is set on the iframe body element, which is much larger than the width of the iframe scrollbar.

Expected behavior 🤔
Opening menu should set correct padding-right value for the scrollbar width for the iframe. It currently uses difference between parent window innerWidth and iframe content document cilentWidth to calculate this value, which results in a very large value.
The issue is also reported in #39328
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 14.0
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
    npm: 9.6.6 - ~/.nvm/versions/node/v18.16.0/bin/npm
  Browsers:
    Chrome: 118.0.5993.88
    Edge: 114.0.1823.51
    Safari: 17.0
  npmPackages:
    @emotion/react: ^11.10.6 => 11.11.1
    @emotion/styled: ^11.10.6 => 11.11.0
    @mui/base: ^5.0.0-beta.3 => 5.0.0-beta.20
    @mui/core-downloads-tracker:  5.14.14
    @mui/icons-material: ^5.11.16 => 5.14.14
    @mui/lab: ^5.0.0-alpha.134 => 5.0.0-alpha.149
    @mui/material: ^5.12.3 => 5.14.14
    @mui/private-theming:  5.14.14
    @mui/styled-engine:  5.14.14
    @mui/system:  5.14.14
    @mui/types:  7.2.6
    @mui/utils:  5.14.14
    @mui/x-data-grid: ^6.3.0 => 6.16.2
    @mui/x-date-pickers: ^6.3.0 => 6.16.2
    @mui/x-tree-view:  6.0.0-alpha.1
    @types/react: ^18.0.28 => 18.2.28
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript: ^5.0.4 => 5.2.2

Does applying disableScrollLock work for you: https://codesandbox.io/s/fervent-kate-jgvgjk?file=/src/App.tsx:1194-1211?

Does applying disableScrollLock to the Menu work for you: https://codesandbox.io/s/fervent-kate-jgvgjk?file=/src/App.tsx:1194-1211?

It does and I have that prop in place temporarily but I don't want to disable scroll lock!


Not working as should

Good day man.
thanks for project.
The problem on macos.
The thing is:
I did everything from the guide but still the project will only send by api project creation string but will not send any file for analysis as long as buttons do not work.

you should install sonarqube and sonar scanner by locally

i did. does not change situation

Hi @vulnz is it possible for you to post the error showed in the nodejs terminal

npm start
( api)
at Object.onceWrapper (events.js:273:13)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node src/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm install
audited 659 packages in 2.829s
found 4 vulnerabilities (1 moderate, 3 high)
run npm audit fix to fix them, or npm audit for details
if do fix - this is the result

Azhar
Give him the required version of each software neeed to install RAF.

@vulnz it is probably and issue with the version mismatch of the bcrypt
try updating the binary too
npm rebuild bcrypt --update-binary

Azhar
Give him the required version of each software neeed to install RAF.

These versions were tested,
Sonarqube v7.9.1
Sonar-Scanner-cli v4.0.0^
mongodb v4.0^
nodejs v12^


weird space between ground meshes

Weird space between ground meshes when they have large size value for position x,y,z,

playground:
They should be rendered at precise location without any random spaces when camera move around

Hey, this is not bug but more precision related question. I encourage you to use the forum.babylonjs.com
You can try to use log depth perhaps?
https://doc.babylonjs.com/how_to/using_logarithmic_depth_buffer
But most of the time the best option is to not use too large numbers (because of float precision).

i am sorry it is not a bug but maybe limitations of webgl, however number was not large floating points but integer i guess and use of log depth also did not fixed the problem
Thanks

Yeah unfortunately this is a common problem with webgl rendering. YOu should try to see if other users found creative ideas on the forum regarding this question :)

well i had asked the same question in forum 2 days ago but my question is still hidden by Akismet i dont know why

Can you try again?

yes i just did and its posted
thank you

hmm its weird , Akismet has hide it again , i dont know what is the reason and when a staff member will review it

should be good now

yes thank you again for the prompt support


Update README.md

james-edit
@DavidLivingstone I need you to take full responsiveness for this change

Looks cool to me


Aurora Optional vpc Component Names

what

Allow optional VPC component names in the aurora components

why

Support deploying the clusters for other VPC components than "vpc"

references

n/a

Ooof! sorry, I didn't realize that would merge in time


Replace default testnet. Ropsten -> Goerli

@justindg also move Goerli up the list to the top. It should be simple from EthereumNetworkBase.

Fixed


Proposal: Change repo name to "django-sheer"

People will soon not know what Sheer is/was. Naming it "sheerlike" doesn't make a lot of sense unless Sheer's functionality is widely known. We should just call it "django-sheer", and the name requires no further explanation.

Oops, accidentally submitted before I even finished writing the subject. Stand by for a description to be added to the OP.

:bell:

Attn: @rosskarchner @kurtw @kave

Current conversations are around actually migrating this code into cfgov-refresh, and deprecating this repo.


Some extension settings not respected since 0.6.2 update

Since updating to 0.6.2, it seems many of the extension settings are always using their default values.
This was very obvious to me as I do not like inlay hints, and since the update I have been unable to disable them.
Downgrading to 0.6.1 fixes the issue and comparing the vscode output shows many of the settings are not being set.
0.6.1 Output:
info : ( main ): Starting ZLS 0.13.0 @ 'C:/.../zls/zls.exe'
info : (server): Client is 'Visual Studio Code-1.95.3'
info : (server): No config file zls.json found. This is not an error.
info : (server): Set config option 'builtin_path' to 'C:\Users\...\AppData\Local\Temp\zls\builtin.zig'
info : (server): Set config option 'zig_lib_path' to 'C:\...\zig\lib'
info : (server): Set config option 'zig_exe_path' to 'C:\...\zig\zig.exe'
info : (server): Set config option 'build_runner_path' to 'C:\Users\xxx\AppData\Local\Temp\zls\build_runner\21872970afd69e48a0847077e5196711\build_runner.zig'
info : (server): Set config option 'global_cache_path' to 'C:\Users\xxx\AppData\Local\Temp\zls'
info : (server): Set config option 'enable_argument_placeholders' to 'false'
info : (server): Set config option 'enable_inlay_hints' to 'false'
info : (server): Set config option 'inlay_hints_show_variable_type_hints' to 'false'
info : (server): Set config option 'inlay_hints_show_struct_literal_field_type' to 'false'
info : (server): Set config option 'inlay_hints_show_parameter_name' to 'false'
info : (server): Set config option 'inlay_hints_show_builtin' to 'false'
info : (server): Set config option 'skip_std_references' to 'true'
info : (server): Set config option 'zig_exe_path' to 'C:\...\zig\zig.EXE'

0.6.2 Output:
Note the missing set config option lines
info : ( main ): Starting ZLS 0.13.0 @ 'C:/.../zls/zls.exe'
info : (server): Client is 'Visual Studio Code-1.95.3'
info : (server): No config file zls.json found. This is not an error.
info : (server): Set config option 'builtin_path' to 'C:\Users\xxx\AppData\Local\Temp\zls\builtin.zig'
info : (server): Set config option 'zig_lib_path' to 'C:\...\zig\lib'
info : (server): Set config option 'zig_exe_path' to 'C:\...\zig\zig.exe'
info : (server): Set config option 'build_runner_path' to 'C:\Users\xxx\AppData\Local\Temp\zls\build_runner\21872970afd69e48a0847077e5196711\build_runner.zig'
info : (server): Set config option 'global_cache_path' to 'C:\Users\xxx\AppData\Local\Temp\zls'
info : (server): Set config option 'zig_exe_path' to 'C:\...\zig\zig.EXE'

Guessing this is related to #252

enable_inlay_hints was removed from ZLS https://github.com/zigtools/zls/commit/e1257b6b92deeb6e8d8dc87424d6d2f73fb634dd
To disable them set editor.inlayHints.enabled to off (or offUnlessPressed):
    "[zig]": {
        "editor.inlayHints.enabled":"offUnlessPressed"
    },

Thanks, that worked!

Umm, did something also happen to autofix?

Sorry  for the spam.  Autofix should be enabled like this:
    "[zig]": {
        "editor.inlayHints.enabled":"offUnlessPressed",
        "editor.codeActionsOnSave": {
            // Run code actions that currently supports adding and removing discards.
            "source.fixAll": "explicit",

            // Run code actions that sorts @import declarations.
            // Available since ZLS `0.14.0-dev.188+2be424de5`
            "source.organizeImports": "explicit",
        }
    },

It's been working for a few days ago so I wonder why it suddenly stopped working.  I didn't see anything about this in the VSCode extension changelog.


[1.7] etcd: Disable heartbeat quorum check by default

Diable the heartbeat check by default as the sudden requirement for the
cilium-operator to be always available can come to a surprise to existing 1.7
users.
Require etcd.enableHeartbeat=true to be set in order to enable the requirement
for the heartbeat.

test-backport-1.7


(FACT-2320) Added warnonce method

Added the warnonce method to facter's API.
It prints the same warning message only once.
Usage:
Facter.warnonce(<warning message>)

The warning message parameter is treated as an object and
.to_s is used to extract the warning message from it.

CLA signed by all contributors.


Double-sided test in TextureSettingsTest.gltf fails

Describe the bug
I tried to display TextureSettingsTest.gltf with filament v1.3.2.
However, the model fails the double-sided test.
To Reproduce
filament v1.3.2 + TextureSettingsTest.gltf result
Expected behavior
It is expected that all tests pass.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 Version 1903 (OS Build 18362.295)
GPU: Intel HD Graphics 520
Backend:  ANGLE

I confirmed that this problem has been fixed in the latest version of filament.
filament latest version + TextureSettingsTest.gltf result:


use get_data instead of ._data

PR Description
fixes #127
Not really sure what the problem was over there, but the adjustments here are minor (get_data() should yield the same as ._data, except that it takes a tiny bit longer) and it'd fix the issue.
Merge Checklist

[ ] the PR has been reviewed and all comments are resolved
[ ] all CI checks pass
[ ] (if applicable): the PR description includes the phrase closes #<issue-number> to automatically close an issue
[ ] (if applicable): bug fixes, new features, or API changes are documented in whats_new.rst
[ ] (if applicable): new contributors have added themselves to the authors list in the CITATION.cff file

Codecov Report

Merging #128 (31afc3b) into master (c6b268b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   99.03%   99.02%   -0.02%
==========================================
  Files           7        6       -1
  Lines         725      717       -8
==========================================
- Hits          718      710       -8
  Misses          7        7

Impacted Files
Coverage Δ

pyprep/find_noisy_channels.py
100.00% <100.00%> (ø)

pyprep/utils.py
100.00% <100.00%> (ø)

pyprep/__init__.py

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@sam54000 when you install pyprep from this branch ("data", https://github.com/sappelhoff/pyprep/tree/data), does this fix your problem?

I installed pyprep from the branch "data" it works.
Also you right it is something to do with the preload: the mne-bids function to read raw doesn't have explicitely the preolad option so I assumed it was taking care of. Then I figured that I have to specificaly pass the option through extra_params like this: mne_bids.read_raw_bids(bids_path=bids_path, verbose=False,extra_params={'preload' : True}). So yes if it is faster with ._data we should keep this as it is. Maybe changing the code to throw an error saying that raw needs to be preloaded if ._data doesn't exist?
Thank you very much for your help and sorry for this

Thanks for testing and the additional info! I think I will merge this fix, because the impact on performance is really negligible (the newly introduced get_data will not (!) be called hundreds of times in a loop). if you want to prepare a PR that introduces a check for preload, please be my guest!


Classes/functions not found

Hello, I am trying to run the "Simulating a data collection scenario" example. While copying the codes mentioned on the site and importing the libraries, I still see some classes/functions that are not found. I will attach 3 snippets, one for each file. How can I find these missing imports through the library? Because I searched throughout the repo and could not find it. Thanks a lot in advance.

Update: I only found the LoopMission class but not the rest :)

@iiha7 thank you for the report!, I seem to have missed some needed classes in the doc page. I have updated it to show them and also included the full code at the start of the guide.

Thanks a lot for the response and update! I know get this Traceback error once I run the code
INFO     [--------- Simulation started ---------]
INFO     server listening on <IP_ADDRESS>:5678
Traceback (most recent call last):
File "/home/hamza/GradysSImNextGen/UavScenario/execution.py", line 49, in
main()
File "/home/hamza/GradysSImNextGen/UavScenario/execution.py", line 45, in main
simulation.start_simulation()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/simulation.py", line 221, in start_simulation
is_running = self.step_simulation()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/simulation.py", line 175, in step_simulation
self._initialize_simulation()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/simulation.py", line 149, in _initialize_simulation
node.protocol_encapsulator.initialize()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/encapsulator/python.py", line 150, in initialize
self.protocol.initialize()
TypeError: initialize() missing 1 required positional argument: 'stage'
INFO     server closing
INFO     server closed
Process Process-2:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/handler/visualization.py", line 233, in _visualization_thread
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/handler/visualization.py", line 231, in main
await update_information()
File "/home/hamza/.local/lib/python3.8/site-packages/gradysim/simulator/handler/visualization.py", line 223, in update_information
websockets.broadcast(websocket_connections, json.dumps(information.copy()))
File "", line 2, in copy
File "/usr/lib/python3.8/multiprocessing/managers.py", line 834, in _callmethod
conn.send((self._id, methodname, args, kwds))
File "/usr/lib/python3.8/multiprocessing/connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/usr/lib/python3.8/multiprocessing/connection.py", line 411, in _send_bytes
self._send(header + buf)
File "/usr/lib/python3.8/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe
Could you please assist in it?

@iiha7 Those errors should have been caught by our unit tests, but the test that runs the code samples wasn't actually verifying if they ran! Thanks for the report, fixed the code and the unit tests.

Thanks a lot everything is working perfectly! I was wondering what/how extra functionalities could be added to extract some additional network statistics such as rtt, total packet loss, throughput and any additional useful statistics ...? Also, could the framework be extended to define the network communication/protocol between the sensor/uav devices such as WIFI/Adhoc/ Zigbee... and so on

No problem!
About your questions, if the statistics you want to implement are based on information available to nodes in the simulation, you could implement them on the protocol itself, using the finalize() method to save the statistics to disk for further analysis. From your description, I gather that this is not the case and the information would not be available to the nodes.
In that case, you can implement your own CommunicationHandler (source code). This is the class that handles the delivery of messages in our simulator. The default implementation is very simple, only taking into consideration the distance between nodes and some configurable sources of failures. You are free to subclass it and implement a more complete handler, that includes adding statistics and defining the network communication protocols you want to implement.
If you are interested in a more complex simulator that already has some of those network protocols implemented, you can try https://github.com/Project-GrADyS/gradys-simulations (which is based on OMNeT++). You can even run your python protocols created with this library on it without any changes to the python code! Although be warned that it is harder to set up and use and has quite a learning curve.
Hope this answer helps you.

My initial goal was to run the OMNET++ framework initially, but I faced a couple of problems during setup. I was trying to make it work for a couple of days but I could not do it, I had a problem initially related to library files not recognizing python, and then later some problems related to gates not being recognized, so I decided to try the Python simulator to get something running :)
I will try to run the simulator again on OMNET++ and share the specific problems I face on that repo.


Question about custom attributes

How I can use field('zip').attributes({'ui-br-cep-mask' : 'ui-br-cep-mask'}) ?

Well, it should work as you configured it. Is the problem on the edit view? The list view? Can you check that the attribute isn't added to one of the parent elements? Which browser are you using?

I'm using the Chrome browser, only attr "placeholder" works with attributes function, but, I need to use a lot of custom controls, I'm using the template function of nd-admin and it's working very well with my custom directives and other html elements :D, thanks you for the great tool :)

That's a bug. I'll submit a PR to fix it. Thanks for the report.


Add classifiers

https://pypi.python.org/PyPI?%3Aaction=list_classifiers

This issue was moved to Dallinger/Dallinger#114


Website: fake LDP containers and resources

Does not work when deploying the website statically, because it doesn't recognize the endpoints as JSON data, which creates error when fetching from frontend apps.

Closing in favor of https://github.com/activitypods/website/pull/2 (the website was moved to another repo)


Reason for ticket

Hi, you can update a feature to create tickets according to reason

Thank you for this suggestion. We will note this down for the update of our bots, and we'll provide updates later on.


Feature/is 9286 send custom header

I would maybe maybe copy in a brief comment to the README also, to promote developer understanding of security:
Cookie Security
* SameSite=strict cookies are sent to APIs, which cannot be sent from malicious sites

* To ensure that only precise whitelisted origins can send cookies to APIs, a 'token-handler-version': '1' header should be sent on every request to the OAuth Agent. In cross-origin deployments this ensures that a CORS preflight request authorizes access.

Saying "should be sent" may look like the developer needs to do something for this to happen when invoking the OAuth Agent, which is not the case because the library handles this, right? Developers still need to include the headers in API calls (i.e. via the OAuth Proxy); perhaps that's what you meant?
If so (and if the text is added), the text should probably be clear about both things.

I updated the readme with your suggestions @gary-archer and @luisgoncalves


Standardize repository

Hey @enricobez, in order to add it to the site and standardize with the other repos, there are a couple of  things we'll need to do:

[x] Rename repo to telegram-ios
[x] Move screenshot files to root folder
[x] Rename main screenshot file to screenshot.png (that way it can be picked up by the site)
[x] Update LICENSE - https://github.com/dracula/template/blob/master/LICENSE
[x] Create a INSTALL.md (needed for the site) - https://github.com/dracula/template/blob/master/INSTALL.md
[x] Update repo about section - https://share.getcloudapp.com/p9ur1qRK

Reference: https://github.com/dracula/template

https://github.com/dracula/telegram-ios/commit/faf6dc2ad4a910745d7ffebfde66957da1c08604

https://github.com/dracula/telegram-ios/commit/faf6dc2ad4a910745d7ffebfde66957da1c08604

Thanks!

Thanks!


Proposal: SimplePriorityQueue.Dequeue/TryDequeue overloads that also expose priority

Overview
When working with priority queues it's often useful to be able to access the priority of the head node as you dequeue it. This is especially common in many pathfinding and graph traversal algorithms.
When using GenericPriorityQueue or FastPriorityQueue you manipulate the nodes directly and so have access to their respective Priority properties.
When using SimplePriorityQueue the nodes are not publicly exposed and so it is currently necessary to first get the priority of the head element, and only then dequeue it.
A naïve user implementation might look like this:
public static class SimplePriorityQueueExtensions
{
    public static TItem Dequeue<TItem, TPriority>(
        this SimplePriorityQueue<TItem, TPriority> queue,
        out TPriority priority)
    {
        priority = queue.GetPriority(queue.First);
        return queue.Dequeue();
    }

    public static bool TryDequeue<TItem, TPriority>(
        this SimplePriorityQueue<TItem, TPriority> queue,
        out TItem first,
        out TPriority priority)
    {
        if (!queue.TryFirst(out first))
        {
            priority = default;
            return false;
        }

        priority = queue.GetPriority(first);
        queue.Dequeue(); // Already have 'first' assigned, so no need to store it again.
        return true;
    }
}

This achieves the desired result using SimplePriorityQueue.GetPriority (added as a result of related issue #27), but this implementation is suboptimal (even if for a moment we ignore the fact that it is not thread safe).
The Problem
In its current implementation SimplePriorityQueue.Dequeue() retrieves an internal SimpleNode , which contains both the Data as well as the Priority properties we need, but only returns the data to the caller:
public TItem Dequeue()
{
    lock(_queue)
    {
        if(_queue.Count <= 0)
        {
            throw new InvalidOperationException("Cannot call Dequeue() on an empty queue");
        }

        SimpleNode node =_queue.Dequeue();
        RemoveFromNodeCache(node);
        return node.Data;
    }
}

So by performing Dequeue/TryDequeue we actually already have access the priority value of the head node that we want! It's just not exposed to the caller.
They instead have to make an additional GetPriority call, which in the general case requires a hash lookup via _itemToNodesCache.TryGetValue since it is intended to work for any node, that could be avoided altogether.
The Proposal
It would be trivial to add a Dequeue and TryDequeue overload to SimplePriorityQueue that each have a out TPriority parameter, since we get that value for free in both of the existing implementations.
For example, the overload for Dequeue could be:
/// <summary>
/// Removes the head of the queue (node with minimum priority; ties are broken by order of insertion),
/// and returns it along with its priority.
/// If queue is empty, throws an exception
/// O(log n)
/// </summary>
public TItem Dequeue(out TPriority priority)
{
    lock(_queue)
    {
        if(_queue.Count <= 0)
        {
            throw new InvalidOperationException("Cannot call Dequeue() on an empty queue");
        }

        SimpleNode node =_queue.Dequeue();
        priority = node.Priority; // <---- added
        RemoveFromNodeCache(node);
        return node.Data;
    }
}

And the overload for TryDequeue could be:
/// <summary>
/// Removes the head of the queue (node with minimum priority; ties are broken by order of insertion),
/// and sets it to first along with its priority.
/// Useful for multi-threading, where the queue may become empty between calls to Contains() and Dequeue()
/// or between GetProprity() and TryDequeue()
/// Returns true if successful; false if queue was empty
/// O(log n)
/// </summary>
public bool TryDequeue(out TItem first, out TPriority priority)
{
    if (_queue.Count > 0)
    {
        lock (_queue)
        {
            if (_queue.Count > 0)
            {
                SimpleNode node = _queue.Dequeue();
                first = node.Data;
                priority = node.Priority; // <---- added
                RemoveFromNodeCache(node);
                return true;
            }
        }
    }

    first = default(TItem);
    priority = default(TPriority); // <---- added
    return false;
}

They are identical to the existing implementations, except for assigning the priority out parameter. There should be no performance overhead other than one additional assignment, which is trivial.
This would even have the additional benefit that it's still thread-safe, unlike the naïve user implementation provided as an example at the start.
If it was deemed necessary to keep the function names unique and not overload them they could be named DequeueWithPriority and TryDequeueWithPriority respectively, or something comparable. 2nd hardest problem in computer science and all that...
Keeping things 'Simple'
The argument could be made that if you care enough about optimizing Dequeue with priority you should just use GenericPriorityQueue or FastPriorityQueue, and that the public signature of SimplePriorityQueue should be kept, well, 'simple'.
That is valid, but given how trivial this implementation would be to add it just seems like such a missed opportunity, especially for saving an additional hash for an operation that as I understand it is very common in some of the main applications of Priority Queues.
More importantly, the SimplePriorityQueue promises to be thread-safe, and requiring the user to make three calls means we can no longer guarantee that the operation is thread-safe - it's now up to the user to ensure that they correctly lock access to the container for the duration of their First (or TryFirst), GetPriority and Dequeue calls. Yuck.
It just seems like the equivalent of creating a SimpleDictionary implementation that promises to be "thread-safe" , but only has Contains and GetValue and does not provide a TryGetValue:
// Needs to hash key twice
// Cannot guarantee thread-safe value access
if(SimpleDictionary.Contains(key))
{
    Value value = SimpleDictionary.GetValue(key);
    // Use value here ...
}

// Needs to hash key once
// Can guarantee thread-safe value access
if(SimpleDictionary.TryGetValue(key, out Value value))
{
    // Use value here ...
}

The primary purpose of this library is performance (it's in the name after all), so I'd like to make the argument that even its 'simple' implementation would benefit from this addition, while (especially if we use unique names) remaining backwards compatible.
The proposed addition would make a common access pattern safer (one less place the user has to worry about thread safety) and faster, at no extra cost.
Relevant issues

https://github.com/BlueRaja/High-Speed-Priority-Queue-for-C-Sharp/issues/27 : The first discussion of this issue, which resulted in the addition of SimplePriorityQueue.GetPriority. As outlined here that is sub-optimal in this specific case where we already have the node and so don't need to hash to retrieve it. It also requires the caller to manage their own thread safety which the proposed change also throws in for free.

I've made a pull requests that adds a variation of the proposal: #55
In hindsight it would be impractical to have an out parameter on a function that isn't of the format bool Try...(), since there would be no way to know if the returned out parameter is valid or not, especially if it's a value type and so cannot be null-checked.
Instead I added the proposed functionality as overloads to TryFirst, TryRemove and TryDequeue. In each of these cases the caller would normally need to use GetPriority/TryGetPriority first, so this can now be done thread safely.
This is also now consistent with the intent (as per the region that contains them) that the Try*(...) functions are intended for multiththreading.


Update Visual Studio gitignore to include vscode

added ignore rule for visual studio code

Thanks, but see Global/VisualStudioCode.gitignore

thanks for pointing it out.


cli: Add a human readable format to status

supersedes #602 and builds on top of #639

Updated with most recent progress, still in draft status.
Tasks still to do:

Format output to be more akin to rpm-ostree status
Revise tests to function correctly with all fields
Clean up code conventions and style to align with proper bootc/rust conventions


_set_sqe_cmd_op: Simplify the code - direct variable access

Members of the union can be accessed directly using the other
union member off is not needed here.

I'm not too much interested in the block device part right now, I was just looking how the IORING_OP_URING_CMD works. It is an interesting idea to send an SQE from userspace and to let it wait until the kernel needs it - I guess I can do exactly the same for fuse.
I'm also interested in zero-copy, but looks like this is not implemented in ubd yet. Existing splice in fuse doesn't work perfectly for us (network file system) - it just ends up as a bit faster memory copy.


Documentation badge doesn't fit on Events

Hi @falko
Thank you for reporting this. It is now fixed in the latest release.
Kind regards


[BUG-255] - Fixing Issues with pipeline_metadata

Fixes https://github.com/elastic/terraform-provider-elasticstack/issues/255

@tobio , could you unblock this for me please. This is my first PR and hope to fix the bug raised in the Issues area.

Thanks for the comments and guidance @tobio . Could you see if this is what you intended ? Appreciate the guidance as I'm starting my journey with Go here.

Thanks for this @preyas-prakasan! Sorry about the delay in getting a review here.

No problem at all. Thanks for the guidance @tobio.


Re-added the spell prep checkbox to the sheet

The update for the charactermancer seemed to remove the spell prepared checkbox from all repeating spell sections. This update will put those back in place so that users can prepare/unprepare spells.

The prepared checkbox is now the same as the indicator for preparedness (the red dot) -- the intent was so that you could quickly prepare and unprepare spells without needing to open the spell details, as you will be doing that much more often than changing how a spell works.  We are evaluating the impact of this UI change, but it is documented on the wiki.


I make the vim show the line number

I think it will be useful is the vim can show the line number.
As a student, I would be very honored if you merge my branch.
Many thanks!
Zhijian

This is a personal preference, please move it into my_configs.vim


v0.5.0 update

Because of all the non-backward compatible changes listed below, I figured this update should be treated as a major update.
Changes:

fromDecimal now accepts integer in case the float turns out to be an integer: Money.fromDecimal(10, Money.EUR) has an amount of 1000 cents.
fromDecimal now accepts decimals as strings: Money.fromDecimal("10.1", Money.EUR) has an amount of 1010 cents.
Fixed bug where multipliers[0] in fromDecimal method was 0. Now 1.
Add toJSON and toString methods to allow string concatenation and calls with JSON.stringify.
Add toDecimal method to extract the decimal amount as a float (cf. https://github.com/davidkalosi/js-money/issues/6).
Allow optional  second argument to divide and multiply method to allow for other functions than Math.round.
Update/add tests for new revision.
Update documentation.
Pin lodash dependency to 3.x.x to avoid any API breaking change.
Use latest node LTS v4.2.2 through the .nvmrc file.
Add .editorconfig file to improve code style consistency across editors.

toString method courtesy of @drewclauson

Hi and thanks for the PR,
I have one big issue with it - the removal of the object construction method is a no go.
I am using this to create money objects stored in mongodb.
The static fromInteger method was introduced to have the following logic

the constructor only accepts an the amont as integer + currency
fromInteger can be passed either and object with an integer amount or 2 parameters
fromDecimal is the same as as #2 just for decimals.

I am using the code
Money.fromInteger(varFromMongo);

Where the var is an object pulled from the db,

Fair enough. My initial though here was that it was just creating a bit of confusion having both signature from a user perspective and from a maintainer perspective since it adds branches to the code. Happy to add the feature back in since the other features could be useful as well.
In the future, the lib could temporary be built as 2 bundles using something like webpack to give some time for users to update their code to the new signature while the feature gets slowly deprecated. Just food for thought :+1:

Updated the PR and added back support for object constructor. Brought down the version bump 0.5.0 as it doesn't break backward compatibility.

merged. thank you ;)
BTW I a considering to add a BigMoney class with the same prototype that could handle arbitrary-precision calculations.

DO you mean, using something like https://github.com/MikeMcl/big.js ?

yeah something like that, 2.8kb is nothing theese days.
I need an implementation that won't be loosing precision.


Sort menu items in admin panel by name

IMO it would be much better if we sort the menu items by their names and create a quick access part for frequently used items.

Can't do that. Menu items might have different names in different languages, and we would also get weird items at the top and important ones at the bottom.
What could be done however, and I think it might already be the case, @sfmskywalker made a demo I think, is that typing some text filters the items in the menu.


Initial Plan Page

Addresses https://github.com/konveyor/virt-ui/issues/8

Hi @gildub A couple comments...

Remove the border around the empty state component.
There should be 24px padding between icon and heading text
Missing the subtext in the mockup that goes below the heading
There should be 16px padding between the heading text and the subtext
There should be 32px padding between the subtext and the icon.

Thanks.

Ah sorry I missed the visual things, I had just quickly reviewed the code. @gildub let me know if you need help with the padding stuff, we shouldn't hard-code pixel sizes, the pixel sizes Vince describes correspond to spacers in PatternFly: https://www.patternfly.org/v4/design-guidelines/styles/spacers You can see where I use those in some places via import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing'.
@vconzola, does this look right for the empty state of the Providers page? If so, @gildub you can imitate the code of my ProvidersPage file when providers.length === 0. I think you need to put an <EmptyStateBody> above the button, with the body text from this slide of the mockups ("Create a migration plan to select VMs..."), and that should fix the spacing above and below that text since spacing is built in to <EmptyStateBody>.

@vconzola  does this look right for the empty state of the Providers page?

Forgot my screenshot.

@gildub I'm also about to implement basically this same PR for the mappings page, once I have that ready we can compare and maybe identify common components to abstract (although it's pretty lightweight).

@vconzola, @mturley thank you for you reviews, I probably should have pushed this one as WIP (draft) meanwhile the back and forth about the look & feel is likely normal UI work flow. Anyway, I'll get back onto it first thing on Monday.
@vconzola, one thing missing are the pagination details, although it probably doesn't matter when there are no objects displayed, but that's what the UI Mockups is showing, so is it needed or not (of course outside of the case when there mig plans)?
@mturley, I'll readjust from your code.

@gildub the pagination is something Vince and I discussed that we should have surfaced somewhere. We decided the pagination controls should be shown only if there are providers/mappings/plans to show, so they shouldn't be in this empty state, but they could still appear with different empty state (TableEmptyState from mig-ui) if the user added filters that don't match anything. That will only become relevant once we get around to using FilterToolbar in this page (I need to finish moving that into lib-ui as well).

@gildub here's my stuff for the mappings pages. You can pretty much copy the structure of NetworkMappingsPage or StorageMappingsPage from here: https://github.com/konveyor/virt-ui/pull/16 you're pretty close, though. I think it's just the color variants on the PageSections and the missing EmptyStateBody.

@gildub Sorry for the slow reply - I was on PTO Friday. The Mappings empty states look good now. Thanks for making the changes.


disable run when there are analysis errors

Or, make it clearer that the compiled results will be somewhat non-functional.


Consolidate spirv-tools/headers locations

The glslang component now pulls down its own versions of spirv-tools and spirv-headers, leaving LVL with multiple copies.  Reworked makefiles, scripts, and docs to use the glslang versions and avoided downloading/building the duplicates.

The AppVeyor build took 50 mins instead of 60-ish, so that should help the timeout problem.  Nice!


Typo

Hi, there is a typo in the Integrated tools table > Data Migration Assistant > Details > "Data Migration Assistant is a stand-alone tool to assess SQL Severs."
https://cfpstoragepwsh.blob.core.windows.net/misc/Selection_004.png?sv=2020-04-08&st=2021-08-13T06%3A32%3A54Z&se=2021-08-15T10%3A32%3A00Z&sr=b&sp=r&sig=rn2wlmbenCWl7YNJBRHMOtR4YEOZ%2FgcLz1lMbneS2Ng%3D
Sounds dangerous. Happy Friday the 13th.
[Enter feedback here]

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

ID: d18912e1-fcca-5ea6-869c-10548a5bde04
Version Independent ID: f06260f5-3204-57a7-0ceb-ddb12cabd81d
Content: About Azure Migrate - Azure Migrate
Content Source: articles/migrate/migrate-services-overview.md
Service: azure-migrate
GitHub Login: @ms-psharma
Microsoft Alias: panshar

@seephez Thanks for the feedback. This is taken care as part of this change. The change should reflect soon in the document. Thanks again!

@seephez The change is reflecting in the document now.


Raise the bors timeout to four hours

The timeout is, by default, one hour. nix builds take about that long,
sometimes longer, sometimes shorter, making builds flaky.

Thanks, @notriddle!
When changing arbitrary values to other arbitrary values I'm a big fan of excessive documentation. And since I don't even know the reasoning for why 4 hours was chosen, can you elaborate both in the bors.toml and also in the commit message and to why it was chosen? Whatever heuristic is used will be useful to know so that we know how to adjust it if we need to in the future as well.

I added a comment about the matter to bors.toml

Oh yeah, love it! Thanks, @notriddle!
bors r+


Permissions

Create Permissions (https://github.com/tipoff/authorization/issues/22) & assign to default Roles (https://github.com/tipoff/authorization/issues/21) using the new PermissionMigration and Helper in tipoff/authorization package:

https://github.com/tipoff/authorization/issues/23

https://github.com/tipoff/flex-scheduling/pull/27


The input value type 'ModelAttributeTypes' is not present when resolving type

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
A clear and concise description of what the bug is.
I have reinstalled the amplify CLI (4.18.1) and modified a schema.graphql . but, it was failed when amplify push.
Amplify CLI Version
You can use amplify -v to check the amplify cli version on your system
isheejong@gmail.com:~/environment $ amplify -v
4.18.1

To Reproduce
Steps to reproduce the behavior or terminal output if applicable
1. modified the schema.grapql to below content.
type Cart
@model(queries: null, mutations: null, subscriptions: null)
@aws_api_key
@aws_cognito_user_pools
@key( fields : ["sessionId"], name: "sessionId")
{
  id : ID!
  memberId:String
  sessionId: ID
  cartType: CART_TYPE!
  cartName: String!
  orderSummary: AWSJSON
  orderSummaryInfo: AWSJSON
  createTime: AWSDateTime
  updateTime: AWSDateTime
  cartItems: [CartItem] @connection(name:"CartCartItem")
}

type CartItem
@model(queries: null, mutations: null, subscriptions: null)
@aws_api_key
@aws_cognito_user_pools
{
  id: ID!
  productNo: String!
  itemNo: String!
  productType: PRODUCT_TYPE!
  packageNo: String!
  sellerId: String!
  productName: String!
  itemName: String!
  itemPrice: Float!
  itemQty: Float!
  cartItemInfo: AWSJSON
  cart: Cart @connection(name:"CartCartItem")
}

enum CART_TYPE {
  MEMBER
  SESSION
}

enum PRODUCT_TYPE {
  UNIT
  PACKAGE
}

type Query {
  getMyCart:Cart
  getCartBySessionId(sessionId:String!):Cart
}

input CreateCartInput{
  cartType: CART_TYPE!
  cartName: String!
  orderSummary: AWSJSON
  orderSummaryInfo: AWSJSON
}

input UpdateMyCartInput{
  memberId: String!
  orderSummary: AWSJSON
  orderSummaryInfo: AWSJSON
}

input UpdateCartInputBySessionId{
  sessionId: String!
  orderSummary: AWSJSON
  orderSummaryInfo: AWSJSON
}

type Mutation{

  createCart(input: CreateCartInput!):Cart
  @aws_cognito_user_pools
  @aws_api_key

  updateMyCart(input: UpdateMyCartInput!):Cart
  @aws_cognito_user_pools

  updateCartBySessionId(input: UpdateCartInputBySessionId!):Cart
  @aws_api_key

}

2. amplify push
Expected behavior
A clear and concise description of what you expected to happen.
** you can see following errors.**
Resource Name: zaic7uucg5fcjnuysj35hs4ba4GraphQLSchema (AWS::AppSync::GraphQLSchema)
Event Type: update
Reason: Schema Creation Status is FAILED with details: Found 6 problem(s) with the schema:
The input value type 'ModelAttributeTypes' is not present when resolving type 'ModelStringInput' [@151:1].
The input value type 'ModelAttributeTypes' is not present when resolving type 'ModelIDInput' [@167:1].
The input value type 'ModelAttributeTypes' is not present when resolving type 'ModelIntInput' [@183:1].
The input value type 'ModelAttributeTypes' is not present when resolving type 'ModelFloatInput' [@195:1].
The input value type 'ModelAttributeTypes' is not present when resolving type 'ModelBooleanInput' [@207:1].
The input value type 'ModelPRODUCT_TYPEInput' is not present when resolving type 'ModelCartItemFilterInput' [@224:1].

Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: ubunt, cloud9
Node Version. You can use node -v to check the node version on your system

isheejong@gmail.com:~/environment $ node -v
v10.19.0

Additional context
Add any other context about the problem here.

@isheejong I was able to repro this. While we work on a fix, you can get around the issue by adding the following to your graphql schema:
enum ModelAttributeTypes {
  binary
  binarySet
  bool
  list
  map
  number
  numberSet
  string
  stringSet
  _null
}

@isheejong I was able to repro this. While we work on a fix, you can get around the issue by adding the following to your graphql schema:
enum ModelAttributeTypes {
  binary
  binarySet
  bool
  list
  map
  number
  numberSet
  string
  stringSet
  _null
}

Thank you for sharing the work around :)

@isheejong This is fixed in the latest version of the CLI (4.19.0)

Thank you very much : ) I will test on it.

I'm still having the issue with Amplify 4.19.0.

The input value type 'ModelSTOCK_MOVEMENT_STATEInput' is not present when resolving type 'ModelStockMovementHistoryFilterInput'

StockMovementHistory is a @model type without queries or mutations and is referenced via a @connection from another type.
STOCK_MOVEMENT_STATE is an enumeration present in StockMovementHistory.

We also have this issue in Amplify 4.19.0.

I tried to recreate the whole projet and everything worked fine, but the bug still persists on existing project.
Hope this helps.

@iShavgula-TacTill @yonatanganot are you seeing an issue with the AttributeTypeEnum not being included in your schema or some other custom enum? If it's a custom enum, please open another issue so we can track that separately

I’m having the issue with a custom enum, which is also one of the errors described in the original post of this issue.
Here is copy of it:
The input value type 'ModelPRODUCT_TYPEInput' is not present when resolving type 'ModelCartItemFilterInput' [@224:1].
Does that mean that the 4.19.0 is not meant to fix the issue with custom enums?

@iShavgula-TacTill Sorry, I missed that custom enums were also part of the error in the original post. No, the current version does not fix that issue. The above PR addresses that problem.

The fix for this has been released. Please install the latest version of the CLI to get the updates.


unstable/master for docs should be unversioned

readthedocs uses the value of redis.version as the verison, in the title. This makes indexing in search engines display a title that indicates an unreleased version. From here on in, that version should list as master branch as a result of this change

Codecov Report

Merging #5 (f4f5bbf) into master (15f315a) will increase coverage by 0.00%.
The diff coverage is 93.75%.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   93.61%   93.61%
=======================================
  Files          76       76
  Lines       16214    16268   +54
=======================================
+ Hits        15179    15230   +51
- Misses       1035     1038    +3

Impacted Files
Coverage Δ

redis/client.py
89.37% <ø> (ø)

redis/cluster.py
92.42% <ø> (+0.37%)
:arrow_up:

redis/commands/graph/commands.py
84.50% <ø> (ø)

setup.py
0.00% <ø> (ø)

tests/test_cluster.py
98.28% <75.00%> (-0.38%)
:arrow_down:

redis/commands/search/commands.py
89.07% <93.75%> (+0.61%)
:arrow_up:

redis/commands/parser.py
90.32% <100.00%> (+1.61%)
:arrow_up:

redis/connection.py
88.33% <100.00%> (ø)

tests/test_search.py
99.07% <100.00%> (+0.05%)
:arrow_up:

tests/conftest.py
88.73% <0.00%> (-0.91%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


fix(parser): reject single-quoted string as identifier

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Summarize your change (mandatory)
To solve both #3891 and #3980, we made two changes in code:

A single-quoted string is not considered an Identifier during parsing.
For key-value pair in the With clause, we parse it as ObjectName instead of Identifier because . will separate LHS and RHS as two Idents instead of a single one while ObjectName consists of multiple Idents.

For test cases:

We remove all the single quotes in the With clause when it is a key.

Checklist
~- [ ] I have written necessary rustdoc comments~

[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
create source s with ( 'connector' = 'kafka', 'kafka.topic' = 'kafka_1_partition_topic', 'kafka.brokers' = '<IP_ADDRESS>:29092' ) row format json;

becomes:
create source s with ( connector = 'kafka', kafka.topic = 'kafka_1_partition_topic', kafka.brokers = '<IP_ADDRESS>:29092' ) row format json;

Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

SQL commands, functions, and operators

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
TODO
Refer to a related PR or issue link (optional)
close #3891
close #3980

We will need to update the documents (the tutorials have hard-coded the version tags so it will not be broken) after this pr. I wonder what is the motivation for this change?

Motivation:

Make it more compatible with PG.
The single-quoted string should be strictly rejected when an identifier is actually needed.

I will update the tutorial/demo if this gets merged.


Add copy to clipboard button for snippet files

Implements #32
Adds a copy button which helps copy files from the snippet directly to the clipboard.

Please fix lint errors.

Please fix lint errors.

fixed :wink:

It would be nice to show a toast message when file successfully copied to improve user experience. What do you mean?

It would be nice to show a toast message when file successfully copied to improve user experience. What do you mean?

This souds good. I would suggest that the button changes from copy to coppied when clicked, and from class primary to success and is disabled for a few secconds. I will try to adapt this, as the PR also needs to be rebased.

@sterapps I added the button as described above.


Quickfilter - Change Value in dropdown for bit datatype

Hello,
How can i change default yes / No values present in quick filter drop down for a Column of type bit ?
Instead of yes / no i want to show Open / Close.

@TechAspirant  check QuickFilter custom demo at here:
https://github.com/volkanceylan/Serene/blob/master/Serene/Serene.Web/Modules/BasicSamples/Grids/QuickFilterCustomization/QuickFilterCustomization.ts
my suggestion is push an enum editor and modify handler method, like Freight

QuickFilterOption("trueText") etc might help

what will be the string key as QuickFilterOption expects two parameter one is string key and other one is object value

Thanks it worked
[QuickFilterOption("trueText", "Open")]
[QuickFilterOption("falseText", "Close")]


[EventRequest] Codeunit 90 “Purch.-Post”, PostItemJnlLine

Please add a new publisher event OnBeforePostItemJnlLineJobConsumption in Codeunit 90 on function PostItemJnlLine and call it as shown in the image below:

Please add the corresponding Integration Event In the bottom of the codeunit
LOCAL [IntegrationEvent] CGK_OnBeforePostItemJnlLineJobConsumption(VAR ItemJournalLine : Record "Item Journal Line";VAR PurchaseLine : Record "Purchase Line";PurchInvHeader : Record "Purch. Inv. Header";PurchCrMemoHdr : Record "Purch. Cr. Memo Hdr.";QtyToBeInvoiced : Decimal;QtyToBeInvoicedBase : Decimal;SourceCode : Code[10])
I know it already exists the event OnBeforePostItemJnlLineJobConsumption, but I would need to have it with the PurchaseLine paramenter by VAR; I don't know if it's possible to change the current event and making the parameter by VAR, or actually create a new event as suggested.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Add rules_flex v0.2.1

As requested in https://github.com/bazelbuild/bazel-central-registry/issues/204
I edited the presubmit.yml to remove windows, because Flex does not build on that platform (https://github.com/westes/flex/issues/367).
cc @aaronmondal

(force-pushed for https://github.com/jmillikin/rules_flex/issues/9)


FEAT: Update UI of Landing Page, Single Product Page, Cart Page and Wishlist Page

📝 Description
Update the UI for the whole website.
🚀 New behavior

The single product page is updated
Updated the landing page
Updated the product card
Updated Navbar
Updated Wishlist and Cart Page
Added Share link feature for a single product
Added the Shop By Category Section on Landing page which shows only that category products on product listing page when selected

🖼 Preview Link
https://viskart-react-version-mqu8fe3oy-vishalpatil18.vercel.app/
💣 Is this a breaking change?

[ ] Yes
[x] No

🔬 Is the code self-reviewed?

[x] Yes
[ ] No

📋 Is the code well-formatted?

[x] Yes
[ ] No

🔗 Related to Issue

None

In wish list page There should be MOVE TO CART option 1.If item not in cart ,move it to cart (working fine) 2.If item already in cart ,move that item in cart and increment quantity of that item(instead of adding GO TO CART option)

This looks a bit complex but will try to implement it later. For now, I've created an issue for the same. Thank you for the suggestion.

UI looks great now. Sharing functionality is also working perfectly. One thing I would like to suggest about the footer is You can give footer width: 100%. right now it's centered

Reason:
I checked some sites and noticed that if the footer has color then width:100%  and on some sites where footer is transparent (without any bg-color) there it is centered.
footer with color
On groww they have centered top but footer is full
footer ( with no color)
On gatsby, they have a transparent footer.
Apart from that great work @VishalPatil18 👍

Thank you @gadgetfather for pointing it out. I'll fix this


HAL Integration: atsamd-rs/atsamd

Tracking issue for the HAL integration
https://github.com/atsamd-rs/atsamd/pull/654
State: ~Blocked~ Awaiting review
~Blocked by https://github.com/atsamd-rs/atsamd/pull/666~ Merged

Merged, closing.


Implements ReCompile step

I'm wondering what we should do with projects that do not implement a recompile function.
I guess, at least, a warning or notification to the user would be nice. Currently, you would get a type error of some sort.

Well, we can add a run-time check, but in the end throwing an exception because the project does not implement something seems ok to me. In this case, the exception would be that the project does not have a recompile method, which is quite clear indicator for "the project does not support/implement recompile"
What would you throw?

A NotImplementedError seems like a reasonable choice. Or we could create a custom exception.


Card101 Backend -  Read tasks from a Spring backend

This is fine for now because the prior code looks like it was already pushed to master. Please create the feature branch off of master after this is merged.


Moving maintainer kartg to Emeritus

Description
Moving maintainer kartg to Emeritus
Related Issues
N/A
Check List

[ ] ~New functionality includes testing.~

[ ] ~All tests pass~

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[ ] ~Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)~
[x] Commits are signed per the DCO using --signoff
[ ] ~Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
[ ] ~Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kartg you might have to remove the alias from CODEOWNERS as well to have a valid CODEOWNER file.

@opensearch-project/admin can you help to remove the permission here?

❌ Gradle check result for https://github.com/opensearch-project/OpenSearch/commit/6031d386942f89c37bab538617da326d90fa3d92: FAILURE

#10704 and #5329 , will refire

@opensearch-project/admin can you help to remove the permission here?

Done.


Make retry timeouts configurable

The timeouts while waiting for resources needs to be configurable. The current timeouts are too low when running a large number of apps. The test should be able to decide how long it wants to wait.

@Rohit-PX Can you take a stab at this?

@harsh-px will do.

Any update on this?

Have not started on this yet, will try to get it done by Friday.


Chunker.app - Oops, Failed to connect to backend

Oops, Failed to connect to backend
Something went wrong communicating with the server.
It asks me to RESTART everytime I uploaded my world.
On MS Edge 113.0.1774.57
From China using VPN
Trying to upload a world folder from latest Bedrock edition.

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

ID: 9f2fb27f-0ce1-9541-e617-7fe8148f8297
Version Independent ID: 6777fa19-93ad-1984-5fd8-a9adc3dc3a3a
Content: Chunker - Overview
Content Source: creator/Documents/ChunkerOverview.md
Product: gaming
GitHub Login: @neonerz
Microsoft Alias: mikeam

This means that Chunker cannot continue your session, when using a VPN you would need to ensure all your traffic is going through the VPN and that the VPN supports WebSockets. It may help to try a different browser, but I'd suspect it's down to your VPN configuration.

Closing as the question was answered.

omg I forget to comment...
It's due to VPN yes thank you very much!


Mistral: map toolCallId for tool messages

Change
Mistral tests are currently fail because all of a sudden Mistral decided to make tool_call_id parameter in tool messages mandatory:
Runtime java.lang.RuntimeException: status code: 400; body: {"object":"error","message":"Tool call id has to be defined.","type":"invalid_request_error","param":null,"code":null}.
This probably affects all Mistral users using tools.
cc @geoand
General checklist

[X] There are no breaking changes
[ ] I have added unit and/or integration tests for my change
[ ] The tests cover both positive and negative cases
[X] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green
[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)
[ ] I have added/updated Spring Boot starter(s) (if applicable)

cc @katcharov, this is an example of an issue that would not be caught with mocked LLM responses

hey @langchain4j your changes are enough to fix the issue, however this change for tool messages have introduced also a new MistralAiToolChoiceName enum called required which is pending to add. This new enum is not strictly related to the tool messages requests but would be great to complete with all changes involved in tool messages
We would need change ANY by REQUIRED here:
https://github.com/langchain4j/langchain4j/blob/9b63e2ccdf76b8014699498af39ca8bcf81cc009/langchain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiChatModel.java#L163
and here:
https://github.com/langchain4j/langchain4j/blob/9b63e2ccdf76b8014699498af39ca8bcf81cc009/langchain4j-mistral-ai/src/main/java/dev/langchain4j/model/mistralai/MistralAiStreamingChatModel.java#L156
We can handle it in other PR if you prefer it like this. WDYT?

BTW did Mistral announce this breaking change? I did not get any email notification

@langchain4j about below

@czelabueno oh, good to know! I guess tool choice logic can be added after https://github.com/langchain4j/langchain4j/pull/1989 is merged (I plan to merge tomorrow). https://github.com/langchain4j/langchain4j/pull/1989 introduces model-agnostic ToolChoice, so I guess it makes sense to wait till then?

ok make perfect sense to me, in fact the new ChatParameters fit well with the current MistralAI API specs, if it will be abstracted would be great!

@langchain4j

BTW did Mistral announce this breaking change? I did not get any email notification

in fact it was changed from May 24 😅, but I think that due to recent API changes, the API validation is well working now, for their official SDK it's mandatory as well.
This is my bad because I was away for a few months but I'm already active again to update all the changes 🙂

@czelabueno ah, I see! But in any case I would expect them to send the "final warning" email before actually making it mandatory. I can imagine there are still a lot of applicaitons that do not send the id and were broken by this change


Django 1.8 error: ImportError: cannot import name add_to_builtins

The version of Pypi is not working in Django 1.8. An error occurs trying to import:
  File "/home/nekmo/.virtualenvs/xxxx/local/lib/python2.7/site-packages/django_hosts/apps.py", line 4, in <module>
    from django.template import add_to_builtins
ImportError: cannot import name add_to_builtins

Please, update Pypi repo.

Pypi version is outdated?

same here

Master has a fix for this [1]. Any chance someone can push a new release to pypi with this fix?
[1] https://github.com/jezdez/django-hosts/blob/master/django_hosts/apps.py#L6


[Bug] Routine loads don't consume kafka topic

Describe the bug
Routine load was running but didn't consume

Be.INFO showed the frequency of routine load task scheduled to Be was less.

07:42->07:43-07:51->08:04->08:39

There was "running" transactions which status were committed and got stuck , didn't change

drill down and find

check the tablet

There were some warning in fe.warn.log

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Consume properly

OS: CentOS
Browser chrome
Version <IP_ADDRESS>

Work around

pause routine loads
restart fe master
the committed transactions, got stuck, disappeared
resume routine loads
the message in fe.warn.log  disappeared
routine load work properly

I can't see the image you post in issue.
Did you see some rollback failure log? If yes, it seems that the scheduler process has something wrong, you can upgrade to 0.11.42 to see if the problem is fixed.
We've make some bug fixed in new version.

Oh I see, we talked in WeChat group. It seems DROPPING PARTITION may cause this problem. You can try to pause the process of dropping partition and see if this problem could happen again.

yes, sounds like that.
I use :admin set frontend   config("catalog_trash_expire_second" = "60") to workaround this problem, but i don't know the root cause

this issue showed again.
i checked fe.log, fe.warn, fe.audit, there was not any drop action.
but issue happened again.

this time admin set frontend config("catalog_trash_expire_second" = "5")


lateral view explode support？

Error throws unexpected token: lateral at line 1 when I use a select statement with lateral view explode

@wumpz

My sql select  * from ( select * from users where dt>='20180801' and dt<='20180916' and id>100 a lateral view explode(info) as adid

Duplicate #239


[ISSUE#1817][MAS1.3.3] [Visual Requirements-Debug] Tool tips are not defined for “Previous, Next and Show diff” controls

Solves #1817
Description
The tooltips for arrows and hide-show buttons weren't showing.
Changes made

Tooltips for arrows and hide-show buttons

Testing

Coverage remained the same at 65.77% when pulling f554e54a0371bcc40b8c91da8b3f49f9f31c3326 on fix/tooltips-for-arrows-and-hide-show-buttons into e434a70da29c5086e7b4eb2a8b5011c3f8baac14 on master.

I think a tooltip should be added to the "Copy json" button as well, just to preemptively knock out that accessibility issue.


License?

The project is currently missing a license file, however, I saw in Issue #1 you were amenable to releasing this under a Boost license? I was wondering if you would be willing to attach a license to this project, since I am looking to use your rope implementation.

You got it, let me know if that doesn't work.

@wroever Wonderful, thank you.


PaisleyPark Won't Start

I'm not sure what started happening, but PaisleyPark will no longer fully run.
I was using 1.4.2 and then it suddenly stopped working. I updated to the most recent release - 1.4.5 - but the same behavior happens there. I'm not sure if this could have been from a recent windows update, as I haven't done much else to my PC.
When I run the program, it promotes to Administrator mode, spawns the updater (which says it's up to date), and then the program closes. When deleting the settings file it will ask to download the offsets, but still doesn't stay running after that. This is with ACT and/or FFXIV running and not running.
There's nothing added to error.log, and the only content for output.log is:
2019-09-26 17:52:02.9109|INFO|PaisleyPark.ViewModels.MainWindowViewModel|--- PAISLEY PARK START ---
2019-09-26 17:52:02.9339|INFO|PaisleyPark.ViewModels.MainWindowViewModel|Fetching update.

Let me know if there's any other information I can provide.

Have you done anything else on your system lately that would cause this to happen?

Aside from Windows Updates (Win10 btw), not that I can recall.

Can you check and see if there are any logs in the Event Viewer related to Paisley Park?

Ah, there are entries there. Here's the most recent event:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2019-09-26T23:52:03.337360400Z" />
        <EventRecordID>3057</EventRecordID>
        <Channel>Application</Channel>
        <Computer>SLIPSTREAM</Computer>
        <Security />
    </System>
    <EventData>
        <Data>PaisleyPark.exe</Data>
        <Data><IP_ADDRESS></Data>
        <Data>8d3a0b56</Data>
        <Data>d3d9.dll</Data>
        <Data>10.0.18362.329</Data>
        <Data>1ac9a115</Data>
        <Data>c0000005</Data>
        <Data>00000000000ac44e</Data>
        <Data>3e58</Data>
        <Data>01d574c564c9da52</Data>
        <Data>C:\Users\Kyitrai\Documents\PaisleyPark\PaisleyPark.exe</Data>
        <Data>C:\Windows\SYSTEM32\d3d9.dll</Data>
        <Data>35998dc0-d198-49b1-b671-71fa625252f1</Data>
        <Data />
        <Data />
    </EventData>
</Event>

The target being d3d9.dll made me realize RivaTuner might be in the way since it hooks that (I use it especially on games that don't do frame limiting well, like FFXIV :P). It was been enabled to hook globally (which I think has always been the case, but a bit fuzzy there). So I disabled that, and now it's fine.
Thanks for your prompt replies!

There is a build I have that fixes this, but it's not pushed out yet.  You can download it here: https://cdn.discordapp.com/attachments/578011246293549072/622467530065313792/PaisleyPark.zip

Nice - just tried it; re-enabled RivaTuner and started it, seems to be happy!
Thanks again!


Not all landscapes have Min RH, which can create negative values of landscapeAverageRH for ignitions

If you don't supply MinRH for your landscape, then RHmin=-99, and then landscapeAverageRelHumidity ends up being like -55.
landscapeAverageRelHumidity += weatherData.DailyMinRH[day] * climateRegionFractionSites;
So I'm proposing these code changes at L314 of PlugIn:
if (weatherData.DailyMinRH[day] == -99.0)
{
double relativeHumidity = AnnualClimate_Daily.ConvertSHtoRH(weatherData.DailySpecificHumidity[day], weatherData.DailyTemp[day]);
if (relativeHumidity > 100)
{
relativeHumidity = 100.0;
}
landscapeAverageRelHumidity += relativeHumidity * climateRegionFractionSites;
}
else
{
landscapeAverageRelHumidity += weatherData.DailyMinRH[day] * climateRegionFractionSites;
}
// modelCore.UI.WriteLine("  Fire Weather Check Daily={0}, Average={1}", weatherData.DailyFireWeatherIndex[day], landscapeAverageFireWeatherIndex);
}

Actually it's only used for Rx fire. And code will also need to be adjusted later in the code as well.

Actually it's only used for Rx fire. And code will also need to be adjusted later in the code as well.

Thanks for the catch.  This was pushed to the upcoming release, v3.

Thanks for the catch.  This was pushed to the upcoming release, v3.


Support odometry velocity in body and local frame [REOPENED]

At the moment we expect the external vision's velocity to be expressed in world/local frame. This PR allows for the vision velocity also being expressed in body frame. For this a field is added to the vehicle_odometry message that stores the frame in which the velocity is expressed;
Related ECL PR: https://github.com/PX4/ecl/pull/708
Solving issue: https://github.com/PX4/Firmware/issues/13935
FYI @TSC21 @jkflying

@jkflying Great, now it is not fitting on fmuv2 anymore.

@kamilritz it would probably look ugly, but you could limit the frame support per target using a preprocessor directive. Which we already have for v2 btw

SITL tests are failing recently often. I have a suspicion that this is related to the offboard 'takeoof and land' test case starting sometimes without having proper position information, since ekf is always reporting local_position valid for the first few seconds. Will fix this soon.
I just ran the mavsdk tests locally for the PR and those tests are passing:

Lets get this merged, change requests are addressed

Unrelated SITL failure, let's merge that.


100 add testcases to server user service

@JoMuelle I hope the changes I made are okay for you..
@TwoDigitsOneNumber could you do the merge? I'm afraid it does the weird thing again and your work of sorting it out this afternoon is in vain..

Generally very nice. Why don't you use Mockito.any() anymore? Does this have a reason? I will implement a method in the Pair to see if two pairs are equal, but you don't have to change anything for that. Most of my comments are not critical, except for the one on line 60 (I think)

I try to avoid Mockito.any() and replace with more specific calls whenever possible just to be sure that it only returns for example testUser if the testUser.id is passed and not if any other number is passed..


Convert server handler tests to Jupyter Server's framework

The server handler tests currently derive from Notebook's NotebookTestBase class.  However, JupyterLab 3.0 will no longer use Notebook as its server and depend on Jupyter Server instead.  At that time, we need to have our handler tests updated to use Jupyter Server's configurable_serverapp fixture.

This issue should be resolved in the jupyterlab3 branch via commit https://github.com/elyra-ai/elyra/commit/5a4c95fd7db593357baf87a2255fcea2c5a6071b


[0.5pt] Create a Label class

Create a Label class with an association to the Item class (in a separate .rb file). All Label class properties visible in the diagram should be defined and set up in the constructor method.

Click here to open PR.


feat: Expose encrypting and decrypting bytes

This is a proposal to allow using bytes directly without extra
conversion steps.
Use case: I am using protobuf encoded messages and encrypt them with
Olm. Now if I want to decrypt an Olm message vodozemac will decrypt the
message convert bytes into string and return it to me. Me, in turn, need
to convert string back into bytes and then decode my protobuf message.
The same thing happens when encoding a message.
What do you think? Current implementation breaks InboundCreationResult type for implementation simplicity.

Thanks for a review! Reverted the old commit and started from scratch to expose bytes directly.

Could you rebase onto latest master to get the CI fixed.


In this version, the server connection and disconnect events seem to fail?

@jchristn Hi! jchristn.

Hi @wf-soft - are the events not firing for you?  Or are you experiencing some other error?  Cheers, Joel

@jchristn
Yes, server events cannot be triggered. I'm using. Net 5

Awesome catch, I must have accidentally removed them on a recent update.  Fixing now.

@jchristn Great, my system can't work now. Thank you

Hi @wf-soft this should fix the issue.  Please re-open if it doesn't.  Thanks for finding and reporting!
NuGet: https://www.nuget.org/packages/WatsonTcp/<IP_ADDRESS>
Commit: https://github.com/jchristn/WatsonTcp/commit/c35b561da58c2642f967b66530feab3d9ab79bbb

@jchristn Vray Good!


About Pseudo Data Construction

Hi, thanks for the fantastic work. UniEval, a multi-dimensional evaluator, is quite useful!
However, I have failed to reproduce the operation of pseudo data construction.
(Section3.2 in the paper, especially for the relevance dimension)
It would be great if you could provide the the code for pseudo data construction, so we can easily train the UniEval model on other datasets.

I apologize for not having the time to structure the code for pseudo-data construction recently. However, I've uploaded an initial version (pseudo_data_summ.py) for your reference.


fix nightly scripts

Thanks for fixing this up! Added you as a collaborator so that you can do nightly runs on nightly.cs.washington.edu

Once you show me a successful nightly run I'll merge this!

Closing in favor of a PR directly to the repo


add npm publish gha

ticket
I'll ping ops to add the npm token as a  secret

Is this triggered on a new tag?

Is this triggered on a new tag?

on a new published release. the js sdk is using the same


Updated Ads and Main page

I have edited good pictures for ads, and created  good main page sections

please check this

please check this

great work. thanks for contributing @SahithiDevalla

Thank you for merging! :)
Can i delete branch now, I am new here , can u guide pls.

Thank you for merging! :) Can i delete branch now, I am new here , can u guide pls.

Why you want to delete the branch?

It is showing there to delete it.
can u tell will my contribution count for leaderboard, please consider it, this is my first contribution, they said it starts from 7 pm onwards, can u do anything about it.
can i make a pr again after 7 with same changes and can u merge it please.

I don't know about it. you can contract with GSSOC'24 management team. ok

They posted the kickoff will be after 7 so many ppl stopped crating pr's , i will loose points in it, can u help me in this please
is there any change to revert pr and i can make it again


nginx sub-path documentation

The setup experience can be greatly improved if the docs include the common configuration of a reverse proxy that handles SSL and uses a sub-path. Currently the docs are setup to make this difficult. Two changes to fix this are:
Default app.ini currently
PROTOCOL = http
ROOT_URL  = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/

Using the PROTOCOL variable conflates the listening port (http) with the external url (https). The naieve edit is to make PROTOCOL = https. This results in immediate failure becuase gitea is now listening as tls and looks for a tls key file.
It would be more more clear if the example app.ini were something like ROOT_URL = https://example.com/ to avoid the temptation of editing PROTOCOL (this could be named better to reflect that its the listening protocol but thats another issue)
Note: the app.ini from the web install process does not use the %(PROTOCOL)s form of the ROOT_URL but the gitea first-run does create an app.ini with such a ROOT_URL.
Adding a path to ROOT_URL such as '/git' would be the next edit for an admin installing gitea in a sub-path.
At this point gitea is rewriting URLs with https://example.com/git and listening on a port without tls. So far so good. The reverse proxy docs at https://docs.gitea.io/en-us/reverse-proxies/ say for a subpath to use proxy_pass http://localhost:3000/; # Note: Trailing slash note this does not work. example.com/git/user/word will be passed as /word and not /user/word. Only the final path part gets passed to proxy_pass. Whats needed is to remove only the added /git part.
  location /git/ {
    rewrite ^/git/(.*) /$1  break;
    proxy_pass http://<IP_ADDRESS>:3000$uri$is_args$args;
  }

Note: another approach which would move the complexity from nginx into gitea is to removing the trailing slash  proxy_pass http://<IP_ADDRESS>:3000 so that gitea gets all of /git/user/word and then gitea can use the ROOT_URL to determine that /git/ is extraneous.

This is what works for me for http://domain.com/git/ (running nginx/1.16.1 and Gitea version 1.8.3+2-g11f6ed4f8 built with go1.12.6 : bindata, sqlite, sqlite_unlock_notify):
server {
    listen 80;
    server_name domain.com ;

location /git/ {
    proxy_pass http://localhost:3000/;
    }
}

Without the trailing slash on proxy_pass everything was 404.

As shown by @defulmere ROOT_URL needs to be updated to have path as well, when using nginx with subpath. Which is also what documentation has https://docs.gitea.io/en-us/reverse-proxies/ and as such I will close this ticket.


sbt issue with EclipseKeys

Minor issue.
In the common settings the use of EclipseKeys means that sbt won't run on my system. I suppose one has to import them somewhere else. I use IntelliJ.
Removing the two lines gets it to work
--- a/build.sbt
+++ b/build.sbt
@@ -1,6 +1,6 @@
 val commonSettings = Seq(
-    EclipseKeys.useProjectId := true,
-    EclipseKeys.skipParents in ThisBuild := false,
+//    EclipseKeys.useProjectId := true,
+//    EclipseKeys.skipParents in ThisBuild := false,

fixed thanks a lot!

great!


Facilitate Switch to Dependency Manager on Existing Projects

In order to more easily migrate people with existing projects to use Dependency Manager, we should facilitate the switch easily. This means:

And existing project adds a dependency
If it detects that dependency in contracts it asks the user if they'd like to remove it from contracts since it will be in dependencies
It pulls the aliases (may request permission)
It gives a summary of files you can now delete from your project

There are still some incompatibilities with the dependency manager in VS Code.
I have to configure the same contract twice in contracts and dependencies to ensure that flow.json works properly.
Of course, the advantage is that I don't have to submit these contracts to the repo anymore, because they are under imports folder.
For your refer:
https://github.com/onflow/vscode-cadence/issues/542

Looks like this was fixed on the other ticket. Going to close.

I'm not sure this is related to this ticket, but it looks like it was resolved on the linked issue.

Yeah, I found that it has been fixed in flow-cli v1.18.0 .


Implement regex validation

Description:
$Sbject

This task has been deprioritized now. Hence, closing this issue.
For more info: https://github.com/ballerina-platform/ballerina-standard-library/issues/2716#issuecomment-1063852430


Add support for newest DLT specification

check with latest spec

[ ] add version info into Readme (which spec version we support)
[ ] implement all changes since 1.0.0 release version

This seems to be the latest spec (2023-11-23 R23-11):
https://www.autosar.org/fileadmin/standards/R23-11/FO/AUTOSAR_FO_PRS_LogAndTraceProtocol.pdf
This is basically the old spec being implemented already (actually it's 1.0.0):
https://www.autosar.org/fileadmin/standards/R17-03_R1.1.0/FO/AUTOSAR_PRS_LogAndTraceProtocol.pdf
DLT V2 was introduced in 2021-11-25 R21-11, other changes before to DLT V1 seem to be minor only.
The DLT Version can be evaluated by bits 5-7 of first Byte within Header for both DLT versions.
DLT V1
[PRS_Dlt_00094] ⌈The Header Type (HTYP) shall contain the following information
and be encoded the following way:
...
• Bit 5-7: VERS (Version Number)
DLT V2
[PRS_Dlt_01008] dThe Header Type (HTYP2) shall contain the following information
and shall be encoded in the following way:
...
• Bit 5-7: VERS (Version Number)


Intake form displays map preview with lat/long

Description
Intake form displays map preview with lat/long
Installed leaflet.js library for mapping functionality
Created map component that receives lat/long and zooms to it.
Added map component to submission intake form.
Added new ENV config value
PADS-4

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[X] I have read the CONTRIBUTING doc
[X] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

The only thing that catches my attention is the lat/ long option, once you enter in the lat and long, pressing enter on the keyboard doesn't prompt anything, you have to click elsewhere on the page to get the map working. I'm thinking it'd be best to have a button next to the longitude field, once they enter valid long/ lat values, they can click that button to get the map zoom in. When they enter values that are invalid the button won't get activated and the map won't zoom in to that coordinates.

..


Support gRPC protocol

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor
🔖 Feature description
In our system, we need to monitor internal services which only support the gRPC protocol
✔ Solution
Using protobufjs and @grpc/grpc-js to allow user can monitor their gRPC service
❓ Alternatives
No response
📝 Additional Context

Closing as resolved by #1964


DOC: UPDATE README

What's wrong with the existing documentation
add more features other than that you have mentioned.
wants to add some more content to the description so that it will be more easily understandable.
align/modify some of the headings .
wants to make an impressive readme
Add ScreenShots
add more features other than that you have mentioned.
wants to add some more content to the description so that it will be more easily understandable.
align/modify some of the headings .
wants to make an impressive readme
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

@MonalikaPatnaik please assign me this issue


ErrNoSuchEntity is difficult to manage for GetMulti

When doing a GetMulti request, it's possible to get back a MultiError which doesn't compare with ErrNoSuchEntity. So now I have the choice of either ignoring all errors because I don't want to exit in case some of the entities exist – or I have to do a deep inspection of the error. Am I missing an easy way to not have to do either of those two?
It's unclear to me why it's an error in the first place – a nil value usually means something is missing, and a non-nil value means it was found. Is there a reason for that?

No, unfortunately you do have to loop to compare them (it's the only way you could tell, for example, which entities were missing and which failed to load for some other reason).
We have to use the error return to indicate a missing entity since GetMulti doesn't directly return the entity being retrieved.

@blixt Do you have a concrete suggestion for improving this? We've used this API in app engine for a while now and haven't found something more approachable yet.

My expectation was to get nil (or whatever empty value the input slice would have) in the result list and only other types of errors in the error result. Basically, a missing value is not an error – it's just an empty value. This is how I'm used to Go errors, that they are returned in cases where other languages would throw an exception (and NoSuchEntity would not be an exception, just normal operation). For example, the Python Datastore API only returns None rather than raising an exception if a key does not exist.
Obviously this would be an API change so it's probably not a realistic suggestion. The only non-breaking change I could suggest is that MultiError has a value PartialResult which indicates that the result list should be inspected because it contains a partial result (e.g., the error was not fatal / there were a few entities returned).

I don't think we're going to make progress on this.