[Feature] Option to specify additional lint rules in the auto-generated header

Use case:
I have set up my own analysis_options.yaml file with a configuration for the linter rules to use and/or exclude.
If one or more rules in that file conflict with the autogenerated code of the plugin,
I get unnecessary analyzer warnings. (I.e. always_use_package_imports or public_api_docs)
Proposal:
We should instead allow users to add an additional ignore_for_file: <lints the user wants to ignore> above or under the existing ones in the templates.
This would provide users with the ability to still somewhat configure the autogenerated file alongside the linter.

Solution is to exclude some files and directories from the analysis, as concluded in https://github.com/localizely/intl_utils/pull/51.
The analysis_options.yaml file:
analyzer:
  exclude:
    - lib/generated/l10n.dart
    - lib/generated/intl/*


[Enhancement]: Update Confluent container tag to 7.2+ with arm64 support

Problem
Using Confluent images with version 6.1.9 causes issues for people who have ARM64 machines as those containers are only available for AMD64 architecture.
Solution
Update Confluent images to use more up-to-date version, like 7.2.6, which supports both ARM64 and AMD64.
Benefit
Ability to run native images for both ARM64 and AMD64.
Alternatives
Allow to configure the container tag, accepting the risk that it might be misconfigured if the way to configure Kafka and Zookeeper will change between versions.
Would you like to help contributing this enhancement?
Yes

var kafkaContainer = new KafkaBuilder()
  .WithImage("confluentinc/cp-kafka:7.2.6")
  .Build();

that actually worked


CfgNodeMethods: Handle TypeDecl Before Method during .method step

Since jssrc2cpg files are :program methods, if a type is dynamically declared under this, we have a TYPE_DECL<-AST-METHOD relationship.
If there is a decorator on top of the TYPE_DECL, children of the type decl's annotation have a CHILD<-CONTAINS-TYPE_DECL relationship. CHILD<-CONTAINS-TYPE_DECL is marked initially as invalid by CfgNodeMethods.walkUpContains but in this context it is valid.
Resolves #2407

how about this as a slight variation? I also changed the comment
  private def walkUpContains(node: StoredNode): Method =
    node._containsIn.onlyChecked match {
      case method: Method =>
        method
      case typeDecl: TypeDecl =>
        // For a language such as javascript, types may be dynamically declared under procedures
        walkUpContains(typeDecl.astParent)
      case _: TypeDecl =>
        // TODO - there are csharp CPGs that have typedecls here, which is invalid.
        null
    }

how about this as a slight variation? I also changed the comment
  private def walkUpContains(node: StoredNode): Method =
    node._containsIn.onlyChecked match {
      case method: Method =>
        method
      case typeDecl: TypeDecl =>
        // For a language such as javascript, types may be dynamically declared under procedures
        walkUpContains(typeDecl.astParent)
      case _: TypeDecl =>
        // TODO - there are csharp CPGs that have typedecls here, which is invalid.
        null
    }

Since there are two matching cases with TypeDecl only the first will be taken, should I still keep the if statement on the first one? e.g.
  private def walkUpContains(node: StoredNode): Method =
    node._containsIn.onlyChecked match {
      case method: Method =>
        method
      case typeDecl: TypeDecl if typeDecl.astParent.isInstanceOf[Method] =>
        // For a language such as javascript, types may be dynamically declared under procedures
        walkUpContains(typeDecl.astParent)
      case _: TypeDecl =>
        // TODO - there are csharp CPGs that have typedecls here, which is invalid.
        null
    }

oops, sorry about that, yes you're right. so either your option from the last comment or this - whatever you prefer, I don't mind really:
  private def walkUpContains(node: StoredNode): Method =
    node._containsIn.onlyChecked match {
      case method: Method => method
      case typeDecl: TypeDecl =>
        typeDecl.astParent match {
          case method: Method =>
            // For a language such as javascript, types may be dynamically declared under procedures
            method
          case _ =>
            // there are csharp CPGs that have typedecls here, which is invalid.
            null
        }
    }


Implement a custom logger

Would be nice to have a custom logger which logs additional information, maybe in different formats to custom files.
Ideas:

Log multiple servers to one file.
Add a timestamp for each message.
Output JSON, XML, etc. if needed.

tail -f log.txt | add_time_of_each_line.sh >> our_improved_log.txt

Some Klei news about this topic: http://steamcommunity.com/app/322330/allnews/
They added the -backup_logs flag.

Recently they added a more or less useful timestamp to the chat log and in combination with existing tools like logstash etc. this issue seems like a big overhead and possibly a waste of time anyway. For now I think we should concentrate on other things and if needed we can re-open this with a more specific goal.


chore: more logging for finalization logic and subroutines processing

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Seeking early feedback] Add mux protocol parser

This is an early pull request to add mux protocol support (from Twitter's finagle). I intend to add support for the thrift protocol, but since my c++ skills are weak I'm looking for early feedback on this easier implementation.
Testing done

All of the tests (except for unimplemented stitcher ones) are passing

vagrant@ubuntu2004:/vagrant$  /opt/pixielabs/bin/bazel test  src/stirling/source_connectors/socket_tracer/protocols/mux:all
INFO: Analyzed 7 targets (0 packages loaded, 0 targets configured).
INFO: Found 4 targets and 3 test targets...
FAIL: //src/stirling/source_connectors/socket_tracer/protocols/mux:stitcher_test (see /home/vagrant/.cache/bazel/_bazel_vagrant/6ad5fdbcbf2eaa93bd62f92333a2e6e5/execroot/px/bazel-out/k8-fastbuild/testlogs/src/stirling/source_connectors/socket_tracer/protocols/mux/stitcher_test/test.log)
INFO: Elapsed time: 0.494s, Critical Path: 0.23s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed, 1 test FAILED, 2 total actions
//src/stirling/source_connectors/socket_tracer/protocols/mux:parse_test (cached) PASSED in 0.1s
//src/stirling/source_connectors/socket_tracer/protocols/mux:types_test (cached) PASSED in 0.1s
//src/stirling/source_connectors/socket_tracer/protocols/mux:stitcher_test FAILED in 0.1s
  /home/vagrant/.cache/bazel/_bazel_vagrant/6ad5fdbcbf2eaa93bd62f92333a2e6e5/execroot/px/bazel-out/k8-fastbuild/testlogs/src/stirling/source_connectors/socket_tracer/protocols/mux/stitcher_test/test.log

INFO: Build completed, 1 test FAILED, 2 total actions

Todo

[ ] Integrate mux parser with rest of codebase and determine how to end to end test
[ ] Finish off stitch implementation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@oazizi000 I've addressed your feedback and left a few questions for the comments I wasn't able to resolve.
I've also completed the stitcher implementation.


Fixed VCAP_SERVICES

Fixes #1
Our VCAP_SERVICES generator was missing functionality that would make services compatible with CF. Now we're most of the way there except for tags.
Most of this should go away once we build a webhook that injects VCAP_SERVICES into pods. That service will watch k8s resources and keep an internal cache so the values can be generated quickly leading to a different architecture.

@trisberg Can you take a look to see if this resolves the issue you had?


Table component not working with dynamic data

ElementUI version

OS/Browers version

Version 56.0.2924.87 (64-bit) | Linux
Vue version

2.1.10
Reproduction Link

Steps to reproduce
I'm using the table element with success when I pass an array with data :tableData="staticArray"
However when I use vue-apollo I got an error
Cannot define property:$extra, object is not extensible.
I'm not sure if it depends on the fact that the data array changes after retrieving from graphQL so that the table element throw this error because the array mutates
What is Expected?
I'd expect the table to update accordingly
What is actually happening?
Error: Cannot define property:$extra, object is not extensible.

Hi @ecerroni , were you able to find the problem? Can you please post the solution if you did. Thanks.

@ankitg1602
I think it was because data by either Apollo (vue-apollo package ) or Vue 2.x (when passing down props to child components) or both is freeze.
Possible workarounds, whatever works best in specific scenarios

Deep copy data you get from Apollo (Object.assign will not be enough for nested objects/arrays)
store Apollo data in localStorage and work with that.

I'm facing that only when I prefill a form with data I got from the apollo client.
In conclusion it's not an issue related to this repo.
That's why I closed it as soon as I got that.


mne.io.Raw.filter Error with NIRS data

Description of the problem
Hello, I’m working with NIRS data have trouble updating my code to MNE latest version because of the following MNE filtering function stops working when I do. mne.io.Raw — MNE 1.2.2 documentation
MNE version: 1.0.3
MNE-BIDS version : 0.10
MNE-NIRS version : 0.5.0
operating system: Windows 10

Steps to reproduce
Here is an example of a working code with MNE 1.0.3 but with MNE 1.1 or 1.3 I have a warning with same function :
import mne
import mne_bids
import mne_nirs
#steps to import data
BidsPath="C:/datafolder"
dataset = mne_bids.BIDSPath(root=BidsPath, task=mne_bids.get_entity_vals(BidsPath, 'task')[0], datatype="nirs", suffix="nirs", extension=".snirf")
subjects = mne_bids.get_entity_vals(BidsPath, 'subject')
sessions = mne_bids.get_entity_vals(BidsPath,'session')
bids_path=dataset.update(subject=subjects[0])
bids_path=dataset.update(session=sessions[0])
raw_data=mne_bids.read_raw_bids(bids_path=bids_path, extra_params=None, verbose=False)
#convert data
OD=mne.preprocessing.nirs.optical_density(raw_data)
Conc=mne.preprocessing.nirs.beer_lambert_law(OD,ppf=6)
#filter data
Filtered=Conc.copy().filter(0.05,0.1, l_trans_bandwidth=0.01, h_trans_bandwidth=0.01, verbose=False)

Link to data
You can find NIRS dataset here:  https://osf.io/b4wck/
Expected results
Filtered data with only this warning:
mne\filter.py:312: DeprecationWarning: Keyword argument 'nyq' is deprecated in favour of 'fs' and will be removed in SciPy 1.12.0.
this_h = firwin(this_N, (prev_freq + this_freq) / 2.,
Actual results
Result with MNE 1.3:
File "", line 1, in
File "", line 10, in read_raw_bids
File "C:\environment\lib\site-packages\mne_bids\read.py", line 713, in read_raw_bids
raw = _handle_channels_reading(channels_fname, raw)
File "C:\environment\lib\site-packages\mne_bids\read.py", line 552, in _handle_channels_reading
raw.rename_channels({raw_ch_name: bids_ch_name})
File "", line 12, in rename_channels
File "C:\environment\lib\site-packages\mne\channels\channels.py", line 414, in rename_channels
rename_channels(self.info, mapping, allow_duplicates)
File "", line 12, in rename_channels
File "C:\environement\lib\site-packages\mne\channels\channels.py", line 1112, in rename_channels
raise ValueError('New channel names are not unique, renaming failed')
ValueError: New channel names are not unique, renaming failed
Additional information
Platform:         Windows-10-10.0.19044-SP0
mne:              1.0.3
numpy:            1.22.3 {}
scipy:            1.10.1
matplotlib:       3.7.1 {backend=TkAgg}
sklearn:          1.2.2
numba:            Not found
nibabel:          5.1.0
nilearn:          0.10.0
dipy:             Not found
cupy:             Not found
pandas:           2.0.0
pyvista:          Not found
pyvistaqt:        Not found
ipyvtklink:       Not found
vtk:              Not found
PyQt5:            Not found
ipympl:           Not found
pooch:            v1.7.0
mne_bids:         0.10
mne_nirs:         0.5.0

the following MNE filtering function stops working when I do

To me it looks like it's the reading function that fails much earlier than the filtering function. Can you confirm that the failure is actually up at the read_raw_bids step?

To me it looks like it's the reading function that fails

Yes, according to the traceback, this issue has nothing to do with filtering. The issue should be transferred over to mne-tools/mne-bids

Oh, okay, I'm going to do that

I found this issue (https://github.com/mne-tools/mne-bids/issues/1117) on MNE_BIDS that looks like mine but the conclusion seems to lead back to MNE-python.

In https://github.com/mne-tools/mne-bids/issues/1117 I think the conclusion was that MNE-BIDS needs to take care of ordering differences between the data and channels.tsv. Not sure if it's the same problem, will have to test...


FluentTheme missing - 11.0.0-preview1

Hello,
I was using Fluent Theme at 10.999, but with 11 Preview Fluent Theme is missing.
I had to change to Simple Theme with;
    <Application.Styles>
        <SimpleTheme Mode="Light"/>
    </Application.Styles>

And Simple Theme throws an error at publish;
  XamlX.XamlParseException: Unable to resolve type SimpleTheme from
  namespace https://github.com/avaloniaui Line 10, position 10.

Any ideas?

Please install package Avalonia.Themes.Fluent. #5593

You also need Avalonia.Themes.Simple.
Both themes are now separate nuget packages not included with the main Avalonia nuget itself. This was done AFAIK because Avalonia is now used on a lot of embedded devices that don't want unnecessary code. Avalonia is more modular now.

Thanks, problem solved.
I read the blog post but couldnt find info about it. It seems mentioned at #5593
Thanks for your time


fix: style loss while adding style to inline text

fix style loss while adding style to inline text
fix #480

@gazedreamily can we merge this?


TypeError: 'NoneType' object is not callable raised by wrapped API

Thank you for building this repo, and for being so responsive! Also thanks for making the license change.
I'm getting this exception in my code after a 400 response from Amazon:
Exception ignored in: <function ApiClient.__del__ at 0x10e10e268>
Traceback (most recent call last):
  File "/Users/myuser/.virtualenvs/mysite/lib/python3.7/site-packages/paapi5_python_sdk/api_client.py", line 104, in __del__
  File "/usr/local/var/pyenv/versions/3.7.0/lib/python3.7/multiprocessing/pool.py", line 539, in close
TypeError: 'NoneType' object is not callable

I'm still investigating and will make a PR if I find any issues I can fix, but leaving this here for now in case other users encounter the same problem.

Thanks for your help, I will test it and try to solve the issue. Let me know if you find the bug by your side.

@sergioteula it may be a bug in the underlying wrapper. Turned out that before the migration my account's tag worked both as mysite-#### and as mysite##-##. Now only mysite##-## works.
I changed the tag and now the error is gone. So, to reproduce the error just try using an incorrect site tag - you'll get a 400 error and likely also the underlying exception. Probably an issue with the wrapper, feel free to close this.

@sergioteula confirmed it's a bug in the underlying wrapper. The issue is they're calling self.pool.close() in the library's del method and self.pool is already None. Therefore the error.
I believe they need to do something like https://github.com/dask/dask/commit/b3d2c2c50f24a9522c10528d9ee3f529492b3cef to register this if they want to call self.pool.close.
I've sent an email to the SDK maintainer and will let you know if I hear back. Closing this for now.

Thanks a lot for your help, noted about the issue.

@sergioteula re-opening this as it's currently a serious bug for me and there's no response from the developer of the API wrapper. Something I'm wondering is whether we could manually add a forked version of that wrapper to this repo to avoid the bug.

Here's my thought. It turns out the PyPI package is simply a download from here uploaded to PyPI.
My suggestion is to include that download in this repository so we can fix bugs in the Amazon version within this repo. That way we also don't depend on the PyPI version.
Alternatively, create your own PyPI upload of the Python SDK with its own GitHub repo. The problem is that the current PyPI version has no GitHub repo and so there's no way of implementing bugfixes. That could be better from a bugfixing perspective and for separation of concerns. Then reference your new upload to PyPI vs. the current amightygirl version.
I'm also happy to do that on my end if you'd prefer - just let me know. I'm eager to figure out how to fix the self.pool.close() bug as I'm getting it quite often at this point.

Added a StackOverflow question: https://stackoverflow.com/q/60684183/2532070

Hello again, that's exactly how this repo worked at the begining, so I would add the official SDK just inside this package in order to be able to fix issues like this one and also avoid any dependencies. I will upload an update in a while with this change and also improving the throttling part. Keep you posted.

Already added the SDK inside this project. We can now modify it if necessary to fix any bug we find. Please check before merging into master. https://github.com/sergioteula/python-amazon-paapi/pull/19

So now we can close this issue, I hope it will be completely solved. Thanks!


ScopedProtocol::interface claims to be deprecated since 0.16.0, but the replacement Deref/DerefMut didn't make it into 0.16.0

I just had a confusion when trying to run examples from the "main" branch with latest released uefi-rs crate 0.16.0.
It turns out that you cannot yet call open_protocol and just dereference the returned ScopedProtocol to the actual Protocol, because #434 didn't make it into 0.16.0.
What is even more confusing though is this attribute in the current "main" branch:
https://github.com/rust-osdev/uefi-rs/blob/d3206d6ff787dd361f74ad89e3545a0281ed4e4e/src/table/boot.rs#L1399-L1400
Claiming that ScopedProtocol::interface was deprecated in 0.16.0 is wrong when it was actually only deprecated in "main".
I don't know what your next release will be, but the attribute should first be updated to the version number of that release.

Good catch, apologies for the confusion that created. PR is up to bump since to the next version.


Feature request: Translate relationship entities (Translatable)

Translate lazy/eager loaded relationships of an entity automatically.
Currently all relationships are not translated.

they should be translated if translatable locale is set on listener.

If join and select fields are not explicitly set then it won't be translated.


Encoding not working correctly on noiseless simulation 🐛

Environment information

mqt.qecc version 1.5.0
qiskit version 0.45.1
(also the case with the simulator from our project, qrisp, but for best reproducability I included a qiskit file so you can check the issue)

Description
The error corrected circuit has incorrect output when measuring Z on all data qubits.
Therefore, the ECC protocol does not work.
Expected behavior
Correct encoding resulting in correct logical qubit when measuring data qubits
How to Reproduce

run the following python code. This circuit should result in an always measurement outcome of 1.

from mqt import qecc
from qiskit import QuantumCircuit, Aer, execute, ClassicalRegister
from qiskit.compiler import transpile

file = "./minimalbeispielsource.qasm"
ecc = "Q7Steane"
ecc_frequency = 10
qc = QuantumCircuit(1)
qc.x(0)
qc.qasm(filename=file)
result = qecc.apply_ecc(file, ecc, ecc_frequency)
circ = QuantumCircuit.from_qasm_str(result["circ"])

cr = ClassicalRegister(1,'my_reg')

# measure encoded logical qubit by measuring logical Z = ZZZZZZZ
circ.add_register(cr)
for i in range(7):
    circ.measure(circ.qubits[i],cr)

simulator = Aer.get_backend('qasm_simulator')

# Transpile the circuit for the simulator
transpiled_circuit = transpile(circ, simulator)

# Run the simulation
job = execute(transpiled_circuit, simulator, shots=1024, optimization_level=0)  # You can adjust the number of shots as needed
result = job.result()
# Get the counts from the simulation results
counts = result.get_counts()
# get the measurement outcomes
states = [k for k, _ in counts.items()]
# get the logical measurement results for encoded qubit
res0, res1 = 0, 0
for state in states:
    if state[0] == '0':
        res0 += counts[state]
    elif state[0] == '1':
        res1 += counts[state]
print(states)
print(f"We got 0 {res0} times and 1 {res1} times")

Thanks for the report and the reproducer. That definitely looks like a bug.
@33Gjl1Xe could you maybe take a look?

Even better. No worries 🙂


override variables.scss in chirpy-starter template

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar question on existing issues (including closed ones).
[x] I searched the Internet for related problems, but still couldn't solve it.
[x] My question is based on the latest code of master branch.

Description

How can I override the $sidebar-width variables?
I managed to change some of the css style by doing:

Creare a new file /assets/css/style.scss
And then add the following content:
@import "{{ site.theme }}";
// add your style below

but if i can't override /_sass/addon/variables.scss, either through the above manipulation or by manually creating  /_sass/addon/variables.scss
Do i have to copy all the code that contains$sidebar-width in /assets/css/style.scss and then modify it manually? Is there not an easier way?

Hi @adrien-perello,
I'm sorry to tell you that so far there is no easier way to do this, but in the future I will add a file to make it easier for users to change CSS variables.

Thank you so much for your reactivity 😊
Just to make sure I understand properly:
To change the sidebar dimension, we have to:

create a assets/css/variables-hook.scss
add $sidebar-width: [new size here];

Or do we have to add the line in assets/css/style.scss?
I tried both, but it did not seem to work (I'm using the chirpy-starter template) Do I have to change anything in _config.yml maybe?

I'm using the chirpy-starter template...

This new feature will not be available until the next release (possibly in v4.1.0).


How msisensor deal with soft clipping reads?

Hi,
I read your article, and it not mention counted reads including soft clipping or not, because soft-clipping of reads may add potentially unwanted alignments to repetitive regions, I don't know wheather soft-clipping reads have impact on the msisensor results or not.
Many thanks.

soft clipping reads included.


generate csv files

[ ]  Function to create a csv file of all static data for all stations
[x] Function to create observation file for all stations (to be used if working from the DB)

Think of a way how to combine quality flags to the observations.


Add FaceBook target audience

Hi,
Add the new target audience configuration to allow developers to customize bot's audience.
Enjoy,

thanks again @ouadie-lahdioui


Missing errno variable in metadata

When a system call detects an error, it returns an integer value indicating failure (usually -1) and sets the variable errno accordingly. An alternative at the moment is to use perror to print the error.

errno is a macro that resolves to calling the __error() function and dereferencing its result. Unfortunately, __error() is a function that obeys the same "double underscores mean internal private" convention that we agreed we won't expose in JavaScript. And we don't support macros, either.
I propose that we add a new function to the interop object that will query errno internally, much like GetLastWin32Error in .net.


Chatterino Not Responding On New Update

Chatterino not responding
Chatterino on startup stops responding for like a minute and this hasnt happened for me on any other version.

Also cannot reproduce on same commit as @alazymeme.

As many users reported already, their issues with chatterino not responding and crashing are gone in 2.3.1. Please update and if this is still a thing, feel free to comment below and reopen the issue.


feat: quiz frontend part completed

Dietify Quiz Live

Hi @Jaynil1611,
Code and UI looks clean and well structured.
Apart from what Aravind has suggested, Just a suggestion from my side.
the final score card shows some negative values for correct answer. Check that

I have fixed it, thanks.

Hi @Jaynil1611,
Code and UI looks clean and well structured.
Apart from what Aravind has suggested, Just a suggestion from my side.
the final score card shows some negative values for correct answer. Check that

I have fixed it, thanks.

All looks good now.@Jaynil


Link to app's settings page

As I make the behavior more complex, I want to assist users who prefer the simple interface. Linking to the settings page for the app will make it easy to disable features they don't care for.

This app is now maintained and supported by Sparkly. Although the app is available for free in the marketplace, the new versions are no longer open source. We would like to thank Charles Wood for his great work!
As app settings are moving to Admin Center, we've moved the app settings to the nav_bar location. The native app settings page is no longer being used. Any upcoming settings will be configurable here.


Create a proper readme and some guidelines

[x] Contribution Guidelines
[x] Code Style
[ ] Automatic Linting/Testing?

This is good enough for now, closing


cat-ui改进

我们公司，接入了cat，但是ui界面设计的非常丑陋，非专业未必能看懂，希望可以改进一下

如果你有好的建议或方案，欢迎发PR~

On May 17, 2022, at 16:39, xuqife @.***> wrote:
我们公司，接入了cat，但是ui界面设计的非常丑陋，非专业未必能看懂，希望可以改进一下
—
Reply to this email directly, view it on GitHub https://github.com/dianping/cat/issues/2213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASQE75733PCEMBVIY7UQH3VKNLN3ANCNFSM5WEDODWA.
You are receiving this because you are subscribed to this thread.


libreoffice pulls in a number of build dependencies

Describe the bug
libreoffice-qt pulls in a number of build dependencies at runtime.
I know, because I'm the doofus who created the mess.
Little bit of background:
In the past, in order to build the qt version of libreoffice, we used to heavily patch the build scripts in order to have LO find the various Qt and KDE dependencies.
It was error-prone, brittle and just generally a pain in the rear since by default the LO builder expects to find all Qt/KDE deps within the same prefix.
So the workaround was to use symlinkJoin to create a collection of all the dependencies and pass that to the LO builder.
This made it much easier to deal with, but it has the unintended side-effect of pulling in a shit-ton (metric, not imperial) of build dependencies.
$ nix-store --query -R /nix/store/xh313a8kvlbwsy8yjimp8186jqjn1b9k-libreoffice-<IP_ADDRESS>-wrapped/ | grep -c dev$
132

$ nix-store --query -R /nix/store/byjldgsxk231rdk8cw564nam751w42r4-libreoffice-kde-dependencies-<IP_ADDRESS> | grep -c dev$
88

$ nix path-info -Sh /nix/store/xh313a8kvlbwsy8yjimp8186jqjn1b9k-libreoffice-<IP_ADDRESS>-wrapped/
/nix/store/xh313a8kvlbwsy8yjimp8186jqjn1b9k-libreoffice-<IP_ADDRESS>-wrapped    2.5G

$ nix path-info -Sh /nix/store/byjldgsxk231rdk8cw564nam751w42r4-libreoffice-kde-dependencies-<IP_ADDRESS>
/nix/store/byjldgsxk231rdk8cw564nam751w42r4-libreoffice-kde-dependencies-<IP_ADDRESS>         968.4M

So yeah, that needs to be fixed.

Cc @7c6f434c @doronbehar

According to the output of:
$ nix why-depends --all --precise .\#libreoffice-qt.unwrapped .\#libsForQt5.qtbase.dev

It might also be related to my commit disabling the multiple outputs of libreoffice.unwrapped - 699d543 (#221192). Here's the output of nix why-depends:
Maybe we should just use removeReferencesTo? See also output of:
$ nix why-depends --precise .\#libreoffice-qt.unwrapped .\#libsForQt5.qtbase.dev
/nix/store/m68bzwyy9c1yfdnb73xh10n84py5g92w-libreoffice-<IP_ADDRESS>
└───lib/libreoffice/program/libkf5be1lo.so: …LIBO_UDK_4.1.$ORIGIN:/nix/store/vij2dh1aih2r8ys36xl3acy1b5v9c3fn-libreoffice-kde-dependencies-7.…
    → /nix/store/vij2dh1aih2r8ys36xl3acy1b5v9c3fn-libreoffice-kde-dependencies-<IP_ADDRESS>
    └───bin/fixqt4headers.pl -> /nix/store/fw9yfvms4j7ifa08f72ib16cvmmjzl7y-qtbase-5.15.8-dev/bin/fixqt4headers.pl
        → /nix/store/fw9yfvms4j7ifa08f72ib16cvmmjzl7y-qtbase-5.15.8-dev

For sure trying to stop using this symlinkJoined derivation will be a good attempt.

It might also be related to my commit disabling the multiple outputs of libreoffice.unwrapped - 699d543 (#221192).

Possibly, but the kde deps also pull in the qmake binary as an example which is obviously wrong.

For sure trying to stop using this symlinkJoined derivation will be a good attempt.

We still need a mechanism to provide a collection of the various dependencies due to how the LO build infra works because we do not want to go back to manual patching.

Catch: I care nothing about KDE, or any DE, so I have negative amount of clue what is fragile and what is easy/hard to test. I just see a pretty generic issue and want to make sure we figure out the true requirements.
Is it easy to maintain two lists of also-runtime and buildtime-only Qt dependencies? In the sense of churn, and in the sense of missing something in runtime dependencies with a «does it run, create a document, open a menu» test still passing but real use sometimes failing.
Is it a good idea to do the following?

$out/nix-support/kde-deps is created as a symlink to a join of buildtime deps.
Build as now, but use the symlink as the passed path.
Replace the symlink with a link to the join of only the runtime deps.


python311Packages.pueblo: 0.0.8 -> 0.0.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pueblo is: Pueblo - a Python toolbox library
meta.homepage for python311Packages.pueblo is: https://pypi.org/project/pueblo/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.0.9 with grep in /nix/store/ldacqn6mdf3irl7jx5d72rdpia4pbxj5-python3.11-pueblo-0.0.9
found 0.0.9 in filename of file in /nix/store/ldacqn6mdf3irl7jx5d72rdpia4pbxj5-python3.11-pueblo-0.0.9

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

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
csvkit
python311Packages.agate-sql
python311Packages.crate
python311Packages.pueblo
python312Packages.crate
python312Packages.pueblo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ldacqn6mdf3irl7jx5d72rdpia4pbxj5-python3.11-pueblo-0.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/a52e1e18eb86d1a0df8a93bac26b6be8c21560cd#python311Packages.pueblo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ldacqn6mdf3irl7jx5d72rdpia4pbxj5-python3.11-pueblo-0.0.9
ls -la /nix/store/ldacqn6mdf3irl7jx5d72rdpia4pbxj5-python3.11-pueblo-0.0.9/bin

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

2 packages failed to build:

python312Packages.crate
python312Packages.crate.dist

10 packages built:

csvkit
csvkit.dist
python311Packages.agate-sql
python311Packages.agate-sql.dist
python311Packages.crate
python311Packages.crate.dist
python311Packages.pueblo
python311Packages.pueblo.dist
python312Packages.pueblo
python312Packages.pueblo.dist

Maintainer pings
cc @doronbehar for testing.

The python312Packages.crate was due to a dependency that doesn't support Python 3.12 yet. I disabled it for `pythonAtLeast "3.12". Will merge when CI is green.

On a 2nd thought, this may trigger too many rebuilds, and I'm not even sure if it correct to do so, because upstream seems to have stop using distutils a long time ago, at https://github.com/apache/arrow/pull/9849 so I don't understand why python312Packages.pyarrow fails to build that way.. I removed the commit I added previously.


Update README with tutorial and installation instructions

Yeah, I think it would be nice to have the README focus on a simple tutorial, and link to the VampIR book (once online) for full documentation. Also, I think we should explain a bit how VampIR relates to Juvix, to Taiga to possibly other higher-level languages which might compile to it, and to individual backends / proof systems.
Also, it looks like the links to "Design rationale" and "spec" are broken. This is because the specs repository has changed layout, but I think we should just move these files into the VampIR repository (or perhaps the VampIR book) directly.

Oh - and the README should definitely show the benchmarks (especially the good ones :grinning:)


When you pick "unhealthy" in targets the service discovery page is empty

Proposal
Use case. Why is this important?
we want to see SD even when on the other page we pick unhealty
Bug Report
What did you do?
Pick unhealthy in targets
Go to service discovery page
What did you expect to see?
The service discovery details
What did you see instead? Under which circumstances?
Empty page
Environment

Prometheus version:

2.9.2

Confirmed. It was probably introduced by #5201 because the service discovery page also includes /static/js/targets.js.

@simonpasquier I would like to contribute to this

@praveensastry go ahead!


Improve formatting of logo & tagline header in print mode

Closes #235.
This PR adds a few CSS media queries to use flex boxes for the logo & taglines in the header in print mode, and also removes the excessive vertical whitespace below the logo & taglines in print mode. Without these changes, the logo & taglines consumed about half of the first printed page. This makes the logo & taglines more compact. I've tested these changes in Chrome, Firefox, and Safari.

OK this is a definite improvement but I'm wondering if we can take it a few steps further, so that things are ultra-compact in print view -- perhaps this is better handled in a separate ticket where we explicitly outline goals for the home page in print view (minor use case) and really dial in the report print view even more.  Merging for now and we can make another ticket if needed.


Update "xcodeproj" dependency version to be more promiscuous

Requiring 0.24.1 makes this gem incompatible with CocoaPods:
Bundler could not find compatible versions for gem "xcodeproj":
  In Gemfile:
    cocoapods (~> 0.38) ruby depends on
      xcodeproj (~> 0.26.2) ruby

    synx (~> 0.1) ruby depends on
      xcodeproj (0.24.1)

0.24 should be sufficient.

As per semantic versioning, there is no guarantee that minor version updates to Xcodeproj will be API compatible synx in the later future. Therefore until 1.0 of Xcodeproj has bene released, it is advised that dependents of Xcodeproj are tied to a specific minor version.
I'd suggest instead pinning to the ~> 0.26.3 version of Xcodeproj which is compatible with CocoaPods too.

Per my understanding of semver, 0.24 is a specific minor version (0.24.1 is a specific minor version + specific patch version). Please correct me if I'm wrong.

@jacebrowning That's correct, when you pin to ~> 0.24.1, any version patch version of 0.24 above 0.24.1 is compatible. Whereas when you pin to ~> 0.24 any "minor" version update will be compatible. For example 0.28.1 which may not be API compatible and thus won't work with synx.


[MRTK3] Add TransformExtensions class and unit tests

Overview
Brings the TransformExtensions class from MRTK2 in to MRTK3 and adds unit tests.
Changes

Fixes: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/11408 .

75ef977374d494295f5adbfa6ddef664aef1b6af


Public API: Provide goto_repo_folder(3) to give developers more convenience

Let's talk about the Public APIs. Now, we provides two APIS as folowing:

cibot_comment(3)
cibot_report(3)

The developers have experienced a difficult situation when they write their own CI module.  Let's think about if we have to  append goto_repo_folder(3) to give developers more convenience.

:octocat: cibot: Thank you for posting issue #362. The person in charge will reply soon.


Please fix to new website design changed

Hello devs,
@yaamas
If you can still update your script, please improve the script to support the latest site from www.wuxiaworld.com.

Give me a day or two and I'll sort it out.


bump-formula-pr: use GitHub vars under env filter.

Ensure that the various variables are passed through and reset correctly. If we end up doing this in a bunch of places we may add some helpers to simplify this.
CC @ilovezfs who mentioned this.

This will leak HOMEBREW_GITHUB_PASSWORD into brew config I think.

This will leak HOMEBREW_GITHUB_PASSWORD into brew config I think.

@ilovezfs Good spot; will check and filter that.


Updated Developer Guide, included Schedule class

Pull Request Test Coverage Report for Build 208

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.999%

Totals

Change from base Build 207:
0.0%

Covered Lines:
1693

Relevant Lines:
1946

💛  - Coveralls


How to change subnet mask or route from <IP_ADDRESS>/32 to <IP_ADDRESS>/24

hello guys
every thing is set up in RASPBERRY pi openvpn
client is able to connect to open vpn server
-connected through my pc and my mobile to RASPBERRY pi
(the only problem is that internet is not working after the connection is established on client side)
IN RASPBERRYPI
(User is able to ping www.google.com)
<IP_ADDRESS>/32 and if the route is 32 user is not able to ping
<IP_ADDRESS>/24 and if the route is 24 user is  able to ping

pi as server at <IP_ADDRESS>
my Pc as client <IP_ADDRESS>
MY PC LOG
Mon Jun 11 06:59:27 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Mon Jun 11 06:59:27 2018 /sbin/ip link set dev tun0 up mtu 1500
Mon Jun 11 06:59:27 2018 /sbin/ip addr add dev tun0 <IP_ADDRESS>/24 broadcast <IP_ADDRESS>
Mon Jun 11 06:59:27 2018 /sbin/ip route add <IP_ADDRESS>/32 dev ens192
Mon Jun 11 06:59:27 2018 /sbin/ip route add <IP_ADDRESS>/1 via <IP_ADDRESS>
Mon Jun 11 06:59:27 2018 /sbin/ip route add <IP_ADDRESS>/1 via <IP_ADDRESS>
Mon Jun 11 06:59:27 2018 Initialization Sequence Completed
NEED TO CHANGE  TO  <IP_ADDRESS>/32  to  <IP_ADDRESS>/24
Mon Jun 11 06:59:27 2018 /sbin/ip route add <IP_ADDRESS>/24 dev ens192
AND UR NEW VPN FILE IS NOT WORKING  EVEN FOR SETTING UP VPN I HAVE USED UR OLD VPN SCRIPT
MY SYSTEM _FEDORA 27 XFCE
AND IN MY OFFICE CYBERoAm FILEWALL IS THERE
AND I NEED TO LOGIN FOR ACCESSING INTERNET

Change netmask on the server at /etc/openvpn/server.conf on the server line


tog nav button icon too large

Your nav button image is nearly 5mb in memory:

Please resize it to something reasonable.

Hi @Adam-, sorry about that, and thank you for creating this issue. It's been a while since I worked on this, so I apologize, I'm not exactly sure what to resize. Is the nav button the one that is pressed on the right hand menu to open the TOG config? I have included a screenshot of what I'm talking about. I don't have RuneLite open at the moment

I looked through the repo and the only image I had was this one: https://github.com/jcarbelbide/tog-crowdsourcing/blob/master/src/main/resources/tog-icon.png
Or is it possibly the overlay I'm generating for the plugin?
https://github.com/jcarbelbide/tog-crowdsourcing/blob/master/src/main/java/com/togcrowdsourcing/ToGCrowdsourcingOverlay.java#L148
Apologies again, it has been a while since I've looked at this.

Hi @Adam-, sorry about that, and thank you for creating this issue. It's been a while since I worked on this, so I apologize, I'm not exactly sure what to resize. Is the nav button the one that is pressed on the right hand menu to open the TOG config? I have included a screenshot of what I'm talking about. I don't have RuneLite open at the moment

I looked through the repo and the only image I had was this one: https://github.com/jcarbelbide/tog-crowdsourcing/blob/master/src/main/resources/tog-icon.png
Or is it possibly the overlay I'm generating for the plugin? https://github.com/jcarbelbide/tog-crowdsourcing/blob/master/src/main/java/com/togcrowdsourcing/ToGCrowdsourcingOverlay.java#L148
Apologies again, it has been a while since I've looked at this.

Yes, the nav button. https://github.com/jcarbelbide/tog-crowdsourcing/blob/master/src/main/resources/tog-icon.png. It is 114KB as a compressed png, but when Java loads it expands to 5mb due to how large the image dimensions are. The nav buttons are only 20x20 px or so.

understood, thank you for explaining! Let me upload a new one that is compressed to something around 20x20 px

Sized down to 30x30 px, hope that is okay:
https://github.com/jcarbelbide/tog-crowdsourcing/pull/5

Opened PR on plugin-hub. Let me know if it needs to be smaller, or if I missed anything. Thank you for your help!
https://github.com/runelite/plugin-hub/pull/4378

https://github.com/runelite/plugin-hub/pull/4378 has been merged, closing this as resolved


Tweak documentation to use bold font when a class is referencing itself

Similar to how the website does it.

Please take a look at the implementation as there might be a better way.

I'm not sure why the underline is missing on OP's screenshot

The latter image is a comparison with the website, sorry for not being clear.


Initial update commit finalizing version 2.1.2 development branch.

Finalized error handling and added readme.txt for PyPi's sake.

Branch was out of date with master.


ESP32-devkitc-v4  ASSERTION FAIL [(cfg->port_pin_mask & (gpio_port_pins_t)(1UL << (pin))) != 0U] @ WEST_TOPDIR/zephyr/include/zephyr/drivers/gpio.h:1001

firmware is build and flashed succesfully.
I tried to build blinky sample. It does not support ESP32-Wroom, but I made the minimum adaptations.
Assertion fails with a message for unsupported pin.
Board: ESP32_devkitC_v4 with chip ESP32_WROOM_32D
esp32_devkitc_wroom.overlay:
/ {
	aliases {
		led0 = &led0;
	};
    leds {
		compatible = "gpio-leds";
		led0: led_0 {
			gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
		};
	};
};

main.c:
#include` <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>

#define SLEEP_TIME_MS   1000
#define LED0_NODE DT_ALIAS(led0)
static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(LED0_NODE, gpios);
int main(void)
{
	int ret;
	if (!gpio_is_ready_dt(&led)) {
		printk("Device is not ready\n");
		return 0;
	}
	printk("Device is ready\n");
	ret = gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
	if (ret < 0) {
		printk("Device cannot be configured\n");

		return 0;
	}
	printk("Device configured!\n");
	while (1) {
		k_msleep(SLEEP_TIME_MS);
		printk("I am awake\n");
	}
	return 0;
}

CMakeLists.txt:
Set(BOARD esp32_devkitc_wroom)

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(blinky)

target_sources(app PRIVATE src/main.c)

prj.conf:
CONFIG_GPIO=y
CONFIG_PRINTK=y
CONFIG_ASSERT=y

To Reproduce
west build
west flash!
Logs and console output
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6604
ho 0 tail 12 room 4
load:0x40078000,len:15224
ho 0 tail 12 room 4
load:0x40080400,len:3992
entry 0x40080634
I (30) boot: ESP-IDF 31fc5758f 2nd stage bootloader
I (30) boot: compile time 08:36:30
I (30) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed      : 40MHz
I (45) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (85) boot:  2 factory          factory app      00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=00000020 size=0001ch (    28)
I (113) esp_image: segment 1: paddr=00010044 vaddr=3ffb0000 size=002d0h (   720) load
I (121) esp_image: segment 2: paddr=0001031c vaddr=3ffb02d0 size=0013ch (   316) load
I (130) esp_image: segment 3: paddr=00010460 vaddr=40080000 size=03810h ( 14352) load
I (144) esp_image: segment 4: paddr=00013c78 vaddr=00000000 size=0c3c0h ( 50112)
I (164) esp_image: segment 5: paddr=00020040 vaddr=3f400040 size=01dc0h (  7616) map
I (167) esp_image: segment 6: paddr=00021e08 vaddr=00000000 size=0e210h ( 57872)
I (191) esp_image: segment 7: paddr=00030020 vaddr=400d0020 size=03bd8h ( 15320) map
I (198) boot: Loaded app from partition at offset 0x10000
I (199) boot: Disabling RNG early entropy source...
*** Booting Zephyr OS build zephyr-v3.5.0-232-g7a27431a0c63 ***
Device is ready
ASSERTION FAIL [(cfg->port_pin_mask & (gpio_port_pins_t)(1UL << (pin))) != 0U] @ WEST_TOPDIR/zephyr/include/zephyr/drivers/gpio.h:1001
        Unsupported pin

Backtrace:0x40080b20:0x3ffe65b0 0x400d097d:0x3ffe65c0 0x400d0475:0x3ffe65e0 0x400812d3:0x3ffe6600 0x400d04d7:0x3ffe6620

Environment (please complete the following information):

OS: Windows
Toolchain Zephyr SDK 0.16.3

@nefen, I've just tested and it works. IO25 is avaliable as GPIO. GPIO24 fails as you mentioned above. Can you make sure that GPIO25 is indeed used?
Have you added the esp32_devkitc_wroom.overlay in a boards\ folder?

@sylvioalves, thanks for your effort!

For me it does not work not even for GPIO25.
Overlay file is in the root folder not in the boards directory and it is well read:
-- Found devicetree overlay: C:/Users/nefen/zephyrproject/develop/f063_palatisia/blinky_vs/esp32_devkitc_wroom.overlay
I tried to debug the error:

ASSERTION FAIL [(cfg->port_pin_mask & (gpio_port_pins_t)(1UL << (pin))) != 0U] @ WEST_TOPDIR/zephyr/include/zephyr/drivers/gpio.h:1001
So, I just added the following code ( I also added a handle for device sw0 just for comparison):
      const struct gpio_driver_config *const led_cfg = (const struct gpio_driver_config *)led.port->config;
      const struct gpio_driver_config *const but_cfg = (const struct gpio_driver_config *)but.port->config;
      printk(" led port_pin_mask: %ld, but port_pin_mask: %ld\n",led_cfg->port_pin_mask, but_cfg->port_pin_mask);

Off course, port pin mask was the same for led and but:
led port_pin_mask: 917567, but port_pin_mask: 917567
The problem is that 971567 = 1110 0000 0000 0011 1111
So for assertion to pass, the pin number should be smaller than 19!
It looks like zephyr does not follow the prescribed:
gpio0: gpio@3ff44000 {
				compatible = "espressif,esp32-gpio";
				gpio-controller;
				#gpio-cells = < 0x2 >;
				reg = < 0x3ff44000 0x800 >;
				interrupts = < 0x16 >;
				interrupt-parent = < &intc >;
				ngpios = < 0x20 >;
				gpio-reserved-ranges = < 0x6 0xb >, < 0x14 >, < 0x18 >, < 0x1c 0x1f >;
				status = "okay";
				phandle = < 0x7 >;
			};

According to the above, I expected the port pin mask to be something like this:
1111 1100 0011 1011 1010 0000 0011 1111
and not             1110 0000 0000 0011 1111
Anyhow, off course, if a pick for port number any bit that it is 1 in the port pin maskunsigned int, the fimware works without the Assertion error.
Ie for: 			gpios = <&gpio0 0x12 0x1>;
everything is fine
*** Booting Zephyr OS build zephyr-v3.5.0-232-g7a27431a0c63 ***
led port_pin_mask: 917567, but port_pin_mask: 917567
Device is ready
Device configured!
But it looks like a bug is somewhere.
I made a little more research:
I also added a port on gpio1 (led1: led_1 {gpios = <&gpio1 0x1 0x1>;status="okay";	};
The port pin mask for gpio1 is 0011 1111.
This is exactly according to: gpio1 configuration:
ngpios = < 0x8 >;
gpio-reserved-ranges = < 0x6 >, < 0x7 >;

I searched dts and dtsi definitions. Main reservations of pins is declared in esp32_common.dtsi.
Other reserved ports I couldn't find. So from pins 0..31, if we remove those reserved we get the available pins as stated in row "port pin mask".
Accordig to my debugging, shown on row "917567", these are the pins that zephyr believes are available. Pins 12..16, 21..23, and 25..27 are not available, although they should.

|   | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
esp32_common.dtsi reserved |   | 1 | 1 | 1 | 1 |   |   |   | 1 |   |   |   | 1 |   |   |   |   |   |   |   |   | 1 | 1 | 1 | 1 | 1 | 1 |   |   |   |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
  |   | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0
port pin mask |   | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1
  |   |   |   |   |   |   |   |   |   |   | i2c0 | i2c0 |   |   |   |   | spim2 | spim2 | spim2 | spim2 |   |   |   |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
pins present on module board |   |   |   |   |   | 1 | 1 | 1 |   | 1 | 1 | 1 |   | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |   |   |   |   |   |   | 1 | 1 | 1 | 1 | 1 | 1
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   | U0RXD | U0TXD
917567 |   |   |   |   |   |   |   |   |   |   |   |   |   | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1

@nefen, I still don't get it. I've tested the same code as posted and I get no ASSERT failure using GPIO25. Humm, let me try another approach using blinkly sample instead of custom app..

@sylvioalves,
to you test.a devkitc wroom 32d?
It looks like the problem lies somewhere in the compilation of the
devicetree of the specific board.
Can uou print pin port mask for gpio0?
Στις Δευ 6 Νοε 2023, 10:00 μ.μ. ο χρήστης Sylvio Alves <
@.***> έγραψε:

@nefen https://github.com/nefen, I still don't get it. I've tested the
same code as posted and I get no ASSERT failure using GPIO25. Humm, let me
try another approach using blinkly sample instead of custom app..
—
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/issues/64819#issuecomment-1796291722,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF23M7N2Q6Q2PVULSSTKDBLYDE6VFAVCNFSM6AAAAAA66EBJ2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJWGI4TCNZSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@nefen, sure I did with esp32_devkitc_wroom (32D).  Here is my output using IO25 as your suggested overlay:
*** Booting Zephyr OS build zephyr-v3.5.0-1144-g4df07224f8dc ***
Device is ready
Device configured!
 led port_pin_mask: 250605631
I am awake
I am awake
I am awake

I am starting to wonder whether the environment could be the issue (Windows?). I just can't reproduce the issue.

I know. It is hard to miss!

Except of the missing 6 pins (21, 22, 23, 25, 26, 27), which I can live with, might I face additional issues?
I had used this module several times programmed through ESP-IDF.
I am just too old to keep developping in two different RTOS and I need Zephyr for nRFs.

might I face additional issues?

Yes. There are several specific for Rev1 compiler, linker and code changes and workarounds specific for Rev1 that we did not brought to Zephyr (and on our part, never will). It can behave randomly, fall intop invalid states and crash with no apparent reason (yet the reason is Rev1 Silicon). It becomes worse with XIP and PSRAM. Besides, there are security flaws in Rev1 already mitigated in Rev3.
You will be fine with ESP32 Rev3 or newer devices.

@rftafas thank you for your detailed information.


Allow overriding of default options

@ctmm I actually don't know. Since the override options is useful in every kind of project I adjusted the "non-legacy" code now as well. Please check 🙂


My Workflows not working for me on dev.dockstore.net

Describe the bug
My Workflows not working for me on dev.dockstore.net -- I don't know if it's specific to my workflows.
To Reproduce
Steps to reproduce the behavior:

Go to dev.dockstore.net
Log in
Go to My Workflows
Snackbar error pops up with error from response (see below), and none of your workflows appear

Expected behavior
Should see your workflows
Additional context

UI version: 2.5.1-rc.1-20-g4818fdc2
Webservice version: 1.9.0-alpha.4-SNAPSHOT (not precise I know)
host location: dev.dockstore.net

Here's the error in the response Browser dev tools for this endpoint: GET https://dev.dockstore.net/api/users/15591/workflows
{"code":500,"message":"Null value was assigned to a property [class io.dockstore.webservice.core.WorkflowVersion.isLegacyVersion] of primitive type setter of io.dockstore.webservice.core.WorkflowVersion.isLegacyVersion Can not set boolean field io.dockstore.webservice.core.WorkflowVersion.isLegacyVersion to null value "}

┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Sprint: Sprint 31 Flounder
┆Issue Number: DOCK-1258

Likely side-effect of https://github.com/dockstore/dockstore/pull/3299/files#diff-7a52f652512906210a15d8147071b78bR77

Seems like myWorkflows are working as expected as of API - 1.9.0-alpha.8-SNAPSHOT and UI - 2.5.1-rc.1-34-gd99a76c6


on reconnect channel join parsing issue

I was in the channels "#Romster" and "#circuits"  and on rejoin I got joined to "#Romster,#circuits".

on subsequent reconnects "Now talking on #Romster,#circuits,#circuits"

Interesting:
2015-08-24 19:11:40,401 - charla.plugin - INFO - I: [::ffff:<IP_ADDRESS>:60700] 'JOIN #Romster,#circuits,#circuits\r\nMODE #circuits\r\n'

I'll add support for comma separated channels in the JOIN command.


Regarding translation of TBH

I know you have previously mentioned that this is a huge task. And that future updates could be hard to handle for those who translate for you.
Could I suggest to you, that you use Crowdin.com for your project? As far as I know, its free. It's easy to update new strings for translation.

Hi @JohnDoeDK
Yes, I use Weblate for translations on another project. I will give it some thought, but even if I decide to go ahead, nothing will be published until the translation is finished and another person has independently verified everything for accuracy :-)

See https://github.com/erykjj/jwpublib/issues/37


When a file has syntax errors, the project gives strange errors from a terminal

Godot version
v4.0.beta14.official [28a24639c]
System information
Mac
Issue description
When I have a syntax error such as mixing tabs and spaces in any given file.
When I then run the project from a terminal instead of the godot editor.
I see strange errors:
SCRIPT ERROR: Parse Error: Could not preload resource script "res://addons/cs-some/something.gd".
I must then open this file in the Godot editor to figure out exactly on which line the error occurs.
Steps to reproduce

Add an extra : somewhere in any file
Try to run your project from the terminal

Minimal reproduction project
See above

That's normal, the scene you're currently editing doesn't use this script directly, but preloads something which depends on this script (or preloads the script itself). preloading fails because the script is invalid.

Hmm, would it not be more useful to have the error shown in the terminal?
I would say that 80% of the time I don't have the Godot editor open, and this forces me to load the project, find the file and investigate the error.
I was so happy when Godot started to fully support external editors, but this feels like a small regression 🤔

Hmm, would it not be more useful to have the error shown in the terminal?

Agreed, it would be nice to have this IF you're using an external editor

Rather more importantly. When a file has syntax errors when running from the editor, the file is not debugged.

I must first open the Map.gd file to find the error:

v4.0.stable.official [92bee43ad]

@akien-mga is that also expected behaviour?

This looks fine to me. The error tells you that the script can't be preloaded. Opening it lets you investigate why.

IMO this is a bit confusing for newer users. It would be a much nicer flow to open the file to the offending line, instead of the file which is trying to load or preload that file.

This bug currently makes Godot 4 very tricky to work with.
I've included a screenshot:

So while doing some refactoring, I changed some things, and now everything is broken.
In Character.gd I can only see a reference to another bug:

And in SignedResource.gd I can only see another reference to somewhere else:

And the final bug?

I've no idea how to go about even thinking to fix this. However I do hope that someone notices this soon 🙏

@akien-mga can you take another look at this with the updated bug report please? 🙏

You need commas here :)

@DarkMessiah I think you did not read the issue closely? 🤔


Sonic the Anonymous Hedgehog: Watch 3MEDS

Sonic the Anonymous Hedgehog requests the watch of the watch_keyword 3MEDS. See the MS search here and the Stack Exchange search here.

3MEDS has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


FEATURE-REQUEST: provide docker-compose

Maybe you can provide a docker-compose configuration for hybris and mysql.

@klaushauschild1984 thanks for your input. I'm picking up this repo after a long time and that's a very good suggestion since pretty much every development environment runs with this setup.


csv and raw json

add support for format=csv and format=json. The former creates a CSV file the later a raw JSON array.
To support the different messages, http status codes (500, 401, 400) are used which will in an error case also send the json object back

Tests pass, tests look reasonable, code looks good. Needs a documentation update to match. I'm looping in some folks to decide whether we want to do a provisional merge now and fill in documentation later.

Merging now; we'll tell some of our users about it as a beta and then add it to the public documentation in a future release.


Fix bug when searching jobs by clusters and/or commands

Primarily this PR contains a fix for searching for jobs by clusters and/or commands
Also updates Gradle to 5.4.1 and some plugin versions

Coverage decreased (-0.1%) to 91.5% when pulling 00f0a0aae4c2ceb94dc7e57b149372a51511c1e4 on tgianos:fixNullEntityBug into b4d7d812f4a36664aa8bce7eb56e5e83f834d220 on Netflix:master.


[DOCFIX] Update minor formatting S3 doc

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9398/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/9407/
Test PASSed.

alluxio-bot, merge this please


resume functionality for setup

is required for setup.sh since it takes long time.

Does this mean we have to make setup.sh faster than the current version?

@alexbmp
If someone has to stop the process or accidently do so, the program should start from that point.

Great point. I'll see to that as well.


Add some missing cfi frame info in keccak1600-x86_64.pl

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Merged to master and 1.1.1
Thanks!


Revisit the LightSaber Assignment

Revisit the Light Saber Assignment - check on the animation clips due by Oct 28

Work on combining LightSaber Assignment 2w/ Assignment 3.

The lightsaber I originally made is gone in this project. So, I no longer can make adjustments. 11-13-22


Enhancement/scrollbar

🛠 Fixes Issue #101

👨💻 Changes proposed:

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2022.

📄 Note to reviewers

📷 Screenshots

I appreciate your input, but the changes made are not acceptable as they have resulted in a disrupted UI. Please only make modifications to the ones mentioned in the issue. Kindly create a new pull request.

@KiranAminPanjwani I have opened new PR #125 closes issue #124
please review and merge.


New version: Mega.MEGASync version <IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

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

Version is not written to registry.

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/issues/137039


Add Harbor

Please review the following token assets:
📑 Description

Token Name: Harbor
Project Website: https://harbor.market
Explorer URI: https://basescan.org/token/0x416bd43bc76d496ff49923c20ecaf86b52ab078d

✅ Checks

[x] I created a new folder with the token address, all in lowercase
[x] I added the token's logo as a 32x32 PNG file, named logo-32.png
[x] I added the token's logo as a 128x128 PNG file, named logo-128.png
[x] I added the token's logo as a SVG file, named logo.svg
[x] My SVG logo is a proper SVG and not some base64 stuff
[x] My documentation/website clearly display the token address somewhere

Please upload a non base64 SVG

fixed logo.svg name


Add KFServing on Kubeflow with Istio-Dex Example

What this PR does / why we need it:
This example shows how to create an InferenceService on a multi-user, auth-enabled Kubeflow using Dex.
Also documents how to obtain authservice-session from Dex and to use it to run predictions.

/ok-to-test


[Key Vault] Target multiple API versions with tests (certificates)

Part of #12376.
This uses the parameterized package to parameterize Key Vault tests, targeting every API version when possible. This produces a recorded test for each API version per test -- for example, test_crud_operations -> test_crud_operations_2016_10_1, test_crud_operations_7_0, and test_crud_operations_7_1.
This adds recordings for each of these tests, so that full API version coverage can be achieved in playback. For live tests though, only the default API version is used for the majority of tests (to lighten the load of live testing).

/check-enforcer reset

/azp run python - keyvault - ci


How to debug inside process function in dataset creation

❓ Questions & Help
Hello, I'm a newbie and I found my print didn't work inside process for my dataset class. A simplified demo is below:
class MyDataset(InMemoryDataset):
def __init__(self, root, transform=None, pre_transform=None):
    super(SynDataset, self).__init__(root, transform, pre_transform)
    self.data, self.slices = torch.load(self.processed_paths[0])

@property
def raw_file_names(self):
    return ['dataSetB']
@property
def processed_file_names(self):
    return ['processed_data.dataset']

def download(self):
    pass

def process(self):
    print('this is a test')

This shouldn't be the case. At least, I cannot reproduce this issue. It prints "this is a test" for me. Note that you need to pass MyDataset not SynDataset in your __init__ call . Do you have a complete script to reproduce?

Hi, rusty1s, sorry I forgot to mention that I was using Colab. The complete script is shown as follows:
class SynDataset(InMemoryDataset):
def init(self, root, transform=None, pre_transform=None):
super(SynDataset, self).init(root, transform, pre_transform)
self.data, self.slices = torch.load(self.processed_paths[0])
@property
def raw_file_names(self):
return ['dataSetB']
@property
def processed_file_names(self):
return ['processed_data.dataset']
def download(self):
pass
def process(self):
num_mul_products_rxn = 0
mul_products_rxn_list=[]
num_valid_products = 0 # number of main products
num_none_mol = 0 # number for SMILES that cannot be convert to adjacency matrix
curated_training = []

for i in range(num_exp_data):
  rxn = rdChemReactions.ReactionFromSmarts(exp_data[i])
  products=rxn.GetProducts()
  print('reaction '+str(i) +' has ' + str(len(products)) + ' products')
  if(len(products)>1):
    num_mul_products_rxn+=1
    mul_products_rxn =(i, len(products))
    # print('rxn_id' + ', num_products:'+ str(mul_products_rxn))
    mul_products_rxn_list.append(mul_products_rxn)

  for j in range(len(products)):
    product_smile = rdmolfiles.MolToSmiles(products[j])
    if len(product_smile)<byproduct_cutoff:
      # cprint(str(len(product_smile))+':'+ product_smile,'green')
      continue
    else:
      # first_curated.append(product_smile) # add main product to curated training data
      num_valid_products+=1
      cprint(str(len(product_smile))+':'+ product_smile,'blue')
      if SMILES2Adjacency(product_smile) is not None:
        A = SMILES2Adjacency(product_smile) # get adjacency matrix of the product, in numpy.matrix
        num_nodes = len(A) # get the num of nodes
        sA = sparse.csr_matrix(A) # convert A from numpy.matrix to scipy sparse matrix
        edge_index, edge_weight=convert.from_scipy_sparse_matrix(sA) # convert from scipy sparse matrix to edge_index
        x = torch.tensor([[1]*num_nodes]).t()
        y = 1
        data = Data(x=x, edge_index=edge_index, y=y)
        # print('data:'+str(data))
        # print(edge_index)
        curated_training.append(data)
      else:
        num_none_mol+=1
        continue

data, slices = self.collate(curated_training)
torch.save((data, slices), self.processed_paths[0])

And what‘s not working? Note that process will get skipped in case the processed files already exist. You may want to delete those prior to debugging the process method.

Aha! That was the issue! My codes were simply not executed due to the existence of the processed files.  Thank you very much rusty1s!!

Great!


session_ops should not place Placeholder() onto GPU

TLDR; session ops should be changed to always place string handle Placeholder on CPU. Currently it places it on the same device as corresponding GetSessionTensor op, which fails when data lives on GPU.
Session ops like get_session_tensor consist of string Placeholder and GetSessionTensor ops. They are created with tf.device(None), and then moved to the same device as the input handle. If input_handle represents tensor on GPU, it will try to move both Placeholder and GetSessionTensor on the GPU.
However, since there's no implementation of string Placeholder on GPU, this fails with Could not satisfy explicit device specification. Since Placeholder is meant for reading string through feed_dict, the data comes from CPU originally, and there's no performance benefit in using GPU implementation of string placeholder, so it should be pinned to CPU.
Test below fails with InvalidArgumentError: Cannot assign a device to node 'Placeholder_1': Could not satisfy explicit device specification '/job:localhost/replica:0/task:0/device:GPU:0' because no supported kernel for GPU devices is available.
import tensorflow as tf

class HandleTest(tf.test.TestCase):

  def testHandle(self):
    config = tf.ConfigProto(log_device_placement=True)
    with self.test_session(config=config) as sess:
      dtype=tf.float32
      with tf.device("/gpu:0"):
        a = tf.constant(1, dtype)

      a_handle = sess.run(tf.get_session_handle(a))
      b_holder, b_tensor = tf.get_session_tensor(dtype)
      print(sess.run(b_tensor, feed_dict={b_holder:
                                          a_handle.handle}))

if __name__ == "__main__":
  tf.test.main()

@yuanbyu

Fixed by registering GPU kernels for the placeholder op.

btw, you can add "fixed #2587" somewhere in public section of internal CL, and this issue will be closed automatically when the CL is merged into github


CURRENTPAGENAME to variable

There's an inconsistency in the CURRENT* commands: CURRENTBLOCKREF and CURRENTBLOCKCONTENT store in a variable, but
CURRENTPAGENAME does not. I've run into issues calling CURRENTPAGENAME within JS code; it's problematic when a page name contains quotes. Being able to save CURRENTPAGENAME to a variable like with the CURRENTBLOCK* commands should eliminate that problem.

I like the idea of making all three consistent:

return to block if no variable
set if variable

In the meantime, you should be able to do <%SET:var,<%CURRENTPAGENAME%>%>


Migrate to Swift 3.0.

I don't think Travis plays nice with XCTool anymore. Not sure if we can get it building using it.

@superpeteblaze yeah, looks like it, let's see how it goes with xcodebuild.

Nice, looks like it is building! 👍


chore: update image tag within helm deployment

Update image tag within deployment.yaml

closing this as change is already added at https://github.com/elastic/elasticsearch-k8s-metrics-adapter/pull/26


Version 0.7.0 plan

[ ] Parameter example support
[ ] Support to customize base response schema
[ ] Add a flask spec command to generate spec to a local file (also support syncing the file automatically)

Move to separate issues under the 0.7.0 milestone.


Expression:  is not in NNF

Describe the bug
I'm using the NEGATIVE_CONDITIONS_REMOVING for the schedule domain, and it throws this exception when parsing this

Here is the code to reproduce the bug:

from unified_planning.io import PDDLReader
from unified_planning.shortcuts import Compiler, CompilationKind

domain  = 'domain.pddl'
problem = 'probschedule-2-0.pddl'

task = PDDLReader().parse_problem(domain, problem)
with Compiler(problem_kind = task.kind,
    compilation_kind = CompilationKind.NEGATIVE_CONDITIONS_REMOVING) as neg_condition_remover:
    ncr_result = neg_condition_remover.compile(task, CompilationKind.NEGATIVE_CONDITIONS_REMOVING)

planning-task.zip

Thanks @MFaisalZaki for the bug report! I will have a look asap!

The problem here is that the negative conditions remover is not able to remove the negative condition that appears in the exception. At the moment the compiler is only able to remove negation of boolean fluents.
To fix the issue we should reduce the supported problem kind (easy solution) or extend the compiler to handle these kind of negative conditions (more complex).

This makes sense. I would suggest keeping this issue open and when the fix is available we can close this issue. What do you think?

I agree, thanks.


Rename 'Mentors' to 'Mentor'

The header button.

Oh wow, I didn't even see this issue and it bothered me so much I opened #31

Good guy @csu :+1:


Jobs added during runtime do not run

Bug description
The Job will be triggered at the expected time if it is added to the runtime registry at the start of the application.
When the job is added later to the registry using the same service, it will appear in the registry (breakpoint view) as it should, but will not be triggered at the expected time.
The instant job registration and execution works fine.
The jobs below are added and deleted from the registries in the same manner as in the documentation and other issues.  (referencing issue and docs)
Context
I am making a task scheduler, and am using NCronJob as an alternative to Quartz. During runtime, I want to have the user define a job that is triggered on a defined, repeating schedule.
The jobs that are allready defined in the database are added to the registry using a hosted service during runtime, after startup.
These jobs are can be removed and new jobs can be added through the runtime registry.
We did not make an interface for an update at this time
Task
In the example provided below, one task can have N triggers, where every trigger will equate one job registered during runtime.
When unregistering a task, all related jobs will be unregistered.
Custom Interface for job registries
All the additions and deletions of jobsfrom the registry are done through the same service, which shows the same behaviour both as a transient and a singleton: service example
classDiagram
    class IJobRegistrationService {
        <<interface>>
        +RegisterOneTimeJob(AutomatedTask task) Task
        +UpsertRecurringJobRegistration(AutomatedTask task) Task
        +TryUnregisteringRecurringJob(Guid taskId) Task
    }

    class JobRegistrationService {
        -IRuntimeJobRegistry _jobRegistry
        -IInstantJobRegistry _instantJobRegistry
        -ILogger<JobRegistrationService> _logger
        -Func<Guid, Guid, string> JobName
        -Func<Guid> ManualJobTriggerId
        +RegisterOneTimeJob(AutomatedTask task) Task
        +UpsertRecurringJobRegistration(AutomatedTask task) Task
        +TryUnregisteringRecurringJob(Guid taskId) Task
        -RegisterJobWithSingleTrigger(Guid taskId, PeriodicallyTrigger trigger) void
        -DeleteAllJobsForTask(Guid taskId) void
        -IsJobRelatedToAutomatedTask(RecurringJobSchedule job, Guid taskId) bool
    }

    class IRuntimeJobRegistry {
        <<interface>>
    }

    class IInstantJobRegistry {
        <<interface>>
    }

    class ILogger {
        <<interface>>
    }

    JobRegistrationService ..|> IJobRegistrationService
    JobRegistrationService --> IRuntimeJobRegistry
    JobRegistrationService --> IInstantJobRegistry
    JobRegistrationService --> ILogger

Expected behavior
The jobs will run at the expected time regardless of how they were registered (given they are well formed and saved in the registry)
Version information

NCronJobVersion: 3.1.3.
.NET runtime version: 8.0
Framework: Blazor

Hey @IvaTutis,
thanks for raising the issue. Do you have a reproducible example by any chance?.
I tried a very minimal setup:
using NCronJob;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddNCronJob();

var app = builder.Build();

app.MapGet("/", (IRuntimeJobRegistry registry) =>
{
    registry.AddJob(j => j.AddJob(() => { Console.WriteLine("HEY"); }, "* * * * * *"));
});

app.Run();

If you hit the "/" endpoint with a browser you will see "HEY" every second on the console. So jobs are executed.

Hey @linkdotnet
Sorry for the late reply.
I created a small Blazor app ](https://github.com/IvaTutis/NChronJobBugExample/tree/main) to showcase the bug in a repeatable enviroment.
All of the jobs that are added to the RuntimeRegistry here are added in the same manner, and they appear in the registry when added (and I can wipe them from it well).
The main issue is that only the ones that are added >>RIGHT AFTER STARTUP via TaskSyncService<< seem to work.
The ones added via the UI seem to not fire.
The example you provice above with  app.MapGet would therefore technically fit the first case.

New version (currently preview): https://www.nuget.org/packages/NCronJob/3.3.1-preview
It would be great if you can report back, whether or not that fixes your case.
Thanks.

Tested on my projects, runtime jobs now fire as expected.
Will update on a different issue if anything else pops up.
Thank you for the fix, and great work! 🐛 ✨


No progress with "verificationprogress"

Hi. Thanks for a great guide - I'm using MacOs to set up the node.
Upon running
systemctl status bitcoind.service
The daemon reports to be active and running as per the screenshot.
However, upon running
bitcoin-cli getblockchaininfo
after an hour progress appears stuck at:

"verificationprogress": 5.329756563550172e-08

Is this indeed stuck, or is it a matter of waiting?
Thanks in advance!

Update: After some time the progress counter moved on. Feel free to delete, otherwise leave for future users who may encounter the same question.

Thanks for the update. Not that experienced with MacOS and it heavily depends on your setup (external hdd? usb2 or usb3). It will take time, but should work.


Fix: modified annotations weren't working as expected

Modified annotations were not working correctly with check-boxes and radio-boxes.
When I inspected the code, I realised that the annotation storage is not being used effectively and the wheel is being reinvented.
This commit will fix that issue.
Thank you for your work!

It looks better than before.
Thank you too!


choices restfull functionality doesn't support XML response.

I'll look into it.

You can check the code of "Load from xml" test


reference wrong Arxiv paper

should be https://arxiv.org/abs/1703.00565

Fixed in the current commit.


what is the way to estimate homography with Line Feature in your job

Thanks a lot for your wonderful job!
I notice that it has been mentioned in paper that the homography is estimated like the way of Super Point, while point is different from line.
Could you tell me how exactly the homography is estimated in your job?
Does the end point of matched line regard as the same point feature so that the homography estimation for point could work?

Hi,
We use the following repository to compute the homography, both from points and lines: https://github.com/rpautrat/homography_est/
In the case of lines, we do not use the line endpoints, but use a solver that considers infinite lines. The minimal number of lines to obtain the homography is in this case 4.
I hope this answers your question.

Hi,
We use the following repository to compute the homography, both from points and lines: https://github.com/rpautrat/homography_est/
In the case of lines, we do not use the line endpoints, but use a solver that considers infinite lines. The minimal number of lines to obtain the homography is in this case 4. I hope this answers your question.

It's really helpful. Thanks for your reply!

Hi,
We use the following repository to compute the homography, both from points and lines: https://github.com/rpautrat/homography_est/
In the case of lines, we do not use the line endpoints, but use a solver that considers infinite lines. The minimal number of lines to obtain the homography is in this case 4. I hope this answers your question.

It's really helpful. Thanks for your reply!


oauth2 filter support per-route configuration

Title: oauth2 filter support per-route configuration
Description:
Currently, oauth2 filter can only be configured in the http_filters section of the HCM. It would be very useful to enable oauth2 filter to support per-route configuration, so users can also configure oauth2 at route level.
Here's a rough idea on how to make the oauth2 filter support per-rout configuration:
API Changes

Adding an OIDC Provider Map: Let's include a map in the filter configuration to set up OIDC providers.

providers:
   provider1:
     token_endpoint:
       cluster: oauth
       uri: oauth.com/token
       timeout: 3s
     authorization_endpoint: https://oauth.com/oauth/authorize/
     redirect_uri: "%REQ(x-forwarded-proto)%://%REQ(:authority)%/callback"
     redirect_path_matcher:
       path:
         exact: /callback
     signout_path:
       path:
         exact: /signout
     credentials:
       client_id: foo
       token_secret:
         name: token
         sds_config:
           path: "/etc/envoy/token-secret-foo.yaml"
       hmac_secret:
         name: hmac
         sds_config:
           path: "/etc/envoy/hmac-foo.yaml"
  provider2:
     token_endpoint:
       cluster: oauth
       uri: oauth.com/token
       timeout: 3s
     authorization_endpoint: https://oauth.com/oauth/authorize/
     redirect_uri: "%REQ(x-forwarded-proto)%://%REQ(:authority)%/callback"
     redirect_path_matcher:
       path:
         exact: /callback
     signout_path:
       path:
         exact: /signout
     credentials:
       client_id: bar
       token_secret:
         name: token
         sds_config:
           path: "/etc/envoy/token-secret-bar.yaml"
       hmac_secret:
         name: hmac
         sds_config:
           path: "/etc/envoy/hmac-bar.yaml"

Using Map Keys for Per-Route Config: In the per-route configuration, use the map key to point to a specific provider:

          route_config:
            virtual_hosts:
            - name: service
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/app1"
                route:
                  cluster: app1_service
                typed_per_filter_config:
                  envoy.filters.http.csrf:
                    "@type": type.googleapis.com/envoy.extensions.filters.http.oauth2.v3.OAuth2
                    provider: provider1
               - match:
                  prefix: "/app2"
                route:
                  cluster: app1_service
                typed_per_filter_config:
                  envoy.filters.http.csrf:
                    "@type": type.googleapis.com/envoy.extensions.filters.http.oauth2.v3.OAuth2
                    provider: provider2

Backwards Compatible

The current config will be reserved for backward-compatible, but will be declared as deprecated. A new default will be added as the global default.
providers:
  provider1:
     ......
default: provider1
config:  // deprecated
  token_endpoint:
    cluster: oauth
    uri: oauth.com/token
    timeout: 3s
   ......

Token Cookies
The oauth2 filter stores tokens in cookies. Since all the HTTP requests on the same domain share the same cookies, it will mess up the tokens even if we do per-route OIDC configuration.
Solution: we could namespace through cookie-name by prefixing cookie-name with provider kyes. To avoid exposing tokens to requests that they don't have access to, we can remove cookies for non-matching providers prior to sending requests to upstreams.

Not an oauth expert, but I think it may be possible to support per-route override (similar to ext-authz and others).
cc @derekargueta @mattklein123 as oauth2 code-owners

I would like to work on this if it's not taken yet.

@derekargueta @mattklein123 I'd appreciate your input on this proposal. If you agree with the proposed approach, I'll go ahead and make a PR. Thanks.

Close this because we can achieve per-route oauth2 using route level filter disable support.

👋 Sorry to bring up such an old thread again @zhaohuabing , but with how I understand route level filter disable support, how would this work? It would need to have the OAuth2 filter defined (but disabled) on the listener level multiple times, with the route-level config enabling the specific OAuth2 filter that is needed, right? If so, it's not possible to define the OAuth2 filter on the listener multiple times, or is it?
If using route level filter disable support is not a viable solution after all, could this issue be reopened? Having this would enable to perform more granular authz on the IdP side, as one could have one OAuth/OIDC app per route.


append_load_seed_data for generator

I'm not sure if we need this. https://github.com/resolve/refinerycms-inquiries/blob/rails-3-1/db/migrate/20101208082840_create_inquiries.rb#L18 migration already loads seeds for us... @resetexistance?

You are right :)


is null valid header field value?

hello ,  I recently debugged an issue where i passed an expression evaluated as null as sttp header value. Some in the lines of the following:
basicRequest.header("name", map.getOrNull("field"))

Netty DefaultHeaders.java throws NullPointerException: Value error.
Reading http/1.1 and http/2 spec it seems the header field value must be text string, even if empty.
Is it explicitly called out somewhere in sttp docs that null should not be passed in as a header field value? Thanks!

null values will probably either not work, or throw NullPointerException throughout sttp and other Scala libraries, as null is very rarely used (if at all) when writing Scala code. Alternatively, you can use an Option, which is very commonly used. So, your example would become basicRequest.header("name", map.get("field"))

@adamw  thanks for the reply. it makes sense most scala libs use Option instead of risking having NPE.
Occasionally we use java class in scala and some outdated conventions may introduce null.
Our case was we get the http request header from log4j ThreadContext.get("correlction-id") , which returns null if missing.
Do you think it's the library caller's responsibility to check the null or is should be done in the library?

I very rarely see any questions / bug reports concerning nulls, so I think if you're interfacing with Java it's mainly the responsiblity of the wrapper layer - in this case, that would be in your app. You can always do Option(ThreadContext.get(...)) which correctly handles null results

sound good, thanks for the answers.


Can you explain more what this does and why I might need to use it?

hi
I've been searching through Github for as many graphql transformers for AppSync (an AWS Amplify) as I can find and came across this. Is there any chance you can expand on the readme to give more context about what this actualy does, why might I want to use it, what the implications are etc.
It sounds like a think I might find useful but there is just not quite enough info to know for sure :)
Cheers
Pete

Hi @PeteDuncanson
Thanks for creating this issue. Indeed, this could be explained in a few sentences on the README page. For now, you could read my blog post about the plugin, which explains in more detail what it is all about: https://react-freelancer.ch/blog/amplify-retain-dynamodb-tables
What do you think about just adding the second paragraph ("graphql-retain-transformer") to the README? Would this be the explanation you were looking for? Or is there any information missing?
Thanks for helping to make this plugin and the AWS Amplify community awesome 💯

Oh that blog explains it well, now I get it :)
Yes I think a paragraph is all thats needed with maybe a link to that blog post if folks want to know more.
Thank you for publishing stuff like this :)


Refactor the ecms_api_publisher module to handle entity references

Summary
This refactors the ecms_api_publisher to handle multiple entity references which will allow any content type to be be syndicated to other sites regardless of the entity references currently for the content type.
Metadata

Question
Answer

Did you use a meaningful pull request title?
yes

Did you apply meaningful labels to the pull request?
yes

Did you perform a self review first?
yes

Documentation reflects changes?
n/a

CHANGELOG reflects changes?
yes

Unit/Functional tests reflect changes?
yes

Did you perform browser testing?
yes

Risk level
Mediua

Relevant links
RIG-176

Ok looks good!
/approved


LZ77 Encoder/Decoder is Buggy

https://www.reddit.com/r/programming/comments/j3bsi1/the_hitchhikers_guide_to_compression_a_beginners/g7bzd5r?utm_source=share&utm_medium=web2x&context=3
FYI your LZ77 visualiser is buggy.

Input: Potayto Potahto
Compressed: Potay<3,1><5,1><7,1><8,4><12,1><8,2>
Decompressed: PotaytoPPotaPto

Agree, the encoder doesn't work at all. It seems to be, among probably a few other bugs, ignoring new symbols the second it finds its first back-reference. It's hard to believe this is one of the first results on google haha

I think there's a lot of value in these docs besides some bugs in the interactive examples. There's also not a lot of easily consumable content on the subject, so I don't think the Google search ranking is such a surprise.
I'd love to tackle these bugs myself, but unfortunately I don't have the time. If you'd like to tackle them and submit a pull request, I'd be more than happy to review it.


:bug: Fix: eth_sendRawTransaction bug and more tests

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1460  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


Cant play on Plex Clients(Android tv app)

I cant play on Plex clients like the android tv app or on the Plex Website. Playing on Chromecasts is working fine.
It definetly worked on version 0.2.4, all the versions after that im not sure because i didnt used the Integration since than.
Thats what i got in the logs:
Logger: homeassistant.components.websocket_api.http.connection.2834268344
Source: custom_components/plex_assistant/__init__.py:211
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:16:00 (1 occurrences)
Last logged: 11:16:00

(404) not_found; http://192.***.***.**:32400/player/playback/playMedia?address=192.***.***.**&commandID=1&containerKey=%2FplayQueues%2F264%3Fwindow%3D100%26own%3D1&key=%2Flibrary%2Fmetadata%2F640&machineIdentifier=616a7017caad7c46dcc59cd580adc7d6adf89596&offset=0&port=32400&token=transient-6ac90674-97f1-4573-b16b-5c95b7daf901&type=video <title>Not Found</title>
404 Not Found

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 138, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1335, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1374, in _execute_service
    await self._hass.async_add_executor_job(handler.func, service_call)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/plex_assistant/__init__.py", line 211, in handle_input
    plex_c.playMedia(media)
  File "/usr/local/lib/python3.8/site-packages/plexapi/client.py", line 490, in playMedia
    self.sendCommand('playback/playMedia', **dict({
  File "/usr/local/lib/python3.8/site-packages/plexapi/client.py", line 208, in sendCommand
    return query(key, headers=headers)
  File "/usr/local/lib/python3.8/site-packages/plexapi/server.py", line 448, in query
    raise NotFound(message)
plexapi.exceptions.NotFound: (404) not_found; http://192.***.***.**:32400/player/playback/playMedia?address=192.***.***.**&commandID=1&containerKey=%2FplayQueues%2F264%3Fwindow%3D100%26own%3D1&key=%2Flibrary%2Fmetadata%2F640&machineIdentifier=616a7017caad7c46dcc59cd580adc7d6adf89596&offset=0&port=32400&token=transient-6ac90674-97f1-4573-b16b-5c95b7daf901&type=video <title>Not Found</title>
404 Not Found

Just checked and it works playing on chrome, but not on the Android tv Plex app and the Plex app on my phone

Is this still an issue, are the apps open on the TV/phone when you issue the command?

Is this still an issue, are the apps open on the TV/phone when you issue the command?

I know this just got marked as stale, but just got plex_assistant half-setup/working today and it does not seem to want to play to the Android TV app on my CC device (the new version with a remote), it will only play as a Cast. Haven't enabled debug logs to try to dig deeper, but just thought I'd echo @Drauboss that this doesn't seem to be working with the Android TV app.

I know this just got marked as stale, but just got plex_assistant half-setup/working today and it does not seem to want to play to the Android TV app on my CC device (the new version with a remote), it will only play as a Cast. Haven't enabled debug logs to try to dig deeper, but just thought I'd echo @Drauboss that this doesn't seem to be working with the Android TV app.

Give the latest release a try and let me know if it helps. v0.3.3

Give the latest release a try and let me know if it helps. v0.3.3


Add Wordpress nginx config

I was working on a Wordpress multisite and found that assets were not being loaded. Hence, I added a Wordpress specific nginx config file and loaded it up.
Tested this by running the following commands:
# In warden directory
images/scripts/build.sh nginx

# In warden development environment directory
warden env up

@davidalger if you need any more information or need help with testing, please let me know!

I'd really like this change to be included, now I constantly have to rebuild the nginx images to make my Wordpress multi sites work properly.

@davidalger I removed the x-warden-nginx-template headers, because they basically were added for debugging purposes and I had the feeling that the added headers were a change that needed your attention before merging.
Just wanted to make the PR a bit less complicated.

Thumbs up on this PR, it would be very useful @davidalger

Closing this PR, we started creating project specific application.conf files.

Hello  , how we can extend the application.conf ?  I have same issue but but not sure how to this
any link ?


⚠ Fortnite has degraded performance

In 260a179, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1589 ms

Resolved: Fortnite performance has improved in 8952640.


Vitis AI Compiler for Caffe model Warning

Hi,
When I t using vai_c_caffe compile the quantized model of cf_refinedet_coco_480_360_0.96_5.08G , it reflect me the message as follows:
[VAI_C][Warning] Only 'channel' axis supported on DPU for Concat, current layer is [arm_priorbox].
could you explain the warning and tell me how to fix it？

Hi, @zhang-jinyu
For the DPU, only concatenation in channel axis is supported, this is why the compiler complained about it when parsing the model. But in some cases, some transformation can be leveraged by the middle end of compiler to get rid of such constraint, so this is why the compiler gives you a warning message rather than an error. If the constraint still exists after passes of middle end, the backend will output an error to indicates that the concatenation in channel axis is not supported.
Hope it helps instead of confusion,thank very much.

HI,@Michael Lee
I appreciate your taking the time to answer my question.According to your explanation, when compiling the quantized model in XILINX MODEL ZOO, can I ignore this warning?

HI,@michael Lee
I appreciate your taking the time to answer my question.According to your explanation, when compiling the quantized model in XILINX MODEL ZOO, can I ignore this warning?

Yes, @zhang-jinyu , you can ignore it:-).

@Mookel thank you very much!


Update v3.0 tolerations to work on newer k8s releases

Description

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit ff68651cbcced2faca993139ce025f2601e291cb
https://deploy-preview-2323--calico.netlify.com