buzz doesn't stop on Mac

Hi,
I got Buzz Captions in Apple Store, and downloaded the large Whisper file. If I want to end Buzz, it doesn't react. I need to close down my Mac the hard way.
Cheers

Please try the latest open source version, it has many bug fixes https://github.com/chidiwilliams/buzz/releases


Fix python compiler generated all_structs with type_hints

Currently with type_hints enabled, we do not explicitly declare the type of generated all_structs. It's meant to be a list of different types, but that will cause problems, as the generated code is usually like this:
all_structs = []
...
all_structs.append(Type1)
...
all_structs.append(Type2)
...

The first append infers the type of all_struct to be list[Type1], so mypy would start complaining from the 2nd append as the type is unexpected.
Explicitly declare all_struct to be list[typing.Any] instead, which fixes the issue.

NOTE: this fixes a new feature added to the 0.21.0 release, so it should ideally be part of the 0.21.0 release.

Thank You! One can skip type checking the import or get around this with implicit Any but its much nicer to have this declared :)

Working on adding more to this.


params question

We need to return a list of heterogeneous params and pass them to another method that will build the prepared statement and execute it. It seems the only want to do this is with the params![] macro since we have binary (blob), integer, and text types. We are having trouble getting the references to work right.
Our params have a fixed length for each query known in advance, so we could code gen them using a build script. But of course we will not know the values in advance at code gen time, just the number and types.
We have an enum type with all of our values, so we can store the params in a Vec, and access like this:
fn to_sqlite_param_list(&self) -> Result<&[&dyn ToSql], Box<dyn Error>> {
        Ok((params![RValue::BigInt(57u64).as_bigint()?]))
    }

That example is made up as a literal is passed in, but it's basically the same as what we want to do (but with many params). We'd really like to use our Vec like this:
Ok([params![my_vec[0].as_bigint()?])
Can you provide an example of how this should work? Both of the above examples complain about the temp value being dropped.
The as_big_int() signature looks like this from the enum method:
pub fn as_bigint(self) -> Result<u64, Box<dyn Error>> {
        match self {
            RValue::BigInt(v) => Ok(v),
            _ => {
                return Err(ValueCodecError::new(&format!("Expected BigInt variant.")))?;
            }
        }
    }

We have other methods for Strings too.
Any help appreciated.

Maybe just use https://docs.rs/rusqlite/latest/rusqlite/struct.Statement.html#method.raw_bind_parameter ?

I think https://docs.rs/rusqlite/latest/rusqlite/fn.params_from_iter.html should also be usable in these cases.


mssql-server-agent install error

Running the mssql-agent-fts-ha-tools/Dockerfile get this error:
Step 4/7 : RUN apt-get install -y mssql-server-agent
 ---> Running in 5ca4f0537d17
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mssql-server-agent : Depends: mssql-server (>= 14.0.405.163-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install -y mssql-server-agent' returned a non-zero code: 100

The agent is now included in the mssql-server package so there is no need to install it as a separate step.  I've commented it out of the Dockerfile for now.

Awesome! Great response time! Thx, Ivan

If it's already included then how to enable it? I can't seem to be able to enable it from SSMS

You can enable the Agent using this env var:
MSSQL_AGENT_ENABLED=true
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-environment-variables?view=sql-server-2017#environment-variables

OK cool!  I'm going to close this out.

Hello, in my case I already use the variable but the menu continues to appear as we showed in the image above.

If it's already included then how to enable it? I can't seem to be able to enable it from SSMS

docker compose
version: "3.7" services:   sqlserver:     image: sql-server     build: ./Sqlserver     container_name: sql-server     hostname: Sqlserver     ports:     - "1433:1433"     tty: true     environment:     - 'ACCEPT_EULA=Y'     - 'SA_PASSWORD=1234'     - 'MSSQL_AGENT_ENABLED=true'     - 'MSSQL_PID=Enterprise'


Add OSC input to request avatar config reload

What's the idea?*
Provide a well-defined OSC endpoint that requests that VRChat reload (and/or regenerate) the avatar OSC configuration.
Is there another way?
The user could change avatars and back, but this is inconvenient.
Additional context
This allows external tools to automatically reconfigure the OSC configuration as needed without unnecessary user intervention. It might be particularly useful in combination with #2.

Might roll up well with #5 and #11 as well


Add option to contract config to reduce size of contracts

Adds minimalContractSize option in contract config to reduce the size of the files.
Fixes https://github.com/embark-framework/embark/issues/1712
Name of the option can change

Really good points @PascalPrecht .
I agree that being able to customize the output would be even better, but I'd suggest we push this feature out and improve it if we get requests to have customization.
Rationale: I hate doing features that no one uses

I agree with Pascal here. Just because one user wants a particular feature, doesn't mean that we have to deliver exactly how they want it. We should think through the request, and offer what more (future) users would use. If we just implemented features exactly how users wanted, we will not have a "clean" product.

@PascalPrecht and @emizzle Just added the possibility to customize the filtered fields. Tell me what you think.


Code quality improvements

I manage to upgrade code quality in confidence of StandardJS and Prettier requirements
So, I fix, in first, these formatting issues :

JS-R1004
JS-D007
JS-0372
JS-0271

Add fix for

JS-0295
JS-0296
JS-0400
JS-0331

@shadcn what do you think about this PR ?

@martinez-hugo Some of the changes I believe conflicts with the original prettier config? I've also not used deepsource before. What does it do?

Normally Deepsource allow to integrate with Prettier, there also a Transformer available to be compatible with Prettier.
Deepsource have 4 main functionality :

Static Code Analysis -> Analyze every pull-request to find and fix code quality issues before you merge to master. No CI setup required.
Static Application Security Testing -> Prevent hundreds of known security vulnerabilities in your code and stay compliant with industry standards.
Code Coverage -> Measure code coverage metrics and discover lines with missing tests on every pull request. Works with all CI systems.
Infrastructure-as-Code Analysis -> Prevent misconfigurations and security vulnerabilities in your infrastructure configuration before deploying to production

Do you want that I implement Deepsource on repo ?


Typo in authentication screen: "Sign Ip" should be "Sign In"

There’s a small typo on the authentication screen where "Sign Ip" is displayed instead of "Sign In".  This happens when the user is prompted to log in.
Expected Behavior:
The text should say "Sign In to start your anonymous adventure."
Please assign this issue to me, and I would be happy to work on fixing it.
Screenshot:

@rashmibarodiya go for it.


i2s in camera mode + DMA skips samples even at relatively low clock speed (IDFGH-2582)

Environment

Development Kit:      WEMOS-LOLIN32
Kit version: v1.0.0
Core (if using chip or module): ESP-WROOM32
IDF version: v3.1-dev-661-gf586f5e6
Development Env:		Arduino IDE
Operating System:		Windows
Power Supply:         USB

Problem Description
i2s in parallel camera mode with DMA skips(looses) some samples.
i2s is configured in parallel camera mode with DMA and gets WS signal with clock speed 20 MHz. Sampling is continuous with data stored in a circular buffer, the digital signal generator provides 3-bit continuously increasing signal (pattern 0, 1, 2, 3, 4, 5, 6, 7, 0, 1, 2....). Data accumulated in the DMA buffer looks like 0,2,2,3,3,5,5,7,7,0... Looks like every second

i2s sample is repeated twice in the data buffer. According to the documentation i2s should work with clock up to 40MHz.
Expected Behavior
WS signal with clock speed up to 40 MHz should result in proper capturing of all data from the parallel bus input. Data accumulated in the DMA buffer should contain all samples without skipped samples (according to the documentation i2s should work with clock up to 40MHz).
Actual Behavior
Even at WS clock speed 20MHz not all samples from the parallel input bus are captured and collected in RAM buffer, every second sample is the same as previous instead of real data.
Steps to reproduce

flash Arduino scetch from attachment.
attach digitag 3-bit wide parallel signal that changes with 20MHz speed to pins 18,23,19. Connect 20MHz clock to pin 15.
run the firmware and check output in serial port (115200 8N1). Data in printed buffer should be an exact decimal representation of the sequence provided to the parallel input bus of the i2s, but in my tests it indicates skipped/lost samples.

Code to reproduce this issue
#include "soc/soc.h"
#include "soc/gpio_sig_map.h"
#include "soc/i2s_reg.h"
#include "soc/i2s_struct.h"
#include "soc/io_mux_reg.h"
#include "driver/gpio.h"
#include "driver/periph_ctrl.h"
#include "driver/i2s.h"
#include "rom/lldesc.h"

DMA_ATTR uint32_t dma_buff[2][100];
DMA_ATTR lldesc_t dma_descriptor[2];

void setup() {
    Serial.begin(115200);
    Serial.println(ESP.getSdkVersion());

    //buff 0
    dma_descriptor[0].length = 0; //number of byte written to the buffer
    dma_descriptor[0].size = sizeof(dma_buff[0]); //max size of the buffer in bytes
    dma_descriptor[0].owner = 1;
    dma_descriptor[0].sosf = 1;
    dma_descriptor[0].buf = (uint8_t*)&dma_buff[0][0];
    dma_descriptor[0].offset = 0;
    dma_descriptor[0].empty = 0;
    dma_descriptor[0].eof = 0;
    //pointer to the next descriptor
    dma_descriptor[0].qe.stqe_next = &dma_descriptor[1];

    //buff 1
    dma_descriptor[1].length = 0; //number of byte written to the buffer
    dma_descriptor[1].size = sizeof(dma_buff[1]); //max size of the buffer in bytes
    dma_descriptor[1].owner = 1;
    dma_descriptor[1].sosf = 1;
    dma_descriptor[1].buf = (uint8_t*)&dma_buff[1][0];
    dma_descriptor[1].offset = 0;
    dma_descriptor[1].empty = 0;
    dma_descriptor[1].eof = 0;
    //pointer to the next descriptor
    dma_descriptor[1].qe.stqe_next = &dma_descriptor[0];

    //data inputs
    pinMode(18, INPUT);
    gpio_matrix_in(18,    I2S0I_DATA_IN0_IDX, false);
    pinMode(23, INPUT);
    gpio_matrix_in(23,    I2S0I_DATA_IN1_IDX, false);
    pinMode(19, INPUT);
    gpio_matrix_in(19,    I2S0I_DATA_IN2_IDX, false);
    //for i2s in parallel camera input mode data is receiver only when V_SYNC = H_SYNC = H_ENABLE = 1. We don't use these inputs so simply set them High
    gpio_matrix_in(0x38, I2S0I_V_SYNC_IDX, false);
    gpio_matrix_in(0x38, I2S0I_H_SYNC_IDX, false);  //0x30 sends 0, 0x38 sends 1
    gpio_matrix_in(0x38, I2S0I_H_ENABLE_IDX, false);

    pinMode(15, INPUT);
    gpio_matrix_in(15/*XCLK*/, I2S0I_WS_IN_IDX, false);

    // Enable and configure I2S peripheral
    periph_module_enable(PERIPH_I2S0_MODULE);

    // Enable slave mode (sampling clock is external)
    I2S0.conf.rx_slave_mod = 1;
    // Enable parallel mode
    I2S0.conf2.lcd_en = 1;

    // Use HSYNC/VSYNC/HREF to control sampling
    I2S0.conf2.camera_en = 1;

    // Configure clock divider
    I2S0.clkm_conf.clkm_div_a = 1;
    I2S0.clkm_conf.clkm_div_b = 0;
    I2S0.clkm_conf.clkm_div_num = 2;
    I2S0.sample_rate_conf.rx_bck_div_num = 2; //i2s clk is divided before reaches BCK output

    // FIFO will sink data to DMA
    I2S0.fifo_conf.dscr_en = 1;
    I2S0.fifo_conf.tx_fifo_mod_force_en = 1;
    I2S0.fifo_conf.rx_fifo_mod_force_en = 1;
    // FIFO configuration
    //two bytes per dword packing
    I2S0.fifo_conf.rx_fifo_mod = 1;
    I2S0.conf_chan.rx_chan_mod = 1;
    // Clear flags which are used in I2S serial mode
    I2S0.sample_rate_conf.rx_bits_mod = 0;
    I2S0.conf.rx_right_first = 0;
    I2S0.conf.rx_msb_right = 0;
    I2S0.conf.rx_msb_shift = 0;
    I2S0.conf.rx_mono = 0;
    I2S0.conf.rx_short_sync = 0;
    I2S0.timing.val = 0;

    //start i2s
    I2S0.rx_eof_num = 0xFFFFFFFF;
    I2S0.in_link.addr = (uint32_t)&dma_descriptor[0];
    I2S0.in_link.start = 1;
    I2S0.int_clr.val = I2S0.int_raw.val;
    I2S0.int_ena.val = 0;

    //start i2s + dma
    I2S0.conf.rx_start = 1;

    delay(10000);

    //stop i2s + dma
    I2S0.conf.rx_start = 0;

    for(uint8_t i = 0; i<sizeof(dma_buff[0])/2; i++) {
      Serial.println(*(((uint16_t *)&dma_buff[0][0]) + i));
      Serial.print(' ');
      delay(10);
    }
}

void loop() {
  // put your main code here, to run repeatedly:

}
```cpp

## Other items :
The attached picture shows an irregular graph instead of an expected even ramp signal.

@easyvolts IIRC  rx_fifo_mod needs to be set to zero at 20MHz frequency. There will be two samples per 32 bit word, 2nd sample of each word is the same as 1st sample of the next one (so you would get 00000001, 00010002, 00020003, 00030004 words in the buffer). Frequencies above 20MHz do not work in I2S mode.
Also, FYI, I am going to close this since this is not an esp-idf issue. Please use esp32.com forum or technical support section of espressif.com if you need help troubleshooting this further. Thanks.

@igrr could you give a pointer to the solution of this issue?


Add a Windows build, move to Ninja generator

Using ninja purely because the llvm package also uses ninja and it works with MSVC on Windows, might as well use it on Linux/macOS too.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)

hi @galexite , thanks for working on that.

Using ninja purely because I normally use ninja everywhere ...

this is not a really valid argument to change from make to ninja ... but I am totally fine to move to ninja .. and I have no objections about that.
about the error on windows ... maybe you will need to add zlib in the host section in the meta.yaml ... as the other ones works fine .. just add zlib as dep for windows

Of course! What I meant to say was I have used it on all three platforms successfully. I haven't used make with MSVC.


Make unit tests compatible with Python 3.11

Some of the unit tests fail when run with Python 3.11.  For example, the assertRegex here
https://github.com/openelections/openelections-data-tests/blob/e58e494bdf03638b776674efc00eb12aedacb8fc/tests/test_data_tests.py#L243
passes in 3.10 but fails in 3.11.  We should investigate what is causing this failure and update the tests accordingly.

I will close this once pull request #26 has been merged.


🧱 Create a MTurk helper library

As an experiment manager, I want a tool that helps me to launch HITs and pay participants so that I minimize mistakes and ensure a consistent and helpful recruiting process for participants.
This tool will be an independent node package that can be imported into other projects. It will comprise a set of routines that tools such as empirica can call on to set up and pay MTurk HITs.
Basic tasks such as creating HITs, paying workers, etc. will be wrapped to simplify credentials, sync/async issues, error handling, depagination, rate limiting and request batching. (https://github.com/Watts-Lab/mturk-helper/issues/5)
Some higher-level tasks will provide abstrations on top of those basic tasks. For example, a function that takes HIT launch sequences specified in a manifest file that also serves as documentation for our recruitment process.
Requirements

[ ] should be able to take a manifest file and release HITs according to that manifest.

function like:
launchHITSequence({manifestFileName, sequenceName, launchDate, excludeBy, ...rest})

other arguments passed overwrite options from the manifest file at the sequence level.

[ ] should have a periodic watchdog that queries to make sure that the HITs that are released match what should be released according to the manifest
[ ] should provide a function that lets us check the status of HITs (number of assignments accepted, completed, etc)
[ ] needs to make sure that during a "sequence" of HITs, workers can only sign up for one of the hits in the sequences.
[ ] should be able to submit payment and bonuses to workers
[ ] should be able to fill in some string template items such as${launchDate}

Toolsuite

GH repo here: https://github.com/Watts-Lab/mturk-helper
As this is a place where robust code is important, we'll use typescript.
We don't have a front end, so instead of using cypress for e2e testing, we'll use Jest for unit tests.
(CIS 350 uses Jest, so this is probably as good a reason as any to use that particular framework).
We want to be able to share the package on npmjs, so we'll use rollup to build the package. (Mostly because of existing familiarity in the team)

Resources
https://www.thisdot.co/blog/how-to-setup-a-typescript-project-using-rollup-js

Hey @JamesPHoughton another helpful feature here could be a tag system of some sort, especially a system that facilitates cost accounting. I could imagine project or researcher tag would be the most important, and would even suggest that those are required as part of the payment.
I think this sort of functionality would require the project/researcher to be mapped to the HIT ID outside MTurk as there is no way to save custom info in MTurk as far as I know. So I imagine one approach would be to have these fields be part of the manifest file?


Error during flutter doctor --verbose

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on elementary OS 6.1 Jólnir 5.11.0-43-generic, locale en_US.UTF-8)
• Flutter version 2.8.1 at /home/adalbertojr/Programas/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (3 weeks ago), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /home/adalbertojr/Android/Sdk
• Platform android-32, build-tools 32.0.0
• Java binary at: /home/adalbertojr/Programas/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 4.2)
• Android Studio at /home/adalbertojr/Programas/android-studio
• Flutter plugin version 61.2.1
• Dart plugin version 202.8531
• Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ FormatException: Unexpected extension byte (at offset 5)
• #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
#1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
#2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
#3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
#4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
#5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
#6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
#7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
#8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
#9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
#10     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:111:32)
#11     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:109:18)
#12     _rootRun (dart:async/zone.dart:1428:13)
#13     _CustomZone.run (dart:async/zone.dart:1328:19)
#14     _runZoned (dart:async/zone.dart:1863:10)
#15     runZonedGuarded (dart:async/zone.dart:1851:12)
#16     runZoned (dart:async/zone.dart:1782:12)
#17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:197:9)
#19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:301:47)
#20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:53:47)
#21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1290:12)

#22     FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1140:27)

#23     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#25     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)

#26     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#28     run.. (package:flutter_tools/runner.dart:62:9)

#29     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#30     main (package:flutter_tools/executable.dart:94:3)

[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
! Doctor found issues in 1 category.

Duplicate of #94060


Add support for a locale to specify multiple layouts

It should be possible to select English as keyboard locale, then AZERTY as the layout.
This would make it possible to support DVORAK as referred to in #457 .

8.1 will focus on locales and autocomplete, so I move this to 8.2.

KeyboardKit 8.9 makes this easier to handle, so I will close this for now.


Move repository visibility to danger zone in the settings area

Moved repository visibility to the danger zone in the settings area. To change the visibility, it is necessary to go to the danger zone, click on the private/public button, and accept the change in the modal.
Resolves:  #23826

Screenshots

Before
Private repo:

Public repo:

After
Make private:

Make private modal

Make public:

Make public modal

The warning should have more details. Make a repository private may remove the relation between it and forks, watchers and stars.

I would like to the backend code should be changed. There should be two new functions at service layer named MakeRepoPublic and MakeRepoPrivate.

Sure, but isn't it better just one function named ChangeVisibility? Since it will make almost the same action.

Sure, but isn't it better just one function named ChangeVisibility? Since it will make almost the same action.

They are opposite actions, not the same. I don't think they will share much code.

They are opposite actions, not the same. I don't think they will share much code.

Yeah, you're right, I've expressed myself badly.

I would like the backend code should also be changed. There should be two new functions at service layer named MakeRepoPublic and MakeRepoPrivate.

Both using the UpdateRepository from modules or in the same way create a function for each?


CollectionView .onOffsetChange called again after data is fetched for infinite scrolling

Initially, I used this condition for fetching more data:
.onOffsetChange { offsetChange in     if offsetChange.value(from: .bottomTrailing).y >= 0 && !model.isLoading {         model.fetch() }
but model.fetch() was being called once when the bottom of CollectionView was reached and again immediately after the data was loaded. So, I had to create a @State variable called toggle:
.onOffsetChange { offsetChange in     if offsetChange.value(from: .bottomTrailing).y >= 0 && !model.isLoading && toggle {         toggle = false         model.fetch(true)     } else if offsetChange.value(from: .bottomTrailing).y < 0 {         toggle = true     } }
I think this is related to the other issue I submitted regarding losing inertia after more data is loaded.

This is expected behavior, closing as it isn't a bug.


DoS protection of Store servers

Protect a server from clients that issue too many requests.
There are two scenarios: the PoC protocol, and the fully-fledged protocol.
In PoC, the initial request already contains a proof-of-payment (price is not negotiated). Hence, requests are not free for the client. Therefore, a simple IP-based rate limiting might be sufficient: the server would temporarily block a client who sends too many requests with incorrect proof-of-payment.
In a fully-fledged protocol, price negotiation is separate from payment. A malicious client may overwhelm the server with price negotiation requests, and not proceed with the payment. As such requests are essentially free, it may be necessary to generalize a reputation system to servers ranking clients. IP-based rate limiting would work as the first line of defense, but it may not be sufficient if an attacker rotates IP addresses.
Note: with rate limiting either by IP or by reputation score, the server would need to link requests coming from one client, threatening its privacy.

Note that it may be possible to leverage RLN Relay here for this problem where the initial communication is done over Waku (meta content topic per shard?) and hence rate limit functionality from RLN can be used to limit customer to do too many queries.
This could be similar to the RAILGUN protocol.
In RAILGUN, "relayer" sell a service: doing a defi transaction on chain, in exchange for a price.
The RAILGUN protocol is as follows and takes place over Waku
sequenceDiagram
    actor Alice (Relayer)
    actor Bob (Relayer)
    actor Carole (Wallet)
    Alice (Relayer)->>Waku Network: 15DAI or 14USDC + pubkey
    Waku Network-->>Carole (Wallet): Alice's price is 15DAI or 14USDC + pubkey
    Bob (Relayer)->>Waku Network: 16USDC or 15DAI + pubkey
    Waku Network-->>Carole (Wallet): Bob's price is 16USDC or 15DAI + pubkey
	Carole (Wallet)-->>Carole (Wallet): Only holds USDC
    Carole (Wallet)-->>Carole (Wallet): Selects Alice
	Carole (Wallet)->>Waku Network: Payment + transaction to forward (encrypted with Alice's pubkey)
    Waku Network-->>Alice (Relayer): Take payment, proceed with onchain transaction

Possible difference:

store node broadcast multiaddr instead of pub key
last part of the protocol is not done over Waku Relay but via direct connection

Do note here it's not a negotiation.
In our case, part of the negotiation could happen over Waku Relay and then be finalized as a direct connection when DoS risks are mitigated.


React and comment on a game in recent games

Form will ask you to select who you are (can't wait for abuse) and then leave a comment
Can also "react" to a game too with an emoji

Might work on this one if we like the idea despite anonymity

Actually I'll work on
https://github.com/jamesgiu/quick-hit/issues/94 first

This is so much better if you select who you are lol, can't wait for the memeing


zcfan: init at 1.2.1

Description of changes
closes https://github.com/NixOS/nixpkgs/issues/251935
https://github.com/cdown/zcfan
A zero-configuration fan daemon for ThinkPads.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 253579 run on x86_64-linux 1

1 package built:

zcfan

Result of nixpkgs-review pr 253579 run on x86_64-linux 1

1 package built:

zcfan

Also rebase your commits to just one "zcfan: init at 1.2.1"

squashed into https://github.com/NixOS/nixpkgs/pull/253579/commits/7b4c49c75887cb27b63226d94dfb834baceb4f8a


Allow configuring maximum outstanding checkpoint request for reader

Problem description
Pravega reader group has the configuration maxOutstandingCheckpointRequest that allows the reader group implementation to limit maximum outstanding checkpoint request at any given time. The configuration needs to be exposed in FlinkPravegaReader.
Problem location
FlinkPravega reader builder
Suggestions for an improvement

closed https://github.com/pravega/flink-connectors/pull/232


HHH-10429 - Change SimpleValue isIdentityColumn method to return true…

… if the generator class used extends from IdentityGenerator instead of simply being equal to IdentityGenerator
Added test case to verify new functionality.
Discovered defect in PurchaseRecordIdGenerator used in CompositeIdWithGeneratorTest as it should implement IdentifierGenerator not extend IdentityGenerator (as it is not an Identity column).
This caused the CompositeIdWithGeneratorTest to fail with the change to SimpleValue

Hi @yinzara. Did you sign the CLA?

I replaced this PR with this one.


Fix typo

perfrom -> perform

Docs Build status updates of commit 8b241a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint-server/xml/Microsoft.Office.DocumentManagement.DocumentSets/DocumentSetVersion.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[SP-3876] - Backport of [PDI-16726] Cannot connect to MSSQL with curl…

…y brace in password

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f core/build.xml clean-all resolve jacoco && ant -f core/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  core/src/org/pentaho/di/core/database/Database.java

License header violations

:heavy_exclamation_mark: Couldn't find acceptable copyright on core/src/org/pentaho/di/core/database/Database.java


Converting configuration API response from an array to dictionary.

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the proposal

Make all configuration APIs in all the SDKs to return a dictionary rather than an array.
In an array, we will have to iterate to get the value needed. But in the dictionary, we can get the value based on the key.
We are already passing the keys to get the configuration or subscribe to the configuration. From a dictionary, we can easily get the value of the config for whichever key we need.
This will be an SDK level change. Once the dapr returns the list or array of objects, we can create a dictionary out of the response and return the dictionary to the user application.
For example:
This is an array/list of objects which is the response of the config API.
{
  [
      {
         key: "key1",
         value: "value1",
         version: "1.7",
         metadata: {}
      },
      {
         key: "key2",
         value: "value2",
         version: "1.7",
         metadata: {}
      },
  ]
}

The proposal is to convert this list into a dictionary(key -> value):
"key1":  {
         key: "key1",
         value: "value1",
         version: "1.7",
         metadata: {}
      }
"key2":  {
         key: "key2",
         value: "value2",
         version: "1.7",
         metadata: {}
      }

In the above transformation, we can directly get the value when we know the key.

I think this is a good change, and the .NET SDK already does this for you if you utilize the extension paradigm that it offers, though that part is out for PR right now.
Why don't we do this at the proto level too though? That'd force the change and make it native at all levels?

Is there any scenario where duplicate keys are legal? That's one of the main tradeoffs here.

Is there any scenario where duplicate keys are legal? That's one of the main tradeoffs here.

We are using state store to store the configurations. I don't think we will have a scenario of duplicate keys.

@rynowak - The configuration API has a rough idea around versioning a key in that it expects you can have multiple versions of the same key but will attempt to only provide the latest version. That is at least my understanding.

If all the maintainers agree on the changes, I will go ahead and add respective issues in the sdks. We can start picking up one by one.

Tbh I am not sure how I would think about this. I agree that it would make life way more convenient. Some brainstorming points that I have while I was thinking around this:

Redis has "binary safe" keys. Do all the languages support this?

As far as I know currently (need more info here), JSON for example is not seen as binary safe, so it would not be able to handle all these items. Making serialization in all cases quite difficult.

Why can't we make this a runtime feature? Why is it implemented like this in the runtime at the moment? Who can provide an answer on this?

@artursouza Any inputs on changing the structure in the runtime itself?

This will need SDK changes regardless -- take a look at the Python implementation ( @amulyavarote authored this )
https://github.com/dapr/python-sdk/blob/master/dapr/clients/grpc/client.py#L923
I think this change should be made in the Runtime and then the SDKs should be updated.

Ping @LaurenceLiZhixin

Ping @LaurenceLiZhixin

I cant see @LaurenceLiZhixin on Discord.

I agree with your idea @amulyavarote but with one minor suggestion, which is, since we are using dictionary now, we should avoid duplicating "key" property in the value part.
"key1":  {
         value: "value1",
         version: "1.7",
         metadata: {}
      }
"key2":  {
         value: "value2",
         version: "1.7",
         metadata: {}
      }

I agree with the idea from @amulyavarote , and I think configuration Item struct defination at https://github.com/dapr/dapr/blob/master/dapr/proto/common/v1/common.proto#L139 can be updated as:
// ConfigurationItem represents all the configuration information
message ConfigurationItem {
  // Required. The value of configuration item.
  string value = 1;

  // Version is response only and cannot be fetched. Store is not expected to keep all versions available
  string version = 2;

  // the metadata which will be passed to/from configuration store component.
  map<string,string> metadata = 3;
}

/assign
I have some bandwidth in this week. I can give it a try if we all reach a consensus.

@LaurenceLiZhixin pls. review dapr/components-contrib#1771


Image input?

Hi, thanks for this. One question, what's the right way to have an input image. I see the incoming latent connector, and I see the pyramidflow vae encoder node, but what should I be connecting to the model node there? Is there a pyramid node vae model loader I'm missing? Thanks again.

Hi, thanks for this. One question, what's the right way to have an input image. I see the incoming latent connector, and I see the pyramidflow vae encoder node, but what should I be connecting to the model node there? Is there a pyramid node vae model loader I'm missing? Thanks again.

The VAE is in the model along with the text encoder for now, might separate them later. There's example workflow for image2vid in the examples -folder too.

Thanks so much. Just pasting an image here in case anyone else sees this post.


Videowalk through

:+1: Nice work. A few notes after checking out the code:

Nicely done architecting the fragments (base class and extension classes) such that you put as much code and logic as possible in the base class and then used abstract methods to define only the specific behavior where they differ
Good to see you properly communicated the user to the user timeline fragment from the profile activity.
Nice to see you used the ViewPager with TabLayout to properly setup the tabs
Good to see you played with styling, decent UI polish

Here's a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you might be able to improve your submission.
This week (Week 5), we are going to cover the last major piece to the Android puzzle and that is using the hardware and SDK components such as the camera, photo gallery, location, maps, etc. After that, Week 6 and week 7 we will be covering a few important intermediate topics such as more about styling and animation as well as testing.
Following the bootcamp, we are going to have a public demo day to celebrate the progress you've all made with our next batch of Android students and multiple companies attending to see the group projects that you all have built. We are going to help however we can over the next few weeks to get the team project apps in shape for that.


Tutorial->Navigation->Step 13 typos in example coding

In example coding there is the same error mit 's' too much.
BR

Forgot the link: https://openui5beta.hana.ondemand.com/#docs/guide/39759878ae4f48dcad0cf34da1d299f0.html

Reported to docu development, thanks!

This has been fixed for 1.36, which unfortunately is sometime away (1.34 stable will only be published next week or so). Downport seems not possible due to the documentation process...


Do not send Value in JSON if 'None" in Python or when error info is specified.

See this Dev Forum message and subsequent ones. Omit the Value field in JSON unless it is real. If the caller of PropertyResponse() specifies None  for its value parameter, omit Value in JSON. If called with err= other than Success(), also omit Value in JSON since it is meaningless.

Completed for version 0.3


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20230128164834584 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20230128164834584 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.008%) to 42.017%

Files with Coverage Reduction
New Missed Lines
%

extensions/machine-learning/src/common/processService.ts
3
77.78%

Totals

Change from base Build<PHONE_NUMBER>:
0.008%

Covered Lines:
28639

Relevant Lines:
63296

💛  - Coveralls


Roll engine 74625aed323d..8247ce26ba69 (10 commits)

https://github.com/flutter/engine/compare/74625aed323d...8247ce26ba69
git log 74625aed323d..8247ce26ba69 --no-merges --oneline
8247ce26b Implement restore functions on Android and iOS (flutter/engine#6322)
2ead5c06c Roll src/third_party/skia 4ef464cd3c2e..7ffa40cedbc4 (10 commits) (flutter/engine#6334)
38a646e14 [buildroot] Roll buildroot to pick up updated created_updated_flutter_deps.py (flutter/engine#6333)
4b5be9b1f Roll Dart to 4cf2d3990bac1f1df2f524899e1560a3683f3133 (flutter/engine#6332)
5d19c8795 Roll src/third_party/skia e514fa0f1a6c..4ef464cd3c2e (1 commits) (flutter/engine#6329)
5879daed1 Roll src/third_party/skia a85f3a138cbc..e514fa0f1a6c (1 commits) (flutter/engine#6328)
4974d7464 Roll src/third_party/skia 45239cb84d1d..a85f3a138cbc (7 commits) (flutter/engine#6327)
8743bb82d Format for #6324 (flutter/engine#6326)
89516aad9 Engine::Run returns enum: success, failure, or isolate already running (flutter/engine#6324)
83ec05d7a Roll src/third_party/skia a9adb6f03525..45239cb84d1d (9 commits) (flutter/engine#6323)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


Bug: SWS Notes window Wrap text UTF-8 bug

Hi,
In SWS Notes window, when unchecking the Wrap Text messes all the non ASCII characters (é,à etc) in the text editing window (these errors are then propagated to the items notes).
Demo:

REAPER 6.01 and SWS 2.11.0
Thx!

Good catch! It's getting the text in UTF-8 but setting it using an ANSI function.

Wrap text is also broken on macOS and Linux... there it only reopens the dialog box without actually wrapping the text.

@X-Raym The builds are here if you'd like to try the fix early: https://github.com/reaper-oss/sws/pull/1254#issuecomment-565787159.


[WIP] Pack config schema support

This is a first iteration of the improvement pack configuration story.
It includes support for optional pack config schema. Pack configuration which will be supplied by the user (that's the second iteration of the improved pack configuration story and is TBD) will be validated against the schema provided by the pack author when loading pack configuration.
Pack schema follows action parameters format and the schema file looks like that:
---
  attributes:
    api_key:
      type: "string"
     secret: true
     required: true
    api_secret:
      type: "string"
     secret: true
     required: true
    region:
      type: "string"
      required: false

(I'm open to feedback, we could rename attributes to something else, we could also get rid of it and have config items as top-level object, but I'm not too big of a fan of that approach.)
Schema is registered (and corresponding ConfigSchemaDB object is created in the database) when registering packs when running st2-register-content script.
This pull request also includes API endpoint for retrieving config schema (read-only).
Open Questions / To Decide

[x] Config schema file name - right now it's config.schema.yaml, but we could also call it config.meta.yaml or similar. I'm open to feedback.
[x] API endpoint path - /v1/packs/config_schema/<pack ref> vs /v1/packs/views/config_schema/<pack ref> (ideally, it would be /packs/<pack ref>/config_schema, but because of our pecan abuse that's not possible right now and something we should do once we move to v2 and clean up our API).

TODO

[ ] Documentation

[ ] Basic docs on config schema format
[ ] Config best practices (prefer flat, avoid deeply nested objects, etc.)

[ ] Tests with config schema examples fixtures

[ ] Basic tests (registration, API retrieval)
[ ] RBAC tests

Config schema file name - right now it's config.schema.yaml, but we could also call it config.meta.yaml or similar. I'm open to feedback.

I prefer config.schema.yaml

/v1/packs/config_schema/ vs /v1/packs/views/config_schema/ (ideally, it would be /packs//config_schema

I ran into similar problems with pecan when I tried to do this scoped key value controller. If
/packs//config_schema is not possible, I propose moving config_schema to own URL base. So /v1/config_schema/<pack_ref>. That is better than  /v1/packs/config_schema/ but I am not sure if it's better than  /v1/packs/views/config_schema/. Views controller is there to provide alternate views into the same data. So putting schema there doesn't seem right.

BTW I already introduced a v2 API for key value. https://github.com/StackStorm/st2/pull/2669/files#diff-8beb8eec6c835f872e21cecf1a18e620R1
It's a giant hack because of pecan limitations. FYI.

I can do that (separate top-level API endpoint), but I'm not too big of a fan of it.
And yeah, @manasdk and I discussed this earlier on Slack. I encountered this issue many times before and sadly because of the way we (ab)use pecan right now, we can't achieve using that URL path structure without adding a lot more hacks on top of the existing hacks...

BTW I already introduced a v2 API for key value. https://github.com/StackStorm/st2/pull/2669/files#diff-8beb8eec6c835f872e21cecf1a18e620R1
It's a giant hack because of pecan limitations. FYI.

Can't we put this under /v1 or something? I'd really like us to invest some time in a proper RESTful API and ideally that would be API v2 (I don't want us to deprecate 3 different API versions if that's not needed).

/v1/ already supports scope via query parameter and @manasdk insisted on a v2 API to do /keys/${scope}/key. We discussed this on slack and I spent hours on adding v2 api and tests. I can remove it but it seems like we have to get on the same page.

I've moved API endpoint to be top-level (/v1/config_schema/<pack ref>).
I'm really not fan of it and I hate our API paths, but we plan to have a discussion about API v2 today where we plan to improve the API paths, etc.

I decided I will work on the documentation in another PR where I will introduce support for dynamic configs.
Schema is tightly related to that feature so docs will make more sense where both features are available.


Not SSR compatible

Is there a way to make this work with Nuxt SSR ?
Maybe this is expected as this hack the v-dom, but currently I get :

vue.runtime.esm.js?2b0e:619 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Can you provide a link to a reproduction repository to demonstrate the problem?

Yeah, maybe tomorrow

Closing till reproduction is provided


how to use ?

Hi,
I installed the napari macrokit(thank you for the plugin !) .
then typed in the console:
from napari_macrokit import get_macro
macro = get_macro("my-plugin-specifier")  # get macro object
@macro.magicgui
but it stays such as :
@macro.magicgui
...:
then nothing writes in the tab when using my plugin ?
Did I miss a step ?
Thanks

From Plugins > napari-macrokit you can open a macro widget. The specifier will be shown as a tab in the widget. The text of the widget is updated whenever the macro object is updated.
Could you please clarify in which step you think you have a problem? Following simple example code may help you.
from napari_macrokit import get_macro

macro = get_macro("new")
@macro.magicgui
def add(a: int, b: int):
    print(a,b)
add.show()

Hi,
my goal is to use your plugin to record live all steps I am doing with other plugins, but after typing :
@macro.magicgui
then nothing appends when I click or do something with a plugin , I was expecting that it will record live all steps ?
I don't want to make function , but rather record live as you show in the GIF, so can I do that and how ?
Thanks a lot,

Is all the functions in the "other plugins" decorated with @macro.magicgui? @macro.magicgui is simply a decorator that converts a normal function into a macro recordable one. It does not do any "magical" stuffs that turn functions in other plugins into recordable ones. In my GIF example, all the functions that were called during the demonstration is decorated with @macro.magicgui.

I see ok, hence no it won't work for my needs,
thanks anyway ;D


Delete on a running hyper-V VM crashes Dev home

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug

Create hyper-v environments.
Start them
Delete the environment

Expected result
Hyper-V VM is deleted
Actual result
Dev home crashes
Included System Information
No response
Included Extensions Information
No response

Issue looks like its coming from this line FYI https://github.com/microsoft/devhome/blob/944910065ae769fb053c06bc913c90b4504c9758/common/Environments/Models/ComputeSystemCache.cs#L232


python310Packages.pg8000: 1.26.1 -> 1.27.1

Description of changes
https://github.com/tlocke/pg8000#version-1-27-1-2022-05-16

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 173354 run on x86_64-linux 1

6 packages built:

datadog-agent
datadog-process-agent
python310Packages.pg8000
python310Packages.testing-postgresql
python39Packages.pg8000
python39Packages.testing-postgresql


SC-45 remove arbitrary Role ARN parameter

We remove the IAM Role parameter from our two S3 bucket products to remove the security risk of a user giving too permissive access to the bucket.  Users should get access the same way they obtain access to other SC products (like EC2 instances), by obtaining an STS token returned by our system.  This is already possible and the user documentation has already been updated to instruct them to get access this way.
See https://sagebionetworks.jira.com/browse/SC-45 for further discussion.

The owner.txt file does not control access by the S3 client, so adding other users to that file does not do what adding IAM ARNs does currently.

Yes, i understand this. I'm referring to sharing the data in the bucket with multiple users via the synapse web UI or synapse client, not the AWS S3 client.

I see.  Yes, it's a good idea for us to emphasize in our doc's that the first choice (recommended way) for sharing a bucket is to link the bucket to Synapse and then use Synapse's rich/mature feature set to share access with others.  My comments in SC-45 were meant specifically to address the case in which two people want to access a bucket using the S3 client.

But I think you are asking, "Could the bucket have a parameter for a list of Synapse users who would be granted S3 access." Is that what you are asking?

Yes, I'm asking this as well.

That's a good idea, could be done as a separate issue.


SkipBody - what it really does?

Well, SkipBody does something different I think.
resp.SkipBody = true

https://github.com/Arriven/db1000n/commit/3147170641eb0c3da75cfc74d68d9606d4e23d5a
The server sends body response but we are ignoring it, thus mishandling the HTTP protocol.
https://github.com/valyala/fasthttp/blob/7cc6f4c513f9e0d3686142e0a1a5aa2f76b3194a/http.go#L1305
I suppose what you really wanted is like:
resp.DiscardBody = true

https://github.com/erkexzcx/stoppropaganda/blob/main/internal/stoppropaganda/websites.go#L286
I've already implemented it in stoppropaganda by editing fasthttp.
https://github.com/deputinizer/fasthttp/commits/master
I'm open to discussion, maybe I'm wrong... but HTTP protocol is pretty simple I think. :wink:

the idea was to have a way to utilize cpu better by not needing to do unnecessary work if the goal is to just spam the target with traffic. I then realized that it's better done by utilizing packetgen but forgot to remove this part, thanks for reminding!


Error in 0.12.0

WARNING:tensorflow:From /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/monitors.py:320 in __init__.: __init__ (from tensorfl         ow.contrib.learn.python.learn.monitors) is deprecated and will be removed after 2016-12-05.         Instructions for updating:         Monitors are deprecated. Please use tf.train.SessionRunHook.         WARNING:tensorflow:From lstm_trend.py:48 in <module>.: calling fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with x is deprecated          and will be removed after 2016-12-01.         Instructions for updating:         Estimator is decoupled from Scikit Learn interface by moving into         separate class SKCompat. Arguments x, y and batch_size are only         available in the SKCompat class, Estimator will only accept input_fn.         Example conversion:           est = Estimator(...) -> est = SKCompat(Estimator(...))         WARNING:tensorflow:From lstm_trend.py:48 in <module>.: calling fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with y is deprecated          and will be removed after 2016-12-01.         Instructions for updating:         Estimator is decoupled from Scikit Learn interface by moving into         separate class SKCompat. Arguments x, y and batch_size are only         available in the SKCompat class, Estimator will only accept input_fn.         Example conversion:           est = Estimator(...) -> est = SKCompat(Estimator(...))         WARNING:tensorflow:From lstm_trend.py:48 in <module>.: calling fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with batch_size is de         precated and will be removed after 2016-12-01.         Instructions for updating:         Estimator is decoupled from Scikit Learn interface by moving into         separate class SKCompat. Arguments x, y and batch_size are only         available in the SKCompat class, Estimator will only accept input_fn.         Example conversion:           est = Estimator(...) -> est = SKCompat(Estimator(...))         Traceback (most recent call last):           File "lstm_trend.py", line 48, in <module>             regressor.fit(X['train'], y['train'],monitors=[validation_monitor],batch_size=BATCH_SIZE,steps=TRAINING_STEPS)           File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/deprecation.py", line 191, in new_func             return func(*args, **kwargs)           File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 355, in fit             max_steps=max_steps)           File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 699, in _train_model             train_ops = self._get_train_ops(features, labels)           File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1052, in _get_train_ops             return self._call_model_fn(features, labels, model_fn_lib.ModeKeys.TRAIN)           File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 1023, in _call_model_fn             model_fn_results = self._model_fn(features, labels)           File "/home/username/rtw-rnn/lstm_model.py", line 122, in _lstm_model             output = dnn_layers(output[-1], dense_layers)           File "/home/username/rtw-rnn/lstm_model.py", line 114, in dnn_layers             return learn.ops.dnn(input_layers, layers)         AttributeError: 'module' object has no attribute 'dnn

please check the latest code, there's an updated version compatible with tensorflow 1.1.0


Remove references to removed auth providers

Twitter and LinkedIn authentication support was previously removed, so I think we should delete these references to that code too.

The best kind of PRs


Selecting the end of the range requires shift-clicking exactly the checkbox

At least in Firefox 32: shift-clicking the second checkbox label doesn't work.
Works in Chrome though.

@rmariuzzo Any updates on being able to do range select by clicking on the label instead? Thanks!

@johnpalaganas I will invest ~1hr now to come with a fix to this. I'm thinking to cover those cases:

When the label wraps the checkbox.

<label>
    <input type="checkbox /> Apple
</label>

When the label is associated to the checkbox via for attribute.

<input type="checkbox" id="apple" />
<label for="apple">Apple</label>

Any suggestions will be highly appreciated. :smile:

@rmariuzzo If you can cover those two cases, it would be great!

Thanks for your quick reply @johnpalaganas! I will create a separate branch for this.

Well thanks @rmariuzzo for your proactive approach!

@johnpalaganas I have just added support to labels for range selection: https://github.com/rmariuzzo/checkboxes.js/tree/range-improvements
I have only tested it with Chrome 41, later today I will test in other browsers.

@rmariuzzo Thanks! Not working on my end, I hope you do find a solution :)

I'm here again trying to find a definitive solution to this issue. It has been a long time.

I've downloaded checkboxes from here. assume i have latest.
here's the scenario.

table contains multiple columns, with a checkbox in the first. checkbox has an onchange event handler associated with each cb.
table is contained in a div with the data-toggle="checkboxes" data-range="true".
using bootstrap, jquery, jquery ui, tablesorter, and checkboxes (i know. its insane.
i click on the first box. press the shift key and click on the bottom of the range.
the event handler for the first box fires. the handler for the bottom box of the range fires. all the intermediate boxes are changed, but the handler for them do not fire.
it is repeatable. in firefox, chrome, and IE.

I intend to test it without the tablesorter and getting rid of as much extra as i can. i will let you know.
otherwise, any suggestions?

The version in the test branch seems to work for me where I hide the checkbox and style the label and use the FOR property to associate them.  Just tested in FF42, Edge and CH47.  Great job.


add gradle project, update dependencies & READMEs

I facilitated 4 learning-sessions with this kata since December , it's great! Figured I return the changes I made to it :)

@emilybache this looks good, could be merged

Thankyou! Sorry for not noticing this PR sooner


[bug] Tauri v2.0.0-beta failed to build on Windows

Describe the bug
I recently migrated to v2, but encountered some issues. I am not sure if this issue should be raised here, but I think it may be related.
When I use github actions, it fails to build on Windows.
This may be related to my use of caching, as when I delete the cache, it can be successfully built.
But why?
This is a bit strange because there was no such issue in v1.
Reproduction
https://github.com/A-kirami/tauri-windows-build
https://github.com/A-kirami/tauri-windows-build/actions/runs/8108131093/job/22160785334
Expected behavior
It should be built successfully on Windows like v1.
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.20348 X64
    ✔ WebView2: 119.0.2151.58
    ✔ MSVC: Visual Studio Enterprise 2022
    ✔ rustc: 1.76.0 (07dca489a 2024-02-04)
    ✔ cargo: 1.76.0 (c84b36747 2024-01-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.11.1
    - pnpm: 8.15.4
    - yarn: 1.22.21
    - npm: 10.2.4

[-] Packages
    - tauri [RUST]: 2.0.0-beta.8
    - tauri-build [RUST]: 2.0.0-beta.6
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.1
    - @tauri-apps/api [NPM]: 2.0.0-beta.3
    - @tauri-apps/cli [NPM]: 2.0.0-beta.6

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace
error: failed to run custom build command for `tauri-app v0.0.0 (D:\a\tauri-windows-build\tauri-windows-build\src-tauri)`

Caused by:
  process didn't exit successfully: `D:\a\tauri-windows-build\tauri-windows-build\src-tauri\target\release\build\tauri-app-24127a8263a01426\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  cargo:rustc-cfg=desktop
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_PREFIX=com_tauri
  failed to read plugin permissions: failed to read file: The system cannot find the file specified. (os error 2)
warning: build failed, waiting for other jobs to finish...
       Error failed to build app: failed to build app
 ELIFECYCLE  Command failed with exit code 1.
Error: Command failed with exit code 1: pnpm tauri build -t x86_64-pc-windows-msvc

Additional context
No response

can you try removing tauri-plugin-shell from Cargo.toml and try again?

can you try removing tauri-plugin-shell from Cargo.toml and try again?

The same result.
https://github.com/A-kirami/tauri-windows-build/actions/runs/8146043409/job/22263664310

I have no idea why this is not working, cloning the same repo and building it on my machine works just fine.
Here is a couple of things to try:

remove the use of cache in CI just to rule out that it is not a cache issue
try building without tauri-action and use pnpm tauri build -t <target> instead
if that doesn't work try without -t flag

I guess I was having the same issue, with yarn.

Compiling testeapp v0.1.0 (D:\a\tauri-ci-test\tauri-ci-test\apps\my_tauri_app\src-tauri)
error: failed to run custom build command for `testeapp v0.1.0 (D:\a\tauri-ci-test\tauri-ci-test\apps\my_tauri_app\src-tauri)`

Caused by:
  process didn't exit successfully: `D:\a\tauri-ci-test\tauri-ci-test\apps\my_tauri_app\src-tauri\target\release\build\testeapp-e05d03921a11ecee\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  cargo:rustc-cfg=desktop
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_PREFIX=com_teste
  failed to read plugin permissions: failed to read file: The system cannot find the file specified. (os error 2)
warning: build failed, waiting for other jobs to finish...
       Error failed to build app: failed to build app
Error: Command failed with exit code 1: yarn tauri build

Building locally works, no cache involved.
Without cache, it builds.
With tauri-action args: -v -d also builds but doesn't solve the issue.
With tauri-action args: -t x86_64-pc-windows-msvc it builds and solved for me as I'm targeting only Windows. Thanks for it @amrbashir, while you suggested to do it without tauri-action, I utilized the action anyway.

Using the target flag is basically the same as a cache reset because the flag changes the target dir.
So the question (I raised on discord iirc?) whether a single reset is enough or if it comes back, remains. So far I've not heard from it reappearing so I assume it's just an incompatibility with files from prior beta versions maybe?

I've tried multiple times by cleaning the cache to be sure the issue was the caching. The way it was build with the -t flag it did hit cache, building time dropped 3min (not great imo). The cache hit was from a successful build without the flag.
Lastly, I did not upgraded to v2, the project was born v2. So maybe a different issue?
Note: the project is Windows only.

So if you're saying that without the -t flag it fails reliably even after clearing the cache

Yeah, but don't take this as a scientific testing, I've done many tests that I lost track. But I'm more than 80% sure, if I could gauge
The only thing that worked so far was the -t flag with "cache-all-crates: true" (just tried without it and didn't worked). Cache action is "swatinem/rust-cache@v2"
The build step doesn't download anything, it goes to compiling. Not sure how this would behave in a ideal scenario.

We're running into this issue too. It doesn't occur on macOS (the other platform we build for), but only occurs on Windows.
Our initial tests are not consistent with it being a caching issue: we've seen it succeed multiple times with tweaks that shouldn't change the Rust cache.
I'm trying out -t x86_64-pc-windows-msvc as recommended, and will test it ~3 or so times and let you know what I find.

I'm back with results, tested -t x86_64-pc-windows-msvc as recommended, and I've seen no issues in 7 re-runs of the build, without any changes to caching.
Looks like adding a target somehow makes a difference?

Unfortunately running into the same error despite defining an explicit target. Ref to failed GA run

Alright yeah, we just ran into our first CI error despite an explicit target.
Looks like the only other solution now must be something re ~= adding a retry action, because this is definitely a flaky error (happens less than 15% of the time for us).

For me, what fixed it was deleting the scr-tauri/target/debug/build folder and then running npm run tauri dev again. Once I did that I also noticed that my antivirus put some of the files in quarantine, so I had to put that folder on the whitelist.

is this error maybe an issue of softlinks? How does tauri read the permissions file in windows

Same using Swatinem/rust-cache@v2, I solved it by clearing the cache

Same, fixed by deleting all cache from https://github.com/<User>/<Repo>/actions/caches

For me, what fixed it was deleting the scr-tauri/target/debug/build folder and then running npm run tauri dev again. Once I did that I also noticed that my antivirus put some of the files in quarantine, so I had to put that folder on the whitelist.

Works, thanks!

Just hit this on Ubuntu 24 while migrating a Tauri v1 app to v2 beta and this also worked for me:

For me, what fixed it was deleting the scr-tauri/target/debug/build folder

On Windows, while getting the exact same error, the fix for me was uninstalling the 64x-bit version of Rust and installing the 32x-bit version instead. I'm not sure why that fixed it though.

Just encountered this on Ubuntu 22 on an app I just started building using tauri 2 rc 11. It was working, closed it. went to restart it a few minutes later (no changes made) and it wouldn't restart until I deleted the debug/build folder.


set firewall twa-hazards-protection [enable | disable]

wontfix: for now will not add to vycontrol


pass prop string as optional arg for hasOwnProperty; remove dictionary lookup

HasOwnProperty helper was a bit inefficient where it often gets a PropertyString as an argument, gets the propertyId from that and passes it to another helper which does a dictionary lookup to see if string is cached.
Technically the dictionary lookup might find PropertyString if argument was passed in as some other type of JavascriptString, but mostly we will be there in the negative case, so I removed the dictionary lookup. It's also unclear if that dictionary lookup is even faster than the actual property lookup.
Improves react-redux by 4%.

LGTM, but please get additional signoff.


Wrapping non interpolated strings with span in 1.0

Is there a particular reason why you have to wrap strings that aren't in {{ }} in a span or some other element?
In 0.5 I could do something like

per {{ product.UnitType }}

But it 1.0 I have to do

per {{ product.UnitType }}

We didn't quite land that feature in 1.0, but it's on the near-term roadmap.
https://www.polymer-project.org/1.0/docs/#binding-features

@kevinpschaaf - Is there a place to see the progress of this "near-term roadmap"? This feature for strings in the html and attributes is keeping me from migrating from .5.x to 1.x - it's just way to much of a rewrite especially for attributes as I would have to make tons of computed's like for anchors and href attributes...  thanks

It should be on the order of weeks, not months.

Awesome, thank you!


Follow the latest commit in main branch

Describe your changes
Update some files from main branch.
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

This PR does not requires reviews for the content itself.
Let me merge this PR as a maintainer.


Discard the test cases before running the peer simulator if possible?

This PR is intended only to spark a discussion. Currently, we have:
runTest .... $ \stateView ->
  testPremise ==> testConclusion

which means that we run the whole schedule before actually checking whether the premise holds. In my example, if testPremise depends on stateView, we can't really do anything different. However, if it doesn't (like in our current long range attack test case), we can also go for:
testPremise
==>
runTest .... $ stateView -> testConclusion

which only runs the schedule when the premise holds. This is faster, and potentially a lot faster if a lot of tests are discarded (in the current state of the long range attack test case, we discard a bit less than 2/3 of the test cases). Is there a reason why not to do this? I already used this pattern in https://github.com/input-output-hk/ouroboros-consensus/pull/458 but can of course change that.

It might be that the discarded tests would trigger invariant violations and therefore the second option would miss them.

Idea: it could be good to have a “quick mode” of running tests that actually discards before and a “slow mode” of running tests that discards after. The former would typically be used locally while the latter would be run in CI. (Those modes could also change the number/size of tests.)

We could also introduce our own operator (say ===>) that behaves as an implication or as a noop depending on the mode. And then write something like:
testPremise
===>
runTest .... $ \stateView ->
  testPremise ==> testConclusion

(or we use the “approximate case” exception of QuickCheck or something).

I'd rather have generators of which we can constrain the length of the chains. But we could deffer this conversations until profiling a bit the generator and the execution of the tests.

Those two changes are not incompatible. Are you saying you would rather not make the change in this PR and change the generators instead?

Those two changes are not incompatible.

Adding parameters to control the chain lengths is going to eliminate the need to discard inputs in the example that we have. But it is fine to merge this in the meantime.

Indeed!


Node attribute value is not reactive after client side hydration

Version
2.6.11
Reproduction link
https://codesandbox.io/s/ssr-reactivity-up6nh?file=/pages/index.vue
Steps to reproduce

The id attribute of the div does not match the myid value from the component (requires page refresh sometimes on first load).
Notice that $forceUpdate() (first button) does not update the id attribute of the div
Changing the value of the val data (second button) property triggers the reactivity

What is expected?
Every reference to the myid computed property should match
What is actually happening?
The id attribute of the div does not match the myid value

The same component used in client-side rendering does not exhibit this issue.

I don't think it's possible to use random values with hydration like that because the html rendered by the server should be the same as the one generated by the client. By using random values, you are pretty much forcing an hydration mismatch because they will (almost) always differ. But I don't understand why there is no error

The value of val in data is a certain value after initialization, so when run $forceUpdate() will not run Math.floor(Math.random() * 10000000), the value of val is not changed.

@posva Perhaps I shouldn't have used Math.random(). The point is that if val == X on the server side and val == Y on the client-side after hydration, most parts of the component are updated reactively while the id attribute of the div is not. I can modify the example to use something else than random values if it helps, but it doesn't materially change the (alleged) bug I'm describing.

@cinsanity I'm not sure I understand. I attached a screenshot to give more details.

I expected $forceUpdate() to make all the id values match when forcing a re-render, but it does not. Only changing val successfully synchronizes all the ids.

The point is that if val == X on the server side and val == Y on the client-side after hydration

It has to really be after hydration. In that case it might be related to one of these linked issues https://github.com/vuejs/vue/issues/10260 (see linked issues as well)

@posva yeah it looks similar to #10260, but I'm not knowledgeable enough about Vue internals to be sure.
I did update my repro to use Vue.prototype.$isServer instead of Math.random() for greater clarity.

I am very curious about why $forceUpdate() doesn't update the div's id though.

We ran over the exact same issue with Nuxt when creating a uid in the created hook, our workaround was creating a new ID in the mounted hook.

Hi, I encountered the same issue
Is there any other solution than having to use mounted ?
We generate unique IDs for our components and use them also for some aria attributes
If we set those ID's in mounted, we will loose SEO gain from accessibility attributes

For Vue 3, there's a built-in getSSRProps hook available via directives:

<template>

      hello

</template>


Cannot connect to iPad for "Pair to Mac"

I've followed this guide, but have had issues trying to connect to my iPad to facilitate testing.
Is this a known limitation?
If so, what devices are supported?

Hi, @richardst89! I don't have any iPad device for testing. I will try to reproduce it tomorrow, maybe it is a bug.

I cann't reproduce it:

Do you see your device in the Apple Devices app?

I think I've misunderstood the setup. For this to work, you need two devices.

A mac to do the building
An iPad / iPhone to do the presenting.

I was (wrongly) under the assumption you could do (1) with an iPad!
Thanks for testing!


In Generated Dockerfile COPY Command syntax formed incorrectly

Describe the bug
As is generated  : COPY --from= rating-buildstage/app/target/rating-0.0.1-SNAPSHOT.jar .
It has to be like  : COPY --from=rating-buildstage /app/target/rating-0.0.1-SNAPSHOT.jar .
There should be space between image name build jar file path, but instead the space presented after =
COPY --from=<repository_image_name>
To Reproduce
Steps to reproduce the behavior:

Using the Mov2Kube UI Version http://localhost:8080/
After Planning, use Tranform to the generate the outcome
go to the scripts folder in the output directory generated, run the command buildimages.bat podman
STEP 1/3: FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
STEP 2/3: COPY rating-0.0.1-SNAPSHOT.jar .
--> 62de1907ec18
STEP 3/3: COPY --from= rating-buildstage/app/target/rating-0.0.1-SNAPSHOT.jar .
Error: COPY --from=: no stage or image found with that name

Expected behavior
The build should have completed without any errors
Screenshots
STEP 3/3: COPY --from= rating-buildstage/app/target/rating-0.0.1-SNAPSHOT.jar .
Error: COPY --from=: no stage or image found with that name
Desktop (please complete the following information):

OS: Windows
Version [e.g. 22]. `version: v0.3.11-rc.0 gitCommit: 82196544d43ab6ae9f93efe9d9f5408b411d6374 gitTreeState: clean

Additional context
Rest all works fine, I have even tried it seperately, special thanks to Padmanabha V Seshadri to helping in slack community to go forward

@move2git Thanks for raising the issue.
In the Move2Kube UI please go to the Support page and copy/paste the details here.
This will help us debug the issue.

@HarikrishnanBalagopal I have pasted the details now

Thanks, possibly the space in this line between --from and the container name https://github.com/konveyor/move2kube/blob/9bc4e8b017e995ad6cab70f9f9e28a3508ad52d5/assets/built-in/transformers/dockerfilegenerator/java/jar/templates/Dockerfile.jar-run#L7

@HarikrishnanBalagopal Thank you so much Hari for quickly looking at it and pointing to it. I also want to start contributing to open source. I don't know how to start and setup a test/debug environment in my local. Is there any help available to look in to it

Thanks, possibly the space in this line between --from and the container name
https://github.com/konveyor/move2kube/blob/9bc4e8b017e995ad6cab70f9f9e28a3508ad52d5/assets/built-in/transformers/dockerfilegenerator/java/jar/templates/Dockerfile.jar-run#L7
Should make it similar to
https://github.com/konveyor/move2kube/blob/9bc4e8b017e995ad6cab70f9f9e28a3508ad52d5/assets/built-in/transformers/dockerfilegenerator/java/tomcat/templates/Dockerfile.tomcat#L24
I think the space got introduced accidentally in this PR https://github.com/konveyor/move2kube/pull/1001/files#diff-04b72caa3d4688f1c2eaa6edaca8db27cee3e2abd814dcff0d169c23b47a5d09R7

Space should be between Container Name and DeploymentFilePath, you rightly pointed out in the fix
Bug: --from= {{ .BuildContainerName }}{{ end }}{{ .DeploymentFilePath }}
Fix: --from={{ .BuildContainerName }} {{ end }}{{ .DeploymentFilePath }}

@HarikrishnanBalagopal once done with fix and moved to pre-prod/prod, keep me informed, I will test it and confirm

@HarikrishnanBalagopal Thank you so much Hari for quickly looking at it and pointing to it. I also want to start contributing to open source. I don't know how to start and setup a test/debug environment in my local. Is there any help available to look in to it

Nice! You can take a look at one of our issues labelled hacktoberfest for some idea on how to get started https://github.com/konveyor/move2kube/issues/881


feat: about ecosystem responsive layout

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
About/Falco ecosystems responsive view
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: alexakvelon
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 6abe6d4ae9f7e8acf7fd31a22fdf6682929f34cb

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alexakvelon, Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Can you support DNSCrypt blacklist?

I am using dnscrypt and have support for domain blocking in blacklist. Would you please support adding dnscrypt or dnsmasq?
Or support the list of blocked domain as text without address <IP_ADDRESS>?

@StevenBlack may correct me if I am wrong, but this repo on its own is already a handful to manage and curate, so I believe alternate formats are being delegated out elsewhere. I myself support a couple different formats and would be more than happy to take a look at any format suggestions you have. @bigdargon, can you give some example lines of the formats you want using the example below?
The DualServer format:
This is an example comment line
example.domain.com=<IP_ADDRESS>
And, if applicable, any other special notes you may have about where the format may deviate or be case-by-case in some way would also be helpful.

DNSCrypt blacklist:
domains-blacklist.txt
dnsmasq format:
dnsmasq.adblock.txt

@bigdargon and @ScriptTiger I'd love to add this capability.
See also Issue #237, which also references this repo.

@StevenBlack it work! Many thanks!

In order to host pre-generated versions of these formats and include comments, do both of these formats accept the standard "#" for comment lines?  Or ";" or anything else?


Add custom dataset to NLP?

Is it possible to add a custom dataset such as a .csv to the NLP library?
Thanks.

Yes you can have a look here: https://huggingface.co/docs/datasets/loading_datasets.html#csv-files

No activity, closing


wrong version numbering in the current master CMakeLists.txt

the cmake configuration files on the current master label the code as version 2016.09.1
https://github.com/rdkit/rdkit/blob/master/CMakeLists.txt#L73
but (assuming that the 2016.09 series are located on a separate release branch) it should be something like 2017.03.1.dev1 ?

Thanks!

Thank you @greglandrum


scylla-tools-java deps - update JNA (if we need to)

https://github.com/scylladb/scylla-tools-java/blob/95b3c9dd4095c40729605d650dc1011e192fe93c/build.xml#L429 is using a too old version. Cassandra has moved to a much newer version (see https://github.com/apache/cassandra/commit/a8b1fb6ae6e934f4ba0a07deb03b6257c7dcb383 ).

The 'if we need to' is that it's unclear if we need it for cassandara-stress or the tools we do use in this repo in Java...

@roydahan - per our discussion today.

@scylladb/scylla-tools-maint  - please backport to both 5.4 and 5.2.

Backported to 5.4 and 5.2.


KAGExtractor Processing, ollama /api/generate keeps give 200 and 500 alternately

I'm not sure if the 200/500 comes from the extensive request LLM? if so, can I reduce the request num or wait longer time or modify ollama server model cfg? and how.
[GIN] 2024/11/28 - 10:58:45 | 200 | 40.338236468s |       <IP_ADDRESS> | POST     "/api/generate"
panic: failed to decode batch: could not find a kv cache slot
goroutine 7 [running]:
main.(*Server).run(0xc0001d2120, {0x556397570d60, 0xc0001ac0a0})
github.com/ollama/ollama/llama/runner/runner.go:336 +0x23e
created by main.main in goroutine 1
github.com/ollama/ollama/llama/runner/runner.go:955 +0xc52
[GIN] 2024/11/28 - 10:58:45 | 500 | 40.471320211s |       <IP_ADDRESS> | POST     "/api/generate"

builder/indexer.py

Number of concurrency task can by modified by adjusting max_workers of BuilderChain, you can refer to buildKB method of hotpotqa indexer


import cloud-api-adaptor/peer-port-controller instead of private repo

This should have been changed before I sent the pull request to include the controller. Change it now to use code from this repo instead of my private github repo.
Fixes #423
Signed-off-by: Jens Freimann<EMAIL_ADDRESS>

nit: Did you also update the operator-sdk? Not an issue, but maybe you should mention it in the commit message?


Support content and content-attr in CSS API

This would be the last thing shoved in Web Alpha RC-1.
The goal of this task is to introduce API for calling content and content: attr in our CSS API
this is marginally related to #926

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Global Validator

Goal
Enable artists and supervisors to configure high-level aspects of what is valid and what is not.
Implementation
Firstly, collect high-level "metadata" from each and every family. Data such as whether normals are inverted (model), whether every model has a shader, or not (lookdev), whether every published version has an equivalent local working file available, whether animation is contained within a fixed area (e.g. a 200x200m grid).
Secondly, a single validator takes the high-level metadata into consideration and contrasts it against a user-created "specification".
Specification
{
  "allowInvertedNormals": false,
  "animationArea": [200, 200],
  "enforceShader": true,
  "preventPerFaceShader": false
}

The specification is stored alongside a (1) user, (2) asset, (3) project or (4) the entire pipeline, where the more specific specifications override less the specific. That is, a level-4 specification enforcing shaders on every single asset may be overruled by a specification made for a particular asset.

@BigRoy Let's move config related issues to here.

This has actually been implemented in Pype with presets. @mkolar

Oh wow, that's great!

It hasn't been implemented as a global validator yet, but all studio customizable settings are collected in a set of json files.


Kernels: 2021-02-10

Motivation for this change
Updates
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@ofborg test kernel-latest kernel-lts latestKernel.login kernel-latest-ath-user-regd

Waiting for the hardened kernel patches

Something is whacky with the rt kernel.
Error: modDirVersion 5.10.14-rt28 specified in the Nix expression is wrong, it should be: 5.10.14-rt27

@ofborg test kernel-latest kernel-lts latestKernel.login kernel-latest-ath-user-regd latestKernel.hardened