cmd/go: go list -m -u -json all does not produce valid JSON

When go list -m -u -json all is issued it produces invalid JSON.
What version of Go are you using (go version)?
go1.11
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
linux/amd64
What did you do?
Created the following two files in a directory.
foo.go:
package testpackage

import (
	"fmt"
	humanize "github.com/dustin/go-humanize"
)

func TestFun() {
  fmt.Printf("%s\n", humanize.Bytes(1234567))
}

go.mod:
module testmodule

require github.com/dustin/go-humanize v0.0.0-20180713052910-9f541cc9db5d // indirect

Issued this from within the directory: go list -m -u -json all
What did you expect to see?
Anything that could be parsed using the encoding/json package. A JSON array would be nice:
[{
	"Path": "testmodule",
	"Main": true,
	"Dir": "[some path]",
	"GoMod": "[some path]"
},
{
	"Path": "github.com/dustin/go-humanize",
	"Version": "v0.0.0-20180713052910-9f541cc9db5d",
	"Time": "2018-07-13T05:29:10Z",
	"Indirect": true,
	"Dir": "[some path]",
	"GoMod": "[some path]"
}]

What did you see instead?
{
	"Path": "testmodule",
	"Main": true,
	"Dir": "[some path]",
	"GoMod": "[some path]"
}
{
	"Path": "github.com/dustin/go-humanize",
	"Version": "v0.0.0-20180713052910-9f541cc9db5d",
	"Time": "2018-07-13T05:29:10Z",
	"Indirect": true,
	"Dir": "[some path]",
	"GoMod": "[some path]"
}

which is a concatenation of JSONs and cannot be easily parsed using encoding/json.

@przglo go list has always behaved in this way to my knowledge (arguably because it allows, if required, results to be consumed as they become available, instead of needing to wait for the end of the input)
You can easily use the following approach to parse the output (which does wait for all of the output; the alternative would be to connect the stdout of the command to the decoder):
type Module struct {
	// ...
}

// ...

out, err := exec.Command("go", "list", "-m", "all").Output()

// ...

dec := json.NewDecoder(bytes.NewReader(out))
for {
	var m Module
	if err := dec.Decode(&m); err != nil {
		if err == io.EOF {
			break
		}
		log.Fatalf("reading go list output: %v", err)
	}

	// do something with m
}

This is indeed working as intended. It's a stream of JSON objects, which is easy to parse with encoding/json (as @myitcv demonstrates).
Besides, this isn't going to be changed now, tools are depending on the existing format.


fix implicit link on xl

Fixes #616
Running it through the tpl builds locally to make sure it doesn't blow up

passes blueos tpl builds merging.


Changes based on usability analysis

-Added a reset button for the Base URL in settings menu
-Login screen now suggests using admin on username and password fields for a first time user.
-When adding a new TV Show, "Add Via API" is renamed to "Add automatically" and "Search for TV Show..." is renamed to "Search from TheMovieDb..." for both TV Shows and Movies.
-API ID, rating, rating count and genre are hidden when adding a TV Show or a Movie manually.
-File upload popup title renamed to "Video and subtitles for" to make it more obvious that both video and subtitle files can be uploaded there.
-Added a hovertext for the trashcan icon.
-Fixed Dashboard element alignment for different screen sizes.
-Renamed "Edit video/movie/show" to "Edit info".
-Rating, Rating count and Rating scale are hidden when there's no rating.
-"No video file yet!"- button renamed to mention drag&drop.
-"Search Show..." renamed to "Search Show from collection or TheMovieDB..." to make it more obvious that it searches from both
-Release Date and IMDB Link show a dash when they are not available.
-TV Show and Movie pages show "No overview added yet" and "No genre added yet" when their respective fields are empty, similar to how it was for the generic videos.
-Added a label for the required field icon.
-Added a descriptive text for the Notifications page.
-Dragging a file over a movie page opens up the file upload popup.
-Added a trailer to the movie page.
-Added a slightly more helpful message to the upload error message.
-Added a more descriptive error message for failing to load the file list in file browser.
-Added customization for OK/Cancel buttons before every confirmation message, because otherwise it only remembers the most recent change for all future confirmation messages in the session.
-Added "Movie/TV Show saved." notifications after adding a Movie or TV Show or editing the information.
-Added a possibility to send the notification queue immediately after adding a notification.

Thank you for your contribution!


Mark JAX IDAKLU solver as experimental on Windows

@martinjrobins @kratman can I leave you to fill in details, please?

Yep, I will fill it in and update it this week

I will include this in #4487 since it blocks that PR

I think the TODOs on this one are:

[ ] skip JAX IDAKLU tests on windows (or run them but ignore the result)
[ ] put some more details in the docs here: https://docs.pybamm.org/en/stable/source/user_guide/installation/gnu-linux-mac.html#optional-jaxsolver. This should probably list the different jax solvers (IDAKLU JAX and pure JAX), and state that IDAKLU JAX is experimental on windows
[ ] add a note to the API docs here: https://docs.pybamm.org/en/stable/source/api/solvers/idaklu_jax.html, stating that this solver is experimental on windows

@kratman let me know if you want me to take on this one

@martinjrobins Sorry for the delay on this one. I got a bit busy and was not able to complete it on time. The changes are fairly simple so I just need to sit down to do it
I am going to finish this over Christmas break so we can work on getting the IDAKLU separation into v25.1.0


Remove the check for "inside a frame"

This pull request removed the check for an existing parent or containing frame before doing the postMessage call in the checksession frame.
The check for if this is running inside a container does not provide any value in my opinion other than to make it more difficult to get it right in all kinds of browser implementations.
This change will fix the original issue with cypress with same origin iframes and with cross origin iframes as mentioned in this comment: https://github.com/IdentityModel/oidc-client-js/pull/676#issuecomment-522446218

I did a preview for this feature, please test: https://www.npmjs.com/package/oidc-client/v/1.11.0-beta.1


Updated installation for linux

The installation guide for linux is half-way. It doesnot give the main thing that python3 version should be 3.7 for the manim software to work . It took almost aday for me figureout that. So,I added some commands to complete the installation guide .

I put together a ubuntu 1604 container.
the python3 inside this container is of version 3.5
f-string is only available from 3.6 onward.
There are three places that uses f string, changing them to .format is very doable.
manimlib/config.py:174:    print(f"Failed to render scene: {str(e)}")
manimlib/constants.py:36:            f"Media will be written to {MEDIA_DIR + os.sep}. You can change "
manimlib/constants.py:246:STREAMING_URL = f"{STREAMING_PROTOCOL}://{STREAMING_IP}:{STREAMING_PORT}?listen"

for compiling pycairo two packages are required pkg-config and libcairo2-dev
Other usual dependencies applies.
Further down I encountered this error
root@test:~/manim# python3 -m manim SquareToCircle
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/root/manim/manim.py", line 5, in <module>
    manimlib.main()
  File "/root/manim/manimlib/__init__.py", line 11, in main
    config = manimlib.config.get_configuration(args)
  File "/root/manim/manimlib/config.py", line 185, in get_configuration
    module = get_module(args.file)
  File "/root/manim/manimlib/config.py", line 179, in get_module
    module = importlib.util.module_from_spec(spec)
  File "<frozen importlib._bootstrap>", line 574, in module_from_spec
AttributeError: 'NoneType' object has no attribute 'loader'

If this is solvable in python 3.5 that would be great. I would recommend against ppa python unless absolutely necessary.

The docs in master branch has been updated to a renew one, so this is outdated, I'm closing this.


Wrong function signature for update()

https://github.com/docusign/docusign-node-client/blob/master/src/api/EnvelopesApi.js#L643
This is completely misleading. According to API definition, envelope should be the options where I can set the status to 'sent', and options is completely irrelevant, making it difficult to know which one the callback parameter is.
envelopesApi.update(accountId, envelope.id, {
        status: 'sent'
      }, {}, (error, data) => {
      });

Patrick, Sorry for late response. I don't see why it's irrelevant. Can you be more specific? The docs looks clear to me about what option is for: https://docs.docusign.com/esign/restapi/Envelopes/Envelopes/update/
You might also be interested to try this call, use the new API explorer (beta): https://apiexplorer.docusign.com/#/?categories=Envelopes&tags=Envelopes&operations=update

No news from the reporter. Closing the issue.


IllegalAccessException when auto-mapping Records (JEP-359)

I want MyBatis to  Support for JDK 16 record types

This actually does work if you follow the directions for dealing with immutable objects and supply a constructor binding. Unfortunately, it is a lot more verbose than would be preferred.  Maybe the code could check if the result type is a record and because result objects are always consistent in constructors it could automatically bind it together properly. Unfortunately, this probably relies on the isRecord method that does not exist before JDK 16.  If the code allows for it maybe an optional adapter could be written that would allow for this support to be added for those of us on newer JDKs. If it does not allow for it currently maybe a new feature request could be submitted to allow for the code to allow something to hook in at the relevant location to supply this functionality?

@harawata
I will try to support the Record type following commit(not includes test).
The Record type cannot access the final field, then I changed to skip property mapping for prevent mapping error.
https://github.com/kazuki43zoo/mybatis-3/commit/f8a5eda58f97524be74ac8371a213c0079c4f0d2
WDYT?

@kazuki43zoo ,
Is that a workaround for the behavior I mentioned in the p.s. of this comment?
If so, I would like to consider correcting that behavior (#2207 is the same issue if I understand correctly).
If it's not related, please let me know and I'll take another look.
Thanks!

@harawata Thanks for your reaction!!
I think that the root cause is the same with #2207 (= MyBatis try to write value to final field). But It is different behavior with standard type and  record type on JDK 16.
standard type:
public class MyEntity {
   private final Integer id;
   private final String name;
   public MyEntity(Integer id, String name) {
     this.id = id;
     this.name = name;
   }
   // ...
}

recored type:
public recored MyEntity(String id, String name) {
}

The standard type work but it is write value to final field(Field#trustedFinal=false) at twice by constructor auto mapping and property auto mapping. The recored type occurred an Exception because can't write a final field(Field#trustedFinal=true) on recored type.

I would like to consider correcting that behavior (#2207 is the same issue if I understand correctly).

I agree with this!!

@harawata Thanks for your reaction!!
I think that the root cause is the same with #2207 (= MyBatis try to write value to final field). But It is different behavior with standard type and record type on JDK 16.
standard type:
public class MyEntity {
   private final Integer id;
   private final String name;
   public MyEntity(Integer id, String name) {
     this.id = id;
     this.name = name;
   }
   // ...
}

recored type:
public recored MyEntity(Integer id, String name) {
}

The standard type work but it write value to final field(Field#trustedFinal=false) at twice by constructor mapping and property(field) auto mapping. The recored type occurred an Exception because can't write a final field(Field#trustedFinal=true) on recored type.

I would like to consider correcting that behavior (#2207 is the same issue if I understand correctly).

I agree with this!!

Thank you, @kazuki43zoo for the information!
I didn't know about the trustedFinal. There is no public method to check if a Field is 'trusted' or not, it seems. 😕
Anyway, my first impression is that this is an issue that should be addressed in org.apache.ibatis.reflection.Reflector (e.g. skip setter detection if it's a Record) [1].
Skipping particular processes may look simpler, but it gets harder to maintain in the long run.
Will there be any difficulty with this approach?
[1] There is another outstanding feature request slightly related to this topic. It might be a good time to add support for the prefix-less getter/setter methods to Reflector. This can be a separate discussion, though.

FYI, I had record types working fine with JDK 14 in preview mode. But when I switched to JDK 16 (non-preview), I started running into the final field update error: java.lang.IllegalAccessException: Can not set final int field.....

Send pull request #2477

Anyway, my first impression is that this is an issue that should be addressed in org.apache.ibatis.reflection.Reflector (e.g. skip setter detection if it's a Record) [1]. Skipping particular processes may look simpler, but it gets harder to maintain in the long run. Will there be any difficulty with this approach?

Agreed about the approach should be addressing Reflector.
The reason it is trying to write to final field, is that it treat java record like any class, so it tries to

find all getters, there won't be any normally;
find all setters, of course there won't be any because records are immutable;
find all "fields", it finds all record components, but does not understand they are read-only.
Dealing with java record like this actually is a problematic bug.

My patch

detects a class is a record by checking the name of its super class (so does not require java 16 and backward compatible)
in that case simply finds all accessors (methods with no parameter) and add them as getters

That's it. You can see easily that in the case of java record, it might even be slightly faster :-)

Thanks to @bzhou 's contribution, the problem with auto-mapping is fixed in the latest 3.5.10-SNAPSHOT.
Please test it with your solutions and give us feedback if you experience any issue.
Thank you all for comments and upvote reactions!

@GeorgeSalu ,
I'm not sure if I understand correctly, but the reported error occurs when you rely on auto-mapping.
As mentioned earlier, if you use properly configured <resultMap />, there should be no problem with mapping JDK 16 record or traditional immutable objects even with version ≤ 3.5.9.
Please see the "constructor" section in the doc for the details.

Any release date forecast?


Terminal displays UTF graphemes 👩🚒 as 👩<200d>🚒

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Version: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:07:54.982Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0

OS Version: OS: Darwin x64 21.6.0

Steps to Reproduce:

Open terminal, copy and paste 👩🚒
terminal cannot display it, instead, it displays 👩<200d>🚒

https://github.com/xtermjs/xterm.js/issues/2668

Let's track upstream


Multiassignment pattern is parsed wrong

When the following file is parsed by Surelog:
module top;
   int n [1:6] = '{3{4, 5}};
endmodule

The '{3{4, 5}} statement is parsed wrong. There is no value 5 in uhdm.
Here is uhdm:
slpp_all/surelog.uhdm: Restored design Pre-Elab:
design: (work@top)
|vpiName:work@top
|uhdmallModules:
\_module: work@top (work@top) replication.sv:1:1: , endln:3:10, parent:work@top
  |vpiDefName:work@top
  |vpiFullName:work@top
  |vpiNet:
  \_logic_net: (work@top.n), line:2:8, parent:work@top
    |vpiName:n
<EMAIL_ADDRESS>|uhdmtopModules:
\_module: work@top (work@top) replication.sv:1:1: , endln:3:10
  |vpiDefName:work@top
  |vpiName:work@top
  |vpiVariables:
  \_array_var: (work@top.n), line:2:8, endln:2:9, parent:work@top
    |vpiArrayType:1
    |vpiName:n
<EMAIL_ADDRESS>    |vpiAutomatic:1
    |vpiRandType:1
    |vpiVisibility:1
    |vpiSize:6
    |vpiReg:
    \_int_var: (work@top.n<EMAIL_ADDRESS><EMAIL_ADDRESS>      |vpiExpr:
      \_operation: , line:2:18, endln:2:28
        |vpiOpType:76
        |vpiOperand:
        \_constant: , line:2:20, endln:2:21
          |vpiConstType:9
          |vpiDecompile:3
          |vpiSize:64
          |UINT:3
        |vpiOperand:
        \_constant: , line:2:22, endln:2:23
          |vpiConstType:9
          |vpiDecompile:4
          |vpiSize:64
          |UINT:4
    |vpiRange:
    \_range: , line:2:11, endln:2:14
      |vpiLeftRange:
      \_constant: , line:2:11, endln:2:12
        |vpiConstType:9
        |vpiDecompile:1
        |vpiSize:64
        |UINT:1
      |vpiRightRange:
      \_constant: , line:2:13, endln:2:14
        |vpiConstType:9
        |vpiDecompile:6
        |vpiSize:64
        |UINT:6
    |vpiExpr:
    \_operation: , line:2:18, endln:2:28

Fixed by #2190


Circle test

Hey @OfficialLucky! You found the secret branch I was holding to! 😅 This one was to test circle 2.0 implementation that Mark from CircleCI was running. I'm gonna need to close this PR and remove the branch as it is not needed anymore, but thanks for a reminder! :)


Would you please release Windows 3.* source code?

I read the msdos source code. it's awesome,
would you please release windows 3.* source code?
It does not sale in today.

Windows 9x may be a bit hard to opensource, but windows 3.* seems will not harmful

32-bit versions of Windows still ship with the "Windows on Windows" subsystem (although disabled by default nowadays), which is based on Windows 3.1. I can see that being an obstacle in releasing its source code.

inb4 "sorry, no plans"
Seriously Microsoft, make this happen.

Sorry, no plans ;)

dammit

Do it bi! I throw in a half a deck of smokes.  Tailor mades!


Revision 2023 michiel

updates of all exercices, except large exercise day1&2 and metaprogramming

Maybe make a folder extra in the notebooks folder and move it there or
delete.
On Wed, 18 Jan 2023, 23:27 Daan, @.***> wrote:

@.**** commented on this pull request.
What do we want to do with flatland.jl?
Do we want to keep the exercise?
—
Reply to this email directly, view it on GitHub
https://github.com/Beramos/DS-Julia2925/pull/128#pullrequestreview-1260876918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYUUXDLKSPDLN4VVIDHTETWTBU63ANCNFSM6AAAAAATLKTMDY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I will check once again, and merge later this evening


Markdown displayed in a way that cant be copied.

Type: Bug
I asked copilot to create a readme file.
It created a markdown of the file, however i cant copy or apply all of the info, since some of it seems to be stying the copilot window (breaking the resonse into several separte windows that cant be copy pasted.
Extension version: 0.22.1
VS Code version: Code 1.95.1 (Universal) (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin x64 21.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz (4 x 2900)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
6, 6, 6

Memory (System)
8.00GB (0.01GB free)

Process Argv
--crash-reporter-id cf7ca913-68a3-4e9c-949b-5be945263213

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl2:31139839
refactort:31108082
pythonrstrctxt:31112756
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013

(breaking the resonse into several separte windows that cant be copy pasted.

Can't you copy-paste each response part separately? Can you ask the AI to reply with a single code chunk? You can use the github.copilot.chat.codeGeneration.instructions setting for this

Ive tried asking for a single code chunk, to display as unformatted text etc but it doesn't really work.
I could paste arrount 70% of the answer, but other parts simply don't copy paste  correctly.
I wouldn't flag this as an urgent or very important feature, but ideally it shouldn't happen.

for me it frequently missed the closing  ``` on code blocks, which leads to the nested code block ending at the generated content end, and breaking the formatting of the chat as generated content, and chat content are no longer appropriately separated

Sounds like you're hitting https://github.com/microsoft/vscode-copilot-release/issues/793
You could right click > copy the response


Command to generate a link to add a Discord bot to guild

matrix-appservice-discord used to implement a command to easily generate a link so we can add a bot to a Discord guild with the relevant rights:
https://github.com/Half-Shot/matrix-appservice-discord/blob/316cd58066fc272cea6abe596d8955fd1d940f56/src/util.ts#L109-L125
I think that's convenient and would be a good fit in the README steps right after the application creation (especially for those who are not used to Discord).
The clientId seem to be available through the expression client.user.id (where client is a Discord.Client).
If the feature request seems to you valid, I would be glad to work on it.

I was also wondering how I could get such a link with mx-puppet-discord.
Seems like the README only describes how to use the bridge in a way that violates Discord's ToS and gets your account disabled (see #171).

The invitation link is of this form:
https://discord.com/api/oauth2/authorize?client_id=${clientId}&scope=bot&permissions=${perms}
You can value permission to<PHONE_NUMBER>56 which corresponds to these permissions:

However, I wonder if all these rights are relevant.

NB: Send TTS messages should rather be disabled.

If the feature request seems to you valid, I would be glad to work on it.

I would like to see this feature, and I'd be willing to bet a PR would be welcome (but not my call).

Tracked by https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/issues/176


Failed to load gRPC lib in Docker

I'm running my app in Docker (linux x64 environment).
And the service fails to start because of the error:
System.IO.IOException: Error loading native library \"/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so\". Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /app/runtimes/linux/native/libgrpc_csharp_ext.x64.so)

So it is trying to load gRPC library from runtimes/.... folder. But whenever I publish the project locally (with Linux target) I see this library in the project output root. So it looks like it is trying to load the library from the wrong location.
Does anyone have the same issue?
The build command is nothing specific (tried with and without -r flag.):
RUN dotnet publish -c Release [-r linux-x64]...

Transferred to google-cloud-dotnet as that's rather likely to be more appropriate (google-api-dotnet-client doesn't use gRPC) but we still really need more information. At the moment we don't have any idea what your library or the rest of your Dockerfile looks like. Please could you provide more information, ideally a complete example we can test with?

This is a custom base image based on Alpine 3.10
I'm using --copy-from to get binaries to the destination image
Build image:
RUN apk update && apk upgrade && apk --no-cache add && apk add libc6-compat // -> tried with and without this lib

RUN dotnet restore ${projectFilter} -r linux-musl-x64 --configfile nuget.config
RUN dotnet publish -c Release -o ${buildDir} --self-contained=false -r linux-musl-x64 --no-restore ${projectDirectory}

tried with/without -r (both linux and musl)

Alpine certainly has caused problems before - but we're really going to need a way of reproducing the problem if we're going to help you. That means having a complete Dockerfile and a complete project. (The source code doesn't need to do much - just a Main method that tries to create a channel would almost certainly be enough.)

Any more information? I'll close this issue at the end of the week unless I hear anything more. (If you have information after I've closed it, please just add it in a comment and I'll reopen - it's not like closure is permanent.)

@jskeet : I'm facing the same issue here.
When running in GKE i get the following exception :
System.IO.IOException: Error loading native library "/app/runtimes/linux/native/libgrpc_csharp_ext.x64.so". Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /app/runtimes/linux/native/libgrpc_csharp_ext.x64.so)

Checking dotnet publish output
When running the "dotnet publish" command locally that i'm using in my dockerfile, I find the required files in the output "\out" directory. (details below)

In this output directory i can find the files that seem to be causing the issues :

\out\runtimes\linux\native\libgrpc_csharp_ext.x64.so
\out\runtimes\linux\nativelibgrpc_csharp_ext.x86.so

Checking local docker build:
Everything from "\out" gets copied to the "/app" directory shown in the path from exception above.
To verify that, i added following line in my dockerfile : "RUN ls -R" and both files appear to be there when running docker build locally.

Checking ci/cd docker build:
I also verified that in my azure devops pipeline those files get copied over when running docker build. (with RUN ls -R)
These files are also present on docker build step of the project.

I'm quiet new to this, maybe i'm doing something wrong.
Any suggestions?

@LStuyck: Again, what we really need is a complete example so we can reproduce the problem, although it seems very likely that the issue would be better in the gRPC repo than this one.

I'll provide a sample project beginning of next week.

@jskeet: I made an example project available here : repo

@LStuyck: Thanks, I'll have a look tomorrow.  (It's a public holiday today.)
I'm expecting my first step after reproducing the problem to be removing all trace of PubSub, and just changing Main to "create new Channel" as that's been enough to reproduce similar problems.

Okay, some progress:

I've reproduced the issue
I've removed everything that's really PubSub related, including the PubSub library (so when we've got to the end of what I can do, the issue should definitely be raised somewhere else - it's not caused by anything directly in google-cloud-dotnet)
I've removed the MS-specific bits of the project file

So I've ended up with a project file like this:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Grpc.Core" Version="2.31.0" />
  </ItemGroup>
</Project>

and C# code of:
using Grpc.Core;
using System;

namespace PubSubExceptionRepro
{
    class Program
    {
        static void Main()
        {
            try
            {
                Console.WriteLine("Main entry");

                var channel = new Channel("pubsub.googleapis.com", ChannelCredentials.Insecure);

                Console.WriteLine("Reached end");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                throw;
            }
        }
    }
}

This still gives the same error. Looking into why now...

Okay, it looks like this is basically a dupe of #4780.
You just need to add this into Dockerfile (in the image that you'll be running, not build-env):
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.8/main' >> /etc/apk/repositories && \
    apk update --no-cache && \
    apk add --no-cache bash libc6-compat=1.1.19-r11

With that in place, the repro runs correctly.
See also: https://github.com/grpc/grpc/issues/21446

@jskeet: giving that a try immediately
Thank you so much for having a look at this.

There is a little issue with the fix, it makes the container exposed to CVE-2019-14697 with 7.5 score.

@StasPerekrestov: There may be a newer version of libc6-compat which avoids this - it's far from my area of expertise.
I'd recommend commenting on https://github.com/grpc/grpc/issues/21446 - there really isn't anything that the API libraries can do about this; it's in the gRPC library's court.

@jskeet thank you for the update. I'll leave a comment under that thread.


feat: Accept jsnext:main and browser fields in package.json

Coverage increased (+0.2%) to 60.648% when pulling 636b058e701dd3ce2a2e3b4783183964b377f869 on jsnext-and-browser-fields into<PHONE_NUMBER>b769b5a15d6cce2e6611ee09581e01 on master.

Coverage increased (+0.2%) to 60.648% when pulling 3308ef8563a5baaebb373da4243decdfacf24621 on jsnext-and-browser-fields into a2694261eed0e4f3c53fe081fd49c3db22064bc6 on master.


Proposal: between or inRange

Hello everyone.
I propose to add function:
R.between = R.curry((from, to, value) => from < value && value < to)

It's very convenient when you don't need to store value, e.g. evaluate on fly:
inLastHour = R.between(new Date() - 60 * 1000, new Date())
inLastHour(myVeryComplicatedSQLQuery())

Currently this can be done with allPass, but reads harder:
inLastHour = allPass(lt(new Date() - 60 * 1000), gt(new Date()))

I can do PR

Hi, see https://github.com/ramda/ramda/pull/2497


highlight co2e values in the report

Did a bit more work on the raw HTML, sorry @mirpedrol 😬
co2footprint-report-20231006-43303165.html.zip

It looks nice! But there is a line break when the text becomes longer, and the value for the plane (0.0?) is missing for the test run

It looks good for me with these last changes, could you try again @skrakau to make sure it does work for your test too?


Replacing Android Camera Output with OBS Input

Hello,
I am interested in using your library for a specific use case. I want to replace the output of my Android camera application with the input from OBS. For instance, if I play a video in OBS, I want the same video to be streamed in my Android camera application.
Is it possible to achieve this functionality using your library?
If yes, could you tell me the steps!?

Hello,
If you mean stream to an Android device using OBS, get that stream and re stream it using this library. No, it is not possible.
To do this you need to implement a media server in the device, get video/audio frames from that media server and stream it again but I have no plan to develop a media server in this library because this library is only oriented to be a encoder (basically only send video/audio)

Using rtmp protocol, is it not possible to do that? I think your library does that right? Like through RTMP , pushing obs stream output to android camera input

My library send Video/Audio using rtmp but no receive video/audio
I assume that you want stream using OBS with rtmp to your device but if you want receive rtmp from OBS you need to implement how to receive it. Basically it is a media server.

If you can implement the way to receive video/audio from OBS you can use rtmp module to send it using my library but the way to implement how to receive video/audio should be developed by yourself

Oh i see, Alright. I can pay you to do that part. Are you on telegram? We can talk about it.

It doesn't have to be OBS to android camera.
But It can be my device gallery video files stream in android camera.

If you want stream a video/audio file you can use FromFileRtmp. You can test it in the app example using From file RTMP activity

Yeah but it still sends the stream output from android device to other apps. But im expecting to receive video and audio input from obs.
I can pay you to implement this. Can we talk in telegram?


Screenshots are crashing testcafe

What is your Test Scenario?

When using the screenshot option running on a jenkins pipeline with saucelabs provider the following occurs.
When a test fails the following message is displayed multiple times and the test finally crashes. Testcafe exits with an error.
Error: [saveScreenshot("/OURJENKINSDOCKERDIR/screenshots/2019-10-22_17-03-12/test-1/Chrome_75.0.3770_Windows_10.0.0/errors/1.png")] ENOENT: no such file or directory, open '/OURJENKINSDOCKERDIR/screenshots/2019-10-22_17-03-12/test-1/Chrome_75.0.3770_Windows_10.0.0/errors/1.png'
This started happening without any change to our running instance and everything worked fine before. It even included the screenshot it took on our allure report.
Your Environment details:

testcafe version: 1.6.0
node.js version: v10.16.3
command-line arguments:
browser name and version: Chrome 76 @ Saucelabs
platform and version: Win 7
other: We are using the saucelabs browser provider

Hi @franciscolosardo
As I see, your environment is very complex: Jenkins, docker, SauceLabs, a custom Allure report.
It's difficult to set up the same environment on my side.
Try to debug the TestCafe yourself. You can use this as a starting point: https://github.com/DevExpress/testcafe/blob/b9c73f0823b0b15d35fc21b5796c8ac4c2ce55bd/src/browser/provider/built-in/dedicated/chrome/cdp.ts#L88.

I can confirm this issue when I run a test via testcafe-browser-provider-saucelabs locally or on CI I following error

When I run the same test locally against chrome I don't see this error.
testcafe: 1.6.0
testcafe-browser-provider-browserstack: 1.9.0
node: v10.16.3


Invalid Yaml

I just used http://www.yamllint.com/ to double check this file here and it says that's it's not valid. I'm getting this error with multiple yaml files from this repository. Any ideas?

Just tried another YAML validator and got the same result. See here.


an error happened when import dlib and MxNet

When I run the ./example/get_face_align.py, an error happened. The error meassage is:
Segmentation fault: 11
Stack trace returned 10 entries:
[bt] (0) /root/anaconda3/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x40123a) [0x7f8a3cba723a]
[bt] (1) /root/anaconda3/lib/python3.6/site-packages/mxnet/libmxnet.so(+0x3413b76) [0x7f8a3fbb9b76]
[bt] (2) /lib64/libc.so.6(+0x36280) [0x7f8b08f7b280]
[bt] (3) /root/anaconda3/lib/python3.6/site-packages/onnx/onnx_cpp2py_export.cpython-36m-x86_64-linux-gnu.so(+0x2e69e) [0x7f8a1d80669e]
[bt] (4) /root/anaconda3/lib/python3.6/site-packages/onnx/onnx_cpp2py_export.cpython-36m-x86_64-linux-gnu.so(+0x38739) [0x7f8a1d810739]
[bt] (5) /root/anaconda3/lib/python3.6/site-packages/onnx/onnx_cpp2py_export.cpython-36m-x86_64-linux-gnu.so(+0x1ce83) [0x7f8a1d7f4e83]
[bt] (6) /root/anaconda3/lib/python3.6/site-packages/onnx/onnx_cpp2py_export.cpython-36m-x86_64-linux-gnu.so(PyInit_onnx_cpp2py_export+0xd6) [0x7f8a1d7f8946]
[bt] (7) python(_PyImport_LoadDynamicModuleWithSpec+0x185) [0x55583797ba45]
[bt] (8) python(+0x215c45) [0x55583797bc45]
[bt] (9) python(PyCFunction_Call+0x131) [0x555837878051]
It happened when importing mxnet and dlib, and I found that mxnet and dlib cannot be imported correctly in one python file. But it succeeded when importing mxnet or dlib alone. Could you tell me the version of mxnet and dlib installed in your environment ?
Thank you!

Can you check the problem to import mxnet and dlib through python command line firstly?

Can you check the problem to import mxnet and dlib through python command line firstly?

Yes, I tried to import dlib and mxnet through python command line but failed. If i import mxnet  successfully at first, then dlib cannot be imported correctly, and vice versa. As the screenshot shows below:

Strangely!
If you haven't fixed it yet, I think the easiest way is to reinstall Anaconda3, MXNet and Dlib in an official manner. You can reference my README to install MXNet and Dlib after you have installed Anaconda3.


graph-edit example from README: TypeError: 'method' object is not iterable

Hi there. Already running into the next problem:
$ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import networkx as nx
>>> import gmatch4py as gm
/usr/lib/python3.7/importlib/_bootstrap.py:219: UserWarning: To obtain optimal results install the Cython 'munkres' module at  https://github.com/jfrelinger/cython-munkres-wrapper
  return f(*args, **kwds)
>>> g1=nx.complete_bipartite_graph(5,4)
>>> g2=nx.complete_bipartite_graph(6,4)
>>> ged=gm.GraphEditDistance(1,1,1,1) # all edit costs are equal to 1
>>> result=ged.compare([g1,g2],None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "gmatch4py/ged/abstract_graph_edit_dist.pyx", line 179, in gmatch4py.ged.abstract_graph_edit_dist.AbstractGraphEditDistance.compare
  File "gmatch4py/ged/abstract_graph_edit_dist.pyx", line 182, in gmatch4py.ged.abstract_graph_edit_dist.AbstractGraphEditDistance.compare
  File "gmatch4py/helpers/general.pyx", line 21, in gmatch4py.helpers.general.parsenx2graph
TypeError: 'method' object is not iterable

I have no idea why this error occurs.

Same problem.

Hi @philipiv  and @Sciss,
Sorry for the delay ! I have no idea too... I just reinstall the library and it still works...
Python 3.8.5 (default, Jul 21 2020, 10:48:26)
[Clang 11.0.3 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> # Gmatch4py use networkx graph
>>> import networkx as nx
>>> # import the GED using the munkres algorithm
>>> import gmatch4py as gm
<frozen importlib._bootstrap>:219: UserWarning: To obtain optimal results install the Cython 'munkres' module at  https://github.com/jfrelinger/cython-munkres-wrapper
g1=nx.complete_bipartite_graph(5,4)
g2=nx.complete_bipartite_graph(6,4)
ged=gm.GraphEditDistance(1,1,1,1) # all edit costs are equal to 1
result=ged.compare([g1,g2],None)
print(result)
>>> g1=nx.complete_bipartite_graph(5,4)
>>> g2=nx.complete_bipartite_graph(6,4)
>>> ged=gm.GraphEditDistance(1,1,1,1) # all edit costs are equal to 1
>>> result=ged.compare([g1,g2],None)
>>> print(result)
[[ 0. 14.]
 [10.  0.]]
>>>

On which OS did you install the library ? and which python version ?
Bests,
@Jacobe2169


OmniSharp is not able to resolve correctly Uri class from System in Csharp script file  csx.

Issue Description
OmniSharp is not able to resolve correctly Uri class from System in Csharp script file  csx.
This happens in WSL: Ubuntu. The script is running correctly when triggered by dotnet-script
When under Windows VS Code, everything including OmniSharp works just fine. No issue encountered.

Steps to Reproduce
Expected Behavior
Actual Behavior
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.50.1
C# Extension: 1.23.4
Mono Information
        OmniSharp using built-in mono
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.1.403
 Commit:    9e895200cd
Runtime Environment:
OS Name:     ubuntu
OS Version:  20.04
OS Platform: Linux
RID:         ubuntu.20.04-x64
Base Path:   /usr/share/dotnet/sdk/3.1.403/
Host (useful for support):
Version: 3.1.9
Commit:  774fc3d6a9
.NET Core SDKs installed:
3.1.403 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.4

gitlens
eamodio
10.2.2

LiveServer
ritwickdey
5.6.1

ng-template
Angular
0.1001.0

python
ms-python
2020.9.114305

restructuredtext
lextudio
129.0.0

vscode-conventional-commits
vivaxy
1.12.1

Yes, it is working now.


Library to Ingest: weekly OpenData templates

Closes #1247. Reports for specific datasets can be found there.

I'm actually very curious with dpr_parksproperties that we're still getting a timestamp for that field but losing timezone. Can you look at the raw geojson if you have it and see the format of the timestamps? Wondering if library is assuming a time zone or if ingest is missing it

Looks largely good though, both code changes and reports. I'd like someone other than me to approve if that's alright, just think it would be good for others to see and think about the decisions/thoughts around the reports since these same types of issues will definitely keep coming up

@damonmcc @alexrichey

@fvankrieken the weekly OpenData job ran successfully 🎉 And now I have my very own bucket


Update DL

Resolves - add more detail & contexts to dl

What kind of change does this PR introduce?

DL credential update.

What is the current behavior?

More information needed for DL example.

What is the new behavior?

More credential subject values, types, and context are added from the W3C verifiable DL vocabulary example

Does this PR introduce a breaking change?

[ ] Yes
[X] No

How has this been tested?

Credential has been issued and viewed locally.

Screenshots: n/a

@BigBlueHat
Overall, huge improvement on load time! Looks like a few text issues with the dates,  looking killer as always though!
For reference:

SVG with values

@jameseaster give this another test if you would. I've inlined the https://fonts.google.com/specimen/Manrope font into the SVG (via CSS).

Here's what things should look like when rendered:

Remaining issues include:
[ ] date formatting (see exp)
[ ] missing values (notably hgt will need additional parsing/formatting/conversion)
[ ] mapping the sex integer from the upstream spec to a meaningful value

Latest and geatest.

Font issues all fixed. Date format "cheated" (for now) by only storying the date (sans time) in the credential info. Other missing data was added. The sex value is still not mapped to anything meaningful...as we need to discuss how we want to do that.

@BigBlueHat The DL is unable to be issued in the playground. I'm receiving this error:
Unable to generate/issue credential: Unable to issue credential on selected backend: "expirationDate" must be a valid date: 2030-04-19

4MB json, 2.8MB svg, 168KB image.  Any chance for optimization here?

4MB json, 2.8MB svg, 168KB image. Any chance for optimization here?

@davidlehn @BigBlueHat @dlongley
Could be helpful to link to an image property with a url, rather than using a massive base64 string. I know there are some security questions here, but seems like a quick win to help minimize the json for the credential.

This seems like a new error, and I can see the value in the credential "expirationDate": "2030-04-19T12:00:00-06:00"

It's because I reduced the expirationDate value down to 2030-04-19 so it looks good in the design... I don't understand why that's not being treated as a valid date...other than we've gone a bit farther than ISO 8601 dates in our requirements. @dlongley thoughts?

@BigBlueHat, yeah, IIRC, it needs to be a datetime in the spec, not just a date. At least, I think that's a requirement for validUntil in VC 2.0. Ultimately, we want the render method to be able to handle this -- so we need to find a solution for that.

@BigBlueHat, yeah, IIRC, it needs to be a datetime in the spec, not just a date. At least, I think that's a requirement for validUntil in VC 2.0. Ultimately, we want the render method to be able to handle this -- so we need to find a solution for that.

Yeah, validUntil is more than an ISO 8601, apparently. Specifically, it's https://www.w3.org/TR/xmlschema11-2/#dateTimeStamp

@jameseaster could you give this another try on your side?

@BigBlueHat It is unable to render the displays b/c of the change to raw svg

You can lint the JSON with the json-ld playground or jsonld-cli.  It thinks the inline svg is a relative URL.  It looks like it needs to be URL encoded (which will increase the size).  Consider first running source through svgo to optimize more bytes out.

Rendered locally with the compressed svg stored in template - LGTM
Thanks @BigBlueHat!


Setting SYSTEM_VERSIONING to ON failed.

Error Message: Setting SYSTEM_VERSIONING to ON failed because table '{name}' has a FOREIGN KEY with cascading DELETE or UPDATE.
The error occurs when I add a DbSet to the DbContext file and try to implement the migration. The table that is failing is not necessarily the same each time I run the update-database command in the Package Manager Console.

This is a limitation of SQL Server. Older versions did not support temporal tables that were on the dependent side of a cascading relationship. Newer versions have fixed this, based on the documentation. If you are stuck on an older version, you can try changing the delete behavior with the following:
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.Entity<Post>()
        .HasOne(p => p.Blog)
        .WithMany(b => b.Posts)
        .OnDelete(DeleteBehavior.Restrict); // Select the behavior that best fits your model.
}


I got confusing results during GOEA

Hi,
After #218, I found the macaque monkey annotation in gaf format from QuickGo.
the macaque monkey annotation macaca_fascicularis_from_quick_go_annotations.gaf Download
def get_goeaobj_gaf(file_name, method = 'fdr_bh'):
    obo_fname = download_go_basic_obo()
    obodag = GODag("go-basic.obo")
    # Load and Read Associations,  Store annotations in a list of namedtuples
    ogaf = GafReader(file_name)
    # Get associations for each branch of the GO DAG (BP, MF, CC)
    ns2assoc = ogaf.get_ns2assc()
    # GOE Object holds Ontologies, Associations, and Background gene set
    return GOEnrichmentStudyNS(
        GeneID2nt_monkey.keys(), # Background gene set: mouse protein-coding genes
        ns2assoc, # geneid/GO Associations for BP, MF, anc CC GODAG branches
        obodag, # Ontologies
        propagate_counts = False,
        alpha = 0.05, # default significance cut-off
        methods = [method]) # defult multipletest correction method

goeaobj = get_goeaobj_gaf('macaca_fascicularis_from_quick_go_annotations.gaf')

Then run without error.
But the result is confusing.

Propagating term counts up: is_a
  0%      0 of 20,630 population items found in association

Load CC Gene Ontology Analysis ...
Propagating term counts up: is_a
  0%      0 of 20,630 population items found in association

Load MF Gene Ontology Analysis ...
Propagating term counts up: is_a
  0%      0 of 20,630 population items found in association

Why are all 0%? Is this a reasonable result?
Thanks!

Hello @WinterFor,
It is great that you found annotations for the macaque monkey. What do the names look like in your population file?

Hi, @dvklopfenstein
Do you mean the population file refers to the file containing background genes from NCBI?
I get this file use query "9541"[Taxonomy ID] AND alive[property] AND genetype protein coding[Properties] link
And I import it by from genes_ncbi_9541_proteincoding import GENEID2NT as GeneID2nt_monkey

print(list(GeneID2nt_monkey.items())[:10])

[(7857739, ntncbi(tax_id=9541, Org_name='Macaca fascicularis', GeneID=7857739, CurrentID=0, Status='live', Symbol='COX1', Aliases=['KEG98_p11'], description='cytochrome c oxidase subunit I', other_designations='cytochrome c oxidase subunit I', map_location='', chromosome='MT', genomic_nucleotide_accession_version='NC_012670.1', start_position_on_the_genomic_accession=5858, end_position_on_the_genomic_accession=7396, orientation='plus', exon_count=0, OMIM=[], no_hdr0='')),
(7857740, ntncbi(tax_id=9541, Org_name='Macaca fascicularis', GeneID=7857740, CurrentID=0, Status='live', Symbol='COX2', Aliases=['KEG98_p10'], description='cytochrome c oxidase subunit II', other_designations='cytochrome c oxidase subunit II', map_location='', chromosome='MT', genomic_nucleotide_accession_version='NC_012670.1', start_position_on_the_genomic_accession=7540, end_position_on_the_genomic_accession=8223, orientation='plus', exon_count=0, OMIM=[], no_hdr0='')),
(7857741, ntncbi(tax_id=9541, Org_name='Macaca fascicularis', GeneID=7857741, CurrentID=0, Status='live', Symbol='ATP8', Aliases=['KEG98_p09'], description='ATP synthase F0 subunit 8', other_designations='ATP synthase F0 subunit 8', map_location='', chromosome='MT', genomic_nucleotide_accession_version='NC_012670.1', start_position_on_the_genomic_accession=8364, end_position_on_the_genomic_accession=8570, orientation='plus', exon_count=0, OMIM=[], no_hdr0='')),
(7857742, ntncbi(tax_id=9541, Org_name='Macaca fascicularis', GeneID=7857742, CurrentID=0, Status='live', Symbol='ATP6', Aliases=['KEG98_p08'], description='ATP synthase F0 subunit 6', other_designations='ATP synthase F0 subunit 6', map_location='', chromosome='MT', genomic_nucleotide_accession_version='NC_012670.1', start_position_on_the_genomic_accession=8525, end_position_on_the_genomic_accession=9205, orientation='plus', exon_count=0, OMIM=[], no_hdr0='')),
(7857743, ntncbi(tax_id=9541, Org_name='Macaca fascicularis', GeneID=7857743, CurrentID=0, Status='live', Symbol='COX3', Aliases=['KEG98_p07'], description='cytochrome c oxidase subunit III', other_designations='cytochrome c oxidase subunit III', map_location='', chromosome='MT', genomic_nucleotide_accession_version='NC_012670.1', start_position_on_the_genomic_accession=9205, end_position_on_the_genomic_accession=9988, orientation='plus', exon_count=0, OMIM=[], no_hdr0=''))]

Do you mean the "names" refer to "Gene ID" in the background file?

Hello @WinterFor ,
The gaf file contains IDs that are UniProt protein IDs such as A0A023JBW5.
But your population file contains NCBI GeneIDs. You will need to convert the NCBI GeneIDs such as 7857739 to protein IDs or the other way around. You could do this by writing a script which used the gene Symbol in GeneID2nt_monkey to match NCBI GeneIDs and then by using the DB_ID in the gaf file to match the UniProt protein IDs.
It is a bit of work to get your scripts set up for a species that is not ubiquitous in most GO databases. But once they are set up, then you can do Gene Ontology Enrichment Analyses on all kinds of species.
 I can't wait to read your papers on macaque monkies.

I just want to add your QuickGO search for others that may need to search for species:
The QuickGO search was:
https://www.ebi.ac.uk/QuickGO/annotations?downloadLimit=483104&taxonId=9541&taxonUsage=descendants

@dvklopfenstein
I may find another time to finish this script.
Thanks for your help all time.


Recommended way of using it with UIKit

I'm trying to integrate the existing UIKit project with Inject. I wrapped ViewController with Inject.ViewControllerHost(...) and presented. I noticed that when I update ViewController it does hot-reload but doesn't call viewDidLoad.
We set up constraints and controls in viewDidLoad. Therefore, views and constraints are not reloaded until I leave the screen and show it again.
What is the recommended way of using it? Preferably without modifying ViewController.

I've found the problem! I forgot that you are using autoclosure and I was doing something like this:
let module = builder.build()
rootViewController.pushViewController(Inject.ViewControllerHost(module), animated: true)

replacing it with:
let module = Inject.ViewControllerHost(builder.build())
rootViewController.pushViewController(module, animated: true)

solved the problem :)


fix(tab): fix tab remove when used with ng-repeat

Fix tab remove when tabs are destroyed in the middle using filters with ng-repeat for example

This is a good PR - thanks for the work!


Is the project still alive?

Yes, I will spent more time on it when Vert.x 3.0 is out.

Upgraded to vert.x 3.0.0

Great


feat: put extraction of y_parity in kakarot codebase

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
The extraction of y_parity for legacy transactions is left to the RPC.
Resolves: #
What is the new behavior?

The extraction of y_parity for legacy transactions is done on kakarot EOA itself.
The new eth signature format is: [tx_type, r.low, r.high, s.low, s.high, v || y_parity]

Does this introduce a breaking change?

[ ] Yes
[x] No

This change is

crates/utils/src/helpers.cairo line 1156 at r1 (raw file):
Previously, enitrat (Mathieu) wrote…
add doc
From what I understood it's "The parity (0 for even, 1 for odd) of the y-value of a secp256k1 signature."

I can guess I will put a link to EIP-155 where this value is defined.

crates/utils/src/helpers.cairo line 1158 at r1 (raw file):
Previously, enitrat (Mathieu) wrote…
equivalent to (v - (chain_id*2 + 35)) == 0 or 1 or 2 ?

I got little confused in my understanding of this.
v = y_parity + 2*CHAIN_ID + 35
So, the second part of this isn't required, refactored.

crates/utils/src/helpers.cairo line 1172 at r1 (raw file):
Previously, enitrat (Mathieu) wrote…
move to eth_transaction.cairo

isn't it a helper, and hence should live here?


Add all packages from git-backed virtual workspace as a single source

We are trying to centralise all of our libraries in a mono-repo, some of which are interdependent.
[project]
name = "test"
version = "0.1.0"
requires-python=">=3.12"
dependencies = [
"c",
"d"
]

[tool.uv.sources]
c = { git = "https://github.com/astral-sh/workspace-virtual-root-test", subdirectory = "packages/c" }
d = { git = "https://github.com/astral-sh/workspace-virtual-root-test", subdirectory = "packages/d" }

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

Rather than needing to add each subdirectory as a source, it would be nice to be able to add all the modules belonging to a virtual workspace as one source which exposes multiple packages.
[tool.uv.sources]
{ git_workspace = "https://github.com/astral-sh/workspace-virtual-root-test" }

EDIT: Realised that 0.42.9 fixed my original issue so turning it from a two parter into a more targeted request!

Ran into this need aswell. Was trying to move away from hatch relative packages. But the resolver did not like just pointing to a workspace package in a git repo with sub directory packages as workspace members.
You really just want to specify the git path and revision once for the full workspace set.


presentation

Describe your change:

[ ] Add an algorithm?
[ ] Fix a bug or typo in an existing algorithm?
[ ] Documentation change?

References

Checklist:

[ ] I have read CONTRIBUTING.md.
[ ] This pull request is all my own work -- I have not plagiarized.
[ ] I know that pull requests will not be merged if they fail the automated tests.
[ ] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
[ ] All new Java files are placed inside an existing directory.
[ ] All filenames are in all uppercase characters with no spaces or dashes.
[ ] All functions and variable names follow Java naming conventions.
[ ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
[ ] If this pull request resolves one or more open issues then the commit message contains Fixes: #{$ISSUE_NO}.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e05b8af). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##             master      #1   +/-   ##
========================================
  Coverage          ?   8.45%
  Complexity        ?     432
========================================
  Files             ?     411
  Lines             ?   14542
  Branches          ?    2713
========================================
  Hits              ?    1230
  Misses            ?   13211
  Partials          ?     101

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.


Operator In not working

Discussed in https://github.com/roman-right/beanie/discussions/789

Originally posted by vargmurtter November 27, 2023
Hello everyone
Maybe I do something wrong, but when I use In operator I got an error:
  File "/home/user/python/bots/play-bot/venv/lib64/python3.11/site-packages/beanie/odm/utils/relations.py", line 22, in convert_ids
    k_splitted = k.split(".")
                 ^^^^^^^
AttributeError: 'PydanticObjectId' object has no attribute 'split'

My code:
class User(Document):
    tg_id: int
    username: str
    role: str
    name: str
    phone: str
    avatar_file_id: str
    language: str
    reg_date: datetime

    async def get_battles(self) -> list[TeamBattle]:
        return await TeamBattle.find(
            Or(
                In(self.id, TeamBattle.team_red),
                In(self.id, TeamBattle.team_blue)
            )
        ).to_list()

class TeamBattle(Document):
    owner_id: PydanticObjectId
    title: str
    description: str
    team_red: list[PydanticObjectId]
    team_blue: list[PydanticObjectId]
    creation_date: datetime
    end_date: datetime
    rating: int = 0
    required_rating: int = 5

What I do wrong?

I'll convert this to an issue to pick it up during bug fixing session. Thank you for the catch

Hi,
Thank you for the catch. I'll pick it up during the bug fixing session (this or next weekend).


DOC: Improved the docstring of Series.str.findall

Docstring assigned to PyData Mallorca in Pandas Documentation Sprint.
Please, any indication to improve our PR will be appreciated!
Happy to contribute :-)

Hi @jcontesti, can you open the PR directly in the pandas repo (https://github.com/pandas-dev/pandas)?
(it was in the first guidelines to do it here, but I think we changed our mind about that)

Yes, sorry about that @jcontesti, it was a last minute change. I just updated the documentation:
https://python-sprints.github.io/pandas/guide/pandas_pr.html
Thanks for the pull request, you're the first one to send it. :)
We'll give you more feedback in the pandas repo.

PR in the pandas repo done (https://github.com/pandas-dev/pandas/pull/19982).
@datapythonista BTW, the documentation still shows https://github.com/python-sprints/pandas as the repo to PR.

Good catch @jcontesti, thanks for pointing out. It should be fixed now.


Resolve types in parser

Instead of parsing types in casts as identifiers, implement separate tokens for type identifiers and parse type expressions. Simple types, parametric size types (like strings) and struct types are all supported. For types whose names collide with builtin functions the _t suffix is used (e.g. min_t).
The main purpose of this is preparation for typing arguments of user-defined functions (see #2516). Currently, it adds arbitrary pointer type nesting and sizeofs of arbitrary types; no new types are supported for casts.
Implementation notes:

Struct types are generated with empty pointers in the parser and completed in SemanticAnalyser after the types are fetched by FieldAnalyser.
sizeof is now a special kind of expression instead of being a call, since type arguments are now not treated as expressions.
unit tests using invalid types had to be changed to use valid ones or removed, otherwise the code would be rejected by the parser

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

It's been a while since I've looked at the gnarly language bits so I don't have much to add. But it all looks pretty reasonable to me. All the tests passing is a good sign. :)

@ajor @fbs @viktormalik any comments? Would be good to get this in soon-ish b/c this is a big change and will start generating merge conflicts soon

This change has broken some existing casting behaviour, which the removed tests "cast_typedef" and "cast_ptr_typedef" were covering.
It was desired behaviour for casts to be allowed without the "struct" prefix - see #682 for examples.
We should sort this out before building any more work on top of this change.

Good point, thanks, I didn't know this is actually a feature of bpftrace, the documentation only mentions struct xyz.
The proper fix would be expanding at least pointer_type to also accept IDENT "*", but that causes a reduce-reduce conflict somehow. Creating a nonterminal symbol for types and identifiers (i.e. typedef types) causes some reduce-reduce conflicts needing more investigation.
Until that is done, I suggest a workaround in a PR I'll link in a few minutes here (Since the fix described above is mostly need to use typedef types as an argument of a function, I'll probably include it in the PR introducing functions, unless it'll be need for something else.)


Dependencies, skip TYPE ABAP

skip the ABAP type group, in abaplint types line abap_bool are considered built-in
actually, probably skip all type groups for now, as it's not handled properly in abaplint right now

closed by https://github.com/abaplint/abaplint-sci-client/pull/99


Add support for markid plugin

Hello, it's been a while ! I hope you're doing good
I propose this small snippet to add to the plugin dir (plugin: https://github.com/David-Kunz/markid)
                local function palette()
                    local p = require("rose-pine.palette")
                    return { p.foam, p.rose, p.iris }
                end

                require("nvim-treesitter.configs").setup({
                    markid = {
                        -- enable = true, (will not be in the PR, but necessary for test)
                        colors = palette(),
                    },
                })

If you're okay and you like it, i can open a PR to implement the idea

Sounds great, thanks! Cool plugin too :)


compose_tooltips: Don't show tooltip on focus.

Fixes #27383
discussion: https://chat.zulip.org/#narrow/stream/6-frontend/topic/Micromodal.20returning.20focus.20to.20trigger.20.2327383

Merged, thanks @amanagr!


[SUGGESTION][BUCKET] Winget (see #120)

In case you came here as a user: read #120.

I realized that I had closed #120 too early and that this was still open.
Tho my Issue was not well formulated.
Its a less-priority feature.
I hereby just open this Issue for the bucket list purpose in case
someone else looks it up.

I don't want to personally support Winget, this adds more work for each release for me, unless it's automated as in with Flatpak, I do think this is something that community should take the effort if they are willing to collaborate and enjoy Winget. If it's automated the initial work should be done by a collaborator, that's what happened with the flathub package (even though I don't promoted because flatpak package isolation have many limitations for ecode).

I'd suggest add an issuing label needs-collaboration

Automation.
Recently discovered that there is a project called Komac,
that has workflows like run-komac to ease up the process
and there is entire release-workflows for winget-pkgs like
winget-releaser and winget-updater... They seem to differ
in the way they react to Releases or something... Think collab
might be a good choice but idk maybe these are somehow
convenient... I never worked with them so I may not judge...
I see a larger problem for Windows-users in the fact that the
program is portable in its nature. The installer-debate is still
unsolved (where it might be nice to actually integrate those
features into ecode itself? Or a plugin? Idk but at least a file
extension manager I guess? Or the classical winstaller as a
separate program just for install?). I use ecode daily and thus I
manually registered it in the Windows registry and assigned
tons of extensions... And start menu entries etc; idk if winget
can do that from .zips...

Komac looks interesting, I'm still not motivated to do it myself. As for the Windows installer and extension registration it's something that I know I have to implement but it's boring and I always end up doing something else, I don't personally use Windows so I have very little motivation to implement Windows only features, but I perfectly understand that they are important for Windows users, problem is if I need to use Windows to implement it there's a barrier, because I need to reboot my PC or use a VM which is uncomfortable. I'll first probably implement the extension registration which is at least something I can do as part of the app, the packaging requires me to learn some new things.


   Nice idea, but useless in its current state.   Using GetSimple version 3.3.11.
Simple urls like http://somesite.com terkidanemhret.org/page3/  won't work at all, despite the correct setting of fancy url:  %parent%/%slug%/

Hi! Please tell, do you use any other plugins with url-corretor? And what version of PHP you use?

Thanks for the response.
The version is PHP 7.1
(If I recall correctly, I I tried the URLcorrector plugin with all other plugins Disabled, as I do whenever encountering problems.  But that was weeks ago, and I no longer have the URLcorrector. )
My 12 other Plugins are:
I18N Base
I18N Gallery
'I18N Multilevel navigation & breadcrumbs';
I18N Search
Imagizer
Modern Admin
p01-contact
Pages excerpts
Responsive FileManager
Theme Highlighter
Theme Settings
'Multi User'

Update: I was using PHP 7.2 on that site (I just checked).  I still have the URLcorrector there, but it is disabled, as the site won't work with it.)

Also, it's a VPS server, setup on Vultr.com using Serverpilot

Plugin had a compatibility problem with PHP 7. I refract code, now it works on PHP 7. You can download new version here

Ok, I finally got around to testing it, and all works great now! Thanks so much.   This is really an important plugin.  I just now gave it a 5-star rating on the getsimpleCMS site.


Generic correspondence design

Title of ticket:
Description
Generic correspondence to contact an applicant, ministry client, IAO and log the correspondence in a correspondence log.
Include attachment of documents and attachment of letter templates.
Dependencies
Only for outbound emails.
Does not include assignment of reviews.
DOD

[ ] Contact, include/remove attachment send email, correspondence log
[ ] Letter template selection
[ ] Save a draft
[ ] Letter template editing

Based off of Sprint Planning - Aug 4th
Need to focus on the idea of having a Colour Coordinated - state based - Side Bar
This will give the visual difference of having a an unopened request. It will also allow for the option in the side bar to be adjusted based on which state the request is in.

Prototype Update complete and can be viewed here: https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932449
Reviewed with team in Design review meeting yesterday prior to closing. All changes discussed then have been made.


[FEATURE] Add PWA (Progressive web app) in vibey

Detailed description
Hey, I want to the PWA to this. It's a very good feature and also we can install on our phone or desktop.
Can you please assign it to me?
Context
.
Possible implementation
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@SubhamB2003 how will you implement it? Can you explain it in details?

Yeah, I installed the package next-pwa it's required to install for setup pwa. After setup the things you have an option to install it.
Like this

@Deepu178 Can you please check


An actions-sync action

We're manually importing actions into our GHES, so the first thing i did as a good CI/CD user is try to create a repository where I could maintain the list of actions we sync and periodically trigger the update.
I found the first thing i had to do is download and execute this manually. Surely this is a good candidate for an action?
You'd obviously then have to bootstrap that action, but then it could keep itself up to date.

That sounds like a great idea. There's at least one situation where an Action wouldn't work, the case where an instance of GHES is completely air gapped from the rest of the internet. However, I think for the moment we could figure out what an Action would look like, the permissions required and at least document this well in this repo if people wanted to do that.

That sounds like a great idea. There's at least one situation where an Action wouldn't work, the case where an instance of GHES is completely air gapped from the rest of the internet. However, I think for the moment we could figure out what an Action would look like, the permissions required and at least document this well in this repo if people wanted to do that.

Here is what our team does using an Actions workflow on our GHES instance:
name: actions-sync

on:
  workflow_dispatch:
    inputs:
      token:
        description: 'Personal access token with repo permissions to GitHub.factset.com'
        required: true

jobs:
  actions-org:
    runs-on: [self-hosted, ubuntu-latest]
    steps:
      - name: setup
        run: |
          wget https://github.com/actions/actions-sync/releases/download/v202009231612/gh_202009231612_linux_amd64.tar.gz
          tar -xf gh_202009231612_linux_amd64.tar.gz
      - name: sync
        run: |
          mkdir -p cache
          # can't sync actions/cache, actions/upload-release-asset as it has "been retired and cannot be reused"
          ./bin/actions-sync sync \
            --cache-dir "cache" \
            --destination-token "${{ github.event.inputs.token }}" \
            --destination-url "https://github.factset.com" \
            --repo-name-list "\
                              actions/.github,\
                              actions/actions-sync,\
                              actions/add-to-project,\
                              actions/boost-versions,\
                              actions/checkout,\
                              actions/container-action,\
                              actions/container-toolkit-action,\
                              actions/create-release,\
                              actions/delete-package-versions,\
                              actions/deploy-pages,\
                              actions/download-artifact,\
                              actions/example-services,\
                              actions/first-interaction,\
                              actions/github,\
                              actions/github-script,\
                              actions/go-versions,\
                              actions/hello-world-docker-action,\
                              actions/hello-world-javascript-action,\
                              actions/heroku,\
                              actions/http-client,\
                              actions/humans.txt,\
                              actions/javascript-action,\
                              actions/jekyll-build-pages,\
                              actions/labeler,\
                              actions/node-versions,\
                              actions/publish-action,\
                              actions/python-versions,\
                              actions/runner,\
                              actions/setup-dotnet,\
                              actions/setup-elixir,\
                              actions/setup-go,\
                              actions/setup-haskell,\
                              actions/setup-java,\
                              actions/setup-node,\
                              actions/setup-python,\
                              actions/setup-ruby,\
                              actions/stale,\
                              actions/starter-workflows,\
                              actions/toolkit,\
                              actions/typescript-action,\
                              actions/upload-artifact,\
                              actions/versions-package-tools,\
                              actions/virtual-environments,\
                              actions/virtual-environments-packages"


Typescript generator interface output

Describe the bug
The typescript generator, when using modelType: 'interface' and moduleSystem: 'ESM' does not properly generate models for array with items.
Additional bug - default TS template does creates issue with verbatimModuleSyntax setting, as imports  should be with done with type only import, and export default should reference a value.
How to Reproduce
{
  "asyncapi": "2.6.0",
  "info": {
    "title": "Test API",
    "version": "1.0.0"
  },
  "channels": {
    "/": {
      "publish": {
        "operationId": "publish",
        "message": {
          "oneOf": [
            {
              "$ref": "#/components/messages/TestMessage"
            }
          ]
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Item": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "prop1": {
            "type": "number"
          }
        },
        "required": [
          "prop1"
        ]
      },
      "ItemArr": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/Item"
        }
      }
    },
    "messages": {
      "TestMessage": {
        "name": "testmessage",
        "payload": {
          "$ref": "#/components/schemas/ItemArr"
        }
      }
    }
  }
}

Using above async.json either from command line tool, or in online modelina playground, will generate below files:
# Item.ts

interface Item {
  prop1: number;
}
export default Item;

# ItemArr.ts

import Item from './Item';
type ItemArr = (Item | any)[];
export default ItemArr;

Clearly the type for ItemArr allows to much, as it should only allow Item types.
Expected behavior
The expected output for this output would be:
# Item.ts

export interface Item {
  prop1: number;
}

# ItemArr.ts

import type { Item } from './Item';
export type ItemArr = Item[];

Thanks to this approach the generated complies with verbatimModuleSyntax and keeps proper type for the array items.

@fswebteam try use the next version, it should have been cleared up there.

Duplicate of #1416


Adding a language causes  await useStoryblok to fail

Describe the issue you're facing
Everything is working fine with multiple languages. We added a new language and the page loads blank when switching to the new language.
My guess is it is a caching issue as it is retrieving data from the CDN.
I see the api for await useStoryblok is failing with "This record could not be found"
I have tested this with a blank vue app that only calls the storyblok api and have the same issue
Following the url in the error takes me to the CDN which also shows as "This record could not be found"
This URL (note I removed my token)
https://api.storyblok.com/v2/cdn/stories/ru-mo/world/discovering-home?version=draft&language=ru-mo&token=XXX&cv=undefined

Reproduction
https://gp-storkyblok.netlify.app/ru-mo/world/discovering-home
Steps to reproduce
Add new language in Storyblock localization settings then go to story to try add content.
System Info
vue, @storyblok

Used Package Manager
yarn
Error logs (Optional)
No response
Validations

[X] Follow our Code of Conduct

It turns out it was something in my code that caused this.


Updated ensembl_ontology schema scripts

Requirements

Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion;
Review the contributing guidelines for this repository; remember in particular:

do not modify code without testing for regression
provide simple unit tests to test the changes
if you change the schema you must patch the test databases as well, see Updating the schema
the PR must not fail unit testing

Description
Updated Ontology schema model:

Added field iri on Term
Added field title on Ontology

Use case
NTR
Benefits
Added new fields. could help retrieve terms directly from their iri (specially when loaded via OLS loader)
Possible Drawbacks
None afaik
Testing
Updated tests scripts to include schema updates
Passed
Have you run the entire test suite and no regression was detected? I am afraid not, but modification only impacts ontology model, nothing else.

Coverage remained the same at 81.365% when pulling 9722993e20069f34e99834c45d61d132506a4947 on marcoooo:ontology_model_updates into d1e1375b82b6f686af603fa1301bc9dd42837bac on Ensembl:master.


Simplify staking feature

Based on #321 (please merge that first)
This is a follow-up from the new way we handle feature flags after #318
We don't need to feature-gate all the staking-related data structures, which greatly simplifies our code, and helps for more reliable de/serialization. Simply by feature gating some higher-level helpers, this is pretty much auto-enforcing. I used StakingMsg::Delegate{ .. }.into() in some test code in reflect and it failed to compile until I added the feature flag.
The staking feature flag remains, but is much more optional than before and only needs to be enabled by those contracts actually using these features (using the extern "C" which is also feature-gated)

Looks good at first glance. Can you update this?

Just did all fixed and updated with master (rebase was being a PITA, so I had to merge it old-school-style)

I am willing to remove the flag entirely, but I do like your point to convince contract authors gently.

I'd keep it as is. Handling the C methods that are then auto-converted to wasm exports is a fragile business. The more copy pasting we can avoid here, the better. Especially when those things are not the same for every contract.


[Run-Plugin] [Windows Settings] Add unit tests

Provide a description of the new feature / enhancement
We decided to do unit tests as separate pr into master

@TobiasSekan
Can you please create the tests/test project?


DisqusAPIError constructor extends PHP Exception but switches arguments around

I just noticed that DisqusAPIError subclasses a normal PHP Exception but for some weird reason decided to switch the arguments around - why?
DisqusAPIError:  __construct($code, $message)
Standard PHP Exception: __construct ([ string $message = "" [, int $code = 0 [, Exception $previous = NULL ]]] )
Doesn't make sense to me to switch the params around - it just leads to confusion!

As of now it actually doesn't work.
When I got a "400 Bad Request" HTTP error, I have to change the code like this to have a meaningful error:
    if ($response['code'] != 200) {
        throw new DisqusAPIError($response['code'], $response['data']);
    }

To elaborate on ceefour, the problem here is that $data->response isn't a string (when the response code isn't 200), but an array containing an object. Php's Exception class expects $message to be a string, not an array or an object. The $data->code is fine I believe.


ALL OF THE DOCUMENTATION!!

There shouldn't be any question about anything if a future person wants to make changes to this. The code should be readable, but some documentation will be required

lol


Fix up javadoc

Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage remained the same at 98.16% when pulling 73528c413ee94656334a73a925bc3871ad0f7bb3 on javadoc into 7c3bebdfe030f0157b34f26f7c248e99d5fefb60 on main.


Changed cordova-plugin-file version to not pull latest version

Changed cordova-plugin-file version to not pull latest version, but pull specific version 4.3.3

cordova-plugin-file  dependency was set to pull the latest version >=2.0.0
cordova-plugin-file released their latest version 5.0.0, which had a bug and resulted that no new
projects could compile this plugin.
https://github.com/apache/cordova-plugin-file/releases/tag/5.0.0
It is better to have a stable supported version and update when necessary


build raspbian RPI3

When we try to build, system fails.
It's possible?
Regards,

Would you mind providing a little more information? What exactly fails? Which building instructions do you follow? What is in console output?

I follow this instructions:
https://developers.google.com/speed/pagespeed/module/build_ngx_pagespeed_from_source
Error:

adding module in /home/pi/builds/nginx/build/ngx_pagespeed-release-<IP_ADDRESS>-beta
Architecture not supported: armv7l

Seems we need to build PSOL for rpi3 arch?
It's possible?
Regards,

We don't currently support building PSOL on ARM, as not many people want it. It is probably possible, but would not be a tiny amount of work.

Why not many people want it?

Perhaps I should have said: As far as I know, this is if the first time anyone has asked for such support. I don't believe that many people are running webservers on an RPI.

Closing as duplicate of https://github.com/pagespeed/ngx_pagespeed/issues/1213

We don't currently support building PSOL on ARM, as not many people want it. It is probably possible, but would not be a tiny amount of work.

I want it and desperately need it. I'm stuck on Nginx 1.23.2 forever until these PSOL libraries are updated. If its work, tell me what I need to do to make this happen and I will work on it.

@Danrancan I think it may be better to open a new issue; it seems like no one subscribed to this issue works on the project anymore.

@Danrancan I think it may be better to open a new issue; it seems like no one subscribed to this issue works on the project anymore.

Thanks for the reply, I will open an issue then.


Add support for Retry-After HTTP header

If server response with transient error code we also should check Retry-After HTTP header. If it exists it allows us to adjust retry policy and avoid server overwhelming with requests.
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After

Will be released in version v2.0.0.
See milestone v2.0.0


Update dotnetcore.md

Adding an example for .Net Core docker files as consumed by build agents and recommended by Microsoft best practices.

Proposed changes
Changing .Net Core example documentation to add an example that includes best practices by Microsoft for CI builds.

Unreleased project version (optional)

Related issues (optional)

Hi @avichalchum,
Thanks for your proposal. The Dockerfile you propose is indeed simpler, but it assumes the application is already build by some external tool.
For CI we definitely recommend to use the Dockerfile including build steps , so your build does not require additional tools to be installed, and is more easily reproduced.
The simpler Dockerfile you propose could make the dev feedback loop quicker, but if you want to use this after you build your app in Visual Studio, you might as well run the app directly from visual studio for the quickest dev feedback loop, no need for an additional Dockerfile for this purpose.

Hi @gtardif ,
Thank you for your feedback. My proposal was more around the build once, reuse multiple places principal and not for faster dev feedback. You're right, for a faster dev feedback, Visual Studio would be the fastest.
But if the same code artifacts are being used by multiple docker files and especially if the code build takes a long time (assuming greater than 15 minutes), then rather than build it for each dockerfile every time, the prod deploy CI tools will build the artifacts once and use those for the various dockerfiles.
Additionally, most production pipeline CI's could be running static/dynamic code analysis, vulnerability analysis, e.t.c. after the code is built by the pipeline, so building it again inside the dockerfile would then be redundant and add time.
I believe it is due to these reasons Microsoft also proposes a similar dockerfile: [https://docs.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows#create-the-dockerfile](Microsoft dockerfile example).
Please note than I am proposing replacing the build steps inside a dockerfile to that outside. I am proposing providing both methods, a user who wishes to build the code inside the dockerfile can use method 1 and a user who is using it as a part of the CI can use method 2.

@gtardif thanks. I agree with your proposed wording and have accepted that.


Edge route global doesn't work for named routes in a group

With the following code in my routes file
Route.group(() => {
  Route.get('/', async ({ view }) => {
    return view.render('blog.coming-soon')
  }).as('blog.index')
}).domain('blog.localhost.com')

the route global method should create a link to blog.localhost.com even when the link is being displayed on another domain (like localhost.com). What is happening instead is that I just get a link to the site's index page.
The link is being displayed like this
Blog

Sorry for getting late on it, but one thing that struck my mind, how to know the protocol?

@thetutlage hmm I didn't think about that one. It could default to http unless a tls or protocol option is specified?

Yeah but where that option will be specified?

It could either go in the route definition or the route global. Or possibly both?


MAINT: template recipe

Coverage remained the same at 78.947% when pulling 92c1f6a2d4938334074a79af52557b24909541f7 on thermokarst:stickythebat into 52c5b9bf3103154507f397aa58e10a359f4b0e8f on nervous-laughter:master.

Coverage remained the same at 78.947% when pulling e5e006cb9d59bb81c8749abfdf236a49b5f88b95 on thermokarst:stickythebat into 52c5b9bf3103154507f397aa58e10a359f4b0e8f on nervous-laughter:master.


Enable HttpCachePolicy

Summary
HttpCachePolicy enables various APIs to set the caching policy for a page for the cache-control header.
In scope

HttpCachePolicy
HttpResponse.Cache
HttpResponse.Expires
Update DefaultCacheControlMiddleware to make use of HttpCachePolicy

Tracking in #369 now


tf version

Congratulations on Ziming for the amazing and great work.Is there any TF version of KANs ?

maybe i'm missing but haven't heard of any


proxy access log

We now use a dedicated middleware to log all requests, regardless of routing selector outcome. The log now includes the remote address and the selected routing policy.

Could we log request bodies in Debug mode?

Could we log request bodies in Debug mode?

how much of it? 100 bytes, kb or mb? I think if you want to log all the request bodies adding a real proxy would make more sense? or what use case do you have in mind?

use case do you have in mind?

Mainly debugging json-bodies. Yeah I didn't have file-uploads in mind so this might be not viable. Maybe based on content-type. But maybe this is to complicated or should be an additional param.

@refs we might be able to log the routing policy by making the selector decision in a middleware and putting it in a context. Then the proxy handler can read it from the context. but since that is a little bigger refactoring I'd defer that to another PR. The routing policy is logged in debug mode.

GET THIS IN, THIS IS GOOD NEWS!


TSParser error Invalid node type "name_equals"

Hello
I am having with neotest-dotnet as it does not seem to find the tests.
I set the log level of neotest to 1 and when i try to run require"neotest".run.run() i get the following error:
~/.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:145: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:252: Query error at 32:18. Invalid node type "name_equals":
                (name_equals
                 ^

stack traceback:
        [C]: in function '_ts_parse_query'
        /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:252: in function 'fn'
        /usr/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'parse_query'
        ...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:104: in function 'normalise_query'
        ...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:161: in function 'parse_positions_from_string'
        ...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:207: in function 'func'
        ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:156: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:155>
        [C]: in function 'xpcall'
        ...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:155: in function <...l/share/nvim/lazy/neotest/lua/neotest/lib/subprocess.lua:154>
stack traceback:
        [C]: in function 'error'
        ...dalf/.local/share/nvim/lazy/nvim-nio/lua/nio/control.lua:145: in function 'call'
        ...re/nvim/lazy/neotest/lua/neotest/lib/treesitter/init.lua:189: in function 'parse_positions'
        ...are/nvim/lazy/neotest-dotnet/lua/neotest-dotnet/init.lua:110: in function 'discover_positions'
        ...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:300: in function <...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:264>
        [C]: in function 'xpcall'
        ...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:264: in function '_update_positions'
        ...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:317: in function <...ocal/share/nvim/lazy/neotest/lua/neotest/client/init.lua:315>

I've tried to see if there are any updates to the treesitter parser for c_sharp, but i dont seem to be missing any.
I am using NVIM v0.11.0-devand tree-sitter 0.20.8.
Can you help me fix the issue?

I am using xunit. I will check and report back 🙂

@Dynge are you using xUnit? Can you check if this PR fixes your problem? #100

It works perfectly! :)

Thanks for raising the issue @Dynge , and thanks @neubaner for the PR. I've merged this in now so sounds like this is all resolved.


Dropdown issue loading in and lag on 'Data Elements' drop down

Tested on staging (Admin): https://s112p01-find-npd-data-s112p01-staging.azurewebsites.net/admin/concepts/c495994e-ac32-4338-8694-3752fe8e13ff/edit
Browser: Chrome
OS: Windows 10
Steps to reproduce

Navigate to https://s112p01-find-npd-data-s112p01-staging.azurewebsites.net/admin/concepts/c495994e-ac32-4338-8694-3752fe8e13ff/edit
There is a delay in the drop downs loading in (You can replicate this by refreshing the page)
Select the 'Data Elements' dropdown
Notice the lag on the drop down, if you select the 'Category' drop down, that is working as expected

Please see attached video
Dropdown issue.zip

post launch


Wind-speed-generator

Describe the project you want to add with tech stack

The project shows the sky condition ,temprature and the wind speed of different cities across India.The user only has to input the name of city and the above 3 things get displayed on their screen. Can you assign this task to me?
Expected behavior

Screenshots (optional)

Additional context (optional )

@MohitGupta121 Can you assign this task to me?


chore: susa 테스트 커버리지 보강

Overview
ASIS.

TOBE.

반환 타입을 정의하기 위해 불필요하게 선언되어 있던 에러문을 제거하여 테스트 커버리지를 보강합니다.
PR Checklist

[X] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

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

Project coverage is 99.84%. Comparing base (4599e57) to head (7abc8a1).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #299      +/-   ##
==========================================
+ Coverage   99.68%   99.84%   +0.15%
==========================================
  Files          37       37
  Lines         641      639       -2
  Branches      155      154       -1
==========================================
- Hits          639      638       -1
+ Misses          2        1       -1


Make ansible use document scope

Description
it's the same as #548 for ansible language
Checklist

[x] I have followed the guidelines in the Contributing document
[ ] My changes are based off of the develop branch
[x] My changes follow the coding style of this project
[x] My changes build without any errors or warnings
[x] My changes have been formatted and linted
[ ] My changes include any required corresponding changes to the documentation
[x] My changes have been rebased and squashed to the minimal number (typically 1) of relevant commits
[ ] My changes have a descriptive commit message with a short title, including a Fixes $XXX - or Closes #XXX - prefix to auto-close the issue that your PR addresses

@ahmadalli Thank you for your contribution!!


Add package suffer

You should put this directory in a suffer directory: https://github.com/emekoi/suffer/tree/master/src/private
It does only contain .c files, but it's good to be consistent with Nim I think.

oh, I didn't realise you skipped it. That's fine. :)


PCP:  Imporve the grant leader scheduler with http handler

PCP Issue

difficult: easy
score: 100
min score required: 0
Recommended Skills: Go

Description
We have supported the scheduler configures the own configuration after #1733 . The grant leader scheduler should add multiple schedulers if we want to grant multiple stores. but now we can support multiple args in one scheduler.  same as #1937.

/pick-up-challenge

/pick-up-challenge

/pick-up-challenge

/pick-up-challenge

Hi @qinggniq , there was something wrong with the picking up task, but don't worry, your pick up is under review stage in #1968 now(hrbeuyz24 is your partner). I add some logs for solving the picking up issue, may you try picking up again and let me find out what's wrong with it?

/pick-up-challenge

Soon after you've gave up 1830, your partner picked it up. And before he submitting a PR for 1830, your team is under doing pick status which not allow you to pick up a second one. And I got a mistake that 1968 is the solution for 1830 instead of this issue.

@you06 got it, thank you!

Bot closed... that's weird, sorry for the incident. Reopen it and I'll try finding out the problem.

finished.


build of project is not done

i use the test-stack-multiproject (https://github.com/lierdakil/test-stack-multiproject.git) setup to experiment and reconstruct problems i observe:
checking a module when saving is promptly done (and usually without a ghc-mod crash), but changes in other modules are not used.
for example: change in LibA.hs the type of thirdFunc to String -> IO (). save. there is no indication that Main.hs in a is now wrong. Fix Main.hs by adding the now missing argument. result:  wrong error message (because the change in a is not seen).
i do not see how to run build from within atom. build project seems not to do anything in this setup.
the build target seems to depend on the file which has the focus. Correct? if yes, then it is very subtle. if i try to set the target manualy, i.e. typing a into the field set build target i get Uncaught TypeError: string.indexOf is not a function.
using stack build in the project dir does of course build the project, despite the error message when saving Main.hs.
can you reproduce this behavior?  i would suggest that the target can be selected by typing the package name.
i also found that the need to select the mode of buidling (stack/cabal/none) with a not very prominent button is confusing - why not include it in the ghc-mod settings. i do not expect that users change this very often.
in general, it works, but i hope you can further improve it!

i also found that the need to select the mode of buidling (stack/cabal/none) with a not very prominent button is confusing - why not include it in the ghc-mod settings. i do not expect that users change this very often.

I, for one, have projects that are built with cabal, projects that are built with stack, and projects which are built with both. So I beg to differ. Also, if nothing is selected, and a value is required, a selection dialog should pop up. haskell-ghc-mod ignores this setting at the moment, btw, and relies on ghc-mod's autodetection (which will be changed eventually, but it guesses right in most circumstances)

the build target seems to depend on the file which has the focus. Correct? if yes, then it is very subtle. if i try to set the target manualy, i.e. typing a into the field set build target i get Uncaught TypeError: string.indexOf is not a function.

Target selection parses cabalfile, so that's a problem if there is none. Auto does try to guess what you want to build depending on currently active editor (this is primarily to match user expectation of building currently open tests and benchmarks when project isn't explicitly configured to use them).
Please note that target selection is not superproject-aware. Currently recommended way of dealing with superprojects is to open each sub-project with File → Add Project Folder, if you need full control over build targets. If you don't Auto: All should work well enough in most circumstances.
The error is fixed in ide-haskell v1.9.5. Thanks for letting me know.

i do not see how to run build from within atom. build project seems not to do anything in this setup.

Command is ide-haskell-cabal:build. You need ide-haskell-cabal package. Don't mind the awkward name choice, it supports stack as well -- during that project's infancy, nobody as much as thought about stack support.
There is no support for Atom-Build integration at the moment.

thank you for your careful answer!
just for curiosity, why would you have cabal and stack build in one project?  (probably off topic).
i will try Auto:All as build target (just loaded the new ide-haskell 1.9.5 - thank you for the fix). what would be the syntax if repeatedly build the one of the subprojects?
i did not understand the idea to add each subproject individually; i like to have a big project to keep all the changes in the same git repository (and synchronized). build with ctrl-alt-/ works, but it is not always easy to tell, what it builds. i would like that i can set this and it would be reused - i have often to repeatedly build the same main after some changes.
thank you for a great tool!