intaractive_plotting broken for custom jobname

When using interactive_plotting with a custom jobname (langer or shorter than file) it is not shown (but still saved as png). The issue is in mapdl.py line 958 (run_process method):
filename = png_found[0][-11:]

and also in line 175:
png_test = re.compile(r'WRITTEN TO FILE file\d\d\d.png')

Solution is not trivial. Incomplete fix would be
png_test = re.compile(r'WRITTEN TO FILE .*.png')  # line 175
...
filename = png_found[0][16:]  # line 958

But this does only work for short jobnames up to 9 characters, because the return message is cut of and the .png becomes missing. One could use jobname directly, but I don't know how to check if show should create a png in the first place (when this information is cut out from the command return message)

Thanks for pointing that out.  It's true that a fix is non-trivial.
Another solution would be to use glob immediately before and after to check for new *.png files written to the ansys working directory.

Turned out the best fix was to simply use glob and find the last filename that matches the job name and "png'.
See 24dabd2420c59c0d6db06b9868ad62a877235daa.


data for chaostomb

Any chance you could make the data available you used in this post?:
https://www.moria.us/articles/chaos-tomb-visualizing-gameplay-with-d3-and-sql/

I still have the original data around, I'm looking into posting it.

Thank you. I'm looking to practice SQL and this data is actually
interesting.
On Wed, Dec 19, 2018, 13:51 Dietrich Epp<EMAIL_ADDRESS>wrote:

I still have the original data around, I'm looking into posting it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/depp/chaostomb/issues/1#issuecomment-448756534, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG7_UUkwHriDfO-9B8eL2pEn2JGCwQFJks5u6rTlgaJpZM4Zawbe
.

https://www.moria.us/articles/chaos-tomb-visualizing-gameplay-with-d3-and-sql/analytics.sql.gz

Note that this is for PostgreSQL, and may require modifications for other SQL engines.


Fix pytest warning

This is to solve below pytest warning
/usr/local/lib/python3.9/site-packages/_pytest/mark/structures.py:323
  /usr/local/lib/python3.9/site-packages/_pytest/mark/structures.py:323: PytestUnknownMarkWarning: Unknown pytest.mark.cloning - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    warnings.warn(

/usr/local/lib/python3.9/site-packages/_pytest/mark/structures.py:323
  /usr/local/lib/python3.9/site-packages/_pytest/mark/structures.py:323: PytestUnknownMarkWarning: Unknown pytest.mark.migration - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    warnings.warn(

Signed-off-by: Khushboo<EMAIL_ADDRESS>

@khushboo-rancher see if you need to backport to 1.2.x branch.


Be nice when defining Tab and S-Tab

When defining the mappings, it would be nice to modify the mapping so that it does not remove the currently defined mappings in possible, similarly to how endwise handles it:
https://github.com/tpope/vim-endwise/blob/master/plugin/endwise.vim#L134-L151

Interesting. You want to do something with <tab> ahead of what this plugin does? What use-case would that be?

There's another bug:
let rhs = substitute(get(map, 'rhs', ''), '\c<sid>', '<SNR>' . get(map, 'sid') . '_', 'g')

In vim9script there is no need for <sid> since functions are executed in the context of the script they are defined in.  is optional. Both of these are valid:
inoremap <expr> <Tab>   OnWhitespace() ? "\<tab>" : "\<c-n>"
inoremap <expr> <Tab>   <SID>OnWhitespace() ? "\<tab>" : "\<c-n>"

However, when you transport the rhs to another script there is need to replace  with . Since  is optional the above substitute() will not work. When keybinding is executed it complains that OnWhitespace() is undefined.

Please try now. I've made <tab> easy to integrate with other plugins.
README.md:
Tab Completion
You can map the <Tab> and <S-Tab> keys to navigate autocomplete items in insert mode. By default, Vim uses CTRL-N and CTRL-P to cycle through completion menu options.
To enable <Tab> and <S-Tab> for this purpose, add the following to your configuration:
vim9script
let g:vimcomplete_tab_enable = 1

Note: Enabling this option will remove any existing mappings for <Tab> and <S-Tab>.

If you'd like to retain <Tab> and <S-Tab> mappings from other plugins, unset the above variable and instead use these custom mappings, substituting {rhs} as needed (using "\<Tab>" as "{rhs}" will behave the same as setting the variable):
inoremap <buffer><expr> <tab>   g:VimCompleteTab() ?? "{rhs}"
inoremap <buffer><expr> <s-tab> g:VimCompleteSTab() ?? "{rhs}"

This configuration allows <Tab> and <S-Tab> to integrate with other plugin mappings.

When keybinding is executed it complains that OnWhitespace() is undefined.

Maybe that's why those should be defined as mappings, too? Like in endwise:
https://github.com/tpope/vim-endwise/blob/master/plugin/endwise.vim#L130-L132


Add support for HP Reverb G2 controllers and update WMRController with definition

Overview

Adds OpenXR support for HP Reverb G2 controllers
Fixes some cases where the controller image wasn't loading properly
Refactor out the existing WMRController definition for the OpenXR class

/azp run

/azp run


Can't select autocomplete items with arrows

I can't navigate or select with the arrow keys

Hey @luisrudge , can you elaborate on this? Navigating with the down and up arrow keys appears to work when options are shown for me. Does this not work for you?
However pressing the down key when no options are being show does not show any of the options (not sure if this should be expected or default behavior).

hmm.. sorry. it does work. The problem is LastPass is messing with my form inputs :astonished:
Thanks!


Added manifest for HoYoverse.GenshinImpact

[ ] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Since the installer doesn't offer an unattended install i'll close the PR
Previously submitted PR's for this installer have also been closed due to this issue


fix: update jsx export

Remove wrong js export statement

related issue
Since the code is a compiled product, some export * statements will be retained, but this will cause errors and need to be removed.
@Tao-VanJS PTAL

Actually, do you want to upgrade the version in package.json file so that I can npm publish it?


Compilation

Search the problem

[ ] Verification
@crichID Keep going with the project

code.txt
Nuevo codigo

git commit -m "Ala"


sitenav: benefits and how it works layout

I was thinking something more like this, to emphasize the benefits individually and provide a short description of how it works...

Good for first round 😎


refactor(js): migrate quote-props to ts

Part of #70

Aha, it's a type issue of typescript-eslint library.

What issue you are referring to?

It's about the type check.

The imported type ValidTestCase from @types/eslint does not satisfy the test case, type check failed.

You can change the env to parserOptions: { ecmaVersion: 6 }

You can change the env to parserOptions: { ecmaVersion: 6 }

Great, I was think about it before, but I'm not sure these two are the same or different.


SETPOS/bySetPositions is not behaving correctly

When testing for #66 to be correct, I ran into an issue, that occurs also without the change I made there, so I open a seperate ticket here.
I tested the following configuration:
RRULE:FREQ=WEEKLY;BYDAY=MO,WE;BYSETPOS=2,3
Which corresponds to the following setup:
test('#??: works', () {
  final rrule = RecurrenceRule(
    frequency: Frequency.weekly,
    byWeekDays: [
      ByWeekDayEntry(DateTime.monday),
      ByWeekDayEntry(DateTime.wednesday),
    ],
    bySetPositions: const [2, 3],
  );
  final start = DateTime.utc(2024, 02, 01);

  final instances = rrule.getInstances(start: start).take(5);
  expect(
    instances,
    equals([
      DateTime.utc(2024, 02, 07),
      DateTime.utc(2024, 02, 14),
      DateTime.utc(2024, 02, 21),
      DateTime.utc(2024, 02, 28),
      DateTime.utc(2024, 03, 06),
    ]),
  );
});

I get a test failure:
TestFailure (Expected: [
            DateTime:2024-02-07 00:00:00.000Z,
            DateTime:2024-02-14 00:00:00.000Z,
            DateTime:2024-02-21 00:00:00.000Z,
            DateTime:2024-02-28 00:00:00.000Z,
            DateTime:2024-03-06 00:00:00.000Z
          ]
  Actual: TakeIterable<DateTime>:[
            DateTime:2024-02-07 00:00:00.000Z,
            DateTime:2024-02-14 00:00:00.000Z,
            DateTime:2024-02-12 00:00:00.000Z,
            DateTime:2024-02-21 00:00:00.000Z,
            DateTime:2024-02-19 00:00:00.000Z
          ]

I set a breakpoint here:
https://github.com/JonasWanke/rrule/blob/f557fe9e72821c0543b1bf8f56fe5f50d531b07d/lib/src/iteration/set_positions_list.dart#L35
This is on the first hit on the breakpoint:

This is on the second one:

It seems like the setPostion is wrongly calculated. In this setup, setPosition: 3 should never occur, since the events are looked at "on a weekly basis" and a new week starts a new set. Therefore only positions 1 and 2 exist.
In this setup, only Wednesdays should be yielded...right?
Environment:

Package version:  main-branch with fix from #67

I double checked with the RFC 5545, but couldn't find anything about that this would be an invalid RRULE.
rrule.js seems to be very similar to the current implementation in this package.
https://github.com/jkbrzt/rrule/blob/master/src/iter/poslist.ts
Yet it does show the correct dates.
Code:
const { datetime, RRule } = require('rrule');

const ruleOptions = RRule.parseString(
  "RRULE:FREQ=WEEKLY;BYDAY=MO,WE;BYSETPOS=2,3;COUNT=5"
)

ruleOptions.dtstart = datetime(2024, 02, 01);

const rule = new RRule(ruleOptions);

console.log(rule.all())

Output:
[
  2024-02-07T00:00:00.000Z,
  2024-02-14T00:00:00.000Z,
  2024-02-21T00:00:00.000Z,
  2024-02-28T00:00:00.000Z,
  2024-03-06T00:00:00.000Z
]

Found the problem, opened a PR.


[METRICS-3665] Opentelemetry init commit

Description
Add opentelemetry extension for distributed traces.
Use Druid emitter functionality to ingest metrics and create spans from query/time metrics. More about emitter
Use context field for propagation. More about context field

Key changed/added classes in this PR

Add opentelemetry extension
Add readme about how to test it locally

Planning to add tests in the next commit.

I'm planning to edit README once I'll figure out with gRPC in Druid.


Feature 179 add notes to calendar

Handle feature #179

[x]  Add "notes" table to DB
[x]  Add CRUD APIs
[x]  Add form to add/edit note
[x]  Add dashboard to view notes
[x]  Error handling
[x] Create relationship to current user

Codecov Report

Merging #267 (2f40051) into develop (856c843) will decrease coverage by 0.11%.
The diff coverage is 91.17%.

@@             Coverage Diff             @@
##           develop     #267      +/-   ##
===========================================
- Coverage    99.06%   98.94%   -0.12%
===========================================
  Files           48       51       +3
  Lines         2251     2285      +34
===========================================
+ Hits          2230     2261      +31
- Misses          21       24       +3

Impacted Files
Coverage Δ

app/routers/notes/crud.py
71.42% <71.42%> (ø)

app/database/models.py
96.15% <87.50%> (-0.47%)
:arrow_down:

app/database/schemas.py
100.00% <100.00%> (ø)

app/main.py
96.66% <100.00%> (+0.11%)
:arrow_up:

app/routers/notes/notes.py
100.00% <100.00%> (ø)

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 856c843...2f40051. Read the comment docs.

Is it still wip? If not, maybe better to remove from title :)

Is it still wip? If not, maybe better to remove from title :)

I changed it.
The open items I'll fix using defects.

Hi @yammesicka ,
Any reason this is still pending merge?


Colab collapses

I tried to run litcovid_dataset_from_xml.py but my google colab pro collapses due to data set size (After unzipping ofcourse).
Any help

If you're trying to run it with new data from LitCovid it's probably a lot larger now. I might be able to help if you post the error message. However, if its only an issue caused by not having enough memory in your google colab pro you might need to increase your memory or find a different way to load the data in.

thanks for quick reply.
is there any quick way to load it? i mean some truncation during bioc.load?
any advise?

yes i want to restrict, i think your file litcovid.sh is for that?

this was my error

tcmalloc: large alloc<PHONE_NUMBER>0 bytes == 0x561a90d84000 @ 0x7f460a1ac001 0x561a8ca3bc60 0x561a8ca18dd0 0x561a8ca79a2e 0x561a8ca779ee 0x561a8ca776f3 0x561a8ca75b60 0x561a8ca09349 0x561a8ca09240 0x561a8ca7c973 0x561a8ca779ee 0x561a8ca0abda 0x561a8ca78c0d 0x561a8ca779ee 0x561a8ca0abda 0x561a8ca79737 0x561a8ca77ced 0x561a8ca0b48c 0x561a8ca0b698 0x561a8ca79fe4 0x561a8ca77ced 0x561a8ca0abda 0x561a8ca79737 0x561a8ca779ee 0x561a8ca0abda 0x561a8ca78c0d 0x561a8ca0aafa 0x561a8ca78915 0x561a8ca0aafa 0x561a8ca78c0d 0x561a8ca77ced

Take a look at the section on "Incrementally decoding the BioC XML file" in the bioc documentation here https://pypi.org/project/bioc/. It seems to be exactly what you need.

I tried this too, issue is with load() function.

I split xml into blocks
lets see if it work,
thanks

thanks @bernaljg it worked after i spplit XML into couple of file.s


check statusCode from sockRequest

sockRequest from  integration-cli/docker_utills.go now returns http.Response.StatusCode as its first return value. https://github.com/docker/docker/blob/master/integration-cli/docker_utils.go#L301
It would be great if response's status code it's checked where it makes sense
some examples to look for:
https://github.com/docker/docker/blob/master/integration-cli/docker_api_containers_test.go#L32

#dibs

@runcom sockRequest already includes the status code in the returned error message, however there are some test cases that do checks like strings.Contains(err.Error(), "201 Accepted"), I'm cleaning up those with the new status code retval.

Yes I've seen that too, also I don't super like the fact that it's raising the error if code is not 200, should be error if something went wrong with the request (at least 500+ are server errors that can make sense to die with)  , wdyt?

@runcom my rule of thumb for defining success is generally statusCode/100 != 2 :)
However in this case this allows us to catch cases where someone changes an existing endpoint's success response previously defined as 200 OK to 201 Accepted (or something else). This may break some clients (and thus back-compat in Remote API). Let's keep it.

Yes maybe I expressed my thought wrongly, I totally agree with your changes and I was referring for the 200/201 fact, maybe I don't recall correctly and what I said is just done :)


Add sountrack, jump and death sounds

Merged what you've done so far. But ...
Sound effect should play when they player and any other player changes states (jump, kicking, direction facing).
Right now it only plays for the current player. Pressing upArrow multiple times causes the sound to play multiple times (it should only play when they initially jump).


Improve changelog documentation

release-plz documentation should describe in more detail how it handles existing CHANGELOG.md files when updating them, e.g. what can be present, what must be present and which formats are possible.

closed by https://github.com/MarcoIeni/release-plz/pull/1198


[snackpub] support readiness http requests

Why
follow up https://github.com/expo/snack/pull/377#pullrequestreview-1247080929
close ENG-7693
How

add /status/live support which always returns 200 from snackpub
add /status/ready support which returns 200 when all redis clients are ready, otherwise returns 503.

Test Plan
Unit Test
 PASS  src/__tests__/HttpEndpoints-test.ts
  ReadOnlyRequestsHandler
    ✓ should return http 405 for any DELETE/POST/PUT requests (1 ms)
    ✓ should allow GET/OPTIONS requests
  LivenessRequestHandler
    ✓ should return http 200 for `/status/live` requests
  ReadinessRequestHandler
    ✓ should return http 200 for `/status/ready` requests when not using redis adapters
    ✓ should return http 200 for `/status/ready` requests when redis clients are all ready
    ✓ should return http 503 for `/status/ready` requests if any redis client unavailable

Integration Test
# snackpub server startup with redis adapter
$ redis-server &
$ REDIS_URL='redis://localhost:6379' yarn start

# test live endpoint with httpie
$ http -v http://localhost:3013/status/live
# HTTP/1.1 200 OK

# test ready endpoint with httpie
$ http -v http://localhost:3013/status/ready
# HTTP/1.1 200 OK

# test stale redis clients
$ killall redis-server
$ http -v http://localhost:3013/status/ready
# HTTP/1.1 503 Service Unavailable

# test snackpub redis client reconnection when redis-server is back again
$ redis-server &
$ http -v http://localhost:3013/status/ready
# HTTP/1.1 200 OK

# cleanup
$ killall redis-server
$ kill $(jobs -p)

If we need to add more endpoints, I'd suggest taking a look at a small webserver like express or fastify and using a router library but for just two endpoints this looks good to me.

yep, i don't want to introduce extra dependency only for the two endpoints. if we have more endpoints in the future, would consider to use libraries instead. thanks for the great review as always. 💛


show if a player is in a blacklisted guild

don't really want to add a command for this:
Any way we can have the bot check to see if people we verify are in a blacklisted guild? Today we had the bot send the confirm veri panel and they were in a blacklisted guild so obv we dont want to verify them
I think we could have a /ListBlacklistedGuilds /AddBlacklistedGuild /RemoveBlacklistedGuild then any time we try to manually verify or the bot automatically verifies it would check their guild against the ones we have added
could just do this during sending the manual verification message

@nyapat Sorry, just saw this.

Any way we can have the bot check to see if people we verify are in a blacklisted guild?

We can just check if they're in a blacklisted guild during verification (the API gives you the guild property) and do something based on that.
Is that what you mean?


Bug: Gitops config with self managed Gitlab error

📜 Description
Hi All,
When I try to config the gitops with Gitlab, I got Internal Error on the web page

👟 Reproduction steps

Configure GitOps
Choose Gitlab
Full fill the inputs

👍 Expected behavior
Works fine
👎 Actual Behavior
Internal error

☸ Kubernetes version
EKS 1.28
Cloud provider
AWS
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#9329

This has been fixed, please feel free to reopen, if still exists


Adding Wavefront support

After talking to Stephane Nicoll I'm closing this PR in favour of https://github.com/spring-cloud-incubator/spring-cloud-sleuth-otel/pull/16. The Wavefront-Sleuth integration will remain in Wavefront for the time being. You can read more about this here https://github.com/wavefrontHQ/wavefront-spring-boot/pull/104


How to set your library, and you need to work it?

Hello! I hasten to apologize for my English, I'm from Russia))
I want to organize a league through a web interface. I realized that your library I can help. But I can not understand what is needed for its operation and how to install it. I ask you to help. Thanks in advance!

There is too much to explain. Read up on using nodejs, and then about how this library works https://blog.rjackson.me/extending-node-dota2/


Token recognition error ;\n

Error occurs when compiling assert with lines that end with ;.
data/unit-testing/cond.fate in https://github.com/nsensfel/tonkadur/commit/bd5fd411691410d2ddb37f108810353b725eb0b1 triggers the bug.

Fixed in https://github.com/nsensfel/tonkadur/commit/81e9def608b236f5c9702801184766039ab35f48.


Add information on labeling in RIS format; upload screenshot of Endnote

For https://github.com/asreview/asreview/pull/965

Thanks, would be nice to have some discussion on the table. Too technical for this section I think.

The requested changes was committed.


Implement #to_hash

Before, #to_hash returned an object of Class which extends Settingslogic,
not that of pure Hash. So we couldn't use methods of Hash.
Now #to_hash becomes to return a pure Hash object and we can do that.

This is the problem what I am facing
I serialize Hash into DB
Since it is Settings but not Hash, it returns with much extra information (from app.yml) which I don't need
Please pull this quick!

dear @PikachuEXE,
thanks for your comment with a nice example :)


GOrilla output

Hi Kirstie,
Sorry to ask a pretty basic question but how did you export the DAG image generated in GOrilla?
I can't seem to figure it out.
Thanks
Peter

Hi @docni - you can just left click the image and "save image as" - I hope that helps :smile:


Col adding 'col' class to all col elements - breaks responsive breakpoints

Demo of problem: https://codepen.io/anon/pen/BdayLm
If you shrink your window with that demo, the lg <Col /> elements should spread out to full width at some point...they do not.
The responsiveness is broken because of extra col class being added to <Col /> elements:
<Row>
  <Col lg>1</Col>
  <Col lg>2</Col>
  <Col lg>3</Col>
  <Col lg>4</Col>
</Row>

...because the rendered element comes out as:

1

2

3

4

...that will not work, for the breakpoints to work each <Col /> must be rendered like this:

1

2

3

4

If you edit the live HTML in the demo and remove the extra col class from the elements, then the responsiveness works again.
...perhaps I am missing something entirely but I don't see this working on any examples out of the box...and I will have to fork this project to fix this if I want to use it right now - far as I can see.
I can submit a PR to remove the default col class if wanted?

Check out the bootstrap docs for this. All if the examples except 1 have the .col base class or a derivative of it, such as .col-12 which you probably need. The one example which doesn't have it may not be correct. Either way, removing .col is probably not the solution, but determining when it need to be there or not be there or allowing it to be removed may be need.
https://v4-alpha.getbootstrap.com/layout/grid/

@TheSharpieOne  I have looked at the docs...if you look at:
https://v4-alpha.getbootstrap.com/layout/grid/#stacked-to-horizontal
You can see their examples for the responsive layouts do not include the col class.

I cannot find a way to remove the base col class without modifying the source and not add it in the first place...and the elements will not stack unless the <Col /> is created without that base col class, only one of the col-* classes.

Right, that was the example I was talking about. Also if you add xs={12} it will layout as stacked for small screen sizes as you described/wanted without any code change or fork needed.
I believe the bootstrap docs are missing that. I am only on mobile right now and cannot confirm.

ah...I see what you are saying...you are correct.
As an example, the following works as expected:
<Row>
  <Col lg={3} md={6} sm={12} xs={12}>Test</Col>
  <Col lg={3} md={6} sm={12} xs={12}>Test</Col>
  <Col lg={3} md={6} sm={12} xs={12}>Test</Col>
  <Col lg={3} md={6} sm={12} xs={12}>Test</Col>
</Row>

As a side note, maybe an example of how to utilize the responsive breakpoints in the docs would be a good idea? I don't think there is an example of it...

hey thanks for your work on this, I've just come across the same issue.
I'm sure you're aware, but in case you're not - one benefit of using the TWBS grid is that you don't need to specify the width at every breakpoint, the smallest one is used and everything smaller is assumed to be fullwidth. So in your above example it should be sufficient to do lg={3} md={6}
It would be good to have the same behaviour in Reactstrap.

The workaround of specifying width for each breakpoint does not work if you want equal width for medium-up. Equal width requires you to not specify a number of columns.
Is there no way of doing this?

1 column for xs
Equal width columns for medium up (default behavior when you don't specify a number), this can become 5 columns or 7 or whatever depending on number of items in row.


Handle disconnecting players better

Feature
From @douglasmonsky:

People should probably be auto ejected when they leave the voice channel (or maybe after being gone for say 5 mins). Even when telling people pretty much no one actually leaves to the session via the bot, they just leave.

Players should be removed from the bot automatically, where possible.
Reasons for Implementing
Players don't leave the bot (because why would they?) which means they are left hanging around until someone uses ejects them or ends the lobby. This just is inelegant and annoying.
Ideas & Details
Some options to think about:

For automated lobbies, switch players to spectator when they disconnect from the game. (This will need careful handling to work smoothly over lobby restarts.)
Automatically remove missing players during intermission.

Would need some way to auto-rejoin when they come back.

Always disconnect players when they change channels.

They need to automatically reconnect when re-joining the channel.
Need to lock the player so another user can't join as them.

Alternatives

This issue is resolved in version 2.6.0-beta.7

This issue is resolved in version 2.6.0


minor documentation error in examples page for LocalCluster

On this page
https://examples.dask.org/delayed.html#Start-Dask-Client-for-Dashboard
there is this code snippet
from dask.distributed import Client, progress
client = Client(threads_per_worker=4, n_workers=1)

This does not run (on my minikube setup). I think it should be
from dask.distributed import Client, LocalCluster
cluster = LocalCluster(threads_per_worker=4, n_workers=1)
client = Client(cluster)

Thanks for raising an issue @murphyk. These two code snippets should be equivalent. If no scheduler address is passed to Client then a LocalCluster will be created automatically (for reference see the Client docstring).

This does not run (on my minikube setup)

Could you elaborate a bit more on how things aren't working. Do you get an error or warning?

Hmm, I cannot seem to reproduce the problem. Sorry for the false alarm. Closing the issue.


research KiCad library-utils project

https://gitlab.com/kicad/libraries/kicad-library-utils
Might have some good information to see how libraries can be modified programatically

kicad sexp parser: https://docs.kicad.org/doxygen/namespaceSEXPR.html


PostCSS upgrades

This PR includes major changes to postcss.   This PR depends on #232.
The package postcss-cssnext has been removed as it was not actually doing anything. All manual regressions are showing css environment as working good. Build is coming out nicely.
Requires a crosscheck because the postcss ecosystem is a big and intricate; chances I might have missed something.

Superseded by #266


Can't Start  when changing the folder name

it seems that the registered DHCP server service depends running folder path.  and can't uninstall or reinstall service.

Just make sure you have the DHCPServer.exe file in the location where you had it when you installed it, then uninstall, and you'll be good to reinstall it from new location just fine.


[Feature] Remove delete all records functionality and simplify codebase

Is your feature request related to a problem? Please describe.
Deleting multiple records in the admin is not essential for the current state of the project and makes the code cumbersome and unstable with the current implementation.
Describe the solution you'd like
Remove all copies of DeleteAllModal and the usage
We will provide the delete multiple functionalities on demand wherever we need them later on.
Extra goals:

Extract SelectCountry component from several locations like city forms
Remove redundant code related to API requests
Normalize file name with default exported component names

Waiting for https://github.com/podkrepi-bg/frontend/pull/640 to be merged so I update this PR with the necessary changes


Creating a topic if it doesn't yet exist

I believe that the auto.create.topics.enable setting of the Kafka server is not being honoured. By default the value of this setting is true, which means that when trying to produce to a non-existing topic, Kafka should create it instead of returning an error.
Example:
> kafka = Kafka.new(
>         seed_brokers: [Settings.kafka.broker],
>         client_id: Settings.kafka.client_id,
>         logger: Logger.new($stderr),
>     )
> prod = kafka.get_producer
> prod.produce('{"a":1}', topic: "testtopic")
I, [2016-02-10T17:03:55.881822 #26727]  INFO -- : Trying to initialize broker pool from node localhost:9092
I, [2016-02-10T17:03:55.882356 #26727]  INFO -- : Opening connection to localhost:9092 with client id sessions_api...
D, [2016-02-10T17:03:55.888256 #26727] DEBUG -- : Sending request 1 to localhost:9092
D, [2016-02-10T17:03:55.888625 #26727] DEBUG -- : Waiting for response 1 from localhost:9092
D, [2016-02-10T17:03:55.898070 #26727] DEBUG -- : Received response 1 from localhost:9092
I, [2016-02-10T17:03:55.898310 #26727]  INFO -- : Initialized broker pool with brokers: [<IP_ADDRESS>:9092 (node_id=0)]
D, [2016-02-10T17:03:55.898408 #26727] DEBUG -- : Closing socket to localhost:9092
Kafka::UnknownTopicOrPartition: unknown topic testtopic
  from /Users/fcorreia/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.1.3/lib/kafka/protocol/metadata_response.rb:131:in `partitions_for'
  from /Users/fcorreia/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.1.3/lib/kafka/broker_pool.rb:44:in `partitions_for'
  from /Users/fcorreia/.rvm/gems/ruby-2.3.0/gems/ruby-kafka-0.1.3/lib/kafka/producer.rb:158:in `produce'
  from (irb):54

I'll try to investigate this.

it seems, now you get a Kafka::LeaderNotAvailable exception when producing messages to a not yet existing topic. Only after creating a new kafka connection, the newly created topic will be recognized
irb> producer.produce("message", :topic => "new_topic")
=> 0.6035724008894491
irb> producer.send_messages
Kafka::LeaderNotAvailable: Kafka::LeaderNotAvailable
....

> producer = Kafka.new(:seed_brokers => ["<IP_ADDRESS>:9092"], :client_id => "photobay", :logger => Logger.new("/dev/null"))
irb> producer.produce("message", :topic => "new_topic")
=> 0
irb> producer.send_messages
=> nil

desired behaviour?

I got this behaviour too. It only went away after restarting zookeeper and kafka and publishing a message to the topic using the console producer.

Have you tried increasing the timeouts and retries? See the README for a decription of the various config keys.  It takes a while for Kafka to create the topic and elect a leader.

As far as i can see from a first sight into the respective code, the timeout and retry handling isn't in place for this case. ProduceOperation#execute invokes @broker_pool.get_leader(topic, partition) and no  leader is found, raising the exception. The exception handling is only used for actual responses to produce requests, not for the find leader operation. Please correct me if i'm wrong.

Hmm, that seems about right. I'll create a spec to replicate this bug and get it fixed.

Further complicating this issue is that if the topic doesn't exist at the time #produce is called. I'll merge #65 before fixing this, at that gives us a single retry loop and keeps #produce free of these concerns.

@filipefigcorreia @mrkamel can you try this out on the latest master?

it's still the same for me. Now it raises Kafka::LeaderNotAvailable within assign_partitions!
In addition, i'd like to mention, that now ProduceOperation#execute only catches LeaderNotAvailable. However, BrokerPool#fetch_cluster_info, which is called during @broker_pool.get_leader(...) in ProduceOperation#execute, could raise ConnectionError as well. I guess this should be catched as well.

I'll handle that as well.

@mrkamel have you tried increasing the timeouts or retries? I've got a passing functional test.

Ah, LeaderNotAvailable was not a subclass of Kafka::Error. Please try again.

Also: can you try increasing retries and backoff to at least 30s in total and include a full logging session?

I think I found the issue: assign_partitions! only rescued Kafka::Error, of which Kafka::LeaderNotAvailable was erroneously not a subclass. In my functional test I assigned a partition explicitly, so the code in question was not evaluated there.

still need more info?

I think it's fixed in the latest master – would be great if you could confirm.

working :+1:  thank you

Awesome!

I still get this behavior on 0.3.18.beta2.  Situation is that topic does not exist beforehand I get Kafka::LeaderNotAvailable error when trying to produce messages to the topic created by ruby-kafka.  Topics manually created on the broker do not yield the same behavior, have no issue with Leader and can produce.

@kyprifog are you using the async or the sync producer? If you're using the latter, you'll need to back off until a leader has been elected for each partition in the new topic. The async producer should do this automatically.
Topic creation isn't immediate, it can take a while, especially if you have lots of partitions.


Google Calendar events need alarm in order to show in the app.

Describe the bug
There is a bug in the Google Calendar selection. Currently, only events with set Alarms were selected. We should display all events beloging to the user, even if no alarm is set. Also, no events from other calendar should be shown, like hollidays.
To Reproduce
Steps to reproduce the behavior:

Create an Event in Google calendar. Do not set alram (like 30 minutes before)
Start the app and go to Calender

Expected behavior
This event should appear, but it does not. After editing the event and adding alarm, the event appears in the app.
Additional context
If we set an aram on the event from Google calenders, this event will appear.

I have created a fix in branch "calendar-fixes". Do you mind checking the fix with your Google events and let me know if it works for you. I have tested it, and it works, but I like a second tester.
Thanks

@imBenjamin741 I have created a fix in branch "calendar-fixes". Do you mind checking the fix with your Google events and let me know if it works for you. I have tested it, and it works, but I like a second tester.
Thanks

I just tried it on my Samsung A52 with Android 13:

I tried the Play store app and did 2 tests. First, I created an event with no alarm. I launched the app and it didn't show up. Then I tried to add a reminder for the event and restarted the app. The event was now there. With the Play Store version I only saw 2 events plus the one created for testing.
I built the app from the calendar-fixes branch, installed it and started it. I now see all the events (over 20), so the patch worked great!

Let me know if I can do more tests.
Thanks,
Beniamino

@imBenjamin741 Perfect! Thanks for tering. Wow you have 20 events? Impressive. They are all your events, right? No holidays, etc. Maybe next bug you can fix it. Now I will merge and create a new release 12.2 for playstore and F-Droid. This release will include your preveously reported bug about the permissions.
Cheers, Ivo

I have 3-4 events, my birthday, my friend's birthday and other standard google calendar events (Italian or international holidays such as Easter, Christmas, New Year, etc.). They all appear in the app, I don't know if this is the correct behaviour. Among other things, it shows me some events on which it says that the events are not compatible with the watch (are they past events?). Even in the previous version of the app an event had that warning.
Let me know,
Beniamino

No, this is not what we want. Holiday events, like Christmas, should not
show up. They don't appear on either of my phones, Android 11 and 12. So,
this could be something specific to your Samsung phone. I think Samsung
have their own calendar. To be sure, can you try on another phone?
I will look into it moe.
Thanks
On Thu, Feb 15, 2024 at 11:48 AM imBenjamin741 @.***>
wrote:

@imBenjamin741 https://github.com/imBenjamin741 Perfect! Thanks for
tering. Wow you have 20 events? Impressive. They are all your events,
right? No holidays, etc. Maybe next bug you can fix it. Now I will merge
and create a new release 12.2 for playstore and F-Droid. This release will
include your preveously reported bug about the permissions.
Cheers, Ivo
I have 3-4 events, my birthday, my friend's birthday and other standard
google calendar events (Italian or international holidays such as Easter,
Christmas, New Year, etc.). They all appear in the app, I don't know if
this is the correct behaviour. Among other things, it shows me some events
on which it says that the events are not compatible with the watch (are
they past events?). Even in the previous version of the app an event had
that warning.
Let me know,
Beniamino
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1946564419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37XHEY5G62FSA72GO7LYTY35NAVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGU3DINBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

No, this is not what we want. Holiday events, like Christmas, should not show up. They don't appear on either of my phones, Android 11 and 12. So, this could be something specific to your Samsung phone. I think Samsung have their own calendar. To be sure, can you try on another phone? I will look into it more. Thanks
…
On Thu, Feb 15, 2024 at 11:48 AM imBenjamin741 @.> wrote: @imBenjamin741 https://github.com/imBenjamin741 Perfect! Thanks for tering. Wow you have 20 events? Impressive. They are all your events, right? No holidays, etc. Maybe next bug you can fix it. Now I will merge and create a new release 12.2 for playstore and F-Droid. This release will include your preveously reported bug about the permissions. Cheers, Ivo I have 3-4 events, my birthday, my friend's birthday and other standard google calendar events (Italian or international holidays such as Easter, Christmas, New Year, etc.). They all appear in the app, I don't know if this is the correct behaviour. Among other things, it shows me some events on which it says that the events are not compatible with the watch (are they past events?). Even in the previous version of the app an event had that warning. Let me know, Beniamino — Reply to this email directly, view it on GitHub <#73 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37XHEY5G62FSA72GO7LYTY35NAVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGU3DINBRHE . You are receiving this because you authored the thread.Message ID: @.>

I removed a university account which, I do not know why, had all its holidays 'duplicated'. I ran a new test and now only events created by me are displayed. The application works fine.
A nice feature, which I've read about in another issue, would be the background time sync. I'll be really useful. I would be happy to help you implement it if you like the idea.
Let me know,
Beniamino

OK, looks like the University has sent you holiday schedule to your personal (student account). So, they are personal events. They should appear as the color as your birthdays.
So, I think the app works fine. I will merge with main, but will not make a release yet, pending testing for a day or so.

We can start a new discussion abiut the app running in the backgrownd. There are a few issues with that. You cal take a look at this issue. Main main problem with this is the app becomes intrusive and uses more battery. But we can discuss.

We can start a new discussion abiut the app running in the backgrownd. There are a few issues with that. You cal take a look at this issue. Main main problem with this is the app becomes intrusive and uses more battery. But we can discuss.

Could the application only be started when the synchronisation takes place (00:30, 6:30, 12:30 and 18:30)? A few minutes earlier at most. That way the application runs very little time in the background and uses little battery and performance.
Anyway, if I have not been clear in the outcome of the calendar tests and you need any further verification I am always available. I apologise if I have caused any confusion.
Kind regards,
Beniamino

I think the Calendar is OK. I tested it with 3 phones and 3 accounts, and it seems file. I merged it with main. Feel free to build from main and try with your phones, enabling and disabling alarms to see if it makes a difference. I am not creating a new relases for a couple of days yet.

About the background tasks, this is easely atchived by running one of these programs: Tasker or MacroDroid. One of the main compalain about the official app is that is "always in my face". If you keep it in the backgrownd, it must always show a notification, which is anoying. I'm not discoraging you from trying, but we have attemted this a few times and it has never worked well.

I think the Calendar is OK. I tested it with 3 phones and 3 accounts, and it seems fine. I merged it with main. Feel free to build from main and try with your phones, enabling and disabling alarms to see if it makes a difference. I am not creating a new releases for a couple of days yet.

Describe the bug
There is a really strange bug. I noticed that the first 5 events displayed in the calendar section are always enabled when you start the application. The problem is that if the events are incompatible with the clock, the toggle remains graphically in the off position even though the event is actually enabled, preventing you from enabling other events (the warning "Max ${EventsModel.MAX_REMINDERS} items already enabled. Please disable some first." will appear on the screen).
To get rid of the bug, you have to click on the incompatible event, even if the toggle is in the off position, and it will be disabled.
Another strange thing is that you can enable incompatible events.
To Reproduce
Steps to reproduce the behavior:

Have at least 5 events, one of which is incompatible with the watch;
The first 5 events are automatically enabled;
You could see the toggle enabled only on the compatible events;
If you try to enable another even you will get the above-mentioned warning even though you could only see less than 5 events enabled.

Additional context
The first thing that could be done would be to not enable the first 5 events. After that I will disable the option to enable incompatible events and I would make sure that incompatible events are always disabled at runtime to avoid bugs.
I hope I was clear. Kind regards,
Beniamino

No, we can stay on this thread.
Firslty, can you described the events that are incompatible? Are these complex events?
Ok, you can give it a try to see how it goes.
Remeber that sometime events are sent to the watch in the backgrownd, like from an Action or when Automaic time update takes place. Only enabled events are sent in that case, so we would like to have the first 5 events enabled, usually.
I think this bug sometime happens iven with normal, compatible events. If you have more than 5 events, amd 5 a pre-selected, sometime unselecting one event and then selecting it again displays this error. I have not address this issue, bacuase it is not consistant.

Firslty, can you described the events that are incompatible? Are these complex events?

I honestly don't know, only my birthday and the holidays on my university account are marked as incompatible events. They seem like normal events in the Google Calendar app. Maybe they could be hidden so that the bug doesn't happen. As far as I understand the code knows which events are compatible and which are not.

Remeber that sometime events are sent to the watch in the backgrownd, like from an Action or when Automaic time update takes place. Only enabled events are sent in that case, so we would like to have the first 5 events enabled, usually.

Ok now I understand why the first five events are enabled.

Can you create another branch, and I think you need to create a pull request, right?

Are you talking about a branch to implement the background sync or to fix the bug I just reported?

For this bug, if you can work on it.
The background task I'm not sure we like to do. You can open a Issie for
it, and we will look it later.
On Thu, Feb 15, 2024 at 3:43 PM imBenjamin741 @.***>
wrote:

Firslty, can you described the events that are incompatible? Are these
complex events?
I honestly don't know, only my birthday and the holidays on my university
account are marked as incompatible events. They seem like normal events in
the Google Calendar app. Maybe they could be hidden so that the bug doesn't
happen. As far as I understand the code knows which events are compatible
and which are not.
Remeber that sometime events are sent to the watch in the backgrownd, like
from an Action or when Automaic time update takes place. Only enabled
events are sent in that case, so we would like to have the first 5 events
enabled, usually.
Ok now I understand why the first five events are enabled.
Can you create another branch, and I think you need to create a pull
request, right?
Are you talking about a branch to implement the background sync or to fix
the bug I just reported?
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1947310884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37QRX2Q3H4HEBITH7HDYTZXQBAVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXGMYTAOBYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

For this bug, if you can work on it. The background task I'm not sure we like to do. You can open a Issie for it, and we will look it later.

Ok, I will work on it, I hope I can fix it. I can't create directly a branch, I need to fork the repo and the create a pull request when the code is ready.
I will let you know,
Beniamino

Maybe while you are at it, try to determine why your events are marked as "incompatible". I think this is a good start. Usually event is incompatible if it has some coplex rules, which cannot be imlemented in the Casio watch, like "Every second Thuesday of the Month". This is beyond the capabilities of the watch. So, it would be good to find out why your simple events are marked 'incompatime".
Thanks again for your effort.

Maybe while you are at it, try to understand why your events are marked as "incompatible". I think this is a good start. Usually event is incompatible if it has some coplex rules, which cannot be imlemented in the Casio watch, like "Every second Thuesday of the Month". This is beyond the capabilities of the watch. So, it would be good to find out why your simple events are marked 'incompatible".
Thanks again for your effort.

I've identified one of the two types of incompatible events: it turns out that both the RRule library and the RRuleValues.kt code only check if the UNTIL property of the RRule is formatted as DateTime, overlooking the possibility of it being a simple Date. Google Calendar, for instance, saves UNTIL as a Date, leading to the app marking such events as incompatible. I've addressed this issue in my fork of the project. Additionally, I've forked the RRule library to implement the necessary fix and seamlessly integrated it with the CasioGShockSmartSync project. Let me know what you think of these changes. Now I need to take care of the other type of incompatible event.
Beniamino

I'll get back to you on there shortly

So, I created a custom event, starting Feb 21 and ending Apr 20, repeating weekly. It apperas in the app

and it appears like this in the app:

So, I created a custom event, starting Feb 21 and ending Apr 20, repeating weekly. It apperas in the app

and it appears like this in the app:

Try to create an event which repeats every year instead of every week. That was the test that I've done.

OK, repaet every year on Feb 21 to April-21, 2026, I got this:

Are you usung Google calender or another one?

OK, repeat every year on Feb 21 to April-21, 2026, I got this:

I left the title the same.

I can show you that on my phone the error occurs... I don't why the issue is not replicable...
This is the event (sorry for the Italian language but it should be understandable)

This is the app

Are you usung Google calender or another one?

I'm using Google Calendar

With the patched app the event shows up just fine.

OK, I'll try to reproduce it. Is that created with a custom event?
I'm not saying you are doing something wrong, I just want tu understand the reason for the patch.
I'll get back to you tlater

OK, I'll try to reproduce it. Is that created with a custom event?
I'm not saying you are doing something wrong, I just want tu understand the reason for the patch.
I'll get back to you tlater

The event is created with the "plus" button in bottom right corner. I select the option "event" and after that I fill the page as I showed you in the previous image.

With the patched app the event shows up like that

I mean forking, not working
On Fri, Feb 16, 2024, 2:07 PM Ivo Zivkov @.***> wrote:

Ok, I have been creating the events on the desktop, not on the phone. I
think the phone app does it a bit different, and I will test when I get a
chance.
Is there anyway to go around the problem on this app, instead of working
their lib? I really don't like the idea of having a custom version of their
library.
On Fri, Feb 16, 2024, 2:01 PM imBenjamin741 @.***>
wrote:

With the patched app the event shows up like that Screenshot_20240216_200031_Casio.G-Shock.Smart.Sync.jpg
(view on web)
https://github.com/izivkov/CasioGShockSmartSync/assets/77834064/bfe0570f-dfeb-4127-893e-0eaab1e0016f
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1949129812,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37WY6KBZFYODXKS6M5LYT6UJDAVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGEZDSOBRGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, I have been creating the events on the desktop, not on the phone. I
think the phone app does it a bit different, and I will test when I get a
chance.
Is there anyway to go around the problem on this app, instead of working
their lib? I really don't like the idea of having a custom version of their library

Yes, of course. We need to add the last part to the UNTIL property (T000000Z) if missing and the problem is fixed. I created a custom versione of the library because the iCalendar documentation (RFC 5545) says that the UNTIL property could be in both of the formats. So why create a workaround when the library does not meet the standards? We could improve it for this and other projects. In any case the fix is very easy.

Perfect. We can still submit a pull request to them and see if they
incorporate it. If so, we can remove our hack.
Sorry, have not had a chance to look at your code, but please submit a PR,
and we can discuss tomorrow.
On Fri, Feb 16, 2024, 2:17 PM imBenjamin741 @.***>
wrote:

Ok, I have been creating the events on the desktop, not on the phone. I
think the phone app does it a bit different, and I will test when I get a
chance.
Is there anyway to go around the problem on this app, instead of working
their lib? I really don't like the idea of having a custom version of
their library
Yes, of course. We need to add the last part to the UNTIL property
(T000000Z) if missing and the problem is fixed. I created a custom versione
of the library because the iCalendar documentation (RFC 5545) says that the
UNTIL property could be in both of the formats. So why create a workaround
when the library does not meet the standards? We could improve it for this
and other projects. In any case the fix is very easy.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1949167655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37XVDZ7FOHYFTC2ECWDYT6WD7AVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGE3DONRVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@imBenjamin741
Beniamino, if your patch is working, feel free to create a Pull Request, so we can merge it.
Ivo

@imBenjamin741
Beniamino, if your patch is working, feel free to create a Pull Request, so we can merge it.
Ivo

The patch works but uses the modified library. Today I was busy and I didn't have a chance to modify the code to create the workaround I was telling you about. As soon as I have time I'll fix it and make the pull request.
Thanks,
Beniamino

For some reason, I cannot reproduce the problem with the incompatible event. I tried creating one from my Android phone and it still worked for me.
Could you add me to your test event, so I can test with your event.
Thanks

For some reason, I cannot reproduce the problem with the incompatible event. I tried creating one from my Android phone and it still worked for me.
Could you add me to your test event, so I can test with your event.
Thanks

Sorry for the late reply, I've been very busy with university lately... I should have invited you to the event. See if you can replicate the error and let me know.
Thank you,
Beniamino

I don't have Android 14 yet but I should receive the update in a few weeks.
For now everything works perfectly.
Beniamino
Il Lun 19 Feb 2024, 13:27 Ivo Zivkov @.***> ha scritto:

Ok, I can see your event is not compatible with the watch.
I'm working on a connection issue for some phones. Do you have Android 14?
If so, is it working for you. Some users reported that that have to press
the FORGET button for each connection.
Thanks
Ivo
On Mon, Feb 19, 2024, 3:20 AM imBenjamin741 @.***>
wrote:

For some reason, I cannot reproduce the problem with the incompatible
event. I tried creating one from my Android phone and it still worked
for
me.
Could you add me to your test event, so I can test with your event.
Thanks
Sorry for the late reply, I've been very busy with university lately...
I
should have invited you to the event. See if you can replicate the error
and let me know.
Thank you,
Beniamino
—
Reply to this email directly, view it on GitHub
<
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1951920942>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AA7M37RRDLCCG5ECI3TXSGLYUMDL3AVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRHEZDAOJUGI>

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/73#issuecomment-1952346607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASR2OUAHNXBHFP2VQWNJOP3YUNAKPAVCNFSM6AAAAABDKQP6BSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGM2DMNRQG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Initial information:

I have Android 14, crDroid, without Google Apps,
I don't use Google Calendar, I have a calendar built into the system: org.lineageos.etar

After updating from v12.1 to v12.2, the application stopped seeing my events from this calendar. Displays an empty list on the calendar tab.
In the earlier version, the app correctly saw my events and allowed me to send them to the watch.
Of course, I don't expect this to work for me because I don't use Google Calendar. I just want to let you know that this option previously worked correctly with my calendar, but with the new version it no longer works.
I have cyclical calendars (monthly and yearly) with an alarm.

@tomasz-c, Thanks for reporting this. I think I know what happened. Before this update, we could only see events that had alarms. This is not quite right because you may have an event that is not set by yourself, like an airline schedule set by the airline. In that case, they will not set an alarm for this event, and the event will not appear in the app. I changed that so all events in your personal calendar will appear. By personal calendar, I guess this means your account on the phone. This will eliminate other calendars, like holidays, which are not in your "Holiday" calendar. This is not an issue if you are running Google Calendar, but I am not sure about other calendars.
So, what is the correct course of action? I can make a fix so that it will display either events which are in your calendar or events which have alarms. This should handle most cases.
@tomasz-c and @imBenjamin741, what do you think?
Ivo

Yes, I like this idea. As you say, it would handle most cases.
Alternatively, maybe there is a way to set my calendar to be visible to the application like Google Calendar.
For example this application https://f-droid.org/packages/org.sufficientlysecure.ical/
shows my calendar as local and offline. Maybe some specific calendar name is required to be included?
Thank you for your interest in the topic even though I am not a Google customer :)

@tomasz-c This app looks promissing, and I will take a look at it in detail when  I get a chance. In the meantime, I have updated "main" branch with my quick fix, and pushed it to GitHib. You can build the app and try it if you like. I'm trying to finish the BLE updates, and will create a new relase, hopefully in the next few days.

@izivkov I built the app with the latest changes. I confirm that I can see my calendar entries again and can sync them.
Thank you for these commits.

Fixed


Can I use an xslt-file with xml2js?

Hi I cannot find any information on the question in the title.
I have a bunch of xml-files that I want transformed in a node/express/ejs environment using the same xslt-file over and over again.
(The files are all TEI-files containing marked up text)
I thought about using ejs and create a:
`
<%  files.forEach(function (files) { %>

<%= <-- Enter transformed xml file here %>

<%  }); %>

`
I hope you can clear this up?
best wishes,
K

Since the user was deleted in the meantime, I doubt we'll get much more information out of this.


[BUG] SpellCache is not populating for new accounts.

🔵 Describe the bug:
When Sequence Deguuger is enabled, it will not show the spells being cast. Instead, I get a lua error.
🔵 To reproduce: (Steps to reproduce the behavior)
Call up the Sequence Debugger
Press enable
Press the keybound sequence
The spell fires. I made a simple one that just has Thunder Clap in it.
Nothing happens in the debugger but a lua error Shows up
🔵 The error:
Paste the error message in this blockquote.
Message: Interface/AddOns/GSE_Utils/Events.lua:14: bad argument #1 to 'FindSpellBookSlotForSpell' (Usage: local spellBookItemSlotIndex, spellBookItemSpellBank = C_SpellBook.FindSpellBookSlotForSpell(spellIdentifier [, includeHidden, includeFlyouts, includeFutureSpells, includeOffSpec]))
Time: Wed Jul 17 15:14:51 2024
Count: 1
Stack: Interface/AddOns/GSE_Utils/Events.lua:14: bad argument #1 to 'FindSpellBookSlotForSpell' (Usage: local spellBookItemSlotIndex, spellBookItemSpellBank = C_SpellBook.FindSpellBookSlotForSpell(spellIdentifier [, includeHidden, includeFlyouts, includeFutureSpells, includeOffSpec]))
[string "@Interface/AddOns/Blizzard_FrameXML/RestrictedExecution.lua"]:483: in function <...ace/AddOns/Blizzard_FrameXML/RestrictedExecution.lua:446>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/Blizzard_FrameXML/SecureHandlers.lua"]:285: in function <...nterface/AddOns/Blizzard_FrameXML/SecureHandlers.lua:279>
[string "=(tail call)"]: ?

Locals: owningFrame = SIMPLE {
}
signature = "self,button,down"
body = "    local step = self:GetAttribute('step')

    step = tonumber(step)
    if self:GetAttribute('stepped') then
        self:SetAttribute('stepped', false)
    else
        for k,v in pairs(spelllist[step]) do
            self:SetAttribute(k, v )
        end

        step = step % #spelllist + 1
        self:SetAttribute('stepped', true)
        self:SetAttribute('step', step)
        self:CallMethod('UpdateIcon')
    end
    "
factory = <table> {
}
LOCAL_Closure_Factories = <table> {
 self = <table> {
 }
 self,button,down = <table> {
 }
}
LOCAL_execution_count = 1

🔵 Screenshots:

🔵 Expected behavior:
The Sequence Debugger to show what the sequence is trying to do.
🔵 GSE.lua file:
GSE.lua.txt
🔵 Desktop (please complete the following information):

OS: [e.g. Windows 11 64bit]
Game Version TWW Beta

🔵 GSE Version:

Version: 3.2.00-beta4-3-gbebb707-PatronBuild
Downloaded From: Discord gse-resources
🔵 Additional context:
This is a fresh install with no other addons.

Have the right file this time

I am not getting your error  - I am also using 3.2.00-beta4-9 instead of  3.2.00-beta4-3 which might have something to do with your issue.

I updated, and nothing changed.

Are you playing in a different language to English?

No.  I tried the debugger in retail, and it works. That should eliminate something in Windows causing the problem, right?

wonder if you would try this:
/run GSESpellCache["enUS"]["Thunder Clap"] = 6343

then try to debug again

That worked.

I think this and #1501 are connected

I tried a more complicated sequence (davyjones') and Thunder Clap was the only spell recognized.

Ths issue is the SpellCache is not caching.

Am I somehow missing the spell table? How would I check that?

Its more a case of GSE not populating it when it should

Found and fixed in beta4-11


Event for materialize select open

I noticed that it is possible for 2 materialize select dropdown can be opened and thus have several issues coding the z-index of each created instances. I'll like to code it so that when one is opened the other should be closed but can't get the event when the open dropdown triggers.

How are you managing to have 2 open? They should close if you open another

Ok this code for the scroll was the cause.
$(document).ready(function() {
$('select').material_select(function() {
$('input.select-dropdown').trigger('close');
});
var onMouseDown = function(e) {
  // preventing the default still allows the scroll, but blocks the blur.
  // We're inside the scrollbar if the clientX is >= the clientWidth.
  if (e.clientX >= e.target.clientWidth || e.clientY >= e.target.clientHeight) {
    e.preventDefault();
  }
};
$(’select').siblings('input.select-dropdown').on('mousedown', onMouseDown);

})
But i noticed that the scroll snit active unless clicked on internet explorer. Any fix?

It looks from your code that you are on an old version. Have you tried our latest alpha build? That is the build we are currently updating.

Actually using the latest version, just a wrong embedded javascript code.
But still struggle with the scrolling not being focused on the select on ie
11
On Wed, Mar 21, 2018 at 10:30 PM, Alan Chang<EMAIL_ADDRESS>wrote:

It looks from your code that you are on an old version. Have you tried our
latest alpha build? That is the build we are currently updating.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Dogfalo/materialize/issues/5747#issuecomment-375102167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEtK1P2hts9C9Di5o3pH9hUWkxkqd4Abks5tgsZagaJpZM4Su4bb
.


Save manual control actions

Hello, author! I have a question. when i set the manual control is true, i would like to record discrete actions. How can I do this please? I look forward to your reply!

Hi! This is not supported at the moment, but here is where the discrete actions are handled with manual control:
https://github.com/eleurent/highway-env/blob/3f569cfa766b454d545fcf048be3f7fb46f8a11a/highway_env/envs/common/graphics.py#L179
You can edit this code to save the actions, e.g. in some global variable.


Tab groups feature not mentioned

Should the "tab groups" feature be listed here? It's listed in the version notes for 93.0.961.38 https://docs.microsoft.com/en-us/deployedge/microsoft-edge-relnote-archive-stable-channel but it's unclear if it's available on all platforms?
I also think there is a lack of promotion for this feature and no user training available. The only info I found was in a blog post https://blogs.windows.com/windowsexperience/2021/09/23/our-top-new-features-are-designed-to-put-your-family-first/

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

ID: c5379113-884d-a8b9-f76f-2debd872867c
Version Independent ID: 7f6a4574-4f2e-e6ca-f8e5-d17531a0718e
Content: Platform support for Microsoft Edge features
Content Source: edgeenterprise/microsoft-edge-platform-feature-matrix.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: collw

@Kath-Anne Hello - The Feature matrix for platforms document does include many Microsoft Edge features but it is not a full comprehensive list.  Currently, there are no plans to add Tab Groups.
We appreciate you reaching out and thank you for your feedback!  I will pass the suggestions on to the team.


Adds MySQL extension walkthrough to README

Adds walkthrough documentation for creating an extension to the MySQL management pack.

Looks great! Approved pending resolution of the line / whitespace issue.


Check and prompt to install missing dependencies

While working on another task came across this bug.
Basically if the kernel spec contains the interpreter information then we don't check if ipykernel is installed.

Codecov Report

Merging #4320 (12c2425) into main (a034e04) will increase coverage by 4%.
The diff coverage is 75%.

@@           Coverage Diff           @@
##            main   #4320     +/-   ##
=======================================
+ Coverage     70%     75%     +4%
=======================================
  Files        389     389
  Lines      25459   25462      +3
  Branches    3640    3641      +1
=======================================
+ Hits       18063   19245   +1182
+ Misses      5994    4735   -1259
- Partials    1402    1482     +80

Impacted Files
Coverage Δ

...ient/datascience/jupyter/kernels/kernelSelector.ts
82% <75%> (+2%)
:arrow_up:

src/client/common/cancellation.ts
79% <0%> (-5%)
:arrow_down:

src/client/datascience/jupyter/jupyterServer.ts
76% <0%> (-4%)
:arrow_down:

...t/common/variables/environmentVariablesProvider.ts
77% <0%> (-4%)
:arrow_down:

src/client/datascience/jupyter/jupyterSession.ts
82% <0%> (-3%)
:arrow_down:

...lient/datascience/jupyter/jupyterSessionManager.ts
72% <0%> (-2%)
:arrow_down:

src/client/datascience/jupyter/jupyterExecution.ts
72% <0%> (-2%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
74% <0%> (-1%)
:arrow_down:

src/client/datascience/liveshare/liveshare.ts
66% <0%> (ø)

...active-common/intellisense/intellisenseProvider.ts
74% <0%> (+<1%)
:arrow_up:

... and 74 more

Codecov Report

Merging #4320 (12c2425) into main (a034e04) will increase coverage by 4%.
The diff coverage is 75%.

@@           Coverage Diff           @@
##            main   #4320     +/-   ##
=======================================
+ Coverage     70%     75%     +4%
=======================================
  Files        389     389
  Lines      25459   25462      +3
  Branches    3640    3641      +1
=======================================
+ Hits       18063   19245   +1182
+ Misses      5994    4735   -1259
- Partials    1402    1482     +80

Impacted Files
Coverage Δ

...ient/datascience/jupyter/kernels/kernelSelector.ts
82% <75%> (+2%)
:arrow_up:

src/client/common/cancellation.ts
79% <0%> (-5%)
:arrow_down:

src/client/datascience/jupyter/jupyterServer.ts
76% <0%> (-4%)
:arrow_down:

...t/common/variables/environmentVariablesProvider.ts
77% <0%> (-4%)
:arrow_down:

src/client/datascience/jupyter/jupyterSession.ts
82% <0%> (-3%)
:arrow_down:

...lient/datascience/jupyter/jupyterSessionManager.ts
72% <0%> (-2%)
:arrow_down:

src/client/datascience/jupyter/jupyterExecution.ts
72% <0%> (-2%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
74% <0%> (-1%)
:arrow_down:

src/client/datascience/liveshare/liveshare.ts
66% <0%> (ø)

...active-common/intellisense/intellisenseProvider.ts
74% <0%> (+<1%)
:arrow_up:

... and 74 more


paket template semver support fixes and tests

fixed compound constraint partial regression
added further tests, specific to compound constraints
added more compound constraint variants, with tests

is there any blocker of this PR?
it complements #3229, fixing a marginal regression
(compound constraints with multiple replacements),
and adds more supported scenarios – with more tests, this time

thx!


Share video to Instagram on IOS

I'm using "rn-fetch-blob", "react-native-fs" and "react-native-share" to share video to instagram.
Video is downloaded from server, stored in cache, then path provided to shareOptions.
On Andrid works perfectly but on IOS post in Instagram have black preview screen.
I know that Instagram takes first frame from video to make preview and my video haven't any black frames.
I suppose it's something wrong with "react-native-share" library, but i can't understand what is the problem
Here is the code I`m using
RNFetchBlob.config({
fileCache: true,
appendExt: "mp4" })
.fetch("GET", data.video)
.then(async res => {
const path = await res.path()
const shareOptions = {
url:  path,
}
try {
await Share.open(shareOptions)
....

@jgcmarins what info do you need? I will gladly supply

Is there any error message?
or a promise rejection?

@jgcmarins No. No errors, no rejections. It does transfers video to instagram app, but then it has black preview screen in instagram app and website. It happens only on IOS, android devices have no such problem.

Got it.
Could you provide any reproducible repo?

@jgcmarins I'm afraid i cant


How about when you create or delete a table in voyager admin it will create migration file too ?

Version information

Laravel: v5.7.0
Voyager: v1.1
PHP: 7.1
Database: 5.7

Description of problem

Hi all, have you ever thought  about making or delete the table in voyager admin GUI it simultaneously make the migration file too ? it's cool right ?
It's just for keep the database development history under our control :D
Proposed solution
If the voyager community has the same mind with me, maybe i will help and create a pull request
Alternatives considered
Additional context
It's my oppinion, if something about my "feature request" goes worng, forgive me :) THANKS !!

Wow, im new to using voyager, but i got this picture when access other issue in github

It's look like in previous version, voyager has feature for "make migration file" too when create a table
But, why there's no this feature in 1.1 ?
Whats wrong ?
:thinking:

Oh i see, sorry for not search about this relevant issue before
Thanks :)


Redirect errors in Google Search Console Report

The following URLs are showing redirect errors associated with them:

https://developer.fermyon.com/spin/quickstart/rust-components
https://developer.fermyon.com/spin/quickstart/go-components
https://developer.fermyon.com/spin/quickstart/configuration
https://developer.fermyon.com/spin/configuration/redis-trigger
https://developer.fermyon.com/spin/rust-components/redis-trigger

We most likely need to:

look at the developer/spin.toml file and add/remove/update redirects
ensure the sitemap.xml is showing these pages correctly

Also, just inspecting the rest of those URLs (in the second comment block, of this GH issue), which are all returning 404 errors, we could also implement 301s if we knew 100% where those URL were intending to resolve.
As far as the external URLs like the shortened ones from third-party sites that end in ... the user will logically receive the following page (which in fairness does have guidance to find home or spin docs or cloud docs etc). Perhaps we could create a new GH task to make the 404 more visually appealing than just small text with links @flynnduism, any ideas on giving the 404 a makeover?

Thanks @itowlson
This has been an interesting dive into our URLs; perhaps we can close this issue and open a new one just covering the 302 to 301 work and a separate issue that covers working on giving the 404 page an upgrade. Does anyone agree; any extra comments?
(Don't want one issue to split into multiple tasks/conversations) :)

Yep, we already have an issue for the 301 work: https://github.com/fermyon/spin-redirect/issues/3


default internal encoding not restored at the end of tc_encoding.rb, tc_encoding_sax.rb

In the test tc_encoding.rb, the default internal encoding is modified, but not restored at the end in a teardown method of the TestEncoding class. This causes random failures for tests in other files relying on encoding, when tests are run in random order.
I suggest to save the state of Encoding.default_internal in the setup method, and restore it in teardown.
The file tc_encoding_sax.rb also sets the default internal encoding in setup but doesn't seem to modify it in the tests. But a save/restore mechanism could be also used there.

Nice catch.  Want to submit a patch?


ci: consider adding macOS x86_64

At the time of writing, the latest release of chalk (0.4.7) has binaries available for:

macOS aarch64
Linux aarch64
Linux x86_64

and the intention is for macOS x86_64 binaries to once again be published in the future.
With https://github.com/crashappsec/libcon4m/commit/14604adf6ca68c75a08360129d71beb63571c1d1, libcon4m is built in CI with macOS aarch64 and Linux x86_64. When it makes sense, we should add macOS x86_64.
Related: https://github.com/crashappsec/libcon4m/issues/50

Should be all that you need to do is get the currently cached con4m .a files for those platforms cached in the same place and probably will just work.


V100rc1 release

Description of the change
Support of release v1.0.0-rc.1. Since the release branch is protected, we must do this PR.

Test results have been attached to the original release issue.


LICENSE?

MIT?

@feit https://github.com/jianliaoim/talk-android/commit/363e0e31cb7c365f5b99b93a861d344d101b1565


Duplicated log messages when chained rule matched

ModSecurity v3 sends log lines multiple times
If there is a chained SecRule (for eg. CRS 920250), then the engine sends the rule messages many times as the rule chained (the 920250 sends as two times).
The lines are in reversed order, at the first place is the last chained rule, the last is the first rule (I think it about the tag actions of each chained rules).
Example output
ModSecurity: Warning. Matched "Operator `ValidateUtf8Encoding' with parameter `' against variable `ARGS:test' (Value: `test%\xff1' ) [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "451"] [id "920250"] [rev ""] [msg "UTF8 Encoding Abuse Attack Attempt"] [data "1"] [severity "4"] [ver "OWASP_CRS/3.1.1"] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "http://localhost/"] [unique_id "156685033144.236286"] [ref "o5,7v27,7"]

ModSecurity: Warning. Matched "Operator `ValidateUtf8Encoding' with parameter `' against variable `ARGS:test' (Value: `test%\xff1' ) [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "451"] [id "920250"] [rev ""] [msg "UTF8 Encoding Abuse Attack Attempt"] [data "1"] [severity "4"] [ver "OWASP_CRS/3.1.1"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/EVASION"] [hostname "<IP_ADDRESS>"] [uri "http://localhost/"] [unique_id "156685033144.236286"] [ref "o5,7v27,7"]

Note, that Operator attributes of rule messages are equal - I guess that's not right, because each rule has an own and unique operator.
Also there is a bug (I think that's a new parser issue), that the line attributes are wrong: the logged values are not the correct line numbers, they are next empty lines after the previous rule.
How to Reproduce
With a simple curl command: curl -v "http://localhost/?test=test%FF1", and see the log.
Expected behavior
I think the expected behavior would be that every (chained) rule exists only once per request with the correct line number. But this is my question: is this a feature or a bug?

Hi @airween,
Thank you for the report, please provide a way to reproduce the issue.

Here is a gist:
https://gist.github.com/airween/42d00345d7f9de0082462c2417f47a5e
but I don't know why, the debug.log is empty when I run the test/regression_test.

Whenever you run the regression tests the debug log is printed on the console by the end of a failed test case.

Sorry, I thought error.log, not debug.log. The duplicated logs are in webserver's error.log.

Same thing. The error log is in the console output.

Right, changed the regression test, see the new one:
https://gist.github.com/airween/3e9c40c4b6663b38168bbc08233e7660
The output:
ModSecurity: Warning. Matched "Operator `Pm' with parameter `AppleWebKit Android' against variable `REQUEST_HEADERS:User-Agent' (Value: `curl/7.38.0' ) [file "issue-2157.json"] [line "3"] [id "920300"] [rev ""] [msg "Request Missing an Accept Header"] [data ""] [severity "5"] [ver "OWASP_CRS/3.2.0"] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "156873216068.506055"] [ref "v0,3v54,11"]
ModSecurity: Warning. Matched "Operator `Pm' with parameter `AppleWebKit Android' against variable `REQUEST_HEADERS:User-Agent' (Value: `curl/7.38.0' ) [file "issue-2157.json"] [line "3"] [id "920300"] [rev ""] [msg "Request Missing an Accept Header"] [data ""] [severity "5"] [ver "OWASP_CRS/3.2.0"] [maturity "0"] [accuracy "0"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "156873216068.506055"] [ref "v0,3v54,11"]
ModSecurity: Warning. Matched "Operator `Pm' with parameter `AppleWebKit Android' against variable `REQUEST_HEADERS:User-Agent' (Value: `curl/7.38.0' ) [file "issue-2157.json"] [line "3"] [id "920300"] [rev ""] [msg "Request Missing an Accept Header"] [data ""] [severity "5"] [ver "OWASP_CRS/3.2.0"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [tag "paranoia-level/2"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "156873216068.506055"] [ref "v0,3v54,11"]

with one request.
Thanks.

This duplication issue was corrected in v3/master back on November with https://github.com/SpiderLabs/ModSecurity/commit/6395fe07ce397f85b14ce63f79cb124a9783c082
Only the final rule in a chain results in a 'Matched' message.  This is consistent with v2.9 behaviour and appears to have been an intentional design decision ... although that's a decision we may choose to revisit at some point.

Now I ran into this problem again.
git log -1
commit 0eb3c123f447b8787ea726ad4d4439018a07ee31 (HEAD -> v3/master, upstream/v3/master)
Merge: a1a8c0fd b9620c26
Author: martinhsv<EMAIL_ADDRESS>Date:   Mon Jul 6 07:54:44 2020 -0400

    Merge pull request #2348 from martinhsv/v3/master

    rx:exit after full match; fix TX population after unused group

I'm using OWASP CRS 3.3.
curl -vvv -H "Accept:" "http://localhost:8080/"
In error.log:
2020/07/07 11:11:43 [info] 319570#319570: *1 ModSecurity: Warning. Matched "Operator `Pm' with parameter `AppleWebKit Android' against variable `REQUEST_HEADERS:User-Agent' (Value: `curl/7.68.0' ) [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1256"] [id "920300"] [rev ""] [msg "Request Missing an Accept Header"] [data ""] [severity "5"] [ver "OWASP_CRS/3.3.0"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/6.5.10"] [tag "paranoia-level/2"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "1594120303"] [ref "v0,3v48,11"], client: ::1, server: _, request: "GET / HTTP/1.1", host: "localhost:8080"
2020/07/07 11:11:43 [info] 319570#319570: *1 ModSecurity: Warning. Matched "Operator `Pm' with parameter `AppleWebKit Android' against variable `REQUEST_HEADERS:User-Agent' (Value: `curl/7.68.0' ) [file "/usr/share/modsecurity-crs/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1256"] [id "920300"] [rev ""] [msg "Request Missing an Accept Header"] [data ""] [severity "5"] [ver "OWASP_CRS/3.3.0"] [maturity "0"] [accuracy "0"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "PCI/6.5.10"] [tag "paranoia-level/2"] [hostname "<IP_ADDRESS>"] [uri "/"] [unique_id "1594120303"] [ref "v0,3v48,11"], client: ::1, server: _, request: "GET / HTTP/1.1", host: "localhost:8080"

Is that normally?

Hi @airween ,
I can reproduce what you have reported.  And, no, I'm pretty sure it's not an expected behaviour.
Note that it is not related to the most recent merge  (Indeed, that would be quite a surprising side effect of that change).
This may be a temporary phenomenon given that some of the v3.1 code changes have yet to be merged.  Thanks for mentioning it though.

Hi @airween ,
Just following up on the post-closure activity and I find that I cannot currently reproduce what you had reported -- not with current v3/master and not with v3/master as it existed in July 2020.
I no longer have the same setup that I used back then so it makes me wonder aloud if there might have been some other configuration detail common to us both that might have been the actual cause of this effect (e.g. error redirects resulting in two requests being analyzed, perhaps?)
If you believe this is a current problem, I'm going to suggest opening a fresh issue for it.  For one thing, if there is a problem in ModSecurity code, I think it's likely to be different from the original solution to 2157 (implemented in Nov. 2019).  Also, it would make for clearer tracking to have an issue with the 'Open' status.
If you believe it is still a problem, we can then work through whatever is needed to make it reproducible on my end.


Move entry point address info from app table to task table

Is your feature request related to a problem? Please describe.
The ES global currently tracks task entry point in the app table, not task table.  As a result only the "main" task entry point of an app is tracked in this regard.  As child tasks are created, these all have different entry points, but they aren't stored, and therefore cannot be reported in the telemetry as reported via e.g. QUERY_ALL_TASKS.
Describe the solution you'd like
Hold the actual runtime entry point address in the Task table rather than the App table.
Additional context
This would simplify the current task entry logic as it would only need to look at the task entry, not the app+task entry combination.
Still would need to hang onto the configured (string version) of entry point for when an app is reloaded/restarted.
Requester Info
Joseph Hickey, Vantage Systems, Inc.

Ping @acudmore  for awareness -- this is what I had referred to in https://github.com/nasa/cFE/pull/960#discussion_r513022753
Separated out to a separate ticket so we can decide whether this is worth doing.  I think it would be fairly easy and make it more logical, and make the task startup logic a little simpler too.


usb: mass: Fix main thread stack size overflow.

After HW stack protection option was globally enabled for
nRF SoCs (#28470) turned out main stack size is too small for
USB mass storage sample. Increase to avoid overflow.
Signed-off-by: Emil Obalski<EMAIL_ADDRESS>Without this patch running the sample for nRF SoCs leads to MPU Fault: stack overflow.
*** Booting Zephyr OS build zephyr-v2.4.0-1-g76981d9706fd  ***
Area 4 at 0x0 on MX25R64 for 65536 bytes
[00:00:00.369,812] <inf> littlefs: LittleFS version 2.2, disk version 2.0
[00:00:00.369,842] <inf> littlefs: FS at MX25R64:0x0 is 16 0x1000-byte blocks with 512 cycle
[00:00:00.369,873] <inf> littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
[00:00:00.370,239] <inf> littlefs: /lfs mounted
Mount /lfs: 0
/lfs: bsize = 16 ; frsize = 4096 ; blocks = 16 ; bfree = 14
/lfs opendir: 0
[00:00:00.429,199] <err> os: ***** MPU FAULT *****
[00:00:00.429,199] <err> os:   Stacking error (context area might be not valid)
[00:00:00.429,229] <err> os:   Data Access Violation
[00:00:00.429,229] <err> os:   MMFAR Address: 0x20004698
[00:00:00.429,229] <err> os: r0/a1:  0x200000f8  r1/a2:  0x00000004  r2/a3:  0x00000004
[00:00:00.429,229] <err> os: r3/a4:  0x00000004 r12/ip:  0x000058d5 r14/lr:  0x0000d6f1
[00:00:00.429,229] <err> os:  xpsr:  0x20000000
[00:00:00.429,260] <err> os: Faulting instruction address (r15/pc): 0x00000010
[00:00:00.429,260] <err> os: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
[00:00:00.429,260] <err> os: Current thread: 0x200005e8 (unknown)
[00:00:01.481,506] <err> os: Halting system

Running on this PR solves the issue with failing samples/subsys/usb/mass on nrf52840dk_nrf52840


[Sprint: 44] XD-2731: Remove use of dummy() resources in production code

"dummy" definitions should not be used in the real runtime.
This PR removes the last remaining uses, serializing the module definitions in the stream definition.

LGTM, merging.

Rebased and merged 977ffdbd8504007637206969e84914512b0f5fc5. Also, back ported the changes to 1.1.x 1be722fd6f51c27077d4898b27dd3f0e7617f0a9


ERROR
Completed 500 Internal Server Error in 77ms

ActionView::Template::Error (wrong argument type nil (expected Fixnum)):
    13:       <input type='text' value='<%= file.file.url %>'/>
    14:
<%= file.file_content_type %>

    15:       <% Rails.logger.info file.file_file_size.class.inspect -%>
    16:
<%= number_to_human_size(file.file_file_size) %>

    17:

    18:

    19:

  vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_view/helpers/number_helper.rb:319:in `round'
  vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_view/helpers/number_helper.rb:319:in `number_with_precision'
  vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.3/lib/action_view/helpers/number_helper.rb:401:in `number_to_human_size'
  vendor/bundle/ruby/1.9.1/gems/comfortable_mexican_sofa-1.6.14/app/views/cms_admin/files/_file.html.erb:16:in `_d41d8cd98f00b204e9800998ecf8427e__vendor_bundle_ruby_______gems_comfortable_mexican_sofa________app_views_cms_admin_files__file_html_erb___2458214366590730765_70246118500820'

This just bit me from the other end - I don't want to have an English locale in my app (for good reasons), and the file partial throws an error. Copying that partial to an appropriate place inside the app and removing locale: :en helped. Does that still need to be there?

As far I understand this should not be an issue anymore per: https://github.com/rails/rails/commit/56627b619cd72c862097c4622e2c9419be2a8a80


Table filter not working when cell value is a substring of another cell value

Wave SDK Version, OS
Wave 0.26.0, MacOS 13.5.1, Chrome Version 117.0.5938.88 (Official Build) (arm64)
Actual behavior
I am unable to filter out rows by a cell value if its value is a substring of another cell value.
https://github.com/h2oai/wave/assets/23740173/fceb80db-02b2-4c5f-90ad-7b4b620262e1
Expected behavior
To be able to filter out rows by a cell value if its value is a substring of another cell value.
Steps To Reproduce
from h2o_wave import main, app, Q, ui

@app('/demo')
async def serve(q: Q):
    q.page['form'] = ui.form_card(box='1 1 3 3', items=[
        ui.table(
            name='issues',
            columns=[ui.table_column(name='text', label='First name', filterable=True)],
            rows=[
                    ui.table_row(name='name1', cells=['Joseph']),
                    ui.table_row(name='name2', cells=['Josephine']),
            ],
        )
    ])
    await q.page.save()

Issue is probably in this line with using of include() - e.g. 'Josephine'.includes(name)  returns true regardless of name being Joseph or Josephine.

Hi Marek. This is my first time here and would like to create a PR for this bug as I successfully solved it.

Hi @YounesDjelloul, thanks! 🙂

We just need to replace this line with: String(item[filterKey]) === filterVal

This resolves the issue, but looks like it introduces another one since it causes a failing test case. Probably there is a reason why includes() was used instead of equality check ===. Can you please make sure all tests are passing?

Lemme know please how I could contribute by opening a new PR because I keep getting 403

You need to make a PR from a forked repo.

Thank you Marek for pointing to this!
However I still can't understand the role of this test exactly! It's creating rows with cells values as follows: "TAG1", "TAG2,TAG3", "TAG2". And after that it's trying to filter the rows by TAG1 and TAG3 which is impossible because the cell values actually doesn't have "TAG3" as plain, it has "TAG2,TAG3". So in other words the available filters that would be available in this testcare are: "TAG1", "TAG2", "TAG2, TAG3". Which would be shown for a normal user if we try to simulate the same case!
Am I missing something here?


0.16.0 Suspected Undocumented project name limitation: Project Already Exists

Environment

Keptn Version (keptn version): 0.16.0

[ ] Approval
[] Bridge
[ ] CLI
[ ] Datastore
[ ] Docs
[ ] Distributor / Event Broker
[ ] Helm
[ ] Istio
[ ] Jmeter
[ ] Kubernetes Integration
[ ] Openshift Integration
[ ] REST API
[ ] Webhook
[x] Resource Service

Describe the bug
Attempting to create a new project on 0.16.0 sometimes results in an error.
Strangely the first helloworld project is created but any subsequent projects fail.
% keptn version

Keptn CLI version: 0.16.0
Keptn cluster version: 0.16.0

Daily version check is disabled.
Keptn will not collect statistical data and will not notify about new versions and security patches for Keptn. Details can be found at: https://keptn.sh/docs/0.16.x/reference/version_check
---------------------------------------------------
* To enable the daily version check, please execute:
 - keptn set config AutomaticVersionCheck true

% keptn get projects
NAME		CREATION DATE			SHIPYARD VERSION
helloworld	2022-06-11T10:52:27+10:00	spec.keptn.sh/0.2.2
% keptn create project test -s shipyard.yaml -u agardnerit -r https://github.com/agardnerit/fulltour3 -t ghp_**** --verbose
no value for --config-file was specified
 defaulting to: /Users/.../.keptn/config

Using config file: /Users/.../.keptn/config
Starting to create project
Connecting to server http://localhost/api
Error: Create project was unsuccessful.
Project already exists
% keptn status
Starting to authenticate
Successfully authenticated against http://localhost/api
Bridge URL: http://localhost/bridge

resource-service logs
# kubectl -n keptn logs -l app.kubernetes.io/name=resource-service
time="2022-06-11T01:07:46Z" level=info msg="Could not complete request POST /v1/project: project already exists"

Reserved Project Names?
Are some project names reserved?
% keptn create project test --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/abc123 --git-token=****
Starting to create project
Error: Create project was unsuccessful.
Project already exists

% keptn create project abc123 --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/abc123 --git-token=*****
Starting to create project
Project created successfully

Hyphens Allowed?
Has there been a regression to not allow hyphens in project names? keptn-k6-jes fails consistently. keptnk6jes works.
% keptn create project keptn-k6-jes --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=***
Starting to create project
Error: Create project was unsuccessful.
Project already exists

% keptn create project keptnk6jes --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=***
Starting to create project
Project created successfully

Hyphens ARE allowed. It it an undocumented limitation on project length?
% keptn create project a-b --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=****
Starting to create project
Project created successfully

I think so:
% keptn create project keptn-k6-jes --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=***
Starting to create project
Error: Create project was unsuccessful.
Project already exists

% keptn create project keptn-k6-je --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=***
Starting to create project
Project created successfully

% keptn create project keptn-k6-jes --shipyard=shipyard.yaml --git-user=agardnerit --git-remote-url=https://github.com/agardnerIT/keptn-k6-jes.git --git-token=***
Starting to create project
Error: Create project was unsuccessful.
Project already exists

Result: keptn-k6-jes is too long. keptn-k6-je is accepted.

Hi @agardnerIT , just to clarify: were all the projects you attempted to create using a different (empty) upstream repository?


[CLEANUP] - sonar cleanup for mqtt and jms modules

:gear: Build finished in 1m 55s with command:
mvn clean verify -B -e -Daether.connector.resumeDownloads=false -amd -Daudit -P !assemblies -pl plugins/streaming/impls/jms,plugins/streaming/impls/mqtt

:ok_hand: All tests passed!

Total
Failed
Skipped

61
0
0

Details

:information_source:  This is an automatic message


Azure CLI 2.0.46 not working - Throwing "Error Loading Command Module" for many Modules

Hello,
I am getting an error whenever I try to run Az CLI. It is showing me "Error Loading Command Module" for many modules, and not letting me run any other commands like 'az login'.
I uninstalled and reinstalled Az CLI, both manually and then through Chocolatey, but no luck. This Issue started showing up only recently.
The output from Az CLI is as below:
$>az --version
azure-cli (2.0.46)
acr (2.1.5)
acs (2.3.4)
advisor (0.6.0)
ams (0.2.3)
appservice (0.2.4)
backup (1.2.1)
batch (3.4.0)
batchai (0.4.3)
billing (0.2.0)
botservice (0.1.1)
cdn (0.1.1)
cloud (2.1.0)
cognitiveservices (0.2.3)
command-modules-nspkg (2.0.2)
component (2.0.7)
configure (2.0.18)
consumption (0.4.0)
container (0.3.4)
core (2.0.46)
cosmosdb (0.2.1)
dla (0.2.3)
dls (0.1.3)
dms (0.1.1)
eventgrid (0.2.0)
eventhubs (0.2.4)
extension (0.2.1)
feedback (2.1.4)
find (0.2.12)
interactive (0.3.30)
iot (0.3.2)
iotcentral (0.1.2)
keyvault (2.2.3)
lab (0.1.1)
maps (0.3.2)
monitor (0.2.3)
network (2.2.5)
nspkg (3.0.3)
policyinsights (0.1.0)
profile (2.1.1)
rdbms (0.3.2)
redis (0.3.2)
relay (0.1.2)
reservations (0.4.0)
resource (2.1.4)
role (2.1.5)
search (0.1.1)
servicebus (0.2.3)
servicefabric (0.1.3)
sf (1.0.6)
signalr (1.0.0)
sql (2.1.4)
storage (2.2.2)
telemetry (1.0.0)
vm (2.2.3)
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\User1.azure\cliextensions'
Python (Windows) 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
$>az login
Error loading command module 'advisor'
Error loading command module 'ams'
Error loading command module 'backup'
Error loading command module 'batchai'
Error loading command module 'dms'
Error loading command module 'eventhubs'
Error loading command module 'extension'
Error loading command module 'maps'
Error loading command module 'profile'
Error loading command module 'relay'
Error loading command module 'reservations'
Error loading command module 'search'
Error loading command module 'servicebus'
Error loading command module 'servicefabric'
az: 'login' is not an az command. See 'az --help'.
$>az account list
Error loading command module 'advisor'
Error loading command module 'ams'
Error loading command module 'backup'
Error loading command module 'batchai'
Error loading command module 'dms'
Error loading command module 'eventhubs'
Error loading command module 'extension'
Error loading command module 'maps'
Error loading command module 'profile'
Error loading command module 'relay'
Error loading command module 'reservations'
Error loading command module 'search'
Error loading command module 'servicebus'
Error loading command module 'servicefabric'
az account: 'list' is not an az account command. See 'az account --help'.
Environment summary
Install Method: MSI
OS version: Windows 10 1803
Shell Type: PowerShell and CMD

Hi @bahreex, may I know when did you install the CLI. I can't personally repo here. It may be an environmental problem. We don't own the Chocolatey package, so I can't speak for it.
Can you run az --debug and provide me the log?

Thanks for the response. I managed to resolve the Issue on my own. The problem was with multiple Python environments. I had Py 3.7 from python.org, and then Anaconda. I removed Az CLI and then all Python distributions. Then reinstalled Az CLI, and all started working as normal.

Thank you for the confirmation.