Add sentencepiece support to HuggingFaceModel

What does this PR do?
This PR adds support for saving sentencepiece tokenizers by serializing and loading the spiece.model file (e.g. https://huggingface.co/bigscience/T0pp/blob/main/spiece.model)
What issue(s) does this change relate to?
Closes CO-1902
Before submitting

[x] Have you read the contributor guidelines?
[x] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[x] Did you update any related docs and document your change?
[x] Did you update any related tests and add any new tests related to your change? (see testing)
[x] Did you run the tests locally to make sure they pass?
[x] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

@bandish-shah since mihir is out all week, can I get your admin review on this?


[branch-2.1] Picks "fix Fix AutoIncrementGenerator and add more logs about auto-increment column #37306"

Proposed changes
picks https://github.com/apache/doris/pull/37306

run buildall


Need to report sharding status to tracker

We need to make the tracker be reported sharding status from each blockchain node.

Done.


add api of ListSpecifiedUserMemberOf

it relates #81
Note

At https://github.com/senk8/gotwtr/blob/ret-all-lists-specified-user-member/list_members_test.go#L309 ,
'id' was `id`in the original response.  Do you know of a way to include` ` in` `?

Please rebase to up-to-date.

'id' was idin the original response. Do you know of a way to include  in ?

FYI
https://github.com/sivchari/gotwtr/blob/9c2c77aa4f3cdc37f27d06bfb8d748566b51674e/tweet_lookup_test.go#L320-L335

Please rebase to up-to-date.

'id' was idin the original response. Do you know of a way to include  in ?

FYI
https://github.com/sivchari/gotwtr/blob/9c2c77aa4f3cdc37f27d06bfb8d748566b51674e/tweet_lookup_test.go#L320-L335

Done

I suggest to method name and error message is unified.
And this method returns list array.
So, I think it's better to modify ListSpecifiedUser to ListsSpecifiedUser(related endpoint name and option, response, too).
How do you think ?

@sivchari
LGTM. I have no special intention in using listSpecifedUsers.
I work on this.


map filter + sort + pagination to search

What
Describe what you have changed and why.

Update sort on the search and add sort data into the controller
Update filter on the search and add filter data into the controller
Add pagination control and mapping
LocaliseKeys are passed to the renderer now rather than values to allow the renderer to then change the values to the preferred language loaded
Options for limits, sort, and filter are added to the controller instead of the renderer so that the controller controls the data while the renderer just uses that data.
Validation has been added to limit errors
All data for search has a source of truth which is the data package. This makes it easier to find search data for any check or update and hence makes it more maintainable.

How to review
Describe the steps required to test the changes.

Check if the code changes make sense
Check if the tests pass
Can test locally by running web instances, dp-search-api, dp-frontend-search-controller and then on the browser, go to http://localhost:20000/search?q=housing
The sort, filter and pagination should be functioning correctly - try different use cases
for dp-frontend-renderer, you need to run the branch develop to get the latest update on the search page

Who can review
Describe who worked on the changes, so that other people can review.
Anyone

Conflicts with go.mod need to be resolved


Error: Cannot find module "./src/index.js"

Running the project with WebStorm produces this error:
ERROR in ./src/index.js
Module build failed: SyntaxError: D:/Modern React with Redux Workspace/ReduxSimpleStarter/src/index.js: Unexpected token (6:4)
4 | // Create a new component. It should produce html.
 5 | const App = () => (
> 6 |     return
Hi!
;
   |     ^
 7 | )

Please assist.

Turns out this is what one puts in the class body these days.
const App = () => (
Hi!
 )
This helped me find that out: https://babeljs.io/repl/#?babili=false&evaluate=true&lineWrap=false&presets=es2015%2Creact%2Cstage-0&targets=&browsers=&builtIns=false&code=const App %3D () %3D> (

Hi!<%2Fdiv>
)

const App =() => {return
Hi>
}

or
const App = () => (
Hi!
 )

Here's the full console error. New syntax for the const doesn't solve the problem
Uncaught Error: Cannot find module "./src/index.js"
at webpackMissingModule (bundle.js:47)
at Object. (bundle.js:47)
at webpack_require (bundle.js:20)
at bundle.js:40
at bundle.js:43

I've solved the issue. If you're following his Udemy video; at some point he asks you to delete the 'src' folder, recreate it, then create a new file inside called 'index.js'. INSTEAD OF deleting the entire 'src' folder, delete the other subfolders in 'src' and leave the 'index.js' inside 'src' (the one that's in the root of 'src'). You can delete all the lines of code in 'index.js' and start from there for his videos.
I believe this has something to do with the IDE or server automatically adding dependencies to the module. Personally I ran into the same problem using bash and the IDE 'visual studio code' on mac.

Had the same error, but actually whats happening is the ; that you had at line 6.
Cheers!

still having this issue, tried to deploy the weather app but i get the same error which is :
bundle.js:1 Uncaught Error: Cannot find module "./src/index.js"     at bundle.js:1     at Object.<anonymous> (bundle.js:1)     at n (bundle.js:1)     at bundle.js:1     at bundle.js:1
my code located at : https://github.com/yonarbel/reactWeatherApp

I had similar problem, in my case the problem was I had to start the webpack (I think this is required only for the first time).
Use this command to start the webpack : webpack--w

Worked for me once I removed the curly braces and kept the return statement on one line.
const App = () => {
    return
<SearchBar />
;
}

I had the same problem, then change the return curly brackets to normal brackets and all seemed to be fine:
const App =  ()=> {
return  (

);
};

try using this {} brackets instead of using ().

I got the same error. Just in case it helps anyone out, the cause was my missing a closing ) and a ; in this code:
    return (
      <VideoListItem
        onVideoSelect={props.onVideoSelect}
        key={video.etag}
        video={video} />
      );
  });


[BUG] Bot does not continue after confirming 2fa code

Description

I start the bot. Then it first starts chrome etc. Then When it askes for the 2fa code confirmation and I press enter. It does log me in and go to the rewards dashbord (I used -v to observe its behavour). Then after de dashbord is loaded it just stops doing anything. I have waited for over 4 hours and still nothing happend.
I have tried this multiple times and also removed the session with eatch atempt.
Expected Behavior

After confirming the 2fa code it schould continue to the dashbord and start doing the punsh cards.
Actual Behavior

After confirming 2fa it does log me in and then continue to the dashbord. But stops doing anything afer that. And also shows no errors.
Possible Fix

I don't ecactly understand how the code works but it at least lies in the part where afer logging in/ confirming the 2fa code. It returns to the dashbord and then something goes wrong during the step after that.
Steps to Reproduce

Start the main.py with the -d argument and the -v argument
Use an account with 2fa
Get the 2fa code required prompt
Fill in the correct 2fa code
Press enter after aproving 2fa
Wait between 2-4 hours
See that the bot has not continued but did succesfully log in.

log:
2024-01-25 11:59:51,627 [INFO] Using default request storage
2024-01-25 11:59:51,656 [INFO] Created proxy listening on <IP_ADDRESS>:53416
2024-01-25 11:59:51,656 [INFO] Using undetected_chromedriver
2024-01-25 11:59:52,572 [INFO] patching driver executable C:\Users\trist\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe
2024-01-25 11:59:53,418 [INFO] Screen size: 2142x1445
2024-01-25 11:59:53,419 [INFO] Device size: 2087x1294
2024-01-25 11:59:53,513 [INFO] [LOGIN] Logging-in...
2024-01-25 12:00:01,051 [INFO] [LOGIN] Entering email...
2024-01-25 12:00:11,311 [ERROR] [LOGIN] 2FA Code required !
2024-01-25 12:00:11,328 [ERROR] [LOGIN] 2FA code: 44
2024-01-25 12:00:11,328 [INFO] [LOGIN] Press enter when confirmed on your device...
---> After here it does not continue there is no more log even after hours of wating.
Context

Because the bot did not continue after logging in / confirming 2fa, it makes the bot unusable for me.
Your Environment

Version used: latest version of this repro by downloading the zip.
Environment name and version (e.g. Chrome ver): Chrome version: Version 121.0.6167.86 (Official build) (64-bits)
Operating System and version: Windows 10 version 22H2
Latest version of python as of now and latest version of all the required packages

Run it in verbose mode and click ok - it should continue from there. They may have changed the code again and the button is not defined the same.

If by running it verbose mode you ment python -v main.py .... Then here is the log I excluded the start since the log would otherwise be way to long. If you still need it tell me where I can post it. Also I discoverd that when you re run it without removing the sessions it seems to just work so it does specificly lie in the part where 2fa is needed and you are not already logged in.
The log:
import 'src.notifier' # <_frozen_importlib_external.SourceFileLoader object at 0x0000029A4AF9F260>
test 7.702
2024-01-27 14:42:02,528 [INFO]<EMAIL_ADDRESS>C:\Program Files\Python312\Lib_pycache_\netrc.cpython-312.pyc matches C:\Program Files\Python312\Lib\netrc.py
code object from 'C:\Program Files\Python312\Lib\pycache\netrc.cpython-312.pyc'
import 'netrc' # <_frozen_importlib_external.SourceFileLoader object at 0x0000029A4AFC41A0>
2024-01-27 14:42:05,217 [INFO] Using default request storage
2024-01-27 14:42:05,230 [INFO] Created proxy listening on <IP_ADDRESS>:62971
2024-01-27 14:42:05,230 [INFO] Using undetected_chromedriver
C:\Program Files\Python312\Lib\encodings_pycache_\cp437.cpython-312.pyc matches C:\Program Files\Python312\Lib\encodings\cp437.py
code object from 'C:\Program Files\Python312\Lib\encodings\pycache\cp437.cpython-312.pyc'
import 'encodings.cp437' # <_frozen_importlib_external.SourceFileLoader object at 0x0000029A4AFC6B70>
2024-01-27 14:42:06,142 [INFO] patching driver executable C:\Users\trist\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe
2024-01-27 14:42:07,073 [INFO] Screen size: 2218x1242
2024-01-27 14:42:07,073 [INFO] Device size: 2163x1091
2024-01-27 14:42:07,236 [INFO] [LOGIN] Logging-in...
C:\Program Files\Python312\Lib\encodings_pycache_\charmap.cpython-312.pyc matches C:\Program Files\Python312\Lib\encodings\charmap.py
code object from 'C:\Program Files\Python312\Lib\encodings\pycache\charmap.cpython-312.pyc'
import 'encodings.charmap' # <_frozen_importlib_external.SourceFileLoader object at 0x0000029A4B043B90>
C:\Program Files\Python312\Lib\encodings_pycache_\hex_codec.cpython-312.pyc matches C:\Program Files\Python312\Lib\encodings\hex_codec.py
code object from 'C:\Program Files\Python312\Lib\encodings\pycache\hex_codec.cpython-312.pyc'
import 'encodings.hex_codec' # <_frozen_importlib_external.SourceFileLoader object at 0x0000029A4B064710>
2024-01-27 14:42:15,422 [INFO] [LOGIN] Entering email...
2024-01-27 14:42:25,716 [ERROR] [LOGIN] 2FA Code required !
2024-01-27 14:42:25,730 [ERROR] [LOGIN] 2FA code: 76
2024-01-27 14:42:25,731 [INFO] [LOGIN] Press enter when confirmed on your device...

Did you press enter after putting in your 2FA and wait for it to proceed? It may require interaction on your part as I cannot troubleshoot what you see in verbose mode....

Yes I did as follows: I waited for the 2FA promt to come up then aproved it on my phone. When I saw the screen where it askes you to stay logged in I swichted to the termial and pressed enter. Then what I see happen afer that (in verbose mode) is as follows: The prompt asking wether to stay logged in or not disapairs and then get to the rewards dashbord where you can see your current points tasks etc. But after that the bot stops doing anything.
So when pressing enter it goes from this page (yes it is in dutch if you where wondering):

And after that it goes to the https://rewards.bing.com/ site but then does not proceed after that:

So this is the moment the bot stops working/proceding with what it is supposed to do.
I hope you understand what is going wrong now. And also thanks for the fairly quick responses so far!

So after you have confirmed the 2FA and run it again - the instance does nothing at all?

Yes exactly. After returning to the dashboard. It just does nothing no error's no trying to load a new page just nothing. The program is still active meanwhile but it just does not do anything. So it is probably stuck in some sort of infinite loop.

Temporary solution: I have the same problem. I just terminated the instance then ran it again. The login cookie should be saved after the first time you run it.

Try the update that was just pushed to the repo - let me know if you have any issue and we can check it out.

I got the new code from the repro and when running the following things happend (I used -v): It asked for the 2fa code I comfirmed it on my phone but nothing happend. And a few seconds later it showed the 2fa timout screen. After a few tries I manualy logged in by using my security key. Then it got to the window where it asked to stay logged in. So then I pressed enter and it worked. So it seems the new code did fix it. But now it does not continue to the do you want to stay logged in screen. This could be related or could just be me. Finaly I also noticed that for some reason images where disabled. I don't know why but this could be the reason of confirming 2fa did not work this time.
A few screenshot to show what I mean by after confirming 2fa it not continuing:

So I confirm the code on my phone but it stays on this screen. And pressing enter in the console does not help/does nothing.
As a final note it does seem to work properly now after logging in once using my security key so the bot is still usable and I have not had the issue with the versus game.

Yeah I threw that in when I was testing and forgot to remove it - if you want to remove the image clearing you can edit it in browser.py then look for the option about blink - then comment that line out


Get-EntraBetaMSPrivilegedRoleAssignment - Hotfix

We have deleted this file and excluded it from the list when we were doing MS prefix changes. So the changes in these PR are invalid now. closing this PR


Ade-ademiluyi webpage design.

This is my first commit following the instructions.

I am yet to add comments but will get that done before my next commit


chore(nuxt): Re-export components and composables

Description

Checklist

[ ] pnpm test runs as expected.
[ ] pnpm build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

!snapshot


init mock clock with start time

by default, mock clock starts from 0, which means the workflow.Now(ctx) will return 0 time at the beginning of the workflow.
This could cause problem when we need to calculate delay time for timer to fire at a specific point in time.

Coverage increased (+0.06%) to 65.252% when pulling a96d4d090a7fe7b9c51735948b9fdb4051147e20 on yiminc:test_set_current_time into a31deb597473a67ad48792fd275724435233a6bd on uber-go:master.


1.56 - mods exception

Hey,
Better fuel management and Better water management do throw exceptions on latest stable (well, excluding todays update).
Would be possible to remove them from compatible mod list (if you look on source codes of those mod you will see opened issues there).
Also sorry to hear that modding from now on will not be continued (as it seems) but devs of TLD always where anti-mod scene.
Thanks for all good You (and other modders) did.

PS - reffering to  WulfMarius version of those mods (as this one are installed by ModLoader

Lol, I just relized that opened issue in wrong project ;-)


Fix image map loading logic on desktop

Approach is explained in a large comment block in viame.ts

This PR allows all non-empty invalid strings instead of strictly how it was before with image paths vs blank?
This would allow loading wrongly formatted image paths if they were all incorrect?
I.E:
real images: ./folder1/image1.png, ./folder1/image2.png
but in column 2 it was: ./folder2/image1.png, ./folder2/image2.png where folder2 doesn't exist.
So your annotations could still be out of order if you mess up the relative/full paths for the images.  I'm not proposing that we fix this corner case, just trying to make sure I understand what is going on.

This would allow loading wrongly formatted image paths if they were all incorrect?

Yeah....  I don't really know how to juggle all the conflicting needs here, and this seemed like the best option.
As I recall, the main motivation behind reordering is to un-mangle out of order annotations when someone provides the images, and not really to defend against bad data entering the system.  It's more of a "you met a special case that lets us help you" feature.
Because we need to accept so many invalid types of data (input_labels.txt, *whitespace*, basically any invalid string) I think it would be hurting instead of helping to attempt to be any smarter than this.  For example, who knows what we'd break if we tried to detect path-like strings.

I'm not suggesting we error or prevent having timestamps in that field.  I just wanted to understand the possible failure conditions of this change.

Warning: I had a locally installed version of Nodejs with a buggy implementation of Stream.pipeline that did error handling wrong.  If you have this version, tests will fail.  If you use n, sudo n lts will install a working version of 16X, or you can install the newest 14X or 17X.


Negative z-index

Negative z-indexes have some valid use cases (such as an element uses as a background).
If you add a negative z-index to the config:
  zIndex: {
    'auto': 'auto',
    '0': 0,
    '-1': -1,
  },

You'll end up with: .z--1.
I think double dashes are trying to be avoided since they break comments if you ever comment out the html code.
Should there be a separate negative z-index generator similar to negative margins?

I would add a key like negative ... Adding an extra generator is not necessary as you only need the z-index: -1 ...
So I would use
zIndex: {
  'auto': 'auto',
  'negative': -1,
  '0': 0,
}

Also if for some reason you ever need more than one negative z-index, you could always do something like:
zIndex: {
  'auto': 'auto',
  'n2': -2,
  'n1': -1,
  '0': 0,
  '1': 1,
  '2': 2
}

Thanks for the suggestions, closing.

@adamwathan hmmm.....this is (kind of) an important class -z. Can we add that to tailwind? Since we already support negative margins, please? I know I can just put it in my configs but it will be useful if pulling from CDN.

@the94air support for this was introduced in 2104a4e006620e4bacb5463f866132c1631d612a a while ago. Did you encounter any issues with it? If so, make sure you're using the latest version of Tailwind and not v0.x 👍

Hi @hacknug. It's working normally when compiled by adding a negative value to the tailwind config as the documentation stated. But my issue is with the CDN version. I am thinking of supporting z-index: -1 at least for the CDN version. There is no .-z class in the latest version. That was my issue. And am just trying to know if there is a chance to support this by default. Thanks for help.

@the94air yeah, I also think it would we nice to have .-z-10 on the default config

That would be great!

Thanks anyways.


Where could I get the ws15 dataset in the example?

Any chance you could share the dataset?

@mayocc unfortunately, not at this moment. It was a mistake to use a proprietary dataset as an example from the start.
I will change the dataset to another one as soon as I get a chance.


Need "relationship" value set

Similar to providers and pharmacies, we need to provide a list of relationship types. The list to start would include "spouse" "sibling" and "child"

Guardian, Guardian ad litem, Case Manager

Not exactly what is needed for this, Art.
Tony McCormick
On Oct 13, 2016 11:05 AM, "Art Eaton"<EMAIL_ADDRESS>wrote:

Guardian, Guardian ad litem, Case Manager
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LibreEHR/fhir/issues/76#issuecomment-253591369, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AARci_qiifcjOx90zwD-fp_902xf7Iigks5qznLSgaJpZM4KWJPZ
.

--
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone.  The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to<EMAIL_ADDRESS>and
destroy this message.

Not sure if that is right, but this was the first issue on either fhir or core that sounded like it had any discernable context.  Guess not.
On October 13, 2016, at 19:04, Tony McCormick<EMAIL_ADDRESS>wrote:
Not exactly what is needed for this, Art.
Tony McCormick
On Oct 13, 2016 11:05 AM, "Art Eaton"<EMAIL_ADDRESS>wrote:

Guardian, Guardian ad litem, Case Manager
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LibreEHR/fhir/issues/76#issuecomment-253591369;, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AARci_qiifcjOx90zwD-fp_902xf7Iigks5qznLSgaJpZM4KWJPZ;
.

--
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to<EMAIL_ADDRESS>and
destroy this message.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.￼
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/LibreEHR/fhir","title":"LibreEHR/fhir","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/LibreEHR/fhir"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tmccormi in #76: Not exactly what is needed for this, Art.\n\nTony McCormick\n\nOn Oct 13, 2016 11:05 AM, "Art Eaton" <a href="mailto:u003cnotifications<EMAIL_ADDRESS>wrote:\n\n\u003e Guardian, Guardian ad litem, Case Manager\n\u003e\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/LibreEHR/fhir/issues/76#issuecomment-253591369\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AARci_qiifcjOx90zwD-fp_902xf7Iigks5qznLSgaJpZM4KWJPZ\u003e\n\u003e .\n\u003e\n\n-- \nPlease be aware that e-mail communication can be intercepted in \ntransmission or misdirected. Please consider communicating any sensitive \ninformation by telephone. The information contained in this message may be \nprivileged and confidential. If you are NOT the intended recipient, please \nnotify the sender immediately with a copy to<EMAIL_ADDRESS>and \ndestroy this message.\n"}],"action":{"name":"View Issue","url":"https://github.com/LibreEHR/fhir/issues/76#issuecomment-253663735"}}}

Nice to know you are paying attention. :-)
Tony McCormick, CTO
www.mi-squared.com
Support:<PHONE_NUMBER>, Direct:<PHONE_NUMBER>
My Calendar:  http://bit.ly/XznvDo
tóg go bog ē - Best advice from a pub owner in Ireland, to take it easy.
On Thu, Oct 13, 2016 at 4:49 PM, Art Eaton<EMAIL_ADDRESS>wrote:

Not sure if that is right, but this was the first issue on either fhir or
core that sounded like it had any discernable context. Guess not.
On October 13, 2016, at 19:04, Tony McCormick<EMAIL_ADDRESS>wrote:
Not exactly what is needed for this, Art.
Tony McCormick
On Oct 13, 2016 11:05 AM, "Art Eaton"<EMAIL_ADDRESS>wrote:

Guardian, Guardian ad litem, Case Manager
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LibreEHR/fhir/issues/76#issuecomment-253591369;,
or mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AARci_qiifcjOx90zwD-fp_902xf7Iigks5qznLSgaJpZM4KWJPZ>;
.

--
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone. The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to<EMAIL_ADDRESS>and
destroy this message.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.￼
{"api_version":"1.0","publisher":{"api_key":"
05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":
{"external_key":"github/LibreEHR/fhir","title":"
LibreEHR/fhir","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.
com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png
","avatar_image_url":"https://cloud.githubusercontent.
com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png
","action":{"name":"Open in GitHub","url":"https://github.com/LibreEHR/fhir
"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tmccormi in
#76: Not exactly what is needed for this, Art.\n\nTony McCormick\n\nOn Oct
13, 2016 11:05 AM, "Art Eaton" <a href="mailto:u003cnotification
s<EMAIL_ADDRESS>wrote:\n\n\u003e
Guardian, Guardian ad litem, Case Manager\n\u003e\n\u003e —\n\u003e You
are receiving this because you are subscribed to this thread.\n\u003e Reply
to this email directly, view it on GitHub\n\u003e \u003chttps:
//github.com/LibreEHR/fhir/issues/76#issuecomment-253591369\u003e, or
mute\n\u003e the thread\n\u003e \u003chttps://github.com/
notifications/unsubscribe-auth/AARci_qiifcjOx90zwD-fp_
902xf7Iigks5qznLSgaJpZM4KWJPZ\u003e\n\u003e .\n\u003e\n\n-- \nPlease
be aware that e-mail communication can be intercepted in \ntransmission or
misdirected. Please consider communicating any sensitive \ninformation by
telephone. The information contained in this message may be \nprivileged
and confidential. If you are NOT the intended recipient, please \nnotify
the sender immediately with a copy to<EMAIL_ADDRESS>and \ndestroy this
message.\n"}],"action":{"name":"View Issue","url":"https:
//github.com/LibreEHR/fhir/issues/76#issuecomment-253663735"}}}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/LibreEHR/fhir/issues/76#issuecomment-253672408, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AARci75e6OcDDFHGztQTC3AwL_Ef_VJpks5qzsOkgaJpZM4KWJPZ
.

--
Please be aware that e-mail communication can be intercepted in
transmission or misdirected. Please consider communicating any sensitive
information by telephone.  The information contained in this message may be
privileged and confidential. If you are NOT the intended recipient, please
notify the sender immediately with a copy to<EMAIL_ADDRESS>and
destroy this message.


Validate the Scoring Script

Create some psuedo test cases and use software testing technique to validate the scoring script.

@work4cs, where are we on this? Can you add a pipeline_tests directory (or similar) with the code and dummy data used? Thanks!


Report jest test results to AzDo

Looks like

There is an unfortunate issue with jest where if a afterall/beforeall causes a failure, the failure cannot be linked to a specific test.  This appears to be the case for the Razor formatting test.  This looks like

There is an unfortunate issue with jest where if a afterall/beforeall causes a failure, the failure cannot be linked to a specific test. This appears to be the case for the Razor formatting test.

Seems like making the display clearly different is a good thing, since if its in afterall/beforeall that means its not my fault, right? 😛


feat: cli completions + clap version bump to v4.5.17

Small QoL improvement by introducing CLI completions for Anchor.
Instead of repeatedly using anchor --help, we can now use anchor  + tab to generate completions.
This adds the clap_completions dependency to Anchor.
clap_completions uses clap v4.5.17, so the clap version used in Anchor has also been bumped.
There are no breaking changes between the currently used v4.2.4 and v4.5.17 - mainly just performance + bug fixes (https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)

Update:
Also added completions for avm.

This is very helpful, thanks for adding it and extra thanks for adding the documentation too.
Just some nits and we can get this in.

all nits fixed!


"Unsubscribe" page has partially occluded text

Unsubscribing from digest mails (https://chat.zulip.org/accounts/unsubscribe/digest/1234…) leads to a page where the text is partially occluded.  Note how in the first line, the upper parts of the letters are cut off, for example with ts and ds.
Setup:  Firefox 45.9.0 ESR (moderately outdated, I know, but I'm sure there are nonzero other users) on Debian.

I think this is another manifestation of #5368.

@zulipbot claim

Fixed by #5376.  @jackrzhang FYI, GitHub doesn't understand commas after Fixes, so you need to do a separate Fixes: for each one if you fix multiple issues in one commit (pretty lame, in my opinion).


Cheat sheet Template

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Thank you, for opening this pull request.
This is a standard message notifying you that we've reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you. Please be sure to READ the contribution docs.
Thank you, and happy coding.


[bug] score-compose causes double $$ escapes to break

When a variable contains $${foo} we current unescape it to ${foo} in the Dockerfile, which then causes the compose execution to break if the variable foo is not available, or if the format is bad like ${foo.bar.baz}.
This is generally not what we expect, and we'd rather users use an environment type resource if they need to access environment variables. Thus we want ${foo} to be escaped again, back to $${foo}, OR to add some other mechanism for resolving these.
A big usecase is for something like a workload that has $${pod.metadata.name} in an environment variable because the end goal is to deploy to Humanitec. Docker will never resolve ${pod.metadata.name}. And overrides are not useful here, because they must be applied to the whole usage of the variable, not the actual placeholder itself.
Solution 1: Do nothing, customers must find and replace the unsatisified placeholders before running compose up.
Solution 2: Replace $${foo.bar} with ${FOO_BAR} so that an environment variable can be used.
Solution 3: Don't unescape $${foo.bar} in variables, so that it just stays as ${foo.bar} at runtime.
Solution 4: Provide a --override-placeholder foo.bar=new-value option to supply a value to replace.
Solution 5. A mix of 3, and 4.
So far I think solution 5 is the answer: default to no escape, but allow override.

I've cut https://github.com/score-spec/score-go/pull/42 to improve this in score-go


a server process interrupt key sequence would be useful ...

When the server goes into an infinite loop it would be useful to be able to interrupt the running process and bring up a jadeite debugger to debug the problem ...

Definitely useful but likely to be a can of worms


Add Featurebase

Backstory

Data

name:  Featurebase
url:  https://help.featurebase.app/en/articles/8033192-how-to-delete-my-featurebase-account-organization-and-data
url_CODE:
difficulty:  easy
notes:
email:
email_subject:
email_body:
domains:  featurebase.app, auth.featurebase.app

I found additional domains:

developers.featurebase.app
docs.featurebase.app
help.featurebase.app
status.featurebase.app

Thanks for your contribution!


Add getters for AlertEvent

Specific getter methods (getService() and getDataMap()) for AlertEvent were removed as part of #5461
https://github.com/druid-io/druid/blob/master/java-util/src/main/java/io/druid/java/util/emitter/service/AlertEvent.java
Our internal alerting extension makes use of these methods and consequently they have started failing. If the only reason for the removal was their non-usage, can we get them added back please.
Unfortunately, I missed the PR before it was merged, else I could have raised a concern there. Thoughts @leventov ?

AlertEvent is not marked as @PublicApi. It could be, but other committers should agree on that.

I could see a good argument for making AlertEvent, ServiceMetricEvent, and RequestLogEvent public APIs. It's useful to poke at them in emitter extensions.


Add Azure Maps HTML Marker Layer module

Hi Arnaud,
I would like to add clusters on the map.
I already did it with Azure Map and angularJS by using an HTML Marker Layer as described on the  : Azure Maps HTML Marker Layer module
Here is the result :

HTML Marker layer is using the following JS File : https://github.com/Azure-Samples/azure-maps-html-marker-layer/blob/main/dist/azure-maps-html-marker-layer.js and renders both HTMLMarkers and clusters with the functions markerRenderCallback and clusterRenderCallback.
the HTML Marker layer is using a datasource initialized this way :
let clusterRadius = 25;

let clusterProperties = clusterProperties:any = {
	'Property_1': ['any', ['==', ['get', 'Property_1'], true]],
	'Property_2': ['any', ['==', ['get', 'Property_2'], true]],
	'Property_3': ['any', ['==', ['get', 'Property_3'], true]]
};

let DataSource = new atlas.source.DataSource(null, {
	//Tell the data source to cluster point data.
	cluster: true,
	//The radius in pixels to cluster points together.
	clusterRadius: this.clusterRadius,
	//The maximum zoom level in which clustering occurs.
	//If you zoom in more than this, all points are rendered as symbols.
	//clusterMaxZoom: 6,
	clusterProperties: clusterProperties
});

I tried to download the source Code of AzureMapControl.Components to modify it by myself, but it seems it is more complex than I can handle. I would really appreciate this enhancement.

Hi @spicamelot ! On a first look, that looks possible. I'll take another look at it other the weekend to see how it can be implemented 🙂

Just to keep you up to date, I have made some progress on that. I have started to implement the HtmlMarkerLayer, I am targeting something like that :
@page "/HtmlMarkerLayer"

@using AzureMapsControl.Components.Map
<AzureMap Id="map"
          CameraOptions="new CameraOptions { Zoom = 3, Center = new Components.Atlas.Position(-97, 39) }"
          StyleOptions="StyleOptions"
          EventActivationFlags="MapEventActivationFlags
                                .None()
                                .Enable(MapEventType.Ready)"
          OnReady="OnMapReady" />

@code  {

    public StyleOptions StyleOptions = new StyleOptions
    {
        Style = MapStyle.Night,
        View = "auto"
    };

    public async Task OnMapReady(MapEventArgs eventArgs)
    {
        var datasource = new Components.Data.DataSource
        {
            Options = new Components.Data.DataSourceOptions
            {
                Cluster = true
            }
        };

        await eventArgs.Map.AddSourceAsync(datasource);

        Func<string, Components.Atlas.Position, IDictionary<string, object>, Components.Markers.HtmlMarker> markerCallback = (string id, Components.Atlas.Position position, IDictionary<string, object> properties) =>
        {
            if (properties.TryGetValue("cluster", out var cluster) && ((bool)cluster))
            {
                return new Components.Markers.HtmlMarker(id, new Components.Markers.HtmlMarkerOptions
                {
                    Position = position,
                    Color = "DarkViolet",
                    Text = properties.TryGetValue("point_count_abbreviated", out var text) ? (string)text : null
                });
            }

            var color = "blue";

            if (properties.TryGetValue("EntityType", out var entityType))
            {
                switch ((string)entityType)
                {
                    case "Gas Station":
                        color = "#3366CC";
                        break;
                    case "Grocery Store":
                        color = "#DC3912";
                        break;
                    case "Restaurant":
                        color = "#FF9900";
                        break;
                    case "School":
                        color = "#109618";
                        break;
                }
            }

            return new Components.Markers.HtmlMarker(id, new Components.Markers.HtmlMarkerOptions
            {
                Position = position,
                Color = color
            });
        };

        var markerLayer = new Components.Layers.HtmlMarkerLayer
        {
            Options = new Components.Layers.HtmlMarkerLayerOptions(markerCallback)
            {
                Source = datasource.Id
            }
        };

        await eventArgs.Map.AddLayerAsync(markerLayer);

        var geojsonFeed = "https://azuremapscodesamples.azurewebsites.net/Common/data/geojson/SamplePoiDataSet.json";
        await datasource.ImportDataFromUrlAsync(geojsonFeed);
    }
}

I am currently facing an issue, which is that the markerCallback is expecting to give back an HtmlMarker and so cannot run asynchronously. The callback defined on the library will need to return a Task<HtmlMarker>, which will be converted as a Promise. I will dig a little bit on the code of the extension itself later this week to see if a solution is possible. I'll keep you updated.

Hello Arnaud.
Do you know if there is a way for me to try the the html-marker-layer branch with Promise support ?
I am sorry for this question, but I am a noob with github, and clusters management is the last blocking feature for my project.
I guess that events still have to be handled, but maybe I can help for that. As I said, I am a noob with github. If I can help, could you help me to start and to target the right piece of code ?

Hi! Sure, there is a possibility to test it 😊
I just published a new version of this package just for this : 1.8.0-html-marker-laye0001. This version contains the current state of the features/html-marker-layer branch. You can download and install this package on your project.
As the PR containing the migration to Promise has not been validated yet, you should download the script from my fork of the official Azure Samples repository and reference it in your application. You can find it here : https://github.com/arnaudleclerc/azure-maps-html-marker-layer/tree/features/async-markercallback/dist
And you are right, there is still some work to do on this! I am not sure the cluster are refining themselves correctly, the events have not been handled... And I sadly do not have a lot of time to work on this currently. But if you want to give it some time, I can gladly guide you on how to do this. I have set up a slack channel a while ago, feel free to join it if you want to, that would be easier for such direct communication : https://azuremapscontrolcomp.slack.com/ssb/redirect

Hello Arnaud,
I tried the 1.8.0 update with async-markercallback, and here are some feedbacks :
It works with both the provider sample and my own data.

With typescript, I used to fill the datasource by using a FeatureCollection object, This collection does not exist in AzureMapsControl, and the clustered map is not working with just an Array of Features. As a workaround, I have created some anonymous objects that I then serialized to a JSON string so a to match the geoJSON sample format. So, this point is not a blocking issue.
I have added an OnClick event on non-clustered markers (I have reused the OnClick event code I was using before trying the clustered layer). These events are not triggered. I would like to handle click events on both clusters and individual markers.
When zooming on the map, the clusters are splitted as expected (I have to check with different cluster radius values to be sure, but it seems to be ok). But there is a strange behaviour : when zooming on the cluster containing two positions, the two markers appears, but the cluster does not disappear. On the screenshot above, look at the cluster on the right, marked with "2". Before taking the screenshot, I have zoomed on the map and two pinpoints appears close to the cluster. When dezooming, the cluster is still displayed as well as the pinpoints.
Another strange behavior when Zooming : some clusters does not display pinpoint at all after being zoomed (see below). I am still investigating to understand if the position I provide could be different for pinpoints and clusters, but I do not think so. I have to check for markers html property too, so as to avoid a wrong html that would prevent the marker to be display.

At last, I cannot join your slack channel. Do you need my email or ID to let me join in ?
In any case, a big thank you for your project !

Thanks for you feedback, really appreciate it!
First of all, I think I shared the wrong link with you to join Slack, sorry. Please try again with this one, this is hopefully the correct one : https://join.slack.com/t/azuremapscontrolcomp/shared_invite/zt-oyoclzro-ZoFakjPLD8Y~nlxO49ybjg
The removal of the clusters seems to be a little bit weird, but I cannot pinpoint yet where the issue comes from. The native javascript example I have works fine, but maybe the delay due to the WS communication makes it less efficient. I will have to investigate on this.
As far as I remember, I did not implement the events yet on this one. It has been a while I did not work directly on this feature, but I am sure there is still a lot to do.
Sadly, I still miss time to work on this right now. I will give it a shot as soon as possible, but if you wish to take a look at it by yourself, that would be awesome. Just let me know if you can join the slack channel, I can then give you a proper introduction to the library 😀


tests: clean up file system for all tests

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

(No longer just integration tests.)
This was a big change, and I wanted to avoid removing any ensure/teardown code that would later end up needing to be added back in, so it's likely there'll be a few lines I could have removed but missed.
Similarly, I'm sure there are more directories that could be purged in teardown safely, but I decided to do an 80/20 and just copy the list from the integration tests for now.

Yes, so much deleted code! Any noticeable difference in speed?

Looks like it averages to about four seconds per full (--official-cmd-taps) test suite run.

(Where a full test suite run after this change takes 104 seconds)

So a 4% regression? Seems fine given the code complexity and (moreso) the better errors we'll get on failures.


[CI][C#] Verification jobs for C# are currently failing

Describe the bug, including details regarding any error messages, version, and platform.
Tests are failing with several errors that seem to be related to (see the logs for more details):
 ----- Inner Stack Trace -----
   at Apache.Arrow.Tests.CDataSchemaPythonTest.PythonNet..ctor() in /Users/runner/work/crossbow/crossbow/arrow/csharp/test/Apache.Arrow.Tests/CDataInterfacePythonTests.cs:line 48
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
  Failed Apache.Arrow.Tests.CDataSchemaPythonTest.ImportSchema [1 ms]
  Error Message:
   Class fixture type 'Apache.Arrow.Tests.CDataSchemaPythonTest+PythonNet' threw in its constructor

Job failures:

verify-rc-source-csharp-linux-almalinux-8-amd64
verify-rc-source-csharp-linux-conda-latest-amd64
verify-rc-source-csharp-linux-ubuntu-20.04-amd64
verify-rc-source-csharp-linux-ubuntu-22.04-amd64
verify-rc-source-csharp-macos-amd64
verify-rc-source-csharp-macos-arm64

The failures started when those commits were merged:
https://github.com/apache/arrow/compare/ff9921ffa89585be69ae85674bb365d03cb22ba4...f904928054fad89360d83015db5c23ac1ef86d05
There are several bump versions from dependabot on those that involves C#.
Component(s)
C#, Continuous Integration

@CurtHagenlocher @adamreeve @eerhardt any idea what is happening? this is a blocker for 17.0.0

The inner exception seems to be "Xunit.SkipException : PYTHONNET_PYDLL not set; skipping C Data Interface tests". This would happen if the environment variable PYTHONNET_PYDLL was not set on the VM image and is independent of any changes to product code. Something must have changed in the VM configurations?

It looks like these tests are supposed to be skipped in the verification jobs: https://github.com/apache/arrow/blob/6680dcfbef4234782484cd8c2c3e0ce0cf9e9914/csharp/test/Apache.Arrow.Tests/CDataInterfacePythonTests.cs#L42
Maybe the TEST_CSHARP environment variable is no longer being set, or it's now set to something other than "1"?

Actually the logs show that these are throwing an "Xunit.SkipException" so it seems like the check for inVerificationJob is correct, but the skip is being incorrectly treated as an error.
So I think this is probably due to the either #41842 or #41848

I can reproduce this locally and the tests pass (are skipped properly) if I revert #41842

I've created a bug for xunit: https://github.com/xunit/xunit/issues/2965

I guess I don't have a firm grasp on the semantics of TEST_CSHARP or GITHUB_ACTIONS. These tests should certainly be run for at least some of the CI/checkin tests but perhaps not for all of them?
In any event, the xunit change is clearly a bug.

I can reproduce this locally and the tests pass (are skipped properly) if I revert #41842

Should we revert this temporarily for the release and create a follow up issue to update once the downstream issue is fixed?

Should we revert this temporarily for the release and create a follow up issue to update once the downstream issue is fixed?

Yes I think that makes sense, I've made #43074 to revert the update and #43076 for the follow up.

Issue resolved by pull request 43074
https://github.com/apache/arrow/pull/43074


Delegate the return of Widget.build for the Element

The Widget now delegates the return Element of the Widget.build method. Also, add a tag_name parameter on the FutureWidget class.

Please don't squash merge this since this contains meaningful commits.


Click Button twice to exit

Description (required)
Fixes #2403
What changes did you make and why?
Toast will Appear on clicking the button twice
Tests performed (required)
Tested on ASUS Zenfone Max M1Pro  with API level 27.

Codecov Report

Merging #2404 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2404      +/-   ##
=========================================
- Coverage    5.89%   5.89%   -0.01%
=========================================
  Files         237     237
  Lines       11466   11474       +8
  Branches     1034    1035       +1
=========================================
  Hits          676     676
- Misses      10737   10745       +8
  Partials       53      53

Impacted Files
Coverage Δ

...r/free/nrw/commons/contributions/MainActivity.java
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

IMO this feature is not required. Feel free to reopen this  PR if the need arises. :)


C2440 in vs2015 cannot convert from 'initializer-list' to nlohmann::basic_json

errror C2440: cannot convert from 'initializer-list' to nlohmann::basic_json

it seems no no one have met this before

vs2015

verson 3.6.1
Sorry ,I don't know how to solve this

Can you give a simple code example that demonstrates this issue?

In order to asses your issue, we need the following information:

What is the issue you have?

Please describe the steps to reproduce the issue. Can you provide a small but working code example?

What is the expected behavior?

And what is the actual behavior instead?

Which compiler and operating system are you using? Is it a supported compiler?

Did you use a released version of the library or the version from the develop branch?

If you experience a compilation error: can you compile and run the unit tests?

@luomomo Could you comment on this?


[SPARK-911] allow efficient queries for a range if RDD is partitioned wi...

...th RangePartitioner

@aaronjosephs @JoshRosen what is the status of this PR? Is it blocking on more reviews? Although it's old it doesn't seem outdated since this touches a fairly isolated portion of the code.

@andrewor14 at some point @JoshRosen had said he had finished and would commit the next day so that is probably the solution we should go with

@aaronjosephs OK although the patch now needs a rebase. Can you bring it up to date and we can see what Jenkins thinks?

@srowen OK pushing with Josh's suggested changes

ok to test

Test build #27819 has started for   PR 1381 at commit 7618c1d.

This patch merges cleanly.

Test build #27819 has finished for   PR 1381 at commit 7618c1d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27819/
Test FAILed.

Jenkins, retest this please

Test build #27824 has started for   PR 1381 at commit 7618c1d.

This patch merges cleanly.

Test build #27824 has finished for   PR 1381 at commit 7618c1d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27824/
Test PASSed.

Test build #27827 has started for   PR 1381 at commit cac337c.

This patch merges cleanly.

@srowen re-pushed because I accidentally deleted some of the docs for repartition and shuffle within partitions, don't know if you want to retest

Test build #27827 has finished for   PR 1381 at commit cac337c.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  class Assignment(val id: Long, val cluster: Int) extends Serializable
class FPGrowthModel[Item: ClassTag](val freqItemsets: RDD[FreqItemset[Item]]) extends Serializable
 class FreqItemset[Item](val items: Array[Item], val freq: Long) extends Serializable

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27827/
Test PASSed.

Back to @JoshRosen for a final look; it looks good to me eyes. How about another test for a case where the range begins and ends in the middle of a partition? right now it looks like there are 10 partitions, a multiple of 10 elements, and filter range always starts and ends on a multiple of 10.

@srowen pushed a test with data in the middle of the partitions, retest

ok to test

Looks good to me and I assume it's OK with Josh since it's basically the code he suggested. I'll wait a short while for more comments before merging, if Josh doesn't first. Let's also see what Jenkins says one last time.

Test build #27834 has started for   PR 1381 at commit e30ade5.

This patch merges cleanly.

Test build #27834 has finished for   PR 1381 at commit e30ade5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27834/
Test PASSed.

LGTM, so I'm going to merge this into master (1.4.0).  Thanks!


Implement a mechanism to configure analysis server and analyzer

A way to configure the analyzer's behavior:

directories to ignore
directories to white-list
potentially: plugins
potentially: lint rules

etc

Dupe of https://github.com/dart-lang/sdk/issues/23851


Do not display Cython note when installing under Jython

Jython does not support Cython, so there is no need to bother users
with a note about it during the installation process. Detect Jython
and supress the message in that case. Also, refactor the detection
logic in setup.py to be more readable and explicit.

:+1:


Update README.md

Added installation instructions.

thanks Alf :)

You're welcome, @Aysegul. You can close https://github.com/Aysegul/torch-visbox/issues/1 now.


Some of the things have the default discord look

So after discord updated some of the things stayed default even with the theme on.

There is maybe more but these are the things that I noticed.

Fixed!


Translate About modal

Text in About modal is not translated. So for better UX it will be nice to add some translation.

@sjd78 it's still the case.
E.g. for locale=zh_CN:


Code folding in VSCode

Is your feature request related to a problem? Please describe.
I typed #region, but it gets replaced with //region
I need it to stay as #region because of VSCode folding https://code.visualstudio.com/updates/v1_19#_folding-improvements
Describe the solution you'd like
I like to understand which is the rule changing it to //region

Sorry, but I found it single_line_comment_style, thanks


sample univoice : not able to join a chat

should i create a server in Airsignal or some other make this work ?
below mentioned how we proceed : download and run "GroupVoicecallsample" scene on 2 machines (on same network)
u ser able to create room because it shows your peer ID is 0 and while trying to  join with same name it fails . with an exception.
"System.Exception: Could not join chatroom"

Hi,
The samples and documentation isn't complete yet so I understand the confusion.
Here you can see that the network implementation being used is the telepathy based one.
Network implementation can be changed with a one line configuration. Below that you can see lines that use the AirPeer network but are commented out.
What you have to do is on the same network first start hosting the chatroom, it gets the peer ID 0.
If you're running the Unity editor, you'll see the IPv4 address printed in the console when you run. The printing happens here
Then another machine on the same network needs to connect via its local ipv4 address. To do that, enter the address in the input field and click join.
Summary:

Have two machines running on the same network
One will be made the host. Take a note of the IP address that it prints in the console. If the host is an Android device, you could edit the scene to show its IPv4 address on the UI by using this function
The other will join by entering that address in its UI input field

Let me know if you need more clarification. If you wait a couple days, the sample scene and documentation will be made a lot clearer.


[Feature] Improve UI

Description
It would look better if Contact Us is in the middle, quick links on the left and the description on the right...
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a KWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 Please assign this issue to mee.

Why do you think like this, any reason behind this @Archi-shaw

@Rakesh9100 Thanks for your feedback! I thought centering the 'Contact Us' section would draw more attention to it, as it's a key action for users. Placing the Quick Links on the left aligns with common web design practices, as users often expect navigation elements in this position. The description on the right would help create a balanced and visually appealing layout, keeping functional and informational content distinct. However, I completely understand if the current design works well for you, and I’m open to further adjustments based on your preferences!

I don't think we need this change, please work on other good issues @Archi-shaw


support cloudfront for gateway and static unit

• Does any part of it require special attention?
• Does it relate to or fix any issue? closes #349
adds cdnId to both gateway and static unit config. This allows us to have logic in the compiler to understand when and how many cloudfront distributions we need with respective origins.
Then the remainder of the logic is handled in deploylib for now until we have a better dependency tree for our aws resources.
We conditionally add the files for static website and cloudfront since we know if we are creating any and just pass in cloudlibs object to avoid more stuff being stuck in compiled
Standard checks

Unit tests: Any special considerations? added some for cloudfront generation
Docs: Do we need to update any docs, internal or public? will update before pushing
Backwards compatibility: Will this break existing apps? If so, what would be the extra work required to keep them working? static units will no longer use pulumi params and must explicitly set the cdnId to be backed by cloudfront.


Crop selector and no popup on mobile screen

Hello,
I have a small problem with selector. On a full webpage it works like a charm. The selector shows 5 items, no problem.
But if I reduce width, like on mobile phone or when resizing the window, the selector doesn't show these 5 items. In fact if it is full screen, the items are shown below the selector box, whereas if it is in a reduced window, there are shown above the selector window (see attached pictures) and that may be why things get cropped.
Moreover, I don't get the popup select box if I'm on a mobile phone...

I don't quite see where the problem could come from...
If you have any clue, please let me know.
Great plugin by the way !
Regards

It seems ancestor element of dropdown has overflow: hidden property.
By default dropbox would be shown on top or bottom based on which part has more space.
You can try any of the below solutions.

Remove overflow: hidden property from ancestor element
Always show dropbox below by setting position: 'bottom' property while initialization or by inline attribute data-position="bottom"

I don't get the popup select box if I'm on a mobile phone...

If your mobile has more than 576px try after setting more pixel by popupDropboxBreakpoint: '700px'.
If it is not working share the code you are using to initialize the virtual select

It was indeed an overflow: hidden problem !
Thanks !
I also figured the problem with the popup. It is because I forgot the meta tag in the <head>
Everything is now perfectly working.


Upgrade to Laravel 10 fails

When trying to upgrade to Laravel 10 I get this composer error:
- eklundkristoffer/seedster 5.0 requires illuminate/support 5.5.*|5.6.*|5.7.*|5.8.*|6.*|^7.0|^8.0|^9.0 -> satisfiable by illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0].

So, it seems like the eklundkristoffer/seedster dependency in the composer.json should be updated to ^7.0.

Fixed with https://github.com/jeremykenedy/laravel-roles/pull/196


Give priority to certain warnings

I have no/low power set to the color purple. When power is low though, I don't always see purple because it's overridden by the colors set for full output. I'd like to let low/no power take precedence.

Unfortunately, this isn't possible because the game itself prioritizes the "full output" status over the "low power" status. BNL does everything during game startup and has no control over how it behaves at runtime.


How to dynamically filter layer data with one or more filter values through flat style variable

I am using latest openlayers version.
I have created layer using WebGLPointsLayer with flatstyle. I want to build functionality to where user can apply filter to filter data on map.
Below are the scenarios: When user has not selected any region, it should show all region data. When user select single region, it should show single region. When user select multiple regions, it should selected region related data on map. This is not working with dynamic value. It will work when I hardcoded multiple region in a style
Openlayer Doc for Expression: https://openlayers.org/en/latest/apidoc/module-ol_expr_expression.html
Hardcode Filter style:
{     variables: {         multiRegionSelected: [],         countrySelected: '',     },     filter: [         'all',         ['in', ['get', 'region'], ['literal', ['MA', 'CA', 'FL']]],         [             'any',             ['==', ['var', 'countrySelected'], ''],             ['==', ['get', 'country'], ['var', 'countrySelected']],         ],     ],     'circle-radius': [         'interpolate',         ['exponential', 2],         ['zoom'],         5,         4,         15,         1536,     ],     'circle-fill-color': ['match', ['get', 'hover'], 1, '#ff3f3f', '#006688'],     'circle-displacement': [0, 0],     'circle-opacity': 0.95, }
Set dynamic filter value:
{     variables: {         multiRegionSelected: [],         countrySelected: '',     },     filter: [         'all',         // Multiple Region selection         // Dynamic filter not working when user select one or more region         // When user doesn't have any region selected  it should show all region data         [             'any',             ['in', ['get', 'region'], ['literal', ['var', 'multiRegionSelected']]],             ['==', ['var', 'multiRegionSelected'], 0], // To load all region when no region selected         ],         [             'any',             ['==', ['var', 'countrySelected'], ''],             ['==', ['get', 'country'], ['var', 'countrySelected']],         ],     ],     'circle-radius': [         'interpolate',         ['exponential', 2],         ['zoom'],         5,         4,         15,         1536,     ],     'circle-fill-color': ['match', ['get', 'hover'], 1, '#ff3f3f', '#6688'],     'circle-displacement': [0, 0],     'circle-opacity': 0.95, }
To Update style variable dynamically, I have used updateStyleVariables
pointsLayer.updateStyleVariables({     countrySelected: 'us',     multiRegionSelected: ['MA', 'CA', 'FL'],   });
To Reproduce
ere is the complete example: https://codesandbox.io/s/accessible-forked-vf7w6l
Expected behavior
When user select one or more region, map data should filter accordingly.

I don't believe you can use arrays as style variables, however nice that might be.

Style variables. Each variable must hold a number or string.
https://openlayers.org/en/latest/apidoc/module-ol_layer_WebGLTile.html#~Style


Preferred Language Error Issue

Found a bug when adding Preferred Language (Choose your preferred language) in settings - When I select English the entry returns an error
Error
Sorry, we experienced an error.

That's a new one, thanks for reporting!

Closing because cannot reproduce.


Feature/batch inference own template

DO NOT MERGE YET:
Successfully creating SageMaker pipeline for Batch transform jobs via CDK. The SageMaker pipeline definition body is created in the build repo, and being exported to the deploy repo to create the SageMaker pipeline via CDK.
Batch pipeline is upserted succesfully and CICD works.
Missing: test batch pipeline with example data

Tested end-to-end: can be merged


2 fix, 2 dependencies changed, 1 feat. refer to the description for more detail.

fix: treat space from param as invalid, when use-session-pool is true.
fix: when timezone is not default, the time is incorrect.
chore: dependencies upgrade

nebula-java: 3.6.0 -> 3.8.3
org.hibernate:hibernate-core was excluded.

If you need to use hibernate-core, please add the dependency by yourself.

feat: support ssl and http2 config in yml.

example:nebula:
  pool-config:
    enable-ssl: true
    ssl-param:
      sign-mode: SELF_SIGNED
      crt-file-path: /path/to/client.crt
      key-file-path: /path/to/client.key
      password: password
    # ssl-param:
      # sign-mode: CA_SIGNED
      # ca-crt-file-path: /path/to/ca-client.crt
      # crt-file-path: /path/to/client.crt
      # key-file-path: /path/to/client.key
    use-http2: false
    custom-headers:
      Route-Tag: abc

@Nicole00
May I ask if you have time to help me with the HTP2 test.
cc: @wey-gu


Implement a spellchecker in justfile

Would be nice to have a spellcheck linter of some type as a recipe in the justfile. And maybe an automatic one in VSCode?

@lwjohnst86 how does this differ from the spell check that we have running in VS Code already?

@K-Beicher that is something built-in/an extension in VS Code, which means we can integrate it into our build system, e.g. in the justfile or as a GitHub workflow.

I'll put it back in the list in that case, not sure I know enough about linting.


Question about using StandardScaler().fit_transform() on  Prediction phase

Hello
In dataloader.py -> Dataset_Pred
In general, the distribution of test dataset is unknown, so StandardScaler().fit() is not given, but StandardScaler().fit() is given in the Dataset_Pred. May I know why?

I think it is like an instance normalization for the input. Models are trained with a standard normalized dataset. Therefore, when we use them on realistic input, we need to normalize the input too.

The distribution of the test dataset is unknown, but we at least have an input for the model. This StandardScaler() is on the input.


GitHub action to automatically publish new releases to PyPi

Hi, Bruno Ferreira from MLCommons Systems here.  This GitHub action should trigger whenever a new release is created and automatically build and publish the package to PyPi. The build commands use Twine to build the package.

Hi @marcenacp , sorry for the delay getting back to this, got lost in the shuffle. I added the changes you requested, can you double-check? Let me know if you need anything more, thanks.


Is backports still needed?

Summary
The backports gem appears to be used to backport array .to_h functionality for Ruby 2.1, but this gem depends on Ruby 2.3 or later. It would be great to remove the backports dependency if it's not needed since it's 3.9 megs on disk and 1100 files.
Here's the commit from 4 years ago that added it: https://github.com/cucumber/cucumber-ruby-core/commit/c253221654f7f94fa29b1042c485271d339133e0
Expected Behavior
Ideally the bare minimum deps would be required
Current Behavior
backports is used
Possible Solution
Remove the require and the backports dep
Steps to Reproduce (for bugs)
N/A
Context & Motivation
Reducing overall dependency size for customer deployed package.
Your Environment

Version used: currently 3.2.1 (I know)
Operating System and version: macOS 10.15
Link to your project: https://github.com/chef/chef-workstation

This looks a nice easy one to fix. Or if you're comfortable, have a go at it yourself.
The cucumber-ruby-core gem is a very thin intermediary layer. So the CI would likely catch it out if something went wrong.
If you're unable to get to it, I can probably do it in the next day or so.

Fixed by #185

@luke-hill I think we can safely close it after your last PR right ?

Should have been closed automatically. As I linked.


Doesn't detect various servers

As you can see on https://dotfyle.com/Mte90/dotfiles-config-nvim detects eslint but it isn't configured.
https://github.com/mte90/dotfiles/blob/master/.config/nvim/lua/plugin/lsp.lua
Instead I have also bashls, cssls and phpactor and intelephense.

Now detects pylsp but still find it eslint and the others like tailwind-css that is on github.com/codicocodes/dotfyle/blob/f52726bb95bd44b5cc7bac09316de57ec116bcf3/src/lib/server/nvim-sync/config/LanguageServerFinder.ts

@Mte90 It looks like it's detected here: https://github.com/Mte90/dotfiles/blob/8bcbe471db39bf700dea7a31411b1c2e45137991/.config/nvim/lua/plugin/lint.lua#L43
Looks correct no?

It is a linter nor a LSP server in my case eslint.


I tried the installation steps, but I get an error

File: desktop/install/archlinux.md
sudo pacman -U docker-desktop-4.12.0-x86_64.pkg.tar.zst
[sudo] password for aheinle:
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (2) pass-1.7.4-3  docker-desktop-4.12.0-85629

Total Download Size:      0.02 MiB
Total Installed Size:  1283.63 MiB

:: Proceed with installation?

This is the error I am getting. I guess the issue is that I already have docker-compose installed? Is the expectation here to uninstall docker-compose and use Docker desktop's bundled compose instead? Please advise.

Did you perform sudo-apt-upgrade?

This is not ubuntu, but yeah, all my packages and package lists are up to date (regular run of pacman -Syu)

The error suggests you may have already installed docker compose binary. What happens when you remove that and try again?

Seems like a trivial problem, you might be able to fix it yourself.
Here is a headstart to a similar issue to better understand the problem:https://bbs.archlinux.org/viewtopic.php?id=56373.

It is suggested you read through these before running anything on your system.
Running random commands on the arch based system might break your system.
Kindly have a look.
You have a similar instance of the below mentioned problem:
https://wiki.archlinux.org/title/Pacman#"Failed_to_commit_transaction_(conflicting_files)"_error

Yes, I do know this one as a pacman error; it happens sometimes with manually installed python libraries where I accidentally sudo for a pip install. But, this is an external package, not distributed via pacman. My question is: Does it need to contain the docker-compose? Wouldn't it be enough that it states it as a requirement, and not force me to overwrite my existing docker-compose with the one shipped with this installer?

@ioah86 This looks like a support question, rather than a documentation bug. You can get community support through the following resources:

Docker Community Forums
Docker Community Slack

Closing the issue here for this reason. Feel free to comment after I close.


HDX-9731 Add a patches table

This PR implements the HDX-9731 ticket to add a patches table to the database. A database view is not required for this table.
A test is added including a data fixture.
There are some small updates to documentation, and a minor change to the Ruff configuration to ignore missing docstrings.
I had a git mishap and pushed some commits direct to main, this commits have been cherry picked to the current branch to make the PR coherent.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.961%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
381

Relevant Lines:
385

💛  - Coveralls

@turnerm I added a changelog entry


Create skeleton user-facing Satscard/Tapsigner interfaces

Requirements:

[ ] A skeleton class for the Tapsigner in Flutter
[ ] A skeleton class for the Satscard in Flutter

Got a working representation of read-only data for the CKTapCard/Satscard classes. The Tapsigner is just the CKTapCard with no additional data

Added support for the Tapsigner too.


benny/auth

In progress

Changes:

Added rotating nonces after login or user creation
Added checks to ensure the right information is available for a login versus signup
Changed auth tests to compile (not necessarily functional yet, see considerations)

Considerations:

server/t__auth_user_test.go requires a signature. How should we sign the nonce from go?


[Question] How do I disable socket events from a model?

Hello,
i do not wanna receive sockets events from a specific model.
How do i disable them?
I just need that Model for CRUD operations and therefore it doesnt need to be real time for my case.

found it - solution was using enableEvents: false


[devtools] Redux UI is blank when clicked

I tried with different browsers, on incognito window. The redux devtool is blank when I try to open it. It seems it does so, when I try to select the object from the choices. I am using the latest Redux devtools version 3.0.11

@Aslemammad Can you take it?

I downloaded the latest version of redux devtools, and opened it in incognito! It works with no problem!
which version of valtio you have?

Same here. It works fine with Redux dev tools v2, but no longer works with v3. Valtio v1.6.3.

Hey folks, I could not resolve this because the issue does not appear for me in Redux v3. And tried to reproduce it, but it still worked with no problem.

could you provide a repo ? @nahin-web

Closing as stale.


Optimise generic resources

Could you please provide more details to this?

Hayden and I talked about this earlier, needs more chat in the meeting tomo.


Implement ISO8601 formatting for JSON

After we have Locale and the FormatStyle APIs (https://github.com/apple/swift-foundation/issues/42), implement ISO8601 for JSON.

#392 🙌


Both “Buy” and “Sell” buttons are shown even when the user has “0 Gold”

Frequency: 100%
** Repro App version:** Celo Integration Wallet build v1.8.2 (40)
Repro on device: iphone 11(13.3), iphone 6(12.4.7),
Pre-condition: User should have sold the all gold amount after buying it once.
Repro Steps:
Launch the Application and Signup with test account
Tap on the Hamburger menu.
Navigate to  to Celo Gold page
Make sure the user sells all celo gold.
Sell total gold and make sure user has 0 Gold balance
Observe.
Current Behavior: Both “Buy” and “Sell” buttons are displayed even when the user has “0 Gold” Balance
**Expected Behavior:**Only “Buy” button should display when the user has “0 Gold” Balance
Impact: Users should not be able to proceed for sell when they don't have Celo Gold.
**Attachment:**Buy&SellbuttonIssue.png

This was fixed on https://github.com/celo-org/celo-monorepo/pull/4714

Hi @gnardini , @annakaz Verified issue with latest build Test Flight build Valora app build  v1.0.0 (15),Android Valora Mainnet build v1.0.0 (16) and found the following:

Buy and Sell both button are not shown when user sign up with new account with 0 CUSD.
Only Buy button is shown when user has only cUSD.
Buy and Sell both button are shown when user has both CELO and cUSD.
Buy and Sell both button are not shown when user lost their CELO and CUSD.

hence issue is fixed now.
Verified devices: iPhone 7+ (13.3.1) , Google Pixel Xl (8.1)


[Feature] Support Quantized InternLM-XComposer2-VL model

Motivation
I'd like to use the InternLM-XComposer2-VL-7B-4bit model in lmdeploy.
I think the 4Bit Quantized model uses less VRAM and is faster to compute, which makes sense for using lmdeploy.
Related resources

InternLM-XComposer2-VL-7B: https://huggingface.co/internlm/internlm-xcomposer2-vl-7b
InternLM-XComposer2-VL-7B-4bit: https://huggingface.co/internlm/internlm-xcomposer2-vl-7b-4bit

Additional context
At first glance, it looked like lmdeploy was referencing a layer-specific JSON file named pytorch_model.bin.index.json. So I used model.save_quantized() in AutoGPTQ to save with use_safetensors=False, after then created the pytorch_model.bin.index.json file by reading the layer keys from model.
But I got the error like KeyError: 'model.layers.0.feed_forward.w1.weight'.
It looks like deeper changes at lmdeploy side are needed, such as excluding unquantized weights while loading them (as I guess).

Currently, LMDeploy does not gaurantee VL model quantization. Will support this in the next version in May.

Thanks for letting us know. The InternLM-XComposer2-VL-7B model is working well for me :)
I'll wait for the next version that would support the Qantized models.

The latest lmdeploy supports the feature.

Hi @AllentDan,
Firstly, thanks a lot for the amazing work you are doing with LMDeploy!
When I try to use https://huggingface.co/internlm/internlm-xcomposer2-vl-7b-4bit with lmdeploy 0.4.2 I get the error referenced in the OP's initial message.
from lmdeploy import pipeline, GenerationConfig
from lmdeploy.vl import load_image
from os.path import join

gen_config = GenerationConfig(
    temperature=0.8,
    top_p=1.0,
    top_k=1.0,
    random_seed=4114
)

pipe = pipeline("/local/path/to/internlm/internlm-xcomposer2-vl-7b-4bit/")

sample = (
    "Please write a detailed description of this image.",
    load_image('/path/to/toy/img.png')
)
response = pipe(sample, gen_config=gen_config)

print(response)

Set max length to 4096
Position interpolate from 24x24 to 35x35
Position interpolate from 24x24 to 35x35
Traceback (most recent call last):
  File "/path/to/my/awesome/code/scratch_pad.py", line 71, in <module>
    pipe = pipeline("/path/to/models/huggingface/internlm/internlm-xcomposer2-vl-7b-4bit/")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/api.py", line 94, in pipeline
    return pipeline_class(model_path,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/serve/vl_async_engine.py", line 20, in __init__
    self.vl_encoder = ImageEncoder(model_path, vision_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/vl/engine.py", line 69, in __init__
    self.model = load_vl_model(model_path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/vl/model/builder.py", line 40, in load_vl_model
    return Xcomposer2VisionModel(model_path, with_llm)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/vl/model/xcomposer2.py", line 42, in __init__
    self.build_model()
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/lmdeploy/vl/model/xcomposer2.py", line 89, in build_model
    load_checkpoint_and_dispatch(
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/accelerate/big_modeling.py", line 607, in load_checkpoint_and_dispatch
    load_checkpoint_in_model(
  File "/path/to/anaconda3/envs/myenv/lib/python3.11/site-packages/accelerate/utils/modeling.py", line 1637, in load_checkpoint_in_model
    raise ValueError(
ValueError: /path/to/models/huggingface/internlm/internlm-xcomposer2-vl-7b-4bit/ is not a folder containing a `.index.json` file or a pytorch_model.bin or a model.safetensors file

Could you please point me towards what I am doing wrong? Thanks!

I was able to run a forward pass but it consumes 30.9GB of VRAM if I do the following:
from lmdeploy import pipeline, GenerationConfig
from lmdeploy.vl import load_image
from os.path import join

gen_config = GenerationConfig(
    temperature=0.8,
    top_p=1.0,
    top_k=1.0,
    random_seed=4114
)

te_config = TurbomindEngineConfig(quant_policy=4)

pipe = pipeline(
    "/local/path/to/internlm/internlm-xcomposer2-vl-7b-4bit/",
    backend_config=te_config
)

sample = (
    "Please write a detailed description of this image.",
    load_image('/path/to/toy/img.png')
)
response = pipe(sample, gen_config=gen_config)

print(response)

The output is the following:
You are using a model of type internlmxcomposer2 to instantiate a model of type internlm. This is not supported for all configurations of models and can yield errors.
Set max length to 4096
You are using a model of type internlmxcomposer2 to instantiate a model of type internlm. This is not supported for all configurations of models and can yield errors.
You are using a model of type internlmxcomposer2 to instantiate a model of type internlm. This is not supported for all configurations of models and can yield errors.
You are using a model of type internlmxcomposer2 to instantiate a model of type internlm. This is not supported for all configurations of models and can yield errors.
Device does not support bf16.
[WARNING] gemm_config.in is not found; using default GEMM algo
Response(text='The image captures a lively scene on a bustling city street. Three men, dressed in vibrant red robes and matching hats, are the main subjects of the image. They are pushing a cart filled with oranges, adding a splash of color to the scene. The men appear to be walking down the street, possibly selling their oranges to passersby.', generate_token_len=74, input_token_len=1419, session_id=0, finish_reason='stop', token_ids=[918, 2321, 39909, 395, 47529, 6262, 519, 395, 20988, 2880, 3446, 8725, 281, 14650, 3118, 328, 25802, 435, 33083, 2674, 1064, 9561, 454, 12730, 43974, 328, 657, 410, 2036, 15007, 446, 410, 2321, 281, 2533, 657, 17601, 395, 7552, 10336, 579, 607, 5676, 328, 7980, 395, 34651, 446, 2044, 442, 410, 6262, 281, 707, 3118, 5153, 442, 517, 11584, 1641, 410, 8725, 328, 10915, 11387, 998, 607, 5676, 442, 1640, 518, 1844, 281], logprobs=None)

If I do not pass backend_config the code above uses the same 30.9 GB of VRAM.

https://huggingface.co/internlm/internlm-xcomposer2-vl-7b-4bit is a GPTQ quantized model. Please refer to our documents for w4a16 inference. https://lmdeploy.readthedocs.io/en/v0.4.2/quantization/w4a16.html


Any GPU acceleration?

It seems the masking process is too slow while using a realsense camera for shape estimation. How exactly should I use GPU accelerate the process?

onnxruntime have tiny conflict with gpu acceleration, suggest to uninstall onnxruntime and onnxruntime-gpu, then only install onnxruntime-gpu


add redirect_to options for rails7 allow_other_host

In Rails 7, it's necessary to add the allow_other_host option when redirecting to an external path. This has also been made possible in Devise Token Auth, where the allow_other_host option can now be set in redirect_to.
https://api.rubyonrails.org/v<IP_ADDRESS>/classes/ActionController/Redirecting.html#method-i-redirect_to

To allow any external redirects pass allow_other_host: true, though using a user-provided param in that case is unsafe.

redirect_to "https://rubyonrails.org", allow_other_host: true

Weird, I don't think your changes break what is failing in the CI

How do I pass these redirect options?

@edusurf10
Please override the redirect_options method.
example:
# app/controllers/overrides/token_validations_controller.rb
module Overrides
  class TokenValidationsController < DeviseTokenAuth::TokenValidationsController
     ...

     protected

     def redirect_options
       { allow_other_host: true }
     end
  end

@ihatov08
But this method is defined in the ApplicationController, do I have to override it in this controller? Or do I need to override it in all the controllers of Devise Token Auth?
Example:
PasswordsController, etc...


Update to latest arm toolchain

https://github.com/electro-smith/DaisyWiki/wiki/1d.-Installing-the-Toolchain-on-Linux

gcc-arm-none-eabi-9-2020-q2-update is the latest
update docs ?

Thanks for catching that!
The wiki has been updated.


Fix https://github.com/mozilla/thimble.webmaker.org/issues/945 - reduce line number gutter width

Top is with this patch, bottom is what we do now:

r? @gideonthomas

r+


pileup based read features

That’s what I meant, but I don’t insist at all
@.https://www.ultimagenomics.com/
Itai Rusinek
Sr. Researcher
E:
@.
ultimagenomics.comhttp://www.ultimagenomics.com/
From: Doron Shem-Tov @.>
Sent: Thursday, July 27, 2023 1:05 PM
To: Ultimagen/VariantCalling @.>
Cc: Itai Rusinek @.>; Review requested @.>
Subject: Re: [Ultimagen/VariantCalling] pileup based read features (PR #49)
@doron-st commented on this pull request.

In ugvc/pipelines/mrd/pileup_based_read_features.pyhttps://github.com/Ultimagen/VariantCalling/pull/49#discussion_r1276056077:

   VariantType.LOW_AF_MONO_BASE_INDEL,

   VariantType.LOW_AF_MULTI_BASE_INDEL,

   VariantType.COMMON_SNV,

   VariantType.COMMON_MONO_BASE_INDEL,

   VariantType.COMMON_MULTI_BASE_INDEL,

]

FEATURE_NAMES = [f.name for f in FEATURES_LIST]

MAX_REGION_SIZE = 100000

PADDING = 300

AF_THRESHOLD = 0.2

LAST_POSITION = 0

LAST_CHR = ""

def init(self, args):

You can invoke it from another python function:
PileupBasedReadFeatures(args).process()
Do you mean you would want to specify the arguments explicitly?
—
Reply to this email directly, view it on GitHubhttps://github.com/Ultimagen/VariantCalling/pull/49#discussion_r1276056077, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2BKFC3P3GAALCBBVIN4ELXSI4MVANCNFSM6AAAAAA2XFH4GA.
You are receiving this because your review was requested.Message ID<EMAIL_ADDRESS>
CONFIDENTIALITY NOTICE: This message (including any attachments) should be presumed to contain confidential, proprietary, privileged and/or private information. Information contained in this message is intended only for the recipient(s) named above. Any disclosure, reproduction, distribution or other use of this message or any attachments by any unauthorized individual or entity is strictly prohibited. If you have received this message in error, please notify the sender immediately, and delete the message and any attachments. Learn more about Ultima Genomics’ Privacy Policyhttps://www.ultimagenomics.com/privacy-policy.


⚠ Samsung has degraded performance

In 4d68da0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2940 ms

Resolved: Samsung performance has improved in 3de6553.


[tokenizer] Adds batch encoding support for FillMask

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Base: 72.08% // Head: 74.28% // Increases project coverage by +2.19% :tada:

Coverage data is based on head (0418892) compared to base (bb5073f).
Patch coverage: 75.07% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2343      +/-   ##
============================================
+ Coverage     72.08%   74.28%   +2.19%
- Complexity     5126     6739    +1613
============================================
  Files           473      661     +188
  Lines         21970    29270    +7300
  Branches       2351     3031     +680
============================================
+ Hits          15838    21744    +5906
- Misses         4925     6047    +1122
- Partials       1207     1479     +272

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
67.10% <0.00%> (+7.89%)
:arrow_up:

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 606 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


great app but....

this is good but an error keeps popping out but can't seem TO FIND SOLUTION. the error is : linker command failed with exit code 1 (use -v to see invocation). Do you know the solution ?

I was able to download the source and it runs fine for me.  My guess is you're missing one of the standard libraries that he's using.

@loso921 Sorry for the late reply mate.
Make sure you use the .xcworkspace and not the .xcodeproj project file :)


Silence errors respecting error_reporting setting

Sentry should respect error_reporting setting.
It's important, because sometimes it's required to change this setting dynamically to consciously "silence": for example, to avoid warning caused by "include"ing missing file.
Symptoms are described in https://github.com/symfony/symfony/issues/36472 .
Cause is described in https://github.com/symfony/symfony/issues/36472#issuecomment-615164279 .
I am going to create PR soon.

This should have been fixed in #1196, can anyone confirm?


Merge Token Issuers

Under Type of technical profiles "JWT Token Issuer" and "Token Issuer" should be merged.

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

ID: fe70bb3e-884f-a8db-eee7-ae98cf653b93
Version Independent ID: d8647921-91df-9c37-8cd9-d44ce938dd9d
Content: About technical profiles in Azure Active Directory B2C custom policies
Content Source: articles/active-directory-b2c/technical-profiles-overview.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@WhippsP Thanks for your feedback! We will investigate and update soon on it.

@WhippsP Agreed. I have made necessary changes and submitted the pull request.


[BUG] Corrections MPS demo

Reading the MPS demo (great demo!) I found what I believe to be some typos:
Is the S correct here? It has not appear before

some deployment issue:

Maybe do you want to do Ss.append(S)? (if that's the case check the code bellow since it is also done)

Thanks @KetpuntoG can you review https://github.com/PennyLaneAI/qml/pull/1269 ?


GetCaml method of Value class doesn't add  tag unless IncludeTimeValue hasValue

Hi! The API is beautiful. It's really light and simple to use.
I would just like to point out that there is a Xml render issue when Value doesn't need to include time value. In this case, the Value tag isn't rendered:
        internal string GetCaml()
        {
            var sb = new StringBuilder();

            if (IncludeTimeValue.HasValue)
            {
                sb.AppendLine($"<Value Type='{Type}' IncludeTimeValue='{(IncludeTimeValue.Value ? "TRUE" : "FALSE")}'>");
            }

            sb.AppendLine(GetCamlValue());
            sb.AppendLine("</Value>");

            return sb.ToString();
        }

I've a workaround the issue. It's an ad-hoc solution for queries that not involve a datetime field as part of where clause. Here is it:
      var value = Value.ObjectValue(ValueType.Text, true, filterValue);
      var viewXml = Query
        .Build(Operator.Equal("fieldName", value))
        .GetCaml()
        .Replace(" IncludeTimeValue='TRUE'", string.Empty);

It would be great if you can fix it, perhaps just by adding:
            else
            {
                sb.AppendLine($"<Value Type='{Type}'>");
            }

Thanks in advance!

Thank you very much for your the quick response! The fix works great!


conv.c mentioned in data/download_SNAP.sh is missing

Hello, I am running your code for benchmarking. I found conv.c mentioned in data/download_SNAP.sh is missing in this repo. Can you put it in the repo or explain what it is for? Thanks a lot!

Hi @xuyifangreeneyes I just uploaded, thanks for reminding.
This helper c code and the download bash code are all from http://gitlab.hpcrl.cse.ohio-state.edu/chong/ppopp19_ae , we re-use their interface for sparse matrix loading. Basically this what 'conv.c' does is, it reads the .mtx file from SuiteSparse dataset, removes some comments at the head of the file, adds a short flag indicating the matrix type (symmetric or not, float or int, etc), and the main code recognizes it. No changes to the matrix, just file loading helper. Hope this answers.

Thank you for solving the problem. Sorry I reply late...


adding Debugging errors section on readme.md

describe namespace are changed

Signed-off-by: jws<EMAIL_ADDRESS>

found errors on Exception\Handler@render after update from 0.8.6 to 0.9.x

You shouldn't have to do this anymore, as they are added with an event listener, they should always be added.
But you can add a note to the changelog.
Not sure about the debugging tips, if that's still needed. I find them usually giving more confusing errors, because of double values when they're actually working.

Thanks