Caddy not being issued certificates - can't connect

I'm new to Caddy, so that is possibly where my problem lies.
I've setup a basic config, and it connects to Tailscale, but when I access the host over Tailscale I get
Accept: TCP{<IP_ADDRESS>:47326 > <IP_ADDRESS>:80} 60 tcp ok
[unexpected] localbackend: got TCP conn w/o serveConfig; from <IP_ADDRESS>:47326 to port 80

I've tried HTTP and HTTPS. The above is a HTTP attempt.
I've got HTTPS and MagicDNS enabled in Tailscale.
My docker compose is quite simple:
version: '2'

volumes:
  nextcloud:
  tailscale-proxy-state:

services:
  app:
    image: nextcloud
    restart: always
    ports:
      - 8080:80
    volumes:
      - nextcloud:/var/www/html

  tailscale-proxy:
    image: hollie/tailscale-caddy-proxy:latest
    volumes:
      - tailscale-proxy-state:/var/lib/tailscale
    environment:
      - TS_HOSTNAME=nextcloud
      - TS_TAILNET=tailezxye
      - CADDY_TARGET=app:80

    restart: on-failure
    init: true

The Caddy startup messages suggest that maybe there is some missing config?
{"level":"info","ts":1697103625.3571339,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":""}
{"level":"info","ts":1697103625.3657167,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//<IP_ADDRESS>:2019","//localhost:2019","//[::1]:2019"]}
{"level":"info","ts":1697103625.3663924,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1697103625.3668227,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"info","ts":1697103625.3679645,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0004c2800"}
{"level":"info","ts":1697103625.3690476,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
{"level":"info","ts":1697103625.3693569,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/root/.local/share/caddy"}
{"level":"info","ts":1697103625.3698409,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}
{"level":"info","ts":1697103625.3709908,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
{"level":"info","ts":1697103625.3712015,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
{"level":"info","ts":1697103625.3717875,"logger":"tls","msg":"finished cleaning storage units"}
{"level":"info","ts":1697103625.3729112,"msg":"autosaved config (load with --resume flag)","file":"/root/.config/caddy/autosave.json"}
{"level":"info","ts":1697103625.372974,"msg":"serving initial configuration"}

The Caddyfile in the container is as follows, which I think is what is expected:
nextcloud.tailxyze.ts.net
reverse_proxy app:80

Hey @nigelsim
I don't see any obvious issues in the details you provided.
Can you please verify if the setup works as expected with the example docker-compose.yml from the README.md in this repo where you fill in your TAILNET details?
Thanks,
Lieven.

This was my misunderstanding.
After reading the Caddy Tailscale docs I realised that I was just using the host name nextcloud rather than the FQDN. This connected to the right host, but Caddy did not pick this up as a Tailscale request and generate a certificate for it.
I can't see a way to support the hostname also, other than maybe a port 80 redirect to the FQDN.

This worked for me FWIW
tailscale-example.tailabcd.ts.net {
        reverse_proxy whoami:80
}

http://tailscale-example {
        redir https://tailscale-example.tailabcd.ts.net
}

Hey @nigelsim
OK, clear, I always use the FQDN out of habit, that is why I did not understand why what you were trying to accomplish was not working.
Makes sense now!
Kind regards,
Lieven.


Tutorial landing pages

Add landing page/sign post for module tutorials where relevant and if it hadn't already been addressed by the module author.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e78527c14acb72f2bc4707--harness-developer.netlify.app

Error is because when this branch was created, restructure to HCE was not in main branch. If you can rebase or merge the master branch to your branch and then make changes/merge, it will work. @aimurphy

For FF, the docs look good to me. :)

@joeyouss and @sunilgupta-harness  - I need your approval on the PR to merge it. Please let me know if you have any questions.
Preview for SRM: https://65e78527c14acb72f2bc4707--harness-developer.netlify.app/docs/service-reliability-management/get-started/tutorials
Preview for CCM: https://65e78527c14acb72f2bc4707--harness-developer.netlify.app/docs/cloud-cost-management/get-started/tutorials

LGTM

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65e8873587767007ae23390d--harness-developer.netlify.app

There were 5 modules where I added a "tutorials" page. I have gotten approval from codeowners for each of those 5 modules. I will merge this PR now.


Introduce minimum UTxO value

Context

Minimal UTXO size needs to abide by the min utxo value set by the protocol (initially in the genesis file, and via protocol updates). This value is currently set to 0 to not break the current behavior of the system but we are looking into increasing it for mainnet.
Decision

We add minimumUTxOValue in ProtocolParameters
Acceptance Criteria

ProtocolParameters and ApiNetwrokParameters are changed.
For shelley the parameter is taken from PParams, for byron and jormungandr it is 0
the parameter is used in dustThreshold
Handle the migration when adding new column

Development

QA

Please notice that ApiNetworkParameters has changed (new field added), also showed the value in shelley integration test. For byron/jormungandr it is minimumUTxOvalue is 0.

Do I understand correctly that this will translate into minimal transaction output value and hence minimal transaction amount that can be sent?
If so It would be nice maybe to set this in out CI's genesis.yaml. I have tried to explicitely add there (minUTxOValue: 1), but the cluster failed to start...
I have also wanted to try it on mainnet_candidate testnet, where "minUTxOValue": 1000000, but wallet fails to sync with that network currently -> https://input-output-rnd.slack.com/archives/GBT05825V/p1594713488004400.

@piotr-iohk  the minUTxOvalue will set dustThreshold in feeOpt -> see comment below https://github.com/input-output-hk/cardano-wallet/blob/master/lib/core/src/Cardano/Wallet/Primitive/Fee.hs#L84

I have requested minUtxoValue change on shelley_testnet. It used to be 0 and now is 1ADA. I see that value in GET /network/parameters is updated properly.
But when now one tries to send transaction with amt < 1, the wallet returns 500:
Code = 500,
Message = {"code":"created_invalid_transaction","message":"That's embarrassing. It looks like I've created an invalid transaction that could not be parsed by the node. Here's an error message that may help with debugging: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [TxOut (Addr Testnet (KeyHashObj (KeyHash d988972fff7619482878b5413c38c4981451eac7a27846c4eefd4a0e)) (StakeRefBase (KeyHashObj (KeyHash ff7b5d41fa8cb555b6449601d84967bd9b0245a3c530044d8094ee36)))) (Coin 999999)])))]"}

Perhaps, that's not really related with that "story"? If so, I'll close this one and report it elsewhere.
@paweljakubas let me know.

Closing this one. Bug for the issue -> https://github.com/input-output-hk/cardano-wallet/issues/1914.


Add support for Scala 3

Add support for Scala 3.0.0 RC1
Remove support for Scala 2.11 (most libraries are dropping it)

For that I had to upgrade Scalatest and SBT.

Most of the libraries are working on Scala 3.0.0-RC1, I'll update this PR until they're ready.
For less active libraries I'll just deactivate Scala 3 until they're ready.

Circe and Play Json are on RC releases, I'll keep the PR open as draft and update them when they're in final release.
Also upickle seems to be working on supporting Scala 3.0.0-RC1 so I'll update it too.


Python Extension remote jupyter fails behind corporate proxy: "unable to get local issuer certificate"

Windows 10 enterprise edition. On an ordinary network connection, connecting to remote jupyter notebook server works perfectly.
However, a particular corporate network connection uses Cisco's web security appliance to inspect traffic, providing a corporate certificate that is signed by an un-trusted authority (the corporate entity). This has been added to the system's trusted root certificate authorities by the system administrator.
When I connect to this network, generally things work. However I cannot connect to the remote jupyter notebook and it throws the following error:
Executing code failed : Error: Failed to connect to remote Jupyter notebook.
Check that the Jupyter Server URI setting has a valid running server specified.
https://jupyter.example.com/user/example/
TypeError: request to https://jupyter.example.com/user/example/api/contents/?123456 failed, reason: unable to get local issuer certificate

Source: Python (extension)

I believe this has to do with the python extension not using the system's trusted root certificate authorities but I'm not sure. Any ideas for a work around?

@chrmarti Please fee free to move this to the Python Extension repo. https://github.com/microsoft/vscode-python

Can't move it for some reason. Is this a connection from a CLI or through Node.js in the extension?


Add support to JWT Token

A JWT token signature validation would allow imgproxy to be added in the microservices architecture smoothly.

Could you explain the benefits of JWT over the current solution? I kept JWT in mind from the start, but I still don't think this is what imgproxy needs.

I was thinking to add imgproxy as an internal component behind a session server, for example. With a Nginx in the middle, it's easy to do something like that, but I would prefer to do not use another component. So to validate that every request comes from a trustable component I think would be nice to validate the token signature. So you don't need to have a fixed token but just a public key, assuming it's an RS256.
For sure it's not a must, but a nice to have.

imgproxy uses URL signature for validating incoming requests. Practically, the same thing as used in JWT but without the overhead like header and encoding data with Base64.

I just discovered imgproxy and was wondering about JWT support myself. A major advantage of JWTs is that they are standard. Rather than having to implement URL signing for various different services (imgproxy, s3/aws, various CDNs, etc) one can just stick all of their claims into a JWT and have everything validated in a standard way. JWTs would also have built-in expiration -- I can see that imgproxy has its own scheme for expiration but having features like this standardized across different services is a major selling point in my humble opinion.

Hey @knpwrs!
There are some reasons why I don't like the idea of JWT support:

You can't figure out what processing options are used by looking at JWT token. Processing options are not a secret thing, so there's no sense in hiding them, and it's handy for a developer to see them right in the URL. We added plain URL support for the same reason.
We tend to keep imgproxy as simple as possible. We dropped basic URL format support from imgproxy v3 as it was pretty confusing to have multiple URL formats. Honestly, I don't want to bring this confusion back. Also, JWT will hardly be popular because of the first reason. In a matter of fact, you are only the second person who requested this in 5 years.
It's easy to shoot yourself in the leg with JWT. For example, using RSA signing method will give you different signatures every time you sign the same data. Because of this, requests to imgproxy will always miss the CDN's cache. We could limit signing methods to HMAC only, but this would drop half of JWT pros.
URL signing process in imgproxy is pretty simple, and JWT looks like a complication here.
Speaking of standards. While JWT is definitely the standard for data exchange, in the image servers world almost everyone signs URLs pretty the same way as imgproxy.

Hi,
I personnaly think that the JWT option would be good. But not for signing the request, there are too many disadvantages as @DarthSim point out.
I would see the JWT just to ensure that an "insecure" request is submitted by a user authenticated by a JWT. Here what I see:

The JWT does not contain any of the resquest, it just ensure that the user is authenticated.
JWT could be sent as many app support it in the Bearer Authentication header. For my use cas, it would be more useful if it would be also supported as a query parameter in the URL (?jwt-token=.....).
At first the JWT could only be use to ensure a user have rights to submit a request, but it could aslo contains information about operation that the user is allowed to perform, as one user might be able to resquest crop image larger than 600px, and not the other one. It remove the hurdle of managing user and rights by imgProxy, it just ensure that the JWT token and it's informations allow the resquest.
The "insecure" part of the request could also be replaced by a "jwt-auth" word that would trigger the JWT validation.

Hey @jeaneric!
This looks very much like something that should be implemented outside of imgproxy.

Hey @jeaneric!
This looks very much like something that should be implemented outside of imgproxy.

You are totally right, it could be integrated inside a proxy for example. As @lucasdss said in the third comment in the thread, it's not fundamental, but it simplify the stack for those already using JWT. In it's most basic form, it's just a signature validation, but I'm not a Go programmer.


Anyway to detect if HMD is connected?

Hello,
I'm developing a 3D game which offers both VR and desktop environment. I want to allow the users to select the mode they want to play but only if the HMD is connected. Is there any way to detect it?
Thanks in advance.

Not at the moment, I do believe OpenVR has a way for us to query this. I will have to investigate and see if I can implement something for it.

The function is vr::VR_IsHmdPresent()
https://github.com/ValveSoftware/openvr/wiki/API-Documentation#other-functions
It does not guarantee that vr can start, but is still the fastest way to check. The docs states that this is exactly the kind of use case for it though.


Fix bug PDB index

[x] Tag issue being addressed
[x] Add tests
[x] Update docstrings/documentation, if applicable
[x] Update changelog
[x] All tests successfully pass

Codecov Report

Merging #125 (6b7ce95) into devel (eb02cd7) will increase coverage by 0.36%.
The diff coverage is 100.00%.

Codecov Report

Merging #125 (6b7ce95) into devel (eb02cd7) will increase coverage by 0.36%.
The diff coverage is 100.00%.


See uploaded files in the web client

Like using localstorage to remember the file name and URL of the uploaded files, maybe a delete link.

Currently goploader doesn't support deleting uploaded files.
This is a feature I had in mind for some time, sending back the link along with a delete link, but I'll have to check how to handle that on the command line side.
Thanks for your feedback 🎆


S2U-21 SAK-49646 T&Q: Fix early timer start with SEB - s2u-22x

https://sakaiproject.atlassian.net/browse/S2U-21
https://sakaiproject.atlassian.net/browse/SAK-49646

Thanks @stetsche and @jesusmmp !


Feature: Ephemeral reply option

It'd be useful to have an ephemeral option in the docs command, and possibly others, such as mdn, node, etc.  This would let someone use it as a reference for themselves, to check a property, method, or class without having to switch channels and losing focus, or cluttering up a support channel.
It could default to false, so the current functionality remains the same, and this would be an optional use.

Just use them on dm :)

Just use them in dm :)

That's... even worse than going to a bot-command channel to use.


v9.0.1

[FIXED] Issue where NULL, TRUE and FALSE are interpolated when using an IS clause. #165

@marshallmcmullen Just an FYI I had to revert the preparing when using IS clauses. I did add tests for checking that null is prepared when using it outside of an IS clause.

@marshallmcmullen Just an FYI I had to revert the preparing when using IS clauses. I did add tests for checking that null is prepared when using it outside of an IS clause.

Thanks for the heads up @doug-martin . And thanks for jumping on that fix so fast. I reviewed your changes, and you added a lot of good tests around this change. Thanks!


Element Template for CMMN

Currently there is only support for a select number of BPMN elements, this already allows for some powerful simplification and basic extensions on the modeler.
Extend support for Element Templates to CMMN (e.g. Human Tasks), allowing us to also simplify CMMN elements for non-technical business users.

We won't implement element templates for CMMN any time soon.


Color by PanelType

Set default colour based on PanelType
PanelType	| Color Hex
InteriorWall	#008000
ExteriorWall	#FFB400
Roof	#800000
InteriorFloor	#80FFFF
ExposedFloor	#40B4FF
Shade	#FFCE9D
UndergroundWall	#A55200
UndergroundSlab	#804000
Ceiling	#FF8080
Air	#FFFF00
UndergroundCeiling	#408080
RaisedFloor	#4B417D
SlabOnGrade	#804000
FreestandingColumn	#808080
EmbeddedColumn	#80806E

@ZiolkowskiJakub @michaldengusiak
The two of you are not in agreement regarding the names of panel types

@theo-armour
aa sorry you are seems I copied from other repo you right our PanelType name is a bit different here is correct PanelTypes
https://github.com/HoareLea/SAM/blob/master/SAM/SAM.Analytical/Enums/PanelType.cs
    public enum PanelType
    {
        Undefined, #808080
        Ceiling, #FF8080
        CurtainWall, #FFDDA0DD Plum
        Floor,#FFFF1493 DeepPink
        FloorExposed, #40B4FF
        FloorInternal, #80FFFF
        FloorRaised, #4B417D
        Roof, #800000
        Shade #FFCE9D
        SlabOnGrade,#804000
        SolarPanel, #FFE9967A
        UndergroundCeiling,#408080
        UndergroundSlab, #804000
        UndergroundWall,#A55200
        Wall, #FFFF8C00
        WallExternal,#FFB400
        WallInternal,#FFB400
    }

https://github.com/HoareLea/SAM/blob/master/SAM/SAM.Analytical/Enums/ApertureType.cs
    public enum ApertureType
    {
        Undefined,
        Window, #FF0000FF Blue
        Door #FFCD853F Peru
    }

@michaldengusiak
several of the types have incorrect color designations. please check and fix hex colors

@theo-armour correct, I was using System colours from ARGB now updated to Hex value

@michaldengusiak
If current version looks OK, can you close this issue?

perfect works fine!


buildah: newgidmap not found - missing dependency on uidmap?

Describe the bug
I'm using Ubuntu 22.04.2 LTS with home-manager, configured with nixpkgs 23.05.
When I run nix shell nixpkgs#buildah and then run buildah, I get the following error.
Error during setresgid(0): Invalid argument
ERRO[0000] finding newgidmap: exec: "newgidmap": executable file not found in $PATH
ERRO[0000] (Unable to determine exit status)

It's possible to workaround this by installing the uidmap in Ubuntu using sudo apt-get install uidmap.
Steps To Reproduce
As above.
Expected behavior
I wouldn't expect to have to install the uidmap package on my base Ubuntu operating system, I'd expect it to be supported via the distribution.
Notify maintainers
@Profpatsch
Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/szznid54xdgn4idxym2dsg166swah5dc-nix-info
copying path '/nix/store/szznid54xdgn4idxym2dsg166swah5dc-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.0-43-generic, Ubuntu, 22.04.2 LTS (Jammy Jellyfish), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.12.0`
 - channels(root): `"nixpkgs"`
 - channels(adrian-hesketh): `"home-manager-22.11.tar.gz"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

please fix this, otherwise buildah is not functional.

Got the same error using podman compose. Found newidmap in pkgs.shadow but it fails:
podman compose -f docker-compose-dev.yaml up -d
ERRO[0000] running `/nix/store/9lnr32dcgidlzjhkqc6qlmz6pn2abilz-shadow-4.14.2/bin/newuidmap 452432 0 1000 1 1<PHONE_NUMBER>6`: newuidmap: write to uid_map failed: Operation not permitted
Error: cannot set up namespace using "/nix/store/9lnr32dcgidlzjhkqc6qlmz6pn2abilz-shadow-4.14.2/bin/newuidmap": should have setuid or have filecaps setuid: exit status 1

Gathering related issues:
https://github.com/containers/podman/discussions/19346
https://github.com/containers/podman/issues/8929
#112902
#138423
#138423
#215332
#221084
#238070

Podman's Troubleshooting Guide regarding missing newuidmap for rootless containers:
https://github.com/containers/podman/blob/main/troubleshooting.md#9-newuidmap-missing-when-running-rootless-podman-commands


Bug: Navbar not visible properly in Mobile Version.

What happened?
When the website is viewed on Mobile version, the navbar is overlapping with other content of the website like hero section and other similar sections. Also the content like "Register & Login" are not visible in mobile version.
Would love to contribute on this issue and work upon to resolve the issue as a GSSoC'24 Contributor. Looking forward to you response and to work with Palettegram.
Add screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue

Hi @NilanchalaPanda

the navbar is overlapping with other content of the website like hero section and other similar sections

What are your suggestions to improve that?

We can make the background solid and also increase the width a bit to make it look more appealing. After that, we can add the links to it like Register and Login which are visible in desktop view, but hidden in mobile view.

Hey @Sanchitbajaj02, can you add the appropriate labels to the issue like GSSoC'24 and levels so that my contribution is considered by the GSSoC team. Looking forward to your response 🙌🏻

Hey @Sanchitbajaj02, hope you doing well. Can you add proper labels to the issue, so that I can raise PR to get it reviewed. Looking forward to your response.

Hey @Sanchitbajaj02, hope you doing well. Can you add proper labels to the issue, so that I can raise PR to get it reviewed. Looking forward to your response.

Sorry for the late reply, tags have been added

No worries @Sanchitbajaj02, thanks for the update. Will raise a PR by today.

No worries @Sanchitbajaj02, thanks for the update. Will raise a PR by today.

Since I didn't get your reply, so I am unassigning this issue

I was out of station because of some urgent family work. Have completed the issue, just about to raise PR today. You can review it once here only.

Apologies for the delay, you can again assign it, will raise the PR rn.

I was out of station because of some urgent family work
You should have said that in the issue.

The design looks good, please make a PR accordingly

I was out of station because of some urgent family work
You should have said that in the issue.

The design looks good, please make a PR accordingly

Yes.

why is this issue openned still ?


onMessage in channels and groups

I'm trying to make a plugin but when i add this it only works in private chats. Is it possible to get all messages from groups and channels?
onMessage({ message }) {
    console.log(message);
}

It should work by default in groups. Did you accidentally forget privacy mode enabled?
In channels it should work, but seemingly it doesn't, perhaps due to a bug in node-telegram-bot-api? Relevant issue: yagop/node-telegram-bot-api#489

It started working in groups


Difference between $routeProvider and $urlRouterProvider

I see in the example there are two very similar services, $routeProvider and $urlRouterProvider. What is the difference between these and the purpose that each serves? I'm also asking for my overview documentation.

@ksperling I get frustrated reading comments with poor wording. Why use words like "shim" & "fudges"? I don't want to waste any time trying to figure out what you are explaining. Please just be straightforward and use proper terminology when explaining things, so someone trying to learn about these things 2 years later doesn't have to decrypt poor internet language. Please. Thanks

LOL

I speak malayalam, my neighbouring state speaks tamil, my country speaks more than 1600 languages...... dare not to learn any one of those... or you will encouter ever harder **** words....
This 26 letter language is not our mother tongue, yet we have mastered it so well.. so respect that you MF

@jakekemple "Shim" and "Fudges" are the correct developer words. They make perfect sense to me.
@ksperling, I am having trouble undestading your comment though.
It opens with:

$routeProvider is a shim the implements ...

("the implements" should be "that implements")
Then it continues:

Current AngularJS $routeProvider is also monolithic ...

So is it monolithic, or is it a shim (meaning a very thin layer mostly emulating something else)?
I think you may mean "$urlRouterProvider is a shim that implements the current AngularJS $route / $routeProvider API...".
So we should probably use neither and just stick to $stateProvider only if we are starting a new project.

So is it monolithic, or is it a shim (meaning a very thin layer mostly emulating something else)?

@rjmunro The comment refers to two different things. The former is the implementation in Angular core. The latter was UI Router's (no-longer-supported) compatibility layer for people migrating from ngRoute.
Since $routeProvider no longer ships with any supported version of UI Router, I think this thread is moot at this point.


Outdated Browser page styling and missing footer

Should be:
https://app.zeplin.io/project/5878c3481bb7631c20cb161a/screen/5d65438ddd6f4cb2bf746a61

@rhyslbw @DominikGuzei @a-rukin done


custom events

Is it possible to add custom events (like @keydown.ctrl.enter="...") on the input?
Is it possible to overwrite the behavour of the given events? For example, when escaping (@escape) I want to not clear the field.

You can add .native on each event in able for you to override the default events.


[state] added a setter  and fixed a bug in JIntegrateTransport

I have added a setter for nq, nx, ndx, nv which will enable the user to change the state dimensions when creating a state class by inheriting statemultibody class.
Further, I have added a fix in the JIntegrateTransport binding.

Hey @spykspeigel
Could you handle the code format? (this is needed bit to merge this PR)
Do not hesitate to contact me (in private) if you are having troubles with this task.


Currentl project status

Is there any chance this will continue to get worked on, or is this an abandoned project?

I currently have no time nor motivation to work on this in the near future unfortunately.


Index prop not working: (Android)

Which OS ?
Android
Version
Which versions are you using:

react-native-swiper v1.5.14
react-native v0.61.5

Expected behaviour
swiper children have two items. I send index props 1 but 0. index open always
Actual behaviour
send to index props 1 open 1 slides.
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
<Swiper index={sliderIndex} showsPagination={false} horizontal loop={false}>
  ...
</Swiper>

Steps to reproduce

Swiper index prop 1
Swiper start always 0 index

same here

Not working for me on iOS either

same here on android

same here on android

still not working

same here

react-native-swiper/src/index.js
if(!nextProps.showsPagination) { this.scrollTo(nextProps.index) }
add this to 206 line
Maybe It will fix this issue


Add automated launching for Windows

This should be working now !

Reverted my env customization with the generic text placeholder, and fixed minor typo.  G2G now

@pieterhelsen what do you think? I think we can include this but I'd prefer that we move it into a scripts directory and maybe even separate folders for unix and windows. Otherwise the root directory becomes somewhat unorganised with start.sh start.cmd powershell.ps1 etc

I just put them there because start.sh was there.  It definitely could get very messy very quickly so yeah, it makes sense to organize now.  The idea of having a unifed "start.*" launch script at the root for all the different platforms, with any helper scripts in a ./scripts/[platform]/ directory would probably be nice because it keeps the user experience cleaner staying in the root directory for the most part if using the cmdline, But yeah, good thinking.  Let me know if you want any direct changes from me !

@fiveangle I'd prefer to merge it after we have that idea implemented to some extend. Could already be good enough to just move the powershell script to scripts folder and rename it to start.ps1 so that we only have user-facing scripts in the root and no scripts with generic non-descriptive names like powershell.ps1.

check it out and let me know what you think

Thanks @fiveangle, looks good! Have you tested it with this folder structure? Is the powershell script running in the working directory of the start.cmd script, or how does it find the main.py from the scripts folder?

yes, both cmdline and launching via shortcut. It runs from the context of the calling start.cmd directory, which allows use of relative paths, eliminating the need for user to edit the powershell script.
I just noticed an innocuous issue where I had used powershell comment notation in the cmd so fixed that (and added a small style tweak to the powershell script to follow standard powershell comment-based help context style.  should be good to go!

@pieterhelsen another failure case for the auto-black 😄 This won't work for PRs from forks, I suggest to drop the idea of automated commits and just perform a simple check, what you think?

@pieterhelsen another failure case for the auto-black 😄 This won't work for PRs from forks, I suggest to drop the idea of automated commits and just perform a simple check, what you think?

Yup, looks like that is the simplest at this time. Will revert tonight.


.gitignore not working on folder

I have src/jspm_packages/ in my .gitignore but standard scans it anyway. The same also happens when I put "ignore": ["src/jspm_packages/"] in package.json under "standard". Only when I use "ignore": ["src/jspm_packages/**"] it works. I'd like to use .gitignore however. Am I doing something wrong here? I'm on Windows if that matters.

This is supposed to work.
What version of standard are you using? Please ensure you are using the latest version. This issue was supposedly fixed in 4.1.1, as you can see in the discussion here: https://github.com/feross/standard/issues/125#issuecomment-110904019
Please run: npm install standard@latest --save-dev to ensure you have the latest version.

I use the latest 4.3.2, but just in case I have run the install command
again.

Are you sure you're not running a globally installed version that's out of date? You can update that with npm install standard -g.
I'm not sure what the issue may be, but if you figure something out, PR welcome!

@neothemachine Do you have any updates?

Sorry for the delay. I just did some more tests (with 4.4.0 installed globally):
The following patterns are handled correctly in standard in .gitignore on my system (Windows):

build.js
src\build.js
src\build.js
src\\build.js (for whatever reason; this was just a test)
src\jspm_packages*
src\jspm_packages\*

Those don't work:

src/build.js
src/jspm_packages/
src/jspm_packages/*
src\jspm_packages\
src\jspm_packages\

It looks like a regression was introduced in @mafintosh's bugfix PR from last week: https://github.com/feross/standard/pull/168
The ignore package which we use to handle .gitignore patterns does not handle windows style paths, so we have to convert windows paths to unix style before calling it. It turns out that the node.js path functions (path.resolve, path.join) always convert path separators to the system's style (\ on windows, / on unix). So when the path functions were introduced before the call to ignore, we started passing windows style paths to that module!
I should have noticed this before merging. My bad!
Fixed in 4.4.1.
@neothemachine Thanks for the list of patterns – it was very helpful.

Just tested it and it works. Thanks for fixing! :)


Feature/issue 970 different return types for adj_jac_apply

Summary
This allows adj_jac_apply to work with functors that return types other than just Eigen::VectorXds (Issue #970). It can handle double, std::vector, Eigen::VectorXd, and Eigen::RowVectorXd return types.
This also fixes issue #1015.
Tests
Test this with:
./runTests.py test/unit/math/rev/mat/functor/adj_jac_apply_test.cpp
The new return type tests are all at the top of that file (which has grown rather large)
Side Effects
Updated rev/mat/fun/softmax.hpp, rev/mat/fun/ordered_constrain.hpp, rev/mat/fun/positive_ordered_constrain.hpp, and rev/mat/fun/simplex_constrain.hpp to point to new headers (Issue #1015).
Checklist

[x] Math issue #970

[x] Copyright holder: Columbia University
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@bob-carpenter This is ready for review

Well actually anyone can take it haha, just pinging Bob cause he did the last one.

I can review mid next week, but if someone else can grab it before then, please do.


Create .npmignore

I wouldn't to take this as is, as it would add a whole bunch of cruft to the distribution package (.npmignore replaces .gitignore when considering what to include, so for a package like this one w/o build artifacts, it should always include everything in the .gitignore).
But! I have added a files section to my package.json, which will achieve what you were looking for, I think. See d75b0e4.


Issue assembling plant genome with PECAT

Hi, I am assembling a plant genome with PECAT. Since the genome is large and the assembly process takes up too much memory, I directly ran the step of "Assemble" instead of "Correct". However, I found that the genome would still be correct when running "Assemble". I would like to ask whether running only "Assemble" but not "Correct" will have a big impact on the assembly result? Looking forward to your reply!

您的邮件我已收到，我会尽快处理的，谢谢！


DX: Fix defined and Check types for CesiumJS devs

Description

Add defined.d.ts which will now get picked up and provide the correct type predicates and assertions so JS Type checking will understand things are defined after this call

Originally added in https://github.com/CesiumGS/cesium/pull/11455 which is fantastic for external contributors but local development doesn't look at the generated index.d.ts file for types like it will with the new defined.d.ts file

Before
After

Fixed Check.d.ts for local development so the TS server understands it's a default export not an exported object

This was originally added in https://github.com/CesiumGS/cesium/pull/11901 to help external users of CesiumJS, primarily the ion team

Before
After

Updated the build process to account for these files and changes. The built Cesium.d.ts and engine/index.d.ts files should be identical to the previous ones.

Issue number and link
No issue, just a small DX issue I've grown too tired of seeing

Testing plan

In main run npm run built-ts
Create a copy of Source/Cesium.d.ts and packages/engine/index.d.ts somewhere you can check later
Switch to this branch and run npm run build-ts
Do a diff of those files and ensure they are identical. This confirms our external use will be the same downstream
To test locally find a usage of defined and Check locally
Turn on the VSCode setting Check JS for type checking with the TS server (This may or may not be necessary, I'm not sure)
Verify that in main the types aren't correct as shown above, verify that in this branch they are
Turn off CheckJS if you're not ready to see a lot of other (false positive) errors scattered in our code

Author checklist

[ ] I have submitted a Contributor License Agreement
[ ] I have added my name to CONTRIBUTORS.md
[ ] I have updated CHANGES.md with a short summary of my change
[ ] I have added or updated unit tests to ensure consistent code coverage
[ ] I have updated the inline documentation, and included code examples where relevant
[ ] I have performed a self-review of my code

@javagl Would you mind taking a look at this? I think you've been looking into our type system and typescript adjacent stuff recently so you might be a good person to provide input.

I sometimes find I have to run the Restart TS Server or Reload Window commands to refresh typescript.

Yeah, I also had cases where this was necessary. But it wasnt't the root cause here. Although I did search for "defined(" and did click through many cases, I didn't click to all (13509) appearances. And apparently, I only looked at ones that didn't show the message because there was no corresponding information in the JSDoc: Only when that "thing" is defined to be a non-undefined type via JSDoc, the message appears. For example, in this snippet...
/**
 * Does not complain about s potentially being undefined
 */
function exampleA(s) {
  if (defined(s)) {
    console.log(s.length);
  }
}
/**
 * Does not complain about s potentially being undefined
 *
 * @param {string} s
 */
function exampleB(s) {
  if (defined(s)) {
    console.log(s.length);
  }
}

/**
 * DOES complain about s potentially being undefined!
 *
 * @param {string | undefined} s
 */
function exampleC(s) {
  if (defined(s)) {
    console.log(s.length);
  }
}

it shows the message for the bottommost one:

And I confirmed that this does no longer appear on the branch of this PR.

@javagl glad you were able to confirm the issue and this fixes it for you too. Do you have any other comments on this?


Streamline the terminology around core data structures

Uid and Sid have proven to be confusing to newcomers, even though they have direct analogs in other Scala compilers. In order to simplify knowledge transfer, I'll be renaming them to Symbol and Name.

Accepted benchmarking 57ae97f. This may take a while.

Finished benchmarking 57ae97f.

Benchmark
Before
After

RscNativeTypecheck
64.121 ms
64.205 ms

RscTypecheck
26.421 ms
26.399 ms

Full results are available at https://github.com/twitter/rsc/commit/63fddef2954d7b107ecd6841bef46ee0861a2245.


GH-37266: [CI][C++] Use ARROW_CMAKE_ARGS not CMAKE_ARGS

Closes: #32766
Closes: #37266

@github-actions crossbow submit -g cpp

@github-actions crossbow submit conda

@github-actions crossbow submit cpp conda

I'm going to merge now.


Database setup (MongoDB)

Create the necessary collections (e.g., users, regions)

Define data models: Create a data model for each collection using Flask-MongoEngine. This will allow you to define the structure, validation, and relationships for each collection in a clean, organized manner. For example, you can create a User model in the user.py file and a Region model in the region.py file within the models directory.

Relationships between collections: If there are relationships between collections, such as a user having a list of visited regions, establish these relationships in the data models. For instance, you can use the ReferenceField or ListField(ReferenceField()) in MongoEngine to create references between documents in different collections.

Indexes: If your application will be performing queries on specific fields, consider creating indexes for those fields to improve query performance. You can add indexes to your data models using the meta attribute in your MongoEngine model classes.

Validation: To ensure data integrity, add validation rules to your data models. This can be done using MongoEngine field options like required, unique, and custom validators.

Here's an example of how to define the User and Region models:
# models/user.py
from flask_mongoengine import MongoEngine

db = MongoEngine()

class User(db.Document):
    email = db.StringField(required=True, unique=True)
    password = db.StringField(required=True)
    visited_regions = db.ListField(db.ReferenceField('Region'))

# models/region.py
from flask_mongoengine import MongoEngine

db = MongoEngine()

class Region(db.Document):
    name = db.StringField(required=True, unique=True)
    parent = db.ReferenceField('Region')  # Optional parent region
    subregions = db.ListField(db.ReferenceField('Region'))


[ast] adding spi or iob mux

[ast] adding spi or iob mux as part of #23201
Adding #23125 changes as it wasn't approved the first time for some reason.

The linter run by kokoro currently fails because the port added to ast is not listed in the instance inside top_earlgrey. I can amend the commit to resolve this, but I'd prefer to first resolve the problem I mentioned above


'hasOwnProperty' on proxy object doesn't trigger a field access

It seems that 'hasOwnProperty' called on a proxy object does not trigger a field access subscription.
Here's an example:
valtio-test01.zip
To run:
valtio-test01 $ yarn && yarn start

Here's a live demo of the issue:
https://valtio-has-own-property-subscription-issue.jaredluxenberg.repl.co
and a Replit if that's easier for you to access:
<EMAIL_ADDRESS>

Here is a running CSB for your code, a Codesandbox account is free and much easier to share around,
Plus I dont have to get all panicky with opening a random persons zip file..
https://codesandbox.io/s/valtio-issue-392-xild4d?file=/src/index.js

https://codesandbox.io/s/valtio-issue-392-xild4d?file=/src/index.js

@DennisSmolek Thanks for the minimal repro.
@jluxenberg This is nice catch.
I didn't know ownKeys handler doesn't trap hasOwnProperty.
According to https://stackoverflow.com/questions/40451694/use-es6-proxy-to-trap-object-hasownproperty, we need getOwnPropertyDescriptor to trap it.


build: Add mono and berp to docker

To make https://github.com/cucumber/cucumber/pull/771 possible we need both mono and berp. Currently mono isn't installed and berp is checked in as a binary executable. Both are less then ideal.
Currently mono isn't supported on the same version of alpine as .NET Core SDK 2.2.2. To avoid messing around too much with APK which doesn't support mono yet I've changed the base image to ubuntu:20.04. This makes it easier to install mono.
Additionally we can now also use the node version manager to manage the node and npm versions. They'll be installed without the need for global permissions. This solves another long standing build headace.
The make file will now use mono  /var/lib/berp/1.1.1/tools/net471/Berp.exe -g gherkin.berp which is less out of the box then it was before, but the exact installation instructions for berp and mono can be found in the Dockerfile.

@vincent-psarga  the json-to-messages uses behave but I'm not sure if I see it running. I do see some unit test fail but the build doesn't fail. Not sure what this is all about.

Note to self: Try and use JAVA_Package -> io.cucumber.cucumberepxressions in berp file. This may obsolete the use of razor files for each different language implementation.

I think the tests you're talking about are some cucumber tests right ?
There's tests that are meant to faio to produce some examples of JSON with a stack trace, so we expect those failures.

I don' think its those.
mkdir -p acceptance/ruby/parameters
../../compatibility-kit/scripts/run-formatter \
                -e .json \
                -o acceptance/ruby/parameters \
                -c "../../compatibility-kit/scripts/cucumber-json-formatter" \
                acceptance/ruby/parameters/parameters.ndjson
✘ acceptance/ruby/parameters/parameters.ndjson
make[2]: [Makefile:88: acceptance/ruby/parameters/parameters.ndjson.json] Error 1 (ignored)
.
.
.
make[2]: Leaving directory '/app/json-to-messages/javascript'
make[1]: Leaving directory '/app/json-to-messages'

Running into this:
https://discuss.circleci.com/t/sourcing-bash-file-before-every-run-command/13467
Solution doesn't seem to be working.

Right..bashrc wasn't executable.

Right. Found it.
.bashrc doesn't apply when not in an interactive shell. Should move part of nvm scripts to .profile
# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

Don't forget to update Berp.

This fails on circle ci with a core dump but passes when building inside the docker container locally.
upx dist/cucumber-gherkin-openbsd-386 -o dist_compressed/cucumber-gherkin-openbsd-386
                       Ultimate Packer for eXecutables
                          Copyright (C) 1996 - 2018

upx: dist/cucumber-gherkin-openbsd-386: InternalError: can not apply reloc 'LEXEC000:1' without section 'LEXEC025'

Ah. Different executable in the new docker image so the core dump file has a different name.


Problems with multiple Google accounts login & SmartLock feature.

Android device: Samsung Galaxy S8
Android OS version: 8.1
Google Play Services version: 4.1.0
Firebase/Play Services SDK version: 28
FirebaseUI version: 4.2.0

Step 3: Describe the problem:

In case that I have multiple Google accounts (or even Facebook accounts - I haven't checked it yet):
Why does after a first login with Google, the Google accounts selection dialog shown up, but after the first login, when trying to log out and log in again in order to login with another account, this dialog isn't shown up anymore, so it keeps connecting to the last Google account which was connected by default.

How can I fix it, so the google accounts dialog will be shown up on each time after logout-login procedure?

How can I disable this Google SmartLock feature?
After login with a Google account, when I'm trying to open the providers screen in order to make a login with Facebook (or other provider), it keeps log in with the last Google account, and in the bottom of the screen it shows that Google SmartLock is responsible to that (Maybe I set by mistake)

Thanks for your help.

Please use AuthUI#signOut instead of the Firebase auth version. We handle the bug you described for you.

@SUPERCILEX is right.  Also make sure you wait for the Task<> returned by AuthUI.signOut() to complete before considering yourself signed out!

Thanks, now it's ok.
It's well explained here:
https://firebase.google.com/docs/auth/android/firebaseui
I added it in addition to the FirebaseAuth.signout() and it's working good.
By the way, regarding the "delete" method, does it totally delete the user from firebase users?

Yes, it totally deletes them from Firebase.


✨ Filled half star

Icon Request

Icon name: filled half star
Use case: For using it as a rating component
Screenshots of similar icons:

Additional comments
We already have a half star but we don't have filled so we can't use it to demonstrate the ratings like 2.5 or 3.5.

I'm closing this issue as a duplicate of #407 and #458.


Running in CPU mode (-GPU -1) but it's still looking for cutorch?

After training the network with -GPU -1, it's still looking for cutorch when I try to generate an output — any idea what I can do about this? (And are the errors under stack traceback related to this too?)
Struggling here - any help would be greatly appreciated :) thanks
/Users/lily_bradic/torch/install/bin/luajit: ...s/lily_bradic/torch/install/share/lua/5.1/trepl/init.lua:389: module 'cutorch' not found:No LuaRocks module found for cutorch 	no field package.preload['cutorch'] 	no file '/Users/lily_bradic/.luarocks/share/lua/5.1/cutorch.lua' 	no file '/Users/lily_bradic/.luarocks/share/lua/5.1/cutorch/init.lua' 	no file '/Users/lily_bradic/torch/install/share/lua/5.1/cutorch.lua' 	no file '/Users/lily_bradic/torch/install/share/lua/5.1/cutorch/init.lua' 	no file './cutorch.lua' 	no file '/Users/lily_bradic/torch/install/share/luajit-2.1.0-beta1/cutorch.lua' 	no file '/usr/local/share/lua/5.1/cutorch.lua' 	no file '/usr/local/share/lua/5.1/cutorch/init.lua' 	no file '/Users/lily_bradic/.luarocks/lib/lua/5.1/cutorch.so' 	no file '/Users/lily_bradic/torch/install/lib/lua/5.1/cutorch.so' 	no file './cutorch.so' 	no file '/usr/local/lib/lua/5.1/cutorch.so' 	no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: 	[C]: in function 'error' 	...s/lily_bradic/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require' 	sample.lua:24: in main chunk 	[C]: in function 'dofile' 	...adic/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk 	[C]: at 0x010e48b9f0

I had the same problem, you need to append -gpu -1 to the output command since it tries to use a GPU to output as well as train.

This worked, thank you!


docs: ✏ update README version

Description

Breaking Changes

JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 27.0.0-alpha.11 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 27.0.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve admin dashboard

Ideas from Lenny:
a) at least have a Crust Messaging Logo filling the space
b) Potentially also have the ability to upload wallpapers like one might for a desktop. This feature is not critical.
c) some kind of dashboard — who was active in last period, missed messages, most active channels, new members, changelog, profile-updating CTA
TBD

obsolete with onboarding feature


onClick on button not working when using Textfield

I am facing very strange issue, following is a component
import React, { PropTypes } from 'react';
import {reduxForm} from 'redux-form';
import { Grid, Cell, Card, Textfield, Button } from 'react-mdl';

class LoginForm extends React.Component {

  static propTypes = {
    fields: PropTypes.object.isRequired,
    onLoginClick: PropTypes.func.isRequired
  };

  attemptLogin = () => {
    alert('attemptLogin');
  };

  render() {
    const {fields: {username, password}} = this.props;
    return (
      <Grid>
        <Cell col={4}></Cell>
        <Cell col={4}>
          <Card shadow={0}>
            <form>
              <Textfield label="Enter Username ..."/>
              <Textfield label="Enter Password ..."/>
              <Button raised colored type="button" onClick={this.attemptLogin}>
                Submit
              </Button>
            </form>
          </Card>
        </Cell>
        <Cell col={4}></Cell>
      </Grid>
    );
  };

}

export default reduxForm({
  form: 'login',
  fields: ['username', 'password']
})(LoginForm);

onClick is not working. It works if I remove both Textfields !!
Doesn't look like I am anything wrong here.
Notice that server side rendering is setup on my project.

I'm not able to reproduce the issue with a simple example (http://codepen.io/anon/pen/MyQYxy?editors=0011)
If the issue persists on your side, could you setup a small repo example?
Thanks.


fix: NodePublishVolume checks for nil volumes

NodePublishVolume() should check both return values of Storage.GetByID()
for nil. A nil volume indicates that the volume could not be found. This
can happen if the volume is deleted while NodePublishVolume() is running.
Fixes #96

shouldn't that be checked at the callee which then does return an error? is it sometimes expected that it is nil and therefore not an error?

We use .GetByID in quite a few places, and sometimes a missing volume is a "normal" error, sometimes it's kind of expected, and explicitly not an error condition, and sometimes the CSI Spec requires a specific error code to be returned.
I don't really like this implementation either, as it's very different from normal go code. Maybe we should split it into different methods?

Or maybe just rename it to FindByID? For me, that name would make the nil, nil return value more obvious

Or maybe just rename it to FindByID? For me, that name would make the nil, nil return value more obvious

mhm, I like that. Good enough for now I'd say

@rck done. I also renamed GetByName to FindByName for the same reason.
I skimmed through the other call sites and it looks like all of them check the first return value for nil.

yeah, like that ways better. that is why one keeps 0. forever :).


haskellPackages.hevm: unbreak

Motivation for this change
This PR unbreaks hevm package. It tried to find libff under ff attribute. Some dependencies are specified to tightly and most of the tests depend on a specific version of solc.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

 Thank you very much.


New specific Guardian operations

Verified these changes in the downstream branches.
Also, please include this change in the next tc-core release, so that I don't need to start a train just for this change.

@myronkscott updated the PR after your auditing changes. PR is a lot simplified now. Please include this change in the next core release so that downstream repositories can use this change.


clasp clone shouldn't rely on .clasp.json

Expected Behavior
clasp clone 1Q3zCVgK53kEiacR0qvBYFr-A4d720UgZh3cdfDF2oFVJE5SgFiXO0AVZ
clasp clones the project.
Actual Behavior
🐷  clasp clone 1Q3zCVgK53kEiacR0qvBYFr-A4d720UgZh3cdfDF2oFVJE5SgFiXO0AVZ
(node:11110) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '.clasp.json'
(node:11110) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11110) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Cloned 2 files.

No .clasp.json settings found. `create` or `clone` a project first.

Proposed solution:
Looks like the clone function uses getProjectSettings to determine the type of file it should clone, see here: https://github.com/google/clasp/blob/master/src/files.ts#L240-L243
I propose that if there are no .clasp.json file found, then it defaults to filetype of js (let user change to ts if they want.

Ah yes, this is a big issue, let's fix this!

Note: it appears the clasp create is also broken, due to a similar error. Will try to find how .clasp.json file used to be created.


Incompatible type issue headache

Hi guys
I'm facing types incompatibility on a very simple example which I couldn't solve.
Here is my code:
-spec table_name() -> atom().
table_name() ->
    {ok, V} = application:get_env(?MODULE, table_name),
    V.

eqwalizer complains about term() non compatible with atom():
`V`.
Expression has type:   term()
Context expected type: atom()
        See https://fb.me/eqwalizer_errors#incompatible_types

I've changed my code forcing it to always return an atom(), or to fail:
-spec table_name() -> atom() | no_return().
table_name() ->
    {ok, V} = application:get_env(?MODULE,table_name),
    true == is_atom(V),
    V.

but eqwalizer still complains:
`V`.
Expression has type:   term()
Context expected type: atom() | none()
  term() is not compatible with atom() | none()
  because
  term() is not compatible with atom()
        See https://fb.me/eqwalizer_errors#incompatible_types

How am i supposed to solve this?
Help appreciated. Thanks.
$ elp version
elp 1.1.0+local

$ erl
Eshell V15.0.1 (press Ctrl+G to abort, type help(). for help)

$ sw_vers | head -2
ProductName:		macOS
ProductVersion:		14.6.1

My bad, this solves it.
-spec table_name() -> atom() | no_return().
table_name() ->
    {ok, V} = application:get_env(?MODULE,table_name),
    true = is_atom(V),
    V.

Is there a better solution?

Hey @michalmuskala  @ilya-klyuchnikov
Let's take another example which i don't know how to fix by changing the typespec of the same function:
-spec table_name() -> file:filename_all().
table_name() ->
    {ok, V} = application:get_env(?MODULE,table_name),
    true = is_list(V),
    filename:join("/tmp", V).

The error says:
`V`.
Expression has type:   [term()]
Context expected type: file:name_all()

  [term()] is not compatible with file:name_all()
  because
  [term()] is not compatible with string() | atom() | file:deep_list() | binary()
  because
  [term()] is not compatible with string()
        See https://fb.me/eqwalizer_errors#incompatible_types

It seems impossible to solve with my limited knowledge of eqwalizer.

Have you added the eqwalizer_support app to your project? It should be overriding the spec of application:get_env/2 to return {ok, dynamic()} instead of {ok, term()}, which would solve the issue.
Otherwise it's practically impossible to refine type term() to complex types such as file:name_all(). The solution would be to simply ignore the error:
-spec table_name() -> file:filename_all().
table_name() ->
    {ok, V} = application:get_env(?MODULE,table_name),
    % eqwalizer:ignore
    filename:join("/tmp", V).

Have you added the eqwalizer_support app to your project? It should be overriding the spec of application:get_env/2 to return {ok, dynamic()} instead of {ok, term()}, which would solve the issue.

@ilya-klyuchnikov  how can i enable eqwalizer_support?
Could you please show me? Thanks.


Report on open TCP network connections

Why?
we can't easily tell how many TCP sockets are open at any point in time. This goes for both downstream connections that are established and upstream connections to remote servers (which are far fewer in number)

See: https://stackoverflow.com/questions/51317122/how-to-get-number-of-idle-and-active-connections-in-go


FR: Add option to transform layout service data in sitecore-jss-proxy

Is your feature request related to a problem? Please describe.
Currently, you can't modify layout service data at the proxy level before it is returned to client-side requests or passed into the AppRenderer for SSR.
Describe the solution you'd like
Add a config option that allows for custom layout service data transformation.
Describe alternatives you've considered

Disable all host resolving on the Sitecore side when generating links/media, etc... Just emit relative URLs.
Technically, you could modify the LS output on the Sitecore side to replace host names. However, not really recommend because the host names would need to be "hard-coded" and changed via some sort of config and that config would need to be managed as you promote code through dev, staging, prod, etc...
Replace the host names via custom proxy fork.
Replace the host names in your app code.

Additional information
How hard can it be? Come on guys, just do it, you know you want to.

Note: we are working on this feature but it is part of a larger refactoring effort for the node SSR proxy that will expose more configuration options and extension points for the proxy.

Should already be possible via proxyOptions.onProxyRes


When executing download images with --include-packages no basic auth credentials error occurs

What happened:
2022-10-25T15:57:09.198Z	V6	Executing command	{"cmd": "/usr/bin/docker pull<PHONE_NUMBER>00.dkr.ecr.us-west-2.amazonaws.com/harbor/harbor-log@sha256:68b259ff53a56280004ee40b8f4d466b10b288564de1bd53e0e3711207462e5b"}
2022-10-25T15:57:09.231Z	V9	docker	{"stderr": "Error response from daemon: Get \"https://783794618700.dkr.ecr.us-west-2.amazonaws.com/v2/adot/aws-observability/aws-otel-collector/manifests/sha256:34b9ab82bda4996858e16baa2878dcd8ff5eec9365ca183292d4601d7a97260b\": no basic auth credentials\n"}

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
eksctl anywhere download images --output artifacts.tar --include-packages
Anything else we need to know?:
Environment:

EKS Anywhere Release: 0.12.0
EKS Distro Release:

Can you please authenticate through this mechanism: https://anywhere.eks.amazonaws.com/docs/tasks/packages/

Can you please authenticate through this mechanism: https://anywhere.eks.amazonaws.com/docs/tasks/packages/

@a-cool-train I followed the steps in the link but I got this error.
$ export AWS_ACCESS_KEY_ID=“REDACTED"
$ export AWS_SECRET_ACCESS_KEY=“REDACTED"
$ aws sts get-caller-identity
{
    "UserId": "AIDAUTO4IU75CBCHA77SM",
    "Account": "316678907898",
    "Arn": "arn:aws:iam::316678907898:user/ecr-reader"
}
$ aws ecr get-login-password |docker login --username AWS --password-stdin<PHONE_NUMBER>00.dkr.ecr.us-west-2.amazonaws.com
Error response from daemon: login attempt to https://783794618700.dkr.ecr.us-west-2.amazonaws.com/v2/ failed with status: 400 Bad Request

Can you please authenticate through this mechanism: https://anywhere.eks.amazonaws.com/docs/tasks/packages/

@a-cool-train I followed the steps in the link but I got this error.
$ export AWS_ACCESS_KEY_ID=“REDACTED"
$ export AWS_SECRET_ACCESS_KEY=“REDACTED"
$ aws sts get-caller-identity
{
    "UserId": "AIDAUTO4IU75CBCHA77SM",
    "Account": "316678907898",
    "Arn": "arn:aws:iam::316678907898:user/ecr-reader"
}
$ aws ecr get-login-password |docker login --username AWS --password-stdin<PHONE_NUMBER>00.dkr.ecr.us-west-2.amazonaws.com
Error response from daemon: login attempt to https://783794618700.dkr.ecr.us-west-2.amazonaws.com/v2/ failed with status: 400 Bad Request

Self answer: I found that I had to set the region to us-west-2 using aws configure. I think adding this step to the documentation would be great.

@a-cool-train
I am getting this error
Error: loading docker image mover source: image processor worker failed, rest of jobs were aborted: Error response from daemon: pull access denied for<PHONE_NUMBER>00.dkr.ecr.us-west-2.amazonaws.com/harbor/harbor-db, repository does not exist or may require 'docker login': denied: User: arn:aws:iam::316678907898:user/ecr-reader is not authorized to perform: ecr:BatchGetImage on resource: arn:aws:ecr:us-west-2:783794618700:repository/harbor/harbor-db because no resource-based policy allows the ecr:BatchGetImage action

Has your account been added?

Reopen if this is still an issue, but at the time, you didn't have access.


[FR]: Ability to pass-in testonly to py_pytest_main

What is the current behavior?
kwargs in py_pytest_main macro is only applied to the underlying _py_pytest_main rule. Thus, testonly does not get applied to the py_library rule which makes up the pytest entry point.
Describe the feature
It would be useful to be able to pass in testonly flag to the underlying py_library rule defined by the py_pytest_main macro.
Specifically here

Also, data parameter would also be nice, so I can pass in like pytest.ini


Java is difficult to recognize

Thank you for making this plugin. I don’t speak English. Please understand. I am a JAVA developer and I am trying to use this theme. I compared the color of Xcode, and I found that the color is missing in the JAVA code. Some colors make the code difficult to distinguish. It would be great if it could be the same as the new Xcode 11 version

Hi! I’m using it to develop Java as well, could you please paste a screenshot of what you see, and explain what is seen as an issue?

White background is hard to discern with CTRL +F12

Is there a way to solve it？

Hm, it’s not supposed to be white, which version is that?

I disabled it and it  returned  normal

It doesn’t behave like this for me, do you maybe have any plugins installed?

Oh,Right!I forgot I installed another theme plugin, so I disabled it and it works!

Thanks!

I guess that’s also a theme but it adds something to another theme? I can take a look why it happens.

Just checked, this happens only if the "Material Theme UI" plugin is enabled, so actually when that theme is in use, there are more things that are broken with this setup. I don't think we'll be able to fix it, since it's also a theme that customizes UI in its own way. I would say, choose any of them.


Chipmunk2D example link on website leads to 404

https://reanimate.github.io/ links to https://github.com/reanimate/reanimate/blob/master/examples/tut_glue_physics.hs but the latter doesn't exist in master anymore.

Fixed. Added a 404 checker to the CI so it won't happen again.


(MAINT) remove bundle exec from commands inside Rakefile

CLA signed by all contributors.

I'm not familiar enough with bundlr to know: I'm assuming bundle exec rake is what makes it so we don't need to have bundle exec in the rakefile? Does it propogate?


rename to filefisher

renames the package to filefisher - deprecation layer to follow

Oh - maybe I need to revert the change in setup.cfg and do a last release under the filefinder name. But I am quite sure that the rename of the folder is fine.

Or maybe not - it's not released on pypi so it's not possible to pip install filefinder...


nixos/services.kubernetes.kubelet: handle non-lower case chars in hostname

Description of changes
I discovered when enabling a minimally configured kubernetes master + node cluster on my computer that uppercase letters in the networking.hostName result in kubelet being unauthorized to set a node up. The node name ends up being a lowercased version of the hostname and that mismatch causes problems.
Errors are of the form:

leases.coordination.k8s.io "mattpolzin-scrappy" is forbidden: User "system:node:MattPolzin-Scrappy" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "kube-node-lease": can only access node lease with the same name as the requesting node

It seems like the most straight forward answer is to lowercase the system hostname when using it as a default kubelet.hostname. I also considered applying the lowercase function specifically where the kubelet.hostname is used as part of the CN for the relevant cert but seeing as how hostnames will always resolve as case insensitive there seems to be no reason not to apply it to the kubelet.hostname which is then most likely to prevent any similar problems in the future regardless of where the hostname is used.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@johanot @cafkafk would either of you be up for giving this one a look?

cc @jonpulsifer @vdemeester for potentially taking a look at this PR.

I approve of this. I just wonder if it could potentially break anything for others that rely on the old behavior. Maybe a rel note is in order?

Good idea. I can push a release note later today. Thanks.

@SuperSandro2000 I saw you reviewed as a committer on a recent PR in this module; can I ping you for a potential commit here as well?

Looks like I better re-request review now that I fixed a merge conflict with the release notes so I can claim the approvals label.

Apologies @vdemeester @johanot but could I bother either of you to re-up approval? I had to fix merge conflicts with the changelog update but everything else has remained the same.

Ah, appreciate that Sandro!


New version: WebIO v0.8.20

Registering package: WebIO
Repository: https://github.com/JuliaGizmos/WebIO.jl
Created by: @pfitzseb
Version: v0.8.20
Commit: f6af5ad3c9360238835ced862643ec2040e16edf
Reviewed by: @pfitzseb
Reference: https://github.com/JuliaGizmos/WebIO.jl/commit/f6af5ad3c9360238835ced862643ec2040e16edf#commitcomment-89402212
Description: A bridge between Julia and the Web.

Can close this in favor of https://github.com/JuliaRegistries/General/pull/71957.


Document the 'node.kubernetes.io/masq-agent-ds-read' label.

This label is added when the ip-masq-agent component is used. We need to document its purpose and usage.

/triage accepted
/language en
/sig network


Add --max_results option for 'ls'

This closes #10
Shifts the hardcoded maxResults value for the cmdList json body
into a 'max_results' option.
Note that testing against our JIRA instance, in a project with
more than 1000 open issues, suggests that the JIRA has an internal
limit of 1000 results in a single query.

Looks good, thanks!

This has been put into a 0.0.8 release:
https://github.com/Netflix-Skunkworks/go-jira/releases/tag/0.0.8


local sentiment

I want to generate  an online estimation of the local sentiments (character sentiment) in the sentences, something like the figure 4 in the paper "Generating Reviews and Discovering Sentiment".
Any help  about the way to proceed? thanks

Hi, check out the pytorch version of the code.
(neuron 2388 is the sentiment neuron in the paper, as confirmed by rakesh chada)


Optimize extract of body rules during sa-compile

(cherry picked from commit fe5fa51ef37e63fbdd8b2396894d2b1546cad1c5)
Signed-off-by: Nicolas R<EMAIL_ADDRESS>

submitted upstream as https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7665


[BUG] Unable to init more than one session at once

I have developed a Node.js code to efficiently manage multiple sessions, but I am encountering difficulties in effectively sending the QR code to the client. The central component of my implementation is a class named InstanceInitializer that haves two main methods: init and setConnectionHandler.
The init method takes a SocketConfig (variable from the class) and initializes the session using makeWaSocket(). Meanwhile, the setConnectionHandler method  listens for socket events. However, a significant challenge has emerged: the current code structure restricts the creation of only one session. Any attempt to generate additional sessions results in a server timeout issue.
public async init() {
    const { state, saveCreds } = await makeSession(this.key);
    this.authState = { state, saveCreds };
    this.socketConfig.auth = this.authState.state;
    this.instance.sock = makeWASocket(
      this.socketConfig as UserFacingSocketConfig,
    );
    await this.setConnectionHandler();

    return this;
  }

private async setConnectionHandler() {
    return new Promise<void>((resolve) => {
      const sock = this.instance.sock;

      sock.ev?.on('creds.update', this.authState!.saveCreds);

      sock.ev?.on('connection.update', async (update) => {
        const { connection, lastDisconnect, qr } = update;

        const codeError = (lastDisconnect?.error as Boom)?.output?.statusCode;
        const restartRequired = codeError === DisconnectReason.restartRequired;

        if (connection === 'close') {
          if (codeError === DisconnectReason.loggedOut) {
            return this.destroy();
          }

          if (!restartRequired) {
            logger.info({ sessionId: this.key }, 'Reconnecting...');
          }

          return this.init();
        }

        if (qr) {
          const qrCode = await toDataURL(qr);
          this.qr = qrCode;
          resolve();
        }
      });
  }

// How to use
const instance = new InstanceInitializer(data.key);
const instanceData = await instance.init();
return reply.status(200).send({ qr: instanceData.qrcode });

Not a baileys issue.


chore: improve Cypress setup

Issue or need
Cypress setup was:

Raising a linter error about namespaces: @typescript-eslint/no-namespace
Using Subject generic, when a specific type could be used

Proposed changes
Solve the linter error by moving Cypress definitions to a definition file. Must not be in types/, otherwise rest of Cypress types are removed.
Followed Cypress guide about it: https://docs.cypress.io/guides/tooling/typescript-support#Using-an-External-Typings-File
Replaced Subject with concrete HTMLMetaElement. Remove unneeded extra type declaration in commands file.

Quick reminders

🤝 I will follow Code of Conduct
✅ No existing pull request already does almost same changes
👁 Contributing docs are something I've taken a look at
📝 Commit messages convention has been followed
💬 TSDoc comments have been added or updated indicating API visibility if API surface has changed.
🧪 Tests have been added if needed. For instance, if adding new features or fixing a bug. Or removed if removing features.
⚙ API Report has been updated if API surface is altered.

#880  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @davidlj95 and the rest of your teammates on  Graphite


Cause tool to stop if the CRS is wrong.

Cause tool to stop if the CRS is wrong. This would be appropriate to include on both TEST and FINAL mode.  Take a look at the SCHEMA FAIL logic for the "graceful exit"

Completed


Refactor ThreadPool and SynchronizationContext to prepare for non-WinRT port

Also deleted a bit of code and comments about thread abort handling that are no longer applicable

@MichalStrehovsky PTLA

LGTM


CalTech_Restricted_Mapper(Islandora_OAIMapper):

Some general links to know:

Development contribution process
"CIC all tasks" list view
"CIC current sprint" status view

Specific to this mapper:

List of collections, by mapper type: https://registry.cdlib.org/?mapper_type=caltech_restrict
Endpoints:

http://glaser.library.caltech.edu/oai2
http://maccready.library.caltech.edu/oai2

Rikolti MVP project board cheat sheet:

Please @ CDL developers liberally, in the comments.
When picking up an "issue," please indicate:

a) Assignees: self assign;
b) Sprint: select the current sprint cycle;
c) Date started: indicate the start date -- see right side fields

CIC developers will likely need to create PRs (and possibly additional issues). When doing so, please also indicate the following:

a) Repository: Rikolti;
b) Milestone: "4 CIC work" (these details are required in order for them to surface in the Rikolti MVP project board); and
c) link the PR to the associated issue.

When requesting review, please:

a) include a comment & @ CDL developers; and
b) Date delivered: indicate the date delivered (field on the right)

@lthurston -- an update that CalTech is planning to migrate out of Islandora later this year. We're proposing to close out this issue, as this mapper will become obsolete once they transition into a new system. Thank you!

I'll pulled the mapper out of the PR, and am setting status to Done.


aspnetvnext transitive dependencies are not referenced

Description
Transitive dependencies that have the https://www.myget.org/F/aspnetvnext source aren't being referenced in the F# project.
Repro steps
I assume you have the Paket extension for Visual Studio installed. I'm using Visual Studio 2015.

Create an F# Library project.
Press the Convert from Nuget button.
Add the Autofac.Extensions.DependencyInjection dependency in the paket.references file.
Press the Update all dependencies button.

Expected behavior
I expect that at least the following packages are referenced in the project:

Autofac (>= 4.0.0-rc1-177) - framework: >= net451, dnxcore50
Microsoft.Extensions.DependencyInjection.Abstractions (>= 1.0.0-rc1-final) - framework: >= net451, dnxcore50
System.Collections (>= 4.0.11-beta-23516) - framework: dnxcore50
System.Diagnostics.Contracts (>= 4.0.1-beta-23516) - framework: dnxcore50
System.Runtime (>= 4.0.21-beta-23516) - framework: dnxcore50
System.Threading.Tasks (>= 4.0.11-beta-23516) - framework: dnxcore50

These are the first level transitive dependencies of Autofac.Extensions.DependencyInjection (4.0.0-rc1-177) according to the paket.lock file
Actual behavior
Only the packages from the Nuget source are referenced:

Autofac
Autofac.Extensions.DependencyInjection

Known workarounds
Edit the .fsproj file myself by adding the missing references.
Related information

Operating system: Windows 10
Paket version: 2.60.*
.NET Runtime: 4.6 or 4.5.1
Github repo with sample F# project reproducing the issue: https://github.com/vladnega/PaketTrial.git

Question
Am I missing a flag in the paket.dependencies file, or is this an actual issue?

Did you try with latest command line tool? I did not update the VS tool
yet. Will do in a minute.
On Apr 17, 2016 18:35, "Vladimir Negacevschi"<EMAIL_ADDRESS>wrote:

Description
Transitive dependencies that have the https://www.myget.org/F/aspnetvnext
source aren't being referenced in the F# project.
Repro steps
I assume you have the Paket extension for Visual Studio installed. I'm
using Visual Studio 2015.

Create an F# Library project.
Press the Convert from Nuget button.
Add the Autofac.Extensions.DependencyInjection dependency in the
paket.references file.
Press the Update all dependencies button.

Expected behavior
I expect that at least the following packages are referenced in the
project:

Autofac (>= 4.0.0-rc1-177) - framework: >= net451, dnxcore50
Microsoft.Extensions.DependencyInjection.Abstractions (>=
1.0.0-rc1-final) - framework: >= net451, dnxcore50
System.Collections (>= 4.0.11-beta-23516) - framework: dnxcore50
System.Diagnostics.Contracts (>= 4.0.1-beta-23516) - framework:
dnxcore50
System.Runtime (>= 4.0.21-beta-23516) - framework: dnxcore50
System.Threading.Tasks (>= 4.0.11-beta-23516) - framework: dnxcore50

These are the first level transitive dependencies of Autofac.Extensions.DependencyInjection
(4.0.0-rc1-177) according to the paket.lock file
Actual behavior
Only the packages from the Nuget source are referenced:

Autofac
Autofac.Extensions.DependencyInjection

Known workarounds
Edit the .fsproj file myself by adding the missing references.
Related information

Operating system: Windows 10
Paket version: 2.60.*
.NET Runtime: 4.6 or 4.5.1
Github repo with sample F# project reproducing the issue:
https://github.com/vladnega/PaketTrial.git

Question
Am I missing a flag in the paket.dependencies file, or is this an actual
issue?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1616

Just tried  doing a paket.exe update with version <IP_ADDRESS>, reloaded the project, but still got the same result.

According to https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md#list-of-net-corefx-apis-and-their-associated-net-platform-standard-version dnxcore is deprecated

so iassume we need to treat dnxcore as some .netstandard thingy or wait until they release proper package that match their own specs

I assume so. Paket was working fine prior to their .rc3 releases.

ok let's consider System.Collections:

so if you run .NET Runtime: 4.6 or 4.5.1 this should not be added. I think Paket does this correct,

tbh. it doesn't look too bad. that dnxcore stuff should not be added to NET 4.5.1 projects.
So what file is really missing?

You're right. I didn't pay attention to the runtime. Thanks.


[CLI]: Keras dropped support for internal APIs

Describe the bug

TensorFlow 2.13.0 (https://github.com/tensorflow/tensorflow/releases/tag/v2.13.0) disabled access to "internal API". I guess that the keras.engine submodule is regarded as private now.

from wandb.keras import WandbMetricsLogger

wandb: ERROR Unable to patch Tensorflow/Keras
exception while trying to patch_tf_keras
Traceback (most recent call last):
  File ".../lib/python3.11/site-packages/wandb/integration/keras/keras.py", line 86, in patch_tf_keras
    from keras.engine import training
ModuleNotFoundError: No module named 'keras.engine'

(the path is shorted by me)
Additional Files
No response
Environment
WandB version: 0.15.5
Python version: 3.11.3
Versions of relevant libraries: tensorflow==2.13.0, keras==2.13.1
Additional Context
No response

Hi @bermeitinger-b! Thank you so much for bringing this up! I have notified our engineering team regarding this issue, and have created an internal ticket for this. We are looking into the issue thanks to you. :)

Hey @bermeitinger-b, the issue might be resolved if you are trying installing wandb from the repo.

Yes, I think this worked out.
Now that keras is phased out of tensorflow and into keras-core, what's your plan with this? (You don't need to answer, this is about the issue at hand.)

Great! I am glad it works for you now.
Our engineering team is currently working on fixing the integration with Keras.

Hey @bermeitinger-b - upgrading to 0.15.10 fixes this issue. Please let me know if you have any other questions/issues in regards to this!


Question: SVDD code compatible with LIBSVM 3.23?

Based on the link on your website, I am planning to conduct some experiments using SVDD. The website links LIBSVM 3.22, however looking at the commit messages for LIBSVM3.23, it appears to me that it is only fixing python code and not any of the code use to compile the MEX file, so I suspect that I should be able to use it without issues. Am I correct to assume this?

Yes I think so
On 2019-08-05 20:14, stpr-unb wrote:

Based on the link on your website [1], I am planning to conduct some
experiments using SVDD. The website links LIBSVM 3.22, however looking
at the commit messages for LIBSVM3.23, it appears to me that it is
only fixing python code and not any of the code use to compile the MEX
file, so I suspect that I should be able to use it without issues. Am
I correct to assume this?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub [2], or mute the
thread [3]. [ { "@context": "http://schema.org", "@type":
"EmailMessage", "potentialAction": { "@type": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/147?email_source=notifications\u0026email_token=ABI3BHUIKOD2GBKGSNKZHWDQDDUBTA5CNFSM4IJSB4UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDQWCCQ",
"url":
"https://github.com/cjlin1/libsvm/issues/147?email_source=notifications\u0026email_token=ABI3BHUIKOD2GBKGSNKZHWDQDDUBTA5CNFSM4IJSB4UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDQWCCQ",
"name": "View Issue" }, "description": "View this Issue on GitHub",
"publisher": { "@type": "Organization", "name": "GitHub", "url":
"https://github.com" } } ]
Links:
[1]
https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#libsvm_for_svdd_and_finding_the_smallest_sphere_containing_all_data
[2]
https://github.com/cjlin1/libsvm/issues/147?email_source=notifications&email_token=ABI3BHUIKOD2GBKGSNKZHWDQDDUBTA5CNFSM4IJSB4UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDQWCCQ
[3]
https://github.com/notifications/unsubscribe-auth/ABI3BHRMCYZHH6UVPSPS7YLQDDUBTANCNFSM4IJSB4UA

Thank you, I think the mex compilted successfully and initial tests appear to be working. I will close this issue.


[WIP] refactor: move and merge resolver types to types.resolver

Trying to follow up this proposal: https://github.com/strawberry-graphql/strawberry/pull/489 at the point "Convert fields to StrawberryField"

Description

Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

I think this is a good change. Can you rebase against main?


:bug: Refactor saving of parameters file in DDA quant base module (#283)

iRegaring Issue #283

regression: button now return a list due to FragPipe taking two parameter files

@mlocardpaulet  Can you test it using your examples if possible? I think I could not re-submit an already existing run.

@mlocardpaulet Can you test it using your examples if possible? I think I could not re-submit an already existing run.

Thanks for working on this!
I tried it out and there is still an error message, and this time there is no pull request sent to proteobot:

@mlocardpaulet Can you test it using your examples if possible? I think I could not re-submit an already existing run.

Thanks a lot for spending time on it!
I get an error, and there is no pull request sent to Proteobot...
 And/or I am happy to test it again whenever needed.

I also got this error and had to fix it locally. I thought it was due to not having the secrets define.
@RobbinBouwmeester @wolski Do we have a description of the logic of this module? I guess this file is the one you want to refactor for the UI?

Okay. The check was added some three months ago in this commit https://github.com/Proteobench/ProteoBench/commit/f81d3960ce85363ca1f9c3f71172f4976301c391.
I guess I will just deal with the error and find a fix.

Hmm. I think the current checks do not really work for local development and the culprit is this one global variable.
https://github.com/Proteobench/ProteoBench/blob/f33006c666ed60d81658409c2c2fcf78364032d7/webinterface/pages/DDA_Quant_ion.py#L25
Is this changed on the server? @julianu
It effectively does not allow to go into the submit procedure.... I guess it is another regression due to this commit https://github.com/Proteobench/ProteoBench/commit/c597bd5eeb062f092830e49c5ba7ac239fe51641

@enryH
LOCAL_DEVELOPMENT = False
in the release 2.4
Can you set it to False or should I make the change and commit it into the branch?
Is this the only problem which prevents merging ths pull request?


mender-uboot: Reduce SPL size to fit in Scarthgap

Reduce the SPL image size a bit for Beaglebone when running with mender-uboot enabled.

Hi @drewmoseley just real minor changes:

mentioned the BBB in the title
restricted the SRC_URI changes to the beaglebone-yocto machine.

If you are okay with that, I'll merge.
Thanks!

Hm, PR seems to be broken now and I can't reopen it. Can you give it a try? Sorry for this!


Background improvements for events

Event model and database table
event_id field for flights and pireps tables (for relationships)
user_id field for flights table (for relationships)
Flight export/import update to follow model changes

Tested migration, flight export and import... Looks ok


Meteor + FlowRouter + Semantic UI

[tag: Question]
I've tried to reproduce your boilerplate code for bootstrap and FlowRouter using Semantic UI.
Everything works fine up to one point: The "Sign In" form is not in a popup, but it covers the entire main region of the BlazeLayout.
How do you get the Sign In form in a popup?
My code is at GitHub.
One more observation: if I use {{> atForm}} the Sign In popup is always shown (and twice as I call the Sign In function).
Thank you.
Tommaso

Perhaps the problem is that the initial state is signIn instead of hide.
So even though the user has not yet pressed the button Sign In the state has already switched to signIn.

Ciao Tommaso,
you can now have a look at the semantic-ui-flow-router boilerplate.
I hope it'll be of help!


Build for a project with TypeScript 5.0 multiple extends config fails

Describe the bug
If a typescript has a tsconfig.json that uses TS5.0 multiple config extension feature
{
  extends: [ "config1", "config2"],
  // omitted for brevity
}

When you try to build it, it throws the error:
error during build:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array
    at get (https://vitejsvitejspt1j-tgbq.w-corp.staticblitz.com/blitz.811716d731bce6a23db12c75fa19a3398a6a47f2.js:6:344852)
    at <anonymous> (file:///home/projects/vitejs-vite-jspt1j/node_modules/.pnpm/vite@4.2.0/node_modules/vite/dist/node/cli.js:840:113)
 ELIFECYCLE  Command failed with exit code 1.

Reproduction
https://stackblitz.com/edit/vitejs-vite-jspt1j?file=tsconfig.json
Steps to reproduce
pnpm install then pnpm build
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    vite: ^4.2.0 => 4.2.0
    vite-plugin-dts: ^2.1.0 => 2.1.0

### Validations

- [X] Read the [FAQ](https://github.com/qmhc/vite-plugin-dts#faq).
- [X] Check that there isn't [already an issue](https://github.com/qmhc/vite-plugin-dts/issues) that reports the same bug to avoid creating a duplicate.
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

It sems in general vite-plugin-dts is not supporting typescript 5.0 .

It sems in general vite-plugin-dts is not supporting typescript 5.0 .

Yeah, the new options in tsconfig such as verbatimModuleSyntax aren't also supported


Service Request by Kelly  Perry about editing existing MONITORING data

[x] Qualtrics Service Request Form was received from User
[x] e-mail acknowledging that User's Qualtrics Service Request Form was sent
[ ] Problem NOT RESOLVED
[ ] Problem PARTIALLY RESOLVED
[ ] Problem FULLY RESOLVED and Issue is Closed
[ ] Qualtrics Post-Service Request Survey was sent to User

IPA SERVICE REQUEST SUMMARY

CONTACT INFORMATION:

Kelly  Perry
Email<EMAIL_ADDRESS>Phone:<PHONE_NUMBER>

COUNTY

Ulster

WHICH FEATURE(S):

MONITORING: Creating, updated or deleting information about an implemented SMART Strategy

BRIEF PROBLEM DESCRIPTION:

I am not able to delete incorrectly entered monitoring data items with the delete button. Specifically, for strategy A1 for the 1st measure, I want to delete the 5/1/22-5/31/22 entry that has "0" as the value. For Strategy F4.4, for the 1st measure, I want to delete the 10/1/21-12/31/21 entry.

URGENCY:
0

ANYTHING ELSE TO SHARE:

@donriepurcell
Please resolve this first thing in the morning!
Thanks very much,
DL

Hi Donrie:
If you need me to follow up with Kelly, please let me know.
DL

Hi David
I don’t think so. Kelley usually gets in touch with me. I will give him up to Tuesday. As Monday is a holiday and reach out to him again.
Regards
Donrie
Sent from my iPhone
On Jun 17, 2022, at 12:52 PM, David W Lounsbury @.***> wrote:

CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report any suspicious emails.
Hi Donrie:
If you need me to follow up with Kelly, please let me know.
DL
—
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdlounsbu%2FNYHEALing-IPAtracker-support%2Fissues%2F95%23issuecomment-1159062580&data=05|01|donrie.purcell%40einsteinmed.edu|baf4f2bc2ca54e8110ab08da5081bc12|9c01f0fd65e040c089a82dfd51e62025|0|0|637910815394645697|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oboyA4RarTJ7guXEb3LX1xX%2BIVJ6XauMAbAcO%2B2os1s%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATJKBBNOCYPDTN5GMA6NPZDVPSUL7ANCNFSM5YZW5S2A&data=05|01|donrie.purcell%40einsteinmed.edu|baf4f2bc2ca54e8110ab08da5081bc12|9c01f0fd65e040c089a82dfd51e62025|0|0|637910815394645697|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AkJUNcWPF%2BmcuNhIzTvglRaEsqbqAbDL8OQOojAe3mE%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Donrie:
Can this issue be closed now? Or how should I follow up?
Best,
dl

Hi Profe
Please close it.
Regards
Donrie Purcell, PhD, MPH
Every generation has the obligation to free men's minds for a look at new worlds,....to look out from a higher plateau than the last generation.
Ellison S. Onizuka
CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and/or privileged information. Any duplication, copying, distribution, dissemination, transmission, disclosure or use in any manner of this email (including any attachments) without the authorization of the sender is strictly prohibited. If you receive this email (including any attachments) in error, please notify the sender and delete this email (including any attachments) from your system. Thank you.
From: David W Lounsbury @.>
Date: Tuesday, June 28, 2022 at 10:14 AM
To: dlounsbu/NYHEALing-IPAtracker-support @.>
Cc: Donrie Purcell @.>, Mention @.>
Subject: Re: [dlounsbu/NYHEALing-IPAtracker-support] Service Request by Kelly Perry about editing existing MONITORING data (Issue #95)
CAUTION: This email comes from an external source; the attachments and/or links may compromise our secure environment. Do not open or click on suspicious emails. Please click on the “Phish Alert” button on the top right of the Outlook dashboard to report any suspicious emails.
Hi Donrie:
Can this issue be closed now? Or how should I follow up?
Best,
dl
—
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdlounsbu%2FNYHEALing-IPAtracker-support%2Fissues%2F95%23issuecomment-1168783106&data=05|01|donrie.purcell%40einsteinmed.edu|661586b4720b408ac12c08da59108f93|9c01f0fd65e040c089a82dfd51e62025|0|0|637920224908520529|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Q68jGfAtRZ9aTPfVZV5xHfKgz1Xs%2BnE6Ofkh6A2Bv%2F8%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATJKBBP2Q5OHLSJ3OHXLMYLVRMCFRANCNFSM5YZW5S2A&data=05|01|donrie.purcell%40einsteinmed.edu|661586b4720b408ac12c08da59108f93|9c01f0fd65e040c089a82dfd51e62025|0|0|637920224908520529|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1rD1h1rmURnJtjwlIB3IbEvJQktQezhkZ%2B7ebmbgcvE%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Jar files not created if no entry-point is there in the code.

Description:
In slp5 a jar file got created even there was no entry-point. As per new project API changes, the following bad sad error is thrown if a single .bal file is compiled without an entry point.
[2020-11-24 15:02:28,597] SEVERE {b7a.log.crash} - no entrypoint found in package: .
java.lang.RuntimeException: no entrypoint found in package: .
	at io.ballerina.projects.JBallerinaBackend.emitExecutable(JBallerinaBackend.java:476)
	at io.ballerina.projects.JBallerinaBackend.emit(JBallerinaBackend.java:138)
	at io.ballerina.cli.task.CreateExecutableTask.execute(CreateExecutableTask.java:101)
	at io.ballerina.cli.TaskExecutor.executeTasks(TaskExecutor.java:40)
	at io.ballerina.cli.cmd.BuildCommand.execute(BuildCommand.java:242)
	at java.base/java.util.Optional.ifPresent(Optional.java:183)
	at org.ballerinalang.tool.Main.main(Main.java:5

Steps to reproduce:
Compile a single bal file without an entry-point.
Affected Versions:
SLP6 SNAPSHOT
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

We are removing the entry point validation with this PR.
https://github.com/ballerina-platform/ballerina-lang/pull/27164


CommonTextureMethods.set_parameter float, int, uint array/vec support

Glamour's texture classes don't provide a wrapper for glTexParameterfv, glTexParameteriv, glTexParameterIiv, or glTexParameterIuiv.

For example, you would have to directly use glTexParameterfv to set GL_TEXTURE_BORDER_COLOR