Pydantic model seperation for Partial updates

In order to do partial updates, upserts and adds all in the same app, we would need to seperate just like how SQLModel seperates its BaseModels here
# Code above omitted 👆

class HeroBase(SQLModel):
    name: str = Field(index=True)
    secret_name: str
    age: int | None = Field(default=None, index=True)

class Hero(HeroBase, table=True):
    id: int | None = Field(default=None, primary_key=True)

class HeroCreate(HeroBase):
    pass

class HeroPublic(HeroBase):
    id: int

class HeroUpdate(SQLModel):
    name: str | None = None
    secret_name: str | None = None
    age: int | None = None

# Code below omitted 👇

I really don't like this approach because there's so much clutter and boilerplate code. I will have to look at workarounds.


Adding group support

One nice feature of LAMMPS is the capability of treating different atoms in a different way via the definitions of groups.
Currently this is not possible in aiida-lammps. Adding groups would be a very good addition to bring more flexibility to the kind of calculations that can be done.
Part of this is addressed by the flexibilization of the input #27 . However, one would need to be able to pass which atoms belong to which group, one way would be via the kind_names in the StructureData where one could encode if an atom belongs to a given group or to another. One could also pass this as a separate Dict, or ArrayData.
The capability of having groups also means that fixes and computes need to be passed by group, meaning that this is something that also has to be dealt with in #27.

Looking at what is available in the lammps documentation about the read_data it does not seem possible to specify the group type directly in the file that is being read, one can only place all the atoms in that file in a given group.
It would seem that the "simplest" option is to allow the user to pass which atom types/ids belong to a given group as explained here. This could be done in the structure block.
The user could pass a dictionary such as
structure_options = {
    'groups':{
        'name': 'foo', 'args':  ['id', 10, 25],
        'name': 'bar', 'args': ['type', 4],
        'name': 'foobar', 'args': ['id', '100:10000:10']
    }
}

The names of the groups would be stored in the input generator so that when setting fixes and/or computes the existence of the group is checked against.
Using the types and/or ids would give quite a bit of flexibility to the users, and avoid the issue of having to deal with changes to the way in which the lammps structure file is written and/or coming up with some complex derived structure type.

Closed via #50


{Network} Clean up the remaining SDKs within Network III

Related command

Description

Focus the SDKs outside network folder.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


[Feature]  Add an article on Machine Learning

Contact Details
No response
What's on your mind?
Make it shinier!
I want to add an article on machine learning.
Contribution Guidelines

[X] I have gone through the contribution guidelines

Code of Conduct

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

Go ahead!

Hey @jay-io , I am facing a problem in this issue. How to obtain the "body" of the json file?

@zugzwang03 You may use Node's fs module. If you're unsure about this, you may leave the body empty:
"body": ""

Also, kindly add your article as a blog card, too.

Okay thanks 😊


[Monitor][Query] Add resource centric query support

This regenerates with autorest and provides an API for users to query Azure Monitor logs directly from a resource instead of going through the context of a Log Analytics workspace.
Closes #27522

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-monitor-query


bot token is available to everyone

https://github.com/duffcon/SimpleDiscordBot/blob/cc2fea25ae16eb82701afa4cfddbcacac79dc748/index.js#L18

After all it's a dummy bot, it doesn't matter the bot token is available to everyone or not


Error: Single '}' in template

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
const getReply = async (messages, namespaceId) => {
  let user_question = messages.pop();
  user_question = JSON.stringify(user_question.content);
  let chat_history = JSON.stringify(messages);
  try {
    const pinecone = new Pinecone({
      apiKey: process.env.PINECONE_API_KEY,
    });
    const pineconeIndex = pinecone.Index(process.env.PINECONE_INDEX);

    const vectorStore = await PineconeStore.fromExistingIndex(
      new OpenAIEmbeddings(),
      { pineconeIndex, namespace: namespaceId }
    );

    let systemPrompt = process.env.ANALYZE_SUMMARIZE_PROMPT.replace(
      /\\n/g,
      "\n"
    );

    const CONDENSE_PROMPT =
      PromptTemplate.fromTemplate(`Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.

        Chat History:
        {chat_history}
        Human: {question}
        Standalone question:`);

    const QA_PROMPT = PromptTemplate.fromTemplate(
      `You are a legal assistant bot. The bot's output must strictly follow this format:
          \`\`\`
            {result: true, response: {name: <xxx>, gender: <xxx>}}
          \`\`\`
        The bot must not deviate from this output JSON style under any circumstances to ensure consistency and clarity in user interactions.
        Replace <xxx> with bot's response.
      =========
      Question: {question}
      =========
      {context}
      =========
      Answer in Markdown: `
    );

    const questionGenerator = new LLMChain({
      llm: new ChatOpenAI({
        temperature: 0,
        openAIApiKey: process.env.OPENAI_API_KEY,
      }),
      prompt: CONDENSE_PROMPT,
    });

    const llm = new ChatOpenAI({
      modelName: "gpt-4-turbo-preview",
      temperature: 0,
      openAIApiKey: process.env.OPENAI_API_KEY,
    });

    const docChain = loadQAChain(llm, {
      prompt: QA_PROMPT,
      type: "stuff",
    });

    const chain = new ConversationalRetrievalQAChain({
      retriever: vectorStore.asRetriever(),
      returnSourceDocuments: true,
      combineDocumentsChain: docChain,
      questionGeneratorChain: questionGenerator,
    });

    const result = await chain.invoke({
      question: user_question,
      chat_history,
    });
    console.log(result);

    return result;
  } catch (err) {
    console.log(err);
  }
};

When running this code, I received this error: Error: Single '}' in template.
How to fix this error?
Error Message and Stack Trace (if applicable)
Error: Single '}' in template.
at Object.parseFString [as f-string] (D:\Working\backend\node_modules\@langchain\core\dist\prompts\template.cjs:45:19)
at parseTemplate (D:\Working\backend\node_modules\@langchain\core\dist\prompts\template.cjs:103:99)
at PromptTemplate.fromTemplate (D:\Working\backend\node_modules\@langchain\core\dist\prompts\prompt.cjs:99:41)
at getReply (D:\Working\backend\controllers\analyze.controller.js:96:38)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async exports.analyzation (D:\Working\backend\controllers\analyze.controller.js:49:22)

"undefined" is not valid JSON
Description
Now I am trying to generate the response from datasets I already trained into Pinecone by using Langchain
System Info
Platform: Windows
Node version: v21.2.0

The issue lies in the use of your JSON prompting --side note, you should be using tool calling instead of prompting to get JSON, this will get you better results.
Since we use curly braces for template string variables, you must escape any additional curly braces that are not intended to be an input variable with another curly brace.
You should replace this:
{result: true, response: {name: <xxx>, gender: <xxx>}}

with an escaped version like this:
{{result: true, response: {{name: <xxx>, gender: <xxx>}}}}

Then, if you inspect the langsmith trace, you can see the escaping curly braces were removed before the prompt was sent to the LLM API. See here for an example


'red' not supported by logger

Short Description:
When trying to read cached forts on first run (or if file has been deleted), tries to generate a log message, but option 'red' is not supported. Removed.
Fixes/Resolves/Closes (please use correct syntax):

#5042

Wrong branch, sorry


honest-but-curious function

Closes #956

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2130  👈
#2129
main

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

Join @Shoeboxam and the rest of your teammates on  Graphite

Yep, internal closes the potential backdoor. Although I think there would still a gap in functionality in that arbitrary functions cannot be (de)serialized to actually call the private method. Safer just making it completely separate though.


make host customizable

make host customizable - <freshdesk-messaging-facade> might have data-host attribute
if data-host doesn't exist, then use https://wchat.freshchat.com

thanks for this! I see some references to specifying a WEB_HOST_URL in the Freshchat developer docs but no instructions on why it would be different to the default (https://wchat.freshchat.com). I'll merge this anyway and make a separate PR to update the README. thanks again!


Functional components lose displayName when running coverage

Description
Coverage fails to run tests correctly, resulting in failed tests that are actually passing when run without --coverage.
Expected behavior
Passing tests should still pass when i add --coverage
Actual behavior
Tests that are passing without --coverage are failing when i add --coverage.
Environment
Run these commands in the project folder and fill in their results:

npm ls react-scripts (if you haven’t ejected): UNMET PEER DEPENDENCY<EMAIL_ADDRESS>node -v: v6.9.1
npm -v: 3.10.9

Then, specify:

Operating system: OSX Sierra 10.12
Browser and version: Safari 10.0

any progress on this?

Hey, sorry for the long response!
It's npm test -- --coverage, not npm test --coverage.
Is this what you were typing?

i was indeed running it correctly, and it was generating coverage reports, just not actually passing some tests. but i figured out what the problem was, when i ran tests with --coverage my functional components' displayName property wasn't set, so when i rendered them with shallow and tried to do wrapper.find(...) it was failing to find the functional child nodes, even though it was finding them successfully when running the tests without --coverage. i had to go through all my functional components adding the displayName property. Components created with React.createClass were unaffected... perhaps this would be something to mention in the docs or investigate in your instrumentation tool?

Probably worth tracking https://github.com/istanbuljs/babel-plugin-istanbul/issues/63

Oh this is interesting, thanks for the link.
Definitely let's track it.

This is fixed as of<EMAIL_ADDRESS>I just did a fresh project with create-react-app and was able to use npm test -- --coverage successfully.
Note that displayName is only set when you define your component and use that variable as the default export. If you follow the 2nd example, the displayName isn't set and defaults to Component, but this still passes when checking coverage.
// Works
const Hello = () =>
Hello

export default Hello

// Doesn't work
export default () =>
Hello

Awesome, thanks for reporting back.
Closing this.
I sent a PR to Jest to enforce a minimal version in the future, but for now existing users can get the fix by removing node_modules and running npm install again.


Fix misplaced views in storyboard created in previous pull request.

The error in the RTL pull request happened do to lack of refresh in the storyboard and the IBInspectable associated with the views. A manual refresh solved the problem.

Coverage remained the same at 99.174% when pulling 1452eeafbce84153034dd0d57ef47e59eb946b7c on pichirichi:master into b69d37b48cef6c524e6fb2e45bffe07f6c765148 on Skyscanner:master.

Superb, thanks very much for the fix! 👍


Document using which to set rtp for vim

This might not be worth documenting but I ended up doing this so I could share my .vimrc between linux and mac whilst using package managers that install fzf in different locations and I thought it might be useful to other's.

Well this is slightly embarrassing, apparently I only tested this on Linux and it doesn't resolve the homebrew symlinks on macos so doesn't actually work


two more characters

haven't finished blair yet, want to add a beret but if we can't find one oh well

finished my characters and added miku


Trigger timed event in DrawWidget

Is there a way to trigger an event every t seconds in widget? I find there's a feature called widget.timed. Could you please give an example to show how to use that?

There's already an example of this here.  Just replace the fps argument with 1/seconds.


Add inactivity timeout to SetRequestTimeout interceptor

I figured out that the inactivity timeout was not present in the default interceptor in charge of updating the timeouts.
Of course it's not a big deal and here is a workaround:
$this->httpClient = (new HttpClientBuilder)
    ->interceptNetwork(
        new ModifyRequest(static function (Request $request) {
            $request->setInactivityTimeout(500);

            return $request;
        })
    )
    ->build();

But I decided maybe it's a good first contribution here 😄 . I also updated a bit the documentation because it was missing in the interceptor list! However, I'm sorry I don't know how to fix the test.

Thanks! It looks like the test you added is failing due to a mis-matched message. Could you take a look at that?

Oops. Sorry, it was late! 😂
Fixed it! 🙏

Thanks!


test movie embed

https://user-images.githubusercontent.com/1165460/106022769-cf535e00-608b-11eb-9361-546473a43a71.mov

I just dragged a file from my file system into the input box.

I just dragged a file from my file system into the input box.

The files we're discussing are larger than the file size limit and not in an allowed format. I'll talk through options. Thanks for this.

The files we're discussing are larger than the file size limit and not in an allowed format. I'll talk through options. Thanks for this.


Warning in cljs project using shadow-cljs

Hi!
------ WARNING #2 - :redef-in-file ---------------------------------------------
 File: /home/wonko/work/thing/src/thing/core.cljs:90:38
--------------------------------------------------------------------------------
  87 |   ;; FIXME: sanity check this!
  88 |   (async (await (reset-auth))
  89 |          (try
  90 |            (let [user-data         (setval [:account-reference-number] (mk-account-reference user) user-data)

I'm requiring it like this:
(ns thing.core
  (:require
    [com.rpl.specter :as s :refer [setval select-one]])

Am I doing something wrong?
I'm using: [com.rpl/specter "1.1.3-SNAPSHOT"]

CLJS has been quite a moving target, so it's not surprising when warnings appear that didn't appear before. I'm not familiar with shadow-cljs so I don't know if that can have different warnings than other cljs compilation methods. If you or anyone figures this out, I'm happy to accept a pull request for it.

Hi @Wonko7, I'm currently compiling my project with shadow-cljs, using 1.1.3-SNAPSHOT and not seeing that warning. Are you still getting the warning? If so, what version of shadow-cljs are you using?

That's weird, I'm using [com.rpl/specter "1.1.3-SNAPSHOT"] with shadow-cljs 2.8.52, and I'm still getting :redef-in-file warnings on setval with the message pathcache77013 at line 123 is being replaced.
What could I be missing?

@Wonko7, I'm unsure; can you create a minimal public repo that reproduces the error?

Yes, it's an interaction between cloroutine & specter: https://github.com/Wonko7/warning-specter-async


[Fix] Export TORCH_CUDA_ARCH_LIST in install.sh

This pull request includes a change to the install.sh script to export the TORCH_CUDA_ARCH_LIST  variables in install.sh scripts. Otherwise, the build pipeline of cuda backend will crash.
Also remove importlib from requirements.txt ref to #132

@LeiWang1999  Thanks! LGTM.  I removed PTX flag since we don't want JIT of the cuda codes for now. We observed slightly faster code with PTX disabled.


Compose icon issue when using new Google Chat turned on

If you turn on the new Google Chat

The compose button is messed up

This looks to be the only issue we need to correct before I submit it back to the Web Store

I am unable to reproduce this - tried every combination of options on both Firefox and Chrome

@jonrandy weird I am having the problem both on Windows 10 Pro and Ubuntu 20.04 with the current version of Chrome with the Google Chat. With the Classic Hangouts, all is well in the world. I will go ahead and work on pushing it up to the Web Store. If we see more users with the issue we can deal with it at that time.


Crosswalk from MB Streets to openMaptiles schemas

for one of these styles:

Basemap Style 1 (mostly designed at zoomed in levels): https://api.mapbox.com/styles/v1/greeninfo/cjq6uaoi07c0v2rqja0602i9o.html?fresh=true&title=true&access_token=pk.eyJ1IjoiZ3JlZW5pbmZvIiwiYSI6Ik1HUWRtdEkifQ.aWQKcu787DGrDq7LN5r2iA#16/41.885892/-87.619742
Basemap Style 2 (mostly designed at zoomed in levels): https://api.mapbox.com/styles/v1/greeninfo/cjran3xhs1khe2so0rv9uptgy.html?fresh=true&title=true&access_token=pk.eyJ1IjoiZ3JlZW5pbmZvIiwiYSI6Ik1HUWRtdEkifQ.aWQKcu787DGrDq7LN5r2iA#16/41.885892/-87.619742
Basemap Style 3 (mostly designed at zoomed out levels): https://api.mapbox.com/styles/v1/greeninfo/cjr0qrpdn0xvk2sryxjmmfsfn.html?fresh=true&title=true&access_token=pk.eyJ1IjoiZ3JlZW5pbmZvIiwiYSI6Ik1HUWRtdEkifQ.aWQKcu787DGrDq7LN5r2iA#5/37.89/-78.98 (edited)

We need to get a reference schema from OpenMapTiles.
We must have OMT style files in this repo somewhere.
@gregallensworth can you point a link in this issue to where the Bright map style is? Maybe that would give us enough to go on. At least a starting place.

The OHM vector tile maps I created were based on OSM bright.
Example map using my derivative:
https://openhistoricalmap.github.io/openhistoricaltiles/prettymap/
https://github.com/OpenHistoricalMap/openhistoricaltiles/blob/gh-pages/prettymap/mapconstants.js
My original reference for OSM Bright was https://github.com/openmaptiles/osm-bright-gl-style

I see. And they also have things like this:
https://github.com/openmaptiles/mapbox-studio-streets-basic.tm2

@danrademacher  is this on hold until we get a new scope?


FM6 channel doesn't work in XGM2

When a song uses the FM6 channel, it works fine in XGM1 ("XGM_startPlay {song}") but in XGM2 ("XGM2_play {song}") that particular channel isn't played.
I've tried using YM2612_disableDAC() function before playing the song, but nothing changes. Of course, I was not playing any PCM sample while testing.
I've done all the test with this song.

Spent a bit of time investigating the problem and i couldn't see any issue both in the XGM2 driver and in the XGM2Tool converter.
Just to be sure, did you disable DAC in the VGM file itself ? If you keep it enabled then XGM2 will follow that consign (keep DAC enable on YM chip) so FM6 will never play. If you disable DAC, XGM2 driver will automatically enables it when playing PCM and returns it to the VGM consign (disabled here) as soon PCM play end.

Should be fixed now :)


Fix for not detecting GuestAdditions running in Centos 6.

This fixes the same issue that has been reported a number of times since #334 was merged.
#347
#376

Hi @Morac2, thanks a lot for your work.
Reading through it again makes me wonder why the match was so very explicit. What's your take on either making it ignoring all the extra junk ("^vboxguest\s") or is the Live part of impotence and we should "^vboxguest\s.*Live\s" ?


Cut v2.10.0-rc.0

Draft for the changelog changes for early review before cutting the release tomorrow. (Feel free to review even if you are not on the reviewers list. I just picked people from -team that showed up often in the Git log.)

Please also let me know if you see any red flags for the RC tomorrow, or you have things in flight that really should be part of the release.

Updated with #5587 and #5582.

Adjusted the header from 2.10.0 to 2.10.0-rc.0

/benchmark 2.9.2

Look at the lack of gaps in the new release. The benchmark Prom is quite heavy, thus I guess we see the effects of https://github.com/prometheus/client_golang/pull/568 .

Yes! :tada:

do you still need the test running?

/benchmark cancel

https://github.com/prometheus/prometheus/blob/master/RELEASE.md#release-shepherd-responsibilities says: “With the pre-release the release shepherd is responsible for running and monitoring a benchmark run of the pre-release for 3 days, after which, if successful, the pre-release is promoted to a stable release.”
I guess now we have to release with only close to 2d of testing. Starting the benchmark again will most likely tell us nothing new. I assume the 3d are in the docs because sometimes problems only show up after that time.
In general, I'd prefer to let the release shepherd do their thing and only intervene if they seem to have dropped the ball.

@beorn7 very sorry for having jumped too fast here.

I think the 3 days was picket randomly and not for a specific technical reason so no problem if it is canceled a bit early if the tests look normal.

@krasi-georgiev my conclusion would be partially the opposite: The test can be canceled early if it looks weird (because then we already know something has to be fixed). If it looks fine for 2d, however, we still don't know if there is perhaps an issue that only shows up after 3d.
The other part is the question if 3d is too long to be reasonable. I guess the best way to find out what others think is to open a PR, changing it in RELEASE.md, and ask others for their input.


heterogeneous execution policy?

Hi, This is more of a question than an enhancement proposal:
Is there an elegant way of transferring only a part of the data to be processed to a cuda device and keeping part of it on the host and defining a single variable that determines the split? This would be useful for benchmarking the relative gains of the cudamemcpy overheads vs cpu thread management and the relative clock-speeds/parallelism.
An ideal workload balance might look like this, for example:
¤¤|===|xxxxx|===|.| GPU
¤|xxxxxxxxxxxxxx|x| CPU

¤ - initialization
= - memory transfer
x - execution
. -idle

There's nothing really like that in Agency. In fact, the default CUDA allocator implemented with cudaMallocManaged moves memory automatically with demand paging. Depending on your needs, you might be able to do what you want by splitting up a container of device memory and having the CPU and GPU work on different parts of it.
The process would go something like this:
using namespace agency;

// create some data
std::vector<int, cuda::allocator<int>> data = ...

// split up the data
int split_position = ...

// do something asynchronously on the GPU
auto gpu_work = bulk_async(cuda::par(data.size() - split_position), ...);

// do something on the CPU
for(int i = 0; i < split_position; ++i)
{
  ...
}

// wait for GPU to finish
gpu_work.wait();

Note that this kind of paging requires a Pascal or later GPU.

Also, it ought to be possible to build a user-defined executor for heterogeneous execution. The idea would be to create an executor type which is itself contains two (or more) different types of executors. Inside of the executor's work creation function (e.g. bulk_sync_execute) work would get divided among the different constituent executors.
The tricky part is deciding how to compute a good split. I'm skeptical one could come up with a general policy that would always work well with the limited information that would be available to such an executor. Probably the split parameter would need to be given by the user.

Thanks for the answer, It was more of a curiosity than an urgent need. I like the direction this is going.
If you want my opinion, I think a user-defined split is really ok.
If a developer then wants to benchmark different splits for a specific architecture or do some run-time probing to define a heuristic based on bus speeds, core numbers and clocks etc. is up to her.


Add support for slicing an edge

Slicing an edge with something like
net.slice_edge(edge, start_index, length)

Would be very useful for doing parallel contractions using JAX's pmap. Each slice of the edge would run on a different device and the final result would just be the sum of all of the slices, which is very easy to do in jax with psum.

Sounds good! I assume this is intended to be used on internal edges? Could you explain in a little more detail what the arguments mean?


Show hint about empty topology

Similar to #474 we could use a hint to show that there are no nodes in the topology and the reasons, e.g. no probes connected.
@peterbourgon what reasons do exist for an empty topology?

We could show the number of filtered nodes; the main reason for an empty view is either being filter as they are disconnected (processes) or system (containers)

What about no connected probes?

We haven't received any reports from probes recently. Are the probes properly configured?
There are nodes, but they're currently hidden. Check the hidden settings in the bottom-left.
Empty containers view only: you're not running Docker, or you don't have any containers.

To rule out (1), each /api/topology/xxx response could include a timestamp of the most recent received report. Or maybe something simpler, a bool indicating there have been recent reports. If the timestamp is too old, or the bool is false, then (1) would be the most likely cause. Is that worth doing?

Fixed by #505


Make dnsmasq daemon set optional

Change additional dnsmasq opts:

Adjust caching size and TTL
Disable resolve conf to not create loops
Change dnsPolicy to default (similarly to kubedns's dnsmasq). The
ClusterFirst should not be used to not create loops
Disable negative NXDOMAIN replies to be cached
Make its very installation as optional step (enabled by default).
If you don't want more than 3 DNS servers, including 1 for K8s, disable
it.
Add docs and a drawing to clarify DNS setup.
Fix stdout logs for dnsmasq/kubedns app configs
Add missed notifies to resolvconf -u handler
Fix idempotency of resolvconf head file changes

Closes https://github.com/kubespray/kargo/issues/503
Signed-off-by: Bogdan Dobrelya<EMAIL_ADDRESS>

Great job @bogdando


Acquire JWT Token Silently

My aim is to acquire silently an Azure AD token from a Domain joined workstation whose domain is connected to Azure AD through Azure AD Connect.
In order to do that I've built the following scenario:

I configured a Windows Server and an Active Domain on it
I connected the Active Domain to Azure AD using Azure AD Connect
I configured the Seamless Sign-On: in fact, if I use a web-browser from a domain joined machine to navigate to the url https://myapps.microsoft.com/my_azure_domain.onmicrosoft.com I'm logged in correctly without user interaction
If I use this project in order to obtain an Azure AD JWT Token interactively from a domain joined workstation (using the Textual Prompt) everything works fine
If I use this project in order to obtain an Azure AD JWT Token silently from a domain joined workstation (using the Windows-integrated security - UserCredential) I obtain the following error:
Inner Exception : password_required_for_managed_user: Password is required for managed user

What am I missing?
Thanks,
Daniele

The answer has been provided here on SO. If the answer does not apply to you, please expand the question with the following details

The code that has been written for the last two steps
Is the user account being used the same one for both the cases. And the user exists in both on-prem AD and Azure AD.

Hi,
thanks for your answer: I cloned this github project and I run it, so I used the code provided here (https://github.com/Azure-Samples/active-directory-dotnet-native-headless/blob/master/TodoListClient/Program.cs#L205).
For what concerns the account, I confirm that is the same for both cases, and exists both on-prem AD and on Azure AD.
Thanks,
Daniele

P.S.: If I use this MSAL example (https://azure.microsoft.com/en-us/resources/samples/active-directory-dotnet-desktop-msgraph-v2/) everything works.

@milanid what about this one: https://github.com/azure-samples/active-directory-dotnet-iwa-v2 ?

My aim was to use ADAL instead of MSAL: in fact, from my undestanding the development of the MSAL library is still ongoing and right now it is not suitable to use it in a production environment. Am I right?

@jmprieur I tried the example you suggested, and I obtained the following output
Integrated Windows Auth is not supported for managed users. See https://aka.ms/msal-net-iwa for details.
I think that my federated users are recognized as managed.

MSAL is production supported (many customers use it). But we don't guaranty that there won't be breaking change before we GA (there will actually be a few in the 2 coming weeks when we release MSAL.NET 3.0)
yes, I think that your users are not recognized as federated. would that be a configuration thing?

Yes, I was thinking about a configuration thing too, how can I check if everything is configured correctly?

Solved by replacing this code (file TodoListClient/Program.cs)
authContext.AcquireTokenAsync(todoListResourceId, clientId, uc)

with this one
`authContext.AcquireTokenAsync(todoListResourceId, clientId, new Uri("http://TodoListClient-Headless"), new PlatformParameters(PromptBehavior.Auto)).Result`

I think it could be a good idea to update the readme and to add two commented lines in the Program.cs file...

@milanid : I'm glad this solves your issue
However, your code does not use Integrated windows authentication in that case. That's an interactive authentication where you happened to have authenticated already, and therefore this works (probably not the first time).
Proposing to close this issue as you have it working?

In my scenario is not interactive (the Seamless SSOis configured, and the user doesn't have to perform the login manually).
Actually I don't think that it is possible to use IWA in my scenario (AD synchronized with Azure AD through Azure AD Connect & Seamless SSO).
Anyway, for me it's okay to close the issue.

Thanks for sharing your scenario. we'll add something in the conceptual documentation
cc: @bgavrilMS

Thanks!

One last thing: if my understanding is right (IWA non working with Seamless SSO), I think you have to change this page https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/wiki/adal-and-seamless-sso#which-versions-of-adal-work-with-azure-add-seamless-sso.


Booking confirmation rule didnt work yesterday 11 pm (your today 11 am)

@wootwoot1234 Happened again today

today around 9:09 am, i waited about 40 min then replied myself

listing StudioBKK Lumphini Home Stay Sathorn MRT Lumphini

Ok, thanks for pointing this out. I’m now aware of the issue and I think I know how to fix it but it will take a day or two to fix. I would recommend keeping an eye on booking confirmations till it’s fixed.


[Bug]: Unexpected Application Error: Objects are not valid as a React child

What happened?
Using Vertex AI (for Claude). LibreChat crashes instantly when I send a message. I get redirected to the following error:
Unexpected Application Error!
Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Blc%2C%20type%2C%20id%2C%20kwargs%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Blc%2C%20type%2C%20id%2C%20kwargs%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Gm (https://librechat....com/assets/vendor-BilfyWdU.js:38:12805)
    at P (https://librechat....com/assets/vendor-BilfyWdU.js:38:17863)
    at Vn (https://librechat....com/assets/vendor-BilfyWdU.js:40:1475)
    at TO (https://librechat....com/assets/vendor-BilfyWdU.js:40:44430)
    at RO (https://librechat....com/assets/vendor-BilfyWdU.js:40:39790)
    at rX (https://librechat....com/assets/vendor-BilfyWdU.js:40:39718)
    at Hg (https://librechat....com/assets/vendor-BilfyWdU.js:40:39570)
    at Z_ (https://librechat....com/assets/vendor-BilfyWdU.js:40:35934)
    at o8 (https://librechat....com/assets/vendor-BilfyWdU.js:40:36738)
    at Dl (https://librechat....com/assets/vendor-BilfyWdU.js:38:3279)

When I open that link, it says:
...
The full text of the error you just encountered is:

Objects are not valid as a React child (found: object with keys {lc, type, id, kwargs}). If you meant to render a collection of children, use an array instead.

I'm using the docker version. The docker log says:

2024-07-30 19:27:56 error: [handleAbortError] AI response error; aborting request: Unable to verify model params: {"lc":1,"type":"constructor","id":["langchain","chat_models","chat_integration","ChatVertexAI"],"kwargs":{"model":"claude-3-5-sonnet-20240620","temperature":1,"max_output_tokens":8192,"top_p":0.95,"top_k":40,"stop":["||>","\nUser:","<|diff_marker|>"],"max_retries":2,"auth_options":{"lc":1,"type":"secret","id":["GOOGLE_AUTH_OPTIONS"]},"platform_type":"gcp"}},
2024-07-30 19:27:56 warn: AI Response error for conversation 7bacf876-b238-4374-8223-322b14ef3290 likely caused by Google censor/filter

I don't think it has anything to do with the censor/filter. It does it for every message I'm trying to send.
These are the relevant changes i've made in the .env:
GOOGLE_MODELS=claude-3-5-sonnet-20240620

GOOGLE_SAFETY_SEXUALLY_EXPLICIT=BLOCK_ONLY_HIGH
GOOGLE_SAFETY_HATE_SPEECH=BLOCK_ONLY_HIGH
GOOGLE_SAFETY_HARASSMENT=BLOCK_ONLY_HIGH
GOOGLE_SAFETY_DANGEROUS_CONTENT=BLOCK_ONLY_HIGH

contents of my docker-compose.override.yml:
version: '3.4'

services:
  api:
    volumes:
    - type: bind
      source: ./api/data/auth.json
      target: /app/api/data/auth.json

Of course the file is there:
hostsytem# ls -l api/data/auth.json
-rw-r--r-- 1 root root 2399 Jul 30 14:23 api/data/auth.json

Steps to Reproduce

login
Switch to Google provider
Switch to 'claude-3-5-sonnet-20240620
type in anything into the chat
redirect to error page

What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
when I enable debugging in the .env file, I get this in the docker logs:

,
><EMAIL_ADDRESS>backend,
> cross-env NODE_ENV=production node api/server/index.js,
,
2024-07-30T19:37:04.735Z info: [Optional] Redis not initialized. Note: Redis support is experimental.,
2024-07-30T19:37:07.311Z info: Connected to MongoDB,
2024-07-30T19:37:07.559Z debug: [indexSync] There are 39 messages and 39 indexed,
2024-07-30T19:37:07.559Z debug: [indexSync] There are 13 convos and 13 indexed,
2024-07-30T19:37:07.577Z error: Config file YAML format is invalid: ENOENT: no such file or directory, open '/app/librechat.yaml',
2024-07-30T19:37:07.578Z warn: Default value for CREDS_KEY is being used.,
2024-07-30T19:37:07.578Z warn: Default value for CREDS_IV is being used.,
2024-07-30T19:37:07.578Z warn: Default value for JWT_SECRET is being used.,
2024-07-30T19:37:07.579Z warn: Default value for JWT_REFRESH_SECRET is being used.,
2024-07-30T19:37:07.579Z info: Please replace any default secret values.,
2024-07-30T19:37:07.579Z info: ,
,
    For your convenience, use this tool to generate your own secret values:,
    https://www.librechat.ai/toolkit/creds_generator,
,
    ,
2024-07-30T19:37:07.585Z warn: RAG API is either not running or not reachable at http://rag_api:8000, you may experience errors with file uploads.,
2024-07-30T19:37:07.603Z info: Server listening on all interfaces at port 3080. Use http://localhost:3080 to access it,
2024-07-30T19:37:18.349Z debug: [validateJson] files,
["\"Ai_PDF.json\"","\"BrowserOp.json\"","\"Dr_Thoths_Tarot.json\"","\"DreamInterpreter.json\"","\"VoxScript.json\"","\"askyourpdf.json\"","\"drink_maestro.json\"","\"earthImagesAndVisualizations.json\"","\"image_prompt_enhancer.json\"","\"qrCodes.json\"","\"scholarai.json\"","\"uberchord.json\"","\"web_search.json\""],
2024-07-30T19:37:18.615Z debug: [validateJson] files,
["\"Ai_PDF.json\"","\"BrowserOp.json\"","\"Dr_Thoths_Tarot.json\"","\"DreamInterpreter.json\"","\"VoxScript.json\"","\"askyourpdf.json\"","\"drink_maestro.json\"","\"earthImagesAndVisualizations.json\"","\"image_prompt_enhancer.json\"","\"qrCodes.json\"","\"scholarai.json\"","\"uberchord.json\"","\"web_search.json\""],
2024-07-30T19:37:23.358Z debug: [AskController],
{,
  text: "test",,
  conversationId: null,,
  // 1 example(s),
  examples: [{"input":{"content":""},"output":{"content":""}}],,
  endpoint: "google",,
  modelLabel: null,,
  promptPrefix: null,,
  iconURL: undefined,,
  greeting: undefined,,
  spec: undefined,,
    modelOptions.model: "claude-3-5-sonnet-20240620",,
    modelOptions.temperature: 1,,
    modelOptions.maxOutputTokens: 8192,,
    modelOptions.topP: 0.95,,
    modelOptions.topK: 40,,
    modelOptions.maxContextTokens: undefined,,
    // 20 openAI(s),
    modelsConfig.openAI: ["gpt-4o-mini","gpt-4o","gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k-0613","gpt-3.5-turbo-16k","gpt-4","gpt-4-0314","gpt-4-32k-0314","gpt-4-0613","gpt-3.5-turbo-0613","gpt-4-vision-preview","gpt-3.5-turbo-instruct-0914","gpt-3.5-turbo-instruct"],,
    // 1 google(s),
    modelsConfig.google: ["claude-3-5-sonnet-20240620"],,
    // 11 anthropic(s),
    modelsConfig.anthropic: ["claude-3-5-sonnet-20240620","claude-3-opus-20240229","claude-3-sonnet-20240229","claude-3-haiku-20240307","claude-2.1","claude-2","claude-1.2","claude-1","claude-1-100k","claude-instant-1","claude-instant-1-100k"],,
    // 13 gptPlugin(s),
    modelsConfig.gptPlugins: ["gpt-4o-mini","gpt-4o","gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k","gpt-4","gpt-4-vision-preview"],,
    // 15 azureOpenAI(s),
    modelsConfig.azureOpenAI: ["gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k-0613","gpt-3.5-turbo-16k","gpt-4","gpt-4-0314","gpt-4-32k-0314","gpt-4-0613","gpt-3.5-turbo-0613"],,
    // 2 bingAI(s),
    modelsConfig.bingAI: ["BingAI","Sydney"],,
    // 2 chatGPTBrowser(s),
    modelsConfig.chatGPTBrowser: ["text-davinci-002-render-sha","gpt-4"],,
    // 17 assistant(s),
    modelsConfig.assistants: ["gpt-4o-mini","gpt-4o","gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k-0613","gpt-3.5-turbo-16k","gpt-4","gpt-4-0314","gpt-4-32k-0314","gpt-4-0613","gpt-3.5-turbo-0613"],,
    // 20 azureAssistant(s),
    modelsConfig.azureAssistants: ["gpt-4o-mini","gpt-4o","gpt-3.5-turbo","gpt-3.5-turbo-0125","gpt-4-turbo","gpt-4-turbo-2024-04-09","gpt-4-0125-preview","gpt-4-turbo-preview","gpt-4-1106-preview","gpt-3.5-turbo-1106","gpt-3.5-turbo-16k-0613","gpt-3.5-turbo-16k","gpt-4","gpt-4-0314","gpt-4-32k-0314","gpt-4-0613","gpt-3.5-turbo-0613","gpt-4-vision-preview","gpt-3.5-turbo-instruct-0914","gpt-3.5-turbo-instruct"],,
},
2024-07-30T19:37:23.536Z debug: [BaseClient] Loading history:,
{,
  conversationId: "7e612a13-2220-462d-97f2-819c6957b4b8",,
  parentMessageId: "00000000-0000-0000-0000-000000000000",,
},
2024-07-30T19:37:23.547Z debug: [GoogleClient] buildMessages,
{,
[LOGGER PARSING ERROR] Cannot read properties of undefined (reading 'additional_kwargs'),
2024-07-30T19:37:23.550Z debug: Creating VertexAI client,
2024-07-30T19:37:23.554Z error: [handleAbortError] AI response error; aborting request: Unable to verify model params: {"lc":1,"type":"constructor","id":["langchain","chat_models","c... [truncated],
2024-07-30T19:37:23.555Z warn: AI Response error for conversation 7e612a13-2220-462d-97f2-819c6957b4b8 likely caused by Google censor/filter,
2024-07-30T19:37:23.578Z debug: [saveConvo] api/app/clients/BaseClient.js - saveMessageToDatabase #saveConvo,
2024-07-30T19:37:23.585Z debug: [AskController] Request closed,

### Screenshots

_No response_

### Code of Conduct

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

The Google Endpoint is specifically designed for Gemini models and utilizes a different API schema compared to Anthropic's models. As a result, Claude models cannot be directly accessed through this endpoint. However, if you wish to use Claude via Google Cloud Vertex AI, you'll need to implement a proxy solution. One option is to use litellm, which acts as an proxy, allowing you to interact with Claude through the Vertex AI infrastructure.
https://www.librechat.ai/blog/2023-11-30_litellm


Fix for non-distributed GPU configurations

I forgot to make this adjustment in a separate branch, sorry.


Stopped players from placing blocks on their heads

Players could place blocks in the block their head occupied. This fixes that.

https://github.com/SirCmpwn/TrueCraft/blob/master/TrueCraft.Core/Logic/BlockProvider.cs#L144-L150
This behavior is already implemented here. The issue seems to be that em.EntitiesInRange(coordinates, 1) (here) only looks for a range of 1 coordinate away (your feet are where the player entity's Position is, and your head wouldn't be included). You should instead increase the range on EntitiesInRange to 2 or 3.

Done

Thanks! :tada:


Performance improvements for page copy

See commit log for details.

Do you have any stats on the performance improvement?

I did but had to roll back one of the changes so this might not be accurate anymore:
To copy the entire bakerydemo, this reduced resource usage as follows:
Time: ~22s => ~9s
Queries: 1600 => 550

Do you have any stats on the performance improvement?

I did but had to roll back one of the changes so this might not be accurate anymore:
To copy the entire bakerydemo, this reduced resource usage as follows:
Time: ~22s => ~9s
Queries: 1600 => 550

Nice! That's pretty substantial

@jacobtoppm I've been able to reinstate another performance improvement in the last commit, so the stats above should be accurate!
Please could you review the latest commit?


[folly] update to v2<IP_ADDRESS>

Library name: folly
New version number: v2<IP_ADDRESS>
Other information that may be useful (release notes, etc...)
https://github.com/facebook/folly/releases

Nice job. Thank you very much.


rviz_rendering doesn't link assimp

Hi,
using gentoo distribution, I installed ROS2 from the source but I had some problem compiling rviz_rendering because it doesn't link the assimp library.
I had to modify the CMakeLists.txt file in order to add the library.
target_link_libraries(rviz_rendering
rviz_ogre_vendor::OgreMain
rviz_ogre_vendor::OgreOverlay
+  assimp
Qt5::Widgets
ament_index_cpp::ament_index_cpp
resource_retriever::resource_retriever
The commit id is
42e3c4b47bc6acd90ed690b884bcc385555c382c
Paolo

This should not be required as the linking against assimp should be done by rviz_assimp_vendor, see:
https://github.com/ros2/rviz/blob/42e3c4b47bc6acd90ed690b884bcc385555c382c/rviz_rendering/CMakeLists.txt#L124-L126

The commit id is 42e3c4b

What does that commit have to do with assimp or rviz_rendering?

Hi wjwwood,
Let me explain why I open this bug. As written, I installed ROS2 from source in my gentoo distribution.
When it was the turn of rviz_rendering to be compiling, I got a lot of linking error of type undefined reference to `Assimp::xxxxxx .
Adding the assimp library this errors dissapeared.
But, as you state, rviz_rendering depends on rviz_assimp_vendor and so cmake should understand to use assimp.
So, it can be a cmake version problem considering that gentoo use a different version of it ?
I don't know if it worth to investigate futher considering I don't use the ufficial distribution.
P.S.
The commit should be use to understand the source code it refers the bug: I used the HEAD, but tomorrow the HEAD can point to a different commit, so declaring the commit to which the bug refers fix in the time the source code.

So, it can be a cmake version problem considering that gentoo use a different version of it ?

It's probably a Gentoo CMake patch that's at fault here, actually. I'm still working on getting Gentoo to build colcon and friends correctly (still failling on notifications, but nothing critical to the build process).
Not sure if you are familiar with the ROS-Overlay, but I'd be willing to try and work through this there with you so that we don't make too much noise in the ROS 2 repos. I suspect this is an issue with my patches for colcon, and the ordering of the paths got flipped or something.

Honestly, I know ROS very little.
With few modification of the same type as this, I was able to compile ros2 with colcon.
The greatest change I did is patch the  python setuptools because it try to install the  python packets into .../lib while install/...../colcon use the python system library that in my case install/....../lib64
But I stopped  to this result because my real target was to compile on Raspberry and so I switched to a docker machine for running ROS2.
But it will be fine for me work together to build and run ROS2 on Gentoo.
Let me know how to proceed.
Paolo

Since this is so old, I'm going to close this out.  If you are still having problems, please feel free to open a new issue and give us details on what operating system you are using, and the exact steps you took.  Thanks.


support push data through remote write of prometheus

Spark and flink process data periodically, so there are a lot of data similar to count some data group some tag for a short period of time, such as 30s. So in prometheus, i cannot use functions such as irate to query. The original data must be queried. However, because the processing cycle may change frequently, it is difficult and hard to accept that the change prometheus configuration frequently. And the pull mode may not be able to accurately obtain all data.
Currently, Prometheus provides a push mode through remote write. I wrote a service to recieve data from kafka, hash the data lebels and write it into the prometheus cluster. So thanos supports remote write to write data to prometheus is very convenient for me.
If thanos need related work, I am very happy to participate in it.

I guess the service you mentioned is relatively general, right? It reads data from an mq and would work against any systems that support remote write, including Thanos, Cortex, VM, M3, etc.
I will close the issue now as this is a separate component and it is out of scope for Thanos itself. Feel free to start that as a new project if you are willing to!


fs: fix unmount of directories in destroyfs

Current usage of umountfs by destroyfs is wrong. umountfs is currently
called with childonly set from destroyfs, which means that the path
provided in the first argument won't be unmounted, only the
mount points contained within. The code in destroyfs that follows the
call to umountfs will try to remove the directory passed to umountfs,
but that's likely not possible since the directory itself can be a
mount point.
Fix this by calling umountfs without childonly, and thus make sure the
path provided in the first parameter is unmounted.
Fixes: https://github.com/freebsd/poudriere/issues/654

Thanks for your report, analysis and patch. Fixed over in #654 differently.


bug:  debug python occur modulenotfounderror

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.91
Operating system/version
manjaro
Describe the bug
from pymongo import MongoClient
from matplotlib import pyplot as plt
Steps To Reproduce
when debug python program ,  dap occur " Thread stopped due to exception of type ModuleNotFoundError" , and then stop running
Expected Behavior
working normal
Repro
require("lazy").setup({
  spec = {
    -- add LazyVim and import its plugins
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    -- import any extras modules here
    { import = "lazyvim.plugins.extras.lang.typescript" },
    { import = "lazyvim.plugins.extras.lang.json" },
    { import = "lazyvim.plugins.extras.ui.mini-animate" },
    { import = "lazyvim.plugins.extras.lang.python" },
    { import = "lazyvim.plugins.extras.lang.rust" },
    { import = "lazyvim.plugins.extras.lang.java" },
    { import = "lazyvim.plugins.extras.lang.go" },
    { import = "lazyvim.plugins.extras.dap.core" },
    { import = "lazyvim.plugins.extras.dap.nlua" },
    { import = "lazyvim.plugins.extras.lang.clangd" },
    -- import/override with your plugins
    { import = "plugins" },
  },

i am sure pymongo and matplotlib installed , and  running in shell is nomarlly , use python3 test.py

hello there, I encounter the same problem and have solve it by:
return {   {     "linux-cultist/venv-selector.nvim",     cmd = "VenvSelect",     opts = {       name = {         "venv",         ".venv",         "env",         ".env",       },       dap_enabled = true,     },     keys = { { "<leader>cv", "<cmd>:VenvSelect<cr>", desc = "Select VirtualEnv" } },   }, }
Basically, venv-selector need dap_enabled=true to fix this. I will create a pull request for this!

okay ，i am try it ,thanks

I merged a PR to set dap_enabled by default. will make a new release later


Improve run page

In https://github.com/MultiQC/website/pull/66 I added a new page where you can run MultiQC in the browser, using WebAssembly.
It works ok, but there are some improvements that could be made:

[ ] Can only mount a single directory, once
[ ] Can't mount files, only directories
[ ] showDirectoryPicker method is experimental and doesn't work in many browsers, would be nice to look for alternatives
[ ] File listing in the browser is a bit basic, could do an interactive tree UI etc.

And the big one:

[ ] Rewrite to use Pyodide web workers running on separate threads, instead of locking up the main browser thread.

I think for the filesystem we need to ditch the File System Access API completely and go back to something a bit more regular like this to scoop up files from the browser UI. Can hopefully tie those listed files into a pyodide filesystem interface such as MEMFS. Could allow repeated drops to continually add files then and keep updating the list from the Python side.

@vladsavelyev figured much of this out, now live on seqera.io/multiqc 🎉


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/erickt/rust-syntex
https://github.com/serde-rs/syntex

@ReadmeCritic: Neat, thanks!

:smile:


CRC Error just after download

Hi,
I had downloaded the crc for macbook (mojave 10.14.5) 1 month ago. It worked without any problems. Then the certificate got expired. Now I have downloaded again the crc for macbook. But when I run it in a command it returns with the below error.
sandipgupta$ ./crc
-bash: ./crc: Operation not permitted
Any help /suggestions.

Make sure you gave it execution permissions:
$ chmod +x crc
On Sun, Sep 29, 2019 at 4:25 PM sanguptaibm<EMAIL_ADDRESS>wrote:

Hi,
I had downloaded the crc for macbook (mojave 10.14.5) 1 month ago. It
worked without any problems. Then the certificate got expired. Now I have
downloaded again the crc for macbook. But when I run it in a command it
returns with the below error.
sandipgupta$ ./crc
-bash: ./crc: Operation not permitted
Any help /suggestions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/code-ready/crc/issues/668?email_source=notifications&email_token=AAAAOZQFPSBYZVAEZCLZ7OTQMBQ57A5CNFSM4I3RMX22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HOLROVA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAAOZXPOXPZM5CFUI32KMTQMBQ57ANCNFSM4I3RMX2Q
.

--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]

Hi,
I had already given the +x command. But it still had the same problem.
Now I have given the terminal full disk access, but the problem remains.
Sandips-MBP:crc sandipgupta$ ls -l
total 3649544
-rwxrwxrwx@ 1 sandipgupta  staff<PHONE_NUMBER> Sep 17 17:20 crc
-rw-r--r--@ 1 sandipgupta  staff        2743 Sep 29 10:24 pull-secret_4.1
Sandips-MBP:crc sandipgupta$ ./crc -version
-bash: ./crc: Operation not permitted
Sandips-MBP:crc sandipgupta$
Now what I did was extracted the file using the mac extractor rather than using iZip Extractor.
Then it worked. May be the extract was corrupted.
Anyway thanks for the help.
Hopefully this will not have a certificate expiry issue.

Likely the extension was dropped during/after the download. Which browser
was used? Anyway, thanks for the feedback.

I used firefox browser. But I believe something happened while extracting using iZip.


Determine why some samples have high frequencies of both BA.1 and BA.2 that sum >100%

This may be due to a small number of shared mutations between the BA.1 and BA.2 constellations.

Locate some Western samples that are apparently affected by this issue
Examine mutation frequencies

These 3 prevalent mutations, shared between BA.1 and BA.2 seem to be driving the frequencies. We need to find a way to account for shared mutations when calling variants and computing frequencies.
spike:Q493R
nuc:C25000T
nuc:C25584T

We should fork the constellations repository and then point our submodule to our fork instead of the original repo - that way we can delete mutations that are found in more than one constellation.

For now, please delete the three mutations from our local copies of the BA.1 and BA.2 constellations and re-run the data to see what the result is @Abayomi-Olabode

I made a optimization-based version of the Bayesian model I developed before I left the lab. It produces very similar results to the Bayesian model. I added a bootstrap step for the CI, but it could use some tweaking. I took a half hour this morning to make a branch that applies it to the data if you're interested in using it.
I also included a function called "astronomize" in that branch that brings the constellations repo in as a variant matrix (heavily based on your code). If you just want to use that, you can delete any rows that are too similar and then just take the column names to get the sites list.

ProVoC is not peer-reviewed yet, so no worries if you don't use it right away! I hope the astronomize function helps with deleting mutations via matrix operations rather than maintaining a fork.

Still finding a few case with frequencies slightly higher than 100%. Investigating for reasons why

@Abayomi-Olabode - the frequencies do not have to sum exactly to 100% because they are being estimated independently - what do you mean by "slightly higher" exactly?

They 2 samples I looked at so far from Western and Waterloo had a BA.1 + BA.2 frequency of 104.22 and 103.54% respectively

Yeah that's certainly within our margin of error.  Again, the frequencies are being estimated independently so there is no constraint on them to sum to 100%.


ls: improvements on time handling

I added some extra compatibility to ls.
Creation/Birth times.
And time styles.
Still needs work.
FORMAT+, posix- are not yet implemented as styles.
I moved ls from an old version of time to a new version of chrono which supports translating locales.
To do this I had to update uucore to time 0.1.43 to match the time package used in the new chrono release.
Sadly I haven't found a good way yet to find a users locale so the translating isn't implemented yet.
Some tests are still need to be made.
And I am a bit skeptical of how --full-time, --long and --time-style play together right now, so I shall make sure that's all overriding each other correctly in another commit.
If I add more features or tests I'll update this PR
I hope to cover the whole time part of https://github.com/uutils/coreutils/issues/1872 soon.
Edit: Seems like sometime when switching to chrono the --full-time arg started giving crashes. Something I'll have to investigate.

At this point I only have to write more tests. @tertsdiepraam could you make a list of what kind of tests you'd like to see?

Looking good! I think we should at least have tests that

check all the different time formats
check whether all the options can be overridden correctly, so things like

ls --time-style=long-iso --time-style=iso
ls --time-style=iso --full-time
ls --full-time --time-style=iso --full-time

(I think you got most of this correctly but it's still nice to have some tests)

check whether --full-iso can be overridden by all other format options (especially -m and -x):

ls --full-time -x # should be across format
ls --full-time -xl # should be long format with full iso

check birth-time in such a way that distinguishes it from other time formats, like I described here https://github.com/uutils/coreutils/pull/1986#discussion_r605417033

That should cover it I think. You can also add anything that you found complicated or weird behaviour from GNU.
Also note that you should probably merge the upstream master to fix some conflicts.

Maybe for a next PR, I think the locale for the time can be read from the LC_TIME environment variable, but I'm not sure how complicated it is to actually implement the different formats. Explained here under 'locale': https://www.gnu.org/software/coreutils/manual/html_node/Formatting-file-timestamps.html#Formatting-file-timestamps

Sorry but could you please fix the conflicts? thanks

@tertsdiepraam I am not sure how to test the styles, I could compare with a regex but I'd more rather be able to set the modification time of a file to a unix timestamp.

I haven't found an easy way to set the modification time yet, so regex sounds good to me!

ls --full-time -x # should be across format
ls --full-time -xl # should be long format with full iso

@tertsdiepraam This doesn't work yet, and I honestly don't know how to make it work efficiently... --full-time is currently dominant over all short format options.

@LevitatingBusinessMan I think you're very close, because I think you already got it right with time part of --full-time. There is already some logic in place for the format here, so I think adding the --full-time option to this array (line 283) might do the trick:
if [
    options::format::LONG_NO_OWNER,
    options::format::LONG_NO_GROUP,
    options::format::LONG_NUMERIC_UID_GID,
]

and then remove the --full-time option here (line 251):
} else if options.is_present(options::format::LONG)
    || options.is_present(options::FULL_TIME)
{

Does that help?

Last commit should do it?

Nice! If those tests indeed pass then that should do it, it looks good to me!

Sorry but Ubuntu is failing

---- test_ls::test_ls_order_birthtime stdout ----
current_directory_resolved:
touch: /tmp/.tmpiUSBi3/test-birthtime-1
touch: /tmp/.tmpiUSBi3/test-birthtime-2
touch: /tmp/.tmpiUSBi3/test-birthtime-1
run: /target/i686-unknown-linux-musl/debug/coreutils ls --time=birth -t
thread 'test_ls::test_ls_order_birthtime' panicked at 'assertion failed: `(left == right)`
  left: `"test-birthtime-1\ntest-birthtime-2\n"`,
 right: `"test-birthtime-2\ntest-birthtime-1\n"`', /project/tests/by-util/test_ls.rs:496:5

Adding another sleep between the first two touch calls might help with those tests.

 It was hard for me to get that birthtime test to work because for some reason my machine gives a me perfectly reliable order of files, even when the timestamps are identical. Rust just gives the files in a specific order, every time. This isn't alphabetical or anything, it seems arbitrary, but it is still somehow related to the names of the files. It isn't the same order in other machines. I'll have to dig into Rust to figure out what causes that. But it's not relevant.
So if the timestamps are identical to files, we have them sorted in the order we discovered them. Either how Rust returned them to us, or in what order they showed up on the command line.
GNU's ls however, will always sort alphabetically as a fallback. So this is something we should definitely start doing as well.
Anyway the birthime test should just work like this:
touch x
sleep 1 ms
touch y
touch x

And the order should be y x because y was created later than x.
I think this works everywhere now, except on Windows where some of my tests have been timing out....
I'll commit the slight change to this branch now though.

@LevitatingBusinessMan Those timestamps are definitely tricky! I ran into similar issues with the access time and I'd be very interested to hear if you find out what the causes are. The fallback to alphabetic ordering is a great idea, but I think we can just implement that in another PR.
There are some conflicts in the Cargo.toml and Cargo.lock, could you fix those? That should start the CI too and then we can see whether the change worked. Thanks!

I am going mad

@LevitatingBusinessMan Those build errors aren't really your fault. The CmdResult type was changed while you were working on this (see here for more info: https://github.com/uutils/coreutils/issues/1982). You can just replace all result.stdout with result.stdout_str() and it should be fine!

Once the conflict is fixed and the CI is green I will make sure it lands :)

Did you have to push changes to ls before I could fix the tests... :/
I was away on a sailing trip I couldn't fix them yesterday.
Now I got to resolve merge issues again.

There are only some conflicts with the imports. The rest should merge without any issues!

The whole list of imports seem illogical to me anyway since the refactor. Why is so much under a unix condition? Anyway I'll try to merge it without any issues.

There were the same number of platform-specific imports before, they were just spread out over multiple use statements with cfg(unix). Here's why they're unix only:

HashMap is used as cache for uid and gid, which don't exist on Windows
FileTypeExt and MetaDataExt are platform-specific by nature
Duration is used for modification time which also does not exist on Windows

@tertsdiepraam Seems like the push @sylvestre made while I was awaiting my test results broke some more stuff in the lockfile. Great
@tertsdiepraam In my opinion HashMap and Duration just shouldn't be imported like that, you can use them in full like std::time::Duration where necessary, which in both cases is only in a single location, makes the import list a lot less cluttered.
Anyhow I am again going to make a merge and if it builds on all platforms I'll push it to this branch.

Windows is failing, pushing to this branch regardless

@LevitatingBusinessMan Well, let's agree to disagree😄 There is indeed another unix-specific import, which is not from std so I could merge that one with the imports from std. Personally, I like the merge-as-much-possible import style, but I can see why others might not like it.

Aw dang, looks like indoc requirest Rust 1.45, maybe you could use unindent directly? That doesn't seem to have the same restriction. About the Windows test, I think we should be a bit lenient, because timestamps are kinda horrible. In one of the tests for access time I did this:
let file3_access = at.open("test-3").metadata().unwrap().accessed().unwrap();
let file4_access = at.open("test-4").metadata().unwrap().accessed().unwrap();

// It seems to be dependent on the platform whether the access time is actually set
if file3_access > file4_access {
    if cfg!(not(windows)) {
        result.stdout_only("test-3\ntest-4\ntest-2\ntest-1\n");
    } else {
        result.stdout_only("test-3  test-4  test-2  test-1\n");
    }
 } else {
    // Access time does not seem to be set on Windows and some other
    // systems so the order is 4 3 2 1
    if cfg!(not(windows)) {
        result.stdout_only("test-4\ntest-3\ntest-2\ntest-1\n");
    } else {
        result.stdout_only("test-4  test-3  test-2  test-1\n");
    }
}

It's kinda cheating but at least it gets tested properly for the platforms on which it works. I think you could do something similar for these tests and just not worry about it anymore.

This explains a lot of our issues with Windows times:

Not all file systems can record creation and last access time and not all file systems record them in the same manner. For example, on NT FAT, create time has a resolution of 10 milliseconds, write time has a resolution of 2 seconds, and access time has a resolution of 1 day (really, the access date). On NTFS, access time has a resolution of 1 hour. Therefore, the GetFileTime function may not return the same file time information set using the SetFileTime function. Furthermore, FAT records times on disk in local time. However, NTFS records times on disk in UTC. For more information, see File Times.

Source: https://docs.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime
This might also explain the issue:

A FILETIME structure that specifies when a file or directory is created. If the underlying file system does not support creation time, this member is zero (0).

So, maybe you could just only run the test if the creation time is not 0 (which should be Januari 1, 1601 according to the docs).

@tertsdiepraam, thanks for the research. I'll go ahead and look into it tomorrow. Hopefully I can close this then, school exams are coming up and I don't have that much spare time anymore.

@tertsdiepraam I could just increase the timeout in the test to be above 10ms (possibly, just in Windows builds), which should help with NTFS. There's no point in adding support for the tests for different filesystems because we don't run the tests in different filesystems, so we shouldn't have to expect the creation time might be zero.
Anyhow if I can't get it to succeed I am probably just going to remove this test for windows builds.

Aw dang, looks like indoc requirest Rust 1.45

Where did you read this? I can use unindent directly but it's a bit more of a hassle.

@LevitatingBusinessMan Sounds fine regarding the Windows tests. The rust version for indoc is on the GitHub page:

Compiler requirement: rustc 1.45 or greater.

Source: https://github.com/dtolnay/indoc

@tertsdiepraam Seems like indoc uses proc_macro which isn't defined in Rust 1.40. I'll switch to unindent, too bad, because then the unindenting gets done on run-time.
I increased the timeout on windows and it failed: https://github.com/LevitatingBusinessMan/coreutils/runs/2451783244

@tertsdiepraam I cannot use unindent, Clap REFUSES to accept any string that isn't a static string literal it seems. I looked over it with someone and it seems rather impossible. I just added the AFTER_HELP string as a static string to the beginning of the file. There it is on root level anyway, so there's no need to use indoc.
Builds are succeeding on windows with the birthtime test turend off, it'll have to do for now. There is more I have to do anyway, like the posix stuff and the FORMAT. Stuff for after my exams.

@sylvestre This should definitely succeed.

@LevitatingBusinessMan Why not do something like the literals here: https://stackoverflow.com/a/29483453. That doesn't require any additional packages.

@tertsdiepraam Raw strings don't solve the indentation issue.
I generally don't like using the backslash technique, because in some cases it makes the strings hard to read and write.
Indoc exists just to resolve these issues.
But in this case using backslashes doesn't look too bad:
        .after_help("\
            The TIME_STYLE argument can be full-iso, long-iso, iso.\n\
            Also the TIME_STYLE environment variable sets the default style to use.\n\
        ");

Sorry but some tests are failing:

---- test_ls::test_ls_order_birthtime stdout ----
current_directory_resolved:
touch: /tmp/.tmpyINhjx/test-birthtime-1
touch: /tmp/.tmpyINhjx/test-birthtime-2
touch: /tmp/.tmpyINhjx/test-birthtime-1
run: /home/runner/work/coreutils/coreutils/target/debug/coreutils ls --time=birth -t
---- test_ls::test_ls_order_birthtime stderr ----
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `"test-birthtime-1\ntest-birthtime-2\n"`,
 right: `"test-birthtime-2\ntest-birthtime-1\n"`', /home/runner/work/coreutils/coreutils/tests/by-util/test_ls.rs:576:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    test_ls::test_ls_order_birthtime

I might know what caused this.
I might this quick script:
fn main() {
	let foo = std::fs::File::create("foo").unwrap();
	std::thread::sleep(std::time::Duration::from_millis(1));
	let bar = std::fs::File::create("bar").unwrap();
	if foo.metadata().unwrap().created().unwrap() != bar.metadata().unwrap().created().unwrap() {
		std::process::exit(0)
	}
	std::process::exit(1)
}

This binary will succeed on my SSD, but wil fail on my HDD. Why?
Linux buffers IO operations as to not too stress your disk too much, my theory is that this causes the files to be created at the same time.
I added a sync_all call to the first IO operation to make it happen immediately, and the problem was solved.
fn main() {
	let foo = std::fs::File::create("foo").unwrap();
	foo.sync_all().unwrap();
	std::thread::sleep(std::time::Duration::from_millis(1));
	let bar = std::fs::File::create("bar").unwrap();
	if foo.metadata().unwrap().created().unwrap() != bar.metadata().unwrap().created().unwrap() {
		std::process::exit(0)
	}
	std::process::exit(1)
}

I was even able to remove the timeout, because the syncing of the buffer seems to take a few milliseconds. Anyhow I'll keep it in for the tests.

I think removing it with another commit is fine!

well done :)


enh: add double quotes before paths so spaced paths can work

Currently whenever a download path consists of spaces, s5cmd command does not work.

But to force it, we must include the path containing spaces in double quotes. The issue was first encountered in SlicerIDCBrowser. https://github.com/ImagingDataCommons/SlicerIDCBrowser/issues/39
This PR will fix https://github.com/ImagingDataCommons/SlicerIDCBrowser/issues/39

Of course, this makes sense - we did the same for the portal, but I didn't connect the dots...


chore(changelog): recommend latest version of storage

Short description of what this resolves:
ionic storage 1.1.6 had an issue that caused a white screen for some users. Ionic storage 1.1.7 fixed this and this change updates our rc4 changelog to recommend updating to 1.1.7 . https://github.com/driftyco/ionic/issues/9677
Changes proposed in this pull request:

update version of ionic storage we recommend users updating too

Ionic Version: 2.x
Fixes: #9677

Hi what about Ionic 3 with ionic storage 2.0.1 , I have same problem white screen after splash screen ?

@ahmedalmulki I use the same version of ionic & ionic storage without any problem, make sure you hide splash screen manually after app be ready
this.platform.ready().then(() => {
      this.splashScreen.hide();
});

Then disable auto hide splash from config.xml
<preference name="FadeSplashScreen" value="false" />
<preference name="AutoHideSplashScreen" value="false" />

@yemenifree  Thanks yemenifree , its work now but the splash screen take too time to disappears , is there any way to let ionic app start up more faster ?

@ahmedalmulki  Use this ionic cordova build android --prod


Markers error

Hi guys, hope anyone help me with this:
I'm trying to add some markers to my map, but throws me error:
RangeError: Maximum call stack size exceeded at Function.getOwnPropertyNames (native)
This happens since i updated angular-openlayers-directive to v0.0.5 because i need handle click event on markers.
my code:
$scope.markers = [
    {
        lat: 20.679,
        lon: -103.386,
        onClick: function (){
            console.log('click');
        }
    }
]

template
<openlayers ol-center="center" width="100%" height="94vh">
    <ol-marker ng-repeat="marker in markers" ol-marker-properties="marker"></ol-marker>
</openlayers>

thanks!

I'm having the same issue. Can't add any markers.
Any workaround?

Please, can you provide a jsfiddle showing this behaviour? You can start from this fiddle:
http://jsfiddle.net/tombatossals/v3b0p54h/

I have the same problem, but I cannot reproduce it using the jsfiddle. Mainly I think this happens since I am using jade instead of standard html. I will try to check if everything works fine in html.

Ok, last post for today. I "fixed the problem" by upgrading from openlayers 3.0.0 to openlayers 3.4.0.
How I feel after chasing down the wrong rabbit hole for 90 minutes:


Updated the article as per task 5700467

PubOps Pre-review feedback 020122

Docs Build status updates of commit cb5ef78:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 42c16cd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit b903edb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Hi @Ashok-Lobo
Pre-review feedback.
Following are blocking issues that need to be resolved before we can merge:
docset/winserver2019-ps/defender/Set-MpPreference.md

Lines 144 - 148: The lines run together. You could use bullets for each level.

It displays like this:

Reference
Criteria used for pull request reviews
Blocking

The content preview must be clean on staging. It cannot contain any obvious formatting issues.

If you have trouble resolving the feedback, please post in Ask an Admin in Teams or send mail to PubOps<EMAIL_ADDRESS>When you've resolved the blocking issue(s), please remove the "Back to submitter" label and re-apply "Sign off" label to put this PR back in the queue for review.
Thanks

Docs Build status updates of commit 3470f05:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/docs-conceptual/winserver2012r2-ps/toc.yml
:white_check_mark:Succeeded
View (winserver2012r2-ps)

docset/winserver2012-ps/activedirectory/Add-ADCentralAccessPolicyMember.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADComputerServiceAccount.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADDomainControllerPasswordReplicationPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADFineGrainedPasswordPolicySubject.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADGroupMember.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADPrincipalGroupMembership.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Add-ADResourcePropertyListMember.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Clear-ADAccountExpiration.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Clear-ADClaimTransformLink.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Disable-ADAccount.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Disable-ADOptionalFeature.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Enable-ADAccount.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Enable-ADOptionalFeature.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADAccountAuthorizationGroup.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADAccountResultantPasswordReplicationPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADCentralAccessPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADCentralAccessRule.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADClaimTransformPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADClaimType.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADComputer.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADComputerServiceAccount.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDCCloningExcludedApplicationList.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDefaultDomainPasswordPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDomain.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDomainController.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDomainControllerPasswordReplicationPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADDomainControllerPasswordReplicationPolicyUsage.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADFineGrainedPasswordPolicy.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADFineGrainedPasswordPolicySubject.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADForest.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADGroup.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADGroupMember.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADObject.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADOptionalFeature.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADOrganizationalUnit.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADPrincipalGroupMembership.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationAttributeMetadata.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationConnection.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationFailure.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationPartnerMetadata.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationQueueOperation.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationSite.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationSiteLink.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationSiteLinkBridge.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationSubnet.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADReplicationUpToDatenessVectorTable.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADResourceProperty.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADResourcePropertyList.yml
:white_check_mark:Succeeded

docset/winserver2012-ps/activedirectory/Get-ADResourcePropertyValueType.yml
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 9619fce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 76cb880:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 870ae67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 65c5b4f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2770cdd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docset/winserver2019-ps/defender/Set-MpPreference.md
:white_check_mark:Succeeded
View (WindowsServer2019-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


lose filter and files  in c++ project

lose filter and files  in c++ project
i can not see *.ui and form filter and sln explorer

duplicated #71


Dark Mode

Create a dark mode function where the user can block every element on the screen aside from the video player, simulating a darkened room.

Feature Added! Turn off the lights button darkens everything but the video player in the room locally.


Stop focussing on TeX

Describe the solution you'd like
While the app was originally developed with a certain workflow based around TeX in mind, that is a restriction that is not really required.
Original Idea:
 --------------       ----------------       ------------------       -----------
| User creates |     | LayoutProvider |     | CompilerProvider |     | PDF is    |
| and updates  | --> | generates TeX  | --> | compiles TeX     | --> | served to |
| Events       |     | source         |     | source to PDF    |     | user      |
 --------------       ----------------       ------------------       -----------

However, in calingen.interfaces.plugin_api.CompilerProvider, the only real requirement is to provide a valid (Django) HTTP response object.
Nothing prevents us from lifting the restrictions even more and allow layouts to provide any type of compiled output, that may be picked up by the compiler implementation.
This would allow for purely HTML-based layouts aswell. It could even be possible to support Markdown, reST or CSV outputs.
Implementation

[ ] Rename module calingen.view.tex

[ ] Rename contained classes aswell

[ ] Rename module calingen.forms.tex

[ ] Rename contained classes aswell

[ ] Add required target_source attribute to calingen.interfaces.plugin_api.LayoutProvider
[ ] Enhance calingen.contrib.compilers.noop

[ ] Serve browser-servable content directly
[ ] Use (existing) file download logic for any other content

[ ] [OPTIONAL] Allow for more than one installed compiler (CompilerProvider)

[ ] django.conf.settings provide an AVAILABLE_COMPILER option (list of importable CompilerProvider implementations)
[ ] django.conf.settings provide a DEFAULT_COMPILER option (a single importable CompilerProvider implementation)
[ ] django.conf.settings provide a mapping, which LayoutProvider.target_source is routed to which compiler implementation
[ ] let TeXCompilerView (will most likely be renamed at this point) sort out, which CompilerProvider to use, depending on the above settings
[ ] in django-admin: provide a visaualization of these mappings

The features described above would break most of the app's public interfaces, meaning it would directly result in a release 2.0.0.
I'd like to keep the external API as stable as possible, hoping for layout creators and compiler implementations to pick up the app.
Saying all this: Include this into Release 1.0.0, though it will mean some more time until the initial release!


Make libosdp no_std compatible

Depends on #16.
The feature arc is introduced, because some targets like thumbv6m-none-eabi don't support CAS operations and therefore don't support Arc. By disabling this feature these targets can be supported, too. I will probably looking into implementing get_version() and get_source_info() some other way that does not rely on CAS operations, but this way libosdp can at least be built for those targets now.

I changed get_version() and get_source_info() to return &str. That way once_cell is not needed anymore. This is fine since the C implementation returns a statically allocated const char*.

So, two things,

I added 8b8416cb60e0cd828ffc6a908d1ff28ada5f3c30 to make rebase on this branch easy. Please rebase it on master an the libosdp-sys commit in this PR should be dropped.
Why does libosdp-sys need std feature at all? maybe we can make both libosdp-sys and libosdp no_std only? Do you see any downsides to this?

I added 8b8416c to make rebase on this branch easy. Please rebase it on master an the libosdp-sys commit in this PR should be dropped.

Ok, I will do that.

Why does libosdp-sys need std feature at all? maybe we can make both libosdp-sys and libosdp no_std only? Do you see any downsides to this?

For libosdp-sys you are definitely right. It does not use anything from std and should be no_std only.
libosdp does use no_std incompatible stuff like thiserror and std::io::Error though.

Done

BTW this is a semver breaking change, because of the change to get_version() and get_source_info().

True, but I think we should wait until we have some level of API stability before enforcing SemVer.


npx @preset/cli laravel:vite not work laravel 9

Hello, good morning, I installed Laravel 9, whatever command npx @ preset / cli laravel: vite I press does not work and only prints the following items in the terminal
I'm using WindowsOs on Amd CPU, PHP8.1, Node 16 + NPM 8, Laravel 9.
Usage:
$ preset
Commands:
apply  [target-directory]  Applies the given preset.
init [target-directory]                Initializes a new preset.
For more info, run any command with the --help flag:
$ preset apply --help
$ preset init --help
$ preset --help
Options:
--no-interaction  Disable interactions. Prompts will use their default answers. (default: true)
--debug           Use the debug reporter.
--silent          Do not use a reporter.
-h, --help        Display this help message.
-v, --version     Display the version number.

Hi, the command is npx @preset/cli apply laravel:vite. I probably forgot the apply on a documentation somewhere.

I'll fix the issue on the docs when I come home tomorrow. Thanks for reporting


Rancher Server is showing ghost rancher-agent containers, cannot delete them

We occasionally see an application stack which are mysteriously showing multiple ghost containers in the UI.
On one particular host, we see ghosts of the Rancher-agent container:

However, there is only one Rancher-agent container:
docker08 # docker ps -a |grep rancher-agent
424b20c9ce20        rancher/agent:v1.1.2                "/run.sh run"            7 days ago          Up 2 days                                       rancher-agent
docker08 #

Not sure how to debug further. Please advise.

Rancher 1.2.2
Single Rancher Server
4 Rancher agents running on VMs
CentOS 7
External MySQL database

Useful
Info

Versions
Rancher v1.2.2 Cattle: v0.174.13 UI: v1.2.40

Access
openldap admin

Orchestration
Cattle

Route
hosts.index

If I try to delete those containers from the WebUI, Rancher complains with this error:

Error deleting
Validation failed in API: Can not delete rancher-agent

This problem eventually went away. I forget how we fixed this. Closing issue.


Component Plugins do not get tailwind configuration

Steps To Reproduce
Steps we can take to reproduce the issue you're seeing. Sample data is helpful.

Create a component plugin
Install it in an evidence project
Build & Run the project
Check if the components from your plugin have tailwind classes applied to them.

There are a few considerations here:

@apply statements in style blocks are evaluated, but the app stylesheet is not (which handles class="bg-whatever" attributes). If the plugin author is expecting a non-evidence tailwind configuration, this could lead to unexpected behaviors.
We will need to link plugin discovery to the tailwind configuration (possibly in our tailwind configuration package?) to ensure that this behaves properly

The end solution here is likely to use the plugin file to identify component packages and include them in tailwind's content directive, we just need to find a good way of doing that.

Closed in #913


[KAFKA][KAF-297] Disable JMX and STATSD options

Do not merge this yet.

LGTM

@mbdcos:  Please resolve conflicts and merge.

retest this please

retest this please


Top loci table sort for marker

The marker column should implement a correct numerical sort, rather than defaulting to lexicographic. Currently, a sample study such as https://my.locuszoom.org/gwas/892028/ shows the following order when values are sorted numerically:
1: 109,817,590
1: 56,963,627

See column sort definition:
https://github.com/statgen/locuszoom-hosted/blob/develop/assets/js/pages/gwas_summary.js#L26

Fixed in next release.


Cloud rn november

This change is

Hi all, would like to get this PR out today if possible. Paul and Emily's reviews have been incorporated and I synced with Towfiqa about the regions.


Support SSR ？

Support SSR ？

Unfortunately there is no native support for Sever side rendering. You could use it in combination with mock-browser or something similar but I would not recommend it.
Nonetheless rendering the virtual dom to HTML is pretty straightforward to implement and I might add this feature in the future, if there is enough interest.

This SSR feature could be apart of the compatibility layer I mentioned in #26 since react has this feature implemented.

@cheft maybe try something like https://github.com/ember-fastboot/simple-dom in conjunction with dot-dom templates.


Redstone, glass etc. does not update.

Screenshot:

What is the output link of /viaversion dump?
https://dump.viaversion.com/0df33600f52f78f4dbad686f70397d97ee2c9e5ecf524f807998833408264933
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
I use Bungee, EssentialsX, GroupManager, WorldEdit/WorldGuard, Vault, Viaversion and my own plugin.
How does this error happen? login? Using an item?

Redstone, glass and other connecting/2-block blocks does not update

Is there an error in the console? Use pastebin.com. Is there a kick message?
No errors at all.

https://github.com/MylesIsCool/ViaVersion/issues/856

Thanks


[php] Javascript Syntax Highlighting Error after inline PHP

VSCode Version:  0.10.8
OS Version:   Windows 7 Enterprise

Steps to Reproduce:

Open a new .php file
Add the following code:

<script type="text/javascript">
Cookie.Set("Test", "<?=date("Y");?>");
</script>

Note that the syntax highlighting shows the closing bracket and semi-colon as part of a string literal.

I believe this is now fixed in VSCode 1.7.2:

The colorization inside the string is now different however.
Please let us know if you still see the original problem and open new issues for any further syntax highlighting problems you see here.
Thanks.


Allow defining order in v-for

What problem does this feature solve?
Vue currently does not directly support reverse loops. Generally, it can be solved by using calculated attributes, but if you want to iterate over the objects in slotProps, the calculated attributes are not available (it is also possible that my usage is wrong). I hope there is a way that The method of traversing the array, so that you no longer need to create calculated properties for the array
What does the proposed API look like?
Consider adding a property to v: for to specify the traversal direction

Given a scoped slot variable, you can call myArray.slice().reverse() on it, although it will execute on every render. You can also use https://github.com/posva/vue-local-scope to generate local variables that are executed only once (like computed properties for scoped slots).
It's also possible to use a range, but it can become verbose:
  <li v-for="i in todos.length">
      <label>
        {{ todos[todos.length - i] }}
      </label>
    </li>

Creating a computed property usually makes sense as the order difference usually means something and can be named.

嗯，这几种方法都能够实现目的，我现在的做法是定义了一个方法，将数组做为参数然后输出一个反向copy（因为之前在v-for中直接为数组调用了reverse导致了死循环，又没有想到slice方法），计算属性对于反向遍历究竟是好是坏我也没太想明白，不过看起来来它和我提议的属性指定方式好像不冲突，我是刚开始接触vue，创建这个issue也是突如其来的想法，后面怎么处理，就交给作者菌了。（英语很差，就不做蹩脚翻译了【捂脸】）


Istio 1.0.3 version, sidecar can't be injected in statefulset

Describe the bug
When I use the isti 1.0.3 version, deploying with deploy is normal, using statefulset deployment fails, the following exception occurs
create Pod nginx-0 in StatefulSet nginx failed error: Pod "nginx-0" is invalid: spec.containers[1].env[8].name: Invalid value: "ISTIO_META_statefulset.kubernetes.io/pod-name": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*')

Version
k8s
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:08:19Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

istio
1.0.3

I believe this change in istio.yaml will fix that specific problem:
-        [[ if .ObjectMeta.Labels ]]
-        - name: ISTIO_METAJSON_LABELS
-          value: |
-                 [[ toJson .ObjectMeta.Labels ]]
+        [[ range $k,$v := .ObjectMeta.Labels ]]
+        - name: ISTIO_META_[[ $k ]]
+          value: "[[ $v ]]"

However the containers will still not internally route to each other in 1.0.3, at least when they are all in a custom namespace.

Same here for Prometheus Operator
creating a Pod fails because Pod has the annotation:
statefulset.kubernetes.io/pod-name:  "prometheus-kube-prometheus-0"
Obviously ISTIO_META_statefulset.kubernetes.io/pod-name is not a valid ENV name.
So, what can I do with (defined in ConfigMap istio-sidecar-injector):
[[ range $k,$v := .ObjectMeta.Labels ]]
    - name: ISTIO_META_[[ $k ]]
      value: "[[ $v ]]"
    [[ end ]]

to add a check or to create a valid ENV name?

@mandarjog Can you provide comments here?

should be fixed in 1.0.4 (see #9634)

Hi, Upgrading to 1.0.4 and be able to have my MariaDB broken deployment (in 1.0.3 )working.

This may be a duplicate of #9571


feat: @value in CSS modules

What kind of change does this PR introduce?
feature - @value in CSS modules
fixes - https://github.com/webpack/webpack/pull/18535
Did you add tests for your changes?
Yes
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
No

Is there any issue which explains what @value in CSS modules does?

@jantimon https://github.com/css-modules/css-modules/blob/master/docs/values-variables.md