Medical-SAM2 is now Released 🥳!

We've successfully utilized the SAM 2 framework to address both 2D and 3D medical image segmentation tasks.
Feel free to check paper Medical SAM 2 here 🤩
The Github code is also available here 😍
DM if you have any improvement suggestions and we can collaborate in the future 🫶
A big shout-out to my co-authors 🙌
@YunliQi @WuJunde

"Does Med-Sam 2 follow the same training strategy (pre-training and full training) as SAM 2 for video segmentation?"

That's a really good question! Our MedSAM-2 handles 2D and 3D medical image segmentation by treating them as videos. The train_3d.py follows the training procedure in SAM2 by processing 3D medical images as sequences of 2D slices. It's because contextual information from adjacent slices can enable accurate segmentation. The train_2d.py diverges from the original SAM2 (both image/video mode) by introducing the confidence memory bank.

so in the train_3d.py  we can find the pre-training for static images and full-training for video data ?

Sorry, I may misunderstand your point before. The 3d code we provided is to fine-tune SAM2 model within the medical setting, by loading the SAM2 pre-trained weight. So it does not include the two steps you mentioned, but it includes all memory-relevant components mentioned in SAM2 paper. Hope that helps!

thank you


Points Calc Testing + View

What i did

made changes in my test interaactor b/c i changed how points were calculated last night
added image to my points calc view
made my view a bit prettier lol

what needs to be done

the image im being passed is not correct, as in its not being updated to show the distance between the 2 points.
this is part of the round use case interactor @PuravG

slayy, your use case has a 100%coverage now!!! also nice work on the view.


Fix typo

Category

[ ] New feature
[x] Bug fix
[ ] Improvement
[ ] Refactor
[ ] etc

@stat-kwon You have to add "signed-off-by" signature with "git commit -s"


Implementing split view

Hello,
I'm new to pdf.js but I found it interesting. I have to choose an open source project and make changes for my uni, so I chose this one. I want to begin with something easy so I am thinking to  implement a split view for a document. So you can see two pages in parallel or even documents.
I'll try to implement it with my friend.

Closing as duplicate of issue #590. (As indicated there, and in the PRs that tried to implement it, this feature is not an easy project to take on.)

Could you suggest me any other easy to implement feature? At first I thought of adding annotations but I found out that it already supports viewing annotations(but not creating them, even there is a nice video on youtube https://www.youtube.com/watch?v=agrBJH1TriI ).
Thank you in advance :D

Nice to hear that you are interested in helping us develop PDF.js! I don't know if you need a small or a big task, but we have a "good beginner bug" category containing issues that you can work on that do not require too much knowledge of the codebase. You can find the category at https://github.com/mozilla/pdf.js/issues?q=is%3Aopen+is%3Aissue+label%3A5-good-beginner-bug.
Feel free to contact us on IRC if you need more information.

@Snuffleupagus @timvandermeij This issue does seem neither a duplicate of #590, nor solved by #9208. That issue and PR seems to refer to view 2 continuous pages in parallel, but it would be great pdf.js allowing to see two arbitrary pages in parallel, needed, for example, reading a book or a paper and their references, etc., or also reading two different pdf's side by side.


WIP: proper handling of windows service lifecycle

TODO:

[ ] stopping the service properly through services.msc should work
[ ] add scaphandre as a service as an action of the exe installer
[ ] remove scaphandre as a service as an action of the exe uninstaller
[ ] troubleshoot & fix "scaphandre::sensors: Could'nt get last_microjoules:" messages

https://drive.proton.me/urls/VJZVET8R7G#S4n0qEyBTvH5


Feature request: Import/export homebank

http://homebank.free.fr/en/

what file formats does homebank export to that we could use?

According to features list it exports to QIF so there's already a way to move data from Homebank to Denaro.

So then @wrenix I'd recommend using that. If there are any issues importing QIF from Homebank please let us know.

i lost all accounts and categories associations on v2023.6.2


[PE-D][Tester B] Inconsistent error messages for invalid indexes for delete command

Since the indexes -1 and 1000 are both invalid would it be better to instead use the same Invalid Index error message for both of these cases?

Labels: severity.Medium type.FunctionalityBug
original: bgopi23/ped#10

Not allowed to fix in v1.4.


Skit integrated in Meteor.js?

Found your link (https://medium.com/on-coding/oh-god-i-built-another-javascript-framework-fb32f0f8ec12) from HackerNews, sound like skit could be really really useful to integrated into Meteor with more ways to render contents with pure API clients or backend UI, don't you think? I love polymer but it was too complicated to get things done like you did and your approach in Skit could solve some of the use case in Meteor e.g. CSS in package.
MDG is active at https://forums.meteor.com

Not looking to get any other frameworks integrated into skit at this time. But if there were any small changes to make the framework/runtime work better with things like meteor I'd definitely entertain more specific bugs or pull requests around how to enable that.


Push VS.Redist*.nupkg files to the VS package feed

@anurse this (as discussed) gets rid of another leg of our release pipeline.
Separately, is the release pipeline leg that pushes signalr*.tgz files to aspnetcore-dev on MyGet still needed? Those files are automatically pushed to https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json and https://dotnetcli.blob.core.windows.net/dotnet/index.json already.

Change will not affect validation builds. See https://dev.azure.com/dnceng/internal/_build/results?buildId=359103&view=logs&s=6884a131-87da-5381-61f3-d7acc3b91d76&j=1b89928a-2219-5ef9-602f-f95beb3da4dc for impact.

/ping @anurse on the "signalr*.tgz" question above

Those files are automatically pushed to dotnetfeed.blob.core.windows.net/dotnet-core/index.json and dotnetcli.blob.core.windows.net/dotnet/index.json already.

I'm confused. How can the 'tgz' files be pushed to a NuGet feed? They're NPM packages. We definitely still need to push them to the MyGet feed unless there's an alternative NPM feed we can use (such as Azure Artifacts Public Feeds, etc.).

I confirmed that the Arcade tasks that push assets only push NPM packages to the blob feed. They don't push them to Azure Artifacts. So until that changes we should continue to push to MyGet.

only push NPM packages to the blob feed

Yeah, as i said

those aren't in use across our repos yet (see aspnet/AspNetCore-Internal#3152)

This will change very soon, probably w/ the next Arcade dependency update.

Filed https://github.com/dotnet/arcade/issues/3992 to track the changes needed.


Add GSS-API support

Needed to make this change to get SSHChannel working on a remote cluster with Kerberos/GSS-API authentication.

Oops found a bug.

whats a way to test this? I'm guessing something like:

get some system with kerberos
run kinit
see that you cannot submit parsl jobs but can ssh to other hosts
turn on gssapi_auth=True
see that you can submit parsl jobs
?

that is correct, here's the setup script I use:
python3 -m pip install git+https://github.com/jmoon1506/parsl.git --user
python3 -m pip install python-gssapi --user
kinit


Ampinvt HT-12212 inverter charger support

I'm trying to get this working with the Ampinvt HT-12212 inverter charger but not having any luck.
I'm just manually sending the bytes for troubleshooting but have not been able to get any response from the controller. I'm sending 0x01, 0xB3, 0x01, 0x00, 0x00, 0x00, 0x00, 0xB5 at 9600 8N1 as confirmed by an oscilloscope on the output of the RS485 converter. I've also tried sending 0x01 0xA1 0x01 0x00 0x00 0x00 0x00 0xA3 with no response. I've also tried switching A and B to no avail.
Perhaps this controller has a different protocol, I've reached out to Ampinvt to see if I can get an answer and I'll update here if I hear anything but wanted to see if anybody has been able to get it working with this model.

金广源modbus协议-逆变器V1.0.pdf
I've received the protocol document from Ampinvt, it looks to be more complex than the MPPT controller protocols and maybe conforms to Modbus slightly more? Going to have a try at seeing if I can get any data.

So I've had some success. After messing with it for 3 days, it just randomly started working using a Modbus scanning application. It won't be compatible with this project but could be with some tweaking. It is now ModBus compliant (mostly) so the status requests in this project won't return anything. Instead standard ModBus messages should be used. Here's some relevant information for anybody trying to replicate the setup:
RS485 jack pins from left to right:
1: Ground
2: 5V
3: S1 (Unsure of purpose)
4: NC
5: NC
6: S2 (Unsure of purpose)
7: B (RS485)
8: A (RS485)
Only pins 1, 7, and 8 are used. I found that if I had A and B swapped, I got no response.
Serial settings are:
9600 baud
8 data bits
1 stop bit
No parity
No flow control
ModBus slave address: 1
For read operations only ModBus messages 0x03 and 0x04 (read holding registers and read input registers) give any response. I haven't tried write operations yet.
The software that has worked the best for me so far is PowerHud Modbus Tester
There is also a UART on the main board inside that I only spent a few minutes playing with but didn't get any output.


Can't get depth information when facing the  human body plastic model using D405

Required Info

Camera Model
D405

Firmware Version
<IP_ADDRESS> and other version

Operating System & Version
Win10

Kernel Version (Linux Only)
/

Platform
PC

Language
{C++ }

Hi, I have tested an D405 camera to capture information from the human body model. And the model surface is matte and non-reflective. But the results seems to be very bad. But when I tried the real human skin like my hand and arm, the results was fine. It makes me confused because I need to test on the model and I need it to work out, too. Please help me thanks.

Hi @Jasonwyh  A smooth mannequin body lacks the texture that a real body's skin has, and RealSense cameras have difficulty reading plain / smooth surfaces without assistance.  That assistance could be a pattern of dots cast onto a surface by the camera's projector, or casting a strong light source onto the surface to bring out texture from it.
The D405 camera model is not equipped with a built-in projector though, so increasing the strength of the light shining onto the mannequin may be the best option.
Another option would be to use an external infrared pattern projector to cast an invisible dot pattern onto the mannequin that only the camera can see and would not appear on RGB color images of.the mannequin.

Hi @Jasonwyh  Do you require further assistance with this case, please?  Thanks!

Hi @Jasonwyh Do you require further assistance with this case, please? Thanks!

No and thanks~

You are very welcome.  As you do not require further assistance, I will close this case.  Thanks again!


k8s glue container name merge issue and extra documentation for k8s glue integration

I have integrated clearml agent with our k8s cluster using the k8s glue.
As part of my work, I have create the following pod template:
apiVersion: v1
kind: Pod
metadata:
  name: template-name
spec:
  containers:
    - name: test
      env:
      - name: "GIT_SSH_COMMAND"
        value: "ssh -i /root/.ssh/id_rsa"
      - name: TEST_SHAKED
        value: "1"
      volumeMounts:
      - name: full-ro-rsa-sec
        mountPath: /root/.ssh/id_rsa
        subPath: id_rsa
        readOnly: true
  volumes:
    - name: full-ro-rsa-sec
      secret:
        secretName: full-ro-rsa
        defaultMode: 256
        items:
          - key: id_rsa
            path: id_rsa

After some digging, I figured that I have to install the agent from the master branch as stated in #51
Once I tried to run the agent, I have encountered the following error:

Running kubectl encountered an error: error: error validating "/tmp/clearml_k8stmpl_8288bk09.yml": error validating data: ValidationError(Pod.spec.containers[0].name): invalid type for io.k8s.api.core.v1.Container.name: got "map", expected "string"; if you choose to ignore these errors, turn validation off with --validate=false

My assumption is that somewhere around https://github.com/allegroai/clearml-agent/blob/master/clearml_agent/glue/k8s.py#L444 something is not being merged correctly and instead of overriding the - name: test, it creates something like - name: { 0: "test", 1: "clearml-....." } or - name: ["test", "clearml-...."]

Regardless, following my conversation with @bmartinn which has helped me a lot via Slack, I wanted to state some important things while working with the agent and k8s, especially because it wasn't clear to me how to inject my SSH key and run a git clone on a private git repository.
clearml.conf
Make sure to set force_git_ssh_protocol: true
pod-template.yaml
You have to consider two things:

You want to inject your SSH key in a secure way. I am working with Azure KeyVault which injects a k8s secret using https://github.com/Azure/secrets-store-csi-driver-provider-azure and then I just mount the secret to the pod with the right permissions i.e defaultMode: 256
You have to ensure that the host of your repo won't stop you from clonning e.g:

Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

In order to make this work you have to make sure git knows about your SSH key and that it doesn't require a strict host key checking. This can be done by overriding the GIT_SSH_COMMAND environment variable:
apiVersion: v1
kind: Pod
metadata:
  name: template-name
spec:
  containers:
    - env:
      - name: GIT_SSH_COMMAND
        value: "ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
      volumeMounts:
      - name: full-ro-rsa-sec
        mountPath: /root/.ssh/id_rsa
        subPath: id_rsa
        readOnly: true
  volumes:
    - name: full-ro-rsa-sec
      secret:
        secretName: full-ro-rsa
        defaultMode: 256
        items:
          - key: id_rsa
            path: id_rsa

Dockerfile
You can use the following Dockerfile in order to create a small and simple agent:
FROM python:3.9-slim

RUN apt update && apt install -y \
    git \
    apt-transport-https gnupg2 curl
RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
RUN install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
ENV CLEARML_CONFIG_FILE=/secrets/clearml.conf
ENV GIT_SSH_COMMAND="ssh -i /root/.ssh/id_rsa"
RUN python3 -m pip install git+https://github.com/allegroai/clearml-agent.git
ADD k8s_glue_example.py k8s_glue_example.py

ENTRYPOINT [ "python3", "k8s_glue_example.py" ]

As you can see, I'm also injecting clearml.conf through Azure KeyVault just as I prefer to manage my configuration in that way. You can do it however you feel like though.
k8s deployment
The only thing left is your deployment.yaml (or helm package). Once you have built the above docker image, you can run it and just pass the relevant arguments, for example:
          args:
            - --queue
            - "shaked-test"
            - --template-yaml
            - /secrets/pod-template.yaml

Same as I stated above, the pod-template.yaml is also a configuration in my perspective and I just inject it from the outside world so that I won't have to rebuild the image everytime from scratch.
All the best,
Shaked

We've just pushed a fix to the template merging in the k8s glue, worth a try with the latest agent code from the repo.


Collection Log wait for Popup

I would like the screenshot to also see the popup of the new collection log in the screenshot that is sent to discord, or at least have it be an option we can change

I would only be fine with this being added, if we made it an or thing coding wise.
When the related setting for this is enabled, COLLECTION_LOG_NOTIFICATION receives +2 value, meaning when the varbit is either 2 or 3, while only having the normal notification on, the varbit is 1.
I'd like for people only using the normal chat notif, not to experience longer notification time due to popup users wanting the popup.


Discord Group is much required.

Is your feature request related to a problem? Please describe.
Every problem can be discussed on a Discord group
Describe the solution you'd like
We would like to have Discord group where we can live chat and discuss our problems or grow the community and also be able to meet other developers that are also working with EEL.
Please make this happen 💯

I second this request 👍

I'll set one up this week, just having some trouble with Discord at the moment.
@ChrisKnott and I will be in it and support its existence, but I think we're hoping that there will be plenty of community involvement in helping people use Eel through there as unfortunately we've both become quite busy lately and had not as much time as desirable here.

Nice idea. However, I would personally prefer a Telegram chat.

Hi all. Sorry for the slow action on this - but happy to finally bring some closure.
@Thoufak I think a Telegram chat is an interesting idea, and I like the open source/privacy-centred aspects of it. That said, I suspect a Discord or Slack is more user-friendly and has a better feature set for now.
@axl3blaz3 @becurrie I've created a Discord server here for now.
I'm open to revisiting this in the future if there's a general drive to move to something else.
@ChrisKnott FYI


Updates to DumpUtility

This commit stream updates DumpUtility to:

correct recognition java.nio.ByteBufferAsIntBufferB (typo)
make adjustments to support Java 17+
add usage comments
add tests
minor updates to output for LongBuffer and IntBuffer

The commit stream also adds the ModuleSupport class providing support for checking if, under Java 9+ the UNNAMED module has reflection access to a given class/instance.

Seems I have a toolchain issue with CI machines ... will need to coordinate with @akomakom

Seems I have a toolchain issue with CI machines ... will need to coordinate with @akomakom

Ok ... Azure CI appears to lack support for toolchains.xml -- which the current approach to testing DumpUtility needs.  I need to figure out a different approach.

Seems I have a toolchain issue with CI machines ... will need to coordinate with @akomakom

Ok ... Azure CI appears to lack support for toolchains.xml -- which the current approach to testing DumpUtility needs. I need to figure out a different approach.

I changed the approach to avoid dependence on toolchains.xml.  The "extra" test execution for DumpUtilityTest now runs under the JVM running the Maven task.  If the current JVM is less than 17, the extra test execution is suppressed; if 17 or greater, DumpUtilityTest is run with the proper --add-opens set.


Config file and type shorthands

Fixes #87

@mzuniga84
This is a working custom config file configuration with type shorthands:

Would there be any way to "version" this shorthand file in tandem with migrations? As in, I want to record in my migrations when these shorthands change, as changing this file necessarily breaks all migrations dependent on it.

That's true :(
Thinking about it, I think that it can be version in a way, that if type-shorthands contains numeric index it is treated as timestamp and for migrations before this timestamp this configuration is taken.
E.g.
const PgLiteral = require('node-pg-migrate').PgLiteral;
module.exports = {
  "type-shorthands": {
<PHONE_NUMBER>: {
      id: {
        type: 'uuid',
        primaryKey: true
      },
      createdAt: {
        type: 'timestamp',
        notNull: true,
      }
    },
    id: {
      type: 'uuid',
      primaryKey: true
    },
    createdAt: {
      type: 'timestamp',
      notNull: true,
      default: new PgLiteral('current_timestamp')
    }
  }
};

What do you think @flux627 ?

I would prefer a multi-file solution to both match the migrations pattern and keep things clear.
Maybe if you specify a directory instead of a file, it can parse a timestamp at the beginning of the string and use the most recent definitions for a given migration timestamp.
At that point though, I think it would make much more sense to define these shorthands within the migration files themselves. Something like:
exports.shorthands = {
  // Shorthands go here
}

exports.up = function up(pgm) {
  ...
}
exports.down = function down(pgm) {
  ...
}

It then would share these definitions for subsequent migrations, unless they are updated. If this was implemented I would be a very happy camper :)

With this, if you wanted to, you could even have a migrations file dedicated to shorthand updates, which would arguably be much cleaner.


Implementation detail about LDAM loss

Hi Vanint,
I notice that in your LDAM loss implementation the scale is applied on the  the adjustment only
x_m = x - batch_m * self.s

which is different from the original LDAM loss
 return F.cross_entropy(self.s*output, target, weight=self.weight)

basically equivalent to
x_m = (x - batch_m) * self.s

could you explained more on this detail? Is the coefficient absorbed somewhere on the logit output?

Hi, thanks for your attention. In fact, we did not use LDAM loss in our work. The provided LDAM loss is provided by the RIDE (https://github.com/frank-xwang/RIDE-LongTailRecognition/blob/main/model/loss.py). You may wanna leave a question in the repository of RIDE. Thanks.

If any other questions, happy to discuss them further.


Design and manufacture the mechanical arm for the M9

Here are photos of the mechanical arm.

[ ] First step is to get with Emad and come up with a parts list for reconstructing the arm. The arm when elongated needs to allow the ADCP to sit just above the bottom of the hull.
[ ] Then, order the parts
[ ] Document construction in the wiki
IMG_2550.HEIC.pdf
IMG_2568.HEIC.pdf
IMG_2570.HEIC.pdf
IMG_2571.HEIC.pdf

@bwebb-southal @anardek here are some preliminary drawings for some arm ideas in CAD. I would like to utilize a ski pole to keep both sets of clips on the cargo area open for accessories and leave plenty of space for the box containing the PC, battery, and laptop. The idea without the cylindrical space (gray) for the ski pylon is a sliding rack, which is another idea I would like to assemble and present to our shop technician.

@bwebb-southal -- do you think the arm will be secure enough if we clamp it to the ski pole, or do you think we need to have the arm secured with a screw to the pole...or something like the design on the lower right?


Add all icons to the languageIds

The current list is very small even if there are way more icons. The problem is if I create a new file which is Untitled and set the language to for e.g. JavaScript it shows me simple icon, to enable JavaScript icon I need to add "javascript": "_file_js" to the languageIds.
  "languageIds": {
    "git": "_file_git",
    "ng-template": "_file_angular",
    "haxe": "_file_haxe",
    "hxml": "_file_haxe",
    "polymer": "_file_polymer",
    "matlab": "_file_matlab",
    "makefile": "_file_settings"
  },

@svipben Can you help with a PR?

@equinusocio Yes :)

@svipben Are you working on that?

@equinusocio Yes, today I will create a PR.

@equinusocio PR is already opened: https://github.com/equinusocio/vsc-material-theme/pull/282

Merged


Creating new editor stylesheets from deep-insights and cartodb.js#v4 modules

Basically we have added 'cartodb.js#v4' as a module in the package.json. With that, we need to avoid compatibility problems with current cartodb.js version so we have renamed all old requires from cartodb.js with require('cartodb-v3').
That said, we can get all necessary stylesheets from both modules (deep-insights and cartodb.js#v4) in order to create the proper editor-v3 stylesheet :).
Fixes https://github.com/CartoDB/cartodb/issues/6459.
CR: @viddo, reviewing in RUI servers.

Too big to comment inline so I'll reference file here:

why execute jasmine:cartodb3', on grunt dev? Adds additional load time on startup that should not be necessary
I think it would be more to rename the shim to cartodb.js-v3 to make it clear that it's an older version of cartodb**.js** that's being required.

Apart from that looks :+1:

[x] why execute jasmine:cartodb3', on grunt dev? Adds additional load time on startup that should not be necessary
[x] I think it would be more to rename the shim to cartodb.js-v3 to make it clear that it's an older version of cartodb.js that's being required.
[x] Updated version of compass for cartodb.js repository too. Having the same gem for both, winner.

:dancer:


Use TAB instead of whitespace after IP

when the hostname resources writes the hostname to the /etc/hosts file, it does so with a whitespace between the IP address and the name. This should probably be a tab. We use the hostsfile recipe later in our run list, and it rewrites this line because it wants to use a tab. The result is that the file is updated on every single chef run.

There's no standard as to what whitespace to use in /etc/hosts.  The hostsfile recipe should really be updated to be insensitive to matching different kinds of whitespace.


Render objects that start before 0 ms.

This also fixes some bugs related to storyboard samples. Timeline objects don't start playing if they have already ended. For example, this beatmap doesn't hurt your ears anymore.
Before: https://osu-js.pages.dev/play/?26547
After: https://41d9767e.kionell-osu-js.pages.dev/play/?26547

I hope I did it right because I don't have any beatmap where the audio ends before everything else. These are super hard to find and I don't know if it's even possible.

@kionell I had a good example at the time, but I totally forgot what it was... At least it prevents the cursor and progress bar from glitching out when the song ends.


The basic exemple of this module not working

The basic exemple of this module not working...
I haven't error, but the result is:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>undefined</title>
        <link>undefined</link>
        <description>undefined</description>
        <lastBuildDate>Sat, 27 Nov 2021 11:34:25 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/nuxt-community/feed-module</generator>
    </channel>
</rss>

The code in nuxt.config.js:
feed: [
    {
      path: '/feed.xml',
      // cacheTime: 1000 * 60 * 15,
      cacheTime: -1,
      type: 'rss2',
      data: [],
      feed (feed) {
        feed.options = {
          title: 'My blog',
          link: 'https://lichter.io/feed.xml',
          description: 'This is my personal feed!'
        }
      }
    }
  ]

I very need of this module :/

Not sure if you figured this out since, but your feed(feed){} should be create(feed){}, if you want a function on a per-feed basis. You can alternatively use a function for the feed property of your nuxt config (which is an array in your code) and return an array of feed configs.
Your nuxt.config.js should be
{
  feed: [
    // ...
    create(feed) {}
  ]
}

or
{
  feed() {
    return [
      {
       // ...
        create(feed) {}
      }
    ]
  }
}


Update automation-schedules.md

Reference to weekly and monthly recurring options

Hi @kelillus, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@kelillus : Thanks for your contribution to the Azure documentation! The author, @mgoedtel, has been notified to review your proposed change.

@kelillus thank you for your contribution to the article.  I have reviewed proposed change and accept.

#sign-off


before: 0 sets the limit to 0, fetching all the data from mongo

What do you suggest should be the response in that case?
I think it should be an empty set of edges.

Before and after are offsets, they set skip.
They should be strings
First and last that determine the limit to fetch from mongo
Before: 0 should be wrong

Can you send a failing test case for this?
What is the value of first or last?

I would love to see tests for this \o/

There you go: https://github.com/Veriown-CHS/graphql-mongoose-loader/commit/8a9f18a3c098619362b2fd12929d568bdc5d6bc9

open as a pull request

fixed here https://github.com/entria/graphql-mongoose-loader/pull/42


Make action_collector available in fastlane_core for more comprehensive collection

The goal is to improve the success rate for new customers who are trying fastlane for the first time + improve stability for existing fastlane users.
Unlike our fastlane actions, right now we don't know anything about the success/failure of tools that are invoked separately from fastlane. This will allow us to complete our understanding of fastlane stability so we can know how to best apply our efforts to help customers 😄

Great pull request, I added some comments. In particular I don't know if we want to use this class within fastlane for the actions too.
Another question that came up: Since we hook this into commander, this will also run for fastlane itself, which means, we'll send the success/failure rate from fastlane too. We probably don't want that, right? This would also duplicate the number of requests we send.

@KrauseFx @i2amsam This has been updated for PR feedback and tested with tools locally.

👍 LGTM


Check hidden fields for widget type instead of specific class

See ticket #511 for an explanation.

I just spent several hours to figure out that commit 32068b0 had broken my solution for an sortable order-preserving Select2Multiple field (for interest: read bottom part of answer, starting at "Addition: fixing the ordering"). The custom field uses a custom widget which inherits from wtforms.widgets.HiddenInput, but it's obviously supposed to appear with the other visible form rules and have a proper label and so on.
I was able to fix my widget with two line insertions, one to override input_type so it would be unequal to "hidden" and one to explicitly set kwargs['type'] to "hidden" again in __call. I understand the reasoning behind 32068b0 and I don't think it should necessarily be reverted. However, I think the issue does illustrate how even small changes like these can break existing code. Changes like these should be mentioned in the changelog, in my opinion.


Cleanup for submitted PRs

Some PRs were submitted without LGTM while reviewers were away last
week. This PR fixes retroactive review comments for #102, #105, and #106.

LGTM.


domain parameter recommendation?

react-native-zeroconf's scan method takes three parameters: type, protocol, and domain. It looks like the It looks like the Android implementation doesn't make any use of the domain parameter at all. The iOS implementation does make use of the domain parameter.
From the searchForServicesOfType:inDomain: documentation

The domainName argument can be an explicit domain name, the generic local domain @"local." (note trailing period, which indicates an absolute name), or the empty string (@""), which indicates the default registration domains. Usually, you pass in an empty string. Note that it is acceptable to use an empty string for the domainName argument when publishing or browsing a service, but do not rely on this for resolution.

I'm wondering where the iOS and Android implementations meet. Since the Android implementation does not use a domain parameter does that mean Android is always doing the same as if the domain parameter was an empty string?
In order to get matching behaviour, should we use an empty string when calling react-native-zeroconf's scan method?
Thanks!!

Good point. Because Android doesn't support the domain, I just felt ignoring it and returning the full result was a better way of handling it. Maybe add our own custom filtering for the Android results would be nice, but I am not quite sure honestly

Thanks.
Do you think using the empty string is the best option in order to have matching results on both iOS and Android?

I would say so yes


Use branch name in the subject of cover-letter and enforce branching

Branching is a good practice as it 1. allows you to describe the overall purpose of the pull-request in the branch name, which is correctly, tightly coupled to the patchset. This in turn, 2. allows to read the subject for patchset's cover letter from the branch name without any additional user interaction, which makes the act of creating pull-requests simpler. And 3. branching is needed anyway when the users are working on multiple pull-requests.
Enforce the branching by checking the local branch is not master. If it is, print a message like "use git checkout -b  and run me again." to guide the newer users in what they need to do.
The enforcing could be configurable (on/off) via the .gitconfig with defaulting to "on" as this requirement  seems like the more sensible default because it helps enforce good style.

This probably duplicates https://github.com/roman-neuhauser/git-pimp/issues/3.


Unseen not working

Check the issue #777 that is closed...
I've tested the collaboration of icleitoncosta.
The unseen method now is working but with a error...
It don't mark as unseen (unread), it marks as seen (read).
Even if we try to call the method again it keep marking as seen (read) not as unread (unseen).
** I'M USING MULTI DEVICES - I DON'T TESTED OUT OF MULTI DEVICES. **

I think that the problem isn't with "WPP Connect Server" but maybe with "WPP Connect".
So i'm closing this issue, because the call is already being made to WPP Connect (markUnseenMessage).


update the MC_HOST_* environment variable

Update the environement variable that one can copy from the web interface

Thanks !


chore: bdd-nh-import-1585372840 to 0.0.1

chore: Promote bdd-nh-import-1585372840 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Release version 0.0.15

Current coverage is 100.00%

Merging #278 into master will not affect coverage as of 27f826c

@@            master    #278   diff @@
======================================
  Files           42      42
  Stmts         1820    1820
  Branches         0       0
  Methods
======================================
  Hit           1820    1820
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 27f826c

Powered by Codecov. Updated on successful CI builds.


Any idea about how to correct apply GridLayoutManager

Is your feature request related to a problem?
Thanks for your many useful projects.
I wanna apply GridLayoutManager like below:
section1
item1 item2 item3
item4 item5 item6
section2
item21 item22 item23
item24 item25 item26

If using GridLayoutMananger directly, result would like below:
section1 item1 item2
item3 section2 item21
item22 item23

Any idea about it?
A clear and concise description of what the problem is.
Describe the solution you'd like:
A clear and concise description of what you want to happen.
Describe alternatives you've considered:
A clear description of any alternative solutions you've considered.

Hi, @leopku
In that case, you should use the RecyclerView with LinearLayour, and add a second RecyclerView with GridLayoutManager in the item layout. (not section's header layout).
Here is some examples using SampleAdapter and SampleViewHolder.
  override fun layout(sectionRow: SectionRow): Int {
    when (sectionRow.row) {
      0 -> return R.layout.item_sample1_header
      else -> return R.layout.item_sample
    }
  }

The R.layout.item_sample shoud be like below.
<?xml version="1.0" encoding="utf-8"?>
<androidx.recyclerview.widget.RecyclerView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="10dp" />

Make a new adapter and viewholder for the grid item. (ItemDetailAdapter, ItemDetailViewHolder).
After that, here is an example of the SampleViewHolder.
itemView.run {
      recyclerView.adapter = ItemDetailAdapter()
      recyclerView.layoutManager = GridLayoutManager(context(), 3)
      // add items
    }

Thank you for your issue :)

Awesome. It works. Thank you @skydoves .

@leopku Have a nice day! 😄


[5.0] SR-10333: Calendar.current.dateComponents([.weekday], from: Date()).weekday segfaults

Override _NSCopyOnWriteCalendar._cfObject to return the backingCalendar created
from CFCalendarCopyCurrent().

(cherry picked from commit e8c5f7a9bf3518415fdc5ce6cc5085fc82cd229e)

@swift-ci test

@swift-ci test

@swift-ci test

cc @weissi

@swift-ci test

@swift-ci test

@spevans
15:58:14 Test Case 'TestURLSession.test_dataTaskWithHttpInputStream' started at 2019-04-17 20:57:53.035
15:58:14
/home/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-Linux/swift-corelibs-foundation/TestFoundation/TestURLSession.swift:171: error: TestURLSession.test_dataTaskWithHttpInputStream : XCTAssertEqual failed: ("1316 bytes") is not equal to ("1323 bytes") - Response Data and Data is not equal
15:58:14 Test Case 'TestURLSession.test_dataTaskWithHttpInputStream' failed (0.005 seconds)

I think this is actually unrelated as I have seen it before but I will run a test locally just to confirm

I think this is actually unrelated as I have seen it before but I will run a test locally just to confirm

Ah so TestURLSession.test_dataTaskWithHttpInputStream is flaky?

@spevans yep: https://bugs.swift.org/browse/SR-9981

@swift-ci test

hey @spevans , apologies, this one didn't make it into 5.0.1 but will be part of next month's release :)


Extendable format specifiers

It would be nice to be able to define our own format specifiers, and be able to use them with the str_format* family of functions. A nice way would be to have a native to register public functions for a format specifier. Im aware of the existance of tag_op_string which gets called when a custom tag value in a variant, but that requires making a variant and then passing that variant. Now, I know there's some new complex features for formatting, like width, precision and etc. Although probably not really necessary for most use cases, it could be benefiting to have them passed as arguments to the specifier functions.
This is a rough example of what I have in mind. The format_input_type_int is just something made up for now, maybe there's a better way to determine or specify the type of the receiving function (or maybe pass it as is, but making a copy of the reference in case of cells).
native register_format_specifier(character, const function[], format_input_type:format_input_type);

pawn_on_init[formatSpecifiers]()
{
    register_format_specifier('P', "PlayerNameFormatSpecifier", format_input_type_cell);
    // let's assume playerid 2 is named Graber
    print_s(str_format("playerid 2 is %P", 2);
    // would print: "playerid 2 is Graber"
}

forward String:PlayerNameFormatSpecifier(playerid /*,width?, precision?, etc*/);
public String:PlayerNameFormatSpecifier(playerid /*,width?, precision?, etc*/)
{
    // let's say the script already has saved the name for us in some variable
    return SavedPlayerName[playerid];
}

Coincidentally, I was thinking about this yesterday. The goal is to first separate the current format specifiers used by str_format and make them handled by a corresponding tag function for every tag, then link the specifiers back to the tags (with multiple specifiers linking to a single tag, like d and x) and allow other specifiers to be added. tag_op_string would be changed to tag_op_format and would receive the additional format parameters, if any (as a string).
The basis for this was already outlined in 5104426fa80593a15047caa15f956d488be477c0, but a lot of work still needs to be done.


Introduce Quarkus 3.18 Migration Scripts

This removes the quarkus.flyway.clean-on-validation-error. See https://github.com/quarkusio/quarkus/pull/44912

I'm gonna merge this as https://github.com/quarkusio/quarkus/pull/44912 was merged already


Shift for horizontal scroll

Is your feature request related to a problem? Please describe.
Allow to use  pushed plus mouse wheel for horizontal scroll.

Modified in VSCode extension v2.0.2


feat: Add Tracer.non_recording_span to API

Fixes #793
There's a lot going on here. The TL;DR is that

we had some crufty code that was long overdue for cleanup; and
in order to comply with the spec, we need to make non_recording_span an instance method on Tracer (because Spans can only be created by a Tracer), and we had a bunch of places that abused Span.new (which we marked @api private) and didn't have a Tracer instance handy.

In light of https://github.com/open-telemetry/opentelemetry-ruby/issues/793#issuecomment-856776966 (TL;DR this method doesn't have to be an instance method on Tracer), do we prefer to:

Keep things the way they are in this PR (instance method on Tracer)
Make the method static on Tracer (leads to calls like OpenTelemetry::Trace::Tracer.non_recording_span(...)
Move the method to Trace (leads to calls like OpenTelemetry::Trace.non_recording_span(...))

My 2c: static method on Tracer doesn't help much; method on Trace aligns with helpers like with_span and means we don't need to sprinkle Tracer instances around.

Move the method to Trace (leads to calls like OpenTelemetry::Trace.non_recording_span(...))

Seems like the most convenient/consistent choice.


[WIP] batchingexperimental: add RequestAccumulator

Instead of exposing one surface that knows how to batch end-to-end,
this PR explores ways to expose multiple surfaces
to be mixed and matched by individual clients.
RequestAccumulator accumulates requests into batches, but leaves
RPC calls, error handling, etc to the caller.

Submitting to a branch, but we should actually measure accumulator's performance before going too far.
@igorbernstein2 I think this ought to fit pubsub and logging's use case. Do you think it fits bigtable's?

@igorbernstein2 PTAL.

Bigtable client will also need to deal with concurrent batches and flow control. Is that in scope for another shared component?

For concurrent batch, do you mean sending second batch before the first returns? Pubsub is already doing this. You can substitute the // ... in the class doc with an async call. You'll need to copy lists that you want to retain though.
For flow control, I think it's definitely in scope. Pubsub team requested us to not put it into pubsub client yet, and I'd like to see two use-cases before I start abstracting. My current opinion: You and I can write flow control ourselves for Logging and BigTable first. Then we can see what they have in common (could be "everything"), then we can refactor. It's more work, but I think it will help with design details. WDYT?

I think that sounds fine. Only that's missing here is that curBytes needs to be exposed so that flow control can use the same numbers as the accumulator.

I'd like to see the impact to Logging too

@garrettjonesgoogle I'd like to work on this in a separate PR, since this one is already getting large. We're in a branch, so editing things should be easy.

I think we can efficiently avoid this by storing the extra item in a separate variable.

@igorbernstein2 I think this isn't quite optimal. When working with protobuf, you have to do something like request.addAllItems(accumulator.batch()). addAll copies, so we essentially get the copy for "free" in the sense that we need to do that anyway. I'm sort of hoping that clear() doesn't downsize the backing array, so that we don't need to allocate temporary lists to move items.

Only that's missing here is that curBytes needs to be exposed

I agree but I'd like to do this in a separate PR. It deserves some tests.
Unless either of you fundamentally disagree with the premise of this PR. I think we should merge this.
Things like naming and function signatures can be hashed out a little later. We're in a branch anyway. WDYT?

SGTM

In general, I won't block any merges to the branch.


Report readiness when initialization is complete and db is ready for remote connections

From @stormmore
https://kubernetes.slack.com/archives/C8149MREV/p1537037429000100

most of  the time I am really only concerned with remote :slightly_smiling_face: I trust KubeDB enough to make sure it is up and ready on it's side the remote execution is so the other service will wait for KubeDB to say it's ready before starting
But for the record, as a general rule I don't believe a DB is ready until after any initialization scripts are completely done and hope that KubeDB backed DBs wouldn't necessarily response until then

Advanced Health Check Patterns in Kubernetes

https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/

Dup https://github.com/kubedb/project/issues/264


img render fail by ImageOverlay ,in IOS 11.0.3

How to reproduce

Leaflet version I'm using:leaflet1.2.0
Browser (with version) I'm using:Safair
OS/Platform (with version) I'm using:IOS 11.0.3

initialize the map on the "map"
add a ImageOverlay layer to map
I tested it,this phenomenon appear because  use translate3d. Use translate,this phenomenon disappear
What behaviour I'm expecting and which behaviour I'm seeing
page loaded,but the imageOverlay's layer don't  full display.
I'm seeing:

I'm expecting:

Minimal example reproducing the issue
    <link rel="stylesheet"<EMAIL_ADDRESS>/>

This rather looks like the map container is not using 100% of the viewport height. What's the CSS being applied to your ?

all code
<!DOCTYPE HTML>

    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>IOS 11.0.3</title>
    <link rel="stylesheet"<EMAIL_ADDRESS>/>

I'm sure,the container height is 100%

Hi, i seen this also with ios devices and "leaflet": "1.0.3", not always, only sometimes, probably with big images.

Does setting L_DISABLE_3D = true fix this issue for you?
It sounds like a browser bug; if it is, we should think about if there's a sensible way to detect it and disable transform3d for ImageOverlays for this case.

Random babbling that may or may not be helpful:
I added one line to the setTransform() function in DomUtils.js for debugging:
export function setTransform(el, offset, scale) {
	var pos = offset || new Point(0, 0);

// when scale is 256, image is mangled; when scale is 512 or higher, image disappears
console.log("BETA: called, setTransform ", el, offset, scale);

	el.style[TRANSFORM] =
		(Browser.ie3d ?
			'translate(' + pos.x + 'px,' + pos.y + 'px)' :
			'translate3d(' + pos.x + 'px,' + pos.y + 'px,0)') +
		(scale ? ' scale(' + scale + ')' : '');
}

As the comments note, the scale value is 256, the image is mangled, but still shows. When the scale value is 512, the image disappears entirely.
What's causing this? I believe that, under the hood, Leaflet is calling HTML5's canvas native zoom method, and, as https://stackoverflow.com/questions/6081483/maximum-size-of-a-canvas-element notes, browsers have (different) inherent zoom limits.
I think this problem is related to https://github.com/Leaflet/Leaflet/issues/4686 which warns that the browser isn't going to display everything. As the issue notes, you can defeat the warning, but you can't actually change the behavior.

This issue seems to have been resolved in recent versions of Safari (see https://github.com/Leaflet/Leaflet/issues/6322#issuecomment-1301197444). Closing this issue.

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

舒佳锦


[Cache] Fixed markdown typo in default-cache-behavior.md

Fixed a typo in the markdown of default-cache-behavior.md

The word "header" was included in the code block with the name of the actual header. This might cause confusion for people, and considering that a bit further in the text the word "header" isn't in the code block, I assume that this was a typo.

@MeesJ thank you for bringing this up. I just merged your PR.


test

Description

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

/merge-when-ready

OK, Adding "merge-when-ready" label and will merge the PR when it's ready.

OK, removing "merge-when-ready" label, PR will need to be manually merged when ready

/merge-when-ready

OK, Adding "merge-when-ready" label and will merge the PR when it's ready.


Entities other than player get constantly teleported.

When any entity other than a player (tested chickens and cows), enters an active, linked Teleporter, they will constantly teleport between the two linked teleporters until they leave the portal block.
Using Mekanism <IP_ADDRESS> on MC 1.7.10

Also applies to items, will drain all power from the teleporter.

This has been fixed.


git config freeze in FAT32/exFAT partition

Your Windows build number:
Microsoft Windows [版本 10.0.17134.285]
(WSL is Debian stretch with latest packages)

What you're doing and what's happening:

Mount my removable disk (FAT32/exFAT format, NTFS seems not affected) with sudo mount -t drvfs -o uid=1000,gid=1000 E: /mnt/e
Create a git repo inside it: mkdir /mnt/d/test; cd /mnt/d/test; git init
Run git config test.test test
Then whole WSL is stuck. Cannot start new bash.exe and Task Manager reports Windows "System" process eating 25% CPU (on a 4 core machine). Strace shows that the process is freezed at rename syscall.

What's wrong / what should be happening instead:
No stuck.

Strace of the failing command, if applicable:
https://gist.github.com/cuihaoleo/ef09a628d114d162bcc67402a1556140

Sadly I failed to reproduce the problem on another Win10 machine.
Don't know how to debug this yet.

Further diagnosis.
I can reproduce the bug with following minimal C program:
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>

int main() {
    int fd;
    mkdir(".git", 0700);
    chdir(".git");
    fd = open("config", O_WRONLY | O_CREAT, 0600);
    close(fd);
    fd = open("config.lock", O_WRONLY | O_CREAT, 0600);
    close(fd);
    rename("config.lock", "config");
    return 0;
}

The program must be executed inside a directory in the FAT32/exFAT partition (like /mnt/d/test). After running it, WSL becomes freezed and unkillable. Different from my previous observation, strace  shows that this program exited successfully.
Also, Process Explorer shows that one thread of System process is stuck (occupying one CPU core) at LXCore.sys!VfsDeviceMinorReference+0x22f0.

FAT does not have necessary attributes git needs. git depends on symbolic linking capabilities. FAT only supports hardlinking.

@erkinalp The issue is not directly related to git. See my previous reply. Simply calling rename on specific file also triggers this issue.
And of course git runs on filesystems without symbolic link. Even on a NTFS filesystem, normal user cannot create symlink without permission elevation.


IOS Verify Error

Describe your problem here.
I Downloaded The IPA File And Put It On My iPhone. When I Opened It, An Error Message Popped Up Saying, "Unable to Install Friday Night Funkin': Psych Engine." This app cannot be installed because its integrity could not be verified."
Are you modding a build from source or with Lua?
I am not modding
What is your build target?
iOS
Which psych engine version you're on?
1.0 (Final)
Did you edit anything in this build? If so, mention or summarize your changes.
No response

scarlet is taken down yet again, use altserver with pc

and if u have scarlet working, learn how to enable developer mode in ur iPhone

I Can't Do Either

nothing I can do about it


refactor(yaml): add isEof() to LoaderState

Changes
This PR replaces char === 0 checks with isEof().

I'm going to close this. The current code is fine and uses an already defined variable, ch, in a more verbose way. Thanks for the PR, either way.


Export internal prom metrics

There isn't a single metric for blobcache. For example, how many images and layers are cached at any given moment.


Fix Appsec/Programming page

Fixed anchors, ToC, formatting, and removed trailing spaces.

Awesome.


register addComment command and button

Added the addComment button in the etherpad way by registering command and registering button, so that the addComment button could be used through settings where wanted. Also added id to the export of comment html so that each comment could be refered to through URL. Also added two settings options for API server config.
"accessControlAllowOrigin": "https://my-allowed-site.com", "accessControlAllowCredentials": true

@ilmartyrk Did you check this on the new colibris skin?  Afaik a bunch of stuff got broken around buttons so I had to add my buttons manually recently ;\

Still has some conflicts

Sorry I left this hanging for too long, all the notifications went to my spam. I will probably make different pull requests with smaller updates in the future.


Add ObjectMetadataXattr() to manage extra attributes presents in headers

Signed-off-by: Valentin Pichard<EMAIL_ADDRESS>

Merged


[question] server query raw support

I could not find this information by myself, but is there an option to connect with raw serverquery? Like with default port 10011?

Currently there is no support for raw server query.
Implementing it shouldn't be hard (see #50, connection.connection_types.abc)


Is it possible to make a div editable but non removable ?

I want to make a div editable as in can change text and all but it should be non-removable. Remove feature should be inactive or permission should not be granted when user click the remove tool. Can this be archive by using ContentTools Library ?

Hi @sahanjith,
Yes this is possible, the simplest way to do this is to use fixtures: http://getcontenttools.com/api/content-edit#fixture
For example:

Some title...

And then when you initialize make sure you include data-fixture as a way to capture regions, e.g:
editor.init('[data-editable], [data-fixture]', 'data-name');

Hi @anthonyjb I've tried using fixtures according to the example given in the sandbox. but my program is not working the way it should be. Problem is i'm not getting the fixture tools when i select a data fixture. it works for data editables. Could you please show me where it went wrong ?
`
##This is my .html page

ABC Company

Sign In Page

Some title...

##This is my editor.js script
window.addEventListener('load', function() {
var editor,FIXTURE_TOOLS;
//Loading Content Tools Palette
editor = ContentTools.EditorApp.get();
editor.init('[data-editable], [data-fixture]', 'data-name');

FIXTURE_TOOLS = [['undo', 'redo', 'remove']];
ContentEdit.Root.get().bind('focus', function(element) {

  console.log("data fixture function")

  var tools;
  if (element.isFixed()) {
    console.log("fixture");
    tools = FIXTURE_TOOLS;
  } else {
    console.log("else part");
    tools = ContentTools.DEFAULT_TOOLS;
  }
  if (editor.toolbox().tools() !== tools) {
    return editor.toolbox().tools(tools);
  }
});

});
`

Hi @sahanjith, text fixture can't be wrapped like this as it is standalone your code should be e.g:

ABC Company

Sign In Page

The div tags here are optional.

Hi@anthonyjb, I tried that way also. Still i dont get the fixture tool panel.

Hi @sahanjith, Can you post a JSFiddle with the issue please so I can see it reproduced?

@anthonyjb here it is:https://jsfiddle.net/495qz6mp/

That fiddle doesn't load for me? I just get a blank page.

@anthonyjb check this: https://jsfiddle.net/sahanjith93/k0L5kywg/

I can see something in the HTML view now but I don't see an edit button so I can't start editing the page?

How can i add  content-tools.js library  into fiddle. Thats the issue.
On Wed, Sep 28, 2016 at 4:38 PM, Anthony Blackshaw<EMAIL_ADDRESS>
wrote:

I can see something in the HTML view now but I don't see an edit button so
I can't start editing the page?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GetmeUK/ContentTools/issues/304#issuecomment-250137632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP8wi-sgXjvWg0GAK7WXm9t0AfKqAfZOks5qukqfgaJpZM4J8d5l
.

--
Sahan Weerakkody
Undergraduate | Sri Lanka Institute of Information Technology

@anthonyjb There was some incompatibility with the content-tools.js version i was using i guess. i made all my libraries up to date and now its working. Thank a lot for all the helps.


Changing the output directory of the LintTask

I was looking into using this GitHub Action in order to take the errors output by the reporters and have them be annotated in my PR.
Thing is, I used to be able to do that in a mono-module setup where I knew where the output of the reporters were, but now with a multi-module setup the LintTask is generating a lot of files all in separate build files one for each module and I can't quite get this all to work out.
I was wondering if there is any way I can configure that task to output everything at one spot where this GH Action can pickup and use instead.
Here is my current configuration, but since KotlinterExtension does not take in any such config I don't know if this would be possible. I was using the other gradle plugin before (ktlint-gradle), which allowed me to have this kind of configuration before, but since that one seems to now be abandoned and after reading this discussion I thought I'd switch over to kotlinter.
There probably will be more people like me who will be asking similar question so it'd be nice to have an answer on the feasibility of this.

I was wondering if there is any way I can configure that task to output everything at one spot where this GH Action can pickup and use instead.

Have you tried overriding task's reports property? I mean something like:
tasks.withType<LintTask>().configureEach {
    reports.set(mapOf("checkstyle" to rootDir.resolve("reports/${project.path}.xml")))
}

which would save all reports under {root}/reports/{unique-subproject-name}.xml} using checkstyle reporter (you can alter either the report format or output name). Is that something you were looking for?

Yeap that was it, I was trying to see if I can edit this in KotlinterExtension which is why I never figured I could edit the LintTask directly 🙌
This PR does do exactly what I was looking for. All the reporters output on that common file, thanks a lot!


Client generation with a custom live endpoint

Is your feature request related to a problem? Please describe.
Add support for custom endpoint for client generation.
Describe the solution you'd like
This would add the following syntax to cli prisma generate --endpoint <url>
Describe alternatives you've considered
After https://github.com/prisma/prisma/pull/3203 is merged, we should be able to use the endpoint defined by prisma.yml already.
Additional context
Original spec:
https://github.com/prisma/prisma/issues/3184

Hey,
I was just looking into that issue and about to create a new branch but it looks like that this https://github.com/prisma/prisma/pull/3203 is not merged into the alpha branch.

It is merged into beta branch. You can use it using npm install -g prisma@beta

Closing as this is already available.


[folding] selecting first line of folded range does not select full folded range

Issue Type: Bug

Create a variable with an array
Collapse the array
Mark the line with the array and copy it
Paste below

Actual result:
the only array name with open bracket is copied
Expected result:
whole array is copied
PFA
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:20:22.771Z)
OS version: Linux x64 4.15.0-47-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz (4 x 3708)

GPU Status
2d_canvas: disabled_softwarechecker_imaging: disabled_offflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: disabled_offvideo_decode: disabled_softwarewebgl: disabled_offwebgl2: disabled_off

Load (avg)
0, 1, 1

Memory (System)
31.35GB (12.71GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (40)

Extension
Author (truncated)
Version

output-colorizer
IBM
0.1.2

pgformatter
bra
1.6.5

better-toml
bun
0.3.2

npm-intellisense
chr
1.3.0

path-intellisense
chr
1.4.2

bracket-pair-colorizer
Coe
1.0.61

systemd-unit-file
coo
1.0.3

vscode-markdownlint
Dav
0.26.0

vscode-eslint
dba
1.8.2

pgsql
dou
0.1.3

gitlens
eam
9.6.0

tslint
eg2
1.0.43

vscode-npm-script
eg2
0.3.5

LogFileHighlighter
emi
2.4.3

vsc-material-theme
Equ
2.8.2

vscode-postman
eri
0.5.2

gauge
get
0.0.3

gc-excelviewer
Gra
2.1.32

vscode-nginx-conf-hint
han
0.1.0

beautify
Hoo
1.4.11

js-test-gen-vscode
jsT
0.5.0

ldif
jta
0.1.1

vscode-regexp-preivew
le0
0.0.3

terraform
mau
1.3.9

git-graph
mhu
1.4.5

Go
ms-
0.9.2

sqltools
mtx
0.17.15

makefiles-support-for-vscode
nae
0.0.3

vscode-json-transform
oct
0.1.2

vscode-docker
Pet
0.6.1

vscode-versionlens
pfl
0.22.0

vscode-yaml
red
0.4.0

vscode-sort-json
ric
1.13.0

vscode-statusbar-json-path
ric
1.2.0

monitor-file
rko
1.0.1

sql-snippets
sad
0.0.4

vscode-sql-beautify
sen
0.0.4

slim
sia
0.1.2

language-stylus
sys
1.11.0

vscode-ansible
vsc
0.5.2

(3 theme extensions excluded)

[collapsed_array_issue-2019-04-16_18.06.33.mp4.zip](https://github.com/Microsoft/vscode/files/3085612/collapsed_array_issue-2019-04-16_18.06.33.mp4.zip)

You need to select until after the folded range.
The current behaviour is as designed, but I as others have requested the same, I'll keep it open for votes

Coming from the issue that was just closed, I just don't see the benefit of it working as is.
Visually and conceptually if you select a whole line which has been folded the expectation is for your action to work on the whole fold. Just as in visual studio the ide.

Just playing with it some more - one other thing I do (used to doing it from VS IDE) is to go to a folded line or region, click end to go to the end of the line and then press enter to make a new method or whatever.
That also fails since it opens the fold and then add a new line under the first line of the folded code.
It just does not feel intuitive as is - while VS IDE seems to get it right.


Implement interpolations

This enhancement enables one to specify interpolations that are to be
applied to any values that match the search element. The replacement can
be either a simple "replace", which uses str_replace to do simple string
substitution, or an "exec", which uses the output of a command for the
replacement.
The interpolations config option is an array of search & replace
values to interpolate into config values at runtime. For an example, see
this configuration fragment:
"interpolations": [
	{
		"search": "%branch%",
		"exec": "git symbolic-ref --short HEAD"
	},
	{
		"search": "<#LIVESERVER#>",
		"replace": "www.example.com"
	}
],
"servers": {
	"dev": {
		"user": "operator",
		"host": "<#LIVESERVER#>",
		"webroot": "/usr/local/www/%branch%/shared/cached-copy"
	},

This would have the effect of making beam up dev use www.example.com
as the host, and /usr/local/www/some-feature/shared/cached-copy as the
webroot, if you happen to be working on a git branch named
"some-feature".
Interpolations are applied after any imports. This means that the import
paths are not subject to substitutions, but the values in the imported
files are subject to them.

Rebased on master. Do you insist on php 5.3 compatibility?

Thanks @oddnoc. I haven't forgotten about this, I'm just trying to find some time to modify it to use information Beam already has rather than directly calling git (where it can receive out of context data). It'll likely be this weekend that I'll merge.
Re 5.3 compatibility, we don't explicitly support 5.3 at the moment, but as no newer language features are being used yet, it doesn't seem worth it to break compatibility just so that terse array syntax can be used.

Thanks, @stecman — If I'm reading the travis transcript correctly, it looks like I'm breaking 5.3 compatibility by the way I'm using a closure. Any suggestions, or is this okay?

Also, it would be nice if we had an interpolation for the current server. I couldn't find an obvious way to introspect that.

Any way I can help move this forward?


How to set or get Async functions

Can you give an example?

Are you trying to define an asynchronous function on the Java side? Currently not supported.

If you want to define an asynchronous function on the Java side for use in JS, it's not supported yet. However, if you want to access an asynchronous function defined in JS from Java, you can refer to the following sample test code:
    @Test
    public void testNativeCallWithAsyncFuncResult() {
        QuickJSContext context = createContext();
        context.evaluate("async function test() {return \"123\";}");
        JSFunction test = context.getGlobalObject().getJSFunction("test");
        JSObject promise = (JSObject) test.call();
        JSFunction then = promise.getJSFunction("then");
        JSObject ret = (JSObject) then.call((JSCallFunction) args -> {
            System.out.println(args[0]);
            return null;
        });

        ret.release();
        then.release();
        promise.release();
        test.release();

        context.destroy();
    }

why this ? the returned value is ret or args[0]
then.call((JSCallFunction) args -> {
            System.out.println(args[0]);
            return null;
        });

Sorry, I didn't understand what your question is.

It is arg[0], you can retrive it


[ENH] add support for perf, meeg, pet templates

relates to #55 and #14

for ASL it will give this
@tsalo this clearly not perfect but this will give a base to start from.
In session None,
[cyan]MRI data were acquired on a 3 Tesla MRI scanner using a DISCOVERY_MR750 system from GE.
The software version was 24_LX_MR_Software_release:DV24.0_R02_1607.b.[/cyan]
[cyan]One run of   gradient recalled (GR) steady state, spoiled, and segmented k-space single-echo structural MRI data were collected (repetition time, TR= 7.332 ms; flip angle, FA= 9°; echo time, TE= 3.02 ms; field of view FOV= ?x? mm; matrix size= ?x?; voxel size= ?x?x? mm; UNKNOWN slices).
[/cyan]
[cyan]spiral spiral research mode (RM) no sequence variant perfusion MRI data were collected (UNKNOWN slices; repetition time, TR= UNKNOWN ms; flip angle, FA= 111°;; echo time, TE= 10.53 ms; field of view FOV= ?x? mm; matrix size= ?x?; voxel size= ?x?x? mm;
[/cyan]

Dicoms were converted to NIfTI-1 format.


Add CI/CD

Use the Terraform Drone template from multiarch-k8s

Is it possible to get this one figured out in the next week? If not, how can I help?

There's a lot of this process which remains manual, so it cannot, at this time, be automated end to end for the purposes of testing, and not without maintaining certain parts of the infrastructure persistently (i.e. the object store for the installation media). I will see what some potential alternatives are (if even validating the the terraform plans themselves is possible without these things)

That's fair; thx @jmarhee

How can I help with this?

I've kept this issue in mind, so there's one major issue that prevents this from happening and having the tests be useful:
Two components in this require ISOs to install the software which other components depend on, and this requires additional infrastructure for object storage (which can't be automated-- we can spin up the minio module in this, but there's no automated way to get, for example, NSX and vSphere ISOs from VMWare at present, so this is a manual prerequisite for the entire project-- testing this automatically would require leaving this infrastructure in place, which I guess is doable)
However, to get something in place at all, I'm going to suggest that we, at least, validate Terraform, which I can add to the PR in progress now for splitting these modules apart.

Okay, so I've added the following to validate Terraform, and at least get something of a status on this in place:
https://github.com/packet-labs/packet-tanzu-tf/blob/main/.drone.yml
The build status is added to the other indicators in the README.

WFM!


ADD "Update generated tokenlist"

0xE9bb22d9338A66caD8f52aB097Cb39f39B356B87
SRC18
ADD?
0xE13BA0E1ba5B1BCDA8932C38cAb228fF1248CcF7
SRC21
AND
0x9FaD75e3Fe2650221b9e4340204F438B57706085
SRC11

hi ZeKraken
yes dear
i want to add tokens on balancers evm genosis https://gnosisscan.io
0xE9bb22d9338A66caD8f52aB097Cb39f39B356B87
SRC18
0xE13BA0E1ba5B1BCDA8932C38cAb228fF1248CcF7
SRC21
AND
0x9FaD75e3Fe2650221b9e4340204F438B57706085
SRC11
for making pool like on others

From: ZeKraken @.>
Sent: Thursday, February 29, 2024 5:11 AM
To: balancer/tokenlists @.>
Cc: silverb11 @.>; Author @.>
Subject: Re: [balancer/tokenlists] ADD "Update generated tokenlist" (PR #1053)
Hi, I'm not sure exactly what you are trying to do. So you want to add tokens? Your PR is removing tokens.
—
Reply to this email directly, view it on GitHubhttps://github.com/balancer/tokenlists/pull/1053#issuecomment-1971108871, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BD3M2IWDWVA727DMOD7CBUTYV4UHFAVCNFSM6AAAAABD5IHFSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZRGEYDQOBXGE.
You are receiving this because you authored the thread.Message ID: @.***>

thanks for adding


Cannot link release binaries with Xcode 13 and earlier

The current released macOS binaries found on https://glfw.org/download.html are compiled with msgsend selector stubs enabled, which causes many unresolvable symbol errors when compiling with Xcode versions before 14. This StackOverflow post seems to detail a potential solution to this.

Unable to reproduce with Xcode 12.4 on an Intel Mac using either the Intel or Universal binaries from the 3.3.9 package.

What steps do I need to take to reproduce this?

I have set up an MRE here. https://github.com/Finxx1/glfw-mre
As it is, it fails

This is what Xcode tells me.
I am running Xcode 13.4.1 on a 2020 M1 MacBook air. This might only affect the ARM part of the universal binaries? Not sure.

This appears to be a thing. I will add this flag manually to Mac builds for the upcoming releases and look into a better solution later.

Please see if the binaries from the 3.3.10 release work better for you on pre-14 Xcode.

The build succeeds with 3.3.10. Thanks for fixing this.


pyros: 0.3.1-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository pyros to 0.3.1-0:

upstream repository: https://github.com/asmodehn/pyros.git
release repository: https://github.com/asmodehn/pyros-rosrelease.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.3.0-2

pyros
* Disabling cache test on jade since rocon_python_comms not available
  yet. [alexv]
* Being less strict about mock depend. [alexv]
* Fixing optional dependency for travis tests. [alexv]
* Small comments for tests. [alexv]
* Skipping travis test of rpm & debian branches. [alexv]
* Removing old gone six submodule. [alexv]
* Changed dependency to tblib third party released package to allow
  build for any ROS platform. [alexv]
* Making python-mock a full dependency (used in package, for
  transitivity). commenting tblib, might not be needed. [alexv]

Seeing the last three PRs I wonder how the releases across all three ROS distros can have the same version number but are coming from two different branches (indigo and master)? Aren't all releases using the same tag (see https://github.com/asmodehn/pyros-rosrelease/blob/master/tracks.yaml#L69)?


fix(angular): update grammars from upstream

This includes upstream fixes such as

@let syntaxes
Separate syntaxes for tags to take advantage of injectionSelector
Using scss for inline style language
Updated embedded languages for block syntax
Allowing block syntax highlighting to work with { on separate lines

Thanks for the PR 🙏


Type-safe string interpolation syntax sugar

Problem
Building a formatted string is kinda verbose. You'll probably end up by creating small formatter components per each use case. On the other hand in e.g. JavaScript string interpolation is super easy - ${a} + ${b} = ${a + b}.
import { fmt }

def XXX(a int, b int) (c string, err error) {
    fmt.Printf<int>?
    ---
    '$ + $ = $' -> printf:tpl
    a -> printf:args[0]
    b -> printf:args[1]
    (a + b) -> printf:args[2]
    printf -> :c
}

Proposal
Introduce new type of sender, that can be processed by both analyzer (ensure everything is correct) and desugarer (translate to "before" version)
def XXX(a int, b int) (c string) {
    `{:a} + {:b} = {(:a + :b)}` -> :c
}

type Format string {
    Template string
    Args []Sender
}


Improve coverage of card tooltips in game log

Right now there are several situations where you can't hover over card names and see what the card looks like in a tooltip. We should try to fix this:

When the page is refreshed, we aren't adding tooltips to existing game log messages
We aren't currently adding tooltips to the log message when activating a dogma effect (e.g. "X activate the dogma of Y with Z as the featured icon")

In order to address these issues (and likely many other situations where we mention a card name in the logs), I think we will need to send the frontend information via getAllDatas() about each card in the game. If we make this change, we can likely reduce how much data is sent about cards in the notifications that are sent throughout the game.
This will be a fairly substantial amount of work.

Here's the list of fields we need for each card in order to create tooltips:

id
age
faceup_age
name
dogma_icon
color
type
is_relic
spot_1
spot_2
spot_3
spot_4
i_demand_effect_1
i_demand_effect_1_is_compel
non_demand_effect_1
non_demand_effect_2
non_demand_effect_3
achievement_name
condition_for_claiming
alternative_condition_for_claiming

The fields we need to make sure we don't send are the following (since it will revealed hidden information):

owner
location
position

It doesn't matter whether the following fields are sent (but we should avoid sending it to save space):

splay_direction
selected
icon_hash


too many metrics?

I'm noticing on recent release we have a ton of metrics, and some look dodgy. Might not have hit the mark, yet.
ex.
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.0",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.5",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.75",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.9",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.95",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.98",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.99",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="0.999",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds{httpStatus="0",method="UNKNOWN",quantile="1.0",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds_count{httpStatus="0",method="UNKNOWN",} 0.0
elasticsearch_healthcheck_pendingAcquisitionDuration_seconds_sum{httpStatus="0",method="UNKNOWN",} 0.0

@trustin Anything off the top of your head for what makes method=UNKNOWN metrics?

Verified on latest version, there are no more method="UNKNOWN" metrics so presumably this has been fixed in Armeria since.


"Segmentation fault" error when i run phantomjs 1.9.8

my os is ubuntu 14.10,
i download  phantomjs 1.9.8 from bitbucket,
and when i run it,
terminal displays  "Segmentatin  fault",
i installed phantom 1.9.0 from apt-get install  in the past, and i apt-get remove it already.
so,  how to solve  this problem, who  can give me a hand ?

Please upgrade to PhantomJS 2.0. 1.9.x is no longer supported, and known to have many crasher bugs that are fixed in 2.0.


Consider Purple Air and Fire icon collapsable marker group to allow for clicking all available icons

Currently, with the large number of Purple Air sensors in Fairbanks and / or when the fires pile on top of one another in the map, there isn't a good way to access the icons below the top level icon. Consider a way to group these markers and give an "average" AQI or "total" acres burning as the icon until it's clicked?

It is true and valid.  I'm also unsure how to proceed: as-is, it works pretty OK with a "overall color pattern" but agreed that the numbers become unreadable in particular.  Without increasing zoom level I don't know what to change.  Clustering wouldn't be effective because zoomed-out it would have one number for the whole area which isn't great; this really is showing some meaningful detail.  Almost like the individual points are "pixels".

I'm going to close this because we haven't gotten direct feedback around this and clustering would hide important info.


Make MiniCheck pip-installable

Hi @Liyan06, thanks for this wonderful work!
It would be helpful if MiniCheck was pip-installable for use in other projects. This PR adds this option.
You can use the following command to test this PR in a fresh Python environment:
pip install "git+ssh://git@github.com/jantrienes/MiniCheck.git@pip-install#egg=minicheck[llm]"
python -m minicheck.minicheck

I made vllm an optional dependency so that the non-llm models can be used on MacOS. Minicheck with vllm can be installed with the pip extras syntax .
Lastly, it should be possible to push the package to PyPI.org by following the steps here: https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives

Hi Jan, this is really helpful and thanks a lot! I'll test this later today or tomorrow!


Main / Global Ceph Dashboard - Cluster card issues

On the Ceph main / global dashboard, it's currently showing 0 conditions when only when there are more than 1 conditions to show.  It's also showing text "Cluster have host quorum" when this is not true.
Current Ceph main / global Dashboard - Cluster card:

In this particular scenario, the only conditions that should show would be 2 Alerts.  The rest are 0 for down, near full, major, etc.
If a cluster has lost quorum, then only do we show the text "<# of clusters> lost quorum>"
See design spec: https://redhat.invisionapp.com/share/589XIRJBW#/screens/214068211 -- here's the excerpt:

@gnehapk @nnDarshan @cloudbehl @sankarshanmukhopadhyay @r0h4n


Service resource does not handle dependent services on Windows

Description
When attempting to stop a Windows service that has dependent services, the Windows service provider errors out with a message stating the service cannot be stopped since one of its dependents is still started.
Could the service resource have an attribute to apply the action on the service's dependents?
Chef Version
12.11.18
Platform Version
Windows Server 2012 R2
Replication Case
Run a recipe that attempts to stop a Windows service with dependents using the service resource
Client Output
[2016-06-12T19:21:51-04:00] DEBUG: SystemCallError: windows_service[MSSQLSERVER] (test-recipe::stop-services line 30) had an error: SystemCallError: A stop control has been sent to a service that other running services are dependent on. - ControlService: A stop control has been sent to a service that other running services are dependent on.
Stacktrace
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/win32-service-0.8.7/lib/win32/windows/helper.rb:36:in 'raise_windows_error'
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/win32-service-0.8.7/lib/win32/service.rb:1551:in 'send_signal'
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/win32-service-0.8.7/lib/win32/service.rb:760:in 'stop'
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18-universal-mingw32/lib/chef/provider/service/windows.rb:133:in 'block in stop_service'
C:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18-universal-mingw32/lib/chef/provider/service/windows.rb:288:in 'block in spawn_command_thread'

I think this is the behavior that we want.  While it would be convenient to force all the dependent services to stop, there isn't necessarily a hard link between a service and dependent services.  This could easily lead to scenarios where (using your example of sql server) you stop sql server and that also shuts down sql agent (which by default is a manual start service).  Later in your recipe, you start sql server, but sql agent is never restarted.  If you are explicit about the services you expect to be stopped, it's more transparent as to what services are being affected.
You can work around that by using a powershell_script resource with stop-service mssqlserver -force if you really need that behavior, but you have the same potential downside that starting one service back up does not necessarily start back up any of the dependent services.


"ERROR: no schema has been selected to create in" from Postgresql

I am using docker-compose to deploy it, here's the last log of docker-compose up:
zulip_1     | Executing Zulip first start init ...
database_1  | 2015-10-25 19:37:46 UTC [43-1] zulip@zulip ERROR:  no schema has been selected to create in
database_1  | 2015-10-25 19:37:46 UTC [43-2] zulip@zulip STATEMENT:  CREATE TABLE "django_migrations" ("id" serial NOT NULL PRIMARY KEY, "app" varchar(255) NOT NULL, "name" varchar(255) NOT NULL, "applied" timestamp with time zone NOT NULL)
zulip_1     | Traceback (most recent call last):
zulip_1     |   File "/home/zulip/deployments/current/manage.py", line 24, in <module>
zulip_1     |     execute_from_command_line(sys.argv)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
zulip_1     |     utility.execute()
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 330, in execute
zulip_1     |     self.fetch_command(subcommand).run_from_argv(self.argv)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 393, in run_from_argv
zulip_1     |     self.execute(*args, **cmd_options)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 444, in execute
zulip_1     |     output = self.handle(*args, **options)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle
zulip_1     |     executor = MigrationExecutor(connection, self.migration_progress_callback)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in __init__
zulip_1     |     self.loader = MigrationLoader(self.connection)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in __init__
zulip_1     |     self.build_graph()
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 182, in build_graph
zulip_1     |     self.applied_migrations = recorder.applied_migrations()
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
zulip_1     |     self.ensure_schema()
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 53, in ensure_schema
zulip_1     |     editor.create_model(self.Migration)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 286, in create_model
zulip_1     |     self.execute(sql, params or None)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 111, in execute
zulip_1     |     cursor.execute(sql, params)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
zulip_1     |     return self.cursor.execute(sql, params)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 97, in __exit__
zulip_1     |     six.reraise(dj_exc_type, dj_exc_value, traceback)
zulip_1     |   File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 62, in execute
zulip_1     |     return self.cursor.execute(sql)
zulip_1     |   File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 23, in execute
zulip_1     |     return wrapper_execute(self, super(TimeTrackingCursor, self).execute, query, vars)
zulip_1     |   File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 11, in wrapper_execute
zulip_1     |     return action(sql, params)
zulip_1     | django.db.utils.ProgrammingError: no schema has been selected to create in
zulip_1     |
zulip_1     | Zulip first start init failed in "migrate --noinput". with exit code 0
zulip_zulip_1 exited with code 0

@ff- Could you please post the full output and your quay.io/galexrt/zulip image id?

@ff- Could you provide the full log of the zulip container?

@Galexrt the image id is quay.io/galexrt/zulip:v1.3.7-1
Here's the full log of the zulip_zulip_1 container:
=== Begin Initial Configuration Phase ===
Executing nginx configuration ...
Nginx configuration succeeded.
Exectuing certificates configuration...
Certificates configuration succeeded.
Setting Zulip secrets ...
Secrets already generated.
Secret found for "email_password".
Secret found for "rabbitmq_password".
Zulip secrets configuration succeeded.
Setting database configuration ...
Setting key "DATABASES", type "array".
Database configuration succeeded.
Setting caches configuration ...
Setting key "CACHES", type "array".
Caches configuration succeeded.
Activating authentication backends ...
Setting key "AUTHENTICATION_BACKENDS", type "array".
Adding authentication backend "EmailAuthBackend".
Authentication backend activation succeeded.
Setting redis configuration ...
Setting key "RATE_LIMITING", type "bool".
Setting key "REDIS_HOST", type "string".
Setting key "REDIS_HOST_PORT", type "int".
Redis configuration succeeded.
Setting rabbitmq configuration ...
Setting key "RABBITMQ_HOST", type "string".
Setting key "RABBITMQ_USERNAME", type "string".
Rabbitmq configuration succeeded.
Executing Zulip configuration ...
Setting key "EMAIL_HOST_USER", type "string".
Setting key "NOREPLY_EMAIL_ADDRESS", type "string".
Setting key "EMAIL_HOST", type "string".
Setting key "EXTERNAL_HOST", type "string".
Setting key "ADMIN_DOMAIN", type "string".
Setting key "DEFAULT_FROM_EMAIL", type "string".
Setting key "ZULIP_ADMINISTRATOR", type "string".
Zulip configuration succeeded.
Auto backup enabled.
=== End Initial Configuration Phase ===
=== Begin Bootstrap Phase ===
Waiting for database server to allow connections ...
(Re)creating database structure ...
Database structure recreated.
Bootstrapping RabbitMQ ...
RabbitMQ deleting user "guest".
Deleting user "guest" ...
RabbitMQ adding user "zulip".
Creating user "zulip" ...
RabbitMQ setting user tags for "zulip".
Setting tags for user "zulip" to [administrator] ...
RabbitMQ setting permissions for user "zulip".
Setting permissions for user "zulip" in vhost "/" ...
RabbitMQ bootstrap succeeded.
Executing Zulip user creation script ...
Zulip user creation left enabled.
Executing Zulip first start init ...
Traceback (most recent call last):
  File "/home/zulip/deployments/current/manage.py", line 24, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 330, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 393, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 444, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in __init__
    self.build_graph()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 182, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
    self.ensure_schema()
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 53, in ensure_schema
    editor.create_model(self.Migration)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 286, in create_model
    self.execute(sql, params or None)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 111, in execute
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 97, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
  File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 23, in execute
    return wrapper_execute(self, super(TimeTrackingCursor, self).execute, query, vars)
  File "/home/zulip/deployments/2015-10-25-16-12-27/zerver/lib/db.py", line 11, in wrapper_execute
    return action(sql, params)
django.db.utils.ProgrammingError: no schema has been selected to create in

Zulip first start init failed in "migrate --noinput". with exit code 0

@ff- I looked into the problem and I fixed it in 4b46b0b2cbc7921c4a1f11ccc22b9e8459065d71.
Images are currently being built (You can see the status here https://quay.io/repository/galexrt/zulip).
Could you please post the output of the command docker exec -t zulip_zulip_1 env here, if you have added credentials please remove them in the output. Thanks.

@Galexrt that command would not run, because the zulip_zulip_1 container has exited on the error.
The build that you just triggered will be available under the same tag?

@ff- Yes under the same tag. Please repull, when the image is built. See https://quay.io/repository/galexrt/zulip.
It will take some time for the image to be built (current estimated time 2 hours).
Sry about the long image build time. The error should be now fixed.
If you have any other questions, you can join the IRC. :)

@ff- Can you try again with the new image if the error is still there?

@Galexrt it is fixed now, thank you so much for the hotfix! :)
I can see the container starting correctly from the logs, however I cannot access to the webpage yet, due to some SSL problems that I'm debugging. I will open another issue if they are related to this Dockerfile, while I'm closing this one.


[vcpkg baseline] [rtabmap] Set option dependencies OFF

Related to https://github.com/microsoft/vcpkg/pull/14089
rtabmap is a new added port, it contains many option dependencies, set them OFF by default for unblocking the CI testing.
These should be added as a feature, and resolve the dependency issue before enabled, cc @seanyen
See https://github.com/introlab/rtabmap/blob/master/CMakeLists.txt#L159

Thanks for the fix! The addition looks good to me.

@BillyONeal, could you help review and merge this PR?

Thanks for the help!


ConvertImageDtype does not work properly in the range (0. 1.)

🐛 Describe the bug
The transformation torchvision.transforms.ConvertImageDtype(torch.uint8) does not work correctly with tensors in the range [0.0, 1.0].
If you have a tensor with values in the range [0.0, 1.0] and apply ConvertImageDtype(torch.uint8) to them, you would expect to have binary tensors, where values less than 0.5 are rounded to 0, and 1 in the case of values greater than or equal to 0.5. However, this conversion returns a tensor in the range [0, 255]. So, sequences like the following will not return the expected behaviour:
...
...
transforms.ToTensor(), # normalized in range [0., 1.]
transforms.ConvertImageDtype(torch.uint8) # Binary tensor

Versions
Pytorch 2.0

Thanks for the report @mjack3 .
The docs say:

Convert a tensor image to the given dtype and scale the values accordingly.

So IMO this is fairly expected - we can't always 100% describe a function's behaviour just by its name. This scaling behaviour is also what users will want to have in 99% of the cases. But do let us know if you think we can make that clearer

In my opinion, this is not to be expected based on the description given. The natural values of decimal values in the range [0.0, 1.0] are simply the values 0 and 1. The natural version of decimal values in the range [0.0, 255.0] are the values between 0 and 255. However, if you consider this behavior is expected, I would add to the description that the value is scaled accordingly in the range [0, 255].

I guess it's a matter of convention. I don't think there's a lot of users working with images who would expect 0-1 output when converting from float to uint8. If you know of libraries who do that, I'd be happy to know.
Also from our docs:

The expected range of the values of a tensor image is implicitly defined by the tensor dtype. Tensor images with a float dtype are expected to have values in [0, 1). Tensor images with an integer dtype are expected to have values in [0, MAX_DTYPE] where MAX_DTYPE is the largest value that can be represented in that dtype.

and here

Beware, some of these conversion transforms below will scale the values while performing the conversion, while some may not do any scaling. By scaling, we mean e.g. that a uint8 -> float32 would map the [0, 255] range into [0, 1] (and vice-versa).

Mmm, ok, it is correctly documented. Thanks