fix(controller): Support nested items. Fixes #3288

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[x] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

Fixes #3288
This uses the same pattern now used in Argo Events:

https://github.com/argoproj/argo-events/blob/master/pkg/apis/common/amount.go
https://github.com/argoproj/argo-events/blob/master/pkg/apis/common/resource.go

@sarabala1979 I've gutted Item replacing all the fields with a single Value json.RawMessage field that supports all formats.

@alexmt this PR removes item.go and uses a more flexible and simpler solution and you might want to take back to Argo CD.

@VaibhavPage @whynowy I've taken a different approach with Argo Workflows item.go to resource.go in that I delegate to json.RawMessage rather that directly write to []byte. I think that []byte may have issue with null (empty []byte and it does not normalization of the JSON. Please be aware.

@sarabala1979 ready for review.


Titanium 3.5.0 GA - Architecture: x86_64

Hello Guys,
Titanium 3.5.0 GA needs architecture 64 bits for every module now. Do you have any plan for update count.ly modules?
When I build the project I get this message:
[ERROR] Script Error Couldn't find module: count.ly for architecture: x86_64
Without it we can't continue use this sdk.
Thank you!

Hey - I added 64Bit support - https://github.com/dieskim/Titanium-Count.ly

Perfectly @dieskim ! Thank you! It's working!


InteractiveService not found

I added the NuGet package to my project and linked everything up, and upon trying to start the bot I get an error message saying "dependency"InteractiveService" was not found. I came over here to use the Github version, and the same issue came up. Is there any way to fix this?

Hi there,
It is working for me.
Maybe I can be of assistant.
How are you Linking it up?

Simply adding an InteractiveService to the ServiceCollection, and then inheriting InteractiveBase in one of my command modules.
            _services = new ServiceCollection() // Microsoft.Extensions.DependencyInjection                             .AddSingleton(_client)                             .AddSingleton(_commands)                             .AddSingleton<CommandHandler>();                             //.AddSingleton<InteractiveService>()
`/*
using System;
using System.Threading.Tasks;
using Discord.Addons.Interactive;
using Discord.Commands;
// https://github.com/foxbot/Discord.Addons.Interactive/tree/master/SampleApp
namespace HSBot.Modules
{
public class SampleModule : InteractiveBase
{
...`

Okay, please try the following:
            _services = new ServiceCollection() // Microsoft.Extensions.DependencyInjection                             .AddSingleton(_client)                             .AddSingleton(_commands)                             .AddSingleton<CommandHandler>();                             .AddSingleton(new InteractiveService(_client))

After some further poking around, I fixed my issue! I was simply using an IServiceCollection rather than an IServiceProvider. Thank you for helping me, I probably wouldn't have looked further if it weren't for it. :)

Actually I spoke too soon, for some reason when I execute a command in a module that implements InteractiveBase, it spits out "Failed to create "HSBot.Modules.SampleModule", dependency "InteractiveService" was not found." I'm implementing it in my main like this:
            _services = new ServiceCollection() // Microsoft.Extensions.DependencyInjection
                            .AddSingleton(_client)
                            .AddSingleton(_commands)
                            .AddSingleton<CommandHandler>()
                            .AddSingleton<InteractiveService>()
                            .BuildServiceProvider();

Arh yes, it has to be a ServiceProvider.
Could you try building it like this:
_services = new ServiceCollection() // Microsoft.Extensions.DependencyInjection
.AddSingleton(_client)
.AddSingleton(_commands)
.AddSingleton()
.AddSingleton(new InteractiveService(client))
.BuildServiceProvider();

Correction for your client variable name (sorry):
_services = new ServiceCollection() // Microsoft.Extensions.DependencyInjection
.AddSingleton(_client)
.AddSingleton(_commands)
.AddSingleton()
.AddSingleton(new InteractiveService(_client))
.BuildServiceProvider();

Having the same problem.
System.InvalidOperationException: 'Failed to create "DiscordBot.Modules.UtilityModule", dependency "InteractiveService" was not found.'
class Program
    {
        static void Main(string[] args)
            => new Program().MainAsync().GetAwaiter().GetResult();

private IServiceProvider ConfigureServices()
{
    return new ServiceCollection()
        // Base
        .AddSingleton(_client)
        .AddSingleton<CommandService>()
        .AddSingleton<CommandHandlingService>()
        .AddSingleton<InteractiveService>(new InteractiveService(_client))
        // Logging
        .AddLogging()
        .AddSingleton<LogService>()
        // Extra
        .AddSingleton(Config)
        // Add additional services here...
        .BuildServiceProvider();
}

...
using Discord;
using Discord.Commands;
using Discord.Addons.Interactive;
using Discord.WebSocket;

namespace DiscordBot.Modules
{
    [Name("Utility")]
    public class UtilityModule : InteractiveBase

Have also tried
.AddSingleton<InteractiveService>()

Project only compiles when I change UtilityModule.cs to inherit from ModuleBase<SocketCommandContext>, and that's not what I want to do.

Hello, I'm also having the same issue. This issue only occurs when I update the Discord.Net NuPackage from 1.1 to 2.2. For reference, here is a snippet of my current code:
static void Main(string[] args)
            => new Program().Start().GetAwaiter().GetResult();

        public async Task Start()
        {
            client = new DiscordSocketClient(new DiscordSocketConfig { LogLevel = LogSeverity.Verbose });
            commands = new CommandService();

            await InstallCommands();

            //Login and Connect
            await client.LoginAsync(TokenType.Bot, token);
            await client.StartAsync();

            services = new ServiceCollection()
                .AddSingleton(client)
                .AddSingleton<CommandService>()
                .AddSingleton<InteractiveService>()
                .BuildServiceProvider();

            client.Log += Log =>
            {
                Console.WriteLine(Log.ToString());
                return Task.CompletedTask;
            };

            client.UserJoined += UserJoined;
            client.ReactionAdded += RoleEmoteReaction;

            await Task.Delay(-1);
        }

public Task InstallCommands()
        {
            client.MessageReceived += HandleCommand;
            client.Ready += Game;
            return commands.AddModulesAsync(Assembly.GetEntryAssembly(), services);
        }

        public async Task HandleCommand(SocketMessage m)
        {
            if (!(m is SocketUserMessage msg)) return;
            if (msg.Author.IsBot) return;

            int argPos = 0;
            if (!(msg.HasStringPrefix("!", ref argPos))) return;

            var context = new SocketCommandContext(client, msg);
            await commands.ExecuteAsync(context, argPos, services);
        }

I have attempted to change .AddSingleton<InteractiveService>() to .AddSingleton(new InteractiveService(client)). No Luck.
I've also tried adding "null" to the services in the AddModulesAsync, but that does not work either. I'm at a loss here, since it did work in an older version.

This issue still exists

For all the people still having this issue I (might have) found a solution:
Be sure to not only add the services in AddModulesAsync, but also in the ExecuteAsync. LOL
_services = new ServiceCollection().                 AddSingleton(_client).                 AddSingleton<InteractiveService>().                 BuildServiceProvider(); CommandService.AddModulesAsync(assembly: Assembly.GetEntryAssembly(), services: _services);
await CommandService.ExecuteAsync(context, argPos, _services);


Add public holidays for 2021

This PR adds .csv public holidays for 2021.

thank you for your contribution 😃


[FR] join 2 CSV files

Hi @dcmoura , I see examples to join a JSON file in the document, would joining 2 CSV files be supported?
https://spyql.readthedocs.io/en/latest/recipes.html?highlight=join#equi-joins

Right now we only support joining with a JSON file. The main data source can be in any data format, but the secondary data source must be JSON. You can translate a CSV to JSON, though. Here is an example: https://danielcmoura.com/blog/2022/spyql-cell-towers/

Proper JOINs are in the roadmap but it might take months until getting there, unless someone steps in.

Thank you, @dcmoura !
Proper JOINs would not be easy from scratch, but I would suggest using pandas like this:
    import pandas as pd

    left_df = pd.read_csv(left_file, dtype=str, keep_default_na=False)
    right_df = pd.read_csv(right_file, dtype=str, keep_default_na=False)
    df = left_df.merge(right_df, **kwargs)
    df.to_csv(out_file, index=False)

pandas does not need to be a requirement of spyql.
An error can be returned if join feature is used but pandas is not installed.
Pipe feature (with "spy" output) for pandas dataframes can be omitted if difficult (in the first release).

Currently, I use pandas to join CSV files, which means I need to prepare and manage Python scripts.
If spyql supports joining CSV files, I can save more time.

Thank you, @dcmoura ! Proper JOINs would not be easy from scratch, but I would suggest using pandas like this:

Using pandas goes against the principles of SPyQL. Pandas adds a very large overhead, and loads everything into memory. Still, thank you for your suggestion.
In the meanwhile, I suggest you use something like the following. I am showing how can we JOIN two csv files using spyql.
$ cat example1.csv
id, name, age
1, Ana, 26
2, Jane, 31
3, Richard, 42
4, Samuel, 23

$ cat example2.csv
date, ammount, user_id
2022-02-01, 100.0, 3
2022-03-05, 25.1, 1
2022-03-15, 93.2, 1
2022-04-01, 50.0, 2

example1.csv is a list of users. We want to add user info to example2.csv. So, we will convert example1.csv to JSON and then use it to JOIN with example2.csv.
$ spyql "SELECT dict_agg(id, .) AS json FROM csv('example1.csv') TO json" > example1.json

$ spyql -Jusers=example1.json "SELECT *, users[user_id].name AS user_name, users[user_id].age AS user_age FROM csv('example2.csv') TO pretty"
date          ammount    user_id  user_name      user_age
----------  ---------  ---------  -----------  ----------
2022-02-01      100            3  Richard              42
2022-03-05       25.1          1  Ana                  26
2022-03-15       93.2          1  Ana                  26
2022-04-01       50            2  Jane                 31

Hope this helps.

Thank you for your suggestion, @dcmoura !

Hmmm, unfortunately, that seems a bit complicated to me. Hope syntax similar to SQL can be used, as supported by clickhouse local as follows:

./clickhouse local -q "SELECT u.full_name, h.text FROM file('hackernews.csv', CSVWithNames) h \
JOIN file('users.tsv', TSVWithNames) u ON (u.username = h.by) WHERE NOT empty(text) AND length(text) < 50"

References:
https://clickhouse.com/blog/extracting-converting-querying-local-files-with-sql-clickhouse-local
https://clickhouse.com/docs/en/operations/utilities/clickhouse-local/

How about modin as an optional pandas alternative? modin should be able to run pandas code (without modifying). modin claims: "Modin is a drop-in replacement for pandas. ... Modin works especially well on larger datasets, where pandas becomes painfully slow or runs out of memory."

Install
pip install modin

Python code:
try:
    import modin.pandas as pd
except Exception:
    import pandas as pd

Hmmm, unfortunately, that seems a bit complicated to me. Hope syntax similar to SQL can be used, as supported by clickhouse local

Right now supporting JOINs (as in the SQL syntax) is not our top priority, but I hope we get there soon enough. Out of curiosity @Minyus, is there any particular advantage of SPyQL over clickhouse local for your use case?

How about modin as an optional pandas alternative? modin should be able to run pandas code (without modifying).

Thank you again for your suggestion, but we try to keep our list of dependencies as short as possible. And I would not put a core feature (such as a JOIN) depending on an optional package. The JOIN most probably will have to be implemented from scratch.

Advantages of SPyQL over clickhouse local for my use case are:

SpyQL can be installed easily by pip
SpyQL supports Python objects/functions (e.g. pathlib.Path)


EventLoopAdapter: pass signal to signal handlers

Otherwise an ArgumentCountError occurs where no one expects it

Thank you, @Thomas-Gelf!


SoapySDRUtil doesn't detect SDRPlay RSP2

I've followed most of the troubleshooting steps I've found online and chatted a bit on freenode but haven't been able to figure out why my RSP2 isn't being enumerated.  I'm using:
SoapySDRUtil --info
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Lib Version: v0.6.1-unknown
API Version: v0.6.0
ABI Version: v0.6
Install root: /usr
Search path: /usr/lib64/SoapySDR/modules0.6
Search path: /usr/local/lib64/SoapySDR/modules0.6
Module found: /usr/lib64/SoapySDR/modules0.6/libsdrPlaySupport.so
Loading modules... done
Available factories...null, sdrplay,
SoapySDRUtil --probe
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device

-- Device identification
driver=null
hardware=null

-- Peripheral summary
Channels: 0 Rx, 0 Tx
Timestamps: NO
SoapySDRUtil --check=sdrplay
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Loading modules... done
Checking driver 'sdrplay'... PRESENT
Linux ham1 4.17.14 #1 SMP Thu Aug 9 09:45:34 EDT 2018 x86_64 AMD Ryzen 3 2200G with Radeon Vega Graphics AuthenticAMD GNU/Linux
I'm happy to attach kernel configs or whatever you're interested in (strace/etc), or try patches/etc.  This is on Gentoo, but my kernel is custom, and I packaged soapysdrplay and the sdrplay libraries myself (soapysdr is the repository version).  If I get it working I'll likely add the packages to the main repo.
I have enabled just about all the USB-related options in the kernel except gadget-related options.  Also, "lsmod | grep msi" returns nothing.  The usb device does show up in /dev/bus/usb with 0666 permissions so the udev rule seems to be working fine.
Is there anything else you can think of that I can do to troubleshoot, or can you think of any kernel-related config settings that might be relevant?

https://github.com/pothosware/SoapySDRPlay - Requires the API from SDRPlay, you have that installed already?  "Get SDR Play driver binaries 'API/HW driver v2.x' (not v3.x) from - http://sdrplay.com/downloads"
HTH
PS - best place for questions like this would be https://groups.google.com/d/forum/pothos-users

Yes, those drivers are installed.  It wouldn't even build without them.  Happy to post in the group - I was told to log an issue in #pothos on freenode...

@rich0 I was under the impression that SoapySDRUtil --probe was printing the output for the sdr play, its basically just calling into the null device and printing diddly. Ex, if you SoapySDRUtil --probe="driver=sdrplay", I think you will get a error message. That doesnt help much, but its consistently not working, rather than ambiguously instantiating/not enumerating like I thought. So something must be up with the binaries.

Here is the output of --probe with the driver.  I don't think it is actually enumerating the device, but just displaying the capabilities of the driver itself?
SoapySDRUtil --probe="driver=sdrplay"
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device driver=sdrplay

-- Device identification
driver=SDRPlay
hardware=SDRPlay
mir_sdr_version=2.130000

-- Peripheral summary
Channels: 1 Rx, 0 Tx
Timestamps: NO
Other Settings:
* Low IF (when available) - Use low IF when available: 0.5MHz SR with 200 and 300khz BW, 1MHz SR with 600kHz BW, 2048kHz SR with 1536kHz BW
[key=use_low_if, default=true, type=bool]
* IF Mode - IF frequency in kHz
[key=if_mode, default=Zero-IF, type=string, options=(Zero-IF, 450kHz, 1620kHz, 2048kHz)]

-- RX Channel 0
Full-duplex: YES
Supports AGC: YES
Stream formats: CS16, CF32
Native format: CS16 [full-scale=2048]
Antennas: RX
Corrections: DC removal, DC offset
Full gain range: [0, 204] dB
TUNER gain range: [0, 102] dB
LNAT gain range: [0, 102] dB
Full freq range: [0.01, 2000] MHz
RF freq range: [0.01, 2000] MHz
Sample rates: 0.222222, 0.333333, 0.428571, 0.5, 0.571429, ..., 8, 9, 10, 11, 12 MSps
Filter bandwidths: 0.2, 0.3, 0.6, 1.536, 5, 6, 7, 8 MHz

Oh there you go, nice output. @SDRplay what would cause the device instantiation to work, but enumeration shows no devices?

Can I see the output of lsusb - i.e. what does the system think is connected? The command should be SoapySDRUtil --probe=sdrplay or SoapySDRUtil --find=sdrplay

lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 1df7:3010
Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
SoapySDRUtil --find=sdrplay
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
No devices found!
SoapySDRUtil --probe=sdrplay
######################################################
Soapy SDR -- the SDR abstraction library
######################################################
Probe device sdrplay

-- Device identification
driver=null
hardware=null

-- Peripheral summary
Channels: 0 Rx, 0 Tx
Timestamps: NO

Something doesn't seem right there - I would... "sudo service udev restart" and then disconnect and reconnect the RSP2 - then try again please.

I ran (as root) systemctl restart systemd-udevd
There was no change in behavior for --find=sdrplay or --probe=sdrplay

and you physically disconnected and reconnected the RSP?

Yes - other than the output in dmesg nothing changed:
[ 4748.741722] usb 3-3: USB disconnect, device number 4
[ 4751.173600] usb 3-3: new high-speed USB device number 5 using xhci_hcd
[ 4751.300581] usb 3-3: New USB device found, idVendor=1df7, idProduct=3010, bcdDevice= 2.00
[ 4751.300587] usb 3-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Actually, one second - that's version 0.6 - that's pretty old - where did you get that from? 0.6 probably only works with 2.11 of the API - have you tried building from the latest published source?

I'm using the Gentoo package for soapysdr-0.6.1.  It should be using the tagged tarball from github for that version.  Do you want me to build from master?

I'm pretty sure 0.6 will only work with 2.11 API - 2.13 API will require the latest version of SoapySDRPlay master


Increase performance of automata drawing

Increase performance of automata drawing

change the automta engine in order to use threejs and shader material


Interctc patch

Codecov Report

Merging #14 (ee0daae) into master (78db412) will decrease coverage by 9.38%.
The diff coverage is 34.42%.

:exclamation: Current head ee0daae differs from pull request most recent head c0bf024. Consider uploading reports for the commit c0bf024 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   75.88%   66.51%   -9.38%
==========================================
  Files         615      615
  Lines       54767    54824      +57
==========================================
- Hits        41559    36465    -5094
- Misses      13208    18359    +5151

Flag
Coverage Δ

test_integration_espnet1
?

test_integration_espnet2
?

test_python
65.82% <34.42%> (-0.04%)
:arrow_down:

test_utils
23.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

espnet2/bin/asr_inference.py
67.30% <28.57%> (-20.27%)
:arrow_down:

espnet2/asr/encoder/e_branchformer_encoder.py
85.71% <39.39%> (-9.44%)
:arrow_down:

... and 109 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Irmin-pack: add stats for reads in suffix/prefix

In the dispatcher we have two types of reads - in the prefix or in the suffix. We should add stats to track those.
Also in the pack_store, we can read sometimes try to read gced objects, for instance when trying to find them. This can also be tracked by a counter.

That might be useful to verify the assumption that Tezos should read very rarely in the prefix - but not a blocker for the initial release.


json: spaces in single-line object are not symmetrical

Describe the bug
$ echo '{"a":3}' | cargo run -- --language json -s
{"a": 3 }

Expected behavior
Either { "a": 3 } or {"a": 3}, likely the former.

Closed via #97.


Email Branding - lack of added variables

I have added [[ foundation::user.firstname ]] to Title section in email brand (/admin/branding/email)
I was sending random email notification

Results:
Lack of  user firstname in mail title:
https://image.prntscr.com/image/Ep0k-dSdQs6cib53qUGfMA.png

Another test, and incorrectly display:
/admin/branding/email
https://image.prntscr.com/image/XpPzM3R5QkuOgGMmjBPK4A.png

@mountstone can You verify this?

@MarcinKozak

edit notification page has problems with loading:

It is problem with code of javascript.

Template variable is missing:

Template variables is missing on branding page:

@dawid-g @mountstone Fixed all 3 points.

verified as fixed.


Preparation of meeting and guide for performing of numerical simulations with ODESystem class

The following actions are to do, in order to prepare the meeting and the guide:

[x] #241

[x] #242

[x] #243

All points achieved. Issue can be closed


[Task]: Verbose logging from Portable Runner creates unredable  logstreams (xxMB) in Python PostCommits

What needs to happen?
This impedes debugging of test failures, incl. identifying flakes.
Issue Priority
Priority: 1
Issue Component
Component: testing

.take-issue

thanks, @Abacn for looking into this issue! in the event we cannot easily disable the not relevant logs, we could try to tee them into a file and save in GCS for manual inspection if necessary, and possibly move the portable tests into separate suite.

Sorry, further investigation found that it actually can be dealt with 'log_level_overrides'. Currently flink runner seems not respecting this argument. The setting of log level overrides does not take effect, at least on client (job submission). Having a working code and will submit a change.


Cant change icon colour

How to change application launcher icon (nwg-drawer) icon in the nwg-dock-hyprland? i cant find a css for this. Is the icon an svg? in that case the svg has to be manually modified, the doc isn't very extensive about it.

Also if id like to use a thrid party program like rofi to achieve the app dock, how would i go about making an entry for the icon on the dock?

How to change application launcher icon

/usr/share/nwg-dock-hyprland/images/grid.svg - replace with you own icon image under the same path/name.
$ nwg-dock-hyprland -h
Usage of nwg-dock-hyprland:
  (...)
  -c string
    	Command assigned to the launcher button
  (...)

Please read the whole output of the nwg-dock-hyprland -h command in the terminal.


Include variable aliases in template context data

Currently, writing template paths (with dates especially) can be non-intuitive. I like the flexibility the date() filter provides, but it would be nice to support variable aliases, perhaps with variables that replicate the names used by different static site generators.
Variables used by different static site generators

Value
Jekyll

ISO 8601
-

ISO 8601, UTC
-

Epoch
-

Year (2019)
year

Year, short (19)
short_year

Month (02)
month

Month, integer (2)
i_month

Day (09)
day

Day, integer (9)
i_day

Day, year  (40)
y_day

Hour (23)
hour

Minute (01)
minute

Second (01)
second

Title slug
slug

Categories path
categories

Upcoming v0.1 release provides a series of date tokens (below) as well as properties from a post/file.

Token
Description

y
Calendar year, eg 2020

yyyy
Calendar year (zero padded), eg 2020

M
Month number, eg 9

MM
Month number (zero padded), eg 09

MMM
Month name (abbreviated), eg Sep

MMMM
Month name (wide), eg September

w
Week number, eg 1

ww
Week number (zero padded), eg 01

D
Day of the year, eg 1

DDD
Day of the year (zero padded), eg 001

D60
Day of the year (sexageismal), eg 57h

d
Day of the month, eg 1

dd
Day of the month (zero padded), eg 01

h
Hour (12-hour-cycle), eg 1

hh
Hour (12-hour-cycle, zero padded), eg 01

H
Hour (24-hour-cycle), eg 1

HH
Hour (24-hour-cycle, zero padded), eg 01

m
Minute, eg 1

mm
Minute (zero padded), eg 01

s
Second, eg 1

t
UNIX epoch seconds, eg 512969520

T
UNIX epoch milliseconds, eg<PHONE_NUMBER>0


Release training data on Hugging Face

Hi @YanjieZe,
Niels here from the open-source team at Hugging Face. I discovered your work through AK's daily papers: https://huggingface.co/papers/2410.10803. The paper page lets people discuss about your paper and lets them find artifacts about it (your dataset or models for instance), you can also claim the paper as yours which will show up on your public profile at HF.
It'd be great to make the training data available on the 🤗 hub, rather than Google Drive, to improve its discoverability/ease of use.
See here for a guide: https://huggingface.co/docs/huggingface_hub/en/guides/upload.
This would make the dataset easier accessible, and also discoverable. We can then also link the dataset to the paper page.
Let me know if you're interested/need any help.
Kind regards,
Niels

Hi Niels,
Thank you for the help! I would try to upload the raw data these days.
Best,
Yanjie


PSModulePath is not set up properly

Today the GoogleCloudPowerShell module gets installed into "${env:ProgramFilesx86}\Google\Cloud SDK\google-cloud-sdk\platform", and the installer adds the path to the GoogleCloudPowerShell folder to $env:PSModulePath.
This setup prevents the module from being loaded using Import-Module GoogleCloudPowerShell. You can load it using the full path to the module folder or using the full path to the psd1 file it contains, but you can't load it with Import-Module. This setup also prevents Get-Command -Module GoogleCloudPowerShell from working. Generally, anything that is dependent on lookup by module name (dependencies taken by other modules, for example) will not work.
To fix this, $env:PSModulePath should contain the folder above the GoogleCloudPowerShell folder rather than the GoogleCloudPowerShell folder itself. Personally I recommend creating a PowerShell folder at the same level as GoogleCloudPowerShell, moving the GoogleCloudPowerShell folder into the PowerShell folder, and setting up the PowerShell folder you create as the item that you add to $env:PSModulePath.  That is the best solution to this issue, keeping PSModulePath folders clean and PowerShell focused so that you don't impact PowerShell performance, and setting your module up to be discoverable by name properly.

Thank you for catching this.

See #315 when we get to fixing this.

@KirkMunro thanks for reporting this and other PowerShell issues. This has been fixed in the repo. It will be live in the next release of the Cloud SDK, in the next week or two. (The next time you gcloud components update.)


Motor Toon Grand Prix (JPN) freezes unless you yank the memory card out.

I don't know if this is the right place to put this but I've been having trouble with loading this particular game. So I have a legit copy and I'm using a Memcard Pro loaded with FreePSXBoot and a PSOne (the slim one). I do have the right image on my card because I was able to easily load my copy of Fire Pro Wrestling G easily with no problems.
After FreePSXBoot does it's thing, it freezes on the Sony Computer Entertainment Presents screen. I thought something was wrong, until I pulled out the memory card and it would boot normally. So as an alternative, I used another memory card I had lying around it was able to save and load fine and during all of that, I noticed that my Memcard wouldn't create another virtual memory card dedicated to the game. And I'm assuming the game is trying to read the memory card, but it's obviously "corrupt" according to the games standards.
TL;DR: Motor Toon Grand Prix (
SCPS-10001) doesn't play well with Memcard Pro installed with FreePSXBoot, it tries to read the data on the card and create a save on said card, a VMC dedicated to the game isn't being created and because of all this mess, the game freezes after the game is loaded.

So I was doing some digging. This is more of Memcard Pro issue.


Easy argument "switches"

https://github.com/CityOfZion/neo-sharp/issues/280

@osmirnov how do you want to deal with -s ?


Unable to put spaces in text fields

Periodically after 10-15 minutes of usage in our OpenSCD distribution, we often find that in text fields where we can normally place spaces we can  no longer do that (in any text field and in any editor plugin).
If we refresh the application and start again spaces can be entered.
If spaces are copied and pasted from a text editor they can be entered
Typically this affects search filtering in the later binding plugin but it equally affects the publisher plugin.
I am not sure how to diagnose this and I don't have a set of reproduction steps but it is quite bothersome 😞
I'm hoping to reproduce this at a convenient time and request help from @ca-d

So far, I have not seen this behaviour at all in locally hosted versions of any open-scd-core distribution on my development machine.


explore other predefined lists of data formats

Describe the improvement
In addition to the IANA list of internet media types, other predefined lists of data formats might be available and useful for our purpose.
Identify potential lists and evaluate.

Will make this practical when the need arises and we are ready for it.


Processing for games ends before all highlights have been posted

This is mainly an issue in overtime games where the game ends with a goal. We should be posting the highlight for the game winning goal, but often the game has been marked as official by the NHL API before the goal highlight has been posted. Ideally there would be some sort of flag in the API that would indicate that all highlights have been posted. A less ideal solution would be to use something time-based (ie: continue checking the highlights for another 30 minutes to 1 hour after the game ends just in case).

Maybe we could check the final score of the game and wait until that number of goal highlights has been posted? This could be an issue if the NHL doesn't post a highlight for every goal though. I think I've seen this happen, but it's likely a rare occurrence.

#14 is a temporary fix. Leaving this open until I find a better solution.


Add factory methods for Row construction

Add a set of static factory methods for instantiating com.github.vkorobkov.jfixtures.domain.Row:

ofName(String name)
of(String name, Map<String, Object> columns)
of(String name, Object... keyValuePairs)

Make all existing constructors private and start using these factory methods instead in the code/tests

https://github.com/vkorobkov/jfixtures/pull/174 merged


Create express_codespaces_guide.md

For issue #724

Please translate the title of the lesson into Urdu as well.
As well the words of the title is separated by a dash (-) not an underscore (_)

okey @rcallaby


Update finetune.md

Edit typographical errors.

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

@azibit Thanks for the fix! Could you sign the CLA?

@hellock CLA has been signed. Thanks


torchvision version for CIFAR100

Hi,
Thanks for your innovative method and sharing the code with community.
When running python3 main.py --method=mnemonics --nb_cl=10 I face the following AttributeErorrs
'CIFAR100' object has no attribute 'train_labels' in mnemonics.py. This issue pesisted for train_data, as well and I was able to solve it by replacing self.train with self.trainset.train_data.
However for:

self.trainset.train_labels
self.testset.test_data
 self.testset.test_labels

no replacement worked with existing torchvision(0.5.0).
I would appreciate if you specify the torchvision that worked with your model.
Bests,
Nila

Thanks for your interest in our work.
For the package version, please kindly refer to this issue: https://github.com/yaoyao-liu/mnemonics-training/issues/6#issuecomment-641219407 #

This solved the error.
I would kindly recommend to add a requirements.txt file that contains all the packages with version mentioned in issue#6. When facing errors, many would search for errors in different website, under the impression that all the needed packages is already named in the page.
Thank you,
Bests

Thanks for your suggestion.
We'll update the requirement list to this repo later.


Fix ability use vendor namespace the same as external extension

Fix throws exception "Class '$className' must be located at '$filePath' but this file is missing"
when class located in other path, for example
I have installed phalcon/incubator,
and compiler say me "Class 'Phalcon\Mailer\Manager' must be located as '/opt/cphalcon/phalcon/mailer/manager' but this file is missing",
but class located in the other path

@steffengy Could you please take a look

what error message does this cause when something from an external extension
cannot be found in any path?

If class not found in any file, when throws exception:
ReflectionException: Class {classname} does not exist
in {path}/{filename}.zep on line {line}


Error while creating branch traces

Hey! I'm trying to reproduce your results but facing the following issue when I try to run the create_branch_traces.py file:
./bin/create_branch_traces.py
Traceback (most recent call last):
File "./bin/create_branch_traces.py", line 52, in
main()
File "./bin/create_branch_traces.py", line 46, in main
cmds.append(get_run_cmd(pinball_path, trace_path))
File "./bin/create_branch_traces.py", line 12, in get_run_cmd
pin_root = os.environ['PIN_ROOT']
File "/usr/lib/python3.6/os.py", line 669, in getitem
raise KeyError(key) from None
KeyError: 'PIN_ROOT'
I have followed the previously required steps. Could you help how to resolve this issue?

Hi, installing PIN requires you set the environment variable PIN_ROOT to the absolute path of wherever you installed PIN.
For example, you can execute this in the command-line:
export PIN_ROOT=/path/to/your/pin/download
If you don't want to do this everytime, you can add it in your .bashrc, .bash_profile or other equivalent files in your Linux distribution

Thanks, that worked! But now I'm getting the following error:
Traceback (most recent call last):
File "./bin/create_branch_traces.py", line 52, in
main()
File "./bin/create_branch_traces.py", line 46, in main
cmds.append(get_run_cmd(pinball_path, trace_path))
File "./bin/create_branch_traces.py", line 13, in get_run_cmd
assert os.path.exists(TRACER_PINTOOL_PATH)
AssertionError
How can I get the tracer.so file?

Seems like you haven't build the tracer pintool.
Did this step succeed?
./bin/build_tracer.py

When I try to run that, the following error pops up:
make[1]: *** No rule to make target '/home/arnavwadhwa/BranchNet/pin-3.25-98650-g8f6168173-gcc-linux/extras/pinplay//lib/intel64/libpinplay.a', needed by 'obj-intel64//tracer.so'.  Stop.
make[1]: *** Waiting for unfinished jobs....
tracer.cpp:19:21: fatal error: pinplay.H: No such file or directory
#include "pinplay.H"
^
compilation terminated.
makefile.rules:199: recipe for target 'obj-intel64//tracer.o' failed
make[1]: *** [obj-intel64//tracer.o] Error 1
make[1]: Leaving directory '/home/arnavwadhwa/BranchNet/src/tracer'
makefile.rules:121: recipe for target 'all' failed
make: *** [all] Error 2
Am I missing something here? Sorry I'm new to comp arch so might be missing something and would appreciate the help!

I think you have the wrong pin version. I forgot to specify in the readme that my code uses the Pinplay version of pin. You can download it from here. I have tested pin 3.11.
https://www.intel.com/content/www/us/en/developer/articles/tool/program-recordreplay-toolkit.html
Actually, these are not comp arch issues per se. You are going through the environment setup phase :) I'll try to help with these kind of issues as much as I can. But I cannot solve all the problems, and you may have modify the code to adapt it to your environment.


Fixfix type incompatible after fold constant by be.

Proposed changes
Issue Number: close #xxx
Problem summary
after fold constant by be, the original expression will be replaced directly by the constant. we all cast if type is not compatible.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run fe ut

run buildall

1.1 is not being maintained


Able to install xml-report using gauge --install java

Expected Behavior
gauge --install java should install java plugin only
Actual Behavior
installs other plugins as well
Steps to reproduce
gauge --install java -f /somepath/xml-report-0.1.2.nightly-2016-05-09-darwin.x86_64.zip

successfully installs xml-report
gauge --install java -f /Users/sswaroop/Downloads/html-report-2.1.1.nightly-2016-05-09-darwin.x86_64.zip

successfully installs html-report

Fixed should be available in nightly > 27-5-2016

The reason of failure is not clear
Reason: File /var/folders/_r/rxkwk7zn1dnfky2b22yx4yfr0000gn/T/gauge_temp1464667204163944408/plugin.json doesn't exist.
The reason may be
Incompatible plugin and installer...

Available in nightly >= 03/06/2016


MySQL or MongoDB persistent template from the OCP 3.6.1 catalog non working

Version: oc v3.6.1
I've deployed a 3.6.1 OCP cluster on Azure 2-3 weeks ago using Azure template. Deployment succeeded and cluster is up&running. I've deployed some images (like NGINX and others) and everything looks fine.
However if I deploy a MongoDB from OCP catalog (plain vanilla MongoDB) using persistent storage (PV) the deployment fails with this messagge (simlar error if I deploy MySQL or even Cassandra DB):
=> MongoDB
=> sourcing 10-check-env-vars.sh ...
| => sourcing 20-setup-wiredtiger-cache.sh ...
| => [Wed Mar 21 09:17:40] wiredTiger cacheSizeGB set to 1
| => sourcing 30-set-config-file.sh ...
| => sourcing 35-setup-default-datadir.sh ...
| ERROR: Couldn't write into /var/lib/mongodb/data
| CAUSE: current user doesn't have permissions for writing to /var/lib/mongodb/data directory
| DETAILS: current user id = 184, user groups: 997 0
| DETAILS: directory permissions: drwxr-xr-x owned by 0:1000360000, SELinux: system_u:object_r:svirt_sandbox_file_t:s0:c9,c19
Digging down the problem, I see that PV are successfully created on Azure Storage account and mounted to the OCP working nodes. If log to a specific node I see all mounted volumes.

Please use a newer version of OpenShift and let us know if the issue persists.


ZF3 support

Hi,
Good day.
Any chance ZF3 will be supported in the future? Thanks.

@jarrettj did you checked https://github.com/zendframework/ZendDeveloperTools/releases/tag/1.1.0 ? zf3 is already supported

@kokspflanze thanks dude! My eye sight! I see it now on composer site. :)


Create concept list

Produce a list of Concept records from XML forms used for Visits(Encounters).

'name' field in MDS must match 'concept' attribute for Element in forms(Excludes TEXT element types which are not input nodes)
'name' field is unique in MDS table
'display_name' is a human readable text version of 'name'.
'description' is a longer narrative contextual
'datatype' can be 'string'
'mimetype' can be text

I believe this has been completed and probably closed.


CSS's newline_between_rules has no effect

I looked at the code and it doesn't look like the rule 'newline_between_rules' is applied for CSS.
Anyone else, has this problem?
Thanks

Please add repro steps and example input, expected output, and actually output.

It's been a while, I don't remember - should have posted more details. Thanks.

@durz, @smartforcedev, @rontav - You gave this a thumbs up.  Can any of you reproduce this?

Sorry about that. I thought that this should do something else. I've tested it and it works like it should.
I guess I should read the docs/inline comments before I vote on issues.

Not problem.  Just checking.  😄


platform object should not reject additional properties

According to extensibility, platform object in manifest list should accept the additional properties. So the limitation of "additionalProperties": false should be removed.
BTW, here was a syntax error, and this limitation didn't work. Even that, it still should be removed.
Signed-off-by: xiekeyang<EMAIL_ADDRESS>

LGTM

LGTM


Allow ellipsis replacement to be customized

The replacements are performed in order, using the default of /* ... */ for null values or at the end of the list. This is primarily targeted at non-void method bodies and property getters.

I'm not as convinced by this change as by the others - I'm very open to hearing about other suggestions.

@RexJaeschke: Let's see what Bill thinks. I don't think folks had a strong view in the meeting, but they didn't have much time to think. I guess we could always include it to start with, but then change to a different mechanism later if we think of one.


read: add Object::file_ref

Closing in favour of #564. This PR is too much additional complexity for uncertain value. We can revisit later if needed.


Credential Issue

I had Issue with credentials. If the key in common/main_providers.tf only export method works
2019/11/10 18:10:00 Create S3 bucket terraform-states-072717525149 returned an error: AccessDenied: Access Denied
	status code: 403, request id: 37AC6C10091FEAC5, host id: l3BbfEesPLDq8tNiE3F9rVeSO7fSMZpyz5VvHgMDTT0Ahj4xcOFXzKwYbrn/CIjLK8a2L8mW1Tw=. Sleeping for 10s and will try again.

Have another issue:

[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data] 2019/11/10 18:44:00 Running command: terraform init -backend-config=skip_credentials_validation=true -backend-config=skip_metadata_api_check=true -backend-config=bucket=terraform-states-388956784340 -backend-config=dynamodb_table=terraform-locks-388956784340 -backend-config=encrypt=true -backend-config=key=aws-data/terraform.tfstate -backend-config=region=us-east-1 -input=false

Initializing the backend...

Error: Failed to get existing workspaces: AccessDenied: Access Denied
	status code: 403, request id: 88F5C30EE7A1E591, host id: fnaEdxn/GLEAOmVw6iHqNitpchXY0Zy0/ZbuVWjg3SmEUGI4UfByb3/mhRlYDVzBwuH6bSqb5P4=

[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data] 2019/11/10 18:44:00 Detected 1 Hooks
[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data] 2019/11/10 18:44:00 Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data has finished with an error: Hit multiple errors:
exit status 1
[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc] 2019/11/10 18:44:00 Dependency /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data of module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc just finished with an error. Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc will have to return an error too.
[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/autoscaling_2] 2019/11/10 18:44:00 Dependency /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data of module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/autoscaling_2 just finished with an error. Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/autoscaling_2 will have to return an error too.
[terragrunt] [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc] 2019/11/10 18:44:00 Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc has finished with an error: Cannot process module Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/vpc (excluded: false, dependencies: [/home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data]) because one of its dependencies, Module /home/genaker/Downloads/Cloud-craft-former/cloud-craft_former/us-west-1/aws-data (excluded: false, dependencies: []), finished with an error: Hit multiple errors:
exit status 1

Something wrong with S3 bucket permissions. Terraform creates a bucket but can't have access to it. It is a temporary fix: after make it public for read-write terragrunt  works

@antonbabenko  please, can you suggest why this permission happened, what permission bucket should have?

Hi @Genaker!
I am back from vacation, and ready to help you. Sorry for the delay.
The bucket has to be writable by your current IAM user and match the configuration as specified in remote_state block in terragrunt.hcl (check encrypt and region). Normally this bucket is created on the first run of terragrunt commands.

Thanks, my friend checked and seems he doesn’t have any issues with S3. We
can close this ticket. But you can also mention about this in the Readmy
file
On Mon, Jan 6, 2020 at 2:41 AM Anton Babenko<EMAIL_ADDRESS>wrote:

Hi @Genaker https://github.com/Genaker!
I am back from vacation, and ready to help you. Sorry for the delay.
The bucket has to be writable by your current IAM user and match the
configuration as specified in remote_state block in terragrunt.hcl (check
encrypt and region). Normally this bucket is created on the first run of
terragrunt commands.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/antonbabenko/modules.tf-demo/issues/3?email_source=notifications&email_token=ACGJNZVVWXKG2PPHM7XJQJTQ4MRIRA5CNFSM4JLPWEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFKU4A#issuecomment-571124336,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGJNZT5FO24WGF66U3LNEDQ4MRIRANCNFSM4JLPWEBQ
.

I will need more information about why it failed for you and what exactly was missing from your side to be able to describe it in readme or maybe change in the code.
Closing this for now.


BIDS import/export, bet_premask bug fix, new modules

BUG FIXES / IMPROVEMENTS:

BIDS import takes new optional input arguments to specify tasks/sessions of interest (also useful for controlling the order in which data gets added to AA)
BIDS import preserves the 'sub-' prefix, which is more consistent with the BIDS spec I think (so if you wanted to share the aa pipeline as a derivative the subject folder names would be sub-x rather than just numbers).
BIDS export can now handle subject names with or without sub- prefix
fix bug in bet_premask (Matlab is not very good at testing the existence of relative paths, so you have to check for abs path first).

NEW MODULES:

aamod_meanstructural - does what it says on the tin.
aamod_firstlevel_model_1/2/3 - split up the first level modeling so that custom processing can be added before the model is estimated. The standard aamod_firstlevel_model remains available and is sufficient for most people I imagine.
aamod_firstlevel_model_subrunsplit - an example of what you can do when the first level model is split into stages. Here we accommodate 'sub run' splits - cases where independent runs of the experiment were acquired without stopping the scanner. This module makes it possible to split the SPM model up so that these sub runs are modelled as independent sessions. This is a useful initial stage e.g. for MVPA.

TODO:

tests for the above! I have run all of the above through my own code and it all works fine. Once my current dataset is posted on openfmri that can perhaps be added as another BIDS test AA script that would include the above modules.

Could you, please, make sure that the function header in aamod_meanstructural.m (line 1) is consitent with the function name?

Done.

I have tested the relevant functions (reading and writing BIDS), and they are working as usual. Though, I have not tested the new features and modules. I suggest to come up with relevant examples. However, if you are confident enough, I am happy to merge the PR.

I have tested so I think we should be ok.
On 22 June 2017 at 10:35, Tibor Auer<EMAIL_ADDRESS>wrote:

I have tested the relevant functions (reading and writing BIDS), and they
are working as usual. Though, I have not tested the new features and
modules. I suggest to come up with relevant examples. However, if you are
confident enough, I am happy to merge the PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rhodricusack/automaticanalysis/pull/115#issuecomment-310329238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABfNs6EGy2dDJI3PcPatQ-kB4hzQIVsmks5sGjV4gaJpZM4OAzDw
.

--
Johan Carlin, PhD
Research Associate
MRC Cognition and Brain Sciences Unit
Cambridge, UK

Small glitch: I believe there's a typo in the report generation in the firstlevel_model modules -- the jpegs that get created during analysis are named diagnostics_... (note the "s") and the report generation looks for files named diagnostic_... The (current) single-file version of aamod_firstlevel_model.m has the same glitch.
There's also currently quite a number of firstlevel module variants in the distribution. As a new user, I found this rather confusing. Might we want to think about organizing these (or culling ones that are more "experimental") in the spirit of trying to make aa more user friendly?

Ok, I had no idea reports work in that way. I ran a grep diagnostics_ aa_modules/*.m and changed accordingly. Better now?
Re models, I think fMRI necessarily involves a huge number of custom first level models. That's where almost all the theoretically interesting stuff happens (the second level model is usually just RFX on the summary stats). The alternative is to try to cover all the unusual model cases in one monolithic aamod_firstlevel_model, but I think that's actually more confusing. For one thing you would need to look at the module settings to know what kind of model was run, whereas with custom modules you can see immediately from the task list what was done.
So I think we should have many first level models, but perhaps we need to add more documentation to clarify exactly what each variant is doing. For instance, the models I added now have lots of comments discussing what they are for, and pointing out that you may prefer aamod_firstlevel_model for standard use cases.

Ok, I had no idea reports work in that way. I ran a grep diagnostics_ aa_modules/*.m and changed accordingly. Better now?

I checked the new diffs and they look good to me. Thanks.
Also, I see your point about providing useful custom modules (for first level analysis and in general).

So we are all good to merge then @tiborauer?


Transcription Error

The transcription endpoint is not working

This is because transcriptions were never finished, and while the web request is made by the code, it is never properly decoded into variables, always returning nil as response: https://github.com/jpoz/groq/blob/7a02894105a0ea9f188337866ac21d6c850a81d2/client.go#L109
This is fixed by my PR #4.


css_selector and zenmode not working

The Styling extensions appear to not be working well for me. css_selector creates a new dropdown menu, I assume to select different css styles, but the only option is "default". Zenmode does nothing; not even a button. Is there another step required to make those work?

Yes,　I also account the same problem. Looking for a solver too.

There are several extensions that need updates... and regrettably, right now, I have no time to take a look to the zenmode (the other one was written by Mathias IIRC)... if I get some free time, I will update it and let you know... cheers.

I took a look at the error messages in the javascript console. The culprit is line 58's call to the change_to function. Commenting that line out fixed things for me. Haven't looked at zenmode.
Also, line 36 mispells 'ipython' as 'ipyhton'. I noticed as I looked through it, but I'm not sure if hit was causing any problems.

I've (just) fixed zenmode on master branch for 4.x, but it should also work for 3.x, I think (I can't promise without testing, but please let me know if you try!) along with an update to the configuration extension.
I'm working on the css_selector, will report back when something changes.
Best


Cannot completely disable window resize animation

Hyprland Version
I'm using hyprland from nixpkgs-unstable, in which hyprctl systeminfo doesn't show useful informations, (like branch, commit, etc).
hyprland's version is v0.39.1
Bug or Regression?
Bug
Description
After setting animation = windowsMove, 0,
when resizing a window, the window still has 1 or 2 frames of stretching animation
I discovered this issue when investigating #5606
How to reproduce

add animation = windowsMove, 0 to hyprland.conf
open a few windows and resize them

Crash reports, logs, images, videos

this is not an animation - it takes a moment for your app to respond to a resize and adjust itself.


Config UI: Type mappings Should not require you to press enter to save

This happened after I saved it:

Looks like the type mappings are not being sent to the backend

They are being sent. You have to press enter to register each individual mapping before saving settings.

You should not have to press enter. That is not intuitive. @e2corporation can we change this?

I think this is already been resolved in the past, feel free to re-open if I was wrong


PlayerEvent's naming is inconsistent

Most events refer to the target/victim (i.e. EntityEvent), but PlayerEvent currently refers to a player as the initiator.

Where are we at with this?

It's a relatively non-issue.


Upgrade the 3.2-stable branch to Redmine 3.2.8

Hi,
I've made the upgrade path from 3.2.5 to 3.2.8 and upgraded the base image to version 14.04.20171024. Tested locally without any problems.

With this update git version 2.14.1 is now being installed.  You should pull in the following commits for a work around.
https://github.com/sameersbn/docker-redmine/commit/619107268c499bee4ea5cdb10fc515bb5c63d6b5
https://github.com/sameersbn/docker-redmine/commit/f83db463ee6e953343c6391bc432037dc3bd7656
 $ docker run -it --rm sameersbn/redmine:3.2.8 git --version --no-color
error: unknown option `no-color'
usage: git version [<options>]

    --build-options       also print build options

Cherry-picked and rebased! Please let me know if any further changes are needed.

Any reason you applied the first commit before the changes and the second after?  Both commits are related, the 2nd fixing the first.

@jcormier when the test works lets merge it no matter what.


Daily weather variables

Paper at: http://onlinelibrary.wiley.com/doi/10.1111/ecog.02321/full
R Package is on CRAN under the name "RFc"
Here's a list of what they have available (note that the NCEP/NCAR Reanalysis has 4x daily data going back to 1948 for temp and precip; prate is short for "precipitation rate").
Joan and I played with it a bit today, and the API seems very good (it's from Microsoft Research).

Example script I used:
x = fcTimeSeriesDaily("airt", latitude = c(35, 36), longitude = c(-117, -118), firstYear = 1989)

Nice!

Another option for weather data is daymet.
And a big advantage to either of these is being able to include all the Canada sites.

Next time... perhaps.


Install Pypi Modules in the Docker Image

The docker image msaligane/openfasoc includes all the conda dependencies but does not install the Python/Pypi dependencies listed in the requirements.txt, and they have to be installed separately inside the container. It would be useful to add them to the built image.

That image is used to test generators and the requirements.txt file is part of the generators development (people add libraries that are used in these generators) and it is important to test them regularly. you can ofcourse create your own image using this base image.

That image is used to test generators and the requirements.txt file is part of the generators development (people add libraries that are used in these generators) and it is important to test them regularly. you can ofcourse create your own image using this base image.

Aren't the libraries required for testing as well?

That image is used to test generators and the requirements.txt file is part of the generators development (people add libraries that are used in these generators) and it is important to test them regularly. you can ofcourse create your own image using this base image.

Aren't the libraries required for testing as well?

Of course. That's why we first test them by installing them before we test generators

That image is used to test generators and the requirements.txt file is part of the generators development (people add libraries that are used in these generators) and it is important to test them regularly. you can ofcourse create your own image using this base image.

Aren't the libraries required for testing as well?

Of course. That's why we first test them by installing them before we test generators

Why do they have to be installed separately? Can't they be installed in the build step itself since the image is also updated regularly?

We build the image once in a day and the generator can be updated multiple times. Requirements file is part of the generators bundle. Checks are done on the generators hence we load both the python libraries list and generators code.
What exactly is your usecase @harshkhandeparkar ?

We build the image once in a day and the generator can be updated multiple times. Requirements file is part of the generators bundle. Checks are done on the generators hence we load both the python libraries list and generators code.
What exactly is your usecase @harshkhandeparkar ?

I use it for development as well. Since many of the libraries will not change so we can pip install in the Dockerfile as well as in the CI workflow and it will save some time after pulling the container since some deps will already be installed.
Doing this will be better for development since pip install won't have to be run in most cases for that.

we can have one more version of this for testing. That should be no prob.

but if you want to open the openroad gui or the klayout while debugging, it is not possible. From my past experiences, no one was using the docker images. everyone is working from the GCP VM and all tools are installed there already. I think you are the only person (and probably Chetanya) want this one.

but if you want to open the openroad gui or the klayout while debugging, it is not possible. From my past experiences, no one was using the docker images. everyone is working from the GCP VM and all tools are installed there already. I think you are the only person (and probably Chetanya) want this one.

Which VM instance are you talking about? The docker image is quite useful for development since I can run it locally. It would be cool if we could publish a development docker image that would help new contributors get started without having to install or compile the tools themselves.


Support notification level callbacks

Description
My original problem is that I want the post body to be logged with each notification to Bugsnag. Since the Java library doesn't do this, I have to hack together a solution on my side.
It's an expensive task to take the request body my controller received and then serialize it back into a string and attach it to Bugsnag using addThreadMetaData. If the exception rarely occurs, I would be wasting time on this expensive operation on all successful requests.
Describe the solution you'd like
I'd like addThreadMetaData to take a callback (or a runnable lambda) instead of an Object, so that Bugsnag can evaluate it only if it needs to perform the notification to Bugsnag.
Describe alternatives you've considered
Although the method bugsnag.addCallback gives access to the granular report, the callback is created when Bugsnag is initialized. The callback has no way to be aware of the controller state in Spring.
Additional context
My Spring controller decodes the post body into a specific object, for example
void postRequest(@RequestBody Payload payload) {}

I tried addThreadMetaData(..., payload) but Bugsnag strips the contents. You're using an object mapper that filters for example things that aren't marked with your Expose annotation.
An alternate solution to this thread: you could continue to use your existing object mapper for your own objects, but use a second new object mapper for the objects added via addThreadMetaData so that you stop stripping out the data.

Hey @nkavian, based on the original problem and title of the issue, it sounds like you should be able to use a local beforeNotify() callback to add metadata in a call to bugsnag.notify() where you could serialize and add the request body, as at this point you should be in scope of the controller in Spring and have access to the request:
bugsnag.notify(exception, new Callback() {
    @Override
    public void beforeNotify(Report report) {
		// serialize the request body here..
        report.addToTab("request", "body", serialized_request);
    }
});

Or you could use a Java lambda syntax: https://docs.bugsnag.com/platforms/java/spring/reporting-handled-exceptions/#setting-metadata. There's a plain Java example here, and an example in Spring too (although it uses the same underlying library).
On a side-note; just make sure that including the body of the request doesn't push the payload to Bugsnag over the 1MB limit, as the report would otherwise be rejected.

Hi @xander-jones, that method is used with handled exceptions. In my case, I am trying to support an unhandled exception.

Hi @nkavian,
Perhaps I'm misunderstanding your use case, but presumably you are only interested in the post body when the request fails? If so you could try/catch the request at that point it is made from the controller and then notify similar to what Xander suggested above.
If this is not the case it may be worth explaining a little more about your code structure and existing error handling to help us understand why you would expect these to be unhandled exceptions?

@johnkiely1 I'm not sure where the confusion is coming from, so I'll break this down into more details. Pardon me being more verbose.
Let's take this very basic example:
    @PostMapping("{userId}")
    public void updateUser(@PathVariable UUID userId, @RequestBody User user) {
        String fail = null;
        fail.toString();
    }

If fail.toString() is executed, Bugsnag will catch the NullPointerException as an unhandled exception and it will report it. My first question is "Why aren't you capturing the post request body like you do with other SDKs?"
Next, wrapping the body of that method with try/catch defeats the purpose of using Bugsnag to capture unhandled exceptions. No one can be expected to go through all their code to wrap their methods like this:
    @PostMapping("{userId}")
    public void updateUser(@PathVariable UUID userId, @RequestBody User user) {
        try {
            String fail = null;
            fail.toString();
        } catch (Exception e) {
            // do something expensive here to read the request body as bytes
            // do something expensive to convert the bytes into a string: "theRequestBodyContent"
            Bugsnag.addThreadMetaData("Context", "Request Body", theRequestBodyContent);
            bugsnag.notify(exception, Severity.ERROR);
        }
    }

Next, imagine if I could rewrite the above based on a new feature where addThreadMetaData could accept a lambda. imagine the lambda is executed only when a report is triggered. This code also decouples the meta data from the rest of the code.
    @PostMapping("{userId}")
    public void updateUser(@PathVariable UUID userId, @RequestBody User user) {
        Bugsnag.addThreadMetaData("Context", "Request Body", () -> {
            // do something expensive here to read the request body as bytes
            // do something expensive to convert the bytes into a string: "theRequestBodyContent"
            return theRequestBodyContent;
        });

        String fail = null;
        fail.toString();
    }

Next, wrapping the method bodies with try/catch will not capture all exceptions, for example if the JSON post body is malformed or validation on the User object fails.
So 3 problems:
1 - I need the HTTP body captured as part of reports sent to Bugsnag
2 - Generating / capturing the HTTP body is expensive
3 - And, I need number 2 to only happen if number 1 occurs.
So here would be my solution:
First, implement a ContentCachingRequestWrapper as described here so that the HTTP body can be read more than just once.
Second, ideally, use a lambda to attach the HTTP body only when there is an error.
Here's the full example:
    // The same original method I showed above. No changes.
    @PostMapping("{userId}")
    public void updateUser(@PathVariable UUID userId, @RequestBody User user) {
        String fail = null;
        fail.toString();
    }

    @Component
    public class CachingRequestBodyFilter extends GenericFilterBean {

        @Override
        public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain) {
            HttpServletRequest currentRequest = (HttpServletRequest) servletRequest;
            ContentCachingRequestWrapper wrappedRequest = new ContentCachingRequestWrapper(currentRequest);

            // The lambda should only be evaluated if/when a report to Bugsnag is triggerred.
            Bugsnag.addThreadMetaData("Context", "Request Body", () -> {
                // do something expensive here to read the request body as bytes
                // do something expensive to convert the bytes into a string
                return new String(requestWrapper.getContentAsByteArray());
            });

            chain.doFilter(wrappedRequest, servletResponse);
        }

    }

In response to the question around: Could I call bugsnag.notify with a callback.
bugsnag.notify(exception, new Callback() {
    @Override
    public void beforeNotify(Report report) {
		// serialize the request body here..
        report.addToTab("request", "body", serialized_request);
    }
});

I have a few points:

This doesn't solve for unhandled exceptions. This assumes only handled exceptions.
There is coupling happening there. If I have an exception in hand, why would I go out of my way to create a lambda callback, why wouldn't I just call addThreadMetaData in the first place, i.e.:

Bugsnag.addThreadMetaData("Context", "First Name", firstName);
Bugsnag.addThreadMetaData("Context", "Last Name", lastName);
bugsnag.notify(exception, Severity.ERROR);

If that coupling wasn't there, and you removed the exception, and just took a callback to be used with all notifications, that would be the same feature I'm describing above, i.e.:
bugsnag.notify(new Callback() {
    @Override
    public void beforeNotify(Report report) {
        // ** this method called for all exceptions **
        // serialize the request body here..
        report.addToTab("request", "body", serialized_request);
    }
});


open standardised APIs

The SoilWise Repository functionality will be offered via open, standardised APIs (e.g. CSW, OGC REST API – Records, WMS, etc.) and a demonstration on how SWR can be used by other Soil Health Mission projects will be performed (e.g. BENCHMARKS and BonaRes already offered their participation). https://github.com/soilwise-he/Soilwise-userstories/issues/23
Origin: D1.3 Repository architecture

[x] offer SWR functionality via open, standardised APIs: CSW
[x] offer SWR functionality via open, standardised APIs: OGC REST API
[ ] offer SWR functionality via open, standardised APIs: WMS
[ ] show how SWR can be used by other Soil Health Mission projects (e.g. BENCHMARKS and ISLANDER)

With acceptance criteria:

Offer SWR Functionality via Open, Standardised APIs: CSW
User Story: As a user, I want to access the SWR functionality using the CSW (Catalog Service for the Web) API so that I can easily search and retrieve metadata about soil health documents.

[x] API Endpoint Availability: The CSW API endpoint is accessible and returns a successful response for valid requests.

[x] Metadata Retrieval: The CSW API allows users to retrieve metadata about documents, including title, abstract, keywords, and publication date.

[x] Search Functionality: Users can perform search queries using various parameters (e.g., keyword, date range, author) and receive relevant results.

[x] Standard Compliance: The CSW API adheres to the latest OGC CSW specification.

[x] Response Formats: The API supports multiple response formats (e.g., XML, JSON) as specified in the standard.

[x] Error Handling: The API provides meaningful error messages and handles invalid requests gracefully.

Offer SWR Functionality via Open, Standardised APIs: OGC REST API
User Story: As a user, I want to access the SWR functionality using the OGC REST API so that I can interact with the soil health records in a standardised way.

[x] API Endpoint Availability: The OGC REST API endpoint is accessible and returns a successful response for valid requests.

[x] Record Retrieval: The API allows users to retrieve records of soil health documents, including detailed metadata.

[x] Search Functionality: Users can search for records using various parameters (e.g., spatial extent, time range, keywords) and receive relevant results.

[x] Standard Compliance: The OGC REST API adheres to the latest OGC API - Records specification (https://ogcapi.ogc.org/records/).

[x] Response Formats: The API supports responses in JSON format.

[x] Pagination Support: The API supports pagination to handle large sets of search results.

[x] Error Handling: The API provides clear error messages and handles invalid requests appropriately.

Offer SWR Functionality via Open, Standardised APIs: WMS
User Story: As a user, I want to access the SWR functionality using the WMS (Web Map Service) API so that I can visualise soil health data on a map.

[ ] API Endpoint Availability: The WMS API endpoint is accessible and returns a successful response for valid requests.

[ ] Map Layers: The WMS API provides access to various map layers related to soil health data.

[ ] Layer Retrieval: Users can retrieve and display specific layers of soil health data on a map interface.

[ ] Standard Compliance: The WMS API adheres to the latest OGC WMS specification.

[ ] Image Formats: The API supports multiple image formats for map rendering (e.g., PNG, JPEG).

[ ] GetCapabilities: The API supports the GetCapabilities request to provide metadata about available layers.

[ ] GetMap and GetFeatureInfo: The API supports GetMap and GetFeatureInfo requests to retrieve map images and feature information, respectively.

[ ] Error Handling: The API provides meaningful error messages and handles invalid requests appropriately.

Show How SWR Can Be Used by Other Soil Health Mission Projects
User Story: As a project stakeholder, I want to understand how the SWR functionality can be integrated and used by other Soil Health Mission projects (e.g., BENCHMARKS and ISLANDER).

[ ] Integration Documentation: Clear documentation is provided, detailing how to integrate SWR functionality into other projects using the provided APIs (CSW, OGC REST, WMS).

[ ] Use Case Examples: Practical examples and use cases are provided, demonstrating the use of SWR functionality for e.g. BENCHMARKS and ISLANDER projects.

[ ] API Endpoints: Specific API endpoints are highlighted, showing how they can be used to access and retrieve relevant data.

[ ] Technical Support: A support mechanism (e.g., email, forum) is available for projects needing assistance with integration.

[ ] Demonstration: A live or recorded demonstration is available, showcasing the integration process and benefits for Soil Health Mission projects.

[ ] Feedback Loop: A feedback loop is established to gather input from BENCHMARKS and ISLANDER projects to improve the SWR functionality and its integration process.

On Offer SWR Functionality via Open, Standardised APIs: OGC REST API, to my understanding, this only pertains to OGC API - Records, not the other OGC APIs (btw - there is no such thing as OGC REST API, just OGC API) - maybe update this point to indicate working on OGC API - Records
Also, Offer SWR Functionality via Open, Standardised APIs: WMS is also a bit misleading. WMS is still one of the old OGC Web Services (OWS), not yet one of the new OGC APIs. There is an OGC API - Maps, but I'm not sure how well that standard is developed at present.


apply shortcodes and change code fencing style

shortcodes: use note/warning shortcodes
code fencing: change to yaml from shell

I adjusted following keywords for adopting new style.

**Important** => warning
**Definition** => caution
**Exception** => note
**Example** => nothing(keep original)
**Explanation** => nothing(keep original)

If these changes are not suitable, I will fix soon.

check url
original

/assign @mistyhacks

/lgtm
/approve


[BUG] Leading zero in 'in:' array

Hello there
Is it possible that there is a bug in the 'in:' rule?
I have a list with values:  ['in:01,02,03,04,05,06,07,08,09,10']
If the value is 10 it works, but when it's a value with a leading zero it doesn't.
Is there a workaround?
Thanks!

Would you mind submitting some sample code.  Are you wanting the rule to be true (valid) if you test value is 1, 2...9?

Yes sure :) it's a bit complex because the rule is set automatically. It works with other fields and other values. I want it to be true with the exact combination '01'. This is the value of the input field.
rule: ['integer', 'required', 'in:01,02,03,04,05,06,07,08,09,10,11,12']
The field is a select and the value is '01' when it fails. When the value is '10' it works. The value needs a leading zero because its a timestamp.

Hi @katiasmet !
When you specify rules with parameters in a manner "in:a,b,c,d" - validation happens against stringified values 'a', 'b' etc. So you actually compare 1 ( as var a = 01; a // 1) against '01' - so getting fail.
If you want to compare integers you need to rewrite your rule as:
uur: ['integer', 'required', {in: [01,02,03,04,05,06,07,08,09,10,11,12]}]
this example works:
var validator = new Validator({ uur: 01 }, { uur: ['integer', 'required', { in: [01, 02, 03] }] });
validator.passes();
// > true

If this solution is ok for you, please consider closing an issue.

Ok thank you! I will check it asap and let you know if it works.


failure to make sound with   "IPython.display import Audio, display"

Bug: Notebook Editor, Interactive Window, Editor cells
I can't get the sound button working on this widget: the sound button is grey/not clickable
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
from ipywidgets import interactive
from IPython.display import Audio, display
def beat_freq(f1=220.0, f2=224.0):
    max_time = 3
    rate = 8000
    times = np.linspace(0,max_time,rate*max_time)
    signal = np.sin(2*np.pi*f1*times) + np.sin(2*np.pi*f2*times)
    print(f1, f2, abs(f1-f2))
    display(Audio(data=signal, rate=rate))
    try:
         plt.plot(signal); #plt.plot(v.result);
    except:
         pass
    return signal
v = interactive(beat_freq, f1=(200.0,300.0), f2=(200.0,300.0))
display(v)

Steps to cause the bug to occur

run this cell in a jupyter notebook

Actual behavior
sound button is grey / not clickable

Expected behavior
I can launch and hear the sound
Your Jupyter and/or Python environment

Winpython, Jupyter-2.2, vscode-1.44.2

Please provide as much info as you readily know

**Jupyter server running: Local
**Extension version: 2020.4.74986
**VS Code version: 1.44.2
**Setting python.jediEnabled: (the default , don't know what it is)
Python and/or Anaconda version: Python-3.8.2 (Winpython64-<IP_ADDRESS>b2.exe)
OS: Windows | Mac | Linux (distro): Windows 10 1909
**Virtual environment: nothing

remark: all the rest of this works, so it's not bad at all  https://github.com/winpython/winpython_afterdoc/blob/master/docs/Winpython_checker.ipynb
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

I reproduced the lack of functionality in vscode, but works fine in vscodium. What's the difference here?

I reproduced the lack of functionality in vscode, but works fine in vscodium. What's the difference here?

VS code does not ship the codecs for Electron to support audio or video playback. I don't know for sure but I suspect vscodium might.

VS code does not ship the codecs for Electron to support audio or video playback. I don't know for sure but I suspect vscodium might.


[1.16] Ticking entity crash (enchantment applicator)

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE
I tried to pull essence from a creative mekanism tank and got a crash loop. I may have accidentally used mob grinding utils liquid xp but the applicator shouldn't accept it right?
Industrial Foregoing Version:
industrial-foregoing-1.16.5-3.2.11-55cb112.jar
Titanium Version:
titanium-1.16.5-3.2.8.jar
Crashlog If Applicable (Upload to pastebin/gist):
crash-2021-04-09_02.26.27-server.txt

Update titanium


WEBAPP-602: Tooltips hinder navigation

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword WEBAPP.

Tested on Firefox for Mobile on Android


Regarding the closed issue: python3.5 and pip compatibility

Regarding the closed issue and to help you fix the issue, the reason I worked with python3.5 in the first place is because that's the only way I could pip install pybsrnqc. Using newer versions of python and trying to install pybsrnqc would not work.

I use Python 3.10.7 and I have no specific trouble.
Can you send me your log trace when you run the command pip install pybsrnqc with newer python version ?
Also how do you plan to use the package ?


Removed ExpressRoute content

@telmosampaio,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/hybrid-networking/images/hub-spoke.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/hybrid-networking/hub-spoke.md
:white_check_mark:Succeeded
View

docs/reference-architectures/hybrid-networking/images/hub-spoke.png
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


"Found device", then no output

Hello,
when i start the binary, the only output i get is "Found device", then nothing happens.
Any idea why it doesn't work?
Thanks!
Best regards,
Kevin

Just now an output happend:
# ./co2monitor /dev/hidraw0 Found device CO2(37407) CO2(37407) Failed to send measurement to Influx CO2(37404)

Quiet possible - my device is a few years older, so maybe something changed.
How long did you have to wait for the output? The decrypted packages have a checksum and the implementation discards readings where the checksum didn't match. So maybe these readings are falty, but still happened to have a valid checksum by pure luck?

The first output appeared instantly ("Found device"), the output with values appeared after around 30 seconds.
My device came without a manual, maybe it was used and / or is somehow faulty.
If i find something out, i will report back.

Henryk Plötz used the ZG application for windows in his blog. The software he linked (v1.0.0) doesn't work with my device, but the latest version <IP_ADDRESS> does work. So they must have changed something.

Similar for me - bought an TFA CO2Monitor 2021-11, plugged it in, installed hidapi via brew first, compiled the binary on my M1 Apple Silicon, executed the binary target/release/co2monitor under macOS 11.6.1, and got:
Found device
CO2(53786)
CO2(53786)
Failed to send measurement to Influx
CO2(53786)
CO2(53786)
Failed to send measurement to Influx

The hardware info returned by sysinfo on the Mac is:
Product ID: 0xa052
Vendor ID: 0x04d9
Version: 2.00
Vendor: Holtek

Sorry to hear that :-( If I find some time I might decompile the latest windows binaries and try to figure out what's going on. I don't own a newer device, so this issue is hard to track down...

No reason to be worried, you provided it kindly, it’s open source.
Any way I can help debugging this? Unexperienced with USB debugging but I have basic tech skills and with sufficient thrust I can do some gdb …

Contacted you via email.

Interesting... the captured data looks very familiar.

The initialisation seems identical.
The device seems to send the same amount of data in the same intervals
I think even the decryption and checksum stuff is the same

So I guess they only changed the sensor/controller and it is sending data that we can't decode.
Could you try to look inside which sensor they use in later models? My version could easily be opened by taking the back cover off. Inside is a ZGM053U sensor with a RAD-AP05B-QL111 Controller

Please find images attached: ZGM053U & sensor/PCB overview

The newer units report different values for iSerial and bcdDevice ...

working unit (manufactured 11/18): lsusb-working.txt
non-working unit (manufactured 11/21): lsusb-non-working.txt

There's no change in the data format but it turned out that the newer units do not longer "encrypt" the data.
Just skip the decryption part and and have fun with the new sensor ...
diff --git a/src/zytemp.rs b/src/zytemp.rs
index 8d9ed2f..ba7111d 100644
--- a/src/zytemp.rs
+++ b/src/zytemp.rs
@@ -35,7 +35,7 @@ pub fn initialize<'a>(api: &'a hidapi::HidApi) -> hidapi::HidDevice<'a> {
 pub fn read_data(device: &mut hidapi::HidDevice) -> Reading {
     let mut data = [0u8; 8];
     device.read(&mut data).ok();
-    let decrypted = decrypt(data);
+    let decrypted = data;
     validate_checksum(&decrypted).ok();

     match decode(decrypted) {

@mnhauke, just tried your changes and they work with my device. Thank you!

Ah, great catch - I'll try to come up with a version that conditionally decrypts depending on the usb meta data


V2 visual improvements in Contract detail page

I have added a initial version for:

#39
#41
#42

We can iterate in the future over this initial approach, and ask for help to Andrea if we can't find a initial solution that we are happy with.
For #40 I think we could let it be like that until we iterate with a custom solution from Andrea. What do you think?

Tysm @Pabl0cks really nice improvements and agree with all !!! Also love the "Contract Overview" and "Contract Data" naming, just added a couple of nitpicky comments.
Was just having a word with Carlos and I was planning to create a PR but you already did !! thanks again 🙌
2 small changes that we disucssed :

(a) Increase the width of the middle section such most of the address is visible. (b) decrease the a bit of spacing between three containers

Thanks for the awesome review @technophile-04 !! 🔥♥

Make this loader a bit in middle of the page

Centered it horizontally like in v1 🙌. If you think is better to center it also vertically let me know. I tend to look at top part of screen first.

(a) Increase the width of the middle section such most of the address is visible. (b) decrease the a bit of spacing between three containers

Let me know how it feels after last changes, if spacing is too small now I can give it a bit more. Can also try to make bigger the size correlation between middle and right sections, if we feel right section is still too big.
THANKS again! 🙌


updated incorrect description as referenced in issue #10008

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks for your contribution @wisch628 🙌 Please let me know if you’d like some help to contribute further.


Option menu Null Object Reference

Describe your bug here.
I download your mod then when i enter option menu It's crash
Command Prompt/Terminal logs (if existing)
-

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no I didn't edit anything just download game then run

I think Hiro doesn't work on this Project anymore because this Project is for Computing Science subject & completed, that's mean any bugs in this Project won't fixed.


add sub folder prefix support

for example, example.com/abcd/def/
this can hide gdindex in a normal website

Don't ship multiple feature in one PR.

i modify some timeline, now just support subdir prefix


Fixed psycopg version parsing

Psycopg uses PEP 440 (https://www.python.org/dev/peps/pep-0440/) to
represent version numbers. The current algorithm doesn't parse correctly
version '2.7b2' (see https://github.com/psycopg/psycopg2/issues/510).

It looks like duplication of efforts in #8068.


self (or global) may be null and self.self will throw a exception

var root = (typeof self == 'object' && self.self === self && self) ||             (typeof global == 'object' && global.global === global && global);
so is it typeof self == 'object' && self && self.self === self right?

Under what circumstances would this occur?

when someone define a self = null before, hehe, maybe i think it too more.


Get all fixed IPs for a port

It turns out #538 was not a one-off. In addition to security group information potentially being out of date on a port during a port update, the IP address information for that port could be out of date as well. This change fixes that problem, by querying the IPAllocation table.
I've done some quick live test on Icehouse and nothing appears to explode, but we need to test this more widely.

Alright, with live test I believe this works. Throwing it over the fence to @neiljerram for code review.

Just the one possible markup, otherwise LGTM


Sanity check Travis file and if it is running correctly.

PR: https://github.com/apparatus/fuge/pull/119
It seems that Travis starts very late but after a while it starts ....
The Travis file is ok.


Can not instantiate proxy of class: System.Web.Mvc.Async.AsyncControllerActionInvoker

I have installed the following Glimpse packages,
Glimpse.Core, Glimpse.Aspnet, Glimpse.MVC5.
When enabling glimpse on my application which is of MVC front end and WebAPI integration, On a subsequent MVC request to IIS, I am getting an error "Can not instantiate proxy of class: System.Web.Mvc.Async.AsyncControllerActionInvoker. Could not find a parameterless constructor.". After disabling Glimpse my application works fine.
I have tried uninstalling the packages and reinstalling them again, reinstall it with lower version of glimpse and tried few config changes, but nothing as helped me to resolve the issue. One clue that i can make is the MVC project is using MVC5. Require urgent help to work this issue around to get the glimpse running.
The stack trace is as below.
Castle.DynamicProxy.InvalidProxyConstructorArgumentsExceptionCan not instantiate proxy of class: System.Web.Mvc.Async.AsyncControllerActionInvoker.
Could not find a parameterless constructor.Glimpse.Core   at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyInstance(Type proxyType, List1 proxyArguments, Type classToProxy, Object[] constructorArguments)    at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyWithTarget(Type classToProxy, Type[] additionalInterfacesToProxy, Object target, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)    at Castle.DynamicProxy.ProxyGenerator.CreateClassProxyWithTarget(Type classToProxy, Object target, ProxyGenerationOptions options, Object[] constructorArguments, IInterceptor[] interceptors)    at Glimpse.Core.Framework.CastleDynamicProxyFactory.WrapClass[T](T instance, IEnumerable1 methodImplementations, IEnumerable1 mixins, IEnumerable1 constructorArguments)
at Glimpse.Core.Framework.CastleDynamicProxyFactory.WrapClass[T](T instance, IEnumerable1 methodImplementations, IEnumerable1 mixins)
at Glimpse.Mvc.AlternateType.AsyncActionInvoker.TryCreate(IAsyncActionInvoker originalObj, IAsyncActionInvoker& newObj, IEnumerable1 mixins, Object[] constructorArgs)    at Glimpse.Core.Extensibility.AlternateType1.TryCreate(T originalObj, T& newObj)
at Glimpse.Mvc.AlternateType.ControllerFactory.CreateController.ProxyActionInvoker(IController iController)
at Glimpse.Mvc.AlternateType.ControllerFactory.CreateController.PostImplementation(IAlternateMethodContext context, TimerResult timerResult)
at Glimpse.Core.Extensibility.AlternateMethod.NewImplementation(IAlternateMethodContext context)
at Glimpse.Core.Extensibility.AlternateTypeToCastleInterceptorAdapter.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.IControllerFactoryProxy_1.CreateController(RequestContext requestContext, String controllerName)
at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

I am having the same problem.  Did you happen to find a resolution to the issue?

Currently we don't support WebAPI, looking to do more in the future though.


[BD-6]Run make upgrade in order to update the packages to be compatible wit…

…h python3.8
Running this with python3.8 is failing with this error:
code = compile(module, "<werkzeug routing>", "exec")

TypeError: required field "type_ignores" missing from Module
After the upgrade of the packages, the debug server starts as expected
Reviewers

[ ] @awais786
[ ] @ericfab179

Thanks for the pull request, @morenol! I've created OSPR-4780 to keep track of it in JIRA, where we prioritize reviews.  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

@morenol 🎉 Your pull request was merged!
Please take a moment to answer a two question survey so we can improve your experience in the future.


requiring Sendable from Baggage is source breaking

This commit required that types confirming to BaggageKey are now Sendable on Swift 5.5+.
That change obviously makes sense but unfortunately, it's source breaking...
That's fine by SemVer (because this package is version 0.x) but probably still an issue.

Thanks for opening the issue, @weissi! 👍 I hit this breaking change in "OpenTelemetry Swift", but am updating now to account for Sendable.

That's fine by SemVer (because this package is version 0.x) but probably still an issue.

Agreed, I think it's okay to break while were in the pre-SemVer stage to move more quickly.

Agreed, I think it's okay to break while were in the pre-SemVer stage to move more quickly.

Sure, it's okay by the rules but breakage between 0.2.1 and 0.2.2 is still not acceptable I think. Usually, people depend on 0.x packages with upToNextMinor because breaking API usually goes into a new minor version. So I think what should happen is:

release a 0.2.3 which reverts this change
release a 0.3.0 which brings back the breaking change

release a 0.2.3 which reverts this change
release a 0.3.0 which brings back the breaking change

Ah, I thought it was a minor bump. In that case, I agree with your plan to move the change to a 0.3.0. @ktoso Since you originally made the release, are you okay these steps?

No reason to panic. We don't need to release a revert. Let's calmly think this through first

Heh ok I read the reasoning now, ok sure we can do that. Tho that's strictly stronger guarantees than semver ever does 😉
happy with the proposed plan. I will think more how this would have had to be handled in a stable package so we can document it

Doing the reverts now and I'll talk with concurrency folks how such change could be possible if a module were stable -- I guess this honestly means that users would use it with "@preconcurrency" and by itself is not a breaking change then :thinking:

tagged 0.2.3 - back to basics, no Sendable
tagged 0.3.0 with Sendable - https://github.com/apple/swift-distributed-tracing-baggage/releases/tag/0.3.0

Tho to be honest the actual solution is @preconcurrency import but that didn't land yet (well it did, but not in a release), so we need this dance for now.
Hope that works @weissi

tagged 0.2.3 - back to basics, no Sendable
tagged 0.3.0 with Sendable - https://github.com/apple/swift-distributed-tracing-baggage/releases/tag/0.3.0

Tho to be honest the actual solution is @preconcurrency import but that didn't land yet (well it did, but not in a release), so we need this dance for now.

If users have to do anything, then it’s a breaking change.
This needs to fixed another way. Users compiling with -swift-version 5 (Usually automatically derived from // swift-tools-version: <5.5) obviously shouldn’t get a new requirement because they clearly predate Concurrency.
Not sure how that’s best expressed in the source language that this should only be Sendable if the client is using a Swift language version that’s new enough.


Beginner here, how to load the model from checkpoint

Hi, I am relatively new to this. Currently, I am trying to fine tune llava-v1.6-mistral-7b on a sample dataset. I have a beginner level question:
How do I load the model from the checkpoint for evaluation? Are the weights model weights on adapter_model.safetensors? I am struggling to load the checkpoint to evaluate on a test set

@HoqueMahmudul We only support huggingface format to load model weights. I am not sure what is your checkpoint's format, you can figure out how to convert it to huggingface format.