IndexOutOfRangeException: Index was outside the bounds of the array

Importing as game objects some of our USD assets now throws IndexOutORangeExceptions after commit dc87b25a3878cab9463311517909660f51bab0ed. This happens only when Import Preview Surface is selected for Materials in the Inspector.
Is this a known issue ?
Here's the full stack trace from the Console:
IndexOutOfRangeException: Index was outside the bounds of the array.
Unity.Formats.USD.MeshImporter.ImportSkinning (System.String path, Unity.Formats.USD.SanitizedMeshSample usdMesh, UnityEngine.Mesh unityMesh, pxr.UsdSkelSkinningQuery skinningQuery) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Geometry/MeshImporter.cs:385)
Unity.Formats.USD.MeshImporter.BuildSkinnedMesh (System.String path, Unity.Formats.USD.SanitizedMeshSample usdMesh, Unity.Formats.USD.MeshImporter+GeometrySubsets geomSubsets, UnityEngine.GameObject go, Unity.Formats.USD.SceneImportOptions options, System.Boolean isDynamic, pxr.UsdSkelSkinningQuery skinningQuery) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Geometry/MeshImporter.cs:317)
Unity.Formats.USD.MeshImportStrategy+<Import>d__5.MoveNext () (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Geometry/MeshImporter.cs:195)
Rethrow as ImportException: Error processing mesh <...>
UnityEngine.Debug:LogException(Exception)
Unity.Formats.USD.<Import>d__5:MoveNext() (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Geometry/MeshImporter.cs:211)
Unity.Formats.USD.<BuildScene>d__9:MoveNext() (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Scene/SceneImporter.cs:640)
Unity.Formats.USD.SceneImporter:BuildScene(Scene, GameObject, SceneImportOptions, PrimMap, Boolean) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Scene/SceneImporter.cs:332)
Unity.Formats.USD.SceneImporter:ImportUsd(GameObject, Scene, PrimMap, Boolean, SceneImportOptions) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Scene/SceneImporter.cs:307)
Unity.Formats.USD.SceneImporter:ImportUsd(GameObject, Scene, PrimMap, SceneImportOptions) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/IO/Scene/SceneImporter.cs:269)
Unity.Formats.USD.UsdAsset:Reload(Boolean) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Runtime/Scripts/Behaviors/UsdAsset.cs:565)
Unity.Formats.USD.UsdAssetEditor:ReloadFromUsd(UsdAsset, Boolean) (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Editor/Scripts/Behaviors/UsdAssetEditor.cs:324)
Unity.Formats.USD.UsdAssetEditor:OnInspectorGUI() (at C:/Users/nicolas.popravka/USD Unity SDK/package/com.unity.formats.usd/Editor/Scripts/Behaviors/UsdAssetEditor.cs:128)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Hi Nicolas,
Thanks so much for reporting this - we will investigate. Do you happen to have any assets you can share that trigger this exception?

I cannot share these files on GitHub for confidentiality reasons, unfortunately. The stack trace shows that the assets use the UsdSkel and UsdShade schemas for skinning and texturing of mesh geometry. I could try to reproduce this using publicly available USD assets (but there aren't any like this that I know of, besides Pixar's own UsdSkelExample here. Are you already using it internally for regression testing purposes, by any chance ?

I completely understand. We are indeed using Pixar's UsdSkel example for testing. We will look at building some additional tests using the schemas referenced in the stack trace.
Many thanks.

I can reproduce the problem with Pixar's HumanFemale.usd file.

I have also reproduced here with HumanFemale.usd. I've logged this as an internal issue. Thanks again.


Simplification of the code

Using rest/spread we ca simplify some examples even more
const over = (...fns) => (...args) => fns.map(fn => fn.apply(null, args));
const over = (...fns) => (...args) => fns.map(fn => fn( ...args));

Number functions converts boolean to 1 or 0, however it would work if undefined is used as a negative ...
const bifurcateBy = (arr, fn) =>
  arr.reduce((acc, val, i) => (acc[fn(val, i) ? 0 : 1].push(val), acc), [[], []]);

const bifurcateBy = (arr, fn) =>
  arr.reduce((acc, val, i) => (acc[Number(fn(val, i))].push(val), acc), [[], []]);

[].flat (Bonus: it respects Symbol.species)
const deepFlatten = arr => [].concat(...arr.map(v => (Array.isArray(v) ? deepFlatten(v) : v)));
const deepFlatten = arr => arr.flat(Infinity);
// also flatten

objectFromPairs --> Object.fromEntries
objectToPairs --> Object.entries

We've discussed a few of these. As it stand we need to implement them. If you'd like to open a PR modifying or updating a snippet, feel free to

@GrosSacASac would you like to update these or want us from 30 core team to do it by ourselves?
Looks like a straightforward process by following our contributing docs.

it is easier if you do it

Alright. We'll do it. Thanks for mentioning it! 👍

Closing due to inactivity. objectToPairs is discussed under #947, objectFromPairs will be implemented in a similar fashion under the same issue and PRs.


Error out if file in container at volume path

Fixes #4393

small nit, otherwise LGTM

@cpuguy83 need rebase and testing with jenkins :)

LGTM


FontIcon does not work as Tab-icon

Hi,
I don't know if I don't see something:
<Tabs>                     <Tab icon={<FontIcon className="material-icons">favorite</FontIcon>} />                 </Tabs>
results in
<div icon="[object Object]" tabindex="0" style="did-flip:true;display:table-cell;cursor:pointer;text-align:center;vertical-align:middle;height:48px;color:#ffffff;outline:none;font-size:14px;font-weight:500;white-space:initial;font-family:Roboto, sans-serif;box-sizing:border-box;width:100%;" data-reactid=".<IP_ADDRESS>.$0/=10">

this is the confusing part: icon="[object Object]"
It's a very simple test project with only 5 files.
someone have an idea?
Stack is meteor.js, react, material-ui

I'll have a look. thanks for reporting :+1:

This bug is showing up on in the doc pages as well, the "Public icon font" example.

The FontIcon examples using material-icons are working correctly now on the doc pages. It may have been a problem with the icon file being served from google. Are you still having the problem @chbiel ?

Yeah I couldn't reproduce this either O.o

yes i still have the problem :/
when I have this code:
<FontIcon className="material-icons">favorite</FontIcon>                 <Tabs>                     <Tab icon={<FontIcon className="material-icons">favorite</FontIcon>} />                 </Tabs>
the first line works (the FontIcon) is displayed, but within the Tab Icon the value in html of icon is "[object Object]"

@chbiel Hmm, I'm not really sure what's going on.  That exact scenario is working on the doc pages here. Are you customizing the material-ui theme anywhere in your project?
You can try passing in just a normal icon element:
const customIcon = (face)
<Tabs>
    <Tab icon={customIcon} />
</Tabs>

This worked for me, but so did passing in a FontIcon.

I think I know what your problem is! You're not using the master branch. Your version is old ( old build / old install / old clone / old commit / etc... ) either way this piece of code doesn't exist on your build so icon is passed to the EnhancedButton. Please update your copy and see if your issue is fixed.

I think I know what your problem is!

I'm pretty sure this is it :+1:.

Yes, it was a version problem...sorry for disturbing ;)


TypeError: Cannot read properties of undefined (reading 'on')

🐛 Bug Report
% PUBLIC_DIR=_gatsby/public node ./_translate-pages-new.mjs
file:///home/nowaker/projekty/dreamhost/dreamhost-com/node_modules/locizify-ssg/dist/esm/index.js:26
    locizify.i18next.on('initialized', resolve);
                     ^

TypeError: Cannot read properties of undefined (reading 'on')
    at file:///home/nowaker/projekty/dreamhost/dreamhost-com/node_modules/locizify-ssg/dist/esm/index.js:26:22
    at new Promise (<anonymous>)
    at ssgLng (file:///home/nowaker/projekty/dreamhost/dreamhost-com/node_modules/locizify-ssg/dist/esm/index.js:25:16)
    at async file:///home/nowaker/projekty/dreamhost/dreamhost-com/_translate-pages-new.mjs:7:1

To Reproduce
# _translate-pages-new.mjs
import ssg from 'locizify-ssg'

const dir = process.env.PUBLIC_DIR || '_site/'

const file = `${dir}/es/index.html`

await ssg(file, 'es', file, {
  backend: {
    projectId: '3f516219-6546-4f2a-9030-fc31659dc115',
    apiKey: 'xxx',
    referenceLng: 'en'
  },
  fallbackLng: 'en',
  saveMissing: false,
  debug: false,
  namespace: 'root',
  ns: ['common'],
  translateAttributes: ['placeholder', 'title', 'alt', 'content#meta.name=description', 'content#meta.name=keywords', 'content#meta.property', 'value#input.type=submit', 'value#input.type=button', 'value#input.type=reset'],
  ignoreTags: ['script', 'style', 'iframe', 'svg'],
});

Expected behavior
No error.
Your Environment

runtime version: 16
module version: latest
os: Linux

How does your html look like?
how is locizify initialized (not locizify-ssg)?
is it lazy initialized?
a reproducible example repo including all relevant files etc... may help...

How does your html look like?

https://github.com/locize/locizify-ssg/files/8789656/index.tar.gz

how is locizify initialized (not locizify-ssg)?

Not initialized, not embedded, at all. I simply ran locizify-ssg against a static file that does not have any <script> to Locizify.

i think we can close this in favor of #1

v1.0.3 should be better


Integer overflow for timeLimit and rlimit

When passed a large timeLimit or rlimit attribute, e.g., in this snippet:
procedure {:timeLimit<PHONE_NUMBER>} Slow() {  assert 3 > 2; }

these lines:
https://github.com/boogie-org/boogie/blob/462b86feb73dfe7c23d5657380cb6837679c7728/Source/VCGeneration/Checker.cs#L205
https://github.com/boogie-org/boogie/blob/462b86feb73dfe7c23d5657380cb6837679c7728/Source/VCGeneration/Checker.cs#L210
multiply by 1000, causing an integer overflow.  As a result, Boogie passes a negative value to Z3, which objects with
Expected values for parameter timeout is an unsigned integer. It was given argument '-156856704'

I would propose that we should detect when an overflow might happen and instead send the maximum int value, but I wanted to see if others had alternate proposals.

We could also make the types long rather than int.  I don't know if there are standardized limits for SMT solvers.  But your solution is fine too.

Z3 describes both timeout and rlimit as unsigned int, with a default of<PHONE_NUMBER> for timeout, so I think we're likely limited to 32 bits here.  I created two possible patches for the issue.
This one is a minimal change that only directly affects the SetTimeout and SetRlimit methods:
https://github.com/parno/boogie/commit/d4728c6c280a6b12f5901fa76e1b25721e3106b6
This one systematically converts time limits into uint, which seems like the "right" answer (since a negative time limit is perplexing), but it has a more pervasive effect, and I don't know if it risks breaking Boogie clients.
https://github.com/parno/boogie/commit/7a88665926ce775c5d45e6b350a4da42dba1638d
Any preferences?

The uint solution looks fine to me.


add is_diag function

Looks good. I changed the input to raw_in for the rows and cols variables, as it was a quick typo, otherwise it looks great. Thank you


Allows project author to set release channel for the download button

Is your feature request related to a problem?
In our projects ViaVersion, ViaBackwards and ViaRewind we mostly work with pull requests and therefore the master branch is mostly stable (even though snapshot versions are used between releases). So it would be good for us to have the Download button downloading the latest snapshot so new users automatically download bug fixes which aren't part of the current release.
Describe the solution you'd like.
Implement a selection for the Release channel (or maybe an exact version) to be downloaded when clicking the Download button.
Describe alternatives you've considered.
Maybe having the Download button redirecting to the versions page, although I like my solution described above more.
Other
No response

mmh, we already have a button for " Latest version is pinned on main project page" on the channel, adding one for the download button shouldnt be hard


Store PostgreSQL metadata

Description
Closes #3335.

Readiness checklist

[x] I added/updated unit tests (and they pass).
[ ] I added/updated integration/compatibility tests (and they pass).
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
[ ] I marked all done items in this checklist.

Seems like task test-short fails on CI with panic: *pool.Pool has not been finalized. Any clue where I forgot to call Close() on pool?
--- FAIL: TestCreateDrop (0.00s)
    logger.go:130: 2023-09-19T10:59:01.721Z	WARN	pool/pool.go:127	Pool: connection failed	{"username": "", "error": "[opendb.go:83 pool.openDB] [opendb.go:98 pool.checkConnection] failed to connect to `host=<IP_ADDRESS> user=username database=ferretdb`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)"}
    registry_test.go:91:
        	Error Trace:	/home/runner/work/FerretDB/FerretDB/internal/backends/postgresql/metadata/registry_test.go:91
        	Error:      	Received unexpected error:
        	            	[registry.go:89 metadata.NewRegistry] [registry.go:218 metadata.(*Registry).getPool] [pool.go:128 pool.(*Pool).Get] [opendb.go:83 pool.openDB] [opendb.go:98 pool.checkConnection] failed to connect to `host=<IP_ADDRESS> user=username database=ferretdb`: dial error (dial tcp <IP_ADDRESS>:5432: connect: connection refused)
        	Test:       	TestCreateDrop
FAIL
panic: *pool.Pool has not been finalized
Object created by goroutine 53 [running]:
runtime/debug.Stack()
	/opt/hostedtoolcache/go/1.21.1/x64/src/runtime/debug/stack.go:24 +0x[67](https://github.com/FerretDB/FerretDB/actions/runs/6234621760/job/16922195744?pr=3356#step:7:68)
github.com/FerretDB/FerretDB/internal/util/debugbuild.Stack(...)
	/home/runner/work/FerretDB/FerretDB/internal/util/debugbuild/debugbuild.go:28
github.com/FerretDB/FerretDB/internal/util/resource.Track({0xf56940, 0xc00032a640}, 0x1001cd0?)
	/home/runner/work/FerretDB/FerretDB/internal/util/resource/resource.go:78 +0x1bb
github.com/FerretDB/FerretDB/internal/backends/postgresql/metadata/pool.New({0x1023b3a, 0x45}, 0xc00032e310, 0xc00032a580)
	/home/runner/work/FerretDB/FerretDB/internal/backends/postgresql/metadata/pool/pool.go:72 +0x73d
github.com/FerretDB/FerretDB/internal/backends/postgresql/metadata.NewRegistry({0x1023b3a, 0x45}, 0xc00032e310, 0x0?)
	/home/runner/work/FerretDB/FerretDB/internal/backends/postgresql/metadata/registry.go:73 +0xb1
github.com/FerretDB/FerretDB/internal/backends/postgresql/metadata.TestRenameCollection(0xc0003ca[68](https://github.com/FerretDB/FerretDB/actions/runs/6234621760/job/16922195744?pr=3356#step:7:69)0)
	/home/runner/work/FerretDB/FerretDB/internal/backends/postgresql/metadata/registry_test.go:392 +0x233
testing.tRunner(0xc0003ca6[80](https://github.com/FerretDB/FerretDB/actions/runs/6234621760/job/16922195744?pr=3356#step:7:81), 0x1046c28)
	/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595 +0x239
created by testing.(*T).Run in goroutine 1
	/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1648 +0x[82](https://github.com/FerretDB/FerretDB/actions/runs/6234621760/job/16922195744?pr=3356#step:7:83)b

The only thing that looks differently - in sqlite registry file unexported method goes first, and then we have the exported method, e.g. databaseDrop goes before DatabaseDrop. In the postgresql registry it's the opposite. It doesn't affect the quality, so I don't think it's significant, just a bit inconsistent.

Exported method is called from externally, then exported method calls unexported method. So so while implementing, it was easier to follow the flow of code if exported method came first then unexported method came right after. Also exported methods are short and unexported methods can be quite long, so I didn't have to go all the way up to function declaration of unexported method. Anyway, it was easier for me that's why I did it. But I agree about consistency, is having unexported method first our preferred way? :hugs:


code and data

please provide code and data

Thanks for your attention, we will release the code and data within two months.


LINKTA-131: Create MainLayout Component Structure

Description
Set up the basic structure for MainLayout, ensuring it can wrap around other page components effectively.
Fixes #Linkta 131(issue)
Type of change

[X] ✨  New feature (non-breaking change which adds functionality)

How Has This Been Tested?

[X] Manual testing

Checklist:

[X] I have performed a self-review of my own code.
[X] I have commented on my code, particularly in hard-to-understand areas.
[X] My changes generate no new warnings.
[X] Any dependent changes have been merged and published in downstream modules.
[X] I have reviewed the Security Best Practices Document.
[X] I have followed the Naming Conventions Guide for my changes.
[X] I have ensured that my pull request title is descriptive.

Additional Information:

Styling & robust testing yet to be completed
Prop added to allow the Footer to show only on certain pages

Love it, great creative solution for last minute design change.

Looks good, love the clear explanation from the comments too


fix(data): correct page and line numbers

Summary of PR
For SGGS, the page and line numbers were corrected according to the SGGS PDF available on SGPC.net
I made a csv file with 3 columns: id, source_page, source_line
This was then imported into the DB using the following query:
UPDATE lines
SET
	source_page = (SELECT source_page FROM fixedLines WHERE id = lines.id),
	source_line = (SELECT source_line FROM fixedLines WHERE id = lines.id)
WHERE id IN (SELECT id FROM fixedLines)

Ideally, this would be done through #1388. I could be able to feed the bot the csv file and it could automatically commit changes.
For Sri Dasam Granth, the changes were done manually with the ones mentioned by @SSAT in #1763
Time spent on PR
nine_thousand_years
Linked issues
Fix #1763
Closes #1764
Closes #1765

Since there are files for "source_page" 156 and 157, how does json 155 contain lines that go all the way to 158?
Only other confusion I have is how source_line was figured out

Since there are files for "source_page" 156 and 157, how does json 155 contain lines that go all the way to 158?
Only other confusion I have is how source_line was figured out

There is only 0155.json, after that there is 0159.json

Looking at the branch it seems 156 and 157 exist:

https://github.com/ShabadOS/database/blob/fix-page-numbers/data/Sri Guru Granth Sahib Ji/0156.json
https://github.com/ShabadOS/database/blob/fix-page-numbers/data/Sri Guru Granth Sahib Ji/0157.json

For which composition?

Just wondering how any of them were done. E.g. programmatically/manually?

I just realized that you've used the SGGS PDF, but you've also made changes to multiple compositions. So instead, I wonder what was the procedure for Sri Dasam Granth, for instance? Was this done manually?

@bhajneet its mentioned in the PR description

How was the line number/source line obtained programmatically from a PDF? Were there newline characters or something you used?

I should clarify its a re-import of


websocket/stream.hpp with spirit/include/qi.hpp

Hi there,
I seem to be running into this problem when using Qi together with Beast. A simple way to reproduce this is to uncomment the qi-header in async_websocket_server.hpp in Estray.
Compiling this on MacOS with Clang will result in an error
/opt/boost/include/boost/endian/buffers.hpp:54:12: warning: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT' macro redefined [-Wmacro-redefined]
#   define BOOST_ENDIAN_DEFAULT_CONSTRUCT = default;  // C++0x
           ^
/opt/boost/include/boost/spirit/home/support/detail/endian/endian.hpp:55:10: note: previous definition is here
# define BOOST_ENDIAN_DEFAULT_CONSTRUCT {}          // C++03

with a similar error on gcc7 / Ubuntu 17.10 . So this seems to be caused by a duplicate definition.
Since I am using qi in a few places which cannot easily be avoided -- is there some other work-around without having to wait for Boost 1.67 or patching 1.66 ?
I am asking this here since this also affects Beast.
Thanks and Kind Regards,
Beet

A minimal reproducer looks like this (using clang on MacOS):
#include <boost/spirit/include/qi.hpp>
#include <boost/beast/websocket.hpp>
int main(int argc, char **argv) {}

The warning (see the last post) can be avoided like this (hack, and doesn't bring me much further ...):
#include <boost/spirit/include/qi.hpp>
#include <boost/version.hpp>
#if BOOST_VERSION == 106600
#define BOOST_ENDIAN_DEFAULT_CONSTRUCT_SAVE BOOST_ENDIAN_DEFAULT_CONSTRUCT
#undef BOOST_ENDIAN_DEFAULT_CONSTRUCT
#include <boost/beast/websocket.hpp>
#define BOOST_ENDIAN_DEFAULT_CONSTRUCT BOOST_ENDIAN_DEFAULT_CONSTRUCT_SAVE
#undef BOOST_ENDIAN_DEFAULT_CONSTRUCT_SAVE
#else
#include <boost/beast/websocket.hpp>
#endif /* BOOST_VERSION */
int main(int argc, char **argv) {}

This still leaves me with the following error:
In file included from [...]
In file included from /opt/boost/include/boost/beast/websocket.hpp:18:
In file included from /opt/boost/include/boost/beast/websocket/stream.hpp:3455:
/opt/boost/include/boost/beast/websocket/impl/stream.ipp:460:28: error: no matching constructor for initialization of 'big_uint16_buf_t' (aka 'endian_buffer<order::big, unsigned short, 16>')
            ::new(&tmp[0]) big_uint16_buf_t{
                           ^               ~
/opt/boost/include/boost/endian/buffers.hpp:341:11: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::uint16_t' (aka 'unsigned short') to 'const boost::endian::endian_buffer<boost::endian::order::big, unsigned short, 16, boost::endian::align::no>' for 1st argument
    class endian_buffer< order::big, T, n_bits, align::no >
          ^
/opt/boost/include/boost/endian/buffers.hpp:341:11: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::uint16_t' (aka 'unsigned short') to 'boost::endian::endian_buffer<boost::endian::order::big, unsigned short, 16, boost::endian::align::no>' for 1st argument
/opt/boost/include/boost/endian/buffers.hpp:341:11: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided

Any idea for a work around would be appreciated!
Thanks and Kind Regards,
Beet

So, as a work-around, I am now getting it to compile by avoiding the qi "catch-all" header and just using the specific "sub-headers" needed by my application.

It looks like this has been resolved and there's nothing for me to do so I'll go ahead and close it, feel free to open a new one if you have another problem!


navmesh return error path in 2019.2

I found that Navmesh.CalculatePath return an error path in 2019.2,and it worked fine in 2018.3 , you can see the detail in pictures.
picture_1 : I call the method Navmesh.CalculatePath from point 1 to point 2 , the blue line is the return path but it's error
picture_2: It is navmesh preview.

This issue does not seem related to the NavMeshComponents in this repository. Please use the Unity Bug Reporter to send us a project for reproducing the problem. Thank you.


Put the bootstrap to import cluster in a more obvious place

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
I cannot find the bootstrap to import my cluster when I login to the dashboard.

What you expected to happen:
I would suggest putting the bootstrap in a more obvious place.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

Sorry, we have not provided a guide interface for the time being, and we will push forward as soon as possible. You can also currently view adding tutorials from the kubegems.io documentation.

this supported in this commit https://github.com/kubegems/dashboard/pull/600


Fix commit id according to osbuild-copmposer

Commit id was chaned according to this:
https://github.com/osbuild/osbuild-composer/blob/main/Schutzfile

Closing this PR as it has been done here:

https://github.com/osbuild/cloud-image-val/pull/343


Allow creation of schedules against a job template specifying an inventory

Hi,
I would like to use tower-cli to be able to schedule runs of a job but against different inventories. It seems this is possible using the following command, but unified-job-template requires an integer which won't be easily known:
tower-cli schedule create --name="Schedule against inventory" --unified-job-template="5" --inventory-source="My Inventory 1" --rrule="DTSTART:20171215T000000Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=1"

Resource changed.

If I try this against job_template I can enter the job template's name, but the only option I have is specifying an inventory_source which ends up in an error:
tower-cli schedule create --name="Schedule against inventory" --job-template="Demo Job Template" --inventory-source="My Inventory 1" --rrule="DTSTART:20171215T000000Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=1"

Error: More than one unified job template fields provided, please tighten your criteria.

Is there another way I should be doing this? Or can a feature please be added to enable creating a schedule using either a name in unified-job-template, or inventory with job-template?
Thanks

Both job templates and inventory sources are "unified job templates", so a schedule either applies to one or the other. Best I can tell, you might want to just specify the inventory source without specifying the job template, like:
tower-cli schedule create --name="Schedule against inventory" --inventory-source="My Inventory 1" --rrule="DTSTART:20171215T000000Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=1"

You might have an unrelated issue with multiple results being returned.

I was hoping that I could schedule a job_template to run against a certain inventory using the schedule options in tower-cli. However this looks to only be able to schedule runs against a schedule that is already setup (unified job template) or an inventory source.
I was hoping something like this would be possible:
tower-cli schedule create --name="Schedule a job against an inventory" --job-template="Demo Job Template" --inventory="My Inventory 1" --rrule="DTSTART:20171215T000000Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=1"

I was hoping that I could schedule a job_template to run against a certain inventory using the schedule options in tower-cli.

If I read that right, I think you're trying to use the functionality that was added very recent in:
https://github.com/ansible/awx/issues/169
The idea is that you can set the job template to prompt for inventory, and then set this inventory with the schedule. If that's the case, then yes, a --inventory option is needed for schedules.
If I understood that right, it will be taken care of by #441

Thanks AlanCoding, that is exactly what I'm after.
The code you mentioned in got added does that work within the UI or is it just with the API at the moment. And is it available in the latest docker image?
If so, how would I go about using the API to create these schedules?

You can do this through your browser. Go to http://yourserveraddress.invalid/api/v2/schedules/<schedule-pk>/, where you substitute the primary key of your schedule. You'll need to keep track of the inventory primary key as well, and PATCH {"inventory": <inventory-pk>} in the browser at that endpoint.

Thanks AlanCoding, Just tested this and it works fine.
Look forward to being able to set this using tower-cli with a named inventory and schedule rather than the numeric id.

That should go out in tower-cli 3.2.2
I'll use this issue to track that

going out in 3.3.0 now

Excellent, thanks @AlanCoding. I've just taken a look at the tower-cli doc's but can't see any use examples for this feature. Are you able to provide some?
Thanks

Sure, we could use something in the CLI guide on this if someone wanted to write it. As things stand now, the issue queue is already pretty large.


Add support for Python 3.9

thanks for the contribution @m1so! updated this PR since 3.9 is only currently available on the conda-forge channel

there are some issues building a conda environment on python 3.9 right now https://github.com/conda/conda/issues/10267 I think deps need to be packaged for 3.9 before this can work on current CI setup.

Codecov Report

Merging #307 (c3833f1) into master (5a3ed31) will increase coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
+ Coverage   98.41%   98.64%   +0.23%
==========================================
  Files          18       18
  Lines        1707     1702       -5
==========================================
- Hits         1680     1679       -1
+ Misses         27       23       -4

Impacted Files
Coverage Δ

pandera/io.py
97.82% <0.00%> (ø)

pandera/model.py
100.00% <0.00%> (ø)

pandera/checks.py
98.42% <0.00%> (ø)

pandera/errors.py
100.00% <0.00%> (ø)

pandera/typing.py
100.00% <0.00%> (ø)

pandera/decorators.py
100.00% <0.00%> (ø)

pandera/hypotheses.py
92.72% <0.00%> (ø)

pandera/error_formatters.py
100.00% <0.00%> (ø)

pandera/model_components.py
100.00% <0.00%> (ø)

pandera/schema_statistics.py
100.00% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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

@m1so had to make a few more changes to diff, but now tests pass. Thanks for getting the ball rolling on this PR!


Walls

Walls shouldn’t be created in places where they aren’t needed
Walls also shouldn’t block off resources (use rampart instead)

Try to path to each exit from each wall spot. If there is a path, make a wall (or rampart). All other wallspots should be unwalkable in CM. Maybe limit Ops? All swamp and road should be 1 op. Don’t check if there is already a wall or rampart there.

Limit pathfinding to one room


Unnecessary dispatch to the main queue in UIImageView+AFNetworking

Don't dispatch_async to the main queue from within UIImageView+AFNetworking; AFImageRequestOperation already executes its success/failure blocks on the main queue.

Good catch. Fixed this in 263e2f3d5c06c88fd88d60222e96c634c45d8dcc. Thanks!


[1765] remove site address3 validation

Context
We have a bunch of legacy sites in the db that are invalid because they're missing a value for address3, and it's becoming increasingly difficult to work-around this validation. Fox example for the rollover, copying the sites is failing because they're invalid, and even creating the data in a spec is painful.
Changes proposed in this pull request
Remove the presence validation we have on site.address3.
Guidance to review
I'm looking for some validation that this is a good idea, let me know if you think that there's a better approach to this, or if we should just suck it up and do the work to disable validations for tests & rollover.
Checklist

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

 Remove validation on site.address3 field

Syncing it should be fine.
Better check with @fofr existing data being invalid is one thing but going forward and allowing more invalid is another.
DfE
SW1P 3BT

20 Great Smith St
SW1P 3BT

vs
DfE
London
SW1P 3BT

20 Great Smith St
London
SW1P 3BT

Bear in mind that the the address is geo code, so not enforcing town/city may throw a wobble,

This idea was seeded by @fofr originally ... re: syncing, the thing is that we already have a ton of sites that don't have address3, around 3371 out of 8257 total.


Support Target Visibility in Skylark rules

For Skylark rules, there doesn't seem to be a way to alter a specific target's visibility other than using the coarse-grained package(default_visibility = [...]) declaration.

Can you explain what you tried and didn't work? I just tried adding visibility = ['//visibility:private'] to a skylark rule instance and it worked as expected.

Ah, my mistake.  visibility is indeed an inherent attribute on rules.  I was confused because I forgot to thread it through a macro.
Can Bazel improve their documentation about this?  name is an obvious attribute that each rule gets, but are there any more?  Only some of this list is correct for Skylark rules: http://bazel.io/docs/build-encyclopedia.html#common-attributes.  licenses, data, and distribs do not work.

laurent, ping?

This was fixed
https://github.com/google/bazel/commit/6d450dc530ef7d9348dfd3830857a67014b7392f


[Bug] Set Window Size At Start Up

Hello, apparently when you try to use the -w command for scrcpy to start up with, it comes with this error :
ERROR: Exception on thread Thread[main,5,main]
java.lang.NumberFormatException: For input string: "width"
        at java.lang.Integer.parseInt(Integer.java:608)
        at java.lang.Integer.parseInt(Integer.java:643)
        at com.genymobile.scrcpy.Server.parseCrop(Server.java:85)
        at com.genymobile.scrcpy.Server.createOptions(Server.java:67)
        at com.genymobile.scrcpy.Server.main(Server.java:109)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:315)
Exit due to uncaughtException in main thread:

apparently when you try to use the -w command for scrcpy to start up with

There is no -w command.
Here, it seems you used the --crop (or -c) command, but passed the string "width" as value, while you must pass 4 values separated by :.
For example:
scrcpy --crop 400:400:100:200

Ahh i see what i did wrong there


Provide mapping best practices for aircraft evaluation

Need to think about how we can convey how to do the mapping (model to observations) especially for various VOCs for the aircraft evaluation. This will be campaign and model/mechanism specific, so potentially some example mapping in excel for mechanisms and campaigns we typically use at NOAA and NCAR to get people started in the examples folder and explained in the ReadTheDocs? Let's think about how to convey this best practice information as we develop the aircraft analysis scripts.

An example of something I started for FIREX DC8 data and MOZART chemistry:
https://docs.google.com/spreadsheets/d/1s5Dqs7iHJLV1slSLYS2xfxOH7rFW5mBh/edit?usp=sharing&ouid=105024720870979784865&rtpof=true&sd=true


When not logged in did:ixo:DNBRbdzUsQHcQaRBsX1MR9 crashes when buy attempted

When attempting to issue a buy while not logged in, the screen will crash

I think When not logged in for any bond did crashes when buy attempted?

I think When not logged in for any bond did crashes when buy attempted?

@demondayza can you see this comment?
I will also have a look at recreating this issue with another bond did...

Review request: https://github.com/ixofoundation/ixo-webclient/pull/760


Ricardo

professor

I am interested in installing the fastforth in a Renesas kit that contains a 32-bit risc-v (processor called R9A02G021, kit: FPB-R9A02G021 RISC-V MCU Fast Prototyping Board) that has a different hardware than the GD32VF103 presented in this version. I would like if they could generate a target with this "new" processor and with its particular characteristics. It is for use in education and with the idea of applying it to build a visible light spectrophotometer. We have already tested forth using an MSP430, from Texas, as a base. I would like to introduce us to risc-v architecture, and in forth, of course. My native language is Spanish. Sorry for the translation. Thank you very much in advance.
Salutti.

Sorry, the fiveforth!. El quinto forth, que viene luego del cuatro!


feat(oncall-vendor-transition): Increase Dependabot limit and move scheduled runs to 08:30 UTC

Details

Dependabot for our repos is scheduled to run at fairly different times that are inconvenient for some geographies. This PR moves this repo's dependabot time to 08:30 UTC (14:00 IST, 01:30 PDT, 00:30 PST).
Web-based projects have many dependencies, and a low Dependabot PR limit causes us to need to run Dependabot manually multiple times to update all dependencies. This PR increases the limit for all dependency receptacles to 10 as consistent with other repos.

Motivation
Part of Feature 2083093 (internal access required to view).
Pull request checklist

[n/a] If this PR addresses an existing issue, it is linked: Fixes #0000
[n/a] New sample content is commented at a similar verbosity as existing content
[x] All updated/modified sample code builds and runs in at least one PR/CI build
[x] PR checks for builds named [failing example] ... pass in the PR build, then confirm they fail in the CI build

/azp run

/azp run

/AZP RUN

CI won't run for love nor money, so closing in favour of #1345.


Agents: add private agents

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR introduces the concept of private agents and the necessary changes to accommodate this feature.
The is_private field is added to the Agent model, allowing agents to be marked as private. This field is also included in the AgentBase class, which is the base for the Agent model, and the CreateAgentRequest class, used for creating new agents.
To support this change, the following modifications are made:

The get_agents function is replaced with get_public_agents and get_private_agents functions in the agent.py file. These functions filter agents based on their privacy status, with get_public_agents excluding private agents and get_private_agents retrieving agents for a specific user.
The get_agent_by_name function remains unchanged, but its description is updated to reflect that it only returns public agents.
The upgrade and downgrade functions in versions/998b82dfd78f_.py are modified to add and remove the is_private column, respectively, from the "agents" table.
The get_public_and_private_agents function is added to the services/agent.py file, combining public and private agents for a user.
The validate_user_has_access_to_agent function is introduced to check if a user has access to a given agent, considering both public and private agents.
The list_agents, get_agent_by_id, update_agent, delete_agent, and list_agent_tool_metadata functions in routers/agent.py are updated to incorporate the validate_user_has_access_to_agent function and handle private agents.
The list_tools function in routers/tool.py is modified to include the validate_user_has_access_to_agent function.
The chat_stream and chat functions in routers/chat.py are updated to validate user access to agents.
The search_conversations function in routers/conversation.py is modified to validate user access to agents and handle private agents.
The process_chat function in services/chat.py is updated to include the validate_user_has_access_to_agent function.
The get_files_by_agent_id function in services/file.py is modified to validate agent existence and user access.
The validate_chat_request function in services/request_validators.py is updated to use the validate_agent_exists and validate_user_has_access_to_agent functions.
Test functions in tests/crud/test_agent.py and tests/routers/test_agent.py are adjusted to reflect the changes and test the new functionality.

Codecov Report
Attention: Patch coverage is 93.61702% with 9 lines in your changes missing coverage. Please review.

Project coverage is 82.35%. Comparing base (4edacee) to head (820cc02).
Report is 70 commits behind head on main.

Files
Patch %
Lines

src/backend/crud/agent.py
88.88%
3 Missing :warning:

src/backend/alembic/versions/998b82dfd78f_.py
90.90%
1 Missing :warning:

src/backend/routers/chat.py
80.00%
1 Missing :warning:

src/backend/routers/conversation.py
50.00%
1 Missing :warning:

src/backend/routers/tool.py
66.66%
1 Missing :warning:

src/backend/services/file.py
50.00%
1 Missing :warning:

src/backend/services/snapshot.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #567      +/-   ##
==========================================
+ Coverage   81.38%   82.35%   +0.96%
==========================================
  Files         199      215      +16
  Lines        8354     9481    +1127
==========================================
+ Hits         6799     7808    +1009
- Misses       1555     1673     +118

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[spi_device] Add high-speed read pipeline to relax timing requirements

Add a 2-stage pipeline to break up the combinatorial path for passthrough reads, particularly for quad output reads.
For selected commands in the CMD_INFO tables, this pipeline samples the read data from the downstream SPI flash and latches it in spi_device, then shifts it out to the host 2 cycles later. To use it, the user would read the number of dummy cycles required for the downstream SPI flash, configure the CMD_INFO table for the same number as the downstream SPI flash, then add 2 more cycles and advertise the higher value in an intercepted SFDP read.
On quad output reads, the host thinks there are N+2 dummy cycles (which it learned from the SFDP tables advertised by spi_device), and the downstream SPI device will shift out one additional byte (which will be harmlessly dropped).
Constraints for this specific mode will need to be added in a subsequent PR.
Resolves https://github.com/lowRISC/opentitan/issues/11718

CC @antmarzam

Except for some fixes to the Rust bits for spi_passthru_test, the code is ready here, but I will likely need to bring other changes in first. The hyper310 variant of spi_passthru_test won't pass until I fix up address mode synchronization.

This is now rebased on top of https://github.com/lowRISC/opentitan/pull/21120, so status and address mode synchronization issues don't case test failures.


The AMI should be publicly available

"publicly available" means two things, as described here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html

it needs to be shared to all the regions that will use it. (I don't know whether this actually means all regions, because I believe some are special: China, some US gov't regions, maybe others).
it needs to have its launchPermission property set appropriately

Closing this, created #9 as a followup to get the AMI list on conjur.org.


Login Failed

'Login Failed: [fail] Sorry, there was a problem with your request.'
How we can solve this problem ?
I tried proxy but the result is the same

same problem here :
Fatal error: Uncaught Instagram\API\Framework\InstagramException: Login Failed: [fail] Sorry, there was a problem with your request.


Proposal Flow Components - Generics

Overview
This is a technical story to lay the foundation for the common components in the new proposal flow. This must be completed first in order to ensure consistency across pages and provide the common elements used across all pages.
We can condense the common components into the following:

[ ] Dropdown Select (Small)
[ ] Dropdown Select (Large)
[ ] Dropdown Button
[ ] Input
[ ] TextArea Editor
[x] Markdown Editor (separate story)
[ ] SidebarItem
[ ] Avatar
[ ] Checkbox
[ ] Badge

Components can largely be influenced by the Build DAO Component Library -- index file on Github
Notice how components are functional components imported via VM.require, and only use a Widget when state is necessary (State is not necessary for the above list of common components)

Hi @Megha-Dev-19 – is this ticket still in progress/relevant? Can you please update to reflect the latest status? Thank you.

Yeah sure let me attach it to the PR


[BACKEND] Delete data from Database via /minify/delete/:id route

Create DELETE at /minify/delete/:id to take MongoDB Field id as input via parameter, and delete them from the database.

@BRAVO68WEB I am interested to do this issue , can you assign this issue to me ??

Yeah, sure I will keep that in mind

I want to work on this issue under JWOC

I want to work on this issue under JWOC


Create NPM package

Users should be enabled to create their own project based on YouTransfer. An NPM package should be created which allows users to initialise a new project with YouTransfer template.

Done!
https://www.npmjs.com/package/youtransfer


addr2line command should locate dSYMs on macOS

Currently, addr2line on macOS requires you to manually pass the path to the dSYM DWARF file, rather than the executable itself. It'd be neat if the addr2line command line tool could automatically figure this out for you. Related to #4.

See also https://github.com/gimli-rs/gimli/issues/154 and https://github.com/gimli-rs/moria
cc @kamalmarhubi

ugh ugh so many things to do!!

No pressure! Just a heads up. It's not like anyone is paying you for your
time here ;)
On Dec 4, 2016 6:15 PM, "Kamal Marhubi"<EMAIL_ADDRESS>wrote:

ugh ugh so many things to do!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gimli-rs/addr2line/issues/5#issuecomment-264753042,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEjS-JaLfAXEKxOc2WuDhmcXc4U9bCTks5rE3OtgaJpZM4LDhfE
.

FWIW, since this was filed I have fleshed out enough of moria that it can locate dSYMs on mac. Here's an example of using it in my rust-disasm crate.

Since this still hasn't been implemented here, and is not something I plan to do myself, I recommend using https://github.com/mstange/samply/tree/main/wholesym-addr2line instead.


[Bug]: KeyError: 'layers.0.self_attn.qkv_proj.weight' when using mistral or phi

Your current environment

No module named 'vllm._version'
from vllm.version import version as VLLM_VERSION
Collecting environment information...
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.5 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: glibc-2.35
Python version: 3.11.10 (main, Oct  3 2024, 07:29:13) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-6.8.0-48-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 11.5.119
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: Quadro RTX 4000
GPU 1: Quadro RTX 4000
GPU 2: Quadro RTX 4000
GPU 3: Quadro RTX 4000
Nvidia driver version: 535.183.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
架构：                                x86_64
CPU 运行模式：                        32-bit, 64-bit
Address sizes:                        46 bits physical, 48 bits virtual
字节序：                              Little Endian
CPU:                                  32
在线 CPU 列表：                       0-31
厂商 ID：                             GenuineIntel
型号名称：                            Intel(R) Xeon(R) Silver 4208 CPU @ 2.10GHz
CPU 系列：                            6
型号：                                85
每个核的线程数：                      2
每个座的核数：                        8
座：                                  2
步进：                                7
CPU 最大 MHz：                        3200.0000
CPU 最小 MHz：                        800.0000
BogoMIPS：                            4200.00
标记：                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req vnmi pku ospke avx512_vnni md_clear flush_l1d arch_capabilities
虚拟化：                              VT-x
L1d 缓存：                            512 KiB (16 instances)
L1i 缓存：                            512 KiB (16 instances)
L2 缓存：                             16 MiB (16 instances)
L3 缓存：                             22 MiB (2 instances)
NUMA 节点：                           2
NUMA 节点0 CPU：                      0-7,16-23
NUMA 节点1 CPU：                      8-15,24-31
Vulnerability Gather data sampling:   Mitigation; Microcode
Vulnerability Itlb multihit:          KVM: Mitigation: VMX disabled
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Mitigation; Enhanced IBRS
Vulnerability Spec rstack overflow:   Not affected
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI SW loop, KVM SW loop
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Mitigation; TSX disabled
Versions of relevant libraries:
[pip3] flashinfer==0.1.6+cu121torch2.4
[pip3] numpy==1.26.4
[pip3] nvidia-cublas-cu12==<IP_ADDRESS>
[pip3] nvidia-cuda-cupti-cu12==12.1.105
[pip3] nvidia-cuda-nvrtc-cu12==12.1.105
[pip3] nvidia-cuda-runtime-cu12==12.1.105
[pip3] nvidia-cudnn-cu12==<IP_ADDRESS>
[pip3] nvidia-cufft-cu12==<IP_ADDRESS>
[pip3] nvidia-curand-cu12==<IP_ADDRESS>
[pip3] nvidia-cusolver-cu12==<IP_ADDRESS>
[pip3] nvidia-cusparse-cu12==<IP_ADDRESS>
[pip3] nvidia-ml-py==12.560.30
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] nvidia-nvjitlink-cu12==12.6.77
[pip3] nvidia-nvtx-cu12==12.1.105
[pip3] pyzmq==26.2.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.46.1
[pip3] triton==3.0.0
[conda] flashinfer                0.1.6+cu121torch2.4          pypi_0    pypi
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-cublas-cu12        <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
[conda] nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
[conda] nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
[conda] nvidia-cudnn-cu12         <IP_ADDRESS>                 pypi_0    pypi
[conda] nvidia-cufft-cu12         <IP_ADDRESS>                pypi_0    pypi
[conda] nvidia-curand-cu12        <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusolver-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-cusparse-cu12      <IP_ADDRESS>               pypi_0    pypi
[conda] nvidia-ml-py              12.560.30                pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] nvidia-nvjitlink-cu12     12.6.77                  pypi_0    pypi
[conda] nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
[conda] pyzmq                     26.2.0                   pypi_0    pypi
[conda] torch                     2.4.0                    pypi_0    pypi
[conda] torchvision               0.19.0                   pypi_0    pypi
[conda] transformers              4.46.1                   pypi_0    pypi
[conda] triton                    3.0.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: N/A (dev)
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NODE    SYS     SYS     0-7,16-23       0               N/A
GPU1    NODE     X      SYS     SYS     0-7,16-23       0               N/A
GPU2    SYS     SYS      X      NODE    8-15,24-31      1               N/A
GPU3    SYS     SYS     NODE     X      8-15,24-31      1               N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
LD_LIBRARY_PATH=/home/yanan/anaconda3/envs/vllm/lib/python3.11/site-packages/cv2/../../lib64:
CUDA_MODULE_LOADING=LAZY

Model Input Dumps
No response
🐛 Describe the bug
My code works fine with llama series and qwen series, such as meta-llama/Llama-3.2-3B-Instruct, Qwen/Qwen2.5-3B-Instruct etc.
however, same code does not work for some other models:
such as
microsoft/Phi-3.5-mini-instruct with error: KeyError: 'layers.21.mlp.gate_up_proj.weight'
mistralai/Mistral-7B-Instruct-v0.3 with error: KeyError: 'layers.0.self_attn.qkv_proj.weight'
the error comes from line:
    llm = LLM(model= args.llm_name,
                dtype='float16',
                #max_model_len = max_len,
                tensor_parallel_size= torch.cuda.device_count(),
                gpu_memory_utilization= 0.96,
                #seed=None,
                trust_remote_code=True,
                quantization=None,
                load_format='auto',
                enforce_eager=True,
                #enable_lora=True if args.sft_path else False,
                tokenizer_mode= "mistral" if args.llm_name.startswith('mistralai') else 'auto'
            )

Does anybody encounter the same issue ?
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Are you using the latest version of vLLM? I think this has been solved recently (forgot which PR though)

I just installed the most recent version from pypi, which is 0.6.3.post1, and can't use the model microsoft/Phi-3.5-mini-instruct as well through vllm, but I am able to use it through transformers, while transformers is of version 4.46.2.

From my understanding, quantization is set to None here, so that shouldn't matter.

yeah when set quantization to none, it seems ok now, although there is new error comes out about out of memory (which is not the vllm' fault but my hardware constraints)

I'm unable to repro this on main branch. I ran the command
vllm serve microsoft/Phi-3.5-mini-instruct --dtype float16 --tensor-parallel-size 4 --trust-remote-code --quantization None --load-format auto --enforce-eager

At least for me, the specified model doesn't work without quantization to being with. I don't believe it is related to memory for me, since I am using 4 GPUs of at least 40GB each

I'm unable to repro this on main branch. I ran this command successfully:
vllm serve microsoft/Phi-3.5-mini-instruct --dtype float16 --tensor-parallel-size 4 --trust-remote-code --quantization None --load-format auto --enforce-eager

u set quantization to none which solve the error.
same for me, in offline batch mode, set it to none also solve the issue.

Which HF repo are you downloading from for the quantized model?

@IdoAmit198 could u share your main code here ?

microsoft/Phi-3.5-mini-instruct

Although I haven't personally performed quantization, my understanding is that you're supposed to run the quantization separately (example), and then run vLLM on the quantized version of the model (which is modified from the HF download).

It seems that my issue is related to an earlier reported issue, #8553.
I am initializing the LLM:

llm = LLM(model=microsoft/Phi-3.5-mini-instruct, dtype='auto', tensor_parallel_size=4, distributed_executor_backend='mp', trust_remote_code=True)

And getting the following error:

ModuleNotFoundError: No module named 'transformers_modules.microsoft.Phi-3'

Although I haven't personally performed quantization, my understanding is that you're supposed to run the quantization separately (example), and then run vLLM on the quantized version of the model (which is modified from the HF download).

i am not sure. i don't know.
from the doc below, seems that loading unsloth models is loading quantized llm which is smaller.
while adding the quantization in the code means quantization on the fly in addition.
https://docs.vllm.ai/en/latest/quantization/bnb.html

actually sometimes when i load unsloth models, the same error comes out.
therefore i guess there could be something wrong during the quantization.

Some HF checkpoints are already quantized, while others are not. You should check the HF repo.

It seems that my issue is related to an earlier reported issue, #8553.

The issue has been solved on main branch, and will be in the next release. If you need to use it now, you can try installing from main branch.

Thanks @DarkLight1337 it's very helpful

I think it depends on which method you're using. Check the Quantization section of the docs.

Understood. After my question, I checked the docs, it is as you mentioned. Thanks.


Remove ~100 samples from the AFib cohort containing three deltaF508 homozygotes

Notes from Google Doc:

Look at the genotypes (there was an enrichment of cystic fibrosis patients in this cohort). research_project: CCDG_Atrial_Fibrillation_Duke
Add a sample QC check for number of P/LP ClinVar alleles per individual to see if there are cohorts with a substantial excess
Place a hard filter up front for these

Kat added: research_project: CCDG_Atrial_Fibrillation_Duke

Added to the following PR https://github.com/broadinstitute/gnomad_meta/pull/1/files


Service preloader not needed since most services already have a preloader, and it also doesn't respect Dark Mode

Bug description: Not sure why this was implemented, but all services nowadays have a preloader. Why implement a preloader preloader? Also, it doesn't respect dark mode and just a big white screen before the services load.

Steps to reproduce:

Load a service

Expected behavior

No preloader preloader.
Screenshots

Environment:

Operating System: Windows 10

Ferdi Version: 5.6.0 beta 6

Server: Ferdi

Debug information:

What do you mean by preloader preloader?
The white screen that is shown when a service is initializing is Chromium (the browser powering Ferdi) loading the service website -- just like when your browser is loading a site when you have entered an URL, but it haven't downloaded the page yet.
What would be interesting is to make the webviews initialize with a dark background when dark mode is activated (but I don't know whether that's possible at all with current Electron API). But even then, a blank page would be visible for a brief moment (until the browser downloads the service website).

wait, so that's chromium? huh. That wasn't there on beta 5! That's why I was so confused about it.

Beta 5 was on Electron 9 on Chromium 83, beta 6 is on Electron 13 with Chromium 91. The default background for webviews probably changed from transparent to white in the meantime. But I'll look into whether it can be styled.

Closing since this is not something we can control and the 👍 from @notNSANE leads me to believe that they are satisfied with the above explanation.


fix your failing unit tests

for god's sake please make sure testthat runs without failing

R CMD CHECK now passes !


Bump nodejs10.x to 10.17.0

Description of changes: Bump nodejs10.x to version 10.17.0

Thanks! We're working on a process to keep this information up-to-date. I'll remove the version numbers until we can ensure that it stays correct.

@mwunderl That would be great if this information was updated automatically.
I would be even better the data was available in json or some other machine readable format.
Would that be possible?

I completely agree and would love to see all runtime details available from the runtime itself or from the Lambda API. I'll pass your feedback on to the engineering team.

Wonderful! Thanks you 🙏


Show shares for all space members

Steps to reproduce

Create a new space space01 as admin user
Add user01 as member and assign them the role viewer
As admin user, share a folder within the space to another user who is not member of the space
As user01, and list the shares for the folder which has been shared one step above

As user01 is a member of the space, they should see the users the folder has been shared with. Currently, user01 only sees shares they have created.

@C0rby @butonic IMO this is just a gap in the implementation.
We need to tackle this and come up with a concept.
Currently we have no distinction between shares inside a personal space or inside a project space.

hm correct. my gut tells me that when listing the shares the shares manager filters by owner.
the lisg shares with others call might not show the share ... but the /me/drives/ endpoint might actually show the grant space

AFAICT the shares manager could check the share resources and determine which ones are space roots because the resource storageid and nodeid are the same. If the user has read access on a root he should be able to see all other shares in that space.
Actually, read access is incorrect. it is the ListGrants permission, which IIRC a viewer currently does not have. When adding users to a spaca (aka sharing the root of a space with them) they should always have the ListGrants permission. That might need a new role?

AFAICT the shares manager could check the share resources and determine which ones are space roots because the resource storageid and nodeid are the same. If the user has read access on a root he should be able to see all other shares in that space.

It's not quite that easy I'm afraid. The space member grants are not represented as shares. Therefor the share manager doesn't know if a user is a member of a space. We would somehow need to pass the membership information of the current user down to the share manager or redesign the share manager to somehow make it spaces aware.

The list of shares on a resource is fetched with an ocs /shares  request, but the share manager cannot list the grants of a space because it currently does not know that a user is a member of a space.
🤔


Complex ? : with defined and split generates bad code

Complex ? : with defined and split generates bad code.  For example:
my(@accept) = defined $self->http('accept')
            ? split(',',$self->http('accept'))
            : ();

Fixed in v1.018


Added Indonesian Translation

This is a change to @paraschadha2052 original file. I would like to have his opinion.

@rafajaques This is not a change to my file. I added hindi translations in the file named 'hi.json'. I guess Indonesian Translations were added by @hndr91, please have a look at the changes.

@paraschadha2052 Sorry! I made a mistake while reading the file names. Thank you!


Cursor jumps around when editing text on Mobile

Describe the bug
The cursor does not always remain where the user intends.
To Reproduce
Steps to reproduce the behavior:

Open Chrome mobile
Type something at the end of the document
Tap after a word higher in the document and press space
Cursor will jump back to end of document

Expected behavior
The cursor should remain
** Version information **

OS: Android
Browser: Chrome 73
EasyMDE 2.5.1

This is a serious issue. Same happens to me where cursor always jumps to the end of the document no matter what. Android also.

Was not able to reproduce

OS: Android 9
Browser: Chrome 76
EasyMDE 2.8.0
GBoard 8.6.10

Do you guys have the same problem in the editors on https://easymde.tk?
What keyboard are you using?

OS: Android 8.0.0
Browser: Chrome 76.0.3809.132
EasyMDE: 2.8.0

Strange thing is that I just installed Firefox on the same phone and it works fine, no issues. So it must be Chrome related only.

Same here, EasyMDE 2.8.0

OS: Android 8.1.0 (Lineage OS)
Browser: Chrome 77
EasyMDE: 2.8.0
AOSP keyboard

It looks like some kind of optimization. Perhaps the input text is rendered before it's actually inserted into the HTML element? Cursor jumps erratically and it's a pain to use.

Android Pixel 4
Android 10
Chrome 78

I see the same issue in Firefox, there seems to be a few issues editing on mobile and cant figure out how to trigger them reliably or how to seperate them but the 2 main things I see happen are my edits are constantly undone, and on pressing return the cursor goes to the start of the line

OnePlus 5T (A5010)
Android 9
Chrome 80.0.3987.149

I am also experiencing this bug and it makes for a very bad user experience. From my testing it seems that the editor is not correctly setting the internal cursor position when the user taps somewhere in the document.
It works fine, when using the cursor key (via remote debugging) or a mouse to interact with the document. While debugging this I saw, that CodeMirror is listening for touchend events to update the cursor position in response to user input on mobile.
The problem is, that sometimes the touchend event is not fired.
You should be able to see for yourself by registering event listeners like:
window.addEventListener('touchend', () => console.log('touchend '))
window.addEventListener('touchstart', () => console.log('touchstart'))

Some googling led me to this unfixed Chromium bug, which could be causing this issue: When the target element of a touchstart is removed from the DOM while the touch is in progress, no touchend will be fired.
The problem would then be, that EasyMDE removes elements from the DOM, that have been the target of touchstart events, so that the corresponding touchend never fires.

This is still a huge problem on mobile devices and should be addressed as soon as possible.

Like @Ge-lx said, this is a CodeMirror issue, there's not really anything that can be done at this end. Upvote https://github.com/codemirror/CodeMirror/issues/5844 if you want to see it fixed.

There is word that CodeMirror 6 should have more robust mobile support (see: https://github.com/codemirror/CodeMirror/issues/5844 ). Maybe updating to CodeMirror 6 would fix this issue.


Field names must (not) be unique!

By design, PrettyTables forbids duplicate field names. But this very case
naturally occurs in any table returned by an unfiltered cross product SQL
request, e.g.:

    cursor = c.execute("SELECT * FROM foobar A, foobar B")
    t = prettytable.from_db_cursor(cursor)

Can you add an option to override the check for uniqueness?

Thanks!

Original issue reported on code.google.com by aristide.grange on 8 Oct 2013 at 7:57

Hey, I'm running into this error in my application's use case because a query like this was issued

select l.id, so.name, l.name, from location ...

So it seems like the results of querying across table joins and displaying the same-named columns from two different tables isn't possible using prettytable because of this constraint, which is unfortunate.

I'm guessing this has not been fixed yet. For now, what I sadly had to do was this:
table._validate_field_names = lambda *a, **k: None
This "removes" the call to the function which throws the error. Of course, only use this in development and never in production.


Feature: New Tours Login

As a user of the New Tours website,
I want to be able to login,
so that I can access my personal information.
As a user of the New Tours website, if I enter incorrect login information,
I want to receive a registration link,
so that I can create an account.
Scenario: Successful Login
Given I am on the New Tours Login Page
When I fill the account information for account RegularUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Sign On Header exists
Scenario: Failed Login
Given I am on the New Tours Login Page
When I fill the account information for account BadUser into the Username field and the Password field
And I click the Sign In Button
Then I am redirected to the New Tours Sign On Page
And I verify the Registration Form Link exists

Child issues: #17, #18

Part of an example project for showing how you should create stories and tasks to track your automated tests. Using Sentinel successfully is part of a larger process in which tests should be tied to tickets, which should be tied to code commits.


Update Email Encryption Protocol (SMTPS vs STARTTLS)

I was using Gmail with port 587 where Cabot was failing exception below, but with port 465 it is working.
From Googling a bit it turns out that Gmail port 465 is using the old SMTPS protocol which Cabot supports (since it is working) and Port 587 uses the STARTLS portocol (where Cabot is failing).
So apparently SMTPS has been deprecated for about 15 years now so it's probably a good idea to get Cabot updated too.  This is from me Googling around for a few minutes so when you decide to update you'll probably want to do through research before implementing a solution.
With port 587:
11:46:09 celery.1 | [2017-02-25 17:46:09,202: ERROR/Worker-1] Could not send Email alert: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)
11:46:09 celery.1 | Traceback (most recent call last):
11:46:09 celery.1 |   File "/home/ubuntu/2017-02-25-206abcd/cabot/cabotapp/alert.py", line 40, in send_alert
11:46:09 celery.1 |     alert.send_alert(service, users, duty_officers)
11:46:09 celery.1 |   File "/home/ubuntu/venv/local/lib/python2.7/site-packages/cabot_alert_email/models.py", line 49, in send_alert
11:46:09 celery.1 |     recipient_list=emails,
11:46:09 celery.1 |   File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/mail/init.py", line 62, in send_mail
11:46:09 celery.1 |     return mail.send()
11:46:09 celery.1 |   File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/mail/message.py", line 303, in send
11:46:09 celery.1 |     return self.get_connection(fail_silently).send_messages([self])
11:46:09 celery.1 |   File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 100, in send_messages
11:46:09 celery.1 |     new_conn_created = self.open()
11:46:09 celery.1 |   File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 58, in open
11:46:09 celery.1 |     self.connection = connection_class(self.host, self.port, **connection_params)
11:46:09 celery.1 |   File "/usr/lib/python2.7/smtplib.py", line 801, in init
11:46:09 celery.1 |     SMTP.init(self, host, port, local_hostname, timeout)
11:46:09 celery.1 |   File "/usr/lib/python2.7/smtplib.py", line 256, in init
11:46:09 celery.1 |     (code, msg) = self.connect(host, port)
11:46:09 celery.1 |   File "/usr/lib/python2.7/smtplib.py", line 316, in connect
11:46:09 celery.1 |     self.sock = self._get_socket(host, port, self.timeout)
11:46:09 celery.1 |   File "/usr/lib/python2.7/smtplib.py", line 807, in _get_socket
11:46:09 celery.1 |     new_socket = ssl.wrap_socket(new_socket, self.keyfile, self.certfile)
11:46:09 celery.1 |   File "/usr/lib/python2.7/ssl.py", line 933, in wrap_socket
11:46:09 celery.1 |     ciphers=ciphers)
11:46:09 celery.1 |   File "/usr/lib/python2.7/ssl.py", line 601, in init
11:46:09 celery.1 |     self.do_handshake()
11:46:09 celery.1 |   File "/usr/lib/python2.7/ssl.py", line 830, in do_handshake
11:46:09 celery.1 |     self._sslobj.do_handshake()
11:46:09 celery.1 | SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590)

Hi @Exocomp,
I believe this should be fixed since https://github.com/arachnys/cabot/pull/427 was merged in. (v0.8.2+)
I currently have a deployment working with the following email settings
EMAIL_HOST=smtp.gmail.com
<EMAIL_ADDRESS>EMAIL_PASSWORD=*********
EMAIL_PORT=587
EMAIL_USE_SSL=
EMAIL_USE_TLS=1

Thanks I just tried those settings and it worked.  Note:  You may want to update the production.env and just put in a note on how to use it.  :)


Party ping hotkey overrides chat

Type
Incorrect behavior
Operating System
Windows
OS Version
Windows 10
Bug description
When setting the hotkey for the Ping setting in the Party plugin, this appears to override any interaction with chat. For example, if I set my Ping Hotkey to the letter Q, I cannot type Q in any chat window.
Screenshots or videos
No response
RuneLite version
RuneLite version: 1.8.30
Oldschool revision: Rev 207
Launcher version: 2.1.3
Logs
No response

How did you expect this to work? How would we know whether you wanted to type a q in chat versus ping?

Closing as no more information was provided.

I ran into this earlier and struggled to figure out why my 'F' key wasn't working, especially since I wasn't actually using the party plugin at the time.
Potential fixes:

Change default hotkey to something like Alt+F
Disable when chatbox is focused
Disable ping hotkey outside of a Party

I ran into this earlier and struggled to figure out why my 'F' key wasn't working, especially since I wasn't actually using the party plugin at the time.
Potential fixes:

Change default hotkey to something like Alt+F
Disable when chatbox is focused
Disable ping hotkey outside of a Party

The default party ping hotkey is unset (Keybind.NOT_SET). You put if on F yourself.


Solution to Login Problem

If you have error in logging in and it shows 👍
Incorrect Username / Password
For me guys this worked 👍
https://github.com/FaisalUmair/udemy-downloader-gui/releases/tag/v1.5.0
Download this older version of them its working fine !

I've tried 1.52 version, but that didn't work.
But 1.5 as said here works without any issues. Thanks geekhaidar.

Well, now even that has stopped working. But at least I was able to download my latest course.

I have released a new version v1.6.3 which includes a workaround for the login problem. The new version brings Udeler Authenticator (A chrome extension for easily authenticating a Udemy account with Udeler).
How to use Udeler Authenticator?

Install the extension from here

After installing/enabling the extension, open udeler desktop app, you will see a new anonymous icon on the login page. Click the icon and it will start to listen for any login requests from your chrome web browser.

Open Udemy website on your chrome web browser and simply login to your account. Udeler app will detect the login and will let you in. If you are already logged in to Udemy, you can simply visit the website and it will still detect your account.

Use this method to download courses from Udeler for now. Meanwhile I will work on a proper fix for login.

this new version didnt work for me oo... even refused to install. but the version 1.4.0 and version 1.5.0 are still working

@stargodwin Please share more details so that I can help you with the installation.

sorry i have fix the issue my windows defender was refusing the app to install because of unknown publisher
but i have fixed the issue

Nothing is working for me on the Mac as of today!.. Please let me know what to try. 1.5.0 is NOT working

Hi guys!, What is the version that work in MacOS? the latest not working for me 👎  thank you!

Hi guys!, What is the version that work in MacOS? the latest not working for me 👎 thank you!

well, the solution of @FaisalUmair about Chrome extension working for me 💯 👍

This worked perfectly.... @FaisalUmair Chrome extension solution

With the new version 1.6.3 i could not login. I have gone down to 1.5.0 without success.

Help - me not loggon.

chrome extension working for me

I think lots of people facing the same authentication issue. For  udeler lover I had created a video how you can successfully authenticate to udemy  in V1.6.3  https://youtu.be/adhMIaL6i9A . Hope this will solve your problem. Cheers !

I have released a new version v1.7.0 which should allow you to login easily using the Udemy website itself.
The new version will support all kind of accounts, be it business, google or facebook. Download, test and provide feedback.

96/5000
I installed version 1.7.0 and I can login. And I see my courses. But it does not allow me to download.

old versions not working too , any other way

Is that all? bad answer I am using version 1.7.0.
50/5000
El lun., 22 abr. 2019 a las 1:05, aadilbashirdar<EMAIL_ADDRESS>escribió:

old versions not working too , any other way
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FaisalUmair/udemy-downloader-gui/issues/227#issuecomment-485326117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL2MRZRSLWLIJZ6KAHNQHQLPRVBS3ANCNFSM4G7EV7FQ
.

I have released a new version v1.7.0 which should allow you to login easily using the Udemy website itself.
The new version will support all kind of accounts, be it business, google or facebook. Download, test and provide feedback.

Works perfect, thank you.

version 1.6.3 has stopped working, the download does not start, version 1.7.0 also does not start the download

I have released a new version v1.6.3 which includes a workaround for the login problem. The new version brings Udeler Authenticator (A chrome extension for easily authenticating a Udemy account with Udeler).
How to use Udeler Authenticator?

Install the extension from here
After installing/enabling the extension, open udeler desktop app, you will see a new anonymous icon on the login page. Click the icon and it will start to listen for any login requests from your chrome web browser.
Open Udemy website on your chrome web browser and simply login to your account. Udeler app will detect the login and will let you in. If you are already logged in to Udemy, you can simply visit the website and it will still detect your account.

Use this method to download courses from Udeler for now. Meanwhile, I will work on a proper fix for login.

the link to the extension is broken, I want to get the right link please

Yeap, the extension doesnt work and the last version doesnt work either: I can't log in :(

hello umair faisal, i want to ask that if i download using udeler, does my account will be in danger ? like it will show to udemy server as normal download or different or illegal download to get notified?

my problem is similar, it log me in but after a few seconds logout to login page is the same issue??, yesterday it work

Hello @FaisalUmair I just downloaded the latest version of udeler on my mac, I'm facing problem when logging, it will log me in but after few seconds it will logout to login page

Why do I get this message each time I try logging into my udemy account?
Sorry.
We’re having trouble reaching our servers.
Try waiting a minute or two and then reload.

hi dear friends
i have other problem i used this extension and its ok in google chrome
i used udeller 1.5/1.7/1.8 but i cant connect my gmail account, when i click google account i m writing pass  after thet i have message in page, 'browser unsafe try other browser" i cant connect udemy account can you help me please

same issue: can`t login to google account - browser unsafe try other browser

same issue: can`t login to google account - browser unsafe try other browser (v1.8)

Try to sing in with the same credentials but no from the google login button. It work for me. cheers


About Reproducing DeepPSR Accuracy

Dear Author,
This is a very nice work! I am a newcomer to point cloud denoising research, and I have been studying the comparative experiments with simulated noise in other modalities (Tables 4, 5, and 6) presented in the appendix of your paper.
I noticed that the comparative methods include DeepPSR, indicating your familiarity with this approach. However, I have encountered some challenges in reproducing the accuracy of DeepPSR. I directly downloaded the data and code from their repository, set up the environment, and ran the test code. Unfortunately, the accuracy I obtained under Gaussian noise conditions was slightly lower than the reported results in the paper (CD metric: 42.74 in my reproduction versus 40.75 in the original paper). This discrepancy also appears with simulated noise in other modalities, where the accuracy is consistently lower than both the original paper and your reported results.
If possible, could you kindly provide some guidance on the details that might help in reproducing the DeepPSR accuracy more closely?
Thank you for your time and assistance.

Hi @2410183509,
The main results of DeepPSR on synthetic data is directly quoted from their original paper. We used their implementation to obtain results that were not in their paper. I think the implementation that's shared on GitHub may have some hyperparameter/implementation differences from their original code, which might affect performance. But I think the best course of action is to get in touch with the DeepPSR authors who can give you the best direction.
Best regards.


Lock in C33 using ethernet adapter and TCP connection in a long run

Hey all.
I implemented a HTTP server on C33.
But in a stress test, the board doesn't do well.
I take the smallest sample.
#include <EthernetC33.h>

EthernetServer server(7);

void setup() {
  Serial.begin(9600);

  if (Ethernet.begin() == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
  }
  server.begin();
  Serial.print("server is at ");
  Serial.println(Ethernet.localIP());
}

void loop() {
  EthernetClient client = server.available();
  if (client) {
    char previous_c = 0;
    int sequential_newline = 0;
    char buffer[1024];
    int pos = 0;

    while (client.connected()) {
      if (client.available()) {
        char c = client.read();

        if (previous_c == '\r' && c == '\n')
          sequential_newline++;
        else if (previous_c != '\n' || c != '\r')
          sequential_newline = 0;

        if (sequential_newline == 2)
          break;

        previous_c = c;
        buffer[pos++] = c;
      }
    }

    client.write(buffer, pos );

    delay(1);
    // close the connection:
    client.stop();
  }
}

and the python code to call
import socket

server_address = ('<IP_ADDRESS>', 7)  # Replace with the desired server address and port

while True:
    tcp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    tcp_socket.connect(server_address)

    data = b"POST /mode/IDLE HTTP/1.1\r\nHost: <IP_ADDRESS>\r\nUser-Agent: python-requests/2.28.1\r\nAccept-Encoding: gzip, deflate, br\r\nAccept: */*\r\nConnection: keep-alive\r\nContent-Length: 0\r\n\r\n"
    tcp_socket.sendall(data)

    while True:
        response = tcp_socket.recv(1024)

        if not response:
            break

        print(response.decode(), end='')

    tcp_socket.close()

I take a deep look at the source code too. It looks like a problem in lwip function
tcp_output that doesn't clean the recv buffer in some way.
And it looks like that is something low level because the C33 stops responding to ping too.
In lwip functions is called tcp_write to add the buffer and tcp_output to send the buffer, but tcp_write keeps returning ERR_MEM.
Also, there is no SDCard on the shield.
Any help?

Adding...
This code uses the lwip directly and responds the same way.
#include <EthernetC33.h>

#include "lwipServer.h"
#include "EthernetClient.h"

void tcpecho_raw_init(void);
err_t tcpecho_raw_accept(void *arg, struct tcp_pcb *newpcb, err_t err);
err_t tcpecho_raw_sent(void *arg, struct tcp_pcb *tpcb, u16_t len);

static struct tcp_pcb *tcpecho_raw_pcb;

bool restart = true;

enum tcpecho_raw_states
{
  ES_NONE = 0,
  ES_ACCEPTED,
  ES_RECEIVED,
  ES_CLOSING
};

struct tcpecho_raw_state
{
  u8_t state;
  u8_t retries;
  struct tcp_pcb *pcb;
  /* pbuf (chain) to recycle */
  struct pbuf *p;
};

void
tcpecho_raw_free(struct tcpecho_raw_state *es)
{
  Serial.println("raw_free");

  if (es != NULL) {
    if (es->p) {
      /* free the buffer chain if present */
      pbuf_free(es->p);
    }

    mem_free(es);
  }
}

void
tcpecho_raw_close(struct tcp_pcb *tpcb, struct tcpecho_raw_state *es)
{
  Serial.println("raw_close");

  tcp_arg(tpcb, NULL);
  tcp_sent(tpcb, NULL);
  tcp_recv(tpcb, NULL);
  tcp_err(tpcb, NULL);
  tcp_poll(tpcb, NULL, 0);

  tcpecho_raw_free(es);

  tcp_close(tpcb);

  restart = true;
}

void
tcpecho_raw_send(struct tcp_pcb *tpcb, struct tcpecho_raw_state *es)
{
  Serial.println("raw_send");
  Serial.flush();
  Serial.print("pcb:");
  /*
  Serial.print(tpcb->state); Serial.print(",");
  Serial.print(tpcb->bytes_acked); Serial.print(",");
  Serial.print((int)tpcb->snd_buf); Serial.print(",");
  Serial.print((int)tpcb->snd_queuelen); Serial.print(",");
  Serial.print((int)tpcb->snd_wnd); Serial.print(",");
  Serial.print((int)tpcb->snd_wnd_max); Serial.print(",");
  Serial.println();
  */
  Serial.flush();
  Serial.print((int)tpcb->keep_cnt_sent); Serial.print(",");
  Serial.print((int)tpcb->mss); Serial.print(",");
  Serial.print((int)tpcb->snd_lbb); Serial.print(",");
  Serial.print((int)tpcb->snd_nxt); Serial.print(",");
  Serial.print((int)tpcb->snd_wl1); Serial.print(",");
  Serial.print((int)tpcb->snd_wl2); Serial.print(",");

  struct pbuf *ptr;
  err_t wr_err = ERR_OK;

  while ((wr_err == ERR_OK) &&
         (es->p != NULL) &&
         (es->p->len <= tcp_sndbuf(tpcb))) {
    ptr = es->p;

    /* enqueue data for transmission */
    wr_err = tcp_write(tpcb, ptr->payload, ptr->len, TCP_WRITE_FLAG_COPY | TCP_WRITE_FLAG_MORE);
    Serial.println((int)wr_err);
    if (wr_err == ERR_OK) {
      u16_t plen;

      plen = ptr->len;
      /* continue with next pbuf in chain (if any) */
      es->p = ptr->next;
      if(es->p != NULL) {
        /* new reference! */
        pbuf_ref(es->p);
      }
      /* chop first pbuf from chain */
      pbuf_free(ptr);

      es->retries = 0;

      /* we can read more data now */
      tcp_recved(tpcb, plen);
    } else if(wr_err == ERR_MEM) {
      /* we are low on memory, try later / harder, defer to poll */
      es->p = ptr;
      es->retries++;
      break;
    } else {
      /* other problem ?? */
    }
  }
}

void
tcpecho_raw_error(void *arg, err_t err)
{
  Serial.println("raw_error");

  struct tcpecho_raw_state *es;

  LWIP_UNUSED_ARG(err);

  es = (struct tcpecho_raw_state *)arg;

  tcpecho_raw_free(es);
}

err_t
tcpecho_raw_poll(void *arg, struct tcp_pcb *tpcb)
{
  Serial.println("raw_poll");

  err_t ret_err;
  struct tcpecho_raw_state *es;

  es = (struct tcpecho_raw_state *)arg;
  if (es != NULL) {
    //Serial.print("state:"); Serial.print((int)es->state); Serial.print(",");
    //Serial.print("retries:"); Serial.print((int)es->retries); Serial.print(",");
    if (es->p != NULL) {

      if (es->retries < 5) {
      /* there is a remaining pbuf (chain)  */
      tcpecho_raw_send(tpcb, es);
      }
      else
      {
        tcp_abort(tpcb);
        ret_err = ERR_ABRT;
      }
      /*
      Serial.print((int)tpcb->unacked); Serial.print(",");
      Serial.print(tpcb->cwnd); Serial.print(",");
      Serial.print((int)tpcb->dupacks); Serial.print(",");
      Serial.print((int)tpcb->flags); Serial.print(",");
      Serial.print((int)tpcb->last_timer); Serial.print(",");
      */
      Serial.println("");
    } else {
      /* no remaining pbuf (chain)  */
      //if(es->state == ES_CLOSING) {
        tcpecho_raw_close(tpcb, es);
      //}
    }
    ret_err = ERR_OK;
  } else {
    /* nothing to be done */
    tcp_abort(tpcb);
    ret_err = ERR_ABRT;
  }
  return ret_err;
}

err_t
tcpecho_raw_sent(void *arg, struct tcp_pcb *tpcb, u16_t len)
{
  Serial.println("raw_sent");

  struct tcpecho_raw_state *es;

  LWIP_UNUSED_ARG(len);

  es = (struct tcpecho_raw_state *)arg;
  es->retries = 0;

  if(es->p != NULL) {
    /* still got pbufs to send */
    tcp_sent(tpcb, tcpecho_raw_sent);
    tcpecho_raw_send(tpcb, es);
  } else {
    /* no more pbufs to send */
    if(es->state == ES_CLOSING) {
      tcpecho_raw_close(tpcb, es);
    }
  }

  return ERR_OK;
}

err_t
tcpecho_raw_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
{
  Serial.println("raw_recv");

  struct tcpecho_raw_state *es;
  err_t ret_err;

  LWIP_ASSERT("arg != NULL",arg != NULL);
  es = (struct tcpecho_raw_state *)arg;
  if (p == NULL) {
    /* remote host closed connection */
    es->state = ES_CLOSING;
    if(es->p == NULL) {
      /* we're done sending, close it */
      tcpecho_raw_close(tpcb, es);
    } else {
      /* we're not done yet */
      tcpecho_raw_send(tpcb, es);
    }
    ret_err = ERR_OK;
  } else if(err != ERR_OK) {
    /* cleanup, for unknown reason */
    if (p != NULL) {
      pbuf_free(p);
    }
    ret_err = err;
  }
  else if(es->state == ES_ACCEPTED) {
    /* first data chunk in p->payload */
    es->state = ES_RECEIVED;
    /* store reference to incoming pbuf (chain) */
    es->p = p;
    tcpecho_raw_send(tpcb, es);
    ret_err = ERR_OK;
  } else if (es->state == ES_RECEIVED) {
    /* read some more data */
    if(es->p == NULL) {
      es->p = p;
      tcpecho_raw_send(tpcb, es);
    } else {
      struct pbuf *ptr;

      /* chain pbufs to the end of what we recv'ed previously  */
      ptr = es->p;
      pbuf_cat(ptr,p);
    }
    ret_err = ERR_OK;
  } else {
    /* unkown es->state, trash data  */
    tcp_recved(tpcb, p->tot_len);
    pbuf_free(p);
    ret_err = ERR_OK;
  }

  return ret_err;
}

err_t
tcpecho_raw_accept(void *arg, struct tcp_pcb *newpcb, err_t err)
{
  Serial.println("raw_accept");

  err_t ret_err;
  struct tcpecho_raw_state *es;

  LWIP_UNUSED_ARG(arg);
  if ((err != ERR_OK) || (newpcb == NULL)) {
    return ERR_VAL;
  }

  /* Unless this pcb should have NORMAL priority, set its priority now.
     When running out of pcbs, low priority pcbs can be aborted to create
     new pcbs of higher priority. */
  tcp_setprio(newpcb, TCP_PRIO_MAX);
  tcp_set_flags(newpcb, TF_NODELAY);

  es = (struct tcpecho_raw_state *)mem_malloc(sizeof(struct tcpecho_raw_state));
  if (es != NULL) {
    es->state = ES_ACCEPTED;
    es->pcb = newpcb;
    es->retries = 0;
    es->p = NULL;
    /* pass newly allocated es to our callbacks */
    tcp_arg(newpcb, es);
    tcp_recv(newpcb, tcpecho_raw_recv);
    tcp_err(newpcb, tcpecho_raw_error);
    tcp_poll(newpcb, tcpecho_raw_poll, 0);
    tcp_sent(newpcb, tcpecho_raw_sent);
    ret_err = ERR_OK;
  } else {
    ret_err = ERR_MEM;
  }
  return ret_err;
}

void
tcpecho_raw_init(void)
{
  Serial.println("raw_init");
  tcpecho_raw_pcb = tcp_new(); // tcp_new_ip_type(IPADDR_TYPE_ANY);
  if (tcpecho_raw_pcb != NULL) {
    err_t err;

    err = tcp_bind(tcpecho_raw_pcb, IP_ANY_TYPE, 7);
    if (err == ERR_OK) {
      tcpecho_raw_pcb = tcp_listen(tcpecho_raw_pcb);
      tcp_accept(tcpecho_raw_pcb, tcpecho_raw_accept);
    } else {
      /* abort? output diagnostic? */
    }
  } else {
    /* abort? output diagnostic? */
  }
}

void setup()
{
  if (Ethernet.begin() == 0) {
    Serial.println("Failed to set static IP");
  }

  Serial.print("server is at ");
  Serial.println(Ethernet.localIP());
}

void loop()
{
  if (restart)
  {
    restart = false;
    tcpecho_raw_init();
  }
  delay(10);
}

@Eduardo-Lopes can you try applying this PR https://github.com/arduino/ArduinoCore-renesas/pull/234 ? It should improve things drastically. /cc @andreagilardoni

@Eduardo-Lopes As I remember I encountered this issue while dealing with #234, it has to be something related to missing deallocation of pbuf. If you use #234 this should be fixed. That PR should be able to handle higher loads with ethernet, I will also provide some docs on how to tweak performances to reach the highest possible performances, if you need that now I can provide that to you.

Thanks! I was trying to compile the PR with e2 Studio, but no success.
If there is a way that you can help me.
My case doesn't involve high performance, but reliability.
On Wed, Jan 17, 2024, 06:42 Andrea Gilardoni @.***>
wrote:

@Eduardo-Lopes https://github.com/Eduardo-Lopes As I remember I
encountered this issue while dealing with #234
https://github.com/arduino/ArduinoCore-renesas/pull/234, it has to be
something related to missing deallocation of pbuf. If you use #234
https://github.com/arduino/ArduinoCore-renesas/pull/234 this should be
fixed. That PR should be able to handle higher loads with ethernet, I will
also provide some docs on how to tweak performances to reach the highest
possible performances, if you need that now I can provide that to you.
—
Reply to this email directly, view it on GitHub
https://github.com/arduino/ArduinoCore-renesas/issues/240#issuecomment-1895441090,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWXSAU7W5H4LUDGI34UX3YO6MHLAVCNFSM6AAAAABB3FQZEOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVGQ2DCMBZGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I don't know how to help you with e2 Studio, you can have a try with arduino IDE or arduino-cli.
As described, #234 also addresses reliability.


[improve][misc] Improve AES-GCM cipher performance

Fixes #23121
Motivation

Java Pulsar client uses BouncyCastleProvider for AES-GCM encryption, which is known to be slow due to the lack of hardware instruction optimization.
See #23121 for the detailed benchmark result

Modifications

Modify MessageCryptoBc to use SunJCE provider which comes with hardware-instruction optimization instead of BouncyCastle provider.

Verifying this change

[x] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as org.apache.pulsar.tests.integration.SimpleProducerConsumerTest
Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] The metrics
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: Pulsar CI workflow run result

@lhotari Agree.
Currently MessageCryptoBc anyways uses hardcoded BC so we should ifx it to load bc fips provider as necessary and this PR isn't harmful.


Explore the MCMC sampler for a bimodal distribution

Consider a distribution $\log p(x) = -\left(x^2-1\right)^2 + \mathrm{const.}$.
Run an MCMC sampler using the BlackJAX library and assess the histogram of samples. How do they compare to the true distribution?
What happens if you wrap the MCMC sampler in the SMC (again, in BlackJAX)?

Time estimates: both M.

Correction:  $ln p(x) =  - (x^2-1)^2$ is meant.

Perhaps useful: https://blackjax-devs.github.io/sampling-book/algorithms/TemperedSMC.html :wink:

Yes, already reading it. ;) Thanks! Just read up on HMC - great post here https://bjlkeng.github.io/posts/hamiltonian-monte-carlo/.

Shared my workings so far in #26 - a PR that is not meant to be merged. Let me know if this is bad practice. Thought this might be useful to share what I have explored so far. Perhaps you might have suggestions on what else to try.
I have tried to implement a plain Metropolis-Hastings in blackjax - but I somehow don't see how to do it in the blackjax documentation. Is it just a variation of the 'nuts' ?

Nice! As you can see, MCMC algorithms can get stuck on one mode of the distribution.
M–H uses a kernel $q(x_\mathrm{new} \mid x_\mathrm{current})$ to define new samples (which are then accepted or rejected). NUTS and other instances of Hamiltonian Monte Carlo algorithms can be thought as M–H in which the kernel $q$ is neatly constructed to generate high quality samples once the gradient information is available. (However, I've heard that there are some situations in which random walk M–H can outperform HMC, although I haven't ever seen one).
In JAX you can implement M–H with a custom kernel via rmh – your proposal function should be compatible with it (up to the order of function arguments and perhaps a small wrapper to pass from position to BlackJAX's state, although I'm not sure if it's required here).

Yes, was instructive to see !
Thank you for the explanation. - I'll try to create a custom kernel for M-H next then and look into 'nuts' a bit more.

Sufficiently explored behaviour of MCMC for a bimodal target distribution - for now. May reopen/restore to explore SMC.