svg linearGradient gets transformed to lineargradient

Thanks again for this amazing project.
I've found that importing an SVG containing a <linearGradient> results in the gradient not rendering.  This is because the tag name is transformed to lowercase at some point, so linearGradient becomes lineargradient which is not compatible.
Steps to reproduce (or see here)
import { parseHTML } from 'linkedom';

const input = `
  <svg viewBox="0 0 30 30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
    <linearGradient id="gradient" x1="0" y1="0" y2="30" x2="0" gradientUnits="userSpaceOnUse">
      <stop offset="0" stop-color="black" />
      <stop offset="1" stop-color="red" />
    </linearGradient>
    <rect width="30" height="30" fill="url(#gradient)" />
  </svg>`;

const parsed = parseHTML(input);

console.log(parsed.document.toString());

Are all tag names transformed to lowercase?
I'm happy to work on a fix for this, but could you give me some pointers please so I know where to start?
Thanks

you are parsing XML there though, not HTML ... you want DOMParser with the correct type.
if that was inside an HTML tag though, everything would be fine. Put a <div> around and see.

Are all tag names transformed to lowercase?

HTML is case insensitive, while SVG / XML is case sensitive.
The SVG parser switches automatically when an SVG node is within HTML, if you pass an SVG right away though, that's like parsing XML.
If you can't fix by importing DOMParser instead and const document = (new DOMParser).parseFromString('<root></root>', 'text/xml'); let me know.

@WebReflection I'm so sorry for wasting your time!  Thank you very much for answering and explaining - you're right that this change fixes it

Random side comment because it reminds me of some trouble I had a while back: better support for xhtml serialization would be great, e.g., for epub production. (I wish I could find the time to dig into it again but camel-cased attributes for inline SVG was definitely one problem.)

@pkra you can use XML parser for anything you want, including XHTML ... you don't need to use the HTML parser for non HTML, actually that's you chosing the wrong parser. I can't use a crystal ball to understand your intent, and this is SSR, not browser, so use the XML if camelCase and self closing tags matter, and call it a day? 🤔


TypeError running cell extraction with downloaded model

I am probably doing something incorrect here but I am not sure what. I got everything to run up to and including the combine script, src/baseline/retriever/combine_retrieval.py. I then downloaded the models linked in the README and tried to run the table cell extraction step and I run into this issue (see trace below)
/projects/creisle_prj/creisle_scratch/FEVEROUS/venv/lib/python3.7/site-packages/torch/cuda/__init__.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
  return torch._C._cuda_getDeviceCount() > 0
[INFO] 2021-09-14 12:58:40,249 - LogHelper - Log Helper set up
[INFO] 2021-09-14 12:58:41,154 - __main__ - Start extracting cells from Tables...

  0%|                                                  | 0/7890 [00:00<?, ?it/s]
100%|███████████████████████████████████| 7890/7890 [00:00<00:00, 259469.96it/s]
Ignored unknown kwargs option trim_offsets
Traceback (most recent call last):
  File "src/baseline/retriever/predict_cells_from_table.py", line 322, in <module>
    main()
  File "src/baseline/retriever/predict_cells_from_table.py", line 317, in main
    extract_cells_from_tables(annotations, args)
  File "src/baseline/retriever/predict_cells_from_table.py", line 260, in extract_cells_from_tables
    predictions =  (model_output.predictions > 0.25).astype(int)
TypeError: '>' not supported between instances of 'NoneType' and 'float'

Have you seen this before? Any idea what I might have done wrong?
System specs
OS: centos07
python: 3.7
conda or pip: pip

Sorry for the delay! The processing step looks suspicious to me, it normally takes about 30 seconds for the data to process. Could you check the input, e.g. by checking the first entries of text_test in l.250?

I ran it again and printed out the first entry of text_test. It is odd, it looks like its trying to run a batch of zero. Something must be wrong with one of the inputs but I didn't see any upstream errors so far.
Since the GPL-licensed package `unidecode` is not installed, using Python's `unicodedata` package which yields worse results.
[INFO] 2021-09-20 13:35:23,636 - LogHelper - Log Helper set up
[INFO] 2021-09-20 13:35:24,767 - __main__ - Start extracting cells from Tables...

  0%|          | 0/7890 [00:00<?, ?it/s]
100%|██████████| 7890/7890 [00:00<00:00, 302936.25it/s]
***** Running Prediction *****
  Num examples = 0
  Batch size = 16
Encoding(num_tokens=2, attributes=[ids, type_ids, tokens, offsets, attention_mask, special_tokens_mask, overflowing])
Traceback (most recent call last):
  File "src/baseline/retriever/predict_cells_from_table.py", line 323, in <module>
    main()
  File "src/baseline/retriever/predict_cells_from_table.py", line 318, in main
    extract_cells_from_tables(annotations, args)
  File "src/baseline/retriever/predict_cells_from_table.py", line 261, in extract_cells_from_tables
    predictions =  (model_output.predictions > 0.25).astype(int)
TypeError: '>' not supported between instances of 'NoneType' and 'float'
[Mon Sep 20 13:36:23 2021]
Error in rule extract_table_cells:
    jobid: 0
    output: data/dev.combined.not_precomputed.p5.s5.t3.cells.jsonl
    shell:
        source /projects/creisle_prj/creisle_scratch/FEVEROUS/venv3.7-unbuntu/bin/activate; python src/baseline/retriever/predict_cells_from_table.py --input_path data/dev.combined.not_precomputed.p5.s5.t3.jsonl --max_sent 5 --wiki_path data/feverous_wikiv1.db --model_path models/feverous_cell_extractor
        (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

Yes, there is something wrong with the input. With the latest commit, I have added some small additional loggings -- they might help to find what's going on. Could you pull the current version and try again?

Sorry for the delay, This is the error message I get with the changes in main
[INFO] 2021-10-05 12:25:46,778 - __main__ - Start extracting cells from Tables...

  0%|          | 0/7890 [00:00<?, ?it/s]
100%|██████████| 7890/7890 [00:00<00:00, 289959.33it/s]
Traceback (most recent call last):
  File "src/feverous/baseline/retriever/predict_cells_from_table.py", line 325, in <module>
    main()
  File "src/feverous/baseline/retriever/predict_cells_from_table.py", line 320, in main
    extract_cells_from_tables(annotations, args)
  File "src/feverous/baseline/retriever/predict_cells_from_table.py", line 245, in extract_cells_from_tables
    logger.info('Sample entry: {}'.format(all_input[0]))

Should I try from the start? Does the new error help?


Change language to German

Currently an English voice is used for all requests. Please add more voices or change the default language to German.

Added more voices in Commit 6257e248d17de834da322188a5820a69fa9a7ea7 - Requests now take a language parameter (Now supported: German, English and French).

Added more voices in Commit 6257e248d17de834da322188a5820a69fa9a7ea7 - Requests now take a language parameter (Now supported: German, English and French).


Configure Repository for Met Council Use

@RachelWikenMC
I think this is ready for you. @eroten set up the repository so that reviews are required for these changes to be brought into main, which is a great idea. Can you please:
(1) Have a look at the README and see if you want to add any text or would like me to add any text.
(2) Double-check the maximum node and link ideas in the registry_config.yml file. This should be the maximum model_link_id in the links.json file and the maximum model_node_id in the node.geojson file.
You should then be able to merge into main and start using the repository.
One note: if you'd like to make a change to the README or some other non Project Card thing, you can use a commit message that contains 'skip update` in the commit message, which will skip the project card update code.

on #2 - I get a different number for links than what you put in the registry file.
you put 1,189,304, the links file I have is 1,134,074
Going to leave your higher number, not sure if I have most recent version or if what I have includes all the walk links.


[New Registry] Decimals should be allowed in budget for Public Cloud

Description:
In current version of registry we've added an ability to add decimal numbers in the Budget fields on Create Public Cloud page.
In the New Registry you can't submit the project if Budget fields have decimals:
Private Zenhub Image
Definition of done:
The Products which have decimals in Budget field in New Registry are allowed to be submitted and appear in Requests Tab after submission.

Yes, we need to update our Prisma schema. Lets do this

The decimals are now going through the validation. But the Request shows the whole numbers (screenshot 2).
Private Zenhub Image
Private Zenhub Image

@funtigr it also shows empty name and description and other fields

Works fine on the dev of New Registry:
Private Zenhub Image


Incorrect example code on main page

The code on main page in "Synopsis" section is incorrect. There's no "index: 1" defined, so the code doesn't work.

I found that the line below from that example was not setting the word variable in the ternary statement.
return word.indexOf(term) === 0 ? word : null;
It needs to be
word = word.indexOf(term) === 0 ? word : null;
in order for it to work properly.
Minor issue aside this is a great library. Thanks!


leave core

What does this PR do?

Fixes #<issue_number>
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

@lezwon Sad to see you leave core! Let's catch up in Bangalore, next month I am there! :)

@Borda I'll be around and continue contributing. 😊👍
@kaushikb11 sure mate 👍 let's catch up

Zwwae    WzZ  ezdz
Lähetetty iPhonesta
S s

Kaushik B<EMAIL_ADDRESS>kirjoitti 4.3.2021 kello 19.12:

@kaushikb11 approved this pull request.
E—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Create sleep tool

Feature request
Create sleep tool
Motivation
Some external processes require time to be done. So agent need to just wait
Your contribution
I'll do it and create pull request

Hi,
Issue was solved with my pull request (merged)
https://github.com/langchain-ai/langchain/pull/5715


Use the Reduce Method to Analyze Data

Describe your problem and how to reproduce it:
in challenge The averageRating should equal 8.675. but the array given will never do average of 8.675.
but 8.52.
there is a serial issues closed about that point, but all closed, and problem persists.
Add a Link to the page with the problem:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/functional-programming/use-the-reduce-method-to-analyze-data
Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version:  70.0.3538.110 64bit
Operating System: Windows 10

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Hi @PedroS5499,
Thank you for opening this issue.
The average is indeed 8.675.
Note: you only need to find the average of "Christopher Nolans" movies.
There are 4 Nolans movie whose average is equal to 8.675.

Ohh, miss that part xD


Never show version if HideVersion=true

Because the default version is 0.0.0, it is actually impossible to hide the version just by setting HideVersion to true.
This PR is fixing it.

@radeksimko thanks for this!
It looks like the original intention of this struct field is to hide the -v flag, but I can definitely see the the usefulness of expanding its control to also hide it from the -h output. Given the naming of the field, I think it's ok to introduce this -- even though it isn't strictly backwards compatible -- since it feels to be more in the spirit of the field.
Do you mind updating the comment on the field declaration to include this new behavior?

Do you mind updating the comment on the field declaration to include this new behavior?

Done.

Perfect, thank you!


Implement sync for credentials

Task/Issue URL: https://app.asana.com/0/488551667048375/1205082906974103/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3366   👈

This comment was auto-generated by Graphite.


vim.init symlink not followed

Oni Version:
0.3.6
Neovim Version (Linux only):
Operating System:
Mac OSX 10.12.5
Issue:
When I installed neovim it suggested making a symlink to my ~/.vimrc file.
Expected behavior:
Load up the ~/.vimrc file
Actual behavior:
Doesn't load anything
Steps to reproduce:
Have a symlink pointing to the config.
PS: How do I point Oni to a different file? I want to have a different config for it.

Just to check, do you have     "oni.loadInitVim": true, set? Otherwise the config won't be loaded at all.
To my knowledge, symlinks should work, I use a symlink for my configs on both Windows and Arch, though haven't tested it on Mac.
If you want to use a different init.vim you'd instead just use     "oni.loadInitVim": "/home/ryan/path/to/init.vim, or alternatively you can use the following to add/remove Oni features from Oni specifically:
if exists('g:gui_oni')
    " Statements here
endif

There is some more on that over in https://github.com/onivim/oni/wiki/How-To:-Minimal-Oni-Configuration, as well as some recommendations about turning of the default config if you are using your own (to minimise conflicts), as well as what the default config is so you can bring over any relevant settings.

Thanks, I am new to this and thought I clicked the option to enable it but I guess I didn't.
"oni.loadInitVim": true,, exit, open, nothing changed. (If I manually do so %` on the file I get immediately my color scheme and soft tabs)
"oni.loadInitVim": "/Users/michal/.vimrc", exit, open, nothing
Here is the whole file, I think I just changed that one line:
import * as React from "react"
import * as Oni from "oni-api"

export const activate = (oni: Oni.Plugin.Api) => {
    console.log("config activated")

    // Input
    //
    // Add input bindings here:
    //
    oni.input.bind("<c-enter>", () => console.log("Control+Enter was pressed"))

    //
    // Or remove the default bindings here by uncommenting the below line:
    //
    // oni.input.unbind("<c-p>")

}

export const deactivate = (oni: Oni.Plugin.Api) => {
    console.log("config deactivated")
}

export const configuration = {
    //add custom config here, such as

    "ui.colorscheme": "nord",

    //"oni.useDefaultConfig": true,
    //"oni.bookmarks": ["~/Documents"],
    //"oni.loadInitVim": true,
    "oni.loadInitVim": "/Users/michal/.vimrc",
    //"editor.fontSize": "12px",
    //"editor.fontFamily": "Monaco",

    // UI customizations
    "ui.animations.enabled": true,
    "ui.fontSmoothing": "auto",
};

Just to check, since you are on mac, when you say "exit" do you mean fully-closing Oni? That is, closing the Window and then quitting completely from the dock? We haven't updated Oni (yet) to reload the config on the fly, rather it calls neovim with a commandline flag, so Oni must be fully restarted.
Otherwise...thats odd. I'll see if I can test this on Mac over the weekend, since it should work there like anywhere else.

I use the exit option to be sure. (last item in menu)

I am sure I am doing something wrong so if anyone wants to skype quickly and try a few things just let me know.


Adds travis to template project

Lets see if this works...

@MattClarkson, you would have to enable travis on this repo (by logging in with your github creds n travis) for the check to appear automatically.
Meanwhile, I've enabled travis on my fork. This pull-request is trying to get the builds to pass

Seems like it compiles with clang and gcc. You can see that on the pull-request against my fork, here.


feat: 3449 Make "Start Scanning!" a button

Files Impacted:

product_list_page.dart

What

Converts the simple text widget into a button, so that the ui becomes more intuitive

Screenshot

dark mode

Light mode

Fixes bug(s)

Fixes: #3449

Part of

#525

Codecov Report

Merging #3552 (690b2da) into develop (3291201) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #3552      +/-   ##
===========================================
- Coverage    11.08%   11.08%   -0.01%
===========================================
  Files          262      262
  Lines        12943    12946       +3
===========================================
  Hits          1435     1435
- Misses       11508    11511       +3

Impacted Files
Coverage Δ

...pp/lib/pages/product/common/product_list_page.dart
0.00% <0.00%> (ø)

...s/smooth_app/lib/tmp_crop_image/new_crop_page.dart
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Sudhanva-Nadiger why did you close this?

@VaiTon
It's fixed with https://github.com/openfoodfacts/smooth-app/pull/3569
Maybe he opened another one cause of merge conflicts !


Exploratory Sprint: Version Control integrated with Meltano

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/914
Originally created by @dmor on 2019-08-22 21:19:21

[ ]  @dmor start exploratory sprint template
[ ]  Validate use case with users (see related issue)
[ ]  Consider appropriate timing for adding this feature
[ ]  Make go/no-go decision and add to roadmap timeline

View 7 previous comments from the original issue on GitLab


fixes bug 1261421 - Stop caching events in localstorage on event manager

Coverage remained the same at 84.777% when pulling 8f89aab062de7ba053e12b0ab86fcaabf5e6c989 on peterbe:bug-1261421-stop-caching-events-in-localstorage-on-event-manager into defd74b348dfae7abf110e43ddcae672b3c4247c on mozilla:master.


Automation script for Validating test cases related third party installation feature

Is your feature request related to a problem? Please describe.
Automation script for Validating test cases related third party installation feature

Closing this issue, as it is merged with devel


neon-dashboard: Color cluster purpose

[ ] Cluster environment has been renamed to purpose.  The label needs to be updated in the dashboard when this is relocated to the dashboard's bottom bar.

[ ] We should also consider highlighting the dashboard with a color to make it easy form users to recognize that they're dealing with an important cluster and avoid doing something stupid.  Perhaps we could use RED or something to fill the bottom bar background for Production clusters and maybe ORANGE for Stage clusters?

DEFERRING: We've dropped our custom dashboard for the initial GA release.  We'll revisit this later when we build a new integrated dashboard.


Page Publishing Panel | Stored XSS at Monstra CMS 3.0.4

Hello Monstra Team,
My name is Ismail Tasdelen. I am a security researcher and found a stored xss vulnerability on the page publishing panel at a critical level. I wanted to let you know about this situation with valuable developers.
Exploit Title: [ Stored XSS at Monstra CMS 3.0.4 ]
Date: [19.05.2018]
Exploit Author: [Ismail Tasdelen]
Vendor Homepage: [http://monstra.org/]
Software Link: [ Monstra CMS ]
Version: Monstra CMS 3.0.4
Tested on: Windows 10 / Debian - XAMMP Web Server
PoC : https://www.youtube.com/watch?v=j62EBTErvuU
Stored XSS Payload : ">
You want to follow my activity ?
https://www.linkedin.com/in/ismailtasdelen
https://github.com/ismailtasdelen
https://twitter.com/ismailtsdln
Thanks Monstra Team ツ

Screenshot :


"Save video to..." stuck in videos playback

"Save videos to" the message box appears and cannot be closed except by refreshing the page. And after clearing all cookies on the page - again same thing.

Started showing it very often. It's annoying. Hmm

This was fixed in the latest version.


Allow saved YT playlist

YT has a feature to save playlists from other people so they're visible on your account, it would be nice if Kord included those playlists as well when importing playlists.

Nice suggestion. I think this would be possible but might have to require additional scope for Google Oauth


Yo movies extension not working

Source name
Yo movies
Source language
English
Source link
https://yomovies.onl/
Other details
All the movies and series in extension are notgetting updated and nothing is playing on the extension and if we go and see website through web view it is showing webpage not available.

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

web page is ok

No it is not it is not working

Did you even check it was working or not

web page is ok

No it is not working I gave you the link of main website that is working but when I open the website via extension then it doesn't open so please the access link

web page is ok

No it is not working I gave you the link of main website that is working but when I open the website via extension then it doesn't open so please the access link

The link that I have given in source link is the working one and the link of website


When struct data type data has more number of values then desired columns, throws Index Out of Bound Exception.

When struct datatype has more number of values then desired columns,
eg., Struct<firstname string,lastname string>
complex_delimiter_level_1 = '$'
data --> steve$jobs$tim
Data load is throwing index output of bound exception. It needs to be handled like data load should ignore extra values and take required values

Fixed with PR #527


Adding support for crafting tweaks and resource packs

updated to be able to receive multiple sharecodes and files to handle the other types of packs at VanillaTweaks.

@itzg Endpoint is currently down on the VT side. Will put this aside for the moment while they figure out what they are going to do.

Thanks for this, looks great! Sorry I wasn't around to follow this through to the end 🚀


Option allowClear dosen't work

Options allowClear dosen't work if no placeholder set

Yup, because allowClear resets it back to the placeholder value.
https://select2.org/selections#clearable-selections
There isn't much we can do to change that here.

There isn't much we can do to change that here.

Why not just check if placeholder exists and if not set empty value?

It works if you set an empty string for placeholder.

placeholder:''

I know that. My point is that a library should never throw an unexpected error.
In this case there should be an additional if statement which should check if user provide placeholder and set it as '' if not. My post refers directly to "kevin-brown" answer that nothing can be done to solve such issues.

I also ran into this bug and do not understand the reasoning to not fix as it seems like such a basic default behavior. Why would adding the ability to clear selections require a placeholder and silently fail if one is not provided? That is quite unintuitive, and it is very easy to fix, one would just have to replace this
this.$element.val(this.placeholder.id);
with something like
let defaultVal = this.placeholder != null ? this.placeholder.id : "";
this.$element.val(defaultVal);

@kevin-brown Why can't something like @usbhub suggestion be implemented for those of us who do not use the placeholder option and instead rely on an already existing first option as a placeholder?

@kevin-brown I am also interested for the reason why you think "there isn't much we can do to change that here".
It seems like the proposed solution is quite easy to implement.


electron-updater errors on Linux

OS: Linux
Version of IPFS Desktop v0.13.0

Describe the bug
I get a non-fatal error when trying to update as described below.
Ported from this web-ui issue
To Reproduce

right click tray icon
About...
Check for updates....
Error (see attached files)

Expected behavior
Updating the GUI and CLI :pray:
Additional context
Also can confirm #1676 - I can't open logs dir from the tray icon. Crashes the app.

terminal output on startup, try update via stem tray icon
2020-10-08T23:27:41.997Z info: [meta] logs can be found on /home/dan/.config/IPFS Desktop
Error: ENOTDIR: not a directory, mkdir '/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/data'
    at Object.mkdirSync (fs.js:823:3)
    at Object.Countly.init (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:157:24)
    at module.exports (/opt/IPFS Desktop/resources/app.asar/src/analytics.js:6:11)
    at run (/opt/IPFS Desktop/resources/app.asar/src/index.js:65:11)
Error: ENOENT, node_modules/countly-sdk-nodejs/data/__cly_id.json not found in /opt/IPFS Desktop/resources/app.asar
    at createError (electron/js2c/asar.js:111:17)
    at Object.func [as openSync] (electron/js2c/asar.js:146:27)
    at Object.writeFileSync (fs.js:1265:35)
    at storeSet (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:1337:16)
    at Object.Countly.init (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:171:21)
    at module.exports (/opt/IPFS Desktop/resources/app.asar/src/analytics.js:6:11)
    at run (/opt/IPFS Desktop/resources/app.asar/src/index.js:65:11)
2020-10-08T23:27:42.800Z info: [web ui] window ready
2020-10-08T23:27:42.801Z info: [web ui] navigate to /
2020-10-08T23:27:42.855Z info: [tray] starting
2020-10-08T23:27:42.893Z info: [tray] started
2020-10-08T23:27:42.894Z info: [ipfsd] start daemon STARTED
2020-10-08T23:27:45.185Z info: [daemon] PeerID is Qmb61NjeYWBAUHHfXdZQp2MED8XuXRWrRgrFDG4xtBTQvA
2020-10-08T23:27:45.185Z info: [daemon] Repo is at /home/dan/.ipfs
2020-10-08T23:27:45.186Z info: [ipfsd] start daemon FINISHED 2.2916648849993946s
Checking for update
Error: Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:27:45.240Z error: [updater] Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:27:45.244Z info: [ipfs on path] no action taken
2020-10-08T23:27:45.246Z info: [launch on startup] disabled
Checking for update
Error: Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:29:28.330Z error: [updater] Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'

error.log
combined.log

@NukeManDan what package type are you using?
On Linux only AppImage uses app-update.yml, everything else assumes third-party package manager is used.
Unless this is a bug in AppImage, the bug here is that we should disable auto update mechanism in packages other than AppImage.

.deb via Gdebi <IP_ADDRESS>+nmu3
Would it be possible to have other install options correctly use the update feature? :pray:

Sadly not feasible.
On Linux you need to use package manager that comes with your distribution, and ping maintainer of ipfs-desktop package to update it to the latest .deb

Continued in https://github.com/ipfs-shipyard/ipfs-desktop/issues/1671#issuecomment-705116856

I think I'm experiencing a very similar error on macOS (Big Sur). I tried both installing via homebrew and using the .dmg. Both behave the same. I click the icon and nothing happens. IPFS Desktop and the daemon start running in the background but no UI. I launched via the terminal and I get this:
Error: ENOTDIR: not a directory, mkdir '/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/data'
    at Object.mkdirSync (fs.js:823:3)
    at Object.Countly.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:157:24)
    at module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/analytics.js:6:11)
    at run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:65:11)
Error: ENOENT, node_modules/countly-sdk-nodejs/data/__cly_id.json not found in /Applications/IPFS Desktop.app/Contents/Resources/app.asar
    at createError (electron/js2c/asar.js:111:17)
    at Object.func [as openSync] (electron/js2c/asar.js:146:27)
    at Object.writeFileSync (fs.js:1265:35)
    at storeSet (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:1337:16)
    at Object.Countly.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:171:21)
    at module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/analytics.js:6:11)
    at run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:65:11)
2021-01-16T14:06:14.069Z info: [web ui] window ready
2021-01-16T14:06:14.083Z info: [tray] starting
2021-01-16T14:06:14.115Z info: [tray] started
2021-01-16T14:06:14.115Z info: [ipfsd] start daemon STARTED
2021-01-16T14:06:14.304Z info: [daemon] removing api file
2021-01-16T14:06:21.911Z info: [ipfsd] start daemon FINISHED 7.795242546000052s
Checking for update
2021-01-16T14:06:21.986Z info: [ipfs on path] no action taken
2021-01-16T14:06:21.986Z info: [launch on startup] disabled
Update for version 0.13.2 is not available (latest version: 0.13.2, downgrade is disallowed).
2021-01-16T14:06:23.317Z info: [updater] update not available```

I think I'm experiencing a very similar error on macOS (Big Sur). I tried both installing via homebrew and using the .dmg. Both behave the same. I click the icon and nothing happens. IPFS Desktop and the daemon start running in the background but no UI. I launched via the terminal and I get this:
Error: ENOTDIR: not a directory, mkdir '/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/data'
    at Object.mkdirSync (fs.js:823:3)
    at Object.Countly.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:157:24)
    at module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/analytics.js:6:11)
    at run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:65:11)
Error: ENOENT, node_modules/countly-sdk-nodejs/data/__cly_id.json not found in /Applications/IPFS Desktop.app/Contents/Resources/app.asar
    at createError (electron/js2c/asar.js:111:17)
    at Object.func [as openSync] (electron/js2c/asar.js:146:27)
    at Object.writeFileSync (fs.js:1265:35)
    at storeSet (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:1337:16)
    at Object.Countly.init (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:171:21)
    at module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/analytics.js:6:11)
    at run (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/index.js:65:11)
2021-01-16T14:06:14.069Z info: [web ui] window ready
2021-01-16T14:06:14.083Z info: [tray] starting
2021-01-16T14:06:14.115Z info: [tray] started
2021-01-16T14:06:14.115Z info: [ipfsd] start daemon STARTED
2021-01-16T14:06:14.304Z info: [daemon] removing api file
2021-01-16T14:06:21.911Z info: [ipfsd] start daemon FINISHED 7.795242546000052s
Checking for update
2021-01-16T14:06:21.986Z info: [ipfs on path] no action taken
2021-01-16T14:06:21.986Z info: [launch on startup] disabled
Update for version 0.13.2 is not available (latest version: 0.13.2, downgrade is disallowed).
2021-01-16T14:06:23.317Z info: [updater] update not available```

@bruno-anjos This looks like it may be something different. Can you please open as a separate issue and we will look more closely in our next triage? Also, any other info you can provide would be helpful, like:

is this a brand new install or an upgrade?
does it get as far as adding the cube-logo menu to your top system menubar?
if you do see that menu, there is an item for opening logs. Can you attach any logs you might have?

@bruno-anjos This looks like it may be something different. Can you please open as a separate issue and we will look more closely in our next triage? Also, any other info you can provide would be helpful, like:

is this a brand new install or an upgrade?
does it get as far as adding the cube-logo menu to your top system menubar?
if you do see that menu, there is an item for opening logs. Can you attach any logs you might have?

@jessicaschilling of course, i only replied on this issue since it had the two first errors in common and i wasn't sure if it was really the same or not. I'll open a new issue and provide the extra info you requested. Thank you very much

@jessicaschilling of course, i only replied on this issue since it had the two first errors in common and i wasn't sure if it was really the same or not. I'll open a new issue and provide the extra info you requested. Thank you very much


When random range being wide, solver give only Min value?

My intention is to have random value between -10^6~10^6, however I get only -10^6 with below sample. Anyone shed some light please?
--
from ortools.constraint_solver import pywrapcp
import time
solver = pywrapcp.Solver("graph1")
a =solver.IntVar(-1000000,1000000,'a')
db = solver.Phase([a],solver.CHOOSE_RANDOM, solver.ASSIGN_RANDOM_VALUE)
solver.NewSearch(db)
solver.ReSeed(int(time.time()))
solver.NextSolution()
print a
# output always being -1000000

Yes, creating a hole in a large domain will create a large bitset.
Thus we heuristically decide not to do it.
Anyway, you should not use the orignal CP solver but the new CP-SAT solver.
see https://developers.google.com/optimization/cp/cp_solver#cp-sat_example
and
https://github.com/google/or-tools/blob/master/ortools/sat/doc/index.md
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 20 nov. 2018 à 00:09, ollie11<EMAIL_ADDRESS>a écrit :

My intention is to have random value between -10^6~10^6, however I get
only -10^6 with below sample. Anyone shed some light please?
from ortools.constraint_solver import pywrapcp
import time
solver = pywrapcp.Solver("graph1")
a =solver.IntVar(-1000000,1000000,'a')
db = solver.Phase([a],solver.CHOOSE_RANDOM, solver.ASSIGN_RANDOM_VALUE)
solver.NewSearch(db)
solver.ReSeed(int(time.time()))
solver.NextSolution()
print a
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/939, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17dWFQvIR5J2YL3MS_DGG-Iq7M2Cyks5uw7jKgaJpZM4Yqk9c
.


Purge /root/.kube/config when migrating to kubeadm

ci check this

/lgtm
/approve

Retroactive description: This kubeconfig needs to be dropped because it contains certificates that get purged before kubeadm init. This can cause some portions of kubeadm to fail due to invalid credentials.


canvg throws the "An invalid or illegal string was specified" error during svg chart convertion to canvas

I have a task to convert to svg charts to images. One chart is converted successfully, but during second one convertion to canvas, canvg throws the following exception:
[Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)"
location: "http://localhost/shared/js/highcharts/exporting/canvg.js Line: 1574"]
User-Agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/ /2.0.1Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/
/2.0.1
My code is:
	var chart_svg = chartData.chart.getSVG();
	//also tried to set width and height and use DOM canvas but without success
	var chart_canvas = document.createElement('canvas');

	canvg(chart_canvas, chart_svg, {
		renderCallback: function () {
			$(chartData.container).empty();
			var imgData = chart_canvas.toDataURL('image/png');
			var img = new Image();
			$(img).load(function () {
				$(img).appendTo(chartData.container);
			});
			img.src = imgData;
		}
	});

I surround lines 1574-1580 with try and empty catch and seems that it works fine:
try {
ctx.translate(centp.x, centp.y);
ctx.rotate(xAxisRotation);
ctx.scale(sx, sy);
ctx.arc(0, 0, r, a1, a1 + ad, 1 - sweepFlag);
ctx.scale(1 / sx, 1 / sy);
ctx.rotate(-xAxisRotation);
ctx.translate(-centp.x, -centp.y);
}
catch (e) {  }
However is there any other pretty fix for this error?
Thanks.

i need the svg string in chart_svg to fully debug this


Fix deps

xref: https://github.com/fsspec/adlfs/blame/2022.02.0/setup.py#L30-L37

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I removed automerge as I really dislike that feature for exactly this reason - a broken version of adlfs has now been published.
For me, it's much easier to review bot PRs and manually apply the automerge label than it is to have to manually create a PR to fix broken deps. For packages I use / help maintain I'm happy to review the bot PRs and make sure the deps are correct before publishing.

Thanks for the review @hayesgb. I went ahead and merged as it will make broken environments less likely and if others feel strongly about keeping automerge it can easily enough be added back.


👥 Add contributor: phatblat

Greetings! My team has started using this fabulous library in our inner-source auth library which will be used in 6 (and probably more) of our company's public iOS apps. We are using PingFederate as our OAuth server.
I have noticed that there are two new GitHub releases (2.1.1 & 2.1.2) that have been tagged but not yet released to CocoaPods trunk. Version 2.1.0 is the latest that shows up on CocoaPods.
-> OAuthSwift (2.1.0)
   Swift based OAuth library for iOS and macOS.
   pod 'OAuthSwift', '~> 2.1.0'
   - Homepage: https://github.com/OAuthSwift/OAuthSwift
   - Source:   https://github.com/OAuthSwift/OAuthSwift.git
   - Versions: 2.1.0, 2.0.0, 1.4.1, 1.4.0, 1.3.0, 1.2.2, 1.2.0, 1.1.2, 1.1.1, 1.1.0, 1.0.0, 0.6.0, 0.5.2, 0.5.1, 0.5.0, 0.4.8, 0.4.6, 0.4.5, 0.4.4, 0.4.3,
   0.3.7, 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0, 0.2.1, 0.2.0, 0.1.9, 0.1.2, 0.1.1, 0.1.0 [cocoapods repo]

I would like to help out with publishing these and future releases to CocoaPods. I just need @phimage or @dongri to run the following command to add me as an owner of this pod.
pod trunk add-owner OAuthSwift<EMAIL_ADDRESS>
Note that all CocoaPods trunk session keys have been wiped due to a recent trunk vulnerability, so you'll probably need to authenticate again with pod trunk register.
I have lots of experience publishing libraries to CocoaPods trunk and also publish our own 20+ internal iOS libraries to a private repo.
↪ pod trunk me
  - Name:     Ben Chatelain
  - Email<EMAIL_ADDRESS>  - Since:    August 31st, 2015 19:47
  - Pods:
    - ObjectiveGit
    - libgit2
    - Nimble
    - Fetchable
    - BlueDot
    - Quick
    - RBQFetchedResultsController
    - ABFRealmMapView
    - RBQSafeRealmObject
    - SafeRealmObject
    - SwiftFetchedResultsController
    - RealmMapView
    - Outlets
    - Commandant

I can also help out with issue triage and PR review if you would be open to adding me as a contributor on this repo.

Hi,
I have made cocoapod push (without any test, I do not like that 😭)
(change target tvos to 13 to make it pass)
I do not use anymore cocoapod so sorry for the late...
Only @dongri could add you on github or cocoapod
I agree with that

Hi,
I have made cocoapod push (without any test, I do not like that 😭)
(change target tvos to 13 to make it pass)
I do not use anymore cocoapod so sorry for the late...
Only @dongri could add you on github or cocoapod
I agree with that

@phimage Thank you for your support!
@phatblat Hi, Ben
I have added you to cocoapod.
I've also added it to this repository

for the 2.1.3 or 2.2.0
I have lost all my data, and so my test file with all my oauth service provider tokens , so without testing I am not confident
I try to figure the change log and see If no regression
https://github.com/OAuthSwift/OAuthSwift/compare/2.1.2...master
Checked

add log system #586 by svoip (fixed compil issue  #612)
readme cleaning
reddit example #641 by mrnguuyen
Mac Catalyst compile issue #605
#599 cancel login on some callbackurl handler
(
#602 fix warning
)

to check

#623 signature plaintext ; TODO look at the RFC and check
#596, ... change of refresh token ; execute the code one time, see it work (maybe compare with all code because code moved to client)
...

Thanks! I look forward to working with you both and the users of this fabulous library!
I'm going to create a couple of issues to track the release of 2.1.1 and 2.1.2 to CocoaPods mostly as a place to note any hiccups or things I learn in the process. Meanwhile, I'll start reviewing the recent history to figure out whether the next release should be a patch or minor release.
I did notice that the public API was changed in 2.1.1 when ASWebAuthenticationURLHandler had the prefersEphemeralWebBrowserSession parameter added to the constructor. Technically, this is actually a breaking change since there is no default for the value, but would be a minor version if a default value were added so that the parameter didn't need to be added everywhere that ASWebAuthenticationURLHandler is constructed.

Nevermind. Looks like 2.1.1 and 2.1.2 are live now.

I didn't care enough if semantic version rules has been broken

I'm a collaborator now that I found the invite that @dongri send me 😳

Regarding #623, RFC-5849 section 3.4.4: PLAINTEXT
   The "PLAINTEXT" method does not employ a signature algorithm.  It
   MUST be used with a transport-layer mechanism such as TLS or SSL (or
   sent over a secure channel with equivalent protections).  It does not
   utilize the signature base string or the "oauth_timestamp" and
   "oauth_nonce" parameters.

   The "oauth_signature" protocol parameter is set to the concatenated
   value of:

   1.  The client shared-secret, after being encoded (Section 3.6).

   2.  An "&" character (ASCII code 38), which MUST be included even
       when either secret is empty.

   3.  The token shared-secret, after being encoded (Section 3.6).

The spec lines up with the implementation:
"\(consumerSecret)&\(oauthTokenSecret)"

However, the values used are not the urlEncoded values and thus could cause issues if one of those values contained unsupported characters.

thanks
So it's better than nothing
we could release or make fix with using maybe one of functions in https://github.com/OAuthSwift/OAuthSwift/blob/2384f60031ac824826fc367e6ed963b2c3eae797/Sources/String%2BOAuthSwift.swift

Proposed a fix in #657

merged thanks


VSCode produces a lot of docker processes with over 100% CPU usage

Issue Type: Bug
Process appears after ~10min of working vscode preview

I suspect ms-vscode-remote.remote-containers extension
VS Code version: Code - Insiders 1.54.0-insider (a699ffaee62010c4634d301da2bbdb7646b8d1da, 2021-02-15T05:27:07.770Z)
OS version: Darwin arm64 20.1.0

System Info

Item
Value

CPUs
undefined

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
8, 5, 4

Memory (System)
16.00GB (0.66GB free)

Process Argv
--crash-reporter-id 5eb15274-2b6f-401e-90d4-e4d02f907449

Screen Reader
no

VM
0%

Extensions (32)

Extension
Author (truncated)
Version

subword-select
all
0.0.1

clipboard-history
Anj
1.0.7

quitcontrol-vscode
art
3.1.3

pgformatter
bra
1.16.0

gitignore
cod
0.6.0

githistory
don
0.6.14

prettier-vscode
esb
5.9.2

gitlab-workflow
Git
3.12.1

beautify
Hoo
1.5.0

JSDocTagComplete
Hoo
0.0.2

rest-client
hum
0.24.4

vscode-edit-csv
jan
0.5.4

a08-test-highlighter
jim
0.0.2

dotenv
mik
1.0.1

csharp
ms-
1.23.9

python
ms-
2021.3.559238081-dev

vscode-pylance
ms-
2021.2.2

jupyter
ms-
2020.12.414227025

remote-containers
ms-
0.160.0

remote-ssh
ms-
0.64.0

remote-ssh-edit
ms-
0.64.0

node-debug2
ms-
1.42.5

vsliveshare
ms-
1.0.3629

debugger-for-chrome
msj
4.12.12

vscode-subword-navigation
ow
1.2.0

gitpatch
par
0.2.1

postcss
ric
2.0.0

code-settings-sync
Sha
3.4.3

code-spell-checker
str
1.10.2

python
tht
0.2.3

gitblame
wad
6.0.2

markdown-pdf
yza
1.4.4

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspyt653:30253241
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30244315
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt875:30251590
core-portspanel:30233467
coreuntitledfile:30249963
openwsldoc:30257222

VS Code by itself does not use Docker.
What are you doing in/with Docker?
Please be more specific.

You're right. The problem was as I noted below the screenshot in ms-vscode-remote.remote-containers extension. After I disabled it problem with CPU consumption gone.
I think we can close this issue.

@baydet thanks for the update


Custom Component ID

Feature Request
Introduce a feature allowing users to assign a Custom Component ID to individual components. This ID could then be used programmatically within tweaks, making it easier to identify and interact with specific components.
Motivation
Currently, each component in Langflow has a system-generated ID, which can be challenging to manage when programmatically referencing components in tweaks or automations. Users working with multiple components in complex workflows may find it cumbersome to identify and manipulate specific components through code due to these non-descriptive IDs.
Your Contribution
No response

How about use the component's display name? Tweaks also can works using by display name.

@ogabrielluiz, What do you think about allowing the use of the component's display name instead of the ID in the tweaks? I'm going through the same problem at the moment.


Doc keyword ignores newlines when generating documentation

Hi,
When adding newlines under the DOC keyword, the generated documentation ignores newlines and keeps the documentation on one line.
The documentation comments look like this:

And the generated docs look like this:

Hi there!
I agree that that would look nicer and I have implemented the changes in the newest version of the gem.
The parser now doesn't omit newlines anymore. But it still ignores empty lines so it still isn't possible to insert a blank line in the middle of the DOC block.
Also, please not that the gem has been renamed to rocket_docs, you will have to change that in the gemfile and in the routes.rb file change Interdasting to RocketDocs.
Please report if something isn't to your liking :)

Thanks, looking forward to having empty lines in docs once you get to it. :)


Update video via content owner

Coverage decreased (-6.3%) to 86.607% when pulling e7c390fffa18f2516303fe6fb4181d94f347b68c on co-video-update into d70171d029389ce2373de44e5a29fb86069ad4c8 on master.


JADNC Phase1 backport work

Supports work in this PR: https://github.com/n2retail/n2/pull/10335

@lonelyghost  - the PR should be cleaner now :)


docs: Split readme into various docs

This just moves all content from readme to docs folder. Adds one placeholder for final stage. No editing was done to content apart from some page titles.

I think there decent distinction between a README and docs.

Docs should be much more in-depth than a README.
It is useful to have a very highlevel README for running/install for people who know what they're doing

I'd be in favour of keeping most of the content in the README as is.

Docs should be much more in-depth than a README.

I think they will be when we add more.

It is useful to have a very highlevel README for running/install for people who know what they're doing

I would suggest that's a separate requirement we should work on when we do more work on use cases for docs during the next sprint - we said this sprint and this morning we would just try and get content in now.


Doesn't work on LG V10, Android 5.1.1

Lockscreen controls and metadata do not appear on an LG V10 running Android 5.1.1. Used the same code successfully on a Nexus 7 also running Android 5.1.1.

Did you try this : https://github.com/homerours/cordova-music-controls-plugin/issues/20 ?

Perfect, that fixed it.

I have updated the plugin: 2722bd1fbe9
It should now work on your LG phone, without having to remove "manually" any line. Tell me if it works for you!

Yep, works like a charm. Thanks!


Der Konfigurationsfluss konnte nicht geladen werden

Hi.
I get this error message after installation the hacs integration, reboot and  I try to install the rki integration.
Gtrx.
Dog

Getting the same issue on Version 1.5.0.
Core Version core-2021.4.5.
Could configure successfully via configuration.yaml, so it's just the ui config that's broken.

Thanks for pointing out. Just released a bugfix version 1.5.1.


what is file '-Results/80000_TIN_D_noS.pkl'

Hi, I simply run the command 'python tools/Test_TIN_HICO.py --num_iteration 1700000 --model TIN_HICO' for testing, but encountered a problem that cannot find '-Results/80000_TIN_D_noS.pkl'   in HICO_Benchamrk_Binary.py, I have no idea where this file is saved and how is the format it is saved.

I found that I simply replacing '-Results/80000_TIN_D_noS.pkl'  with '-Results/1700000_TIN_HICO_0.8_0.3new_pair_selection_H2O2.pkl' is able to start the evaluation

That's interactiveness prior model D in our paper. Sorry for that we forget to upload it. We'll upload it soon.

We add it to our script, you can download it via
https://drive.google.com/open?id=1sjV6e916NIPcYYqbGwhKM6Vhl7SY6WqD
now

Now I cannot find '-Results/60000_TIN_VCOCO_D.pkl'


Optionally call getter after setter

With certain devices it would be nice to call the getter after the setter. A decorator to indicate which setters should call the getter afterwards would be nice.

Something like this should do:
import pydase
from pydase.utils.decorators import validate_set

class Service(pydase.DataService):
    def __init__(self) -> None:
        super().__init__()
        self._value = 0.0

    @property
    def value(self) -> float:
        return self._value

    @value.setter
    @validate_set(timeout=0.2, precision=1e-3)
    def value(self, value: float) -> None:
        self._value = value


Merge CUDA support to racon

Adding support for CUDA accelerated polishing using cudapoa module in ClaraGenomicsAnalysis SDK.

Hey @rvaser, did you get a chance to look through this PR?

Tomorrow for sure! Sorry for the delay :(

No problem, @rvaser ! Thanks :)


Allow clock drift when validating NotBefore and NotOnOrAfter attributes

As it is done in the ruby version of the library, https://github.com/onelogin/ruby-saml#clock-drift, would it be possible to configure clock drift?

Right now is not possible, but this is something that should exists.
are you able to contribute with a PR?
The idea is to add a new setting to the 'onelogin.saml.properties' with the clock drift value, by default 180 [3min], and use it on time validation.

Thank you for your response and for validating the idea.
I can do the PR, though it might take me a few weeks to find the time to do it.


Add diff

Added the function of difference bitmaps.
I apologize in advance for my english. This is not my native language.
I am using this library to perform AND / OR operations on growing bitmaps. And for optimization, I need to delete the processed data so as not to do unnecessary work on it in the future. I implemented this function for myself, but it seemed to me that it would be also needed in the original project.

Hello @egor43, thank you for contributing.
At a first glance this seems like a very nice feature. Could you please just update the README.md to also include a short description of R.DIFF?
Besides that, seems good to merge!

Thanks. Of course I will update the README.md

Hello @aviggiano  I have updated README.md by adding R.DIFF function description

Great, thanks for the contribution


Business assist tip

@kwekuako Business assist task 5595038 includes tips added to all topics and ms.custom tag (business-assist).

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@kwekuako Please merge this PR. Thanks


Implement plugin for reading from UNIX socket

You can pipe data in your terminal netcat -U /var/log/suricata/eve.socket  | logagent --yaml -url https://logsene-receiver.sematext.com -i YOUR_LOGS_TOKEN
If you run Logagent as service you might prefer to use the command plugin together with netcat or socat to pipe data into Logagent.
input:
  # read Suricata EVE log from UNIX socket
  suricata:
    module: command
    command: netcat -U /var/log/suricata/eve.socket
    # command: socat UNIX-CONNECT:/var/log/suricata/eve.socket
    sourceName: suricata
    # time in seconds to repeat the command
    restart: 0

@megastef are you suggesting Logagent should not and will not get a new plugin for reading from the UNIX socket because one can already do it as you've shown above?  Or are you saying this is just one workaround until there is a plugin for reading from a UNIX socket?

@megastef & @adnanrahic do you know?

I'm not sure. :thinking:


CopyFiles should support --watch

I hope this is the right place to post this issue - I'm currently using Wyam and haven't tested Statiq, but from a quick glance at the code the CopyFiles module is essentially the same. This is a feature request I suppose, so I think it belongs in statiq.
Given this pipeline:
Pipelines.Add("Assets",
  CopyFiles("../../../assets/fonts/**/*").To((src) => "fonts/" + src.Path.FileName),
  CopyFiles("../../../assets/images/site/**/*").To((src) => "img/" + src.Path.FileName),
  CopyFiles("../../../assets/images/shared/**/*").To((src) => "img/" + src.Path.FileName)
);

The file copying works as expected, but I can't figure out a way to make it work while developing the site in --watch mode. I end up having to either manually copy the files to /output, or have to stop and re-start the watch mode on every change.
Obviously I'm copying files from outside the /input directory, but I think that should be supported.
I'd be willing to contribute an implementation for this - I assume the hard part would be turning each copyfiles path into a FileSystemWatcher + a filter.

Great feature request, in fact I think there's another similar one open from a while back in the Statiq.Web repo. Right now we just watch the input folders to catch adds, deletes, and updates with the assumption that most activity will happen there. In your case where some files are coming from non-input folder, we have a few options:

Allow specifying additional non-input paths to watch.
Watch any folder from which non-input files are read.
Watch specific non-input files for changes.

The first option is probably the least error-prone and easiest to implement and would catch new files as well as update/delete, but also requires manual configuration. The second could cast too wide a net, but does watch for new files as well as update/delete. The third option is the most focused but would miss new files if those should be watched for.
I'm not sure which is the best choice - any thoughts?

My preference, given a shallow understanding of the architecture, is #2 - "watch all folders containing files which are read". Ideally there would be a way for modules to filter changes that are irrelevant, eg CopyFiles("../../assets/**/*.svg") wouldn't trigger a change if a non SVG file was updated.
IMO #3 is out, because, at least for the CopyFiles module -- if a new file is added that matches the path, it should be copied.
I think the correct behavior when a file is deleted is ambiguous, and I would tend toward doing nothing given the module name "CopyFiles". If the name was SyncFiles then the delete should propagate.
My understanding is that file watching is efficient on Windows, at least for local file systems. The biggest problem I could see related to casting too wide a net is unnecessary full rebuilds based on changes to irrelevant files, which is why I think modules would need a way to filter changes that should trigger a rebuild. If this already exists (sorry, I don't know if it does), then this approach seems best.
I think if the "watch all folders containing source files, and ignore changes to irrelevant source files" idea is too difficult to implement, then adding paths to watch could work. But this approach doesn't seem ideal, due to requiring duplication in the config code.

I also like the sound of option 2 best. If it casts too wide a net, maybe you could have another fluent method to call after To() that can enable or disable this feature after you define the default setting in the global config file.


Using cplx solver with clingo

Hello everyone,
I have installed cplex solver and have checked it by importing it in python. It is working fine. I have not installed lpsolve because I don't want to use it. Default solver is cplx. I tried to run the following through command line
clingo clingoLP.py example_encoding.lp example_instance.lp -c show=1
It gives the following error
Import Error: No module named lpsolve
Do I need to install lpsolve to eliminate this error or there is something else wrong?
Thank you

Hello,
since we provide the possibility to use one of both lp solvers, we need to import their functionality.
If one of both solvers is not installed, then you will get this Import Error.
The easiest way to solve this issue is to remove lines 709 to 866 of clingoLP.py (to remove the wrapper for lpsolve).
Best,
Sebastian

Thank you so much
On Dec 3, 2017 1:13 PM, "schellhorn"<EMAIL_ADDRESS>wrote:

Hello,
since we provide the possibility to use one of both lp solvers, we need to
import their functionality.
If one of both solvers is not installed, then you will get this Import
Error.
The easiest way to solve this issue is to remove lines 709 to 866 of
clingoLP.py (to remove the wrapper for lpsolve).
Best,
Sebastian
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/potassco/clingoLP/issues/3#issuecomment-348756760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AciPz0ankmXPBIydwRgVWdw5u8fnoskRks5s8oJUgaJpZM4QzSxR
.


CVE-2022-22965

Update springCoreVersion to fix CVE-2022-22965
more info https://tanzu.vmware.com/security/cve-2022-22965

Hi @alexandruz,
thanks for this. Please sign off your commit using the -s flag when commiting.
Otherwise, this PR looks good to me.

Can you please squash your commits, and change the commit message to something like:
Gradle: Upgrade springCore to version 5.3.18

This resolves CVE-2022-22965 [1]. For a changelog see [2].

[1]: https://github.com/advisories/GHSA-36p3-wjmg-h94x
[2]: https://github.com/spring-projects/spring-framework/releases/tag/v5.3.18

Signed-off-by: Alexandru Zănogeanu<EMAIL_ADDRESS>
After that, force push it to your branch.


Need sampled molecules

Hello, Could you provide the sampled molecules? Thank you!

Hi,
What do you mean the sampled molecules?

Thanks for your reply!
The sampled molecules are the molecules you used to evaluate the model capabilities, such as vina score, High Affinity

The generated molecules have already been put into Zenodo.


Pull tv information from https://thetvdb.com/

TMDB is slow at updating tv show information.  The TVDB seems like it's updated more reliably

Sadly TheTVDB doesn't seem like it has a free API, so I'm rejecting this


remove deprecated app labels for ksm metrics

Before adding a new alerting rule into this repository you should consider creating an SLO rules instead.
SLO helps you both increase the quality of your monitoring and reduce the alert noise.

How to create a SLO rule: https://github.com/giantswarm/sloth-rules#how-to-create-a-slo
Documentation: https://intranet.giantswarm.io/docs/monitoring/slo-alerting/

Towards: https://github.com/giantswarm/...
This PR gets rid of the app=kube-state-metrics in favor of the job=kube-state-metrics label as all clusters have upgraded beyond 18.2
Checklist

[x] Update CHANGELOG.md
[ ] Add Unit tests
[ ] Follow Alert structure
[ ] Consider creating a dashboard (guidelines) (if it does not exist already) to help oncallers monitor the status of the issue.
[ ] Request review from oncall area, as well as team (e.g: oncall-kaas-cloud GitHub group).

How do we ensure this does not break any dasboard or alerting rule ?

@TheoBrigitte are you fine with this?


Do not use TLS renegotiation if TLS >= 1.3

TLS 1.3 disables renegotiation . Need to check and guard against running the renegotiation code in the SSLHandler and other? places.
Noticed there's a pull request on Java 11 testing and TLS 1.3 is part of 11 (so might as well test it too).

I dont think so... if the user requests renegotiation but the protocol does not allow it it should fail (which it does atm).


[Candidate 4v4 Umbrella Corps ZH v1] Big house at top left side is selectable but not garrisonable

Observed behavior
Big house at top left side is selectable but not garrisonable.
Expected behavior
Big house at top left side is selectable and garrisonable.
Screenshots

should be fixed

Perhaps replace it with a suitable garrisonable house of similar size?
The rubble of this house is also odd. Has huge walls standing and units can move through that.

Perhaps replace it with a suitable garrisonable house of similar size?
The rubble of this house is also odd. Has huge walls standing and units can move through that.

tbh its like a nuke bunker in mid you can destroy it and the rubble you can get rid of with a scaffold. Also i pref to do as less design changes to the maps as possible.

Perhaps original author can make another pass then. I suspect this house was placed with the expectation that it can be used. The other corners also have houses that can be used properly.


Dependencies

Hi Amy, I think it would be good to clear state the dependencies: Python 3 (3.5+?), a number of python packages, such as $ pip install opencv-python nibabel tqdm pydot, and GraphViz software

Ask the same questions!

Hi @xamyzhao , thanks a lot for sharing the codes. Could you please kindly specify the version of python, tensorflow, and keras used in this project? It would be helpful for people who are trying to use the codes. Thanks so much!

Thanks for the reminder! I updated the readme.


Exclude LinqKit.Core implementation from LinqKit.EntityFramework etc. projects, use ProjectReference converted to package dependency instead

We have the following packages:
A library using LinqKit.Core
A package using LinqKit, EF6 and the library
Another package using LinqKit.EntityFrameworkCore, EF Core and the library
The problem is that both LinqKit and LinqKit.EntityFrameworkCore has the implementation of LinqKit.Core in the same namespace, so I cannot have (or inherit) package reference to both in the same project:
Error	CS0433	The type 'Linq' exists in both 'LinqKit.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=bc217f8844052a91' and 'LinqKit.Microsoft.EntityFrameworkCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=a5e68054d5e7f94b'
If I make LinqKit.Core private in the library, I have the following runtime error:
System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types.
Could not load file or assembly 'LinqKit.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=bc217f8844052a91'. The system cannot find the file specified.'
There are workarounds more or less working... but the correct way of reusing code is a package reference, so please exclude LinqKit.Core implementation from LinqKit.EntityFramework etc. projects, use ProjectReference converted to package dependency instead

@sdanyliv please merge pull request https://github.com/scottksmith95/LINQKit/pull/159

If you change to package references. Then I doubt if building all NuGets with the same version in a single build process can work ...

These are project references:

If you build all NuGets together they will be automatically converted to the appropriate package reference. Can you try it somehow?

@StefH, it works flawlessly, we have already tried it by simply building the solution in Visual Studio in release mode.
The LinqKit.EntityFramework => LinqKit.Core, etc. project references have been perfectly converted to LinqKit.EntityFramework => LinqKit.Core, etc. nuget package dependencies with the proper version coming from version.xml's PatchVersion.
LinqKit.EntityFramework.csproj
<Project Sdk="Microsoft.NET.Sdk">
  <Import Project="../../version.xml" />

  <PropertyGroup>
    <Version>1.1.$(PatchVersion)</Version>

[...]

  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\LinqKit.Core\LinqKit.Core.csproj" />
  </ItemGroup>

</Project>

LinqKit.EntityFramework.nuspec
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
  <metadata>
    <id>LinqKit.EntityFramework</id>
    <version>1.1.28</version>

[...]

    <dependencies>
      <group targetFramework=".NETFramework4.5">
        <dependency id="LinqKit.Core" version="1.1.28" exclude="Build,Analyzers" />
        <dependency id="EntityFramework" version="6.2.0" exclude="Build,Analyzers" />
      </group>
      <group targetFramework=".NETStandard2.1">
        <dependency id="LinqKit.Core" version="1.1.28" exclude="Build,Analyzers" />
        <dependency id="EntityFramework" version="6.3.0" exclude="Build,Analyzers" />
      </group>
    </dependencies>

[...]

  </metadata>
</package>

https://github.com/scottksmith95/LINQKit/pull/161


[EventHubs] Fix bug in reusing EventHubProducerClient

Addressing issue: https://github.com/Azure/azure-sdk-for-python/issues/21849
fix EventHubProducerClient reusability

API changes have been detected in azure-eventhub-checkpointstoreblob-aio. You can review API changes here
API changes
-             api_version: str,
+             api_version: str = ...,
-             secondary_hostname: str,
+             secondary_hostname: str = ...,
-             api_version: str,
+             api_version: str = ...,
-             secondary_hostname: str,
+             secondary_hostname: str = ...,

API changes have been detected in azure-eventhub-checkpointstoreblob. You can review API changes here
API changes
-             api_version: str,
-             secondary_hostname: str,
+             api_version: str = ...,
+             secondary_hostname: str = ...,
-             api_version: str,
-             secondary_hostname: str,
+             api_version: str = ...,
+             secondary_hostname: str = ...,

/azp run python - eventhub - tests

/azp run python - eventhub - tests

/azp run python - eventhub - tests


FF-RN-26Jan23

RN for FF SDKs on 26th Jan 2023.
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-487

Preview environment: https://ci.pr.harness.io/pr-487

Preview environment: https://ci.pr.harness.io/pr-487


aurora CLI is not installing

Hi @artob @mrLSD @mikedotexe @antonpaisov Please help!  i was trying to intsall this CLI on liunx OS. but its not installing.. Giving some  errors.
node version which i am using v14.0.0
npm version which i am using 6.14.4

It is failing for me as well and it seems a dependency resolution problem:
ubuntu:~$ npm install -g aurora-is-near/aurora-cli
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path<EMAIL_ADDRESS>npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2021-09-20T12_49_52_551Z-debug.log

@mfornet  same error i am facing when installing Aurora CLI using this command npm install -g aurora-is-near/aurora-cli
errors --
pm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm WARN tar TAR_ENTRY_ERROR ENOENT: no such file or directory, open '/home/pp/.nvm/versions/node/v16.9.0/lib/node_modules/<EMAIL_ADDRESS>npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path<EMAIL_ADDRESS>npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod<EMAIL_ADDRESS>npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pp/.npm/_logs/2021-09-21T05_39_26_980Z-debug.log

@puneetsingh166 team is already aware of the issue, and @0x3bfc is already taking care of it, no need to ping all collaborators!

This repository is no longer maintained. Please visit Aurora CLI for latest release of Aurora CLI. Feel free to submit your issues/proposals there.


fix(md-3843): fix expand row android

Adds all columns to the expand JSON

:tada: This PR is included in version 1.1.0-alpha.86 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[branch-2.1]FixReplace BlockingWaitStrategy with LiteTimeoutBlockingWaitStrategy to avoid deadlock issues. (#40625)

…
FYI https://issues.apache.org/jira/browse/LOG4J2-1221

BlockingWaitStrategy is a wait strategy used in the Disruptor framework that blocks the thread when the ring buffer is full or not yet available for publishing.

When threads are blocked, they are waiting for space in the ring buffer to become available, which can lead to potential deadlocks if not managed properly.
Timeout Handling:

LiteTimeoutBlockingWaitStrategy provides a timeout for waiting threads. If the buffer is not ready within the timeout period, the thread is released, preventing it from being blocked indefinitely. Reduced Risk of Deadlocks:

By avoiding indefinite blocking, this strategy reduces the risk of deadlocks caused by threads waiting on each other. The timeout allows the system to handle scenarios where resources are temporarily

(cherry picked from commit 087048f2b2f06eae15e80e7ffa209610c9e3f173)
Proposed changes
Issue Number: close #xxx

run buildall


failing cftime plot tests

This was reported in #5077 and seems to be an upstream issue (see https://github.com/pydata/xarray/issues/5077#issuecomment-808605313):
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_line_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_pcolormesh_plot
FAILED xarray/tests/test_plot.py::TestCFDatetimePlot::test_cfdatetime_contour_plot

In order to get the upsteam-dev CI open new issues for other failing tests on upstream-dev I've xfail'ed them in #5343. This should be undone once it is fixed in either cftime or nc-time-axis.

Thanks @keewis; I agree it's good to just xfail them for now.

FYI, I opened SciTools/nc-time-axis#59 to update nc-time-axis. Waiting for maintainers to review.


Bump API Version for Adyen Giving

Summary
Bumping the version of the checkout API to version v67 to open up functionality for Adyen Giving.
Additionally changed all comments to reflect this bump
Tested scenarios

Fixed issue:

Hi @ethanwayda22, thanks for the PR. Was this generated using these steps? https://github.com/Adyen/adyen-go-api-library/blob/develop/OAPI-generator.md
I don't see any change in models, I think there are some model changes with new version of API. @KadoBOT can you plz check

closing in favor of https://github.com/Adyen/adyen-go-api-library/pull/102


CanPlaceOn Item Flag

Enhance adventure mode mechanics by allowing items (blocks) with the CanPlaceOn flag to be created through denizen (easily).
Encourages adventure playwork

nice copy paste there @brainscript :sweat_smile:

@Fortifier42 :laughing: Thanks!


rename a USDT param name to follow void* <name> and size_t <name>_len convention

This is because h2olog uses heuristics that void* <name> must be paired with size_t <name>_len.

Thanks. BTW, I have no permission to merge PRs. Can I have it?


More switches?

Hi, really apperatiate your work, adding OLED for displaying profile is fatastic.
But 15key is just not enough when using as a numpad. 4x5 should be a proper balace between minimal and functionality.
Do you consider adding more keys in the future version?
thanks

Hi definitelynotkk, I designed this project with more of a general keypad in mind instead of a numpad, so 15 keys were enough for me. For 20 keys, it will need more components and a microcontroller with more pins. I don't currently have plans on a new version, but since this is an open-source project, anyone can contribute and make modifications.


Modsecurity v3 : nginx POST data not printed into auditlog

We tried to configure the logging of Request Body for blocked request via Nginx + modsecurity v3 but don't have the printed options H and C. The config of SecAuditLogParts is ABCIJDEFHZ and we noticed that this rule doesn't print the action options (suggested info https://github.com/SpiderLabs/ModSecurity-nginx/issues/76).
        location @403_json {
            default_type application/json;
            #issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76
            modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 403 '{"code": 403, "desciption": "error"}';
        }

Logs and dumps
N/A
Server (please complete the following information):

ModSecurity version (and connector):  ModSecurity v3.0.3 with nginx-connector v1.0.0
WebServer: nginx-1.19.7
OS (and distro): CentOS 7.9

Rule Set (please complete the following information):

Running any public or commercial rule set? OWASP CRS
What is the version number? 3.2.0

Hi @cello86,
I'm not completely clear on the problem you are outlining.  From your first sentence, it sounded like you were talking about an overall issue with section 'C' output not appearing in the audit log, but from the later pasted content it sounds like you are talking about only an error-page redirection scenario.
I have just checked and section C output is generally available in v3.0.3.
You are using older versions of both ModSecurity and the nginx connector.  There are important fixes related to both logging and error-page redirects in more recent versions of both.  My main suggestion would be to upgrade to v3.0.4 and v1.0.1 respectively.

Hi @martinhsv,
We already updated the version of nginx connector to 1.0.1 but we had to rollback the change for this issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/176.
Marcello

So, are you saying you are re-reporting the issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/176 that was closed as a duplicate?

No there are two different issues. Into the nginx-connector  1.0.1 whole audit log didn't work and in this issue with the nginx-connector the C part doesn't work.

Did you try using v1.0.1 of the connector with the fix https://github.com/SpiderLabs/ModSecurity-nginx/pull/175 as suggested by @victorhora here: https://github.com/SpiderLabs/ModSecurity-nginx/issues/176 ?

I tried to replicate all the scenarion and I started with:

nginx: 1.19.7
nginx-connector : 1.0.1
mod_security 3.0.4
OWASP CRS: 3.2.0
config SecAuditLogParts: "ABCIJDEFHZ"

Scenario 1.
Nginx basic configuration
Curl result
OK
# curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 08:58:15 GMT
Content-Type: text/html
Content-Length: 158
Connection: keep-alive
Server: nginx

<title>403 Forbidden</title>

403 Forbidden

Nginx

Audit log
OK
---NhWKcwC2---A--
[12/Mar/2021:09:58:15 +0100]<PHONE_NUMBER>95.090866 <IP_ADDRESS> 62978 <IP_ADDRESS> 443
---NhWKcwC2---B--
POST /test?path=../../../etc/hosts HTTP/1.1
Host: test.local
User-Agent: curl/7.65.0
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
---NhWKcwC2---C--
{if code = 1}
---NhWKcwC2---D--
---NhWKcwC2---F--
HTTP/1.1 403
Server: nginx
Date: Fri, 12 Mar 2021 08:58:15 GMT
Content-Length: 158
Content-Type: text/html
Connection: keep-alive
Via:
---NhWKcwC2---H--
XXXXX
---NhWKcwC2---I--
---NhWKcwC2---J--
---NhWKcwC2---Z--

Scenario 2
Nginx configuration with custom error page and fix reported to issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76.
        error_page 403 @403_json;

        location @403_json {
            default_type application/json;

            modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 403 '{"code": 403, "description": "error"}';
        }

Curl result
OK
curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 09:07:49 GMT
Content-Type: application/json
Content-Length: 166
Connection: keep-alive
Server: nginx

{"code": 403, "description": "error"}

Audit log
KO in this configuration we miss the header H and C
---onDx8gIg---A--
[12/Mar/2021:10:07:49 +0100]<PHONE_NUMBER>77.486138 <IP_ADDRESS> 63064 <IP_ADDRESS> 443
---onDx8gIg---B--
POST /test?path=../../../etc/hosts HTTP/1.1
Host: test.local
User-Agent: curl/7.65.0
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
---onDx8gIg---D--
---onDx8gIg---F--
HTTP/1.1 403
Server: Microsoft-IIS/8.5
Server: Microsoft-IIS/8.5
Date: Fri, 12 Mar 2021 09:07:49 GMT
Content-Length: 166
Content-Type: application/json
Connection: keep-alive
X-Powered-By: ASP.NET
Via:
---onDx8gIg---H--
---onDx8gIg---I--
---onDx8gIg---J--
---onDx8gIg---Z--

I tried to replicate all the scenarion and I started with:

nginx: 1.19.7
nginx-connector : 1.0.1
mod_security 3.0.4
OWASP CRS: 3.2.0
config SecAuditLogParts: "ABCIJDEFHZ"

Scenario 1.
Nginx basic configuration
Curl result
OK
# curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 09:21:32 GMT
Content-Type: text/html
Content-Length: 158
Connection: keep-alive
Server: nginx

<title>403 Forbidden</title>

403 Forbidden

Nginx

Audit log
OK
---LzuBCjtw---A--
[12/Mar/2021:10:21:32 +0100]<PHONE_NUMBER>47.954903 <IP_ADDRESS> 63290 <IP_ADDRESS> 443
---LzuBCjtw---B--
POST /test?path=../../../etc/hosts HTTP/1.1
Host: test.local
User-Agent: curl/7.65.0
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
---LzuBCjtw---C--
{if code = 1}
---LzuBCjtw---D--
---LzuBCjtw---E--
\x0d\x0a<title>403 Forbidden</title>\x0d\x0a\x0d\x0a
403 Forbidden
\x0d\x0a
nginx\x0d\x0a\x0d\x0a\x0d\x0a
---LzuBCjtw---F--
HTTP/1.1 403
Server: Microsoft-IIS/8.5
Server: Microsoft-IIS/8.5
Date: Fri, 12 Mar 2021 09:21:32 GMT
Content-Length: 158
Content-Type: text/html
Connection: keep-alive
X-Powered-By: ASP.NET
Via:

---LzuBCjtw---H--
ModSecurity: Warning. Matched "Operator XXX
ModSecurity: Warning. Matched "Operator XXX
ModSecurity: Warning. Matched "Operator XXX
---LzuBCjtw---I--
---LzuBCjtw---J--
---LzuBCjtw---Z--

Scenario 2
Nginx configuration with custom error page and fix reported to issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76.
        error_page 403 @403_json;

        location @403_json {
            default_type application/json;

            modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 403 '{"code": 403, "description": "error"}';
        }

Curl result
OK
curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 09:07:49 GMT
Content-Type: application/json
Content-Length: 166
Connection: keep-alive
Server: nginx

{"code": 403, "description": "error"}

Audit log
KO in this configuration we missed all the auditlog

I tried to replicate all the scenarion and I started with:

nginx: 1.19.7
nginx-connector : 1.0.1 + patch https://github.com/SpiderLabs/ModSecurity-nginx/commit/ac3e8a9ac65877ab0eeebf416c26f2457ffe8296.patch
mod_security 3.0.4
OWASP CRS: 3.2.0
config SecAuditLogParts: "ABCIJDEFHZ"

Scenario 1.
Nginx basic configuration
Curl result
OK
# curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 12:26:59 GMT
Content-Type: text/html
Content-Length: 158
Connection: keep-alive
Server: nginx

<title>403 Forbidden</title>

403 Forbidden

Nginx

Audit log
OK
---2X3maK6X---A--
[12/Mar/2021:13:26:59 +0100]<PHONE_NUMBER>24.488672 <IP_ADDRESS> 50026 <IP_ADDRESS> 443
---2X3maK6X---B--
POST /test?path=../../../etc/hosts HTTP/1.1
Host: test.local
User-Agent: curl/7.65.0
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded

---2X3maK6X---C--
{if code = 1}

---2X3maK6X---D--

---2X3maK6X---E--
\x0d\x0a<title>403 Forbidden</title>\x0d\x0a\x0d\x0a
403 Forbidden
\x0d\x0a
nginx\x0d\x0a\x0d\x0a\x0d\x0a

---2X3maK6X---F--
HTTP/1.1 403
Server: nginx
Date: Fri, 12 Mar 2021 12:26:59 GMT
Content-Length: 158
Content-Type: text/html
Connection: keep-alive
---2X3maK6X---H--
ModSecurity: Warning. Matched "Operator XXX
ModSecurity: Warning. Matched "Operator XXX
ModSecurity: Warning. Matched "Operator XXX
---2X3maK6X---I--
---2X3maK6X---J--
---2X3maK6X---Z--

Scenario 2
Nginx configuration with custom error page and fix reported to issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76.
        error_page 403 @403_json;

        location @403_json {
            default_type application/json;

            modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 403 '{"code": 403, "description": "error"}';
        }

Curl result
OK
curl -i -k -XPOST https://test.local/test?path=../../../etc/hosts -d '{if code = 1}'
HTTP/1.1 403 Forbidden
Date: Fri, 12 Mar 2021 12:29:04 GMT
Content-Type: application/json
Content-Length: 166
Connection: keep-alive
Server: nginx

{"code": 403, "description": "error"}

Audit log
KO in this configuration we miss the header H and C
---ZHXBV3hl---A--
[12/Mar/2021:13:29:04 +0100]<PHONE_NUMBER>17.645866 <IP_ADDRESS> 50055 <IP_ADDRESS> 443
---ZHXBV3hl---B--
POST /test?path=../../../etc/hosts HTTP/1.1
Host: test.local
User-Agent: curl/7.65.0
Accept: */*
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
---ZHXBV3hl---D--
---ZHXBV3hl---E--
{"code": 403, "description": "error"}
---ZHXBV3hl---F--
HTTP/1.1 403
Server: nginx
Date: Fri, 12 Mar 2021 12:29:04 GMT
Content-Length: 37
Content-Type: application/json
Connection: keep-alive
---ZHXBV3hl---H--
---ZHXBV3hl---I--
---ZHXBV3hl---J--
---ZHXBV3hl---Z--

The issue on versions 1.0.0 and 1.0.1 seems to be related to https://github.com/SpiderLabs/ModSecurity-nginx/issues/182.
Marcello

Can you provide more of your configuration?

the block that does the redirect to @403_json?
other blocks that have any modsecurity config?

Content from debug log could also be helpful (at level 9).  One thing in particular,is that the debug log should show the parts that are configured to report (and I suspect that it is not what you think you have configured).

This is the configuration used:
user  nobody;
pid        logs/nginx.pid;
error_log  logs/error_log info;
worker_processes auto;
thread_pool default threads=32 max_queue=65536;
thread_pool static  threads=32 max_queue=65536;

events {
    worker_connections  4096;
    use epoll;
    accept_mutex off;
}

http {

    log_format  main  '$remote_addr $remote_port $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent $request_time "$http_referer" '
                      '"$http_user_agent" "$http_cookie"';

    server_tokens off;

    upstream xxxxx  {
          keepalive 100;
          server xxxxx
    }

    server {
        server_name test.local ;
        listen <IP_ADDRESS>:443 ssl;

        modsecurity on;
        modsecurity_rules_file /usr/local/nginx/conf/modsecurity.conf;

        access_log  syslog:server=<IP_ADDRESS>:514,facility=local4,tag=test ssl;
        error_log   syslog:server=<IP_ADDRESS>:514,facility=local5,tag=test info;

        ssl_protocols TLSv1.2
        ssl_certificate /usr/local/nginx/certs/test.local.pem;
        ssl_certificate_key /usr/local/nginx/certs/test.local.key;
        ssl_session_cache shared:SSL:10m;
        ssl_session_timeout  15m;
        ssl_prefer_server_ciphers on;
        ssl_session_tickets on;

        error_page 403 @403_json;
        error_page 404 @404_json;

        location @403_json {
            default_type application/json;
	    #issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76
	    modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 403 '{"code": 403, "description": "error" } ';
        }

        location @404_json {
            default_type application/json;
	    #issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76
	    modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            return 404 '{"code": 404, "description": "error" } ';
        }

        location ^~ /error {
	    #issue https://github.com/SpiderLabs/ModSecurity-nginx/issues/76
	    modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            alias "/usr/local/nginx/error";
        }
        location ~ /(actuator/|actuator) {
            return 404;
        }
        location /probe.html {
            return 200;
        }

        location ~ ^/test1/ {
            root   html;
            aio threads=default;
	    default_type application/json;
            proxy_connect_timeout 10;
            proxy_read_timeout 10;
            proxy_pass        http://xxxx;
        }

    }
}

Thanks for the additional detail.  It looks like I am able to reproduce what you have reported -- even using v3.0.4 and the current version of the connector.
I will take a closer look.

As background, keep in mind that error redirects effectively create a second transaction.  I.e. ModSecurity sees the original POST transaction and successfully parses the request body and triggers on any rules that examine these.  The error redirect creates a second transaction that ModSecurity also sees.
In your configuration, when processing the second transaction (the one processed within the 404_json location block), the request body is never processed. That is why there is no section 'C' output.
I suspect that this may be expected behaviour given the way that you have configured the response to come directly from the configuration.  In any case, I believe you can achieve the functionality you are looking for a couple of different ways.  Perhaps the simplest is to actually create a 403.json file with your desired content, and then use configuration something like this:
error_page   403  /403.json;

location = /403.json {
    modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
    root   /usr/share/nginx/html;
}

Hi @martinhsv,
Thanks for the tips and I configured the error page only for the 403 to file and i provide directly from the location /error. I noticed that the final configuration required on our target the propagation of the $request_id into the JSON payload. I used the sub_filter module to achieve this job and the final configuration is:
        error_page   403  /error/403.json;

        location ^~ /error {
            modsecurity_rules 'SecRule REQUEST_URI "@beginsWith /" "id:1,pass,phase:2,log,ctl:ruleEngine=DetectionOnly"';
            alias "/usr/local/nginx/error";
            sub_filter_types application/json;
            sub_filter_once off;
            sub_filter 'request_id' '$request_id';
        }


Created an example of connection with a BLE device

Really basic connection script

Just to clarify, the HC-06 modules that you have are not BLE but Bluetooth 2.0.

Thanks for the clarification a lot!
We were actually discussing whether it was or not 4.0 and going to ask the TAs.


Update building-your-contact-list.md

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @sendgrid-ryan,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Filtering topics by curated "known good" team list

:ok_hand:

Could you pass team_dict straight into the template and then do
{% for team, team_repos in team_dict.items() %}
So {{ team|first }} becomes {{ team }}
and {% for repo in team.1 %} becomes {% for repo in team_repos %}?


CSRF token validation failed error after 2.4 install

I'm attempting to install cachet via docker with the latest dockerfile.  Everything works fine until I attempt to login, then I get CSRF TOKEN VALIDATION FAILED errors on login.
I've tried overriding SESSION_DRIVER with pretty much every option (database, file, etc), but no matter what I get this error.

I'm using master, so it it possible that the latest pull request with the apc default could have broken things?

It works once I switch to the 2.4 branch

As @jgadbois said, switching the Docker Repo 2.4 branch fixes this issue.

I finally resolve this issue  with this trick
Set
APP_ENV=production
APP_DEBUG=false

@jgadbois @shieldheart This doesn't seem to be a solution anymore. I'm trying to use 2.4 but still receive this error.

@jgadbois @shieldheart This doesn't seem to be a solution anymore. I'm trying to use 2.4 but still receive this error.

If you checkout branch 2.4, need rm before build image. rebuild image.


Game crashed then kept crashing when loading saved world.

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Game crashed then kept crashing when loading the saved world.
Crash log : https://pastebin.com/fExBhj9N
Steps to reproduce:

Happened suddenly.

Version (make sure you are on the latest version before reporting):
Forge: 1.11.2-<IP_ADDRESS>4
Mekanism: 1.11.2 - 9.3.4
Other relevant version:
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
https://pastebin.com/fExBhj9N

also, tried the latest version 9.3.5 it didn't fix the problem

Duplicate of #4487 and a few others. This should  be fixed in the next release

Closed by accident, will close after version is released


how to resolve

pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
paddleocr 2.7.3 requires opencv-python<=<IP_ADDRESS>, but you have opencv-python <IP_ADDRESS> which is incompatible.
simple-lama-inpainting 0.1.2 requires pillow<10.0.0,>=9.5.0, but you have pillow 10.3.0 which is incompatible.
pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
paddleocr 2.7.3 requires opencv-python<=<IP_ADDRESS>, but you have opencv-python <IP_ADDRESS> which is incompatible.
paddleocr 2.7.3 requires Pillow>=10.0.0, but you have pillow 9.5.0 which is incompatible.

May I know which file and where exactly should I make the changes? Thank you!


Developer want to integrate a team menu

Each player should be able to choose a team or to create one.
There should alliances where each player can define the alliance status: neutral, friendly, enemy

https://github.com/Ismoh/factorio-coop-secure-spawn-areas-mod/commit/6a96663bea3c80bcff35575e23ddc76518054732

Use modules for references:
http://lua-users.org/wiki/ModulesTutorial

There should be one gui.lua, which contains the teams menu gui. There is only one instance of it. Use class module for this as well.
This gui.lua also contains a list of the existing and created teams instances.
Dont forget to hook the on force created event to keep track of all teams/forces.
Check how to remove a force. Setting to nil might be enough.

Done in v0.0.8


Increasing Xdebug's max_nesting_level

I got the famous error: "Maximum function nesting level of '100' reached" by testing my symfony project. I know sometime it could be interesting to detect a big function nesting... but 100 is a bit low in our days.
What about change the xdebug.max_nesting_level to 200 in the php.ini file?
Thank you for your work :smile: .

OK. Updated main/stretch branch.


Any type of screenshots or demo

How functional is the current codebase? Are you looking for contributors? Do you have any screenshots of the existing system? I guess I could just install it to find out, but wanted to find out a bit more about its current state, etc, first.

I released 0.1.0 as it was the bare min function in a CRM. that being ability to manage contacts, leads, deals, users and teams.  My plan however is to rapidly add to this and move towards what I believe are all the core parts of a CRM

Products
Notes
Tasks
Files / Documents
Calendar (Calls, Meetings, Reminders)
Roles / Permissions
Dashboard
Custom Fields
Activity Feed / Timelines
CSV Import / Export

There is actually much more than the above planned, however this I would see as being an "MVP" for any CRM. I've built custom enterprise CRMs for years and am pulling my experience from this to develop this opensource project
Yes looking for contributors :) Although I've been in the PHP dev game since 1998 I've never been involved in an Opensource project. So this my first and would love to work with contributors and learn how the process works at the same time.
Here is a screenshot with dummy data. The front end is not styled yet, rather plain bootstrap but I will work on that soon also. Main focus is backend at the moment.

Hi @MACscr,
Closing this ticket for now. Package under heavy development so keep an eye on updates!
Andrew