ERROR: Invalid string length on Linux

When trying to query a MySQL Bugzilla DB from the Linux build, I can connect, but them an unable to perform any queries and simply see this error message on the screen: "ERROR: Invalid string length"
See Image: https://imgur.com/a/X4VKvyK
For what it's worth: Using the debug tools, I can see that the query request is completing successfully and returning the data, just not getting displayed to the table.

My guess would be that the table attach_data contains a column whose type the mysql driver for node can't parse.

Is there an option or way to not perform that initial query by default?

No, there isn't. I guess that you're hitting issue #264 (we should've prioritised this issue :disappointed:).
If you're familiar with building electron apps, as a temporary fix, you could edit these lines and customise the initial query for mysql and build Falcon locally.

Thanks, I was looking for this portion of the code when I opened the bug. If I feel adventurous, I'll try committing a pull request in the next few days. -- Feel free to dupe this bug to #264 if you want to keep things clean.

We have some instructions on how to build Falcon in https://github.com/plotly/falcon/blob/master/CONTRIBUTING.md but they really need updating.
The main point you need to be aware of is that Falcon can be built as an electron app or as a node backend. The instructions to build and run the electron app are:
yarn install
yarn rebuild:modules:electron
yarn build
yarn run

Feel free to open an issue if you need help building the app.

Closing in favour of #264.


More than one * in formula ends up being moved around to italic

Describe the bug

To Reproduce

In my repo I Netlify CMS created this commit after updating using the CMS https://github.com/motionsplan/motionsplan-dk-jekyll/pull/85/commits/de011ebb79444ae95746ab217477f1bc8716c6d5#diff-c9808a953d6ec002a541961d4a2611d8cce232a4efd31a3104c1cc0d43ccf2d4R70
I have the following formula writting in:
{% include math formula="PBF = \frac{0.988 * BMI + 0.344 * weight (kg) + 0.094 * age - 30.18}{height (m)^2}" %}

After editing with the netlify cms the to * are moved, so it becomes:
{% include math formula="PBF = \frac{0.988  *BMI + 0.344*  weight (kg) + 0.094 * age - 30.18}{height (m)^2}" %}

I would like to avoid that, as that messes up the formula.
Expected behavior

Screenshots

Applicable Versions:

Netlify CMS version: 2.0.11
Git provider: GitHub
OS: [e.g. Windows 7]
Browser version [e.g. chrome 22, safari 11]

Node.JS version:

CMS configuration

https://github.com/motionsplan/motionsplan-dk-jekyll/blob/master/admin/config.yml
Additional context

Hi @lsolesen, have you considered using a custom editor component to wrap the formula data?

I hadn't considered that. But taking up your suggestion, I added a lot of custom editor components. Got most of them to work including the math-related custom widget. Might however still be a bug, that it strips whitespace around written in formulas.
When the formula was just written like this:
PBF = 1.34 * BMI * 12.47

Then it got escaped like this:
PBF = 1.34 \* BMI \* 12.47

Might however still be a bug, that it strips whitespace around written in formulas.

Yep, keeping this open pending further investigation

Closing as stale


python312Packages.gocardless-pro: 1.52.0 -> 1.53.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.gocardless-pro is: Client library for the GoCardless Pro API
meta.homepage for python312Packages.gocardless-pro is: https://github.com/gocardless/gocardless-pro-python
meta.changelog for python312Packages.gocardless-pro is: https://github.com/gocardless/gocardless-pro-python/blob/refs/tags/v1.53.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.53.0 with grep in /nix/store/yvrap79rdswjj6axrbgcvh5slxzpjvzb-python3.12-gocardless-pro-1.53.0
found 1.53.0 in filename of file in /nix/store/yvrap79rdswjj6axrbgcvh5slxzpjvzb-python3.12-gocardless-pro-1.53.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.gocardless-pro
python312Packages.gocardless-pro

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yvrap79rdswjj6axrbgcvh5slxzpjvzb-python3.12-gocardless-pro-1.53.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.gocardless-pro https://github.com/r-ryantm/nixpkgs/archive/47a7aa1f4a3d292048c88b5a9a48cca47d992c41.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/47a7aa1f4a3d292048c88b5a9a48cca47d992c41#python312Packages.gocardless-pro

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yvrap79rdswjj6axrbgcvh5slxzpjvzb-python3.12-gocardless-pro-1.53.0
ls -la /nix/store/yvrap79rdswjj6axrbgcvh5slxzpjvzb-python3.12-gocardless-pro-1.53.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python311Packages.gocardless-pro
python311Packages.gocardless-pro.dist
python312Packages.gocardless-pro
python312Packages.gocardless-pro.dist

Maintainer pings
cc @blaggacao for testing.

Result of nixpkgs-review pr 332823 at 47a7aa1f run on aarch64-darwin 1

2 packages built successfully:

python311Packages.gocardless-pro
python312Packages.gocardless-pro


Wasm plugins are not backward compatible

Describe the feature
This is by far the biggest blocker for the official release for the plugin feature. (I thought I filed this already somehow).
The main issue in here is reducing chances of breaking changes for the plugin. There are 3 possible cases which causes diverge between plugins to the host for serialization / deserialization, namely

adding a new property into an existing ast struct
removing a new property from an existing ast struct
rename existing property from an ast struct

Each time this happens, the plugin will not be able to run on the newer versions of swc include those changes. These kind of breaking change itself is unavoidable unfortunately, but also we may be able to reduce the chances of it or at least avoid it happening unexpectedly.
We'll attempt to follow versioned struct approach suggested by underlying serialization mechanism (https://github.com/rkyv/rkyv/blob/master/examples/backwards_compat/src/main.rs) with compiler flags. When we need a possible breaking changes it'll be guarded by flags, providing backward compatibility as much as it can. Still worth mentioning this only applies to adding part - removing, or renaming is a clear breaking change we can't avoid to request plugin bumps up with the latest changes. At least, we hope those kind of operation won't happen that frequently.
Babel plugin or link to the feature description
No response
Additional context
https://github.com/swc-project/swc/discussions/3540

FWIW, capn solves this is really good way, there's not really a good way to solve this problem other than inventing a clever encoding mechanism like this.

I'm just trying out SWC and this issue is pretty painful for my team. I was excited to find https://github.com/pmndrs/swc-jotai, but then discovered they are pretty far behind on the core version, so to get everything working, I would have to manually downgrade things until I find a set of versions that work together.


Key rotation workflow

Problem description
Security best practices recommend adhering to a periodic key rotation schedule. Frequently internal security and compliance policies mandate and enforce this practice. Guardian does not provide facilities for this action, which may affect its adoption.
Requirements
Implement UI and back-end functionality to rotate the keys used throughout Guardian such that:

the execution of the key rotation is triggered manually by a user
the system automatically identifies the keys that are under control of the user
user can select the subset (or all) keys which hi/she controls to be rotated

Definition of done

The functionality is implemented as described above
Appropriate documentation is created

Acceptance criteria
Users can manually rotate 'their' keys

@anvabr this needs further requirements from my understanding


Fix GitHub Actions deprecation warnings; switch away from unmaintained actions-rs/toolchain

Note once we port bootupd to cap-std I think we can just archive this repo.


Private Key Masking on Sign In

Feature Request: Mask the nsec behind circle bullets as entered by the user.
This can help prevent compromising your private key.

@crimsonleaf363 Implemented in 0.20.4. Thank you for your patience.


[QUESTION] Can we avoid mongoose changes?

Information
Relate some changes in mongoose then @tsed/mongoose also catch the error when we build ts in my tsed project
Same issue: https://github.com/Automattic/mongoose/issues/9653

Version: 6.14.0
Packages:

Example Error
node_modules/@tsed/mongoose/lib/decorators/indexed.d.ts:1:10 - error TS2305: Module '"mongoose"' has no exported member 'SchemaTypeOpts'.

1 import { SchemaTypeOpts } from "mongoose";
           ~~~~~~~~~~~~~~

node_modules/@tsed/mongoose/lib/decorators/preHook.d.ts:1:10 - error TS2305: Module '"mongoose"' has no exported member 'HookErrorCallback'.

1 import { HookErrorCallback } from "mongoose";
           ~~~~~~~~~~~~~~~~~

node_modules/@tsed/mongoose/lib/decorators/schema.d.ts:1:10 - error TS2305: Module '"mongoose"' has no exported member 'SchemaTypeOpts'.

1 import { SchemaTypeOpts } from "mongoose";
           ~~~~~~~~~~~~~~

node_modules/@tsed/mongoose/lib/interfaces/MDBConnection.d.ts:1:10 - error TS2305: Module '"mongoose"' has no exported member 'ConnectionOptions'.

1 import { ConnectionOptions } from "mongoose";

The quick fix is to downgrade mongoose to: 5.10.19
Currently, Mongoose doesn't expose correctly the types and can't fix it on my side. You can open an issue to mongoose also :)
See you
Romain

Ok sorry, I realize, I can fix it by not using theses types. I release the fix asap.

:tada: This issue has been resolved in version 6.14.1 :tada:
The release is available on:

v6.14.1
GitHub release

Your semantic-release bot :package::rocket:

Thanks @Romakita is working now


AttributeError: 'tweet' object has no attribute 'cashtags'

Command Ran
Powershell command
 twint.exe -s '$aapl' -o out.txt --limit 40 --json
Description of Issue
Output:
Traceback (most recent call last):
  File "D:\git\twint\venv-twint\Scripts\twint-script.py", line 11, in <module>
    load_entry_point('twint==2.1.21', 'console_scripts', 'twint')()
  File "d:\git\twint\venv-twint\lib\site-packages\twint\cli.py", line 311, in run_as_command
    main()
  File "d:\git\twint\venv-twint\lib\site-packages\twint\cli.py", line 303, in main
    run.Search(c)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\run.py", line 427, in Search
    run(config, callback)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\run.py", line 319, in run
    get_event_loop().run_until_complete(Twint(config).main(callback))
  File "C:\Python38\lib\asyncio\base_events.py", line 608, in run_until_complete
    return future.result()
  File "d:\git\twint\venv-twint\lib\site-packages\twint\run.py", line 239, in main
    await task
  File "d:\git\twint\venv-twint\lib\site-packages\twint\run.py", line 290, in run
    await self.tweets()
  File "d:\git\twint\venv-twint\lib\site-packages\twint\run.py", line 230, in tweets
    await output.Tweets(tweet, self.config, self.conn)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\output.py", line 180, in Tweets
    await checkData(tweets, config, conn)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\output.py", line 166, in checkData
    _output(tweet, output, config)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\output.py", line 116, in _output
    write.Json(obj, config)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\storage\write.py", line 70, in Json
    null, data = struct(obj, config.Custom[_obj_type], _obj_type)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\storage\write.py", line 41, in struct
    row = meta.Data(obj, _type)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\storage\write_meta.py", line 139, in Data
    ret = tweetData(obj)
  File "d:\git\twint\venv-twint\lib\site-packages\twint\storage\write_meta.py", line 22, in tweetData
    "cashtags": t.cashtags,
AttributeError: 'tweet' object has no attribute 'cashtags'

Environment Details
Windows 10, Python 3.8.0, powershell, venv
pip freeze
aiodns==2.0.0
aiohttp==3.6.2
aiohttp-socks==0.4.1
async-timeout==3.0.1
attrs==20.2.0
beautifulsoup4==4.9.3
cchardet==2.1.6
certifi==2020.6.20
cffi==1.14.3
chardet==3.0.4
dataclasses==0.6
elasticsearch==7.9.1
fake-useragent==0.1.11
geographiclib==1.50
geopy==2.0.0
googletransx==2.4.2
idna==2.10
multidict==4.7.6
numpy==1.19.2
pandas==1.1.3
pycares==3.1.1
pycparser==2.20
PySocks==1.7.1
python-dateutil==2.8.1
python-socks==1.1.0
pytz==2020.1
requests==2.24.0
schedule==0.6.0
six==1.15.0
soupsieve==2.0.1
twint==2.1.21
urllib3==1.25.10
yarl==1.6.0

Similar error is with csv output
e.g
twint.exe -s '$aapl' -o out.txt --limit 40 --csv

Partial output
...
CRITICAL:root:twint.output:_output:CSV:Error:'tweet' object has no attribute 'cashtags'
'tweet' object has no attribute 'cashtags' [x] output._output
1314590904884301825 09-10-2020 17:37:50 +0200 <SimpleGroup_Inc> Stocks that are a good play for the last quarter  $AMZN $AAPL  amazon has its own day #AmazonPrime Day Oct 13 & 14 and conveniently Apple will be unveiling Iphone 12 5G phone on the 13th Prime Day  #covid19 helps these 2 stocks

Do you have any contribution guidelines? If so I can try address this issue.

I made changes to make cashtags work again https://github.com/twintproject/twint/compare/master...SiegfriedWagner:cashtags_fix
but I had to comment code responsible for providing retweet data - in twint/storage/write_meta.py (to my defence code responsible for setting retweet fields in tweet was commented out.
Your unit tests framework looks quite nebulous (I am familiar with pytest or unitttest) and during tests i got an error
[+] Beginning vanilla test in <function Following at 0x00000159DA340AF0>
[+] Beginning custom JSON test in <function Following at 0x00000159DA340AF0>
[+] Beginning JSON test in <function Following at 0x00000159DA340AF0>
[+] Beginning custom CSV test in <function Following at 0x00000159DA340AF0>
[+] Beginning CSV test in <function Following at 0x00000159DA340AF0>
[+] Beginning DB test in <function Following at 0x00000159DA340AF0>
[+] Inserting into Database: test_twint.db
[+] Beginning vanilla test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning custom JSON test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning JSON test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning custom CSV test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning CSV test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning DB test in <function Followers at 0x00000159DA340A60>
[+] Inserting into Database: test_twint.db
[+] Beginning vanilla test in <function Search at 0x00000159DA340CA0>
Traceback (most recent call last):
  File "D:\git\twint\twint\output.py", line 23, in _formatDateTime
    return int(datetime.strptime(datetimestamp, "%Y-%m-%d %H:%M:%S").timestamp())
  File "C:\Python38\lib\_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "C:\Python38\lib\_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '06-10-2016 20:53:34' does not match format '%Y-%m-%d %H:%M:%S'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".\test.py", line 85, in <module>
    main()
  File ".\test.py", line 75, in main
    test(c, run)
  File ".\test.py", line 10, in test_reg
    run(c)
  File "D:\git\twint\twint\run.py", line 427, in Search
    run(config, callback)
  File "D:\git\twint\twint\run.py", line 319, in run
    get_event_loop().run_until_complete(Twint(config).main(callback))
  File "C:\Python38\lib\asyncio\base_events.py", line 608, in run_until_complete
    return future.result()
  File "D:\git\twint\twint\run.py", line 239, in main
    await task
  File "D:\git\twint\twint\run.py", line 268, in run
    await self.tweets()
  File "D:\git\twint\twint\run.py", line 230, in tweets
    await output.Tweets(tweet, self.config, self.conn)
  File "D:\git\twint\twint\output.py", line 175, in Tweets
    await checkData(tweets, config, conn)
  File "D:\git\twint\twint\output.py", line 139, in checkData
    if datecheck(tweet.datestamp + " " + tweet.timestamp, config):
  File "D:\git\twint\twint\output.py", line 49, in datecheck
    d = _formatDateTime(datetimestamp)
  File "D:\git\twint\twint\output.py", line 25, in _formatDateTime
    return int(datetime.strptime(datetimestamp, "%Y-%m-%d").timestamp())
  File "C:\Python38\lib\_strptime.py", line 568, in _strptime_datetime
    tt, fraction, gmtoff_fraction = _strptime(data_string, format)
  File "C:\Python38\lib\_strptime.py", line 349, in _strptime
    raise ValueError("time data %r does not match format %r" %
ValueError: time data '06-10-2016 20:53:34' does not match format '%Y-%m-%d'

but it seems no connected with my changes.
BTW. It's looks like you are always testing using twitter website, which at first glance looks unnecessary.

@SiegfriedWagner For the above issue, add an extra try-except in "output.py" after Line 26 which looks like :
def _formatDateTime(datetimestamp):
try:
try:
return int(datetime.strptime(datetimestamp, "%Y-%m-%d %H:%M:%S").timestamp())
except ValueError:
return int(datetime.strptime(datetimestamp, "%Y-%m-%d").timestamp())
except:
return int(datetime.strptime(datetimestamp, "%d-%m-%Y %H:%M:%S").timestamp())
This will work !!!
This is an intermediate solution. But, can solve the problem for now.

@SiegfriedWagner
I'll take a look at this maybe later today.
Recently a lot of code has been changed due to twitters deprecation of older endpoints. Newer way of scraping is a little different from the older one so there are bound to be a lot of bugs. Moreover some features are not gonna work as of now, like twint -u elonmusk --profile-full is not gonna work. But I am working on it and hopefully will put up a patch soon.
Thanks for reporting this error.

the reason why the script broke when searching for cashtags is because my priority was to get the library up and working and I had no idea what cashtags were, (Although I do know now, I did a google search) so I simply commented out the parts which required cashtags.
because the way I was scraping data from twitter does't use BeautifulSoup, it gets a JSON Object. and none of the JSON Objects had the cashtag field.
So I saw your fix, and did some quick searches on twitter. Twitter does send these cashtags in JSON seperately, so using regex to search for the cashtags seems redundant to me, I'll put up a fix for this, today.
Also some of the fields that I have commented out are for the later implementations. They are required in some portions of the code. but again for the sake of getting the library up and running was my priority. Eventually I'll get to them.

@Manoj15 yes, for now it can work.
Due to the new implementation of the search functionality this entire thing (which parses the data received from twitter into tweet, user objects) needs an overhaul.

Hit this now too (fixing up pandas storage option, and already independently redid date fix for it) -- is there a pr somewhere for cashtags, or should I redo that too?

Ah I see it -- @SiegfriedWagner  your PR seems to disable other fields in writeMeta, maybe separate that out to enable cherry picking etc?

(Working via https://github.com/TheDataRideAlongs/twint/tree/master )

@lmeyerov I fixed the cashtag bug and will push the commit later today. for that.

@himanshudabas  great -- here is an interim pr w/ cashapp fix + pandas fix : https://github.com/twintproject/twint/pull/954


updated readme posmobile

updated readme POS mobile

We shouldn't forget to update the client for the posMobile service


Errors thrown in the query function are not handled properly.

If an error is throw inside the queryFn, for example by fetch or some api client, it is not caught and returned in the error field.
This will crash the render or trigger an Error Boundary somewhere down the line.
This is different from the normal behavior of useQuery and I believe this is a bug.
import { QueryClient, dehydrate } from '@tanstack/react-query'
import { createQuery } from 'react-query-kit'

type Response = { title: string; content: string }
type Variables = { id: number }

const usePost = createQuery<Response, Variables, Error>({
  primaryKey: '/posts',
  queryFn: ({ queryKey: [primaryKey, variables] }) => {
    /* api library throws some error */
    throw new Error("some network error")
    // return fetch(`${primaryKey}/${variables.id}`).then(res => res.json())
  },
  enabled: (data) => !data,
  suspense: true
})

const variables = { id: 1 }

export default function Page() {
  /* error should be returned here and not thrown */
  const { data, error } = usePost({ variables, suspense: true })

  return (
    { error ? (

Something went wrong.

    ) : (

{data?.title}

{data?.content}

    )}
  )
}

In fact, useQuery also has this behavior if u set suspense to true like below
export default function Page() {
  /* error should be returned here and not thrown */
  const { data, error } = useQuery(['/posts', { id: 1 }], {
    suspense: true,
  })

  return error ? (

Something went wrong.

  ) : (

{data?.title}

{data?.content}

  )
}

Ohhh, I didn't realize suspense was enabled.
Sorry for the inconvenience, completely my bad! 😓


Block Value stat visible anywhere?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I can't see Block Value or Defense anywyere in the gear screen.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Please add Block Value and Defense to the stats list in the lower left corner.
It will help a lot.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hey @shaugen 👋 What class/spec sim are you requesting this for?

Warrior Protection Gladiator

But all protection specs would like to see defense, I guess.  The tank sim has block, dodge, parry etc 😄 all of the tank stats


shareable projects

note that since this website is currently hosted on /new this won't work until #77 is done

closes #81

I think we could move the social icons alongside the share icon in relation to https://github.com/ubclaunchpad/new/issues/95.

alongside the share icon

I think there would be way too much stuff up there, and ux-wise it makes sense to be at the bottom: skim through some details, click to learn more.
That said, #95 is definitely a problem (on mobile as well) - I'll see if there's anything we can do with the modal height or maybe display some sort of indicator


Add models to be used for CI to InstructLab Quay organization

We want to be able to test OCI downloads as part of our E2E testing, which currently mainly downloads models from HuggingFace (we want to be able to test both)
Since we want maximum control over these environments as well as being limited by which models we can use both technically and legally, we should put "CI models" in the InstructLab Quay organization: https://quay.io/organization/instructlab

@alimaredia before we begin this work we should determine which models we want to use across the test coverage matrix


svgr webpack issue

I have a issue when config use svgr with fast-serve.
run npm run serve

the error you posted is from normal gulp-serve, it's not even from fast-serve. At the beginning, you should configure svgr to work with normal gulp serve, only after that you should apply the same config to fast-serve.

the error you posted is from normal gulp-serve, it's not even from fast-serve. At the beginning, you should configure svgr to work with normal gulp serve, only after that you should apply the same config to fast-serve.

my config svgr here:
build.configureWebpack.mergeConfig({
additionalConfiguration: (generatedConfiguration) => {
generatedConfiguration.module.rules.forEach((rule) => {
  if (Array.isArray(rule.test?.or) && rule.test?.or?.some((i) => String(i)?.includes('.svg'))) {
    rule.test.or = rule.test.or.filter((i) => !String(i)?.includes('.svg'));
  }
});

generatedConfiguration.module.rules.push({
  test: /\.svg$/i,
  type: 'asset',
  resourceQuery: /url/
});

generatedConfiguration.module.rules.push({
  test: /\.svg$/i,
  issuer: /\.[jt]sx?$/,
  resourceQuery: { not: [/url/] },
  use: ['@svgr/webpack']
});

return generatedConfiguration;

}})
run fast serve: npm run serve

when i run gulp serve svg it work ok, but when run fast serve and use React svg component will show error

Use Icon ant design

Have you tried applying the same configuration to fast-serve, as described in the readme here?

Could you please create minimal SPFx repository, where gulp serve works with svgr? I have some troubles configuring it. You can create a sample GH repo, or just zip and share with me privately via email.


There is a XSS vulnerability in sms/src/main/java/pers/huangyuhui/sms/controller/StudentController.java.

Can execute arbitrary Javascript code.

it's just a simple project for beginners so there are many vulnerabilities, but thanks for your issues with them.

sorry so busy in 2023, login in GitHub now so don't reply to you in time.


Add rel and rel HTML attributes to the footer links which point to th…

…e previous and next pages.

Thanks!


Settings / Default tab after logging in to Usermin - Bugged option

What is your server-side OS and its version?
CentOS Linux 7.4.1708 / Webmin 1.870 / Virtualmin 6.02 / Usermin 1.720

What is your client-side OS, browser and its versions?
Win7 / FF / 57.0.2 (64-bit)

What are the steps to reproduce the issue?

Case 1:
Authentic theme settings - Default pages:
Default tab after logging in to Webmin - Webmin
Default module for Webmin - empty
Default page for Virtualmin - empty
Default tab after logging in to Usermin - Usermin
After successful login i'm prompted with Usermin (def. tab Usermin).
Case 2 (bugged)
Authentic theme settings - Default pages:
Default tab after logging in to Webmin - Webmin
Default module for Webmin - empty
Default page for Virtualmin - empty
Default tab after logging in to Usermin - Mail
After successful login i'm prompted with:

Corrupted Content Error
The site at https://mydomain.com:XXXXX/ has experienced a network protocol violation that cannot be repaired.
The page you are trying to view cannot be shown because an error in the data transmission was detected.
Please contact the website owners to inform them of this problem.

This is what i have in Usermin logs:
readline() on closed filehandle $ADDRESS at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 166.
Use of uninitialized value in split at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 600.
Use of uninitialized value $file in substitution (s///) at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 667.
Use of uninitialized value $file in substitution (s///) at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 668.
Use of uninitialized value $file in substitution (s///) at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 670.
Use of uninitialized value $mailbox::config{"server_name"} in string eq at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 1323.
Use of uninitialized value $mailbox::config{"server_name"} in string eq at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 1335.
Use of uninitialized value $mailbox::config{"server_name"} in string eq at /usr/libexec/usermin/mailbox/mailbox-lib.pl line 1335.

Reloading the page will remove this error and open Usermin but the default tab didnt change and Usermin tab will be first to show up.
If i move back Default tab after logging in to Usermin to Usermin the problem is gone.

Additional info:
I cant 100% confirm this but looks like the option Default tab after logging in to Usermin resets with each theme update. I'm sure that this option was set to Mail and i did this more than twice. First time when i changed to Mail i was not sure if i touched this option after the initial install (it was long time ago). Second time when Usermin changed default tab (Mail) back to Usermin was after the update (cant remember what version). But this didnt bother me too much as i have Virtualmin installed only on my test VPS, so i'm the only one using it. Now after few updates this option again reverted back to Usermin but this time when i change to Mail its causing earlier mentioned problem.
Sorry i cant provide more info but i'm not actively using this server and most of the time i just jump in for quick software updates and thats it.

Hi,
I will take a look tomorrow morning.
Tell me, what is Webmin 1.879? We just got out 1.870? Is this a  typo on your end?

Tell me, what is Webmin 1.879? We just got out 1.870? Is this a typo on your end?
Yes, my mistake. Probably i hit 9 instead of 0.

Hi,

I cant 100% confirm this but looks like the option Default tab after logging in to Usermin resets with each theme update.

This option can not be reset after update, because update doesn't touch files responsible for storing theme configurations. At least theme update and I believe Webmin update as well.

Default tab after logging in to Usermin

About your issue with an error after login. I have installation of exact version of CentOS and I just tried to reproduce an issue and I couldn't.
Please take a look at video-screencast of how it works on my side.
The errors in logs don't show a single sign of theme issue. It looks more like broken installation or mis-configuration on your side.
On my production server I have Usermin 1.721 already, maybe updating it will help.  Please tell me more if you wish but I'm closing this issue for now.

I installed Virtualmin before 2 or 3 years and aside of normal updates i didnt change much, especially Usermin. Even the Usermin settings are same as per default after the installation, so if something broke Usermin must be one of last few updates. Is there any way to check what part could be bugged, Usermin or your theme? I check all logs (not just Usermin) and no where to find any trace of this problem.

Ok i have few more details i manage to dig out:
Error "Corrupted Content Error" is caused in FF when there are some conflicts with HTTP redirects. Tested this with Opera and no error so obviously FF have more strict rules. Plus when i used Opera i was able to login without any problem but the default tab was Usermin and not Mail. So something with redirects doesnt work when switched to "Mail" tab as default. Could this be some problem with your theme, at least in my installation?

At first new Usermin 1.730 is out. It addresses issues with redirects and latest theme.
https://github.com/webmin/webmin/issues/721#issuecomment-351866778
I tried all combinations that you described and I couldn't reproduce it. 😞
Come on, upgrade to the latest Usermin. It just should work.

I would upgrade if i have that option. Right now on Centos 7 there isnt any update for Usermin or any other *Min product, e.g. everything is updated.

You could go with:
yum update https://download.webmin.com/devel/rpm/usermin-1.730-1.noarch.rpm

Not sure if this is still relevant information but looks like my problem is directly connected with another bug:
`HTTP/1.0 500 Perl execution failed Server: MiniServ/1.730 Date: Tue, 19 Dec 2017 00:26:51 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &main::embed_noscript called at /usr/libexec/usermin/authentic-theme/authentic-lib.pm line 1692. `
Commenting out that line resolve both problems.

Please install latest version of the theme using update-theme.sh script.
This issue is not possible to happen. embed_noscript() is there.


[FLINK-28938][hive] Fix HiveServer2 Endpoint can not set variable correctly

What is the purpose of the change
To fix HiveServer2 Endpoint can not set variable correctly.
Brief change log

Call method HiveSetProcessor#setVariable to set variable.

Verifying this change
UT in HiveServer2EndpointITCase#testOpenSessionWithConfig.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@fsk119 Thanks for the appended commit.


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

Having this issue attempting to put my compendium back together. Any suggestions? I haven't changed anything about the compendium since it was working, just setup a new machine.
rellek@Weave:~$ fvtt package pack battlemaps-purpose --in ~/cache --out ~/outdoot/
fvtt package [action] [value]

Manage packages

Positionals:
  action  The action to perform
                         [string] [choices: "workon", "clear", "unpack", "pack"]
  value   The value to use for the action                               [string]

Options:
      --version                 Show version number                    [boolean]
  -h, --help                    Show help                              [boolean]
      --id                      The package ID                          [string]
      --type                    The package type
                                 [string] [choices: "Module", "System", "World"]
  -n, --compendiumName          The Compendium name, for Compendium Pack based A
                                ctions.                                 [string]
  -t, --compendiumType          The type of document that the compendium pack st
                                ores. Only necessary for NeDB operations.
  [string] [choices: "Actor", "Adventure", "Cards", "ChatMessage", "Combat", "Fo
  gExploration", "Folder", "Item", "JournalEntry", "Macro", "Playlist", "RollTab
                                                le", "Scene", "Setting", "User"]
      --inputDirectory, --in    The directory to read from, for Pack based Actio
                                ns.                                     [string]
      --outputDirectory, --out  The directory to write to, for Pack based Action
                                s.                                      [string]
      --yaml                    Whether to use YAML instead of JSON for serializ
                                ation.                                 [boolean]
  -v, --verbose                 Whether to output verbose logging.     [boolean]
      --nedb                    Whether to use NeDB instead of ClassicLevel for
                                database operations.                   [boolean]
      --recursive               When packing, recurse down through all directori
                                es in the input directory to find source files.
                                                                       [boolean]

TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at determinePaths (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/commands/package.mjs:286:41)
    at handlePack (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/commands/package.mjs:407:28)
    at Object.handler (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/commands/package.mjs:131:28)
    at file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/command.js:206:54
    at maybeAsyncResult (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at CommandInstance.handleValidationAndGetResult (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/command.js:205:25)
    at CommandInstance.applyMiddlewareAndGetResult (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/command.js:245:20)
    at CommandInstance.runCommand (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/command.js:128:20)
    at [runYargsParserAndExecuteCommands] (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/yargs-factory.js:1386:105)
    at YargsInstance.parse (file:///home/rellek/.nvm/versions/node/v20.8.0/lib/node_modules/@foundryvtt/foundryvtt-cli/node_modules/yargs/build/lib/yargs-factory.js:707:63)

Did you run fvtt package workon first?


Win32 python

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Okay; if we're really going to be sticklers about the binaries for the sake of size, I'll set up a pull from GCS.

@soltanmm: no, that's missing the point. We're trying to build artifacts. That work you've done isn't going to be used by the end users (hopefully). We'll build the dll artifacts on Jenkins, move them over to the proper location, then build the python eggs.
Always having up-to-date synchronised code across everything is the essential point of having everything within a single repository. We know the DLL will be of the proper revision because we'll build it on the same revision as the rest of the python code.

@nicolasnoble Ah, so, I was under the impression that we'd have things set up such that any user could build a package for Windows if he/she wanted to. That thus seems to either be something we'll sort out later or are scrapping?


The data format

What is the sequence of 6 input matrices in the field of 'data' in the dataset? I mean the inputs and the shape of them. The size of the input in every batch is something like [64, 6, 144, 192] and when I plot it, there 6 different inputs.
Did you use a grayscale image for roadmap? I cannot differentiate between the second and third frames.
It would be great if you can explain a little about 'future_poses_regr_offset' and 'future_penalty_maps' in the dataset.
Thank you

Hi,
I tried to replicate as in figure 1 of the paper. At the following line I assigned the channels for the input tensor.
First 3 channels are the BGR channels (from opencv drawing) of only lanes and traffic lights.  Lanes are usually drawn gray, but the traffic lights are coloured red, yellow, green, depending on their state.
The fourth channel is the image with the vehicle. That is always a simple rectangle because all rendering is done with respect to position and orientation of the vehicle.
The fifth channel represents the GPS-like route(that fat line)
The last channel represents the previous locations of the vehicle ( with a skip of about 5 frames or more, otherwise it would look like a continous line instead of those tiny gray dots)
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/network/models/Dataset.py#L203
About 'future_poses_regr_offset' and 'future_penalty_maps':
The waypoints are predicted as a spatial argmax after softmax. If we predict 5 waypoints we would need 5 pairs of x y coordinates of ground truth in order to apply a spatial cross entropy loss. However I believed that if the network predicted x+1, y, it should not be penalized too much, thus I needed a penalty map where around the ground truth x y coordinate, would be a gaussian zone of reduced penalty.
I got inspired from CornerNet paper equation (1) and equation (2) https://arxiv.org/pdf/1808.01244.pdf
Since the network is doing the spatial softmax at a reduced resolution, say 3x smaller, then the prediction would be coarse. To improve the prediction. For each waypoint, the network learns to predict an offset for both x and y from the argmax location. Thus each prediction of a waypoint consists of 3 feature maps. For one of them is applied a spatial softmax where we get x y. Another is the regression offset for the selected x and another one is the regression offset for the selected y. At train time the loss is computed only for the ground truth position.
This is optional but since you were looking over the code, it might be of interest.
At the following line I tried to replicate the trajectory perturbation (figure 5 in the paper)
To do this, I decided to select the range of vehicle coordinates points from N previous frames and N future frames and altered them with to look like a bell. This helped the network recover from bad positions.
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/simulator/util/Path.py#L99
The function is called in
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/network/models/Dataset.py#L132
Hope my explanation helped a bit

Thank you for your answer. I have one more question. In the pkl dataset, I see one speed and one steering for one trajectory. I mean there are several points in "future_penalty_maps" and only one speed and steering.

For example, for the above data sample, I think the speed and steering data is not correct. Am I right?
Thank you again for your help

Hi!
Yes you are right.. There are several points predicted using a RNN, however for the speed and steering predicition I did not attached them to the RNN.
It's true that in the paper they predicted 3 outputs using the RNN (waypoints, regression offsets and speed for the all k iterations, prediction horizon). In my case I wasn't so sure how to connect the speed prediction to the RNN, thus I kept it separate in a simple MLP.
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/network/models/SimpleConv.py#L62
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/network/models/SimpleConv.py#L183
And even if I was training the network with speed prediction, I did not incorporated into the vehicle control at test time, because I had no idea how. I do not know much about control theory. I calculated the speed solely based on the waypoints using some heuristics.
Here, the waypoints are predicted, converted from 2D to 3D coordinates (ray casting from camera onto the ground plane), then passed to the vehicle.
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/simulator/control/car_controller/NeuralController.py#L48
I calculated the speed in the following way: I calculated the average distance between every waypoint. I observed that near an intersection they would be closer togheter, while on a simple straight road they would be far stretched.
Then, I interpolated the average distance from 0 and Config.num_skip_poses * Config.max_speed (which says how far can be two waypoints in 3D) and  [0, Config.max_speed].
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/simulator/util/Vehicle.py#L299
For the steering angle I selected two predicted waypoints, I took their coordinates on the ground plane (x, and z) and calculated the required angle that would bring the car that coordinate.
https://github.com/Iftimie/ChauffeurNet/blob/deddf29ec742c5b496a097eef997da6bf93d30b7/simulator/util/Vehicle.py#L310
If you have any more questions, feel free to ask them. I am happy that someone took that much interest into this project.

Thank you for your answer. I have to read the code for simulator too. For now, I focused on the dataset you provided. One more thing that I understood is that the "data['future_penalty_maps']" has 8 future points but the first one contains all of them.
Do you think I can use this simulator to train a reinforcement learning policy? for example to follow the planned route.

I am not very familiar with reinforcement learning.  It could be doable. The simulator should be simple enough in order to have access to the entire state of the world.
For example I crated 3 controllers: BagEventController is just for replaying what you recorded (what you have in the .pkl file), Live controller is for the user to play with the keys and mouse and NeuralController is used when you test the model.
I guess that another class could be added for reinforcement learning.
https://github.com/Iftimie/ChauffeurNet/tree/master/simulator/control/car_controller


ionic2 - custom components/content do not appear in within

Short description of the problem:
I have created a custom input component that I would like to place within an ion-item. The problem is that the ion-item only accepts specific components due to the following line within item.ts line 51:
<ng-content select="ion-select,ion-input,ion-textarea,ion-datetime"></ng-content>

Anything else is ignored and not rendered. Clearly, this is a problem for any type of custom input functionality.
What behavior are you expecting?
I expect any content that is placed within an ion-item, and outside of the ion-label, to be rendered in the view, no matter what type of element it is.
insert any relevant code between the above and below backticks

Which Ionic Version?  2.x
Plunker that shows an example of your issue
http://plnkr.co/r0559upbpaEOxA9ARzdw
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.7
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.4
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v4.4.4
Xcode version: Xcode 7.3 Build version 7D175

Good idea. Just added the `[item-content]' selector so any element can go into that location. Thanks


Does hysteria support reverse proxy?

I was going through this script and video
https://raw.githubusercontent.com/aleskxyz/reality-ezpz/master/reality-ezpz.sh
https://www.youtube.com/watch?v=T_p9VqngfY8
The video didn't help in explaining how they managed to get the client to connect to port 443 for both TUIC and Hysteria but looking through the script I see masquerade being mentioned in Hysteria's config file, is this the equivalent of reverse proxying? I've currently have nginx being used as a reverse proxy so I am not sure if it's worth the trouble to set TUIC and Hysteria to listen on 443.

I see masquerade being mentioned in Hysteria's config file, is this the equivalent of reverse proxying
No

See Full-Server-Config/#masquerade


Power BI Client

How can customers get a network trace for the Power BI Client, not the browser?

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

ID: cdd5e8c4-3b09-ccfa-e68f-e3c7ae6aa472
Version Independent ID: 3ddf312e-677a-3aef-0f78-91acf55d809c
Content: Capture diagnostic information for support - Power BI
Content Source: powerbi-docs/admin/service-admin-capturing-additional-diagnostic-information-for-power-bi.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @kfollis
Microsoft Alias: kfollis

Hi @becnichelesmith, thanks for reaching out to us with your question. Let me look into this a bit and I'll get back to  you.

Hi @becnichelesmith - you can find trace info for the Power BI Desktop client here: https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-troubleshooting-sign-in#how-to-collect-a-trace-in-power-bi-desktop
Hope that helps! I'll be sure to add a link to the original article to make this more discoverable.


Responsive breakpoints are not working

I can't figure out why the overrides are not working in my project. I'm trying to make my website readable on mobile and at the moment it is displaying buttons with desktop size. I'm using tailwind and react. My button component is:
return <button className="sm:text-xs sm:h-1 redbtn" onClick={onClick}>{children}</button>
However text-xs only works if I removed the sm: prefix. I tried including
screens: {
            sm: '640px',
            md: '768px',
            lg: '1024px',
            xl: '1280px'
        }

in my config file but that did not change anything.

Tailwind by default is mobile-first and uses min-width media queries.
The above button would have that font-size and height applied from sm breakpoint and up, while default font size would apply only below sm.
Demo: https://tailwind.run/rhvtGH

Well the problem is that it's displaying the button normally on ≥ md screens but its too big for  sm screens.

Greg explained it correctly, check out the docs:
https://tailwindcss.com/docs/responsive-design#targeting-mobile-screens
“sm:” targets screens 640 and bigger. Remove the prefix to target mobile.

Try something like “redbtn text-xs h-1 sm:text-base sm:h-auto”.

Okay thank you. I think I understand how it works now!


Chown permission denied using convoy-nfs

Rancher Version: 1.1.4
Docker Version: 1.12.1
OS and where are the hosts located? (cloud, bare metal, etc): RancherOS, ESXI
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) single node rancher, internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce:

create a test volume using convoy-nfs
in rancher ui, create a container Test1 from ubuntu, and -v test:/data

success

use rancher ui, create a container Test2 from ubuntu, and -v test:/tmp

error, msg is chown xxxx operation not permitted

not use rancher, create a container Test3 from ubuntu, and -v /mnt/test:/tmp

success

I guess convoy-nfs maybe try to chown membership of mounted volume when mounting volume.
But, my nfs server's config is all_squash=nobody that means could not use chown in client.
It is a bug or feature? And how to fix this?
Thanks!

I believe this is expected in that /tmp is an immutable folder and convoy-nfs does try to chown the mount point. . @cjellick  does that sound about right?

nfs-server:
/volume1/nfs    *(rw,async,no_wdelay,crossmnt,insecure,all_squash,insecure_locks,sec=sys,anonuid=0,anongid=0)
Turn off root squashing. This option is mainly useful for diskless clients.


Blank window overriding code after opening lazygit.nvim on start screen

Description
Blank window overriding code after opening lazygit.nvim on Neovim startup (Happens if you're using Alpha.nvim).
To Reproduce

Open Neovim
Run :LazyGit in Nvim's start screen with alpha.nvim installed
Close LazyGit and the blank windows should be there

Expected behavior
What is expected to happen:
LazyGit closes normally and I can open any file I want without producing a blank window.
Screenshots
https://github.com/kdheepak/lazygit.nvim/assets/98139059/85ce6c78-22cd-48b8-8026-68a05f5ca2a4

Desktop (please complete the following information):

nvim --version:
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713773202
Run "nvim -V1 -v" for more info

When I mapped  to <C-> to  exit terminal mode,  using  to quit lazygit brought this problem.
I guess this problem may be related with this kind of keymapping.


Feature/cenodtcpoe sensor sensitivity configuration

Updates for CEN-ODT-C-POE Occupancy Sensors

Added configuration for Ultra-Sonic (US) and PIR Sensitivity Occupied and vacant states.
Added the ability to enable/disable identity mode

Bench tested configuration properties to verify values were properly read and adjustments made via the bridge did not cause errors or exceptions.

Closes #851


Improved: Display last-visited-time popup after login (OFBIZ-12148)

Improved: Display last-visited-time popup after login (OFBIZ-12148)
Popup last-visited time from database after user has logged in.
So users can know of any unauthorised access to their accounts.

Hi @mbrohl ,
Thanks for approval.
Need your help to merge this pull request as I have no write access.

 Can't you merge here (in this case "Squash and merge") ?

Hi Jacques,
I see the following for this pull request:

James, I think you need to follow https://servicecomb.apache.org/developers/setup-committer-rights/

Thanks Jacques. Followed the steps from the 1st link and now has the write access.


Lootr Chest resets after go away

I don't know if its a issue but Lootr chests always have new loot when you walk a bit away.
maybe an option would be good to set whether a chest can be looted several times by the same player or not.
Forge version: 38.0.17
Lootr: <IP_ADDRESS> (newest one)

Are the chests changing colour as well?

More questions:

Does this happen on a server or in single-player?
Do the colours of chests also revert?
Does this happen with <IP_ADDRESS>?

The same happens to me when going to the nether, the chests reset, they return to their yellow version. with <IP_ADDRESS> on a server.

Thanks for the confirmation and the replication steps. It looks like some data isn't being saved properly somewhere.

Can confirm this happens simply when relogging in single-player.


Building an iOS Application fails when using cinterop

Describe the bug
When I try to build an iOS Application with a pure c header file and c source file through cinterop, a linker error occurs.
I attach the project file.
ld: Undefined symbols:
  _test_function, referenced from:
      _Samplecinterop_test_function_wrapper0 in ComposeApp[arm64][2](ComposeApp.framework.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Affected platforms

Desktop (macOS)
iOS

Versions

Kotlin version*: 1.9.22
Compose Multiplatform version*: 1.6.1
OS version(s)* (required for Desktop and iOS issues): macOS 13.6.4
OS architecture (x86 or arm64): arm64

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Put the below files into the path src/nativeInterop/cinterop/

Samplecinterop.h

#ifndef SAMPLE_CINTEROP_H
#define SAMPLE_CINTEROP_H

void test_function();

#endif //SAMPLE_CINTEROP_H

Samplecinterop.c

#include "Samplecinterop.h"
#include "stdio.h"

void test_function() {
    printf("AAA");
}

Samplecinterop.def

headers = Samplecinterop.h
package = Samplecinterop

Put this code into the build.gradle.kts file

build.gradle.kts

iosTarget.compilations {
    val main by getting {
        cinterops {
            val nativeLibrary by creating {
                defFile(project.file("src/nativeInterop/cinterop/Samplecinterop.def"))
                compilerOpts("-Isrc/nativeInterop/cinterop/")
            }
        }
    }
}

Select iOS app as the run configuration of Android Studio
Run

Testcinterop.zip
Expected behavior
Building will be completed and check if calling a pure c functions is successful.

Hello!
We're not responsible for this. Please, create an issue on Kotlin tracker..
And feel free to reopen this issue if you have any questions.

@wooram-yang I know it's closed, but you're not compiling and linking Sampleinterop.c. You must compile it into a .a file (using Clang or any other equivalent C toolchain) and put it into cinterop like the following.
headers = Samplecinterop.h
staticLibraries = libsamplecinterop.a

The package property in cinterop .def files means the Kotlin package name of the generated .klib file.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Compe performs garbage edits on enter in large files

I was able to get this to happen with the vsnip and nvim_lua sources, so I don't think it's related to the source itself.
Can't reproduce it in small files either.
Generally it does anything from inserting some text onto the previous line, to occasionally deleting 20-ish lines of text. It also sometimes breaks tree-sitter highlights, but that's probably a side effect.
Example (sorry about low video quality):
https://user-images.githubusercontent.com/10004812/111725107-735bb900-8834-11eb-9c24-0e66258c90b8.mp4

What language server do you use?
Could you point out the reproducible file?

I think the tree-sitter problem does not relates to compe.

tree-sitter stuff isn't related to compe.
I was running into this with the sumneko lua language server, but I can also reproduce it with gopls while editing<EMAIL_ADDRESS>

@YaBoiBurner Sorry. I can't reproduce it with x25519.go...
Sorry for annoying. Please create minimal reproducible configuration with https://github.com/hrsh7th/nvim-compe/blob/master/misc/minimal.vim

i can't reproduce it anymore with that, so i guess it's not compe related.


Problem: tablefs backend for omni_vfs discovery

tablefs can only be discovered by reading the source code of omni_vfs, which is ultimately not great for DX.
Proposed solution: briefly document it
cc @rmodpur

Resolved in #439


Solidity >0.4.18

Can we get the solidity version updated, so that support for interface contracts is enabled.

Hi @decanus I have updated this in the doxity-latest branch.
You can use @digix/doxity-solc: 0.6.0 as a dependency in your project. It will support truffle projects, as well as the 0.4.24 version of solc
Please have a look at how we have used doxity in our repository
Also have a look at my comment for step by step setup.


Check master replication status failed

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.2.7
Your OS

Windows (version)

Full console output
TASK [geerlingguy.mysql : Update MySQL root password for localhost root account (< 5.7.x).] ***
changed: [daisy] => (item=<IP_ADDRESS>)
changed: [daisy] => (item=::1)
changed: [daisy] => (item=localhost)
TASK [geerlingguy.mysql : Copy .my.cnf file with root password credentials.] ***
changed: [daisy]
TASK [geerlingguy.mysql : Get list of hosts for the anonymous user.] ***********
ok: [daisy]
TASK [geerlingguy.mysql : Remove anonymous MySQL users.] ***********************
changed: [daisy] => (item=daisy.dev)
changed: [daisy] => (item=localhost)
[WARNING]: Module did not set no_log for update_password
TASK [geerlingguy.mysql : Remove MySQL test database.] *************************
changed: [daisy]
TASK [geerlingguy.mysql : Ensure MySQL databases are present.] *****************
changed: [daisy] => (item={u'collation': u'utf8mb4_general_ci', u'name': u'drupal', u'encoding': u'utf8mb4'})
TASK [geerlingguy.mysql : Ensure MySQL users are present.] *********************
changed: [daisy] => (item=None)
changed: [daisy]
TASK [geerlingguy.mysql : Ensure replication user exists on master.] ***********
skipping: [daisy]
TASK [geerlingguy.mysql : Check slave replication status.] *********************
skipping: [daisy]
TASK [geerlingguy.mysql : Check master replication status.] ********************
fatal: [daisy]: FAILED! => {"msg": "The conditional check '((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave|failed)) and (mysql_replication_role == 'slave') and (mysql_replication_master != '')\n' failed. The error was: template error while templating string: no filter named 'failed'. String: {% if ((slave.Is_Slave is defined and not slave.Is_Slave) or (slave.Is_Slave is not defined and slave|failed)) and (mysql_replication_role == 'slave') and (mysql_replication_master != '')\n %} True {% else %} False {% endif %}\n\nThe error appears to be in '/vagrant/provisioning/roles/geerlingguy.mysql/tasks/replication.yml': line 25, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Check master replication status.\n  ^ here\n"}
RUNNING HANDLER [geerlingguy.firewall : restart firewall] **********************
RUNNING HANDLER [geerlingguy.apache : restart apache] **************************
RUNNING HANDLER [geerlingguy.php : restart webserver] **************************
RUNNING HANDLER [geerlingguy.php : restart php-fpm] ****************************
RUNNING HANDLER [geerlingguy.mysql : restart mysql] ****************************
PLAY RECAP *********************************************************************
daisy                      : ok=133  changed=36   unreachable=0    failed=1    skipped=99   rescued=0    ignored=0
Summary
I've been using this Vagrant box for years. I now get this message. I started a new box downloading the Drupal VM version 4.6.0 but still get the same error. Any idea how I can fix this?

@web-assistant - Can you try using a newer version? The current version is 5.2.0—4.6.x is almost three years old now and will probably fail in many different ways :)

I tried the highest version possible to run PHP 5.6 (I think it was 4.9.2) but get the same issue. Strange because I've been using that version for years but provisioned it recently and now get the error.

If you need to use a very old version, then you can manually edit that task and use slave is failed, as I guess the failed filter has changed in whatever version of Ansible you're now on. If you're using Ansible 2.9 you could try locking in an older version somehow.
But I can't offer any support for old versions of Drupal VM (nor for PHP versions which have long been unsupported) :(


Coverflow Effect Issue on new iOS Devices

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/devbox/xsx2h9?migrateFrom=y57q8f
Bug description
I called up the CodeSandbox "Element" via the official demo page, forked it and only set the depth parameter to 1000.
The Coverflow effect appears correctly on all devices except Apple devices (tested with iPhone and iPad) with iOS 17.4.1 and higher. Previously, it worked as expected under iOS 16.2, for example.
Expected Behavior
The Coverflow effect should display as expected across all devices.

Actual Behavior
The Coverflow effect is displayed correctly on all devices except Apple devices with iOS 17.4.1 and higher.

Swiper version
11.1.3
Platform/Target and Browser Versions
iPhone and iPad Safari iOS 17.4.1
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

https://github.com/nolimits4web/swiper/issues/6650


problems when using menuItem using different queries in the same model

I want to use the menu with the same model separated by query as follows.
const menuItems: MenuItemType[] = {
      title: 'TITLE',
      children: [
        { title: 'SUB_TITLE1', link: { href: '/admin/models/Sample?status=0' } },
        { title: 'SUB_TITLE2', link: { href: '/admin/models/Sample?status=2' } },
      ],
    },
}

In this case, if you click each menu, the routing is fine, but there is a problem that the actual table is not filtered.
The cause seems to be that filterHandler is not automatically called according to query changes. Can you solve this problem? @AhmedElywa

We changed all the admin panel


Getting rid of the security alert

This is mainly to get rid of those spamming emails lol

Build didn't pass due to the new Winforms thingy.. no worries it doesn't work yet hahah


Add foldMapM iteratees

This is something I've wanted a few times now. I didn't really want to add foldMapMOption but ended up including it for the sake of consistency.
I've removed Step.foldMapOption without a deprecation cycle since it wasn't really necessary and is marked as internal.

Codecov Report

Merging #183 into master will increase coverage by 0.15%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #183      +/-   ##
==========================================
+ Coverage   96.76%   96.91%   +0.15%
==========================================
  Files          30       30
  Lines         834      843       +9
  Branches       48       45       -3
==========================================
+ Hits          807      817      +10
+ Misses         27       26       -1

Impacted Files
Coverage Δ

...ore/src/main/scala/io/iteratee/internal/Step.scala
100% <100%> (+1.41%)
:white_check_mark:

core/src/main/scala/io/iteratee/Iteratee.scala
100% <100%> (ø)
:white_check_mark:

...re/src/main/scala/io/iteratee/IterateeModule.scala
100% <100%> (ø)
:white_check_mark:

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 0efd17b...2de72ff. Read the comment docs.


Merge #18612: script: Remove undocumented and unused operator+

ccccd5190898ece3ac17aa3178f320d091f221df script: Remove undocumented and unused operator+ (MarcoFalke)
// Combined below two backports
Merge #17519: rpc: Remove unused COINBASE_FLAGS
Merge #18612: script: Remove undocumented and unused operator+
Pull request description:
This operator has no documented use case and is also unused outside of test code. The test code and all other (imaginary) code that might use this operator is written more clear and concise by the existing CScript push operators for opcodes and data.
Removing the operator is also going to protect against accidentally reintroducing bugs like this https://github.com/bitcoin/bitcoin/commit/6ff5f718b6a67797b2b3bab8905d607ad216ee21#diff-8458adcedc17d046942185cb709ff5c3L1135 (last time it was used).
ACKs for top commit:
laanwj:
ACK ccccd5190898ece3ac17aa3178f320d091f221df
Tree-SHA512: 43898ac77e4d9643d9f8ac6f8f65497a4f0bbb1fb5dcaecc839c3719aa36181ba77befb213e59a9f33a20a29e0173a0e9c4763b1930940b32c3d1598b3e39af9

The two PRs you are trying to backport should be done in seperate commits. It looks like you squashed them into one commit

Hello Pasta, will make separate commits

This PR ci  will pass after (Merge #17519: rpc: Remove unused COINBASE_FLAGS) https://github.com/dashpay/dash/pull/4377 gets merged


Server Issues Projectiles and Projectile Damages

Entry:

Missions Server
Exit:
Disable projectiles being created on the client
Clients sends the disable projectile information to the server
Server "verifies" it (now it does nothing) and returns it back to each client
Server data creates a custom projectile for all clients

This will now be client based, so when a controlled agent shoots an arrow. The event is broadcasted from that client to all others.


Need metric tracking and analysis

The opus_metrics database does not store all of the information we would want to analyze, and there is no utility to analyze and summarize the results.
Metrics would include things like how people search and what they end up downloading.

Frank is going to be writing a tool to analyze Apache logs for this purpose.


Is this version 2 or version 1?

is the version I install rightly taufactor 2? I saw your publication https://www.theoj.org/joss-papers/joss.05358/10.21105.joss.05358.pdf linking to this github repo but installing via pip tells me it is taufactor 1.1 so I'm a bit confused
(already have the confirmation from Sam about this but was asked to submit an issue)

Hi @pcmkible, yes I see that it's confusing.
It's taufactor 2 version 1.1.0
(taufactor 1 relates to the Sam's Matlab version)
Best,
Amir


rosrun does not work with camera calibration

Working through the camera calibration tutorial, rosrun cannot find the installed calibration python script.
http://wiki.ros.org/camera_calibration/Tutorials/MonocularCalibration
Using the command
rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.0245 image:=/cv_camera/image_raw camera:=/cv_camera
I receive the error:
[rosrun] Couldn't find executable named cameracalibrator.py
rospack shows
camera_calibration C:/opt/ros/melodic/x64\share\camera_calibration
but this location only has a package.xml.
I suspect that rosrun should also look in the lib\site-packages

Hi. I would like to know is that solved? I'm facing the same issue as well

This bug was that rosrun could not find the python file. We have fixed that problem. (Verified today)
Can you share more information? What do you see in the console?

@ooeygui When I try to run the command, it gave me this:

and in the folder, there's no python file.

Thanks.

That looks like WSL, not Native ROS on Windows. You cannot run UI applications like calibration in WSL. check out http://aka.ms/ros for running ros on windows.


[HTTP Transport] Logging through a proxy

🔎 Search Terms
proxy,http transport
The problem
Problem:
I'm using a proxy agent, set as "agent" in the HTTP transport.
I don't see my logs in the final destination and I don't have any log displayed by "exceptionHandlers"
Related topic: https://github.com/winstonjs/winston/pull/898
Code:
const agent = new HttpProxyAgent("http://proxy:8080");
winstonTransports.push(
  new winston.transports.Http({
    host: transport.host,
    path: transport.path,
    agent: agent,
    handleExceptions: true,
  })
)

const winstonLogger = winston.createLogger({
      level: config.level,
      exitOnError: false,
      format: logFormat,
      transports: winstonTransports,
      exceptionHandlers: [new winston.transports.Console({})],
});

Does any one have the same problem please? (and / or a solution)
Thanks a lot for your help!
What version of Winston presents the issue?
v3.10.0
What version of Node are you using?
v18.14.2
If this worked in a previous version of Winston, which was it?
No response
Minimum Working Example
No response
Additional information
No response

There's not enough of an example to demonstrate what the actual and expected behavior is, to show a difference.  The problem statement above cites not seeing any log but there is no logging done in that code, so no logs and no exceptions is as expected, as far as I can tell.


[feature request] support multiple queues

I wish that digdag supports multiple queues.
In my company, we setup an AWS autoscaling cluster to run digdag agents as https://techblog.zozo.com/entry/digdag_ha (Japanese) describes.
We want to separate and create multiple clusters to run workflows, for example:

Tasks of workflow A goes to EC2 AutoScaling Cluster A.
Tasks of workflow B goes to EC2 AutoScaling Cluster B.

with infrastructure architecture as:

digdag master (web ui) <- this is common web UI for cluster A and B.
digdag agents for cluster A (autoscaling group A)
digdag agents for cluster B (autoscaling group B)

Currently, to achieve similar goal, we have to separate digdag projects, and create another digdag cluster (and web UI)

Maybe, the design will be:
workflow.dig
_export:
  queue: A

digdag server (agent) dequeues only from the queue A:
digdag server --queue A

In addition, supporting priority queues is nice to have.

Maybe, This issue is similar to #727 and #521.

SQS usage is one of other candidates.


CAMEL-13943: Fix failing unit tests in camel-kafka

This intends to go around with the race condition issue that sometimes occurs with MemoryStateRepository in KafkaConsumerOffsetRepositoryResumeTest and KafkaConsumerOffsetRepositoryEmptyTest which as result cause the tests to fail (not always)

True, thanks for the tip. Sending an updated commit with awaitility shortly

Thanks merged on master.


Intraweb Year Planning link outdated

On intra.ia.utwente.nl the Year Planning still links to the old tinyurl instead of the new https://ictsv.nl/yearplanning1920

Intranet is a SysCom thing (https://gitlab.ia.utwente.nl/Beheer/Intranet), but I've updated the link


enh: Notification and Handling for Failed Embeddings

Feature Request: Notification and Handling for Failed Embeddings in Open-WebUI
Description:
Currently, Open-WebUI displays a spinning progress bar during document uploads (embedding process). However, if an embedding fails for any reason (408, 429, 502, 504... whatever) the document is still uploaded, resulting in an empty context (empty vector database) without any user notification. This lack of feedback creates a frustrating user experience, as uploaded documents become unusable for RAG queries without any indication of the underlying issue.
Proposed Solution:
Implement a system to handle failed embeddings more robustly, including:

Clear Error Notification: Display a notification error message to the user if an embedding fails. This message should clearly indicate that the embedding process was unsuccessful and the document's context remains empty.
Prevent Upload on Failure:  Optionally, provide a setting to prevent document uploads if the embedding process fails. This would ensure that only documents with successfully generated embeddings are added to the database.
Detailed Error Logging:  Log detailed information about the embedding failure, including the specific error encountered, the document being processed, and any relevant parameters. This information can be invaluable for troubleshooting and identifying the root cause of the issue.

Benefits:

Improved User Experience: Users will be immediately aware of failed embeddings and can take appropriate action, such as retrying the upload or investigating the issue.
Data Integrity: Preventing uploads with failed embeddings ensures that the vector database only contains documents with valid and usable context.
Easier Debugging: Detailed error logging will simplify the process of identifying and resolving embedding failures.

Additional Considerations:

The error notification system should be user-friendly and provide clear instructions on how to proceed.
The option to prevent uploads on failure should be configurable, allowing users to choose the behavior that best suits their needs.

This feature is crucial for ensuring a smooth and reliable user experience with Open-WebUI, particularly when relying on RAG functionality. By addressing failed embeddings proactively, we can prevent silent errors and empower users to manage their documents effectively.
Is your feature request related to a problem? Please describe.
I'm always frustrated when I use RAG to query a document and the context is empty because the embedding process failed without being logged, notified, etc...

This might be address with 0.3.35, testing wanted here!

This might be addressed with 0.3.35, testing wanted here!

Did a quick test with v0.3.35 and I'm still getting this error (below) logged but still nothing appears in the web ui.
Steps to reproduce:

choose openai as Embedding Model Engine;
type a wrong model name (Embedding Model) or even a wrong API base URL.

ERROR [open_webui.apps.retrieval.main] 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/app/backend/open_webui/apps/retrieval/main.py", line 734, in save_docs_to_vector_db
    embeddings = embedding_function(
                 ^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/apps/retrieval/utils.py", line 308, in <lambda>
    return lambda query: generate_multiple(query, func)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/backend/open_webui/apps/retrieval/utils.py", line 303, in generate_multiple
    embeddings.extend(func(query[i : i + embedding_batch_size]))
TypeError: 'NoneType' object is not iterable
Collection file-a58fa935-a11f-45ee-a331-24cece1541bf does not exist.
400 Client Error: Bad Request for url: http://litellm:4000/v1/embeddings

@tjbck While using this latest v0.3.35 I've noticed some strange and new (to me) logging like this:
content ### Task:
Generate 1-3 broad tags categorizing the main themes of the chat history, along with 1-3 more specific subtopic tags.

### Guidelines:
- Start with high-level domains (e.g. Science, Technology, Philosophy, Arts, Politics, Business, Health, Sports, Entertainment, Education)
- Consider including relevant subfields/subdomains if they are strongly represented throughout the conversation
- If content is too short (less than 3 messages) or too diverse, use only ["General"]
- Use the chat's primary language; default to English if multilingual
- Prioritize accuracy over specificity

### Output:
JSON format: { "tags": ["tag1", "tag2", "tag3"] }

### Chat History:

So my log is huge since it includes all chat history and also contexts content!

Nov 30 22:21:25 kamala uvicorn[43405]:                  ^^^^^^^^^^^^^^^^^^^
Nov 30 22:21:25 kamala uvicorn[43405]:   File "/usr/local/open-webui/src/backend/open_webui/apps/retrieval/utils.py", line 267, in <lambda>
Nov 30 22:21:25 kamala uvicorn[43405]:     return lambda query: generate_multiple(query, func)
Nov 30 22:21:25 kamala uvicorn[43405]:                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Nov 30 22:21:25 kamala uvicorn[43405]:   File "/usr/local/open-webui/src/backend/open_webui/apps/retrieval/utils.py", line 262, in generate_multiple
Nov 30 22:21:25 kamala uvicorn[43405]:     embeddings.extend(func(query[i : i + embedding_batch_size]))
Nov 30 22:21:25 kamala uvicorn[43405]: TypeError: 'NoneType' object is not iterable
Nov 30 22:21:25 kamala uvicorn[43405]: Collection file-9d686607-7c12-4f5f-8731-af3113ec31af does not exist.
Nov 30 22:21:25 kamala uvicorn[43405]: 500 Server Error: Internal Server Error for url: http://<IP_ADDRESS>:11431/embeddings
Nov 30 22:21:25 kamala uvicorn[43405]: INFO:     <IP_ADDRESS>:0 - "POST /api/v1/files/ HTTP/1.0" 200 OK

yes samesies, but it looks like it has to do with the llama-server embeddings:
Nov 30 22:21:25 kamala llama-server[14583]: slot update_slots: id  0 | task 913 | new prompt, n_ctx_slot = 8192, n_keep = 0, n_prompt_tokens = 1138
Nov 30 22:21:25 kamala llama-server[14583]: slot      release: id  0 | task 913 | stop processing: n_past = 0, truncated = 0
Nov 30 22:21:25 kamala llama-server[14583]: srv    send_error: task id = 913, error: input is too large to process. increase the physical batch size
Nov 30 22:21:25 kamala llama-server[14583]: srv  update_slots: no tokens to decode
Nov 30 22:21:25 kamala llama-server[14583]: slot launch_slot_: id  0 | task 914 | processing task
Nov 30 22:21:25 kamala llama-server[14583]: slot update_slots: id  0 | task 914 | new prompt, n_ctx_slot = 8192, n_keep = 0, n_prompt_tokens = 896
Nov 30 22:21:25 kamala llama-server[14583]: slot      release: id  0 | task 914 | stop processing: n_past = 0, truncated = 0
Nov 30 22:21:25 kamala llama-server[14583]: srv    send_error: task id = 914, error: input is too large to process. increase the physical batch size
Nov 30 22:21:25 kamala llama-server[14583]: srv  update_slots: no tokens to decode
Nov 30 22:21:25 kamala llama-server[14583]: srv  update_slots: all slots are idle

i've been messing with the server settings for the embedding and i'm not sure what speaks with what yet.
/usr/local/bin/llama-server --model models/bge-m3-FP16.gguf -a bge-m3 --parallel 4 --embeddings -c 0 -b 2048 --port 11431 --host <IP_ADDRESS> -t 2 -fa -ngl 999 --no-mmap
i'm using 0.4.6 from the main branch

@unclemusclez would appreciate if you could continue your investigation here. My intuition is telling me this error would occur if something's gone rouge from the embedding process from the external server like Ollama, or OpenAI compatible endpoints. Keep us posted!

@unclemusclez would appreciate if you could continue your investigation here. My intuition is telling me this error would occur if something's gone rouge from the embedding process from the external server like Ollama, or OpenAI compatible endpoints. Keep us posted!

I believe the issue is that people running server-core, and not server-standard. https://tika.apache.org/download.html
I was going to downgrade, and then I noticed that the Apache site only offers the standard version. I originally compiled the code from source. This standard version most likely enables some extra features like PDFBox.
As it turns out, Tika is amazing and also processes video with FFMPEG and a bunch of other stuff. I will for sure be looking more into this.
I am using 3.0.0 Beta, but I assume all the way up to the most recent dev versions of Tika will work.

@bgeneto have you tried what i have mentioned the above? if it resolves the issue we can probably close the ticket.
I am assuming you were using tika-server-core for extraction.

@bgeneto have you tried what i have mentioned the above? if it resolves the issue we can probably close the ticket.
I am assuming you were using tika-server-core for extraction.

The initial issue reported was unrelated to Tika, although I utilize it and suspect that a Tika failure might not trigger a proper error message in the web UI (however, I did not investigate this further).
The actual issue was solely related to a failure of the OpenAI-compatible or Ollama embedding endpoint. For instance, providing an incorrect endpoint URI would not trigger an error, yet the uploaded file would still be accessible to the user in the Knowledge area, albeit unusable.
After testing with v0.4.7, I can confirm that this issue is now resolved. The notification message appears in the web UI (as shown in the attached image), and the document is no longer available in the Knowledge collection. Note that the document is not deleted from the uploads directory, which may lead to a duplicate document in the disk if uploaded again.
Considering the resolution, I believe it is safe to close this issue. Thank you.

@Lanhild has reported that the uploaded document fails to parse if it contains CJK characters. Let me know if that has the issue for other people as well!

I encountered an error message [ERROR: 'NoneType' object is not iterable] while using internet search with Google PSE, but I don't know where the issue is. I used the OpenAI embedding model text-embedding-3-large. @tjbck

When I change the OpenAI embedding model provider, it works again. Sorry for disturb you. But indeed, if we know the reason and stop the next action maybe a good choice when we enconter a error.

me too, I found that if I uploaded a file larger than 1M, it would be failed


contributors.svg not updating

Describe the bug
The contributors.svg is not updating to reflect the repository contributors.
To Reproduce
Steps to reproduce the behavior:

Go to a repository
Contribute
See how the svg does not update

Expected behavior
Updates contributors.svg in real time (or close to it). It's been 2 days and the image has not updated.
Screenshots
Image from contributors.svg:

Repository contributors from Github:

Additional context
Github repo with the problem: https://github.com/heylinda/heylinda-app
contributors.svg link: https://opencollective.com/heylinda/contributors.svg?width=890&button=false

Any idea why this might be happening @znarf ?

The daily 70-update-contributions.js cron job doesn't seem to be running.

We have for quite some time some capacity problems with our GitHub credentials and are unable to refresh the contributors.
As this widget is not a priority for us at Open Collective anymore, we're gonna officially stop maintaining it. For people relying on it, we're gonna extract it in an independent repository and give it to the community. I'll setup this in the coming days.

I just released contributors.svg as a separate Open Source repository. Anyone is welcome to participate.
I also deployed a new version which should normally fix the issue.
Feel free to open issues and PRs in the new repository.


Upgrader: do not include Micrsoft.Diagnostic.Tracing.EventSource

The upgrade verb attempts to copy
Microsoft.Diagnostic.Tracing.EventSource when copying the
ProductUpgrader to the temporary directory to run. If this file is not
present, then the upgrade verb will fail. This following commit removes
this file:
cbe5787d ("Remove in-proc ETW trace event listener", 2019-02-18)
Clean installs of VFS4G that include this commit will no longer have
this file in the installation directory, and will not be able to
upgrade.
This dll is no longer needed or installed during installation, so we
remove it from the list of files copied over for upgrade.
This is a quick fix - we will also see how to make this less fragile.
One option might be to install "upgrader app" into its own directory
under the VFS For Git installation directory, and then just copy the
directory to the temp location, instead of providing a list of files
that need to be kept in sync.
(cherry picked from commit f107731840a41034946d904820be9b7105134b58)

This branch was created off of the v1.0.19116.1 release tag, as we will want this fix to go to that release train


Consume EditorBrowsableAttribute on TagHelpers.

By applying [EditorBrowsable(EditorBrowsableState.Never)] to your TagHelpers class and adding the metadata to TagHelperDescriptors tooling can consume the metadata to hide TagHelper highlighting on HTML elements affected only by descriptors with EditorBrowsableState.Never. We can also add this functionality for bound attributes.
We should add this metadata to TagHelperDesignTimeDescriptor.EditorBrowsable and TagHelperAttributeDesignTimeDescriptor.EditorBrowsable.

/cc @DamianEdwards

b762830a437716b28b35bcc8d821dffe7267a47d


addField in Deep Form touches all fields

When a new fields gets added to a deep field array-field a TOUCH action is distributed, touching every field in the form. This makes it impossible to check for errors with .touched on fields. Is this intentional or am I doing something wrong?

Nevermind, after searching for a while I found out that rendering a  without specifying it as type="button" automatically fires a submit-event which in turn touches all fields.


mining mule

someone mentioned a mining mule and I like the idea, will investigate

We may need to clarify this a bit, is the mining mule for mining resources for stations or is it a trading behavior to move minerals from one station to another?
It seems that if the mining mules are to mine for stations then it would be replaced by vanilla "assign to station as miner" feature.

This would be for mining for stations, however they would be far better than vanilla miners because they would look for other player stations needs after checking their own, and then if there's still nothing to do, they'd mine for AI stations in range for the most valuable ware.

How is the progress on Mining Mules?

Good question 😃
On Sun, 9 Jan 2022, 5:25 pm Padimm, @.***> wrote:

How is the progress on Mining Mules?
—
Reply to this email directly, view it on GitHub
https://github.com/Misunderstood-Wookiee/Mules-and-Warehouses-Extended/issues/43#issuecomment-1008238858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH3SZ3NR4R6XUDIHK3GIR3UVES4RANCNFSM4MTDYNNA
.
You are receiving this because you are subscribed to this thread.Message
ID:
<Misunderstood-Wookiee/Mules-and-Warehouses-Extended/issues/43/1008238858@
github.com>

The changes to mining have added complexity and I think it's unlikely I will ever actually write one


Add background color on tick marks in the timeline UI

This fixes issue https://github.com/WFP-VAM/prism-app/issues/890.
How to test the feature:

check timeline

Screenshot/video of feature:
let me know which of the following we would prefer:

Thanks @echaidemenos!
I think I prefer option 2 with just the ticks but option 1 looks great too.

I also vote for option 2. Thanks @echaidemenos !


Nft metadata modifications

Motivations
In the Onboarding Pallet, the Seller could only modify the price of the asset before submission to the council.
Now he can also change the asset metadata.
Execution

The helper_function set_metadata(owner: T::AccountId,   	collection_id: T::NftCollectionId,   	item_id: T::NftItemId,   	metadata: BoundedVecOfUnq<T>,   )
was added to the nft pallet. This helper function is actually using the pallet_uniques set_metadata.
In the pallet_onboarding, the user can change the initial metadata through the dispatchable function submit_awaiting(...).

Codecov Report

Merging #165 (38e37d0) into main (5f5ca13) will increase coverage by 0.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
+ Coverage   74.63%   74.85%   +0.22%
==========================================
  Files          49       49
  Lines        3745     3766      +21
==========================================
+ Hits         2795     2819      +24
+ Misses        950      947       -3

Impacted Files
Coverage Δ

pallets/nft/src/functions.rs
69.23% <100.00%> (+6.59%)
:arrow_up:

pallets/onboarding/src/functions.rs
87.83% <100.00%> (+1.35%)
:arrow_up:

pallets/onboarding/src/lib.rs
88.98% <100.00%> (+0.29%)
:arrow_up:

pallets/onboarding/src/tests.rs
100.00% <100.00%> (ø)

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


"IGNORE" - implementation

Aka  "the Friday Bug", this bug appears to be realted with the "ignore" attribute of LibWiser, how it works alone, and how it works with the chain-of-responsibility of Oasys.
Understood by Aljosa.
I copy the email text
_Hey,
No, there is a bug... With Ignore turned on, the wavefront doesn't propagate to the next element. This is probably due to the changes/decoupling in WiserData, where the beamline is returned even if wavefront is None... This needs a bit more consideration to be solved efficiently.
Cheers,
Aljosa_

TEST OF IGNORE, in LibWiser
Everything is fine (see picture and *.py).
I think the issue is simpler than we thought:
If Ignore=True than all the plot operations etc on the optical element must be just skipped :)
Can you try to fix it?
test_layout.py.txt

Thanks for opening this issue on github. I will try to implement exactly what you said.

One more thing:
This case is also useful to decide what to do with #issue 74.

As is, the code generates an error at the level of item2, and the execution stops.
We (I) wondered if it was possible to still propagate a signal downstream, even if an errorr occurred.
The rationale of this is that the signal propagates info about: the beamline layout (which almost never contains any error) and the computations (which may contain some inconsicency). It would make sense to propagate all this info whenever possible.
However, the execution can be broken by a number of elements, e.g. the GUI.
The solution to all this is not trivial. I wrote this just as  a comment.

Hey,
I solved the initial problem of if and else, so the computation is not breaking anymore when plotting. However, it still wouldn't run. It seems to me right now that the problem lies either at wofrywiser (highly unlikely) or LibWiser level. The breaking line is 649 in ow_optical_element that directly calls wofry do_propagation() where the breaking line is 105 in wise_propagation.py:
beamline.ComputeFields(oeStart=oeStart, oeEnd=oeEnd, Verbose=False)
I do correctly set the ComputationSettings.Ignore parameter from the GUI and it is set correctly in the "LibWiser OE".
This is the test beamline (PlaneMirror is ignored):

This is the error:

Some observations:

The error occurs at the detector, wavefront is correctly calculated at EllipticMirror
The error does not occur if the last element before the detector is ignored (regardless of type)

I pushed the new version to PyPI (0.3.21) and the code to github.

Side note:
if ignore is True, and I had previously computed data on the same element, the plots still display the old intensity. It would make sense if they were empty. However, let's just keep it in mind for the moment

Maybe I got  a clue:

Question: shouldn't the error message above appear in the error log of OASYS? (I can not say annything coz my one broke ages ago, and it always blank... that's another story)

Personal Note:
In any case, there is something strange in LibWiser (maybe)
the plane mirror is ignored, but the engine still attempts to do the propagation from it to the following. Weird.

This "new problem", which is not connected to the attempt of OASYS to plot a None field ("starting problem"), quite certainly  lives at LibWiser level.

Ok, I am available for discussion or some fast implementation at any time, if necessary.


Test against stable to consistent tests

I think it's better to test against stable.
I currently see travis failing because of some 2.9-dev release, and I'm not sure this is the right place to investigate what has changed.

nvm, I was just running into an issue with automatic merge that I hadn't noticed.


Indent files in config

small PRs are better
Related to https://github.com/jhipster/jhipster-vuejs/issues/73

Shouldn't we just setup prettier?
Thanks & Regards,
Deepu
On Thu, Nov 29, 2018 at 8:51 AM Pascal Grimaud<EMAIL_ADDRESS>wrote:

Merged #79 https://github.com/jhipster/jhipster-vuejs/pull/79 into
master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/jhipster-vuejs/pull/79#event-1994595389, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABDlF7i7E3jphvAs0gz7SHDi72UIC9Apks5uz6AtgaJpZM4Y5G2F
.

Yes we could but it's better if we have the same indent inside the generator and in the generated app, as you can copy paste directly the changes you do in a generated app inside the blueprint.


UHF-10554: Fix announcements and surveys for alt languages

UHF-10554

What was done

Fix announcements and surveys for alt languages.

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-10554

Run make drush-updb drush-cr

How to test

[ ] Check that this feature works
[ ] Check that code follows our standards

Continuous documentation

[ ] This feature has been documented/the documentation has been updated
[x] This change doesn't require updates to the documentation

Translations

[ ] Translations have been added to .po -files and included in this PR

Other PRs

Link to other PR

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.13%. Comparing base (bb50a52) to head (18795e9).
Report is 14 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #807      +/-   ##
============================================
- Coverage     15.29%   15.13%   -0.16%
- Complexity      259      261       +2
============================================
  Files            31       31
  Lines           981      991      +10
============================================
  Hits            150      150
- Misses          831      841      +10

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


Getting Started Guide

Would be nice to have a basic getting started guide.
Something along the lines of:
Install amok:
sudo npm install -g amok

Create your first amok project:
mkdir amokproject

Create an index.html file with the following contents:
<!DOCTYPE html>
<html>
  <body>
    <script type="text/javascript" src="/app.js"></script>
  </body>
</html>

Create an app.js with the following contents:
document.querySelector('body').innerHTML = 'Hello World!';

Start amok:
amok --client chrome app.js

See the glory!
Edit the code in app.js:
document.querySelector('body').innerHTML = 'Hello World 2!';

See it update.
Profit!
Unfortunately I don't know if this is correct or not as when I try doing exactly this after installing and configuring to Linux (ElementaryOS Freya) I get the following output:
[3770:3770:0402/143452:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3770:3770:0402/143452:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3770:3770:0402/143452:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3770:3770:0402/143452:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3770:3770:0402/143452:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Created new window in existing browser session.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)
jdarling@elementary-red:~/amokproject$ amok --client chrome app.js
[3873:3873:0402/143504:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3873:3873:0402/143504:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3873:3873:0402/143504:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3873:3873:0402/143504:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
[3873:3873:0402/143504:ERROR:browser_main_loop.cc(198)] GTK theme error: Unable to locate theme engine in module_path: "pixmap",
Gtk-Message: Failed to load module "canberra-gtk-module"
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[3873:3873:0402/143505:ERROR:extension_downloader.cc(696)] Invalid URL: '' for extension onmkoldigcfmebcinpmineoadckalllb
[3873:3960:0402/143505:ERROR:get_updates_processor.cc(240)] PostClientToServerMessage() failed during GetUpdates

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ECONNREFUSED
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)

Chrome launches but due to the error I get no live updates :(

Hang tight for #34, simplifies usage a lot, will be out during the weekend.
amok --client chrome

/docs will be up on the website eventually, for now there's the readme. If you have any specific questions please feel free to open an issue and they will be answered and rolled into the readme or FAQ, thanks :smile: