netty.io site: Mixed content error

Hello!
Google Chrome blocks some assets at netty.io due to mixed content.
So the markup is a bit broken.
Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'. This request has been blocked; the content must be served over HTTPS.
netty.io/:11 Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css'. This request has been blocked; the content must be served over HTTPS.
netty.io/:1 Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure script 'http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js'. This request has been blocked; the content must be served over HTTPS.
netty.io/:1 Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure script 'http://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'. This request has been blocked; the content must be served over HTTPS.
common.footer.js:1 Uncaught TypeError: $ is not a function
    at common.footer.js:1
    at common.footer.js:27
netty.io/:1 Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'. This request has been blocked; the content must be served over HTTPS.
netty.io/:1 Mixed Content: The page at 'https://netty.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css'. This request has been blocked; the content must be served over HTTPS.

Also it is not http anymore so the link in repository description doesn't work.

sorry for the long turn-around. Fixed by https://github.com/netty/netty-website/commit/5f015d8cb23433f807cf7ecbbdc348b5e4405bd1

Sorry this is a better fix https://github.com/netty/netty-website/commit/6e8204733b96ce712f5f536404da53a295f47ea0


Is there a way to check what stage is set in a task?

Q
A

Issue Type
Question

Deployer Version
4.0.2

Local Machine OS
Windows 7

Remote Machine OS
CentOS 7

Description
Was just wondering if there was a way to check what stage was set when deploying, as I'm using a task that seeds the database, but depending on the stage set, it would have to correctly seed the right data.
Thanks!

stages are available through env and use can use it as below
    if (isTesting()) {
        set('keep_releases', 1);
    } else {
        set('keep_releases', 10);
    }

function isTesting()
{
    $stages = env('stages');
    return reset($stages) === 'testing';
}

Notice that you should use get('stages') instead, env() is gone in 4.x.

Thank you! I've got it working.

But why does input()->hasArgument('stage') return true while input()->getArgument('stage') returns NULL ?
Altogether while var_dump(get('stages')); returns an array with one entry containing the stage i'm curently deploying to...

@klefix looks like a bug. Also i think it will be cool get better API for get('stages') (maybe return all stages instead of only one)


alt text for image switcher slide images

images should have alt text even if that attribute is blank
also added a note in the comment for them to remember to add alt

hey! can you resolve the conflicts here please? :)

sure. I'm not sure why there are any.


Sqlite3 v5

Use<EMAIL_ADDRESS>instead of @4.2.0

@mtxr the aim of this PR is to resolve #858 and maybe #921.
I had also hoped to remove the need for install-time dependency resolution and building (see commit history of the PR), but failed at this so reverted that experiment's three commits.
The branch passed basic testing I performed using the /test/project.code-workspace

Zip of a manual build of the driver VSIX from this PR.
sqltools-driver-sqlite-0.3.1-dev.953.zip


mapping_rate is wrong

@Hego-CCTB num_read_* are unbelievably high, and consequently, no sample survives the mapping rate cutoff in curate. I'll fix this, but did you really test it when you implemented this feature? The problem was introduced by this commit https://github.com/kfuku52/amalgkit/commit/8f3fb6ce8740001aa215acba5965703e5a0e7994

num_read_fastp
num_read_fastp_input
num_read_fastq_dumped
num_read_fastq_rejected
num_read_fastq_written
num_read_unfiltered

2150736821
2158686520
3201205000
984404600
3170890400
3201205000

I have to admit, that is definitely a lack of proper testing on my part. I only checked if there were values being dumped and if the columns where there, but not if they actually make sense.

You seem to have confused the total length with the number of reads. A program only works as you write it, not as you think it should. This is why testing is so important. In fixing this bug, I noticed that the mapping rate can be obtained from kallisto's stdout/stderr, so num_read_* will no longer be used for mapping rate calc from the next version. I'll push it later.

I completely agree with you. That was a lapse of judgment from my side. Kallisto can also produce a .json file, which should contain a mapping rate, in case you don't want to parse STDOUT.

The JSON file would be stable for a longer time. I'll use it. Thanks.

fixed in https://github.com/kfuku52/amalgkit/commit/0d46e6abcf092aff0de2fadcd25e5d9486510827

Quick question: Do we still have a need for updated_metadata, or can we obsolete that now?

I was thinking about the same thing. The number of reads in the fastq files should be logged as it is difficult to calculate later. We should probably keep them as a log file for getfastq in /getfastq/SRR000000.


[1.18, Bug] negative coordinate collision

Collision is scuffed when the player is at exactly y=0
Not sure if this is all negatives, or just exactly there

turns out, this was a precision issue


Consistent Dtypes, Formatting and Dev Install

Contrib I:
Cleaned up package to ensure all JaxArray calls are consistent with objax.types.JaxArray. I did not change the typing in the notebook demonstrations. References #12.

Contrib II:
Ran some formatting with isort and black. I created some Makefiles to help devs with having the necessary packages installed. Later this can be automated with the .github actions. Also, we can also put a short contrib guide using for future contributors.

Contrib III:
Added some key packages to help with devs in the setup.py file. This allows us not to keep extra packages in the requirements files for users who don't need it. One can simple do pip install -e ".[dev]" to install the development packages or pip install -e ".[all]" to install the requirements for everything. In the future, we can have an extra options like "notebooks".

Contrib IV:
I changed the relative-level imports to absolute level imports. It's my preference due to difficulties I have with relative imports in my dev environments. but I can revert the changes if request!

This is excellent. Thanks a lot for sorting all this out @jejjohnson!


Improve client erroring when used without calling client.connect()

I added you to review too early while I was still doing the tests, sorry!


As a user of PlatformIO from libgeopm or libgeopmpolicy, I would like to use the ServiceIOGroup to provide signals/controls from IOGroups that can be loaded in user space

IOGroups should all be modified so that only signals and controls that are actually available are published by the object when the IOGroup is loaded.

This will enable service to provide exactly the signals and controls that the end user does not have access to without the service, but allow faster non-service path when it can be used.
It also avoids the case where a user can load an IOGroup, but fails to read or write in user space for a particular signal or control provided by the IOGroup.  If the signals and controls are published, the ServiceIOGroup will not override them, so the user cannot use the service to succeed with the same IOGroup created by geopmd as user root.

The solution is slightly different than proposed, but #2144 effectively resolves this issue.


Grin Crash

Here is a crash I ran into while using Grin:
Granule> :l examples.gr
grin: Unhandled case: ctxtFromTypedPatterns called with:Span: ((1,1),(2,14))
Type: Box (CVar (Id "p" "p_5")) (Box (CVar (Id "x" "x_4")) (TyVar (Id "a" "a_3")))
Patterns: [PVar ((2,6),(2,6)) (Id "p" "p_1"),PVar ((2,8),(2,8)) (Id "a" "a_2")]
CallStack (from HasCallStack):
  error, called at source/Checker/Patterns.hs:148:3 in granule-<IP_ADDRESS>-FDJWSxlqgZt9Dytny7Mg4c:Checker.Patterns

Here is the example code in examples.gr:
ex : forall (a : Type, x : Nat,p : Nat) . a |x| -> (a |x|) |p|
ex x p a = |a|

I get the same error reported using gr, but Grin shouldn't crash.

This should be a type error because there are too many patterns (you can't pattern match on universally quantified variables). The fix now gives the error:
  Too many patterns.
   Therefore, couldn't match expected type '((a) |x|) |p|'
   against a type of the form '?.0 -> ?.1 -> ?' implied by the remaining patterns
Failed


First Time setPeriodic on PING failes to get canceled

On startup of application and in the first websocket connection the id of the timer set the pinger id is of value zero
code reference:

io.vertx.ext.stomp.impl.StompServerTCPConnectionImpl#pinger:132

@Override
  public synchronized void configureHeartbeat(long ping, long pong, Handler<StompServerConnection> pingHandler) {
    if (ping > 0) {
      pinger = server.vertx().setPeriodic(ping, l -> pingHandler.handle(this));
    }
    if (pong > 0) {
      ponger = server.vertx().setPeriodic(pong, l -> {
        long delta = System.nanoTime() - lastClientActivity;
        final long deltaInMs = TimeUnit.MILLISECONDS.convert(delta, TimeUnit.NANOSECONDS);
        if (deltaInMs > pong * 2) {
          log.warn("Disconnecting client " + this + " - no client activity in the last " + deltaInMs + " ms");
          close();
        }
      });
    }
  }

therefore the pinger which is the id of the timer is of value zero
when closing connection and on cancleHeardbeat the check of pinger >0 fails and the timer is not removed

io/vertx/ext/stomp/impl/StompServerTCPConnectionImpl.java:113

public synchronized void cancelHeartbeat() {
   if (pinger > 0) {
     server.vertx().cancelTimer(pinger);
     pinger = 0;
   }

   if (ponger > 0) {
     server.vertx().cancelTimer(ponger);
     ponger = 0;
   }
 }

Workaround is to create a once off timer at vertx boot:
server.vertx().setTimer(1, id -> LOG.info("Cancelling {} Timer as a Workaround for StompServer", id));

Yes definitely a bug.
It should be initialize to -1 and not 0, and all test need to check whether or not the value is >= 0.


MultiProvider: ChangeNotifier is not selective for consumer

Steps to Reproduce

I like to use multiple ChangeNotifierProviders and consumers to update only parts of my application, in the simplified app only the counter (CountText -> StatefulWidget).
provider: ^2.0.0+1
Problem:
The problem is if I use the notifyListeners the complete app is rebuild and changenotifier is not selective for the consumer,
Print for validation:
----   Scaffold  rebuild? :( ----
---   DescriptionText  rebuild? :( ----   (DescriptionText -> StatefulWidget)
Expected:
I was aspected that only the Counter was rebuild like the uggle way with a function to setstate.

import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MultiProvider(providers: [
      ChangeNotifierProvider<_DescriptionNotifier>(
          builder: (_) =>
              _DescriptionNotifier()),
      ChangeNotifierProvider<_CountNotifier>(
          builder: (_) =>
              _CountNotifier()),
    ],

      child: MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(

          primarySwatch: Colors.blue,
        ),
        home: MyHomePage(title: 'Flutter Demo Home Page'),
      ),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  void _incrementCounterIssue() {
    final nf = Provider.of<_CountNotifier>(context);
    nf.count++;
    nf.notifyListeners();
  }

  void _incrementCounterUggle() {
    final nf = Provider.of<_CountNotifier>(context);
    nf.count++;
    nf.updateSetState();
  }

  @override
  Widget build(BuildContext context) {
    print('----   Scaffold  rebuild? :( ----');
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            DescriptionText(),
            CountText(),
            RaisedButton(child: Text('Issue +'),onPressed: _incrementCounterIssue,),
            RaisedButton(child: Text('Uggle +'),onPressed: _incrementCounterUggle,)
          ],
        ),
      ),
    );
  }
}

class _DescriptionNotifier with ChangeNotifier {

  _DescriptionNotifier();
}

class DescriptionText extends StatefulWidget{
  @override
  State<StatefulWidget> createState() => DescriptionTextState();

}

class DescriptionTextState extends State<DescriptionText>{
  @override
  Widget build(BuildContext context) {
    return Consumer<_DescriptionNotifier>(
        builder: (context, value, child){
          print('----   DescriptionText  rebuild? :( ----');
          return Text('You have pushed the button this many times:');
        });

  }

}

class _CountNotifier with ChangeNotifier {
    int count = 0;
    var updateSetState;
  _CountNotifier();
}

class CountText extends StatefulWidget{
  @override
  State<StatefulWidget> createState() => CountTextState();

}

class CountTextState extends State<CountText>{

  @override
  Widget build(BuildContext context) {
    return Consumer<_CountNotifier>(
        builder: (context, value, child){
          return Text(
          '${value.count}',
          style: Theme.of(context).textTheme.display1,
        );}
        );

  }

  @override
  void didChangeDependencies() {
    Provider.of<_CountNotifier>(context).updateSetState = updateSetState;
  }

  //Uggle way
  updateSetState(){
    setState(() {

    });
  }

}

Logs

Running Gradle task 'assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Syncing files to device Android SDK built for x86...
V/DartMessenger(22931): Received message from Dart over channel 'flutter/platform'
V/DartMessenger(22931): Deferring to registered handler to process message.
V/PlatformChannel(22931): Received 'SystemChrome.setApplicationSwitcherDescription' message.
I/flutter (22931): ----   Scaffold  rebuild? :( ----
I/flutter (22931): ----   DescriptionText  rebuild? :( ----
D/EGL_emulation(22931): eglMakeCurrent: 0xe4f5f600: ver 2 0 (tinfo 0xce90c490)
V/DartMessenger(22931): Received message from Dart over channel 'flutter/platform'
V/DartMessenger(22931): Deferring to registered handler to process message.
V/PlatformChannel(22931): Received 'SystemChrome.setSystemUIOverlayStyle' message.
V/DartMessenger(22931): Received message from Dart over channel 'flutter/platform'
V/DartMessenger(22931): Deferring to registered handler to process message.
V/PlatformChannel(22931): Received 'SystemSound.play' message.
I/flutter (22931): ----   Scaffold  rebuild? :( ----
I/flutter (22931): ----   DescriptionText  rebuild? :( ----
V/DartMessenger(22931): Received message from Dart over channel 'flutter/platform'
V/DartMessenger(22931): Deferring to registered handler to process message.
V/PlatformChannel(22931): Received 'SystemSound.play' message.

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.7.8, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Chrome - develop for the web
[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is not installed
[✓] Android Studio (version 3.4)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

Remark: Toolchain issue is caused by fedora 30, is now in another package.

@JoanSchi did you manage to solve the issue? can you reproduce it using current futter stable and provider 3.1.0?

Hi BondarenkoStas,
With provider 3.10 and flutter 40.0.2 I can still reproduce the issue. I will also file the bug on ...provider/issues. Can you also reproduce it?
(Flutter doctor found no issue)

Solved by listen to false: Provider.of<_CountNotifier>(context, listen: false)


Gitrob analysis on a single repository

Hi,
As per documentation, Gitrob can analyze orgs or users. I have a use case where I want to run this for a particular repository. Does the tool allow this or it only works with orgs and user names?
Thanks,
HG

Hi there,
Currently Gitrob doesn't support analyzing a single repository, but it would be a nice addition to the tool. I will add it to the list of new features to implement.
Thanks!


apiserver: run as non-root user.

Changes the apiserver defaults to listen on port 6443 and use a non-root
user. The port matches the upstream default and reflects best practices.
Production users can put the apiserver behind a load-balancer to forward
443 to 6443.

though the build is failing

You might have a read through https://github.com/poseidon/terraform-render-bootkube/pull/17 where there was some discussion about the repercussions of this change. I'm not opposed to moving toward it, but it necessitates a v0.10.0 imo.

@dghubble yes, v0.10.0 would be prudent, though this is basically just changing the default of an option that has always existed (and updating all the examples to use the new default).
PR tests are very flaky. I'm close to making them better in #784

Do we need to change port at all? Running as non root and  adding CAP_NET_BIND_SERVICE capability in security context should be enough

I did some research on using CAP_NET_BIND_SERVICE in the past. Due to Docker limitations granting it to the user does not work. It must be added to the binary, which would require a modification to the hyperkube image, which upstream will not accept. They recommend using port 6443 which is actually a reasonable stance in my opinion.

Googled,  found your comments :) Can't initcontainer help here? Set capability on hyperkube binary at start time. Hmm, probably  just binding to a non privileged port is easier.


[ObjC] remove grpc_bazel_cpp_ios_event_engine_experiment_tests

zero cases ran according to CI logs:
e.g.:
Executing tests from //test/core/event_engine/cf:cf_engine_test_on_ios
-----------------------------------------------------------------------------
2023-12-09 21:28:59,623 Creating a new simulator:
Name: New-iPhone X-16.1
OS: iOS 16.1
Type: iPhone X
2023-12-09 21:29:00,377 Created new simulator 9958E216-2526-4A95-A70F-8E006D6DB512.
2023-12-09 21:29:01,105 Will consider the test as test type logic_test to run.
Test Suite 'All tests' started at 2023-12-09 13:29:01.708
Test Suite 'All tests' passed at 2023-12-09 13:29:01.709.
	 Executed 0 tests, with 0 failures (0 unexpected) in 0.000 (0.001) seconds
2023-12-09 21:29:01,715 Deleting simulator 9958E216-2526-4A95-A70F-8E006D6DB512 asynchronously.
2023-12-09 21:29:01,720 Done.

All logs in:
https://source.cloud.google.com/results/invocations/f77ffe5d-d5c8-4aea-a54d-80e02c7d54fd/targets/grpc%2Fcore%2Fpull_request%2Fmacos%2Fgrpc_bazel_cpp_ios_event_engine_experiment_tests/log
https://source.cloud.google.com/results/invocations/2a12c3be-1f7c-48af-8a2d-26982a72c04b/targets
https://source.cloud.google.com/results/invocations/2a12c3be-1f7c-48af-8a2d-26982a72c04b/targets/%2F%2Ftest%2Fcore%2Fevent_engine%2Fcf:cf_engine_test_on_ios/log

@sampajano Do you need a separate set of CI tests for the EventEngine client on iOS? Whenever you make the switch, these will become irrelevant. Until then, it seems wrong that no tests are running.

@sampajano Do you need a separate set of CI tests for the EventEngine client on iOS? Whenever you make the switch, these will become irrelevant. Until then, it seems wrong that no tests are running.

Yeah i totally agree that it seems wrong that no tests are running. Or is there other test coverage that's outside of this flag?
@HannahShiSFB Do you know the reason why this flag isn't working as intended to provide test coverage? And whether there is other tests properly providing this coverage?
Thanks!!

ios tests need a obj-c wrapper and use grpc_objc_ios_unit_test target, we already have them (https://github.com/grpc/grpc/blob/master/src/objective-c/tests/BUILD) run in a separate job (https://source.cloud.google.com/results/invocations/89f979bc-cffb-4e78-af5a-4a2a88ca9c3c/targets).
--
For the targets attempted to run in the job being removed in this PR:
https://source.cloud.google.com/results/invocations/2a12c3be-1f7c-48af-8a2d-26982a72c04b/targets
most of them are either not relevant (e.g. //test/core/event_engine/posix:event_poller_posix_test_on_ios) or platform agnostic (//test/cpp/util:byte_buffer_test_on_ios) or e2e tests which ios has its own.
--
It looks like those jobs need to be removed from internal CI, not just by removing the config files.
The other one we want to remove is tools/internal_ci/macos/grpc_bazel_cpp_ios_tests.cfg which is in the same state that runs 0 cases.

Ok that sounds good to me!
@drfloob Do you think that's fair?


Custom pluginManagement fails with empty Gradle cache

I need to use Gradle custom pluginManagement as documented in Gradle Kotlin DSL documentation because some plugin I am using are not yet on Gradle plugin portal (Junit 5 and Spring Boot 2.0.0.M5).
It works when all dependencies are in Gradle cache but fails with an empty cache. It can be reproduced with this branch of my repository (and more specifically my settings.gradle file):
rm -rf ~/.gradle/caches
git clone https://github.com/sdeleuze/spring-kotlin-fullstack.git`
git checkout gradle-cache-issue
./gradlew build

Both Gradle 4.2.1 and 4.3.rc-1 have this issue, probably previous versions as well. This issue is currently preventing me to use Gradle for my upcoming Devoxx BE livecoding.

This fails with:
Resource missing. [HTTP GET: https://repo.spring.io/milestone/com/fasterxml/jackson/jackson-bom/2.9.1/jackson-bom-2.9.1.pom]
Resource missing. [HTTP HEAD: https://repo.spring.io/milestone/com/fasterxml/jackson/jackson-bom/2.9.1/jackson-bom-2.9.1.jar]

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/paul/src/local/gradle/spring-kotlin-fullstack/backend/build.gradle.kts' line: 2

* What went wrong:
Plugin [id: 'org.springframework.boot', version: '2.0.0.M5', artifact: 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (explicit artifact coordinates are not supported by this source)
- maven(https://jcenter.bintray.com/) (Could not resolve plugin artifact 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5')
- maven(https://repo.spring.io/milestone) (Could not resolve plugin artifact 'org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M5')

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s

The resolved plugin has transitive dependencies that can be found in a different repository than the one where the plugin artifact was found. But it seems plugin resolution stick with the repository where the plugin artifact was found and can't resolve the transitive dependencies.

A simple workaround would be to look up the marker non-transitively here.

This has been delivered as part of #3347 and will be included in Gradle 4.4-RC1
See https://github.com/gradle/gradle/commit/46675fb8df66325ce42b6f3af6e62bc5d25ef167#diff-c601f5d1d522fb3c362fd8313e0ddbd7R301
Closing

Thanks!


Add custom resolution support through modeline

Description
Sometimes, setting up a custom resolution not natively supported for your monitor is desirable. Example: when you're using adapters for connecting CRT monitors or projectors using an HDMI-to-VGA or HDMI-to-YPbPr adapters. In other cases it's when you're mirroring the screen using a GPU-hardware-accelerated feature does in Sunshine, setting up a custom resolution is needed.
I want to ask for supporting "modeline" settings, like the existing ones in Sway and X11.
Use case example. Let's suppose that I want to enable the resolution 2560x1080 on a monitor that the connected display does not natively support or not informing at the "edid" the intended resolution.

Using the cvt command line utility, for obtaining the intended modeline.

$ cvt 2560 1080 60
# 2560x1080 59.98 Hz (CVT) hsync: 67.17 kHz; pclk: 230.00 MHz
Modeline "2560x1080_60.00"  230.00  2560 2720 2992 3424  1080 1083 1093 1120 -hsync +vsync

Setting up Hyprland settings file to setup and use the intended modeling:

hyprland.conf
modeline=HDMI-A-1,2560x1080_60.00, 230.00,  2560, 2720, 2992, 3424,  1080, 1083, 1093, 1120, -hsync, +vsync
monitor=HDMI-A-1,2560x1080@60,0x0,1

being the "modeline" options as described:
modeline=<output>,<name>,<clock>, <hdisplay>, <hsync_start>, <hsync_end>, <htotal>, <vdisplay>, <vsync_start>, <vsync_end>, <vtotal>, <hsync>, <vsync>

it's supported, but we forgot to document it.
https://github.com/hyprwm/Hyprland/pull/2254


Improvement on ftp support

Added support of:

custom server port
exists() optionally check modified time
tls support

LGTM

@themalkolm If mtime is provided, then exists() would check against modified time also - it returns False if the modified time is older than mtime. exists() in luigi.target doesn't necessarily mean the file exists but also means it meets some conditions. And because of that, luigi.target.exists() is called implicitly in a lot of places, like in luigi.task.complete().

I understand why it is the way it is. But IMHO mtime in exists overloads the definition of exists and kind of goes the wrong way. It is the beauty of Target that it has only one concept and it is a boolean property exists/does not exist.

Didn't see the mtime thing – it's actually a pretty interesting (ab)use of the API. My gut reaction is that it will probably lead to bad things, but maybe it's actually a good pattern. So I'm fine keeping it in luigi.contrib.ftp and see how well it works out

@erikbern well, it is kind of OK if you remember how Makefile works. So nothing new about this idea. My problems is I think the more luigi-way is to encode time information in the file's name. Using mtime, though, allows you to encode time information in mtime. Two ways to do the same thing.
But OK, lets say it is OK. Using extra mtime here makes ftp target not interchangeable with other targets and this is the problem. Like you will need to implement mtime for other targets as well.

Trying to understand your Makefile analogy – could this potentially be used more generally to pick up which files have changed and re-run dependencies?
It doesn't break the API contract right? The only method a Target needs to implement is exists()

It totally could be used to re-run and stuff. Makefile proved that this is a very good idea. I just think exists() answers a simple question if target exists or not and has nothing to do with mtime. This easily could be my personal misconception.
Adding mtime-like parameters changes the way people can start using luigi. It could be both good and bad. Right now to make luigi run pipeline again you need to make it output e.g. file targets with different names e.g. foo-HH-MM.json for every run. With mtime-like parameters you can easily re-run the whole pipeline on exactly the same file outputs rewriting them when needed.

Here is my opinion on this. A target can be anything that meets some criteria - it could be a FtpRecentRemoteTarget with extra mtime check, or a NonEmptyFileTarget that checks if files exists AND non-empty or MysqlTableRowTarget that checks against mysql table for something.
Agreed some of what @thelinmichael said, the pipeline needs to be re-run. That's why mtime I pass in is the absolute datetime not a relative number of seconds to be calculated against now.
Also agreed that foo-MM-dd.json is optimal output format. But in some cases, especially in ftp cases, there are times that you are dealing with a 3rd-party vendor and you have no control of file name. Hence the change.


Issue 209:  generated a regular expression error when setting markSearchResults

This PR is to fix issue 209 - When markSearchResults: true, searching with * or ( ) generated a regular expression error.
What was happening:

After fix:

@gnbm thanks for your contribution. I will merge it with the next release.


Cloud Bigtable should have a gRPC channel pool

Copying from https://github.com/googleapis/gax-nodejs/issues/163 (I'll close the corresponding google-gax issue):

To avoid hitting single-channel limits, the client should leverage a channel pool.

Please consider this feature request or feel free to close if it's not something you're going to implement. Thank you!

I recall this was added in https://github.com/googleapis/nodejs-bigtable/blob/main/src/index.ts#L452 long ago. Is this what you mean?


New game doesn't load with latest nightly

Hi,
With the latest dev-master, whenever I try to start a new game, it got stuck in the loading screen.
Is there some logs somewhere I can send you to help understanding what happen ? Can it have something to do with the fact that I have the game in French and there are no translation for the french language in your mod (yet) ?
Thanks.

Could also be related to the wrong opening tag at https://github.com/chaorace/cqui/blob/master/cqui.modinfo#L35

Are you still having this issue? I find it strange that it would only not work in French! Has changing that bad tag locally fixed the issue for you?

Last time I tested few days ago (with a manual fix for the bad tag opening), the issue was still present.
First time I tested, I also remember having tested your mod with the game in english without success.

I'll retest tonight with the lasts merged PRs.

Still doesn't work with game in french. I tested with fixed opening tag and full translation in french (for those that are missing from #273, I just copy/pasted the english translations and changed the language to fr_FR).

That's frustrating... let me see if I can get the game to start in French

I've changed my game language to French and successfully loaded a new game in the latest nightly

I am unsure of how to proceed here, since I was unable to replicate. I trust that you're competent enough that it's not just some mod conflict and that the mod is properly installed. If it's not a version conflict, then all I can recommend is deleting CQUI and redownloading it and possibly also checking game file integrity in Steam

I just thought of one thing : I bought the Gold edition, which means I have all the additional officials DLCs that came after the release of the game. I'll try tonight with a vanilla version of the game and let you know.
Besides of that, your mod is the only one I tried to install, and everytime I try to install it, I erase the previous directory and copy/paste the new one.
I'll check the game file integrity, and also try with a fresh config directory.

I have the digital deluxe edition installed, this is what my DLC directory looks like:

Oh. I installed mine in the Mod directory in %appdata%. I'll try install it in the main DLC directory.

Houray ! Installing the mod in the main DLC directory did the trick. Thanks ! I can review my translations now.


Revert "modules: Move nrfx glue code to main Zephyr repository"

This reverts commit 251648afb458b5593bbd8216e6fc169b0a870e92.
Fixes #31436

not fixed after all

not fixed after all


Add dashboard tests

What is this PR for?
This PR is mainly for adding dashboard test files.
This PR includes

Fix problems and rename files for drucker and drucker_client tests
Add dashboard test files
Update README

What type of PR is it?
Testing
What is the issue?
N/A
How should this be tested?
Following the test section on README should be fine. Currently, there is one failure test(TestApiWorker.test_post) but it could be fixed after the refactored Flask app is merged.

We already reviewed this PR in our private repository.

I moved the requirements.txt. Please check!


Implement std::error::Error for TryFromIntError

.. which unfortunately requires std until error_in_core (rust-lang/rust#103765) is stabilized, so the std feature is no longer a no-op. If that means you'd prefer to wait for error_in_core, that's fine with me.
The net result here is that TryFromIntError plays nice with crates such as anyhow, and the following compiles:
#[cfg(feature = "std")]
mod test_anyhow {
    use anyhow::Result;
    use super::*;
    fn testing_anyhow() -> Result<u6> {
        Ok(u6::try_from(u63::new(63))?)
    }
}

The error description is copied verbatim from its std::num counterpart: https://doc.rust-lang.org/src/core/num/error.rs.html#24

To me this seems like it'd be nice, and given that there's already an std feature it seems reasonable to just use it as a gate for this.  Will give a bit longer to see if anyone else has any thoughts.


proposal: database directives

I think we should provide directives that make it easier to work with af.list() and af.object(). Both directives would automatically pipe to async, and the list observable would delegate to NgFor and provide a track by function to automatically track by key.
af.object:
<div *afObject="'/posts/1' as post">{{post.title}}</div>

This directive would synchronize the object located at posts/1, and make the object available as post in the template. The component would not be rendered until post is defined (similar behavior to NgIf). While there are legitimate use cases to render the component before being defined, this behavior is more consistent with how the afList directive would behave since afList wouldn't render items until defined. The developer can always use the af.object() JS API if they need different or more advanced behavior.
af.list:
<div *afList="let post of '/posts'">
  {{post.title}}
</div>

This would essentially desugar to <div *ngFor="let post of af.list('/posts') | async; trackBy: afTrackByFn
We should also expose the AngularFire trackBy function that we'd create in the public API, for folks who'd like to continue using NgFor directly.
See #540 for one example why encouraging trackBy is important.
CC @davideast @katowulf

Love it! This is really expressive and is possibly the quickest way to bind Firebase data to your template.
How do you recommend we handle querying?

<div *afList="let post of '/posts'" [query]="listQuery">
  {{post.title}}
</div>

//component.ts
listQuery: {
    orderByChild: 'size',
    equalTo: 'large'
  }

@davideast maybe something like that?


Improve segmentation of science or fiction

From Xanderox:

Hopefully we can break up the bot's section-making for Science or Fiction, since sometimes there are some meaty discussions about each item.

The biggest hurdle is that we don't know the sequence that Steve will review the items in.
This makes it difficult to split the transcript properly.

Via LLM, we now have the sequence and timestamps for splitting both guesses and reveals.


[cmake] Do not generate the sib targets by default

In this PR, I do a little clean up by grouping the stdlib arguments in ./CMakeLists.txt and more importantly add an option to toggle whether or not we should generate sib targets. I added a default to false since people aren't really using it. This should speed up cmake configuring I think.

@swift-ci clean smoke test

@atrick This was the cmake change I was talking about when I said that I thought I could speed up cmake. (I could be wrong though... but we are creating a bunch of targets).


Alternate file encodings throw UnicodeDecodeError

Describe the bug
Python files that declare an alternate encoding throw a UnicodeDecodeError:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position n: invalid continuation byte
To Reproduce
Steps to reproduce the behavior:

For a file under consideration, add a declaration like  # -*- coding: iso-8859-15 -*-
add a line such as my_string = 'é'
Run deptry

Expected behavior
These files should be parsed correctly.

Thanks for raising the issue. I have not worked with files with alternate encodings before, I will have a look and see if I can reproduce this and fix it tomorrow!

Strange, I just tried to reproduce it but was not able to.
I added the following file and ran deptry:
#!/usr/bin/python
# -*- coding: iso-8859-15 -*-
my_string = """
Ax	NBSP	¡	¢	£	€	¥	Š	§	š	©	ª	«	¬	SHY	®	¯
Bx	°	±	²	³	Ž	µ	¶	·	ž	¹	º	»	Œ	œ	Ÿ	¿
Cx	À	Á	Â	Ã	Ä	Å	Æ	Ç	È	É	Ê	Ë	Ì	Í	Î	Ï
Dx	Ð	Ñ	Ò	Ó	Ô	Õ	Ö	×	Ø	Ù	Ú	Û	Ü	Ý	Þ	ß
Ex	à	á	â	ã	ä	å	æ	ç	è	é	ê	ë	ì	í	î	ï
Fx	ð	ñ	ò	ó	ô	õ	ö	÷	ø	ù	ú	û	ü	ý	þ	ÿ
"""
import foo

deptry succesfully parsed this file and concluded that foo was a missing dependency.
So I think there is also a system-specific issue here? Maybe to avoid this error on all systems, we need to detect and explicitly specify specify the encoding while reading like shown [here](open('filename', encoding="ISO-8859-1")):
open('filename', encoding="ISO-8859-1")

But then we would need to detect the file encoding first.
Anyway, I do not have a lot of knowledge about encodings, so this might take me some time. Would also be good if I can find a way to reproduce this on my laptop. I will dive deeper into this issue tomorrow.

Maybe you are using Windows, where ISO-8859-1 can be an assumed encoding?
System:
OS: Ubuntu 22.06
Language Version: Python 3.10

I'm using macOS 12.31 and Python 3.9.
I think the issue should now be solved in release 0.4.6. From this version, deptry tries to identify the file-encoding before reading it using chardet. Please let me know if this resolves your issue.

I've updated to 0.4.6. New error is UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1498: character maps to
Here is the stack trace:
File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 36, in get_imported_modules_from_file     modules = self._get_imported_modules_from_py(path_to_file)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 51, in _get_imported_modules_from_py     root = ast.parse(f.read(), path_to_py_file)  # type: ignore   File "/usr/lib/python3.10/encodings/cp1254.py", line 23, in decode     return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 1498: character maps to <undefined>

Sorry that the implemented solution did not solve your problem.
It seems that chardet identifies an incorrect encoding for the file. I guess the only possible solution left is to catch this error and log a warning to the user that the specific file will be omitted while scanning for imports, since AFAIK there is no other way to identify the encoding.

@sbywater Would it be possible for you to create a reproducible example? I currently fail to reproduce the error. I am currently thinking of implementing the following:

simply parse the file
If UnicodeDecodeError: guess the encoding, then parse the file
If still UnicodeDecodeError, skip the file.

Which would look as follows.
    def _get_imported_modules_from_py(self, path_to_py_file: Path) -> List[str]:
        try:
            with open(path_to_py_file) as f:
                root = ast.parse(f.read(), path_to_py_file)  # type: ignore
            import_nodes = self._get_import_nodes_from(root)
            return self._get_import_modules_from(import_nodes)
        except UnicodeDecodeError:
            return self._get_imported_modules_from_py_and_guess_encoding(path_to_py_file)

    def _get_imported_modules_from_py_and_guess_encoding(self, path_to_py_file: Path) -> List[str]:
        try:
            with open(path_to_py_file, encoding=self._get_file_encoding(path_to_py_file)) as f:
                root = ast.parse(f.read(), path_to_py_file)  # type: ignore
            import_nodes = self._get_import_nodes_from(root)
            return self._get_import_modules_from(import_nodes)
        except UnicodeDecodeError:
            logging.warning(f"Warning: File {path_to_py_file} could not be decoded. Skipping...")
            return []

But I fail to write a unit test without being able to reproduce the error first.

I can clarify now: the original problem file no longer throws an error. However, under 0.4.6 a file that worked before now throws the  UnicodeDecodeError. The problem file does not declare a file encoding, and includes this code:
my_string = '🐺'
Let me know if you'd like me to create a new issue for this. Your proposed patch looks like a good solution.
Here is a verbose stack trace...
EUC-JP Japanese prober hit error at byte 374 EUC-KR Korean prober hit error at byte 374 CP949 Korean prober hit error at byte 374 Big5 Chinese prober hit error at byte 375 EUC-TW Taiwan prober hit error at byte 374 utf-8 not active SHIFT_JIS Japanese confidence = 0.01 EUC-JP not active GB2312 Chinese confidence = 0.01 EUC-KR not active CP949 not active Big5 not active EUC-TW not active Johab Korean confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.01 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.01 ISO-8859-7 Greek confidence = 0.01 windows-1253 Greek confidence = 0.01 ISO-8859-5 Bulgarian confidence = 0.01 windows-1251 Bulgarian confidence = 0.01 TIS-620 Thai confidence = 0.01 ISO-8859-9 Turkish confidence = 0.6157780896218796 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.01 windows-1255 Hebrew confidence = 0.01 windows-1251 Russian confidence = 0.01 KOI8-R Russian confidence = 0.01 ISO-8859-5 Russian confidence = 0.01 MacCyrillic Russian confidence = 0.0 IBM866 Russian confidence = 0.0 IBM855 Russian confidence = 0.01 ISO-8859-7 Greek confidence = 0.01 windows-1253 Greek confidence = 0.01 ISO-8859-5 Bulgarian confidence = 0.01 windows-1251 Bulgarian confidence = 0.01 TIS-620 Thai confidence = 0.01 ISO-8859-9 Turkish confidence = 0.6157780896218796 windows-1255 Hebrew confidence = 0.0 windows-1255 Hebrew confidence = 0.01 windows-1255 Hebrew confidence = 0.01 Traceback (most recent call last):   File "/home/vagrant/.virtualenvs/foo/bin/deptry", line 8, in <module>     sys.exit(deptry())   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/click/core.py", line 1130, in __call__     return self.main(*args, **kwargs)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/click/core.py", line 1055, in main     rv = self.invoke(ctx)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/click/core.py", line 1404, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/click/core.py", line 760, in invoke     return __callback(*args, **kwargs)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/cli.py", line 198, in deptry     ).run()   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/core.py", line 61, in run     imported_modules = ImportParser().get_imported_modules_for_list_of_files(all_python_files)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 24, in get_imported_modules_for_list_of_files     modules_per_file = [self.get_imported_modules_from_file(file) for file in list_of_files]   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 24, in <listcomp>     modules_per_file = [self.get_imported_modules_from_file(file) for file in list_of_files]   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 36, in get_imported_modules_from_file     modules = self._get_imported_modules_from_py(path_to_file)   File "/home/vagrant/.virtualenvs/foo/lib/python3.10/site-packages/deptry/import_parser.py", line 51, in _get_imported_modules_from_py     root = ast.parse(f.read(), path_to_py_file)  # type: ignore   File "/usr/lib/python3.10/encodings/cp1254.py", line 23, in decode     return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 375: character maps to <undefined>

Weirdly enough, a file with the line my_string = '🐺' is also parsed correctly on my machine. So it is still not possible for me to reproduce the error.
I have decided to release 0.4.7 with the snippet of code of my comment above anyway, since with the knowledge we now have it seems like a bad idea to always use chardet, since most files will be UTF-8 anyway. The only problem is that I am not able to test if it resolves your issue, since I am not able to write a unit test that throws a UnicodeError after using both default UTF-8 and chardet.
Could you try with 0.4.7?

Added a unit test for the warning logging when a file has encoding-issues: https://github.com/fpgmaas/deptry/pull/106

I believe this is fixed with the aforementioned PR

I agree that this is now fixed.

I'm getting this same unicode emoji issue on deptry 0.12.0, Windows 10, Python 3.11.0 ; the file with just my_string = '🐺' in it does not parse correctly, and instead I get this: Warning: File the_wolf.py could not be decoded. Skipping.... Adding a # coding = utf-8 line at the top does not help. (my_string = 'é' is fine, no problem.) The file is encoded as UTF-8. Changing the encoding to UTF-8 BOM, thus adding the UTF-8-encoded BOM, allows the file to be read by deptry just fine. Also, I happen to have WSL installed, and deptry 0.12.0 reads the file just fine when I run it through WSL, so I assume it's the Windows default encoding that is causing this problem to emerge.


Fine tune only the classifier with my own data in ResNet50 +FPN ？

Hello,
I want to fine tune a pre trained ResNet model with my own data. However, I do not want the feature extraction part of the model got affected by my new data. Basically, I want to see the generalization power of my model when applying to different data. I did a short search online and saw that you can set “ frozen_stages = ” in the config file. May I know if I am correct if I set frozen_stages = 4. Will that serve my purpose that will only use my data to train the classifier（the fully connected layers) without changing the feature extraction part?  Thanks a lot !

frozen_stages can only freeze the backbone. If you want to freeze FPN, you may need to modify the FPN code.

(Forget about the FPN for this moment ） Right ! if I now set frozen stage =4， does it mean I am training a new classifier only to fit my different in classes?
But if I now also want to implement FPN, which part of the code I should change/look into? Sorry I am quite new to these. Thanks again !

1 Yes,  frozen stage =4.
2  I check it.  If you want to freeze FPN and Head, you can achieve it by setting optimizer.paramwise_cfg.  For example Retianet:
paramwise_cfg=dict(
        custom_keys={'neck': dict(lr_mult=0.0),'bbox_head.cls_convs' :dict(lr_mult=0.0}....)))

1 Yes, frozen stage =4.
2 I check it. If you want to freeze FPN and Head, you can achieve it by setting optimizer.paramwise_cfg. For example Retianet:
paramwise_cfg=dict(
        custom_keys={'neck': dict(lr_mult=0.0),'bbox_head.cls_convs' :dict(lr_mult=0.0}....)))

@hhaAndroid  Could you introduce the details of the implementation of freezing other structures in Faster RCNN(like freeze RPN and Head), I want to freeze all the parameters except the box classifier and the box regressor while training Faster RCNN(to implement the method of this paper https://arxiv.org/abs/2003.06957 ), how could I do？Look forward to your kind advice, thanks.

1 Yes, frozen stage =4.
2 I check it. If you want to freeze FPN and Head, you can achieve it by setting optimizer.paramwise_cfg. For example Retianet:
paramwise_cfg=dict(
        custom_keys={'neck': dict(lr_mult=0.0),'bbox_head.cls_convs' :dict(lr_mult=0.0}....)))

@hhhhhhx @hhaAndroid
Is it work? anyone can tell me. thanks

1 Yes, frozen stage =4. 2 I check it. If you want to freeze FPN and Head, you can achieve it by setting optimizer.paramwise_cfg. For example Retianet:
paramwise_cfg=dict(
        custom_keys={'neck': dict(lr_mult=0.0),'bbox_head.cls_convs' :dict(lr_mult=0.0}....)))

Hi, thanks for your resolution! I encountered this problem when I set the frozen_stage to 4: 'ResNet' object has no attribute 'layer4'. My part of the modification in my config file is:
model = dict(
    pretrained=None,
    backbone=dict(
        frozen_stages=4 ## freeze 4 layers in ResNet
    ),
    roi_head=dict(
        bbox_head=dict(num_classes=20),
        mask_head=dict(num_classes=20))
    )
load_from = '... .pth'

the config file I inherited is mask_rcnn_r50_caffe_c4_1x_coco.py
Could you pls help me with this? I am new to this too. Thank you in advance! :)


Added SLES15 test to github workflow

What type of PR is this?

[ ] bug
[ ] cleanup
[ ] documentation
[X] feature

What this PR does / why we need it:
This repo says it supports SLES 15 SP2, but there was not a test to verify this claim.  This PR adds a test for the OS.
Testing
This adds testing.

Pulling in main so we can get latest linting fixes, and to get fresh re-run of builds

@dgvigil could you take a look at the SLES 15 test output? It's trying to SSH using ubuntu:ip_address, which means the username isn't being inherited correctly.


perform a missing dealloc() in bootstrap

Unfortunately, this is really just a partial solution to making alloc/dealloc work more widely.  The hook might just be poorly conceived.

Yeah, I did try to improve the syntax but the compiler won this time.


Support PostCSS/processor, similar to rollup-plugin-sass

I need to pass the compiled css through postcss but am not seeing any built-in options. I'll likely toy around with a custom output function to do what I need in the meantime.

Seems doable and will accept a PR for that!

Check out v0.4.0 🎉

Is there an example on how to set this up? I didn’t see any mention of this. Thanks!


[VS] Some syntax highlighting extensions don't work for guests

3rd party Syntax Highlighting extensions, such as Codist, ColorCoder, or CoCo, only function correctly on the computer initiating the sharing session.  Even though the extension is installed on all of the computers that are joining in the sharing session, none of these extensions function and Visual Studio defaults to the syntax highlighting of the color theme while they are viewing shared code.  If they load VS Solutions independently when not joining a Shared session, the syntax highlighting from Codist, ColorCoder, CoCo works correctly.  This is also a problem for extensions such as CodeMaid.  It will not work on Visual Studio while joining a Shared session, only when running stand-alone.
Do these extensions get disabled on all computers "joining" a VS Live Share session?
Thanks.

@VikingAntics Thanks for reporting this! Unfortunately, many extensions in Visual Studio rely on the presence of local files and other state in order to function, which prevents them from fully working in the context of a Live Share guest (where nothing is local).
We're working to improve this experience, since we recognize that many extensions represent core parts of the developer workflow. There isn't currently a workaround for enabling the extensions you mentioned, but we'll use this issue to track progress on enabling them. Thanks!

This is not working for Vetur

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it’s for you.


Setup with jsdom and chai-enzyme

Hello.
I'm trying to add chai-enzyme. When I add import ChaiEnzyme from 'chai-enzyme' several tests are failing with an error:
Invariant Violation: dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering.

I was able to fix it, by making sure that chai-enzyme imported and initiated after jsdom.

I met same issue.
Hard for me to figure this out, since I have already cha-enzyme in my unittesting initialization code. With chai-enzyme imported before jsdom, React component cannot render different type of root element in re-render with the dangerouslyReplaceNodeWithMarkup error message.

The documentation for enzyme covers this case.


Process with command "aspell --encoding utf-8 -a --lang=en_US" has failed running with exit code 1 on Windows

when I create execute of aspell its throw an exception
$spell = Aspell::create();
$response = $spell->check('mispell', ['en_US']);
logger(print_r($response, true));

PHP 8:
Window 10
Laravel 9
xampp

Hello @AmilaPriyankara, thanks for you report.
I haven't tested the lib on windows to be honest, so I'll try to blindly debug it with you.
In tinker, instead of

Could you try var_dump(iterator_to_array($response)))
Also when testing the command line directly, could you try echo 'mispell' | aspell --encoding=utf-8 -a --lang=en_US as it's what is actually executed in the background.
Let me know the output for both please.

Digging a little further, according to https://superuser.com/questions/1496150/configuring-aspell-to-support-utf-8-encoded-texts it seems like --encoding is only supported in aspell 0.60 which is not available on windows.
I'm unsure on how to circumvent the problem to support windows user right now. If you tried anything on your hand, let me know.

I think when you are on Windows, you should try to use the wsl2, then you can run sudo apt-get install -y aspell aspell-en and use this fine.

Closing as project requires aspell < 0.60, you could either use WSL, use Hunspell  instead, or use an up to date aspell


AWS elastic beanstalk support

Hi,
Would it be possible to add the quick-start guide for the AWS elastic beanstalk in the Readme? I've been having some trouble setting it up myself.
Regards

Hi there, sorry for the delayed reply.
I do not have access to a AWS Elastic Beanstalk account currently.  If you are still trying to set this up, please open a new issue with the error you are running into. AWS's Container service is likely a better fit due to the dependencies on other containers.


Doubleclick Search Requests use Unescaped JSON

I've also notified the API team of this.  Not sure if it's more relevant to them or this library.
The problem is that the Double Click search API only accepts unescapped JSON in the request body for http requests.
The documentation here  shows an example like such:
....authenticate your service.....
body = {"Name" : "JSON test", "Comment" : "This is a comment"}
SERVICE = discovery.build(API_NAME, API_VERSION, http=http)
request = SERVICE.reports().request(body=body)
fileResource = request.execute()

The request fails because of the .execute() method or the SERVICE.reports().request([str] body) constructor.
Both the constructor and the method create a catch 22 that keeps the request from succeeding:
The constructor causes the JSON to escape.  Like:
 request.body = {\\"Name" : \\"JSON test\\", \\"Comment\\" : \\"This is a comment\\"}
The .execute() method won't pass an un-escaped JSON sting
The API doesn't see the JSON string if its escaped.
So all requests fail using this library either due to:

API doesn't see the JSON because it's escaped.
.execute() method doesn't pass the JSON string to the request body.

This should probably be fixed in the .execute() method - maybe a parameter for not escaping which can be added during the discovery.build() call.
Anyway, this can also be worked around like:
....authenticate your service.....
body = {"Name" : "JSON test", "Comment" : "This is a comment"}
SERVICE = discovery.build(API_NAME, API_VERSION, http=http)
request = SERVICE.reports().request(body=body)
resp, content = request.http.request(request.uri, method="POST", body=body, headers=request.headers)

Hope this helps

Someone with access to a Doubleclick Agency Manager will need to triage this.  I am assigning to @crwilcox provisionally to indicate this.

This appears to have been resolved. I do not have access to Doubleclick, but have verified that the server is parsing the body with the sample below.
from __future__ import print_function
import pickle
import os.path
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request

# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/doubleclicksearch']

def main():
    """Shows basic usage of the Double Click Search API
    """
    creds = None
    # The file token.pickle stores the user's access and refresh tokens, and is
    # created automatically when the authorization flow completes for the first
    # time.
    if os.path.exists('token.pickle'):
        with open('token.pickle', 'rb') as token:
            creds = pickle.load(token)
    # If there are no (valid) credentials available, let the user log in.
    if not creds or not creds.valid:
        if creds and creds.expired and creds.refresh_token:
            creds.refresh(Request())
        else:
            flow = InstalledAppFlow.from_client_secrets_file(
                'credentials.json', SCOPES)
            creds = flow.run_local_server(port=0)
        # Save the credentials for the next run
        with open('token.pickle', 'wb') as token:
            pickle.dump(creds, token)

    body = {"reportScope": {"agencyId": 1234}, "reportType": "keyword"}
    service = build('doubleclicksearch', 'v2', credentials=creds)
    resp = service.reports().request(body=body).execute()
    print(resp.json())

if __name__ == '__main__':
    main()

Exception:
(env) busunkim-macbookpro1:google-api-python-client busunkim$ python3 doubleclicksearch_v2.py
Traceback (most recent call last):
  File "doubleclicksearch_v2.py", line 40, in <module>
    main()
  File "doubleclicksearch_v2.py", line 36, in main
    resp = service.reports().request(body=body).execute()
  File "/Users/busunkim/github/google-api-python-client/googleapiclient/_helpers.py", line 130, in positional_wrapper
    return wrapped(*args, **kwargs)
  File "/Users/busunkim/github/google-api-python-client/googleapiclient/http.py", line 856, in execute
    raise HttpError(resp, content, uri=self.uri)
googleapiclient.errors.HttpError: <HttpError 400 when requesting https://www.googleapis.com/doubleclicksearch/v2/reports?alt=json returned "Report must have at least one column.">

Reference:

Library Reference Documentation
Discovery document


Monitor elastic cluster health

We should get paged when the elastic cluster health is red or yellow. Riemann has an elastic monitoring tool that could be helpful: https://github.com/riemann/riemann-tools/blob/master/tools/riemann-elasticsearch/bin/riemann-elasticsearch
cc @dlapiduz @sharms @LinuxBozo

Already demo'd as working in production.


Update NRFX to 2.0

This is needed to add support for latest chips from Nordic.

this should be on core :)


 It would be nice to reduce this noise, but it's not very important as it doesn't break the flow.
Steps to Reproduce

Create a organization with a couple of users
Import and share datasets and maps between the two accounts
Delete the organization

cc @juanignaciosl (I just realised that you wanted to be pinged in order to prioritize this)

Ey @ethervoid we fixed this with https://github.com/CartoDB/cartodb/pull/13136 right?

Nope, could be related but they're different issues


Add support for Android Library Modules

This works great on Android App Modules, but the menu doesn't open on an Android Library Module.

+1, It will be nice if the plugin also support the Library module :smile:


Youtube link is not shown in Notes and Recordings section of past meeting materials

See https://datatracker.ietf.org/meeting/interim-2023-tools-11/session/tools
There is an icon in the top right that links to the youtube recording.
There should also be a row for it in the Notes and Recordings section of that view.

I think this line is wrong:
{% if meeting.number|add:"0" >= 80 %}

When I change it to {% if 1 %} I see the desired links.

{% if 1 %} is always True. - it would show links that would not work for, e.g., IETF79.
btw - a permalink into the repo would be better than a cut-paste of a single line.

Thanks for the tip, will try to remember to do that.  My point was that the current if test  seems to be always failing.  And it turns out because it thinks the meeting from your example is interim-2023-tools-11

that's awesome.
Yes, the conditional will have to become aware of meeting type.

(sorry - manage to get the wrong button)


Support specifying decorated fragments inside layout template

One of the nice features of tiles 2 is that you can apply a layout to one or more decorated views inside a centralized location, the tiles-defs.xml. This allows the user to avoid from having to edit each decorated fragment in order to explicitly define which decorator it should use. As a result, the decorator and the decorated become decoupled and one can easily swap out the layout used without editing hundreds of files.
For thymeleaf-layout-dialect, a completely centralized definition would be overkill, but it would be really nice to be able to define which fragments a particular layout should decorate within the actual layout using some sort of wildcarding (see Tiles Wildcards). I don't know exactly how this could be done, but one option would be to use a tiles like wildcard inside the layout:fragment attribute in the layout. Possible example using the readme example:
<!DOCTYPE html>

My website

Page content goes here

My footer

<!DOCTYPE html>

This is a paragraph from content page 1

Hopefully, the xmlns:layout might not even be necessary to use in the decorated views. Instead the regular th:fragment might be sufficient.

Hmm, I don't see myself doing anything about this issue, some 2 years after it was first raised, mostly because I can't figure out a way of overcoming the problem I identified in the last paragraph of my previous reply.
So I'm going to close this as 'not doing', sorry.


Bitwise

Hello, is planned that core/Bitwise works with Bytes instead of Int? Or support both?

There is no plan to have bitwise operations on arbitrary Bytes values, so I will close the issue on those grounds.
That said, I am curious what you are trying to do. Do you need bitwise AND on two arbitrarily sized Bytes values? If so, why?

I was just curious because some cryptographic packages simulates the bytes working with a List Int. Now that we have core support for bytes, they may work with them directly instead of List Int. If that's the case, when doing cryptographic stuff the would use bitwise operations like AND, or XOR directly to the bytes instead of decoding it to a List Int
Examples:

https://github.com/TSFoster/elm-sha1/blob/1.0.1/src/SHA1.elm#L127-L130
https://github.com/ktonon/elm-crypto/blob/5fd42f4a198d98bb4e61ea5f001468d7602d6b4a/src/Crypto/HMAC/Digest.elm#L28
https://github.com/ktonon/elm-word/blob/2.1.2/src/Word/Bytes.elm#L50


invalid character '<' looking for beginning of value

./polygon-edge polybft stake-manager-deploy --private-key *  --genesis ./genesis.json --jsonrpc https://matic-mumbai.chainstacklabs.com/ --stake-token 0x73aCC587D82Ca7770ef3a7CaB4Ba28EF4D53B0B4
log:
Error: failed sending StakeManager contract deploy transaction: invalid character '<' looking for beginning of value
failed sending StakeManager contract deploy transaction: invalid character '<' looking for beginning of value
i can't deploy to  polygon mumbai testnet?

It seems that the provided JSON RPC url corresponds to some node that is unavailable. Could you try with the following one: https://polygon-mumbai.g.alchemy.com/v2/JPxV0ktDGv24NhRucZs0I8s3gvDaclZn


crypto/tls: allow applications to store information in and alongside session tickets

QUIC needs to store and retrieve custom session information, alongside the connection information. This might take the shape of a custom encryption/serialization method that can store information on the side while encrypting/decrypting.
This is related to #25351, #19199, and generally #6379.

A few related commits in qtls:

https://github.com/marten-seemann/qtls-go1-19/commit/9f70f9a58f91b5d2f51b2828ebaa0a05beb7f4af
https://github.com/marten-seemann/qtls-go1-19/commit/b19a055410eb20294869ed7dc27183c7a77ecb76
https://github.com/marten-seemann/qtls-go1-19/commit/0c275b5deaa413ef131c3a976cf404fc07f8b4ac
https://github.com/marten-seemann/qtls-go1-19/commit/b54c844cae129d68f42d907c247e495d16130bb5
https://github.com/marten-seemann/qtls-go1-19/commit/44550bc806c1b26b3f70bc8cffe852dcf8534eea


Check that bulk callables can take values by reference

This was already done for the default implementation of bulk, but not for the static_thread_pool and stream_context customizations.

/ok to test

Thanks!


PaginatedDataTable footer overflows screen

Steps to Reproduce
Run the data_table_demo.dart file and the footer overflows the screen by 62 pixels.
https://github.com/flutter/flutter/blob/master/examples/flutter_gallery/lib/demo/material/data_table_demo.dart
Logs
Run your application with flutter run and attach all the log output.
I/flutter (27497): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter (27497): The following message was thrown during layout:
I/flutter (27497): A RenderFlex overflowed by 62 pixels on the right.
I/flutter (27497):
I/flutter (27497): The overflowing RenderFlex has an orientation of Axis.horizontal.
I/flutter (27497): The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
I/flutter (27497): black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
I/flutter (27497): Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
I/flutter (27497): RenderFlex to fit within the available space instead of being sized to their natural size.
I/flutter (27497): This is considered an error condition because it indicates that there is content that cannot be
I/flutter (27497): seen. If the content is legitimately bigger than the available space, consider clipping it with a
I/flutter (27497): ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
I/flutter (27497): like a ListView.
I/flutter (27497): The specific RenderFlex in question is:
I/flutter (27497):   RenderFlex#19ad8 OVERFLOWING
I/flutter (27497):   creator: Row ← ConstrainedBox ← Container ← IconTheme ← Builder ← DefaultTextStyle ← Column ←
I/flutter (27497):   DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#557c6 ink renderer] ←
I/flutter (27497):   NotificationListener ← PhysicalModel ← ⋯
I/flutter (27497):   parentData:  (can use size)
I/flutter (27497):   constraints: BoxConstraints(w=312.0, h=56.0)
I/flutter (27497):   size: Size(312.0, 56.0)
I/flutter (27497):   direction: horizontal
I/flutter (27497):   mainAxisAlignment: end
I/flutter (27497):   mainAxisSize: max
I/flutter (27497):   crossAxisAlignment: center
I/flutter (27497):   textDirection: ltr
I/flutter (27497):   verticalDirection: down
I/flutter (27497): ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
I/flutter (27497): ════════════════════════════════════════════════════════════════════════════════════════════════════

Run flutter analyze and attach any output of that command also.
Flutter Doctor
C:\Users\Niihau\flutter\bin\flutter.bat --no-color doctor
[√] Flutter (on Microsoft Windows [Version 10.0.16299.192], locale en-US, channel alpha)
• Flutter at C:\Users\Niihau\flutter
• Framework revision 8f65fec5f5 (5 weeks ago), 2017-12-12 09:50:14 -0800
• Engine revision edaecdc8b8
• Tools Dart version 1.25.0-dev.11.0
• Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e
[√] Android toolchain - develop for Android devices (Android SDK 27.0.2)
• Android SDK at C:\Users\Niihau\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] Connected devices
• Samsung Galaxy S7, 7 1 0, API 25, 1440x2560 • <IP_ADDRESS>:5555 • android-x86 • Android 7.1.1 (API 25)
Process finished with exit code 0f

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

That did solve the issue. Thanks!


Stream forcefully closed error

Hello,
first of all many thanks for the great package!
I just tried the code snippet that's shown in the README, but whenever I execute it, I get the following error:
    client.send_notification(token, payload)
  File "/usr/local/lib/python3.4/dist-packages/apns2/client.py", line 38, in send_notification
    stream_id = self.__connection.request('POST', url, json_payload, headers)
  File "/usr/local/lib/python3.4/dist-packages/hyper/http20/connection.py", line 281, in request
    self.endheaders(message_body=body, final=True, stream_id=stream_id)
  File "/usr/local/lib/python3.4/dist-packages/hyper/http20/connection.py", line 546, in endheaders
    stream = self._get_stream(stream_id)
  File "/usr/local/lib/python3.4/dist-packages/hyper/http20/connection.py", line 289, in _get_stream
    raise StreamResetError("Stream forcefully closed")
hyper.http20.exceptions.StreamResetError: Stream forcefully closed

Does anyone have an idea what I am doing wrong here?
Many thanks!
Have a nice day,
Bernhard

maybe your push cert is wrong

@yichengchen Many thanks for your reply! You were completely right, that was the issue.
Does it make sense to add a line or two to the README file that describes how to create a working *.pem file? I know, that's usually something that the Apple documentation should cover, but it looks like that I am not the only one that is/was struggling with that:
http://stackoverflow.com/questions/41211416/im-not-able-to-find-any-information-on-this-error-im-seeing-streamreseterror
https://github.com/Pr0Ger/PyAPNs2/issues/7
Another thing I noticed is, that I needed to change the following line
client.send_notification(token_hex, payload)
and add my bundle identifier topic parameter:
client.send_notification(token_hex, payload, topic=com.example.example) Without the tokenparameter I was always getting aTopicMissing` exception.
Did I do something wrong here or is that missing in the documentation?
Have a nice day,
Bernhard

About creating certificates: I'm not sure it should be in the README file because there are a lot of different cases when push certificate is created: it can be usual pushes, VoIP pushes, web site pushes, pushes for WatchKit complications; covering all of these will be probably a huge paragraph. And there are different ways of generating it, as I already told in mentioned issue I use pem tool for creating certificates, but I don't want to impose it by mentioning in README.
About passing topic: Apple documentation states that we can omit apns-topic header in some cases, that's why I made it optional. But almost always it's a required field, so current version (available in master branch) have this field as required.

I also encountered the same problem, how can I solve it?


add auth token to zip service

Description
To allow the zip-service full evaluation of data access permissions the JWT seems not to be sufficient
Motivation
In order to allow the zipservice access to the dataset api, the auth token is required, the jwt was not sufficient in this case.
Probably the use of a 'simple form' should also be replaced with an ajax post request, I'll look into this.
Fixes:

add the auth token to the passed data

Tests included/Docs Updated?

[ - ] Included for each change/fix?
[ X ] Passing? (Merge will not be approved unless this is checked)
[ - ] Docs updated?
[ - ] New packages used/requires npm install?
[ - ] Toggle added for new features?
[ - ] Requires update of SciCat backend API?

the downloader can be found here: https://github.com/bpedersen2/mlzscicatdownloader

Have you checked if the new parameter impacts the official zip service?

Should not have an impact, as the JWT is still passed the same way.

Also, can we add a config parameter, so this feature can be disabled? I envision that some people do not want to use it. Thanks

Yes, that should be possible. But I fear the original downloader has the same problem.

Thanks for taking the time to answer.
Please add the config parameter to enable/disable such feature and I will approved.

Feature flag add (defaults to false to be fully backwards compatible).


Moore machines

Hi,
I am trying to generalise some code to Moore machines. But I'm stuck at an quite early stage. Here is some code which works for DFAs. (Similar code works for Mealy.)
        CompactDFA<String> target = ...;
        MembershipOracle<String, Boolean> mqOracle = new DFASimulatorOracle<String>(target);

Trying to generalise to Moore machines gives:
        CompactMoore<String, String> target = ...;
        MembershipOracle<String, String> mqOracle = new SimulatorOracle<String, String>(target);

But this results in a compiler error:
Error:(40, 89) java: incompatible types: net.automatalib.automata.transducers.impl.compact.CompactMoore<java.lang.String,java.lang.String> cannot be converted to net.automatalib.automata.concepts.SuffixOutput<java.lang.String,java.lang.String>

Is there an easy way to work around this? Or should I redo a lot of work specifically for Moore machines?

Hi Joshua,
the SimulatorOracle requires a delegate SuffixOutput automaton to answer the queries. When you look at the type hierarchy, CompactMoore (or MooreMachines in general) implement/extend the SuffixOutput<I, Word<O>> interface, because they "answer" the input word with the complete output trace. So the correct type would be
CompactMoore<String, String> target = null;
MembershipOracle<String, Word<String>> mqOracle = new SimulatorOracle<>(target);

If you want a DFA-style membership oracle which answers queries with the last, n-dimensional output symbol, you can wrap your oracle in a SymbolOracleWrapper. This wrapper is currently hidden behind the MealyUtil#wrapWordOracle method. To be fair, the naming is a little bit misleading (because MooreMachines and -oracles aren't yet first-level citizens in LearnLib), but the implementation also works for Moore semantics.
Kind regards,
Markus
On Mon, Jul 27, 2020 at 07:52:57AM -0700, Joshua Moerman wrote:

Hi,
I am trying to generalise some code to Moore machines. But I'm stuck at an quite early stage. Here is some code which works for DFAs. (Similar code works for Mealy.)
        CompactDFA<String> target = null;
        MembershipOracle<String, Boolean> mqOracle = new DFASimulatorOracle<String>(target);

Trying to generalise to Moore machines gives:
        CompactMoore<String, String> target = null;
        MembershipOracle<String, String> mqOracle = new SimulatorOracle<String, String>(target);

But this results in a compiler error:
Error:(40, 89) java: incompatible types: net.automatalib.automata.transducers.impl.compact.CompactMoore<java.lang.String,java.lang.String> cannot be converted to net.automatalib.automata.concepts.SuffixOutput<java.lang.String,java.lang.String>

Is there an easy way to work around this? Or should I redo a lot of work specifically for Moore machines?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/LearnLib/learnlib/issues/72

Hi Markus,
Thanks for the clarification! I have always considered DFA and Moore to be similar, so I didn't occur to me that the output for CompactMoore would be a word. I guess using words instead will also work fine in my case. (If not, I will try the SymbolOracleWrapper.)
Is there an overview of all the (basic) classes somewhere? I know that my java IDE will probably be able to do that, but I am not too familiar with java tooling. When looking at the superclasses / interfaces for CompactMoore, it is actually really hard to find SuffixOutput, it takes 4 steps to come to that conclusion...
Thanks again!
Joshua

Hi Joshua,
usually the trace-semantics of Moore (and Mealy) machines prove beneficial in learning because they contain more information. Take for example the following observation table:

ab

u
xz

v
yz

By using the complete suffix output, you can already differentiate between the two states. If you only use the last (state) output, you would need a second discriminator.
Regarding the type hierarchy, I agree that it may be overwhelming at first because it is quite complex. But once you get used to it, it actually feels nice because it allows you to pick only the concepts you need, which is especially useful when designing own automaton types.
Due to this complexity, we don't have a manually maintained overview of the types. My best bet would be to use one of your IDE's type hierarchy features. For example, in IntelliJ you can explore the supertype hierarchy of a base class (e.g. CompactMoore) or the subtype hierarchy of a general interface (e.g. UniversalDeterministicAutomaton). If you select a class you can find it under Navigate > Type Hierarchy.

Hi Markus,
I got it working, finally. I have specialised the AbstractExtensibleAutomatonLStar<A, I, D, S, T, SP, TP, AI> type for Moore machines. I had to take D = Word<O> and SP = O, which was slightly confusing me at first. Thanks for the help!
About the suffix words: That is indeed a good point. But you can just as well take the set of columns to be suffix-closed (which was the case for the original L* algorithm). That will have the same effect. I believe one optimisation (by Rivest and Schapire?) was to actually not take a suffix closed set. Will this optimisation have no effect in the Mealy case?
Do I understand correctly that the learning algorithms for DFA and Moore machines with Boolean output will work differently because of this?
About the type hierarchy: Yes that helps a little. But unfortunately the information on generics is then missing. I guess there is currently no good way to represent all that information, given the size of the project.

The (internal) learner classes are indeed on another level, because they need to marry the automaton types with the oracle types, etc. But glad to hear that you managed to figure it out.
For this particular case the suffix-closedness wouldn't help you, because it is the response to a that distinguishes the two states. So here, a prefix-closed set of discriminators would help (I believe Kearns & Vazirani investigated this approach).
In the end, I don't think it makes that much of a difference for the learning result itself, because the baseline for all (or most) AAL algorithms is to infer a complete and correct hypothesis anyway (given complete counterexamples).
What adds the spice to AAL in my opinion are the different kind of models that can be inferred and the performance of different learners (e.g. why use all suffixes if also a few discriminators do the job?). Here, I think, the more information you can extract from your systems, the more performance you can gain. I would argue that a DFA-style Moore machine (i.e. with boolean output) would on average require fewer membership queries than its DFA equivalent, because you can store more information (output words) in e.g. the observation table.  But especially for reactive systems, one usually has these mechanisms available.

You are absolutely right, my mistake. Thanks again for clarifying!

Is this issue resolved for you then?

Yes, thanks!
I also got a version working with only the last symbol (not the suffix). But that was way more involved.

Great to hear. Just for future reference: If you have any questions regarding the usage of LearnLib (or AAL in general) feel free to use our Q&A mailing list so that we can keep the issue tracker on GitHub for code-related issues.
Cheers


Key Bindings (Shortcuts) not working on 64 bit Windows

Many of the listed key bindings or shortcuts do not work under 64 bit windows.  Ctrl-T or Shift-Ctrl-P are a couple of examples but there are many more that do not work.

This issue is a duplicate of #3131


Move ComputePodChanges to the Docker runtime

Depends on the refactoring in #7479. Split into two PRs for ease of review.
/cc @yujuhong @dchen1107 @yifan-gu

Correct me if I am wrong. Prober is only used in dockertools/manager, so eventually we will create the prober there, instead of in the kubelet?

The Prober will be used by other runtimes too so it will probably be created by Kubelet and injected into the runtimes.

I was thinking that each runtime can create its own prober, so that kubelet doesn't have to create and pass the runner. Since kubelet uses runner for other purposes, this seems fine to me. Thanks for clarifying.

Yes, Travis is green finally :)

LGTM! Thanks @vmarmol !


3d convnet features

It seems that nervanagpu backend support 3d convolution but neon does not. Can you add these features to neon?

They will be added later -- in the meantime, you can follow the template of how the current Conv layers are implemented and input the 3 dimensional parameters in there.

I see. Thanks!

I found it's very difficult to debug when nervanagpu kernel crashed.
So I'm looking forward to the official implementation.

Seems I introduced a bug in 3d conv with some recent convolution changes.  A fix is already in and will be released soon.  We'll have better unit tests for 3d conv as well.

Hi,
Just realized we forgot to close this.  Support for 3D convolution exposed at the layer level was introduced way back in da492cd4 from last October.

Wow, thanks!


"Find in Folder" finding matches outside of folder

VSCode Version: Code - Insiders 1.15.0-insider (ae73f8ee6f8ddb87b5e30d31655d9f55a53f4a95, 2017-07-26T07:37:19.081Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

ng-template
Ang
0.1.4

code-settings-sync
Sha
2.8.2

sort-lines
Tyr
1.3.0

html-snippets
abu
0.1.0

Bookmarks
ale
0.15.2

project-manager
ale
0.18.1

path-intellisense
chr
1.4.2

vscode-eslint
dba
1.2.11

tslint
eg2
0.17.0

Angular2
joh
2.4.0

ecdc
mit
0.10.3

HTMLHint
mka
0.3.3

vscode-autoprefixer
mrm
2.0.0

vscode-stylefmt
mrm
2.4.1

angular2-inline
nat
0.0.17

stylelint
shi
0.28.0

change-case
wma
1.0.0

(4 theme extensions excluded)

Steps to Reproduce:

Right-click a folder in the Explorer tree.  Here, I right click "Examples" and choose "find in folder".

I search for abc. and set replace with to ctrl.

It shows all the matches but also matches found items in addressblocks.html which is NOT in the "Examples" folder.  You can see the path.

Is the file open? It may be included anyway in that case, due to https://github.com/Microsoft/vscode/issues/29658

Indeed it was.  This bug is affecting me too, apparently.


Where did conversation history go? Where did the message I typed go? Why no sane provider defaults? Why no OpenAI-like providers?

Yeah, I gave this another try because Matt Williams said to on youtube.
I do like this extension, especially the way the chat can be triggered by highlighting and choosing an option.
Not to mention, it is capable... And fast.
Now that it is working, there are things that don't work right.
Am running on latest VSCode on Ubuntu. Extension version is v3.17.30.
(1) No history is stored or displayed, but there is a page for it.
No matter what, conversation history is always empty. Couldn't find a setting to affect this either. There are no console log errors to speak of.
(2) Template page never remembers what was last selected. Feels really brittle... There is no Save button. Selections disappear when i come back in to the extension.
(3) If i have a chat, and then close the side bar, everything is lost... The chat is gone when i re-enter the extension... Like it never happened. Related to (1) above, but in relation to the last opened convo...  Right now, it is the roughest of rough.
(4) The most annoying of all is that No matter the conversation being lost, the last text i entered and never sent is lost. Not stellar.
(5) The code completion is out of this world WRONG about every suggestion. Am I doing something wrong? Tried all sorts of models, including ollama and openrouter everything. The output is completely off point, every time.
(6) Why does a user have to choose a provider if you ALSO make the user enter the api endpoint? Do you know how frustrating that is? Why not take the extra hour or so to infer those based on provider. Ollama embedding and chat completion endpoints are set in stone, so are all the others, pretty much. Or just make it not a required field and use a default if no override is set. So painful.
(7) Why no providers to be able to use OpenAI-like APIs?  To use OpenRouter or anything else with this just becomes a burden. I understand the "sticker" says "privacy", but isn't that at the discretion of the people who input the settings? I don't like an app making that decision for me 100%.

Hello and thank you for the detailed feedback.
I want to be clear and upfront that this is an open-source project I maintain in my free time. While I aim to make it useful, I can't provide the same level of support as commercial products.
Regarding your issues:
Although I cannot be sure the conversation history/storage issues sound like a permissions problem. The extension needs write access to store data to the global VSCode storage API. This works fine for other users (including myself), I'd recommend checking VSCode permissions, other than that I don't know.
For FIM and code completion: "base" or "code" models tend to work most of the time not instruct models. Here's the docs which explains tested and working models.
https://twinnydotdev.github.io/twinny-docs/general/supported-models/
For providers and API setup, yes the setup is manual. Could I pre-configure everything? Sure. Will I? Probably not. I built this thing to be adaptable because I'm too lazy to pre-configure everything and keep up with all the new providers.
With all that being said: You're welcome to:

Try to troubleshoot (sharing error logs would help)
Submit a PR if you want to improve something
Try other VSCode AI assistants if you need something more polished

All the best!

RE: History - I am also seeing this - but I do not see any way to grant the plugin to the mentioned Storage API. I do not see any options for that in the plugin options or in VSCode? Can you please document how we are supposed to do this?
Is this possibly a bug specific to VSCodium?


Include message when triggering content preferences are updated by users

Summary
Users have the option of toggling to allow them to see more content which may be triggering. The stories automatically update but this is confusing because people are not always aware the viewable content has changed.
What needs to be done?

[ ] Include a simple clear confirmation message once changes have been made to the triggering content toggles (e.g. "you have successfully changed the stories you would like to view and stories containing, x, y, and z are now visible.)

Closing this one as it's a duplicate of #606 🙂


Are the API routes still valid?

Hi all,
Trying to access the api based off the doc specification but apart from the
POST /api/auth/login && GET /api/websites - everything else on that documentation page returns a "404Not Found"
Any advice / new documentation that could assist would be greatly appreciated.
Cheers,
Alex.

Duplicate of https://github.com/umami-software/umami/issues/1632


Failed to find wallet-adapter-react-ui/styles.css'

Guys pls help with poin of sale app
parcel/transformer-postcss: Failed to find<EMAIL_ADDRESS>in [ /user/solana-pay/point-of-sale/src ]
Error: Failed to find<EMAIL_ADDRESS>in [
/user/solana-pay/point-of-sale/src

Hmm, issues like this are typically due to not having installed the dependencies.
Can you try again, and make sure to follow these steps precisely? https://github.com/solana-labs/solana-pay/tree/master/point-of-sale#getting-started

Closing since I think this is an installation issue, but please comment if you're still seeing it.

Yes you was right. I miss this manual. Now all good. Thank you.
But tell me pls where i can join to some dev community to be in touch with you guys online.
Right now i try to connect a merchant to our platform and i need some advices and help.

Check out the #solana-pay channel in the Solana Discord!

There are some problem with a join to discord. There area thread on forum
with a 40 posts.
Can you help me with a joining please.
My discord: navysol9#5191
On Fri, Feb 4, 2022, 21:11 Jordan Sexton @.***> wrote:

Check out the #solana-pay channel in the Solana Discord!
—
Reply to this email directly, view it on GitHub
https://github.com/solana-labs/solana-pay/issues/52#issuecomment-1030104369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IJJ5AKSZS7VPXBMYT55DUZPXSRANCNFSM5NOXYJ4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Solana Discord: https://discord.com/invite/solana
Once you join, use the #roles channel to select the Developer role. Then enter the #solana-pay channel.


[Enhancement] set starlet cache thread_num in BE

add be config, be able to change thread pool size in starlet

What type of PR is this：

[ ] BugFix
[ ] Feature
[X] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[X] I have checked the version labels which the pr will be auto backported to target branch

[X] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run starrocks_admit_test

@Mergifyio backport branch-3.0


AM0007: Validate installMode type in metadata

Update AM0007 to also validate the installMode type in the metadata. This check ensures that the metadata only supports AllNamespaces and OwnNamespace install mode now that SingleNamespace has been completely dropped from managed-tenants.

@mayankshah1607 all looks good to me except one question.
In this migration, are we fine with just ensuring that spec.InstallMode is one of AllNamespaces/OwnNamespace or do we also want to enforce that even under spec.InstallModes, all the items correspond to only AllNamespaces/OwnNamespace?

@yashvardhan-kukreja For now I think it's enough to just validated that the InstallMode in the metadata is one of AllNamespace/OwnNamespace

I'd suggest that for the very least, we should enforce that under spec.InstallModes, there shouldn't be supported: true against any mode apart from AllNamespaces/OwnNamespaces.
For that, we can edit the following method to this:
func isInstallModeSupported(installModes []operatorsv1alpha1.InstallMode, target string) (bool, string) {
	var allSupported []string
	targetSupported := false
	for _, im := range installModes {
		imType := string(im.Type)
		if im.Supported {
                         if indexOf(im.Type, validInstallModes) == -1 {
		                return false, fmt.Sprintf("One of the installModes %v is not supported. CSV only supports these installModes %v.", imType, validInstallModes)
	                }
                        allSupported = append(allSupported, imType)
		}
		if imType == target {
			targetSupported = im.Supported
		}
	}
	return targetSupported, fmt.Sprintf("Target installMode %v is not supported. CSV only supports these installModes %v.", target, allSupported)
}

I am happy with this PR too so it's your call to create a new PR for this suggestion or update this PR itself :)

there shouldn't be supported: true against anytype apart from AllNamespaces/OwnNamespaces

We could have this check, but it doesn't really matter. The metadata will not allow SingleNamespace, so if the CSV contains supported: true for SingleNamespace, the mismatch will be caught by this validator anyway.


🐛 Fixes of Main page & Contributor page

Title and Issue number

Title : 🐛 Bug fixes of Main page & Contributor page
Issue No. : #1284
Tech Stack : HTML, CSS, Javascript
Close #1284

Type of PR

[X] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Add WEB3 project
[ ] Other (specify): _______________

Video (mandatory)
METAVERSE-1248.webm
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have gone through the  contributing.md file before contributing
[X] I have Starred the Repository.

Checklist:(In case of Adding New WEB3 project only)

[ ] I have made my Commits(of new project) under the  Projects folder
[ ] I have created a helpful and easy to understand README.md
[ ] i have added the image of my project under asstes/img folder

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[X] I'm a GSSOC'24 extended contributor
[X] I'm a Winter of Blockchain(WOB'24) contributor
[X] I'm a Hactoberfest'24 contributor

Attached will show you that the bugs have been fixed & there are no merge conflicts any more.
I found two bugs in the main page project Data not accessing, and the contributors page not properly.
I have fixed both these bugs in this one PR. Can this PR be level 3 @apu52
Please review it, and assign it to me

@apu52 can you review this PR and add proper labels to it.

@apu52 check it now

okh


docs: update angular quickstart

:tada: This PR is included in version 0.116.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix jsonpath

This change is

I signed it!

Looks like the CLA bot thinks you haven't signed still. Any idea why?

I actually haven't by the time I posted my comment, but it seems your comment triggered a new check.
All good now?


feat: Add ACIR serializer C++ codegen

Description

Problem*

Resolves
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

The breaking bump in bincode may be unnecessary. Checking now

The breaking bump in bincode may be unnecessary. Checking now

I remember fiddling with it and to get the same behaviour I had to bump the version and use "legacy" mode

I've added some docs on what these tests mean and how to regenerate the codegened files.
I think it would be a good idea to assign some codeowners to the codegen folder to avoid breaking changes being made to the serialisation without some thought going into it.

I've added some docs on what these tests mean and how to regenerate the codegened files.
I think it would be a good idea to assign some codeowners to the codegen folder to avoid breaking changes being made to the serialisation without some thought going into it.

We can add you and me initially and or anyone else who knows how to update bb


Master Bot Lagged

When i did a wiki !addwiki ur bot lagged it sended two times without saying !addwiki two times i just said 1

This related issue can be resolved with Ticket Support available in our Support Server.


Add third param to installScript in order to overwrite scripts

Sometimes, we would like to overwrite the scripts added from git-validate as we're changing those scripts. So, it would be great to have a third param to installScript in order to overwrite the script. :) Btw, good work with the package!

Reading the code I see that it has already a third param. :) It would be great to add this info in the docs.


plots: standardise across DVC/Studio/VS Code

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.
🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.
Please choose to allow us to edit your branch when creating the PR.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Part of https://github.com/iterative/dvc/issues/9940.
Docs change for https://github.com/iterative/dvc/pull/9931.
I will need to update /img/dvclive_exp_tracking_plots_diff.svg with a new image (consider all images on https://dvc.org/doc/user-guide/experiment-management/visualizing-plots).

The build is failing due to the lint issue fixed by #5004.