text:
System.TypeInitializationException on schema.Complete()

I just tried to get a working sample in my .net core rest api with this project, as this looks like exactly the thing that I need. So I have this code in my controller (The context is injected):
`[HttpGet()]
public async Task GetUsers()
{
var schema = GraphQL.CreateDefaultSchema(() => _context);
        var user = schema.AddType<User>();
        user.AddField(u => u.Id);
        user.AddField(u => u.Name);
        user.AddField(u => u.Age);

       schema.AddListField("users", db => db.Users);

        schema.Complete();

        var query = @"{
            users {
                Id
                Name
            }}";

        var gql = new GraphQL<EventStoreContext>(schema);
        var dict = gql.ExecuteQuery(query);
        var serializeObject = JsonConvert.SerializeObject(dict, Formatting.Indented);
        Console.WriteLine(serializeObject);
        return new OkObjectResult(serializeObject);
    }`

but on execution, i get a System.TypeInitializationException from GraphQL.Net.DynamicTypeBuilder
Connection id "0HLCNLH1V91BN", Request id "0HLCNLH1V91BN:00000001": An unhandled exception was thrown by the application. System.TypeInitializationException: The type initializer for 'GraphQL.Net.DynamicTypeBuilder' threw an exception. ---> System.MissingMethodException: Method not found: 'System.Reflection.Emit.AssemblyBuilder System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess)'.    at GraphQL.Net.DynamicTypeBuilder..cctor()    --- End of inner exception stack trace ---    at GraphQL.Net.DynamicTypeBuilder.CreateDynamicType(String name, Dictionary2 properties)
at GraphQL.Net.GraphQLSchema1.CompleteType(GraphQLType type)    at GraphQL.Net.GraphQLSchema1.CompleteTypes(IEnumerable1 types)    at GraphQL.Net.GraphQLSchema1.Complete()
at HttpAdapter.Users.UserGraphlController.d__6.MoveNext() in C:\Users\Simon\source\repos\MicrowaveWebService\GraphlAdapter\UserGraphlController.g.cs:line 49
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Hosting.Internal.RequestServicesContainerMiddleware.<Invoke>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame1.d__2.MoveNext()
`
Am I missing something here?

I just realized, that the project does not support .net core :/ At least my VS tells me this.


text:
Enable region and offsets for Read/Write/Copy

For simplification, all call for memory accesses which takes an offset and a region are defined with defaults value (hard-coded).
Enabling none defaults value for these entries could simplify memory accessibility, e.g. __getitem__ and __setitem__ for the python wrapper.
ToDo:

adapt read/write/copy call for both buffer and image using Rect buffer for OpenCL
insure compatibility with CUDA
clarify copy method behavior (see issue #96)
make offsets and region defaults to keep classics behaviour

Buffer read, and write should now be manipulated using clEnqueue_op_BufferRect() if buffer is 2d or 3d.
CUDA version should rely on CUDA_MEMCPY for 2d and 3d.
From this we can enable a read_region and write_region method to the array class which should take the host_ptr (as source or destination). a starting coord (x,y,z) and a region size (w,h,d).
This can be mimic with the crop and paste kernel but in a less efficient way

done with

#187
#191

Now, read, write, copy can take an origin and a region.

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Wrong funcgtion signature for power()

In _interoperability.py, we should change the order of parameters and renamed of the power function. It should be power(x1, out, x2) instead of power(x1, x2, out=None). Furthermore, we should rename "x1" to "input_image", "out" to "output_image" and "x2" to "exponent".

Just for reference: https://github.com/clEsperanto/pyclesperanto_prototype/blob/8bd12efd32d2bcdbfc859bcfec85c7a567e17b06/pyclesperanto_prototype/_tier1/_power.py#L6

And not this is different from power_images:
https://github.com/clEsperanto/pyclesperanto_prototype/blob/8bd12efd32d2bcdbfc859bcfec85c7a567e17b06/pyclesperanto_prototype/_tier1/_power_images.py#L6

We should remove power from _interoperability.py

repo: clEsperanto/pyclesperanto


text:
don't install in lib64 on mac

things usually just go in lib

Can anybody comment on this?  I don't know enough about the Mac Filesystem, but i'm inclined to agree with what I read here:
http://apple.stackexchange.com/questions/119230/what-is-standard-for-os-x-filesystem-e-g-opt-vs-usr
https://github.com/italiangrid/voms/issues/3

After a few days of thought, this looks right to me.  No (immediate) dissenting comments, i'm ready to merge
:+1:

source: gharchive/pull-request

authors: glehmann kknox

repo: clMathLibraries/clFFT

license_source: bigquery


text:
remove configuration for stale bot

In addition to this PR the stale bot GitHub App has been uninstall from the organization.
Fixes #820

Coverage remained the same at 89.831% when pulling 2b0ef908e119bbfbe9a06bac266db36e2ba88673 on remove-stale-config into 9768d7cae1370b3cef136f47cd487be62352c244 on main.

authors: Shegox coveralls

repo: cla-assistant/cla-assistant


text:
massive refactoring required

Because
As there are many instances of "copies" of python scripts/functions/methods in the project root directory, the codebase is really hard to read and review. For example, I spent 30 mins to figure out why my edits were now properly staged until I realized that there are to classify.py files when I first started reviewing the app submission. De-cluttering these stopgap practice will highly improve readability and maintenance of the codebase.
Done when
Only one copy of all classes, modules, methods, and functions related to training and classification are left and properly packaged in a python package.
Additional context
No response

done via #32

Reopening this as we change to course and decided to release v1.0 with the duplicate code.

Duplicate code is gone I think. One remaining thing that I can think of is to split classification of images from generation of timeframes (now they are not closely entangled, but still in the same file).

Refactoring will continue, but the massive changes that were needed are all done I think.

authors: keighrim marcverhagen

repo: clamsproject/app-swt-detection


text:
Make *.ipp or *.tcc files eligible for header<->implementation file switching

Not sure if this classifies as a bug but it's certainly an issue.
Usual practice that I saw in multiple codebases (libstdc++ included) is to have a header file and a template implementation file. The later is usually denoted by the *.tcc or *.ipp file extension and included directly after the declarations in the original header. The problem arises when I try to switch between header and implementation using Alt + O shortkey: It just doesn't work. clangd doesn't seem to recognise the implementation file. I understand that a template implementation file certainly "looks" like a header, but using assuming that *.ipp or *.tcc files classify as implementation files, the switching could be feasible, no?

Duplicate of #1797. Please feel free to weigh in on the discussion there.

repo: clangd/clangd


text:
PEP8 renaming for haspi.py, tests; introduces masking of Git Blame

Mostly just renaming but some small refactors to pass pylint tests.
I've ensured the regression test which uses this (test_full_CEC2_pipeline.py) still passes.
I've also introduced .git-blame-ignore-revs which is automatically recognised by GitHub but needs configuration on local repositories to be used by Git. Its purpose is that it masks the git blame associated with the changes I've made whilst modifying this evaluator (and the msbg and msbtoi evaluators) so that it does not show me as the editor of the files but the original author.
I've written a blog post about this which shows how to use this file and configure Git locally, see Who's to Blame but in summary after this has been merged to main you would...
git checkout main && git pull
git config blame.ignoreRevsFile .git-blame-ignore-revs

(there is no need to git add the file as you will have just pulled it down from origin).

Apologies, pre-commit didn't throw the current errors when I made commits locally (unless I disabled pre-commit completely I couldn't commit, push and make this PR).
I'll get the argument names revised to reflect the refactoring tomorrow.

Hi @jonbarker68 ,
Thanks for the detailed review, I should have captured all of them, bit tardy of me that I worked out what BM was half way through but didn't apply broadly.
Moved the comments to before lines that were split, one of the gotchas here is that the comments at the end of lines sometimes pushed the line length over the projects 88 character limit, wrapping the line across three rows. Move the comment to the preceding line and it looks like it could nestle back on the end.

repo: claritychallenge/clarity

license: MIT


text:
🛑 Data Portal is down

In cc7f294, Data Portal (https://data.nsercresnet.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Data Portal is back up in f5ba080 after 9 minutes.

repo: clarkwrks/resnet-status


text:
Sync preferences online

I run this on a Chromebook and all local data is deleted each time I log out, which resets my Classeur preferences. Can you add an option to back up preferences?

The expected behavior is to restore the preferences when you log back in. (works fine to me)

repo: classeur/classeur


text:
Drag into a Sortable list item

We have a use case like folders and files where folders can be sorted separately and files sorted separately. Folders can be dropped into folders and files can be dropped into folders. But folders cannot be dropped into files.
I have been trying to figure out how to use the SortableContext along with a Draggable/Droppable item contained inside the SortableContext to accept this scenario.
Any help is much appreciated!
Imagine this to be very similar to the MacOS for folders.

Thanks for this code snippet and help, do you have a sample of how your component layout looks like? I assume it is something like below:
<DndContext onDragOver={...} onDragEnd={...} collisionStrategy={collisionStrategy}>
  <SortableContext items={folderItems}>
    {folderItems.map((folderItem) => (
      <Sortable id={folderItem.id}> // This is useSortable({ id, data: { type: 'folder' })
        ...
      </Sortable>
    )}
  </SortableContext>
  <SortableContext items={surveyItems}>
    {surveyItems.map((surveyItem) => (
      <Sortable id={surveyItem.id}> // This is useSortable({ id, data: { type: 'survey' })
        ...
      </Sortable>
    )}
   </SortableContext>
</DndContext>

Apart from this do you have any droppable containers setup elsewhere? Like you mentioned the portal, what does that do and how does that look like?

SortableContext is a drop target. Inside App there are several SortableContext's which uses useSortable. You can put some restrictions on SortableContext or use another DndContext below in components tree to exclude them from global handling.
I can share some more code
const DraggedItem: React.FC<{
    draggedItem: { id: number; type: Droppables };
}> = ({ draggedItem: { id, type } }) =>  (
        <DragOverlay>
            {type === Droppables.research && <DraggedResearchListItem id={id} />}
            {type === Droppables.folder && <DraggedFolder id={id} />}
        </DragOverlay>
    );

....

const onDragStart = useCallback(
    ({
        active: {
            data: {
                current: { type }
            },
            id
        }
    }: DragStartEvent) => {
        setDraggedItem({ id, type });
    },
    []
);

const measuring = {
    droppable: {
        strategy: MeasuringStrategy.Always
    }
};

<DndContext
    collisionDetection={collisionDetectionStrategy}
    measuring={measuring}
    sensors={sensors}
    onDragEnd={onDragEnd}
    onDragStart={onDragStart}
>
     <App />
    {createPortal(<DraggedItem draggedItem={draggedItem} />, document.body)}
</DndContext>

Hi, can you setup your demo on https://codesandbox.io?

Second that, @cherepanov. This is exactly what I'm trying to do. A simple nested list where only folders can take nested items (and there's a cap on the nested level for the purposes of storing it in MongoDB).
I'm looking at the code snippets you posted, but they are incomplete as far as I can tell.

Here's a proof-of-concept app that illustrates dragging items into and out of a sortable list.  It illustrates a few relevant facts when intermixing core and sortable components, which should also apply to mixing nested sortable components, including:

you need to add items to the list or drop them yourself, for example in the onDragOver or onDragEnd callbacks. Because you need to do this your self, this is where you can implement your logic of which items are allowed to drag into or out of a list.
array manipulation is so common that @dnd-kit/sortable exports helpers like arrayMove, which are indeed helpful.
your onDragOver event handler needs to be idempotent (since it can be fired repeatedly)
you should not duplicate actions between onDragEnd and onDragOver
you should handle intermediate transformations (like re-arranging lists)
in onDragOver.
If you don't get the item ids right, then nothing else works right (that is (e.g. the items in <SortableContext items={...} />  must match the ids in useSortable({ id }) exactly).
onDragOver is called when the 'over' state changes, so it can be used to detect drag-out events too (i.e. if(!over){/* Nothing is being dragged over */})
You need a <DragOverLay> component in most cases (b/c the CSS either doesn't work or doesn't look right most of the time when intermixing sortable and core components)
You don's need the useDraggable css transforms if you use a drag overlay (and they are often ugly / strangely scaled compared to using the DragOverlay component)
The useSortable css transforms are useful even when using a drag overlay because they implement the sorting CSS animations

This was inspired by the docs and this example -- which is also worth looking at if you want to implement multiple lists.
Hope this is useful.

Here's a proof-of-concept app that illustrates dragging items into and out of a sortable list. It illustrates a few relevant facts when intermixing core and sortable components, which should also apply to mixing nested sortable components, including:

you need to add items to the list or drop them yourself, for example in the onDragOver or onDragEnd callbacks. Because you need to do this your self, this is where you can implement your logic of which items are allowed to drag into or out of a list.
array manipulation is so common that @dnd-kit/sortable exports helpers like arrayMove, which are indeed helpful.
your onDragOver event handler needs to be idempotent (since it can be fired repeatedly)
you should not duplicate actions between onDragEnd and onDragOver
you should handle intermediate transformations (like re-arranging lists)
in onDragOver.
If you don't get the item ids right, then nothing else works right (that is (e.g. the items in <SortableContext items={...} />  must match the ids in useSortable({ id }) exactly).
onDragOver is called when the 'over' state changes, so it can be used to detect drag-out events too (i.e. if(!over){/* Nothing is being dragged over */})
You need a <DragOverLay> component in most cases (b/c the CSS either doesn't work or doesn't look right most of the time when intermixing sortable and core components)
You don's need the useDraggable css transforms if you use a drag overlay (and they are often ugly / strangely scaled compared to using the DragOverlay component)
The useSortable css transforms are useful even when using a drag overlay because they implement the sorting CSS animations

This was inspired by the docs and this example -- which is also worth looking at if you want to implement multiple lists.
Hope this is useful.

Extremely helpful, thank you!

authors: Heilemann ab-dt cherepanov jdthorpe notrealdev okanji

repo: clauderic/dnd-kit


text:
Crazy scroll in parent

Hello, I have a Dialog with a scrollable content, and when dragging fast, the dialog scroll gets crazy. Any Idea?
collisionDetection: closestCenter
modifiers: [restrictToParentElement, restrictToFirstScrollableAncestor, restrictToVerticalAxis]
strategy: verticalListSortingStrategy
https://user-images.githubusercontent.com/71793326/195196547-a41a698d-e0ff-4877-95ce-3e43eefc67af.mov

Hello,
I got the same issue there, did you find any solution ?
Have a great day !

Is there any particular reason why this issue was closed? I'm seeing this same erratic scroll behavior with a bare-bones implementation.

hi,
I got the same issue there, did you find any solution ?
thank you！

authors: EnzoLtzyWeb WinterSir iamjoshua wilav-dev


text:
🛑 livevault is down

In cde5aff, livevault (https://livevault.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: livevault is back up in d610332.

repo: claytonplong/backup-uptime


text:
🛑 livevault is down

In 0a0de0b, livevault (https://livevault.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: livevault is back up in 8776600.


text:
🛑 livevault is down

In b2b2cdb, livevault (https://livevault.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: livevault is back up in 0f4c1ff.


text:
feat(start.sh): added new cleanup function

added a new cleanup function that removed the agent from the pool when the pod gets deleted

Thank you for your contribution :)
A cleanup function is already bundled as a Kubernetes hook. It has advantage of alerting Azure DevOps Server of the instance stops, for any platform issues (ie node restart, if you are using spot instances). See https://github.com/clemlesne/azure-pipelines-agent/blob/e89f25d1908d243dc58c0cb2f180bde58d2eded2/src/helm/azure-pipelines-agent/templates/_helpers.tpl#L147.
Questions:

What is the advantage of your implementation?
What does it solve?
How both integrations behave together?

Just updated the PR details.

authors: clemlesne diskmanti

repo: clemlesne/azure-pipelines-agent


text:
fix(clerk-js): Incorrect result counters in data tables

Description
This PR fixes issues with incorrect values in table pagination as users select pages
Before
Page 2

After
Page 2

Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[ ] @clerk/backend
[ ] @clerk/chrome-extension
[ ] @clerk/clerk-js
[ ] @clerk/clerk-expo
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] @clerk/localizations
[ ] @clerk/nextjs
[ ] @clerk/clerk-react
[ ] @clerk/remix
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/themes
[ ] @clerk/types
[ ] build/tooling/chore

!snapshot

repo: clerk/javascript


text:
Error when using Next.js turbo

[x] Review the documentation: https://clerk.com/docs
[x] Search for existing issues: https://github.com/clerkinc/javascript/issues
[x] Go through package changelog files.
[ ] Provide the Frontend API key from your application dashboard.

Package + Version

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[x] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore
[ ] other:

Dependencies + versions
Provide a json with the dependencies used in your project (copy paste from yarn.lock / package-lock.json) or a github project / template that reproduces the issue.
Include the @clerk/ packages and their versions!*
Example:
{
  "dependencies": {
    "next": "13.4.4",
  },
  "devDependencies": {
    "@clerk/clerk-sdk-node": "^4.10.2",
    "@clerk/nextjs": "^4.19.0",
  },
  "peerDependencies": {
    "react": "18.2.0"
  }
}

Description
when attempting to run the latest version of Next.js with Turbopack enabled, the following error originates from @clerk/nextjs.
npm run dev --turbo

error during Next.js routing for /

Caused by:
- Error: Cannot find module '#crypto'

Debug info:
- Execution of get_from_source failed
- Execution of resolve_source_request failed
- Execution of NextRouterContentSource::get failed
- error during Next.js routing for /
- Error: Cannot find module '#crypto'
      [at file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js]
      [at file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/node_modules_0367fb._.js:13896:15]
      [at file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/node_modules_0367fb._.js:13899:3]
      [at [project]/node_modules/@clerk/backend/dist/esm/index.js (ecmascript) (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/node_modules_0367fb._.js:15738:3)]
      [at file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js:497:21]
      [at runModuleExecutionHooks (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js:544:5)]
      [at instantiateModule (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js:496:5)]
      [at getOrInstantiateModuleFromParent (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js:593:10)]
      [at esmImport (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/[next]_entry_edge-bootstrap.ts_00208c._.js:217:18)]
      [at file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/node_modules_0367fb._.js:16316:142]
      [at [project]/node_modules/@clerk/nextjs/dist/esm/server/getAuth.js (ecmascript) (file:///Users/ariperez/github/coa-solutions/app/.next/build/edge/chunks/node_modules_0367fb._.js:16405:3)]

Experiencing the same problem!

Hello everyone, we're currently working with the NextJS team to get all Turbopack-related issues solved. I don't currently have a strict timeline I can share as this an upstream dependency, but I'll probably have more updates towards the end of this week.
Related issues on the NextJS repo:

https://github.com/vercel/next.js/issues/45371
https://github.com/vercel/next.js/pull/50567

Experiencing the same issue as well.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.

Any update on this matter? I'm using turborepo + NestJS + Jest. When trying to import a module that references any of Clerk entities inside .spec (Jest) files, I get to the same error - cannot find module #crypto. Went into node_modules/.pnpm/@clerk+backend@0.28.1/node_modules/@clerk/backend/dist/index.js, I can see:
...
var import_crypto = __toESM(require("#crypto"));
var fetchApisPolyfill = __toESM(require("#fetch"));

Both of these can't actually be found.
What to do here?

Hello @obabovic ,
the issue with Jest may be related to the fact that Jest currently doesn't support package.json subpath imports, so you will have to manually add the following to your Jest file:
moduleNameMapper: { '#crypto': '@clerk/backend/dist/runtime/node/crypto.js', '#fetch': '@clerk/backend/dist/runtime/node/fetch.js', },

Could you try this?

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

authors: YahiaElTai ariperez clerk-cookie dimkl doneumark nikosdouvlis obabovic

repo: clerkinc/javascript


text:
use f-strings instead of .format()

Made some minor changes so that you use f-strings instead of .format(). This makes the code cleaner and easier to read :)

Thank you for the PR :))

authors: clieg sdushantha

repo: clieg/wwy


text:
Remove posts when unfollowing a user

When you unfollow a user, you should ideally also not show their posts in the users feed - this is what all the other social networks do.
Changes (wip):

We should add an extra field into the feed - 'fromFollow' with the follow guid so that we can find them easily - so when creating a post in a followers feed we set this field.

Now, we have two options:

Get a list of all of everyone a user follows when rendering their feed, filter out anything from a follow relationship that isn't in that list.  This has implications for pagination as you are hiding things that would be rendered (likely not to be a serious problem).  The list of everyone a user follows could get very large.

1.a.  Alternative is to check on every single post as you render the feed to see if the relationship is still active (perhaps with a cache  to speed it up a little for relationships you've already checked).

Go and delete and / or update the items in the feed after the follow is removed.  This has implications in that Cassandra doesn't really do deletes or updates well, and this will be a really big dataset, really fast.

I think that option 1 seems like the sanest idea to me.  If we can find a decent way to do this filtering it can solve a few potential long term requirements such as:

show fewer of these posts
show more of these posts
collapse like items into a single item (ie: John & six others have followed you)

Agreed solution was to:

Leave posts in peoples feeds, don't try and go delete wide follower graphs based on the follow key.  (note we do this when a specific item is deleted - a follow or post - but in this case we are deleting by item id - which is a key in the newsfeed).
When retreiving a post (via the expander: https://github.com/cliftonc/seguir/blob/master/api/feed/index.js#L222) we will check if the post is from someone you follow (e.g. you are not the author), and if so, check that the follow relationship still exists.
If the follow relationship does not exist, then silently drop the post from the feed.

We can revisit this if it doesn't scale.

This has now been completed in the initial form as above in release 0.7.1.  We can revisit and see if deleting the items vs filtering is a better idea once we are live and can see any performance impacts.

authors: cliftonc dmorgantini

repo: cliftonc/seguir

license: mit


text:
Move Calculation off of Calculator

Description
We want to move complex logic off of the FE's and into the api, for better separation of concern and access to this logic.
This means we need to replicate the existing logic around the result calculation into the api. Create a service that performs this calculation (homeEnergy.service.js).
Technical Notes
Move this logic, specifically handleCalculation into the back end.

Create Unit tests! homeEnergy.service.test.js
A stand-alone piece of logic/service
DO NOT WIRE INTO ANY ENDPOINT (see below)

Risks
Related Issues Or Discussions
#30 Will be the continuation of this work to wire it together.

Assume that any required material for the calculations will be a) passed in from user request b) lives in the database

Ok
On Wed, May 22, 2024 at 10:50 AM Ryan Graue @.***>
wrote:

Assume that any required material for the calculations will be a) passed
in from user request b) lives in the database
—
Reply to this email directly, view it on GitHub
https://github.com/climate-cooperative/home-energy-assessment-database/issues/37#issuecomment-2125420467,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHSYIXJ7XFXFSSP4SOGNGMLZDTLIDAVCNFSM6AAAAABHJ4UJBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGQZDANBWG4
.
You are receiving this because you were assigned.Message ID:
<climate-cooperative/home-energy-assessment-database/issues/37/2125420467@
github.com>

authors: codeexpert74 cooper-roper rgraue


text:
CLINE won't initialize

Which API Provider are you using?
OpenRouter
Which Model are you using?
GPT-4o
What happened?
Error loading webview: Error: Could not register service worker: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
Restarting extensions fails, updating or downgrading versions doesn't fix.
Steps to reproduce
1.Install extension
2. select CLINE icon from sidebar
3. Get blank screen
Relevant API REQUEST output
No response
Additional context
No response

gott the same issue since 1h. Was working nicely until now and I did change nothing.

Hello @darkstar4401 @sched75 can you please do the following and let me know what you find:

Cmd/Ctrl + Shift + P > "Developer: Toggle Developer Tools"
Open the Console tab to see logs
Try opening Cline again and see if any errors come up.
It seems this issue might happen when the GUI webview runs into a typeerror for example. Any additional insight here would be helpful, thank you!

Same error here on Windows WSL after installing v2.1.3
Details from the Output - Extension Host (Remote) :
[error] TypeError: (0 , p7.getDefaultHighWaterMark) is not a function
    at Object.<anonymous> (/home/me/.vscode-server/extensions/saoudrizwan.claude-dev-0.0.6/dist/extension.js:59:24554)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Function.Module._load (node:internal/modules/cjs/loader:958:12)
    at Function.u._load (/home/me/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/workbench/api/node/extensionHostProcess.js:154:5631)
    at Function.c._load (/home/me/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/workbench/api/node/extensionHostProcess.js:151:29196)
    at Function.t._load (/home/me/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/workbench/api/node/extensionHostProcess.js:118:35261)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at Module.require (/home/me/.vscode-server/extensions/github.copilot-chat-0.8.0/dist/extension.js:17:42010)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Function.i [as __$__nodeRequire] (/home/me/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/loader.js:5:98)
    at s.vb (/home/me/.vscode-server/bin/f1b07bd25dfad64b0167beb15359ae573aecd2cc/out/vs/workbench/api/node/extensionHostProcess.js:151:30375)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)

Did anyone find a fix for this issue?

I managed to get the v2.1.5 working by installing the extension from a file :

Update VS Code
Download the .vsix file from the Vs Code Marketplace website
Extensions -> ... -> Install from VSIX...

Before updating VS Code I got this error
Unable to install extension 'saoudrizwan.claude-dev' as it is not compatible with VS Code '1.83.1'.
--
There is an issue when installing from VS Code on windows it switch to a old version

repo: cline/cline


text:
Fio enhancements

Several items:

Wait for fio server VMs to be up before starting fio tests
Clean fio names without backslashes
Fix blocksizes in example CRs - solves issues for me

Can one of the admins verify this patch?

Need to revert the filename commit... I'm getting snafu errors...

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
2
00:18:42

test_byowl
Pass
0
00:03:27

test_fiod
Pass
1
00:26:52

test_fs_drift
Pass
0
00:07:22

test_hammerdb
Pass
0
00:04:39

test_iperf3
Pass
0
00:03:13

test_pgbench
Pass
0
00:03:30

test_smallfile
Pass
0
00:06:50

test_sysbench
Pass
0
00:01:59

test_uperf
Pass
0
00:23:21

test_vegeta
Pass
0
00:08:34

test_ycsb
Pass
0
00:03:43

LGTM!

authors: comet-perf-ci jtaleric mulbc

repo: cloud-bulldozer/ripsaw


text:
CP4D - DB2 BOM

Create the BOM in the automation Solution for the installing CP4D - DB2 that includes all the modules dependency
Business Value:
If customer wants to install the DB2 which becomes easy to install all the components related to DB2

DB2 BOM is completed but blocked in testing due to modules are not getting published in catalog
https://ibm-cloud.slack.com/archives/C02KB99P2JC/p1654961418665239


text:
🛑 shopify.com is down

In ffb1a96, shopify.com (https://shopify.com) was down:

HTTP code: 503
Response time: 8207 ms

Resolved: shopify.com is back up in def5fbf.

repo: cloudbip/upptime


text:
🛑 Byakta.com is down

In 1ab1b33, Byakta.com (https://byakta.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Byakta.com is back up in 1e2a862.


text:
🛑 wix.com is down

In 222060c, wix.com (https://wix.com) was down:

HTTP code: 429
Response time: 325 ms

Resolved: wix.com is back up in 0270991.


text:
🛑 Jagoanhosting.com is down

In 25e8653, Jagoanhosting.com (https://www.jagoanhosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jagoanhosting.com is back up in de4d535 after 7 minutes.


text:
🛑 cbn.id is down

In 506393c, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in 45691fe after 9 minutes.


text:
🛑 my.domainesia.com is down

In 19b310a, my.domainesia.com (https://my.domainesia.com) was down:

HTTP code: 403
Response time: 68 ms

Resolved: my.domainesia.com is back up in a3876ca after 9 minutes.


text:
🛑 ach.id is down

In 5e8c28b, ach.id (https://ach.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ach.id is back up in 5219959.


text:
🛑 portal.cloudkilat.com is down

In 316aa03, portal.cloudkilat.com (https://portal.cloudkilat.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: portal.cloudkilat.com is back up in d14b66f.


text:
🛑 cbn.id is down

In c8d9825, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in f4ddfe2.


text:
🛑 cbn.id is down

In ae63690, cbn.id (https://cbn.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cbn.id is back up in eb001e1.


text:
🛑 id.hosting24.com is down

In 85085ef, id.hosting24.com (https://id.hosting24.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: id.hosting24.com is back up in 6b5e7ae.


text:
[#1145] fixed XxdTest:test_compare_to_xxd failed

xxd_test.py : In this case, chr(not unichr) is enough for python2 and python3
xxd.py: hex.ljust expect the first argument as integer not float

related to #1145

Thanks!

authors: romainr sungpeo

repo: cloudera/hue


text:
REF: Remove shared memory IPC / UDF evaluation unused code

It makes me sad to remove this code, but:

The shared memory / zero-copy IO implemented here is significantly superseded by Apache Arrow. I wrote it quite a long time before Arrow became a thing, so Arrow is partially my attempt to "do things right" in this department. There's some other interesting ideas there for the future, like using semaphores for IPC control flow -- honestly using a low overhead RPC framework like krpc (from Apache Kudu) might make more sense though

The Python UDF harness, similar to PySpark's UDF harness, probably doesn't belong in Ibis. We've been discussing implementing such a harness in Apache Arrow itself for Java and C++ / Python, so maybe in the future we'll revisit this, but not in Ibis.

The best PRs yield a net loss of code!

Nice. 1186 passed, 15 skipped, 36 xfailed

Merging.

authors: cpcloud wesm

repo: cloudera/ibis


text:
🛑 smtp.clouderg.com is down

In 2c5e2d0, smtp.clouderg.com (https://smtp.clouderg.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: smtp.clouderg.com is back up in a1bf3cb.

repo: clouderg-inc/uptime


text:
Fix error deleting attributes when writing to HTTP messages

Transformers which delete attributes currently fail when writing a binary message to an HTTP request with the error "invalid CloudEvents value: ".

Thanks!

authors: ian-mi slinkydeveloper

repo: cloudevents/sdk-go


text:
Clarify what fields can be in config.yaml

Which Cloudflare product does this pertain to?
Zero Trust
Existing documentation URL(s)
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/configuration-file/
Section that requires update
Have a section introducing what fields can be in the config.yaml.
What needs to change?
I originally found protocol: http2 by accident at a post, however it is not inside of the doc.
It would be great to have a document regarding what fields can be in config.yaml, that would be great, thanks! 😃
How should it change?
Maybe have a table listing what fields can be in the config.yaml.

Oh I found it!
It is at https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/local-management/arguments/ 😃

repo: cloudflare/cloudflare-docs


text:
Make pop_closed pub, to simplify DIY drains

This is real basic, but when consuming pingora_pool as a library I found myself wishing for this, and it's a nice analog for put.

This change is now accepted https://github.com/cloudflare/pingora/commit/b493ac0c954c5537dadefc71458f7a9c2efacab3. Thanks for the contribution.

authors: bleggett eaufavor

repo: cloudflare/pingora


text:
origin_traffic setting for rate limiting rules keep set to true always

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
terraform -v
Terraform v1.2.8
on linux_amd64
+ provider registry.terraform.io/cloudflare/cloudflare v3.24.0

Affected resource(s)
cloudflare_rate_limit
Terraform configuration files
resource "cloudflare_rate_limit" "login_users" {
  zone_id     = var.account_id
  description = "Protect login (users)"
  disabled    = false

  threshold = 10
  period    = 60

  match {
    request {
      url_pattern = "${var.domain}/login"
      schemes     = ["HTTP", "HTTPS"]
      methods     = ["POST"]
    }
    response {
      origin_traffic = false
      headers = [
        {
          name  = "Cf-Cache-Status"
          op    = "ne"
          value = "HIT"
        }
      ]
    }
  }

  action {
    mode = "managed_challenge"
  }
}

Link to debug output
https://gist.github.com/ivanfavi/667d1d4cf7a52e09c62eb135b89fa34b
Panic output
No response
Expected output
We expect no changes
Actual output
Terraform will perform the following actions:

  # cloudflare_rate_limit.register_managed_challenge will be updated in-place
  ~ resource "cloudflare_rate_limit" "register_managed_challenge" {
        id                  = "ef4c146a92954c26b897af007f42be85"
        # (6 unchanged attributes hidden)

      ~ match {

          ~ response {
              ~ origin_traffic = true -> false
                # (2 unchanged attributes hidden)
            }

            # (1 unchanged block hidden)
        }

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Steps to reproduce

Create rate limiting rule with setting origin_traffic set to false
Apply changes
Plan changes again

Additional factoids
No response
References
No response

closing this one out as unresolved since cloudflare_rate_limit has been superseded by cloudflare_ruleset and we are unlikely to spend any more effort on addressing these older resources in the near future.

authors: ivanfavi jacobbednarz


text:
Fix bug with multiple generate runs using previous run's wrangler.toml

Running generate with the same name multiple times causes subsequent
runs to use the wrangler.toml file from the previous (original) run's
directory for any post cargo-generate variable substitions.

Thanks for creating this PR! Wrangler v1 is now deprecated and support is only being provided for critical updates or security concerns. As such, we are closing this PR.
New versions of Wrangler are maintained in the workers-sdk repo. If you are running into a similar issue with wrangler v2, please report it or create a new PR in the workers-sdk repo. For more info about wrangler v1 deprecation, please check out our blog post.

authors: JacobMGEvans jashandeep-sohi

repo: cloudflare/wrangler-legacy


text:
wrangler tail verbosity level is Too High

seems to be printing out all cloudflared logs that are usually hidden behind -v. not sure what's going on, dont think it's a regression on our side since 1.9.2 is also behaving that way. pretty sure cloudflared release changed something with their output streams. currently investigating

This must be why wrangler tail | jq hasn't been working for me - realize it started after I recently updated cloudflared.  I'm also not sure how to download a previous version of cloudflared.

hey! this bit us too, so we asked cloudflared to revert their logging. i think we should still send their stdout stream to /dev/null the way we do with  their stderr stream, but in the meantime this should be solved for users by updating to the latest version of cloudflared.

i think we should still send their stdout stream to /dev/null the way we do with their stderr stream

repo: cloudflare/wrangler


text:
Add: host flag & config

Added the host to the headers to the preview Session token.
host can be passed by CLI args and/or config (wrangler.toml); args have precedence

I got this in https://github.com/cloudflare/wrangler2/pull/545

closing this!

authors: JacobMGEvans threepointone


text:
Upload of stemcell fails with AWS us-west-1

Version 0.11.4
Uploading stemcell                  |oo                      | 1/11 00:00:01  ETA: 00:00:09create stemcell failed:
No route to host - connect(2) (http://169.254.169.254:80):
/usr/local/var/rbenv/versions/1.9.3-p392/gemsets/bosh-bootstrap/gems/httpclient-2.2.4/lib/httpclient/session.rb:775
:in `initialize'
Does that IP need to be a DNS name?

i am having same error message with eu-west-1, is there a trick to get it working?

authors: aetelani rickmendes

repo: cloudfoundry-community/bosh-bootstrap


text:
To align with the documented constraints, add warning msg when multip…

…le schedule defined

Cancel for now, and will enhance it to a better solution later


text:
Move to semver for versions

Currently the final release versions are only singular numbers (16, 17, 18). Could we move to semver to indicate the magnitude of feature changes?

Hi @drnic Thanks for your advise. From the v23.0.0, the release will be semver.

Thanks. See #79 - can the final releases please be included in the git repo? v23.0.0 missing from https://github.com/cloudfoundry-incubator/bosh-alicloud-cpi-release/tree/master/releases/bosh-alicloud-cpi


text:
Change name of backend builder image for v2

So that the builder does not do an npm install --production, but an npm install instead - ensures that gulp is available.

LGTM

authors: irfanhabib nwmac

repo: cloudfoundry-incubator/stratos


text:
arm64 build

Hi, how can I download an arm64 compatible version of this tool (for Linux)?

As mention here we are not looking to add any features to this cli, which do not align with the requirements put forward by the bosh stemcell. Since BOSH does not support arm64 stemcells there are no plans to publish those binaries.

OK I understand, @rkoster. I ended up spinning a graviton EC2 machine and typed the "go get" command.
I actually like this tiny program because I use it is simple, small and its API does not change in time. It's ideal for my CI pipeline ;)

authors: rkoster sscarduzio


text:
Updating from an implicit link to an explicitly-blocked link does not recompute properties

Describe the bug
When transitioning from an implicitly-consumed link to an explicitly blocked link, BOSH does not trigger a update of the affected VMs:
  instance_groups:
  - name: worker
    jobs:
    - name: kubelet
+     consumes:
+       cloud-provider: nil

Continue? [yN]: y

Task 23

Task 23 | 01:13:48 | Preparing deployment: Preparing deployment (00:00:10)
Task 23 | 01:14:15 | Preparing package compilation: Finding packages to compile (00:00:00)

Task 23 Started  Thu Jan 31 01:13:48 UTC 2019
Task 23 Finished Thu Jan 31 01:14:15 UTC 2019
Task 23 Duration 00:00:27
Task 23 done

Succeeded

In this example, there is a master instance group that is providing a cloud-provider link which is getting implicitly consumed by the worker instance group's kubelet job and thus templating data into a file that is intended to be empty.
Additionally, forcing an update event on the VM (either through bosh recreate or by modifying a job property) does not cause the link properties to be recomputed and the file continues to be templated with data from the implicit link:
  instance_groups:
  - name: worker
    jobs:
    - name: kubelet
      properties:
        kubelet-configuration:
          authentication:
            anonymous:
-             enabled: false
+             enabled: true

## Note that `consumes.cloud-provider: nil` is still true, here ##

Continue? [yN]: y

Task 24

Task 24 | 01:18:42 | Preparing deployment: Preparing deployment (00:00:08)
Task 24 | 01:19:08 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 24 | 01:19:08 | Updating instance worker: worker/35128fd9-5de7-4cab-b0d6-75f923151e15 (0) (canary) (00:01:02)

Task 24 Started  Thu Jan 31 01:18:42 UTC 2019
Task 24 Finished Thu Jan 31 01:20:10 UTC 2019
Task 24 Duration 00:01:28
Task 24 done

Succeeded
$ bosh -d cfcr ssh worker/0 -c "sudo cat /var/vcap/jobs/kubelet/config/cloud-provider.ini"
Using environment '30.0.0.11' as client 'ops_manager'

Using deployment 'cfcr'

Task 35. Done
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stderr | Unauthorized use is strictly prohibited. All access and activity
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stderr | is subject to logging and monitoring.
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stdout |
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stdout | ... some file contents that shouldn't be there...
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stdout |
worker/35128fd9-5de7-4cab-b0d6-75f923151e15: stderr | Connection to 30.0.1.3 closed.

To Reproduce
Steps to reproduce the behavior (example):

Generate a release with two jobs - one that provides a link and another that optionally consumes it for the purpose of putting data into some file.
Deploy the two jobs while allowing the second to consume the first through an implicit link.
Update the manifest so that the second job explicitly blocks the link, e.g.:

- name: consumer
   consumes:
     producer: nil

bosh ssh and cat the consumer file

Expected behavior
Because we are explicitly blocking the link, that should be treated as a link update and cause the properties to be recomputed and the affected job to be re-templated accordingly.
Versions (please complete the following information):

Infrastructure: vSphere
BOSH version: 267.7.0
BOSH CLI version 5.3.1
Stemcell version: ubuntu/xenial-250.4

Additional context

Explicitly blocking link consumption is defined here: https://bosh.io/docs/links/#consumers

Optional consumers may be specified as nil in the deployment manifest to block consumption of any providers.

Kubelet's job spec

/cc @charleshansen
Hi @tvs
We think this issue is fixed in latest version of BOSH director. Based on this commit: https://github.com/cloudfoundry/bosh/commit/444de6a2bed256adee98df0695151698a6023378
So please try using 268.6+ release and let us know if the issue persists.
Thanks.

Hi @tvs,
Did you try using a newer director? If there's no other problems, we'd like to close this issue.
Thanks,
@belinda-liu && @xtreme-behrouz-soroushian, CF BOSH team

Hi @tvs,
We're going to close this issue for now because of inactivity. Feel free to reopen this if you continue to have this issue.
Thanks!

authors: belinda-liu degaurab tvs

repo: cloudfoundry/bosh


text:
cf auth with credentials from env vars

Command
cf auth
What it supports
cf auth user password
What I'd like
CF_USERNAME=user CF_PASSWORD=password cf auth
or maybe
CF_USERNAME=user CF_PASSWORD=password cf auth --from-env
Why
I'm doing this whole continuous integration thing, using this cool Concourse tool, and trying to push my app to CF (in this case PWS).
At the start of my scripts I generally do a "set -x" so I can see what commands concourse is running, which is often necessary for productive debugging.
Unfortunately, this means my cf auth $CF_USERNAME $CF_PASSWORD call (right before my cf push call) prints my password in plain text. It would be great if I could have the cf cli read the username and password from the environment, instead of having to pass them as arguments.
For now I'll probably set +x around my auth call, but it would be nice to have real support for this.
Thanks!

Hi @cobyrne-pivot thanks for creating this enhancement request, which is in CF CLI release v.6.37.0. Please do not hesitate to reach out with feedback by creating a new issue.

authors: abbyachau cobyrne-pivot

repo: cloudfoundry/cli


text:
color app names by status

I like the coloring in the latest CLI.  Please enhance the cf apps screen to show the app names colored by status.  Currently the started and instances columns show red when there is a problem.  Please change the app names to show green when started, red when started with errors and gray when stopped.
CLI Version: 6.21.1-lds+b4cf3cb-2016-09-06
API version: 2.59.0
Windows 10 64 bit

@ryanjjones10 Thank you for the suggestion.
I've shared the idea with some people, but there are some concerns, both from UX (harder to scan a list of app names if they vary in color, especially when you're not too interested in their running state) and implementation (populating a table with colored elements, already quite complex to maintain for the state column).
Have you seen other common CLIs that color the key row according to the value of one of its elements?

I haven't seen other CLI's that do this.  I took some time to mock it up
and I can see how it is some harder to scan through the app names.  I also
mocked up changing the color of the state column.  I've attached a sample
if that is helpful. Another idea is that coloring the names could be a flag
so that when you care about state it is easy to see.
On Mon, Oct 31, 2016 at 9:54 PM, Dies Koper notifications@github.com
wrote:

@ryanjjones10 https://github.com/ryanjjones10 Thank you for the
suggestion.
I've shared the idea with some people, but there are some concerns, both
from UX (harder to scan a list of app names if they vary in color,
especially when you're not too interested in their running state) and
implementation (populating a table with colored elements, already quite
complex to maintain for the state column).
Have you seen other common CLIs that color the key row according to the
value of one of its elements?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/cli/issues/960#issuecomment-257483171,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMuEPx0SC7j8saSTPd69Ys3K5-6ib0OJks5q5rfhgaJpZM4J9Vnr
.

@ryanjones71 I don't see the attachment.

Sorry, I replied via email and that didn't add the attachment to github.
I've added it now.
On Mon, Oct 31, 2016 at 11:16 PM, Dies Koper notifications@github.com
wrote:

@ryanjones71 https://github.com/ryanjones71 I don't see the attachment.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/cli/issues/960#issuecomment-257490624,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMuEP5WFQhVfPNfUGbCCwiLUfD0n6w8Uks5q5stEgaJpZM4J9Vnr
.

@ryanjones71 Sorry, I still don't see it.

I attached it to my previous comment.  The link is
https://github.com/cloudfoundry/cli/files/563418/cf.cli.state.coloring.xlsx
On Tue, Nov 1, 2016 at 12:51 AM, Dies Koper notifications@github.com
wrote:

@ryanjones71 https://github.com/ryanjones71 Sorry, I still don't see it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudfoundry/cli/issues/960#issuecomment-257500623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMuEPz-R1XDEMRI4HLIZYd3r269tN8PSks5q5uGPgaJpZM4J9Vnr
.


text:
Async Service Provisioning

Changed formatting of state value
Fixed bug where cf services did not parse the state and state_description from the spaces summary response
Now with more colors

Looks good, merged.

authors: jberkhahn jeffh


text:
Update cf-message-bus

This is to address issue #403
This requires cf-message-bus to be updated first and the gem to be published.

@fraenkel It looks like updating rack broke the CC tests.

I will double check.  Not sure why Rack was updated.

authors: Gerg fraenkel


text:
Code Quailty Improvements

Hey @cloudfoundry,
I recently ran the DeepSource static analyzer on this repo, and it generated this report that I think you should check out, I am opening this PR to fix a few of them.
Description

Replace x.Sub(time.Now()) with time.Until(x): This will aid readability as both compile down to the same object code.

Remove unnecessary usage of fmt.Sprintf("%s", x): Considering these are already strings, need not convert them back into strings.
Merge variable declarations and assignments: Helps with readability and decreases a few lines of code.
Add DeepSource configurations: Configures the DeepSource static analysis tool.

Motivation and Context
This PR has been opened to demonstrate how the DeepSource static analyser can be of great help in maintaining and increasing the code quality of software written in Go and multiple other programming languages. I also found it to be a better alternative to CodeClimate and feel it would be worth trying out.
Types of changes

[x]  Bug fix (non-breaking change which fixes an issue)
[ ]  Docs update
[ ]  New feature (non-breaking change which adds functionality)
[ ]  Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x]  My code follows the code style of this project.
[ ]  My change requires a change to the documentation.
[ ]  I have updated the documentation accordingly.
[x]  I have followed the guidelines in CONTRIBUTING.md, including the required formatting of the commit message

Hi @de-sh , thanks for submitting this PR. It looks like these changes are causing the backend unit tests to fail (TestRegisterCFCluster - https://travis-ci.com/github/cloudfoundry/stratos/jobs/463869775). The other travis failures look to be env related, so we can try those again once the unit tests are fixed.

authors: de-sh richard-cox

repo: cloudfoundry/stratos


text:
Using custom port for  login link.

Hi Team, I m working on a PoC in AWS china, beijing region, as per china gov rule, Currently I cannot access CF on standard ports (80,443,8080).
To overcome this I  put my router VM  behind AWS ELB, Now  my ELB listen on port 3443(TCP) and forward it to router on  443(TCP).
I'm able to set cf api with command:
cf api api.sys.mydomain.com:3443 --skip-ssl-validation
But CF login fails with error
Error performing request: Get https://login.sys.mydomain.com/login: dial tcp 52.xx.xxxx.xx:443: i/o timeout
Instead of using custom domain:port (3443) login request is sent to standard https domain
What is the source for generating this login url, I tried by updating all the url  related to login url in Manifest with additionof  :3443. Doesn't work.
Is there any specific property I can set this port/functionality.
cf curl /v2/info
{
   "name": "",
   "build": "",
   "support": "http://support.cloudfoundry.com",
   "version": 0,
   "description": "",
   "authorization_endpoint": "https://login.sys.mydomain.com",
   "token_endpoint": "https://uaa.sys.mydomain.com:3443",
   "min_cli_version": null,
   "min_recommended_cli_version": null,
   "api_version": "2.97.0",
   "app_ssh_endpoint": "ssh.sys.mydomain.com:2222",
   "app_ssh_host_key_fingerprint": "25:ad:xx:xx:51:e1:48:xx:xx:d9:77:18:xx:xx:a2:e2",
   "app_ssh_oauth_client": "ssh-proxy",
   "doppler_logging_endpoint": "wss://doppler.sys.mydomain.com:443"
}

Hello @lordcf Thanks for creating this issue. I am going to make an assumption that you have deployed your cf with bosh.
In order to change the port that is returned by the /info endpoint, you will need to configure the uaa.url property to -> https://login.sys.mydomain.com:3443.
Let us know how it goes!

sorry for delayed reply.
As per your suggestion  I made change in my manifest, I updated 'properties.login.url' instead of  'uaa.url'](https://github.com/cloudfoundry/uaa-release/blob/develop/jobs/uaa/spec#L138).
Now I can see intended  "authorization_endpoint":"https://login.sys.cfcn.portal-dev.bentleymotors.com:3443"
but cf login fails with 404. On browser also I get
404 Not Found: Requested route ('login.sys.mydomain.com:3443') does not exist.
What is the difference between, uaa.url vs login.url.   how it will affect on CF if I change uaa.url to login.xxxx.com

Rather if I didn't set login.url I'm getting same previous error  for port 443 and authorization_endpoint also do not includes custom port 3443

Closing due to inactivity.

authors: DennisDenuto lordcf shamus

repo: cloudfoundry/uaa


text:
Add blueprint id to manager endpoint workdir

It seems that multiple deployments named the same could potentially
clash, for example if one was deleted and another created later?

Closed: As this PR is more than six months old without having been merged. Please reopen (and rebase if necessary) if it is still relevant.

authors: geokala tehasdf

repo: cloudify-cosmo/cloudify-plugins-common


text:
[Feature]: Comply to Semantic Versioning

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
Currently container updates are often tagged as minor (something.x.something, where X is the increase), even though there are changes that technically break compatibility with the helm chart.
This is also way more compatible with automatic processes  for downstreams and gitops users.
Describe the solution you'd like
It would be nice if the containers/software starts to comply to semver, to correctly tag breaking changes as a major version increase. This correctly gets detected by nearly all versioning software as (potentially) breaking.
Describe alternatives you've considered
Continuing the status quo
Additional context
No response
Backport?
N/A
Code of Conduct

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

Hi @Ornias1993
This is related to the operand images right? Please open this issue on the related container with some clear examples of which image are you talking about, for now, for us is hard to understand which image you mean since the operator image is semver compliant
Closing for now

@sxd Honestly, when you ask almost half a year later, even I don't know what my original issue was about...

repo: cloudnative-pg/cloudnative-pg


text:
chore: split retry timeout for client and commands

Before we were having only one RetryTimeout for the API calls and for
the commands execution, nonetheless, we need a different value for commands
since these can fail quicker and API calls.
This will fix any test that was waiting one minutes before even start a
retry.
Closes #580
Signed-off-by: Jonathan Gonzalez V jonathan.gonzalez@enterprisedb.com

/ready-to-test

/test

/test


text:
add index

もろもろ貼れてないINDEXを実行計画とにらめっこ
SELECT `viewer_counts`.*
FROM `viewer_counts`
WHERE `viewer_counts`.`track_id` = 29
ORDER BY `viewer_counts`.`created_at` DESC LIMIT 1;

SELECT `speakers`.*
FROM `speakers`
INNER JOIN `talks_speakers`
    ON `speakers`.`id` = `talks_speakers`.`speaker_id`
WHERE `talks_speakers`.`talk_id` = 1446;

viewer_countsに関してはdesc indexでもよかったけどbackwards index scanがそこまで足を引っ張らない程度のデータ量なのと、Active recordでの降順インデックスの書き方がわからなかったのでASC indexにしている。

Review app
https://dreamkast-dk-1411.dev.cloudnativedays.jp

authors: dreamkast-cloudnativedays inductor

repo: cloudnativedaysjp/dreamkast


text:
Considerations about connection to SimSearch DBs

I do not really have a great suggestion on how to do this. But it seems like embeddings would be used at times to be loaded into Databases to support Similarity Search applications. So just wanted to add this dimension to the discussion. If possible it would be great to align file based  GeoParquet  embedding collections with embedding database systems.

Adding on to what @yellowcap said - spatial embeddings have a lot of potential in the similarity search space. Some examples include generating datasets of similar weather patterns to train downstream tasks (eg: hurricane windspeed estimations), iterative search for certain visual elements (eg: airports) enabled through vector combination of embeddings for positive results, or even change detection enabled by vector subtraction of any two embeddings for a same spatial position, at two different timesteps.
A significant challenge when doing similarity search on spatial embeddings is data volume. Embeddings for a 10+ year archive of daily data at zoom level 8 can easily reach into the several hundreds of millions embeddings. With a dimensionality in the hundred to several hundred, using 32 bit floats, the total data volume easily reaches the 100s of Gb.
Performing vector similarity calculations requires holding all the vectors in memory - which is nearly impossible to do with 100s of Gb of data. This can be mitigated with data sharding strategies (collecting query results over a set of machines that each hold a subset of the total dataset) or with on-disk indexing strategies (example). In both cases, loading the data into a vector enabled datastore and training an index is a very slow and resource intensive process.
I would be very interested if parquet/geoparquet, as a columnar, on-disk data format can enable vector similarity calculations (and indexing) directly on disk - without having to load the vectors into RAM. This would be a huge increase in efficiency to enable similarity search based use cases on spatial embeddings.

authors: leothomas yellowcap

repo: cloudnativegeo/geo-embeddings-survey


text:
Fix UID agreement with cloudpipe/keymaster.

Fixup genkeys so it works if you are not using UID=$uid_of_keymaster_images_user on your local machine.

This does actually break things for Macs with boot2docker, as we noticed in #73 but it wasn't clear what was needed to fix yet.

authors: kainz rgbkrk

repo: cloudpipe/cloudpipe


text:
[aws/kops-aws-platform] chart-repo.tf does not consider if cluster_name is not default

chart-repo.tf sets cluster_name    = "${var.region}.${var.zone_name}" however when deploying kops module there is the ability to set cluster_name_prefix which overrides the default region name.
Other modules in the root-module set cluster_name the same way.  Does it make sense to move the cluster_name_prefix logic to aws/kops-aws-platform or use some other ENV?

This is now out of date with the new reference architecture #286

authors: osterman tegamckinney

repo: cloudposse/terraform-aws-components


text:
Add map_environment variable

instead of using environment variable, I suggest to use map_environment variable
It's similar as request #61

@littlejo please rebase

@littlejo please rebase

Done

Might #81 more generally address this?

/rebuild-readme

/terraform-fmt

/test all

I added the sorting logic to your fork @littlejo

/test all

@Gowiem I believe your changes requested have been fulfilled. Could you double check please?

/test all

/rebuild-readme

/test all

@osterman @Gowiem had to resolve conflicts which caused another merge which invalidated prior approvals. Please take another look.

@littlejo Thanks for the contribution! Released as 0.36.0.

authors: Gowiem aknysh littlejo nitrocode osterman


text:
Update terratest to '>= 0.46.0'

what

Update terratest >= 0.46.0

why

Support OpenTofu for testing

References

https://github.com/gruntwork-io/terratest/releases/tag/v0.46.0
DEV-374 Add opentofu to all our Terragrunt Testing GHA matrix

/terratest

/terratest

/terratest

authors: goruha osterman

repo: cloudposse/terraform-aws-transfer-sftp


text:
Add-feature-custorm-response-body

Hi! Nice to meet you.
I want to contribute to this repository.
what

Added the ability to specify a custom response body.

why

Because I wanted to implement the maintenance window feature.

/test all

@vampire-yuta tests are failing. I think the dynamic will fix this.

Please check it!
If you need test,please rerun.

Hi. Test was passed.
How about this?? 👀

/test all

/rebuild-readme

/test readme

/test all

looks good!

Is there anything I can do to help get this feature added to an upcoming release?

/test all

/test all

@vampire-yuta sorry, we're running into some issues with our CI. Can you run the following locally and push the changes?
make init
make github/init
make readme

authors: Gowiem joe-niland nitrocode tovbinm vampire-yuta zachawilson

repo: cloudposse/terraform-aws-waf


text:
[Feature Request]: Hide Autosuggest Search Icon

Description
I'd like to use Autosuggest instead of the Input in the form. I believe the search icon is unnecessary. Is there a way to hide it?
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate requests

This is a deliberate design decision: https://github.com/cloudscape-design/components/issues/434
Currently we have no plans to change it

authors: just-boris yossyX

repo: cloudscape-design/components


text:
GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.10.85",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=02b2b691b77cd7b951fa7b6c9d44d4e472cdc823"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "02b2b691b77cd7b951fa7b6c9d44d4e472cdc823",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "ALSA: pcm: oss: Fix negative period/buffer sizes\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.85 by commit 02b2b691b77cd7b951fa7b6c9d44d4e472cdc823. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002511

repo: cloudsecurityalliance/gsd-database


text:
Add ReplicaModifications of s3

Add ReplicaModifications, which is introduced in https://aws.amazon.com/about-aws/whats-new/2020/12/amazon-s3-replication-adds-support-two-way-replication/.
Reference:

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-replicamodifications.html
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-sourceselectioncriteria.html

Thanks!

authors: markpeek nigelis

repo: cloudtools/troposphere


text:
add helm and reduce size in shell image

Use the alpine base linux.
add helm
reduce image size ( 200MB -> 150MB ) full size.

LGTM

tested. it works well. Thanks @yankay

repo: cloudtty/cloudtty


text:
快速开始

What needs to be changed?

如图，这里 这个链接里给出的生成代码的命令里使用的关键字是 -mod 和本页面上写出的 -module 不一致。
本页上面提到的 go mod init 是多余的，如果之前按照”这里“链接里 hz new -mod hertz/demo 执行完以后，go.mod 文件已经存在了
What is the name + path of the page that needs changed?
生成/编写示例代码 里面生成代码的步骤和 new: 创建一个 Hertz 新项目 里的步骤有出入。

感谢反馈

暂时将这个设置为新手任务，如果没有人认领，我抽个时间修复一下。

那我来吧，直接 pr 然后关联到这里吗

那我来吧，直接 pr 然后关联到这里吗

可以

这个应该是要修改下描述

GOPATH 下执行不会生成 go.mod，是需要go mod init这一步的
非GOPATH下执行需要指定-mod或者-module，不需要执行go mod init这一步

我试了下暂时应该还是这样的，cwgo在哪里都会生成go.mod貌似。

这个应该是要修改下描述

GOPATH 下执行不会生成 go.mod，是需要go mod init这一步的
非GOPATH下执行需要指定-mod或者-module，不需要执行go mod init这一步

我试了下暂时应该还是这样的，cwgo在哪里都会生成go.mod貌似。

最新的 hz 是的。

生成/编写示例代码 中文页面里的代码块语言没选 Go，然后我看我涉及到的这四个页面里终端命令的代码块是一会 console 一会 bash，有些地方可能之前的大佬们敲得太快空格丢了，这些需要改吗？

生成/编写示例代码 中文页面里的代码块语言没选 Go，然后我看我涉及到的这四个页面里终端命令的代码块是一会 console 一会 bash，有些地方可能之前的大佬们敲得太快空格丢了，这些需要改吗？

可以统一，感谢。

生成/编写示例代码 中文页面里的代码块语言没选 Go，然后我看我涉及到的这四个页面里终端命令的代码块是一会 console 一会 bash，有些地方可能之前的大佬们敲得太快空格丢了，这些需要改吗？

可以统一，感谢。

我改好了，大佬明早看到帮忙审一下

authors: Milkve li-jin-gou rogerogers


text:
feat(tool): supports custom templates

What type of PR is this?

feat
Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
feat:
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: supports custom templates
zh(optional): 支持自定义模板
Which issue(s) this PR fixes:

LGTM

authors: Duslia li-jin-gou

repo: cloudwego/kitex


text:
Default image size

When you insert an image it is usually too large in size and you have to reduce it manually.
Is there an option to define the default size in the plugin preferences?

Thank you for the enhancement idea.
The feature added at 1c71eeec41b27af690d7820287bcce272e848d80
For now, I just added a setting for the default image size. In the future, I'd like to make it possible to modify when inserting.

Thanks


text:
Implement FileAuthorization dependency

Add FileAuth dependency we can use if file_id is available in a route, and implements it on several file routes.

I checked and this one looks pretty good, I noticed that the backend lint was failing so I just pushed a commit to fix that.

authors: max-zilla tcnichol


text:
jalksdjkal

adsjlaksj
daklsdj

https://github.com/clulab/eidos/blob/master/src/main/scala/org/clulab/wm/eidos/EidosSystem.scala#L39

dnam,sdn,

dnam,sdn,

dasdsd

Stroke?  Cat on the keyboard?

Stroke? Cat on the keyboard?

:) teaching an undergrad how to use github issues, i shoulda chosen a diff repo prob :)

👍

authors: BeckySharp kwalcock

repo: clulab/eidos


text:
fix(service): make sure binaries are symlinked before restarting the unit

First install fix.
Currently works on thanks to the handler but unit should be started and enable after symlinking.

Daemon-reload triggers a changed state in ansible, so it shouldn't be executing in the task, just in the handler. As I removed daemon-reload on the task that performs a state=enable+start, we need to make sure daemon-reload is executed before.


text:
fix:Add health check probe to api-server, clustersynchro and controller

Signed-off-by: ONE7live wangqi_yewu@cmss.chinamobile.com
What type of PR is this?
/kind feature

What this PR does / why we need it:
In practical applications, the component status should be checked before business initiation.
Which issue(s) this PR fixes:
Fixes #334
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/retest

Provides a simple health checks method，what do you think? PTAL @Iceber @wuyingjun-lucky, thanks

repo: clusterpedia-io/clusterpedia


text:
newlines_after_classes false positive

Below code (with coffee setters) does not pass validation:
class User

  setName: (@name) ->

  setAge: (@age) ->

SomeFunction()

Settings in coffeelint.json:
  "newlines_after_classes": {
    "value": 2,
    "level": "error"
  }

Error:
✗ #4: Wrong count of newlines between a class and other code. Expected 2 got 3.

Thanks for submitting an issue.  This problem is already known about and addressed in #518.

authors: MoLLIa swang

repo: clutchski/coffeelint


text:
Demande En Cours: Ajouter un champ commentaire pour les cas d'annulation

Pour les DEC Ajouter un champ Commentaire_Traitement dans la table demande pour les cas d'annulation et suppression => le message devra être transmis dans le mail pour ajout dans le ticket SUSI.

champ motif_annulation ajouté dans les tables suivantes:

demande
hote
service
periode_temporelle
si aucun motif saisi, on redemande un motif.

affichage du motif en popup sur demande globale
affichage en detail sur élément unitaire si existant.


text:
use wildcards in setPhysicsModelParameterRanges

This addresses recent question on allowing for wildcards in setPhysicsModelParameterRanges. Before implementing something similar for setPhysicsModelParameters or freezeNuisances, I would like to know whether:

The regex intepretation is ok. I am assuming the user will put in a string with only the wildcard character "*", and then convert this string to a regexp. We could also check for other regexp characters to try and figure out if it is meant to be a an actual regexp, and in that case use the proved string directly.

Also, in this case of setting ranges, we could skip constant parameters instead of setting them (although it doesn't matter it may confuse the user), unless there is a possibility that we set the range of a constant parameter and later change it non-constant.

IMHO a generic regex interpretation should pay off in the longer term.

I guess the issue is by default we don't want to do regex matching because we'd start matching random substrings and so it would change the current behaviour. One option would be cloning all the command line options, e.g. --setPhysicsModelParameterRangesRgx, but not a big fan of bloating the options like this. Another way I was thinking was to introduce a syntax like --setPhysicsModelParameters rgx{<your regex here>}=min,max:.... Then in the future extend this to more ways of selecting particular parameters, e.g. ingroup{<group>}, hasattr{<attribute>} etc. Agree on skipping constant parameters.

I was thinking that if the string contains any of " [^$.|?*+(){}" we could interpret it as regex. But I think what Andrew said "rgx{}" would be easier.

Will try to do something similar now for setPhysicsModelParameters and freezeNuisances

Now working for setPhysicsModelParameters,setPhysicsModelParameterRanges,freezeNuisances. Any other important ones?

how about the --trackParameters option?
On Thu, Mar 23, 2017 at 3:29 PM, dsperka notifications@github.com wrote:

Now working for setPhysicsModelParameters,setPhysicsModelParameterRanges,freezeNuisances.
Any other important ones?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/371#issuecomment-288736615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABhK23Knlnq3mNDCGXJBHlmhkFJY1whRks5rooG8gaJpZM4Mmjjf
.

Sure, I can look into it.

Also done now for trackParameters, I also skipped constant parameters in this case.

All looks good to me, cheers.

Great, This should be documented on the Twiki somehow (there isn't a
section on modifying parameters in the workspace but maybe there could be?)
On Fri, Mar 24, 2017 at 10:28 AM, Andrew Gilbert notifications@github.com
wrote:

All looks good to me, cheers.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/371#issuecomment-288986434,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABhK29XLscpiWzWtuD6hM0iVdwP8OVwaks5ro5q5gaJpZM4Mmjjf
.

authors: adavidzh ajgilbert dsperka nucleosynthesis


text:
Remove print statements from ParserUtils

Somebody added many of the parser files to the source_validator.py script:
https://github.com/cmu-db/peloton/blob/master/script/validators/source_validator.py#L71-L81
The purpose of this script is to help make sure that we don't do anything stupid in our code.
It looks like the biggest offender is ParserUtils:
https://github.com/cmu-db/peloton/blob/master/src/parser/parser_utils.cpp#L198

Here is what we need to do:

Remove the parser files from the validator's white list.
Move all of the functions from 'parser_utils.cpp' into a helper class called ParserUtils as static methods.
All of the "Print" or "Get" methods should return strings and not print output.

Online 132  parser = argparse.ArgumentParser(description='Check for some strings')
So here Ones now what?

@vipuldcoder I don't understand what you are asking?

authors: apavlo vipuldcoder

repo: cmu-db/peloton


text:
CosyVoice什么时候支持呢

貌似是最近新加的语音合成模型。非常好用。希望添加

文档里似乎没有 HTTP 调用的 API，这个得研究一下 Java SDK 的源码了

好吧，原来是 WebSocket 的 API，它甚至不是 HTTP 的

@ikesnowy
我刚好用Java实现了一次，给自己的娱乐项目使用的。这里分享下dashscope关于webscoket交互大概的协议格式。希望我的分享能对你研发.net版本的SDK有一定的帮助。
总述
dashscope的wss通信地址是：wss://dashscope.aliyuncs.com/api-ws/v1/inference/
当webscoket通道被打开之后，云端会启动一个task配合本次webscoket通道。
以cosyvoice-v1的全双工模式为例
客户端发送
webscoket通道打开后，客户端依次向发起三类请求：启动任务、数据传输、结束任务
通道开始

方向：client -> server
指令：启动任务

{
  "header": {
    "action": "run-task",
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "streaming": "duplex"
  },
  "payload": {
    "model": "cosyvoice-v1",
    "task_group": "audio",
    "task": "tts",
    "function": "SpeechSynthesizer",
    "input": {},
    "parameters": {
      "voice": "longxiaochun",
      "volume": 50,
      "text_type": "PlainText",
      "sample_rate": 0,
      "rate": 1.0,
      "phoneme_timestamp_enabled": false,
      "format": "Default",
      "pitch": 1.0,
      "word_timestamp_enabled": false
    }
  }
}

数据传输

方向：client -> server
指令：传输数据

{
  "header": {
    "action": "continue-task",
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "streaming": "duplex"
  },
  "payload": {
    "model": "cosyvoice-v1",
    "task_group": "audio",
    "task": "tts",
    "function": "SpeechSynthesizer",
    "input": {
      "text": "今天天气怎么样？"
    },
    "parameters": {
      "voice": "longxiaochun",
      "volume": 50,
      "text_type": "PlainText",
      "sample_rate": 0,
      "rate": 1.0,
      "phoneme_timestamp_enabled": false,
      "format": "Default",
      "pitch": 1.0,
      "word_timestamp_enabled": false
    }
  }
}

任务结束

方向：client -> server
指令：结束任务

{
  "header": {
    "action": "finish-task",
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "streaming": "duplex"
  },
  "payload": {
    "input": {}
  }
}

服务端响应
当客户端在启动任务后，服务端就开始响应本次语音合成请求，也分三类：任务开始、数据生成、任务结束/失败
任务开始
{
  "header": {
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "event": "result-generated",
    "attributes": {}
  },
  "payload": {
    "output": {
      "sentence": {
        "words": []
      }
    },
    "usage": null
  }
}

数据生成
接收数据分两类：数据生成应答和音频数据块，这两个没有严格的先后顺序。
第一类：数据生成应答（json）
在cosyvoice-v1模型中没有实际意义，但在其他模型中能返回整句、单字的时间轴和音调、音素等信息，方便做字幕等功能。
{
  "header": {
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "event": "result-generated",
    "attributes": {}
  },
  "payload": {
    "output": {
      "sentence": {
        "words": []
      }
    },
    "usage": null
  }
}

第二类：音频数据块（ByteBuffer）
这个为音频数据块，可以存储下来，也可以直接输入给音频输出流播放音频
任务结束/失败
任务结束的状态分两种，成功和失败
任务结束
{
  "header": {
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "event": "task-finished",
    "attributes": {}
  },
  "payload": {
    "output": null,
    "usage": {
      "characters": 15
    }
  }
}

任务失败
{
  "header": {
    "task_id": "439e0616-2f5b-44e0-8872-0002a066a49c",
    "event": "task-failed",
    "error_code": "InvalidParameter",
    "error_message": "request timeout after 23 seconds.",
    "attributes": {}
  },
  "payload": {}
}

感谢，非常有帮助，周末我抽时间再研究一下

authors: ikesnowy oldmanpushcart try2020-code

repo: cnblogs/dashscope-sdk


text:
[Suggestion] Add process for creating new TAG ENV communication channels

Description

As part of Green Reviews WG lifecycle we had a need to create a new Slack channel where WG specific discussions can take place. In addition we have recently created a TAG ENV LinkedIn page and with all the uncertainties around Twitter/X there may be a need to utilize additional social media platforms for TAG ENV communication in the future. In case new WGs will be created there may once again be a need to create a new Slack channel for instance.
In order to minimize uncertainty and repeating questions it can be beneficial to have the process outlined and put in writing as part of the TAG ENV governance folder. It doesn't need to be long but should outline a few steps that must be completed once a new communication channel is created, like f.ex. approval from TAG ENV lead, update README, website, etc.
Changes related to this are part of following PR: #252
Impact

This change will make the process clear and transparent once there will be a need to create a new communication channel in the future. Once the process is defined and put in writing we will also minimize repeating questions and uncertainty around how such changes should be done.
Scope

Changes are done in #252
@leonardpahlke FYI.

Thanks @guidemetothemoon, I think that is a great addition to the governance.

We may want to create a generic issue template for this purpose. "proposal to create a new slack channel for WG XYZ" / "proposal to utilize the social media platform XYZ"

Thanks @leonardpahlke ! Great suggestion regarding the issue template, I have now added it to #252.

authors: guidemetothemoon leonardpahlke

repo: cncf/tag-env-sustainability


text:
Fixed typo which broke tr0 callbacks

Pretty sure this was just a copy paste mistake

+1  Looks good to me.

authors: jdavidberger mwturvey

repo: cnlohr/libsurvive


text:
Remove jarsigner

Seems unnecessary and adds ~280ms to build  time, on my machine, taking the mean of 5 builds:

With jarsigner: 632ms
Without jarsigner: 352ms

IMHO, maybe you don't need signed APK, but others may need it. As this project is (as I understand) an example, how can be things done, it is not good to remove parts of it just because you need to save 300ms of your valuable time. Imagine that someone could spend hours to find out, how to sign an APK, just because of this change.

That's alright - however, the APK is still signed. With the current method it's signed twice, and apksign is both required and sufficient since  SDK ver 30

The decision is not up to me... I just think that removing code just like that is not good. You can always just comment it out and add a comment which explains, why the line was there and why you think it is not required anymore.
And btw.. I am not sure that everybody targets SDK30 and newer with projects like this one.

hnngggg I just don't know the right answer here.  I don't have experience releasing things to the Play store recently.  I am curious which Android SDK versions can be released without it to the Android store.

The docs specify that signature v2 is supported since Android 7 (2016). If you target anything before that, it must be signed with jarsigner.

There are people who use this project for anciieent version of Android.
I am willing to have the default to not use jarsigner, but we have to have a note there for the bredcrumbs for the people who are still using this with Android 5 and earlier.
We can put an inline # and comment notifying people that if they are on really old versions of android, they don't need it.

This is actually really annoying to by default for newer SDKs (what most people are likely to use) to have to keep adding back in.  We can keep a comment in code that it isn't strictly required but I believe I will be undoing this change.

authors: DavidVentura Oldes cnlohr

repo: cnlohr/rawdrawandroid


text:
替换使用纯静态方案实现

问题报告与改动方案
🖼 背景
最初，我们计划使用 Next.js 的 Server Side Rendering (SSR) 和 React Server Components (RSC) 来提高我们网站首页的首屏渲染性能。
然而，在实际应用过程中，我们面临了一些挑战。在国内，使用 Vercel 托管的访问速度不尽如人意. 🐌 同时，在使用 阿里云函数计算（Function Compute，FC） 时，我们注意到 Time to First Byte (TTFB) 较高，需要数秒的延时. ⏳ 更进一步，通过 阿里云 Elastic Compute Service (ECS) 进行独立部署，使用 PM2 进行进程托管，但在实际应用过程中，我们多次遇到进程异常退出的问题. 🚧 由于 nextjs 默认没有导出清晰的日志和错误信息，很难进行排查。
改动方案
为了解决这些问题, 我们决定采用 Next.js 提供的 export 模式 并使用 Nginx 进行纯静态托管. 📦 这个改动方案有以下主要特点:

📌 首页预渲染：我们会对首页进行预渲染, 以确保仍然能够提供出色的访问性能. 🏁

🛡 稳定性:通过纯静态托管和首页预渲染，在生产环境将不再启动 nextjs 提供接口服务，不再担心进程异常退出

影响:
a. ❌ 版本列表页校验功能：由于 NPM Registry 接口未提供跨域能力, 因此我们将无法实现版本列表页的自动校验功能.
b. 🌀 前端拉取完整清单：为了解决部分版本号较多的情况下的性能问题, 前端将需要提前拉取完整的清单. 这可能导致列表页在渲染之前出现轻微的卡顿. 🚦

nginx 配置实例
server {
    listen 80;
    server_name npmmirror.com;

    root /path/to/cnpmweb/out;

    location ^~ /_next/static/ {
        expires 30d;
        try_files $uri $uri/ =404;
    }

    location ^~ /package/ {
        try_files $uri /package/[...slug].html;
    }

    location / {
        try_files $uri $uri/ /index.html;
    }
}

gpt 写的文案么

repo: cnpm/cnpmweb


text:
create new design templates with creative team

Work Champa to create new design templates for e-learning content.
Develop looks for common screens that will appear in e-learning, including:

Code examples
Interstitial Title
Module title
List of learning objectives

Sketches have been provided to Champa as a starting point. I need to check in with Champa this week (1/6/20) to see if this is on track.

Spoke with Champa today, content seems to be progressing well. Expecting draft on 1/13/20.

repo: cockroachdb/docs


text:
CREATE TABLE LIKE copies hidden columns

Fixes https://github.com/cockroachdb/docs/issues/11380.

This change is

I find the word old to be kind of strange. My suggested replacement is existing.

I agree. I updated it here. Unfortunately, I think we use this kind of terminology in a lot of docs where we could use "existing" instead. I'll try to update it where I see it.
In general, using "old" could be perceived as non-inclusive (in addition to not being the most precise term), so I also added it to the "Write about features and users in inclusive ways" section of the style guide.

authors: cockroach-teamcity ericharmeling


text:
further updates to Helm instructions

Fixes #7702
Extends changes in #7683

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/07c84886f724586db48f0d5302311c093e56786c/
Edited pages:

v19.1/orchestrate-a-local-cluster-with-kubernetes.md
v19.2/orchestrate-a-local-cluster-with-kubernetes.md
v20.1/orchestrate-a-local-cluster-with-kubernetes.md
v20.2/orchestrate-a-local-cluster-with-kubernetes.md

authors: cockroach-teamcity taroface


text:
feat: add from_latest_tag to settings

Without the ability to specify the from_latest_tag in the settings file it is very difficult to add cocogitto to an existing repository as you need to do one of the following:

remember to only run cog install-hook commit-msg otherwise your pushes can fail depending on the local and remote states
or manually edit the hooks, defeating the nice ux of the cog install-hook command

Hey @stephenc Thanks for the PR!
We just updated to clap 4.0, can you fix the conflict so we can merge this ?

@oknozor I've rebased the change, but it was unaffected as it only touches the settings file and how those default in

FYI: the tests seem to assume that git is configured to use master as the default initial branch... so I currently have two failing on my machine as I set up my git install to default to main for new repos

https://github.com/cocogitto/cocogitto/issues/235 added to note the test failure issue

authors: oknozor stephenc

repo: cocogitto/cocogitto


text:
Add CustomAuth digest transform

I'm building a Pack that uses a form of custom digest auth.   It requires sending a header which is a hex digest hash of <session-id>:<secret-key>:<secret-token>.   Given secrets aren't accessible to the Pack invocation code, this requires extending the current CustomAuth schema with an optional hex digest transform that is applied after substitution.
Example:
const customAuthWithDigest = {
  type: AuthenticationType.Custom,
  params: [
     {name: 'secretValue', description: 'Description for param1'},
     {name: 'secretToken', description: 'Description for param2'},
  ],
  digestTransform: {
    algorithm: 'sha1',
    header: 'X-Some-Header',
  }
};

You'd then add a header:
{
  'X-Some-Header': `session-key:{{secretValue-${context.invocationToken}}}:{{secretToken-${context.invocationToken}}}`
}

After auth token substitution this becomes:
{
  'X-Some-Header': `session-key:secret-value:secret-token`
}

We'd then hash this using the requested digest algorithm (in this example sha1) to return:
{
  'X-Some-Header': '2c74b0b90597a5cf66b38f1d93b6cf19c379e750'
}

hmm interesting.. wondering if this should actually be on a per-param level instead of an auth-wide specification? Could imagine packs wanting multiple custom secrets from user but only some need to be serialized according to some format. and others need to be inserted as plain text. Thoughts?
also cc @jonathan-codaio

@spencer-codaio what did you have in mind?  Not following how you'd make this a per-param level thing.   The only alternate I could come up with for a per-param level things would be to support a list of headers you'd want to encode as in:
const customAuthWithDigest = {
  ...,
  digestTransform: {
    algorithm: 'sha1',
    headers: ['X-Some-Header1', 'X-Some-Header2', ...]
  }
};

That said, I couldn't find a use-case for that as all the examples I'd found of this style of auth use a single auth header.    Trivial to extend if we wanted to go that route now or later.

I was initially looking at this to access the ill-documented BlueIris security API (used by my home automation and security camera system).   I did more search and it looks to be a poor/butchered implementation of a form of Digest Access Authentication but doesn't follow the spec at all and ends up using session tokens embedded in the payload, not the headers.    Given it's a special snowflake, I'm just going to close this and figure out an alternate proxy-based approach to access my system.

Looks like this was closed as I was typing 😄 Disregard!

repo: coda/packs-sdk


text:
Fatal error with own compute worker

Hello,
Ashwin managed to set up a compute worker with this help of @ckcollab .
I created a public competition (#218) using the corresponding queue (i.e. codabench_queue_test).
I tried a submission and I got this error logs:
Fatal error: cannot open file '/app/program/ingestion.R': No such file or directory
Fatal error: cannot open file '/app/program/scoring.R': No such file or directory
Could you help us?
Thank you very much

You will need to update the compute workers (docker pull codalab/competitions-v2-compute-worker:latest) and also add this environment variable to the .env configuration file: HOST_DIRECTORY.
The instructions in the README here have been updated:
https://github.com/codalab/competitions-v2#worker-setup

authors: ckcollab magrichard


text:
Improve execution manager logging and parsing

Sometimes exceptions happen before the task handler is reached. In those cases, exception handling behavior won't be executed(which has detailed logging). This PR improves logging by logging all of the exception details(it is destructured).
Also, this task tries to optimize memory usage by removing references to potentially big input data in the execution manager.
I don't see any downside in doing this but we can not guarantee that GC will clean it immediately.

I have been insituations where the pre-handler exceptions were hard to debug, looks like a good add to me.

repo: codaxy/conductor-sharp


text:
BUG on CC0047 (PropertyPrivateSet) suggests to make a property set private when the property is already private

This should not raise CC0047:
class Foo
{
    private int P { get; set; }
}

I'll pick this one up as well!

@Vossekop go for it.

Closed on #658.

authors: Vossekop giggio

repo: code-cracker/code-cracker


text:
Usings sort

Fixes CC0127: Sort Usings Directives by length #971
This is an experimental PR so you can give it a try if you want before you decide if this will be helpful to you.
P.S. I'm not that good at writing analyzers, I just wrote this because I wanted to use in a project that I'm working on. So, you can help me improve the code if you agree with this type of analyzer.
I wonder what you think.
Thx.

Coverage increased (+0.006%) to 91.631% when pulling 7e2f62c4e4a90aae0af01067433ea4669f2d6a76 on BugAgain:usings_sort into 7b3e176a16856ec622bb4f4bbb7e178f04b3f37a on code-cracker:master.

As mentioned on #971 let's wait to see if this proposal gathers more interest from the community.

authors: BugAgain coveralls giggio


text:
[MODULE] - German sentiment classifier

Please describe the module you would like to add to bricks
We have some sentiment classification bricks, but only for English. It would be cool to have one for different languages, for example, German.
Do you already have an implementation?
Additional context
This model could be helpful: german-sentiment-bert

Merged with #318

The output of the except  statement needs to be changed, as it does not conform with the structure of refinery.

repo: code-kern-ai/bricks


text:
fix: add refresh db to sidebar

PR Fixes:

1 Added Refresh DB button in sidebar

Resolves #1016


text:
Bugfix/category mapping

Once py42 releases, we can just use the constants there. This will have to be the fix for now.


text:
fix redoc issue with private build

Resolves INTEG-1358. See https://github.com/Redocly/redoc/issues/1154 for a description of the redoc issue that is causing this problem in our docs.
https://github.com/Redocly/redoc/pull/1186 resolves this problem, but despite being opened a long time ago has not been merged and has no indication that it will be any time soon. To resolve this, I applied this fix to the latest version of redoc and built it manually, which is the version now included in this repo.
The fixed version is now kept under version control at https://stash.corp.code42.com/projects/INT/repos/redoc-fixed/browse (internal link).

seems like missing dependencies?

seems like missing dependencies?


text:
Unreal Crash when i try to import gltf with animation / skeletal mesh

So....... this time i've tried to import this ->
https://wow.tools/mv/?buildconfig=081460ab8f317f8273068b29288f2af7&cdnconfig=a00c4591f68ddf55d8baa84db360a8d0&filedataid=189282&type=m2
smelter.zip
but i really can't import it, unreal crash everytime i have the skeletal mesh option on x:
(i'm maybe the one who don't know how to use this but mhhh...)
log :
Hide_2.log
(edit: ok so it was an unreal issue when you have multiple bone with no root.... my bad, but still my animation not working, but ... thats maybe my bad so i close this issue xD)

And I found that the byte offset of the accessor is incorrect in the glTF file 😞.

I don't even know what it is... x')

Thanks a lot. I found another fatal bug #38.

Import as a static mesh:

By the way, I will fix this in next version 2.0.8. #40

Congrats ^^


text:
@Inject @BatchProperty into Batchlet doesn't work

 @Inject @BatchProperty into Batchlet doesn't work: at runtime the property values are null.
import javax.batch.api.AbstractBatchlet;
import javax.batch.api.BatchProperty;
import javax.inject.Inject;

public class BatchletWithPropertyInjection extends AbstractBatchlet {
    private static final Logger LOG = LoggerFactory.getLogger(BatchletWithPropertyInjection.class);

    @Inject
    @BatchProperty(name = "datakey")
    private String datakey;

    @Inject
    @BatchProperty(name = "datakey2")
    private String datakey2;

    @Override
    public String process() {
        LOG.info("datakey: " + datakey);
        LOG.info("datakey2: " + datakey2);

        return "OK";
    }
}

See this test in action: BatchletWithPropertyInjectionJsr352Test.java

In order @Inject @BatchPrperty works, the scope of the injection target Spring Bean must be step or job (late binding):
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                              http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean id="myBatchlet" class="com.example.MyBatchlet" scope="step"/>
</beans>

See Reference Doc.