added init container for createBootstrapContainer function,

check if user exists and create it if not, for initdb to initialize the database along the UID GID passed in the spec successfully
related issue: https://github.com/cloudnative-pg/cloudnative-pg/issues/3331

Hello @wibed, thanks for the PR. We will take a look at it ASAP.

Wouldn't these changes mean the container has to run as root?

Hello @wibed, It seems that the PR depends on the presence of getent and adduser. Those binaries could not be available in the container.
also CC @leonardoce , @mnencia and @phisco if you want to add your opinions

as it is based on debian, those packages are indeed present.
the command i ran to test is:
docker run -it -u 0 ghcr.io/cloudnative-pg/postgresql:15.2 bash

i did need root privileges to add a user or group to the system though.

Hello, I don't think we should tie CNP with root permissions, but this is my opinion. I would love to hear more opinions from the community and the maintainers.

id love to have multiple images to choose from. it comes down to who will maintain those over the timeline though

@armru
any update on this?

@wibed ,
Hello, probably the fastest way to proceed is to bring this up at the community meeting to gather feedback from the community/ other maintainers. Would you be available to join one of the upcoming ones?
@mnencia, @leonardoce any input on this patch?

We are trying to solve the wrong problem here. Having the postgres user inside the Postgres container is the responsibility of whoever builds the container image. If the environment changes the user to something different (like open shift does with restricted SCC), it is responsible for ensuring that that user exists inside the /etc/password file, and our operator supports it.
CNPG allows you to pass the desired user as part of the cluster configuration, which is all we need to do, IMHO.

i add my two cents here as well as i did in the issue last week.
i see where you coming from, that any system related changes should not bleed into the responsibility of a postgres related deployment.
yet does initdb, a fundamental part of postgres, do expect a user which can be set within the settings already available from within the repo.
i ask myself if it wouldnt be smarter to exclude that option and just force uid/gid nobody on everyone as it should.
what do you think?

Please refer to https://github.com/cloudnative-pg/cloudnative-pg/issues/3331#issuecomment-1961476853 for my thoughts on this


#1802 adapt helm template commands to helm v3

Closes #1802
Due to the upgrade to Helm v3, the --name flag we previously used in the helm template commands, is not supported anymore. Instead, the name of the template is not a mandatory parameter, as described in the Helm v3 docs

Thanks, I'll test the installer image of this branch and will approve the PR once I confirmed that it works on both OpenShift and K8s

Codecov Report

Merging #1803 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1803   +/-   ##
=======================================
  Coverage   31.28%   31.28%
=======================================
  Files          97       97
  Lines        7416     7416
=======================================
  Hits         2320     2320
  Misses       4814     4814
  Partials      282      282

Continue to review full report at Codecov.

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


Segfault in cmgen with horizontal cross

When I process a horizontal cross cubemap with cmgen, I get a segmentation fault in Cubemap.cpp::makeSeamless line 102.
When looking at the code :
    if (geometry == Geometry::HORIZONTAL_CROSS) { // horizontal cross
        stich(  getImageForFace(Face::NZ).getPixelRef(0, dim), bpp,
                getImageForFace(Face::NY).getPixelRef(dim - 1, dim - 1), -bpp);

        stich(  getImageForFace(Face::NZ).getPixelRef(dim, 0), bpr,
                getImageForFace(Face::NX).getPixelRef(0, 0), bpr);

        stich(  getImageForFace(Face::NY).getPixelRef(0, dim), bpp,
                getImageForFace(Face::NZ).getPixelRef(dim - 1, dim - 1), -bpp);

    }

With this reference : http://iwearshorts.com/Mike/uploads/2015/04/map.jpg
If this reference is correct, in the last two stich calls, the right column of NZ (dim, 0) and the bottom row of NY (0, dim) are indeed outside the image.
There is probably the same issue with vertical cross, but I didn't try it.

Thanks for the report. We mostly use rectilinear images, we must have introduced a regression to cross maps a while ago. We'll look into it.


Expensive NAT charges when deployed to ECS

I deployed titiler to ECS, never touched it (besides making sure it worked), and then four days later checked and had $150 in NAT charges, with 3TB of "Data Processed by NAT Gateways" at $0.045/GB. The egress bandwidth is only 1.694 GB, however, so nearly all of this data was inbound to the tiler.
The logs all look like this:

There are such logs nearly every second:

It looks similar to this issue: https://github.com/tiangolo/fastapi/issues/253. There are several configuration settings in the fastapi docker options.

So actually what is the solution here? To avoid this? Setting up max_workers or just not to use Fargate? Or something else?

@MiroslavHrcan https://github.com/developmentseed/titiler/blob/master/deployment/aws/cdk/config.py#L48-L68
yes setting max_workers env should fix the issue!

Is there maybe a way how to completely disable this GET request (is this some kind of health check?) to be sent?
Thx for the previous answer.


server: support sending incremental snapshot

What is changed and how it works?
Issue Number: Ref #14256
What's Changed:
This PR tries to reduce the bandwidth consumption by utilizing local tablet.
If a file already exists in the local tablet, it will be skipped.

This PR also fixes a race of receiving snapshot.

Check List
Tests

Unit test
Integration test

Release note
Fix snapshot corruption in rare case when using dynamic regions

PTAL, I think this PR may also fix the data corruption bug.

/run-build-arm64 comment=true

/run-build-arm64 comment=true

PTAL

/test

/merge


NeonService JSON log lines are being split

@marcusbooyah noticed that log lines are being split after the  NeonService migration to OpenTelemetry and JSON formatted logs.
We original thought this may have been due to enabling batch log processing but that didn't really make sense and I also confirmed that we're not batching anyway.
It looks like we're writing the log lines correctly.  This may be a CRI-O issue.  Docker appears to have a similar issue where it automatically splits long lines and it appears that promtail can be configured to handle this: https://github.com/grafana/loki/issues/2281#issuecomment-1105188098
Here's haircommander discussing this for CRI-O: https://github.com/cri-o/cri-o/issues/4432
It looks like CRI-O is reading logs using an 8K buffer and if a log line happens to be split across an 8K boundary, CRI-O will split that into two lines using the P and F annotations.  So this isn't really a max line length thing, but longer lines will make this more common.
I think this Grafana node agent config will do the track:
additionalScrapeConfigs:
- multiline:
    # Identify a zero-width space as first line of a multiline block and
    # then have the agent remove that as well as the linefeed.  We'll give
    # the agent up to 3 seconds for the remaining part of the log to be
    # captured.
    firstline: '^\x{200B}'
    max_wait_time: 3s
  - replace:
      expression: '^(\x{200B})'
      replace: ''
  - replace:
      expression: '([\n])'
      replace: ''

I was thinking about this last night at the fair and I think this may be an ID10T error.
I think that the console output stream buffers may be holding log data in memory long enough sometimes such that the CRI-O times out and reads a partial line.  The solution is to have the exporter flush the buffer after writing any batched records (of which there will only be one for us since we're running in simple mode).  I flush logs like this in other places (like LinuxSshProxy).
@marcus: I'll add the flush and you should probably back out the Promtail replace config and then we'll see if this is fixed.

I'm going head and closing this.


Update to Minecraft 1.20.

This was forked from @Apis035's 1.18 branch.

Should work on 1.20 and 1.20.1; maybe 1.20.2
Added Charcoal Block to the flammable block registry
Switch to datagen for the data files
Now there are recipe advancements

Using datagen provides updated recipes and recipe advancements.    I have reviewed the new data files to make sure they functionally match the old ones.

Any chance of a precompiled jar?

Updated, thank you!
@NolanHewitt Try this: https://apis.s-ul.eu/kcEf56dW
I have been away from Minecraft since 1.18, so needed some time to get back to the game. I'll update the Modrinth/Curseforge file when I have time.


Add debug output to deploy script

Trying to diagnose the error with deployment, so need more data

.deploy noop staging


Activity is not getting updated on either of my Discord clients

Perhaps I'm misunderstanding how this application works, but I have the Discord subscriber enabled, and I have the MiSTer publisher enabled.
The app detects game changes. Both my Discord clients have Game Activity enabled, but detect no games running at all. The Rich Presence activities don't seem to reach either of them. I run Discord and DiscordPTB for two separate accounts.
The documentation here states you should be sequentially pinging the entire range of 10 RPC ports to be sure it reaches known clients:
https://discord.com/developers/docs/topics/rpc#rpc-server-ports
Is this occurring? I'm trying to figure out if I did something wrong, or this is something wrong with the program.
I'm just trying to brainstorm. I'm out of ideas.

Take a look at the readme for discord subscriber. This uses the rpc protocol used by the desktop app that needs to be running on the same machine as the script. This has only been tested on the official discord desktop app.

For the Discord subcriber to work, you need to have the discord application install on the same machine the script is running on. This uses the RPC protocol.Setup an appication in Discord that will be used for this integrationNavigate to https://discordapp.com/developers/Click “Create an Application.”Setup the application how you want, name in MiSTer , and give it a good image.Right under the name of your application, locate your Client ID. You will need this later.Lastly, save your application.Discord Config

Config
Example
Details

application_id
1234567890
Discord application id

reconnect
true/false
reconnect to discord if failed to connect after initail retries

  "discord": {
        "application_id":"",
        "reconnect":true
    }In the pubsub.json file this requires an extra field for type because the library being use is async."Discord":{
   "status":"enabled",
   "type":"async",
   "subscribed_events":[]
}Discord subscriber only has one action so it does not need to be defined. State and details are require, the rest can be left as "" if not wanted. The images are the names of the images uploaded in the developer portal. {tokens} can be used as the values to set them dynamically based on the event. The names will be set to lowercase automatically because discord makes the image names lowercase when uploading. Values for button links can't use {tokens} because discord does not seem to actually apply the change. It is best to use these for links that will not change like a twitch or youtube channel. You can max a max of 2 buttons and if no buttons are wanted remove the buttons field from the json object.{
   "description":"Set the Discord status for the current game",
   "status":"enabled",
   "state_text":"{release_name}",
   "details_text":"{system}",
   "small_text":"",
   "small_image":"misterkun",
   "large_text":"",
   "large_image":"{core}",
   "buttons":[
      {
         "label":"Button 1",
         "url":"https://www.google.com"
      },
      {
         "label":"Button 2",
         "url":"https://www.google.com"
      }
   ]
}

So I read all of that, and the part I was missing was that I had to actually configure the JSON with events and actions myself for it to do anything. I misunderstood this. The section for how to do it was far above the Discord and MiSTer sections, so I didn't think it was related to my interests.
Apologies. Maybe mentioning these steps in the setup section (after the developer portal stuff) would be a good idea?

Enable at least one subscriber and one publisher in pubsub.json.
Add events in the pubsub.json for the subscriber(s), and any number of actions you wish to have trigger when the event fires. See the "Publisher/Subscriber Model" section for details, referring to the events in each publisher section and actions listed in each subscriber section for how to configure.
If using the Discord subscriber, make sure to upload any wanted images to the Developer portal under the "Rich Presence" assets section, and name them to match what is in your actions. If it is a dynamic item, like {core} for example, keep in mind the images cannot have spaces. The {core} names should not have spaces, so this works for them. (naming the images atarilynx or gba2p, for example) Letter case does not matter.
Run the application while Discord is running on the same machine. DiscordPTB and Nightly are not supported. It should automatically connect to Discord, and start listening for the enabled publisher(s).

Thanks for the feedback. I've added your steps to the readme.


Trino can't read table when there is no files on S3

Hi we have a scenario where the data is written on S3 and Glue metastore. There is a tricky situation where sometimes the tables are created with no data, ie the query returns 0 rows and therefore the table is created but there is no data.
When we try to query this table later we get the error:
SQL Error [16777220]: Query failed (#20220711_175341_09350_zawua): Partition location does not exist: s3://bucket/table...
Is there a way of pointing out to trino that the table is empty? I have no issues querying this table using Athena.
Thank you

Can you please describe in detail a reproduction scenario for this issue?
Feel free to fill in some scripts for very small models that make this problem reproducible.
Specifying the connector, how the schema is created (with or without location), whether the table is managed or external would also help.


Adding properties to DC patch

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month. March.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. March
If updating an existing version, please select the specific language SDKs and CLIs that must be refreshed after the swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No refresh required for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[x] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Hi @lirenhe , can you please help me approve this PR? I see there is a swagger SDK breaking change check failure (azure-sdk-for-go-track2) but this is not for anything I added, so not sure why it shows that.
Thank you for your help.

@jorgbaca , to confirm, you don't need to make change to the swagger, is that correct?


Add Kotlin-specific data in BSP BuildTarget

This adds Kotlin-specific custom data in BSP's BuildTarget for KotlinModules.
Not tested in IntelliJ yet, seems BSP support in my EAP version doesn't advertize Kotlin support in its BSP InitializeBuildParams, unlike how the sources of intellij-bsp do (trying things to get that…)

Includes https://github.com/com-lihaoyi/mill/pull/3608 for now

Seems there's some mixed Scala / Kotlin support in intellij-scala though:

https://github.com/search?q=repo%3AJetBrains%2Fintellij-scala kotlin&type=code

I confirm things seem to work fine with mixed Kotlin and Scala modules from sbt, like this project. I've managed to look at the detailed BSP messages between sbt and IntelliJ. They don't rely on declaring Kotlin as a supported language anywhere, nor with any Kotlin-specific data or extension. My guess is that declaring Kotlin modules as Scala ones (Java ones might work too, that will need to be tested), and maybe also putting the Kotlin compiler (org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable and its dependencies at least), makes IntelliJ happy with Kotlin sources (it doesn't complain saying "Kotlin not configured" in a yellow banner above sources, and code navigation seem to work fine, from Scala to Kotlin at least).

That seems to be a way to proceed via intellij-scala, and its BSP support, that differs from the BSP support from intellij-bsp, that intellij-bazel relies on, and that seems to have explicit Kotlin support in BSP.

@alexarchambault as a first pass, proceeding via intellij-scala seems reasonable. People will need it installed anyway to support Mill Build files.
@jastice sorry to bother you, but do you happen to know what the story is around IntelliJ/BSP/Kotlin? Should we be using intellij-scala, intellij-bsp, or something else? Does the answer to that differ between short-term and long-term plans?

There is at least one open Kotlin issue in the BSP project. Can we clarify how it releates? Also, I think any workaround / quirk should come with a link to an upstream issue/ticket. We are almost the only BSP server outside of the IntelliJ developer hood, so if we don't report issues and ensure the BSP spec is alligned with the existing implementations, probably nobody will do and the whole spec isn't worth anything.

do you happen to know what the story is around IntelliJ/BSP/Kotlin? Should we be using intellij-scala, intellij-bsp, or something else? Does the answer to that differ between short-term and long-term plans?

@lihaoyi mid-term, intellij-bsp will be the way to go. @AnthonyGrod has been working on improving specifically the Mill support for it. It's currently compatible with Nightly releases of the Scala plugin.

Hello 👋🏻 Sorry for the late reply. How may the Scala Plugin for IDEA team help?
One specific comment about sbt-kotlin-plugin (used in this project), it doesn't support any incremental compilation of the Kotlin sources. In fact, they are recompiled every time sbt compile is invoked. I assume this issue will be very visible when used in a BSP project.
I opened a discussion in Zinc about potentially adding support including other JVM languages in the incremental compilation algorithm, but I'm not sure the discussion has produced anything immediately actionable yet.
https://github.com/sbt/zinc/discussions/1394

@vasilmkd You could try to pitch for opening up a public API for incremental compilation in Kotlin. I mean, the Kotlin compiler seems to be able to compile incrementally, it's just not available to tools other than IntelliJ IDEA or Gradle. And why should we add something to zinc, for which any Kotlin specific aspects are an afterthought, if it's already implemented in the Kotlin compiler? I think there is something highly experimental, but IIUC it's not that easy to use from outside of Gradle.
There is a (incomplete) list of probably related tickets in my tracker issue for incremental compilation: https://github.com/lefou/mill-kotlin/issues/131

I agree. My question would be how your plans for Kotlin incremental compilation in Mill tie in with incremental compilation of Scala + Kotlin + Java projects. I would think eventually, some sort of Zinc analysis will need to be emitted. I'm personally not only interested in pure Kotlin incremental compilation.
Maybe I'm missing something. I would love to know more. Maybe we can collaborate on this. Thank you.

I don't think that reliable incremental compilation between mixed Java/Scala/Kotlin can become a think in any near future. Kotlin isn't the nicest player in the JVM ecosystem when it comes to API contracts[^1] mixing Scala and Kotlin can become quite hard.
We should first strive for making the live of the majority of developers easier, which only mix those languages up- or downstream, but not in the same (Mill) module. We should focus on making incremental compilation of Java/Kotlin projects work, which is what the Kotlin compiler already supports (but it down not provide it to us yet). Downstream compilations can handle arbitrary compile output as any other binary dependency.
[^1]:  (for example, Kotlin is silently altering generics to either in or out when implementing Java interfaces, so that the Scala compiler isn't even accepting those Kotlin classes as worthy overrides of an Java interface. To fix this, you have to change the upstream Java interface)

In Mill, we should allow to pass arbitrary additional data via the compile task, like incremental analysis data. So Kotlin modules can use the Kotlin data from upstream Kotlin modules, and Scala modules can use the zinc analysis data of upstream Scala modules.
There is a related issue:

https://github.com/com-lihaoyi/mill/issues/2781

Thanks for the context @vasilmkd.

I agree with @lefou that combining Java+Scala+Kotlin in the same module and trying to compile them all in Zinc is probably not feasible.

Mill does its own module-level caching, so if no Kotlin sources are changed, we re-use the output without invoking the Kotlin compiler at all, so the situation won't be quite as dire as in SBT where it re-compiles every time.

However, one thing Mill needs help from the Kotlin compiler is for file-level incremental compilation. Mill is not aware of the file-level dependencies and needs the Kotlin compiler to do the file-level incremental compilation for us.

Mill currently models compilation as two long-lived paths on disk: output classFiles + incremental analysisFile, and what's exactly in each of those paths, and how they are updated or invalidated, is up to the language implementation. We can also expand this if necessary.

A reasonable target to aim for is to allow Kotlin-only and Java+Kotlin modules to incrementally compile, and to ensure that inter-module dependencies between Scala and Kotlin modules work as best possible.

@vasilmkd do you know who we could talk to about the best way to wire up the Kotlin compiler's incremental compilation into Mill? We're happy to do work on the Mill side, just would like to know what the best way forward is

Closing this PR, as I'm splitting it into https://github.com/com-lihaoyi/mill/pull/3643 and https://github.com/com-lihaoyi/mill/pull/3644, but the discussion here can keep going if you'd like 😅


It is recommended that you install Prometheus and Grafana, loki and promtail automatically.

Checklist

[X] I've searched for similar issues and couldn't find anything matching
[X] I've discussed this feature request in the OpenIMSDK Slack and got positive feedback

Is this feature request related to a problem?
None
Problem Description
components are all standard and open automatically by default, so users who don't need them can be disabled, instead of having them manually execute installation commands. This is also a common practice in many open source software today.
Solution Description
components are all standard and open automatically by default, so users who don't need them can be disabled, instead of having them manually execute installation commands. This is also a common practice in many open source software today.
Benefits
Minimize user operations.
Potential Drawbacks
No response
Additional Information
No response

Undergoing comprehensive testing, awaiting updates


propose updates to sourmash to make kmers_and_hashes code less cumbersome

code in #40 could benefit from making SeqToHashes less opaque over in sourmash.
Some ideas:

simple and lightweight: provide access to kmer_index per https://github.com/oxli-bio/oxli/pull/40#issuecomment-2370737286 to make
better, but more: provide an iterator in sourmash that yields canonical k-mers and hashes;

ref https://github.com/sourmash-bio/sourmash/issues/3339


Firebase Dynamic Links are reopening if put on onStart()

Environment:
Android device: OnePlus 5 A5000
Android OS Version: 8.1 (27)
Google Play Services version: 11.8.0
Firebase/Play Services SDK version: 11.8.0
According by Dynamic Links docs:

You must call getDynamicLink() in every activity that might be launched by the link, even though the link might be available from the intent using getIntent().getData(). Calling getDynamicLink() retrieves the link and clears that data so it is only processed once by your app.

For compatibility issues for devices which not supporting App Links, I'm loading Dynamic Links on main activity and routing to desired activity according Uri. So what I did:
@Override
public void onStart() {
    FirebaseDynamicLinks.getInstance()
                    .getDynamicLink(getIntent())
                    .addOnSuccessListener(this, pendingDynamicLinkData -> {
                        if (pendingDynamicLinkData != null) {
                            if (BuildConfig.VERSION_CODE >= pendingDynamicLinkData.getMinimumAppVersion()) {
                                routeDeepLinkIntent(this, pendingDynamicLinkData.getLink());
                            } else {
                                Intent update = pendingDynamicLinkData.getUpdateAppIntent(this);
                                startActivity(update);
                            }
                        }
                    })
                    .addOnFailureListener(this, e -> Log.w("DynLink", "On Failure", e));
}

In routeDeepLinkIntent(activity, uri) (very simplified)
if (uri.getPath().equals("activityToOpen") {
    Intent intent = new Intent(activity, ActivityToOpen.class);
    activity.startActivity(intent);
}

And works flawlessly, but, if I go back to previous activity, .getDynamicLink(getIntent()) will return dynamic link again and the process will repeat some times until stops. So the behavior is different  from documentation.
If I put the code in onCreate(), dynamic link will works, but, if app is already opened, dynamic link will not work. Ok, because I ran .getDynamicLink(getIntent()) on onCreate, so activity is already created and getDynamicLink() will not be called.
How can I fix this, if possible?

@burnermanx thanks for reporting this, I see the same behavior.  I'll go find out if this is a docs bug or a product bug.

Firstl, call it onCreate() of the activity.
Secondly, if you handle dynamic links in onNewIntent()- method you can check if intent in getIntent().getData() and pendingDynamicLinkData.link are different you can decide which one to open.


Atom + Bash on Ubuntu on Windows

Hello, I've already read a topic about this, but nothing helped me.
Whenever I launch cmd.exe and type there bash it works, but then after trying terminal-plus package, and putting custom shell as C:\Users\Rafal\Documents\bash since it's symbolic link in my docs dir. but there's no console while creating new terminal.
Please point me where to get logs or anything that could help you. I'm new to Atom.

Not sure if this will help, but I made a change here https://github.com/jeremyramin/terminal-plus/issues/415 to get the regular windows prompt working.


Better typings for promise.race based on conditional types

Following the feature - Mapped tuple types #25947 - it is now possible to have better typings for Promise.race
From @dubzzz before I messed up his fork

This is thanks to conditional types, not mapped types.
It'd be nice to have a test of some sort (I'm sure we don't). Something simple like
let a = Promise.race([
    Promise.resolve(10),
    Promise.resolve("hello")
]);

@DanielRosenwasser You're right. I think my first commit was really using mapped types but I changed it following reviews 🤔

@typescript-bot test thsi

@typescript-bot test this

@RyanCavanaugh, I'm seeing some odd behavior from this new signature:
// This example also behaves the same way if `maybePromise` is changed to just `T`
function balls<T> (maybePromise: T|Promise<T>) {
    const t = await Promise.race([
        maybePromise
    ]);

    // Argument of type 'T extends PromiseLike<infer U> ? U : T' is not assignable to parameter of type 'T'.
    //   Type 'unknown' is not assignable to type 'T'.
    doSomethingWithAT(n);
}

function doSomethingWithAT (t: T) { . . . }

I can work around it by passing in Promise.resolve(maybePromise), but this issue aside is there a reason to prefer that style?


tf.image.combined_non_max_suppression crash with segmentation fault

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
2.11.0-dev20220916
Custom Code
No
OS Platform and Distribution
Ubuntu 18.04.4 LTS (x86_64)
Mobile device
No response
Python version
3.7.6
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
N/A
GPU model and memory
No response
Current Behaviour?
tf.image.combined_non_max_suppression crash with segmentation fault when `max_total_size` is given a large value

Standalone code to reproduce the issue
import numpy as np
import tensorflow as tf
tf.image.combined_non_max_suppression(max_output_size_per_class=10, max_total_size=1916847725, scores=np.ones((2,2,1)), boxes=np.ones((2,2,1,4)))

Relevant log output
2022-09-19 20:56:42.880536: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2022-09-19 20:56:42.880586: W tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:265] failed call to cuInit: UNKNOWN ERROR (303)
2022-09-19 20:56:42.880661: I tensorflow/compiler/xla/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist
2022-09-19 20:56:42.881322: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-09-19 20:56:42.924370: W tensorflow/core/kernels/image/non_max_suppression_op.cc:995] Detected a large value for `max_total_size`. This may cause OOM error. (max_total_size:<PHONE_NUMBER>)
Segmentation fault (core dumped)

Hi @DNXie !
It is mentioned in the document that to max_total_size should be a number that is enough to accomodate number of boxes over all classes.  It will render OOM if you use large number.
Attach resolved gist for reference.
Thank you!

Hi @mohantym, thanks for looking into this!
I agree the input may not be perfectly valid. However, as a public API, it would be great to have the function kindly throw an exception instead of a crash with a segmentation fault, isn't it? Thank you!

@DNXie !
I think it would be bit difficult a fix certain number with respect to script to define an exception instead of segmentation fault.
@gadagashwini !
Could you look at this issue.
Thank you!

Since the max_total_size could be any value of int32, it is not feasible to have a validation for that, considering the crash/OOM happens is based on the system workload.
Details mentioned in the document would suffice.


Show the cards that are being on top

Is there any way we can show the cards that are behind on top instead of bottom. Actually the card that I have made is tall so user cannot see the behind cards from the bottom, I want them to be able to see the stack from the top.

just keep the  SEPERATOR_DISTANCE = -8
hope this works. I am closing this issue thanks...


[hdf5] build failure

Host Environment

OS: Windows 11
Compiler: Visual C++ Build Tools 2015 update 3 (without IDE)

To Reproduce
Steps to reproduce the behavior:
./vcpkg install gdal:x64-windows boost-geometry:x64-windows boost-graph:x64-windows boost-serialization:x64-windows
Failure logs
-Cut and paste the appropriate build messages from the console output.

Starting package 1/18: hdf5:x64-windows
Building package hdf5[core,szip,zlib]:x64-windows...
-- Using cached HDFGroup-hdf5-hdf5-1_12_1.tar.gz.
-- Cleaning sources at C:/dev/vcpkg/buildtrees/hdf5/src/df5-1_12_1-859faf3d27.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/vcpkg/downloads/HDFGroup-hdf5-hdf5-1_12_1.tar.gz
-- Applying patch hdf5_config.patch
-- Applying patch szip.patch
-- Applying patch pkgconfig-requires.patch
-- Applying patch pkgconfig-link-order.patch
-- Using source at C:/dev/vcpkg/buildtrees/hdf5/src/df5-1_12_1-859faf3d27.clean
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" C:/dev/vcpkg/buildtrees/hdf5/src/df5-1_12_1-859faf3d27.clean -DHDF5_ENABLE_PARALLEL=OFF -DHDF5_BUILD_TOOLS=OFF -DHDF5_BUILD_CPP_LIB=OFF -DHDF5_ENABLE_SZIP_SUPPORT=ON -DHDF5_ENABLE_SZIP_ENCODING=ON -DHDF5_ENABLE_Z_LIB_SUPPORT=ON -DHDF5_BUILD_FORTRAN=OFF -DHDF5_ENABLE_THREADSAFE=OFF -DHDF5_BUILD_UTILS=OFF -DBUILD_STATIC_LIBS=OFF -DONLY_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DHDF5_BUILD_EXAMPLES=OFF -DHDF5_INSTALL_DATA_DIR=share/hdf5/data -DHDF5_INSTALL_CMAKE_DIR=share -DHDF_PACKAGE_NAMESPACE:STRING=hdf5:: -DHDF5_MSVC_NAMING_CONVENTION=OFF -DSZIP_USE_EXTERNAL=ON -DALLOW_UNSUPPORTED=OFF -DCMAKE_MAKE_PROGRAM=C:/dev/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -DBUILD_SHARED_LIBS=ON -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/toolchains/windows.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=v140 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=C:/dev/vcpkg -D_VCPKG_INSTALLED_DIR=C:/dev/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=C:/dev/vcpkg/packages/hdf5_x64-windows/debug
Working Directory: C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg
Error code: 1
See logs for more information:
C:\dev\vcpkg\buildtrees\hdf5\config-x64-windows-dbg-out.log
C:\dev\vcpkg\buildtrees\hdf5\config-x64-windows-dbg-err.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:423 (vcpkg_execute_required_process)
ports/hdf5/portfile.cmake:62 (vcpkg_cmake_configure)
scripts/ports.cmake:142 (include)
Error: Building package hdf5:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with git pull and .\vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+hdf5
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[hdf5]+Build+error
including:
package: hdf5[core,szip,zlib]:x64-windows -> 1.12.1#1
vcpkg-tool version: 2021-11-24-48b94a6946b8a70abd21529218927fd478d02b6c
vcpkg-scripts version: b3cfaaf1b 2021-11-26 (29 hours ago)
Additionally, attach any relevant sections from the log files above.

-Please attach any additional failure logs mentioned in the console output.
config-x64-windows-dbg-err.log:

CMake Error at config/cmake/ConfigureChecks.cmake:334 (file):
file failed to open for reading (No such file or directory):
C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/pac_Cconftest.out
Call Stack (most recent call first):
CMakeLists.txt:464 (include)

config-x64-windows-dbg-out.log:

-- The C compiler identification is MSVC 19.0.24210.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for include file sys/file.h
-- Looking for include file sys/file.h - not found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - not found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - not found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - not found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include files sys/stat.h, sys/time.h
-- Looking for include files sys/stat.h, sys/time.h - not found
-- Looking for include files sys/stat.h, sys/types.h
-- Looking for include files sys/stat.h, sys/types.h - found
-- Looking for 3 include files sys/stat.h, ..., features.h
-- Looking for 3 include files sys/stat.h, ..., features.h - not found
-- Looking for 3 include files sys/stat.h, ..., dirent.h
-- Looking for 3 include files sys/stat.h, ..., dirent.h - not found
-- Looking for 3 include files sys/stat.h, ..., setjmp.h
-- Looking for 3 include files sys/stat.h, ..., setjmp.h - found
-- Looking for 4 include files sys/stat.h, ..., stddef.h
-- Looking for 4 include files sys/stat.h, ..., stddef.h - found
-- Looking for 5 include files sys/stat.h, ..., stdint.h
-- Looking for 5 include files sys/stat.h, ..., stdint.h - found
-- Looking for 6 include files sys/stat.h, ..., unistd.h
-- Looking for 6 include files sys/stat.h, ..., unistd.h - not found
-- Looking for 6 include files sys/stat.h, ..., io.h
-- Looking for 6 include files sys/stat.h, ..., io.h - found
-- Looking for 7 include files sys/stat.h, ..., winsock2.h
-- Looking for 7 include files sys/stat.h, ..., winsock2.h - found
-- Looking for 8 include files sys/stat.h, ..., globus/common.h
-- Looking for 8 include files sys/stat.h, ..., globus/common.h - not found
-- Looking for 8 include files sys/stat.h, ..., pdb.h
-- Looking for 8 include files sys/stat.h, ..., pdb.h - not found
-- Looking for 8 include files sys/stat.h, ..., pthread.h
-- Looking for 8 include files sys/stat.h, ..., pthread.h - not found
-- Looking for 8 include files sys/stat.h, ..., srbclient.h
-- Looking for 8 include files sys/stat.h, ..., srbclient.h - not found
-- Looking for 8 include files sys/stat.h, ..., string.h
-- Looking for 8 include files sys/stat.h, ..., string.h - found
-- Looking for 9 include files sys/stat.h, ..., strings.h
-- Looking for 9 include files sys/stat.h, ..., strings.h - not found
-- Looking for 9 include files sys/stat.h, ..., stdlib.h
-- Looking for 9 include files sys/stat.h, ..., stdlib.h - found
-- Looking for 10 include files sys/stat.h, ..., memory.h
-- Looking for 10 include files sys/stat.h, ..., memory.h - found
-- Looking for 11 include files sys/stat.h, ..., dlfcn.h
-- Looking for 11 include files sys/stat.h, ..., dlfcn.h - not found
-- Looking for 11 include files sys/stat.h, ..., inttypes.h
-- Looking for 11 include files sys/stat.h, ..., inttypes.h - found
-- Looking for 12 include files sys/stat.h, ..., netinet/in.h
-- Looking for 12 include files sys/stat.h, ..., netinet/in.h - not found
-- Looking for 12 include files sys/stat.h, ..., netdb.h
-- Looking for 12 include files sys/stat.h, ..., netdb.h - not found
-- Looking for 12 include files sys/stat.h, ..., arpa/inet.h
-- Looking for 12 include files sys/stat.h, ..., arpa/inet.h - not found
-- Looking for 12 include files sys/stat.h, ..., stdbool.h
-- Looking for 12 include files sys/stat.h, ..., stdbool.h - found
-- Looking for include file quadmath.h
-- Looking for include file quadmath.h - not found
-- Looking for gethostname in ucb;
-- Looking for gethostname in ucb; - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned
-- Check size of unsigned - done
-- Check size of long
-- Check size of long - done
-- Check size of long long
-- Check size of long long - done
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Check size of long double
-- Check size of long double - done
-- Check size of int8_t
-- Check size of int8_t - done
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of int_least8_t
-- Check size of int_least8_t - done
-- Check size of uint_least8_t
-- Check size of uint_least8_t - done
-- Check size of int_fast8_t
-- Check size of int_fast8_t - done
-- Check size of uint_fast8_t
-- Check size of uint_fast8_t - done
-- Check size of int16_t
-- Check size of int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of int_least16_t
-- Check size of int_least16_t - done
-- Check size of uint_least16_t
-- Check size of uint_least16_t - done
-- Check size of int_fast16_t
-- Check size of int_fast16_t - done
-- Check size of uint_fast16_t
-- Check size of uint_fast16_t - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of int_least32_t
-- Check size of int_least32_t - done
-- Check size of uint_least32_t
-- Check size of uint_least32_t - done
-- Check size of int_fast32_t
-- Check size of int_fast32_t - done
-- Check size of uint_fast32_t
-- Check size of uint_fast32_t - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Check size of int_least64_t
-- Check size of int_least64_t - done
-- Check size of uint_least64_t
-- Check size of uint_least64_t - done
-- Check size of int_fast64_t
-- Check size of int_fast64_t - done
-- Check size of uint_fast64_t
-- Check size of uint_fast64_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - failed
-- Check size of off_t
-- Check size of off_t - done
-- Check size of off64_t
-- Check size of off64_t - failed
-- Check size of time_t
-- Check size of time_t - done
-- Check size of _Bool
-- Check size of _Bool - done
-- Looking for alarm
-- Looking for alarm - not found
-- Looking for fcntl
-- Looking for fcntl - not found
-- Looking for flock
-- Looking for flock - not found
-- Looking for fork
-- Looking for fork - not found
-- Looking for frexpf
-- Looking for frexpf - not found
-- Looking for frexpl
-- Looking for frexpl - not found
-- Looking for getrusage
-- Looking for getrusage - not found
-- Looking for llround
-- Looking for llround - found
-- Looking for llroundf
-- Looking for llroundf - found
-- Looking for lround
-- Looking for lround - found
-- Looking for lroundf
-- Looking for lroundf - found
-- Looking for lstat
-- Looking for lstat - not found
-- Looking for pread
-- Looking for pread - not found
-- Looking for pwrite
-- Looking for pwrite - not found
-- Looking for rand_r
-- Looking for rand_r - not found
-- Looking for random
-- Looking for random - not found
-- Looking for round
-- Looking for round - found
-- Looking for roundf
-- Looking for roundf - found
-- Looking for setsysinfo
-- Looking for setsysinfo - not found
-- Looking for signal
-- Looking for signal - found
-- Looking for setjmp
-- Looking for setjmp - found
-- Looking for siglongjmp
-- Looking for siglongjmp - not found
-- Looking for sigsetjmp
-- Looking for sigsetjmp - not found
-- Looking for sigprocmask
-- Looking for sigprocmask - not found
-- Looking for snprintf
-- Looking for snprintf - not found
-- Looking for srandom
-- Looking for srandom - not found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for symlink
-- Looking for symlink - not found
-- Looking for tmpfile
-- Looking for tmpfile - found
-- Looking for asprintf
-- Looking for asprintf - not found
-- Looking for vasprintf
-- Looking for vasprintf - not found
-- Looking for waitpid
-- Looking for waitpid - not found
-- Looking for vsnprintf
-- Looking for vsnprintf - not found
-- Looking for sigsetjmp
-- Looking for sigsetjmp - not found
-- Looking for difftime
-- Looking for difftime - found
-- Check size of __float128
-- Check size of __float128 - failed
-- Check size of _Quad
-- Check size of _Quad - failed
-- Testing maximum decimal precision for C -
-- maximum decimal precision for C var - 0
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- ....All Warnings are enabled
-- Could NOT find ZLIB (missing: ZLIB_DIR)
-- Found ZLIB: optimized;C:/dev/vcpkg/installed/x64-windows/lib/zlib.lib;debug;C:/dev/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.11")
-- Configuring incomplete, errors occurred!
See also "C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/CMakeFiles/CMakeError.log".

Then in C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/CMakeFiles/CMakeError.log:

Determining if files ;sys/file.h exist failed with the following output:
Change Dir: C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):C:/dev/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe cmTC_1c73e && [1/2] Building C object CMakeFiles\cmTC_1c73e.dir\H5_HAVE_SYS_FILE_H.c.obj

AILED: CMakeFiles/cmTC_1c73e.dir/H5_HAVE_SYS_FILE_H.c.obj

C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP  /DWIN32_LEAN_AND_MEAN=1 /DNOGDI=1 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_1c73e.dir\H5_HAVE_SYS_FILE_H.c.obj /FdCMakeFiles\cmTC_1c73e.dir\ /FS -c C:\dev\vcpkg\buildtrees\hdf5\x64-windows-dbg\CMakeFiles\CheckIncludeFiles\H5_HAVE_SYS_FILE_H.c

C:\dev\vcpkg\buildtrees\hdf5\x64-windows-dbg\CMakeFiles\CheckIncludeFiles\H5_HAVE_SYS_FILE_H.c(2): fatal error C1083: Cannot open include file: 'sys/file.h': No such file or directory
ninja: build stopped: subcommand failed.

Additional context
None.

I used the versioning method to revert to a previous commit and reinstalled the packages. And the build passed.
The log shows that the installed version of hdf5 is 1.12.0. It looks like that the problem is related to the latest version of the hdf5 package.

Hi @yxnchen, sorry I am late. It looks like hdf5 build failed with this error:
CMake Error at config/cmake/ConfigureChecks.cmake:334 (file):
file failed to open for reading (No such file or directory):
C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/pac_Cconftest.out

And it also appears in config-x64-windows-dbg-out.log: -- Testing maximum decimal precision for C -
I can install hdf5 succeed locally, and I found this file exists in directory: VCPKG_root\buildtrees\hdf5\x64-windows-dbg. And there is only one line in pac_Cconftest.out: 15;0;

Don't look at CMakeError.log (unless you are familiar with it. Focus on vcpkg output:
See logs for more information:
C:\dev\vcpkg\buildtrees\hdf5\config-x64-windows-dbg-out.log
C:\dev\vcpkg\buildtrees\hdf5\config-x64-windows-dbg-err.log

Please make attachments, don't use copy-and-paste.

Hi @yxnchen, sorry I am late. It looks like hdf5 build failed with this error:
CMake Error at config/cmake/ConfigureChecks.cmake:334 (file):
file failed to open for reading (No such file or directory):
C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/pac_Cconftest.out

And it also appears in config-x64-windows-dbg-out.log: -- Testing maximum decimal precision for C -, there should be a value here like this: -- Testing maximum decimal precision for C - 15;0; I can install hdf5 succeed locally, and I found this file exists in directory: VCPKG_root\buildtrees\hdf5\x64-windows-dbg. And there is only one line in pac_Cconftest.out: 15;0; By the way, I install complete Visual Studio 2015 update3.

In my case, there is no such file pac_Cconftest.out in directory C:/dev/vcpkg/buildtrees/hdf5/x64-windows-dbg/. By the way, the build succeeded after I installed an older version.

Hi, @dg0yt , I update vcpkg and reinstall the latest version of hdf5 again today. The build was passed and I can not reproduce the error log anymore.

Since this issue can't be reproduced, I am closing this issue for now. If you have any question, please open a new issue.


Set desktop client playback position

I'm using your API to control my Spotify desktop client. Play and pause a song just works fine.
Now I want to change the playing position of the currently playing song. So I only want to say something like "SetPlayingPosition(64)" to play the current song from position "01:04". It seems that the SpotifyLocalAPI didn't support this feature.
To play and pause a song your API uses a message with the following format: http://<IP_ADDRESS>:4381/remote/pause.json?pause=true&ref=&cors=&_=1520448230&oauth=oauth&csrf=csrf
I tried to find a summary of possible commands in this format, but I didn't find anything.
Is there something like http://<IP_ADDRESS>:4381/remote/seek.json... that I can use to seek to a specific position?
The SeekPlayback method of the library doesn't work because I don't have Spotify Premium.

Not possible with the local API


Flat button file upload example doesn't work in Firefox

Problem description
Flat button file upload example doesn't work if FF
previous closed issue: https://github.com/callemall/material-ui/issues/1178
Link to minimally-working code that reproduces the issue
Flat button demo (v0.16.6) still doesn't work in FF (50.1.0)
but
Raised button demo works fine
Versions

Material-UI: 0.16.6
Browser: Firefox 50.1.0 linux64

Fix previously applied to RaisedButton: https://github.com/callemall/material-ui/pull/5159/files

@MustD Feel free to submit a PR following #5159. :+1:

PR: https://github.com/callemall/material-ui/pull/5933


Redundant dash "-" in the name of the article

Current name: "dotnet-build"
Suggested name: "dotnet build"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 910cd365-d63a-00dc-417c-db017f83bf6f
Version Independent ID: 5e495ddd-140e-de5c-a793-d4a9f88be51e
Content: dotnet build command - .NET Core CLI
Content Source: docs/core/tools/dotnet-build.md
Product: dotnet-core
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thanks for pointing out the confusing title, @aannenko. We've opened PR #7578 to correct it, as you suggested.


Temp fix: escape markdown in client:media directive example

Emergency fix replacing braces so that the page at least builds.

Getting that money on my own!


Multi-line template strings can't be collapsed

VSCode Version: 1.26.1
OS Version: MacOS High Sierra 10.13.5

Steps to Reproduce:

Using styled-components write a styled component (React) with template strings syntax
Try to collapse it, no collapse button

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

I'm facing the same problem but not only with React. Also with VanillaJS.

Duplicate of https://github.com/Microsoft/TypeScript/issues/23382


Remove init containers from YAML files

Why are these changes needed?

KubeRay APIServer

[ ] apiserver/pkg/util/cluster.go

Python client

[x] use-raw-with-api.py => Follow the instructions in #1006
[x] test_api.py => CI
[x] test_utils.py => CI

Helm Charts

[x] raycluster-cluster.yaml
[x] values.yaml

Sample YAML files

RayCluster

[x] ray-cluster.autoscaler.yaml => test_sample_raycluster_yamls.py
[x] ray-cluster.complete.yaml => test_sample_raycluster_yamls.py
[x] ray-cluster.external-redis.yaml => test_sample_raycluster_yamls.py
[x] ray-cluster.heterogeneous.yaml => test_sample_raycluster_yamls.py
[x] ray-cluster.pod-security.yaml => test_security.py
[ ] ray-cluster.complete.large.yaml (Skip)
[ ] ray-cluster.autoscaler.large.yaml (Skip)

RayJob

[x] ray_v1alpha1_rayjob.yaml

RayService

[x] ray_v1alpha1_rayservice.yaml => test_sample_rayservice_yamls.py

Template YAML files for end-to-end tests => KubeRay CI

[x] ray-cluster.mini.yaml.template
[x] ray-cluster.ray-ft.yaml.template
[x] ray-service.yaml.template

test_sample_raycluster_yamls.py

RAY_IMAGE=rayproject/ray:2.3.0 OPERATOR_IMAGE=kuberay/operator:v0.5.0 python3 tests/test_sample_raycluster_yamls.py 2>&1 | tee log

test_sample_rayservice_yamls.py

RAY_IMAGE=rayproject/ray:2.3.0 OPERATOR_IMAGE=kuberay/operator:v0.5.0 python3 tests/test_sample_rayservice_yamls.py 2>&1 | tee log

Test RayCluster Helm chart
kind create cluster --image=kindest/node:v1.23.0
helm install kuberay-operator kuberay/kuberay-operator --version 0.5.0
# path: helm-chart/ray-cluster
helm install raycluster .

test_security.py

# path: kuberay/
OPERATOR_IMAGE=kuberay/operator:v0.5.0 python3 tests/test_security.py

Test RayJob YAML (ray_v1alpha1_rayjob.yaml)
kind create cluster --image=kindest/node:v1.23.0
helm install kuberay-operator kuberay/kuberay-operator --version 0.5.0
# path: ray-operator/config/samples
kubectl apply -f ray_v1alpha1_rayjob.yaml

# Wait for 1 min
kubectl describe rayjobs.ray.io rayjob-sample | grep "Job Status"
# Job Status:             SUCCEEDED

Related issue number
Closes #974

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

cc @jasoonn

@Jeffwan @scarlet25151 @wilsonwang371 would you mind reviewing the changes in apiserver/pkg/util/cluster.go? Thanks!

I will update the kuberay-helm repository after this PR is merged.

Hi @skliarpawlo,
In #973, the default init container will be injected by the KubeRay operator automatically, and the injected container will use the same Docker image as the Ray container in the same Pod.

We have a strong requirement to use internal docker registry so this makes the chart 0.5.0 not usable as-is for us. I checked that the init container is still created and not removed completely

This PR is merged after KubeRay v0.5.0 chart is release. Hence, the Helm chart will still have two init containers. I will update the Helm chart release tomorrow. The workaround for you is removing the following lines in your local raycluster-cluster.yaml.

Hi @skliarpawlo,
In #973, the default init container will be injected by the KubeRay operator automatically, and the injected container will use the same Docker image as the Ray container in the same Pod.

We have a strong requirement to use internal docker registry so this makes the chart 0.5.0 not usable as-is for us. I checked that the init container is still created and not removed completely

This PR is merged after KubeRay v0.5.0 chart is release. Hence, the Helm chart will still have two init containers. I will update the Helm chart release tomorrow. The workaround for you is removing the following lines in your local raycluster-cluster.yaml.

Thank you!
I'm trying to use ray-cluster helm chart as a dependency, not copy it locally to be able to upgrade it easily.
In case the fixed helm chart is released soon, I can wait until than and then just refresh my dependencies.

Hi @skliarpawlo, I create release v0.5.1 for Helm charts. You can use:
helm repo update
helm install kuberay-operator kuberay/kuberay-operator --version 0.5.1
helm install raycluster kuberay/ray-cluster --version 0.5.1


Bug 2061657: osd: clarify vault auth error message

When kube authentication is used, let's clarify the error message and
hopefully lead to a better understanding on where to look for.
It could be misleading to print "token auth" when using kube auth,
although internally a token is used (the JWT from the Service
Account).
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>(cherry picked from commit 74081d90d307b961fdc2980d440ec507f73489a5)
(cherry picked from commit 3cf062243d388002e7dbea62b285c298bcc985da)

Description of your changes:
Which issue is resolved by this Pull Request:
Resolves #
Checklist:

[ ] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[ ] Skip Tests for Docs: Add the flag for skipping the build if this is only a documentation change. See here for the flag.
[ ] Skip Unrelated Tests: Add a flag to run tests for a specific storage provider. See test options.
[ ] Reviewed the developer guide on Submitting a Pull Request
[ ] Documentation has been updated, if necessary.
[ ] Unit tests have been added, if necessary.
[ ] Integration tests have been added, if necessary.
[ ] Pending release notes updated with breaking and/or notable changes, if necessary.
[ ] Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
[ ] Code generation (make codegen) has been run to update object specifications, if necessary.

/approve
/lgtm


Adding placeholder property in contact us form

Hey @Pranav016 , I had seen your website , I think if we add placeholder property in contact us form then it would look awesome . So I request you to please take a look at my issue and please assign it to me so that I can add the above mentioned property.
Thank you

Hey @Pranav016 , I haven't find the main code of contact form in which I can add placeholder property. Please take a look.
Thank you

Views/contact.ejs

Can I work on this issue?

Sorry @Pranav016  .ejs file is not opening in my system. You can assign this issue to someone else.
Thank you

I would like to work on this under gssoc21

/assign


Feature/multi file upload

Just here to wasting circleci credits. This will fail until we merge multiple file upload to master.


Add .editorconfig http://editorconfig.org/

Expected Behavior
As a developer I want the IDE to adapt automatically to the codestyle (css, js, html)
Actual Behavior
Nothing
Steps to Reproduce the Problem

Use the .editorconfig plugin in PHPStorm
Open a CSS File
Reformat this file

I'd like to take this one if it's ok.


[Bug]: An error occurred during authenticating with GitLab.

Is there an existing issue for this?

[X] I have searched the existing issues

Example public repository
coolify
Description
When i create application from gitlab source, An error occurred during authenticating with GitLab. may be request gitlab user info api was wrong!

Steps To Reproduce

(in Coolify) In Git Sources, add a new GitLab source.
In a new browser tab, navigate to your GitLab instance and find the UI to add a new application.
(in GitLab) Enter the Callback URL as https://coolify.yourdomain.com/webhooks/gitlab.
(in GitLab) check the following scopes: api, read_repository, email.
(in GitLab) Save the application and copy the Application ID .
(in Coolify) In your new source, paste the Application ID.
(in GitLab) In the newly created application, copy the Secret.
(in Coolify) Paste the Secret.
(in Coolify) Enter the OAuth ID. It will be the located at the end of the url of your GitLab application: https://yourgitlabdomain.com/oauth/applications/123456.
(in Coolify) Hit save.
(in Coolify) In Applications add a new application with GitLab as the source.
If you're still logged into GitLab, an authorization popup will appear. Click authorize.

Version
3.12.22

Is this still an issue?


Auto expand in Hdf5TreeView

Hello,
At our beamline, several devices write their own h5 files that are soft-linked in the master file.
When we examine the files in silx view, we have to do multiple clicks to dig down to the actual data. When we do it on multiple data, this monkey business becomes annoying. This screenshot shows that each such file has multiple one-member groups:

I propose to add an option "auto expand singular groups" (or "auto expand simple branches" or similar) that would require only one click at the top level and it would go down to a group that has multiple members in it. There the auto expansion stops.
In the implementation, the class Hdf5TreeView(qt.QTreeView) can react to its expanded signal like this:
    def expandFurther(self, index):
        """Further expand a tree node if it has only one child."""
        model = self.model()
        if model.rowCount(index) == 1:
            child = model.index(0, 0, index)
            self.expand(child)

Thank you!

Hi.
Maybe i misunderstand something but what is the difference with the option [+] from the toolbar?

D'oh!
I've never used those buttons, probably because one tries them when the viewer is empty and then they do nothing.


Add autoregressiveness to MHA (again)

Hi, I noticed that the autoregressive-attention branch has become stale and a few things have changed in the dev branch since then. So I thought I'd revive the auto regressive branch.
Note that this does not yet have the MQA <-> MHA interpolation. In our last discussion, I told you about my "double VMAP" strategy and that LLMs such as LLaMA don't use that but instead simply "repeat" the keys and values until they match the queries. You were not sure which approach to follow.
I actually have a working version of the MHA implementation in which I allow the user to choose which one they want (see this. Maybe in the future we could have something similar, but for now, I think it's ok to add autoregressive decoding - even without the MHA<->MQA interpolation.
WDYT?

I've added a first draft for an AbstractKVCache. The idea is that people can define their own KVCache (if they wish to) and pass that to the MHA constructor. The abstract class calls the abstract method in __call__ and does some checks around it to make sure that it was implemented correctly. From there, the MHA implementation just takes the new KV matrices from the KV cache and works with those.
I also provided a "StandardKVCache" which is essentially what we had before (without truncation). I was thinking of adding another one which does rolling and then let the user choose which one they want -- or let them create their own.
LMK what you think of this approach.

I didn't close this intentionally -- deleting the target branch (in this case, dev), causes all PRs against it to be automatically closed. Feel free to reopen this against main!


The execution of the terraformDestroy method fails and the application cannot be uninstalled

We often encounter situations where terraformApply fails to execute successfully due to various reasons, such as incorrect namespace installation for the app or the absence of a 'git ssh secret' in the namespace. In such cases, we may want to uninstall the app instead of adding a 'git ssh secret' to the same namespace in order to make terraformApply successful. However, we may not be able to uninstall the app either, because terraformDestroy also fails to execute.
I want to fix this issue, but I am not sure if it is a bug or a security consideration.
For example, before executing the terraformDestroy method, we can check if the 'tfstate' file exists. If it does not exist, there is no need to execute the terraformDestroy method.

example ：MountVolume.SetUp failed for volume "git-auth-configuration" : secret "gitlab-ssh-key-secret" not found

Sorry, there is a problem with my description. The point is not to check whether the secret exists, but because the secret does not exist, the apply job cannot be successfully executed, and then I want to uninstall the application, the destroy job will definitely fail to execute, and finally I cannot uninstall the application.

@wujiuye Would you check the function validateSecretAndConfigMap which will check the secret git-auth-configuration before Job is applied. This is the first quesion.
For other reasons if job is failed. I agree we check the state to decide to delete the Configuration quickly.

sure, validateSecretAndConfigMap will check whether the referenced git secret exists, but it does not verify whether the namespace is the same as the namespace of the Configuration. and the pod mount restricts the config or secret to be in the same namespace as the pod, otherwise it will mount failure.
So, My idea is:

I want to increase the verification of the namespace of the ConfigMap and Secret to be mounted.
The failure of terraformApply does not mean that it has never been successful, but if the 'tfstate' file does not exist, then there is no need for terraformDestroy, which can quickly clean up resources. don't know if there is a loophole in this idea.

Of course, I tried to implement these two idea. I then split the first idea into a new issue


GH3572: Only build TargetFrameworks netcoreapp3.1, net5.0 &  net6.0

fixes #3572

Removing OpenCover makes sense, but are we planning on replacing this with something like Coverlet? https://github.com/coverlet-coverage/coverlet

Removing OpenCover makes sense, but are we planning on replacing this with something like Coverlet? https://github.com/coverlet-coverage/coverlet

Probably, what's there now has been disabled for a long time, but yes we can always add something later. Removing the current code meant removing dependency on Mono, which is quite a simplification for our build pipeline.


Changes to PEP Calculation and Filtering

There have been several iterations of this guy, but all the tests are finally passing. See also PR 2376

Currently, the pep q-value is computed by summing the pep and dividing by row number for psms or peptides sorted in descending order by MetaMorpheus score.
In this PR, pep is used to re-score the psms/peptides. PSMs are sorted in ascending order (good to bad) and then pep q-value is computed from bottom to top like we recently did for q-value using the formula (cumulative decoy count + 1) / cumulative target count).

These are the results from a search @trishorts ran using an arabidopsis entrapment database


Remove confirmation when opening the HTML5 vnc/spice console.

Testing: Try clicking on the vnc/spice console. There should be no confirmation.
https://bugzilla.redhat.com/show_bug.cgi?id=1348721

Euwe backport conflict:
$ git cherry-pick -e -x -m 1 ecb6198
error: could not apply ecb6198... Merge pull request #12673 from martinpovolny/console_remove_confirm

$ git diff
diff --cc app/helpers/application_helper/toolbar/x_vm_center.rb
index e3bf0c6,7c9e8bc..0000000
--- a/app/helpers/application_helper/toolbar/x_vm_center.rb
+++ b/app/helpers/application_helper/toolbar/x_vm_center.rb
@@@ -228,43 -228,33 +228,73 @@@ class ApplicationHelper::Toolbar::XVmCe
            :options => {:feature => :reset}),
        ]
      ),
++<<<<<<< HEAD
 +  ])
 +  button_group('vm_access', [
 +    select(
 +      :vm_remote_access_choice,
 +      'fa pficon-screen fa-lg',
 +      N_('VM Remote Access'),
 +      N_('Access'),
 +      :items => [
 +        button(
 +          :vm_console,
 +          'pficon pficon-screen fa-lg',
 +          N_('Open a web-based console for this VM'),
 +          N_('VM Console'),
 +          :url     => "console",
 +          :confirm => N_("Opening a VM web-based console can take a while and requires that the VMware MKS plugin version configured for Management Engine already be installed and working.  Are you sure?")),
 +        button(
 +          :vm_vnc_console,
 +          'pficon pficon-screen fa-lg',
 +          N_('Open a web-based VNC or SPICE console for this VM'),
 +          N_('VM Console'),
 +          :url     => "html5_console"),
 +        button(
 +          :vm_vmrc_console,
 +          'pficon pficon-screen fa-lg',
 +          N_('Open a web-based VMRC console for this VM.  This requires that VMRC is pre-configured to work in your browser.'),
 +          N_('VM Console'),
 +          :url     => "vmrc_console",
 +          :confirm => N_("Opening a VM web-based VMRC console requires that VMRC is pre-configured to work in your browser.  Are you sure?")),
 +        button(
 +          :cockpit_console,
 +          'pficon pficon-screen fa-lg',
 +          N_('Open a new browser window with Cockpit for this VM.  This requires that Cockpit is pre-configured on the VM.'),
 +          N_('Web Console'),
 +          # :image   => "cockpit",
 +          :url     => "launch_cockpit"),
 +      ]
 +    ),
++=======
+     button(
+       :vm_console,
+       'pficon pficon-screen fa-lg',
+       N_('Open a web-based console for this VM'),
+       nil,
+       :url     => "console",
+       :confirm => N_("Opening a VM web-based console can take a while and requires that the VMware MKS plugin version configured for Management Engine already be installed and working.  Are you sure?")),
+     button(
+       :vm_vnc_console,
+       'fa fa-html5 fa-lg',
+       N_('Open a web-based VNC or SPICE console for this VM'),
+       nil,
+       :url     => "html5_console"),
+     button(
+       :vm_vmrc_console,
+       'pficon pficon-screen fa-lg',
+       N_('Open a web-based VMRC console for this VM.  This requires that VMRC is pre-configured to work in your browser.'),
+       nil,
+       :url     => "vmrc_console",
+       :confirm => N_("Opening a VM web-based VMRC console requires that VMRC is pre-configured to work in your browser.  Are you sure?")),
+     button(
+       :cockpit_console,
+       nil,
+       N_('Open a new browser window with Cockpit for this VM.  This requires that Cockpit is pre-configured on the VM.'),
+       nil,
+       :image   => "cockpit",
+       :url     => "launch_cockpit"),
++>>>>>>> ecb6198... Merge pull request #12673 from martinpovolny/console_remove_confirm
    ])
    button_group('snapshot_tasks', [
      button(

@martinpovolny Please resolve conflict and make Euwe-specific PR (referencing this one) or suggest other PRs to backport.

Backported to Euwe via https://github.com/ManageIQ/manageiq/pull/13465


Add some new data to Read me file

Please add some data to the read me file

done addding data to read me file


New flow for scheduling postmortems

immediately create event without notifications, then pop up a window to edit event. On close, reload the morgue entry page to reflect changes.
This will avoid unnecessary notifications being fired for an event that the user does not have control over. Now, the user may edit the event to their liking before choosing to fire notifications.

looks good to me!


073124.02/subscribe

Add Subscribe Switch to Review Page

Are there any test you could add for this?

It's just a direct API call.


Hex Viewer/Editor

As javascript now has the FileReader we can use it to read binary files and view it like any desktop hex viewer
https://en.wikipedia.org/wiki/Hex_editor
initial features

open a binary file and view words as hex/ascii
edit byte by byte
search and replace
download new modified file

further enhancements

copy/paste chunks of bytes
switch hex viewer to binary/oct
comparing two files and show diff between them
export data to html/text format
bitwise operations on chunk of bytes

Next up is Search and replace feature


Add Alibaba's Dragonwell OpenJDK Buildpack to Paketo Buildpacks

Summary
Alibaba now has a build of OpenJDK. This request will add an official buildpack to supply Alibaba's Dragonwell OpenJDK.
Use Cases
This is going to be the recommended OpenJDK to use when deploying Java apps to Alibaba Cloud.
Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

I have also moved this so it will go directly into Paketo Buildpacks. This is because the buildpack is already using existing tooling and is ready to move directly.
I have also clarified that maintainership will be done by the Java team as a team needs to own the buildpack and individuals can be added to the team using existing governance processes.


[BUG][Alert]fix alert plugin DingTalkSender

fix alert plugin DingTalkSender

Codecov Report

Merging #4629 (104b0c4) into dev (afd201e) will decrease coverage by 0.00%.
The diff coverage is 35.48%.

@@             Coverage Diff              @@
##                dev    #4629      +/-   ##
============================================
- Coverage     44.74%   44.73%   -0.01%
  Complexity     3340     3340
============================================
  Files           530      531       +1
  Lines         22852    22849       -3
  Branches       2672     2671       -1
============================================
- Hits          10224    10222       -2
+ Misses        11711    11709       -2
- Partials        917      918       +1

Impacted Files
Coverage Δ
Complexity Δ

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
45.00% <35.48%> (ø)
9.00 <3.00> (ø)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...er/master/processor/queue/TaskResponseService.java
66.66% <0.00%> (-5.56%)
8.00% <0.00%> (-1.00%)

...che/dolphinscheduler/common/utils/StringUtils.java
73.33% <0.00%> (-5.24%)
15.00% <0.00%> (ø%)

.../dolphinscheduler/service/zk/AbstractZKClient.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...dolphinscheduler/service/zk/ZookeeperOperator.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...lphinscheduler/service/quartz/QuartzExecutors.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...inscheduler/service/quartz/ProcessScheduleJob.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...inscheduler/service/quartz/cron/AbstractCycle.java
50.00% <0.00%> (ø)
11.00% <0.00%> (ø%)

...nscheduler/service/permission/PermissionCheck.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

... and 6 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #4629 (104b0c4) into dev (afd201e) will decrease coverage by 0.00%.
The diff coverage is 35.48%.

@@             Coverage Diff              @@
##                dev    #4629      +/-   ##
============================================
- Coverage     44.74%   44.73%   -0.01%
  Complexity     3340     3340
============================================
  Files           530      531       +1
  Lines         22852    22849       -3
  Branches       2672     2671       -1
============================================
- Hits          10224    10222       -2
+ Misses        11711    11709       -2
- Partials        917      918       +1

Impacted Files
Coverage Δ
Complexity Δ

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
45.00% <35.48%> (ø)
9.00 <3.00> (ø)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
3.00% <0.00%> (-1.00%)

...er/master/processor/queue/TaskResponseService.java
66.66% <0.00%> (-5.56%)
8.00% <0.00%> (-1.00%)

...che/dolphinscheduler/common/utils/StringUtils.java
73.33% <0.00%> (-5.24%)
15.00% <0.00%> (ø%)

.../dolphinscheduler/service/zk/AbstractZKClient.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...dolphinscheduler/service/zk/ZookeeperOperator.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...lphinscheduler/service/quartz/QuartzExecutors.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...inscheduler/service/quartz/ProcessScheduleJob.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

...inscheduler/service/quartz/cron/AbstractCycle.java
50.00% <0.00%> (ø)
11.00% <0.00%> (ø%)

...nscheduler/service/permission/PermissionCheck.java
0.00% <0.00%> (ø)
0.00% <0.00%> (ø%)

... and 6 more

Continue to review full report at Codecov.

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


CLI detects input even if the window is not focused

if the cli is opened, and you use other apps, it will detect input

Following the discussion  from discord, let us migrate to making a pygame menu screen.


Fix update --precise with the registry source

There was a previous bug where if any crate's name was the start of the crate
being updated that the crate wouldn't resolve at all, and this fixes the prefix
checking error bug.
cc #2293

r? @wycats
(rust_highfive has picked a reviewer for you, use r? to override)

r? @brson

@bors r+

:pushpin: Commit f709175 has been approved by brson

:hourglass: Testing commit f709175 with merge cdbc76b...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


clarify wording and fix broken links

Some moron thought the wording on the wiki was not clear enough.
This hopefully brings the level of """complicated""" sentences to their elementary English level and make it more readable by the general Linux community.
Also closes #85, #92 and #96

side note, lets also close #56 because 1. unnecessary and 2. old and likely outdated

Q: have I tested this PR?
A: no, some nerd refuses to let me run a local copy of the backend

@fufexan can you read this I cba I am laziness

side note, lets also close #56 because 1. unnecessary and 2. old and likely outdated

I could rebase and update it later, why not.

slaaaay guurl :nail_care:


Option to make Docker log have real timestamps (or do it by default)

The Docker log file is very frustrating to cross reference with other system logs.
Quick!  What time did this error happen at?
ESC[31mERROESC[0m[2809574] Handler for GET /images/{name:.*}/json returned error: No such image: mesos-20151014-195414-3878100490-5050-18653-S5.f3db11b8-459c-476a-8520-f8cff385c445

Having an option to produce either an ISO-standard date or some shortened form would make the logs that much more usable.
P.S. The ANSI color codes in the log file are also very annoying.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

When stdout is not a tty, it is automatically formated like so: time="2015-11-24T20:37:06.860251202Z" level=debug msg="..."

Hm.  We use the default Docker installation:
root@mesos-slave1-qa-uswest2:~# dpkg-query -s docker-engine
Package: docker-engine
Status: install ok installed
Installed-Size: 27805
Maintainer: Docker<EMAIL_ADDRESS>Architecture: amd64
Version: 1.8.3-0~trusty

running under Upstart, Ubuntu 14.04.3.
How would this tty detection fail?  I assume this is a fairly common setup...

https://github.com/Sirupsen/logrus/blob/418b41d23a1bf978c06faea5313ba194650ac088/terminal_notwindows.go#L16-L21
I've seen someone else using upstart have a problem as well... not sure what upstart could be doing differently here.

http://askubuntu.com/questions/579215/upstart-and-issttystdout-fileno
:cry:

Maybe the appropriate fix is a daemon option to override autodetect?  My previous experience with Upstart maintainers is that they consider it an effectively dead project and will not make changes, despite its "Long Term Support" status...

#19794 fixed this


Remove developer comment from LocalObjectReference

Remove this comment here
https://github.com/kubernetes/api/blob/ffee488e7bd8c76c62b4646310580a1a6d7243b8/core/v1/types.go#L6419
It gets propagated as description of the field Name and it appears in descriptions of CRDs delivered to users.
As a suggestion, remove the comment and create an issue to address it.
Thanks :smile:

/remove-lifecycle stale

/assign

assign

this issue is already solved
/close

closing as it is already resolved

/close


Tutorial 6 vehicle with specify route can't lane change

Bug Description
In the tutorial6, I figure out there is a problem that vehicle with specify routes failed to follow the routes due to no lane change. For example, the specify routes shows that the vehicles need to turn right to the right edge, however, the vehicles in the middle lane just stopped and couldn't follow the route because they cannot turn right to the right-turn lane.
How can I fix this? I'm working on a routing problem. After I specify the routes to the vehicles, they failed to follow.
Versions

OS: macOS
Flow version:'0.5.0.dev'
Flow commit number: a511c41c48e6b928bb2060de8ad1ef3c3e3d9554

I figured out that the LC MODES are set to no lane change safe as default...... LOL


feat: add support of additional data type formats

Description

add support of additional data types -https://www.asyncapi.com/docs/specifications/v2.2.0#dataTypeFormat
add new test api example

Related issue(s)
Resolves #204

@derberg please review


Images linked in package READMEs are not scaled

As originally described in https://github.com/rtfeldman/elm-css/issues/283.
While images linked from package READMEs are shown scaled and centred when viewed on Github (e.g. here), on http://package.elm-lang.org they are shown at the original image size. This means that they can overflow the border of the rest of the README and overlap the 'module docs' menu to the right, as can be seen here, or as an image here.
While package authors could attempt to work around this by sizing images appropriately themselves, it seems more the responsibility of package.elm-lang.org to ensure it appropriately sizes images it wants to display; I imagine it would also be difficult to manually size images appropriately for both places without there being any loss of resolution in one case for users with certain monitor resolutions.

Setting a scoped max-width: 100% on any img tags would be a pretty simple first step. This is the result of doing so via dev tools on elm-css:

PR for that https://github.com/elm-lang/package.elm-lang.org/pull/242


allItems not working as expected

I'm trying to understand your rules language and in working through some of the examples "allItems" does work as I expected.  When I read @when_all(m.payments.allItems((item > 100) & (item < 500))) in your Array example I would have expected the rule to fire if "all" items in the array were greater than '100' and less than '500'.  But when I add '600' to the array of payments the rule still fires. Can you help me understand how allItems should work. Full code and response below.
from durable.lang import *

with ruleset('risk'):
    # matching primitive array
    @when_all(m.payments.allItems((item > 100) & (item < 500)))
    def rule1(c):
        print('fraud 1 detected {0}'.format(c.m.payments))

    # matching object array
    @when_all(m.payments.allItems((item.amount < 250) | (item.amount >= 300)))
    def rule2(c):
        print('fraud 2 detected {0}'.format(c.m.payments))

    # pattern matching string array
    @when_all(m.cards.anyItem(item.matches('three.*')))
    def rule3(c):
        print('fraud 3 detected {0}'.format(c.m.cards))

    # matching nested arrays
    @when_all(m.payments.anyItem(item.allItems(item < 100)))
    def rule4(c):
        print('fraud 4 detected {0}'.format(c.m.payments))

    @when_start
    def start(host):
        host.post('risk', {'payments': [ 150, 300, 450, 600 ]})
        host.post('risk', {'payments': [ { 'amount' : 200 }, { 'amount' : 300 }, { 'amount' : 450 } ]})
        host.post('risk', {'cards': [ 'one card', 'two cards', 'three cards' ]})
        host.post('risk', {'payments': [ [ 10, 20, 30 ], [ 30, 40, 50 ], [ 10, 20 ] ]})

run_all()

~/durable_rules/firstapp $ python testarray.py

* Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
fraud 1 detected [150, 300, 450, 600]
fraud 2 detected [{u'amount': 200}, {u'amount': 300}, {u'amount': 450}]
fraud 3 detected [u'one card', u'two cards', u'three cards']
fraud 4 detected [[10, 20, 30], [30, 40, 50], [10, 20]]

Hi, thanks a lot for reporting this issue. The array with 600 should not have matched the rule. Let me debug and I'll report back with my findings in a couple of days.

Thanks a lot for reporting this issue. There was a bug in the allItems logic: if the first item matched the rule, the condition would be considered satisfied. I have fixed the problem and uploaded a new version, please use version 0.33.125


Error message is logged: RuntimeError: Event loop is closed

I recently ran into the same error #128 when implementing the example command provided:
agentverse-benchmark --task tasksolving/humaneval/gpt-3.5 --dataset_path data/humaneval/test.jsonl --overwrite
Are there any updates to the code regarding asynchronous operations? I am new to this concept and am unsure if this error will cause unexpected results. Can I ignore this error? Or are there any suggestions for fixing the problematic part of the code? I’ve read the previous response #128, but I’m still unable to locate the exact position of the error in order to fix it.
Also, just to check - is there a report of computed results like pass@1 on the Humaneval dataset? I have run some lines and only gotten logs and individual results for different questions…

Log:
Role Assignment:
a mathematician specializing in numerical analysis
a computer scientist with expertise in algorithms and data structures
Initial Plan:
return number - int(number)
Task exception was never retrieved
future: <Task finished name='Task-29' coro=<AsyncClient.aclose() done, defined at D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py:1967> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py", line 1974, in aclose
await self._transport.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_transports\default.py", line 378, in aclose
await self._pool.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection_pool.py", line 314, in aclose
await connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection.py", line 173, in aclose
await self._connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\http11.py", line 253, in aclose
await self._network_stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_backends\anyio.py", line 54, in aclose    await self._stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\anyio_backends_asyncio.py", line 1202, in aclose
self._transport.close()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\proactor_events.py", line 109, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 753, in call_soon
self._check_closed()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task exception was never retrieved
future: <Task finished name='Task-30' coro=<AsyncClient.aclose() done, defined at D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py:1967> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py", line 1974, in aclose
await self._transport.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_transports\default.py", line 378, in aclose
await self._pool.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection_pool.py", line 314, in aclose
await connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection.py", line 173, in aclose
await self._connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\http11.py", line 253, in aclose
await self._network_stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_backends\anyio.py", line 54, in aclose    await self._stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\anyio_backends_asyncio.py", line 1202, in aclose
self._transport.close()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\proactor_events.py", line 109, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 753, in call_soon
self._check_closed()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task exception was never retrieved
future: <Task finished name='Task-31' coro=<AsyncClient.aclose() done, defined at D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py:1967> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_client.py", line 1974, in aclose
await self._transport.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpx_transports\default.py", line 378, in aclose
await self._pool.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection_pool.py", line 314, in aclose
await connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\connection.py", line 173, in aclose
await self._connection.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_async\http11.py", line 253, in aclose
await self._network_stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\httpcore_backends\anyio.py", line 54, in aclose    await self._stream.aclose()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\site-packages\anyio_backends_asyncio.py", line 1202, in aclose
self._transport.close()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\proactor_events.py", line 109, in close
self._loop.call_soon(self._call_connection_lost, None)
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 753, in call_soon
self._check_closed()
File "D:\Users\Lenovo\anaconda3\envs\agentverse_env\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Reviews:
[a computer scientist with expertise in algorithms and data
structures]:
Consensus Reached!.
Decision Plan:
return number - int(number)
Execution Result:
Evaluation result:
Score: True
Advice: The provided solution is correct. However, it would
be beneficial to add some comments to explain the logic behind the code. In the next round, recruiting a software engineer with experience in code documentation and best practices
could be helpful.
Good score! Accept! Final Result:
return number - int(number)

Hi, sorry for the late reply. Could you try downgrading openai to version 1.1.0 by pip install openai==1.1.0? That version works for me and currently I don't see the error message again.


Allow FS to be imprecise

I can't find anything in the spec that explicitly allows FS to be imprecise.  This table lists the possible FS state transitions:
https://github.com/riscv/riscv-isa-manual/blob/5f8294b56e0447775c444c5c641713d8e67c4b88/src/machine.tex#L824
There's some vague "When the status is Dirty, the corresponding state has potentially been modified since the last context save.", but the state transition table makes it appear that it'l not legal to set the dirty state without executing an instruction.

@palmer-dabbelt i still agree this is a problem, but i'm going to punt it back to you to propose a PR.


python310Packages.brother: 2.0.0 -> 2.1.1

Diff: https://github.com/bieniu/brother/compare/refs/tags/2.0.0...2.1.1
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 206628 run on x86_64-linux 1