Cannot print test page for LaserJet 4000 or 2300

Thank you very much for your fix to the margin handling!  I updated the snap and I am now able to install the LaserJet 4000 ppd.  I do have an additional problem now, however.  I cannot print a test page to the printer.  If I print a test page, it starts, but does not complete.  The screen then says "No jobs in history."
I previously had a similar problem with the LaserJet 2300.  This time the test page starts printing but does not finish.  (Under jobs, it just says "Started at 16:49:01," but never progresses or actually prints.)  I then printed another test page which disappeared without printing (like the LaserJet 4000 does).
I am able to poll the options for each printer, so the application is communicating with them.  I also can print test pages using more generic ppds.  I have attached the log and state files.
ps-printer-app.log(1).txt
ps-printer-app.state(1).txt

If you click "Add Printer" in the web interface, do your printers appear under the auto-discovered devices ("Device:")? If so, select your auto-discovered printer, leave the "Driver Name:" field on "Auto-Detect" and create the printer. Does this printer print?
Also, before printing, make sure that the settings, "Device Settings", "Media", "Printing Defaults" correspond to the actual situation of your printer's installable accessories (like extra trays), the paper loaded in the trays, and finally the correct tray to take the paper for the test page from.
I assume that your printers are actually PostScript printers and not those which only get their PostScript capability only by an accessory (but I think their should be no problem as your printers answered the accessory and default option polls and they are also in (PostScript).
Could you send the test page directly to your printers using the following commands:
nc -w1 <IP_ADDRESS> 9100 < /snap/ps-printer-app/current/usr/share/ps-printer-app/testpage.ps
nc -w1 <IP_ADDRESS> 9100 < /snap/ps-printer-app/current/usr/share/ps-printer-app/testpage.ps

Does this work?

Your log file does not look like that you have printed a test page in that session. Please attach a log file which you obtain right after a failure of printing a test page.

Thanks!  My son is using the computer right now for Minecraft, but I will try these things tomorrow.  (Recreate log files, other steps, etc.)
Some quick answers though:  I did generate the log file (by copying it from the snap directory you gave me and then adding read permissions) after I tried to print the test page.  The test page never shows up in the print job history, so maybe that is part of the problem?
I was able to print the test page for both printers by creating generic postscript driver printers in the app, so I think sending the page with netcat will probably also work.
Both printers do have PostScript capabilities (and print with the more generic PostScript drivers.)
I think I have to install avahi-daemon or something to have the printers show up automatically through mdns.  On default Ubuntu 20.04 LTS, no printers show up as autodiscovered.  Also, when I tried "auto-detect" with the socket address before it wouldn't create a printer.

I printed the test page to the LaserJet 4000 using netcat and it worked.
I have a question on the logs.  If the application crashes and then restarts, are fresh logs created?  Do I need to attach the .O version of the logs in addition to the log and state?

It also works to print the test page to the LaserJet 2300 using netcat.

I do not investigate how PAPPL's logging logic works and what happens in case of a crash. But under the condition that systemd restarts the crashed Printer Application it can make the impression that the Printer Application did not actually crash. But you brought me to the idea now that your attempt to print a test page caused a crash and automatic restart with a new log being started (and hope the old one moved into .O), therefore you have a small log file (client count < 10).
Therefore I ask you first to try to print the test page again and then attach BOTH the current log and the ,O.

Thanks.  I will do that.  Is there also a systemd log I should attach?

Here are the logs that I copied after trying to print a test page.  Clicking the print test page button goes to a sort of incomplete version of the printer page, which I think probably indicated that it was printing.  (I was not quick enough to catch it.)  Then the printer page comes back up in the normal version showing no completed jobs.  (I have attached a screenshot of an earlier version of that, but as the time stamps indicated it was not immediately before I captured these logs.
ps-printer-app.log.O.txt
ps-printer-app.log.txt
ps-printer-app.state.txt

.)

It was actually a crash, caused by the boolean option "ManualFeed" in the PPD file. My previous tests (~20 PPD files) all did not have such an option.
Should now be fixed with commit ee40f0f016. The Snap Store is rebuilding currently.
Thank you very much for your bug reports, the discovery of these two crashers was important.


Merging SPDX Docs

Hey @pombredanne , this PR contains the code my efforts in trying to merge two spdx tv documents together. I am not finding any luck in trying to do that. Please review let me know that is not being done correctly. :smiley:

@ndip007 sorry for the late review. Can you add a DCO signoff to your commits? https://developercertificate.org/
Thanks!

I am closing this for now due to the lack of activity.


Database update problem

Laravel Version: 5.3.*
Voyager Version: 0.10.5
PHP Version: 7.0.10
Database Driver & Version: 5.7.14

Description:
When i want do some changes in database in save a get error.
I try only save with no changes and some error.
I try instal clear laravel and voyager and some error.

I working on localhost.
Sorry for bad english. I´m from Czech
Steps To Reproduce:

Is that a fresh install or upgraded from v.0.9?
Did you migrated database schema yet?
php artisan migrate

In latest version, Voyager 0.11 this error looks like the image below. Error is in DatabaseQueryBuilder.php at line 159:
Line 159 in above file looks like below
'key'      => $request->key[$index],
Replace above line with:
'key'      => isset($request->key[$index]) ? $request->key[$index] : '' ,
DEVELOPERS: Please make necessary changes and commit in the code

Voyager 0.11 is still under development and is not ready for usage yet

#518 fixed this


Update deps and add unicorn ESLint config

chore: update dependencies
chore: add unicorn ESLint config

Codecov Report
Base: 92.45% // Head: 92.40% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (630d05a) compared to base (110a25a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #300      +/-   ##
==========================================
- Coverage   92.45%   92.40%   -0.05%
==========================================
  Files          10       10
  Lines         689      685       -4
  Branches      111      111
==========================================
- Hits          637      633       -4
  Misses         52       52

Impacted Files
Coverage Δ

src/app/data/loaders/cdfLoader.ts
96.87% <100.00%> (ø)

.../data/loaders/proprietary/agilent/cary500Loader.ts
97.18% <100.00%> (ø)

src/app/data/loaders/wdfLoader.ts
97.89% <100.00%> (-0.09%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Added My Playlist

Added my playlist containing my all time favorite songs.

Thanks for your contribution @HOSENUR :))


General Compiler Missing Features

Add auto-generated inspect methods
When you declare a type in GOAL, it generates an inspect method that prints out the name and value of each field.
You can run the decompiler to get an idea of what these normally look like, but they usually print out the type name, location of the object, then a line for each field containing the name and value.
Types are declared with deftype, implemented in compile_deftype. Currently this just generates code to call the new method of type to inform the runtime of the type, which will generate the type's method table.  We have the compiler generate an inspect method, then call method-set! to add the method to the type.
Implementation:

Run the decompiler and take a look at some inspect methods to learn what they look like.
Add a generate_inspector_for_field() which takes a Field and a Type, and generates code to call format with an appropriate format string to print the name and value of the field.
Add a generate_inspector_for_type() that creates a function which inspects all fields of the type.
Add code to compile_defmethod to generate the inspector method.
Add code to compile_defmethod to insert a call to method-set! to add the inspector method to the runtime method table.

Add decompiler features to the type system
The type system is shared between the compiler and the decompiler, but there are some features missing for the decompiler.  The decompiler needs to be able to ask "what is stored at an offset of 24 bytes from string"?  The opposite of this is already implemented for the compiler.  This can be a little tricky due to the many confusing types of arrays/pointers/inline arrays in GOAL.
Add a better warning/error system
It would be nice if the compiler errors/warnings had a consistent style and gave useful errors.
Add bitfield types
Types which are children of integers are bitfield types.  They work similarly to normal GOAL types, but all the field sizes/offsets are in terms of bits instead of bytes.
Add enums
GOAL clearly supported enums, but the exact syntax is unknown. Make up a syntax for enums and add it.
Some notes on the compiler:

All of the compiler state is stored in a Compiler, from goalc/compiler/Compiler.h

m_ts is the type system

All of the high level implementation of keywords is in the goalc/compiler/compilation folder.

These are functions like compile_goto or compile_set, which are methods of Compiler.
The main map of keywords to compiler functions is in Atoms.cpp

A Type represents a single, non-compound GOAL type and stores information about the type.

A TypeSpec is a reference to a Type or a Compound Type (like (pointer integer)).

You can get a typespec with m_ts.make_typespec("name-of-type")
You can create compound typespecs for pointer with things like m_ts.make_pointer_typespec

Some more info on the autogenerated inspect methods:
Getting the Fields
In compile_deftype, the actual type is added to the type system with
auto result = parse_deftype(rest, &m_ts);

where rest is all the source code after the (deftype ...) and m_ts is the compiler's type system.
Part of this result is the Type* that was added to the type system.  To actually get at the fields, you need a StructureType*, which is a type with fields.  In the future deftype will support making child types of integers, which won't have fields and also won't have an auto-generated inspect method, so the returned Type* might not always be a StructureType*.  So we should check if the result of the deftype is a structure type, with something like:
auto as_structure_type = dynamic_cast<StructureType*>(result.type_info);
if(as_structure_type) {
// generate the inspect method
}
// otherwise we don't need an inspect method.

You will need to add a fields() method to StructureType to actually get at the std::vector<Field> m_fields stored in the StructureType.
How to Generate Code
Actual code is stored in the Env*, and can be added using existing helper methods (usually named compile_x) or by directly using the emit method of env with an IR instruction.  Generally compile helper methods add code to the Env* they are given, and return a reference to the result.  The result could be a register containing the result value, a None indicating there is no result, or some sort of more complicated constant/memory reference.  To emit code to get this value in a register, use the to_gpr method.  Do this immediately after calling the compile method.
As an example, let's look at (format '#t "hi~%").
The arguments to this function call are loaded into registers in order, then called:

To get the format function, you could do auto format_function = compile_get_symbol_value("format", env)->to_gpr(env);.  This will emit code to read from the symbol table to get the format function pointer.  This isn't as inefficient at runtime as you might expect - looking up the the name format occurs once when the resulting code is loaded by the runtime. Then the runtime will patch the load instruction to point to the correct slot of the GOAL symbol table.
To get the true symbol, use compile_get_symbol, which gets the GOAL symbol object.  For booleans, it doesn't matter if you get the symbol object or the symbol itself, but the code to get the symbol object is more efficient.
To get the string, you can do compile_string("hi~%", env, DEBUG_SEGMENT);. The DEBUG_SEGMENT tells the compiler to place the string data into the debug segment.  The auto generated inspect methods always go in the debug segment, so their strings should go there too.
To do the function call, use compile_real_function_call(form, format_function, {args, ...}, env);.  This emits code into the env to do a "real" function call, meaning it will actually have a x86 call instruction and will not inline the function.

Ah, one other important detail is how to actually create a new method.
  // Create a function environment to hold the code for the inspect method. The name is just for debugging.
  auto method_env = std::make_unique<FunctionEnv>(env, "autogenerated-inspect-method");
  // put the method in the debug segment.
  method_env->set_segment(DEBUG_SEGMENT);

  // Create a register which will hold the input to the inspect method
  auto input = method_env->make_ireg(type, emitter::RegKind::GPR);
  // "Constraint" this register to be the register that the function argument is passed in
  IRegContraint constraint;
  constraint.instr_idx = 0; // constraint at the start of the function
  constraint.ireg = ireg->ireg(); // constrain this register
  constraint.desired_register = emitter::gRegInfo.get_arg_reg(0); // to the first argument
  method_env->constrain(constraint);

  // generate code in the method_env
 ...

  // add this function to the object file
  auto obj_env = get_parent_env_of_type<FileEnv>(method_env.get());
  obj_env->add_function(std::move(new_func_env));

  // call method-set!

One more important detail - how to access a field of an object:
https://github.com/water111/jak-project/blob/master/goalc/compiler/compilation/Type.cpp#L249

Decompiler type system stuff was added in https://github.com/water111/jak-project/pull/90
Compiler warnings and enums were added in https://github.com/water111/jak-project/pull/148
Bitfield types were added in https://github.com/water111/jak-project/pull/146
so everything here is done!


refactor(cira): remove javascript libraries

Co-authored-by: Matt Primrose<EMAIL_ADDRESS>

Codecov Report

Merging #392 (ab52451) into main (5da3c50) will increase coverage by 25.06%.
The diff coverage is 33.07%.

@@             Coverage Diff             @@
##             main     #392       +/-   ##
===========================================
+ Coverage   27.74%   52.80%   +25.06%
===========================================
  Files          71       29       -42
  Lines        3813     1371     -2442
  Branches      808      250      -558
===========================================
- Hits         1058      724      -334
+ Misses       2375      646     -1729
+ Partials      380        1      -379

Impacted Files
Coverage Δ

src/amt/WSMan.ts
100.00% <ø> (ø)

src/test/helper/config.ts
100.00% <ø> (ø)

src/utils/logger.ts
100.00% <ø> (ø)

src/utils/certificates.ts
4.28% <2.04%> (-9.51%)
:arrow_down:

src/amt/CIRAHandler.ts
5.26% <5.26%> (ø)

src/server/mpsserver.ts
9.32% <7.89%> (+7.61%)
:arrow_up:

src/amt/HttpHandler.ts
11.11% <11.11%> (ø)

src/amt/ConnectedDevice.ts
16.66% <16.66%> (ø)

src/amt/APFProcessor.ts
16.71% <16.71%> (ø)

src/utils/common.ts
90.00% <90.00%> (ø)

... and 58 more

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 5da3c50...ab52451. Read the comment docs.


Abstracts the Game to a separate class

This improves the separation of concerns and makes the game matrix available:
import axelrod
g = axelrod.Game()
print g.scores

yields:
{('C', 'D'): (5, 0), ('D', 'C'): (0, 5), ('D', 'D'): (4, 4), ('C', 'C'): (2, 2)}

Just noticed that @marcharper did something similar in #52
I'll alter the class so that it behaves in a similar fashion

dunfiddlin!

dunfiddlin!

This is very elegant.

Thank you kindly, sir!

@geraintpalmer take a look at this one, this might make how you've written your Qlearners a bit more elegant.


blackd being called to autoformat non-Python files

Blackconnect seems to be having blackd reformat *.json files for me, and it is doing so incorrectly and in conflict with how I need them to be formatted.
If I turn off its "trigger when saving changed files" option, it no longer reformats my JSON.
I have been using blackconnect for a few weeks now, so I'm pretty sure that this is new behavior.
Later I will try to revert from PyCharm 2020.1.4 to 2020.1.3 and see if that makes a difference.

Good catch!
My bad, I've introduced a regression into file save handler during overzealous refactoring. :(
Fixed in https://github.com/lensvol/intellij-blackconnect/commit/8c9cca38d999f6d183de4e96b3c3aab21eb9ecc7 and version 0.4.1 has been released.
It may take couple of days for it to go through JetBrains approval pipeline, though. In the meantime, you can grab new version from GitHub release page and install it manually via "Install plugin from disk".

Thanks for the quick patch!


Set up base filament dashboard + admin commands for managing users

We have 1 issue (#210) that wants Filament, and another potential use of Filament for the recently-added give page.
In light of that, I'd like to set up Filament standalone first + a command or 2 for adding/deleting admin accounts.
Commands could be like:
artisan user:invite <email> <fname> <lname>
artisan user:deactivate <email>
artisan user:activate <email>
artisan user:delete <email>

@zach2825 had a login in place years ago. I never did use it, so I'm not sure if any code or database is still around.
We may want to check that any old stuff is pruned in the process of moving to a new admin UI.
@JSn1nj4 what's the alternative to "standalone" and using Artisan commands?  I've not used it before so I'm not familiar with the options and vocabulary.

@allella
Sorry, maybe poor choice of wording. I just mean instead of bundling the admin dashboard with one of the other features first.
Once the Filament dashboard is created, it'll be trivial to add at least a user index page. Other CRUDs for user management would be easy too, but I figured having the administrative commands from the server side would give the server admin a good backup for user management.

I'd completely support using filament I don't remember if the thing I setup It's still in place. Filament is pretty amazing.

I'd completely support using filament I don't remember if the thing I setup It's still in place. Filament is pretty amazing.

I did see an old login page, though not a dashboard...yet. I'll poke around though just in case.
I know Laravel also has a default HOME URL it directs successful logins to in 1 of the built in classes, so I'll see if that needs changing.


ConsumerMessage timestamp is inconsistent with clients in other languages?

Versions
Sarama Version: 1.12.0
Kafka Version: <IP_ADDRESS>
Go Version: go1.8.1 darwin/amd64
Configuration
Kafka configured to use broker timestamps:
log.message.timestamp.type=LogAppendTime
Problem Description
Probably more like a question, but i noticed that sarama returns inner message timestamps instead of block timestamp when using ConsumePartition() function.  Relevant code to populate ConsumerMessage struct from FetchResponse: https://github.com/Shopify/sarama/blob/master/consumer.go#L528
Which is by some reason different from results by other clients (java, librdkafka). It's only reproducing when Kafka broker is configured to timestamp incoming messages itself (LogAppendTime).
Below is test go snippet which shows difference:
package main

import (
	"fmt"
	"gopkg.in/Shopify/sarama.v1"
)

func main() {

	config := sarama.NewConfig()
	config.Version = sarama.V0_10_0_1

	topic := "local.test"
	broker := sarama.NewBroker("<IP_ADDRESS>:9092")

	err := broker.Open(config)

	if err != nil {
		panic(err)
	}

	defer broker.Close()

	fetchRequest := &sarama.FetchRequest{MaxWaitTime: 250, MinBytes: 1}
	fetchRequest.Version = 2

	fetchRequest.AddBlock(topic, 0, 0, 32768)

	fetchResponse, err := broker.Fetch(fetchRequest)

	if err != nil {
		panic(err)
	}

	for _, msgBlock := range fetchResponse.GetBlock(topic, 0).MsgSet.Messages {
		fmt.Printf("Block: [%v] %v %v\n", msgBlock.Offset, msgBlock.Msg.Version, msgBlock.Msg.Timestamp.UnixNano()/1000000)

		for _, inner := range msgBlock.Messages() {
			fmt.Printf("Inner: [%v] %v %v\n", inner.Offset, inner.Msg.Version, inner.Msg.Timestamp.UnixNano()/1000000)
		}
	}

}

, with my test data it produces:
Block: [0] 1<PHONE_NUMBER>370 <- this is LogAppendTime, produced by Kafka itself, other clients returns it as timestamp
Inner: [0] 1<PHONE_NUMBER>303  <- this is CreateTime, produced by filebeat, returned by sarama
Block: [1] 1<PHONE_NUMBER>373  <- this is LogAppendTime by Kafka itself, returned by other clients
Inner: [0] 1<PHONE_NUMBER>303  <- this is CreateTime, produced by filebeat, returned by sarama

Probably there is something filebeat specific (which is using sarama as well), i wasn't able to reproduce it with sarama producer myself, but probably somebody can shed light on it?

That is really weird and off the top of my head I have no idea, sorry. What is filebeat?

Hmm, googled around a bit.
Filebeat will set the timestamp to something specific in some cases: https://github.com/elastic/beats/blob/3865f220cbb5ed3d03ee632aa00f5413dead882e/libbeat/outputs/kafka/client.go#L158-L163. Don't know if that is being hit in your case.
Sarama picks the timestamp of the first inner message if relevant when producing: https://github.com/Shopify/sarama/blob/c01858abb625b73a3af51d0798e4ad42c8147093/produce_set.go#L88-L107

Filebeat setting timestamp when configured to use v0.10+ of Kafka. (CreateTime timestamp) This part is fine.
Kafka is configured to ignore producer timestamp and generate its own timestamp (LogAppendTime).
When consuming such recursive messages sarama behavior is different form other clients. That's part is not fine :)  All other clients returns outer message timestamp.
Probably it is something to do with Kafka itself, i can check 0.10.1 and 0.10.2. May be Kafka should recursively update all nested timestamps with LogAppendTime is configured.

How about if i rephrase issue like: can we include BlockTimestamp field to ConsumerMessage struct along with existing Timestamp.
Semantic will stay backward compatible with existing sarama users and new field can be used to provide parity with other clients?

rdkafka overrides the inner timestamps at https://github.com/edenhill/librdkafka/blame/6a735dd3b86a93b78f61855a7691439e89864368/src/rdkafka_broker.c#L3779-L3781 because of https://github.com/edenhill/librdkafka/commit/6aa20e19d5ad17eb2061555ba7966515492dbaa8 but I'm not entirely convinced that logic is correct in all cases? @edenhill I don't think your intention was to completely blow away the inner message timestamps when both are provided? Or is the fact that both are provided at all a bug?

How about if i rephrase issue like: can we include BlockTimestamp field to ConsumerMessage struct along with existing Timestamp.

That will work, but I'd like to get to the bottom of this issue, something seems fishy.

Ok, figured it out, when producer using compression, sarama will pick up inner message timestamp (which is not updated by Kafka - to be verified with latest versions).
Other clients respects outer compressed message timestamp.

@eapache ,
tested latest v<IP_ADDRESS>, same broker behavior.  After asking in kafka user list, it seems to be expected, check it out: http://search-hadoop.com/m/Kafka/uyzND1IGfjBm6AxA?subj=Re+Kafka+LogAppendTime+compressed+messages
So, do you want pull request or prefer to fix yourself?

OK, I guess it's intentional. I still find it kind of weird though :)
I'm happy to accept a PR for this.

@eapache , here is pull request. Sorry for delay.
I wasn't able to figure out how to write test for that. It looks there are no tests for timestamps at all.
If you would like me to write one i'll appreciate some guidance here.


How to catch upstream timed out exception in plugin?

Summary
Hello,
I have a plugin, which log request/response in log(conf) method like it does http-log or galileo or others. But when KONG catch timeout exception from upstream URL, methods like "log", "body_filter","header_filter" are not invoked. So, where can i catch this error and log it to db?
Steps To Reproduce

Create Rest service which throw timeout exception
Create handler.lua for plugin and check which methods are invoked
Check that only access method was invoked.

Check that error.log file have Upstream timed out exception

Hi,
Short answer: this isn't currently possible due to the nature of nginx itself. Response and logging contexts are not triggered on upstream errors. This would require architectural changes to the plugins to add an on_upstream_error()  handler hook which could be triggered from the Nginx error handler defined with the error_page directive in the nginx template.

Thanks for the answer, are you planning to implement on_upstream_error() handler?

There are no such plan yet but on the long term eventually.


[WIP] Don't clear acl in order to remember old acl fixes #2586

This fixes #2586

Frontend tests were OK :+1: (details)


determine which social network the user choosed to share to

hi Eddy
there is any way to determine which social network the user choosed to share to?
thanks a lot

Please search this issues before posting a new one.
Thanks.


Shared Drive Migration Broke All Drive Links

Describe the bug
Any drive.google.com links that we were referencing broke when we changed from the standard drive to a shared drive (even though the subfolders all remained the same).
To Reproduce
Steps to reproduce the behavior:

cmd + shift + f search in VS Code for https://drive.google.com
Click on any of the links (except for the links at /blueprints/resources/logo-files
See 404

Expected behavior
A drive folder should appear
Recommended steps to fix

Perform the search in the "To Reproduce" section
Go file-by-file, check the link to verify its broken
Replace the broken link w/the correct one

Note — you'll need to make sure that the permissions to the folder you're sharing are set to "everyone at Liferay.com can comment".
cc @naoki-evan-hisamoto @abelhancock probably know where most of these folders are

thanks @leolohmann! great effort!
@drakonux can you take a look at #1046 — I left a bunch of comments and tagged you in a few, some of the docs linked in Lexicon weren't clear to me, just wanted to confirm w/you
@MiriamManso can you check my comment in the pr as well — in your article on research libraries some of the links were going to permissioned files in our internal drive
I'll be merging this PR first thing tomorrow morning (for me) — if you have changes that you'd like to have here, please either send them in a PR to Leo's fork, or you can comment in here and I can put them in.
If you can't look until later, or can't send info before I merge — that's not a big deal, can always do it later :)

@plhnk I've only checked 3 links in Lexicon pages and all of them are wrong. Is there something automatic that was not applied well? You guys did it manually? If so, I need to review everything form and send a PR that fixes everything manually.

@victorvalle no it was manual — it's not possible to do it automatically, it's just our best guess. This has raised another issue that I've pinged @drakonux about — I'm thinking that it will be better to address the underlying issue (i.e. why are we adding links to google docs, and now involving confluence) than put effort into fixing the links one by one as they have been broken for some time and no one has said anything.

Please, let me know the outcome and how I can help.

@victorvalle I searched into our shared folder and linked to the document that had most similarities with the topic on each specific page.

GDrive Lexicon folder and Lexicon site structure are quite similar. Just following both trees many things should match. But in that case, I would do it. It will be far easy for me.

@victorvalle if its going to take more than 15 minutes to do it and send the PR to Leo's branch — do it, if not — IMHO its not worth it

Note — leaving this issue open — if anyone is able to tackle this in the future, please check the PR reviews in #1046 for details from @victorvalle and @drakonux


Feature Request, Remove Automatic Example Generation

Can the example generation for respones with oneOf and allOf etc be disabled? Unless an example is explicitly in the OpenAPI file, it should not be generating the responses.
https://mrin9.github.io/RapiDoc/tests/toomany-example-generation.html

Like to know the reasoning behind it

Our UI is designed in such a way that we show the schema in one tab and the example in another. Not generating any example will break this behavior.
If there is no example provided and nor generated what would you expect to see under the example tab ?
It will be a surprise to an user that in some schema we generate examples and in some schema the example is not generated just because they have one-of and all-of in them
provide your  pain-points if we are generating examples ? may be we can think of certain other alternatives ?

If there is no example provided and nor generated what would you expect to see under the example tab ?
I would expect to see nothing since I hadn't defined it. I would only expect the schema.

The pain point I'm running into is the multiple examples being generated. It's a bad user experience because I can't even label so a user knows what changing per example created. They all just say "Player". How is a user supposed to know the difference between these. Or even know which to select if they come back and want to see the Player 5 example.

I would expect to see nothing since I hadn't defined it. I would only expect the schema.

This will be a departure from our current behavior where we  generate examples based on constraints and data types without requiring the spec to have examples (shown below).
I dont think, I can hide the example section if none is provided in the spec. Its a core feature and people expect to see examples irrespective of if its defined in spec or not

The pain point I'm running into is the multiple examples being generated. It's a bad user experience because I can't even label so a user knows what changing per example created.

Examples are auto generated only when none is provided, if you provide one it wont generate any. Are you saying you are not able to provide your examples and label them ?

@mrin9 perhaps the generated examples could use some sort of random sampling of dummy content, similar to faker.js? For example, instead of "string" as an example for the name field in your screenshot above, it could be "Lorem ipsum" or something of that sort.

thanks for the suggestion, but this issue is about the example itself not the content of the example
to answer your specific suggestion

to use a approach like faker , we must know the nature of the field, such as is it a holding a name, address, ssn etc. which we dont. just because a field is named as name we do not know  is it storing a person's name or a place name or some other name

now that faker is out of way, we have the option of generating examples content based on data-type. Here we took an approach where we can convey a little more informative. for instance a string fields content as string contains more info than Lorem ipsum asides that a string field with max-length will change its example content to AAA instead.

Hope, i was able to reason with how example contents are generated based on data-types and constraints


Better Interface Styles

**Is your feature request related to a problem?
Not a problem, just a suggestion.
Describe the solution you'd like
It would be nice if someone could make more accurate interface styles for each era of Runescape.
Describe alternatives you've considered
First off, I'm happy we have the option to change our interface styles to new and old, however, they aren't accurate. What I mean by this is, all that's being changed on the screen is some sprites, some of these sprites aren't even being sent to the correct spots on the interface. I've posted some pictures below on how this could be possible.
Additional context
Toggleable:

2010 Data orb positioning: (Ignore the sloppy photoshop)

Duplicate of #11152


The demo snap partially renders text as squares.

Refer the following screenshot:

Locale settings:
$ locale
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh_HK:zh_CN:en
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC=zh_TW.UTF-8
LC_TIME=zh_TW.UTF-8
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY=zh_TW.UTF-8
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER=zh_TW.UTF-8
LC_NAME=zh_TW.UTF-8
LC_ADDRESS=zh_TW.UTF-8
LC_TELEPHONE=zh_TW.UTF-8
LC_MEASUREMENT=zh_TW.UTF-8
LC_IDENTIFICATION=zh_TW.UTF-8
LC_ALL=

Not sure if it is related to this project, though, as it is built on 2020/7/30 which may not reflect the current implementation.

Thanks for testing this out, @Lin-Buo-Ren !
In order to reproduce this, how to I set those locales? I don't have a lot of experience with this.

Weirdly enough, in the second screenshot it's the paths that are squares. When I set those environment variables and run notepad-plus-plus, I get this result:

Though the UI also shows issues:

notepad-plus-plus and photoscape use the latest version of sommelier-core.

notepad-plus-plus:

photoscape:

Can you run the following commands and show the output?
fc-match sans
find /usr/share/fonts/ -type f \( -name "*.ttf" -o -name "*.ttc" \)

fc-match sans

$ fc-match sans
NotoSansCJK-Regular.ttc: "Noto Sans CJK TC" "Regular"

find /usr/share/fonts/ -type f ( -name ".ttf" -o -name ".ttc" )

find-usr-share-fonts-type-f-name-ttf-ttc.out.txt

And which OS and version are you running?

I'm using Ubuntu 21.04.

I am able to rule out the square symbols in the Wine initialization message by dropping a custom override in Fontconfig:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <!-- Prefer Powerline fonts for console -->
 <match target="pattern">
  <test qual="any" name="family">
   <string>monospace</string>
  </test>
  <edit binding="strong" mode="prepend" name="family">
   <string>DejaVu Sans Mono</string>
   <string>Noto Sans Mono CJK TC</string>
   <string>WenQuanYi Zen Hei Mono</string>
   <string>PowerlineSymbols</string>
   <string>HYSong</string>
   <string>DejaVu Sans Mono</string>
   <string>Bitstream Vera Sans Mono</string>
  </edit>
 </match>
 <dir>~/.fonts</dir>
</fontconfig>

However the snapped application still renders text as square symbols regardless.

Aha, that's good to know!
So, the issue is that, for some reason, the apps default to a font which doesn't have Latin characters. I'm not sure why the apps would use a different font than the wine initialization dialog, though.
I've tried to replicate a zh_TW.UTF-8 but there, everything works like it should (using Noto Sans CJK TC everywhere).

@mmtrt I think I need your help here. Do you have any idea what might be going wrong here?

Could be font cache issue since he has some modified font config so rebuild font cache.
OR
he should check wine registry for font substitute change have applied correctly.
Also Since he has Windows fonts installed in system could create conflict with wine font changes not sure though.

Could be font cache issue since he has some modified font config so rebuild font cache.

I've rebuilt the font cache, issue still can be reproduced.

he should check wine registry for font substitute change have applied correctly.

Any guidance?

Also Since he has Windows fonts installed in system could create conflict with wine font changes not sure though.

I'll check it out.

Open regedit with notepad-plus-plus.wine regedit then browse HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes and post all info of this here.

Open regedit with notepad-plus-plus.wine regedit then browse HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes and post all info of this here.

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial Baltic,186"="Arial,186"
"Arial CE,238"="Arial,238"
"Arial CYR,204"="Arial,204"
"Arial Greek,161"="Arial,161"
"Arial TUR,162"="Arial,162"
"Courier New Baltic,186"="Courier New,186"
"Courier New CE,238"="Courier New,238"
"Courier New CYR,204"="Courier New,204"
"Courier New Greek,161"="Courier New,161"
"Courier New TUR,162"="Courier New,162"
"Helv"="MS Sans Serif"
"Helvetica"="Arial"
"MS Shell Dlg"="Tahoma"
"MS Shell Dlg 2"="Tahoma"
"Times"="Times New Roman"
"Times New Roman Baltic,186"="Times New Roman,186"
"Times New Roman CE,238"="Times New Roman,238"
"Times New Roman CYR,204"="Times New Roman,204"
"Times New Roman Greek,161"="Times New Roman,161"
"Times New Roman TUR,162"="Times New Roman,162"
"Tms Rmn"="Times New Roman"

EDIT: also post of this too HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink

@Lin-Buo-Ren looks like snap didn't add registry changes for cjk font that's why its not working.

@Lin-Buo-Ren can you test npp from edge see if new changes do anything for you.

npp revision 264:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial Baltic,186"="Arial,186"
"Arial CE,238"="Arial,238"
"Arial CYR,204"="Arial,204"
"Arial Greek,161"="Arial,161"
"Arial TUR,162"="Arial,162"
"Courier New Baltic,186"="Courier New,186"
"Courier New CE,238"="Courier New,238"
"Courier New CYR,204"="Courier New,204"
"Courier New Greek,161"="Courier New,161"
"Courier New TUR,162"="Courier New,162"
"Helv"="MS Sans Serif"
"Helvetica"="Arial"
"MS Shell Dlg"="Noto Sans CJK TC"
"MS Shell Dlg 2"="Tahoma"
"Times"="Times New Roman"
"Times New Roman Baltic,186"="Times New Roman,186"
"Times New Roman CE,238"="Times New Roman,238"
"Times New Roman CYR,204"="Times New Roman,204"
"Times New Roman Greek,161"="Times New Roman,161"
"Times New Roman TUR,162"="Times New Roman,162"
"Tms Rmn"="Noto Sans CJK TC"

@Lin-Buo-Ren Did you see the same squares on the wine initialization dialog?

@Lin-Buo-Ren Did you see the same squares on the wine initialization dialog?

Yes:

@Lin-Buo-Ren Now that I think of it, that dialog is shown before the registry changes are made. Can you open up `notepad-plus-plus.wine winecfg and see if that has the same issue?

Can you open up notepad-plus-plus.wine winecfg and see if that has the same issue?

I removed the ~/snap/notepad-plus-plus directory before launching winecfg

this means that the default font Wine uses works correctly when you remove your custom overrides in .fontconfig. thinking

Not sure, note that I've dropped the custom override as it doesn't actually solve anything.

For revision 266 of notepad-plus-plus:
Wine initialization window is proper:

The main interface also proper, except for the non-localized text which should be a different issue:

The interface text mostly rendered properly after switching the language to Chinese, except for the "Close" button:

Comparison:

However, some text in the language selection drop-down rendered as crossed rectangular, which should be rather harmless, though...

Another issue is that by default Chinese text input is rendered as squares:

(notice the pre-commit character selection UI displays out of the window, which should be a separate issue (in Wine))
I can workaround the issue by changing the default editor font in the settings:

Do font fallbacks supported by Wine even?

What surprised me is that some of the symbols are quite different between the two versions. What is the difference between the symbols and which version is correct for that locale?

The previous version is using serif-like 楷(Kai) style font, the latter one uses san-serif like 黑(Hei) style font, which is more proper considering the medium is the screen.

@Lin-Buo-Ren @galgalesh
Test this snap thoroughly for any issues regarding cjk locales so that I can push my changes to PR thanks.
notepad-plus-plus_267.tar.gz

@mmtrt
I still have the same issue with the rectangles.

The ubuntu font is present on my system.ls ~/snap/notepad-plus-plus/common/.wine/drive_c/windows/Fonts/ | grep Ubuntu
Ubuntu-BI.ttf
Ubuntu-B.ttf
...

For this reason, Wine uses Ubuntu instead of the Noto font in a bunch of places. Since the Ubuntu font doesn't contain CJK characters, this shows as rectangles. If I remove the Ubuntu fonts, the UI falls back to the Noto font.
This doesn't happen only with the Wine UI. Any program explicitly specifying a font will break in the following conditions:

The font is installed and available as ttf or ttc
The font doesn't have CJK symbols

I have this issue with the PhotoScape UI, regardless of which Theme I use because Photoscape explicitly specifies another font.
Ways to fix this:
0: Switch to a theme which uses regular MS fonts
If a theme uses the (pseudo)fonts "MS Shell Dlg" and "Tms Rmn", that will fix the issue for all Wine UI. The default Wine theme uses those fonts.
This approach isn't complete, however, because apps like PhotoScape specify a specific font for the UI which isn't affected by the theme.
1: Get font fallback working.
Wine supports very rudimentary font fallback. One of the issues is that this doesn't work automatically on all text: "Fallback fonts will only be used in programs and areas where the ScriptString apis are used" I tried to configure it, but this doesn't seem to fix the issue. This is what I added to the registry (copied from user.reg):
[Software\\Wine\\Uniscribe\\Fallback]<PHONE_NUMBER>
#time=1d75e36a4c15e00
"0x696e6168"="Noto Sans CJK TC"

I don't know whether I made a mistake in the configuration or whether the font fallback doesn't work for buttons.
2: Override all fonts possibly used in the UI to Noto Sans
This is what they use here: https://gist.github.com/swordfeng/c3fd6b6fcf6dc7d7fa8a
I haven't tried this, but I expect it to work. This has the downside that those fonts will always be substituted, even in, for example, Microsoft Word.

@galgalesh did you tried on fresh snap prefix without any snap data?
It should have worked since I replaced font fallback to noto cjk which font changed after using LANG env
Thing is wine resets font fallback when user changes LANG env so registry changes are lost in predefined registry entries which could be cause of button font as boxes. So user have to use that LANG for it to not reset.
Also check for font substitutes when changing LANG env "MS Shell Dlg" and "Tms Rmn" will font names will changes when switching LANG then we have to change these fonts fallback to noto cjk from systemlink which I did currently though it might be change in your system.

did you tried on fresh snap prefix without any snap data?

I ran snap remove --purge notepad-plus-plus before installing it and trying it out. I just tried it again, and I have the same result.
How did you change font fallback? Then I can check if it's set on my system.
I can't see any uniscribe fallback config in the registry:
cat ~/snap/notepad-plus-plus/common/.wine/*.reg | grep -i fallback

Also check for font substitutes when changing LANG env "MS Shell Dlg" and "Tms Rmn" will font names will changes when switching LANG then we have to change these fonts fallback to noto cjk from systemlink which I did currently though it might be change in your system.

I don't completely understand what you're saying here. This is what I do to test:
$ export LANG=zh_TW.UTF-8
export LANGUAGE=zh_TW:zh_HK:zh_CN:en
export LC_CTYPE="zh_TW.UTF-8"
export LC_NUMERIC=zh_TW.UTF-8
export LC_TIME=zh_TW.UTF-8
export LC_COLLATE="zh_TW.UTF-8"
export LC_MONETARY=zh_TW.UTF-8
export LC_MESSAGES="zh_TW.UTF-8"
export LC_PAPER=zh_TW.UTF-8
export LC_NAME=zh_TW.UTF-8
export LC_ADDRESS=zh_TW.UTF-8
export LC_TELEPHONE=zh_TW.UTF-8
export LC_MEASUREMENT=zh_TW.UTF-8
export LC_IDENTIFICATION=zh_TW.UTF-8
export LC_ALL=
merlijn@howard:~/Downloads$ sudo snap remove --purge notepad-plus-plus
[sudo] merlijn 的密碼：
notepad-plus-plus 已被移除
merlijn@howard:~/Downloads$ sudo snap install notepad-plus-plus_267.snap --dangerous
notepad-plus-plus 8.0 installed
merlijn@howard:~/Downloads$ notepad-plus-plus

I can't see any uniscribe fallback config in the registry:

fallback fonts are in here
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink

"MS Shell Dlg" and "Tms Rmn"

I mean when user uses cjk locale wine changes fonts from fallback according to cjk region that uses it Wiki List of cjk fonts

I ran snap remove --purge notepad-plus-plus before installing it and trying it out. I just tried it again, and I have the same result.

Sorry I mistakenly uploaded wrong rev that I downloaded from edge this should do it.
notepad-plus-plus_8.0_amd64.tar.gz

This works great!

Amazing work, @mmtrt!
I didn't know about fontlinks. This is apparently a second method for font fallback.

Unlike font fallback, in which the selected font is internally replaced by a predefined font, in font linking (also called “composite fonts”) it is possible to link one or more fonts (called "linked fonts") to another font (called the "base font"). Once you link fonts, you can use the base font to display code points that do not exist in the base font, but that do exist in one of the linked fonts. For example, linking a Hangeul font and a Japanese font to a Tahoma font allows you to display both Korean and Japanese characters while specifying Tahoma font. The Noto family of fonts uses the model to create what appears as a single font by combing script-specific font files.
source

There is one thing I do not understand, though. Modern theme uses Ubuntu font for buttons. There is not font link defined for Ubuntu font. Then why does it still fall back to Noto with this configuration?

There is one thing I do not understand, though. Modern theme uses Ubuntu font for buttons. There is not font link defined for Ubuntu font. Then why does it still fall back to Noto with this configuration?

Since wine doesn't use ubuntu font by default anywhere so it ignores theme config I guess and ReactOS uses it by default in system.
So with this new cjk config we are using noto font in predefined fallback fonts and also adding fonts of fallback fonts from predefined data such as Batang, Gulim, SimSun, NSimSun, MingLiU, PMingLiU, MS Serif, MS UI Gothic entries separately then adding noto font as fallback for these cjk region fonts.

Changes are merged into master and 1.0 branches. Should be fixed in the apps the next time they get rebuild.


[Question] Why does the source code not make use of tabs?

Just curious as to why the source seems to be using spaces, and not tabs.
Now, I should point out, I don't want to start a flame war.
I'm just curious if it's going to stay that way.

Hi and thanks for using Gosu!
Since editors often interpret the indent level of a tab in different ways, we've kept it simple and stuck with spaces.

[...]editors often interpret the indent level of a tab in different ways[...]

Isn't that the point?
For example, I'm definitely used to seeing a full indentation between a block and a statement, such as an if and its block, but with the current source code, it seems to be a bit random.
Some are indented by 2 spaces, others 4.
Seems to be woefully inconsistent.
If people are used to seeing 2 spaces, you can change tab sizes to be the width of 2 spaces in any good editor.
If GosuLab doesn't provide this functionality, I'd be happy to look into it.
It's just as it stands now, it gets tedious making sure that any change I do I have to convert the indentation to the correct amount of spaces.
It raises the bar on people being able to help, granted anyone who actually wants to implement/fix something would do it regardless, as it gets difficult to read.

I agree with you, and as we grow this has been in the back of my mind for a while. Since we are a small project and the core committers work in close proximity with each other, we've been able to tolerate these inconsistencies until now. But I agree, the inconsistent styling makes it difficult to solicit contributions.
So I propose to solve this using a combination of the EditorConfig standard, combined with adding the checkstyle plugin to our build.
I created a branch to experiment with this here: https://github.com/gosu-lang/gosu-lang/tree/checkstyle
Please feel free to have a look and let me know what you think.
We still have the issue that Gosu's creator, Scott (@rsmckinney), prefers an unusual coding style similar to the Horstmann style, but with additional whitespace before/after parenthesis. So it's one challenge to make checkstyle understand and accommodate this without having to refactor our entire codebase, and another challenge to export the Hosrtmann-eqsue settings in a way that can be imported by contributors.
Oh, one last note about tabs. I stumbled across this module for the checkstyle plugin, whose default behavior is to reject \t characters. I found these reasons interesting:

Rationale:
* Developers should not need to configure the tab width of their text editors in order to be able to read source code.
* From the Apache jakarta coding standards: In a distributed development environment, when the commit messages get sent to a mailing list, they are almost impossible to read if you use tabs.

I definitely think EditorConfig is a way to go, especially if we can just run a formatter over the project or changed files with it before a commit.
I'll take a look at the branch, when I can.
Obviously, I don't want this to sound like I'm having a go at @rsmckinney, whom I'm grateful towards for making this language, but if readability, and more community contributions are desirable, wouldn't it make more sense to adapt a more standardised format?
Such as Sun's?
If he wants to keep his style, I understand, I just think it's definitely going to hurt outside productivity.
Regarding the reasons for rejecting \t characters:

Developers should not need to configure the tab width of their text editors in order to be able to read source code.

That seems like a "everyone can read this style equally", which if anything has taught me, just isn't the case.
The fact that there's so many different style variants in the wiki page alone, only further supports that fact.
Configuring tab size within an editor is much more desirable than enforcing a global indent size.

From the Apache jakarta coding standards: In a distributed development environment, when the commit messages get sent to a mailing list, they are almost impossible to read if you use tabs.

This I can totally understand. Mailing lists go back years, and can be completely destroyed by tabs.
I guess my main question would be how often does Gosu end up in a mailing list?
All that aside, I think that it's going to be a lot easier to help, if there's a nicer standard to adhere to. :)


Import Transect Checking from Hake-Labels

This addresses #123.
It no longer checks that ST and ET exist. I made this change in the case where an EVR file doesn't contain all the information for a transect, like if it only contains RT-BT-RT-BT-ET or ST-BT-RT-BT-RT segments.

@leewujung

"Dictionary for transect values" does not make sense to me. Do you mean annotation labels of "log" type? Could you re-word this to be more precise?

Yup!

is very hard-coded, so I am not sure why the function wouldn't just take transect_strs and transect_next_allowable as inputs directly. Doing that may help users understand what these strings are used for.

Yeah, I can use that convention instead.

could be factored out to be a function to produce warnings (or not) so that the main flow of the transect_mask function is cleaner.

Maybe I separate the transect masking and the checking of the transect sequences?

The 2 cases (start_str followed by break_str or end_str; and resume_str followed by break_str or end_str) are exactly identical to what you have in the transect_next_allowable dictionary, under the keys start_str and resume_str -- and this is obviously should be the case, because that's why these are allowed combinations. How about just using the transect_next_allowable dict to set the within_transect values?

Yup, that sounds cleaner.

Since transect_df["within_transect"] is already a clean column of where in transect_df should be within or outside of a transect segment, and here we only want the "within_transect=True" case, I think you can take out the loop completely.

By the above, you mean remove this?
 for transect_querying_file_name in transect_querying_list:
     within_transect_df = transect_df.query(
         f'file_name == "{transect_querying_file_name}" and within_transect == True'
     )

So instead I just iterate through transect_df within_transect True values only?

I added back the numbers so that I can reference these more easily:
1

"Dictionary for transect values" does not make sense to me. Do you mean annotation labels of "log" type? Could you re-word this to be more precise?

I wasn't quite sure what to call them since they denote what part of the transect we are on, and log is already a designated class name. Maybe I instead call them transect_sequence_type or something to denote where the EVR region is in the context of the transect map?

Sounds good
2

is very hard-coded, so I am not sure why the function wouldn't just take transect_strs and transect_next_allowable as inputs directly. Doing that may help users understand what these strings are used for.

Yeah, I can use that convention instead.

Sounds good.
3

could be factored out to be a function to produce warnings (or not) so that the main flow of the transect_mask function is cleaner.

Maybe I separate the transect masking and the checking of the transect sequences?

I think you can have a new function for checking the transect sequences to produce warnings (or not), but call this function only within the current transect_mask. The checking is very specific (and so is transect_mask) that I don't see a lot of values in separating these as 2 functions that can be used independently in general.
4

The 2 cases (start_str followed by break_str or end_str; and resume_str followed by break_str or end_str) are exactly identical to what you have in the transect_next_allowable dictionary, under the keys start_str and resume_str -- and this is obviously should be the case, because that's why these are allowed combinations. How about just using the transect_next_allowable dict to set the within_transect values?

Yup, that sounds cleaner.

👍
5

Since transect_df["within_transect"] is already a clean column of where in transect_df should be within or outside of a transect segment, and here we only want the "within_transect=True" case, I think you can take out the loop completely.

By the above, do you mean remove this?
 for transect_querying_file_name in transect_querying_list:
     within_transect_df = transect_df.query(
         f'file_name == "{transect_querying_file_name}" and within_transect == True'
     )

So instead I just iterate through transect_df within_transect True values only?

Yeah, that's what I think. And for completeness I added back the second half of this part of comment below:

We've been operating under the assumption that it is expected that region_df may contain timestamp ranges that are larger than what's in da_Sv, and whatever within region_df that fits the "within transect" criteria would be 1s in the output mask. To make this more efficient, we can first filter transect_df bracketed by:

region_bbox_left that is immediately before the first timestamp in da_Sv
region_bbox_right that is immediately after the last timestamp in da_Sv

and then iterating all rows in transect_df.

@leewujung I incorporated all your previous suggestions. This is ready to be reviewed again.

Also, please get to #126 also once this one is merged, so that we can release v0.1.1 soon. It'll be better for the label organization stuff to be able to install from main, rather than specific branches.

@leewujung Made the corrections and added a few tests.
And you were right, there was a bug where
transect_df.loc[                 transect_df["region_bbox_right"] > max_timestamp, "region_bbox_right"             ]
and its partner code is empty and so idx min/max cannot be run, and I dealt with this case by taking the max idx of the original region bbox values.


Task 'compileJava' not found when I add a new NDK module in Hello-libs

Hello-libs compiles OK in my computer. But when I add a new lib module 'gadd' in Hello-libs, I got this build error:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:prepareDebugUnitTestDependencies, :app:mockableAndroidJar, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources, :gadd:compileJava]
Configuration on demand is an incubating feature.
Hello-libs2
FAILURE: Build failed with an exception.

What went wrong:
Task 'compileJava' not found in project ':gadd'.

Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 1.641 secs
////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Here is my build.gradle file:
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
apply plugin: 'com.android.model.native'
model {
android {
compileSdkVersion = 23
buildToolsVersion = '23.0.2'
    defaultConfig {
        minSdkVersion.apiLevel = 13
        targetSdkVersion.apiLevel = 23
        versionCode = 1
        versionName = '1.0'
    }
    ndk {
        moduleName = 'gadd'
        abiFilters.addAll(['armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'mips', 'mips64']) //this is default
        ldLibs.addAll(['android', 'log'])
    }
}

}
task(distributeLib, type : Copy) {
// trigger build library
dependsOn assemble
into '../distribution/gadd/'
from('src/main/jni/gadd.h') {
into 'include/'
}
from('build/outputs/native/release/lib') {
into 'lib/'
}
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I have no define comipleJava in my build.gradle file. By the way, the project compiles no error when using gradle build command. Is it a bug of Android Studio?

could be.  which version of the studio is yours?
tried to add another lib into hello-libs, it works fine.  just pushed it to branch three-libs:
https://github.com/googlesamples/android-ndk/tree/three-libs
you could check it out: sample hello-libs [ I will delete it in one or 2 days ]
mine is studio 2.2 preview 4, ndk-R12

My android studio is 2.1.2

android studio version might matter. could you try with hello-libs in that branch with 2.1.2 see if it works? theoretically it should not since this is gradle-experimental plugin.  Thanks

Thanks ggfan. I think the problem is caused by my ndk module creation procedure. There is no ndk module selection in Create New Module dialog, so I selected a Java Library as my new module template. I deleted all the files created automatically, and add build script and c sources. These may cause the javaCompile task in Android Studio. Now I make a copy of gmath folder as gadd, and modify all the necessary files, both Android Studio and gradle build command work well.

cool, that is great!


Add theme homepage creators.

Hi, this home page theme comes after https://github.com/getzola/themes/pull/158.
In this theme, all you need to do is modify config.toml and the homepage will go as you wish. Easy to get beautiful homepage / profile website.
Demo url: https://www.jiaxiang.wang/

Thanks!


Fix initial GPU KV cache memory allocation

Currently, the number of GPU blocks being allocated for KV cache is done before the model is loaded in GPU memory. This highly over-estimates the number of GPU blocks. Instead, one should first load the model weights in GPU memory, and only then initialize the CacheConfig with the properly computed number of KV cache GPU blocks.

Fixed in #106.


Several problems when using toolScript

When using toolString,

calling PbsCommand.toString results in an NPE
calling BEJob.toString results in an NPE
calling PbsJobManager.createCommand results in an NPE
the PBS submission command is not created correctly (should pipe the toolScript into qsub, instead of using it as an argugment)

This is not yet working for PBS. In Roddy I don't use it (or at least not until now). Do you need it for OTP?

Yes, that would make integration in OTP easier. It shouldn't be difficult to support it, see my pull request

Can this be closed?


resource_retriever: 1.12.4-0 in 'lunar/distribution.yaml' [bloom]

Increasing version of package(s) in repository resource_retriever to 1.12.4-0:

upstream repository: https://github.com/ros/resource_retriever.git
release repository: https://github.com/ros-gbp/resource_retriever-release.git
distro file: lunar/distribution.yaml
bloom version: 0.6.3
previous version for package: 1.12.3-0

resource_retriever
* Fix an intermittent test failure.
  Both the C++ and python tests were using test/large_file.dat,
  which means if they were run concurrently, they would sometimes
  collide.  Avoid this by having them use different filenames.
* Cleanup resource_retriever packaging.
  In particular, make sure that resource_retriever properly
  depends on all of the things it needs.  While we are in here,
  switch over to package xml version 2.
* Contributors: Chris Lalancette

Same question as https://github.com/ros/rosdistro/pull/17168#issuecomment-374303280

Holding for https://github.com/ros/rosdistro/pull/17168#issuecomment-374305062


GH-1246 Fix for ldap search filter

When configuring reposilite against an LDAP server the connector fails to filter users when there is more than one user in the directory.
The root cause is in the LdapAuthenticator.kt authenticate function. The first directory search filters users based on the auth request name matched to the userAttribute. There is a second directory search after the user is authenticated where only the userFilter is applied, however the authentication request name is not used nor available to that filter.
Adding the userFilter with userAttribute matched with the authentication request name, as done in the first search resolves the error and makes the ldap connector functional against a realistic directory.

Thanks for the PR ❤ Looks fine, I'll merge this when builds pass all tests on CI


consider moving spenc to spopt

@ljwolf do you think it would make sense to move spenc into spopt rather than maintaining it as a standalone package?

Yeah fine with it

#93

#93


Use absolute imports

Removes the deprecated absolutify-imports package from .pre-commit and adds a rule in pyproject.toml for ruff to handle relative import errors.
Refactors all code that used relative imports.

Resolves #19

📚 Documentation preview 📚: https://arviz-base--20.org.readthedocs.build/en/20/

it looks like it now runs on notebooks within docs which fails the check: https://github.com/arviz-devs/arviz-base/actions/runs/11087276115/job/30805831294?pr=20#step:5:37. I think we can skip ruff for the notebooks in the docs

And nice catch on this: https://github.com/arviz-devs/arviz-base/actions/runs/11087276115/job/30805831294?pr=20#step:5:104 looks like the upgrade is worth it

woof...pun intended ruff. At least it is all green now, and thank you @OriolAbril for setting up the CI.
This should refactor the codebase to use absolute imports now.


🆕 New model for whisper: turbo

A new model of Whisper large-v3-turbo was published https://github.com/openai/whisper/pull/2361
faster-whisper does support it in dev version, but no new release was created. https://github.com/SYSTRAN/faster-whisper/commit/b2da05582c78f73e81b0e2d9a8a9e1b46df20a26

I worked around it by doing this: --model mobiuslabsgmbh/faster-whisper-large-v3-turbo


changed the general styling to style.css and the general js to logic.js

I changed all the general styling for the header/footer/main/body to the style.css file and the general features of the JS to the logic.js file.

good job!


VSCode: cannot initialize ESLint by 'Create ESLint Configuration' from command palette

ESLint Extension: 2.1.8
ESLint: 7.9.0 (installed locally with --save-dev)
VSCode: 1.49.0
Node.JS: 12.14.1
NPM: 6.14.7
OS: Windows_NT x64 10.0.19041

Steps to reproduce:

Open a project folder
Open a VSCode command palette
Choose 'ESLint: Create ESLint Configuration' and execute

Expected behavior:

ESLint initialization dialogue

Actual behaviour:

VSCode bash terminal error:

$ node_modules\.bin\eslint.cmd --init
bash: node_modules.bineslint.cmd: command not found

Workaround:

Typing and executing node_modules/.bin/eslint.cmd --init directly in VSCode terminal

Which terminal are you using under Windows?

Which terminal are you using under Windows?

It's Git Bash

VS Code still has no API for me to find out which shell is used. I will close the feature-request for now since it requires quite some coding to make this work without proper API.


[ENH] match to qsiprep nipype/nireports versions

nipype/nireports got updated for qsiprep. This matches qsirecon

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.94%. Comparing base (64be9d6) to head (0671db7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #167   +/-   ##
=======================================
  Coverage   33.94%   33.94%
=======================================
  Files          57       57
  Lines        7193     7193
  Branches      983      983
=======================================
  Hits         2442     2442
  Misses       4653     4653
  Partials       98       98

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


about the anomaly score and STCs

hi, I have a question about your paper. A frame maybe have some STC, but the anomaly score in your method only one STC. When you judge whether an frame is an abnormal，are all STCs in this frame used?
I am very appreciate if you give me some advice

Of course all STCs are used. Due to the limitation of space in this paper, we only specify the calculation method of anomaly score of a STC instead of a whole frame. In the experiment, the largest STC anomaly score in a frame is used as the anomaly score for this frame. You can refer to lines 366-373 and 402-414 in test.py.

Hi, thanks for your inspiring work. I have a question:
why does one frame have some STCs? According to this figure in your paper, one STC should have multiple frames instead of multiple STCs per frame
And could you upload the supplementary material mentioned in your paper?
I am very appreciate if you give me some advice

Originally posted by @algorithmlixuan in https://github.com/yuguangnudt/VEC_VAD/issues/1#issuecomment-713398277

hi, I have a question about your paper. A frame maybe have some STC, but the anomaly score in your method only one STC. When you judge whether an frame is an abnormal，are all STCs in this frame used?
I am very appreciate if you give me some advice

Of course all STCs are used. Due to the limitation of space in this paper, we only specify the calculation method of anomaly score of a STC instead of a whole frame. In the experiment, the largest STC anomaly score in a frame is used as the anomaly score for this frame. You can refer to lines 366-373 and 402-414 in test.py.

Hi, thanks for your inspiring work. I have a question:
why does one frame have some STCs? According to this figure in your paper, one STC should have multiple frames instead of multiple STCs per frame
And could you upload the supplementary material mentioned in your paper?
I am very appreciate if you give me some advice

Originally posted by @algorithmlixuan in #1 (comment)

Because a frame often contains multiple RoIs, and one RoI corresponds to one STC. For simplicity, we only show the construction of one STC in the figure.
Please find supplementary material at https://dl.acm.org/doi/10.1145/3394171.3413973 or https://www.researchgate.net/publication/344385397_mmfp0444_Supplementary_Materialpdf


Foreign key reverse relationship: proper types for <relatedmodel>_set attributes

Right now a model instance's <relatedmodel>_set attribute has a type of object, when the type should actually be django.db.models.manager.Manager[RelatedModel].
For example, Organization.objects.first().user_set.all() has a type error. Organization.objects.first() has the correct type of Organization, but if there is a User model with an FK to Organization, Organization.objects.first().user_set has a type of object instead of django.db.models.manager.Manager[Organization].
Is there any way to get the <relatedmodel>_set attribute to resolve to the proper type short of casting it each time?
Using django-stubs==0.12.1, Django 2.1.7, Python 3.7.

@mkurnikov
Hey Maxim, any idea how tough this would be to implement?
And I'd be glad to help on it if you could point me in the right direction. I'm fairly proficient with mypy, and building a feature like this could be a good learning experience.

This was my bad, I didn't realize that Organization.objects.first() has type Optional[Organization], and not type Organization, which was the source of all my problems.
Organization.objects.get(id=1).user_set.all() works just fine.
Closing this.


Support Secure connection for etcd and hotpot

What this PR does / why we need it: To support secure etcd connection
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes opensds#1148
Special notes for your reviewer:
`Without TLS & User Auth
Add the following to the opensds.conf
[database]
endpoint = <IP_ADDRESS>:2379,<IP_ADDRESS>:2380
driver = etcd
enableTLS = False
./etcd --advertise-client-urls http://<IP_ADDRESS>:2379 --listen-client-urls http://<IP_ADDRESS>:2379  --listen-peer-urls http://<IP_ADDRESS>:2380 &
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --debug cluster-health
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --debug member list
Without TLS but With User Authentication
Add the following to the opensds.conf
[database]
endpoint = <IP_ADDRESS>:2379,<IP_ADDRESS>:2380
driver = etcd
username = opensds
password = opensds@123
enableTLS = False
./etcd --advertise-client-urls http://<IP_ADDRESS>:2379 --listen-client-urls http://<IP_ADDRESS>:2379  --listen-peer-urls http://<IP_ADDRESS>:2380 &
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --debug --user=opensds:opensds@123 member list
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --debug --user=opensds:opensds@123 user list
With TLS but  Without User Authentication
Add the following to the opensds.conf
[database]
endpoint = <IP_ADDRESS>:2379,<IP_ADDRESS>:2380
driver = etcd
enableTLS = True
cert_file = /etc/etcd/server.crt
key_file = /etc/etcd/server.key
ca_file = /etc/etcd/ca.crt
allowClientAuth = False
./etcd --advertise-client-urls=https://<IP_ADDRESS>:2379 --cert-file=/etc/etcd/server.crt --key-file=/etc/etcd/server.key --listen-client-urls=https://<IP_ADDRESS>:2379 --listen-peer-urls=https://<IP_ADDRESS>:2380 --peer-cert-file=/etc/etcd/server.crt --peer-key-file=/etc/etcd/server.key --peer-trusted-ca-file=/etc/etcd/ca.crt &
ETCDCTL_API=3 ./etcdctl --endpoints https://<IP_ADDRESS>:2379 --cacert=/etc/etcd/ca.crt --cert=/etc/etcd/server.crt --key=/etc/etcd/server.key --debug member list
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --cacert=/etc/etcd/ca.crt --cert=/etc/etcd/server.crt --key=/etc/etcd/server.key --debug user list
With TLS and User Authentication
Add the following to the opensds.conf
[database]
endpoint = <IP_ADDRESS>:2379,<IP_ADDRESS>:2380
driver = etcd
username = opensds
password = opensds@123
enableTLS = True
cert_file = /etc/etcd/server.crt
key_file = /etc/etcd/server.key
ca_file = /etc/etcd/ca.crt
allowClientAuth = False
./etcd --advertise-client-urls=https://<IP_ADDRESS>:2379 --cert-file=/etc/etcd/server.crt --key-file=/etc/etcd/server.key --listen-client-urls=https://<IP_ADDRESS>:2379 --listen-peer-urls=https://<IP_ADDRESS>:2380 --peer-cert-file=/etc/etcd/server.crt --peer-key-file=/etc/etcd/server.key --peer-trusted-ca-file=/etc/etcd/ca.crt --client-cert-auth=true --trusted-ca-file=/etc/etcd/ca.crt &
ETCDCTL_API=3 ./etcdctl --endpoints https://<IP_ADDRESS>:2379 --cacert=/etc/etcd/ca.crt --cert=/etc/etcd/server.crt --key=/etc/etcd/server.key --debug --user=opensds:opensds@123 member list
ETCDCTL_API=3 ./etcdctl --endpoints http://<IP_ADDRESS>:2379  --cacert=/etc/etcd/ca.crt --cert=/etc/etcd/server.crt --key=/etc/etcd/server.key --debug --user=opensds:opensds@123 user list
`

@himanshuvar Can you please split this PR into two commits. One for the vendor files and other for the fix

@kumarashit If I split the commits, the code will not be compiled with individual commits without vendor in place. Fix requires updated vendor. We can't have these separated for build/compile failure.
IMHO, Individual commit should not results in build/compile failure.

@himanshuvar Can you please split this PR into two commits. One for the vendor files and other for the fix

@kumarashit If I split the commits, the code will not be compiled with individual commits without vendor in place. Fix requires updated vendor. We can't have these separated for build/compile failure.
IMHO, Individual commit should not results in build/compile failure.

How about in one commit checkin all the Vendor files. And the second commit will have the code changes/fix.

@himanshuvar Can you please split this PR into two commits. One for the vendor files and other for the fix

@kumarashit If I split the commits, the code will not be compiled with individual commits without vendor in place. Fix requires updated vendor. We can't have these separated for build/compile failure.
IMHO, Individual commit should not results in build/compile failure.

How about in one commit checkin all the Vendor files. And the second commit will have the code changes/fix.
If the dependent packages are required for the code changes. Why do we want to spilt this into 2 commits?
Is there any guideline to avail the dependencies before use?


fix the spelling of showProcedureStatement

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7975
Problem Summary(Required) ：

fix the wrong spelling of "showProcedureStatment" to "showProcedureStatement"

@imay @HangyuanLiu please review again


Delete old deprecated services

Deletes a bunch of old deprecated services, as per https://github.com/badges/shields/blob/master/doc/deprecating-badges.md#what-happens-next. All of these were deprecated in 2022 or early 2023.

on board with deleting them, but can you fix the lint failure before we merge

@chris48s are you sure there's still a lint failure?

Checking formatting...
[warn] services/travis/travis-build.service.js
[warn] Code style issues found in the above file. Run Prettier to fix.
Error: Process completed with exit code 1.

Sorry - I missed the second commit :facepalm:


File path

Hello,
Im having problems with file path. It doesnt run:
symbolator -i /home/Repo/file.vhd
Only runs:
symbolator -i file.vhd
Thank you.

Symbolator always scans the working directory for VHDL libraries. That can take a while if you run it from the top of a large directory tree. Are you sure it isn't running at all?

Its ok!


#4915 -- Make Dashboard GUID optional.

Backend may supply no GUID. See client/types/dashboard.go#L28.
rxjs version was bumped to match GUI version (which enable npm link to function).

@evan-gravwell  I understand that the Raw* interfaces are what they are and we can't change them, just document their types. But for the normalized interfaces, please prefer null instead of undefined when you're documenting an optional property because we treat null and undefined as different things in the codebase 🙂
Differences between null and undefined in general
See video: https://youtu.be/kiwqjqGwhGo
Differences between null and undefined in this codebase
In the Updatable* interfaces, we need a way to say that a property should NOT be updated and another way of saying that it SHOULD be updated to empty. We use undefined to say that the property should NOT be updated. And we use null to say that it SHOULD be updated to an empty value.


Do not warn on failure to in-process query target info or supported features

These warnings are not actionable by the user. Instead issue a remark, so as to avoid having these messages being raised as issues in build logs.

@swift-ci test


HTTP 500 Error uploading photos

I'm running lychee as a POC in an ubuntu VM using nginx 1.4.6. I followed the setup instructions for nginx but I'm getting the below error in the nginx erorr.log file when I try to upload a photo:
2015/12/09 23:57:47 [error] 6321#0: *39 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined function imagecreatefromjpeg() in /usr/share/nginx/html/Lychee/php/modules/Photo.php on line 527" while reading response header from upstream, client: <IP_ADDRESS>, server: localhost, request: "POST /Lychee/php/api.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost", referrer: "http://localhost/Lychee/"
Lychee tells me to look at the browser console, however, as far as I can tell this gives no useful information as the response text is blank.
Please let me know if any more info is required. I'm happy to provide any logs you may like. (FYI lychee diagnostics and logs show no issues).
(PS. it would be nice to include the required DB user permissions in the install guide as I'd prefer not to give root level access to the user.)

imagecreatefromjpeg() is a function from the GD library. Can you please check if GD Support is enabled on your PHP installation?

Thanks for this.
I lit up a new VM and (although I'm I had installed GD in the previous one) it now works ok.


Decorator plugin is broken in v6.0

Q
A

Bug report?
yes

Feature request?
no

RFC?
no

How used?
Standalone/Symfony

Swiftmailer version
6.0.1

PHP version
7.0.22

Observed behaviour

It throws an exception
PHP Catchable fatal error:  Object of class DateTimeImmutable could not be converted to string in .../vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/DecoratorPlugin.php on line 115

Expected behaviour

It should successfully substitute replacements and send the resulting message
Example

$mailer = new Swift_Mailer(new Swift_NullTransport());

$replacements = [
<EMAIL_ADDRESS>=> [
        'foo' => 'bar',
    ],
];

$replacementsPlugin = new Swift_Plugins_DecoratorPlugin($replacements);

$mailer->registerPlugin($replacementsPlugin);

$message = (new Swift_Message('Subject'))
    ->setBody('sample foo :-)')
<EMAIL_ADDRESS><EMAIL_ADDRESS>    ;

$result = $mailer->send($message);

Sorry, I found a duplicate
https://github.com/swiftmailer/swiftmailer/issues/967


Add MoreApp Forms connector

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hello @beestree
The pipeline was experiencing internal issues, we have resolved them. Could you please resubmit your PR/commit so that it can be triggered again and undergo validation? Thank you for your understanding. We apologize any inconvenience caused.

Hi @vmanoharas
I already did resubmit the PR. There seems to be something else going on with at the "API Properties Validator" check. The apiProperties.json file was downloaded with paconn download.
Am I missing something here?
Thanks

Hello @beestree,
Please accept my apology for not responding.  Yes there is an issue in the API validator again.  I have informed to engineering team, I will approve the PR as soon as the issue is resolved.
Thank you for understanding.

Hello @beestree,
Please upload your artifacts into ISV studio.
Please follow below instructions.
Please submit the files to ISV Studio or update your submission using your latest commit ID, please allow us up to 1-2 weeks to review your submission, and our Engineers will notify you in the “Activity Control” area in ISV Studio. Please make sure that the icon meets all the requirements, that it’s size is 230x230, icon background is not white or transparent and it matches the iconBrandColor property in apiProperties.json file.
After making the submission in ISV Studio, please attach an intro.md file in the activity control section. This file is required and it's different from readme.md. You can find an example of intro.md file on this page at step 6.
Please Create an environment in the Preview region. You will use this environment later to test your connector after Microsoft is done with the functional verification for your connector.
We expect all tests to be completed within 1-2 weeks.
If your connector passes all tests, the deployment process begins, and it typically takes up to 3 to 4 weeks to deploy your connector to all of our regions.
Please let me know if you have any questions or run into any problems while creating or updating your submission.
Thank you very much for working with us.


Upgrade appservice package

Fixes https://github.com/microsoft/vscode-azurefunctions/issues/2835
Need to actually release the new appservice package and install package-lock.json.
This will pick up the new App Insights 2.1 stuff along with the deployment ID tracking.

Tests are breaking because some triggers no longer have the (preview) suffix after they've updated the templates. I'll fix this in a separate PR.


[tool_crash] OSError: OS Error: Can't assign requested address, errno = 49

Command
flutter attach

Steps to Reproduce
I try to flutter attach to IOS simulator, but it always fail
Logs
OSError: OS Error: Can't assign requested address, errno = 49
#0      _NativeSocket.nativeSetRawOption (dart:io-patch/socket_patch.dart:1558:35)
#1      _NativeSocket.setRawOption (dart:io-patch/socket_patch.dart:1480:5)
#2      _RawDatagramSocket.setRawOption (dart:io-patch/socket_patch.dart:2373:56)
#3      MDnsClient.start (package:multicast_dns/multicast_dns.dart:138:16)
<asynchronous suspension>
#4      MDnsObservatoryDiscovery.query (package:flutter_tools/src/mdns_discovery.dart:66:7)
<asynchronous suspension>
#5      MDnsObservatoryDiscovery.getObservatoryUri (package:flutter_tools/src/mdns_discovery.dart:153:51)
<asynchronous suspension>
#6      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:278:11)
<asynchronous suspension>
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#8      AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:214:5)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1043:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:196:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:284:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.2.0, on macOS 12.0.1 21A559 darwin-arm, locale zh-Hans-CN)
    • Flutter version 2.2.0 at /Users/zhangjiayuan/working/flutter
    • Framework revision b22742018b (9 months ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/zhangjiayuan/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.2.1, Build version 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
    • IntelliJ at /Applications/IntelliJ ID

Hi @jonason123, you appear to be on an older version of flutter, kindly upgrade to the latest version of flutter to see if you still experience this issue.
If you do, please provide the updated flutter doctor -v.
Thank you

As my company ask  to use 2.2.0, and I have upgrade to 2.8.0stable, but it still happen, so I have revert to 2.2.0。Not all of use have this issue, only three, others still work well，all of us used the same flutter branch.

I can flutter attach android device, but can not attach ios simulater

Hi @jonason123, the latest version of stable is 2.10.0. Can you check on the version to see if this is still an issue? If it is, please provide the updated flutter doctor -v.

Not all of us have this issue, only three of us, it works well for others.

That is generally the nature of tool crashes since all environments are different.

Hi @jonason123, the latest version of stable is 2.10.0. Can you check on the version to see if this is still an issue? If it is, please provide the updated flutter doctor -v.

Not all of us have this issue, only three of us, it works well for others.

That is generally the nature of tool crashes since all environments are different.

I have upgraded to 2.10.0, but the issue still happen.
zhangjiayuan@LPT004151 ctrip_flutter % flutter doctor -v
[✓] Flutter (Channel stable, 2.10.0, on macOS 12.0.1 21A559 darwin-arm, locale zh-Hans-CN)
• Flutter version 2.10.0 at /Users/zhangjiayuan/working/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5f105a6ca7 (6 days ago), 2022-02-01 14:15:42 -0800
• Engine revision 776efd2034
• Dart version 2.16.0
• DevTools version 2.9.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/zhangjiayuan/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 61.2.4
• Dart plugin version 212.5632
[✓] VS Code (version 1.65.0-insider)
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension version 3.34.0
[✓] Connected device (2 available)
• iPhone 11 (mobile) • 4D294293-7B79-46CD-B58C-44C1C2D19F45 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
• Chrome (web)       • chrome                               • web-javascript • Google Chrome 98.0.4758.80
[✓] HTTP Host Availability
• All required HTTP hosts are available

Labeling for further investigation

Hi @jonason123, can you please provide the logs of flutter attach -v that fails?
The output is likely to be huge, so kindly put it into a .txt file and attach it here.
Thank you

flutter_attach_v.log
I have attached the log

Labelling for further investigation.

Labelling for further investigation.

Any update？ I have reinstall xcode and simulater, but the issue still happen

Labelling for further investigation.

Any update?

I had the same problem ， asked for help

I had the same problem ， asked for help

I  have fixed the problem, I installed some software, it used socket port, after I uninstall it, the attach work

I had the same problem ， asked for help

I have fixed the problem, I installed some software, it used socket port, after I uninstall it, the attach work
what software have you uninstalled? Please advise

I had the same problem ， asked for help

I have fixed the problem, I installed some software, it used socket port, after I uninstall it, the attach work
what software have you uninstalled? Please advise

company VPN software

mac: 12.3 (21E230)
flutter: 2.8.1
Oops; flutter has exited unexpectedly: "OS Error: Can't assign requested address, errno = 49".
and flutter doctor is ok? and i can't find the method to solve this problem

My xcode is 13.2.1
Mac: 12.3
before this, my Mac is 11.4 every thing is ok, after update the mac system , it runs error.
So U know this problem or U had resoled this problem , you can help me. Tks a lot

I had the same problem， asked for help
Only when I attach to a iOS Simulator or Device, I'll get the error "OS Error: Can't assign requested address, errno = 49".
Strangely enough, it was fine yesterday

I had the same problem， asked for help
Only when I attach to a iOS Simulator or Device, I'll get the error "OS Error: Can't assign requested address, errno = 49".
Strangely enough, it was fine yesterday

I also encounter the same problem. Have you solved  it?  I‘ve tried all means, but no result.

我也遇到了同样的问题，求助

我已经解决了这个问题，我安装了一些软件，它使用socket端口，我卸载它后，附加工作
你卸载了什么软件？请指教

公司VPN软件

我也是这个原因，完美解决

Have you already solved it, I have same issue.

https://www.sangfor.com.cn/product-and-solution/sangfor-security/atrust
公司网络连接时默认安装了深信服的VPN软件——aTrustAgent，它在程序列表中隐藏起来，启动之后就自动开启。可以通过如下方式查找：lsof -iTCP -sTCP:LISTEN
结果：
COMMAND    PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME aTrustAge  641 honglv   18u  IPv4 0x7ecf5c7467460e77      0t0  TCP localhost:56630 (LISTEN) aTrustAge  653 honglv   13u  IPv4 0x7ecf5c7467467e77      0t0  TCP localhost:54631 (LISTEN) aTrustAge  653 honglv   15u  IPv4 0x7ecf5c746745ed17      0t0  TCP localhost:54630 (LISTEN) aTrustAge  653 honglv   61u  IPv4 0x7ecf5c7466741a57      0t0  TCP localhost:55630 (LISTEN) aTrustAge  653 honglv   79u  IPv4 0x7ecf5c7467443577      0t0  TCP localhost:56641 (LISTEN) studio    1298 honglv   25u  IPv6 0x7ecf5c6f9aedb5ef      0t0  TCP localhost:6942 (LISTEN) studio    1298 honglv   27u  IPv6 0x7ecf5c6f9aed5def      0t0  TCP localhost:63342 (LISTEN) adb       1325 honglv    8u  IPv4 0x7ecf5c7467454097      0t0  TCP localhost:5037 (LISTEN)
发现aTrustAgent后，可以关掉之后就解决问题了。

It looks like the tool should probably catch this and log a warning explaining that other software may be preventing discovery of devices.

If you have ever used the VPN from school or corporation (i.e. aTrust from SangFor), you may suffer from the error code OS Error: Can't assign requested address, errno = 49 for debugging on the physical device. The following steps can be used to solve that:

Disable the startup services

Go to System Preference - General - Login Items
Disable the SANGFOR Technologies Company Limited, one launchctl and two more  sh(You could access and check them by click the i button. You can further check the contents of other scripts with i button to avoid missing any scripts from SangFor.)

Disable the KeepAlive and RunAtLoad aTrust services

Go to /Library/LaunchDaemons/com.sangfor.aTrustTunnel.plist, /Library/LaunchAgents/com.sangfor.aTrustCore.plist and /Library/LaunchAgents/com.sangfor.aTrustDaemon.plist, change the value of KeepAlive and RunAtLoad from true to false

Stop the running services and all daemon processes
sudo launchctl stop /Library/LaunchDaemons/com.sangfor.aTrustTunnel.plist;
sudo launchctl stop /Library/LaunchDaemons/com.sangfor.aTrustUninstallMonitor.plist;
sudo launchctl stop /Library/LaunchAgents/com.sangfor.aTrustCore.plist;
sudo launchctl stop /Library/LaunchAgents/com.sangfor.aTrustDaemon.plist;
sudo killall -9 aTrustAgent;

Now it should work, try flutter run or flutter attach.

我也遇到了同样的问题，求助

我已经解决了这个问题，我安装了一些软件，它使用socket端口，我卸载它后，附加工作
你卸载了什么软件？请指教

公司VPN软件

我也是这个原因，完美解决
Translation below

Wǒ yě yù dàole tóngyàng de wèntí, qiúzhù > > > > > > > > > wǒ yǐjīng jiějuéle zhège wèntí, wǒ ānzhuāngle yīxiē ruǎnjiàn, tā shǐyòng socket duānkǒu, wǒ xièzài tā hòu, fùjiā gōngzuò > > > nǐ xièzàile shénme ruǎnjiàn? Qǐng zhǐjiào > > gōngsī VPN ruǎnjiàn wǒ yěshì zhège yuányīn, wánměi jiějué
Show more
130 / 5,000
Translation results
I have the same problem, please help

I have solved the problem, I installed some software and it uses the socket port, after I uninstalled it, the attach works
What software did you uninstall? Please advise

Corporate VPN software

I have the same reason, perfect solution

我也是这个原因，卸载aTrustAgent之后完美解决。


[D3D12] Add support for building with MinGW.

Some godot-nir-static changes required, see https://github.com/godotengine/godot-nir-static/pull/2 (for MinGW only, MSVC build should work without it).
Tested building and running on:

x86_64 with MinGW/GCC (cross build from macOS and native MSYS2 build).
x86_64 with MinGW/LLVM (cross build from macOS).

Compiling docs update (https://github.com/godotengine/godot-docs/pull/8624)
Note: PIX do not have MinGW import libs, but it's possible to generate it using following commands (from PIX runtime folder):
gendef ./bin/x64/WinPixEventRuntime.dll
dlltool --machine i386:x86-64 --no-leading-underscore -d WinPixEventRuntime.def -D WinPixEventRuntime.dll -l ./bin/x64/libWinPixEventRuntime.a

Superseded by https://github.com/godotengine/godot/pull/83452