text:
Could you add support for --protein_ligand_csv and support for SMILES for ligand e.g. --ligand "COc(cc1)ccc1C#N"?

Hi Jochem,
I found it could be really useful to use the "--protein_ligand_csv" option for batch jobs.
Thank you,
Yang

Never mind, I figured out how to use the protein_ligand_csv.
Cheers,
Yang

Never mind, I figured out how to use the protein_ligand_csv.
Cheers, Yang

Hi there,
It's possible by calling inference.py directly. However, I don't think this is not convenient from a user POV. I'm working on implementing support for the protein_ligand_csv option directly from inferenceVS.py. It will basically split the csv file into separate smaller csv files, and then launch them as jobs like the other option. I need to change and check some other minor things as well to ensure compatibility. After I test it I will push the update! I hope to do this either later today, or otherwise tomorrow.

Thank you. As you mentioned, I was using the inference.py directly.
Best,
Yang
On Sun, Jul 28, 2024, 11:39 AM Jochem Nelen @.***>
wrote:

Never mind, I figured out how to use the protein_ligand_csv.
Cheers, Yang
Hi there,
It's possible by calling inference.py directly. However, I don't think
this is not convenient from a user POV. I'm working on implementing support
for the protein_ligand_csv option directly from inferenceVS.py. It will
basically split the csv file into separate smaller csv files, and then
launch them as jobs like the other option. I need to change and check some
other minor things as well to ensure compatibility. After I test it I will
push the update! I hope to do this either later today, or otherwise
tomorrow.
—
Reply to this email directly, view it on GitHub
https://github.com/Jnelen/DiffDockHPC/issues/5#issuecomment-2254559761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQQMUFCO6AELLUAXDLXO2N3ZOUGBTAVCNFSM6AAAAABLQUITWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU2TSNZWGE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thank you. As you mentioned, I was using the inference.py directly. Best, Yang
…
On Sun, Jul 28, 2024, 11:39 AM Jochem Nelen @.> wrote: Never mind, I figured out how to use the protein_ligand_csv. Cheers, Yang Hi there, It's possible by calling inference.py directly. However, I don't think this is not convenient from a user POV. I'm working on implementing support for the protein_ligand_csv option directly from inferenceVS.py. It will basically split the csv file into separate smaller csv files, and then launch them as jobs like the other option. I need to change and check some other minor things as well to ensure compatibility. After I test it I will push the update! I hope to do this either later today, or otherwise tomorrow. — Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQMUFCO6AELLUAXDLXO2N3ZOUGBTAVCNFSM6AAAAABLQUITWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU2TSNZWGE . You are receiving this because you modified the open/close state.Message ID: @.>

Hi,
I just pushed some changes. Could you try it out? The protein_ligand_csv can contain different proteins, however, it will all be stored in the molecules/ directory. But at least the --protein_ligand_csv option can now be used from inferenceVS.py, which means it can be run using slurm, and also across multiple jobs! Can I ask you what exactly is your usecase by the way? Perhaps there is an option to save the ligands per protein target, but this might complicate the code quite a lot, and perhaps in that case it's easier to use regular DiffDock?
Kind regards,
Jochem

Actually I just made some additional changes, and now it does group the output molecules per protein file (if there is more than 1). The implementation is not the cleanest, but it's functional! Please try it out and let me know if it works for you!

Wow, that was fast. Thank you for adding this feature. I will try it out.
My use case is multiple pdbs vs multiple small molecules. As long as the program can take the protein_ligand_csv, I can name each combination in the csv. I love the HPC version because it is easy to install and easy to use.
I also realize that the HPC inference.py takes the ';' separated csv instead of a regular csv.
Thanks again,
Yang

Wow, that was fast. Thank you for adding this feature. I will try it out. My use case is multiple pdbs vs multiple small molecules. As long as the program can take the protein_ligand_csv, I can name each combination in the csv. I love the HPC version because it is easy to install and easy to use. I also realize that the HPC inference.py takes the ';' separated csv instead of a regular csv.
Thanks again, Yang

Thanks for your kind words!
I'm very glad it is useful to you! I actually made some changes, and now csvs with ',' also should work fine. So please update if you haven't already! Additionally, if you use --protein_ligand_csv with inferenceVS.py, it will now also group the ligands per protein, which I think can be very useful for your usecase. The protein files are also copied to the molecules directory, but maybe that's not useful for you? Perhaps I should make that optionial?
Thanks again for the feedback!

It has been very useful to me. Thank you for the work! I have pulled the latest update and will test it out soon.
Best,
Yang

It has been very useful to me. Thank you for the work! I have pulled the latest update and will test it out soon.
Best, Yang

Awesome, I hope it works well for you!
Any feedback is appreciated!
Kind regards,
Jochem

repo: Jnelen/DiffDockHPC


text:
release

Hi,
Are you planning to release the TwFA anytime soon? Btw the article is very interesting and i would love to test it!

Thanks for attention! The code will be released soon!

Thanks a lot! I have a question about the setup of the experiment. How many test set images do you use to calculate FID for COCO-stuff and VG?

You can refer to this link.

source: gharchive/issue

repo: JohnDreamer/TwFA

license: MIT

license_type: permissive

license_source: github-api


text:
Incomplete standard output

I have come across a scenario when not all standard output is returned.  This seems to be happening on a non zero exit code, successful termination may or may not be affected.
Background
I was using shellOut to execute fastlane and it was failing for version requirements not being read.
Investigation
I did some tinkering and it seems to be related to how this function  reads the output.
private extension Process {
    @discardableResult func launchBash(with command: String, outputHandle: FileHandle? = nil, errorHandle: FileHandle? = nil) throws -> String {
        launchPath = "/bin/bash"
        arguments = ["-c", command]

        var outputData = Data()
        var errorData = Data()

        let outputPipe = Pipe()
        standardOutput = outputPipe

        let errorPipe = Pipe()
        standardError = errorPipe

        #if !os(Linux)
        outputPipe.fileHandleForReading.readabilityHandler = { handler in
            let data = handler.availableData
            outputData.append(data)
            outputHandle?.write(data)
        }

        errorPipe.fileHandleForReading.readabilityHandler = { handler in
            let data = handler.availableData
            errorData.append(data)
            errorHandle?.write(data)
        }
        #endif

        launch()

        #if os(Linux)
        outputData = outputPipe.fileHandleForReading.readDataToEndOfFile()
        errorData = errorPipe.fileHandleForReading.readDataToEndOfFile()
        #endif

        waitUntilExit()

        outputHandle?.closeFile()
        errorHandle?.closeFile()

        #if !os(Linux)
        outputPipe.fileHandleForReading.readabilityHandler = nil
        errorPipe.fileHandleForReading.readabilityHandler = nil
        #endif

        if terminationStatus != 0 {
            throw ShellOutError(
                terminationStatus: terminationStatus,
                errorData: errorData,
                outputData: outputData
            )
        }

        return outputData.shellOutput()
    }
}

This is the output when using the default implementation
[19:08:21]: -------------------------------------------------
[19:08:21]: --- Step: Verifying required fastlane version ---
[19:08:21]: -------------------------------------------------

I noticed the linux only variation and thought I would try it out on macos, I hacked the function as follows.
private extension Process {
    @discardableResult func launchBash(with command: String, outputHandle: FileHandle? = nil, errorHandle: FileHandle? = nil) throws -> String {
        launchPath = "/bin/bash"
        arguments = ["-c", command]

        var outputData = Data()
        var errorData = Data()

        let outputPipe = Pipe()
        standardOutput = outputPipe

        let errorPipe = Pipe()
        standardError = errorPipe

//        #if !os(Linux)
//        outputPipe.fileHandleForReading.readabilityHandler = { handler in
//            let data = handler.availableData
//            outputData.append(data)
//            outputHandle?.write(data)
//        }

//        errorPipe.fileHandleForReading.readabilityHandler = { handler in
//            let data = handler.availableData
//            errorData.append(data)
//            errorHandle?.write(data)
//        }
//        #endif

        launch()

//        #if os(Linux)
        outputData = outputPipe.fileHandleForReading.readDataToEndOfFile()
        errorData = errorPipe.fileHandleForReading.readDataToEndOfFile()
//        #endif

        waitUntilExit()

        outputHandle?.closeFile()
        errorHandle?.closeFile()

        #if !os(Linux)
        outputPipe.fileHandleForReading.readabilityHandler = nil
        errorPipe.fileHandleForReading.readabilityHandler = nil
        #endif

        if terminationStatus != 0 {
            throw ShellOutError(
                terminationStatus: terminationStatus,
                errorData: errorData,
                outputData: outputData
            )
        }

        return outputData.shellOutput()
    }
}

Which produces the following output
[19:04:50]: -------------------------------------------------
[19:04:50]: --- Step: Verifying required fastlane version ---
[19:04:50]: -------------------------------------------------

[!] The Fastfile requires a fastlane version of >= 2.47.0. You are on 1.91.0. Please update using `sudo gem update fastlane`.

Assuming I am not using this wrong it looks like the output is getting cut off early.

I was able to create a small example that can reproduce the problem.
ShellOutput.zip
The following output will not be observed using the default launchBash implementation but will with the hacked version (and when run from terminal).
[!] The Fastfile requires a fastlane version of >= 5000. You are on 2.5.0.

@nicholascross Awesome, thanks for this! I'll look into this within the next couple of days if no one else beats me to it 👍

authors: JohnSundell nicholascross

repo: JohnSundell/ShellOut


text:
Custom error reporting

On Unbox 2.1, I was using the invalid key error of UnboxError to declare there was something off in the semantic of the unboxed value e.g. Coordinate where latitude is a Double between -90  and 90.
On Unbox 2.2, I have found out that this is now a private method. What is the "official" way to provide custom errors? Or is this out of scope?
Thanks

@aj1310 Yeah, turns out way more people was using the different error cases in UnboxError than I thought, so I was mistaken to remove it. Bringing it back in 2.2.1 though, hopefully I can release it tonight :)

I can create a quick PR for this feature as a public extension for UnboxError with static methods if you are interested.

@aj1310 Absolutely! Had to take care of a much of other stuff for the last few days so haven't had time to look at it yet :( But go for it! 👍

Should all error types in UnboxPathError be exposed, or should it be scoped to semantic errors that a developer might throw in their custom logic? e.g. invalidValue

IMHO, consideration should be given to whether UnboxPathError should actually be exposed publicly.
This allows the library consumer to decide what to do based on the type of error, instead of assuming the app can't ever handle it (which is what making this private does assume).
At the very least, I think UnboxError should have a public initializer.
I couldn't come up with any good reasons for why this shouldn't be public, so I've submitted PR #142 that simply changes this access specifier.
:]

Fixed in Unbox 2.3. I made UnboxPathError public and reverted UnboxError to be an enum (meaning that it can easily be created from outside). Thanks @JRG-Developer & @aj1310 for your work on this! 🚀

authors: JRG-Developer JohnSundell aj1310

repo: JohnSundell/Unbox

license: mit

license_source: bigquery


text:
Can't get server to show up

First of all thank you for this amazingly comprehensive docker implementation. However, using the basic docker compose example:
version: '3'
services:
  ark-sa:
    container_name: ark
    image: johnnyknighten/ark-sa-server:latest
    restart: unless-stopped
    environment:
      - SERVER_NAME="SLG Park"
      - ADMIN_PASSWORD=
    volumes:
      - './server:/ark-server/server'
      - './backups:/ark-server/backups'
      - './logs:/ark-server/logs'
    ports:
      - 7777:7777/udp
      - 7778:7778/udp
      - 27015:27015/udp
      - 27020:27020/tcp

Running on an external AlmaLinux 9.3 server. Have the ports opened in firewalld with a service definition:
/etc/firewalld/services/ark-server.xml
?xml version="1.0" encoding="utf-8"?>
<service>
  <short>ark-server</short>
  <description>Ark Survival Ascended Game Server Ports</description>
  <port protocol="udp" port="7777"/>
  <port protocol="udp" port="7778"/>
  <port protocol="udp" port="27015"/>
  <port protocol="tcp" port="27020"/>
</service>

And it added to my network zone:
internal (active)
  target: default
  icmp-block-inversion: no
  interfaces: wg0
  sources:
  services: ark-server
  ports:
  protocols:
  forward: yes
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:

And server seems to startup fine:

But can't find the server trying to connect on https://ark-servers.net:

But connecting with a sibling server it seems to make a connection on the ports:

And Checking externally it shows open:

But nothing in ark either, after having the server running for 20 minutes:

So I'm not sure what I've done wrong or need to do.

Figured out the issue, the server is using the incorrect network interface to broadcast itself than the one I'm actually listening from.
This is the IP Address of my public facing interface:

and this is the IP address reported by battlemetrics.com:

So this is a networking issue on my end.

Hey just saw your Issue.
Looks like you got everything resolved.
Sounds like it was an OS specific networking config issue, but If you think I should document how to resolve the issue, just let me know and I'll add it to the Wiki.

It probably could benefit from a brief mention as to potential reasons why an Ark server isn't showing up in game or on the ark-servers.net website.
In my case it was:

I have a main server with a public IP address that acts as a router and forwards requests on specific ports to specific servers in the cluster.
The server that is housing the Ark server has it's own internet connection, separate from the connection used to handle and respond to requests.
Because of that whenever the server goes to autoregister/ list itself it uses the server's internet to do so, and so it gets the IP address of the internet connection, and when the listing service tries to check the server on that IP:port it gets no response because that port isn't being forwarded nor is it open on the firewall.

Currently I'm learning how to setup a docker network, and the routing rules to make sure all connections from the container go through the main request router server's connection. I'll post the solution once I have it figured out.
I'm able to successfully play on my server though by opening the console in Ark and typing open ip:port example open 100.80.0.230:7777. Would be worth mentioning trying that if you don't see your server show up.

I got the whole networking bit sorted, and the docker image is being routed through my main server's network, but it still doesn't show up on the unofficial list in game.
https://www.battlemetrics.com/servers/arksa/25005065
Not sure what I'm doing wrong?

I did a quick couple of tests to see if I could recreate your issues.
For reference the tests below where done with Windows 11 using Docker via WSL2 (quickest setup I could use to test with). I have port forwarding setup to match the config for each respective docker compose file.
Test 1
I started the advanced-docker-compose.yml example without any modifications. Before hand I made sure my port forwarding matched the non-default ones in this compose file (8888,  8889, 27016, 27021). I let Docker create fresh Docker Volumes for storage.
I can see the server in the in-game server browser under Unofficial if I enable Show Player Servers:

I also was able to find it on Battle Metrics, only thing special I had to do was search for the IP, for some reason it did not appear when searching for the server name itself.
https://www.battlemetrics.com/servers/arksa/25018486

Test 2
I started the basic-docker-compose.yml example without any modifications. Before hand I made sure my port forwarding matched the default ones in this compose file (7777,  7778, 27015, 27020). I let Docker create fresh Docker Volumes for storage.
I can see the server in the in-game server browser under Unofficial if I enable Show Player Servers:

I also was able to find it on Battle Metrics, only thing special I had to do was search for the IP, for some reason it did not appear when searching for the server name itself.

Next Steps
So Test 2 is the most similar setup to the Docker Compose you posted in your first comment. I know you kept ADMIN_PASSWORD blank in the compose file you posted most likely to prevent posting secrets; however, for the sake of just validating what happens if it really is empty I did a quick test with basic-docker-compose.yml with ADMIN_PASSWORD blank. It made no difference and I still saw the server in the in-game server browser and Battle Metrics.
I'm a little conflicted on the next steps. It's hard for me to say that I believe its an issue with the container image itself. For one, it sounds like you were able to use open ip:port via the in-game console and connect to the server locally. At the same time, it looks like you verified the ports are opened externally. It's my gut feeling that it is still something on your network side and not specifically a container issue.
Here are a few things to try:

Verify your Port Forwarding and Firewall rules again.

I know this may be beating a dead horse, but I can't count the number of times I screwed myself up missing a Forwarding/FW rule.

I'm not sure if your server and game client are on the same host, but try connecting from another local host that isn't running the server itself.
Your setup sounds relatively complex. From what I gather your using some type of reverse proxy/load balancer to route traffic to different servers. I have used NGINX to load balance TCP/UDP connections in the past and it sounds like that's what you're are doing.
For starters, verify your proxy/lb config and make sure its using the correct port and connection types (TCP/UDP).
If possible, try to simply your setup and remove the proxy/lb from in front of your game server to see if that is the source of the issue

I'm not sure if its worth perusing, but if you believe it could be an issue with AlmaLinux itself; I could spin up a AlmaLinux VM and poke around to see if the OS itself is somehow causing an issue with the container.
Just let me know if anything above helps, or if there is more details I could use to test on my side.

AlmaLinux 9.3 Test
I haven't used AlmaLinux before, but it was fairly straight forward to setup.
I created an AlmaLinux 9.3 VM on one of my ProxMox hosts.
ProxMox Host (Version 7.14-17)

ISO - AlmaLinux OS 9.3 Boot ISO
CPU - 2x Intel Xeon Gold 6146

VM Assigned 4 Host Cores

RAM - 768GB DDR4 @ 3200Mhz

VM assigned 16GB

Storage - 8 x 512GB SATA SSDs in 4 Mirrored VDEVs That Are Then Striped (2TB Usable)

VM Assigned 100GB

Network - Connected to my default Linux Bridge that is attached To a Linux Bond with two ports in active-backup mode

VM connected to the default Linux Bridge via a VirtIO NIC
Tagged to my external service VLAN
Port Forwarding and Firewall rules allow all game port traffic directly to the VM
I did not touch any of the network or firewall configs inside the VM, so running with defaults across the board

Once the VM was created I installed Docker and Git, then cloned the repo. I started the advanced-docker-compose.yml without any modifications to the compose file. The image was pulled and created without issue.
I found the gamer server in the in-game server browser and in Battle Metrics.
If there are some specific AlmaLinux network config settings you want me to try let me know; however, I still believe it has something to do with your networking config/infastructure.

You really went above and beyond with testing for me, thank you so much.
But alas as you said another issue with my networking setup: https://serverfault.com/questions/1151016/docker-container-loses-connection-after-short-time-routed-through-host-vpn-inter
My docker connections work fine for a short period, probably for the validity of the ARP table, then no connection out. Explains how it shows up in the battlemetrics but not in game.

All Good Now! Thank you so much for the help, and sorry about the trouble.

repo: Johnny-Knighten/ark-sa-server


text:
TokenCardWidget stateless

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Change widget to bloc architecture. Removed widget state.
Depends on https://github.com/JoinSEEDS/seeds_light_wallet/pull/846
✅ Checklist

[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
This widget came from V1 and used state, moved the state into bloc
🙈 Screenshots
👯♀ Paired with
nobody

This component must be a StatefulWidget.
Why:
When you need to use a (TextEditiController, AnimatedController, ScrollController, Timer, Streams, etc..) any of this mechanis you need a StatefulWidget in order to initialize them and dispos them.
Otherwise there will be memory leaks for not releasing these mechanisms even if the widget is unmounted.

Ok I removed the controller, and will keep this in mind for next time

source: gharchive/pull-request


text:
"Close scanner" disappears

Quick video: https://i.ibb.co/8x1BPNs/ezgif-1-56e02b9f70df.gif
Originally posted by @gitgauner in https://github.com/JokeNetwork/vegancheck.me/issues/44#issuecomment-985339094
On iOS this works perfectly fine, could someone with an android device confirm this?

https://user-images.githubusercontent.com/4144601/144582082-b0312412-cb33-4e8c-9f77-82a7a9ff02a9.MOV

@gitgauner Could you please check now? I've pushed an update to the PWA.

Appears to be working:

authors: gitgauner philipbrembeck


text:
Is this the only active and open source way

Is there any other ways to embed modern web runtime in android, like wechat app. I think it's a common request but only found this nice solution. Can't believe it's a project started in 2024.

其他方案，据我所知就只有x5内核或者自己编译chromium内核了，但是这些方案需要有人一直去维护才能保证chromium内核一直最新，所以我想到可以直接在应用内升级webview内核apk，这样就能让内核的功能是最新的

authors: JonaNorman tkkcc

repo: JonaNorman/WebViewUpgrade


text:
List index out of range

Since prev. version I am not able to use the component any more. I am getting this error
2022-12-16 20:06:11.415 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry .... for webuntis
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/webuntis/init.py", line 49, in async_setup_entry
await server.async_update()
File "/config/custom_components/webuntis/init.py", line 133, in async_update
await self._async_status_request()
File "/config/custom_components/webuntis/init.py", line 183, in _async_status_request
self.next_class = await self._hass.async_add_executor_job(self._next_class)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/webuntis/init.py", line 292, in _next_class
lesson = lesson_list[0]
IndexError: list index out of range

When is the next time there is a school lesson?

Has anything changed with version v0.3.1?

It is possible, that the service does not provide any lessons right now, because in the app there´s also only the next day visible and currently there is nothing, because it is weekend.
After upgrading to 0.3.1 the error changed to:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/webuntis/utils/datetime_utils.py", line 47, in _format
    int(obj)  # is this already formatted?
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/webuntis/__init__.py", line 49, in async_setup_entry
    await server.async_update()
  File "/config/custom_components/webuntis/__init__.py", line 133, in async_update
    await self._async_status_request()
  File "/config/custom_components/webuntis/__init__.py", line 209, in _async_status_request
    self.next_day_json = await self._hass.async_add_executor_job(
  File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/webuntis/__init__.py", line 366, in _next_day_json
    table = self.session.timetable(start=day, end=day, **timetable_object)
  File "/usr/local/lib/python3.10/site-packages/webuntis/utils/misc.py", line 146, in inner
    result_class, jsonrpc_method, jsonrpc_args = func(self, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/webuntis/session.py", line 220, in timetable
    parameters = self._create_date_param(end, start,
  File "/usr/local/lib/python3.10/site-packages/webuntis/session.py", line 443, in _create_date_param
    json_start = utils.datetime_utils.format_date(start)
  File "/usr/local/lib/python3.10/site-packages/webuntis/utils/datetime_utils.py", line 37, in format_date
    return _format(obj, 'date')
  File "/usr/local/lib/python3.10/site-packages/webuntis/utils/datetime_utils.py", line 49, in _format
    return int(datetime.datetime.strftime(obj, form_string))
TypeError: descriptor 'strftime' for 'datetime.date' objects doesn't apply to a 'NoneType' object

It is possible, that the service does not provide any lessons right now, because in the app there´s also only the next day visible and currently there is nothing, because it is weekend.

That is what i was thinking. Mabey there is a problem with the WebUntis server you are using.
I will try to catch the error so it is not making trouble.

fixed error in v0.3.2

authors: JonasJoKuJonas rschueler

repo: JonasJoKuJonas/homeassistant-WebUntis


text:
🛑 Homepage is down

In 7b98853, Homepage (gymnasium-allermoehe.hamburg.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 514e903.

repo: JonasSchaber/uptime


text:
Api dev

added in a bug fix

merged in code as practice

repo: JonathanArrance/kubernetes-mgmt


text:
Make timestep configurable and add a variable timestep

Closes #5
This makes the physics timestep configurable by introducing the PhysicsTimestep enum resource that configures how the value of the new DeltaTime resource is computed at each physics frame. Previously the timestep was just hardcoded at 1.0 / 60.0 (which is still the default).
PhysicsTimestep currently looks like this:
pub enum PhysicsTimestep {
    Fixed(Scalar),
    Variable {
        max_dt: Scalar, // Required to make sure objects don't teleport around due to large delta time
    },
}

In the future, it could be interesting to also make time scale configurable to allow slowing down and speeding up time.

Yeah, I agree that stepping on demand could be really useful. We should definitely implement it properly at some point.
I added just a couple comments to hopefully clarify what the while-loop does. I think I can merge this now :)


text:
It reports .cer as a secret in failed test results. Is .cer file a secret?

After running this task in ADO pipeline , it scans .cer files as as secert and reports as a failed test.
Just wanted to understand why it's so.

These were ported from the creds an utility (rule id = "CSCAN0020") which does detect files that contain a certificate.
Credscan contains some additional logic to decode the certificate to see if the private key is included in the file. Gitleaks doesn't support these additional parsers, so this rule is more likely to cause false positives in gitleaks than in the original credscan version of the rule.

Thank you for replying and clarification!

repo: JoostVoskuil/azure-devops-gitleaks


text:
🛑 Joris - Perso is down

In 8827c01, Joris - Perso (https://joris-parmentier.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Joris - Perso is back up in 8bfdec4.

repo: JorisPV/Status


text:
Create a .exe file

To make it easier for the user, I thought of making it a full console app and just providing the credentials (that wouldn't need to be stored anywhere) and the options wanted.

Closing the issue as it's probably a better idea to group all the ideas I have in a GitHub project, so this Issue section serves only to investigate and solve bugs.

repo: JoseDeFreitas/CodewarsGitHubLogger


text:
Time to go calculation broken for some numbers

The arithmetic expression for calculating the time to go while scrubbing is broken, as some sh implementations (can) interpret numbers with leading zeros as octal numbers. This can easily happen with two digits hours, minutes and seconds, resulting in error messages like Illegal number: 08 or 09.
https://github.com/Josef-Friedrich/check_zpool_scrub/blob/df24487bfad11455dda48cd0fac42fd6b7b935b4/check_zpool_scrub#L443
A quick/dirty/bad hack would be to remove a single potential leading 0 for these only. I was looking for a clean sh only solution (removing an arbitrary number of leading zeros, but keep the last one if the string is zeros only) but did not find a good one. :(

Thank you for reporting this. Can you please review 9fc9373f455a0e4980d87e936e2036c6041addf0.

Seems to work (for me), thanks!
(Some side note: I must admit that it also seems pretty painful. For testing I installed some other sh implementations, from what I've seen the script actually works only with bash and dash anyway. SECONDS is actually a builtin variable in bash, but it seems ok due to the (non-standard?) local. Other typical system scripting languages like Perl and Python also have their ugly sides for sure, but sh somehow seems just that, even more painful when doing more than just running some commands. This is not supposed to be a rant, it's just interesting for me that what previously was more like a feeling is getting verified as I look deeper into it.)

authors: Josef-Friedrich taam


text:
feat: move --report-unused-disable-directives cli option to .eslintrc.cjs

PR Checklist

[x] Steps in CONTRIBUTING.md were taken

Overview
I don't know this is intended, but generally forks include me preferred set in config file rather than cli options.
thanks take a look the PR!

OH and createESLintRC.ts needs to include these changes. I'll send that up too.

@all-contributors please add @ryota-murakami for code.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙

@JoshuaKGoldberg Thank you for confirm the PR!
I'm using this template with own customize(swap to https://github.com/laststance/eslint-config-ts-prefixer etc) although there are a lot of points which should I learn.
Especially create new app and migrate existing projects CLI script are great resource for me!
👋

authors: JoshuaKGoldberg ryota-murakami

repo: JoshuaKGoldberg/create-typescript-app


text:
WeConnect UI templates

What does this PR do?
Adds UI templates for the WeConnect project.
Description of Task to be completed?
The front end UIs should be able to show how all the necessary processes of the WeConnect web app would be performed.
Tasks achieved in this PR

[ ] Landing page

[ ] Login page

[ ] User homepage where logged in users are redirected to. Users can manage their businesses and view reviews feed on this page. The add and edit business are modal forms.

[ ] A business profile page where users can view the business info and also write more reviews.

[ ] A business listing page for discovering new businesses and easier search of the listed businesses.

How should this be manually tested?
Check out joshuaondieki.github.io and navigate through the UIs for manual testing. Alternatively, clone this repo and test locally on your computer.
Resources & Libs
The material UI by Google was used to accomplish this task. Specifically, I used Materialize CSS
This Pivotal Tracker board was used to plan and manage the tasks.

Thanks, @moki-daniel for reminding me about the comments. Will do so ASAP

-Nice concept of design
-Good choice of color

-nice layout. I love the color blending.

I've commented on your repo

Good job at Gitflow
Check on the site's responsiveness on small screens

I'm not sure, but are you using one to commit all these changes?? What do you think about creating a branch for every design idea and fixes??

@artorious Have you got any specific suggestion to make the design more responsive? Like, replacing X property with Y for component Z

@cosmas28 I thought of branches but I've been working on different design ideas simultaneously. This may lead to conflicts if I use more than one branch. Your idea is great :ok_hand: and I will use it for features that are less or not directly related. Probably in the flask API

Consider ....

repo: JoshuaOndieki/weconnect


text:
Data Report (Preliminary) and Automated Testing

Summarize project's objective, data sources, data processing, and results of data pipeline in a report

data-report.pdf has been submitted.

system-test.py created as testing environment using mock data. test.sh also added into the project folder

repo: Jovinjo/made-rep


text:
Categories cannot be retrieved on the home page

Connect the categories on the home page to the server.

Now temporarily fixed. See f5cfb20

Now fixed in 56d24be

Close as issue resolved

authors: Anjun-Feng wenshilanR


text:
🛑 Jpsern.com is down

In 445460a, Jpsern.com (https://jpsern.com) was down:

HTTP code: 500
Response time: 3087 ms

Resolved: Jpsern.com is back up in e81b5e3.

repo: Jpsern/upptime


text:
Requests to validate LE certificate are getting redirect 302 responses

I am trying to run multiple containers via docker-compose V2.  I have read everything I can find on this and have an "almost" working setup.
I am using the latest nginx.tmp which seems to be https ready.  Everything works well for non https:  I then spin up another container requesting a cert for a.b.com on port 9999.  I can see docker-gem doing its thing and then LE companion springs into life and builds a cert request:
letsencrypt-nginx-proxy-companion    | 2017-03-03 12:51:21,600:INFO:requests.packages.urllib3.connectionpool:207: Starting new HTTP connection (1): a.b.com
nginx                                | a.b.com 172.18.0.1 - - [03/Mar/2017:12:51:21 +0000] "GET /.well-known/acme-challenge/UiZSeoE1y-j4TIeFr6AtOrkZeZoSsQBASXaLOkwqQg8 HTTP/1.1" 302 0 "-" "python-requests/2.8.1"
nginx                                | a.b.com 172.18.0.1 - - [03/Mar/2017:12:51:21 +0000] "GET / HTTP/1.1" 200 3278 "-" "python-requests/2.8.1"
letsencrypt-nginx-proxy-companion    | 2017-03-03 12:51:21,613:WARNING:simp_le:1303: couchpotato.merwood.com was not successfully self-verified. CA is likely to fail as well!
letsencrypt-nginx-proxy-companion    | 2017-03-03

What I can see is happening is that all requests are being redirected to the child site even those for .well-known
I have a conf.d entry looks like this:
# a.b.com
upstream a.b..com {
                ## Can be connect with "nginx-proxy" network
            # media_abcom_1
            server 172.18.0.6:5050;
}
server {
    server_name a.b.com;
    listen 80 ;
    access_log /var/log/nginx/access.log vhost;
    include /etc/nginx/vhost.d/default;
    location / {
        proxy_pass http://a.b.com;
    }
}

and vhost.d:
## Start of configuration add by letsencrypt container
location /.well-known/acme-challenge/ {
    allow all;
    root /usr/share/nginx/html;
    try_files $uri =404;
    break;
}
## End of configuration add by letsencrypt container

My read on this is that vhost.d is supposed to act as a global override intercepting every request for .well-known/acme-challenge but it is not.
I read an issue post elsewhere (so many I forget actually where) that suggested adding the following to config.d/default.conf:
location /.well-known/acme-challenge {
            root /usr/share/nginx/html;
            break;
    }

I'm quite confused about why the vhost.d is not working.

Being more than two years old, I don't think this is still relevant so I'm closing the issue, feel free to re-open if it still is.

authors: buchdag cannfoddr


text:
CodeGPT on remote ssh session not working

Explain the code on remote ssh vscode session doesn't work. It picks the buffer from local vscode instance.

UI do not even load over ssh

I have the same issue. UI doesn't load when connecting to remote host.

Same is true for me

me to

same here

same here

UI do not even load over ssh

the same but:
i haven't the "loading" text and animation. just black screen

There are two temporary solutions that work for version 3.5.73 (tested only on this version):

Open Extension Locally: Simply open the extension on your host for one window. After that, you can use it via remote SSH.
Port Forwarding: Forward port 54112 from your remote machine to your host. For example, on Windows:
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=54112 connectaddress=<your_remote_ip> connectport=54112
However, with this method, the extension on your host won’t work unless the remote extension is also opened.
You can delete the forwarding by:
netsh interface portproxy delete v4tov4 listenaddress=127.0.0.1 listenport=54112

authors: KaiHangYang SHXiao-Stella Zboule alecmyres davidtavarez gaetanquentin khpbvo ltd0924 sbhal

repo: JudiniLabs/code-gpt-docs


text:
Fix kwargs in LibCloud.Storage

I am passing keyword arguments to the list_container_objects function in LibCloud.Storage.
Directly calling the storage object with keywords:
storage.o[:list_container_objects](cont, ex_prefix="a6531728")
1-element Array{Any,1}:
 <Object: name=a6531728-ba60-11e6-1ba9-478c5c1e04cb, size=4872874, hash=bd6d756fe1109262a1417a16b7ce72ba, provider=Amazon S3 (eu-west-1) ...>

however:
list_container_objects(storage, cont, ex_prefix="a6531728")
0-element Array{Any,1}

The fix may need to be applied elsewhere in the codebase, though since I don't use the other functions at present I'm hesitant to modify them.

Current coverage is 58.80% (diff: 100%)

No coverage report found for master at 27fe9b7.

Powered by Codecov. Last update 27fe9b7...1ae7824

Changes Unknown when pulling 1ae782453e4bae12b49ee661d7f261b2a57ac065 on samuelpowell:kwargs into ** on JuliaCloud:master**.

Changes Unknown when pulling 1ae782453e4bae12b49ee661d7f261b2a57ac065 on samuelpowell:kwargs into ** on JuliaCloud:master**.

Yes, there appear to be other places that need the same fix.
Thanks!

authors: codecov-io coveralls samuelpowell tanmaykm


text:
Re-work internal code of ABM stuff, to allow interactive evolution

The parameter slider app needs to be updated still. On Monday.

Can you give me push access here? I can fix this up—it's definitely an issue.

Can you give me push access here? I can fix this up—it's definitely an issue.

I gave you access. However the daisyworld model worked for me

I gave you access. However the daisyworld model worked for me

Yes, daisyworld works because shape color and size are all functions.

Yes, daisyworld works because shape color and size are all functions.

so all okay now? everything works?

so all okay now? everything works?

Is there a reason why abm_plot displays the figure? It's getting annoying, since it displays the figure in atom which overrides the resolution I set manually.

Is there a reason why abm_plot displays the figure? It's getting annoying, since it displays the figure in atom which overrides the resolution I set manually.

good point; no there is no reason to display the figure

good point; no there is no reason to display the figure

Also, I'm having issues with extending things, but am only working sporadically.

Also, I'm having issues with extending things, but am only working sporadically.

what kind of issues?

what kind of issues?

At the moment, updating plots from abm_plot.
For schoolyard.jl
f, abmstepper = abm_plot(model, as = 15, scatterkwargs = (xlims = (0, 100), ylims = (0, 100)))
ax = contents(f[1, 1])
scatter!(ax, [50], [50]; color = :red)

I can't get the additional scatter call to work. It's fine on its own, or an empty plot, but not with the one returned here.

At the moment, updating plots from abm_plot.
For schoolyard.jl
f, abmstepper = abm_plot(model, as = 15, scatterkwargs = (xlims = (0, 100), ylims = (0, 100)))
ax = contents(f[1, 1])
scatter!(ax, [50], [50]; color = :red)

I can't get the additional scatter call to work. It's fine on its own, or an empty plot, but not with the one returned here.

Necessary progress have been done here to warrant a bump in patch version. I'm tagging now.

Necessary progress have been done here to warrant a bump in patch version. I'm tagging now.

authors: AayushSabharwal Datseris Libbum


text:
accumulate on Metal sometimes fails due to weaker @synchronize guarantees than on other platforms

Possible fixes:

From @maleadt on Slack: "the default KA.jl @synchronize for Metal.jl calls threadgroup_barrier with flag=Metal.MemoryFlagThreadGroup, i.e., it only orders memory operations to threagroup memory. If it's device memory, you could try MemoryFlagDevice"
Implement algorithm without decoupled opportunistic lookback.

Leaving here as a note: using Metal.MemoryFlagDevice does not help (though it probably makes it slower); the problem is that Metal doesn't flush caches of device arrays after synchronize statements. It seems opportunistic lookback just cannot be implemented on Macs (see post and issue); turns out they had to change the WebGPU standard because of it. Isn't parallelism fun when your algorithm has a 0.38% chance of returning cobblers on just one out of 5 backends?


text:
Unify documentation

In an effort to get the documentation into a unified format I am asking for a few ideas and comments.
currentyl we are often documenting exp!, which I would like to avoid/refactor to provide the user with a consistent documentation. I would like to propose the following – on the example of exp but indeed for all functions with both mutating and non-mutating forms as well as all functions that might have formulae involved that are nice to have in the documentation.
As @sethaxen demonstrated nicely I would like to add a docstring to exp(M,args...) for the manifold Mthat documents the mathematical formula and maybe a reference if it's not a textbook manifold/metric. With that all non-mutating functions have a nice documentation that shows up in the docs. The documentation should always also list the t argument as a case.
This yields a nice overview over available functions in a consistent format.
Additionally either in the page for the API (ManifoldsBase.jl) or on a seperate page (implementation details, or how-to-implement-your-onw-manifold.md) we could list the approach of implementing a mutating one that the non-mutating one uses (including the similar_result approach.
If you agree to this, I can use my time travelling to do a unifying rework on the documentation once the next manifolds are finished. I will then also look that the docs and most implementations follow the Code style Blue guidelines (shall we add their icon/banner then in the readme?)

Yes, I think unifying the style of documentation is a good idea. I agree with this approach. I can make some documentation on adding new manifolds.
We can officially use the blue style guidelines (and I like that banner). As a part of updating our code to this style we should probably rename files to lower_case_with_underscores, although I'd wait with it until we have fewer open PRs as renaming files may cause lots of conflicts.

I like this plan!

As a part of updating our code to this style we should probably rename files to lower_case_with_underscores, although I'd wait with it until we have fewer open PRs as renaming files may cause lots of conflicts.

Is this part of blue style? The general rule I like is that a filename might be camel-case if a single type is declared in it, but that would rule out a number of our manifolds cases, since auxiliary types are sometimes declared. So I agree that for uniformity, snake-case might be the right way to go.
I also am sitting on a massive PR to standardize docstrings/code formatting and make them follow blue style, but I'm sitting on that until things settle a little more.

Is this part of blue style? The general rule I like is that a filename might be camel-case if a single type is declared in it, but that would rule out a number of our manifolds cases, since auxiliary types are sometimes declared. So I agree that for uniformity, snake-case might be the right way to go.

No, I haven't seen anything about file naming in the blue style guide but I'd like to have some consistent rules for naming files. We can have one main file per manifold that uses CamelCase but then it should be documented somewhere (although using snake_case everywhere looks a bit more consistent).

Currently the scheme seems to be roughly “manifolds in camel case others in snake case”. I would be fine with a subfolder manifolds to divide it and then go to camel case for example for all files? I like camel case for example for SymmetricPositiveDefinite.jl compared to its snake case for the manifold. Also that way file names of manifolds are consistent with their types.

Currently the scheme seems to be roughly “manifolds in camel case others in snake case”. I would be fine with a subfolder manifolds to divide it and then go to camel case for example for all files? I like camel case for example for SymmetricPositiveDefinite.jl compared to its snake case for the manifold. Also that way file names of manifolds are consistent with their types.

OK, having a separate folder for manifolds and using CamelCase for files there looks fine.

authors: kellertuer mateuszbaran sethaxen


text:
New window takes away focus from REPL

It would be great if focus could stay in the REPL when plotting.

In Atom, putting a semicolon after all but one plotting command alleviates the problem a bit

Copying what I said on Slack: you can try GLFW.WindowHint(GLFW.FOCUS_ON_SHOW, 0), which should force GLFW not to cause the window to be focused when opened.

it'd be a nice thing to add as an option though

Out of curiosity, any reason why this shouldn't be the default behavior?

Oops.
julia> using Makie
julia> Makie.GLMakie.GLFW.WindowHint(Makie.GLMakie.GLFW.FOCUS_ON_SHOW, 0)
ERROR: UndefVarError: FOCUS_ON_SHOW not defined
Stacktrace:
 [1] getproperty(::Module, ::Symbol) at .\Base.jl:13
 [2] top-level scope at REPL[2]:1

In GLMakie 0.4.0 the focus is left to REPL, and now I want to have it back to the window.
I do open an window in a for-loop and everytime the window opens without focus. How can I open the window with focus?

Have a look at: https://github.com/JuliaPlots/Makie.jl/blob/master/GLMakie/src/rendering.jl#L69

authors: EricForgy MariusDrulea SimonDanisch asinghvi17 mkborregaard mschauer


text:
to_offset is overly-strict on types

sn = Scene()
lines(rand(10), rand(10), offset=(0.0, 2))
center!(sn)

This gives the error
MethodError: no method matching to_offset(::Makie.Scene{:makie}, ::Tuple{Float64,Int64})
If the offset is given as a tuple where both are Ints or both are Floats it's OK.

Yes, I'll need to go through these!

authors: SimonDanisch ssfrr


text:
New version: BanyanDataFrames v0.1.5

Registering package: BanyanDataFrames
Repository: https://github.com/banyan-team/banyan-julia
Created by: @calebwin
Version: v0.1.5
Commit: ef3e4177c54e6e9fbfb72f6be1005cf016fa6df2
Git reference: v21.12.19
Description: An extension to the Julia language for massively parallel cloud computing

@calebwin please see the message above.  Once you fix the automerge issues you can register again the new revision without changing the version number and this pull request will be automatically updated.
[noblock]

authors: JuliaRegistrator giordano

repo: JuliaRegistries/General


text:
New version: ApproximateGPs v0.3.3

Registering package: ApproximateGPs
Repository: https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl
Created by: @st--
Version: v0.3.3
Commit: fb3f410af6939117a6a1bfa4e102955564082fc2
Reviewed by: @st--
Reference: https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/commit/fb3f410af6939117a6a1bfa4e102955564082fc2#commitcomment-68922152
Description: Approximations for Gaussian processes: sparse variational inducing point approximations, Laplace approximation, ...

Added [compat] entry for LogExpFunctions for the following release, 0.3.4 - please merge this anyways if possible. [noblock]

If anyone from JuliaRegistries is seeing this and merges it with https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/pull/120 still open, please mention it! If https://github.com/JuliaGaussianProcesses/ApproximateGPs.jl/pull/120 is merged, please close this one instead. Sorry for the mess-up! [noblock]

Please close this PR

authors: JuliaRegistrator st--


text:
vcount broken for Vector{Bool}

This behavior is incorrect:
julia> vcount([true])
0

julia> count([true])
1

The first argument needs to be a function. I should probably add an vxount(x::AbstractArray) = vcount(identity, x) method.

With identity as the first argument I get
julia> vcount(>(0), [true])
1

julia> vcount(identity, [true])
VectorizationBase.Vec{16, Int32}<1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0>

This also does not seem right.

authors: cafaxo chriselrod


text:
"RefResolutionError" exception raised when resolving "$ref"

Taking the example from the json-schema documentation on structuring complex schema: https://json-schema.org/understanding-json-schema/structuring.html.
I create a file address_pass.json where address is defined internally:
{
  "$schema": "http://json-schema.org/draft-07/schema#",

  "definitions": {
    "address": {
      "type": "object",
      "properties": {
        "street_address": { "type": "string" },
        "city":           { "type": "string" },
        "state":          { "type": "string" }
      },
      "required": ["street_address", "city", "state"]
    }
  },

  "type": "object",

  "properties": {
    "billing_address": { "$ref": "#/definitions/address" },
    "shipping_address": { "$ref": "#/definitions/address" }
  }
}

The code below illustrates this validates the example instance:
import json
from jsonschema import validate

instance = {
  "shipping_address": {
    "street_address": "1600 Pennsylvania Avenue NW",
    "city": "Washington",
    "state": "DC"
  },
  "billing_address": {
    "street_address": "1st Street SE",
    "city": "Washington",
    "state": "DC"
  }
}

with open('address_pass.json') as json_data:
    schema = json.load(json_data)
    json_data.close()

validate(instance=instance, schema=schema)

All good. Now, the example does not define the content of definitions.json but I believe it should look like this:
{
  "address": {
    "type": "object",
    "properties": {
      "street_address": { "type": "string" },
      "city":           { "type": "string" },
      "state":          { "type": "string" }
    },
    "required": ["street_address", "city", "state"]
  }
}

With corresponding reference from within address_fail.json as below:
{
  "$schema": "http://json-schema.org/draft-07/schema#",

  "definitions": {
    "address": {
      "type": "object",
      "properties": {
        "street_address": { "type": "string" },
        "city":           { "type": "string" },
        "state":          { "type": "string" }
      },
      "required": ["street_address", "city", "state"]
    }
  },

  "type": "object",

  "properties": {
    "billing_address": { "$ref": "definitions.json#/address" },
    "shipping_address": { "$ref": "definitions.json#/address" }
  }
}

However, the same code as above now fails with the RefResolutionError reported above:
import json
from jsonschema import validate

instance = {
  "shipping_address": {
    "street_address": "1600 Pennsylvania Avenue NW",
    "city": "Washington",
    "state": "DC"
  },
  "billing_address": {
    "street_address": "1st Street SE",
    "city": "Washington",
    "state": "DC"
  }
}

with open('address_fail.json') as json_data:
    schema = json.load(json_data)
    json_data.close()

validate(instance=instance, schema=schema)

Furthermore, replacing $ref with file and a full path to definitions.json  illustrates the external reference does work. So the issue seems to be simply in locating the file.

Thanks for including the full reproducer, will have a look.

Just wanted to +1 this and receive notifications; I ran into the same issue. Replacing $ref with file and specifying the full path worked for me as well, but it's not clear to me whether something like:
{ "$ref" : "file_in_same_dir#/definitions/thingy }

is supported at all? Relative references are valuable as the code moves from machine to machine.

The same as @demitri here.

@demitri it is if you specified a base URI -- either in your schema or to the resolver (i.e. RefResolver(base_uri=whateverDirectoryYouWantRelativeTo) -- did you do that?

@warner121 which looks like your issue too -- you didn't specify a base URI to a resolver and pass that to validate, so JSON Schema has no way to know what directory you mean to resolve relative to.

Closing, because I think you're both looking for the above, but feel free to follow up with comments if you do think there's an issue here.

Hi,
I think this is actually an issue. In the documentation of json-schema, it is stated:

$ref can also be a relative or absolute URI, so if you prefer to include your definitions in separate files, you can also do that. For example:
{ "$ref": "definitions.json#/address" }
would load the address schema from another file residing alongside this one.

And:

The $id property is a URI that serves two purposes:

It declares a unique identifier for the schema.
It declares a base URI against which $ref URIs are resolved.

[…]
But be aware of the second purpose of the $id property: that it declares a base URL for relative $ref URLs elsewhere in the file. For example, if you had:
{ "$ref": "person.json" }
in the same file, a JSON schema validation library that supported network fetching would fetch person.json from http://foo.bar/schemas/person.json, even if address.json was loaded from somewhere else, such as the local filesystem.

My understanding is that id can be given to provide a base url, but it can also be omitted and the implementation should search by default in the relative path of the schema.
You wrote “jsonschema has no way to know what directory you mean to resolve relative to”, but why not to take the given path of the schema ? (that you have, because you can read the file).

You wrote “jsonschema has no way to know what directory you mean to resolve relative to”, but why not to take the given path of the schema ? (that you have, because you can read the file).

In the examples in this ticket jsonschema doesn't read the file. It's simply invoked after the calling code did so itself.

My bad ! Personally, I have the same issue but while using it from the command line. Is it supposed to work ?

Ah -- so, in that case at the minute it doesn't (i.e. the CLI parser
doesn't save the path in a RefResolver), but in theory yep that could be
made to work.
Happy to see a PR doing so if you'd be interested!
On Tue, Jan 14, 2020, 08:46 Romain Taprest notifications@github.com wrote:

My bad ! Personally, I have the same issue but while using it from the
command line. Is it supposed to work ?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/Julian/jsonschema/issues/570?email_source=notifications&email_token=AACQQXWXBVI4O6BWD62ERATQ5W63JA5CNFSM4HYWQV52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4VBVQ#issuecomment-574181590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQQXVKKRRV46PSMH4RQWDQ5W63JANCNFSM4HYWQV5Q
.

Hi @Julian,
Sorry, it took me a while to test this again. Unfortunately, I'm just not getting this to work. Hopefully I'm only missing something stupid. Here is my main schema:
gaia_dr2_record_response.json
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://trillianverse.org/schemas/datasets/gaia/gaia_dr2_record_response.json",
    "title": "Gaia DR2 Source Catalog Record Schema",
    "type": "object",
    "additionalProperties" : false,
    "properties" : {
        "$ref" : "gaia_dr2_properties.json#/definitions/GaiaDR2Properties/properties"
    }
}

A second schema file containing the properties, gaia_dr2_properties.json:
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://trillianverse.org/schemas/datasets/gaia/gaia_dr2_properties.json",
    "type": "object",
    "definitions": {
        "GaiaDR2Properties" : {
            "properties": {
                "solution_id" : {
                    "type": "integer",
                    "enum" : [1635721458409799680]
                },
                "designation" : {
                    "type": "string",
                    "pattern": "^Gaia DR2 [0-9]{19}$"
                },
                "source_id" : {
                    "type": "integer",
                    "minimum" : 4295806720,
                    "maximum" : 6917528997577384320
                }
            }
        }
    }
}

And my script test.py:
#!/usr/bin/env python

import os
import json

from jsonschema import RefResolver, Draft7Validator

with open("gaia_dr2_properties.json") as schema_file:
    properties_schema = json.loads(schema_file.read())

with open("gaia_dr2_record_response.json") as schema_file:
    response_schema = json.loads(schema_file.read())

data_string = '''{
  "source_id": 4038848092638268032,
  "solution_id": 1635721458409799680,
  "designation": "Gaia DR2 1635721458409799680"
}'''
data = json.loads(data_string)

file_path = os.path.abspath(__file__)
base_uri = f"file:{file_path}"
print(f"\nbase uri = '{base_uri}'\n")
resolver = RefResolver(base_uri=base_uri, referrer=response_schema)
validator = Draft7Validator(response_schema, resolver=resolver)

validator.validate(data)

If I change "additionalProperties" to true it works, but that means the $ref is silently not being resolved. Even changing $ref to file (or $file?) as I did before doesn't work here.
In the documentation, it might be helpful to give an example of the expected format for base_uri in the RefResolver; I've seen file://{path}/, file:{path}, {path} - I've tried them all!

authors: Julian RomainTT demitri radeklat warner121

repo: Julian/jsonschema


text:
Different fonts

Is your feature request related to a problem? Please describe.
I'm always frustrated when I notice that there are a few different fonts used.
Describe the solution you'd like
Let us pick which fonts we would like to use. (spotify regular, dribbblish, or custom)
Describe alternatives you've considered
injectFont.js from https://canary.discord.com/channels/842219447716151306/842818627164962828/926826507224100884 but it didn't work.
Additional context

Can't you do this using Settings > Advanced > Custom css

authors: JulienMaille glaicodes

repo: JulienMaille/dribbblish-dynamic-theme


text:
Add pyspark example to make a source catalogs from a set of images

This example relies on photutils, an astropy affiliated package for image photometry utilities.
See https://github.com/astropy/photutils
Julien

Codecov Report

Merging #39 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   87.65%   87.63%   -0.03%
==========================================
  Files           9        9
  Lines         478      477       -1
  Branches       78       78
==========================================
- Hits          419      418       -1
  Misses         59       59

Impacted Files
Coverage Δ

src/main/scala/com/sparkfits/FitsHduImage.scala
74.19% <ø> (-0.81%)
:arrow_down:

Continue to review full report at Codecov.

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

authors: JulienPeloton codecov-io

repo: JulienPeloton/spark-fits


text:
new service template for autosnapshotting

autosnapshotting:
vdc = type:str parent:vdc
startDate = type:str default:''
endDate = type:str default:''
snapshotInterval = type:str default:'2h'
retention = type:str default:'5d'
Also see: #56

See spec: https://github.com/0-complexity/ays_vdc_automated_snapshots/blob/master/specs/vdc-automated-snapshots.md

authors: FastGeert yveskerwyn


text:
Calendar Page modified well

In Calendar Page, I put progress bar so that we can know the rate of completeness of our task.

Great job!! Finally, our calendar page is completed and students can make their own planner and calendar to improve their score!!


text:
[QUESTION] How do I set iTerm as the external terminal?

I tried

It still opened macOS's builtin terminal app.

I have created the launch script and set it in settings, but still no luck.
Terminal set to /Users/evar/scripts/dash/itermlaunch.dash
itermlaunch.dash:
#!/usr/bin/env dash
command="$@"
osascript <<EOF
        tell application "iTerm2"
          tell current window
            create tab with default profile
            tell current session to write text "${command}"
          end tell
        end tell
EOF


text:
Fixed avatar issue and bot now accepts Spotify URLs instead of URIs

After creating your pull request, tick these boxes if they are applicable to you.

[ ] I have tested my changes against the review branch (the latest developmental version), and this pull request is targeting that branch as a base
[ ] I have tested my changes on Python 3.8 or higher
[ ] I have ensured my code is formatted using Black

Description
Related issues (if applicable)

Avatars are already solved in review, PRs should target review.
Please ensure before opening future pull requests you do the things listed in the PR template.

@AleanaA any chance the Spotify URL change could be merged in though? i understand the avatar fix

authors: AleanaA nicholashoo

repo: Just-Some-Bots/MusicBot


text:
🛑 KMHARS Main Internet (D) is down

In 642e2c7, KMHARS Main Internet (D) (hf60936b8q0.sn.mynetname.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KMHARS Main Internet (D) is back up in 4710f04 after 22 minutes.

repo: KMHARS/uptime


text:
UIの微調整とgameManagerを追加

UIの微調整とgameManagerをDontDestroyOnLoadに自動で移動するようにしました

リリースブランチを切る前にコメントをちゃんと書いて～ とりまApprove

よみゃあわかる


text:
🛑 Cube Ent. is down

In 67259d7, Cube Ent. (http://www.cubeent.co.kr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cube Ent. is back up in cdbc07b after 660 days, 3 hours, 32 minutes.

repo: KPOPCORD/status


text:
Where is info from CKAN?

Background
CKAN Version: 1.25.3
Why not all the information I can see in the CKAN application can be seen in NetKAN files?
KIS as an example.

That's a "meta-netkan", the data is hosted elsewhere and can only be changed by the owner, in this case @ihsoft:

https://raw.githubusercontent.com/ihsoft/KIS/master/KIS.netkan

and can only be changed by the owner

Restricted license is about it?

@Artemonim No, the restricted license only applies to the source code and resources. The reason why KIS uses own netkan file is for the convenience.

authors: Artemonim HebaruSan ihsoft

repo: KSP-CKAN/NetKAN


text:
Update and rename Asclepius-clouds.kerbalstuff to Asclepius-clouds.ne…

…tkan

I'm not positive that I'm doing this part right.

Yes you are but it failed because it thinks that Asclepius is still on KS.
Also because these config files will only work if EVE is installed it would be better to move it to depends

Looks good, thanks for updating your mods :+1:

Thank you.


text:
Improve example_lib_lazcalc

It is not clear for the end user that examle_lib_lazcalc actually takes arguments because other examples don't take arguments. I know that the normal order is to look what you are about to run before running it but some users (including me) might start by looking at what it does because currently most of the examples in KSLib currently only print something on the screen. I'd recommend using a hardcoded list of desired orbits instead and printing something like this:
Altitude: 80000 m Inclination: 0 deg Azimuth: ...
Altitude: 100000 m Inclination: 45 deg Azimuth: ...
Altitude: 500000 m Inclination: 85 deg Azimuth: ...

@space-is-hard What do you think?

Makes sense. I wasn't really sure what to do for an example.

authors: abenkovskii space-is-hard

repo: KSP-KOS/KSLib


text:
S1 backscatter da version2 vvvh

Implementation to 1) fix bug on data assimilation of multiple observation types;  and 2) add joint data assimilation of S1 backscatter VV and VH to update SM and LAI in Noah-MP v.3.6

This PR included still the irrigation changes. I close this one and created a new one just for the joint VVVH DA + bug fix multiple obs types.

authors: mbechtold smodanesi

repo: KUL-RSDA/LISF


text:
Support 64 bit better

The app does not recognize the newest armv8 ELF files or 64 bit PE files.

I forgot where I put the armv8 samples.

repo: KYHSGeekCode/Android-Disassembler


text:
🛑 Manga List is down

In 2b92e95, Manga List (https://list.kadantte.moe/?type=manga) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Manga List is back up in 07cc1a4.

repo: Kadantte/candy-up


text:
Bug Report: FreePlay song continues after leaving FreePlay.

Windows (x86-x64)
KE 1.6.1 FNF 0.2.7.1
Go to FreePlay. Hover over a song and press ESC. The freeplay song will continue to play while on menu.
The chosen song in FreePlay continues after leaving FreePlay.

Intended, I Think.

this is normal, its on the original game too

idk how to delete issues, so its gonna be here for a while
edit: i found it

repo: KadeDev/Kade-Engine


text:
Reproducibility

Hi I tested your evaluation script but it seems that it is non-deterministic even if testing with the same exact checkpoint
Running the following command 3 times:
python examples/evaluate_policy.py --task_name=laptop --checkpoint_path assets/rl_checkpoints/laptop.zip --eval_per_instance 10
I obtain the following results

reward mean: 227 success rate: 0.57
reward mean: -0.12 success rate: 0.48
reward mean:  -0.053 success rate: 0.38
Is it normal that the evaluation changes across different evaluations? the policy is always the same.
Also the results for the laptop task don't match the results of the paper, am I doing something wrong?

Hi @paolotron . Thanks for using our benchmark. Yes, the evaluation is non-deterministic because we randomize position and orn in the evaluation scripts here. You can either change the logic to a deterministic one or increase the eval_per_instance param to get the success rate with lower variance. Also, since we still updated the metrics and simulation code after reporting the results in the paper. We can guarantee that the experiments in the paper are in the same training settings but we cannot guarantee the comparability of your experimental results and the values in the paper. Also, the values in the paper are averaged between three seeds of evaluations, so I recommend you train your policy and the baseline under the same configuation (also using the same random seeds) to get a fair comparision.

Hi @paolotron. To ensure the reproducibility of benchmark. We are planning to release all the checkpoints for customized evaluation. Maybe in a few weeks, too much random stuff to organize. :)

Hi @paolotron . I update the evaluate.py to a deterministic one and report the results of bucket in reproducibility.md with an increased eval_per_instance of 100 per instance per seed. You can download the checkpoint of bucket here. I think the results will remain the same on different machines. You are welcome to cross-check it on your own machine. The results of other tasks will also be released soon.

Hi @paolotron . We have updated all the checkpoints in assets.zip. You can check the results in Main Results.

authors: Kami-code paolotron

repo: Kami-code/dexart-release


text:
Update application.yaml file with update version script

Is your feature request related to a problem? Please describe.
see https://github.com/KaotoIO/kaoto-backend/pull/338#discussion_r1034608113
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

done with this commit https://github.com/KaotoIO/kaoto-backend/commit/715c1ccf65f5248d23edbf973e1d1b969a17227a

repo: KaotoIO/kaoto-backend


text:
(Suggestion) Launch one exe, monitoring other

Hello, with Warcraft 3 I see that obviously if the .exe launcher is different to the .exe that are on execution with the game open the skin can't obviously monitoring the play time.
I see this issue too with a game that first launch a launcher, and in that launcher you must click "Play game" to open the game, and after that the launcher closes and the game appears.
So I figure out that maybe could be implemented an option in Windows Shortcuts games to optionally add two paths instead of one, one will be the one that make the game launch, and the other will be the path to the .exe that must be monitorized to get the hours of play time. So for example the skin launchs Warcraft3.exe but monitorize if War3.exe is being executed or not. Or maybe better first one and then the other to avoid that [ProcessMonitor] gets a value of -1 and stops the monitorizing.
I don't know if it is easy or hard, or even impossible to implement this, but I let here this suggestion just in case you want to add it.

Perfect, thanks you one more time!!

I tried it in the last alpha and it works like a charm, thanks you again!!

repo: Kapiainen/Lauhdutin


text:
Avoid wrapping entire function bodies in if statements

Issue location
https://github.com/KarinMeijvogel/datingapp/blob/c31f76869747c91c73864b79705fd36415b8e18d/index.js#L114-L155
Issue topics

Code readability

Issue description
Currently, this function logic is entirely wrapped in an if statement. This causes more indentation, which decreases code readability.
How to solve
Turn the check around and return early.
Instead of checking if the userid exists, check if the userid does not exist. if it doesn't exist, redirect to login. After the redirect call, put return. This makes sure the rest of the function logic won't be executed.
Before
function likedUsers(req, res, next) {
  if (userid !== null) {
    // ... entire function logic
  } else {
    res.redirect("/login");
  }
}

After
function likedUsers(req, res, next) {
  // or, if (!userid) {   (falsey values)
  if (userid === null) {
    res.redirect("/login");
    return;
  }
  // ... entire function logic
}

Benefits
Not only did you lose a level of indentation which improves code readability already, people can now immediately see what happens when there is no userid.
General rule:

if the if part is really big and the else part really small, turn the check around
If the if statement is the top level of the function and there is no code following the if else statement, put a small if statement that returns the function early.

Disclaimer
Please think about every opened issue and decide wether or not you want to do anything with it. It's not important to do it my way, it's important to be able to explain what you did or didn't do with it and why.

Followed your suggestion to turn the check around.
Now checking if the user doesn't exist at the beginning of the function, and returning if it doesn't. If the user does exist, the rest of the function gets executed and the user gets to see their pages.

authors: KarinMeijvogel follywolly

repo: KarinMeijvogel/datingapp


text:
冷却无法生效

11-26 14:45:42 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message -541372738 from @[群:] '.添加阻断 nbnhhsh 冷却 10'
11-26 14:45:42 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:45:42 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:45:42 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:45:42 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:45:42 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:45:42 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
11-26 14:45:42 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_matcher_block, lineno=129)
11-26 14:45:42 [INFO] nonebot_plugin_matcher_block | 指令【nbnhhsh】已在xxx设置冷却：10s
11-26 14:45:43 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_matcher_block, lineno=129) running complete

11-26 14:46:17 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message -1043481626 from@[群:] '.添加阻断 .nbnhhsh 冷却 10'
11-26 14:46:17 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:46:17 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:46:17 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:46:17 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:46:17 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:46:17 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
11-26 14:46:17 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_matcher_block, lineno=129)
11-26 14:46:17 [INFO] nonebot_plugin_matcher_block | 指令【.nbnhhsh】已在xxx设置冷却：10s
11-26 14:46:18 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_matcher_block, lineno=129) running complete

开始测试 两次间隔时间小于10s但无法触发冷却（同一个人）
似乎是根本没有触发matcher_block这个插件？但是之前的设置冷却都成功了
11-26 14:46:22 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message 801364682 from@[群:] '.nbnhhsh nb'
11-26 14:46:22 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:46:22 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:46:22 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:46:24 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:46:24 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:46:24 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:46:24 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:46:24 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
11-26 14:46:27 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message -962560001 from@[群:] '.nbnhhsh nb'
11-26 14:46:27 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:46:27 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:46:27 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:46:29 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:46:29 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:46:29 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:46:29 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:46:29 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled

我想到可能是后面的参数问题，但是如果只是.nbnhhsh这个命令也无法正常阻断：
11-26 14:50:11 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message 682499795 from@[群:] '.nbnhhsh'
11-26 14:50:11 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:50:11 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:50:11 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:50:12 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message 1604922949 from@[群:] '.nbnhhsh'
11-26 14:50:12 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:50:12 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:50:15 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:50:15 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled

这是因为阻断前会先判断发送者权限，当您并非普通成员时将不会触发冷却😹

authors: Sevenyine youlanan


text:
Muda is a pain to install

It's Ruby, which requires the user to have a separate runtime installed, and probably yet another separate runtime to install should this tool ever grow a GUI.
Ideally: Come up with an automated way to package Muda as a one-click operation with some kind of update mechanism.

Yes, please!

Calling this fixed with the rewrite - all dependencies now included in one jar file, only requirement for the user now is having Java 7 or 8 laying around.

authors: Karunamon ericfariase

repo: Karunamon/muda


text:
can not build it

'pod install' command failed with code 1.
Full command: pod install
Error message:
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/usr/local/bin/pod install

Report

What did you do?
What did you expect to happen?
What happened instead?

Stack
   CocoaPods : 1.15.2
        Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
    RubyGems : 3.0.3.1
        Host : macOS 14.5 (23F79)
       Xcode : 15.4 (15F31d)
         Git : git version 2.39.3 (Apple Git-146)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile
target 'iosApp' do
  use_frameworks!
  platform :ios, '14.1'
  pod 'common', :path => '../common'
end

Error
REXML::ParseException - #<TypeError: wrong argument type String (expected Regexp)>
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in `scan'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in `match'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:227:in `pull_event'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:207:in `pull'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:23:in `parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in `build'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in `initialize'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `new'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `from_s'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:66:in `new_from_xcworkspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:102:in `create_workspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in `integrate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in `block in integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in `integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in `integrate'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
...
wrong argument type String (expected Regexp)
Line: 1
Position: 38
Last 80 unconsumed characters:
<?xml version="1.0" encoding="UTF-8"?>
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:96:in `rescue in parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:21:in `parse'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in `build'
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in `initialize'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `new'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:83:in `from_s'
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:66:in `new_from_xcworkspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:102:in `create_workspace'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in `integrate!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in `block in integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in `integrate_user_project'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in `integrate'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%23<TypeError%3A+wrong+argument+type+String+(expected+Regexp)>
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+`scan'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fsource.rb%3A220%3Ain+`match'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A227%3Ain+`pull_event'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Fbaseparser.rb%3A207%3Ain+`pull'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fparsers%2Ftreeparser.rb%3A23%3Ain+`parse'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A448%3Ain+`build'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Frexml-3.2.9%2Flib%2Frexml%2Fdocument.rb%3A101%3Ain+`initialize'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+`new'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A83%3Ain+`from_s'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fxcodeproj-1.24.0%2Flib%2Fxcodeproj%2Fworkspace.rb%3A66%3Ain+`new_from_xcworkspace'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A102%3Ain+`create_workspace'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller%2Fuser_project_integrator.rb%3A71%3Ain+`integrate!'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A929%3Ain+`block+in+integrate_user_project'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fuser_interface.rb%3A64%3Ain+`section'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A925%3Ain+`integrate_user_project'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A185%3Ain+`integrate'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Finstaller.rb%3A170%3Ain+`install!'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand%2Finstall.rb%3A52%3Ain+`run'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fclaide-1.1.0%2Flib%2Fclaide%2Fcommand.rb%3A334%3Ain+`run'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Flib%2Fcocoapods%2Fcommand.rb%3A52%3Ain+`run'
%2FLibrary%2FRuby%2FGems%2F2.6.0%2Fgems%2Fcocoapods-1.15.2%2Fbin%2Fpod%3A55%3Ain+`<top+(required)>'
%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+`load'
%2Fusr%2Flocal%2Fbin%2Fpod%3A23%3Ain+`<main>'
...
wrong+argument+type+String+(expected+Regexp)
Line%3A+1
Position%3A+38
Last+80+unconsumed+characters%3A
<%3Fxml+version%3D"1.0"+encoding%3D"UTF-8"%3F>&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Please, check that podfile contains following lines in header:
source 'https://cdn.cocoapods.org'
     Please, check that each target depended on common contains following dependencies:

have you tried pod deintegrate and pos install @aohanhongzhi ?

authors: Kashif-E aohanhongzhi


text:
Front page language referencing nav bar items

The "Dark and light mode" section contains the following excerpt:

"you can toggle the style by clicking on the last entry of the navigation bar"

As of 2cef1c8, the last entry is no longer the theme-toggler.
Cool site!

Thanks and great catch! 😊

Fixed in https://github.com/KasparEtter/ef1p/commit/32c9b553c14165133a93dfc0c0fd2c28dc16ba38.

authors: KasparEtter avtraino


text:
Ordering select field items

Y populated a Select field with json. I need this order
{"5":"AAAAA", "4":"BBBBB", "3":"CCCCC", "2":"DDDDD", "1":"EEEEE", }
but, in modal editor, items are reordered and shows as
1: EEEEEE
2: DDDDD
.....
........

Maybe you could debug lines 468-471. That's where the select is populated.
Il giorno dom 29 set 2019 alle ore 14:00 rafalito666 <
notifications@github.com> ha scritto:

Y populated a Select field with json. I need this order
{"5":"AAAAA", "4":"BBBBB", "3":"CCCCC", "2":"DDDDD", "1":"EEEEE", }
but, in modal editor, items are reordered and shows as
1: EEEEEE
2: DDDDD
.....
........
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/58?email_source=notifications&email_token=ACLII2AGMEQAE4RNAMYOKFTQMCKFDA5CNFSM4I3SEQV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOL7KRQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLII2EYHQJN66OXHIXIDPTQMCKFDANCNFSM4I3SEQVQ
.

any news on this?

repo: KasperOlesen/DataTable-AltEditor


text:
View all roles

WHEN I choose to view all roles
THEN I am presented with the job title, role id, the department that role belongs to, and the salary for that role

WHEN I choose to view all roles
THEN I am presented with the

[ ]  job title
[ ]  role id
[ ] the department that role belongs to
[ ]  the salary for that role

repo: KateMcRo/EmployeeTracker


text:
Page Views

[ ] #33
[ ] #34
[ ] #35
[ ] #36
[ ] #37
[ ] #38
[ ] #39

Figma board has been updated with web views: Plantastic Mockups

Got it Kate

repo: KateMcRo/Plantastic


text:
Add code formatting with prettier

Per the discussion about formatting, created this PR to introduce the Prettier formatter to the project. It's a very highly rated JS/TS formatter and will ensure consistency across contributors. If you're unfamiliar with it, the project is extremely well-documented and has great defaults. You can choose if you have a preference on spaces vs tabs for line starts, but otherwise I've never had a desire to change any of the defaults.
I created this in two commits: one adding the necessary packages/configs, and then one after having formatted everything. If it's easier for merging to not have run the formatting and to let you do that as you have the capacity, I can revert that commit and just push it without having formatted anything.

Closing in favor of #5.

authors: KatieZeldaKat ltsSmitty


text:
App cannot be built for iOS simulator

NET 8.0
Nuget version 4.5.0
I try to build and run the solution in a iOS simulator to check additional layouts, but no luck so far
error : ld: building for iOS Simulator, but linking in dylib built for iOS, file '/Users/anastasiavalter/Library/Caches/Xamarin/mtbs/builds/Mia.Mobile.Shared.Maui/bc09ed9c847d5998ec9366dd658c36ac7eedcea8ef971e0a2ef3b0032d445152/obj/Debug/net8.0-ios/iossimulator-arm64/linker-cache/RevenueCat.framework/RevenueCat'

What Mac do you use ? With Intel or M1 CPU ?

Macbook Air M1
Thanks a lot for your time!

Works in 4.5.2, thanks a lot!

authors: Kebechet dimangulov


text:
Add ability to configure the opacity of dim color (the outer area)

Right now, I can to set the dimColor parameter, which is used to draw the outer area. The color is used with default opacity 30%, and it is not configurable at all.
It would be nice to have  an ability to customize the opacity as well.

Tracking in #227

authors: ntoskrnl xiphirx

repo: KeepSafe/TapTargetView


text:
Update image names for lightmode and darkmode.

Fixes #138

Need @aliraza944 to work on this when free..... Closing.

repo: KendallDoesCoding/mogul-christmas


text:
add plural form flag

What is this pull request for? Why do you create this pull request?
#113
What is changed?
Other comment

#113 fix

repo: KenjiOhtsuka/harmonica


text:
PhaBOX release via bioconda

I'm currently working on a release of phabox via bioconda.
Was wondering why the title of the current release contains the text " V1.1" but the link 0.1.0 (plus beta): https://github.com/KennthShang/PhaBOX/releases/tag/v0.1.0-beta.
Would you consider this release as beta? Maybe then it would be better to stick with https://github.com/KennthShang/PhaTYP?

Made some progress here: https://github.com/bioconda/bioconda-recipes/pull/50753
Contains some updates to the setup.py and imports that you might want to include here.

Hi there,
Thanks for the effort! I have removed the v1.1 release. The v1.1 is for the module conflict and I have revised the codes so that the problem will no longer occur.
Best,
Jiayu

Thanks for the reply. Can you just make a new release? A release (with version) is needed for bioconda.
As a comment: try to avoid to remove releases, people might refer to them, e.g. in publications.

Thanks for your suggestions. I will keep it in mind :)
Best,
Jiayu

FYI: A first version of phabox (version 2.0) is now in bioconda https://github.com/bioconda/bioconda-recipes/pull/50753

Hi, I found the recipes via the bioconda cannot correctly run PhaBOX 2. Because there is a large different between versions 1 and 2
Maybe you can use the latest meta.yaml and pyproject.toml in our GitHub folder to replace them?
Best,
Jiayu

Dear @KennthShang I could work on this. Could you give me more information what does not work / what should be adapted?
Which of the two files would be the source of truth:

https://github.com/KennthShang/PhaBOX/blob/main/meta.yaml
https://github.com/KennthShang/PhaBOX/blob/main/phabox2.yaml

Note that you might also directly open PRs for the bioconda recipe on your own - you can ping me anytime.
Instead of the meta.yaml and phabox2.yaml in this repo (which you probably have for reproducibility) you could use the docker containers which are automatically built for every bioconda recipe: https://quay.io/repository/biocontainers/phabox?tab=info.

Hi @bernt-matthias
The meta.yaml is the receipt I used for conda build (or mamba build). Same format as the bioconda receipt I suppose.
Also, I built the latest Phabox package, which is available via my personal channel (as mentioned in the current WIKI).
When I tried the release via bioconda channel, some modules were not available, and I suppose they are the following ones:

Kcounter -c bioconda (Used in contamination)
prodigal-gv -c bioconda (Used to replace the prodigal version in phabox2, since currently it is generalized for all viruses
mafft -c bioconda (Used for marker genes MSA
fasttree -c bioconda (Used for phylogenetic tree construction
seaborn -c conda-forge (Used for sub-network visualization)

Thank you very much for your valuable suggestions :). We are still maintaining our phabox webserver and other issues. I will try to release a docker container once we fix them all.
(I would like to pin this issue if you would not mind.
Best,
Jiayu

I opened a PR updating to 2.1 and adding the missing requirements

Good to know. I will try to update the receipt myself once I figure out the process. Many thanks for your guidance!
Best,
Jiayu

authors: KennthShang bernt-matthias

repo: KennthShang/PhaBOX


text:
New Codeowner for repository

Motivation
Add @MiroKentico as new code owner.
Checklist

[ ] Code follows coding conventions held in this repo
[ ] Automated tests have been added
[ ] Tests are passing
[ ] Docs have been updated (if applicable)
[ ] Temporary settings (e.g. variables used during development and testing) have been reverted to defaults

How to test
If manual testing is required, what are the steps?

Waiting for @MiroKentico is in Kentico Github org.

repo: Kentico/kontent-delivery-sdk-net