protoc-gen-php version

Following the directions here http://www.grpc.io/docs/quickstart/php.html#install-protobuf-php the output of protoc-gen-php is
Protobuf-PHP 1.0 by Ivan -DrSlump- Montes

Is this correct?
I'm asking because I ran protoc-gen-php -i . -o . myservice.proto on a proto3 file with a service definition and message definition but the output .php file only had the message, not the service code.

I'm also experiencing this issue.. + following documentation and  trying to run examples you'll get errors of outdated proto files..
https://github.com/grpc/grpc/tree/v1.0.0/src/php
/opt/code/rpc_examples/grpc/src/php/bin# ./generate_proto_php.sh
Protobuf-PHP 1.0 by Ivan -DrSlump- Montes
--php_out: math.proto: Can only generate PHP code for proto3 .proto files.
Please add 'syntax = "proto3";' to the top of your .proto file.
.proto: Can only generate PHP code for proto3 .proto files.
Please add 'syntax = "proto3";' to the top of your .proto file.

after further looking, looks like 3.1 of protoc is incompatible with protoc-gen-php. https://github.com/grpc/grpc/issues/8502#issuecomment-256231119.. will try do downgrade to 3.0 and run it again.

tested and fixes the issue : protoc --version
libprotoc 3.0.0
I get a generated file now with client/ request/ response classes in it.

Sorry this is a confusing time period where we are switching between proto implementation
Current state: v1.0.1 is released. It uses the DrSlump fork. It only works for proto2 files.
Future (hopefully not long) state: v1.1 is going to be released (hopefully) soon. That is going to use the official google/protobuf proto3 implementation. That is what you will find on the master (but unreleased) branch.

gRPC 1.1.0 has been released and so is the PHP PECL extension and composer package. This release marks our switch to use the official google/protobuf Proto3 implementation, and hence the use of the Drslump fork (stanley-cheung/Protobuf-PHP) will soon be deprecated and no longer supported.
Please install protoc 3.1.0+ (even better with 3.2.0+) to use the new code generator to generate stub classes.


Wikidata Gadgets - good to use

@BobBorges  FYI I use gadget "DuplicateReferences: Adds a link to copy references and add them to other statements on the same item."  if you are logged in you activate it on your page Special:Preferences#mw-prefsection-gadgets)

also Easy query is nice to visualize linked data see my description for people working at Skansen
currentDate good when adding dates...

Everyone can write user scripts I have some more activated see my common.js on WIkidata your is on Special:MyPage/common.js if you are logged in
The one I have in common,js see also Wikidata:Tools/Enhance_user_interface

duplicate_item.js - does a copy of an object - good if you should add new ones that are "identical"
DragNDrop.js - its often more info in the Wikipedia article this script allows you drag an item to WIkidata, exampe death location seems to be more often in an article than in WIkidata....
ShowQsAndPs.js - shows the Qnumber next to an Wikidata fact extremely useful as textstrings are often not unique
WikidataTrust.js - shows who has edit a fact.... some bots/user has less trust 😭 and it could be good to see that info
authority_control.js -  adds a menu option that checks VIAF if the person is in there and with a click you can add those refs to Wikidata
overpass.js - adds an iframe if an Open Street Map object has an reference same as Wikidata see below Q252312 same as OSM relation/14869678

gadget User:Inductiveload/scripts/ShowQsAndPs.js to show Q numbers add it to your Special:MyPage/common.js see my common.js on Wikidata

Tool to connect external sources Mix-and-Match - manual - video

gadget User:Magnus_Manske/mixnmatch_gadget.js to show Mix-and. match items on the wd object add it to your Special:MyPage/common.js see my common.js on Wikidata

how it looks om Q6253724

Special:Tags

Special:RecentChanges Mix-and-Match - 1 413 932 ändringar

View_it!_Tool

Get pictures associated with the article subject shown in WIkipedia/Wikidata ....

Example of adding tab Scholia

1 . update Special:MyPage/global.js (see meta.wikimedia.org/wiki/User:Salgo60/global.js)

mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Salgo60/scholia.js&action=raw&ctype=text/javascript' );

The file User:Salgo60/scholia.js

adds the tab Scholia
creates the link SCHOLIA_URL + qNumber

authority_control.js - adds a menu option that checks VIAF if the person is in there and with a click you can add those refs to Wikidata - video TBA

Constraint Summary

Summarize errors in the Wikidata object  below Q6206835

Special:ConstraintReport/Q6206835

Gadget i Wikidata för att splitta namn till olika namn objekt länk

importScript( 'User:Bargioni/quickNames.js' );

Exempel hur det ser ut

SPARQL folk i riksdagen utan förnamn P735 satt

se #142

Another drag and drop video


backup: test backup and import

What have you changed?
This PR adds a test about backup a region into sst files and restore it with importer.
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?
Unit test.
Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No.
Does this PR affect tidb-ansible?
No.

CI failed

PTAL, thanks!


generating multiple paraphrases of an input sentence

Hi Tom,
Thanks for releasing Separator!  I am using it on a custom set of sentences as shown here : https://github.com/tomhosking/separator#run-inference-over-a-custom-dataset
I would like to generate "n" paraphrased questions for each input questions (say n=5).
Is there a way to do this when calling instance.inference as shown below?
# Finally, run inference
_, _, (pred_output, _, _), _ = instance.inference(data_loader.test_loader)

My apologies if there is a straighforward solution; I am not very familiar with torchseq.
Thanks!
Tejas.

Hi Tejas,
The model only predicts the top-1 template - but you can get the system to output more of the candidates generated by beam search. Add these settings to the config to increase the beam width to 8, and return the top 5 generated paraphrases:
cfg_dict["beam_search"]["beam_width"] = 8
cfg_dict["beam_search"]["beam_expansion"] = 8
cfg_dict["eval"]["topk"] = 5

In general, beam search doesn't have that much diversity between outputs, though.


[ADLS]Remove Secondary Endpoint for ADLS

the first commit: Remove Secondary Endpoint for ADLS
the second commit: Make the doc accurate

Can one of the admins verify this patch?


Notes from 11/27/2022

We have more parts and pieces of this up and running. Im going to work on the profile section tomorrow to get it to store user information. Maggie got the API working and is going to try to get the info into an array to replace my dummy data. Justin got the dummy data loaded and consoling an array for us of rejects and matches. I need to add a splice to the starting point to get rid of duplicates. I'll do that with my tutor tomorrow. We still need the settings screen up and working. Its taking the user to the html but its not loading my info anymore. Dalton to get that up and working along with correcting the bug.

https://github.com/alexandriawhite/Live-User-Filter Maggie also to look into using this for our matches section to filter


Using local adapter via OpenAI API

Feature request
When using the original endpoint, I can pass the adapter_source as "local" to load adapter from local directory.
How can I do it with OpenAI endpoint?
I have try pass --adapter-source local when run docker but it's still not working
Motivation
Load local adapter
Your contribution
.

Hey @prd-tuong-nguyen, I'd be happy to add support for this. There are two ways I could think to do it:

Allow the user to set the default adapter source during initialization, as you were trying to do.
Allow the user to provide the adapter source as a request parameter to the OpenAI client using the extra_body param here: https://github.com/openai/openai-python/blob/main/src/openai/resources/chat/completions.py#L645

Both could work. I think being able to set a default adapter source is a good idea in general, though. So happy to take that on first.

@tgaddair thank u for your quick reply,
I agree with you that setting the default adapter source is the good way to start.
I'm here to waiting that amazing feature <3

Hey @prd-tuong-nguyen, we just landed #223 which should hopefully address this issue. Let us know if there are any issues!

@tgaddair amazing, thank u


Understanding what i can connect

Sorry, its me with another question: i think i still havent understood well what this Software is going to do:

Can i connect a Synth with USB Midi to the AtomS3 and it will translate USB Midi to BLE Midi?

I connected an older Novation XioSynth25 via USB to the AtomS3 and then tried to scan for my Android Phone & Windows 10 PC, but i cannot find anything... The Phone and the Windows PC can also "see" no BLE Midi device... So i am wondering did i completely misunderstand what the Software is supposed to do ;)?
Thanks!

@tilllt On this program, AtomS3 acts as USB MIDI Device and BLE MIDI Client
USB MIDI Device needs to be connected by USB MIDI Host like Windows OS via USB cable.
BLE MIDI Client can connect to BLE MIDI Server like microKEY Air
I am not familiar with Novation XioSynth25 but I checked its manual. I think XioSynth25 has the function of USB MIDI Device not the Host.
And BLE function on Windows 10 PC and Android Phone is normally BLE Client.
So AtomS3 with this program could not find Windows PC and Android Phone.
So I think you are misunderstanding this program......

Thanks for the clarification. Do you know of a similar project that does the same only as BLE Midi Host and USB Midi Host? As far as I understand the atom S3 could theoretically, be a USB midi Host, right?
I saw this but it seems to more of a low level library...
https://github.com/max22-/ESP32-BLE-MIDI

@tilllt MIDIUSBHOST_ESP32 has a simple example for USB MIDI Host.
And Arduino-BLE-MIDI has BLE Server and Client examples.


New feature suggestion: disable specific dates

I think many users use this daterangepicker for reservation, booking something, so it would be nice to add a feature for disabling specific dates.

@sunloverz And do you suggest we do that. by passing in a whole array of dates which you want to disable or just disbledWeekEnds will it suffice your needs?

I think its better to disable dates by passing an array of dates. Something like disableDates: [{year: 2018, month: 10, day: 1}, {year: 2018: month: 10, day: 2}]
Or even better also add a feature to disable date ranges.

Done in v2.3.2


test.bam return error

Hi there,
I ran the test.bam, but it returns "No overlaps found in test.hq.janno and gencode CDS"
here is the command

May I ask what's going on there? Did I make any mistake?
Thank you.

Hi,
It's my fault, it run well when I change hg19 to hg38.


Release notification emails are consistently late

I subscribe to your emails which provide notification of new releases.
For the last few releases, these have been consistently late: the mbedTLS 2.8.0 blog post was announced on March 21st, but the email didn't go out until 6 April.
Some users may be relying on the emails to be notified of security advisories; if the email notifications are not suitable for this purpose, the mailing list should indicate this clearly. Since the advisories in the 2.8.0 release may have affected our product, it would have been nice to notify the mailing list promptly.

Hi @NWilson,
Over the past few months we've been planning a migration from the old Offspark Mbed TLS website to new infrastructure, and integrating Mbed TLS properly into the rest of the Mbed website. One part of that has been migrating how we issue release emails.
Unfortunately, over the past two releases, we've had some initial problems and have been left very unsatisfied with the turnaround on the announcement emails, and the long delay between pushing Mbed TLS onto GitHub and the website, and the email going out. We've sought and received reassurances, that this should not happen again.
You have our sincere apologies for this, and I appreciate a security advisory that arrives late in a period measured in weeks isn't very useful.
For the next release, I'll post an announcement on the Mbed TLS forum at the same time we issue the official email. If you subscribe to forum emails hopefully you'll receive that too.
For the moment I'll leave this issue open until after the next release.

No problem then! Sounds like you're aware of it, so I'm happy. Thanks!

This question has been answered, therefore closing


[Event Request] Add. Events Parameters - codeunit 99000773 "Calculate Prod. Order" - OnBeforeUpdateProdOrderDates

Could you please add the following Parameter to Event OnBeforeUpdateProdOrderDates in codeunit 99000773 "Calculate Prod. Order"
Adjust Publisher Call in Fct. CalculateProdOrderDates:
-   OnBeforeUpdateProdOrderDates(ProdOrder, ProdOrderLine);
+   OnBeforeUpdateProdOrderDates(ProdOrder, ProdOrderLine, ProdOrderModify);

Adjusted Publisher:
Add Param (with var): ProdOrderModify
    [IntegrationEvent(false, false)]
-   local procedure OnBeforeUpdateProdOrderDates(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line")
+   local procedure OnBeforeUpdateProdOrderDates(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderModify: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


RPC Unexpected Frame error can occur with driver and agent code running

Agent Version
Have seen it on agent releases 9.2.0 and 9.3.0.b2
Operating System
CentOS 7
OpenStack Release
both liberty and mitaka encounter this issue
Bug Severity
1
Severity: <Fill in level: 1 through 5>
Severity level definitions:

Severity 1 (Critical) : Defect is causing systems to be offline and/or nonfunctional. immediate attention is required.
Severity 2 (High) : Defect is causing major obstruction of system operations.
Severity 3 (Medium) : Defect is causing intermittent errors in system operations.
Severity 4 (Low) : Defect is causing infrequent interuptions in system operations.
Severity 5 (Trival) : Defect is not causing any interruptions to system operations, but none-the-less is a bug.

Description
When we run tempest tests nightly, a test may occasionally hang forever.  Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2017-03-09 15:54:53.545 7052 INFO tempest.lib.common.rest_client [req-7e2c609c-3ae2-49bf-818f-91568a49bae0 - - - - -] Request (ServiceBuilderTestJSON:tearDownClass): 204 DELETE http://<IP_ADDRESS>:9696/v2.0/subnets/374c6c68-fb54-4d25-8c63-31af60cf7bb0 0.509s

As far as we know, the test never recovers, nor does it time out. If it did time out, as succeeding tests would also fail because at that point, RPC communication between the driver and agent is effectively down. Neutron commands (such as to create a port) still work, but neutron-lbaas write commands, such as create/update, hang (read commands still work).
The only way to remedy the issue is to restart the neutron-server. That often takes some time while it's waiting for the broken queues to time out.  Sometimes, this exception alone is not enough to break the RPC communication channels between the agent and the driver, but it often does.
The issue seems to happen regardless of BIGIP version, but we have not yet determined if it is just as common in an undercloud scenario as it is overcloud. Primarily, in nightly tests, we see the issue in overcloud, but that's likely because the overcloud tests run first.

The issue is fairly difficult to reproduce when running tests manually, although certain tests seem to produce the problem more than others. One such test is here:
https://github.com/F5Networks/f5-openstack-lbaasv2-driver/blob/mitaka/f5lbaasdriver/test/tempest/tests/api/test_load_balancers_admin.py#L75
It is a curious test because it creates two loadbalancers, although the original intention was likely not to have two loadbalancers in the test. Regardless, the failure often occurs around VIP port teardown.

Other things to note. This one is very important We've seen this issue arise simply after installing the agent and driver code and restarting the neutron server and the f5-openstack-agent. No tests were running and no tests had been run against the stack. This crops up in nightly from time to time, and manifests as the very first tempest test we run (usually an L7 api test) stalls.

The things we have tried to mitigate or work around this issue are varied. One major change is that we updated neutron to the 8.3.0 release. The RPC error happened in this deployment as well.

Occasionally, we see these types of messages in the log:
https://github.com/openstack/oslo.messaging/blob/8d42484e6f153c57b1216a7642841e7e6a77e887/oslo_messaging/_drivers/impl_rabbit.py#L748
Implying that a new oslo_messaging process, or at least a new instance of the rabbit driver, has been forked. As of now, we are unsure of how a new process is forked.

When running against commit hashes in driver of 7d736d162cca30eb000e0b2a32266dde9ef7ebdc and agent 15c7bc39d32a2bf7c7485e60c15bbabcd75bded1, encountered the problem as well. Those date to early December.

The new fork warning is interesting.   Is it possible that we're spawning new oslo_messaging processes?   That would be probably be in the agent, not the driver, and would likely be a bug.

@pjbreaux under what regime (test conditions) do we see the warning message about and oslo_messaging instance with a mismatched PID?

The make scripts that I run to excite this issue most often is in systest/scripts/run_neutron_lbaas.sh. Running that in a loop should be able to reproduce it within a reasonable amount of time (such as 8 hours).

Adding this link for reference as we have seen the frame_too_large problem this describes:
http://john.eckersberg.com/debugging-rabbitmq-frame_too_large-error.html

We have pretty much isolated the RCA here; however, the code causing this may be somewhat prolific within the LBaas Driver. The situation, as I understand it, is made vulnerable to this issue when the following situations are present:

More than one process using the same file descriptors
There being an instance where both threads issue a message on the same file descriptor/Rabbit MQ instance where one has more than one message write

Please note that to introduce this, both messages have to be filed within just a few (potentially) nanoseconds (or less) of one another. The multi-write frame, then must be mangled by the second process by its message causing the frame as a whole to be mangled.  This stretch in odds is why it has been so difficult to reproduce on a consistent basis.


implement ed25519 for micropython

@abuvanth
the math needed is available, I don't have time to implement it, you can take inspiration from ed25519 for a simple implementation to bring back to ucrypto

@dmazzella Okay I will look into it

ed25519 ported for micropython here - https://github.com/abuvanth/millegrilles.rpipico/blob/master/millegrilles/src/oryx_crypto.c

i am using https://github.com/abuvanth/millegrilles.rpipico/blob/master/millegrilles/src/oryx_crypto.c as ed25519 implementation. hence closed this issue


API 14 not supported

is this possible to support API 14?

Android distribution graph shows that API level 14 or less is very less now. And it's a good thing that app should use a minimum API level of 21 or least of 19.


loadableGroup load/group seems to infer the wrong type

export const Membership = builder.loadableNodeRef("Membership", {
	  id: {
		  resolve: (membership) => membership.id,
	  },
	  load: async (ids: string[]) => {
		  const memberships = await db.query.memberships.findMany({
			  where: (memberships, { inArray }) =>
				  inArray(
					  memberships.id,
					  ids.map((id) => parseInt(id))
				  ),
		  });

		  return ids.map((id) => {
			  const membership = memberships.find(
				  (membership) => membership.id == parseInt(id)
			  );

			  if (!membership) {
				  return new Error(`Membership not found: ${id}`);
			  }
			  return membership;
		  });
	  },
  });

  Membership.implement({
	  isTypeOf: (membership) => (membership as MembershipType).id !== undefined,
	  fields: (t) => ({
		  user: t.loadable({
			  type: User,
			  load: async (ids, { loadMany }) => loadMany(User, ids),
			  resolve: (parent) => parent.user_id,
		  }),
		  role: t.loadable({
			  type: Role,
			  load: async (ids, { loadMany }) => loadMany(Role, ids),
			  resolve: (parent) => parent.role_id,
		  }),
		  organization: t.loadable({
			  type: Organization,
			  load: async (ids, { loadMany }) => loadMany(Organization, ids),
			  resolve: (parent) => parent.organization_id,
		  }),
		  created_at: t.string({
			  nullable: true,
			  resolve: (parent) => parent.created_at.toISOString(),
		  }),
	  }),
  });

  User.implement({
	  isTypeOf: (user) => (user as UserType).id !== undefined,
	  fields: (t) => ({
		  email: t.exposeString("email"),
		  first_name: t.exposeString("first_name", { nullable: true }),
		  last_name: t.exposeString("last_name", { nullable: true }),
		  type: t.exposeString("type"),
		  memberships: t.loadableGroup({
			  type: Membership,
			  load: async (ids: number[]) => {
				const result = await db.query.memberships.findMany({
					where: (memberships, { inArray }) =>
						inArray(memberships.user_id, ids),
				});
				return result;
			  },
			  group: (membership) => membership.user_id,
			  resolve: (parent) => parent.id,
		  }),
		  created_at: t.string({
			  nullable: true,
			  resolve: (parent) => parent.created_at.toISOString(),
		  }),
	  }),
  });

Property 'user_id' does not exist on type 'string | { id: number; created_at: Date; user_id: number; organization_id: number; permissions: unknown; role_id: number; }'.
Property 'user_id' does not exist on type 'string'.ts(2339)
I don't understand why load may return a string.
Typeof result is the following:
const result: {
    id: number;
    created_at: Date;
    user_id: number;
    organization_id: number;
    permissions: unknown;
    role_id: number;
}[]

but typeof load is the following:
(property) load: (keys: number[], context: ContextType, args: never) => Promise<readonly (string | {
    id: number;
    created_at: Date;
    user_id: number;
    organization_id: number;
    permissions: unknown;
    role_id: number;
} | null | undefined)[]>

The issue here is that pothos isn't inferring the return type of load at all.  What it does is that it ensures that load returns an array of whatever is expected for a resolver returning a Membership, and that same type is used as the argument in group.  Because Membership is also a loadable type, you can return just a string to use the membership dataloader

Thanks!


Add Fuxi Volume Plugin to the docs

Signed-off-by: Hongbin Lu<EMAIL_ADDRESS>

@thaJeztah , thanks for the review. I have updated the pull request to address your comments.


The bunny man123 log to log hasn't been finished, merge this please

you'd likely benefit by moving the checking for ability to log at all to a separate method


stray resources files are lowercased when added to a jar

I've been playing with this to auto-add legal info
    resources in Compile ++= {
      // automatically adds legal information to jars, but are
      // lower-cased https://github.com/fommil/sbt-sensible/issues/5
      val orig = (resources in Compile).value
      val base = baseDirectory.value
      val root = (baseDirectory in ThisBuild).value

      def fileWithFallback(name: String): Seq[File] = {
        if ((base / name).exists) Seq(base / name)
        else if ((root / name).exists) Seq(root / name)
        else Nil
      }

      fileWithFallback("LICENSE") ++ fileWithFallback("NOTICE")
    }

and the files show up in the classes directory just fine, but when they get added to the jar file they are lower-cased. Jar/zip entries are case sensitive, so this is very bizarre.
https://github.com/fommil/sbt-sensible/issues/5

oh, ignore me. It's emacs rendering it incorrectly.


Clarify stream type by var name in README examples

Connects to #15
Avoid using readStream for every kind of readable stream, to inhibit confusion in examples.

Should line 102 also be updated, just for consistency?
And IMHO you current PR-message is a bit confusing, I think Avoid using the readStream variable name for every kind of readable stream, to prevent confusion in examples. might read better?

Mended & fixed


Declare PreserveCaseFormatterFactoryConfig factory

Commit Message: Declare PreserveCaseFormatterFactoryConfig factory
Additional Description: So it can be force-registered in Envoy Mobile.
Risk Level: Low
Testing: Envoy Mobile CI (https://github.com/envoyproxy/envoy-mobile/pull/2279)
Docs Changes: None
Release Notes: None
Platform Specific Features: N/A

This is a follow-up to #20780.
I'd still like to eventually add a way to enforce that this is always done for all factories.


Use Keycloak as a CAS IDP

Description/Context

Ike has a service that requires the use of a CAS IDP. The idea is to setup a dedicated Keycloak realm for that and enable the Keycloak CAS plugin.

We added the CAS plugin as part of the Keycloak build and verified that it is being installed properly. The next step was to test and verify it'll work with a CAS SP. To simulate that, we worked on using Apache APISIX cas-auth plugin.

Created a realm in keycloak
Setup an EC2 instance with a hostname through Route53
Configured a (cas) client in Keycloak with the appropriate URLs pointing to the EC2 instance
Went through APISIX documentation and verified that initial config is working
Followed the steps to enable a CAS route

Making a request to that route constantly threw a Client not found error on the Keycloak side. Tried a slew of different things on the Keycloak client side and on the APISIX side with no luck.
Additionally, loading the URL directly (https://<sso_hostname>/realms/<realm_name>/protocol/cas) throws a An internal server error has occurred. However, nothing is mentioned in the Keycloak logs.

The missing piece to resolve this issue ended up being adding the URL schema for the Valid Redirect URI in the CAS Keycloak client.

We have gotten confirmation from the last remaining user of our legacy CAS service that they still require this functionality. We will need to compile some documentation about how to integrate with this CAS service and ensure that the associated realm has Touchstone configured.

Once we've confirmed the realm name to be used for this, I can go ahead and start working on it.

Setup realm and requested it to be registered as an SP with the IDP. Additionally, emailed needed info to Tobias.


Bat alert does not respect the volume settings of the laptop and screams in full volume every time it has to give an alert.

Even if my laptop has a lower volume set, batalert screams in full volume every time.
This disturbs other people specially when I am in a meeting or working from a place where other people are also working.

Any progress on this issue @utkarsh2102 ?

Hi @rajudev,
Sorry I haven't had the time to look at it yet. But gimme a while, I'll work through this. Essentially, the problem lies here:
https://github.com/utkarsh2102/batalert/blob/703e816bcecfe56962f5cc91c041164cb9425c68/lib/batalert.rb#L24-L25
I just need to look at how to make this work with system's volume.

Interesting, take your time.
I'll look forward to an update.
Thank You.

@utkarsh2102 I have added a comment on https://github.com/dejan/espeak-ruby/issues/21. Let's see if the author accepts the proposal of adding the -a option.
After that, we can try integrating picandocodigo/volumerb maybe to fetch the system's volume in this gem.
Cheers!

Hi @Animesh-Ghosh,
That is awesome, thank you! I wonder if we can just use volumerb here directly? Do we really have to rely on espeak-ruby to accept the patch?
P.S: I genuinely hope they accept it! Thanks a bunch for looking at it and working on this. Let me know what you think!?

Hi @Animesh-Ghosh (again!),

That is awesome, thank you! I wonder if we can just use volumerb here directly? Do we really have to rely on espeak-ruby to accept the patch?

Aah, yeah, they do have to accept the patch for us to put the system volume. Once they accept the patch, I think this should do:
--- a/lib/batalert.rb
+++ b/lib/batalert.rb
@@ -3,6 +3,7 @@
 require_relative 'batalert/version'
 require 'espeak'
 require 'libnotify'
+require 'volumerb'

 module Batalert # :nodoc:
   # This is the main Runner class, inside which is the driving code.
@@ -17,11 +18,13 @@ module Batalert # :nodoc:
       status = File.open('/sys/class/power_supply/BAT0/status', &:readline)
       status = status.chomp

+      volume = Volmerb.value
+
       if capacity < 10 && status == 'Discharging'
         notify = Libnotify.new(summary: 'PUT ON CHARGING, YOUR BATTERY IS AT ' \
                                "#{capacity}%.", timeout: 3, urgency: :critical)
         notify.update
-        speech = ESpeak::Speech.new("put on charging, your battery is at #{capacity}%.")
+        speech = ESpeak::Speech.new("put on charging, your battery is at #{capacity}%.", amplitude: #{volume})
         speech.speak
       end

@@ -29,7 +32,7 @@ module Batalert # :nodoc:
         notify = Libnotify.new(summary: 'REMOVE CHARGING, YOUR BATTERY IS AT ' \
                                "#{capacity}%.", timeout: 3, urgency: :critical)
         notify.update
-        speech = ESpeak::Speech.new("remove charging, your battery is at #{capacity}%.")
+        speech = ESpeak::Speech.new("remove charging, your battery is at #{capacity}%.", amplitude: #{volume})
         speech.speak
       end
     end

What do you think, @Animesh-Ghosh?

I think the changes look good @utkarsh2102. I'm not on a laptop, so I may not be able to test out the changes by building the gem locally, so I think we can have @rajudev test it out after the updates?
What do you think @utkarsh2102?

I think the changes look good @utkarsh2102. I'm not on a laptop, so I may not be able to test out the changes by building the gem locally, so I think we can have @rajudev test it out after the updates?

No problem, thanks. Maybe I'll ask you once before cutting out a new release. If you have a minute or so to test, that'd be super helpful. Thanks, again! :)

Have created dejan/espeak-ruby#22 by the way. smiley

Lovely, thank you! 🎉


”Mărișelu”, ”Bârla”, ”Domnești” are listed in the drop-down menu

Description:
When user writes ”Mărișelu”, ”Bârla”, ”Domnești” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Mărișelu"

Expected results
The location appears in the drop-down menu as "Mărișelu, Bistrița-Năsăud (Mărișelu)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bârla"

Expected results
The location appears in the drop-down menu as "Bârla, Bistrița-Năsăud (Mărișelu)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Domnești"

Expected results
The location appears in the drop-down menu as "Domnești, Bistrița-Năsăud (Mărișelu)".


e2e tests fail : Cannot read property 'get' of undefined

When running e2e test after error happens
[12:38:46] I/launcher - Running 1 instances of WebDriver
[12:38:46] I/direct - Using ChromeDriver directly...
[12:38:49] E/launcher - Error: TypeError: Cannot read property 'get' of undefined
    at decorateDirectiveJIT (/**/node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:77:65)
    at decorateDirective (/**/node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:103:5)
    at /**/node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:116:7
    at Object.__decorate (/**/node_modules/tslib/tslib.js:97:99)

Project was recently updated to Angular 9.

Provide a minimal reproducible example, please.

Same issue here, while running unit tests with Jest in an Nx workspace:

After a little bit of digging, it seems that the getDefName method (here) is not able to properly identify the input type.
Hacking the code with logs I get:
console.log(type.hasOwnProperty(NG_COMPONENT_DEF)); // false
console.log(type.hasOwnProperty(NG_DIRECTIVE_DEF)); // false

Which will in turn obviously make it impossible to retrieve the getter (here).
I have no time to post a reproducible example just yet but will do whenever I can if someone else does not first.
Maybe this will help:
Angular CLI: 9.1.4
Node: 12.10.0
OS: darwin x64

Angular: 9.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.901.4
@angular-devkit/build-angular      0.901.4
@angular-devkit/build-ng-packagr   0.901.4
@angular-devkit/build-optimizer    0.901.4
@angular-devkit/build-webpack      0.901.4
@angular-devkit/core               9.1.4
@angular-devkit/schematics         9.1.4
@ngtools/webpack                   9.1.4
@schematics/angular                9.1.4
@schematics/update                 0.901.4
ng-packagr                         9.1.2
rxjs                               6.5.5
typescript                         3.8.3
webpack                            4.42.0

Thanks 😃

@Adrael

I have no time to post a reproducible example

The same for me. I've got a limited amount of time and I would rather be spending my time fixing that issue than trying to reproduce it. ;)

@arturovt made it quickly, check this sample repository.
Run npm i then nx test and you should see the error:
 ~/.../ngneat-until-destroy-issue:master > nx test
 FAIL  apps/ngneat-until-destroy-issue/src/app/app.component.spec.ts
  ● Test suite failed to run

    TypeError: Cannot read property 'get' of undefined

       8 |   styleUrls: ['./app.component.scss'],
       9 | })
    > 10 | export class AppComponent {
         |                          ^
      11 |   title = 'ngneat-until-destroy-issue';
      12 | }
      13 |

      at decorateDirectiveJIT (../../node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:77:65)
      at decorateDirective (../../node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:103:5)
      at ../../node_modules/@ngneat/until-destroy/bundles/ng:/@ngneat/until-destroy/lib/until-destroy.ts:116:7
      at Object.__decorate (../../node_modules/tslib/tslib.js:97:99)
      at Object.<anonymous> (src/app/app.component.ts:10:26)
      at Object.<anonymous> (src/app/app.component.spec.ts:2:1)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.688s
Ran all test suites.

@Adrael
This doesn't work because Ivy is disabled:

If I run ngcc then it works:

@Adrael
Man, I will tell you honestly there are dozen of issues with exactly the same problem. This seems very frustrating that people just keep opening issues w/o checking Angular Ivy docs and other issues.

@arturovt thanks for the quick fix, indeed it works!

just keep opening issues w/o checking Angular Ivy docs

FYI, I was not suspecting this to be my issue, given that I have
"postinstall": "ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points"
in my package.json which ran straight after installing the lib.
Actually, this is done by Nx by default, and is also available in the package.json in the sample repository, which also ran when you installed the repository on your machine.
Though simply running ngcc made it work....

This seems very frustrating

I guess this is how open source works...
But even if I didn't have the time as you can see I tried my best to help you debug the issue although I'm not the one opening it... So you should not blame me for this 😉
Anyway, thanks for your quick reply, it was very much appreciated.
Keep up the morale and the good work!

@Adrael
Hehe. I'm saying in general. We just really keep having and having the same issues. Glad to help! :wink:

@Adrael

Actually, this is done by Nx by default

This just forces me to make a PR to their repo to fix that... :rofl:

I am having this exact issue but when running the e2e tests with protractor. Do you guys know if its related?

I'm using<EMAIL_ADDRESS>package and that he crashes all tests. After downgrading it to 7.x.x version all tests with @UntilDestroy decorator was crashed. If you use it, try to upgrade it to 8.x.x (but pay attention. @ngneat/until-destroy 8.x.x support angular 10.0.5+ only :D)


Window flickering when scrolling around "Code Folding" and "Errors and Warnings" in Interactive Playground

VSCode Version: 1.24.0
OS Version: Mac OS High Sierra 10.13.5
Extensions: dbaeumer.vscode-eslint, jeff-hykin.code-eol, justusadam.language-haskell, lihui.vs-color-picker, mechatroner.rainbow-csv, ms-python.python

Steps to Reproduce:

Open VS Code.
Click on Interactive "Playground" from the "Welcome" page.
Scroll down to around "Code Folding" and "Errors and Warnings"
Watch the screen flicker (other parts of the screen, including other windows currently open, are unaffected).

Does this issue occur when all extensions are disabled?: Yes
Video link: https://youtu.be/w-az75ZtqX8
What I've tried:

Restarting VS Code had no effect.
Running code --disable-gpu had no effect.
Restarting and then running code --disable-gpu had no effect.
Disabling all extensions had no effect.

I've just noticed that even though I did "Disable All Installed Extensions" via the Command Palette, the jeff-hykin.code-eol extension appears to still be active as I can see the newline characters it inserts (you can see them in the video, too).

Thanks for reporting! This is very strange behavior.
It looks like the Disable All Installed Extensions doesn't reload the window, which is needed for the change to take effect. Can you try again after reloading it, or use Reload Window With Extensions Disabled to temporarily disable extensions?


Issues building with earcut.hpp

Hi Karim! Are you still maintaining this awesome tool? If so, just wanted to point out I'm having issues building the repo on a Mac OSX V10.12.3. I downloaded all the 3rd party resources (the right commit version) and was able to set up my build/ folder. But when i execute cmake --build build I'm getting:
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:13: error: no template named 'Earcut' in namespace 'mapbox'; did you mean 'earcut'?
    mapbox::Earcut<float, unsigned int> earcut;
    ~~~~~~~~^~~~~~
            earcut
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: 'earcut' declared here
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:19: error: expected ';' after expression
    mapbox::Earcut<float, unsigned int> earcut;
                  ^
                  ;
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:41: error: use of undeclared identifier 'earcut'; did you mean 'mapbox::earcut'?
    mapbox::Earcut<float, unsigned int> earcut;
                                        ^~~~~~
                                        mapbox::earcut
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: 'mapbox::earcut' declared here
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:41: error: reference to overloaded function could not be resolved; did you mean to call it?
    mapbox::Earcut<float, unsigned int> earcut;
                                        ^~~~~~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: possible target for call
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:351:5: error: use of undeclared identifier 'earcut'; did you mean 'mapbox::earcut'?
    earcut(polygon);
    ^~~~~~
    mapbox::earcut
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: 'mapbox::earcut' declared here
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:355:9: error: use of undeclared identifier 'earcut'; did you mean 'mapbox::earcut'?
    if (earcut.indices.size() == 0) {
        ^~~~~~
        mapbox::earcut
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: 'mapbox::earcut' declared here
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:355:9: error: reference to overloaded function could not be resolved; did you mean to call it?
    if (earcut.indices.size() == 0) {
        ^~~~~~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:768:16: note: possible target for call
std::vector<N> earcut(const Polygon& poly) {
               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:360:32: error: use of undeclared identifier 'earcut'
        outIndices = std::move(earcut.indices);
                               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:362:48: error: use of undeclared identifier 'earcut'
        outIndices.reserve(outIndices.size() + earcut.indices.size());
                                               ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:364:23: error: use of undeclared identifier 'earcut'
        for (auto i : earcut.indices) {
                      ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:371:46: error: use of undeclared identifier 'earcut'
    outVertices.reserve(outVertices.size() + earcut.vertices.size());
                                             ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:375:20: error: use of undeclared identifier 'earcut'
    for (auto& p : earcut.vertices) {
                   ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:5: warning: expression result unused [-Wunused-value]
    mapbox::Earcut<float, unsigned int> earcut;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Users/ire/Downloads/vectiler-master/src/vectiler.cpp:13:
In file included from /Users/ire/Downloads/vectiler-master/src/earcut.h:3:
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:134:15: error: member reference base type 'const unsigned int' is not a structure or union
    if (points.empty()) return;
        ~~~~~~^~~~~~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:770:5: note: in instantiation of function template specialization
      'mapbox::detail::Earcut<float>::operator()<unsigned int>' requested here
    earcut(poly);
    ^
/Users/ire/Downloads/vectiler-master/src/vectiler.cpp:349:13: note: in instantiation of function template specialization 'mapbox::earcut<float, unsigned int>'
      requested here
    mapbox::Earcut<float, unsigned int> earcut;
            ^
In file included from /Users/ire/Downloads/vectiler-master/src/vectiler.cpp:13:
In file included from /Users/ire/Downloads/vectiler-master/src/earcut.h:3:
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:142:52: error: member reference base type 'const unsigned int' is not a structure or union
    for (size_t i = 0; threshold >= 0 && i < points.size(); i++) {
                                             ~~~~~~^~~~~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:149:27: error: subscripted value is not an array, pointer, or vector
    indices.reserve(len + points[0].size());
                          ^~~~~~ ~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:151:34: error: subscripted value is not an array, pointer, or vector
    Node* outerNode = linkedList(points[0], true);
                                 ^~~~~~ ~
/Users/ire/Downloads/vectiler-master/src/earcut.hpp:154:15: error: member reference base type 'const unsigned int' is not a structure or union
    if (points.size() > 1) outerNode = eliminateHoles(points, outerNode);
        ~~~~~~^~~~~
1 warning and 17 errors generated.
make[2]: *** [CMakeFiles/vectiler_core.dir/src/vectiler.cpp.o] Error 1
make[1]: *** [CMakeFiles/vectiler_core.dir/all] Error 2
make: *** [all] Error 2

What am I doing wrong? Cheers from Pittsburgh!

Never mind! I had two copies of earcut.hpp that I'd somehow linked to before from another build... My bad. Again, thanks! This is a neat tool!


LiteDB Portable profile

Hi,
Which portable profile does liteDB support?
I am trying to install Nuget Package and get errors in almost all profile combinations!
Thank you!

Nevermind .... i solved it!!! Sorry....


KEP partity with code:

API parity: container-object-storage-interface-api and KEP definitions need to be in sync

/assign


feat(avoidance): update avoidance target detection logic

Description

Related links

https://github.com/tier4/tier4_autoware_msgs/pull/63

Tests performed

Notes for reviewers

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

split this PR into several part.


Toggle listeners/observers

Hi,
I have been looking into the possibility to toggle the listeners/observers which trigger the resizing.
I am trying to do this because i wan to add routing animations to my angular project but during the animations, the content disappears from the dom for a brief moment and the iframe is resized down to a smaller size and then is resized again when the new content comes in after the animations finish. It looked like the 'removeListeners()' would be helpful but i still want the iframe to resize after the routing animations complete.
Would there be a way to have toggle-able listeners?
For example, i would intend to disconnect the listeners at the start of any routing within the iframe and then reconnect the listeners after the routing is complete.

You can turn resizing on and off in the iframe
if ('parentIFrame' in window) {
  parentIFrame.autoResize(false);
}


image-tracking and Intereactive video

This is a great code repository! In addition, can you provide the code for the effect shown in the figure below? That would be greatly appreciated.

@hiukim I would also like to ask, can I use some cv algorithms for detection?

@wduo I'm not sure I understand the questions.
What effect are you referring to?
and what do you mean by using some "cv" algorithms for detection?

Hi, @hiukim The effect I am talking about refers to: pop-up card, pop-up 3D model, pop-up video (click to play this video), pop-up the 4 icons below. I only found html sample codes for pop-up cards and pop-up 3D models. Can you provide the complete code for the effect shown in the above gif animation? Thank you so much.

@wduo "view-source:https://hiukim.github.io/mind-ar-js-doc/samples/advanced.html"

@hiukim Great job! very interesting. In addition, I am a computer vision algorithm engineer, can we have some cooperation?

@wduo Definitely! I'm looking for some help with computer vision in the feature tracking part. Do you think you have some time to take a look and provide some advices?


cleanup_values analysis

Investigate everything that cleanup_values enrichment is doing, and whether or not this is desirable.
This enrichment was implemented incorrectly and during that time, we noticed some 'improvements' to the metadata getting reported out in our validation reports. See details here: https://github.com/ucldc/rikolti/pull/532
We wound up doing away with these 'improvements' to keep parity to the legacy system during the migration process.
This enrichment is complex, probably does too much, and it would be great to get rid of it. Especially if the metadata is actually "improved" as a result.

Keep an eye out for trailing periods in rights and description fields, middle initials in creator and other fields containing names.


test(switch): add more tests for switch

Add more marble diagram tests for switch() and switchMap() operators,
specially including subscription marble diagrams.
This PR depends on PR #466. Merge that one before. Merging that before will also change the diff you see for this PR.
Resolves #388.

Perfect (other than the strange overlap of commits in the PR) ... merged. 57ad986
Thanks!


WIP: pod-overhead: updates for beta

Placeholder Pull Request for updating PodOverhead documentation for 1.18, beta.
To add:

[ ] - describe how to verify its utilization in prometheus/metrics
[ ] - add example runtime class

/milestone 1.18

@egernst Hi 👋 please don't forget to add any technical reviewer for this docs if it's ready to be reviewed. Thanks!

@irvifa  - can you help identify appropriate tech reviewers (are you one?)?
I have a local draft I'm cleaning up and will submit soon.

Hi @sftim by the way do you aware on whom should I contact for the tech reviewer cc @VineethReddy02 as well..

SIG Node is the owning SIG here, so I'd ping @kubernetes/sig-node-pr-reviews

@egernst you should add a /hold if the feature graduation is not confirmed, otherwise you don't need a hold
and then you should retitle to remove the WIP status (highlighting that this is ready for approval).

@egernst since we're close to the deadlines do you already confirm the graduation and whether this PR is ready to be reviewed? Thanks!

It will be graduating, but this PR isn't ready yet.  Hoping to do finalize PR this weekend.

👋 Please rebase this PR on dev-1.18 in order to avoid merge conflicts.
Feel free to /hold cancel after you've rebased.
/hold

Updated - PTAL! Thanks.

/hold cancel

/cc @kubernetes/sig-node-pr-reviews

@egernst is the description still accurate:

Placeholder Pull Request for updating PodOverhead documentation for 1.18, beta.

It sounds like this is actually ready for review and no longer a placeholder; have I got that right?

Thanks for the thorough review, @sftim.  Updated - PTAL

Thanks again, @sftim.  Your feedback is making this a much better document.
Updated.

Thanks @sftim.  I reworded the "on the node" portion - let me know if this makes more sense.

Great suggestions; thanks @tallclair
Updated ya'll - PTAL.

Update @sftim

Hi @egernst
We are very close to the docs final deadline i.e All 1.18 enhancements docs should be in ready to merge state by Monday 16th March. Please make sure to complete all the docs reviews before the deadline.
Thanks!

@tallclair @sftim -- thanks for the reviews and great feedback. Can you help take one more pass?

/approve

/assign @sftim

/assign @VineethReddy02

/lgtm
/approve


Pushing the link button on the bridge does not do anything

The timer just runs out and nothing happens I'm afraid

I havent looked at this project for a long time, and in my personal projects I have moved to using their jar files for the sdk and resources.


[BUG] Variables stay the same accross the whole batch

${hair_color=!__f_facial/colors_hair__}
a woman with ${hair_color} hair.

If the batch size is 8, this will only random once at the start and then set the same color for every image.

well thats kinda funny, because i want this behavior for another project even if its not prefererd :/

@adieyal I've looked into the code and it seems that the variables aren't getting reset after each image. So when immediate is = true, it sets the value, but all images will use the same variables.
In randomprompts.py
gen = self._context.sample_prompts(template, num_images) has to be part of the for seed in seeds: loop and at the end the variables of the SamplingContext have to be reset.

Has this issue fixed itself for anyone else despite not having a new sd-dynamic-prompts commit? I've been avoiding variables because of this issue, but when I tested it today I'm getting different prompts in the same batch with
${prompt= __Background/Random__ }
${prompt}

I'm not clever enough to understand why by parsing through the code, but I turned off all other extensions in case some other extension was interacting with it and I still can't repro the issue. I did update Automatic1111 recently -- I wonder if that could be the cause of this change in behavior.

@Picometer12 The issue is not with the sd-prompt extension itself, but in one of it's dependencies. A library which is also created by @adieyal

I am also getting this issue, even after updating to the newest version of the extension. seems to be fine when taking from a wildcard, but if it's in the prompt on it's own it has this problem

This happened in my environment, especially when Umprompted was enabled (there may be other causes, but it worked fine in the current latest environment by turning it "off")
means disabling it on the Automatic1111 UI, not disabling the extension itself.
I will report it as an example.
https://github.com/ThereforeGames/unprompted


Drop rustc-serialize dependency

It has been deprecated: announcement.
Is there any functionality you would require from Serde or another library before this would be possible?

Thank you for your report. I will move to Serde !


Merge Expense - Cash expense is not merged with Expensify card expense after smartscan

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.63-3
Reproducible in staging?: yes
Reproducible in production?: yes
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: @jamesdeanexpensify
Slack conversation (hyperlinked to channel name): #retain
Action Performed:

Log in as a workspace member that has a Expensify card assigned (e.g<EMAIL_ADDRESS>Navigate to the workspace chat
Upload the following receipt
Verify the receipt is uploaded and displayed on the workspace chat as scanning
Wait for the Smartscan to finish

Expected Result:
Cash transaction should be merged with the ECard transation as they are the same
Actual Result:
2 separate expenses remain of the same transaction.
Report ID:<PHONE_NUMBER>926315
Expense IDs (Ecard):<PHONE_NUMBER>1180
Expense ID (Cash):<PHONE_NUMBER>990033
Workaround:
N/A
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[] MacOS: Desktop

Screenshots/Videos

View all open jobs on GitHub

cc @nkuoch related to the one we looked into for workspace feeds, but this is general any expensify card

I'm not sure how much you want to try to duplicate my case, but I did this:

If it helps, the card transaction was still pending when the receipt attached to it. I went into my Expensify account and saw it attached very soon after I made the actual transaction itself.

These didn't merge because smartscan failed
request_id:ZBoAO0

[SmartScanDos] ParseReceipt - Got response from parsers ~~ receiptID: '8573152033724506' jsonCode: '200' message: 'Started parsing for url https://www.expensify.com/receipts/w_78b02b13d660c64824e57b429b6fad6e39ffc6e9.png' parseData: '[receiptID: '8573152033724506' hitID: '23899890159398922673b4fee464924.00439275' result: 'fail' data: '{"transactionList":"","reservationList":[],"source":"Zoom_ImageParser_Worker_00040","ocrFilename":null,"status":{"code":404,"message":"No parser reported success"},"parserResults":{"fileExtension":"json"},"zipCode":""}' authToken: '']' imageSizes: '[]'

ReceiptReader - [AgentZero] Receipt scanned ~~ receiptID: '8573152033724506' fileName: 'w_78b02b13d660c64824e57b429b6fad6e39ffc6e9.png' result: '[merchant: 'Expensify' amount: '200' currency: 'USD' date: '' paymentType: 'card']'

[SmartScanDos] SmartScan - The scan failed ~~ receiptID: '8573152033724506'

[SmartScanDos] SmartScan - SmartScan set as illegible for receipt ~~ receiptID: '8573152033724506' isAgentZero: '1'

@nkuoch Is there're a specific reason on why it would fail? Here's the receipt I used, not sure why the smartscan would be incomplete 🤔

@thienlnam would you know https://github.com/Expensify/App/issues/52704#issuecomment-2498491049?

No date on the receipt, I suppose we could default to the current date though

Isn't defaulting to the current date the expected behavior? I was under the impression that was the the case when the date is
missing.

@thienlnam friendly bump on the question above


HTTP server (web server) support

Hello AWS team
I am working on ESP32 board with amazon freeRTOS. I have an requirement to use web server (HTTP server) to sending message on local web server and vice versa. I know Amazon freeRTOS still doesn't added support for HTTP server.
My questions are following:

Can I port or integrate the ESP-WHO or ESP-IDF HTTP_server code (available in components folder) into amazon freeRTOS platform?
If yes then can you please provide some guidance how to do that and what other dependencies comes out?
Amazon freeRTOS planning to add HTTP server support in near future?

Any quick help will be appreciated.
Thank you.

Hello rajneeshsinha,
I think you asked same question on the AWS forum (https://forums.aws.amazon.com/thread.jspa?threadID=313477).  I'm going to close this issue. If you have any further questions, feel free to reopen.

@rajneeshsinha Please take a look at https://github.com/aws/amazon-freertos/pull/1571


Add role bindings and SecurityContextConstraints as needed by kubedb and tekton

Should fix #80.
Also took the opportunity to rationalize how names are generated and used so that we don't use the same names by coincidence but rather make the intent explicit.

No, this change only fetches the dev deployment as was the case before. This doesn’t address #102 at all.

Le 17 juil. 2019 à 16:58, Charles Moulliard<EMAIL_ADDRESS>a écrit :
@cmoulliard commented on this pull request.
In pkg/controller/component/build_deployment.go:

@@ -26,7 +26,7 @@ func (res deployment) installBuild() (runtime.Object, error) {
// and we will enrich the deployment resource of the runtime container
// create a "dev" version of the component to be able to check if the dev deployment exists
devDeployment := &appsv1.Deployment{}

_, err = res.reconciler.Helper().Fetch(defaultNamer(c), c.Namespace, devDeployment)

_, err = res.reconciler.Helper().Fetch(DeploymentNameFor(c, v1alpha2.DevDeploymentMode), c.Namespace, devDeployment)
So here we will fetch the Deployment having the name component_name or component_name-build - Correct ?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

LGTM. Can be merged


chore: update dependencies

This is an automated update (minor/patch versions only) and CI is green, so going to merge this.


Error while Compiling Domain Controller

Hello Sir,
One of my team member is having issue compiling Domain Controller. Please see attachments. Updated version of rxwebcore is 1.1.8.

@diptip09 Thanks, this will be fixed in next release.

@diptip09  The issue has been fixed in 1.1.9 release of CLI.


We should add a description field for each and all URLs in all (3) categories

Customer with strict security postures need to understand what these URL's are used for. We had a semblance of this in the old document.  We should expose this to the customer base in this new approach

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

I have same opinion. My customers want to know what these URL's are used for. Please check and update this document easier to understand.


Quantum.add_job does not work properly

hello
Quantum.add_job("1 * * * *", fn -> :ok end) does not set the function to run every minute
If if do
Quantum.jobs()
i see that the pid is set to nill

If i put the tasks in the config file it works and the pid is set!

@ramstein74 You say "run every minute", but your crontab spec says "every hour at minute 1". The correct crontab spec to run every minute must be * * * * *, not 1 * * * *.
See: https://github.com/c-rack/quantum-elixir#crontab-format
Just tested with the correct crontab format and it works as expected and stores the PID.

yes you are right. I changed to * * * * * and still does not work.

Please note that you have to wait until next full minute until the job is executed for the first time.
Please change the function to fn -> IO.puts "tick" end to see in console if the job executes.
For me, it looks like this:
iex(1)> Quantum.jobs
[]
iex(2)> Quantum.add_job("* * * * *", fn -> IO.puts "Tick" end)
:ok
iex(3)> Quantum.jobs
[nil: %Quantum.Job{args: [], name: nil, nodes: [:nonode@nohost], overlap: true,
  pid: nil, schedule: "* * * * *", state: :active,
  task: #Function<20.54118792/0 in :erl_eval.expr/5>}]
iex(4)> Tick
iex(4)> Quantum.jobs
[nil: %Quantum.Job{args: [], name: nil, nodes: [:nonode@nohost], overlap: true,
  pid: #PID<0.159.0>, schedule: "* * * * *", state: :active,
  task: #Function<20.54118792/0 in :erl_eval.expr/5>}]

I have to wait between (3) and (4), of course.

2016-01-20 12:52 GMT+00:00 Constantin Rack<EMAIL_ADDRESS>
Quantum.add_job("* * * * *", fn -> IO.puts "Tick" end)

I forgot the IO.puts
i had
Quantum.add_job("* * * * *", fn ->  "Tick" end)
solved!
Thank you
Antonio

You are welcome!

@ramstein74 By the way, if you like Quantum, staring it at GitHub would be very appreciated. Thanks! :-)

Done.
Thank you
2016-01-20 15:51 GMT+00:00 Constantin Rack<EMAIL_ADDRESS>
@ramstein74 https://github.com/ramstein74 By the way, if you like
Quantum, staring it at GitHub would be very appreciated. Thanks! :-)
—
Reply to this email directly or view it on GitHub
https://github.com/c-rack/quantum-elixir/issues/65#issuecomment-173246037
.

Hello again.
Another question.
I need to block a task from running again if the previous time it runs did not complete for some reason.
I need to kill it first.
My scenario is : many tasks that connect to ftp servers to collect data.
Some tasks runs every 5 minutes and sometimes they don' t complete in 5 minutes for some reason.
In that case i dont want to throw another task, i want to kill the previous task first.
Can i do that with quantum.
I tested it and seems to me that it doesnt care. if throws another task even if it is still running.

Hi Antonio, thank you for your question. As this issue is already closed and your question is unrelated to this issue, please open a new issue – next time :-)
Regarding your question, Quantum already supports a overlap: false option which prevents Quantum to start a new task if the previous one is not finished yet, see:
https://github.com/c-rack/quantum-elixir#named-jobs
The documentation for this feature could be better but I am working on it.


Outline-summaryst:0.1.0

I am submitting

[X] a new package
[ ] an update for a package

Description: outline-summaryst is a basic template designed for including a summary for each entry in the table of contents, particularly useful for writing books. It provides a simple structure for organizing content and generating formatted documents with summary sections.

I have read and followed the submission guidelines and, in particular, I

[X] selected a name that isn't the most obvious or canonical name for what the package does
[X] added a typst.toml file with all required keys
[X] added a README.md with documentation for my package
[X] have chosen a license and added a LICENSE file or linked one in my README.md
[X] tested my package locally on my system and it worked
[X] excluded PDFs or README images, if any, but not the LICENSE

[X] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

From the description, it seems to me that this is more a building block rather than a complete template. Would it perhaps make more sense for it be just a package, not a template package?

From the description, it seems to me that this is more a building block rather than a complete template. Would it perhaps make more sense for it be just a package, not a template package?

I'm honestly not sure, I guess it's currently kind of in the middle of the two. The main idea is that it implements a way to add a summary into the #outline(),  but also changes the styling of said outline and each heading. Here is a link to a version running on the web app, if you want to quickly look through it yourself: https://typst.app/project/rREF3kavhUHhGJqNFgHETM
If you feel that the current state makes it more of a package than a template, I can make changes re-submit it as that. If so, do you have any pointers on how to make it more template-like for future versions?

Conceptually, it does feel more like a package to me. Of course, right now some of it is set up like a template, which would need to be changed if it were just a package.

If so, do you have any pointers on how to make it more template-like for future versions?

Is that desirable? Being a template mostly means that it's not mix-and-match with other templates. If it's a package that can be flexibly used alongside other stuff, great!

I think that's fair, i've changed this and removed the template part. I hadn't considered that making it a template limits usability to a degree, that is nice feedback :)

Thanks!


WinDefend Service: OpenService failed (5)

Hi there,
I was trying to execute the StopDefender today and I realized it gets "Access Denied" (5) error when it tries to open WinDefend service. I think Microsoft updated something in Feb '22 because I was able to execute it in the same machine in January. I will write some more details if I can debug the issue. Here is the command output:
[+] TrustedInstaller already running
[+] TrustedInstaller Service Started!
[+] Current user is: x
[+] Winlogon process found!
[+] TrustedInstaller process found!
[+] WINLOGON OpenProcess() success!
[+] WINLOGON OpenProcessToken() success!
[+] WINLOGON ImpersonatedLoggedOnUser() success!
[+] WINLOGON Current user is: SYSTEM
[+] TRUSTEDINSTALLER OpenProcess() success!
[+] TRUSTEDINSTALLER OpenProcessToken() success!
[+] TRUSTEDINSTALLER ImpersonatedLoggedOnUser() success!
[+] Current user is: SYSTEM
[+] OpenSCManager success!
[-] OpenService failed (5)
[-] TRUSTEDINSTALLER StopDefenderService() Error: 5

Hi,
you are completely right, Microsoft patched Defender service (WinDefend) DACLs and removed TrustedIntaller service account entry, so additional research would be needed in order to stop it again programatically :)

Thanks for the information @lab52io
I am closing this issue now. Thank you for sharing this research 👍


Change retry filter to allow empty status and series config when exceptions is not empty.

Fixes gh-352.

Looks like the predicates return false when the collections are empty. We can add an empty check at the beginning of the predicates and return false in the predicate or alternatively skip the applicable predicate altogether. Would there be a noticeable performance difference to justify complicating the code with the latter option? @spencergibb

There is probably a better way to disable the retries. Looking forward to feedback.

Rebased. Looks like @spencergibb is already working on this class and he will probably take care of this more elegantly, if he decides to keep this feature.

Squashed and merged with some polish via https://github.com/spring-cloud/spring-cloud-gateway/commit/cb7dbaeff412ff4c33e29a3ce1c0df7bfae064c7


Upgradeable reagent dispenser inventory

About the PR

This PR adds a system that allows developers to easily implement reagent dispensers with an upgradeable inventory. A reagent dispenser can be marked as having an upgradeable inventory by making a small modification to its prototype .yml - an example on how this is implemented is given in Resources/Prototypes/Catalog/ReagentDispenser/chemical.yml.
In game, when all the machine parts in a reagent dispenser are upgraded to a higher tier, additional reagents will become available for dispensing. The higher the tier of the machine parts, the greater the range of the dispenser's inventory. Currently, the chem dispenser is the only dispenser that can be upgraded, as it is the only reagent dispenser that requires machine parts.
Here is the proposed list of tiered reagents for the chem dispenser:
T1: Standard inventory

T2: Adds Ammonia, Oil, Sulfuric Acid

T3: Adds Acetone, Diethylamine, Phenol

T4: Adds Plasma, Unstable Mutagen

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Chem dispensers will now dispense a wider range of reagents when they are upgraded with higher tier machine parts
tweak: Emagged chem dispensers can now dispense uranium inplace of ultravasculine

The development team wants to move away from using chem dispensers, ergo this PR is not required.


Update the Character Selection Screen

Contributors: s-ionut
Introduction
[concise introduction to problem and overview of proposed solution]
Update the character selection screen and make it more usable.
Contents

New background
New buttons
New textbox
Link character to the chosen avatar/name/class

Problem statement
[concise problem statement]
idk
Description of proposed solution
idk - just implement it
Motivation
Make the game, A GAME 😸
Detailed description of design and implementation of proposed solution
[prototypical implementation if applicable]

Current status:

Status:


Support multiple simultaneous downloads in parallel

I'm downloading at 247kB/s which is extremely slow and painful.
windows/fallout_tactics_classic/setup_fallout_tactics_<IP_ADDRESS>.exe
 81% ▕████████████████████▉     ▏ 1361.34/1686.55MB @ 247.37kB/s ETA: 22m 26s

For comparison, I regularly get 1.6MB/s through Steam.
Assuming GOG don't shape total downloads based on account or IP, it seems to me that lgogdownloader can help address this problem by adding support for downloading multiple files simultaneously.

That is really slow. I usually get 8-10 MB/s from GOG.
Downloading multiple files in parallel requires rewriting the download logic and either multithreading the download logic or using curl_multi interface instead of curl_easy interface.
Rewriting the download logic has been on my todo list for a long time. This is something that I'd like to do at some point but I haven't had the time to really work on yet.
I experimented with libaria2 support for downloading some time ago to see how libaria2 works and how easy it would be to use. You could try using the experimental aria2 support to see if it works.
wget https://sites.google.com/site/gogdownloader/use_aria2.diff
patch -p1 < use_aria2.diff
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DWITH_ARIA2=1
make

By default it tries to use 10 connections to download the file.
You can change the behavior by changing the values for "max-connection-per-server", "min-split-size" and "split" options in src/downloader.cpp
However this patch isn't very well tested. There's a good chance that it crashes, doesn't work at all for you or does something unexpected.

Thanks @Sude-, I'll give it a go (tonight, or otherwise hopefully sometime this week).
The weird thing I have since noticed is that when I run GOG Galaxy on the same system under Wine, I am easily able to max out my connection that way. It may be that GOG Galaxy is already doing parallel downloads in the background to achieve such speeds, but I'll have to investigate that further with netstat or a Wireshark.

First I tried without the patch, and I was getting around 250Kb/s as expected.
Here's the results of running with the use_aria2.diff patch:
$ ./update.sh gnu_linux
Getting game info 53 / 53
Downloading: Linux Installer, English
gnu_linux/akalabeth_world_of_doom/gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh
COMPLETE /media/installers/games/purchased/gog.com/boltronics/lgogdownloader/gnu_linux/akalabeth_world_of_doom/gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh
./update.sh: line 3: 27856 Segmentation fault      /home/abolte/opt/lgogdownloader/bin/lgogdownloader --download --language 1 --platform linux --exclude extras --directory gnu_linux
$

Seemed to fail on the second file when the first file has already completed during a previous run. So for my next test I renamed /media/installers/games/purchased/gog.com/boltronics/lgogdownloader/gnu_linux/akalabeth_world_of_doom/gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh out of the way and re-ran the script.
$ ./update.sh gnu_linux
Getting game info 53 / 53
Downloading: Linux Installer, English
gnu_linux/akalabeth_world_of_doom/gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh
COMPLETE /media/installers/games/purchased/gog.com/boltronics/lgogdownloader/gnu_linux/akalabeth_world_of_doom/gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh

Downloading cover gnu_linux/anomaly_warzone_earth/cover_0.png
COMPLETE /media/installers/games/purchased/gog.com/boltronics/lgogdownloader/gnu_linux/anomaly_warzone_earth/cover_0.png.1

Downloading: Linux Installer, English
gnu_linux/anomaly_warzone_earth/gog_anomaly_warzone_earth_<IP_ADDRESS>.sh
COMPLETE /media/installers/games/purchased/gog.com/boltronics/lgogdownloader/gnu_linux/anomaly_warzone_earth/gog_anomaly_warzone_earth_<IP_ADDRESS>.sh
./update.sh: line 3: 27967 Segmentation fault      /home/abolte/opt/lgogdownloader/bin/lgogdownloader --download --language 1 --platform linux --exclude extras --directory gnu_linux
$

As expected, this time it did attempt to download gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh, and it did so much much quicker! I also compared the checksum of the old and new gog_akalabeth_world_of_doom_<IP_ADDRESS>.sh files, and they matched.
I ran the test a second time, and then the speed was back to being quite slow once more. A bit odd. So I tried yet again, and it was still back to being slow! Really weird.
Next I deleted my build and went back to the Debian testing (stretch) packaged lgogdownloader version I was using before 2.27-1, and suddenly I was getting 1.5MB+/s. I couldn't believe it! I didn't change anything, so it seemed to be down to luck!
One theory I had was that the mirror must have a load balancer where one of the app nodes is slow or overloaded, and I usually keep hitting it. It would explain why I don't see similar behaviour in Steam and elsewhere, but then again that doesn't explain consistently good performance in Galaxy.
Lastly, I hit Ctrl-c and re-ran the command one more time. This time, my speed was back to sucking again, this time at around 150Kb/s - worse than before.
Again, I don't see this issue with the Galaxy client running under Wine (and I also tried that again tonight to confirm that's still true). Is it possible lgogdownloader has some built-in shaping or prioritisation that might not be working properly under some circumstances?

I forgot to post this patch here earlier.
Here's a patch to add parallel downloads
https://sites.google.com/site/gogdownloader/multithreaded_download_v1.diff
Use --threads option to set how many parallel downloads you want to run. The default is 4 threads.
There are some changes in the behavior of downloader:

Serials and changelogs are saved and covers downloaded for all games that match the "--game" filter before any other files are downloaded.
Automatic XML creation is run after all files are downloaded. Previously xml data was automatically created right after a download finished.
The "--limit-rate" option sets rate limit for thread not global rate limit. So if you have 4 threads and set "--limit-rate" to 100 then each thread has a rate limit of 100 meaning that global limit is 400.


Tests rely on at exit behaviour which does not happen until far in the future.

Running pytest --basic, I see a lot of heavy stuff created by tests but then left around to be cleaned up by "at exit" cleanup, which doesn't happen until the whole test suite has run.
For example, with --log-cli=DEBUG,
swift_t.py                 105 DEBUG    [RUNNER] Queue is empty

is logged every few seconds even after all the tests have completed and pytest shutdown is happening - presumably from an earlier swift_t test.
I also see a lot of this:
2018-05-23 20:34:44 parsl.dataflow.strategy:155 [DEBUG]  Site:local_threads Status:STATIC

... which might be from a lot of DFKs sitting round doing nothing.
Also, a bunch of ipcontrollers are left and (supposedly) cleaned up by at exit behaviour (see another issue/PR I have yet to write).
It would probably be better if all of these things were cleaned up more explicitly: with explicit DFK cleanup in each test, and with that DFK cleanup really cleaning up everything it should.

Sorry for the delay, I have a small PR for running cleanup after every test. It does not completely solve this but reduces the number of processes. I will submit it shortly.

This was fixed in #301.


Missing legal moves

FEN layout:
r1bqkbnr/1ppp1ppp/p1B5/4p3/4P3/5N2/PPPP1PPP/RNBQK2R b KQkq - 0 4
Move:
D7 to C6
This is a legal move, but isn't in the list of "Legal Moves"

Funny - parsemove would let it in, but it's not in the Legal Moves list

Thanks for the report. The LegalMoves list was messed up, some moves missing, some duplicated. ParseMove worked because it uses the underlying pseudoLegalMoves directly.


[Fix][UI Next][V1.0.0-Alpha] Fix the DATA_QUALITY icon is null.

Purpose of the pull request
close #8809

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

LGTM

Codecov Report

Merging #8822 (eb26c1b) into dev (53fcffe) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #8822      +/-   ##
============================================
- Coverage     45.30%   45.29%   -0.01%
+ Complexity     4075     4074       -1
============================================
  Files           702      702
  Lines         27110    27111       +1
  Branches       2897     2897
============================================
  Hits          12281    12281
- Misses        13675    13679       +4
+ Partials       1154     1151       -3

Impacted Files
Coverage Δ

...org/apache/dolphinscheduler/remote/utils/Host.java
37.77% <0.00%> (-2.23%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...api/service/impl/ProcessDefinitionServiceImpl.java
31.90% <0.00%> (-0.03%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
52.11% <0.00%> (+1.40%)
: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 53fcffe...eb26c1b. Read the comment docs.


Night CI 2023-07-10: Failed ( tcp reset by peer )

action url: https://github.com/spidernet-io/egressgateway/actions/runs/5512445094

read tcp <IP_ADDRESS>:49380-><IP_ADDRESS>:63380: read: connection reset by peer

During the process of eip taking effect, tcp "connection reset by peer" is caused due to source ip change


update defulat event id

will reset yearly.

lol, I was staring at this yesterday  without seeing your PR, not understanding how it produces 'MIDBURN2017' id


Filepicker: user-facing error messages are not translatable

Proposal:
Change:
Filepicker.prototype._showFeedback = function( message, status ) {
    message = message || '';
    status = status || '';
    // replace text and replace all existing classes with the new status class
    this.$feedback.text( message ).attr( 'class', 'file-feedback ' + status );
};

at https://github.com/enketo/enketo-core/blob/master/src/widget/file/filepicker.js#L187-L192
To:
Something like:
var t = require( 'translator' ).t;

Filepicker.prototype._showFeedback = function( status, message, args ) {
    message = message ? t(message, args) : '';
    status = status || '';
    // replace text and replace all existing classes with the new status class
    this.$feedback.text( message ).attr( 'class', 'file-feedback ' + status );
};

Happy to submit a PR if this looks suitable :¬)

Thanks. User-facing error messages should be translatable indeed.
I'm not sure if this is the best way though, because e.g. the file size error is displayed after an exception is caught with catch(error). It might be easier to ensure error.message is translated before we throw it instead of passing a translation key and translation arguments.
So instead we could replace things like new Error( 'File too large' ); with t('error.filetoolarge', args) and include an example string in the fake-translator for it. What do you think?

I'm not really sure.  I generally feel that Error/Exception messages should be in English, and untranslated.  Otherwise there's always a danger that a bad translations could cause a confusing bug report.
Certainly in Java, I'd add relevant information to the Exception instance, and construct the user-facing text later from that (e.g. FileTooLargeException, with properties maxAllowedFileSize and suppliedFileSize).
I can see how it will keep things a bit simpler to have the Error message itself translated, though.
Let me know which you prefer, and I'll get a PR together.

Ok, I'm convinced. Let's do what you suggest.
I see that in Enketo Express, I used this: https://github.com/kobotoolbox/enketo-express/blob/master/app/lib/custom-error.js. Maybe that's an okay way of doing it? However in this case we would maintain the message part as well. So throw new TranslatedError('Bad', 'error.bad', args)?


fixes #519

animated and colorized footer button
Signed-off-by: ashiscs<EMAIL_ADDRESS>

Ping -

@ashiscs did you test this change? You’ll need to bring in additional sass/css, right?

Thanks for this @ashiscs. We're good to close here given the updates in #568.


ui use exist log - [closed]

In GitLab by @guyingyan on Mar 6, 2018, 02:15
Merges dev-jenkins-test -> dev

In GitLab by @wknet123 on Nov 13, 2019, 10:33
the API Server Coverage is  14.6%   UI Coverage is 38.11%   check console log

In GitLab by @wknet123 on Nov 13, 2019, 10:33
closed


show names of Wireguard endpoints in dashboard

This patch adds displaying the Wireguard endpoint names in the Dashboard widget.
resolves #3056

should have looked at the other pull requests first...


Ensure the correct tls_ca_cert value is used

What does this PR do?
The value of instance_ca_cert used in the socket logic does not reflect the new config options for users using tls_ca_cert.
The issue is brought up here https://github.com/DataDog/integrations-core/issues/4812
This PR fixes the bug introduced in adding the RequestsWrapper
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Style fix needed

/azp run


Line containing both error and warning is prefixed with orange dot

Checklist

[x] Check that you have the GNU C Compiler installed by typing gcc --version into a terminal.
[x] If you don't have the linter package installed, either update to the latest version of linter-gcc or install linter directly with apm install linter.
[x] Ensure that you are using a valid grammar - either C/C++/C++14
[x] Ensure that you have read all the relevant information in the wiki, particularly the Common Issues page.

Issue (including debugging messages):
Enter these lines of code:
int main() {
  int *const p;
  return 0;
}

Then linter-gcc catches one error and one warning:
[GCC][error]uninitialized const `p`[-fpermissive] at line 3 col 14
[GCC][warning]unused variable `p`[-Wunused-variable] at line 3 col 14

So far everything is all right.
The problem is that, the line 3 where error and warning occur is prefixed with an ORANGE dot, indicating only there is warning. So the user might not realize that there is also error and would not pay enough attention to.

It's not a serious issue, but worth consideration in my opinion.

This is a bug in Linter, which is already fixed in the upcoming UI rewrite (linter-ui-default).

Got it. Thank you!


Feature/david msc project 2024

I wonder if the code to get random_seed could be simplified to random.randint(0,900000000) ? Or is there a good reason to keep the system time in? (There might be - depending on how random.randint is implemented - does it give different answers every time? or does it give a deterministic sequence? or is this system-dependent? In the last two cases, I suggest do keep the system time in, for safety.)

It seems that random.randint() uses os.urandom() as a first source of a seed and only if this doesn't work does it use system time. See here.
urandom is pretty unpredictable from what I can find, so I think there would be no problem in just using randint. However it is system-dependent, so I am inclined to leave in the system time component as well - it doesn't really overcomplicate the code.


[Protected Request] Report 492 Copy Purchase Document - make multiple variables protected

Please make the following variables from the Report 492 "Copy Purchase Document" protected.
    protected var
        PurchHeader: Record "Purchase Header";
        FromPurchHeader: Record "Purchase Header";
        FromDocType: Enum "Purchase Document Type From";
        FromDocNo: Code[20];
        FromDocNoOccurrence: Integer;
        FromDocVersionNo: Integer;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[add-resource] New Plugin: Antispam

I would like to add my new plugin to the Grav Repository.
Here are the project details: skinofthesoul/grav-plugin-antispam

I've added this but you will need a release and all the required bits before it shows up in GPM.
https://learn.getgrav.org/16/advanced/grav-development#theme-plugin-release-process

Thank you for helping me out there! I hadn't really noticed the bit about GitHub releases, and that they're different from commits. I have created one and hope I've got everything right now. Please let me know if anything is still missing, and I shall take due note of the whole release process so I can do it on my own next time.


star a github repo

If someone browsing rcos.io sees a project they like, its more likely that they will star it on observatory, rather than go through the trouble of going onto github and starring it there.
If we all have github accounts linked to our observatory accounts this should be doable

I'll assign jacob to this since he should be a little familar with working with GithubAPI

Marking as a won't fix as this is outside the scope of what we want to do. We don't want to mirror github but instead allow for more group collaboration and showcasing for RCOS.


Reserved Keyword Errors in console

I tried to replicate some of the examples on the demo website but I keep getting errors including "key" is a reserved attribute and cannot be used as component prop.
(found in component )"  in the console. Am I doing something wrong?

https://github.com/vuejs/vue/blob/769c4dc2032251323c8f61ad8eba2c26c615a618/src/core/instance/state.js#L38

Hey!
Please make sure you’re running the correct version of Multiselect according to your Vue.js version.
Vue 1.x -> Vue-multiselect 1.x
Vue 2.x -> Vue-multiselect 2.0-beta (can be installed with npm install vue-multiselect@next)
This should fix the problem!

@shentao Thank you. That fixed the problem.


Update to Pebble 2.2.1

Satisfies #232 .
There are some behavior differences to note in Pebble 2.  I'm still checking that in my apps but I think this update is solid.

Coverage decreased (-0.04%) to 11.035% when pulling 88fe7ad13e20bf01ebedf4772687fb23ed32e1e4 on pebble2 into da46777db62d1d15d28591145b65df2b784d437a on master.

:+1:


Create fix for paths that contain spaces

Paths that contain spaces caused grunt-scss-lint to incorrectly report that all files are lint free.
This commit/pull request fixes that.
Also:

Added tests for spaces in paths
Made tests more sturdy
Made tests compatible with latest version of scss-lint
Incremented version number from 0.3.3 to 0.3.4

Any news on this?

@ahmednuaman: can you merge it?

Only when the tests pass.

What's happening with this?

What's happening with this?

@ahmednuaman Updated my branch with master and fixed the tests (so they should also work on paths with spaces).

Tests are still failing, looking into that.

appveyor seems to be failing on the colourize output stuff. I think this has to do with the fact it runs under Windows. Should I worry about that?

What's the news on this?


enh: add russian locale

Hello, thank you for your work. This is just I needed. But it would be great to add the russian locale.
By the way,  I made translation, but I do not know how to change locale, could you tell me about this trick?
Or may be the browser must select it and translate with current locale, may be it works so?

Hi @antonioiksi,
it seems that you mixed up the countdown-timer-switch and the time-scheduler nodes. This is the countdown-timer-switch repository but you have added translation for the time-scheduler-node. I find it quite nice that you made RU translation but I am currently not taking any translation into the release. The reason is that I want add quite some more features in the future and since I can't speak, in this case Russian for example, I would not be able to maintain the translation.
But since I got ES, IT and now the Russian translation, I am think about creating a separate space where users can upload their translations and maintain these - I'll let you know as soon as I come up with something. You can still use your translation of course by just copying it into the nodes locale folder on your local machine.
To answer your question: Node-red uses the language of your server operating system. So if your node-red runs on an English operating system the time-scheduler node will be English as well (flow editor lang can be chosen separately).
Changing the language of node-red to something different than the operation system is currently only possible by changing environment variables. I've made a contribution to node-red that let's you choose the language more easily in a future version of node-red (see here), but for now you have to modify LC_ALL, LC_MESSAGES or LANG.

Ok, I see, thank you for your response.
вт, 9 февр. 2021 г., 00:06 fellinga<EMAIL_ADDRESS>
Hi @antonioiksi https://github.com/antonioiksi,
it seems that you mixed up the countdown-timer-switch and the
time-scheduler nodes. This is the countdown-timer-switch repository but you
have added translation for the time-scheduler-node. I find it quite nice
that you made RU translation but I am currently not taking any translation
into the release. The reason is that I want add quite some more features in
the future and since I can't speak, in this case Russian for example, I
would not be able to maintain the translation.
But since I got ES, IT and now the Russian translation, I am think about
creating a separate space where users can upload their translations and
maintain these - I'll let you know as soon as I come up with something. You
can still use your translation of course by just copying it into the nodes
locale folder on your local machine.
To answer your question: Node-red uses the language of your server
operating system. So if your node-red runs on an English operating system
the time-scheduler node will be English as well (flow editor lang can be
chosen separately).
Changing the language of node-red to something different than the
operation system is currently only possible by changing environment
variables. I've made a contribution to node-red that let's you choose the
language more easily in a future version of node-red (see here
https://github.com/node-red/node-red/pull/2796), but for now you have
to modify LC_ALL, LC_MESSAGES or LANG.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fellinga/node-red-contrib-ui-countdown-timer-switch/pull/1#issuecomment-775461794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRW7R5SNUZQIXJ37ALKBW3S6BG53ANCNFSM4XJTZMGQ
.


Adapt Feedback With The New MIDI Evaluation Algorihm

The MIDI Evaluation Algorithm is improved, but it is not compatible with the old feedback algorithm. Now we need to make it work.

Feedback algorithm is now compatible with the new MIDI Evaluation Algorithm.


Prep for release build 12.6.0

Getting ready to create a release build.
The first commit bumps the version to 12.6.0.  This commit will be used to kick off the release build.
The second commit re-pins chef and ohai back to master. We do this in the same PR so that git_poll will kick off on the 2nd commit, not the first.
@chef/omnibus-maintainers @jaym @schisamo @jkeiser

:+1:

:+1:

:+1:


visualize ControlledGate

What is the expected enhancement?
Add better visualization for ControlledGate introduced in pr #2862.

it seems this issue already exists in #3199.


[Snyk] Security upgrade nanoid from 3.1.20 to 3.1.31

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json
package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

593/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 4
Information Exposure SNYK-JS-NANOID-2332193
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Already did this one in a separate PR


Drop ipykernel dependency

jupyter_server currently lists ipykernel as a dependency, while it does not really depend on it.
Should we drop ipykernel, to allow people to install a standalone jupyter_server? This may be important for people who don't want kernels in their server environment, or who only want to use other language kernels.

Why not if current code base does not depend on ipykernel... In that case, extension developers (like jupyterlab) who need it will have to add ipykernel in their dependency list, which is fine and logical.

Prolly a check needs to be done to ensure ipykernel was not pulling transitive deps which are needed by jupyter_server


Proper realtime comment updates

 Issue by arunoda
Thursday Oct 06, 2016 at 06:27 GMT
Originally opened as https://github.com/storybooks/storybook-addon-comments/issues/11

We need to check for new comments periodically. That's okay for now.
Later on, we need to do it with some realtime API or some hack in the comments DB.

 Comment by arunoda
Sunday Oct 09, 2016 at 04:23 GMT

Tasks

[x] Move datastore into a new class - https://github.com/kadirahq/storybook-addon-comments/pull/18
[ ] Add streaming support to the backend.
[ ] Add streaming support to the cloud database.
[ ] Send new comments over the stream.

addon-comments is something we'll completely redo at some point, good feature to implement then, but for now closing.


Package not found under Unity 2019.3

An error occurred while resolving packages:
Project has invalid dependencies:
com.microsoft.msbuildforunity: Package<EMAIL_ADDRESS>cannot be found
Probably it has something to do with cache folder location.
For default upm source it is [LOCAL APP DATA]\Unity\cache\npm\packages.unity.com
For the one specified in integration guide it appears to be [LOCAL APP DATA]\Unity\cache\npm\pkgs.dev.azure.com\UnityDeveloperTools\MSBuildForUnity\_packaging\UnityDeveloperTools\npm\registry\pkgs.dev.azure.com\UnityDeveloperTools\MSBuildForUnity\_packaging\UnityDeveloperTools\npm\registry

The package version 0.9.1 is not valid when using the package manager. Use the package manager UI and get the closest version to 0.9.1

AFAIK, the package doesn't appear in the package manager - because it can't be resolved - so there's no way to choose a different version.

@aka-STInG I have found that version 0.8.3 works. That seems to be the latest working version. (Testing on Unity 2020.1)

For me it shows, but has a warning saying that the version can not be found. Then I just select a more specific version from the UI

Not showing at all for me in package manager.