bad rendering and network.body.view.translation is {x:NaN, y:NaN}

Hi
There is a hard-to-reproduce bug with vis network 4.21.0 : sometimes, the networks is not rendered properly (only edges), and it is related to network.body.view.translation being {x:NaN, y:NaN}.
I'm getting the issue on all kind of browser and on different computers, especially the slower one. Maybe the browser is trying to render before the network has been initialized ?
I've found I can reset the view translation to x:0,y:0, then redraw().
Is this bug solved in the 5.0 ?
Regards

Is this bug solved in the 5.0 ?

You tell us :wink:
Please try it with the 5.0 release. If there the problem still exists you also can try visjs-network. If the problem is fixed there we might adopt those changes.

@nicolaslupinski Can you please confirm this problem still exists in v5.1.0 !?

I actually encountered this too, very rarely though, with the original vis package. But it was happening only with Vue.js dev tools active so I blamed it on HMR or something. However all these tools slow everything down a lot, maybe it would also happen on a slow PC (if it is indeed the same issue).

@nicolaslupinski Does this ring a bell?

(vis 4.21.0)

I'll try to trigger this with the new vis-network.

(vis-network 5.1.0)

Steps to reproduce:

net.moveTo({ position: { x, y }, scale })
net.fit({ animation: true })

Steps to reproduce:

net.moveTo({ position: { x, y }, scale })
net.fit({ animation: true })

Nope, it's more complex than that. This works just fine in MWE.

MWE: https://jsfiddle.net/6kg4xr7d/2/

The problem is that string scale (notice line 76 in MWE) doesn't work but also doesn't show any error.

Well it sorta works, but causes problems.

Steps to reproduce:

net.moveTo({ position: { x, y }, scale })
net.fit({ animation: true })

Thanks Thomaash !
I can reproduce the issue reliably by setting the scale to 0 (which make the whole network disappear) then network.fit().
network.moveTo({position:{x:1, y:1}, scale:0}); network.fit();
The hacked fix, to reset the network.body.view.translation before redraw and fit, also works reliably :
function redrawAndFit(network){
if(isNaN(network.body.view.translation.x) || isNaN(network.body.view.translation.y)){
network.body.view.translation = {x:0,y:0};
}
network.redraw();
network.fit();
}
I'll have a look at the source, now.

So far two reasons have been reliably identified:

string scale in moveTo: https://jsfiddle.net/6kg4xr7d/2/
0 scale in moveTo: https://jsfiddle.net/pq8heo9b/

@nicolaslupinski Will your problems disappear if you convert your scale to a number and ensure it is not zero?

@mojoaxel This seems like input validation issue to me. We should just throw if the input doesn't pass scale > 0 to not cause this hard to debug confusion. Or is there any point in having zero, negative or string scale?

We should just throw if the input doesn't pass scale > 0 to not cause this hard to debug confusion. Or is there any point in having zero, negative or string scale?

I looked at it and I think you are right! The docs state that The scale is a number greater than 0. If you want you can add a Number cast bevor you check is scale > 0 this way strings would also work.
@Thomaash Could you provide a fix or should I do it?

I'll fix it.

@nicolaslupinski Will your problems disappear if you convert your scale to a number and ensure it is grater than zero?

I doubt.
My original problem is that the rendering is wrong sometimes.
Setting the scale to 0 was a reliable way to get the same bug (and test the fix). But it might not be the cause of the original problem (view.translation = {x:NaN, y:NaN}).
I'd rather have something that prevent view.translation to be set to NaN. I'll have to read the code to figure out where this can happen.

I manage to reproduce by realoading again and again untill it triggers. There is more than one bug actually, sometimes I get :
network.body.view.translation
{x: -Infinity, y: -Infinity}
network.body.view.scale
Infinity
Then I redraw() and and fit() :
network.body.view.translation
{x: NaN, y: NaN}
network.body.view.scale
0.8912253390328385
The rendering is messy : in the first case, it draws edges only, in the second it draw edges and their labels, but still no nodes.

@nicolaslupinski Hi, it's perfectly possible that I misidentified your issue and fixed an unrelated problem. Could you please adapt this MWE https://codesandbox.io/embed/vis-networkissues12-mwe-1-exct0 to show your issue so that we all can see it?

Hi Thomaash
Sorry I don't provide feedback quickly.
I've edited the code to show my issue, but I feel i'm cheating, by reproducing the bug and not its original cause.
Regards

Hi @nicolaslupinski,
it seems that you forgot to share the link to your MWE. Could you provide it please?
Thanks.

Indeed...
I boils down to writing  :
network.moveTo({
position: {
x: -Infinity,
y: -Infinity
},
scale: 2
});

@nicolaslupinski Your're right, this is still an issue.

Hi
This bug seems more related to rendering in a complex web page.
I've tried to add
setTimeout( function(){ redrawAndFit(); redrawAndFit(); }, 1000);
to my page, with
function redrawAndFit(){
   if(isNaN(network.body.view.translation.x) || isNaN(network.body.view.translation.y)){
      network.body.view.translation = {x:0,y:0}; //hack intended to fix bug
   }
   network.redraw();
   network.fit();
}

But it is still unable to prevent the rendering bug from happening.
I've tried putting an alert() after rendering event, in the bugged case I'm getting the alert before the canva is even put on screen.
The network related code might be executed before all the proper initialisation have been performed, hence it might get undefined or 0 value for canva's height or width.

Is this still an issue? Should we reopen?


Long-term caching support

Ideally, changing markdown content should not change assets (js, css) hasing.
Tracking

https://github.com/webpack/webpack/issues/1315

I think we should use chunkhash, not hash.

Yes.  That would help but not enough

Why? [chunkhash] is supposed to not change if the content is the same.

Even though code content is the same, webpack will inject its manifest (module id,  ... ) into chunk randomly. We need to extract those to a seperate file,  and inject them back to html.
Also,  babel-plugin-webpack...  injects classnames into chunk (which contains random hash)

Oh yeah... True. So this won't be that easy :)

We can have put common package such as react, redux, react-router into a different chunk to minize number of bytes to download each build

alright, i succeed to split js into common chunk and main chunk. Common chunk won't change when its hash when changing markdown content. Main chunk' hash will keep changing because css hash. I think we can safely disable [hash] in css.
[path][name]--[local] is unique enogh.
Any thoughts ? @MoOx

[hash] is the point of CSS module. Maybe there is a way to have a sort of [chunkhash] for css module too?

I don't know,  you're an expert in postcss. By the way<EMAIL_ADDRESS>(latest) broke dev server. It generate different hash in client and server

The fuck. Is there an opened issue about that ?

I don't know,  just tried to update everything to the latest version and got that

Here is what to do for anyone who is interesting:
// webpack.config.client.js

// ↓ HANDLE WITH CARE ↓ \\
  plugins: [
    ...webpackConfig.plugins,
    new webpack.optimize.CommonsChunkPlugin({
      names: ['statinamic-common', 'manifest'],
    }),
    // new webpack.NamedModulesPlugin(),
  ],
  output: {
    ...webpackConfig.output,
    libraryTarget: "var",
    filename: "[name].[hash].js",
    ...config.production && {
      filename: "[name].[chunkhash].js",
      chunkFilename: "[chunkhash].js",
    },
  },
  entry: {
    "statinamic-main": path.join(__dirname, "index-client"),
    "statinamic-common": [
      "react",
      "redux",
      "react-redux",
    ],
  },

Hashes won't change if markdown content changed.
If app code changed, manifest and vendor code's hashes will change.
Result
4.0K manifest.a79b56b716403cda118c.js
144K statinamic-common.e5f7372fe5b4c362b0c4.js
128K statinamic-main.5088db94c01d82c1f41a.js

manifest chunk is small so it can be inline to prevent additional request. You can add more package to common chunk to have a smaller main chunk

Since, there is no cache in github pages, this is useless for docs

Not so sure, not everyone use gh pages. I plan to use sftp myself on an apache instance to get htaccess and real redirection.

Btw, you can use cloudflare after github pages.

I meant statinamic's docs site. Why when through all the trouble ? Cloudfront + s3 is a good and cheap service. Cloudflare is good too. https for free

Oh yeah. But we could document that on the docs :)

I think we could use [chunkhash] by default for boilerplate.

1 problem :
3 files above must be in this order: manifest --> common --> main
Need some refactor here
https://github.com/MoOx/statinamic/blob/master/src%2Fstatic%2Fto-html%2Furl-as-html.js#L109-L114

Name them 1-manifest, 2-... :D ?

Haha. Work for me :+1:

This is doable now tih 0.8.0. Just need some docs

After all, to persist hash on vendor chunk. Your dependencies has to unchanged. Only work on local or CI with cached dependencies

Updated an example in to first post :arrow_up:

Closed by #411


Working with redux or recompose connect and withTheme HOC in new v4.X.X

Hey guys,
We just tried to upgrade our whole app from v3.9.3 to latest v4.6.1. After we solved all issues with dependencies libs we started to get error for new withTheme HOC use.

Error: You are calling withTheme(Component) with an undefined component.
You may have forgotten to import it.

So from you documentation now we should use next pattern: withTheme(Component). But, what if we have in all our component many HOC from other packages and private HOC`s and we use compose technique of redux or recompose libs.
E.g in v3.9.3 we used next:
const enhance = compose(
graphql(...),
withData(),
withStyles(componentStyles),
withTheme(),
connect(mapStateToProps, mapDispatch to props))
export default enhance(Component)

So now with you new API of withTheme HOC we something like:
const componentWithTheme = withTheme(Component);
const enhance (componentWithTheme,
graphql(...),
withData(),
withStyles(componentStyles),
withTheme(),
connect(mapStateToProps, mapDispatch to props))

This is very nice and necessary update cause it supports new hooks approach, and of course if we write new Components, we write them with hooks and with this withTheme HOC new implementation.
But what with old app components that still use old react component approach? Should I run now over 300+ component and update use to withTheme to new pattern?
Maybe I miss something from you documentation and you can provide me solution for this issue?
Thanks

tip: withTheme signature has changed, check https://material-ui.com/guides/migration-v3/.

@oliviertassinari So this means that you do not have backward compatibility for components written in v3.9.3, right?

@sashberd v4 is not backward compatible. You should be able to get it done, following the upgrade path.


Fuzzing wkb encoding causes out of memory errors

Fuzzing geom/encoding/wkb (as per #53) reveals a potential bug with several decode functions. I have attached the relevant test output - 010c1c076fce1acae227d578d230bd713dd44528.txt
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L155
In this case, the out of memory error occurs when the Collection function reads the number of items num from the WKB byte stream. In this case it is because of a fuzzed value. When thinking of how to sanitize the input I initially thought it might be sufficient to check it was within a sane range. As far as I can tell, however, there is no documented upper limit for the number of Points in a given geometry (Polygons, Collections etc) in WKB other than math.MaxUint32<PHONE_NUMBER>).
This also affects the other geometry decoding functions that use the value returned from the WKB byte stream to do slice allocation:
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L134
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L120
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L99
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L78
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L64
https://github.com/go-spatial/tegola/blob/2d90e68580efc38a85e3b6c4ad020a80bf66095a/geom/encoding/wkb/internal/decode/decode.go#L41

As far as I can tell, however, there is no documented upper limit for the number of Points in a given geometry (Polygons, Collections etc) in WKB other than math.MaxUint32<PHONE_NUMBER>).

I think you hit some practical limits based on the max size of a postgres value


never finishes

fixes #5

Hi @arve0, you are right. Note though that if it gets to line 57 (the catch) it will call finished() twice.
Can you either move the finished() to line 50 or remove the return from it and turn the whole thing into an if () else ?
Would you mind separating the Document/document commit into another PR? just for the sake of clarity. Good catch btw, that might fail on case-sensitive OSs, it does work for me on Windows.
Thanks

moved to line 50, seems clean enough.

Thank you, I'll switch the line order, else the error log will appear after the next url is processed, small detail


[Frontend] Add NNEF frontend

Add an NNEF frontend to Relax and Relay, as proposed in RFC #108.
The Docker image scripts and test scripts have also been extended to accommodate NNEF.

Can I ask for a status update on this PR?
I have resolved the requested changes; the checks will fail as long as the Docker image does not contain the NNEF package.
@tqchen @yongwww

@agoston-mc It would be good to submit the Docker-related changes as a separate PR and get it merged first. Then, we can use the newly built image in this PR to pass the CI checks. You can find some image doc here: https://tvm.apache.org/docs/contribute/ci.html?highlight=update container#docker-images


ENHANCEMENT Only run coverage test as a cron

Fixes #8014
See docs at https://docs.travis-ci.com/user/conditional-builds-stages-jobs/#stq=&stp=0

I've also setup a daily cron job on 4 branch


"Microsoft's online GuidGen tool" - that's not Microsoft's tool

That's some third-party web site, which probably only uses GuidGen internally.
It is even showing ads, so the owners seem to actively monetizing it.
Stop providing free advertisement to those guys.

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

ID: 44581f4a-93df-7507-3844-eadedf9a6cc4
Version Independent ID: 33c7bcf0-1512-975f-5ef8-9f2a192a84ad
Content: Add a build or release task in an extension - Azure DevOps
Content Source: docs/extend/develop/add-build-task.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

@chcomley - This might not be the best thing to link to. I use PS new-guid if I need a guid, but people can find on-line GUID generators.

Thanks so much for your feedback, @scale-tone. I've removed the link, which will be live shortly.


rkt: possible to race between 'stop' and 'rm'

Rkt version: current master (1.20.0+gitee6fa9d1)
What did you do?
$ rkt fetch docker://nginx --insecure-options=image
$ systemd-run -- rkt --uuid-file-save=/tmp/rkt_uuid run docker://nginx
$ sleep 5
$ rkt stop --force=true --uuid-file=/tmp/rkt_uuid && rkt rm --uuid-file=/tmp/rkt_uuid
"faa646e8-f2aa-4144-ad2b-ea848913924e"
rm: pod "faa646e8-f2aa-4144-ad2b-ea848913924e" is currently running
rm: failed to remove one or more pods
# same failure occurs for --force=false as well

What did you expect to see?
rm succeeding immediately as soon as the stop call returns, or rm recognizing that it could wait a brief moment and be able to remove it.
What did you see instead?
The above.

I haven't dug into this yet, but it seems plausible to me that rkt stop should try to take a lock on the run directory once it thinks stop is done, and wait up to some small duration for that lock to be available, before returning.
It's also possible that an option similar to --wait-ready but --wait-stopped could be added that waits for the lock, related to @s-urbaniak's comment over here.
I'd personally rather it be on rkt itself where stop will always check at the end if it can take an exclusive lock before returning success.

I'm probably missing some pieces, but isn't rkt status --wait already a solution for that?

Yup, I just checked and throwing a status --wait=true $(cat /tmp/rkt_uuid) in there indeed resolves the race.
I forgot about that flag, thanks for the reminder 🙇


Tilecache add obstacle error

I use tilecache to add a lot of obstacles, but this error will appear, and then tilecache can't add or remove obstacles again. I hope you can answer my questions.thank you!

Hi,
Would you be able to provide a test case which can be used to reproduce the problem?

嗨，
您能否提供一个可用于重现问题的测试用例？

demo.zip
Here are my map files and test cases. Thank you for answering for me!

Hi,
Would you be able to provide a test case which can be used to reproduce the problem?

java.zip
This is my test case, thank you for answering!


Packaging request: Cryptomator

Project description
Cryptomator is an application providing client-side encryption for cloud storage.
Metadata

homepage URL: https://cryptomator.org/
source URL:
license: GPLv3
platforms: linux, darwin

Source URL: https://github.com/cryptomator/cryptomator

This is still relevant to me.
There is currently no way to get transparent encryption on any cloud-drive.

guys, whoever is interested in cryptomator testing/reviewing are welcome: https://github.com/NixOS/nixpkgs/pull/83434.

guys, whoever is interested in cryptomator testing/reviewing are welcome: https://github.com/NixOS/nixpkgs/pull/83434.

Let's first get it merged for linux, we can then base on that and check if we can get darwin working too.


Korean

@mcturner1995 Hi Moira! Could we edit one last thing on the showcase page?
I wanted to add the proper Korean name of our 2019 showcase curator, Ashley Kang, upon her request :)
Thank you!

@mcturner1995 Hi Moira! Could we edit one last thing on the showcase page?
I wanted to add the proper Korean name of our 2019 showcase curator, Ashley Kang, upon her request :)
Thank you!

@mcturner1995 Please let me know if it's convenient for you to have me pull request directly to the main branch!


[Feature Request] Support for multiple wildcards

Hello there @bitbeans
It would be great to have support for multiple wildcard support(with wildcard in between words) for libdcplugin_ldns_blocking
like
 *.zeroredirect*.com which could block entries like

zc1.zeroredirect11.com
zeroredirect10.com
zeroredirect11.com
zeroredirect12.com
zeroredirect1.com
zeroredirect2.com
zeroredirect3.com
zeroredirect4.com
zeroredirect5.com
zeroredirect6.com
zeroredirect7.com
zeroredirect8.com
zeroredirect9.com
zeroredirect.com
a.zeroredirect.com
a.zeroredirect1.com
a.zeroredirect2.com
b.zeroredirect.com
b.zeroredirect1.com
b.zeroredirect2.com
c.zeroredirect.com
c.zeroredirect1.com
c.zeroredirect2.com
d.zeroredirect.com
d.zeroredirect2.com
e.zeroredirect.com
e.zeroredirect2.com
f.zeroredirect.com
f.zeroredirect2.com
g.zeroredirect.com
h.zeroredirect.com
i.zeroredirect.com
j.zeroredirect.com
k.zeroredirect.com
l.zeroredirect.com
m.zeroredirect.com
n.zeroredirect.com
o.zeroredirect.com
p.zeroredirect.com
q.zeroredirect.com
r.zeroredirect.com
s.zeroredirect.com
t.zeroredirect.com
u.zeroredirect.com
v.zeroredirect.com
w.zeroredirect.com
www.zeroredirect2.com
x.zeroredirect.com
y.zeroredirect.com
z.zeroredirect.com
za.zeroredirect1.com
zb.zeroredirect1.com
zc.zeroredirect1.com
zd.zeroredirect1.com
zd.zeroredirect2.com
zd1.zeroredirect1.com
ze.zeroredirect1.com
ze.zeroredirect2.com
ze1.zeroredirect1.com
zf.zeroredirect1.com
zj.zeroredirect1.com
zj1.zeroredirect1.com
zk.zeroredirect1.com
zm1.zeroredirect5.com
zr1.zeroredirect11.com
zs1.zeroredirect1.com

(taken from StevenBlacks Unified Host file https://github.com/StevenBlack/hosts)
Best Regards

I think SimpleDnsCrypt already support this format (you can add it the Block and Blacklist tab).
If it is not working you need to check the https://github.com/jedisct1/dnscrypt-proxy project.

Wildcards can only be at the beginning and/or at the end. This allows efficient indexing and lookups are very fast even with very large lists.
Matching patterns with inner wildcards would either require quadratic time or a lot of memory. Both are really bad for routers and embedded systems that are common platforms for dnscrypt-proxy.
But wait. There is a way better alternative, that will also block way more related domains.
The proxy (thus SimpleDNSCrypt) can also block IP addresses and subnets. All the names from your set actually resolve to a small set of IP addresses:
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

Many more DNS names with the same pattern, likely to be used for the same purpose, map to these IPs.

Alternatively, you can just block *zerodirect*. The probability to hit a false positive is likely to be very small.

Thanks for the swift reply!!!!


kubecfg not able to find

Hi,
I have my kubernetes running on GCE. How do i install kubecfg?

I think that it was deprecated @svennela

I'm trying to run this with kubectl
$ kubectl proxy -ww=/opt/kubernetes/gcp-live-k8s-visualizer/
Starting to serve on localhost:8001

but not sure why is not working, http://localhost:8001/ returns 404
$ curl http://localhost:8001/
404 page not found

You forgot the -www-prefix and --api-prefix options:
kubectl proxy --www=/opt/kubernetes/gcp-live-k8s-visualizer --www-prefix=/visual/ --api-prefix=/api/

Then this should work:
curl http://localhost:8001/visual/


RSP-1700: Update TooltipTrigger with context

Remove click as a trigger option to tooltips

Remove press handling from useTooltipTrigger and PressResponder from TooltipTrigger

IgnoreEmulatedMouseEvents in useHover

Add onTouchStart handler in pointer events fallback code, and set ignoreEmulatedMouseEvents flag to true

In onMouseEnter and onMouseLeave check ignoreEmulatedMouseEvents and ignore the event if it is true.

Reset ignoreEmulatedMouseEvents to false after onMouseLeave

NOTE: iOS 13 implements pointer events, so this code path won't be hit. Test by commenting out the pointer event handling code.

Update useTooltipTrigger

Remove tooltipProps since they are unused
Pass triggerRef instead of triggerProps
Pass state as second arg instead of object property

Add focus handling to useTooltipTrigger
Make all state changes go through TooltipManager

e.g. onKeyDown currently updates it's state directly, but doesn't update the manager.

Create a FocusableContext

something like this: https://github.com/adobe-private/react-spectrum-v3/compare/focusable-context

TooltipTrigger should pass triggerProps through the FocusableContext instead of DOMPropsResponder{{}}
Tooltips will be focus and hover only.
✅ Pull Request Checklist:

[ ] Included link to corresponding Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Team:

Just some small suggestions, otherwise looks good to me.
Note: the tooltip gets closed when you click the tooltip trigger the first time but this is something that exists with the current implementation so it doesn't have to block this PR

fixed in https://github.com/adobe-private/react-spectrum-v3/pull/469

Was incorporated into https://github.com/adobe/react-spectrum/pull/843 Thanks @pst67662 !!!!!


WSL2: Can't exec files on non-NTFS drives.

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.18917.1000]

What you're doing and what's happening:
E: is NTFS, mounted on /mnt/e.
F: is FAT32, mounted on /mnt/f.

# cp /usr/bin/id /mnt/e/
# cp /usr/bin/id /mnt/f/
# /mnt/e/id
uid=0(root) gid=0(root) groups=0(root)
# /mnt/f/id
-bash: /mnt/f/id: Invalid argument

What's wrong / what should be happening instead:
Same output result.

@SvenGroot could you please take a look at this one?

@0xbadfca11 AFAIK you can’t exec on a FAT32 system due to fs limitations. This is common with Android OTG too. See here https://askubuntu.com/questions/23128/how-do-i-execute-a-file-from-a-fat-usb-drive.

Thanks for reporting this. This is a bug in WSL 2 and I'm working on a fix.


RichTextLabel bbcode support evaluation

Godot version:
v3.0.6
I've experienced some issues with RTL such as #21482 and #21285 and I decided to evaluate bbcode's full support against the official tags reference.
So far I couldn't find support for the following (names from the official reference):

Font-size (#5557)
Left align text
Quote
Image (resized)
Image attributes title and alt
Preformatted
Youtube videos

3, 5 and 7 probably aren't something that need to be implemented on a platform like Godot. But the others could be quite handy.
The only available reference on Godot's documentation doesn't clearly state if more tags are supported. For example lists and tables are supported, yet they aren't there.
I thought this situation could be discussed and maybe get some of this implemented.
Maybe this issue could also be used to group the other RTL's issues and make them easier to work on.

There's already an issue about setting the font size in a RichTextLabel: https://github.com/godotengine/godot/issues/5557
Text in RichTextLabel is currently left-aligned by default, but I agree the default alignment should be configurable. In this case, a [left] tag would become useful.
As for preformatted text, RichTextLabel already supports [code] tags (which requires a font to be loaded into the Mono Font property). Line breaks should be preserved inside of those tags, so I'm not sure if another tag for pre-formatted text would be useful.

In 4.0, the [img] tag supports defining a width and/or height. You can specify only a width to let the image scale automatically while preserving its aspect ratio.

The difference between [code] and [pre], if I'm not mistaken, is it that the last one preserves the indentation and spacing. Maybe [code] could, if it isn't already, handle those and reduce the overhead of having two that are basically the same.

RichTextLabel does not interfere with whitespace in any way, unlike HTML in general (which is why <pre> is needed there).


Anyone Can Run Asahi Linux on M2 MacMini 2023?

Hi,
I have a MacMini M2 2023 device. I tried to install Asahi Linux (Desktop, Minal, m1n1 only), but the system failed to boot (black screen, Caps Lock indicator does not flash when pressing down CapsLock key) after successfully executing the installation script and step 2 in the recovery mode (Select Asahi Linux and follow the terminal information) and restart.
Below is my system info:
Product name: Mac mini (2023)
SoC: Apple M2
Device class: j473ap
Product type: Mac14,3
Board ID: 0x24
Chip ID: 0x8112
System firmware: iBoot-8422.141.2
Boot UUID: 5FB57953-D8A5-4D9E-B517-4370D196A2C7
Boot VGID: 5FB57953-D8A5-4D9E-B517-4370D196A2C7
Default boot VGID: CB2BBA84-221A-4F10-9792-048378F9427D
Boot mode: macOS
OS version: 13.5 (22G74)
SFR version: <IP_ADDRESS>.0,0
System rOS version: 13.5 (22G74)
No Fallback rOS
Could anyone who has similar problems share the solutions?
Thank you!

The Mac mini (M2, 2023) is not fully supported, see https://github.com/AsahiLinux/docs/wiki/Feature-Support
That said it you probably hit a bug in the new display init code which prevented booting. It was added on 12th and fixed on 13th. A new install now should be less broken and might even init the display but the device is still not supported. The AsahiLinux options probably boot into the display manager, the Fedora images will to but fail to display anything.


getFeaturesInExtent function for ol/source/VectorTile

Many users want to get features or render features from a VectorTile source. Not that it is a very good idea in general, but there are valid rendering-centric use cases like e.g. for creating a dynamic legend that only shows entries for classes of features that are currently rendered.
In addition to adding a getFeaturesInExtent() function, this pull request also simplifies the API for the VectorTile source's tileLoadFunction: that function can now call VectorTile#setFeatures() synchronously, and does not need to call VectorTile#setLoader() any more. The need for this simplification came up when I wrote the tests for the getFeaturesInExtent() function.

Conflicts resolved and rebased. So this is ready for review again.


Datepicker - limiting days to selected month

By default datepicker lists the days from the previous month and the next month.
Can we add a directive parameter to hide these days?

Directive parameter or datepicker-options config parameter?

Ideally it should be a option inside datepicker-options that would change the hardcoded 42 from [this line] (https://github.com/angular-ui/bootstrap/blob/master/src/datepicker/datepicker.js#L242) into the number of days of the selected month.

... or simply hide 'secondary' days in the view?
Name the option something like onlyShowDaysOfMonth (too long?)

By the way, I was looking at your plunker and thinking.. the value is actually a Date object.
On a Date object you can do .getWeek() to get the week number from the selected date.
So basically, you already got your solution in your plunker. Just set the date format to w or ww (for padded value like 09) and you're done! It now shows the selected week when one of the days is selected.
Combine it with a max-mode of 'day' and I suppose you're good to go.

@rvanbaalen I don't recall adding and plunker example to this issue...

You just need to customize the loaded template for that snippet:
Plunkr
Basically I just changed the conditions for the button element, which represents the day, to the same as the different text-color:
ng-hide="dt.secondary"
, because I noticed that the previous and next days have a different styling based on the controller-field dt.secondary.

After thinking about this, going to close this as something we won't support due to implementing this properly in the library level is difficult - seeing as there are potentially adequate workarounds, is ok IMO that we don't support this.


Quick status update

The extension doesn’t currently support GNOME 40.
I’ve not accepted pull requests to fix support. I’ve been busy, and haven’t had the time to provide proper feedback to contributors. I’m sorry about not providing better feedback. I also didn’t have a working GPU for a while and it took time to source a replacement.
Current roadblock: The extension causes performance issues in GNOME 40 like UI stuttering with the app grid and small hangs when the clock updates. I’m not sure what’s causing the problem. The extension also randomly stops updating the time, and I haven’t had the time to investigate that.
I won’t enable installation on GNOME 40 through the GNOME Extensions portal until these issues are resolved. I hope to have time to work on these issues in about a month’s time. Sorry about the delays.

Any update on this? @da2x
I have been using this extension for the last 3 years, it would be really nice to continue using it.

Current roadblock: The extension causes performance issues in GNOME 40 like UI stuttering with the app grid and small hangs when the clock updates. I’m not sure what’s causing the problem. The extension also randomly stops updating the time, and I haven’t had the time to investigate that.

There has been no progress on this and the problem persists in GNOME 42. Multiple people have reached out to help, but no one can figure out where things go wrong.
There are a few compatibility open bug that are trivial to fix, but I’ve not released a new version to discourage use of the extension until the stuttering and performance issues can be worked out. AFAIK, the problems aren’t unique to this extension.

There has been no progress on this and the problem persists in GNOME 42. Multiple people have reached out to help, but no one can figure out where things go wrong.
There are a few compatibility open bug that are trivial to fix, but I’ve not released a new version to discourage use of the extension until the stuttering and performance issues can be worked out. AFAIK, the problems aren’t unique to this extension.

I am still using this extension with changes from https://github.com/stuartlangridge/gnome-shell-clock-override/pull/59 on Ubuntu 21.10 with GNOME 40.4.0, haven't experienced any stuttering and performance issues.

FYI - Alternative extension:
https://extensions.gnome.org/extension/4655/date-menu-formatter/

It seems to work with gnome 43.6, X11 & debian 12. Cant see any stuttering and the clock seems to update (at least in the 10 minutes I'm using it). To enable the extension I added "43" to the metadata.json in .local/share/gnome-settings/extensions/...

I'm planning to do a definitive feature of GNOME. It is dead simple to solve - this variable shouldn't be hardcoded there in the first place.


AML Experimentation

Description
In order to onboard UCLH and MS data science teams onto the Walking Skeleton project and its MLOps workstream, the following onboarding sessions have been identified:

[x] TRE Onboarding Session
[x] AML Upskilling Session by @ayabel
[x] Create a simple model in AML within TRE using a public dataset
[ ] Document the recommendations on interaction of Data Scientists with AML and TRE
[ ] Create a repo in UCLH Foundry Org for MLOps Experimentation

Acceptance Criteria

Aya, Tom F, Ahmed, Tom K, Zella to be onboarded onto TRE and how to operate within TRE
Aya to bring people up to speed with AML

Just to update the PR; we now have data in the TRE (open source publically available data), that we can set-up as a data source inside AML. I have modified Aya's code to run a simple logistic regression model based on that code with the appropriate MLFlow hooks.
We're able to successfully create the job and pipeline, but the AML instance requires a docker image to run the dependency installs on which is currently blocked by firewall/configuration issue of the private AML instance.

As per the stand-up on 28/02/23: The acceptance criteria for the AML experimentation story is for the training of a simple model on AML with some performance metrics that a data-scientist can then iterate on.

I officially declare this story...unblocked


Support converting ed25519 key to x25519 key.

In many applications we need to convert x25519 key from ed25519 key for DH exchange.
CLA: trivial
Respond to @nhorman 's requet.
https://github.com/openssl/openssl/issues/13630#issuecomment-2161599890
propose this patch to pr.
https://github.com/openssl/openssl/discussions/23905

I'm sorry @xicilion trivial is really meant.fie small changes, and while I'm happy to have someone disagree with me, I believe we would need you to sign an icla for this.  Is that possible?
No issues with the code however

This code is indeed quite trivial, but sure, I can sign an ICLA.

Thank you, and please follow the process for signing an icla, I'd love to see more contributions from you

The ICLA has been signed and accepted.

excellent, thank you!  Hope to see more contributions from you in the future!

convert x25519 key from ed25519 key for DH exchange

That doesn't make any sense to me. For x25519 you should always generate a new key. You do not want to use static DH.

This doesnt sound right to me either..
See https://crypto.stackexchange.com/questions/98561/ed25519-to-x25519-transportation

@xicilion thoughts on @slontis comment?

I understand the concern. However, the needs of the community are different, and we do need to convert ed25519 to x25519 in some applications, and there are a number of crypto libraries that all provide such conversions. See this discussion: https://github.com/openssl/openssl/issues/13630
These applications may not fit well with the scenario of openssl itself, so initially I just released it as a patch.

@kroeckx @slontis It seems to me (from my very naieve read of this) that these conversions assume some level of responsibilities on the part of the user (to select proper private keys and not use a single key pair for multiple purposes), right?  Is that not something that is outside the scope.ofmthe library to police?

So the documentation should really point out when it's secure to use it. We had various openssl contributors being worried about it.

crypto/ecx.h is an internal header. How is this going to be used?

IMO there are two questions to resolve by OTC:
Should we support the conversion of ed25519 keys to x25519 keys as that is against security principles but might be needed by some use-cases anyway?
Should we accept PRs adding just internal API without any intention to be used by subsequent additions of public APIs?

OTC: This cannot be merged without a public API. That API documentation would have to clearly state the security implications of such conversion.

So, what are your thoughts now? If we can consider cautiously adopting this feature, I will think about how to design a public API and specify its security risks.

yes, thats the guidance here.  To accept this the next tasks are

[ ] Design a public api for this conversion (probably part of the EVP_PKEY api, likely generically named, but only accepting ed25519 keys
[ ] Add the additional function prototypes to the public evp.h header file
[ ] update the ordinals list via make update
[ ] update the docs in docs/man3 appropriately

please do, we're good at giving opinions :)

[ ] Design a public api for this conversion (probably part of the EVP_PKEY api, likely generically named, but only accepting ed25519 keys

Please note it will not be trivial to design it right because this is something that needs to have both EVP API side and provider API side counterparts. It is also non trivial from the point that it requires creating an EVP_PKEY object from another EVP_PKEY object - the EVP_PKEY objects should be immutable in general so you cannot mutate ed25519 EVP_PKEY into x25519 key.

My initial thought is to refer to the interface
EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey);
and add a new one:
EVP_PKEY *EVP_PKEY_x25519_from_ed25519(const EVP_PKEY *pkey);
Inside the function, determine whether pkey contains an ed25519 private key or just a public key, and generate the corresponding x25519 private key or public key.
Do you think this implementation is reasonable?

My initial thought is to refer to the interface EVP_PKEY *EVP_PKEY_dup(EVP_PKEY *pkey); and add a new one: EVP_PKEY *EVP_PKEY_x25519_from_ed25519(const EVP_PKEY *pkey);
Inside the function, determine whether pkey contains an ed25519 private key or just a public key, and generate the corresponding x25519 private key or public key.
Do you think this implementation is reasonable?

The name and API should be general enough - I.e. something like: EVP_PKEY_convert_key(const EVP_PKEY *pkey, const char *target_key_type, OSSL_PARAM params[]). It would fail for anything else than ED25519 keys with "X25519" as the target type. params could be just passed into the provider and ignored.

The description you provided is much more complex than I expected. I was originally planning on a rough logic like this:
EVP_PKEY_get_raw_public_key(pkey, pk, &sz);
ossl_x25519_public_from_ed25519(pk, pk1);
return EVP_PKEY_new_raw_public_key(EVP_PKEY_X25519, nullptr, pk1, sizeof(pk1));

I think this has to be done in the provider. Libcrypto should not be making x25519 specific calls - that breaks our layering.

Hmmm...actually thinking about it perhaps it is very close to the existing EVP_PKEY_copy_parameters function

sure. I'm not familiar with the current provider mechanism, so I may need some time to study it.


Facepile CSS not included in fabric.css 2.1.0

The classes for the Facepile component (i.e not the facepile variant of PeoplePicker) are not included in the bundled fabric.css file in the 2.1.0 release on the CDN or in the output of a forked build.  Looks to be a Build problem?

Looks like they weren't included in 2.0.1 either.  Specifically, this is any selector beginning with ".ms-Facepile"

Great catch--thanks for calling this out! Looks like it didn't get added to Fabric.Components.scss. We have a fix for this in #412 right now, and it'll definitely be included in the next release.

Fixed by #412.


Add custom query telemetry and response header to OData endpoint

Progress on https://github.com/NuGet/Engineering/issues/1798.
This PR does two things:

Add custom metric ODataCustomQuery to OData queries.

This has a property IsCustomQuery = True | False | Unknown

Add a response header X-NuGet-CustomQuery: true | false

This can be used by APIM

The telemetry will allow us to verify that official clients are not doing custom queries. Note that "custom query" does not necessarily mean executed without the database. I chose to make this distinction for the GetUpdates OData function. This can be called by official client (2.x for many cases, 3.x+ for nuget.exe update -self) so it should not be throttled like custom OData queries.
~Another case: when search hijack throws an exception, some (maybe all?) codepaths fall back to DB. This should probably not be throttled...~

Another case: when search hijack throws an exception, some (maybe all?) codepaths fall back to DB. This should probably not be throttled...

I've solved this case with an "Unknown" state. This is registered as "Unknown" in telemetry and no X-NuGet-CustomQuery header in the response body.

Tried this out on DEV environment.
<rate-limit-by-key
    calls="10"
    renewal-period="60"
    counter-key="@(context.Request.IpAddress)"
    increment-condition="@(context.Response.Headers.GetValueOrDefault("X-NuGet-CustomQuery", "false") == "true")" />

Works great!

I would like to ship this to PROD without the throttle rule and observe the telemetry. Any objections?


chore: replace GoogleCloudPlatform/spark-on-k8s-operator with kubeflow/spark-operator

This is a naïve++ (as in, I did review each change) find and replace of the terms:

GoogleCloudPlatform => kubeflow
spark-on-k8s-operator => spark-operator
GoogleCloudPlatform/spark-on-k8s-operator => kubeflow/spark-operator
https://googlecloudplatform.github.io/spark-on-k8s-operator => https://kubeflow.github.io/spark-operator

⚠ I didn't try building anything or running any tests! I just wanted to get something up so that the migration from gcp's repo is addressed sooner than later. I also didn't change any documentation or anything.

I also didn't update the ghcr.io references, that can be done in a PR for #1930

Ref: #1929

@zevisert Could you fix the DCO error as indicated in https://github.com/kubeflow/spark-operator/pull/1937/checks?check_run_id=22904525714?

@yuchaoran2011, my commit message has been amended

@zevisert Thanks. Please also fix the merge conflicts

@yuchaoran2011 Done

Actually, I rebased on master and found one more reference, I need one more commit

@zevisert Thanks for the PR! I noticed changes to Go files. Could you please confirm if you've had a chance to test those changes? If not, we could create an issue to validate and we can also look at addressing our e2e tests?

@vara-bonthu No, I tried to make that clear in the description; this was just a find and replace. Were there no tests run as part of this PR?

This pr breaks all old images pull because in https://github.com/kubeflow/spark-operator/pkgs/container/spark-operator. There is no old version image available at all. Can you revert this pr or copy all image to the new place? Thanks

Please see the issue here. I don't think I will be the only one who has this issue.

@vzhao12 - I purposely didn't change the repository in this PR so as to not create issues like this. PR #1956 and PR #1974 have both changed the chart repository, but this PR did not.


gimp 2.9 crash

gimp from git on fedora 26 x86_64 crash on start.
(gdb)
#0  0x00007ffff213d66b in raise () at /lib64/libc.so.6
#1  0x00007ffff213f381 in abort () at /lib64/libc.so.6
#2  0x00007ffff21358fa in __assert_fail_base () at /lib64/libc.so.6
#3  0x00007ffff2135972 in  () at /lib64/libc.so.6
#4  0x00007ffff321e0dc in mypaint_mapping_set_n (self=<optimized out>, input=<optimized out>, n=<optimized out>) at mypaint-mapping.c:88
#5  0x00007ffff3220f88 in update_brush_setting_from_json_object (setting_obj=<optimized out>, setting_name=0x1cea080 "radius_logarithmic", self=0x11021f0) at mypaint-brush.c:1153
#6  0x00007ffff3220f88 in update_brush_from_json_object (self=0x11021f0) at mypaint-brush.c:1195
#7  0x00007ffff3220f88 in mypaint_brush_from_string (self=0x11021f0, string=<optimized out>) at mypaint-brush.c:1223
#8  0x0000000000883d8e in  ()
#9  0x0000000000000000 in  ()

after clear "radius_logarithmic" to {} in  modelling.myb gimp start normal
"radius_logarithmic": {
            "base_value": 1.1,.
            "inputs": {
            }
        },.

Hello,
I haven't had an answer since my previous comment. Do you still experience a crash? If so, could you answer my questions so that I better understand your issue. As far as we know, this package works well with GIMP, and we even just released a release candidate today.
Thanks.

I just realized this is one of these bugs of using libmypaint 2 brushes with libmypaint 1 (GIMP uses the v1). This is one of the reasons why we versionned both libmypaint and mypaint-brushes.
See also https://bugzilla.gnome.org/show_bug.cgi?id=785087
Also since no news anyway. Closing.
Feel free to reopen if anything still wrong.


Add files via upload

@BouragaaHamza I am sorry, the domain uca.ac.ma is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


[Bug] AuthProvider invalid children types in React 18

What happened?
What happened
Using React 18, passing children into AuthProvider causes TS to complain.
Additional Information about React 18
In React 18, the React.FC props type has changed
export declare function createAuth(): {
  AuthProvider: React.FC<AuthProviderProps>
}

Before
interface FunctionComponent<P = {}> {
  (props: PropsWithChildren<P>, context?: any): ReactElement<any, any> | null
}

After
interface ForwardRefRenderFunction<T, P = {}> {
  (props: P, ref: ForwardedRef<T>): ReactElement | null
}

Reproduction
Live reproduction environment: codesanbox
Personal Notes
There're 2 main ways to go about the React 18 functional component props with children:

Put the AuthProviderProps inside React.PropsWithChildren first, then inside React.FC

export declare function createAuth(): {
  AuthProvider: React.FC<React.PropsWithChildren<AuthProviderProps>>
}

Manually add the children prop type

I'm leaning more towards using the React.PropsWithChildren type.
Either way, feel free to ping me to add a PR, if you feel like it ;)
What did you expect to happen?
No TS error when wrapping a component in AuthProvider
Steps to reproduce the issue

Install React 18 in a project (make sure to have @types/react@^18 installed)

{
  "devDependencies": {
    "@types/react": "18.0.9"
  }
}

Wrap a part of your app in AuthProvider
See the TS error

Version
v1.0.1
What environment are you seeing the problem on?
ReactJS (specify Browser below)
What browsers are you seeing the problem on?
Firefox
Relevant log output
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes & AuthProviderProps'.ts(2559)

Code of Conduct

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

We are waiting for the release of React-Native 0.69 that will support React 18

I see your point. Fair enough!


Update README.md

let store = Store()
still cause an error: Cannot specialize non-generic type 'Store'

let store = Store<AppStore>()
this line still causes an error as is.


Store index metadata

What should be done?
Information about indexes should be stored in metadata in the same way as in the old pgdb package.
Create unique index for _id when collection is created.
Only metadata/registry changes are in the scope. The rest is in #3394, #3399, #3397.
Where?
https://github.com/FerretDB/FerretDB/tree/main/internal/backends/postgresql/metadata
Definition of Done

unit tests added/updated;
spot refactorings done.

There is a bug: #3505


cmd/server: record webhook stats and timestamp

Issue: https://github.com/moov-io/ofac/issues/34

Codecov Report

Merging #45 into master will decrease coverage by 0.34%.
The diff coverage is 28.12%.

@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   58.29%   57.94%   -0.35%
==========================================
  Files          15       15
  Lines        1151     1170      +19
==========================================
+ Hits          671      678       +7
- Misses        383      394      +11
- Partials       97       98       +1


fix single speaker models speaker_id arg

port https://github.com/OpenVoiceOS/ovos-tts-plugin-piper/pull/15/files#diff-bf658e99aa3710a2ee5727d2456bc54b2eaa02be7d9bf7d90ae54ca147aee7c0R32-R79
some models fail if the arguments contain "sid", this commit adds a check to skip that kwarg

@synesthesiam what are you thoughts on this?

Thanks!


[google_sign_in_web] Renamed generated folder to js_interop

Renamed generated folder to js_interop
Fixes https://github.com/flutter/flutter/issues/101855
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[X] I signed the CLA.
[X] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[X] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Should be: js_interop (js_interlop is a typo)

Fixed it. I always thought it was interlop 😛

@balvinderz thanks for the fix!
To wrap this up completely, can you try to remove the ignore_for_file comments for both the js_interop files, and fix whatever problems the analyzer has with them "so they don't receive special treatment" (as described on the issue?)

@balvinderz Are you still planning on updating this per the comments above?

@stuartmorgan not getting enough time to work on this. I will close this PR for now.


Fix Rownum max value > 100 not working for Browse Tables (7.6)

be advised though that this is very memory intensive!


Storage engine differences

There are some remarks here and there which do not distinguish between MMFiles and RocksDB, e.g.
`collection.figures()`

Returns an object containing statistics about the collection.

{% hint 'info' %}
Retrieving the figures will always load the collection into memory.
{% endhint %}

Does RocksDB load the collection metadata only, and does it so on first use or is it always in memory?

Related:
`collection.load()`

Loads a collection into memory.

{% hint 'info' %}
Cluster collections are loaded at all times.
{% endhint %}

#84 #35

'Loading collections' in MMFiles includes building up indices in RAM, which may take time depending on the collection size and the index complexity.
For rocksdb we don't do this.


Update thaler-testnet.md

add systemd service

@Alive29 thank you for the contribution!
Currently, this tutorial page shows a warning saying:

This page only shows the minimal setup.
You may want to (...) want to execute the processes using supervisor or equivalent etc.

so for executing the processes using systemd (or other supervisor), it'd be better to put them under the "Notes on Production Deployment" page instead (and put a link to that in "Thaler Testnet" page).
The systemd services may also need a few small improvements (~> no need for some of the environment variables; as the services are interdependent, it may not be good to individually restart them etc.)
I'll close this PR for now and I opened this issue to track this: https://github.com/crypto-com/chain-docs/issues/224 (feel free to reopen a revised PR addressing that issue though!)


chore: Included githubactions in the dependabot config

This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

I would recommend ignoring minor updates in the official actions, otherwise this would become annoying. Something like this:
version: 2
updates:
  # Maintain dependencies for GitHub Actions
  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
    ignore:
      # Official actions have moving tags like v1
      - dependency-name: "actions/*"
        update-types: ["version-update:semver-minor", "version-update:semver-patch"]

See https://scikit-hep.org/developer/gha_basic#updating or various repositories like pypa/cibuildwheel.

ignore:
      # Official actions have moving tags like v1
      - dependency-name: "actions/*"
        update-types: ["version-update:semver-minor", "version-update:semver-patch"]

Updated it! PTAL Thanks


soc: arm64: nxp_imx: Add common directory

This commit introduces the common/ directory which should contain all definitions required by NXP's arm64-based SoC's. This is required mostly for the soc.h header without which the build process of Zephyr's SOF module fails for i.MX93.

Closing this as issue has been solved by https://github.com/thesofproject/sof/pull/7467.


how will i get file URL

how can i generate the file url from the creatfilefrombytes function?

Hi @charlesozo. I just merged https://github.com/replicate/replicate-go/pull/68, which adds an example to the README. It relies on a change in 0.19.1, so please update to that version.


Update community_connectors.json

Created a WDC for Quick Base, and would folks to use it!

Coverage remained the same at 98.913% when pulling 4c6434d32481cfc64612546a60cc47c7f7483ceb on mdkarp:patch-1 into c7dad897bc745ec9b20b806f6163a749b403ba55 on tableau:master.

Awesome Mike! One thing, is there a page that get's closer to the actual web data connector instead of the main page. We try to keep the links as the actual wdc link instead of the promotional page.

Thanks @KeshiaRose - does that mean that the user should be able to try the connector if they just put that URL directly into the WDC box?

That would be ideal, however, I see your web data connector is behind a paywall so not quite sure what would be best. Especially since that page doesn't load in Desktop.

Maybe if I offered a free trial, like a bunch of the others I looked at so it worked right off the bat? Would that meet the requirements?  @KeshiaRose

Doesn't necessarily need to be a free trial, just that the pay site doesn't work in the web data connector browser and isn't a great experience. Is there a link that someone who already has an account would use? Maybe the login page directly before the WDC?


Fixed search link when update to Docusaurus 3.4.0

Fix both search page and search bar with footer link to search page - AnonID.TOP

Hi thanks for finding out what's wrong with issue #408 , but we'd better make the h in the search index file to be trimmed instead, to save network transfer size when searching on the page.
That's: https://github.com/easyops-cn/docusaurus-search-local/blob/c5b1c299d5209a1d15663697c34f7886ff59706f/docusaurus-search-local/src/server/utils/parseDocument.ts#L42

Hi thanks for finding out what's wrong with issue #408 , but we'd better make the h in the search index file to be trimmed instead, to save network transfer size when searching on the page.
That's:
https://github.com/easyops-cn/docusaurus-search-local/blob/c5b1c299d5209a1d15663697c34f7886ff59706f/docusaurus-search-local/src/server/utils/parseDocument.ts#L42

It's okay, it took me all night to understand how your code works, figure out how to get rid of the redundancy in the h value, and that's the best I could find and do. It's great that you have a better and more optimal solution. Thank you for your solution.

Yes, the codebase is quite complex. I'll try to do the fix based on your PR, since I have some other considerations about this fix.

Yes, the codebase is quite complex. I'll try to do the fix based on your PR, since I have some other considerations about this fix.

Okey, if we don't use file link in h value, remove it in h is best choise for search performance


I can't simulate an event

Hi guys!
I'm trying to simulate the event onValueChange from Switch but I receive this when I use mount() (shallow is working):
TypeError: ReactWrapper::simulate() event 'valueChange' does not exist
And this is what I wrote:
const filter = wrapper.find(Filter).at(itemIndex)
filter.find('Switch').simulate('valueChange')

Any idea?
Many thanks!

Check out the upstream issue at https://github.com/airbnb/enzyme/issues/1341. Enzyme can't currently simulate events it doesn't know about when using mount(). You can accomplish the same thing you're trying to do with filter.find('Switch').props().onValueChange(), passing in an event object you create as needed.

This is what I did but it does not seem a nice solution when for shallow I call simulate() and for mount I call the prop.
Thanks @TAGraves


TextField does not support multiline or change of input type

The uif-textfield directive should have multiline support, and also allow the specification of the type. (Eg. a password field)

Makes sense, yes.
The code changes in the PR look good to me (https://github.com/ngOfficeUIFabric/ng-officeuifabric/pull/226). Please fix the issues raised there and submit another PR.


Add .nvmrc

Specify the node version required to run the app.
While the docs mention that Node 14 is required, Node 14.17.0 is the minimum version required to run the project, adding .nvmrc allows to pick such a version automatically by nvm.

I didn't touched src/locales/translations, I have no idea how this got committed because I didn't commit the changes.

I didn't touched src/locales/translations, I have no idea how this got committed because I didn't commit the changes.

translations come in on yarn install


RL-AL with Reinvent4

HI all,
Thank you for this wonderful tool. I have recently moved on to REINVENT 4, and it allows me to easily used various custom models and scripts, among others. I am wondering if you are planning to update the tool to use REINVENT4. Thanks.

Moreover, I have tried the code, but it seems it is missing the reinvent_models module, which was not mentioned in the setup docu. I was hoping to pull in the reinvent-models package from GitHub, but that one does not have molformer, which is required. Could you please advise as to what steps to take here?

Hi,
many thanks for your interest in REINVENT and welcome to the community!
I assume that by AL you mean active learning.  At the end of the day this is a workflow solution where REINVENT is just one component.  We do not really have plans at the moment to provide a ready-made workflow for this.
The priors are located in the priors/ directory in the repository.
Many thanks,
Hannes.

Just to add to what Hannes mentioned, AL is separate layer that happens "on top" on ReInvent. The work in this repo was started during the end of R3 and so uses the old tools (R3 and Icolos), while we have moved to R4 and Maize. AL functionality is/will be part of Maize going forward, see you example Active learning. Questions about this should be directed to the Maize repo.
We don't have plans to update this repo to R4 as such, but the AL workflow here in Icolos, it should/might work with the Icolos component in R4, since we sill have the legacy function
In response to your second comment, it looks like there is a version/import mismatch in this repo. @Detriatis  - would you be able to patch it? Mol2Mol (renamed from MolFormer) is not needed to run these experiments as they use the basic ReInvent only.
Best,
JP

Hi all,
Sorry for the late reply. I have been on vacation. Thank you very much for your response. This is really helpful. I will take a closer look at Maize. Thank you for your contributions to this field.
Best.
Yannick


Fix documentation in mongodb/query.py

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.05% :tada:

Comparison is base (a9733f1) 78.62% compared to head (cc51146) 78.67%.
 Consider uploading reports for the commit 6e7e615 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #894      +/-   ##
==========================================
+ Coverage   78.62%   78.67%   +0.05%
==========================================
  Files          90       90
  Lines        5783     5783
==========================================
+ Hits         4547     4550       +3
+ Misses       1236     1233       -3

Files Changed
Coverage Δ

superduperdb/db/mongodb/query.py
78.28% <100.00%> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Clarification on supported Android versions

Regarding "for Android 21+" in README, does that mean...

Android 14 (according to Wikipedia, it is the 21st version of Android)?
Android 5.0 (API Level 21)?
Android 12+? (A typo in README?)
Something else?

Thank for the suggestion I'll change to 'Android 5.0 (API Level 21)' in the README. Usually in android development we track only API level


Fix operator remove not working properly

Please provide a description of this PR:
Once I used operator init to init the operator, I try to use operator remove or operator remove --revision default to remove the opeartor, however, neither of them work.
The error is like:
istioctl operator remove --dry-run
Operator controller is not installed in istio-operator namespace (no Deployment detected).
Aborting, use --force to override.

The installed deployments cannot be found because it always adds -default before check the deployment, and actually the   name doesn't contain -default suffix.
Also, this PR makes operator init consistent with --revision=default like other commands.

In response to a cherrypick label: new pull request created: #43175


QoL Improvements

Add current Status Effect
Add whether a move is Physical or Special

I don't believe that adding status effect is necessary in the limited space we have, since that is shown in battle. When outside of battle, the effect of status effects that can kill your Pokémon is apparent as you take steps.
My personal thought is that we should support the Special/Physical/Neutral icons for moves in the future since this will be more important if we grow support out to later generations. However, BizHawk support for systems beyond the GBA is limited at the moment and so I believe that this should be lower priority. Move types are fairly easy to remember for Gen 3 and below because of the "Eeveelutions + Dragon" rule.

In discussions with besteon, I will be working on implementing the Physical/Special/Status attack icons for the moves list and getting it working in Gen 3, which will prepare us for future gens anyway. So look forward to see that soon-ish!


Mark the generated client as an ES Module

Without this, you essentially can't import generated clients into a project that, itself, is an ESModule.

The tests are failing I'm afraid. It might be best to change the build script to export .mjs files for ESM instead.

How about now?


add linux-aarch64

Comment:
What is blocking linux-aarch64 builds?

I guess the answer is "time" from developers or the CIs (6 hour limit).
Some issues I found upstream:

PYSIDE-1812 Allow specifying target sysroot for header extraction when cross-compiling
https://bugreports.qt.io/browse/PYSIDE-802
Eventually they seem to have added basic support for cross compilation: https://codereview.qt-project.org/c/pyside/pyside-setup/+/374068/144

Apparently this is easier to configure in shiboken6 https://bugreports.qt.io/browse/PYSIDE-1033?focusedCommentId=645012&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-645012

Even when trying to use emulation, there seems to be other challengeS:
2022-09-11T16:50:06.4960097Z cd $SRC_DIR/sources/shiboken2/shibokenmodule && $SRC_DIR/sources/shiboken2/build/generator/shiboken2 --project-file=$SRC_DIR/sources/shiboken2/build/shibokenmodule/shibokenmodule.txt
2022-09-11T16:50:07.5309749Z (shiboken) /home/conda/feedstock_root/build_artifacts/pyside2_1662911884633/_build_env/bin/llvm-config crashed:
2022-09-11T16:50:07.5341982Z qt.shiboken: (shiboken) Unable to locate Clang's built-in include directory (neither by checking the environment variables LLVM_INSTALL_DIR, CLANG_INSTALL_DIR  nor running llvm-config). This may lead to parse errors.

It may also be good to backport some patches from ubuntu: https://salsa.debian.org/qt-kde-team/qt/pyside2/-/tree/master/debian/patches

As well as fedora maybe (for python 3.11):

https://src.fedoraproject.org/rpms/python-pyside2/tree/rawhide


Revamp mapping constructor expression context's completions

Description:
$title addressing specific field, computed field name and the spread field contexts.

@nadeeshaan I think we already did this?


CentOSStream8_Online_PreviousSourceBuiltSdk_x64 fails from crossgen2 error

The CentOSStream8_Online_PreviousSourceBuiltSdk_x64 build leg of the VMR is failing with the error described in https://github.com/dotnet/runtime/issues/95768. That issue has been fixed but a rebootstrap of the SDK in the VMR is necessary in order to resolve the issue in the build.

This stage 2 issue needs to be resolved before we can rebootstrap.

Reopening because this error is still occurring despite the changes from https://github.com/dotnet/installer/pull/18126 and https://github.com/dotnet/sdk/pull/37407. See https://dev.azure.com/dnceng/internal/_build/results?buildId=2347529&view=results.

This is due to the changes not being mirrored to the internal AzDO repo. Same thing as https://github.com/dotnet/source-build/issues/3813#issuecomment-1881617678.

This is working now.


viewWillAppear  called for all  view controller after selection 1st to 5th controller

HI,
When i go to 1st view controller to 4th or 5th all controllers  methods(viewWillAppear and viewDidAppear) in the  middle  get called which is shouldn't called.
It makes no sense to get called of middle controller methods if i tap to another controller menu item. only tapped menu item  controller methods should called.

Same problem... Any help to clear memory or just skip other controllers?

I have the same problem too.
When a comment out from L814 to L825 at CAPSPageMenu.swift, I was canceled by the problem.
https://github.com/uacaps/PageMenu/blob/master/Classes/CAPSPageMenu.swift#L814-L825
I don't know what kind of influence there is by this.
But, it seems to be running with no problem.

I agree, that is inappropriate behavior. We will be looking into this.

@MatthewYork : Did you get chance to look into this?


k3s crashes if I do not start the cloud-provider

Environmental Info:
K3s Version:

k3s version v1.29.4+k3s1 (94e29e2e)
go version go1.21.9

Node(s) CPU architecture, OS, and Version:

Linux controller-01 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

(Ubuntu 22.04 on x86_64)
Cluster Configuration:

Single node cluster (for simplicity of reproducing the issue)
Describe the bug:

k3s crashes every ~1:30 with the following error:
May 06 08:54:40 controller-01 k3s[4158]: time="2024-05-06T08:54:40Z" level=fatal msg="network policy controller timed out waiting for node.cloudprovider.kubernetes.io/uninitialized taint to be removed from Node controller-01: timed out waiting for the condition"

Steps To Reproduce:

BIND_IP=<my IP>
INSTALL_K3S_EXEC="\
    --bind-address ${BIND_IP} \
    --advertise-address ${BIND_IP} \
    --node-ip ${BIND_IP} \
    --tls-san ${BIND_IP} \
    --disable-cloud-controller \
    --kubelet-arg cloud-provider=external \
    --disable=servicelb \
    --cluster-init"
curl -sfL https://get.k3s.io | sh -

Install is fine. Because I added --disable-cloud-controller --kubelet-arg cloud-provider=external, it reasonably expects that I will add a cloud-controller, which will remove the taints.
Expected behavior:

I expect it to function. The node continues to have the taint, but k3s should not crash because of that (which, ironically, makes it harder to actually run the cloud-controller)
Actual behavior:

Crash every ~90 seconds.
Additional context / logs:

As described above. k3s is behaving correctly insofar as it expects that taint to be removed. It is causing issues in that it is crashing, rather than simply logging the issue.
As a contrast, run a full k8s (e.g. using kubeadm or "the hard way") with --cloud-provider=external, and it will have the taint. But the apiserver will not crash.

Validated on Version:
-$ k3s version v1.30.1+k3s-7a0ea3c9 (7a0ea3c9)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
Ubuntu
AMD
Cluster Configuration:
-1 nodes
config;

 sudo bash -c 'cat <<EOF>>/etc/rancher/k3s/config.yaml
write-kubeconfig-mode: 644
secrets-encryption: true
cluster-init: true
selinux: true
kubelet-arg:
 - cloud-provider=external
disable-cloud-controller: true
disable: servicelb
EOF'

Steps to validate the fix

start k3s with config above
Validate that it not crashes
Validate nodes and pods

Reproduction Issue:

 k3s version v1.29.5+k3s1 (4e53a323)

  journalctl -xeu k3s.service | grep "timed"
May 31 12:01:41 ip-  k3s[4434]: time="2024-05-31T12:01:41Z" level=fatal msg="network policy controller timed out waiting for node.cloudprovider.kubernetes.io/uninitialized taint to be removed from Node  : timed out waiting for the condition"

$ ^C
 :~$ systemctl status k3s  server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2024-05-31 12:04:28 UTC; 5s ago
       Docs: https://k3s.io
    Process: 4934 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null (code=exited, status=0/SUCCESS)
    Process: 4936 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 4937 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
    Process: 4938 ExecStart=/usr/local/bin/k3s server --cluster-init --token secret --write-kubeconfig-mode=644 (code=exited, status=1/FAILURE)
   Main PID: 4938 (code=exited, status=1/FAILURE)
        CPU: 29.239s

Validation Results:

$ journalctl -xeu k3s.service | grep "timed"
<no logs>

  $ systemctl status k3s  server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2024-05-31 12:11:14 UTC; 1min 42s ago
       Docs: https://k3s.io

:~$ systemctl status k3s  server.service
Unit server.service could not be found.
● k3s.service - Lightweight Kubernetes
     Loaded: loaded (/etc/systemd/system/k3s.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2024-05-31 12:11:14 UTC; 3min 1s ago
       Docs: https://k3s.io
    Process: 6502 ExecStartPre=/bin/sh -xc ! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null (code=exited, status=0/SUCCESS)
    Process: 6504 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
    Process: 6505 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)

$ k get nodes,pods -A
NAME                   STATUS   ROLES                       AGE   VERSION
node/ip-   Ready    control-plane,etcd,master   4m    v1.30.1+k3s-7a0ea3c9

NAMESPACE     NAME                                          READY   STATUS    RESTARTS   AGE
kube-system   pod/coredns-576bfc4dc7-qmzhb                  0/1     Pending   0          3m43s
kube-system   pod/helm-install-traefik-crd-6kdnn            0/1     Pending   0          3m44s
kube-system   pod/helm-install-traefik-tlcb2                0/1     Pending   0          3m44s
kube-system   pod/local-path-provisioner-75bb9ff978-zl25s   0/1     Pending   0          3m43s
kube-system   pod/metrics-server-557ff575fb-qkqgj           0/1     Pending   0          3m43s


Potentially support SBtab-style of headings for nested tables for *-to-one relationships

Example:
!ClassAttribute:RelatedClassAttribute

':" are allowed in the verbose names of attributes, and multiple attributes can have the same prefix to their verbose names.
However, unlike groups of columns that have a common heading that represent a *-to-one relationships, the ':' has no semantic meaning to obj_tables. Sets of attributes that have common prefixes to their verbose names and colons in their verbose names are simplify treated as unrelated attributes without any encapsulation into a related class.


Don't report 404 to New Relic

Howdy from Release Ninja! You should write a release note targeted at a semi-technical end user who is
not familiar with the code base. Include at least 1 image, wherever possible. Review the help article if
you are not familiar with Release Ninja.
When your pull request is ready, do one of the following:

Notify Release Team
Don't notify anyone because it's a small change or doesn't concern them
Whatever you do though, make sure you :tada:

This isn't actually reporting to our NR, so no need for the change. Closing


Unsupported @updatedAt attribute

The plugin treat @updatedAt attribute as an error and stop inspecting the code after.
https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#updatedat
This is the error I get:
<model block statement>, PrismaTokenType.DOUBLE_COMMENT, PrismaTokenType.ENTITY_NAME, PrismaTokenType.EOL, PrismaTokenType.MODEL_FIELD_ATTRIBUTE_NAME, PrismaTokenType.TRIPLE_COMMENT or PrismaTokenType.} expected, got 'updatedAt'
DateTime and String not being formatted because it stops in the error

I also am running into this.  Any word on where it stands?

Yes, this was not documented in the Prisma schema reference when I first implemented this plugin.
There are other attributes that made them to the spec since then as well, such as @ignore/@@ignore that appeared last month.
I will update the plugin's grammar to take them into account – I wish there was a way to subscribe to changes of this reference 😓

Update 1.0.3 of the plugin has been pushed to Jetbrains Plugins and is awaiting approval!


KiCat 7 fails with "DA_TEXT_GetEffectiveTextShape() takes no keyword arguments"

This happens with the Kicad 7.0 release candidate

Thanks!

Thanks for the report, this was caused by change in kicad that I fixed in https://gitlab.com/kicad/code/kicad/-/merge_requests/1437
Next nightly or rc should work fine.

It works again. Thanks!


[feature request] Opensource QBasic maybe?

QBasic is my sweet childhood memory. I'd like to see it having a new life, perhaps with WebAssembly.
Not sure if this type of request should be submitted here. My apologies if it shouldn't.

I don't believe that this Repo is the right one and that name was a REAL blast from the past LOL!
I performed a quick search and the following Repo looks like it may be the right one, but it doesn't seem to be very active.
https://github.com/texttheater/QBASIC
I think there's a few developers somewhere on Github that has been maintaining the QBasic under the same or different name.
I'm not 100% sure where, but maybe someone here can provide you with a little guidance on where you can go.
I do wish you the best of luck! :-)
~Ibuprophen

Quickbasic still lives on:
https://github.com/Galleondragon/qb64
There's even support for modern hardware, 64 bit processors, networking, and more.

There is also https://www.freebasic.net/
It has a QuickBASIC mode. But QuickBASIC is actually an extended qbasic.
Sent from Yahoo Mail on Android
On Fri, Oct 11, 2019 at 1:03 AM, Dwight<EMAIL_ADDRESS>wrote:
Quickbasic still lives on:
https://github.com/Galleondragon/qb64
There's even support for modern hardware, 64 bit processors, networking, and more.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

As others have kindly pointed out, there are many modern, thriving BASIC alternatives which I think you'll have much more productive fun and enjoyment from ;)


change create timestamp on share

When a item is share set the create timestamp to the request timestamp. In this way, recently shared items will be showup on top of the target user CAST

Best not


Cannot install v2.26.0 on macOS 10.12.6

I have tried brew install and make from source code, neither could work.
The error are shown exactly the same as in this post:
https://github.com/Homebrew/homebrew-science/issues/6334
Any solutions will be really helpful. Thank you very much!

this has been reported for the macports build too: https://trac.macports.org/ticket/54896#comment:5

Same here. Long time user of BEDtools. Just got a new Mac - 10.12.6 OS. Can't successfully install bedtools. Tried:

git clone
latest release
brew install

macports should work.
Sent from my iPhone

On Oct 12, 2017, at 17:51, John Urban<EMAIL_ADDRESS>wrote:
Same here. Long time user of BEDtools. Just got a new Mac - 10.12.6 OS. Can't successfully install bedtools. Tried:
git clone
latest release
brew install
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I got this error when trying to install bedtools v2.26.0 on Mac 10.12.6:
http://lpaste.net/359206
First error:
In file included from ./StrandQueue.h:11:
/Library/Developer/CommandLineTools/usr/include/c++/v1/queue:405:5: error:
static_assert failed ""
static_assert((is_same<_Tp, value_type>::value), "" );
^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Clearly I need a new MacBook as well.  Have you tested with this patch: https://github.com/arq5x/bedtools2/pull/574

@arq5x I tried the patch 574 and it does fix this problem

Thank you - I will integrate ASAP

The build advanced farther, but now I get this error:
- Building main bedtools binary.
Undefined symbols for architecture x86_64:
  "StrandQueue::pop(Record::strandType) const", referenced from:
      FileRecordMergeMgr::tryToTakeFromStorage(Record::strandType) in FileRecordMergeMgr.o
  "StrandQueue::top(Record::strandType) const", referenced from:
      FileRecordMergeMgr::tryToTakeFromStorage(Record::strandType) in FileRecordMergeMgr.o
  "StrandQueue::top() const", referenced from:
      FileRecordMergeMgr::tryToTakeFromStorage() in FileRecordMergeMgr.o
  "StrandQueue::empty() const", referenced from:
      FileRecordMergeMgr::eof() in FileRecordMergeMgr.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [all] Error 1

@roseperrone - have you tried make clean; make

I can confirm that the latest git clone installs on Mac OS 10.12.6.
Thanks for your continued dedication to BEDtools Aaron et al.

Not at all, thanks for reporting.

@arq5x make clean fixed the problem. Thanks!

Hi,
I have downloaded the latest version of bedtools: bedtools-2.26.0.tar.gz on macOS Sierra 10.12.6, unzipped it and moved the unzipped folder to: /Applications/bedtools2-2.26.0. I then got the patch that should allow me to compile it:
cd /Applications/bedtools2-2.26.0/
curl -L https://github.com/arq5x/bedtools2/pull/574.patch > /tmp/574.patch
git apply /tmp/574.patch
I then ran make clean
make clean

Cleaning-up BamTools API
Cleaning up.

followed by make, but I get this response
bedtools.make.output.txt
:
When I type "which bedtools", I do not get a path, and when I try to use the bedtools:
bamtofastq -i 008.minus.UNmapped.bam -fq 008.minus.UNmapped.fastq
-bash: bamtofastq: command not found
Can you please tell me where I am in error?
Thank you,
Kathie


Add examples for the array langlib - Take II

Purpose
$title. In an expression-oriented style.
Original PR - https://github.com/ballerina-platform/ballerina-lang/pull/38892

I think we have to make a decision on what is our goal and whom we are targeting with our examples. I still believe,  examples in API docs should be simple and easy for any kind of users to understand. It is OK to write the examples by showing the best practices of the language. But I feel we shouldn't consider that as the first priority. Our first priority should be helping users with easily understandable code snippets.

Cover error/panic scenarios where applicable/useful too.
Use ⇒ error or ⇒ panic. Can't include the toString representation of the error since it depends on the implementation.

New PR to 2201.3.x - https://github.com/ballerina-platform/ballerina-lang/pull/39073


Step 1: Assign yourself

Step 1: Assign yourself
Unassigned issues don't have owners to look after them. When you’re assigned to an issue or pull request, it tells repository visitors and contributors that you'll be facilitating the conversation or task :muscle:.
:keyboard: Activity

On the right side of the screen, under the "Assignees" section, click the gear icon and select yourself

For a printable version of the steps in this course, check out the Quick Reference Guide.

I'll respond when I detect you've assigned yourself to this issue.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.

Sent from my SM-T720 using FastHub
Originally posted by @github-learning-lab[bot] in https://github.com/fatash89/github-slideshow/issues/1#issuecomment-930050367

Step 1: Assign yourself
Unassigned issues don't have owners to look after them. When you’re assigned to an issue or pull request, it tells repository visitors and contributors that you'll be facilitating the conversation or task 💪.
⌨ Activity

On the right side of the screen, under the "Assignees" section, click the gear icon and select yourself

For a printable version of the steps in this course, check out the Quick Reference Guide.
I'll respond when I detect you've assigned yourself to this issue.

Sometimes I respond too fast for the page to update! If you perform an expected action and don't see a response from me, wait a few seconds and refresh the page for your next steps.

Sent from my SM-T720 using FastHub
Originally posted by @github-learning-lab[bot] in fatash89/github-slideshow#1 (comment)


Suggestion: Use color picker rather than sliders on terrain panel?

The RGB sliders are a bit cumbersome to work with, might be easier to have the colour picker for terrain textures?
Note: This would obsolete #1

Terrain colors are not colors, they an OFFSET of the terrain texture color, so it cannot be a color picker.
They are just floating point amounts to shift the texture pixels color by.


Please contact me,

Hello, I would like to chat with you
<EMAIL_ADDRESS>

Email sent

Hey I did not gotten any email


Improve server errors

For example, while testing Create Invoice:

I screwed up serialisation and had it sending [parcels] instead of [parcel].  Got a 400 and no hint as to why.
I forgot that a successful test would create the bindle, and so was at a loss when running the test again gave me a 400.

In both cases, a clear error message would have helped.
Also, in the second case, consider 409 Conflict instead of 400 Bad Request.  It was a perfectly good request, just the resource already existed and couldn't be overwritten.
(If Bindle is sending a clear error message and Axios is throwing it away on the client, then feel free to close this issue.)

I verified that if the error is that the file exists, it currently sends a 409, not a 400. I am checking to see if there is another cause of a 400 if the only problem is that the invoice already existed.

Yeah, I see what you mean. Lots of the response codes that are coming back from the server just don't make sense. I am, for example, getting a 404 when I push an invoice... and zero reason why that's a 404 instead of a 400, 409, or 500. Furthermore, nothing is logged on the server, either.

So at least part of my problem was that I was using the wrong BINDLE_SERVER_URL (See #126). Will keep hunting for error issues and see if I can fix the problems reported here.

I think we've improved this quite a bit at this point, correct? Is there any outstanding work that needs to be completed to mark this as complete?

Going ahead and closing this. Other error improvements have been captured in other issues


Question about print scheduler

Hello,
May I know the list and forms of commands which could be launch before and after print in the parameters of plugin ?
Thx in advance
Michel

This is a very broad question. The gcode section can run any command that your printer supports, a good reference would be here. The system commands section in settings will depend on the OS that OctoPrint is installed on, but in general can run any command that your OS supports.

Hi,
Thank you for your quick reply.
For the OS and gcode commands, I can imagine it, but I thought there could,
for instance, be commands to switch off or on the printer, the light, i.e.
other commands than those mentioned.
Best regards
Michel CHEMLA
Le lun. 29 mai 2023, 21:58, jneilliii @.***> a écrit :

This is a very broad question. The gcode section can run any command that
your printer supports, a good reference would be here
https://reprap.org/wiki/G-code. The system commands section in settings
will depend on the OS that OctoPrint is installed on, but in general can
run any command that your OS supports.
—
Reply to this email directly, view it on GitHub
https://github.com/jneilliii/OctoPrint-PrintScheduler/issues/44#issuecomment-1567468179,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANB5O4AWRSJC4E3MFN2VFXLXIT5VTANCNFSM6AAAAAAYTCZBRE
.
You are receiving this because you authored the thread.Message ID:
@.***>

oh yeah, some of the known plugins that control power have examples. don't really have any more than what's documented here in the wiki.


Add negative integer check when using ASN1_BIT_STRING

The negative integer check is done to prevent potential overflow.
Fixes #20719.
CLA: trivial

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

I am okay calling this trivial.
I'll also note that passing incorrect arguments to a function is consider a problem in the caller not OpenSSL, although we do generally address these.

Just a note: fixup commits are preferred to force pushes.  We squash them down during merge and it makes it easier to re-review.

Probably a daft question: is it documented somewhere that these functions don't work on negative numbers?
And it might not be relevant for ASN.1 integers, but certainly in C, -1 has all bits set :)

@paulidale please reconfirm

Probably a daft question: is it documented somewhere that these functions don't work on negative numbers?
And it might not be relevant for ASN.1 integers, but certainly in C (on the much-more-common two's complement systems) -1 has all bits set :)

The n indicates the number of the bit to set - negative numbers do not make any sense for the parameter.

This pull request is ready to merge


[dy] Read DB credentials from AWS secret manager

Description

Add a way to populate the db_connection_url from AWS secret manager. The environment variable is called AWS_DB_SECRETS_NAME, and expects the name of the AWS secret manager secret. I will update the documentation once this PR is finalized.
How Has This Been Tested?

[ ] Tested locally with AWS secret manager

Checklist

[x] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[x] I have performed a self-review of my own code
[ ] I have added unit tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation

cc: @wangxiaoyou1993

Was this PR tested?

@wangxiaoyou1993 updated


FatalErrorException in Model.php line 986: Class 'App\Role' not found

My routes.php file
<?php
use App\models\User;
use App\models\Permission;
use App\models\Role;

Route::get('/roles', function()
{
//code
}

Role.php model file

<?php
namespace App\models;

use Zizaco\Entrust\EntrustRole;

class Role extends EntrustRole
{

}

i found error like this

FatalErrorException in Model.php line 986: Class 'App\Role' not found

Help me please.

I can see you are storing your models in App\models have you updated your config to reflect this? Have a look in config/entrust.php and check that the paths to your models are OK.


Feature Request: Allow exemptions to Exempt by Username/Groups

Currently you can only create policies that exempt particular usernames/groups from taking a particular action by modifying criteria (and generally duplicating policies)(source). This is non-ideal for two reasons. First it's a bit of an anti-pattern to create different criteria to do exemptions. Second with some policies being uneditable you'd have to duplicate policies which could lead to drift in the detection logic that would be undesired.
Ideally the exclusions logic would support something that looks like this:
    {
      "name": "Don't Alert for blah blah blah",
      "deployment": {
        "name": "",
        "scope": {
          "cluster": "",
          "namespace": "action_expected",
          "label": null
        },
        "actor": {
           "username" : "some username or username regex",
           "groups" : "some group or group regex"
        }
      },
      "image": null,
      "expiration": null
    },

Hi @chalbersma,
we are currently in the process of enhancing policy management. We plan to add a feature that allows you to define a construct e.g "My stuff" which will be a collection of deployments (by name, label, NS, etc.). In policy management, instead of including/excluding deployments explicitly, you will apply policies to "My stuff". This removes the need to do the exclusion in each policy.
I hope this addresses your concerns.


Update GreetingController.java

:star: PR built and available in a preview chanmi910-jx3-msa-01-pr-13


Thoughts on implementing a/b testing with Middleman?

Is there a solution yet for a/b testing for middleman and are there thoughts on this subject?
I was planning to write something to handle this but before making this contribution perhaps there is already something out like that?

A pretty straight forward approach would be to create an environmental variable and use it in templates.
MODE=b bundle exec middleman build

Where config.rb is something like:
set :build_dir, ENV['mode'] == 'b' ? 'build/b' : 'build/a'

And template are like:
<% if ENV['mode'] == 'b' %>
   CTA 1
<% else %>
  CTA 2
<% end %>

This is so cool! Thanks for this trick :+1:

Could also use https://github.com/splitrb/split at the rack level


Project Documentation

I would really love to start some project documentation.
The documentation should mostly be about internal concepts, so developers can easily understand why and how things are meant to work.
For example the implementation of SessionState, Scope, ExecutionContext, Format/Output, Modules, and Providers are things that were quite tedious to figure out in order to both make sense and still be (mostly?) Powershell compatible. It would be a pity if these information get somehow lost and others cannot easily adopt them. Although I blogged about some of this stuff, a developer oriented documentation within the project would be a better place.
We could also add some user documentation about existing differences to Powershell.
Any ideas about an easy format to do this?  I don't like "complex" HTML for this. Also, the source isn't a good place for longer explanations.
Maybe just some markdown files in a documentation folder? Concepts that aren't clear in the documentation could be questioned/commented on by issue requests and then the documentation can be improved step by step.
However, I'm not familiar with common approaches to this. Is anybody here? If not, I'd simply start the way I described.

Should we make it available on the Pash website? Currently there is a FAQ page and an install page both written in markdown.

At least displaying it as part of the website is a good idea, I think.
But is it possible to reference markdown files from the Pash main project in the website? I think it feels somehow better if the relevant information stay inside this project itself, and the project should be a project to present these information even nicer.

Would definitely be a welcome addition. The specification as the only (more or less) documentation sometimes is indeed not enough.
Markdown would be quite fine, I think, as long as we don't need complex formatting. In any case, it's much easier to transition from MD to e.g. Docbook, later, if we need extra flexibility.
I guess for now we can start with explaining certain concepts or areas in isolation and worry about structuring it properly a bit later.

+1 for markdown.
Documents/ folder sounds fine to me.
-J on a mobile device
On Feb 23, 2015 5:12 AM, "ygra"<EMAIL_ADDRESS>wrote:

Would definitely be a welcome addition. The specification as the only
(more or less) documentation sometimes is indeed not enough.
Markdown would be quite fine, I think, as long as we don't need complex
formatting. In any case, it's much easier to transition from MD to e.g.
Docbook, later, if we need extra flexibility.
I guess for now we can start with explaining certain concepts or areas in
isolation and worry about structuring it properly a bit later.
—
Reply to this email directly or view it on GitHub
https://github.com/Pash-Project/Pash/issues/351#issuecomment-75538367.

Alright, I will start with some simple documents. Structure and website integration can then follow.


ci: slither ignore foundry compilation

Ignore foundry compilation when running slither as a CLI and in CI.

Summary by CodeRabbit

Chores

Updated GitHub workflows to use yarn build instead of yarn compile for consistency in build processes.
Added configurations to improve workflow execution for Slither and testing.

Refactor

Modified package.json scripts to streamline testing by removing redundant compile steps.

Configuration

Added and adjusted Mocha timeout settings to enhance test reliability.

@fbac @lumtis nodejs is bumped to 20 and i removed test:prototypes step because it is inlcuded with yarn test and i removed yarn forge from test workflow for now, when we add more tests we should add it as separate job

LGTM!


codereview: fix dns mistask

What type of PR is this?
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/cherry-pick release-0.4

/lgtm

/close


Detected code that calls async_forward_entry_setup for integration uhoo - This will stop working in Home Assistant 2025.1

Version of the custom_component

0.0.5
Configuration
Add your logs here.

Describe the bug
During component setup HomeAssistant prints a log warning claiming a currently used functionality is going to stop working in january 2025
Debug log

2024-10-24 22:46:30.875 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration uhoo with title<EMAIL_ADDRESS>and entry_id: ********************, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

better to do requested changes before it breaks 😅


Support converting animated GIFs to WEBP

I have some large GIF animations that I would like to post to my website. Currently, when trying to convert animated GIFs to WEBP, HUGO only processes the first frame (which is unexpected behaviour, perhaps a warning message would be appropriate?).
I think being able to retain animations when converting from GIF to WEBP would be a very useful feature.

perhaps a warning message would be appropriate?).

Yea, maybe. But you do see the end result in the browser.
Yes, we should fix this. We should also support the case where the source is webp, which is tied into https://github.com/golang/go/issues/53364