Bug Fix: Rouge useEffect() draining Infura requests

Not sure where the problem lies but Infura requests are getting drained and this is likely a useEffect constantly polling data.

We should press the migration to typescript, eth-hooks with typescript, and move out components in a package for better readability of the code because at the moment it's really difficult to understand where the problem is.
Also creating sub-components instead of having only one giant app.jsx can cause re-render problems. When a parent components re-render all the child components (and child-of-child components and so on) rerender and it can cause these kinds of issues.
I had only a little time to review the code but for example having const purpose = useContractReader(readContracts, "YourContract", "purpose"); and const setPurposeEvents = useEventListener(readContracts, "YourContract", "SetPurpose", localProvider, 1); seems to be causing a lot of calls to Infura. I need to deep dive a lot more but it's not an easy task.

Let's make sure we fix this in the new stage branch (cc @ShravanSunder) rather than trying to fix or edit anything on Master. I am happy to pick this one up

@azf20 I gave a fast overview of the useContractReader and I don't think that the code/logic on the stage branch has changed. I think that @ShravanSunder on the eth-hooks project (typescript branch) has just moved the same code to typescript and nothing else, right?

Proposed initial fix here https://github.com/austintgriffith/eth-hooks/issues/23

This was done in eth hooks already. @austintgriffith  let me know if you encounter it again and we can reopen it?

@ShravanSunder can this be closed?

@ShravanSunder can this be closed?
as far as i know yes. thanks for checking in


More unit tests

Send functions tested with mocks resulting in twice as high code coverage. More negative tests are needed.

Codecov Report

Merging #2 into master will increase coverage by 23.41%.
The diff coverage is 42.85%.

@@             Coverage Diff             @@
##           master       #2       +/-   ##
===========================================
+ Coverage   35.93%   59.34%   +23.41%
===========================================
  Files           4        4
  Lines         128      123        -5
===========================================
+ Hits           46       73       +27
+ Misses         82       50       -32

Impacted Files
Coverage Δ

pdfebc/main.py
0% <0%> (ø)
:arrow_up:

pdfebc/utils.py
92.59% <100%> (+54.88%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a3cd2a...5c00f7c. Read the comment docs.


Successful form validation?

Do you know if/how it is possible to use the "has-success" similarly to how "has-error" works now?  The user starts typing and once all validation passes it turns green.  I don't seem to see anything on it anywhere.  Any help would be appreciated!
http://getbootstrap.com/css/#forms-control-validation

You are correct, currently there is nothing in the BMVC .js file that puts class has-success on form-group. However, this is the javascript responsible for dealing with it (lines 6-19 of TwitterBootstrapMvc.js file):
if ($.validator && $('form').length > 0) {
	$('form').each(function () {
		$(this).validate().settings.highlight = function (element) {
			$(element).closest('.control-group').addClass('error');
			$(element).closest('.form-group').addClass('has-error');
		};
	});
	$('form').each(function () {
		$(this).validate().settings.unhighlight = function (element) {
			$(element).closest('.control-group').removeClass('error');
			$(element).closest('.form-group').removeClass('has-error');
		};
	});
}

You can tweak it a bit easily.


[feat] Create <rh-progress-stepper>/<rh-progress-steps>

Description
We have an existing design for progress steps in RHDS, but we may want to update it before it's built in the repo.
Things to consider:

What needs to be updated in this design? (Example: adding icons into the little circles)
How does this work against backgrounds that aren't white or gray/black? Do we need another variant? (The Summit 2024 interactive quiz is an example of a design that needed progress steps but ran into issues with the colors.)
Should the name be changed from progress steps to progress stepper?

Examples:

PatternFly Elements: <pf-progress-stepper>
PatternFly v5: progress stepper
PatternFly v6: progress stepper

Acceptance Criteria

[ ] Design done
[ ] Development done

Images
No response
Design file
No response
Other resources
No response

@markcaron @hellogreg, should this be in the Cubone or Diglett milestone?

@marionnegp Cubone works. We should have enough lead time to make that deadline.


TLS not working as expected

Hi there,
sorry for bothering. We are using a setup as follows to log messages from one Kubernetes Cluster to a graylog instance on another
fluent-bit -> TLS -> fluentd -> graylog
Sadly this time, there are a lot of errors causing the fluent-bit instances to fail conenct to fluentd, only if ths is activated.
The TLS related errors are as follows:
...
2021-08-18 04:10:06 +0000 [error]: #0 unexpected error error_class=Errno::ENOTCONN error="Transport endpoint is not connected - getpeername(2)"
  2021-08-18 04:10:06 +0000 [error]: #0 suppressed same stacktrace
/fluentd/vendor/bundle/ruby/2.6.0/gems/gelf-3.0.0/lib/gelf/notifier.rb:65: warning: constant ::Fixnum is deprecated
#<Thread:0x00007f643221eec0@event_loop@/fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/thread.rb:70 run> terminated with exception (report_on_exception is true):
/usr/local/lib/ruby/2.6.0/openssl/ssl.rb:239:in `peeraddr': Transport endpoint is not connected - getpeername(2) (Errno::ENOTCONN)
        from /usr/local/lib/ruby/2.6.0/openssl/ssl.rb:239:in `peeraddr'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:713:in `rescue in try_tls_accept'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:696:in `try_tls_accept'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:726:in `on_connect'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/server.rb:41:in `on_connection'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/listener.rb:46:in `on_readable'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run_once'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
/fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:697:in `accept_nonblock': Connection reset by peer - SSL_accept (Errno::ECONNRESET)
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:697:in `try_tls_accept'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/server.rb:726:in `on_connect'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/server.rb:41:in `on_connection'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/listener.rb:46:in `on_readable'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run_once'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/cool.io-1.7.1/lib/cool.io/loop.rb:88:in `run'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
        from /fluentd/vendor/bundle/ruby/2.6.0/gems/fluentd-1.13.3/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
...

I just cant't figure out what is causing the problems, mabye somebody is able to help?
The following config is used:
fluentd (fluentd-kubernetes-daemonset:v1.13.3-debian-graylog-1.1)
<system>
  log_level error
</system>

<source>
  @type forward
  bind <IP_ADDRESS>
  port 24224

  <security>
    self_hostname "#{ENV['FLUENTD_SELF_HOSTNAME']}"
    shared_key "#{ENV['FLUENTD_SHARED_KEY']}"
  </security>

  <transport tls>
    cert_path /fluentd/certs/fluentd.crt
    private_key_path /fluentd/certs/fluentd.key
    private_key_passphrase "#{ENV['FLUENTD_PRIVATE_KEY_PASSPHRASE']}"
  </transport>
</source>

<filter kube.**>
  @type record_modifier
  char_encoding utf-8
</filter>

<filter **>
  @type grep

  <exclude>
    key log
    pattern ^(?:(?:\r)?\n)?$
  </exclude>
</filter>

<match **>
  @type copy
  <store>
    @type gelf
    host "#{ENV['FLUENT_GRAYLOG_HOST']}"
    port "#{ENV['FLUENT_GRAYLOG_PORT']}"
    protocol "#{ENV['FLUENT_GRAYLOG_PROTOCOL'] || 'udp'}"
    <buffer>
      @type file
      path /fluentd/log/elastic-buffer
      flush_thread_count 16
      flush_at_shutdown true
      flush_mode interval
      flush_interval 1s
      flush_thread_interval 1
      flush_thread_burst_interval 1
      retry_forever true
      retry_type exponential_backoff
      retry_max_interval 30
      chunk_limit_size 10M
      queue_limit_length 16
    </buffer>
  </store>
</match>

fluent-bit (fluent-bit:1.8-debug)
[OUTPUT]
  Name            forward
  Match           *
  Host            ${FLUENTD_HOST}
  Port            ${FLUENTD_PORT}
  Time_as_Integer True
  tls             On
  tls.verify      Off
  Shared_Key      ${FLUENTD_SHARED_KEY}
  Retry_Limit     False

Thanks in advance!

<security> is used for password authentication
https://docs.fluentd.org/input/forward#how-to-enable-password-authentication
In contrast to it, you want to use <transport tls>. so I guess that shared key may not be the same.
How about using tls.debug in fluent-bit side to get more debugging information?
https://docs.fluentbit.io/manual/pipeline/outputs/forward#secure-forward-mode-configuration-parameters

Hi there,
thanks for the reply.
I want /need to use both tls and password authentication and it is working working (without tls enabeld). I just checked once more that they match.


opencv-4.6.0/modules/core/src/hal_internal.cpp:122:16: error: use of typeid requires -frtti

opencv-4.6.0/modules/core/src/hal_internal.cpp:122:16: error: use of typeid requires -frtti
this file looks like not change

build with lapack requires rtti
OCV_OPTION(WITH_LAPACK "Include Lapack library support" (NOT CV_DISABLE_OPTIMIZATION)
  VISIBLE_IF NOT ANDROID AND NOT IOS
  VERIFY HAVE_LAPACK)


(WIP)(GH-502) Auto detect PDK or Puppet-Agent

This PR will look for the default locations for PDK the Puppet-Agent, then throw the following error message

Fixes #502

@albatrossflavour I put this up after comments from @glennsarti what do you think?

Assuming it finds both does it choose the one with the newer install, prefer PDK, or what?

@genebean as coded right now, it always picks pdk first, because the original intention is to make pdk the default assumed source

@jpogran Review of Stab V2 completed.

nit and won't stop merging.  The package.lock file changes should be in the maint commit to tslint change, not in the Autodetect commit.

I couldn't add to your branch so here's my addition: https://github.com/glennsarti/puppet-vscode/commit/6ea2e97697ff1005d0a3dc87f078cb7c0a8d1220
https://github.com/glennsarti/puppet-vscode/tree/fix-502

@glennsarti updated as per your branch

@jpogran Looks good.  Just need the README change done (bolding)

@glennsarti fixed


Release Plan 2.5.0

Estimated Release Date
Late Dec 2020
Highlight

The project static website is available at Home Page
The China mirror repo is available at Gitee
Implemented BalancedClickhouseDataSource to support connect to clickhouse cluster
Now the JDBC driver works with DataGrip and DBeaver
Introduced a log facade which prefer to bind slf4j if it exists in classpath, otherwise fallback to JDK Logger, and added logs for tracing, debugging and warning.

This release contains lots of internal refactors, and currently, this driver guarantee none stable API except JDBC API itself, please be careful if you use the internal API which not belongs to JDBC standard interfaces.
Changelog

[x] (feature) Implement BalancedClickhouseDataSource to support multi instances (#205)
[x] (bugfix) Fix invalid package clickhouse-integration-spark_2.12 (#206)
[x] (feature) Implement ClickHouseConnection catalog and schema method (#208)
[x] (enhance) Enhance Number process
[x] (build) Disable deploy examples module
[x] (test) Integration tests with connection pool (#212)
[x] (feature) Support charset parameter (#213)
[x] (feature) Implement ClickHousePreparedStatment #setBytes and #getBytes (#213)
[x] (enhance) Trim space before parsing SQL
[x] (feature) Support tcp_keep_alive parameter
[x] (bugfix) Fix DateTime64 nanos and scale (#217)
[x] (bugfix) Reset connection STATE when recreate connection (#221)
[x] (bugfix) Skip remaining response when ping (#224)
[x] (refactor) Decouple RequestOrResponse and rename PhysicalConnection to NativeClient (#225)
[x] (feature) Introduce log classes to avoid hard dependence on slf4j (#231)
[x] (build) Add debug Maven profile (#235)
[x] (enhance) Add LRU cache for lexer IDataType (#236)
[x] (feature) Refactor and implement ClickHouseDatabaseMetadata (#233)
[x] (feature) Support type alias (#240)
[x] (bugfix) Explicit upcast ByteBuffer to Buffer (#243)
[x] (deps) Bump ini from 1.3.5 to 1.3.8 (#250)
[x] (feature) Support Decimal256 && Decimal128 (#239)
[x] (refactor) Refactor and fixup (#246)
[x] (deps) bump alibaba druid 1.2.4
[x] (deps) bump slf4j 1.7.30
[x] (deps) bump mockito 3.6.28
[x] (deps) bump jmh 1.27
[x] (bugfix) Cast correctly numbers to get a boolean (#256)
[x] (bugfix) Added check against null data on ClickHouseResultSet#getXXX (#258) (#259)
[x] (feature) Handle Nothing datatype (#261)
[x] (bugfix) ClickHouseConnection#connect should return null for unaccepted url (#267)
[x] (enhance) BalancedClickhouseDataSource support optional database url
[x] (test) Added user & password for ClickHouse unit tests (#264)
[x] (feature) Support arbitrary settings (#268)
[x] (refactor) Rewrite StringView implements CharSequence (#270)
[x] (workflow) Auto report benchmark report.

v2.5.0 has been released on Dec 27, 2020


Add methods: getRemoteCommand & getRemoteCommands on EV3IRSensor

Currently, the class EV3IRSensor has all modes implemented but in LeJOS API exist 2 methods pending to implement:
int | getRemoteCommand(int chan)Return the current remote command from the specified channel.
void | getRemoteCommands(byte[] cmds, int offset, int len)Obtain the commands associated with one or more channels.

It is necessary to add methods: getRemoteCommand & getRemoteCommands in the class: EV3IRSensor.
https://ev3dev-lang-java.github.io/docs/api/latest/ev3dev-lang-java/ev3dev/sensors/ev3/EV3IRSensor.html
http://www.lejos.org/ev3/docs/lejos/hardware/sensor/EV3IRSensor.html

@jartu, Can you review it?

Sure, I'll take a look at it.

I use Intelij to compile my programs. In the ev3dev-lang-java:0.7.0.jar
I have not the getRemoteCommand methods.
What I have to do to get this method?
In my external librairies I refer Gradle:com.github.ev3dev-lang-java:0.7.0
Thank you if you can help me.
Patrick Sallé

Hi @PatrickSalle,
Give me few hours to review this issue, I will give you feedback today.
Juan Antonio

Hi @PatrickSalle, it is true but do you have one example that you need to use that commands?
Tell me.
Cheers

Hi,
I just try to interact with the robot during the execution of program, to
modify
if necesary its behaviour.
Best regards.
2018-02-06 22:47 GMT+01:00 Juan Antonio Breña Moral <
<EMAIL_ADDRESS>
Hi @PatrickSalle https://github.com/patricksalle, it is true but do you
have one example that you need to use that commands?
Tell me.
Cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358#issuecomment-363575570,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYXmUv_2grfw_S98YUhsy4q-T0_Cv7mJks5tSMhagaJpZM4OR-_v
.

Hi @PatrickSalle,
do you have some example using that methods?
Juan Antonio

I found this discussion:
https://lejos.sourceforge.io/forum/viewtopic.php?t=7665
Maybe, it is a good point to begin.
Juan Antonio

https://github.com/mindstorms-cop/lejos-ev3/blob/master/ev3menutools/src/org/lejos/ev3/menutools/ircontrol/RemoteControl.java

https://sites.google.com/site/stanfordpcs/lejos/lejos-exploring-more

https://alwaysbusycorner.com/tag/lejos/

Maybe with this example is enough to add this feature.
I will try to implement this week.

Thank you. I if I really use this feature in a significative example I will
post
the code.
2018-02-07 17:00 GMT+01:00 Juan Antonio Breña Moral <
<EMAIL_ADDRESS>
Maybe with this example is enough to add this feature.
I will try to implement this week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358#issuecomment-363816122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYXmUqUVJc89L-x5N3sWlH2pOxRVQAZFks5tSci2gaJpZM4OR-_v
.

I travelled for a long time, and have not work on my project...
Have look at the getRemoteCommand?
Best regards.
Patrick.

One idea to implement the method:
		// Get the IR commands
			byte [] cmds = new byte[4];
			ir.getRemoteCommands(cmds, 0, cmds.length);

			// Figure out which channel is active:
			int command = 0;
			for(int i=0;i<4;i++) {
				if(cmds[i] > 0) {
					channel = i;
					command = cmds[i];
				}
			}

Original implementation:
https://github.com/ev3dev-lang-java/lejos-ev3-code-mirror/blob/master/ev3classes/src/lejos/hardware/sensor/EV3IRSensor.java

Hi @PatrickSalle,
I could implement the methods, the solution was not very complicated but I am not able to test in few days. If you have time, I could create a Snapshot to test in your project.
Do you use Debian Jessie or Debian Stretch?
Juan Antonio

Example to test the feature:
package example;

import ev3dev.sensors.ev3.EV3IRSensor;
import lejos.hardware.port.SensorPort;
import lejos.utility.Delay;

public class IRTest {

    public static void main(String[] args) {

        EV3IRSensor ir = new EV3IRSensor(SensorPort.S1);

        for(int i=0;i<40;i++) {
            System.out.println("cmd " + ir.getRemoteCommand(0)); // gets command from channel 1
            Delay.msDelay(500);
        }

    }

}

Example to test the method: getRemoteCommands
package example;

import ev3dev.sensors.ev3.EV3IRSensor;
import lejos.hardware.port.SensorPort;
import lejos.utility.Delay;

public class IRTest2 {

    public static void main(String[] args) {

        EV3IRSensor ir = new EV3IRSensor(SensorPort.S1);

        byte[] commands = new byte[EV3IRSensor.IR_CHANNELS];

        for(int i=0;i<40;i++) {
            ir.getRemoteCommands(commands, 0, commands.length);
            System.out.println("cmd1 " + commands[0]); // gets command from channel 1
            System.out.println("cmd2 " + commands[1]); // gets command from channel 2
            System.out.println("cmd3 " + commands[2]); // gets command from channel 3
            System.out.println("cmd4 " + commands[3]); // gets command from channel 4

            Delay.msDelay(500);
        }

    }

}

Merci beaucoup. Comme je suis en voyage, je testerai à mon retour.
Cordialement, Patrick Sallé.
2018-05-04 18:54 GMT+02:00 Juan Antonio Breña Moral <
<EMAIL_ADDRESS>
Example to test the method: getRemoteCommands
package example;
import ev3dev.sensors.ev3.EV3IRSensor;import lejos.hardware.port.SensorPort;import lejos.utility.Delay;
public class IRTest2 {
public static void main(String[] args) {

    EV3IRSensor ir = new EV3IRSensor(SensorPort.S1);

    byte[] commands = new byte[EV3IRSensor.IR_CHANNELS];

    for(int i=0;i<40;i++) {
        ir.getRemoteCommands(commands, 0, commands.length);
        System.out.println("cmd1 " + commands[0]); // gets command from channel 1
        System.out.println("cmd2 " + commands[1]); // gets command from channel 2
        System.out.println("cmd3 " + commands[2]); // gets command from channel 3
        System.out.println("cmd4 " + commands[3]); // gets command from channel 4

        Delay.msDelay(500);
    }

}

}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358#issuecomment-386662363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYXmUq4neXl9IFBlJhYcFjdWu3R52QK9ks5tvIe_gaJpZM4OR-_v
.

Hello,
I have tried to create the EV3IRSensor class with the code
accessible at the address
https://github.com/ev3dev-lang-java/lejos-ev3-code-
mirror/blob/master/ev3classes/src/lejos/hardware/sensor/EV3IRSensor.java
I am not sure that it is the rigth method,
In fact I have no access to UARTPort.
import lejos.hardware.port.UARTPort;
Patrick Sallé.
2018-05-04 19:26 GMT+02:00 Juan Antonio Breña Moral <
<EMAIL_ADDRESS>
Closed #358
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358#event-1610349787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYXmUgWpTCbZGAr9qLGhvgabU0H6xAHCks5tvI8ngaJpZM4OR-_v
.

Hi @PatrickSalle,
Can you paste the example that you are trying to test please?

I am using Intellij Idea.
One of my projects is just a test of the main fonctionnalities available in
Ev3dev Lejos.
This project contains  two files :
MyThirdRobot.java with the code to test getRemoteCommand as you have
suggested
EV3IRSensor.java with the code of your implementation of getRemoteCommand.
In this file the
import lejos.hardware.port.UARTPort;
fail.
I enclose a tar of the project :
2018-05-14 20:33 GMT+02:00 Juan Antonio Breña Moral <
<EMAIL_ADDRESS>
Hi @PatrickSalle https://github.com/PatrickSalle,
Can you paste the example that you are trying to test please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/358#issuecomment-388918013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYXmUvucLIwtBcEoptBosjR8lm1cswkUks5tyc3fgaJpZM4OR-_v
.


Fixed #29713 -- Added a check to warn if LANGUAGE_CODE does not use the standard language id format

This PR adds a check to warn if the LANGUAGE_CODE in settings.py does not use the standard language id format. Ticket 29713

[x] included test cases
[x] updated docs

@Ian-Foote Please take another look.
I've updated the regex to use language_code_re in utils.translations.trans_real.py that I think checks for a more comprehensive set of LANGUAGE_CODEs.

Super stuff. Thanks @darvid7! Welcome aboard. 🎉

@timgraham - only just seen your review here.
I worked on a follow up to this yesterday as I noticed many of the same issues highlighted in your review, but only just opened it this morning: #10367. Have updated it to incorporate some of the changes you requested that I missed.

Hi David. I'd leave it up to #10367 as I believe everything is addressed there.


Bump deps

Used clj -M:outdated.
Only carmine has breaking changes, but I think the impact will be minor.

Do you want to upgrade org.eclipse.angus/angus-mail '2.0.2' to '2.0.3' in deps.edn (y/n): y
https://eclipse-ee4j.github.io/angus-mail/docs/CHANGES.txt
No breaking changes.
Do you want to upgrade commons-codec/commons-codec '1.15' to '1.17.1' in deps.edn (y/n): y
https://commons.apache.org/proper/commons-codec/changes-report.html
No breaking changes.
Do you want to upgrade org.clojure/tools.logging '1.2.4' to '1.3.0' in deps.edn (y/n): y
https://github.com/clojure/tools.logging/blob/master/CHANGELOG.md
No breaking changes.
Do you want to upgrade metosin/ring-http-response '0.9.3' to '0.9.4' in deps.edn (y/n): y
https://github.com/metosin/ring-http-response/blob/master/CHANGELOG.md
No breaking changes.
Do you want to upgrade diehard/diehard '0.11.3' to '0.11.12' in deps.edn (y/n): y
https://github.com/sunng87/diehard/blob/master/CHANGELOG.md
No breaking changes.
Do you want to upgrade com.cognitect/transit-cljs '0.8.269' to '0.8.280' in deps.edn (y/n): y
https://github.com/cognitect/transit-clj/commits/master/
No breaking changes.
Do you want to upgrade com.taoensso/carmine '3.1.0' to '3.4.1' in deps.edn (y/n): y
https://github.com/taoensso/carmine/blob/master/CHANGELOG.md
Including bracking changes.
See details https://github.com/taoensso/carmine/wiki/0-Breaking-changes#carmine-v32x-to-v33x
Do you want to upgrade commons-io/commons-io '2.11.0' to '2.16.1' in deps.edn (y/n): y
No breacking changes.
Do you want to upgrade clj-http/clj-http '3.12.3' to '3.13.0' in deps.edn (y/n): y
https://github.com/dakrone/clj-http/commits/3.x/
No breaking changes.
Do you want to upgrade com.cognitect/transit-clj '1.0.329' to '1.0.333' in deps.edn (y/n): y
https://github.com/cognitect/transit-clj/commits/master/
No breacking changes.
Do you want to upgrade com.github.seancorfield/next.jdbc '1.2.772' to '1.3.939' in deps.edn (y/n): y
https://github.com/seancorfield/next-jdbc/blob/develop/CHANGELOG.md
No breacking changes.
Do you want to upgrade prismatic/schema '1.2.0' to '1.4.1' in deps.edn (y/n): y
https://github.com/plumatic/schema/blob/master/CHANGELOG.md
No breacking changes.
Do you want to upgrade hikari-cp/hikari-cp '2.14.0' to '3.1.0' in deps.edn (y/n): y
https://github.com/tomekw/hikari-cp/blob/master/CHANGELOG.md
https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES
No breacking changes.
Do you want to upgrade info.sunng/ring-jetty9-adapter '0.17.6' to '0.33.4' in deps.edn (y/n): y
=> But Use 0.22.6 for JDK 11
https://github.com/sunng87/ring-jetty9-adapter
https://github.com/sunng87/ring-jetty9-adapter/releases
Do you want to upgrade metosin/jsonista '0.3.5' to '0.3.9' in deps.edn (y/n): y
https://github.com/metosin/jsonista/blob/master/CHANGELOG.md
https://github.com/FasterXML/jackson/wiki/Jackson-Releases
No breacking changes.
Do you want to upgrade camel-snake-kebab/camel-snake-kebab '0.4.2' to '0.4.3' in deps.edn (y/n): y
https://github.com/clj-commons/camel-snake-kebab/commits/master/
No breacking changes.
Do you want to upgrade org.apache.commons/commons-csv '1.9.0' to '1.11.0' in deps.edn (y/n): y
https://commons.apache.org/proper/commons-csv/changes-report.html
No breacking changes.
Do you want to upgrade org.clojure/core.async '1.5.648' to '1.6.681' in deps.edn (y/n): y
https://github.com/clojure/core.async
No breacking changes.
Do you want to upgrade org.clojure/clojure '1.11.1' to '1.11.3' in deps.edn (y/n): y
No breacking chages.
↓dev dependencies↓
Do you want to upgrade org.postgresql/postgresql '42.3.3' to '42.7.3' in deps.edn (y/n): y
Do you want to upgrade lambdaisland/kaocha '1.66.1034' to '1.91.1392' in deps.edn (y/n): y
Do you want to upgrade com.walmartlabs/lacinia '1.2' to '1.2.2' in deps.edn (y/n): y
Do you want to upgrade superlifter/superlifter '0.1.3' to '0.1.5' in deps.edn (y/n): y
Do you want to upgrade com.google.firebase/firebase-admin '8.1.0' to '9.3.0' in deps.edn (y/n): y
↓build dependencies↓
Do you want to upgrade com.github.liquidz/build.edn '0.7.145' to '0.11.266' in deps.edn (y/n): y
↓GitHub Actions↓
Do you want to upgrade actions/checkout 'v3' to 'v4' in .github/workflows/release.yml (y/n): y
Do you want to upgrade actions/setup-java 'v3' to 'v4' in .github/workflows/release.yml (y/n): y
Do you want to upgrade actions/cache 'v3' to 'v4' in .github/workflows/release.yml (y/n): y
Do you want to upgrade actions/checkout 'v3' to 'v4' in .github/workflows/build-and-test.yml (y/n): y
Do you want to upgrade actions/setup-java 'v3' to 'v4' in .github/workflows/build-and-test.yml (y/n): y
Do you want to upgrade greglook/cljstyle '0.15.0' to '0.16.626' in .github/workflows/build-and-test.yml (y/n): y
Do you want to upgrade 0918nobita/setup-cljstyle 'v0.2.0' to 'v0.5.4' in .github/workflows/build-and-test.yml (y/n):y
Do you want to upgrade clj-kondo/clj-kondo '2022.04.25' to '2024.05.24' in .github/workflows/build-and-test.yml (y/n): y
Do you want to upgrade actions/cache 'v3' to 'v4' in .github/workflows/build-and-test.yml (y/n): y

Thanks 👍


#1529 added first implementation of extensible artifact search REST API

Adresses/Fixes #1529.
Implements

added new getMavenArtifactsByGroupId to MavenUtils which takes a repository type (e.g. maven, nexus, jfrog) and a groupId to search for
added new SearchResponse tos to core-api utils
added new MavenUtilTest class (tests for proper json string parsing and REST API requests) and resources

@devonfw/cobigen

We still need to provide the correct URLs for the jFrog and Nexus repositories to get the tests working.

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


Use forked Wasmtime 14.0.4 with backported fixes

This fork of wasmtime 14.0.4 includes backports of upstream fixes:
https://github.com/bytecodealliance/wasmtime/pull/7426
https://github.com/bytecodealliance/wasmtime/pull/7475

e2e-tests failure reproduces locally and is confusing:
Error: Failed to instantiate component 'hello'

Caused by:
      cannot adapt modules created with wit-bindgen version 0.13.0

Where are you getting those error logs from? From reading over the error here I think it will require the final commit of https://github.com/fermyon/spin/pull/2037 which fixes some guest SDK behavior w.r.t reads/writes

cannot adapt modules created with wit-bindgen version 0.13.0

Sounds like an old version of spin-componentize is sneaking in somewhere.  The latest version should accept components built with either wit-bindgen 0.2 or 0.4 and above.

Oh strange; I reran just the one failing test locally and got the above error, but if I run the whole suite there are lots of errors so probably unrelated.

cannot adapt modules created with wit-bindgen version 0.13.0

Sounds like an old version of spin-componentize is sneaking in somewhere. The latest version should accept components built with either wit-bindgen 0.2 or 0.5 and above.

I've been switching between 1.5.1 and 2.0.0 a lot locally; possibly a bad dep cache.


Azure DevOps Boards — Drop Plan not loading

Hi,
I am attempting to access my organization's Board: Drop Plan to view my tasks, but the browser page is not loading.
Please refer to the attached screenshot of the error and console logs.

prodngahr.visualstudio.com-1709884349168.log

@sejal-ss
I believe this issue is related to the different time zones in Azure DevOps.
In version 2.2.3, I've added a new experimental time management feature - you can enable it in the Project Settings -> Drop Plan Settings -> "Use new time management".
Can you please check this with the new settings and see if it gets better?

@yanivsegev Thank you. Enabling “Use new time management” setting resolved my issue.


Standardize formatting of manifests/x/xanderfrangos/crushee/2.4.2

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


I have added FAQ in FAQ page

Added some FAQ's in FAQ page

A ton of thanks for addiing this faq page. I didn't knew what to add. I will be grateful.


D1Mini Mounting?

Could you share a photo in the documentation of how you mounted your D1 Mini board? I noticed the original project used a bar ESP12E board to keep the size down. Is your basically stuck on top, and has that caused you any problems (when it tries to go under something)?

The D1 mini is still small enough to fit into the compartment by the wheel. I managed to mess up the top plate of my Roomba in an unrelated incident, but before that you couldn't tell it was hacked.
This isn't my photo (I'd have to take apart the Roomba to take a pic), but hopefully this gives you an idea: d1 mini in compartment
If that's helpful, I could certainly link to it in the docs.

Yes. That would be helpful. I was imagining a much more complicated solution involving a 3D printed case on top and some jury rigged way to stop it from ripping the board off the top. :) Thank you.

Updated the readme. Thanks for the feedback!


Need documentation for proper way to add testing resources

Description
As far as I can tell, the docs don't explain how one should add resources that might be needed for unit tests, like test data files.
Expected behavior
A section showing how where to add test resources
Actual behavior
No response
Steps to reproduce
No response
swift-testing version/commit hash
No response
Swift & OS version (output of swift --version && uname -a)
No response

The instructions for how to do this depend on which tool you are using to build and run your Swift Testing tests. For example, when using a package you might use SwiftPM's instructions for adding resources, while an Xcode project uses a different workflow and runtime API.
If you're using an Xcode project, I'd encourage filing a Feedback with Apple with any documentation enhancement requests. But if you're using SwiftPM, does that documentation I linked above provide sufficient guidance?
We could still link to those tool-specific resources from the swift-testing docs, though. We can use this to track that.

(PRs are welcome on that front!)

The instructions for how to do this depend on which tool you are using to build and run your Swift Testing tests.

Well, in this case, it's SPM, but I'm using Xcode to edit and run it. This issue was prompted by me reading somewhere that the PWD was set to the target root, and trying to build a path based on that. This is true when running tests from the command line (e.g.swift test), but not true when running tests from Xcode (it becomes /private/tmp). So I started researching how to properly add resources.

We could still link to those tool-specific resources from the swift-testing docs, though. We can use this to track that.

Yes, that would be great. A quick intro/summary of the steps, and a link. Something like “Testing resources are added like any other resource in your tool. For example, using SPM, do blah blah blah. See  for more details. For Xcode, do …".
Eventually I discovered Bundle.module.load…, which works for both CLI and Xcode. Not sure that's the primary way to do it, but I think it’ll work across build environments and platforms.


Analysis sometimes hangs after uploading a protocol over HTTP

Pulling this out of #8557, where the problem was originally noticed. I don't think that PR introduced this problem, but it's possible.

Testing on a robot revealed a bug somewhere:

With the "Use Older Protocol Analysis Method" feature flag enabled (i.e., without "fast simulation"), the server analyzes my test protocol correctly.
With that feature flag disabled (i.e., with "fast simulation,") that same protocol's analysis is stuck in the "pending" stage indefinitely.
Tailing journalctl logs suggest that the protocol is running to completion: a protocol.comment("done") appended to the end of the protocol is reached successfully. So for some reason, despite that, the server isn't recognizing that the protocol is done?
systemctl stop opentrons-robot-server hangs until a timeout while it waits for background tasks to complete, which suggests that the background analysis task is never finishing. See also #8588.

Seems to be hanging here:
https://github.com/Opentrons/opentrons/blob/549887950be5d90d3e5f08a598b7a95cebf45978/api/src/opentrons/protocol_runner/task_queue.py#L79

I managed to make a small code change that makes the bug happen consistently.
I added a sleep in StateView.wait_for:
        while not is_done:
            await asyncio.sleep(1)
            await self._change_notifier.wait()
            is_done = predicate()

I believe this is the culprit in ChangeNotifier.wait
 self._event.clear()
 await self._event.wait()

We are blindly clearing the event and then waiting for it.
 Like it’s possible that the event is already set (for the StopAction) and we’re clearing it.
I believe that inserting the await asyncio.sleep(1) shouldn’t have any impact on the wait algorithm.

Is there a reliable reproduction protocol that doesn't involve changing the engine code to trigger the bug?


Convert mostly everything to become a node or an edge

Merging into the ENG-1703 PR: https://github.com/systeminit/si/pull/2424
EDIT: merging into main

Previously, this PR was aimed to be merged into the ENG-1703 PR, https://github.com/systeminit/si/pull/2424. Now, its base branch is main.

Closed because the branch was renamed to new-engine.


Backtracking

Adding Backtracking algos in the Miscellaneous Folder
Once please check and merge it . I am interested to contribute myself in hacktoberfest_23 : )
Kindly inform incase of further modifications : )

Kindly inform in case of any further modifications : )

Have you checked the "Files Changed" tab? Seems like you have deleted all the files!


Fix linting issues

Running npm run lint throws a few warnings.
These need fixing for consistency.

Fix the issues
Set npm run lint as a pre-commit hook

Closed with #13


[Bug]: home forgets defaults

What happened?
https://github.com/user-attachments/assets/d3065803-cfa2-4a8a-aec4-aaaf7b714bff
Steps to reproduce the problem

check a bunch of notifications
refresh some of them (the work around for it not taking you right to a comment, bug report for that to come)
click the civitai banner to go home

What should have happened?
You should go to your customized home not the default home.
What platforms do you use to access the site?
No response
What browsers do you use to access the site?
No response
Additional information, context and logs
Bug reports will continue until morale improves.

Really pervasive issue. Just aggressively shoving that curated content down my throat. Shouldn't have "a" curator.  You're publishing there. People pay you and you cherry pick them.  Scummy. Sleep poorly.
https://github.com/user-attachments/assets/46ba68e3-5c44-4973-8aaa-2236da27603f

@sovos15 There's a fix queued up for next release that will hopefully resolve the issue. We have tracked it down and it seems to be cloudflare cache related.


Add an example

We need to add a minimal example using BVH to run a cloud of points with a radius and print out neighbors.

@JBludau Do you have an example lying around to get this started? I assume that once #6 is merged, we can make it work?

The example I am working on is the bvh example we did for the st-jude. I will post it in an extra pr once #6 is finished

@JBludau I put a simple example as part of #8.


Omitted verbs in Setup a Strip Account Chapree

This sentence:
"The second thing to is the Publishable key and the Secret key."    should read?
"The second thing to (do?) is (generate?) the Publishable key and the Secret key."

or better (to match paragraph above this one):
The second thing to (note?) is (generate?) the Publishable key and the Secret key

or:
The second thing to (note?) is ((that) we need to generate?) the Publishable key and the Secret key

or:
The second thing to (note?) is ((that) we need to generate?) the Publishable key and the Secret key.

Thanks for pointing it out! Fixing it now.


Set 'comments'

Set 'comments' in addition to 'commentstring' so plugins (like tpope/commentary) can correctly insert/remove comments.
Copied the value for 'comments' from $VIMRUNTIME/ftplugin/python.vim.

thx!


HotModuleReplacementPlugin throws TypeError: Cannot read property 'filter' of undefined

Bug report

What is the current behavior?
I set up a dev server for my private project and run it, and when I edit some file, I see the following error thrown by HotModuleReplacementPlugin and then the server exits.
<cwd>/node_modules/webpack/lib/HotModuleReplacementPlugin.js:275
                                                                const removedModules = records.chunkModuleIds[chunkId].filter(
                                                                                ^

TypeError: Cannot read property 'filter' of undefined
    at compilation.hooks.additionalChunkAssets.tap (<cwd>/node_modules/webpack/lib/HotModuleReplacementPlugin.js:275:64)
    at SyncHook.eval [as call] (eval at create (<cwd>/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:12:1)
    at SyncHook.lazyCompileHook (<cwd>/node_modules/tapable/lib/Hook.js:154:20)
    at hooks.optimizeTree.callAsync.err (<cwd>/node_modules/webpack/lib/Compilation.js:1399:37)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (<cwd>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at AsyncSeriesHook.lazyCompileHook (<cwd>/node_modules/tapable/lib/Hook.js:154:20)
    at Compilation.seal (<cwd>/node_modules/webpack/lib/Compilation.js:1342:27)
    at compilation.finish.err (<cwd>/node_modules/webpack/lib/Compiler.js:675:18)
    at hooks.finishModules.callAsync.err (<cwd>/node_modules/webpack/lib/Compilation.js:1261:4)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (<cwd>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:20:1)
    at AsyncSeriesHook.lazyCompileHook (<cwd>/node_modules/tapable/lib/Hook.js:154:20)
    at Compilation.finish (<cwd>/node_modules/webpack/lib/Compilation.js:1253:28)
    at hooks.make.callAsync.err (<cwd>/node_modules/webpack/lib/Compiler.js:672:17)
    at _done (eval at create (<cwd>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at _err1 (eval at create (<cwd>/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:32:22)
    at _addModuleChain (<cwd>/node_modules/webpack/lib/Compilation.js:1185:12)
    at processModuleDependencies.err (<cwd>/node_modules/webpack/lib/Compilation.js:1097:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)

I tried printing the variables and was surprised to find that chunkId was Infinity, and key was '55124230e814'. I believe it is because of the logic here
https://github.com/webpack/webpack/blob/v4.41.5/lib/HotModuleReplacementPlugin.js#L260
const chunkId = isNaN(+key) ? key : +key;

When key is '55124230e814', +key would be Infinity, which is not NaN, so chunkId is assigned Infinify. I believe in this case chunkId should still be key, that is '55124230e814'.
I also find that in webpack 5.0.0 this condition is already removed.
https://github.com/webpack/webpack/blob/v5.0.0-beta.11/lib/HotModuleReplacementPlugin.js#L311
const chunkId = key;

If the current behavior is a bug, please provide the steps to reproduce.
I can only reproduce this bug in my private project and I can't share it.

What is the expected behavior?
No errors are thrown

Other relevant information:
webpack version:  4.41.5
Node.js version: 10.7.0/12.9.1
Operating System: Mac OS
Additional tools: None

Please create reproducible test repo, you can remove private code, we need example of your code and configuration

Please create reproducible test repo, you can remove private code, we need example of your code and configuration

@evilebottnawi Here is the reproducible test repo: https://github.com/Mensu/webpack-reproduce-issue-10210
After digging into the source code, I found the chunk id '55124230e814' was generated by this plugin: https://github.com/darshanlsagar/webpack-custom-chunk-id-plugin/blob/master/index.js#L38
There are three chunk group in my project: FeedSpreadsheet, PCDocSheetBridge, and PCSpreadSheet. optimization.splitChunks.automaticNameDelimiter is set to '-'. Because there are shared modules between the three chunk groups, webpack splits out a chunk whose name is 'FeedSpreadsheet-PCDocSheetBridge-PCSpreadSheet' for the shared modules. webpack-custom-chunk-id-plugin creates an md5 hash for this name
let hashVal = 'FeedSpreadsheet-PCDocSheetBridge-PCSpreadSheet';
crypto.createHash('md5').update(hashVal).digest('hex')  //  evaluates to '55124230e8140c5ebc0d808dbaa65245'

The hash value is '55124230e8140c5ebc0d808dbaa65245'. As options.hashLength of webpack-custom-chunk-id-plugin is set to 12, the plugin takes the first 12 characters '55124230e814' and assign it to chunk.id.

hmm... seems like you hit a very unlikely case of a hash 55124230e814 being a valid number...

hmm... seems like you hit a very unlikely case of a hash 55124230e814 being a valid number...

@sokra Does webpack have any restrictions like a plugin should never set chunk.id to a string that can be converted to a valid number? In fact I don't see any point in converting the key to a number at https://github.com/webpack/webpack/blob/v4.41.5/lib/HotModuleReplacementPlugin.js#L260
I guess it was because in the past the logic below was chunk.id === key  instead of ${chunk.id} === key, which made it necessary to convert the string key to its original type in order to match the type of chunk.id
const currentChunk = compilation.chunks.find(
  chunk => `${chunk.id}` === key,
);

I guess it was because in the past the logic below was chunk.id === key instead of ${chunk.id} === key, which made it necessary to convert the string key to its original type in order to match the type of chunk.id

yep. If you want to you can send a PR to webpack 4 to backport this fix from webpack 5.

I may have been running into this issue when I reported it back in October of 2019 (https://github.com/webpack/webpack/issues/9871) but I didn't have the ability to dig as deep as you have. I had a hunch the issue is what you described here.
I was reminded of this because today I had to go back in and edit my local copy of HotModuleReplacementPlugin.js to implement the fix so HMR would work again.

I have the same problem because I use a numeric string as the entry value
entry: {
  '1.0': 'src/1.0/index.js',
  '2.0': 'src/2.0/index.js
}

so in HotModuleReplacementPlugin.js
const chunkId = isNaN(+key) ? key : +key;
...
records.chunkModuleIds = {
  '1.0': [],
  '2.0': []
}
...
const removedModules = records.chunkModuleIds[chunkId].filter(
  id => !allModules.has(id)
);

so records.chunkModuleIds[chunkId] is non-existent

Bump


Make colorized_symbol screenshot quartersize

It was a bit huge on github pages

Hi, sorry for taking so long.
I'll accept the PR since the image really is too big, but I'll soon also probably change the documentation and screenshots to showcase more features.
If you have any suggestions regarding that, I'd really appreciate.
Thanks.


Add an API to get submitted data

Hey! I need to get submitted data in my autotests.
Could you add this functionality?

I was going to add CRUD API endpoints.  So it looks like that it's a good time to do it :)


Add redis cluster

Description: Add phase 1 of redis cluster support, in this phase, we'll periodically refresh the cluster topology and add all the masters nodes to the cluster.
Risk Level: Low
Testing: Added unit tests
Docs Changes:
Release Notes: Done
#5697

@FAYiEKcbD0XFqF2QK2E4viAHg8rMm2VbjYKdjTg @msukalski please take first pass.

I am taking over this PR for Henry while he is on vacation. There is a docs conflict, but I will fix that when I fix any issues the reviewers have.

Ok sounds good

In addition to Mitch's comments, I have to figure out the conflict with the init manager that was removed (https://github.com/envoyproxy/envoy/pull/6360).

@msukalski updated per your comments

I have updated the PR per you guys' comments. With respect to documentation, I've tried to keep each file's doc limited to what it does, though it be might be useful to have these point to the same doc later on?
Also, locally I get a possible red herring of a compiler failure on running tests:
$ bazel build //test/extensions/clusters/redis/... -c opt
...
@envoy_api//envoy/config/cluster/redis:redis_cluster:
external/com_google_protobuf: warning: directory does not exist.
ERROR: /home/nflacco/src/henry-envoy/test/mocks/server/BUILD:11:1: C++ compilation of rule '//test/mocks/server:server_mocks' failed (Exit 4) envoy_cc_wrapper failed: error executing command /home/nflacco/.cache/bazel/_bazel_nflacco/c39bb05e23ee0f5dcfa6558660f244b5/external/local_config_cc/extra_tools/envoy_cc_wrapper -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter ... (remaining 500 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
g++: internal compiler error: Killed (program cc1plus)

@mattklein123 I've made the changes you requested. This passed all tests on yesterday's master; I just merged master again.

I'm implementing the integration test now, but all other questions/comments have been addressed.

Please merge master and I can take a look at the non-integration test changes.
/wait


Cannot find module for alert.styl

Error: Cannot find module '!!./../../../node_modules/css-loader/index.js!./../../../node_modules/postcss-loader/index.js!./../../../node_modules/stylus-loader/index.js!./alert.styl'
I'm still getting this error when I include your module and build my project. I know this is the possibly duplicate of #2, but It is not solved yet. How can I fix it? Could you mind including your modules inside my project and build with my components? Of course, I will make clear this component is 100% your creation.

This happens if you are not using webpack. The developer compiled the dist using a webpack dependency which breaks on other environments.
I would suggest moving the styles to a standard SASS file and not bundling the styles into webpack loaders. Styles should be handled separately and should be entirely optional.

Yeah it's unfortunate but I'm running into this problem. In my case I'm using React and our file structure does not match his
Error: Cannot find module '!!./../../../node_modules/css-loader/index.js!./../../../node_modules/postcss-loader/index.js!./../../../node_modules/stylus-loader/index.js!./alert.styl'

Does any one found a solution for this problem?

I have been able to get it semi-working by just commenting out the relevant lines inside node_modules/react-alert/dist/alert.js:
		if(!content.locals) { 			// module.hot.accept("node_modules/react-alert/dev/assets/alert.styl", function() { 				// var newContent = require("node_modules/react-alert/dev/assets/alert.styl"); 				// if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; 				// update(newContent); 			// }); 		}
I'm trying to include alert.styl because the styling of the alert isn't quite right, but I'm not sure if it's because of this change or just some other option I need to set.

I can confirm that commenting out these lines allowed me to run it.  I assume that this will prevent providing another style, but I'm not sure.
The remaining issue I had was due to another conflicting css rule from something separate.

Actually, it was the path to alert.styl. it wasn't the correct one,
I made a corrected fork here
hope it helps

Should be fixed with the v2 release. A lot of issues here are really old, as the project was unmaintained, so I will close all issues. Feel free to ask to open it again if the issue persist after v2 update.


 Challenge scroll replaces the clue scroll, which makes the helper box (and the answer to the challenge) disappear. Very annoying. Helper box also disappears during load screens like a glider, forcing you to reopen the clue.
Keep the helper box open as long as the clue is in your inventory. If replaced by a challenge scroll, don't update the box until the challenge is completed.

Duplicate of #2043 and/or #2740


[Android] Image loading events & styles

Hey
I've found that the onLoad, onLoadEnd and onLoadStart events aren't fired on the image in android. I'm guessing the docs need updating on this.
Also I've found that on Android the resizeMode style gets passed to the children of an image resulting in a warning... e.g.
<Image style={{resizeMode:'cover'}}>
   <Text>Loading</Text>
</Image>

For what it's worth, these are actually properly labeled with the @platform: ios tag in the source code, but it seems that the documentation has not been re-generated since those labels were added.
So, a re-generation of the documentation should fix this.

@Thomas101 - onLoadStart, onLoad and onLoadEnd all fire on Android for network images, see: https://github.com/facebook/react-native/blob/master/Examples/UIExplorer/ImageExample.js#L51-L53
Created #5085 for the resizeMode issue! Thanks :)

onLoad not firing on 0.43 & 0.44


Strange output when summarizing long text using local Llama-3 model with LlamaCpp

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
I am trying to do a simple text summarization task and return the result in JSON format by using the local Llama-3 8B Instruct model (GGUF version) and running with CPU only. The code is as follow:
from langchain.chains import LLMChain
from langchain_community.llms import LlamaCpp
from langchain_core.callbacks import CallbackManager, StreamingStdOutCallbackHandler
from langchain_core.prompts import PromptTemplate

# Create the prompt
template = """
              Read the article and return the "release date of Llama-3" in JSON format.
              If the information is not mentioned, please do not return any answer.
              Article: {text}
              Answer:
           """

# Text for summarization (from https://en.wikipedia.org/wiki/Llama_(language_model))
text = """
Llama (acronym for Large Language Model Meta AI, and formerly stylized as LLaMA) is a family of autoregressive large language models (LLMs) released by Meta AI starting in February 2023. The latest version is Llama 3, released in April 2024.

Model weights for the first version of Llama were made available to the research community under a non-commercial license, and access was granted on a case-by-case basis. Unauthorized copies of the model were shared via BitTorrent. In response, Meta AI issued DMCA takedown requests against repositories sharing the link on GitHub. Subsequent versions of Llama were made accessible outside academia and released under licenses that permitted some commercial use. Llama models are trained at different parameter sizes, typically ranging between 7B and 70B. Originally, Llama was only available as a foundation model. Starting with Llama 2, Meta AI started releasing instruction fine-tuned versions alongside foundation models.

Alongside the release of Llama 3, Meta added virtual assistant features to Facebook and WhatsApp in select regions, and a standalone website. Both services use a Llama 3 model.
"""

# Set up and run Local Llama-3 model
prompt = PromptTemplate(template=template, input_variables=["text"])
callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])
llm = LlamaCpp(model_path="model/llama/Meta-Llama-3-8B-Instruct.Q6_K.gguf",
      n_ctx=2048, callback_manager=callback_manager, verbose=True)
chain = prompt | llm
chain.invoke(text)

Error Message and Stack Trace (if applicable)
No response
Description
By using the code, the model could be run successfully, and the output would be nice.
 {
              "release_date": "April 2024"
            }

However, if I input more text (adding more paragraphs in the webpage (https://en.wikipedia.org/wiki/Llama_(language_model))), the output would be bad and the model kept generating the result:
The release notes for LLaMA model can be found on the official website, Meta AI.  Release notes are typically available after you read the answer.
LLaMA.   If you cannot
    it as is in.  Read More
    LLaMA is a "Release.  Release note the "Read the article.

# Release note the "read in.  Read more and more, Read the  Release on "read a "a
      Release in "Read the "Release
.
.
.

May I know if there is any solution if I would like to input a long text for summarization using local Llama-3 model?
System Info
langchain==0.2.10
langchain_community==0.2.9
langchain_core==0.2.22
Python version 3.10.12

Hello! We're a group of students from the University of Toronto Scarborough, and we're excited to contribute to LangChain. We'd love the opportunity to investigate this bug further.

Hi there! I just wanted to confirm that I ran the code with the adjustments you suggested, specifically using n_ctx=4048, temperature=0.01, rope_freq_base=0.0, and rope_freq_scale=0.0. I found that these changes significantly improved the output quality, allowing the model to handle longer inputs effectively.
This is the output I got after :
{
              "release_date_of_Llama-3": "April 2024"
            }
            The information about the release date of Llama-3 is available in the given article. It mentions that the latest version, i.e., Llama 3, was released in April 2024.

               If there were any other questions related to this article or your general knowledge, feel free to ask!
                Have a wonderful day!


Make sure events are not forward if background task tracker is disposed

Breaking change

Proposed change

Fixes that the BackgroundTaskTracker is disposed it should not forward any more events upstream to apps.
Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[x] The code compiles without warnings (code quality check)
[x] Tests have been added to verify that the new code works.

If user exposed functionality or configuration are added/changed:

[ ] Documentation added/updated for http://netdaemon.xtz

I am closing this, i do not longer thing this is the problemt.


Deprecate ' ', '/', '' and ':' in project and other domain object names

Discussion: https://github.com/gradle/gradle-private/issues/167

:x: We should also mention this in the release notes as potentially breaking change.

@bmuschko

We should also mention this in the release notes as potentially breaking change.

Is that the right place to put it? It does not break anything yet as we only deprecate stuff, right? Or do we always put deprecations into that section usually?

Added unit test coverage: https://github.com/gradle/gradle/blob/befd86505fd23d51f45f068608606c986f4ae7f2/subprojects/core/src/test/groovy/org/gradle/util/NameValidatorTest.groovy

Is that the right place to put it? It does not break anything yet as we only deprecate stuff, right? Or do we always put deprecations into that section usually?

I was thinking about the use case that changes spaces to underscores. I am not sure if some consumer expects the "old" behavior. In that case it would be a breaking change. Either way I think we should explicitly describe the change and make people aware of it.

I was thinking about the use case that changes spaces to underscores.

Good point. I did not think about that. Maybe we should postpone that part of the PR until 5.0. I think that might be better. So that we do not have an actual breaking change.

Good point. I did not think about that. Maybe we should postpone that part of the PR until 5.0. I think that might be better. So that we do not have an actual breaking change.

That might be a good idea. Maybe create a new issue for it and defer.

I removed the automatic adjustment of names and postponed it to 5.0 (https://github.com/gradle/gradle-private/issues/942).
I added a section about the deprecation to the release notes.


Support min_confidence flag for golint

golint --help
Usage of golint:
	golint [flags] # runs on package in current directory
	golint [flags] package
	golint [flags] directory
	golint [flags] files... # must be a single package
Flags:
  -min_confidence float
    	minimum confidence of a problem to print it (default 0.8)

Weren't you going to be sending pull requests?

lol ok

Thanks!


Question: Is there a way to validation form before submit?

Is there a way to validation form with custom code before submit?

@ivan-stankov-golang Are you using Rest API? You can use custom requests to verify input and submit if it's correct.
There was another request for form validation. And we will look into it.

@mikhail-vl so I need to use custom code and do the validation and the http request? Thank you.

@ivan-stankov-golang That's the current option.
We will look into adding validation in the future versions.


WorkflowId with spaces or ampersands (or any char that needs to be url encoded it seems) causes 404 on exec view

Note, this was tested with latest temporalite, just fyi

Can this be expedited if the fix is simple? Facing lot of issues during development.


Cleaning up package-lock

This came recommended from Dependabot. Cleans up the recently merged fast-xml-parser #120 dependency bump as well as micromatch in package-lock.
Checklist
All items have to be completed before a PR is merged

[x] Adhere to Contribution Guidelines
[ ] Updates to Decision Records considered?
[ ] Updates to documentation at flxbl-sfp Guide considered?
[ ] Tested changes?
[ ] Unit Tests new and existing passing locally?

will do a cleanup holistically as part of the decemember , thanks @rygramer


Remove support for node 16 and lower versions and update package deps.

Is your feature request related to a problem? Please describe.

Remove support for node 16 and lower versions
update package deps.

Describe the solution you'd like
Changes in the node property of package.json
This will be a breaking change.

:tada: This issue has been resolved in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


If the window loses focus during keyboard nav, it doesn't stop!

We need to cancel all "down" keys when the window blurs.

Turns out this wasn't actually a bug, but we'll still fix it just in case it occurs on other systems.


How to use OtherName SAN attribute

Question

How do you use the OtherName SAN attribute referenced in the Fulcio docs from cosign sign? Is this possible? Seems like it is not.

First time someone's asked about this! For context, I added support for OtherName SANs a bit ago to support usernames in Fulcio.  For Fulcio-issued certificates, the OtherName SAN contents will be sub!SubjectDomain (! was chosen as the separator to not confuse this with a valid email address).
It depends how you've configured your Fulcio instance (assuming you're running a local instance, the public instance isn't configured to issue username-bound certs at the moment). cosign sign will issue a certificate with the OtherName SAN if you've added a username type to Fulcio's configuration. cosign verify will extract the OtherName SAN username during verification (code).
Does that answer your question?

Mostly yes and a little no. It sounds like I cannot use this at this time as I'm using the public Fulcio instance and not running my own private instance.

It depends how you've configured your Fulcio instance (assuming you're running a local instance, the public instance isn't configured to issue username-bound certs at the moment).

Is there documentation describing the configuration options for Fulcio along these lines? I have looked and come up empty handed.

Correct, the public instance doesn't use this currently since no OIDC issuers that are trusted by the public instance specify usernames.

Is there documentation describing the configuration options for Fulcio along these lines? I have looked and come up empty handed.

I couldn't find any docs around configuration of the OIDC issuer, only the signing backend. You would specify the "username" type in a json config like https://github.com/sigstore/fulcio/blob/main/config/config.jsn#L6, and specify a "SubjectDomain" (https://github.com/sigstore/fulcio/blob/b202f9cf2797ef30146c75fad86c1e564ba9514e/docs/oidc.md?plain=1#L280) that will be appended to the sub in the OIDC token.

Correct, the public instance doesn't use this currently since no OIDC issuers that are trusted by the public instance specify usernames.

This is what I seemed to realize after looking into the GH OIDC workflow tokens a bit more. Definitely answers the rest of my question.
Well, good feature maybe it will be more readily useful one day :)


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/465 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 9babd1a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-04-26-07-25-24 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-04-26-07-25-24

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


安装不了

Description

DNS Provider
No response
Did you search for similar issues before submitting this one?
No, I didn't
Operating System
Linux
Architecture
i386
Version
v6.7.3
How are you running ddns-go?
Docker
Any other information
No response

help

用管理员打开cmd

thanks


Brackets asking to connect to internet when is already connected

hey guys....
i've been experiencing a weird issue.... my laptop is already connected to the internet, but, when I click to sign-in to upload a psd to use the Extracts, it shows me a warning message saying I need to connect to the internet... what I supposed to do to use it??
Cheers =)

@tofanelli Can you please open the developer tool ("Debug > Show Developer Tools") and see if there is any error in the console?

Hey @prafulVaishnav .... is it this?

Most likely a duplicate of #9793, check your firewall settings.

hey @petetnt .... there is no firewall in my machine but the windows one.... im at my home, so there is no proxy, no hardware firewall... nothing but my windows and internet connection.... that's it.... i don't think this could be an error caused by firewall..
Cheers =)

@tofanelli From the log it appears you have some Brackets extensions installed on your system. Could you reload Brackets from Debug->Reload Without Extensions and see if you are still facing this issue? If that does not work, I would also suggest renaming the Brackets folder in %appdata%\Roaming to rule out any possibility with bad preference.

hey @nethip .... it was, indeed, some plugin causing this bad behavior.... as long the issue was being caused by the Brackets Extract, I couldn't test it reloading the Brackets without the extensions... so, i removed all of them and reload it.... and, voila =)... its working flawlessly now... but, before I removed all of them, I installed another to save all of them ((Extensions Bulk Installer)), so, this extension saved this list.... if you are interested to check a little bit deeper if it was some extension, here follows the list
"brackets-beautify": true,
"deddy.additional-right-click-menu": true,
"brackets-compare": true,
"vcfvct.brackets-file-format": true,
"brackets-css-shapes-editor": true,
"brackets-display-shortcuts": true,
"torin.duplicate": true,
"milosh86.extensions-bulk-installer": false,
"adobe.brackets.extract": true,
"quick-dark": true,
"brackets-robotframework": true,
"ws-sanitizer": true

I only have these ones installed....
Well... thanks very much for help =)
Cheers =)

@tofanelli Glad you were able to resolve this issue :smile:


Connection with the server breaks due to IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms

I found that when our webapi server hosted in iis is recycled then we have this error
We use the 1.3 driver
Neo4j.Driver.V1.ServiceUnavailableException: Connection with the server breaks due to IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms ---> System.IO.IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms
   at Neo4j.Driver.Internal.Connector.SocketConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\SocketConnection.cs:line 73
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 96
   --- End of inner exception stack trace ---
   at Neo4j.Driver.Internal.Connector.PooledConnection.OnError(Exception error) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\PooledConnection.cs:line 75
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 98
   at Neo4j.Driver.Internal.ConnectionPool.CreateNewPooledConnection() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 113
   at Neo4j.Driver.Internal.ConnectionPool.<Acquire>b__21_0() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 143
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\LoggerBase.cs:line 49
2017-08-06 15:03:47,502 ERROR ITECH_ApiServices [#32] - Neo4j.Driver.V1.ServiceUnavailableException: Connection with the server breaks due to IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms ---> System.IO.IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms
   at Neo4j.Driver.Internal.Connector.SocketConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\SocketConnection.cs:line 73
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 96
   --- End of inner exception stack trace ---
   at Neo4j.Driver.Internal.Connector.PooledConnection.OnError(Exception error) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\PooledConnection.cs:line 75
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 98
   at Neo4j.Driver.Internal.ConnectionPool.CreateNewPooledConnection() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 113
   at Neo4j.Driver.Internal.ConnectionPool.<Acquire>b__21_0() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 143
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\LoggerBase.cs:line 54
   at Neo4j.Driver.Internal.Session.<>c__DisplayClass14_0.<Run>b__0() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Session.cs:line 62
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\LoggerBase.cs:line 49
2017-08-06 15:03:47,502 ERROR ITECH_ApiServices [#32] - Neo4j.Driver.V1.ServiceUnavailableException: Connection with the server breaks due to IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms ---> System.IO.IOException: Failed to connect to the server localhost:7687 within connection timeout 5000ms
   at Neo4j.Driver.Internal.Connector.SocketConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\SocketConnection.cs:line 73
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 96
   --- End of inner exception stack trace ---
   at Neo4j.Driver.Internal.Connector.PooledConnection.OnError(Exception error) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\PooledConnection.cs:line 75
   at Neo4j.Driver.Internal.Connector.DelegatedConnection.Init() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Connector\DelegatedConnection.cs:line 98
   at Neo4j.Driver.Internal.ConnectionPool.CreateNewPooledConnection() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 113
   at Neo4j.Driver.Internal.ConnectionPool.<Acquire>b__21_0() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\ConnectionPool.cs:line 143
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\LoggerBase.cs:line 54
   at Neo4j.Driver.Internal.Session.<>c__DisplayClass14_0.<Run>b__0() in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\Session.cs:line 62
   at Neo4j.Driver.Internal.LoggerBase.TryExecute[T](Func`1 func) in Z:\BuildAgent\work\9ae188c903d07190\Neo4j.Driver\Neo4j.Driver\Internal\LoggerBase.cs:line 54

Hi,
What do you mean of when our webapi server hosted in iis is recycled? Could you describe a bit more about how you see this error in your system?
Is it correct that you have a server which contains a .net driver inside? Then at the first, the server starts and then the driver is created. For a while, the driver is working as expected such as many queries can run successfully? But when or how does the driver stop working? Is this error printed out when your server get disposed? dose the driver also get disposed properly?
Have you tried to increase the timeout time to infinite TimeSpan.FromMilliseconds(-1)? Will you still see this error?
Cheers,
Zhen

We have a asp.net webapi server written in c# with neo4j dotnet driver 1.3
And we define 1 static instance of IDriver and every call to the neo4j db we use different session
Regularly the driver is working ok
after iis do the recycle we see that at the moment the new process is up then we have this exception and after that the code work ok
I'll try to look at the timeout you mentioned

I have the same issue, every recycle for the application pool in IIS generates this error.

Hi @zhenlineo any updates on this bug?

@razbar It is on our current work list. We will make sure to keep you updated on this issue.
@AviAvni said that he did not receive this error with our new 1.5 async API. So maybe you would also be interested to try out 1.5.0-alpha01.

@zhenlineo thanks for the update.
I would definitely be delighted to test it but I need async API that supports causal clustering.
Do you have any release date for this?

@razbar Hi, we've release a new alpha 1.5.0-alpha02 with full async support for routing driver too. Pls be free to give it a try.

We think this error was caused by sync over async in 1.3 driver implementation. 1.5 driver fixes this issue by using sync for sync and async for async as long as it is possible.
In 1.5, if you are on .net standard 1.3, then we recommend to use async driver API. (The socket lib does not provides us a sync impl therefore we have to wrap sync driver API on top of async socket implementation.) If you are on .net framework 4.5.2+, then you are free to choose between sync and async API.
I am closing this issue as I have not heard this issue any more with the 1.5 async API. Please be free to reopen this issue if you encounter this error again.
Cheers,
Zhen


lock last object indexes on dirty segments

It would be safer if a transaction would also lock the last object index of all segments it is about to change the index


WIP: Implement selector

I'm also wondering about the discrepancy between Draft's interface and the one in Action.

I'm also wondering about the discrepancy between Draft's interface and the one in Action.

execAction in action is abandoned.
execAction from within an action is a complex and confusing mechanism for both users and Lys, and it also reduces code transparency by propagating state between actions using side effects.

execAction in action is abandoned.
execAction from within an action is a complex and confusing mechanism for both users and Lys, and it also reduces code transparency by propagating state between actions using side effects.

I'm also wondering about the discrepancy between Draft's interface and the one in Action.

It now resolved

I'm also wondering about the discrepancy between Draft's interface and the one in Action.

It now resolved


Investigate using Tekton instead of Drone

Currently, Drone is used as the deployment pipeline for Otomi.
There are few issues with this approach:

it requires manual activation
Drone for kubernetes most probably will not be supported in the future.

because of the above issues we would like to investigate using Tekton that is already an optional app in otomi.
The requirements for this task is to make PoC as follows

create tekton pipeline that is listing on the values repo changes in Gitea (automate this procedure)
in the pipeline use a step that is using otomi image and calls otomi values

Time box: 2 days

BLOCKER: shared PV between tasks


Consider adding an icon to Zulrah phases that don't require the player to pray protect from range

There are several Serp Zulrah phases that just spit out snakes and gas and don't require the player to pray range. Consider adding a small icon on those phases that indicate that the player doesn't have to pray range.

I think this would be super handy, happy to have a look into it and maybe get a PR up for this.

I see a few different ways of implementing this. I've done some mockups to help explain.

Display prayers needed for each phase (and do not display if phase can be done without prayer)
Display no-prayer icon on phases where prayer is not required. (@EliasLahham's original suggestion)

I think I prefer approach 1 because
a) There are also some phases where zulrah will spit clouds for half, then attack for the second half of the phase. Though displaying this in an icon visually may be tricky, I could try a 'half pray' icon for range/mage
b) I dislike the no-prayer icon i've designed (happy for any suggestions!) I think it's not very clear and the red is a bit jarring.

Any feedback @while-loop @EliasLahham ? :)

Looks great!!! I'm leaning more towards the no icons for no prayer. I think it'll become too cluttered for long phases and repetitive for the first and last stages in your screenshot.
What do you think?

This looks great. I agree with omitting the crossed out prayer icon since a player can still use prayer for the snakelings


Only Image extensions should be accepted in the add image option of theme customization.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
Only Image extensions (.jpg, .jpeg, .png, .svg)should be accepted in the add image option of theme customization.
Preconditions

Admin should be logged in.

Steps to reproduce

Go to 'Admin panel'
Click on 'edit static content' inside the Settings/Theme
Click on the add image here add video
Click on the save button
See the error

Expected Result
It is accepting only images so should upload only images.
Actual Result
able to upload all types of extensions but it is not updating on the site. Here
Screenshots
No response
Additional context
No response

@amit-webkul Partially fixed. the notification is only showing on the sliders. Fix the same for all the carousels. Here

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Need help in setting up the MQTT server

Hi,
I'm very new to MQTT concept. I wanted to implement this protocol in my xamarin projects where I need to configure the server on my local machine. I'm not able to find a complete example of setting up the server. Can you please help me by providing any tutorial on setting up the server so that I can communicate through my xamarin mobile application in which the Android and iOS devices acts as clients.
Thanks,
Sunil

Hi,
the Wiki contains an example for a simple MQTT broker without special settings.
Best regards
Christian


Switch to numpy-style docs.

Because this library is targeted toward scientific users, and interfaces with scientific packages, we should use the accepted numpy standard for docstring style.

We are now using napoleon to preprocess numpy-style docstrings. A good strategy for making this transition as painless as possible is to convert the docstring for a function or class to numpy-style if you do work on it. This can all be done gradually.


Primary and foreign keys

While fixing test suite, I encountered a lot of problems, when we have a primary key (expecially composite) which is also a foreign key (e.g. see https://github.com/propelorm/Propel3/blob/master/tests/Fixtures/bookstore/schema.xml#L106).
Imho, the problem is that those primary keys are marked as "implementation detail".
Which is the better solution? Avoid to mark a primary key as "implementation detail" or leave everything as is?
Both solutions require some workarounds.

I added implementation detail to mark a column as a database implementation detail, which has nothing todo with a PHP object. For example to store relation a extra field author_id is necessary  because SQL databases force us to do so as they store relations through extra fields. Other databases don't. In the PHP world, when I deal with plain old php objects I really usually don't care. I just set setAuthor(), without knowing what the underlying database is needing to actually store it. I marked fields generated by foreign keys per default as implementation detail, so we don't have them at every object as actual field. Instead we read the PK of foreign's object during the persisting stage. That's the story behind implementation detail.
I can imagine that we should do the same for 1-1 relations (where PK = FK in SQL terms).
However, it could get tricky if we have auto-increment PK, since we need to reserve the auto-increment value beforehand (like we currently do) and use it in both objects (relation dependant creates the PK, owner side needs to have a PK without auto values as it simply copies the value from the dependant). Composite PK as FK is actually the same. We just make sure auto-increment is filled (if one has AI enabled like before) and read the other PKs from the foreign object in local FK. Should actually already work I guess. Can you point me to some missing cases?
So, workflow
User 1:1 Author (has <relation>)

persist ($author, $user)
resolve dependency tree to see  which needs to be saved first (already working)
When $user is in SQL persister class (which should come first as it's the dependant of $author), we know it has two PKs.
3.1. One is AI, so don't do anything as this is already done
3.2. One is a FK. Fetch the object from the class field and read its values. (restriction, other objects PK can not be auto-increment when it's a 1:1 sibling). Set it values to $user's PK. This should already be done in EntityMap::buildSqlBulkInsertPart
3.3. Save $user
When $author is in SQL persister class, we know its a 1:1 sibling.
4.1. Read all FKs from $author and use it as PK fields. Should already be done in buildSqlBulkInsertPart
4.2. Save $author

Did I miss something?

Ok, I understand now. I had to restart some work.
I leave this issue opened, to ask something else, if needed.
Thank you!


Error loading functions from autotune.py

I am having trouble loading things from scvi.inference.autotune, such as auto_tune_scvi_model:
from scvi.inference import UnsupervisedTrainer, auto_tune_scvi_model
ImportError: cannot import name 'auto_tune_scvi_model' from 'scvi.inference'
I installed scvi through the bioconda repo and directly through github and got the same error with both.
Great method, look forward to using it!

Hi Ilya, Thanks for trying out scVI! We just recently added automatic hyperparameter tuning to the master branch of scVI; the version of scVI that conda installs from earlier.
@romain-lopez Perhaps you would release a new version of scVI (0.4 ?) in a couple of days, or whenever @gabmis releases his blog post on scVI's automatic hyperparameter tuning?
Ilya, in the meantime you might try using the master branch of scVI rather than the version conda installs. You'd need to install a couple of additional dependencies too that we've added since releasing scVI v0.3. Those additional dependencies you can install with conda install pymongo hyperopt scanpy louvain -c conda-forge.

Sounds good, let me know Gabriel when you want to release a new version !
Best,
Romain
On Wed, May 15, 2019 at 12:26 PM Jeffrey Regier<EMAIL_ADDRESS>wrote:

Hi Ilya, Thanks for trying out scVI! We just recently added automatic
hyperparameter tuning to the master branch of scVI; the version of scVI
that conda installs from earlier.
@romain-lopez https://github.com/romain-lopez Perhaps you would release
a new version of scVI (0.4 ?) in a couple of days, or whenever @gabmis
https://github.com/gabmis releases his blog post on scVI's automatic
hyperparameter tuning?
Ilya, in the meantime you might try using the master branch of scVI rather
than the version conda installs. You'd need to install a couple of
additional dependencies too that we've added since releasing scVI v0.3.
Those additional dependencies you can install with conda install pymongo
hyperopt scanpy louvain -c conda-forge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/YosefLab/scVI/issues/336?email_source=notifications&email_token=AFCDZD6RP6WS3YP35LMBCITPVRPXXA5CNFSM4HNFOVSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVPWLJQ#issuecomment-492791206,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFCDZD7HUCVSYBTSJPPMBFDPVRPXXANCNFSM4HNFOVSA
.

Hi Ilya, I see you now you said you tried installing the version of scVI on github too. With that version, I'm surprised you'd get the same import. Is it possible that even though you downloaded the github version, you're python path is such that you're still important the version of scVI that conda installed? Would you try it again (with the latest version of scVI master branch) after typing conda remove scvi ?

On my machine:
(base) 587233495:scVI jeff$ python
Python 3.7.3 (default, Mar 27 2019, 16:54:48)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scvi.inference import UnsupervisedTrainer, auto_tune_scvi_model
/Users/jeff/miniconda3/lib/python3.7/site-packages/sklearn/utils/linear_assignment_.py:21: DeprecationWarning: The linear_assignment_ module is deprecated in 0.21 and will be removed from 0.23. Use scipy.optimize.linear_sum_assignment instead.
  DeprecationWarning)
>>>

I'm having the same issue, after trying all the suggestions above. Would love some advice.

We're planning to release a new version of scVI in the next few days that will include automatic hyperparameter tuning, as well as a blog post showing how to use it.

I also have the same problem on importing the 'auto_tune_scvi_model' module. I also try to download the install package to the service and run the command to install the scVI. But the problem is still there.

Hi,
Thank you for your interest in scVI!
While waiting for the new release which should happen in the coming weeks, you may try to install from source as follows (if you use ssh):
git@github.com:YosefLab/scVI.git
cd scVI
python setup.py install

This discussion will be useful for people having the same issue but doesn't require anything on our part, therefore I am closing it.

Thanks. I tried this, and the result:
"ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository
Please make sure you have the correct access rights and the repository exists."

Alternately, you can try
git clone https://github.com/YosefLab/scVI.git

Ultimately, please refer to the GitHub documentation for help with repository cloning: https://github.com/YosefLab/scVI.git

Thanks for the prompt response. Now the following error is thrown:
"The package setup script has attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted.
This package cannot be safely installed by EasyInstall, and may not support alternate installation locations even if you run its setup by hand. Please inform the package's author and the EasyInstall maintainers to find out if a fix or workaround is available."

Is the last issue from RicedeKrispy related to issue #378 ?


Some maps lack nitrogen tank closets/canisters

[ ] Aspid

Canisters and closets

[ ] Ferrous

Canisters

[ ] Gemini

Canisters? (We have not played Gemini sense vox have been added)

cc @Aexxie @MciReloaded @PursuitInAshes

Hopefully you did not get spammed for that. I think I assigned and unassigned you multiple times because github was being a bit weird.


Markdown-it plugins not being rendered to pdf

in vuepress 2.0.0-beta.67, i am applying markdown-it plugins via the .vuepress/config.ts file.  the plugins are rendering correctly on a dev site, but appear to not be applied while exporting pdf.  best i can tell is that the hook isn't being called.
example config.ts:
import { defaultTheme } from 'vuepress'
import md_multitable from 'markdown-it-multimd-table'

export default {
  ...

  extendsMarkdown: (md) => {
    md.use(md_multitable),
  },

}

export default defineUserConfig({

	plugins: [
		{
			name: "markdown-it-multimd-table",
			extendsMarkdown: (md) => {
				md.use(mdMultimdTable);
			},
		}
	],

})

I can get the correct export

oh interesting, thank you.  this is now working for me.
side question if you don't mind filling this answer in for the next person that stumbles on this --
is this a normal thing for vuepress v2?  to put the definition of extendsMarkdown inside the plugins configuration?
working from the example the v2 docs present, i would have never guessed to configure the markdownnit plugins this way
https://v2.vuepress.vuejs.org/reference/plugin-api.html#extendsmarkdown

I think that usage is correct.🤯

understood, thank you


⚠ Bofrost.at has degraded performance

In 4405ccc, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1267 ms

Resolved: Bofrost.at performance has improved in a47ef6b after 32 minutes.


Timestamp formatting

Current formatting of timestamp for projects is a little clunky:
2023-03-29T18:45:50.886433
Can we do something like
2023-03-29 18:45:50 PST
Or
March 23rd, 2023 18:45:50 PST
Where the timezone is set automatically to either the user's timezone or GMT?

Timestamp format is updated to: Month Day, Year HH:MM:SS AM/PM, can close issue once PR is merged.


Provide possibility to validate if property hasn't been provided in the body

I would like to have the possibility to have an attribute to validate if property hasn't been provided in the body at all.
    public class ToDoRequestUpdateModel
    {
        /// <summary>
        ///     Value indicating whether To-Do is completed.
        /// </summary>
        /// <value><c>true</c> if this To-Do is completed; otherwise, <c>false</c>.</value>
        [Required]
        [DisplayName("Completed")]
        [JsonProperty]
        public bool? IsCompleted { get; set; }

        /// <summary>
        ///     To-Do description.
        /// </summary>
        /// <value>To-Do description.</value>
        [Required(AllowEmptyStrings = false)]
        [JsonProperty]
        public string Description { get; set; }

        /// <summary>
        ///     Date when To-Do must begin.
        /// </summary>
        /// <value>Start date when To-Do must begin.</value>
        [JsonProperty]
        [DisplayName("Start date")]
        public DateTime? StartDate { get; set; }

        /// <summary>
        ///     Date when To-Do must be finished.
        /// </summary>
        /// <value>Due date when To-Do must be finished.</value>
        [JsonProperty]
        [DisplayName("Due date")]
        public DateTime? DueDate { get; set; }
    }

Event when the values above are nullable I would to know if the values has been sent with the body. I like the proposal in #4857 for HttpBindRequired. For required value can used there parameter HttpRequired.

Thanks for contacting us, @akalcik.
Unfortunately, this will require a feature from the serializer, which is not currently available. We may reconsider in the future, if that feature becomes available.

Thanks for contacting us, @akalcik.
You should be able to use JsonProperty attribute to achieve what you want. See https://www.newtonsoft.com/json/help/html/JsonPropertyRequired.htm