tpl/collections: Allow querify to accept a map argument

Closes #13131

These are now equivalent:
1. {{ collections.Querify "a" 1 "b" 2 }}
2. {{ collections.Querify (slice "a" 1 "b" 2) }}
3. {{ collections.Querify (dict "a" 1 "b" 2) }}

Benchmark testing indicates:

Worse performance when passing a sequence of scalar values
No change when passing a slice

I'm guessing that the performance degradation is primarily due to increased error checking and some deduplication of code. This function isn't widely used, so I suspect this won't be a problem for anyone.
goos: linux
goarch: amd64
pkg: github.com/gohugoio/hugo/tpl/collections
cpu: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
                │     old     │                 new                 │
                │   sec/op    │    sec/op     vs base               │
Querify-12        670.6n ± 2%   905.4n ± 15%  +35.02% (p=0.002 n=6)
QuerifySlice-12   556.6n ± 5%   552.7n ±  4%        ~ (p=0.589 n=6)
QuerifyMap-12                   719.8n ±  4%
geomean           610.9n        711.5n        +15.79%

                │    old     │                 new                 │
                │    B/op    │    B/op     vs base                 │
Querify-12        128.0 ± 0%   224.0 ± 0%  +75.00% (p=0.002 n=6)
QuerifySlice-12   152.0 ± 0%   152.0 ± 0%        ~ (p=1.000 n=6) ¹
QuerifyMap-12                  128.0 ± 0%
geomean           139.5        163.3       +32.29%
¹ all samples are equal

                │    old     │                new                 │
                │ allocs/op  │ allocs/op   vs base                │
Querify-12        8.000 ± 0%   8.000 ± 0%       ~ (p=1.000 n=6) ¹
QuerifySlice-12   8.000 ± 0%   8.000 ± 0%       ~ (p=1.000 n=6) ¹
QuerifyMap-12                  7.000 ± 0%
geomean           8.000        7.652       +0.00%
¹ all samples are equal


add ubuntu test cases on asus_kgpe_d16/dasharo-compatibility/os.md

Signed off by Przemysław Banasiak<EMAIL_ADDRESS>

@sulewskiprzemyslaw What is the state of this PR?

@macpijan @PrzemyslawBanasiak13 I decided to close this PR. This test suite has already been added to Dasharo test documentation. In my opinion, there is no need to add test cases describing booting from USB - we have Generic test setup section describing this operation among other things.


this.watched and this.relative never call back.

gaze(glob, function (err, watcher) {
  console.log('this runs and i see my files in: ', this._watched);
  this.watched(function (err, files) {
    console.log('this never runs');
  } );

  watcher.on('change', runsOkFn);
});

node version 0.10.25 on linux mint 17.1
<EMAIL_ADDRESS>Thank you. Also, watcher.on('ready', cbk)'s callback doesn't run either.

With 0.5.1, this.watched and this.relative are sync (they became async with 0.6.0). Try this instead:
gaze(glob, function (err, watcher) {
  var files = this.watched();
  watcher.on('change', runsOkFn);
});

Thanks! My bad.

No worries, sorry for the confusion!


Prepare release 0.17.0

Yes. We haven't been including documentation updates in the changelog so far and I didn't think #616 is any more important than past updates. I was unsure about #652. I decided that, because the built documentation is not distributed with the package, the issue fixed is not really relevant for users, thus listing it in the changelog is not necessary.
I like to keep the changelog as short as possible because it makes it easier for users to see what user facing changes have actually been implemented. We can add entries for this changes, if you think it they should be mentioned.

That rationale for excluding the doc PRs sounds good to me - I just wanted to check. In it goes!


Conti/nodejs dsm hashing consistency

Motivation
These tests were updated to match the fact that DSM hashing for NodeJS tracer was updated to match all other tracers. The tests are now more straightforward as almost all tests now use the same expected hashes for all tracers, instead of having different hashes for nodeJS.
Changes
See above.
Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present
[ ] To R&P team: locally build and push the image to hub.docker.com

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team
[ ] Once merged, add (or remove) it in system-test-dasboard nightly

Hi @wconti27  , do you still plan to work on this?


Undo-redo stack is getting disordered

Discord username
No response
What type of issue is this?
Transient – Occurring only once
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
We were working for a longer time with a project (can attach later a video from a full workflow if needed):

opened an existing project
added few nodes at the beginning of the workflow
worked a little with the graph
moved down the graph
disconnected two nodes
another node was moved
we tried to undo last actions - it took us 7 undo to get the connection back
before we got to reconnecting the node, the nodes we added at the beginning of the workflow were removed

Expected behaviour
Right order in the undo stack
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
develop 10.05
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
No response
Hardware you are using
No response

I think this should be considered a part of #6435


log items are overlapped by title

Describe the bug
Opening the log shows the log items being overlapped by their title.
To Reproduce
Steps to reproduce the behavior:

add a TalkerScreen
open said screen
observe UI weirdness

Expected behavior
The item text should be below the title.
Screenshots

Smartphone:

Device: Galaxy S20
OS: Android 12

Package:

talker_flutter 0.12.0

Hello @clragon
Thank you for making this issue!
I will fix it soon 😉


feat: add beta-4 target, and point --testnet to beta-4 network for forc-deploy

Description
closes #4973.
waiting for #4972 to be merged first.
With this PR, we are now adding --target beta-4 and alias --testnet to --target beta-4 so that users can deploy to beta-4 with just providing --tesnet flag.
forc-deploy --testnet
 Compiling library core (/Users/kayagokalp/.forc/git/checkouts/std-9be0d6062747ea7/04a597093e7441898933dd412b8e4dc6ac860cd3/sway-lib-core)
 Compiling library std (git+https://github.com/fuellabs/sway?tag=v0.44.1#04a597093e7441898933dd412b8e4dc6ac860cd3)
 Compiling contract deploy-to-beta-4 (/Users/kayagokalp/fuel/test_projects/deploy-to-beta-4)
  Finished debug in 4.57878525s
  contract deploy-to-beta-4
      Bytecode size: 68 bytes

Please provide the password of your encrypted wallet vault at "/Users/kayagokalp/.fuel/wallets/.wallet":

Account 0 -- fuel18caanqmumttfnm8qp0eq7u9yluydxtqmzuaqtzdjlsww5t2jmg9skutn8n:
  Asset ID                                                           Amount
<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 499999960

Please provide the index of account to use for signing: 0
Do you agree to sign this transaction with fuel18caanqmumttfnm8qp0eq7u9yluydxtqmzuaqtzdjlsww5t2jmg9skutn8n? [y/N]: y

Contract deploy-to-beta-4 Deployed!

Network: beta-4.fuel.network/graphql
Contract ID: 0x7e59d984c57b01ef3ffb873781e938fb389f57e14fa4553c54f730a54a6016ec
Deployed in block 0x7d8238d863ece8d3dfb62eae9341ea66b42545b4edcc41265f1f183394d5d717

We should point this PR to master once we have #4972 merged.

In the future is there a way we could dynamically update this via a config file we host somewhere (ie. github) instead of needing to make new releases of forc?

In the future is there a way we could dynamically update this via a config file we host somewhere (ie. github) instead of needing to make new releases of forc?

Yeah that is definitely a better idea.  Opened #4975.


Capital case get rid of special chars

If you call
changeCase.capitalCase('foo %');

The output will be Foo without the %. The expected behaviour is Foo %.

This is expected behavior, use title case if you want title casing - all other packages are for transforming to a certain “casing” and those cases don’t include non-word characters.


After installation facing issuue

error: Error: Unable to resolve module react-native-modal from E:\live_cafeapp\node_modules\toastify-react-native\components\ToastManager.js: react-native-modal could not be found within the project or in these directories:

issue

@8358rahul Please share more details like your package.json

Im facing the same problem. I just installed the package following the steps but does not work.

@zahidalidev To solve the problem i had to add react-native-modal, react-native-responsive-fontsize and react-native-paper deps to make it works.

the readme should say that clearly


Adding reading time feature (fixes #77)

This fixes issue #77 and adds the reading time feature.
words_per_minute is customizable in the _config.yml file
The style completely reflects the original one from the Casper theme.

Thanks a lot @LorenzoLeonardini


Add install instructions for Fedora

Applies to Fedora 22+

Thanks! :sparkles: If you like, you can do the same in the image-to-ascii project. :smile:


Internal Service Error

I was attempting to review some functionality but visiting https://livebeats.fly.dev/ is showing an Internal Service Error. I think this started on Nov 3 when Github was also having some issues so maybe it's a CI/CD thing?

it's still dead ):

yay :))


Segfault

Expected Behaviour
README.md file can be read and processed without errors.
Actuall Behaviour
My brain gives me a Segmentation Fault on Line 9. Can reproduce it every time I try to process this file. My Eyes seem to be working fine, so the problem probably lies in my Brains API.
Reproducable?
Every time.
System Information
Confirmed on every major stable version.

Reproduced on BrainOSX 420.69.42

You may try in different machine


Fix NPE in survey

Task/Issue URL: https://app.asana.com/0/488551667048375/1205480399304937/f
Description
Fix NPE in survey that triggers when cohort is null
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3537   👈

This comment was auto-generated by Graphite.


Is Android available?

Can I use it on Android and Android is black and I can't see anything

You definitely need to build for a backend that supports Shader Model 5.0 (look in the Build Settings for Graphics Backend). And then your device needs to support this backend, on Android Vulkan or OpenGL 4.3+. And even then there is no guarantee that it will work. Specific HLSL features, namely earlydepthstencil and RWStructuredBuffer are used. On Android Unity probably translates the shader code to GLSL. And I have no idea if those HLSL features are correctly translated or if there is even any close equivalent for those features in GLSL. That's why I wrote in the Readme "Other platforms than Windows might not work as expected as this is using more unconventianol HLSL features. Let me know of your experience and if you got this running on different platforms."
All in all I don't know if there is any support for the used shader code on other platforms and it would definitely require additional research and testing from you if you want this to run on an Android device.

您肯定需要为支持着色器模型 5.0 的后端进行构建（请参阅图形后端的构建设置）。然后，您的设备需要在Android Vulkan或OpenGL 4.3 +上支持此后端。即使这样，也不能保证它会起作用。特定的HLSL功能，即和被使用。在Android上，Unity可能会将着色器代码转换为GLSL。我不知道这些HLSL功能是否正确翻译，或者GLSL中是否有任何与这些功能接近的等效项。这就是为什么我在自述文件中写道_：“Windows以外的其他平台可能无法按预期工作，因为这使用了更多非常规的HLSL功能。让我知道你的经历，以及你是否在不同的平台上运行过它。_earlydepthstencil``RWStructuredBuffer
总而言之，我不知道在其他平台上是否支持使用的着色器代码，如果您希望在Android设备上运行，则肯定需要您进行额外的研究和测试。

All right. Thank you very much.


Can a Yammer Group be selected to be a Power BI Pro (New) Workspace?

Simple question: Can a Yammer Group be selected to be a Power BI Pro (New) Workspace?
If not, perhaps a note could be added to highlight this (similar to what's been noted for Teams and Yammer Groups).
Cheers
Andy

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

ID: a2f4a6d6-56b1-7cc0-a3cd-6a2bd96b2a23
Version Independent ID: 5db8e4ff-aff7-a9c0-d32f-27b7aba02bbd
Content: Groups services interactions
Content Source: microsoft-365/solutions/groups-services-interactions.md
Product: microsoft-365-enterprise
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@HandyAndyOnGitHub Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/9271
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @HandyAndyOnGitHub Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Server Side Pagination

Is server side pagination support for b-table planned for a (near) future release? Currently, the best approach would probably be to load dummy data to fill up non-loaded pages and then load the actual data on page change (or am I wrong?).

Hi @daenuprobst,
you have to use b-pagination and disabled pagination from b-table. 'Change' event (b-pagination) tell you the current page and so you can reload your data but of course you have to know the total number of elements.

Thanks @jtommy. I'll do it like this. Would be nice to have a server-side pagination option with b-table in a future release (is it on the roadmap yet?). I could start working on it but not before November ...

No plans for it, I think it's even easier to implement with them separated.


Unexpected findOne Behavior  "lokijs": "^1.3.7",

When I search by last name and first name I get the expected matching object:
resources.findOne({l:'Callahan', f:'Jason'})

Object {id: 1693, updated_at: "2015-06-01T08:28:15.000-05:00", b: "7U2BBB3L", f: "Jason", l: "Callahan"…}

When I search by the id, I do not get a match.  Although I do sometimes.
resources.findOne({id: 1693})
null

When I search by first name and last name (changed order), I get the first object matching first name but doesn't match last name.
resources.findOne({f: 'Jason', l:'Callahan'})
Object {id: 10693, updated_at: "2015-06-17T08:44:15.000-05:00", b: "G2Z", f: "Jason", l: "Covington"…}

Wow ! Didn't saw that one coming during all my tests =O
Can you share a little gist with the code ? To repeat the same on my computer and try to see where the problem come from ?

But was on my end.... do not ... I repeat ... do not update a record to the wrong collection.

@jrhicks well... actually - having a mechanism to prevent that wouldn't be so bad! takes notes

It appears you may also be using an unsupported 'and' syntax?
I have started a long overdue wiki page to quickly describe the $and syntax.  (Will continue to fill out docs as time permits).
https://github.com/techfort/LokiJS/wiki/Query-Examples

that's awesome @obeliskos - thanks for that!
On Sun, Aug 2, 2015 at 10:45 PM, obeliskos<EMAIL_ADDRESS>wrote:

It appears you may also be using an unsupported 'and' syntax?
I have started a long overdue wiki page to quickly describe the $and
syntax. (Will continue to fill out docs as time permits).
https://github.com/techfort/LokiJS/wiki/Query-Examples
—
Reply to this email directly or view it on GitHub
https://github.com/techfort/LokiJS/issues/203#issuecomment-127074628.

You all rock!


New Context API

Right now, adding a value to Roact's context API looks like this:
function MyComponent:init()
	self._context.blah = "foo"
end

Since we originally built Roact, the React team designed and implemented an entirely new context API that's a lot nicer. I think we should steal it wholesale, since it's exactly what we recommend people build on top of _context anyways:
local ThemeContext = Roact.createContext("default value")

local function UsingValue()
	return Roact.createElement(ThemeContext.Consumer, {
		render = function(theme)
			return Roact.createElement("TextLabel", {
				Text = theme,
			})
		end,
	})

	-- We could also introduce a helper live we've done for other context-using
	-- libraries in the past:

	return ThemeContext.with(function(theme)
		return Roact.createElement("TextLabel", {
			Text = theme,
		})
	end)
end

local function Root()
	return Roact.createElement(ThemeContext.Provider, {
		value = "overridden value",
	}, {
		Inner = Roact.createElement(UsingValue),
	})
end

Some notable changes from the old context API:

No ability to explicitly access the internal context table, only the keys you've created
Context values will update when the provider is updated (!!)
Not possible to pull context values without also subscribing to their updates

I'm on the fence a bit about the contextType API that React has, but it would be useful for components that need to use context values outside of render.

https://github.com/acdlite/rfcs/blob/new-version-of-context/text/0000-new-version-of-context.md

I've stalled out on this.
Because of versioning confusion, I'm going to cut this from the 1.0 milestone and introduce it at a later date. It's just too important to start incrementing real version numbers for documentation purposes.

This is a proposal based on this "Context 2" proposal from the Studio DeveloperFramework work in progress, based on how it would look if it was implemented directly into Roact.
The Context 2 proposal was designed with scalability in mind, in particular to fix forcing the consumer to define a component that manually stacks providers, and having to stack with functions when using multiple items from context. The former is a minor annoyance and has produced multiple competing standards on how these files should be formatted. The latter issue produces rightward drift in functions and results in changelists of large amounts of whitespace.
Example Usage:
-- Theme file
local Theme = Roact.ContextItem:extend("Theme")

-- ContextItem requires us to define a 'createProvider' function
function Theme:createProvider(root)
	return Roact.createElement(Roact.Provider, {
		ContextItem = self,
		-- Optionally, we can provide an UpdateSignal signal as a prop, to
		-- have this ContextItem re-render listeners when it updates.
		-- UpdateSignal = Signal.new(),
	}, {root})
end

-- Outside of createProvider, the ContextItem is free to
-- define its own implementation and API. The Theme instance
-- is what will ultimately get passed into and read from context.
function Theme.new(item)
	self = {
		item = item,
	}

	setmetatable(self, Theme)
	return self
end

function Theme:get()
	return self.item
end

-- UsingValue file
local Theme = require(Theme)
local UsingValue = Roact.PureComponent:extend("UsingValue")

function UsingValue:render()
	local theme = self.props.Theme
	return Roact.createElement("TextLabel", {
		Text = theme:get(),
	})
end

-- We use mapContextToProps, which can accept any number of
-- ContextItems in its input mapping. This prevents rightward
-- drift that occurs if we use 'with' functions. We can also use this
-- mapping to handle any naming collisions, if they were to occur.
Roact.mapContextToProps(UsingValue, {
	Theme = Theme,
}

return UsingValue

-- Root file
local Theme = require(Theme)
local theme = Theme.new("Hello World")

local function Root()
	-- Thanks to ContextItems defining their own createProvider method,
	-- we can have a static method that accepts any number of
	-- ContextItem instances and creates a provider for each, thus preventing
	-- the user from having to write their own stack of Providers.
	return Roact.provideContext({theme}, {
		Inner = Roact.createElement(UsingValue),
	})
end


tunnelgl

teapot as enemy you have to avoid them

they got a life along the tunnel

start far and come to you
once passed you, they respawn far

when spawn, pick angle at random, all on the ground

maybe some random animation on them

collision

use bounding radius to detect collision
you reset all enemy and all

sugar

good camera move
some angle in the player when left/right

see tunnel tilt.
it got collision
http://blackberry.github.com/WebGL-Samples/tunneltilt/ for the game
https://github.com/blackberry/WebGL-Samples for the source


Existential operators not working correctly

First this is a cool module. Our team has been using it for a bit.
I found this today, which could cause some problems. It seems the coffeescript transformer you're using doesn't compile this correctly.
if test?
  // do this

compiles to
if (test != null) {
  // do this
}

which should instead be
if (typeof test === "undefined" || test === null) {
  // do this
}

Last I knew, // this is not valid CoffeeScript...
Also, each transformation should be effectively the same; I've seen versions of CoffeeScript generate the simpler != null existential test.

My apologies // this  should be  # this comment, but it isn't involved with the issues I'm seeing.
It looks like it's using coffee-react-transform 0.2.0, which is quite old now. That could be the problem. I'll check it out.

Done, updated dependencies and published to npm. Sorry for the delay.


Vane "Permission Denied" Error

I am currently making a 1.20.4 Paper Minecraft Server, and I am attempting to install Vane. I have installed ProtocolLib and I don't believe there are any conflicting plugins.
Here is the error for one of the Vane plugins:
[19:27:26 ERROR]: [DirectoryProviderSource] Error loading plugin: Directory 'plugins/vane-permissions-1.14.0.jar' failed to load! java.lang.RuntimeException: Directory 'plugins/vane-permissions-1.14.0.jar' failed to load! 	at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:59) ~[paper-1.20.4.jar:git-Paper-393] 	at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.lambda$registerProviders$1(DirectoryProviderSource.java:34) ~[paper-1.20.4.jar:git-Paper-393] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) ~[?:?] 	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:?] 	at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:?] 	at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:?] 	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:?] 	at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?] 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?] 	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:?] 	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:?] 	at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?] 	at java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:?] 	at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:32) ~[paper-1.20.4.jar:git-Paper-393] 	at io.papermc.paper.plugin.provider.source.DirectoryProviderSource.registerProviders(DirectoryProviderSource.java:14) ~[paper-1.20.4.jar:git-Paper-393] 	at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[paper-1.20.4.jar:git-Paper-393] 	at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:100) ~[paper-1.20.4.jar:git-Paper-393] 	at net.minecraft.server.Main.main(Main.java:131) ~[paper-1.20.4.jar:git-Paper-393] 	at org.bukkit.craftbukkit.Main.main(Main.java:325) ~[paper-1.20.4.jar:git-Paper-393] 	at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?] 	at java.lang.Thread.run(Unknown Source) ~[?:?] Caused by: java.io.FileNotFoundException: plugins/vane-permissions-1.14.0.jar (Permission denied) 	at java.io.RandomAccessFile.open0(Native Method) ~[?:?] 	at java.io.RandomAccessFile.open(Unknown Source) ~[?:?] 	at java.io.RandomAccessFile.<init>(Unknown Source) ~[?:?] 	at java.io.RandomAccessFile.<init>(Unknown Source) ~[?:?] 	at java.util.zip.ZipFile$Source.<init>(Unknown Source) ~[?:?] 	at java.util.zip.ZipFile$Source.get(Unknown Source) ~[?:?] 	at java.util.zip.ZipFile$CleanableResource.<init>(Unknown Source) ~[?:?] 	at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:?] 	at java.util.zip.ZipFile.<init>(Unknown Source) ~[?:?] 	at java.util.jar.JarFile.<init>(Unknown Source) ~[?:?] 	at io.papermc.paper.plugin.provider.source.FileProviderSource.registerProviders(FileProviderSource.java:51) ~[paper-1.20.4.jar:git-Paper-393]  	... 20 more
It does this for all of the Vane Plugins, such as, Core, Admin, Permissions, etc.

Sounds like you copied the files with the root user (or at least another user than the user running the actual server), making them inaccessible to minecraft. Running ls -la plugins/ should show that the permissions are not correct.
Depending on the exact problem, either give the files to the correct user with chown or adjust the mode with chmod.

So, what would be the command for this situation?

chmod 644 plugins/*.jar should suffice

That worked! Thanks for your help!


"error: reference not found" when trying to follow the exemple

Expected Behavior
Provider being downloaded and built locally.
Actual Behavior
The process fails with following stack
❯ ll
  rwxr-xr-x    5   olivierdupre   staff    160 B     Thu Dec 23 14:38:23 2021    .chglog/
  rwxr-xr-x   12   olivierdupre   staff    384 B     Thu Dec 23 14:38:28 2021    .git/
  rwxr-xr-x    5   olivierdupre   staff    160 B     Thu Dec 23 14:38:23 2021    .github/
  rwxr-xr-x    8   olivierdupre   staff    256 B     Thu Dec 23 14:38:23 2021    cmd/
  rwxr-xr-x    3   olivierdupre   staff     96 B     Thu Dec 23 14:38:23 2021    docs/
  rwxr-xr-x    3   olivierdupre   staff     96 B     Thu Dec 23 14:38:23 2021    internal/
  rwxr-xr-x    3   olivierdupre   staff     96 B     Thu Dec 23 14:38:23 2021    scripts/
  rw-r--r--    1   olivierdupre   staff    680 B     Thu Dec 23 14:38:23 2021    .gitignore
  rw-r--r--    1   olivierdupre   staff    310 B     Thu Dec 23 14:38:23 2021    .golangci.yml
  rw-r--r--    1   olivierdupre   staff    725 B     Thu Dec 23 14:38:23 2021    .goreleaser.yml
  rw-r--r--    1   olivierdupre   staff      1 KiB   Thu Dec 23 14:38:23 2021    CHANGELOG.md
  rw-r--r--    1   olivierdupre   staff      1 KiB   Thu Dec 23 14:38:23 2021    LICENSE.txt
  rw-r--r--    1   olivierdupre   staff      6 KiB   Thu Dec 23 14:38:23 2021    Makefile
  rw-r--r--    1   olivierdupre   staff      2 KiB   Thu Dec 23 14:38:23 2021    README.md
  rw-r--r--    1   olivierdupre   staff    231 B     Thu Dec 23 14:38:23 2021    go.mod
  rw-r--r--    1   olivierdupre   staff     35 KiB   Thu Dec 23 14:38:23 2021    go.sum
❯ git remote -v
origin	git@github.com:kreuzwerker/m1-terraform-provider-helper.git (fetch)
origin	git@github.com:kreuzwerker/m1-terraform-provider-helper.git (push)
❯ m1-terraform-provider-helper activate
Already activated
❯ m1-terraform-provider-helper install hashicorp/vault -v 2.10.0
Repo: https://github.com/hashicorp/terraform-provider-vault
GitRepo: git@github.com:hashicorp/terraform-provider-vault
HEAD is now at bfb2ad4 Merge pull request #11 from kreuzwerker/chore/fix-typos
2021/12/23 14:42:59 version: 2.10.0
error: reference not found
❯ brew info m1-terraform-provider-helper
kreuzwerker/taps/m1-terraform-provider-helper: stable 0.2.3
CLI to support with downloading and compiling terraform providers for Mac with M1 chip.
https://github.com/kreuzwerker/m1-terraform-provider-helper
/opt/homebrew/Cellar/m1-terraform-provider-helper/0.2.3 (6 files, 9.9MB) *
  Built from source on 2021-12-23 at 14:22:14
From: https://github.com/kreuzwerker/homebrew-taps/blob/HEAD/m1-terraform-provider-helper.rb

Steps to Reproduce (including precondition)
Follow the example in any Git repository.
If trying to run outside of a Git repository, I'm facing the issue #10
Your Environment

OS: Monterey
m1-terraform-provider-helper version: stable 0.2.3
Exact same behavior with the latest version, built locally.

Thanks for reporting! The underlying problem was the same as with #14 and #10
Works now with the 0.2.4 version!

I confirm. It works for me now.
One thing by the way:

your example says to run m1-terraform-provider-helper install hashicorp/vault -v 2.10.0 while the version for hashicorp/vault is v2.10.0 (starting with v). So for me it works if I use that exact version: m1-terraform-provider-helper install hashicorp/vault -v v2.10.0

Thanks.
O.

TY for pointing out. Fixed the version prefix in https://github.com/kreuzwerker/m1-terraform-provider-helper/commit/7233f8d9a7c494af7f3a4ac0c8eb00ba879be608


Major Update in the Making - Help wanted

@jdc0589 and all other who love this Sublime plugin
Find a major overhaul of CaseConversion in this fork: HERE
Updates include:

pythonized code: E.g. no more  if x != None:
major refactoring of the parser. It is now class based, different functionalities like acronym detection have been cleanly separated into different methods.
also all string construction is now done in case_parse.py and all sublime logic kept in case_conversion.py. (This prepares these awesome string conversion capabilities to be applied in a different module. See stringase)
added three new case conversions: to_lower_case, to_upper_case, to_capital_case. (See Issue 36)
case toggling can now be customized (See Issue 25). The user can determine what a target case a case should be converted to. Simply defining key: value pairs in the settings file under the point toggle_cases is enough.
With key being the source case and the value being the target case. Default setting leaves toggling sequence as it was up until now.

I really like all Sublime users be able to profit from these improvements. Yet, before I open a pull request I still require help to improve, expand and test the code, because I do not understand the library good enough to do it alone. Here is what I need help with:

Acronym detection broke (and I do not know why):
This still works:
CaseConvertThisHTTP  -> case_convert_this_http -> caseConvertThisHTTP
This does not: 'http' is minced:
HTTPtestArgh -> h_t_t_ptest_argh -> hTTPtestArgh

Extend method to determine all case types. (See line 271)
The cleanest solution would be using a complete rewrite of the current method, which achieves case determination purely via regexp, instead of how case detection is handled right now.

Most Wanted Feature: Case Selection via Context Menu
As already discussed in Issue 26 an optional context menu to select different conversions would be highly useful. Especially since the number of cases has grown such menu would be very practical. Indeed I was half way through implementing this feature when hitting a road block. I am going to reimplement it once we are done with the open issues discussed.
Find the fork: HERE

@bfelder thanks a bunch! you can go ahead and open up a PR if you'd like for tracking, and we just won't merge it until its ready.
I'll take a look through your fork tonight and see what I can go ahead and knock out.

@jdc0589 do not thank me, you were the one putting CaseConversion out there investing a lot of work up front!
I opened a PR for tracking purposes. (I am still learning to use GitHub).
Thanks for attending this issue so fast. It is good you are not one of the many devs who just abandon really good plugins for good.
Take your time have a look into the acronym and case detection. Then we see what to do next.
Regarding your time: Not seldom maintainers crunch their teeth when a major pull request is opened because suddenly out of nowhere they're confronted with a  whole bunch of (uninvited) work (and often harmful feature creep). I do not know how you are thinking about it, still, be reassured: This will not be a neverending story because the work to be done in order to get CaseConversion to the next level is quite defined.
We need to do three things:

both areas of work discussed in this issue
new tests, e.g. for TravisCI
discuss  the addition of a quick panel for case selection (I can implement that as well if you like to have this feature included, yet would need some help with region selection going wrong.)

@jdc0589 Any update?

@jdc0589 Do you had the chance to look into the PR, yet?


GEP 1767: CORS Filter

What type of PR is this?
/kind gep
What this PR does / why we need it:
This GEP proposes to add a new field HTTPCORSFilter to HTTPRouteFilter.
Which issue(s) this PR fixes:
Fixes #1767
Does this PR introduce a user-facing change?:
NONE

Thanks for the energy here @liangli, but the correct process here is for you to add some discussion about this feature to the proposed set of Experimental changes in https://github.com/kubernetes-sigs/gateway-api/discussions/3403, and then, if this CORS GEP is selected for an Experimental slot by the community's voting, this PR will be able to move forward.
This is a useful feature that already has a GEP, has been discussed before, and is not too big, so it's reasonably likely that it will be included if we can free up enough Experimental slots by moving things to Standard.
I note that you added this to the 1.2 Experimental discussion as well, so it's fine to just reuse the same description in the v1.3 scoping discussion there so that any new folks will have the context to vote.
Until then, sadly, this PR will need to be on hold.
/hold

Thanks for writing up this GEP @lianglli! This made the cut for v1.3 release scoping, it's great to already have a GEP PR ready for review, will take a look shortly.
/ok-to-test


Parameters pallet

          This probably should be alterable via governance. Maybe it's time we introduced a generic Parameters pallet to give a place for all these parameters to sit?

Originally posted by @gavofyork in https://github.com/paritytech/cumulus/pull/2607#discussion_r1203905861
A pallet that can implement dynamic Get<…> and have configurable origins for modifying those would be nice.
Otherwise we are restricted to either use pub storage which can only be modified by root, or doing in the pallet itself.
For naming: the word Parameter is currently used as trait for function params, so maybe not best.

I am going to implement this in ORML

https://github.com/open-web3-stack/open-runtime-module-library/pull/927

don't have anything against a central pallet per se, but this could have also been something like
#[pallet::storage(configurable)] or [pallet::storage(configurable(T::CustomOrigin))] that would auto generate setters with the given EnsureOrigin impl, and EnsureRoot if left blank.
If named #[pallet::setter], could have made the story around getters and setters also more consistent, although I am personally still not a fan of getters to begin with (see #13365).
So all in all, something like:
#[pallet::storage]
#[pallet::getter(fn foo)]
#[pallet::setter(T::FirstOrigin)] // `T::FirstOrigin::ensure_origin(o)?` is enough to set `Foo` via `set_foo`.
type Foo<T: Config> = StorageValue<Value = u32>

UPDATE: call index of something like above would also be hard to manage -1

Yes, unless we only have one set_parameter function. It could be made type-safe by using an Enum over all parameters.
But i agree that we can just start with a pallet as well.

A central pallet allows a single place for all the parameters. This is super useful for governance / audit / review. No need to check every single pallet for governance calls, which each of them may have different naming convention etc.

One thing about variable Get is that it could make metadata variable, which is unexpected https://github.com/paritytech/substrate/issues/11619

how about having these features:

custom origin pre key (we could use a different tracks to set different values)
default value for a key (might be useful and existing pallets do not have to be adjusted to expect the None)
a new attribute and trait to replace #[pallet::constant], where the trait impl can return the full key for the value in the storage. The full key can be included to the metadata, and clients can fetch the value from storage or use default if the storage value is None.

what you think?

Every feature request must come with some use cases otherwise we will be wasting time implementing things no one is using, which we already have a few instances in Substrate.

I believe we already have the use cases for those features,

for example, fellowship salary budget will be controlled by Treasurer origin/track, staking related configs by StakingAdmin;
if we can not set a default value, the pallets has to be adjusted to handle None variant;
if no new attribute with the full key to the storage value, there is no way for clients to know the value behind the key (now they get it from metadata as constant).

https://github.com/open-web3-stack/open-runtime-module-library/blob/7ac9410a8e61fc74b025354d88a0beff61152dca/parameters/src/mock.rs#L75
You have access to the key and can do whatever logics you want to control the permission.
https://github.com/open-web3-stack/open-runtime-module-library/blob/7ac9410a8e61fc74b025354d88a0beff61152dca/traits/src/parameters.rs#L14
this returns an option so user will just add unwrap_or_else to support default value

if no new attribute with the full key to the storage value, there is no way for clients to know the value behind the key (now they get it from metadata as constant).

I don't 100% get what you mean but I will just say my implementation don't have this issue.

true, solved with EnsureOriginWithArg
regarding the last point, let me give you an example.
pallet_salary::Config{
   ...
   #[pallet::constant]
   Budget: Get<Balance>
}

now with this configuration and static value for Budget clients can get this value from the metadata.
what if I replace that static value by a getter like
impl<Default, ParameterStore> Get<..> for Budget<..> {
  fn get() -> Balance {
      ParameterStore::get(key).unwrap_or_else(Default::get())
  }
}

how clients will retrieve the budget?

Basically replace api.const.salary.budge with api.query.parameters.parameters({ Salary: { Budget: undefiled } })

I like :)


VC-36353: Helm: appVersion was missing the v prefix

While testing the alpha in https://github.com/jetstack/jetstack-secure/issues/586, I found that the appVersion is missing the v prefix. Weirdly enough, the image in the templated deployment had the the v prefix...
This PR is fixing appVersion.
Manual test
$ make helm-chart
$ helm show chart _bin/scratch/image/venafi-kubernetes-agent-1.1.0-6-gd18bbc5def3d17-dirty.tgz | grep -i version
appVersion: v1.1.0-6-gd18bbc5def3d17-dirty
version: 1.1.0-6-gd18bbc5def3d17-dirty

The image tag is set here: https://github.com/jetstack/jetstack-secure/blob/master/deploy/charts/venafi-kubernetes-agent/templates/deployment.yaml#L33
We do set the value for image.tag value here: https://github.com/jetstack/jetstack-secure/blob/master/make/00_mod.mk#L43

We set the value for image.tag value here: https://github.com/jetstack/jetstack-secure/blob/master/make/00_mod.mk#L43

Why do we set image.tag instead of defaulting the tag to appVersion?


nydus-image: introduce chunkdict generate subcommand

Brief introduction
Add functionlity to generate chunk dictionary by database file and algorithm "exponential_smoothing"
Implement the command nydus-image chunkdict generate --database   command
Basic Usage
nydus-image chunkdict generate --database ./metadata.db
Details

Write command “nydus-image chunkdict generate” entries
Call the database interface and get the chunk information in the database
Implement the exponential smoothing algorithm and obtain chunk dictionary
To be continued, dump chunk dictionary and save, and then compact chunk

@newthifans @cslinwang Please resolve the conflicts.


refactor: OpenRewrite best practices

Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D

@mike-solomon didn't get to finishing this earlier; would you be able to help add example values for the 21 TODO comments inserted here?

@timtebeek Yep - I believe I fixed all open TODOs. Please let me know if you run into any issues with these. I'm not actually sure how this will appear but I did my best to put in examples as I found them in tests or online.


No functionality of qbao parameter in DirectWiggleSplitPowerSpectrumTemplate

Hi, sometime between now and May 7 (when I was able to successfully train some emulators with qbao), I think the qbao parameter has become broken in DirectWiggleSplitPowerSpectrumTemplate. Here is some code that shows that the theory doesn't vary with qbao, but does vary e.g. with Omega_m:
import numpy as np
from desilike.theories.galaxy_clustering import LPTVelocileptorsTracerPowerSpectrumMultipoles
from desilike.theories.galaxy_clustering import DirectWiggleSplitPowerSpectrumTemplate
template_marg_test = DirectWiggleSplitPowerSpectrumTemplate(z=1.0)
theory_marg_noem_test = LPTVelocileptorsTracerPowerSpectrumMultipoles(template=template_marg_test, prior_basis='physical', tracer='LRG')
np.any(theory_marg_noem_test(qbao=1.0) - theory_marg_noem_test(qbao=1.15) != 0)
np.any(theory_marg_noem_test(Omega_m=0.3) - theory_marg_noem_test(Omega_m=0.35) != 0)

Thank you for any help!

For what it's worth, the latest commit on DirectWiggleSplitPowerSpectrumTemplate was 97e3b19, and if I checkout the last commit before that one, things work again.

Thanks Erik! --- sorry about this! the last commit should fix it again

Thanks Arnaud! I'm guessing maybe related to this change, but if I source the cosmodesi env and try import desilike I get a ModuleNotFoundError.


Automate translation process for Coin Info data

The info for each coin is by default in English and stored on IPFS. Depending on the selected languages in the app Setting a translation of the coin info will be provided.
By default we will provide the info on English. The translations for each coin will be gradually added later on. What we need at this step is a an automated decentralized workflow for keeping coin info translations.

This issues was dropped from the list due to lack of team consensus on the importance/need of the described feature


Add CrossZoneLoadBalancing to ELBs

This will ensure that traffic is balanced across backend containers
evenly.
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/how-elb-works.html#request-routing
Fixes #640

:+1:

Sweet! We should send something out to the google group and advise people to update their existing load balancers.
:+1:

Yeah, I'll let the list know.


regression-test fix regression-test/suites/schema_change_p0/test_uniq_mv_schema_change.groovy bug

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
fix case bug.
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

skip buildall


Consider removing finalizers wherever possible

Adding a finalizer to an object will:

Immediately promote that object to the Gen 1 heap.
Increase construction time by around an order of magnitude.

e.g.

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

NoFinalizer
5.390 us
0.0622 us
0.0582 us
7.6447
-
-
23.44 KB

WithFinalizer
134.180 us
2.3708 us
2.1017 us
7.5684
3.6621
-
23.44 KB

(over construction of 1000 objects with nothing but the ctor/finalizer)
In the case of Drawable, this increases construction time from ~250us to 2ms per 1000 Drawables (tested via Sprite).
We should implement finalizers sparsely only where unmanaged resources are used.

GC.SupressFinalizer should eliminate the runtime overhead, but the code maintenance overhead still exists.

Indeed, most of it is eliminated. Updated benchmarks (https://gist.github.com/smoogipoo/5d3ccacc7cd2c3f475fcf15303b542ac):

Method
Mean
Error
StdDev
Gen 0/1k Op
Gen 1/1k Op
Gen 2/1k Op
Allocated Memory/Op

NoFinalizer
7.969 us
0.1785 us
0.4857 us
-
-
-
23.44 KB

WithFinalizer
40.669 us
1.0009 us
1.7265 us
-
-
-
23.44 KB

Although I'd still say we should only use finalizers when we need to, rather than blanketing them everywhere where IDisposable is implemented.

Consider: when finalizer is invoked, write to log. Finalizer should be the last defensive route, invoking it means Dispose fails to cover it gracefully.

Note that we have a finalizer in the Drawable class (see https://github.com/ppy/osu-framework/blob/master/osu.Framework/Graphics/Drawable.cs#L60). I.e. we have it almost everywhere.

Closing in favour of #4229, I guess?


puppeteer: Fix flakes related to settings tests.

This handles a rare race condition that occurs when the session hash
is not updated by the backend during the password change process.
This mostly occurs in puppeteer tests, but could occur to a user.
And other two minor fixes related to visible: true.
All of these passed 400 runs in CI.

Merged after updating the comments, thanks @priyank-p and @chdinesh1089!
When we convert setup.js to an ES6 module, we'll want to replace that exported variable with a getter/setter paradigm (which would also let us remove the rewiremock here) since that makes mocking a lot simpler; @priyank-p might be worth your doing that implementation migration while we're thinking about it.

The reason behind using rewiremock was to not run the setup code (which imports and runs util) since it need a window.navigator.userAgent mock. I don't mind writing mocks in the tests but essentially we were not testing anything with that code so I use rewiremock to not run the code. Do you think updating the comment is required here to make this clear or should I just remove the rewiremock and just adds the mocks require to run the setup code?

I think probably a better plan would be to eliminate setup.js in favor of moving its code to the appropriate modules.  E.g. probably that ajax chunk could be moved to channel.js, since we do all network requests through that library anyway; that'd also provide a much better name for setup.password_change_in_progress.
And the jQuery extensions could probably be in a better-name module than setup.js.
@andersk FYI


[SETUP HELP] Integration error: kiosk_mode - Integration 'kiosk_mode' not found.

I swear this Kiosk Mode did work a while ago when I first installed it, but now since HACS 2.0 or something when I uncommented the code I had (working before) it doesn't now...
Integration error: kiosk_mode - Integration 'kiosk_mode' not found.

I've tried with both of these lines in my /homeassistant/configuration.yaml (and a few other permutations) to no avail
frontend:
  themes: !include_dir_merge_named themes
  extra_module_url:
    - /hacsfiles/kiosk-mode/kiosk-mode.js?v6.4.0
    # - /config/www/community/kiosk-mode/kiosk-mode.js?v6.4.0

kiosk_mode:
  user_settings:
    - users:
        - "airbnb"
      hide_sidebar: true
      kiosk: true
      ignore_entity_settings: true

I've even tried re-downloading, and uninstalling and re-installing in case... always this same error as above.
Additionally if I look at the actual file system, I can see the files in /config/www/community/kiosk-mode and I do NOT see /hacsfiles (or a symlink or anything, should there be??)

Hi @DAE51D,
Kiosk-mode is not an integration but a JavaScript plugin. You cannot put the kiosk_mode config into your configuration.yaml but into your dashboard config. Consult the section Simple config example:

YAML mode users need to add the configuration manually to the lovelace dashboard file in which they want to enable kiosk-mode. Non-YAML users (Storage Mode) need to add the configuration to each lovelace panel going to Edit dashboard option (pencil icon on the top-right of the screen). Once in Edit Dashboard mode, click on the top-right three-dots button and select Raw configuration editor.

Just move the config from your configuration.yaml to your dashboard configuration.

Hi @DAE51D,
Were you able to get kiosk-mode running?


feat(build): add dependency check to CI workflow

What this PR changes/adds

Introduces a dedicated DEPENDENCIES file, which is referenced from NOTICE.md to enable easy automatic processing
Adds a CI check that verifies, that the DEPENDENCIES file is still up to date.

Whenever there is a new dependency, or a new version of an existing dependency, the DEPENDENCIES file must be regenerated. If the dependency is not yet reviewed, an IPLab issue must be opened, to get an approved status. This should be done manually.
If there is a rejected dependency, the CI job will fail.
Why it does that
EF requirements
Further notes

no automatic IPlap issues are generated
@juliapampus this job could be another candidate to be moved to the .github repo

Linked Issue(s)
Closes # <-- insert Issue number if one exists
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Patch and project coverage have no change.

Comparison is base (a96918e) 66.06% compared to head (9cabe63) 66.06%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3276   +/-   ##
=======================================
  Coverage   66.06%   66.06%
=======================================
  Files         843      843
  Lines       16937    16937
  Branches      938      938
=======================================
  Hits        11190    11190
  Misses       5377     5377
  Partials      370      370

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

still waiting for some IPlab approvals. Once they are in, i'll update the PR and move to review.


[New] Show viewshed from point on map

Description
This PR implements Show viewshed from point on map in Analysis category.
swift/issues/5493
How To Test
Load map, tap point on map, wait until drawing state is finished. There should be red dot on the map where you tapped as well as the viewshed graphic overlay.
Screenshots

updated screenshot


Config-UI: Edit GitLab Connection

Describe the bug

[ ] Page has incorrect fields
[ ] Should load real data from /sources
[ ] Placeholder text is incorrect (it is same as Jira)

To Reproduce
Steps to reproduce the behavior:

Go to http://localhost:4000/connections/edit/gitlab/<source_id>

Expected behavior
The proper fields for GitLab are:

GITLAB_AUTH
GITLAB_ENDPOINT
JIRA_BOARD_GITLAB_PROJECTS

Screenshots

Linked to #608


Epic: Scaling latency metrics

Motivation
Two reasons:

We're currently flying blind w.r.t. how long scaling takes
Scaling latency should be part of any autoscaling SLOs

DoD
We should have histogram metrics recording:

end-to-end latency of scaling (down and up; cpu and memory)
latency of all the components:

requests to scheduler plugin (including retries)
requests to vm-monitor (including retries)
delay between initial NeonVM patch request and when status was updated

Implementation ideas
AFAICT the basic idea is that we store some extra info in agent/core.State and add some extra callbacks in agent/core.Config to increment some metrics when we determine that various parts of scaling (and the entire thing) have occurred.
More design work is required, because the edge cases are quite subtle.
Tasks
# Blockers
- [ ] #453
- [ ] #462
- [ ] #592

# Implementation
- [ ] Decide how we should measure latency (difficult due to eventual consistency)
- [ ] agent/core: Measure scaling latency

Other related tasks, Epics, and links

Latency metrics measured by pkg/agent/core.State would have allowed us to notice the effects of #614 (i.e. core.State believed there was a super long-running request).


No unzip for competitions download

Hey everyone
I was wondering why the --unzip argument can only be used with kaggle datasets download but not with kaggle competitions download. If there is no reason against having it, I will gladly add it with a PR.
Also, #9 looks really similar but has been inactive for almost a year.

What are you talking about?

For me, --unzip does not seem to have any effect on datasets. Namely, with:
kaggle datasets download -f myfilename.csv --unzip ownername/datasetname
result in the download of myfilename.csv.zip but no unzipping.

For me, --unzip does not seem to have any effect on datasets. Namely, with:
kaggle datasets download -f myfilename.csv --unzip ownername/datasetname
result in the download of myfilename.csv.zip but no unzipping.

Yeah me too. No unzipping occurs after downloading.

Would be a timesaver to have the --unzip option for downloading competition datasets as well. ➕


Demo store design refresh

Creating this issue to track the design refresh of the Hydrogen Snowdevil demo store.

Other issues to be closed with the design refresh:
#188
#550
#131
#544
#189
#182


fix: small typo errors

Hi @0xflotus ,
Thank you for showing interest in our tool spideyx but we want let you know that development version of this tool has been patched this typo errors and new version will be released soon and we will also request you if you find issue in the new upcoming version, please rise a new issue and also PR is welcome.
Kind regards,
@RevoltSecurities


nodejs

I found no nodejs under src

The node repository is migrated to grpc/grpc-node

@mehrdada I hava funded


feat: Add security/{threat, disclosure, verifying}

Description
This adds a new "Security" section, containing:

Threat model: straight from the RFC.
Verifying Kubewarden: info on how to verify Helm charts, containers, kwctl.
Disclosure: info on how to disclose security vulns to us.

Rendered (on GH, not Docusaurus)
https://github.com/viccuad/docs/blob/add-security/docs/security/threat-model.md
https://github.com/viccuad/docs/blob/add-security/docs/security/verifying-kubewarden.md
https://github.com/viccuad/docs/blob/add-security/docs/security/disclosure.md
Test
Tested locally with yarn start.

Should not be merged before:

https://github.com/kubewarden/helm-charts/pull/97
https://github.com/kubewarden/helm-charts/pull/98
Rebuild of https://github.com/kubewarden/rancher-kubectl-builder/pkgs/container/kubectl
New release of kubewarden-controller chart

I've fixed the conflicts inside of sidebar.js, I'm going to merge it. I don't think the lack of other signed assets is a problem. We will have them pretty soon with the 1.0.0-rc1 release


Change default create_remote_dir to true

The default false seems user unfriendly  - in almost every case it makes sense to default enabled.

Implemented on the V1 branch (https://github.com/Fizzadar/pyinfra/pull/232).


Filter dropdown text size

Bug🐛: - Filter dropdown text size
Page: Functions catalog
Browser: Chrome
Issue: Filter dropdown text should be using
Suggestion: Use $body-compact-01 for filter dropdown

Originally posted by @kingtraceyj in https://github.com/carbon-design-system/carbon-platform/discussions/1268#discussioncomment-3684754

Hey team! Please add your planning poker estimate with Zenhub @andreancardona @francinelucca @jdharvey-ibm


attachment zoom changes

[x] double tap to reset
[x] constrain zoom
[x] naive constrain pan (not perfect, but something for now)
[x] swipe left/right to change go to next attachments

i'm going to merge this. after approval i removed the changes to local-debug and tweaked the maxZoom value (we can do a better job of this later). also protected passing a null image on swipe


[Suggestion] Add context start value to parser configuration

Currently the initial value of a ContextTracker context is set by the start option in its configuration, and as far as I can tell it can't be changed after the fact. It would be useful to have a way to initialize a parser with a special context.

Would being able to change the ContextTracker implementation of a parser with a configuration parameter solve this for you?

You mean the same way external tokenizers can be switched in and out in the configuration? If so then yeah, I'd be happy with that.

Done in attached patch (published as 0.15.1)


Implicit multiplication doesn't work anymore

When I  try to run SYNOPSIS (https://github.com/jcubic/expression.php#synopsis)
It shows:
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in C:\Apache24\htdocs\chem\expression.php on line 359
Perhaps needs renew some files.

Thanks for the heads up, I will check it out when I have time.

Can you share what kind of expression you use? Because unit tests don't give any warning. I use PHP 8.2.10

Sorry, it seems above problem was my fault, probably configure problem somewhere, because it disappeared when I tried in another computer.
Meanwhile I have another problem, the multiple * cannot be omitted, i.e. '2(2-1)' cannot be decoded, but '2*(2-1)' is OK;
'2y' is wrong, but '2*y' is OK.

This is how any computer calculator works this is not paper Math * is mandatory.

But it means your example doesn't work.
bug

Hm, maybe it should work, I need to investigate. See how the original code works.

It seems that implicit multiplication got removed when adding new features.

I've removed implicit multiplication from README.

Implicit multiplication is somehow useful, should not be removed simply.

Added back the implicit multiplication. I also prepared the code to publish as a package.


Create email address for automatic invoice submissions

User story
As a paid contributor to an OpenCollective project, I would like a workflow for invoicing that aligns with the rest of my customers, so that invoicing my OC customers can take less time and be less annoying.
Currently, most of my customers have a specific email address for their billing system's intake, that they send to their vendors plug-in to their invoicing software. Tagged fields in the email body can also map to filled-out form fields on today's form.
TL;DR, it's a pain for me as a contributor to have to effectively do two separate workflows, to file an invoice for my one client who's an OpenCollective project. First step, on my invoicing software; and second, uploading it to my customer's OpenCollective profile on the website.
Nope, do not need any fancy callback features to tell my invoicing software (Harvest) you've paid me or anything.
Best solution for this problem
A simple email address that projects can send to contributors, for us to plug-into our invoicing software as a "Send to:" customer email address. Bill.com does this, and its terrific.
MVP
What will be built as an MVP? (Please refer to our wiki for what's acceptable as an MVP.)
I am a freelancer.
My customer sends me an email address.
I plug that email address into my invoicing software so that when I "send" my invoice, it automagically uploads everything to the Open Collective form and I no longer have to endure that step on my own.
Metrics
?! I'm a UX contributor. I'm offering my feedback that this would be a beneficial feature that will save me time-on-task in my invoicing. Time on task for other people who submit invoices to OC, I guess.
Documentation
I'm not a developer. Look at how bill.com does it?

This looks like a duplicate for https://github.com/opencollective/opencollective/issues/1862. Thank you for clearly documenting your use case, this is super valuable.
Ping @alanna @piamancini, since you have some experience with other accounting softwares.


How can I get the "passage_embedding.pb" and "passage_embedding2id.pb" ?

In project ALLIES，How can I get the "passage_embedding.pb" and "passage_embedding2id.pb" ?
In BLOB, I did not see the relevant resources, if I need to embeding by myself, in the source code I did not see the relevant part of the content?
Looking forward to your reply !

Thank you for your interest in our project!
We have made the embedding files available at GitHub - Microsoft/SimXNS: ALLIES - Released Resources. If you're looking to evaluate ALLIES using different datasets, kindly refer to the instructions provided in our GitHub repository: GitHub - Microsoft/SimXNS: ALLIES - Embedding Generation Notebook.
Best regards,


Adding Federal Register

The Federal Register is the daily journal of the US Government. It catalogs rulings, proposed rules, items for public inspection, and notices.
For an example of what the API provides try this link:
https://www.federalregister.gov/api/v1/documents/2017-10853.json
Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

You need to change the README.md and not the JSON :)

@jbrooksuk 52ee255a41dfee3c4e15e03a0a8463fb73043bb2 should help with this moving forward ✅

👍🏻

@ryanwmarsh poke ;)

@ryanwmarsh poking one last time, since this is going on about a month old. 🕐

I added this service in 53e196cef0b1247718f8adc3a4416176f740f642, so closing this PR.


Don't switch window layout accross worskpaces and how to customize title on status bar

Hello, thanks for the awesome project!!
I have three questions and the first one might be a bug (or might not).

So, there are several layouts for showing windows (super+t, super+y, super+i, super+u, etc). Suppose I'm on workspace 1 using the layout super+t, and then switch to workspace 2. On workspace 2, I switch the layout to super+i. Then, I go back to workspace 1 and now the layout of workspace is also that of super+i. I supposed layout of workspace 1 to be super+t but it is not. Is this behavior really expected ? Of course, when I switch to a different workspace I can simply set the current window layout again. However, would'nt it be nice if each workspace had its own layout instead of using the same layout accross several workspace? This would be quite handy when working with several workspaces and each workspaces has a different focus (i.e, one worskapce for terminal stuff, other for academic work, etc)
How to make the title of the current window on status bar show only the name of the application program? For example, right now I'm writing this issue and the title is "New issue LukeSmithxyz/dwm - qutebrowser". Depending on the webpage, the title can be quite large. I'd like the title to be only the name of the programm running (in this case, "qutebrowser"). I saw that the function responsible for changing the title is updateTitle(Client *c) in the dwm.c file. The updateTitle does don't anything really. It just calls the function gettextprop, which seems quite messy. For example, gettextprop calls other functions XGetTextProperty and XmbTextPropertyToTextList, which are  provided by X11 libs and I don't know what they do behind the scenes. The point is, I have gone to the source code to see if I could figure out by myself how to change the title on the statusbar, but I couldn't. Anyone could help me with this?
Any recommendation for a simple widget-toolkit or something similar for helping write custom scripts and integrate it with dwm? For example, when the battery is too low I'd like to call a script that launches a float sticky window with a warning message. To make windows floating we press super+f and to make them sticky we press super+s. But, how to do that from a script? It must be a very rewarding experience writing my own scripts to show popup widgets for things like battery and volume, but I lack knowledge when it comes to creating GUI. Thus, if someone can recommend a command for that, I'll be thankfull

Again thank you very much for the project! Any help is appreciated

I was able to solve all problems except the first one.
For the second problem, I changed the function updatetitle in dwm.c
void
updatetitle(Client *c)
{
	int len, i, newlen;
	char *newname;
	if (!gettextprop(c->win, netatom[NetWMName], c->name, sizeof c->name)) {
		gettextprop(c->win, XA_WM_NAME, c->name, sizeof c->name);
	}
	len = strlen(c->name);
	newlen = 0;
	for (i = len - 1; i >= 0; i--) {
		if (c->name[i] == '-') {
			if (i + 1 < len && c->name[i + 1] == ' ') {
				newlen -= 1;
			}
			break;
		}
		newlen += 1;
	}
	newname = malloc((newlen + 1) * sizeof(char));
	for (i = 0; i < newlen; i++) {
		newname[i] = c->name[len - newlen + i];
	}
	newname[newlen] = '\0';
	strcpy(c->name, newname);
	free(newname);
	if (c->name[0] == '\0') {/* hack to mark broken clients */
		strcpy(c->name, broken);
	}
}

for the third problem, I used notify-send with cron to run a script regularly. This script shows a warning message if battery is too low.


[Feature]: Add async-diesel to shuttle-aws-rds

Describe the feature
Add the changes made in #1664 to shuttle-aws-rds

I would like to work on it

As it's been a while I wanted to work on the issue.
Also I do not have access to an rds instance for testing purposes. Would it be possible to provide a dummy one?
I could also create a draft PR if it helps.
Here's what I initially came up with

@edgerunnergit Running an RDS resource on a local run essentially starts a dummy one for you (a local docker container). If all the feature flags work against local dbs, it should be a sufficient implementation.

@edgerunnergit let me know if you are going to work on this. I was not having enough bandwidth last month to work on this but now I can wrap this week.

@sourabpramanik woul definitely like to work on it. (i have already started experimenting with it)


migrate each possible primitive to an impl from alloy-primitives

see #296 for rationale

after checking, it looks like migrating Byte{Vector,List} would handle most of it as otherwise we just use the std rust types


Update dependencies

Rather than needing dependabot to update all individually.

Let's hold off on merging this, looks like we get the same amplify bug again.

See above comment, there's still the amplify bug.

Should be fixed now


[Docs] Open Science 101 Update

Thank you for your contribution!
To help us understand and review your changes quickly, please complete the checklist and provide all relevant details.
Brief Summary
Provide a concise summary of what this PR does:
Add new content about account creations and tools-technologies.
Describe your PR
Describe your changes in detail:

This commit brings additional content describing steps to create accounts on various open science portals like NASA EarthData and Zenodo.
This commit also introduces new guide for setting up tools and technologies, although not much has been added to it and would be worked on the next commits.

Type of Change
Please select the type of change your pull request introduces:

[ ] Bug fix (fixes an issue)
[ ] New feature (adds functionality)
[x] Documentation update (improves or adds documentation)
[x] Code style/refactor (improves the code structure, does not add functionality)
[ ] Configuration change (modifies settings or configurations)
[ ] Build/dependency update (changes build or dependencies)

Related Issues
Are there any issues related to this pull request?
No.
Additional Notes
Do you have any additional context, concerns, or questions?
Nothing more to share here.
Contributor Checklist
Before submitting, please confirm the following:

[x] I have read the CONTRIBUTING.md guidelines.
[x] I have tested my changes locally and ensured they work as expected.

Thank you!
We deeply value your efforts to contribute. Your PR will be reviewed soon, and we'll keep you posted.
If you have any questions or need assistance, feel free to reach out!

closing this PR as the content is already included in #33, it shall not be worked upon any further.


Sets specified in an options map have elements merged correctly, but :explain is wrong

If you specify a set in an options map:
(set-options! {:fn-force-nl #{:arg1}})

it will add the element in the set to the existing elements.  But the (czprint nil :explain) output will be incorrect, and it will look like it replaced the existing set with the new set, instead of merging the new set with the existing set.  The :explain output shows:
 :fn-force-nl {:set-by "repl or api call 3", :value #{:arg1}},

In fact, the options map now contains:
 :fn-force-nl #{:force-nl :flow :noarg1 :noarg1-body :force-nl-body
                :arg1-force-nl :flow-body :arg1},

Fixed in zprint 0.2.14 and lein-zprint 0.1.14


environment file should be mentioned in the docs

Description
Currently, VS now supports environment files, think it should be mentioned in the documentation
see: https://devblogs.microsoft.com/visualstudio/safely-use-secrets-in-http-requests-in-visual-studio-2022/
Page URL
https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/test/http-files.md
Document ID
26f1374f-556a-35fc-cc42-b8911746db80
Article author
@tdykstra

Thaks for the suggestion, but we already have issue #30432 for this, so I'm closing it as a duplicate.


Complete DAY1 intro to AI/ML slides

https://docs.google.com/presentation/d/1rTdhyjryut-woPliMeRFvXEILXpHkM_O_Q_Pz5nY2FI/edit?usp=sharing

@AleksCipri so the idea here is that this is basically the first ~30 minutes of substantive content the students see on Day 1 correct?

Yes. So this is before they start working on setting up Colab and other initial hands-on activities. We can spend some time to introduce ourselves and talk about some introductory AI concepts and terms. You can also add some intro related to your lab into this if you want to share how AI is used in your research

@AleksCipri Marking as done. Feel free to reopen if necessary.


[BUG] AzureOpenAIModelFactory has disappeared in Azure.AI.OpenAI 2.0.0-betas

Library name and version
Azure.AI.OpenAI 2.0.0-beta2
Describe the bug
There was a bug raised previously about the Azure.AI.OpenAI package not being conformant with the Azure SDK guidelines and not supporting mocking.
#36462 was raised and it was resolved by introducing AzureOpenAIModelFactory.
In the 2.0.0-beta versions of the package, the constructors are again internal and not mockable except for when using reflection.
Expected behavior
AzureOpenAIModelFactory is available and allows instantiating custom instances of the various classes used for testing.
Actual behavior
AzureOpenAIModelFactory is missing.
Reproduction Steps
Try to use AzureOpenAIModelFactory - find it is not there :-)
Environment
No response

I had the same problem as you - it seems it is finally addressed in openai/openai-dotnet 2.0.0-beta.11 https://github.com/openai/openai-dotnet/blob/main/CHANGELOG.md#200-beta11-2024-09-03


Ideation Review Ticket

Website: https://csa.rohanj.dev/
Feature Ideation

Creation of example flashcards: https://csa.rohanj.dev/flashcard
Practice Quiz (can be created from flashcards): https://csa.rohanj.dev/quiz
Login page to sign in and view old flashcards/store new ones: https://csa.rohanj.dev/login
Statistics to view Flashcard success and flashcards that need more practice on https://csa.rohanj.dev/stats
Inputting flashcards link

Agile Mantra, Creative, Collaborative, and Quality culture

We are all inspired to create this site since it is inspired from one of old projects from last tri
This can help all of us in studying for other classes at school and also provide an alternative solution to Quizlet which is now paid
CI/CD: Link

Build action builds our springboot application to ensure everything compiles and faulty code is not deployed
If Build is successful, Deploy action automatically deploys the backend to AWS and rebuilds the docker containers

Scrum Board: Link

Peer Review for Rohan J:
4/4

Created flashcards and flashcard flipping functionality, along with color scheme for all flashcards
Help other team members with CSS styling and created scrum board
Polished site after other frontend work was done.

Peer Review for Aarav A: 4/4

Created the quiz screen that allows people to test their knowledge of flashcards, and shows score when quiz completed
Great integration of CS concepts as an example of how flashcards can equate to quiz


Fixed ground primitives in orthographic mode

Fixes #5110
There were two problems going on:

czm_geometricToleranceOverMeter was NaN because it assumed the frustum had an fov property, which is not the case for orthographic. This made shadow volumes extend REALLY far which caused some strange behavior, likely floating point precision related.
The shadow volume geometry behind the near plane was being clipped, confusing the shadow volume algorithm into thinking the mesh was not watertight, which caused it to be shaded in weird ways. So now it clamps to the far AND the near plane. Not sure why this problem doesn't show up for perspective + multi-frustum. It's possible I haven't found the perfect camera angle to trigger it.

Before:

After:

Before:

After:

Thanks for the pull request @IanLilleyT!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

The shadow volume geometry behind the near plane was being clipped, confusing the shadow volume algorithm into thinking the mesh was not watertight, which caused it to be shaded in weird ways. So now it clamps to the far AND the near plane. Not sure why this problem doesn't show up for perspective + multi-frustum. It's possible I haven't found the perfect camera angle to trigger it.

I thought this was what the stencil preload pass was for. Is the stencil preload pass even needed anymore?

I thought this was what the stencil preload pass was for. Is the stencil preload pass even needed anymore?

Actually we should just scrap the three-pass shadow volume technique. I have the two-pass approach working on a branch and will open a PR after this is merged. The near/far clamping here is still important.


Feature Request: More info when hovering over a Keyword or brace

VSCode Version:1.20.1
OS Version: Windows 10 Build 17101

Showing information like class names or other when hovering over keyword/tag/brace(especially on closing tag/brace) will help to determine on whichever container you're looking even if it's begining in hundreds of lines away from you.

Is this for a specific language? Can you give an example of the tags you mean?

I think it could be useful for any language with matching functionality (tags, brackets, ...)
html:
<div class="something">
    <!-- a lot of content -->
</div><!-- hover over closing div should show `.something` -->

typescript:
function something(a: string, b: string) {
    // a lot of content
}// hover over matching bracket should show `function something(a:string, b: string)`

scss:
.selector {
    // content
    .nested {
        // content
        .thing {
            // content
        }
    }
}// hover over matching bracket should show `.selector`

...

@usernamehw Thats exactly what i mean, Thank you for clarification!

Let's track in #55075 (it has more upvotes at this time).


Add subclass-wise metrics.

Does this replace the EthicML metrics?

Does this replace the EthicML metrics?

Maybe for torch-based code as these functions don't require one to convert to numpy arrays, Prediction and data-tuples before invocation (while also being being faster due to vectorisation of the subclass-wise ops)

I think I'm going to try to unify this code further, superseding conditional_equals with something like a condition_on_y argument


PreserFLo MicroShunt

137760 GLAUCOMA, PRIMARY OPEN ANGLE; POAG
Gambini G, Carlà MM, Giannuzzi F, Caporossi T, De Vico U, Savastano A, Baldascino A, Rizzo C, Kilian R, Caporossi A, Rizzo S. PreserFlo® MicroShunt: An Overview of This Minimally Invasive Device for Open-Angle Glaucoma. Vision (Basel). 2022 Feb 9;6(1):12. doi: 10.3390/vision6010012. PMID: 35225971; PMCID: PMC8883991.
https://pubmed.ncbi.nlm.nih.gov/35225971/
For moderate-to-severe glaucoma, trabeculectomy remains the "gold standard" intraocular pressure (IOP)-lowering treatment; nonetheless, this method requires extensive post-operative maintenance. Microinvasive glaucoma surgery (MIGS) treatments are designed to lessen intra- and post-operative care burden while offering an acceptable IOP decrease for individuals with mild to moderate glaucoma. The PreserFlo® MicroShunt (previously InnFocus MicroShunt) is an 8.5 mm glaucoma drainage device manufactured from poly(styrene-block-isobutylene-block-styrene) (SIBS), an extremely biocompatible and bioinert material. The lumen is narrow enough to prevent hypotony, but big enough to avoid being obstructed by sloughed cells or pigment. The device is implanted ab externo, as a stand-alone procedure or in conjunction with cataract surgery, with intraoperative mitomycin C, and a bleb is produced under the conjunctiva and Tenon's capsule. The MicroShunt was CE-marked in 2012 and designed for primary open-angle glaucoma, the IOP of which remains uncontrolled after maximally tolerated topical treatment. Several clinical trials evaluating the MicroShunt's long-term safety and effectiveness have been conducted, highlighting the effectiveness of the device over time, along with a tolerable safety profile.

added as an action under MIGS


Legends for m1 and m2 in sunburst

Hi All , in the sunburst chart is there anyway to provide legends for the m1 and m2 parameters . we are able to see the metrics provided for m1 and m2 only when we explore slice and not in the dashboard.I will be very usefull if we have the legend .
Superset version
version - 0.18.5
Expected results
The metrics which we have specied  in the m1 and m2 parameter must appear  as legend .eg if i have chosen the m1 value as metric revenue and m2 value as patient volume . In the sunburst i expect it to appear as a legend in the bottom as ( m1:revenue and m2:patient Volume )
Actual results
I think there is no option to display the m1 and m2 parameters as legends in the sunburst .
Steps to reproduce
Try creating a suburst chart in the slice and provide two metric for m1 and m2 . Save the slice to the dashboard .

Notice: this issue has been closed because it has been inactive for 247 days. Feel free to comment and request for this issue to be reopened.


Adding new transaction sets and segments

Hi,
New to this, so forgive me if I missed something in the docs. I'm attempting to add a new set of segments and elements to version 4010 to define QO/315 (Container Shipment Status).
To do so, I've added a standard and implementation file under /004010. It also seems necessary to add any missing Data Elements to https://github.com/irobayna/stupidedi/blob/master/lib/stupidedi/versions/004010/element_defs.rb, which seems to be the registry of all possible data elements for a particular version.
If the implementation file already outlines which elements (and their bounds) fall under a given Segment, is it still necessary to define a SegmentDef that lists all the element uses below it? Not sure what is required or optional here.
Any insight would be appreciated here.
Thanks!

Yep, each segment needs to be explicitly defined. See this example of a segment definition. Those refer to element definitions, which you've defined as needed. Each ElementDef is kind of a "global" definition that includes data type, min and max lengths, and sometimes the set of allowed values. Those SegmentDefs and ElementDefs provide a common vocabulary that can be used by several different transaction sets.
Then in your grammar (TransactionSetDef), you will need to describe the allowable sequences of segments, details about the allowed values for each element of those segments, and whether each element is required, optional, or not used. Some of those attributes are already defined "globally" in the ElementDef, but can be overridden in the specific instance where they're used. For example, E66 allows a hundred or more different values but only a few make sense within the context of a particular transaction.

One thing I forgot to mention is that probably none of us have the complete definitions of all ElementDefs. Most people have access to a small subset of all X12 specifications, so one person might define an element like E66 with the info they have, then another person has another specification that has a few more "allowed values" and adds to the big list, and another person does the same.
You only need to define as much as your documentation says... no more than that is required. However, in the future someone might add new entries to the allowed values for an ElementDef because their documentation includes new values. That's why it's important to specify a subset of allowed values for each element in your TransactionSetDef.
The X12 organization does maintain a fully complete reference of every data element and their allowed values, but most people don't have access to this and can only see the subset of information that's relevant to them.

Thanks for the context @kputnam. Makes a lot more sense now. One last question I have is -- is it possible to define or add new ElementDefs without actually adding it to the "big list"? Maybe to keep it scoped within a specific SegmentDef or supplied through some sort of "ext" (extension) file? Or is this not the recommended path?
Thanks again!

On a somewhat related note, the spec I have been given references a standard N9 segment which contains a reference to the :E128 ElementDef, but specifies a CodeList value OP as Original Port, which conflicts with an existing OP (https://github.com/irobayna/stupidedi/blob/master/lib/stupidedi/versions/004010/element_defs.rb#L1289) value mapped to Original Purchase Order.  I see a similar conflict with DP where the spec says Destination Port, but is instead already mapped to Department Number.
What's the proper way to disambiguate these?

I wouldn't recommend doing that, but if you want to keep your grammar separate (and not contribute it back to the project), you can really put your definitions in any namespace you like.
The only catch is there is a thing called SegmentDict which maps the alphanumeric string for the segment, like "REF", to the SegmentDef. Usually that is constructed by Empty.push(Stupidedi::Versions::FiftyTen::SegmentDefs) or similar, but if you poke around there is probably a way to stick your own segments in. I have done that in the unit tests, but I'm not sure that you can do it in the same way. Alternatively, you can just reopen the SegmentDefs module and add in yours:
module Stupidedi
  module Versions
    module FiftyTen
      module SegmentDefs
        FOO = JasonJho::FOO
        BAR = JasonJho::BAR

To your second question, yes. The b::Segment calls refer to a particular SegmentDef, like this, and then the other arguments are lined up to the ElementDefs (like e::E1073) in the definition of the segment.
The code you can refer to is here.
But maybe what you're asking is, can you locally override which elements are used in a segment, within your own transaction? Like, normally AAA's first element is E1073, but in this particular place, you want to use your own E1073_me. No, that's not possible. Your best bet is to declare your own AAA segment and also make sure the segment dict refers to your definition.

Closing due to inactivity. Feel free to continue discussion here if you have more questions.


broker-config changed

This fixes the tito rpm build.

I think @shawn-hurley is working on a PR that changes everything back to config.yaml. He should be submitting it shortly. Moving the spec to the root dir in the repo also broke the copr builds. I am working on fixing that.

please look at PR #218

Closing in favor of PR #218


Rearrange Clone Panel

Rearrange the clone panel to use less horizontal space. The following changes have been made to achieve this:

Moved everything into the dropdown menu
Moved the HTTPS/SSH Switch to a separate line and made the buttons larger
Added a short description what HTTPS- and SSH-Cloning are for
Moved the "Clone in VS Code"-Button up and added a divider to separate cloning and downloading
Named the dropdown button "Code", added appropriate icon and made the button a primary button to raise more attention.

Before:

After:

This pull requests aims to fix #23202

Keep note that there is a citation button in this menu (https://github.com/go-gitea/gitea/pull/19999) which makes less sense in such a popup.
Maybe just remove the or line, it looks looks kind of weird.

I'd prefer this to not use fomantic dropdown but tippy.js instead.
Assign classnames code-btn and code-popup and init via JS like this:
function initCodeButton() {
  const codeBtn = document.querySelector('.code-btn');
  if (!codeBtn) return;

  createTippy(codeBtn, {
    content: document.querySelector('.code-popup'),
    placement: 'bottom-end',
    trigger: 'click',
    maxWidth: 'none',
    interactive: true,
    hideOnClick: true,
  });
}

Keep note that there is a citation button in this menu (#19999) which makes less sense in such a popup. Maybe just remove the or line to remove the expectation that everything in the menu is related to getting the code.

Oh, I overlooked this, I'll fix this ASAP

I'd prefer this to not use fomantic dropdown but tippy.js instead.
Assign classnames code-btn and code-popup and init via JS like this:
function initCodeButton() {
  const codeBtn = document.querySelector('.code-btn');
  if (!codeBtn) return;

  createTippy(codeBtn, {
    content: document.querySelector('.code-popup'),
    placement: 'bottom-end',
    trigger: 'click',
    maxWidth: 'none',
    interactive: true,
    hideOnClick: true,
  });
}

Ok, thanks for the feedback

You can clone https://try.gitea.io/silverwind/symlink-test which has a CITATION.cff that tiggers the display of the citation link.

Some critique:

I do not like about this is that it takes two clicks to copy a SSH URL in GitHub UI, while this can be done in one click in the Gitea UI.
I'm not sure we are really starved for space like GitHub is with their condensed layout. We do have more space available to show more stuff than they do.

A good news, after refactoring the Clone Panel, all the code in clone_script.tmpl could be moved into a JS file.

Codecov Report

Merging #23231 (a1ec756) into main (33e556e) will increase coverage by 0.13%.
The diff coverage is 55.50%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main   #23231      +/-   ##
==========================================
+ Coverage   47.44%   47.58%   +0.13%
==========================================
  Files        1140     1143       +3
  Lines      150804   151076     +272
==========================================
+ Hits        71549    71889     +340
+ Misses      70788    70688     -100
- Partials     8467     8499      +32

Impacted Files
Coverage Δ

cmd/serv.go
2.59% <0.00%> (-0.06%)
:arrow_down:

models/actions/run.go
1.72% <0.00%> (+0.01%)
:arrow_up:

models/actions/run_list.go
0.00% <0.00%> (ø)

models/actions/status.go
22.85% <0.00%> (-1.39%)
:arrow_down:

models/actions/task.go
1.69% <0.00%> (-0.01%)
:arrow_down:

models/auth/oauth2.go
60.52% <ø> (ø)

models/auth/twofactor.go
19.73% <ø> (ø)

models/db/engine.go
44.80% <ø> (ø)

models/unittest/testdb.go
12.92% <0.00%> (ø)

modules/auth/password/hash/pbkdf2.go
69.69% <ø> (ø)

... and 111 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I'd prefer this to not use fomantic dropdown but tippy.js instead.
Assign classnames code-btn and code-popup and init via JS like this:
function initCodeButton() {
  const codeBtn = document.querySelector('.code-btn');
  if (!codeBtn) return;

  createTippy(codeBtn, {
    content: document.querySelector('.code-popup'),
    placement: 'bottom-end',
    trigger: 'click',
    maxWidth: 'none',
    interactive: true,
    hideOnClick: true,
  });
}

Ok, thanks for the feedback

Oh, and I forgot to mention you need to add a tippy-target class to the content element to hide it until the button is clicked. That said, we should eventually devise a system that lets one create tippy tooltips purely from HTML, but that's something for later.

Using tippy breaks the layout, do you know a fix for this?

Hmm, it shouldn't, but if you could rebase this, maybe I'll play with it :)
Note that Less has been removed, so then change in less/_repository.less now needs to be done in css/repository.css .

Is this PR active?

Is this PR active?

It still should be, but I unfortunately didn't have time to work on it througout the last month. Will try to do on the weekend.

stale?

@a1012112796 I guess you can mark it as stale for now, I don't have the time to work on this atm, I'll update the files and the pr as soon as I find time for it. (Hopefully soon)

Okay, so, I'm trying to work on it again, and I wanted to ask, if tippy.js is still the way to go. If yes, what do I have to do to use tippy.js on that page (I can't use createTippy at the moment)? Just use a script tag leading to tippy.js (Where do I find that btw.?)?
Thank you very much for helping out!

Alright, I've updated the files, but I know that it looks different compared to the original PR:

I'd greatly appreciate feedback to the changes made here and what I should improve.

Also, should I wait for #27931 to be merged in? It seems like it has a bigger impact on the code there and looks like it's probably going to be merged in sooner, since my PR still has some issues that I need to figure out and I have very limited time to work on it.

Also, should I wait for #27931 to be merged in? It seems like it has a bigger impact on the code there and looks like it's probably going to be merged in sooner, since my PR still has some issues that I need to figure out and I have very limited time to work on it.

I think so.


Accessing _cachedSystemAnimationFence requires the main thread

React Native version :0.34.1
Platform: iOS
OS: Mac

I've got a register from with Submit button, which was call a method from native Objective C code:
@implementation Utils
RCT_EXPORT_MODULE()

RCT_EXPORT_METHOD(authenticate: (NSString *)code number:(NSString *)number) {
  Digits *digits = [Digits sharedInstance];
  DGTAuthenticationConfiguration *configuration = [[DGTAuthenticationConfiguration alloc] initWithAccountFields:DGTAccountFieldsDefaultOptionMask];
  configuration.phoneNumber = [NSString stringWithFormat:@"%@%@", code, number];
  [digits authenticateWithViewController:nil configuration:configuration completion:^(DGTSession *newSession, NSError *error){
  }];

}
@end

If I do nothing and click on Submit button, everything works well
But, if I enter some text to one or more text fields in the form, it cause the error Accessing _cachedSystemAnimationFence requires the main thread ... Anyone know why and how to fix it, thanks.

Looks like a thread-affinity bug with your code.
@facebook-github-bot stack-overflow

Can you explain it? And do you know how to fix?

Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of React Native.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-native? We'll be happy to answer there. Post a link to your Stack Overflow question here, so that we don't lose track of it.

I fixed similar issue by removing autoFocus from my TextInput component


Android Issue linking package

Hi all,
When I attempt to link my project to this package with Android, I run into some issues. When I follow all the manual linking instructions, my build fails and I get the following error from my MainApplication.java file: error: method does not override or implement a method from a supertype @Override
I realized that override is deprecated, and tried to remove @Override from this file. When I do this, my build succeeds but instead of a gradient, I see red borders only. I read that this means that maybe the package wasn't linked successfully, but I don't know how to fix it if override is deprecated.
I would love to hear any advice. Thank you!

is this issue still happening on master?

link error


bc_module_battery_get_voltage() always returns 0

Since commit bcb25bd527ae0019bb25fc1fcda386e3335e8bdd the bc_module_battery_get_voltage() function always returns 0V.
Works correctly in https://github.com/bigclownlabs/bcf-generic-node/releases/tag/v1.5.0 and does not works in https://github.com/bigclownlabs/bcf-generic-node/releases/tag/v1.5.5
The reason seams to be there: https://github.com/bigclownlabs/bcf-sdk-core-module/blob/master/bcl/src/bc_adc.c#L222
The BC_ADC_FORMAT_FLOAT part is commented out. When I uncomment it, the bc_module_battery_get_voltage() function works again. Only returns little bit bigger value (6.32V in generic-node v1.5.0 vs. 6.75V in latest).
Is there any reason, why was this part commented out?

Hi, thanks for pointing this out - at the moment we are re-implementing the ADC behavior (it will be all relative) and it should be resolved this week.  For the moment being, please use the implementation from the former commit. Sorry about the confusion!

OK. Will wait ;-)

Fixed, I return previous functionality.


carshed when use uv_queue_work

Version: libuv-1.23.0
Platform: Linux centos71611 3.10.0-693.2.2.el7_lustre.x86_64 #1 SMP Tue Oct 3 03:51:53 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The calltrace as follow:
#0  0x0000000000000000 in ?? ()
#1  0x00007f7b04a20e6f in worker (arg=0x0) at src/threadpool.c:83
#2  0x00007f7b04238dc5 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f7b0474c73d in clone () from /lib64/libc.so.6
Why the arg is null?

` uv_loop_t *loop;
uv_work_t req;
loop=uv_default_loop();
while(1)
uv_queue_work(loop,&req,worker,after_worker);
uv_run(loop,UV_RUN_DEFAULT);`

Can you ask your question on https://github.com/libuv/help, and please include a complete (runnable) code sample

ok


Adding a command line function to download the latest model output artifact from github

Added in a helper function to make it easy to download the latest model output snapshot - just makes it easier to debug api generation locally

I tried this tool out and it worked for me. I'd still like --overwrite to default to not overwriting what is already in the directory.


How to install in windows env?

Installed Cmake, make but still can't seem to install it. Can pre-compiled extension be made available?

i don't know how build from source on Windows.  Pre-compiled will have dependence from C++ runtime(vc_redist etc)


memcached node selection fails if no "regular" node exists

From martin.grotzke on September 02, 2009 01:14:30
As reported by Erik there's an error if all configured nodes are also set as
failover nodes ([1]), so that no "regular" nodes are registered.
This case needs to be handled.
[1] http://groups.google.com/group/memcached-session-
manager/browse_thread/thread/3cfcc2fe58879ae4
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=15

From martin.grotzke on September 01, 2009 16:15:20
(No comment was entered for this change.)
Summary: memcached node selection fails if no "regular" node exists

From martin.grotzke on October 17, 2009 15:42:27
Fixed, in this case an Exception is thrown during init so that one needs to fix this
configuration issue
Status: Fixed


bug: providers fallback not working

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.6.6
Current Behavior
When alchemyProvider fails there is no fallback to the next provider.
Expected Behavior
On provider connection error it should fallback to next provider if it's available.
Steps To Reproduce

Open Minimal Reproducible Example.

Check Console

Following errors and messages show:

WebSocket connection to 'wss://eth-mainnet.ws.alchemyapi.io/v2/aNDkHz4qGHIDnHpeMnT552Y1lMCtsHXa' failed
Failed to load resource: the server responded with a status of 401
useContractReads hook from "index.js" returns empty array

Now comment line 19 in "_app.js" file // alchemyProvider({ apiKey: alchemyId, priority: 0 }), , rerun and check console again

No errors and useContractReads hook returns valid data

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://stackblitz.com/edit/nextjs-4tqzis?file=pages%2F_app.js
Anything else?
No response

Hey! Thanks a lot for opening this issue! I did some digging, and it seems like this may be an issue with the ethers FallbackProvider. In the CodeSandbox below, you can see that this doesn't seem to work with a plain ethers FallbackProvider either:
https://codesandbox.io/s/jovial-dirac-vouhru
I am going to close this issue here and open up an issue on the ethers repo.


Document new values for app-protocol and deprecation of app-ssl

See: https://github.com/dapr/dapr/pull/6213
The documentation needs to be updated to:

Deprecate the app-ssl CLI flag and annotation. Instead, use https and grpcs for app-protocol
Document the new h2c (HTTP/2 Cleartext) protocol for app channel

/assign

Will be fixed by #3428


add is priority to notifications endpoints

updated methods:
The below methods now have a optional boolean parameter isPriority:
fetchAllNotifications -> https://docs.neynar.com/reference/notifications
fetchNotificationsByParentUrlForUser -> https://docs.neynar.com/reference/notifications-parent-url
fetchChannelNotificationsForUser -> https://docs.neynar.com/reference/notifications-channel

@MrKevinOConnell
Is the code already generated for these changes? Since it's not in this PR I am assuming it's already there. Please check it once.
Other than that it looks good to me.

Just checked its there already