TODO/Ideas modifications/improvements of Dual 5uH LISN

Edited/Updated 10 December 2021:

Add the Simulation in the GitHub repository and check everything (to be checked in EEVBLOG forum) => Done in V1_R0  see directory Simu
electronic_eel => Replace some 1N4148W by BAV99 to be checked => Done in V1_R0
electronic_eel => Replace Keystone 575-4 with something better ? Replaced by KeyStone 575-8 V1_R0
3-1) At least allow to have 19mm space between Supply+/- 4mm BANANA JACK for BNC adapter... => Done in V1_R0
electronic_eel => 4mm input connector with optional screw terminals would be nice
Switch to 4 Layers JLCPCB JLC7628 Stackup for good 50 Ohms Impedance ... => It seems not necessary especially as anyway it is limited to max 400MHz by Inductors
Check if S30-A75X => GDT 75V 5KA 2 POLE SURFACE MOUNT is required for 5uH DC-LISN => Yes Added (it is always good for safety of the hardware in extreme case)
Check the BOM to fix/optimize it (it can be generated with https://github.com/hildogjr/KiCost) => Work in progress waiting PCB for V1_R0  to push the new optimized BOM from JLCPCB
HardwareBoffin (on Twitter) => Use open air inductances to reach higher frequency (especially for 10KHz to 200MHz+)

Today High Current Inductor are 5 x 1.1uH (per LISN) Würth WE-HCI 744314110 (see KiCad Schematic BOM) but they are pretty expensive and it is interesting if we can find other alternative cheaper and or with better performance
The aim is to find some ready to buy & solder SMT part to avoid user's to build their own Inductor when possible ...

TBD ...

Regarding 8. you might consider the following inductors?

WE<PHONE_NUMBER>
(1uH, Fres=195MHz, 6.9Adc 15Asat, THT, 10pc: 0,644 € each) ->Mouser

Bourns RLB9012-1R0ML
(1uH, Fres=150MHz, 10Adc, THT, 10pc: 0,561€ each) -> Mouser

Coilcraft SER2009-102MLD (more expensive but much higher dc current + self-resonance)
(1uH, Fres=488MHz, 54Adc, 29Asat, SMD, 10pc: 2,31€ each) -> Mouser

Thanks for the feedback and references
My remarks:

Würth WE<PHONE_NUMBER> is similar in size to Würth WE-HCI 744314110 but will requires PCB change as it is through hole

Potentially we can do 1 footprint to use WE<PHONE_NUMBER> or Würth WE-HCI 744314110
The biggest advantage is the price is >4.5x lower vs Würth WE-HCI 744314110 (I will buy few to test them)

Bourns RLB9012-1R0ML is similar in size (9mm x 9mm x 12.2mm) to Würth WE-HCI 744314110 but will requires PCB change as it is through hole

Potentially we can do 1 footprint to use Würth WE<PHONE_NUMBER> or Würth WE-HCI 744314110 or Bourns RLB9012-1R0ML
The biggest advantage is the price is >4x lower vs Würth WE-HCI 744314110 (I will buy few to test them)

Coilcraft SER2009-102MLD is very big (18.7mm x 19.18mm x 8.64mm vs Würth WE-HCI 744314110=7mm x 6.9mm x 4.8mm) and will requires change of the PCB (I cannot test such big Inductor on actual PCB as maximum we can place 12mm Inductors)

It is very interesting if user's need to increase the max power which is limited today to 5A

For information:
I have launched a production of 5 boards with a new version (called V1 R0) of actual design (that I will push on github soon) including following improvements:

Added simulation with LTSpice of the 10dB Attenuator / Transient Filter
Replaced some 1N4148W by BAV99W (to reach up to 400MHz flat 10dB Attenuator / Transient Filter)
Changed space to have 19.06mm between Supply / DUT "+" <=> "GND" <=> "-" => 4mm BANANA JACK for BNC adapter

Hey, thanks for your quick reply :)
I did also some simulations and overlayed them in a graph with the CISPR16/CISPR25 given Impedanze/Phase graphs for the 5uH ANs.
Since you started the project, where would you like me to post that information (if at all)? Do you want to work here in the repo or should I post those discussions in the EEVblog thread you mentioned in the readme?

I have just pushed the version V1 R0
You can do a Pull Request and add your simulation in Simu directory (please use LTSpice and or only open source/free tool for simulation)

Should we do some proper folder structure? E.g.
master

readme.md
KiCAD
Simulation

10dBAttenuator_TransientLimiter

10dBAttenuator_TransientLimiter.asc
10dBAttenuator_TransientLimiter_BAV99.asc
BAV99.mod

CISPR16_5uH_LISN
CISPR25_5uH_LISN
...

Documentation

For example, I did a simulation and plotted it together with the CISPR given impedances/phases of the 5uH LISN. I would like to document that somewhere.

Yes if there is lot of simulation it is better to have a folder structure like in your proposal (so far I have done only 10dBAttenuator_TransientLimiter but other simulation are welcome)

Do I need to get access rights to the repository, before I can do changes? Tried to "git mv Simu Simulation; git commit; git push" but it wont let me do it.

If you want to contribute you shall work on your own fork of this repository, then do a Pull Request to this one and I will check everything ... and merge it if all is ok

Hello, I found your Github website from the eevblog, but I couldn't find the original design information about 50uh Lisn in the entire forum. I would like to inquire if there are any BOMs or Gerber related to saving 50uh Lisn here

Hello, I found your Github website from the eevblog, but I couldn't find the original design information about 50uh Lisn in the entire forum. I would like to inquire if there are any BOMs or Gerber related to saving 50uh Lisn here

The purpose of this Repository is to only work on EMC 5uH LISN (low voltage) and it is not planned to add the 50uH LISN as I do not have usage of such higher voltage LISN which can be lethal (see https://www.quora.com/What-is-the-safe-limit-of-DC-voltage-for-humans-to-touch) if not used correctly.


OSSM-5561 Changes to be able to execute integration test with multiarch image

Jira: https://issues.redhat.com/browse/OSSM-5561
Changes:

Change the way that the build is done: docker-build for docker-buildx
Add minor change to fix error that was not allowed to skip build on test execution
Add skip deploy to allow to not deploy the operator in the testing process

Checking with this change that the ocp jobs do not break because of the change of docker-build for docker-buildx

New PR: https://github.com/maistra/istio-operator/pull/1533


Fix the module hash stored in -gmodules skeleton units

by using the proper API. The old code produced the address of the hash.  This
fixes a warning printed by LLDB and dsymutil about module hash mismatches and
makes the build build products more deterministic.
rdar://77344315

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci test


Plugin sometimes doesn't work on mobile

Seems to fail to initialize, at least in latest versions.

Seems to be coming from within the reading-time dependency; it's failing to import "stream".

After investigation, it seems like the best way to fix this will be to contribute to the reading-time lib to export the main function without the Stream version (which we are not using) or to fork it into a new repo or include the code here in this plugin.
I'm opting for the latter, since the original project hasn't been updated in three years.


fix formatting of FSFilter class list

Thanks @jasonknichel the updates are live at https://msdn.microsoft.com/en-us/windows/hardware/drivers/ifs/file-system-filter-driver-classes-and-class-guids


returned Data is not JSON

the API docs say...
callback - Callback function to return the information you are looking for in the form of callback(error, data). This follows standard Node.js callback functionality. The Data value (when valid) will be a JSON object (associative array).
but the API's are actually returning a string of the json result. I'm passing it to JSON.parse in order to use the returned data. but if the APi says it returns JSON, it probably should?

I looked at the code (and the unit tests) and it seems to be resolving as a JSON object in both cases for me. The Unit test was not properly vetting that the response was JSON so I did fix the test to validate that Its JSON and not a string.  Previously it was only testing that the value was not empty.  (Version 2.1.1)
So I am not sure where you are seeing this issue. If you have an example that shows this, please add it to the thread.
Thanx!


Redisson RScoredSortedSet Objects Equality

I'm using Redisson library for my Java Redis client and currently implementing RScoredSortedSet data structure. I want to update the score of existing element object with the new one after changing some of its instance properties, but it didn't work as expected. It inserted as the new element instead of overriding the old one. I suspect my it's because how the Redis object comparison works.
Data model:
@Data
@Builder
@AllArgsConstructor
public class QueueItem implements Serializable {
    private String name;
    private int count;
    private boolean running;
}

Driver code:
RedissonClient client = Redisson.create();
RScoredSortedSet<QueueItem> queue = client.getScoredSortedSet("myQueue");

QueueItem item = QueueItem.builder().name("Item 1").build();

queue.add(10, item);

item.setCount(1);

queue.add(20, item);

System.out.println("Size: " + queue.size()); // Produced output --> Size: 2

client.shutdown();

I also tried with overriding the equals and hashcode methods of the model, still didn't work. I read this: https://github.com/redisson/redisson/issues/3300#issuecomment-777224106 and turns out Redis doesn't invoke those methods for its object comparator.
Is there any better way than removing it first and then re-adding it for changing the element score? Because I think it can cause some delays during the process.

do you need a replace(currentScore, currentValue, newScore, newValue) method?

Yes, something to replace the existing item but with the updated property value, but still with the same score for that item. Currently I can achieve it with removing it first from the queue, and then update the property value, finally put that back to the queue with the current score using add(score, value) method

RScoredSortedSet.replace(value, newValue) is this enough?

Yes, it is. The score remains the same with previous.

Done


Why should an issuer generate auth claim when first create the issuer identity?

thx

Auth BJJ credential includes a  baby jub jub public key. The corresponding private key is used to transit the issuer state.
without it, it’s not possible.
Also, the issuer id is derived from genesis state.  And genesis state must include smth to differentiate the users. It’s auth credential.

Closed due to inactivity. Feel free to reopen the issue or create a new one. Thanks.


Issues with building for WSA

While trying to make my plugin compatible with WSA I've found some errors in the (brilliant!) fsPortableReflection class and missing Resolve calls elsewhere in FS.
First, in fsPortableReflection, using Linq is missing when USE_TYPEINFO is enabled. I suspect this is due to the using directive not having been wrapper in a preprocessor conditional and therefore getting removed by a Remove and sort usings command.
The usings should read:
using System;
using System.Collections.Generic;
using System.Reflection;

#if USE_TYPEINFO
using System.Linq;
#endif

The method fsSerializer.RemapAbstractStorageTypeToDefaultType is missing the required Resolve calls. Here's my implementation of them:
private void RemapAbstractStorageTypeToDefaultType(ref Type storageType) {
    if ((storageType.Resolve().IsInterface || storageType.Resolve().IsAbstract) == false)
        return;

    if (storageType.Resolve().IsGenericType) {
        Type remappedGenericType;
        if (_abstractTypeRemap.TryGetValue(storageType.Resolve().GetGenericTypeDefinition(), out remappedGenericType)) {
            Type[] genericArguments = storageType.GetGenericArguments();
            storageType = remappedGenericType.Resolve().MakeGenericType(genericArguments);
        }
    }

    else {
        Type remappedType;
        if (_abstractTypeRemap.TryGetValue(storageType, out remappedType))
            storageType = remappedType;
    }
}

The method fsSerializer.SetDefaultStorageType is also missing the Resolve calls:
public void SetDefaultStorageType(Type abstractType, Type defaultStorageType) {
if ((abstractType.Resolve().IsInterface || abstractType.Resolve().IsAbstract) == false)
throw new ArgumentException("|abstractType| must be an interface or abstract type");
_abstractTypeRemap[abstractType] = defaultStorageType;
}
The method UnityEvent_Converter.CanProcess is also missing Resolve calls:
    public override bool CanProcess(Type type) {
        return typeof(UnityEvent).Resolve().IsAssignableFrom(type.Resolve()) && type.Resolve().IsGenericType == false;
    }

And finally, for a reason that completely eludes me (can't find the documentation for it anywhere), in fsProtableReflection.GetAttribute(MemberInfo, Type, bool), MemberInfo.GetCustomAttributes seems to return an IEnumerable<Attribute> instead of an object[] on WSA platforms, therefore making the length and index call throw errors. My temporary fix is simply to force it into an array:
var attributes = element.GetCustomAttributes(attributeType, /*inherit:*/ true).ToArray();

I realize now that this last fix moves the System.Linq dependency out of the preprocessor conditional I mentioned earlier.

Can you test with the latest code in Master? #136 should have fixed these issues.


nvidia docker v2 support

Add nvidia docker v2 support
A couple of months ago, nvidia released nvidia-docker v2. As it turned out, this broke OpenGL within docker containers when using nvidia GPU. This means that tools like RVIZ wouldn't work anymore when using nvidia docker v2. Luckily, they provides a fix by now, which needs to be inserted into the docker image. Such a patched version works fine again with nvidia, but (at least for me) doesn't seem to work anymore with e.g. Intel GPU acceleration. So, for now, our company resorted to providing two image tags alway: 1 for nvidia, 1 for intel.

Then to run, all you need to do is change your docker run command to something like:
# old (nvidia-docker v1):
nvidia-docker run <args> <img> <command>

# new (nvidia-docker v2):
docker run --runtime=nvidia  <args> <img>-nvidia <command>

Could you add support for this directly from Autoware?

@koenlek thank you for your suggestion, sounds nice.
could you please create a PR targeted to the develop branch with these changes?

@amc-nu : I made the PR a couple of days ago. Please go ahead and let me know if its ok like this.

Thanks @koenlek, I'll check it soon.

Hi,
Here is the link to docker image for autoware (1.9.1-kinetic) with OpenGL support
The error of launching RVIZ should be fixed now : )
You can simply just docker pull the image for testing
docker pull twbabyduck/autoware:1.9.1-kinetic-opengl

I found somebody do a similiar thing at https://github.com/CPFL/Autoware/pull/1946.
Mouri


Remove Chatbot in search

🚀 Deployed on https://655422c04bbe723ed85f3605--cozy-fox-0defec.netlify.app


Default value for list parameters

I have a list of strings parameter. I would like to set some default value (one default string). I tried both @DefaultValue annotation (I used it like @DefaultValue("default string")) and the defaultValue parameter of the @ApiParam annotation. I googled everywhere but could not managed to find any answer.

Default values are only supported though the annotations right now.

@fehguy But I can't specify a default list value with the @DefaultValue annotation.


Repeated section in the FAQ

The answer to the questions "What is a "plugin" in Backstage?" and "Which plugin is used the most at Spotify?" is exactly the same.

https://github.com/spotify/backstage/blob/master/docs/FAQ.md#what-is-a-plugin-in-backstage

https://github.com/spotify/backstage/blob/master/docs/FAQ.md#which-plugin-is-used-the-most-at-spotify

It appears the error is with the first answer: "What is a "plugin" in Backstage?". The text here appears to be incorrect as it answers the question "Which plugin is used the most at Spotify?" rather than detailing what a plugin is.

Fixed in https://github.com/spotify/backstage/pull/1443


Added static helper method for launching the MessageList with an account

Adds automatic inbox selection of newly created account as mentioned in #4321.

Since this is my first time contributing here, I am tapping a bit in the dark.
I have no clue why some of the tests fail, especially since running the tests using Android Studio works.
Would be kind if somebody more experienced took a look at this.


Minimum tempo (10 BPM)

I was trying to make an ABC from a MIDI where tempo goes down to 5 BPM. Maestro wont let me.
Is there a technical reason for 10 being minimum?

Judging by this https://github.com/digero/maestro/blob/db433464f5d7f5d821e0a1aac6f618b6a7c4c6b0/src/com/digero/maestro/abc/TimingInfo.java#L13 the calculation is done using the ONE_SECOND_MICROS (and the highlighted line will actually return 5). There are no other obvious technical limitations so theoretically this variable can be re-defined... However, maybe Lotro itself does not allow tempo less than 5.

Judging by this https://github.com/digero/maestro/blob/db433464f5d7f5d821e0a1aac6f618b6a7c4c6b0/src/com/digero/maestro/abc/TimingInfo.java#L13 the calculation is done using the ONE_SECOND_MICROS (and the highlighted line will actually return 5). There are no other obvious technical limitations so theoretically this variable can be re-defined... However, maybe Lotro itself does not allow tempo less than 5.


Matrix3 ctor typo

https://github.com/takahirox/online-wgsl-editor/blob/main/src/math.js#L140

Good catch, thanks! Would you like to make a PR?


fix(thirdweb): update utils file and export fetchContractMetadata function

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

Contributor NFT
Paste in your wallet address below and we will airdrop you a special NFT when your pull request is merged.
Address:

PR-Codex overview
This PR updates the focus of the utils.ts file in the thirdweb package to include contract-related functions.
Detailed summary

Renamed focus from "Drop contracts" to "contracts"
Added fetchContractMetadata function export

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#3842  👈
main

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

Join @gregfromstl and the rest of your teammates on  Graphite


New luftdaten component breaks existing configuration

Home Assistant release with the issue:
0.83
Last working Home Assistant release (if known):
0.81
Operating environment (Hass.io/Docker/Windows/etc.):
Linux/CentOS with python 3.6 in venv
Component/platform:
Luftdaten: https://www.home-assistant.io/components/luftdaten/
Description of problem:
the new luftdaten component has several issues. This breaks existing configurations with previous (simple) luftdaten sensor available up to version 0.81 (or 0.82, not sure).

unable to configure multiple sensor id’s. This is required as some measuring devices have different sensor id’s for particulate matter on one hand, and temperature/humidity on the other hand

optional configuration variable “name” does not work

looks like the historic sensor data is lost after migration to the new luftdaten component

component creates duplicate entity ids, this is already reported in issue #18838

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
this yaml shows configuration for new luftdaten component, according to docs, with invalid configuration variable "name":
luftdaten:
    sensor_id: 1xxxx
    name: mysensor
    show_on_map: true
    sensors:
      monitored_conditions:
        - P1
        - P2

Traceback (if applicable):
2018-11-30 20:19:05 ERROR (MainThread) [homeassistant.config]
Invalid config for [luftdaten]: [name] is an invalid option for [luftdaten].
Check: luftdaten->luftdaten->sensors->name.
(See /home/homeassistant/.homeassistant/configuration.yaml, line 141).
Please check the docs at https://home-assistant.io/components/luftdaten/

Additional information:
for reference, previous yaml configuration (up to v0.81) was:
sensor:
  - platform: luftdaten
    sensorid: 1xxxx
    name: luftdaten_partikel
    show_on_map: true
    monitored_conditions:
      - P1
      - P2
  - platform: luftdaten
    sensorid: 1xxyy
    name: luftdaten_wetter
    monitored_conditions:
      - temperature
      - humidity

with the new luftdaten component it looks like there is no way to configure multiple sensors. Also, as the entities have changed, it looks like the historic sensor data is lost. Unfortunately the docs do not provide a way how to migrate luftdaten sensors to luftdaten component.

As a side note, it's pretty hard to figure out which configuration key has been changed between which versions, e.g. sensorid => sensor_id. That's not just a problem with the Luftdaten component but rather with the docs, but still annoying.

Well, that was mentioned in the release note as breaking change. Multiple sensor can be configured with the frontend.

unable to configure multiple sensor id’s. This is required as some measuring devices have different sensor id’s for particulate matter on one hand, and temperature/humidity on the other hand

The config flow allows you to define as many sensors as you like.

optional configuration variable “name” does not work

As we want to move away from the YAML-based configuration should this be done in the frontend as well. Docs are out-dated (https://github.com/home-assistant/home-assistant.io/commit/917bddc3bfabb2f90c9c2262eca2abdf671a7ff5).

looks like the historic sensor data is lost after migration to the new luftdaten component

As the data is still available it's a matter of minutes to update the existing data in the DB.

component creates duplicate entity ids, this is already reported in issue #18838

This was mentioned in the release notes as well.
@mattsches, the whole configuration was migrated to the config flow which was mentioned in the release notes. Feel free to contribute to the docs to improve them.

instead of doing 2 'luftdaten' integrations wouldn't it be better to have that does two api calls?
during configuration we could optionally set the sds11 id and the bme280 id and depending on which ones are set the sensor states/values can be updated.

Was addressed with https://github.com/home-assistant/home-assistant/pull/20643


Use correct Python version in Poetry init

It seems that the Poetry initialization always uses the system's default Python version, and not the one requested for the task.
This causes issues because it results in packages being installed with the wrong version of Pip (when the main script execution starts, poetry is run with the correct Python version, i.e., the requested one, and it crashes).
With this patch, it works:

Target Python version (mine: 3.7) installed on local machine and worker (both have system default of 3.10)
Local machine: using an environment with Poetry installed in Python 3.7
In pyproject.toml: python = "^3.7.0"
Locally: poetry env use 3.7 and poetry install, then add poetry.lock to VCS
poetry run python main_which_will_exec_remotely.py

Hi @nfzd,
I'm not sure I understand the fix - the self._python variable is initialized at the start of the class

Hi @jkhenning,
true. But PoetryConfig is initialized when the Worker is set up (here] but the correct Python version is only determined much later within Worker.execute (within here, namely, here).
An alternative would be to set up the PoetryConfig afterwards, but I'm not sure that would be cleaner.

Or did you mean that the read out should happen in the __init__? That makes sense, see the update.

Python version is only determined much later within Worker.execute (within here, namely, here).

The thing is that when resolving the version there, the code actually verifies this is a viable executable. In your change, you simply take the value from the task, and in case this is not a python version that's available in the execution environment, I assume we'll end up with a failure...

I think you're right, however that won't handle cases where the executable is overridden, such as here

Right. This case is currently also not handled (but I'm not sure whether the default of sys.executable used in PoetryApi will actually be different from the overwritten value?). We could either leave it this way, or assign the values to the config in any case -- having a single location from which to read the Python bin to use would be conceptually nice -- but I don't know whether that can cause issues elsewhere.

@nfzd , apologies for the late reply - can't we just handle the override case as wll by updating the executable in the poetry class?

@jkhenning Take a look, now it should use the value from the override (if configured) also for Poetry.

Updated to fix the merge conflict.


Add structure level in participant export

Currently:
When you export a participant list then the structure level are not exported
Reproduction:

navigate to participant-list
add some structure levels to some participants
export the participant-list
the structure levels are not exported

Wanted:
The structure levels should be exported

I have looked at this. Updating the import will fix this too, if done correct. So waiting on the import to include the structure_levels.


Fix versions check for busybox sh

printf in busybox emits a 'invalid number' error when formatting string variables are not present. Avoid that by reducing the go version check to just two parts, which ought to be enough as patch-level go versions are meant to be compatible.
Examples of such errors are seen in https://drone.gitea.io/go-gitea/gitea/57516/5/2
Showcasing the issue inside that docker container:
# printf "%03d%03d%03d" 1 18
001018sh: invalid number ''
000

bot


Renamed the file 'syntax_test.py' to 'new_syntax_test.py'.

This is due the Sublime Text command to run all Unit Tests catch everything where its name starts within 'syntax_test' as a Syntax Unit Test. Them it will cause show invalid results as follows:
Packages/MarkdownLight/tests/syntax_test.py:1: unable to find SYNTAX TEST marker
FAILED: 1 of 22073 assertions in 42 files failed
[Finished]

Thanks for the PR. I have few questions though:

How can I reproduce the issue? What command exactly should I run and where should I run it?
Why "new"? There is nothing new in these tests from my POV.

I randomly choose new, it is just to not to start with syntax_test.
To reproduce it, just open a Sublime Text's Syntax Test, and go to Tools -> Build With... and choose Syntax Test - All Syntaxes.

It would be nice to have a meaningful file name. I suggest something like "fixture.py" instead of "new_syntax_test.py".

@sekogan done.

Thanks!


ISPN-13260 Docs - remove redundant backslash from formulas in the tuning guide

Minor fix, remove redundant backslash from formulas in the tuning doc. (The characters aren't converted into symbols, escaping isn't necessary)

I also updated the review title to include that Jira issue for the PR queue.

Thanks @oraNod


Fix Broken Links in Readme

This PR just fixes two links in your readme that aren't rendering correctly.

Thanks!


\text{⋮} causes error message

\text{⋮} will cause an error message:
KaTeX parse error: Can't use function '\mathord' in text mode at position 1: \̲m̲a̲t̲h̲o̲r̲d̲{\varvdots\rule…
other ellipsis unicode characters seem to work fine.

I'm happy to implement this.
Before I do so I want to make sure I understand the logic behind \vdots vs \varvdots. What's the difference between the two, and why should ⋮ be one rather than the other?

Issue #620 pointed out that the \vdots in LaTeX 2ε is not just a symbol but also has a vertical kern.  So the KaTeX code for \vdots calls a macro. It calls a character from symbols.js that is named \vardots (a KaTeX-only name) and also includes an adjacent zero-width vertical rule to emulate the vertical kern.
The proposed code revises the macro. In text mode, the macro will just call the symbol, and in math mode, the macro will expand as it does currently.
@edemaine is better at macros than I am and he may come up with something more clever in review. But I think this does the job.

why should ⋮ be one rather than the other?

Mapping Unicode characters to LaTeX functions was an exercise that turned out to be harder than expected. The KaTeX mapping usually, but not always, follows unicode-math.  KaTeX maps rhe character ⋮, U+22EE, to \vdots as in in unicode-math, but we ignore their \mathrel provision because LaTeX 2ε does not give relation spacing to \vdots.


 e (edit configuration) does not work

Cloned fresh repo, didn't change .tmux.conf nor .tmux.conf.local
Everything works fine, except when I try to edit .tmux.conf.local config by using  e, the terminal blinks for a second with a new tab /Users/.../.tmux.conf.local and goes away.
This is what I have from .tmux.conf:
bind e new-window -n "~/.tmux.conf.local" "sh -c '\${EDITOR:-vim} ~/.tmux.conf.local && tmux source ~/.tmux.conf && tmux display \"~/.tmux.conf sourced\"'"

I have oh-my-zsh set up, and $EDITOR is set as mvim.

Hello @cheunjm 👋
From your description, I understand that  the ~/.tmux.conf.local file doesn't exist?

Hi @gpakosz , thanks for the amazing work!
Sorry if I wasn't clear, both ~/.tmux.conf and ~/.tmux.conf.local exists, but  e is not working

I just tried to install MacVim with brew install macvim and brew install macvim and neither formula provides a mvim executable.
Does mvim exist on your system?

Ok I installed MacVim to reproduce your problem.
It's because mvim forks and opens the GUI

@gpakosz Thanks for testing it out for me. I'll try to swap mvim with vi and let you know if it helps

Can you please try the gh-416 branch while keeping EDITOR set to mvim?

I can confirm that it now works on gh-416 while keeping the EDITOR set to mvim.
Thanks a lot!


Adds group sync info to sync details display.

Adds display of new syncing data for groups to LDAP sync jobs results view table.

@saturninoabril Switched for FormattedMarkdownMessage.


Overflow with 12h format.

Not sure if it's allowed to ask for some help in the github issues this way. If not, feel free to close this issue immediately.
Moment.js is being used in the MagicMirror project. Some users report an issue with the formatting of the time when using a 12 hour format. It gives an overflow issue, printing out a long string of numbers.
It only happens in with the 12 hour format: .format("hh:mm") and only when running on a Raspberry Pi.
See this example:
The full issue is described here: https://github.com/MichMich/MagicMirror/issues/181
Any help, or pointers would be welcome! Thanks in advance!

This is interesting, and I'm happy to try to help you, but I'm not sure what we're going to be able to offer.
This is the entire code-path that would be different for the h token than for the 'H' token:
function hFormat() {
    return this.hours() % 12 || 12;
}

The H token just invokes this.hours() directly.
When you use 24 hour format, are you using H or HH?
The code to do the zero-fill (to create the leading zero) with the hh and HH tokens is a little more interesting:
function zeroFill(number, targetLength, forceSign) {
    var absNumber = '' + Math.abs(number),
        zerosToFill = targetLength - absNumber.length,
        sign = number >= 0;
    return (sign ? (forceSign ? '+' : '') : '-') +
        Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
}

Maybe this is causing the problem and you just don't know it because when you use HH it's always in the evening and that for some reason makes things different? Again, no idea why. I'm just thinking through the possibilities.
My honest opinion is that you are more likely seeing a bug in the underlying JavaScript implementation than in moment. We have, of late, seen a few bugs in the environment when it comes to IoT, since these devices are often running less often used OS and JavaScript implementations.
If you were able to tell me more about OS and JS Engine, again, I could try to be of more help. But start by playing with alternating the H, HH, h and hh tokens. Let's see if that gets us some more information.

Hi @maggiepint, thanks for your reply. The problem only occurs with the twelve hour format (hh) I'll check if it makes a difference when i just use h to see if it's a problem with zeroFill().
Since the overflow number is posted in front the time, is might be logical that it has something to do with the string concatenation happening in this function.
I'll keep you posted!

Ok, so after experimentation, it turns out it has nothing to do with the zeroFill() method.
It really all comes down to the following function:
function hFormat() {
    return this.hours() % 12 || 12;
}

Maybe the modulo operator gives the issue. As as I find a solution, I'll let you know.

I replaced the following code:
    var timeString = moment().format('h:mm a');

with:
    var now = new Date();
    var hours = now.getHours() % 12 || 12;
    var timeString = hours + moment(now).format(':mm a');

And this seems to solve the issue. So it really appears this issue is caused by moment.js.

+1
I'm experiencing the exact same issue with moment and raspberry pi.

@maggiepint Could this be marked as a bug? Since this really appears to be a Moment.js issue?

+1
I have same issue with moment and raspberry pi for 12 hour format

So, three of us have looked at this issue, and we honestly don't know what would cause it. We all do agree that it is interesting.
Given that this is a very popular feature of Moment, we can only think that there is a specific issue with the way Moment interacts with this environment. I presume this is NodeJS for ARM?
Truthfully, nobody on the Moment team has an environment set up to debug this sort of issue. We would have to get our unit tests running on a Pi. If you can find this and fix it, we would most likely accept a pull request.

It doesn't happen immediately. It happens after a while (with a script refreshing the content...) and I've only tested it in an electron browser. Will test it in an other browser as well. It might be a good idea to mark this as a bug since others experience the same.

Ok, so I've run a small test with the default Epiphany browser (left) and the Electron app (right). The issue only appears in the Electron app (Which is AFAIK Chromium).
There a simple way I can run the test in the (Electron) browser?

I'm almost sure that this is caused by Math.pow(10, 1) not returning 10 in your environment. I think the real solution is to not use real math to figure our the padding. I think we should just grab some code from the now totally infamous left pad instead of Math.pow in that padding function.

@icambron One thing to note is that it initially works (the clock refreshes every second). But after about a minute, it starts going wonky. Could this be caused by the Math.pow(10,1) function?

Seems weird, right? I just can't find a way through the code that could give you this result without that Math.pow() line returning something wacky.

@icambron The issue doesn't occur when using 24-hour format. Doesn't the HH format use the zeroFill() method (which uses the Math.pow() function)?

Ok, I've removed the Math.pow() function. (By just letting the zeroFill() function return the number without any modifications) and the issue is still there. So the issue is not caused by Math.pow().

I seem to have a temporary fix ...
If I change the following method:
function hFormat() {
    return this.hours() % 12 || 12;
}

To:
function hFormat() {
    if (this.hours() === 0) {
        return 12;
    }

    if (this.hours() > 12) {
        return this.hours() - 12;
    }

    return this.hours();
}

The problem seems to be solved.
Also, while testing, I noticed that the issue starts occurring when this method is called more than 130 times. I have absolutely no explanation for this weird number.

Multiple users tested the above solution and it seems to solve the issue ... Any idea why % 12 doesn't work?

Hmm,  I still want to understand where 2.2e-308 came from.
I'm not surprised that seemingly random futzing with the number fixes things. In Node on my Mac:
> 1e-308 === 0
false
> 1e-308 % 12
1e-308
> 1e-308 + 0
1e-308

//but

> 1e-308 + 12 - 12
0

So sometimes V8 just throws away stuff (which makes sense; it's the 308th decimal place). I think you have a code path that happens to do that, so the problem is hidden from the output through floating point goofiness.
But the root causes is that somehow you're getting this crazy floating point number to begin with. If it's not pow(), I guess it's either % or something else inside of hours. It's hard to say, but whatever it is, it's super weird. I think if you use a fix like the one you have, though, you'll just see the same issue later through some other code path.

I've got a Raspberry Pi 2 now - so I'll see if I can get to the bottom of this.
@MichMich - Any particulars about setup I need to know? Environment, versions, etc.?

The environment is just a regular Jessie installation. The app is running in an electron wrapper.
Check out http://github.com/michmich/magicmirror
The moment.js in the vendor folder is currently a custom modified version to hot fix the issue. Replace it with a default version to see the problem (after 130 seconds)

Also note that the issue only occurs with the 12 hour setting. (See config/config.js)

I've successfully reproduced the bug.  Now to work towards a root cause. :)

Awesome!

Since Matt reproduced this, I'm switching it over to a bug to avoid my close-all-the-troubleshooting-tickets dragnet.


Dev Test: Forces And Motion Basics 2.4.0-dev.7

Dev Test
Mentions: @marlitas @amanda-phet
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html

Test Matrix
Please include all (non-screen reader) feature testing in these records if applicable.

[x] Latest macOS, Safari (Time = 2) (Tester = NS )
[ ] Latest iOS, Safari (Time = ) (Tester = )
[x] Windows 10/11, Firefox (Time = 2) (Tester = MM)
[x] Windows 11, Chrome (Time = 2) (Tester = KW)
[ ] Latest Chrome OS, Chrome (Time = ) (Tester = NS)

Light testing, or optionally skip if time crunch:

[x] Latest macOS, Chrome (Time = 1.5 ) (Tester = NS)
[ ] Windows 10, Chrome (Time = ) (Tester = )

Features included

~[ ] PhET-iO~
[x] Dynamic Locale
~[ ] Alternative Input~
[x] UI Sound
~[ ] Sonification~
~[ ] Description~
~[ ] Voicing~

Focus and Special Instructions
This publication of Forces and Motion Basics adds region and culture support as well as Dynamic Locale, and UI Sound. All features should be fully tested. Any bugs that can also be reproduced in the published version will most likely not be addressed. These issues can be reported, but will be deferred. If any significantly disturbing issues are found in both the dev version and the published version this will be addressed.
Issues to Verify
All issues can be closed once confirmed by QA

[x] https://github.com/phetsims/forces-and-motion-basics/issues/320
[x] https://github.com/phetsims/forces-and-motion-basics/issues/318 (This issue is currently a reminder to retake screenshots with this dev version)
[ ] https://github.com/phetsims/forces-and-motion-basics/issues/298
[x] https://github.com/phetsims/forces-and-motion-basics/issues/288

For QA...

General features

What to Test

Click every single button.
If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Try to include browser version numbers
If there is a console available, check for errors and include them in the Problem Description.
Run through the string tests on at least one platform, especially if it is about to go to rc.
Check the Game Up harness on one platform.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Memory test results look good!

QA is done

Now in rc. closing


ssl_secret debug printing: print only the first 50 bytes

The TLS secrets are sensitive. Print only the first 50 bytes, even with
the debug tag for the print statements on.

Depends upon: #8368

Cherry-picked to v9.2.x


New backend: webrtc + websockets fallback.

Not a fully connected network, it'll be star-shaped (or mesh shaped for redundancy?) with the control panel at the center instead of the server.

https://socket.io/blog/socket-io-p2p/

https://deepstreamhub.com/tutorials/protocols/webrtc-full-mesh/#creating-a-full-mesh


[WIP] Merge our own rust-secp256k1-zkp into rust-bitcoin/rust-secp256k1-zkp

As titled. Work in progress.

Did an initial review with some questions, and a couple minor suggestions. Skipped reviewing aggsig.rs and pedersen.rs for now, per discussion on keybase.
Will review those files when this is closer to being final.


Add a sub-project for map udf functions

Is your feature request related to a problem or challenge?
No response
Describe the solution you'd like
I notice that code of map/make_map in sub-project functions. Beside, I notice that there is sub-project functions-array for array udf functions. Whether add a sub-project for map udf functions?
Describe alternatives you've considered
No response
Additional context
No response

Actually, we're discussing moving the map related function to functions-array and renaming this crate to functions-nested in https://github.com/apache/datafusion/issues/11546#issuecomment-2241453265 because some map implementations are based on make_array. We can have a crate to collect all nested types.

Actually, we're discussing moving the map related function to functions-array and renaming this crate to functions-nested in #11546 (comment) because some map implementations are based on make_array. We can have a crate to collect all nested types.

Ok, how long before we can see this crate (i.e. function-nested)? Which crate should contributors submit PR to if they adds UDFs about map now? Or do contributors have to wait until funciotns-nested is available to make corresponding contributions?

I plan to move the map UDF to functions-array in https://github.com/apache/datafusion/pull/11560 first, and then create another PR to rename functions-array. I guess it is just a renaming task. So, I think the new map-related functions can be put in functions-array currently.
@jayzhan211 WDYT?

I plan to move the map UDF to functions-array in https://github.com/apache/datafusion/pull/11560 first, and then create another PR to rename functions-array. I guess it is just a renaming task. So, I think the new map-related functions can be put in functions-array currently.
@jayzhan211 WDYT?

Looks good to me

I plan to move the map UDF to functions-array in #11560 first, and then create another PR to rename functions-array. I guess it is just a renaming task. So, I think the new map-related functions can be put in functions-array currently.
@jayzhan211 WDYT?

Looks good to me

Thank you, I got it


Error in the analytical expression for the zwo camera detector staircase

From https://github.com/spacetelescope/hicat-package2/pull/318 (plot copied below for convenience) the detector staircase (before any shifting to ensure it goes through 0) should be flat and then start going up at 50 $\mu$ s.

The current analytical expression for this staircase in the exposure_time  setter in the ZWO camera service is np.round((exposure_time - self.exposure_time_base_step) / self.exposure_time_step_size) which yields the following

Instead it should be np.ceil((exposure_time - self.exposure_time_base_step) / self.exposure_time_step_size) which causes the jump in counts to occur at the correct exposure time.

It should also be double checked as to whether there needs to be a +/- 1 in the numerator of the np.ceil call to start going up at exactly 50 (and not 49 or 51). This error causes exposure time discrepancies on the order of ~16 $\mu$ s, i.e. one half of the exposure time step size.
An additional point of concern is that the ZWO camera can give a non-zero flux value between 32 $\mu$ s and 50 $\mu$ s.  Additional care in general needs to be taken to ensure that the appropriate fluxes and exposure times are being reported for these smallest exposure times (<100 $\mu$ s)

An image from the staircase experiment on HiCAT shows that it works fine. We'll talk about this on Monday to see if I'm misunderstanding.

After talking to @ehpor and looking through the code, I've convinced myself that the np.round is the right way to go.
This is complex because there are three times simultaneously being considered:

The time requested by the user which is sent to the camera service via setting the exposure_time
The time sent by the service to the actual camera (the code within the exposure_time setter where the staircase function is)
The time the camera actually used

Ideologically we want (1) and (3) to be as close as possible and (2) is the subject of this calibration. For the purposes of converting images from counts to rates (counts/s) we only care about (3), but also want to respect the user's wishes for (1).
Using np.round for the staircase will give the camera the closest exposure time to what was requested by the user. For example, if the user wants an exposure time of 70 microseconds then the desired behavior (with the camera discretization step size of 33 microseconds) is to use 83 microseconds and not 50. Vice versa, if the user requests 55 microseconds you do not want it to jump up to 83, but to instead use 50.
This is in addition to the exposure_time_offset which sets the minimum actual exposure time (3) and was calibrated to be 79.2 microseconds. In other words, even if 50 microseconds is requested for, and returned by the camera (2), the actual camera integrating time (3) is 129.2 microseconds and represents the floor seen in the plots posted by Emiel.
In making this issue @RemiSoummer and I were worried that using the np.round could result in a  ~16 microsecond discrepancy  between what was reported by the exposure_time property in the zwo_camera service and what was actually used by the camera. I see now though that the staircase is just used in the exposure time setter to select which discretized time step should be used for a given requested exposure time which is then sent to the camera. The getter gets this value back directly from the camera and applies the offset and so should always reflect the "true" time used.
If you agree @RemiSoummer then I will close this particular issue.


Quick Accent

Description of the new feature / enhancement
Can we please add more accent/diacritic options to the Quick Accent module? (e.g., Ă, ă, I, ı, İ, i, Ș, ș, Ş, ş, Ț, ț, Ţ, ţ, etc.) Thanks.
Scenario when this would be used?
When using Quick Accent to write Romanian, Turkish, etc. words/names.
Supporting information
No response

@mihscr
Can you please classify which one for which local?
ping @damienleroy

I would like support for Hindi and Sanskrit accents
(please tell me if this is the wrong place to request this)

Hello. Indeed we will need more information.
@jtackesiii please precise, what kind of accent?
Is it about this?
https://en.wikipedia.org/wiki/National_Library_at_Kolkata_romanisation

The following accents would be the most comprehensive for users seeking to represent Indic scripts: https://en.wikipedia.org/wiki/ISO_15919

/needinfo

@mihscr Can you please classify which one for which local?
ping @damienleroy

Sorry about the delay. The following are for Romanian: Ă, ă, Î, î, Ș, ș, Ț, ț. The S's and T's have commas underneath, not cedillas.

For reference: https://en.m.wikipedia.org/wiki/Romanian_alphabet

For Romanian & Turkish it is already implemented

Hello! Is it possible to include C-cedilla (Ç or ç) as "mapped to" character? It's because I have a laptop with a Swedish keyboard, but I often type in Brazilian Portuguese. If I use the Brazilian Portuguese in a Swedish keyboard (POR-SV), or the Swedish English in a Swedish keyboard (ENG), I cannot use C-cedilla. If I use the Brazilian Portuguese in a Portuguese ABNT2 keyboard (POR-PTB2), I have cedilla, but the keys don't match with their outputs (e.g., I press Å + A to get á). So, I'm thinking of typing alt gr + , + C to get ç, and Shift + alt gr + , + C to get Ç.


correct an error in the punctuation of a sentence

This PR is to fix a punctuation error in the description of the knowledge contribution section.
If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

@ljmwaugh Please fix the DCO error. Thanks.

fixed DCO I think @bjhargrave

fixed DCO I think

If you did locally, you did not force push it to your fork.
Also, you need to rebase on the latest main since there are conflicts that need to be resolved.

I'm going to close this PR and submit a new one


Collect more useful data

Summary
This collects more data when the Agent is not running along with other collections that are useful for diagnostics. Before, the script would skip collecting data that may be available on disk because the agent wasn't running. In reality, this information can be collected and other interactions skipped.
Implementation details
This separates the docker container inspection from the ECS Agent data collection wherein files are collected even if the Agent isn't confirmed running.
Newly collected:

last output for reboots and system events
lvdisplay, vgdisplay, pvdisplay in place of lvs, vgs, and pvs
instance-id

Testing

[ ] Works properly on Amazon Linux
[ ] Works properly on RHEL 7
[ ] Works properly on Debian 8
[ ] Works properly on Ubuntu 14.04

New tests cover the changes:
Licensing

This contribution is under the terms of the Apache 2.0 License: yes

@adnxn take a look at https://github.com/awslabs/ecs-logs-collector/pull/30, I did some work in the past to do this, but haven't had it tested yet. I may jump back on that soon.


Error

Hello,
I have a problem when I use your code.
Here is the error:
Fatal error: Uncaught Error: Call to undefined method Solid\Deepai\Deepai::colorize() in C:\wamp\www\colorize\index.php on line 14
( ! ) Error: Call to undefined method Solid\Deepai\Deepai::colorize() in C:\wamp\www\colorize\index.php on line 14
Can you help me, thanks in advance!

Hi ,could you give me your code and php version


japnit01 added

Issue
https://github.com/subeshb1/developer-community-stats/issues/259

Description
Added my japnit 01 git account

Checklist

[ ] Added contributor object in ascending order in contributors.json
[ ] Github action build passing
[ ] No merge conflicts

Updated contributors.json

@subeshb1  you have merged my request but didn't add hactoberfest-accepted

it is not required @japnit01


Feature Request: Plot on a Color Wheel

Your fantastic tool has become essential in my creative workflow, have you considered providing an option where it can plot the selected value on a rainbow color wheel so the user can easily see what colors they're move towards. Would be useful for things like video and photo editing.
Example:

Thanks for using the tool and the feedback!
I am not really sure how you would imagine this to work? Where would this color wheel appear?

No response, closing the issue


airy.yaml restructuring

[ ] jwtSecret should be in components.api.http.jwtSigningKey to make it clearer what it is for
[ ] apps should be components to be aligned with our naming convention
[ ] global should be kubernetes

We had a discussion about the structure of the airy.yaml file, related to the refactoring of the airy config apply command.
The file should be treated by the airy config apply command to apply the configuration for all the mandatory and optional components. In that sense, the tools perhaps should be treated like optional components and we can have them under
components:
  tools:
    akhq:
      ...
    prometheus:
      ...

For the global section, those items are now part of the ~/.airy/cli.yaml file, so they can be removed from the airy.yaml file I guess. Also the "global" kubernetes options, such as the ingress url are injected by the providers at "create time".
As for the prerequisites section, this is mostly used when we install and setup Airy Core, so I'm not sure if it is a configuration topic. Perhaps also it makes sense to split this section, into multiple configuration files, in the ~/.airy directory (ex. kafka.yaml, redis.yaml, postgres.yaml) and keep the airy.yaml file only for the actual Airy components.

About the prerequisites, one option would be when we do airy create that the command looks for kafka.yaml, postgres.yaml, ... in the {config-dir} and check whether to create kafka/postgres or use an existing ones.

@ljupcovangelski since #1544 resolves this issue, should we have these ideas in a follow up ticket?

@ljupcovangelski since #1544 resolves this issue, should we have these ideas in a follow up ticket?

Yes, I opened a new issue for the prerequisites. Not sure if there is anything else left
https://github.com/airyhq/airy/issues/1575


no data

I've added my new Amtron, the IP is correct and the port and the polling have been verified by the installer. But I don't seen anything in homey when a car is being charged. All the parameters have "-" as value.

hi flori, do you have an amtron professional or premium model? these models
support modbus. The "lower grade" models do not.
Op do 31 okt 2024 18:01 schreef flori27 @.***>:

I've added my new Amtron, the IP is correct and the port and the polling
have been verified by the installer. But I don't seen anything in homey
when a car is being charged. All the parameters have "-" as value.
—
Reply to this email directly, view it on GitHub
https://github.com/tjarb/mennekes.modbus/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKWIKG6D53F4ELKZ6475RLZ6JO6PAVCNFSM6AAAAABQ6XIZGSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDOMZXGU2DINY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


MongoDB connection

User Story:

As a developer,
I want to be able to persist data to a db,
So that users can save and open palettes from any device

Acceptance Criteria:

[ ] Follow the steps in this guide to help get MongoDB set up on Heroku

Stop once you reach this step - Configuring Heroku IP addresses in Atlas (we'll tackle this in another story later)

You can skip this step since we should already have our Heroku backend setup -

The MONGODB_URI will have to be changed to reflect our app name and credentials
https://developer.mongodb.com/how-to/use-atlas-on-heroku/#set-a-mongodb_uri-config-var


Page refresh with nginx load balancer

I'm using mupx with aws, and all is fine if I work with a single instance. If I place the instance behind an elastic load balancer, however, the site reloads two or three times before settling down. It looks like a similiar issue to this: https://groups.google.com/forum/#!topic/meteor-core/yuIR-p3fXck which required some changes to the nginx configuration to fix. Do you think this is the same issue, and is it possible to fix using changes in the mupx configuration?

I hope that's a routing issue. I don't think it's nginx issue as you don't
use it.
I am not quite remember. These is a way to enable sticky seasons in elb.
Then you can't use websocket.
On 2015 ජූනි 29, සඳුදා at ප.ව. 6.55 Dr Chris Wheadon <
<EMAIL_ADDRESS>wrote:

I'm using mupx with aws, and all is fine if I work with a single instance.
If I place the instance behind an elastic load balancer, however, the site
reloads two or three times before settling down. It looks like a similiar
issue to this:
https://groups.google.com/forum/#!topic/meteor-core/yuIR-p3fXck which
required some changes to the nginx configuration to fix. Do you think this
is the same issue, and is it possible to fix using changes in the mupx
configuration?
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/505.

Turning off web sockets worked, thank you!


Add the preview and pricing disclaimer for curated packages

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.9

/lgtm

/approve


feat(cloudflare): expose event.context.cf

🔗 Linked issue
resolves #391
closes #677
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR exposes cloudflare request context as event.context.cf.
Implementation is based on new unenv support. Any other platform based on localFetch, can expose the same context by passing { context: {} } to the request init.
A new generic handler is added to nitro. It will be used later for other purposes as well.
Note: For nested $fetch, we should explicitly pass the cf to be proxied:
  await $fetch("/test", { context: { cf: event.context.cf } });

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Is there a way to use this to get bindings from .env?
I saw a screenshot from Atinux about storing state in cloudflare KV workers, so it seems that conceptually that's possible?
But the above exposed request.cf does not include the .env (nor the secrets stored in cloudflare) nor the service, KV, queue bindings.
Is there a way that I'm just missing?

You can use storage layer to store data in KV, Filesystem, memory and anywhere else.

https://github.com/Atinux/atinotes/blob/ee88ffa8f9dc1d5254ccef10411b815343fdce6a/nuxt.config.ts#L10
https://github.com/Atinux/atinotes/blob/ee88ffa8f9dc1d5254ccef10411b815343fdce6a/server/api/pages/[slug].get.ts#L5

@altryne you're right you cannot access KVs or other Cloudflare services from what it's exposed, we need to pass the env and ctx to the user as I am doing here for the cloudflare-pages adaptor: https://github.com/unjs/nitro/pull/997
After I (hopefully) get the cloudflare-pages adaptor PR merged I can look into adding access to the env and ctx to the cloudflare worker adaptor as well, although in order to do so we'd fist need to convert the adaptor to the ESM syntax as now it uses the old service worker one in which the various variables are just put in the global scope (and some like DO aren't even available).

I actually found a way! it's possible via self.
https://discord.com/channels/473401852243869706/1002541842409193563/1077016381662433372

ah wow, that's interesting! :open_mouth:
are you deploying your Nuxt app via the worker adaptor? (not the pages one)
because if you are yeah I do imagine that the bindings are just added to the global scope by Cloudflare so they end up being accessible by self :thinking:

Yeah not via the pages one.

ah ok I see, that makes sense, thanks :slightly_smiling_face::+1:

You can use storage layer to store data in KV, Filesystem, memory and anywhere else.

@pi0 I'm so sorry I missed your comment on this, however, this isn't answering the question of accessing cloudflare bindings on .env.
The storage layer adds storage, however, on the .env, cloudflare is storing the following things that are not storage:

secrets https://developers.cloudflare.com/workers/platform/environment-variables/#environment-variables-via-wrangler
Service bindings https://developers.cloudflare.com/workers/runtime-apis/service-bindings/
Queues https://developers.cloudflare.com/queues/examples/send-errors-to-r2/

All those things are needed when developing a server side application on cloudflare, all their examples aways require to take this information from the request context and I think it would be great to have them, and not have to do hacks like this one:
https://discord.com/channels/473401852243869706/1002541842409193563/1077016381662433372
I think for many worker devs, this would be more important than the context of the IP and country (which is also important)


Add only_use_cftime_datetimes flag to num2date

Closes #37
I tried to go for the path of least resistance.  I added a flag to DateFromJulianDay that allows one to bypass the logic that uses datetime.datetime objects in certain situations (and exposed that flag in netcdftime.num2date).  If only_use_netcdftime_datetimes is True we have the following behavior:

For calendar='standard', DatetimeGregorian objects are always used
For calendar='gregorian', DatetimeGregorian objects are always used
For calendar='proleptic_gregorian', DatetimeProlepticGregorian objects are always used

If only_use_netcdftime_datetimes is False (which is the default), then the original behavior occurs.
Does this seem like something reasonable?  I'm happy to discuss things further.

Appveyor seems to be failing in setting up the environment for Python 2.7, so I suspect it is unrelated to the changes I've made here (the same thing seems to be happening in #38).

This is now updated in accordance with the renaming of the package to cftime; the option in num2date is now called only_use_cftime_datetimes.

@spencerkclark - Thanks, this looks good. I'd like @jswhit to have a quick look before merging but generally, its nice to have the added consistency!


Volume owner and group related to the container user for rootless containers

For some containers to run, the volume is expected to be owned by a specific user, as defined by the container's author.
When running a rootless container, the owner and group seen on the host will be transposed according to the rule:
uid_on_host = uid_in_container + subuid_range_start - 1
For example, the bitnami/openldap container is expected to access to it's storage with the container's uid 1001. The following task will fail because the folder will be seen as owned by root in the container.
- name: 'Define openldap kube container'
  ansible.builtin.include_role:
    name: linux-system-roles.podman
    apply:
      become: true
  vars:
    podman_create_host_directories: true
    podman_kube_specs:
      - state: started
        run_as_user: openldap
        run_as_group: openldap
        kube_file_content:
          apiVersion: v1
          kind: Pod
          metadata:
            name: openldap
          spec:
            containers:
              - name: openldap
                image: bitnami/openldap:2.6.6
                ports:
                  - containerPort: 389
                    hostPort: 1389
                  - containerPort: 636
                    hostPort: 1636
                volumeMounts:
                  - name: openldap-data
                    mountPath: /bitnami/openldap
            volumes:
              - name: openldap-data
                hostPath:
                  path: openldap_data
                  type: DirectoryOrCreate

When I add (297608 is the real uid/gid expected in this case):
    podman_host_directories:
      DEFAULT:
        owner: 297608
        group: 297608
        mode: "0644"

It will fail because there is no way, as non-root user, to chown to something other than it's own uid. And even if this works, it is not convenient as we have to calculate owner and group in a previous task.
A workaround, by the way, would be to run those 2 tasks just before:
- name: Create /opt/openldap/openldap_data directory
  become: true
  ansible.builtin.file:
    path: /opt/openldap/openldap_data
    owner: openldap
    group: openldap
    state: directory
    mode: '0750'

- name: Chown /opt/openldap/openldap_data
  become: true
  become_user: openldap
  ansible.builtin.command:
    cmd: podman unshare chown 1001.1001 /opt/openldap/openldap_data

But it would be really cool if podman_host_directories would do the owner and group transposition when running rootless (or provide new fields like ctn_owner and ctn_group).

If I am not mistaken, part of the problem should be solved if the become and become_user would be removed from the the Create host directories  task in create_update_kube_spec.yml and create_update_quadlet_spec.yml. As I see it, it should not be necessary and then we could at least define the correct owner and group without an error, even if we need to calculate the ids.
I would like the part where the ids are calculate for me very much, but that is probably a bit more difficult.

re: calculate uid/gid - uid_on_host = uid_in_container + subuid_range_start - 1
@mheon - is this documented somewhere?  If so, I'm assuming this is valid for only certain types of namespaces.  https://www.redhat.com/sysadmin/rootless-podman-user-namespace-modes

@richm The math is correct. The big problem is getting the subuid range start for some containers (e.g. those with --userns=auto where ranges can be auto-assigned). If you have an active container and can get its PID, you can read that out of /proc (/proc/$pid/uid_map and /proc/$pid/gid_map)

@richm The math is correct. The big problem is getting the subuid range start for some containers (e.g. those with --userns=auto where ranges can be auto-assigned). If you have an active container and can get its PID, you can read that out of /proc (/proc/$pid/uid_map and /proc/$pid/gid_map)

Thanks.  For now, I think this will suffice - https://github.com/linux-system-roles/podman/pull/139 - and we can revisit this later if we need something that works for all namespace types.

Works for me. I can create directories with the correct owner and group for rootless containers and I can use podman_subuid_info and podman_subgid_info which are quite handy.
As a site note, for me it is uid_on_host = uid_in_container + subuid_range_start but I am using --userns keep-id:uid=1001 as a parameter.
Thanks for the update and the role :-)

Works for me. I can create directories with the correct owner and group for rootless containers and I can use podman_subuid_info and podman_subgid_info which are quite handy.

Thanks for testing!

As a site note, for me it is uid_on_host = uid_in_container + subuid_range_start but I am using --userns keep-id:uid=1001 as a parameter.

Ok - the test I added uses host = container + start - 1 - https://github.com/linux-system-roles/podman/pull/139/files#diff-eafa11b94637e5ebdc170a81b0bb9abbf66f3545be48fc9cfb70c6f470b5b374R11 - which works in our test environments

Thanks for the update and the role :-)


N@TM our grades

Team 1: teacher pet

[x] Frontend
[x] Backend
[x] API
[x] Agile

HOOK: 3.8
Points: 3.6-4.0
Reason:
KNOWLEDGE: 3.9
Points: 3.6-4.0
Reason:
VALUE: 0.9
Points: 0.6-1.0
Reason:
WOW FACTOR:
Reason:

[x]  Frontend
[x]  Backend
[x]  API
[x]  Agile

HOOK: 3.8
Points: 3.6-4.0
Reason: Appealing and has great variety of features and compatability
KNOWLEDGE: 3.9
Points: 3.6-4.0
Reason: Knows and understands the code thoroughly
VALUE: 0.9
Points: 0.6-1.0
Reason: Useful in current world
WOW FACTOR:
Reason:
8.6/9

Criteria/Key Features:

[ ] Frontend
[ ]  Backend
[ ]  API
[ ]  Database
[X]  Agile

HOOK:
Points: 3.6-4.0
Reason:
Showing information changing on two screens.  Show skate park reviewing.
KNOWLEDGE:
Points: 3.6-4.0
Reason:
Transition between people all sharing part.
VALUE:
Points: 0.6-1.0
Reason:
Review sites are very big.  Shared some great features.
WOW FACTOR:
Reason:
Garbage checks on Frontend and throughout.  Uploading images, reviews in cards.

[ ] Frontend
[ ] Backend
[ ] API
[ ] Agile

HOOK: 4.0
Points: 3.6-4.0
Reason: Very well made features that worked well
KNOWLEDGE: 3.9
Points: 3.6-4.0
Reason: Shared minimal blogs about how their systems work. Clearly understood all aspects of their project though.
VALUE: 0.85
Points: 0.6-1.0
Reason: Unique idea, could be beneficial for skaters. Limited by the skater niche, not useable by a lot of the population. Overall very cool project!
WOW FACTOR:
Reason:
8.6/9

Criteria/Key Features:

[x] Frontend
[x] Backend
[x] API
[x] Database
[ ] Agile, several students interacting with answering questions.

HOOK:
Points: 3.6-4.0
Reason:
A site where skatepark users can create accounts and chat about their enjoyment of skate parks
3.7
KNOWLEDGE:
Points: 3.6-4.0
Reason:
Shared Person Class. Talked about chat and skate park recommendation and ratings. Image database and post database
3.8
VALUE:
Points: 0.6-1.0
Reason:
Creates a community and application for skate park users
.9
WOW FACTOR:
Reason:
Its cool how they combined canvas with blog and demonstrated how jwt cookies work
8.4/9

Frontend v
Backend v
API v
Agile v
Hook 3.85/4
Reason: The presentation was clear and concise and interesting.
Knowledge 3.9/4
Reason: modifying profile is possible and the process is somewhat similar to discord.
Value: 1/1
Reason: Valuable because it is possible to enjoy multiple applications.
Total: 8.75/9

8.55 + 8.6 + 8.75 + 8.55 + 8.4 = 42.85
42.85/5 = 8.57
8.57/9 = 95%

Comments said the most:
Our background looks cool
The features work together
Understands the code


Generate gs://openteams-score/pypi.parquet

This should scrape pypi and collect info into a parquet file
Acceptance criteria

[ ] Create the Parquet file
[ ] Create pull request for code

Upload the data to openteams-score-data

PR #17 should cover the second half of this ticket


Initialization of the Tracer within java-spring-cloud

Ideally there should be a way, possibly as part of the starter, to initialize the Tracer based on a set of defined steps.
For example,

If the application has provided their own Tracer bean, then it should take precedence over any other option, and be registered with the GlobalTracer (for use by other non-spring instrumentations)
If no application provided bean is available, and the TracerResolver is available, then it should be used. Once again - if this returns a value then it should be registered with the GlobalTracer.

The only potential conflict that could occur is if before this initialization has been performed, the application has explicitly registered a Tracer with the GlobalTracer that is different from one available via the spring context. If this occurs, then an error should be logged, as it will potentially result in tracing information being reported to multiple tracers.

This is also related to https://github.com/opentracing-contrib/java-spring-cloud/issues/17.
I don't like this because it completely skips a way of providing a tracer via GlobalTracer which is a supported way of propagating the tracer by OpenTracing API.
More sense to me makes this precedence:

tracer bean
if there is no tracer bean get the tracer from GlobalTracer (if registered)
if nothing is registered fall-back to tracerresolver and set resolved tracer to GlobalTracer
NoopTracer

This follows the same conceptual model as in other instrumentations where there is a custom constructor and a default one which fall-backs to GlobalTracer. And if nothing has been registered NoopTracer will be used.
I think we shouldn't care of situations where users provide a bean and set a different tracer to GlobalTracer it's their responsibility to use the same tracer across the code. If they know that they are using various instrumentations supporting only GlobalTracer then they just can use that or make a binding from bean to GlobalTracer. There will be always this issue in your proposal or mine.


Making interactive matplotlib figures without Jupyter

Nearly all of our examples use Jupyter notebooks for convenience, but the core machinery of HoloViews does not depend on Jupyter at all.  At some point I think we had an example of using HoloViews with a GUI-based Matplotlib backend, popping up an interactive Matplotlib window outside of the browser, but I can't find it now.  We should add one and link to it prominently, to make it clear that we don't depend on Jupyter or a web browser.
That said, @philippjfr notes that a fix we put in to avoid issues with mpl's default qt backend causing problems in the browser (we now force the backend to 'agg'), is currently preventing this usage of HoloViews.  It should be a matter of moving that fix into the renderer so that it is run only in the notebook, but we'll have to investigate that.

Thank you, @jbednar for opening this. We had a battle around my colleagues about what plotting tool to make a default in my company.
There were some for using bokeh, but it was too low level for some people.
We also had plotly proposed and it had more success cause it has 3D out of the box.
And there were people who develop standalone scripts and for them only matplotlib is an option.
I tried to jump in with holoviews - but to them it seems to look more like a 4th option rather than a generalization of all above. Situation also got worse cause developers of standalone scripts can't use holoviews for their work.
Not surprisingly, but precisely those developers were the ones who were the most enthusiastic about the holoviews, but this ability to be independent of Jupyter made it no go option.
I personally think that holoviews is on the right track. Just a nice matplotlib-like gallery is missing.
P. S.
That would be great to separate back-end from matplotlib core package.
Here is the link how mayavi used X3D format to render their elements in 3D in the browser: http://docs.enthought.com/mayavi/mayavi/tips.html

but this disability to be independent of Jupyter made it no go option.

Just to say there is an example of using matplotlib+holoviews without Jupyter here. We might have once had an example that also pops up a matplotlib window but I suspect that was a very long time ago!
I'm not sure what would be necessary to pop up a window, but it probably isn't too hard. If nothing else, you can always grab a figure object from holoviews which should should just be able to show.

I'm not sure what would be necessary to pop up a window, but it probably isn't too hard. If nothing else, you can always grab a figure object from holoviews which should should just be able to show.

Not currently because we're forcing the backend to agg. I also don't think it'll be too hard but it's currently not possible as far as I can tell.

If there a way to disable the backend switch to agg? I certainly would want it to remain the default but there ought to be a way to disable it as well.

We really should only be setting it when loading a backend with the notebook extension.

What about unit tests, especially the SHA based tests?

They'll have to do the same before importing from holoviews.plotting.mpl.

Is there any update on this issue? How can I get an example of something to work without Jupyter?

@thoth291 I'm going to have a look at this over the weekend. I'll report back asap.

Let me know if there is anything will be ready to test - I'm willing to help!

Okay I've had a go at it now and found out what the problem is. HoloViews plots always close figures to avoid accumulating them, I'd suggest we simply add a MPLRenderer.show method, which displays any holoviews object without closing the figure.
Here's what that might look like (I hacked it for now):

BokehRenderer.show could create the plot and try to open it in a browser.

A renderer show method seems like a fairly general concept for pure Python users. I'm happy to see it supported - for bokeh opening a browser tab would make sense.

Thank you @philippjfr ! Is it already available anywhere? Or should I wait for it to be more stable?
Can I open multiple plot windows simultaneously?
And what will happen with bokeh if I'll ask to show few of them simultaneously? Few browsers will open? I guess it's OK.
BTW, will renderer.save() to work for bokeh and save the resulted plot? Is there any way to save it into a object so that I could dump it to a file and then bring it back when needed without re-rendering?
P.S. I'm sorry for so many detailed questions - trying to be specific - but may accidentally become annoying.

@philippjfr The PR was merged so think this issue can be closed now.


accuracy fixes

Indexes can be utilized in a regex search, it would just need to scan the index, but that is likely more performant than scanning the entire collection. For example if you have 10,000 documents in the collection, and an index on "title", but title was not unique and only had 1,000 different values, then the index would still be very helpful against the regex search since it could match against 1,000 instead of 10,000 checks.
type "double" was mentioned twice.

Bump


[5.3] TokenGuard fix for when invalid token supplied and no user retrieved

With non-guarded api routes sometimes we want to allow guest access but also access the user if a token was supplied. For example when allowing guest and user posts to a service. When calling Auth::guard('api')->user() it is not possible to differentiate between guest access and an invalid token. The provided fix will throw an authentication exception in this particular case, this allows the user to recognise their token is invalid and fix that issue (e.g. by logging in again and retrieving a new token) rather than the site assuming they are a guest. Thanks!

Maybe 401 should be the code for this exception since credentials were supplied but were invalid.

An alternative would be to make getTokenForRequest method public, then we could check if there was a token but the user is null then we know it was an invalid token.

Closed because feel that making getTokenForRequest is a better option so will do a PR for that instead.


Actual coverage map

Can you add a map with the actual coverage for each year? Probably with the hot buttons in the layers icon to switch?

@Gmangrove can do, I may have to simplify the polygons a bit to decrease the render time.  You reckon that's an issue?  I think not since this is for visual only.

I think that's fine unless it causes pixelation to occur fairly far zoomed
out.
On Thu, Sep 23, 2021 at 8:18 AM Marcus W Beck @.***>
wrote:

@Gmangrove https://github.com/Gmangrove can do, I may have to simplify
the polygons a bit to decrease the render time. You reckon that's an issue?
I think not since this is for visual only.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tbep-tech/seagrass-analysis/issues/10#issuecomment-925757101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL5OLUUIK2GILS2SR3SA5C3UDMLJXANCNFSM5ESFNVIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
All
government correspondence is subject to the public records law.


Fix Duplicate workflow reminder execution in Scheduler mode

Workflow reminders must have a period set of repeating forever. This is what fundamentally ensures the durability of Workflows.
PR updates all workflow reminders to have an infinite period.
Workflow reminders repeat execution every 1 minute. In some cases, such as during extremely high load, a workflow reminder may execute whilst a previous execution is still in progress. This leads to situations such as double activity invocation. This patch adds a duplicate internal reminder detector, which silently returns if a duplicate reminder is detected.
Removes the background contexts to Scheduler APIs. The Scheduler API server must respect inbound client contexts.
Removes unused --placement flag from the Scheduler.

I've confirmed the db is clean after several thousand workflow iterations and the reminders are not triggered indefinitely even while removing the Repeat from 2, should be good with this diff 👍🏻

LGTM. Just ran my local test and saw the duplicated triggering since the run activity took longer than a minute and saw the log about ignoring it since one is still active, then deleting it. Post workflow run of 4k workflow iterations my db was clean still 👍🏻
scheduler-0-1      | time="2024-08-13T13:49:41.788503301Z" level=debug msg="Triggering job: actorreminder||default||dapr.internal.default.workflow-a.activity||2953-1::0::1||run-activity" instance=bcbc20ef8d3b scope=dapr.scheduler.server type=log ver=edge
scheduler-0-1      | time="2024-08-13T13:50:41.004162967Z" level=debug msg="Triggering job: actorreminder||default||dapr.internal.default.workflow-a.activity||2953-1::0::1||run-activity" instance=bcbc20ef8d3b scope=dapr.scheduler.server type=log ver=edge

workflow-dapr-a-1  | time="2024-08-13T13:50:51.394679014Z" level=debug msg="Executing reminder for internal actor 'dapr.internal.default.workflow-a.activity||2953-1::0::1||run-activity'" app_id=workflow-a instance=e455363315f3 scope=dapr.runtime.actor type=log ver=edge
workflow-dapr-a-1  | time="2024-08-13T13:50:51.394693722Z" level=debug msg="Duplicate concurrent reminder invocation detected for 'dapr.internal.default.workflow-a.activity||2953-1::0::1||run-activity', likely due to long processing time. Ignoring in favour of the active invocation" app_id=workflow-a instance=e455363315f3 scope=dapr.runtime.actor type=log ver=edge
workflow-dapr-a-1  | time="2024-08-13T13:50:51.394715305Z" level=debug msg="Deleting reminder which was cancelled: dapr.internal.default.workflow-a.activity||2953-1::0::1||run-activity" app_id=workflow-a instance=e455363315f3 scope=dapr.runtime.actor type=log ver=edge


Gbm 2100

Here is a small contribution to support the GBM-2100 (metal version of GA-B2100) and the find button.

I've not added a new watch model, because there is really no difference between GBM and GA-B watches (I'll get a GA-B soon so I should be able to confirm ;))
FIND should probably not be set to 7, but I didn't want to change your order myself ...

Looks good, I will merge it!


The same transaction posted twice causes HTTP 500

When BigchainDB receives a transaction, it does not try to find it in the database but passes it on to Tendermint. When Tendermint detects a duplicate, it does not run either CheckTx or DeliverTx, but reports an error: Error broadcasting transaction: Tx already exists in cache.
Duplicates are invalid transactions and have to be reported via HTTP 400.

Is this issue already fixed? I am unable to reproduce in current master branch.
Posting the same transaction correctly returns HTTP 400 response and seems to be doing the validation at server level without even passing transaction to tendermint

Did you post it in the commit mode? It seems to work in the commit mode indeed.
I can reproduce it in the sync and async modes though.

The actual issue here is that when we post the same transaction multiple times really quickly so that the first transaction is still in tendermint cache waiting to be processed tendermint returns the following error with HTTP status code 500
{'jsonrpc': '2.0', 'id': '445b7b06-179a-4766-87c2-4c3eb02e4606', 'error': {'code': -32603, 'message': 'Internal error', 'data': 'Error broadcasting transaction: Tx already exists in cache'}}

This behaviour is correct and expected but it just needs to be logged properly in BigchainDB's logs.
Now if you add few seconds of delay between the last two lines in the script provided above to reproduce the issue, you will notice that the 500 error goes away and you correctly get 400 error response code for duplicate transaction. This happens because now you have given enough time for system to process the first post of the transaction and then when the duplicate is posted the system can identify it as a duplicate.


automatic1111 not accessible on github now?

Just tried to run the Colab, found that it could not do:
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
It seems that the AUTOMATIC1111/stable-diffusion-webui is not accessible on github. Is it going through an update?

https://github.com/AUTOMATIC1111
404 error
he renamed the profile or deleted it

https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui.git

Thank you for the info. Now I know what was going on.

I finally got Fast-Stable-Diffusion working with the new links, do I push a new update?

How can I solve on colab guys? I triend ' git remote set-url origin https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui ' on a cell but didn't work for me. Just wait for legend Ben's solution?

How can I solve on colab guys? I triend ' git remote set-url origin https://gitgud.io/AUTOMATIC1111/stable-diffusion-webui ' on a cell but didn't work for me. Just wait for legend Ben's solution?

Shouldn't take too long, Ben made a few new commits already, he's porting the gits to Gitgud as we speak.

I just saw before your comment.

The colab was transitioned back to github the same day


Update pull_request_template.md to pass tests

Conform PR test fails when the last character of PR is not a dot or other punctuation mark, while the PR template contains the line break there.
Checklist

[ ] Tests are added for new functionality or fixed bugs.
[x] task all passes.

See CONTRIBUTING.md for more details.

I pulled the noisersup-patch-1 and main branch. Both of them in editor does not contain an empty line.

That could be \n vs \r\n issue. I think we could fix conform-pr action instead. @rumyantseva WDYT?

Yeah, it sounds more reasonable to update conform-pr.

@noisersup yes, it's a tiny regex here: https://github.com/FerretDB/github-actions/blob/main/conform-pr/main.go. Feel free to introduce a PR in conform-pr, so we can cover all the needed "new line" cases.

@noisersup @rumyantseva FerretDB/github-actions#65. But after planned tasks


"--list-subs" messing with "--get" statements?

Try this youtube-dl one liner with and without "--list-subs"
_YT="1nG3GRb4vC4"
_YT="PLEtR4Vu4eCRayeQaNlYbAtOrGPYMH4FDp"
_LOG_FL="${YT}$(date +%Y%m%d%H%M%S).log"
time python youtube-dl --simulate --yes-playlist --ignore-errors --newline --no-progress --no-call-home --merge-output-format bestvideo+bestaudio  --get-id --get-title --get-duration  --get-format --list-subs "${_YT}" > "${_LOG_FL}" 2>&1
cat "${_LOG_FL}"
ls -l "${_LOG_FL}"
wc -l "${_LOG_FL}"
when you try include the information about the subtitles all other "--get"s are apparently purged from the output.
All you read in the documentation heal is: --list-subs  List all available subtitles for the video
Why is this happening? How could include all substitles available for a video as a comma separated list (same as --sub-lang LANGS)?
lbrtchx

This is expected. Any --list-* option will only list. Parse JSON output.


Clarification on throttling.

Per Ui elements it indicates UserMessageIfThrottled with a generic message indicating that the request has been throttled.
Currently the documentation does not indicate what conditions will lead to this. From my testing, it appears that the message will appear if the user attempts to request another code within 30 seconds of the code request prior.
Are there other conditions that could lead to this message being displayed, also is 30 seconds a current estimation?
Please update documentation with this useful information :D.
Thank you.

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

ID: d52f886f-9a07-6314-f791-407ae940eb63
Version Independent ID: 79786c18-37c5-8384-6c77-ae744fd67df3
Content: Azure AD MFA technical profiles in custom policies - Azure AD B2C
Content Source: articles/active-directory-b2c/multi-factor-auth-technical-profile.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@Norrch2 Thank you for sharing your findings . We will review and engage the content team accordingly on this.

@Norrch2 Azure AD B2C throttles traffic if too many requests are sent from the same source in a short period of time. Use several traffic sources while load testing, and handle the AADB2C90229 error code gracefully in your applications.
What you consider too many requests are documented here: Azure Active Directory B2C service limits and restrictions


Refactoring using Mobx

Refactoring using Mobx in order to fix issue #33
TODO:

[ ] pass the tests
[ ] clean up
[ ] create a new example covering case #33?

This work is on hold due to https://medium.com/@baphemot/whats-new-in-react-16-3-d2c9b7b6193b
We will wait that React 16.3 is released as final and will proceed to the changes using native React context instead of mobx.


New cop idea: enforce # rubocop:enable cop after # rubocop:disable cop

Hi,
I'd like to suggest a cop that enforces to find a matching # rubocop:enable statement after a non-inline # rubocop:disable. If the enable statement is not present, people might be writing some code further in the file not covered by some cops without being aware of it.
Let me know how it sounds, I can give a shot at a PR.

Makes sense to me. PR welcome. 🙂


Multiple Beacon broadcasting at same time

@chegewara @nkolban
This looks like a superb library to quickly implement the beacons ( iBeacon and Eddystone ) with just few lines of code.
Current Scenario: Right now on a button press, I am broadcasting Eddystone data for first 2 seconds and then iBeacon data for later 2 seconds. When I init for iBeacon, eddystone is automatically de-init. Which means i cannot create multiple BLEDevice objects at same time ?
Is that it ?
Problem Statement: Is there a way I can broadcast them at the same time, simultaneously? Using threads or blocks ?

Hi,
i asked espressif programmers similar question and ive been told that esp32 can advertise only 1 advertisement at the same time. Only option is to send 1 beacon, stop advertising and send other beacon.
In theory you could send 1 beacon as normal advertising and 1 beacon as scan response, but im not sure its good idea.

@chegewara
Thanks for your quick response.
1 beacon advertising and another 1 beacon scan response does not suits my scenario.
Anyways this is not a show stopper for me. We are good to close this issue.


screenshot_and_save_page only creating the html file in cucumber

My screenshot_and_save_page is only creating the html file.  Doing nothing special in the cucumber test just calling that method.
maybe somebody has a solution.

You're not using a JavaScript driver so not image screenshot. Tag your scenario with @javascript, install a driver like selenium or poltergeist and you'll get your image :)

Any solution here? I'm using rspec and capybara-screenshot and not doing anything particularly special and only getting the html output.

For me, the issue was how I was registering drivers. This eventually put me on the right path: https://github.com/mattheworiordan/capybara-screenshot/issues/211#issuecomment-321857907
require "spec_helper"
require "rspec/rails"
require "selenium-webdriver"
require "capybara/rspec"
require "capybara-screenshot/rspec"

Capybara.register_driver :selenium do |app|
  capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
    chromeOptions: { args: %w(headless disable-gpu) }
  )

  Capybara::Selenium::Driver.new app,
    browser: :chrome,
    desired_capabilities: capabilities
end

Capybara.javascript_driver = :selenium


Add option for specifying the default highlighting language per project

I'd be nice if one could specifiy the default highlighting language of code that people post in issues, prs, and the wiki for each project.
At the moment the programming language is deduced from the code as long as one doesn't specify the language explicitly. But this doesn't work well for small code snippets.
This can be archived by calling hljs.configure({'languages': ['XXXXX']}); before hljs.initHighlightingOnLoad() (which is in public/js/index.js). But I am not sure how to integrate the default language selection into the UI.

That should probably be added in repository settings

Any ideas under which tab and segment this could be added in the repository settings?

I think it should be under in options tab in advanced settings as there is also where you enable/disable issues and wiki sections


Netlify CMS, self-hosted Gitlab, localhost redirect URI included is not valid

I am trying to Netlify CMS and a self-hosted instance of Gitlab. I went to the Start with a template on the Netlify CMS site and created a Gatsby project and automatically deployed it to a cloud-hosted version of Gitlab I have access to and everything worked fine. I then wanted to move it to an offline environment where I have another self-hosted, on-prem version of Gitlab so what I did was:

Cloned the repo from the live gitlab
Added the on-prem Gitlab as a remote
Pushed the repo to the on-prem Gitlab

Then in order to run the project on local host I did:

npm install

created an application on the on-prem Gitlab with the following settings:

changed the config.yml to:

name: gitlab
  repo: Syd/netlify-cms-test # Path to your GitLab repository
  auth_type: implicit # Required for implicit grant
  app_id: ********** # Application ID from your GitLab settings
  api_root: http://gitlab.sq.tlm.cloud/api/v4
  base_url: http://gitlab.sq.tlm.cloud
  auth_endpoint: oauth/authorize

ran npm run start
went to http://localhost:8000/admin
clicked Login with Gitlab, at which point I see:

in my on-prem Gitlab instance, the url is:
http://gitlab.sq.tlm.cloud/oauth/authorize?client_id=e60ead1dc7ff4266a4cecf35dfd82303cd1c6abc81610d04f96a115dac6965da&redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Fadmin%2F&response_type=token&scope=api&state=ff29269c-83b8-4a16-9652-2722fb934794

I am not sure at all why it is not working. The couple things I have noticed and tried:

I tried navigating to http://localhost:9000/admin/ and I get this:

the redirect url in the big url above, when the application redirects me says redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Fadmin%2F - is that correct? I put localhost:9000 in the Gitlab settings, so I am not sure why it is not 9000 as the query parameter

In my Gitlab settings, am I supposed to put http://localhost:8000/admin/ or http://localhost:9000/admin/?

I tried changing the application setting for Redirect URI to be http://localhost:8000/admin/ but then I just get redirected to the Gitlab admin home screen

One strange thing, is this was working last week when I did the same thing and I came in this morning and now it is not working. I deleted everything and tried doing the whole process again and cannot seem to get it to work.
Is there something special on localhost that I need to do to set it up?

I solved the problem quite simply (100% my misunderstanding). I read the readme generated by the quick start and reread the following section:
To test the CMS locally, you'll need run a production build of the site:

$ npm run build
$ npm run serve

I set my redirect value to http://localhost:9000/admin/ and then did npm run build and npm run serve and it works perfectly.
cheers to the Netlify, Netlify CMS and Gatsby team for great products!


[Sema] Allow code to shadow definitions in implicit _StringProcessing module

Treat _StringProcessing decls as if it were declared in the Swift module, just like how _Concurrency is treated (#34642).

@swift-ci please test


Swap out react-icons for another icon library

react-icons currently takes up over 83% of our bundle size. Let's look for an alternative, since we only need one icon, and deep-importing from react-icons doesn't look to be working.

Closed: https://github.com/vectara/react-search/pull/29