Refactor anko.go part 1

To make testing much easier, refactoring anko.go. Will have a part 2 after this.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #214   +/-   ##
=======================================
  Coverage   83.65%   83.65%
=======================================
  Files          42       42
  Lines        2887     2887
=======================================
  Hits         2415     2415
  Misses        327      327
  Partials      145      145

Continue to review full report at Codecov.

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

Please review again

LGTM. Thanks.


[turbopack] Crash build on importing sqlite3

What version of Next.js are you using Turbopack in?
13.4.19
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Windows
Describe the Bug
Importing and using sqlite3 library in server component using turbopack results in an error
Using next dev without --turbo importing everything right

Expected Behavior
Import sqlite3 in server components work
To Reproduce
Run npm i sqlite
Add server component app/page.tsx
import sqlite3 from 'sqlite3';

export default function Page() {
  console.log(sqlite3.READONLY);
  return

;
}

Run next dev --turbo
Reproduction Repo
No response

This works now 💯
Added a test case here: https://github.com/vercel/next.js/pull/61845


Implement std::size and std::ssize for C-style arrays

C++17 and C++20 defines template functions for deducing the size of C-style arrays. I've found this useful and the implementation is simple (pretty much identical to the implementation on cppreference).

LGTM, anyone else have objections to merging this? Alternatively it could live in cxxshim?

Don't hijack std:: in frigg

Don't hijack std:: in frigg

i.e this could be changed to use the frg namespace or you could send a PR to cxxshim and put it there instead.

Don't hijack std:: in frigg

yeah, not sure what's preferred here. I wanted it to match the corresponding get functions that were also overloaded in the std namespace + thought it fit better in frigg since the standard library defines these functions in <array>. Up to the maintainers where they want it to go.

<array> is included in freestanding in GCC 13.  Either use GCC 13 snapshots (and more testing is always nice :) or a hack (though, you'd need to add it to this hack in particular).
Either way, frigg should not clash with the standard, and more conservatively, the standard namespace.
I recommend the GCC 13 route if you can afford using a compiler with potential regressions (and, again, finding and reporting such regressions is invaluable).

oh, also, FTR: adding stuff to std:: is explicitly UB, unless it's to specialize existing templates like is the case for std::get and std::tuple_{size,element}, which is why frigg works in hosted environments without this overload added.


Decrease neural network size to 7 intermediate layers

To increase inference and training performance decrease the number of intermediate layers to 7 instead of the current 19. This should give about a 2.71x speed-up, but such a small network might not be able to learn anything useful.

With a batch size of 1024 and learning rate starting at 3e-3 the training process is currently at the following values after about 100,000 steps:

Policy accuracy: 47.2% / 72.5% / 80.9%
Value accuracy: 65.5%
Loss (total/policy/value): 2.97 / 1.93 / 0.83

These numbers are surprisingly fine and somewhat comparable to the full 19 layer network, some of this might be attributed to the large batch size, low learning rate, and increased regulation coefficient. So regardless of the final results some of these hyper-parameters might be worth carrying over to the normal network.

After matching this newly trained network against the 19 layer network, a final score of 15 - 4 in favour of the 19 layer network was obtained. This is too large of a difference to accept the smaller network as the best.
Looking at some of the games, what seems to be happening is that the networks gets into a fight, but the 7 layer network loses once the fight gets larger than its peripheral vision. If this is true, then we cannot run any network size smaller than 19 intermediate layers as that would result is this problem appearing again only at a larger scale.
dg-19-vs-7.zip


import should fix a two package JSON structured app

If import detects a two package JSON structured app it should

[ ] Attempt to collapse the directories

[ ] Prompt on conflicts

[ ] Merge the package.json files
[ ] Inform the user why this is a good thing 👍

This will be a lot of code for minimal gain, especially as two package JSON apps are not really a thing anymore (since builder stopped reccomending them)


Requesting Forge Port of Portal Cubed

Dear Devs,
I have been a fan of Portal and Portal 2 for quite a long time, and also play lots of Minecraft, and this mod seems like the perfect mod for me to use to enjoy the portalling in Minecraft.
However unfortunately there is another mod I really like (Cracker's Wither Storm Mod) which is for Forge only.
I wanted to ask if it's possible to make a Forge port of this mod? Because I'd really love to try it out!
Greetings

we might at som point idk


Webhooks test 2

Auto comment from asv run

Auto comment from asv run

Auto comment from asv run

Auto comment from asv run

Automated report from asv run
Run completed successfully. Results available at:
powertrip.mggen.nau.edu:5000/runs//home/anders/code/autobench/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Run completed successfully. Results available at:
powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Run completed                         successfully. Results available                         here

Automated report from asv run
Run completed                         successfully. Results available                         here

Automated report from asv run
Run completed                         successfully. Results available at
[powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html]                        (powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html)

Automated report from asv run
Benchmark run completed successfully. Results available at
powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

link

link

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:6000/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5001/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5001/runs/anderspitman/webhooks-test-2/html/index.html

Automated report from asv run
Benchmark run completed successfully. Results available at
http://powertrip.mggen.nau.edu:5001/runs/anderspitman/webhooks-test-2/html/index.html


How to change the status URL sent to Github?

We have an internal Jenkins running some testing on a Github project's PRs.  There is, unfortunately, no possibility of being able to expose our Jenkins to the outside world.  This is obviously problematic when Jenkins finds a problem -- it can set a "Failed" status on the PR commit, but none of our external collaborators can see the details of the actual problem (since they can't reach our internal Jenkins instance).
To work around that, we came up with the scheme of publishing our build logs to gists (see https://gist.github.com/cisco-usnic-bot).  This allows our external collaborators to see the full build log via gist (since they can't see our Jenkins) -- it's quite useful.
I'd really like to be able to associate the gist URL with the commit status.  Is there a way to do that?
Specifically, I see the Jenkins GHPRB Advanced config field named "Published Jenkins URL", which lets me change the base of the commit status URL that is sent back to Github.  But GHPRB appends the rest of the Jenkins-form URL after that base URL (e.g., job/JENKINS_JOB_NAME/JOB_ID/).
Is there a way I can tell GHPRB to wholly replace the status URL with a URL that I provide?  Since we use gists, we need to generate a unique URL during every job run -- i.e.,  we generate the gist URL in the Build/Execute Shell phase of our Jenkins job.
Thanks for any advice you can provide.

I think you would want to use the GitHub plugin to do that.  You can also append a portion of the build logs to the comment that gets made when the job fails.
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+Plugin
http://stackoverflow.com/questions/14274293/show-current-state-of-jenkins-build-on-github-repo/26910986#26910986

It looks like that will just give you the status, not a custom message.
The plugin is set up to use extensions now, so you are welcome to add one that will do just what you want, and add it to the extensions.status package.

I'm sorry, I don't think I was clear.  I was specifically referring to the "Details" link at the bottom of GH PRs.  That link is being set to the URL of our internal Jenkins server.
Specifically, I'd like to provide a per-job value for the target_url in the JSON that is being sent back by GHPRB to set the commit status (i.e., the gist URL that I generate during my job build steps).

I am pretty sure we are on the same page.  The status update is what sets that details link, or the icon to the right of the commit.  Right now it is just set to use the internal url, but an extension would allow that to change to whatever you want.

Ah, ok.
Any suggestions for how I would do that in an extension?  (forgive me; I'm unfamiliar with the GHPRB extensions...)  Is there a "usual" way for a child process to pass some info back up to Jenkins (other than the exit status of the build script)?

Use this file as a starting point.  You just have to handle updating the status when the build is scheduled, starting, and complete.
https://github.com/jenkinsci/ghprb-plugin/blob/ghprb-1.23.2/src/main/java/org/jenkinsci/plugins/ghprb/extensions/status/GhprbSimpleStatus.java

Ok, we'll have a look at that.  Thanks!

I think I will just add it to #113 since it hasn't been merged yet.

Sweet; thank you!
Do you have a guesstimate on when this will be in a published release of GHPRB?

The changes landed in build 1.24 and will be in the update center within the next few hours, whenever their process runs next.

I've updated my Jenkins to use 1.24 of GHPRB and I'm a little confused at to how to do what I want.
Forgive me -- I might have used the wrong terminology to define what I want to do.  I see this screenshot:

I think I said "job" earlier in this issue when I really should have said "build".  I.e., I have build-specific output that I want to include in the details/status link on github (in this case, I dump my build log to a gist that is specific to that build).

The "Commit Status URL" will be resolved when the plugin updates the status of a commit.  If you put an environment variable in there then it will be resolved during the build

How do I set an environment variable from my build steps (potentially executing on a separate slave node) that the GHPRB plugin will see?

I recommend using https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin, then you can inject variables at any stage of the build using a properties file, a properties script, a groovy script, or a groovy file.

Sweet.  Let me go check that out.
(many thanks for your patience and all the help!)

I'm checking how to use the Commit Status URL box in the GHPRB global configure section.
It doesn't seem to have any impact on the link pointed to by details.  Do I need to supply values for
the other two fields - Commit Status Build Triggered and Commit Status BuildStarted?

So it looks like I forgot to add the getter for the field, so the configure page won't show the url you saved.  I just fixed it locally and will release a patch, but the functionality should still work.
https://github.com/DavidTanner/Testing/pull/12
Currently the last status details is for google.com, which is what I saved in the config.

@jsquyres I want do the same thing as you have done, pushing our jenkins(behind firewall) console logs to a gist & then publishing it using custom url. I have figured the custom url part but i am not sure how should i push the console logs to gist. It would be great if you can let me know how you did that. Thank you

@jeevandev We just use a CLI gist uploader -- https://github.com/defunkt/gist.

@jsquyres perfect thanks, i was trying to do it using groovy & bash


Event Viewer Path Incorrect

Path in the document 'Applications and Services Logs\Microsoft\Windows\Microsoft\Authentication'
Actual path 'Applications and Services Logs\Microsoft\Windows\Authentication'

Using the GitHub search feature, I can confirm that are no documents belonging to this repository containing the reported incorrect path, only the correct path.
I believe this issue has been resolved via a different ticket.

#please-close

#please-close

#please-close


Serialize insertions of snapshot entries

As of 0.7.5, RaftStorage is required to manage the snapshot_index. Here is the code from Rocks-backed.
    async fn insert_snapshot(&self, i: Index, e: Entry) -> Result<()> {
        let _token = self.snapshot_lock.acquire().await;
        let cur_snapshot_index = self.get_snapshot_index().await?;
        if i > cur_snapshot_index {
            let cf1 = self.db.cf_handle(CF_ENTRIES).unwrap();
            let cf2 = self.db.cf_handle(CF_CTRL).unwrap();
            let mut batch = WriteBatch::default();
            let b: Vec<u8> = e.into();
            batch.put_cf(&cf1, encode_index(i), b);
            let b: Vec<u8> = SnapshotIndexB(i).into();
            batch.put_cf(&cf2, SNAPSHOT_INDEX, b);
            // Should we set_sync true here? or WAL saves our data on crash?
            self.db.write(batch)?;
        }
        Ok(())
    }

This is too perplexing for implementor because it is not clear about whether the entry insertion needs to be atomic with the index update or what is the constraint on the partial failure. Particularly, requiring atomicity on the backend is too strong.
My idea is removing snapshot_index from RaftStorage and manage it by core as well as last_applied and commit_index.
struct Log {
    storage: Box<dyn RaftStorage>,
    ack_chans: RwLock<BTreeMap<Index, Ack>>,

    last_applied: AtomicU64, // Monotonic
    commit_index: AtomicU64, // Monotonic

This is possible because only requirement for snapshot_index is that it is monotonically increasing. It doesn't need to point to the newer snapshot entry if it exists.

done.


Support for Older Android Versions

As I can see, the CameraX library was designed to work with as far back as Android 5, however Secure Camera requires at least Android 10, which prevents me from testing it with my devices, running Android 7.1.2 (Nexus 4, LG G3) and 9 (Razer Phone 2) respectively.
How feasible would it be to add support for older versions, should it make sense to do so?

We're not planning on supporting anything older than Android 10 for Camera. It uses MediaStore APIs which were introduced in Android 10 and we don't want to use legacy storage.
Android 9 is the oldest version with security support and will be the new minimum across our apps soon.

We're already having a lot of trouble supporting devices with poor Camera2 API support.

That is certainly understandable.
Thanks for the answer, I hope that I'll manage to install a custom ROM on my Razer Phone 2 as soon as possible (I have been doing this for years, however for some reason, since Android 8, I keep getting bootloops on custom ROMs, regardless of the device, with no apparent rhyme or reason (just randomly, it could start after 1 day, 1 week, or anything in between and beyond), except for my Razer Phone 2, where I keep getting bootloops immediately upon flashing custom ROMs ( TWRP work fine, though)).

@moriel5 did you find a way to solve your issues? I am in the very much same situation.
Actually I am considering forking this repo just to compile the camera for older API (my target would be API 25) while disabling (instead of fixing/patching/shimming/polyfilling) all incompatible functionality (even if it would make the camera not useful - I am interested in testing the camera behavior first; not trying to use it to actually save pictures).
What do you think?
Admittedly my primary motivation is the "zero shutter lag" feature of Secure Camera from GrapheneOS. But maybe that particular functionality is not available on older devices (or maybe on no devices except for Pixels; IDK).

@dumblob To say the truth, I haven't yet found the time to try replacing the ROM again (too many real-world things to take care of, many of which are also related to tech, such as rewiring network cables in the walls of our house).
If you do fork Secure Camera, I would love to test it out, as I haven't yet found the time to understand how to compile Android apps (I'm used to compiling with CMake, Ninja and Make, especially when packaging software for Solus, but not with whatever is required for Android).
Regarding features, that shall be seen.

You just need to run ./gradlew assembleRelease and you need OpenJDK installed for Gradle to work. You may also need the Android SDK set up, but I haven't tried without it and it may be able to fetch that itself. Gradle will fetch the dependencies including fetching a compatible OpenJDK toolchain if you don't have one. You then need to sign the release if you didn't create a keystore and configure it in advance before running assembleRelease (assembleRelease signs the build itself if that's configured locally). If you do ./gradlew assembleDebug that will always automatically sign with your global Android SDK debug key generated the first time you start doing builds.

@thestinger Thanks, that is very helpful.
If I'll have time, I'll try doing that. At least OpenJDK is officially packages for Solus, and I believe that I can unofficially package Android Studio (or perhaps just the SDK if it isn't already packaged, we already have ADB and Fastboot packaged), plus I already have a GPG key set up for signing.

I am also very busy but maybe I will get to it - thanks @thestinger for building instructions, appreciated!


Skip prereserve check if custom flavor requested

If a custom flavor is provided for the minute provision, create a
new machine directly instead of checking for a prereserved one.
Resolves #500.

Thanks for the review. Rebased and going to merge.

Thanks for the review. Rebased and going to merge.


Reading age research plan

What
Create a plan to conduct research about reading age.
Why

To understand what there is to do around reading age research.

Must do

[x] Create research plan
[ ] Review plan. Agree on research scope and plan next steps with @sarawilcox

Please also include research around functional literacy.
I think I've already mentioned that the concept of reading age was discredited many years ago - but I'm not sure I've explicitly mentioned the concept that replaced it. For example, the OECD defines literacy in terms of levels. There's a good summary here:
https://literacytrust.org.uk/parents-and-families/adult-literacy/what-do-adult-literacy-levels-mean/

Thanks @cjforms.
I agree. Reading age is a problematic concept and we should probably be giving people guidance about functional literacy levels instead. For example, we know from the Literacy Trust that 1 in 7 adults in England have literacy levels at or below Entry Level 3, which is equivalent to the literacy skills expected of a 9 to 11-year-old. Adults with skills below Entry Level 3 may not be able to understand price labels on pre-packaged food or understand household bills.
However, content designers seem to find our current guidance on a reading age of 9 to 11 years old helpful, both when dealing with stakeholders and also to help them simple, clear content.
We want to find out more about what content designers need to know about this in order to write simply and clearly.

That's a cracking challenge. Sadly, I agree that we don't yet have a simple way to express the concept of functional literacy in a way that makes it easy for a content designer to use in a meeting with a stakeholder.
I'm really interested in the results of your research.

Some useful context of why this research is being planned is available on the Reading age service manual backlog issue

@cjforms I'm now wondering if we should consider not just functional literacy skills but also numeracy and digital skills. Any or all of these may come into play in online health content.

Yes, the health literacy page makes it clear that numeracy is important.
A bit tangential to this issue, but related to the health literacy page:
I can add a personal example: being sent home from hospital after serious illness with a large bag of drugs AND cognitive deficits (temporary disability) due to the effects of treatment. It took me several hours to create a list on paper that told me which medications to take when due to their various requirements ("take with food" / "take at least two hours after food or an hour before" / "take 3x day" / "take every 6 hours" and so on and on).
Another example from that time: I was also sent home with a printed leaflet about how to call the hospital for additional help, and I absolutely could not find the number I needed despite several attempts. It was only several days later, after making a series of calls to wrong numbers and eventually tracking down the correct one, that I realised that the leaflet had a second side.
Which makes me wonder about adding something on the health literacy page about how people with good literacy, numeracy, and digital skills may have that reduced by the effects of stress, illness, or treatment.
Coming back to the research topic on this page: I can see that content designers and others may need a quick phrase or slogan that captures the ideas on the health literacy page to convey them in a meeting.  Ideally, I'm hoping that you might think about:

a couple of eye-catching stickers with suitable slogans
a set of posters that have slogans plus brief supporting text and longer references.

I think the relevant supporting page in the service manual might be: "How to explain health literacy to colleagues". Or may that is the health literacy page, lightly edited. Only thinking aloud here.

Coincidentally, I enjoyed this piece recently: https://medium.com/wehearthealthliteracy/to-be-clear-use-all-the-words-you-need-26ab469f38f6

Paused, for now.

We have an action from the July Style Council meeting to do some UR around this. Also following a meeting with the Patient Information Forum about reading age today. There is clearly a sense among NHS.UK content designer and PIF members that some guidance on a reading age to aim for is helpful, with caveats and more guidance on what makes good content. But we need a better understanding of what content designers need and why.
I've picked up Henry's draft research plan and will discuss with Amy on Friday.

Recommendation that we collaborate on the survey with:

GOV.UK
PIF
Test and Trace


react-native-snap-carousel not working with Tizen and WebOS

Describe the bug
The package works as intended on android and iOS, but breaks on Tizen and WebOS.
To Reproduce
Steps to reproduce the behavior:

Run command npx rnv plugin add react-native-snap-carousel (ran yarn add react-native-snap-carousel after, same result)
Run command npx rnv run -p tizen --hosted
Run command npx rnv run -p webos --hosted

Expected behavior
Not present errors on the console.
Screenshots or copy&paste

Desktop (please complete the following information):

OS: osx 10.15.7
Node Version v14.18.1
RNV Version 0.31.3

I've never tried using this library on these platforms (tizen, webos), but I doubt that it supports these platforms and that it would work properly

I've never tried using this library on these platforms (tizen, webos), but I doubt that it supports these platforms and that it would work properly

The thing is, the docs says that the plugin works on these platforms, as the image bellow

Im trying to do something like the example from here https://github.com/NoriginMedia/react-spatial-navigation, but with FlatList since Im not sure the amount of items i will have. And Im not entirely sure how the FocusableView works, since every time I tried occurred an error, but thats another issue.

I see. Did you try exact version 3.7.5 ?
But you don't really need react-native-snap-carousel for that example from react-spatial-navigation 🤔

I see. Did you try exact version 3.7.5 ?

I changed to 3.7.5 and pinpointed the problem directly from the console. View.propTypes.style is undefined for whatever reason. Changing to View.propTypes?.style resolved the issue.

But you don't really need react-native-snap-carousel for that example from react-spatial-navigation 🤔

IIRC, using map() has a worse performance than a FlatList, and the data I will display probably will be "heavy".


[C++, Python] write_csv / WriteCSV sometimes duplicates header

Describe the bug, including details regarding any error messages, version, and platform.
(Tested in pyarrow-13.0.0, Linux x64)
WriteCSV / write_csv can print out a duplicate header (and sometimes other junk) when one or more empty batches makes up a table.
Minimal example:
>>> import sys
>>> import pyarrow as pa
>>> import pyarrow.csv as csv

>>> t1 = pa.table([pa.array([], pa.int64())], "x")
>>> t2 = pa.table([pa.array([1, 2, 3], pa.int64())], "x")
>>> csv.write_csv(pa.concat_tables([t1, t2]), sys.stdout.buffer)
"x"
"x"
1
2
3

I expect to only see a single "x" header.
From C++, I've also seen WriteCSV output junk before the header (seemingly part of the schema).
Component(s)
C++, Python

Please assign me this Issue. I would like to work on it.

I believe this issue is a duplicate of https://github.com/apache/arrow/issues/36889

Closing as duplicate of https://github.com/apache/arrow/issues/36889


breaks code that uses async or await

I'm running the master branch, at commit https://github.com/sweet-js/sweet.js/commit/62a63cd09762f9ab9b3a89147d882344dad8d1f5 With the following code:
async function a() {
  var x = await foo();
}

I get the following error
geza@gezamac ~> sjs --no-babel ~/test3.js
/usr/local/lib/node_modules/sweet.js/node_modules/babel-core/lib/transformation/file/index.js:590
      throw err;
      ^

SyntaxError: unknown: await is a reserved word (3:12)
  1 | async;
  2 | function a() {
> 3 |   var x_0 = await;
    |             ^
  4 |   foo();
  5 | }
  6 |
    at Parser.pp$5.raise (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:4373:13)
    at Parser.pp$3.checkReservedWord (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:4266:10)
    at Parser.pp$3.parseIdentifier (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:4243:10)
    at Parser.pp$3.parseExprAtom (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3581:21)
    at Parser.pp$3.parseExprSubscripts (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3427:19)
    at Parser.pp$3.parseMaybeUnary (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3407:19)
    at Parser.pp$3.parseExprOps (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3337:19)
    at Parser.pp$3.parseMaybeConditional (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3314:19)
    at Parser.pp$3.parseMaybeAssign (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:3277:19)
    at Parser.pp$1.parseVar (/usr/local/lib/node_modules/sweet.js/node_modules/babylon/lib/index.js:2295:24)

Result is same if I don't use the --no-babel option

The reader and enforester don't currently handle async and await.
@disnet we'll have to update sweet-spec, and tokens, enforester, etc. and the version of shift-codegen I think.

shift doesn't have es2017 (async/await) support just yet so we're blocked on that. I hear it's being prioritized soon though.


Stage Interactivity.. click callback Bug?

I'm having issues with the click callback ignoring the interactive flag:
https://jsfiddle.net/g1a6yj4t/2/
.mouseover and .mouseout seems to use the interactive flag correctly however.
The example is forked from: http://www.goodboydigital.com/pixijs/examples/6/
The only difference is that i set interactive = false in the click callback.
It does not work to set interactive on the stage, or the sprite itself. (Located at "//HERE" comment)
Seeing as starting with the interactive = false gives the expected behavior i wonder if this is a bug.
Edit:
Added all callbacks to check which one fired: https://jsfiddle.net/g1a6yj4t/4/
*mousedown
*mouseup
*click

How would i go about a temporary fix for this?

Thank you for the test case,
Is it possible for you to null all the input callbacks inside the click function ? Like :
button.mousedown = null,;
button.mouseup = null;
button.click = null;
Obviously it would only work If you're building a very basic thing...

Yes i ended up with something like that.
I'm reusing the old setInterval function implementing it like this:
PIXI.DisplayObjectContainer.prototype.setInteractive = (state) ->
  queue = []
  queue.push(@)

  while queue.length > 0
    item = queue.pop()
    queue.push.apply queue, item.children

    item.interactive = state
    if !state
      item.__click = item.click
      item.__mousedown = item.mousedown
      item.__mouseup = item.mouseup
      item.click = null
      item.mousedown = null
      item.mouseup = null
    else
      item.click = item.__click
      item.mousedown = item.__mousedown
      item.mouseup = item.__mouseup
      item.__click = null
      item.__mousedown = null
      item.__mouseup = null

I'll just update setInterval when its fixed with:
    PIXI.DisplayObjectContainer.prototype.setInteractive = (state) ->
      @interactive = state

hi there! this looks the example is working like a champ in v3.
There was a little scoping issue in your example that was also causing the issue:
button.interactive = false // OR here??!?!?
should be:
this.interactive = false // OR here??!?!?
Closing for now. Thanks for sharing and providing the fiddle, always handy for debugging :+1:


Prepare SDK release 3.0

Commit 642b91d made using config https://github.com/graphcore/paperspace-automation/blob/1270d082d2bbbab198dc8a0200621bc86a1f76f1/releases/3.0.0/deploy-pytorch-paperspace.yaml

Commit 4deb094, pulled from tutorials internal repo for updated requirements file, using yaml: https://github.com/graphcore/paperspace-automation/commit/9c8ec9e2b3cff5ce78504c3dede822f6f3a9bd4a

Commit 9169d28 pulls the requirements file for the basics tutorial from phabricator, fixing the torchvision version. Using yaml: https://github.com/graphcore/paperspace-automation/commit/c3aaf22863bf9f59d9b62a9090791d817544797d

@payoto I can comment here, but clicking the YAMLs says 404

OK. I can see the PRs and the resulting repo structure. Presumably I need to run the notebooks to see if they work to be able to comment the most usefully, which in turn needs the production cluster to be up from engineering. I think that may be today. As you mentioned, I can refer to the git commit hashes when starting the Gradient Notebooks to get the right version of the repos in the workspaces.

Closing to open the PRs into main


Moving amsat-informer to bottom and only last 3 days

@phl0 important: remove debug (3445) // activate upload (3446)

Tnx. Will test and report.

@int2001 Would you agree with the following change:
diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php
index 4c6ca0403..f0204338e 100644
--- a/application/models/Logbook_model.php
+++ b/application/models/Logbook_model.php
@@ -3421,7 +3421,8 @@ function lotw_last_qsl_date($user_id) {
                                array_push($a_qsos,$one_error['raw_qso'] ?? '');
                                if (isset($record['prop_mode']) && $record['prop_mode'] == 'SAT' && $amsat_status_upload) {
                                        $amsat_qsodate=new DateTime(date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_on'])));
-                                       if ($amsat_qsodate->diff($today)->d <= 3) {
+                                       $date_diff = (int)$amsat_qsodate->diff($today)->format('%r%d');
+                                       if ($date_diff >= 0 && $date_diff <= 5) {
                                                $data = array(
                                                        'COL_TIME_ON' => date('Y-m-d', strtotime($record['qso_date'])) ." ".date('H:i:s', strtotime($record['time_on'])),
                                                        'COL_SAT_NAME' => $record['sat_name'],

Does not allow future QSOs to be uploaded (fences everywhere) and QSOs of the past 6 days to be pushed to AMSAT status page. The page shows the last 6 days.

yep. seems legit


Gateway timeout when uploading credentials

When I try to upload iOS credentials to EAS using eas credentials, I get this error:
[Network] Gateway Time-out

When I use eas build to make an ad hoc iOS build, I get the same error right after the profile is updated; i.e. the build is failing trying to upload the profile. This prevents me from making a build using remote credentials.
When I try to upload credentials using the Credentials web page, I get a “Load failed” error, which I am guessing is the same issue.
This has been happening for at least a week, so this is not an intermittent failure.
Do you understand that any feature requests opened in this repository will be closed?
Yes

We have a global request timeout on our server set to about 9 seconds, so if uploading takes longer we can't really do much about it, it looks like it's bottlenecked by your internet connection.
I don't expect it to be different, but did you try to upload credentials via website?

It all works now.
Tony

On Apr 6, 2022, at 6:39 AM, Wojciech Kozyra @.***> wrote:

We have a global request timeout on our server set to about 9 seconds, so if uploading takes longer we can't really do much about it, it looks like it's bottlenecked by your internet connection.
I don't expect it to be different, but did you try to upload credentials via website?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


make onnx export like samexporter

Thanks for your PR. This would likely break the CoreML export due to the interpolation with dynamic size. I'd appreciate it if you could split the usage of SamOnnxModel from the current CoreML export, like adding a SamCoreMLModel separately for the CoreML export using the current sam/repvit_sam/utils/onnx.py and keeping the SamOnnxModel the same as your PR.

does coreml model need "orig_im_size"?

Thanks. Coreml models don't need "orig_im_size".


display() bar chart: displays wrong labels and no data

0.86 (not data set specific)
import pixiedust
df = pixiedust.sampleData(2)
display(df)

Select chart type bar
Select options > keys : transaction_date
Select options > values : price
Select options > number of rows : 10
Select bokeh as renderer
Select show legend

Actual behavior

City names are displayed in the legend
No transaction dates are displayed on the X axis
No price data points are displayed

Steps to reproduce the behavior

bokeh.charts appears to be plotting the values on a time series axis. if you zoom out on the graph you can actually see all the values. we will need to use the bokeh.plotting api instead to get better control. however, that work is not in the scope of 1.0 so for the time being a workaround (https://github.com/ibm-cds-labs/pixiedust/commit/5a67a38e3fd673fedc3d0d8d835248164e99d93f) has been put in place to address this issue.

Displays as expected in 1.0.


BUG: Login Page - Forgot Password and Reset Page font color white so not visible

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

The font color of Forgot password and Reset Here is white and hence not visible.
I would like to work on this issue. I am a GSSOC'24 contributor. Pls assign me @anuragverma108
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

This issue already exists. Please check the existing issues before raising a new one. Find another issue or feature to contribute to. Thank you!


Feature request: constraint equal/lessThanOrEqual/greaterThanOrEqual/ToSuperviewMargin

Hello guys.
Looks like it's very common way to write following code (or unwrap superview):
button.snp.remakeConstraints {
      $0.centerX.equalTo(view.snp.trailing)
      $0.centerY.equalTo(view.snp.top)
      $0.width.height.equalTo(40.0)
    }

It will be cool if you can implement something like this to prevent manual pointing to target's superview.
button.snp.remakeConstraints {
      $0.centerX.equalToSuperview(trailing)
      $0.centerY.equalToSuperview(top)
      $0.width.height.equalTo(40.0)
    }

According to current implementation this ConstraintAttributes should be public or we should create another OptionSet abstraction.

@bernikowich currently you should be able to do this pretty easily with extensions right? I'm against expanding the API too much just for convenience that may confuse some users (I like to keep it as simple as possible and try to keep convenience accessors down).

@robertjpayne looks like it's impossible to do this with extensions. :(

Why would you say that?
public extension ConstraintMakerRelatable {
    @discardableResult
    public func equalToSuperview(_ attribute: SnpAttribute, file: String = #file, _ line: UInt = #line) -> ConstraintMakerEditable {
        guard let superview = self.description.item.superview else {
            fatalError("Expected superview but found nil when attempting make constraint `equalToSuperview`.")
        }
        let otherConstraint = ConstraintItem(target: superview, attributes: ConstraintAttributes(rawValue: attribute))
        return self.relatedTo(otherConstraint, relation: .equal, file: file, line: line)
    }
}

//Public and nonenum ConstraintAttributes
public typealias SnpAttribute = UInt
public let leading: SnpAttribute = ConstraintAttributes.leading.rawValue
public let trailing: SnpAttribute = ConstraintAttributes.trailing.rawValue
...

If you didn't mind using it with dot make.centerX.equalToSuperview(.leading) and somebody (@robertjpayne) made ConstraintAttributes public, it would be a different story ;-)


add missing events/listeners

Codecov Report

Merging #7 (bacab75) into main (0a5257a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines           92       104   +12
  Branches         3         3
=========================================
+ Hits            92       104   +12

Impacted Files
Coverage Δ

src/AbstractStreamdeckConnector.ts
100.00% <100.00%> (ø)

src/Plugin.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix the wrong repository name in DEVELOPMENT file

@yanweiguo needs a rebase.

The file was deleted. Closed this.


Add Code of Conduct

https://www.contributor-covenant.org/

Neat. Merging without reading in details, I hope we can occasionally close "with harsh comments" as advertised ;)


ExpressRoute appears to be supported by the Distcp tool

In the first image in the Solution architecture section, the image says "Internet (HTTPS) or ExpressRoute private peering," but the copy engine is Distcp, which from my understanding does not support ExpressRoute private peering.

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

ID: 92cbf9a6-535c-2adf-17fe-63be42255e1a
Version Independent ID: 08b8f1e3-ec83-3a20-9e20-c9063a57e81b
Content: Migrate data from an on-premises Hadoop cluster to Azure Storage - Azure Data Factory
Content Source: articles/data-factory/data-migration-guidance-hdfs-azure-storage.md
Service: data-factory
GitHub Login: @dearandyxu
Microsoft Alias: yexu

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@cooperwolfesmithtech This image uses Microsoft Peering, which allows connectivity over ExpressRoute to an Azure Storage Account or any other Azure PaaS service.
The limit with ExpressRoute and Distcp is when using Private Peering which allows you to access a Virtual Network over ExpressRoute.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[arquillian/arquillian-extension-liferay#27] Add jboss repository

Just started reviewing :) :octocat: Sent from GH.

Pull request submitted to https://github.com/cgoncas/arquillian-extension-liferay/pull/22. See changes here. :octocat: Sent from GH.


Updated Developer_Manual.txt

Thank your for contributing to Nuitka!
!! Please check that you select the develop branch (details see below link) !!
Before submitting a PR, please review the guidelines:
https://github.com/kayhayen/Nuitka/blob/master/CONTRIBUTING.md
What does this PR do?
Corrected some typos and few punctuations to make the document more readable and look more professional.
Why was it initiated? Any relevant Issues?
PR Checklist

[x] Correct base branch selected? develop for new features and bug fixes too. If it's
part of a hotfix, it will be moved to master during it.
[] All tests still pass. Check the developer manual about Running the Tests. There
are Travis tests that cover the most important things however, and you are
welcome to rely on those, but they might not cover enough.
[] Ideally new features or fixed regressions ought to be covered via new tests.
[] Ideally new or changed features have documentation updates.

Thanks for proof reading, very appreciated.


Fix template directory path

Persia - please update the comment/commit message to mention the original commit and PR this fixes. Otherwise looks good.

Intel CC build successful! See https://ci.trafficserver.apache.org/job/icc-github/63/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1630/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1526/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/195/ for details.

This fixes ba420782340dc2fa38e955d3b6645fa1263df0ea in #1468 . #1468 was causing master not to load the template table due to wrong config path

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/freebsd-github/1637/ for details.

Intel CC build successful! See https://ci.trafficserver.apache.org/job/icc-github/70/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/linux-github/1533/ for details.

clang-analyzer build successful! See https://ci.trafficserver.apache.org/job/clang-analyzer-github/202/ for details.


Invalid Code Signing for Mac Catalyst App

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.3
Firebase SDK version: 6.33.0
Installation method: CocoaPods
Firebase Component:

[REQUIRED] Step 2: Describe the problem
I am able to archive my Mac Catalyst app and upload to App Store connect. However, I get an error message from App Store connect once uploaded:
ITMS-90284: Invalid Code Signing - The executable 'MyApp.app/Contents/Frameworks/grpcpp.framework/Versions/A/Resources/gRPCCertificates-Cpp.bundle' must be signed with the certificate that is contained in the provisioning profile
There was a previous similar issue opened and closed without resolution : #5053
I opened a DTS with Apple and here is the response I received:

This error sounds like there’s an executable Mach-O binary file inside the bundle that wasn’t signed correctly. However, the code signing issue isn’t the problem that requires attention, the real issue is the presence of the bundle with an executable in the first place.

Resource bundles aren’t supported on iOS outside of specific scenarios with Swift Package Manager — there’s never been an Xcode template to create them and thus dictate their expected structure. Many apps and frameworks have attempted to create them by starting from the macOS bundle template, and modifying the contents until they are accepted by the iOS App Store. This isn’t supported, and is fragile when the system changes, as it has with the introduction of Mac Catalyst. Since no iOS template has ever existed to build a supported bundle for iOS, there isn’t a supported way to create one for Mac Catalyst apps — any resource files should be deployed to the framework bundle instead.

This looks like a duplicate of #3500. I think I'll improve its title.

This looks like a duplicate of #3500. I think I'll improve its title.

@paulb777  This is despite applying the workaround. The workaround allows me to build the archive but the problem comes up again once the app is uploaded to App Store Connect.

@paulb777  This is despite applying the workaround. The workaround allows me to build the archive but the problem comes up again once the app is uploaded to App Store Connect.

Ugh! Thanks for clarifying. Reopening.

Ugh! Thanks for clarifying. Reopening.

Any workarounds for this issue? This is holding up a release.

Any workarounds for this issue? This is holding up a release.

@paulb777 Any way to get this working?

@paulb777 Any way to get this working?

@girishw Sorry, nothing concrete to offer currently. I would suggest experimenting with removing or packaging the gRPC bundle differently.

@girishw Sorry, nothing concrete to offer currently. I would suggest experimenting with removing or packaging the gRPC bundle differently.

Has this been figured out ? I just hit this wall on App Store connect

You can work around this with :
1, Selecting the team in Signing & Capabilities
2, Selecting Sign to Run Locally under Signing Certificate

@girishw thanks for the note.

Though this is still potentially an issue that can arise in the future, I'm going to close this ticket for now since it has a workaround and does not appear to be actionable by the Firebase team. If it regresses or the workaround stops working, please comment and I'll reopen or file a new issue.


Please publish for Scala 2.13.12

...which is now on Maven Central, as per https://contributors.scala-lang.org/t/scala-2-13-12-release-planning/6217/26

Unfortunately, just bumping the version isn't possible, due to some API changes in the Scala Compiler. There's some refactoring needed.

Fixed in #1375

@lefou Any chance for a 2.x release?

It is already published as version 3.0.0-M0-52-d2acc162. I can backport it to 2.x as well, if you need a tagged version. Do you?

It's now also published as version 2.5.9-2-7633e640.

Awesome, thank you!! I didn't know about the snapshot versions.

@lefou 2.5.9-2-7633e640 is ok. But there won't be any release version, like 2.5.10, anymore?

I can push a new tagged version when Imm next at my computer
On Wed, 27 Sep 2023 at 6:38 PM, YangJie @.***> wrote:

@lefou https://github.com/lefou 2.5.9-2-7633e640 is ok. But there won't
be any release version, like 2.5.10, anymore?
—
Reply to this email directly, view it on GitHub
https://github.com/com-lihaoyi/Ammonite/issues/1373#issuecomment-1737144701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE5HBDDDKA6P6D2UWEYQO2DX4P64DANCNFSM6AAAAAA4NZGYTE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks ~

I tried to tag 2.5.10 and 2.5.11. There were some issues in the release automation, can you try them out and see which one works

ok,  I will report the test results later.

@lihaoyi 2.5.11 seems to be available and has passed the preliminary tests. 2.5.10 cannot be downloaded.


Add NODE_OPTIONS to avoid fatal error during build.

Moving var out of travis config and into .travis.yml
Avoids build error:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Codecov Report

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

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   22.61%   22.61%
=======================================
  Files          38       38
  Lines         314      314
  Branches       31       31
=======================================
  Hits           71       71
  Misses        221      221
  Partials       22       22

Continue to review full report at Codecov.

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


Drop support for Python 3.5

The future_strings is required to support f-strings in Python 3.5. Newer versions of Python support f-strings natively.
Python 3.5 is EOL Sept 13, 2020 (see https://devguide.python.org/#status-of-python-branches). If support is dropped a little early the code base and dependencies can be simplified.
The library has caused some confusion, see #73.

sounds good. if anyone could produce PR i will merge


feat(student.chula): add Chulalongkorn subdomain

Add Chulalongkorn University subdomain for students

@PatrickChoDev First stage of verification passed, official domain is chula.ac.th as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@philipto The website is working fine now.

@PatrickChoDev Thank you for your patience while waiting for a review and processing your request. Pull request merged.


NixPack does not detect Python when using pyproject.toml with poetry.lock

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
As per nixpack docs, if pyproject.toml with poetry.lock exist, it will detect it as a Python project. But it still does not detect it unless a requirements.txt is added.
To reproduce
steps to reproduce:

Create a python project using poetry (say a django project)
run railway up
Error shows up.

Project file structure

Error on railway up without requirements.txt

Logs in Railway Dashboard
==============
Using Nixpacks
==============
Nixpacks build failed

Error: Getting setup phase

Caused by:
No such file or directory (os error 2)

Expected behavior
Project is detected to be of Python and gets deployed.
Environment
railway

I also encountered this problem, hoping to give a solution.

Is there an existing issue for this?

[x]  I have searched the existing issues

Describe the bug
As per nixpack docs, if pyproject.toml with poetry.lock exist, it will detect it as a Python project. But it still does not detect it unless a requirements.txt is added.
To reproduce
steps to reproduce:

Create a python project using poetry (say a django project)
run railway up
Error shows up.

Project file structure
Error on railway up without requirements.txt
Logs in Railway Dashboard
==============
Using Nixpacks
==============
Nixpacks build failed

Error: Getting setup phase

Caused by:
No such file or directory (os error 2)

Expected behavior
Project is detected to be of Python and gets deployed.
Environment
railway

Doesn't this support poetry yet?

It should. Can you give an example repo?

could also be useful if nixpack detected the python version from the pyproject.toml
[tool.poetry.dependencies]
python = "^3.10"

The currently activated Python version 3.8.13 is not supported by the project (^3.10).
Trying to find and use a compatible version.

  NoCompatiblePythonVersionFound

It should. Can you give an example repo?

The repository that i was trying to deploy was just a basic django/drf backend. Its public and i've already used up monthly quota of railway. so i'm sharing that repo link, can't reproduce. https://github.com/wrench1815/portfolio_api/blob/main/pyproject.toml

^^Fixed with the above PR @wrench1815


Internal error when using custom NER model

I trained a custom model for named entity recognition using Automl service on GCP. Here is my code to run it using python:
from google.cloud import automl

# TODO(developer): Uncomment and set the following variables
# project_id = "YOUR_PROJECT_ID"
# model_id = "YOUR_MODEL_ID"
# content = "text to predict"

prediction_client = automl.PredictionServiceClient()

# Get the full path of the model.
model_full_id = automl.AutoMlClient.model_path(
    project_id, "us-central1", model_id
)

text_snippet = automl.TextSnippet(
    content=text_content, mime_type="text/plain"
)
payload = automl.ExamplePayload(text_snippet=text_snippet)

response = prediction_client.predict(name=model_full_id, payload=payload)

for annotation_payload in response.payload:
    print(
        "Text Extract Entity Types: {}".format(
            annotation_payload.display_name
        )
    )
    print(
        "Text Score: {}".format(annotation_payload.text_extraction.score)
    )
    text_segment = annotation_payload.text_extraction.text_segment
    print("Text Extract Entity Content: {}".format(text_segment.content))
    print("Text Start Offset: {}".format(text_segment.start_offset))
    print("Text End Offset: {}".format(text_segment.end_offset))

I get this internal error in predict() function:
Traceback (most recent call last):
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 57, in error_remapped_callable
    return callable_(*args, **kwargs)
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/grpc/_channel.py", line 826, in __call__
    return _end_unary_response_blocking(state, call, False, None)
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/grpc/_channel.py", line 729, in _end_unary_response_blocking
    raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.INTERNAL
	details = "Internal error encountered."
	debug_error_string = "{"created":"@1258996669854.77788844","description":"Error received from peer ipv4:<IP_ADDRESS>","file":"src/core/lib/surface/call.cc","file_line":1061,"grpc_message":"Internal error encountered.","grpc_status":13}"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/xxxx/project/main/demo.py", line 117, in <module>
    print(get_prediction(content=text_content, model_name=model_full_id))
  File "/home/xxxx/project/main/demo.py", line 114, in get_prediction
    request = prediction_client.predict(name=model_name, payload=payload)
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/google/cloud/automl_v1/services/prediction_service/client.py", line 413, in predict
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py", line 145, in __call__
    return wrapped_func(*args, **kwargs)
  File "/opt/conda/envs/myenv/lib/python3.6/site-packages/google/api_core/grpc_helpers.py", line 59, in error_remapped_callable
    six.raise_from(exceptions.from_grpc_error(exc), exc)
  File "<string>", line 3, in raise_from
google.api_core.exceptions.InternalServerError: 500 Internal error encountered.

Can someone from GCP explain the source of error and how to fix it?

Moving to a more relevant repo.


[MOD] add missing mode option when update a service

- What I did
add mode option when updating a service
- How I did it
- How to verify it
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "add-missing-mode-when-update-a-service" git@github.com:cmingxu/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Signed-off-by<EMAIL_ADDRESS>

If I'm not mistaken, you cannot change mode of a service
ping @vieux

Yes, changing modes is not allowed.
Closing, but thanks for looking at this!


Error: Cannot find module 'internal/util/types'

I've tried several different solutions online to fix this problem. Mostly reinstalling node and npm.
I also tried installing the latest graceful-fs with npm install -g graceful-fs graceful-fs@latest.
Some solutions say to sit tight unless it's causing a problem. In my case, it's causing problems.
I'm getting the following error.
Error: Cannot find module 'internal/util/types'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
    at Function.Module._load (internal/modules/cjs/loader.js:475:25)
    at Module.require (internal/modules/cjs/loader.js:598:17)
    at require (internal/modules/cjs/helpers.js:11:18)
    at evalmachine.<anonymous>:31:26
    at Object.<anonymous> (C:\tfs\MRCS\MRCS-DEV-image_viewer\MRCS.Web\node_modules\gulp\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:11:1)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)

This error happens with any gulp command from the gulp file.
Versions:
gulp: 3.9.1
npm: 5.6.0
node: 9.11.1 (although, I used 8.11.1 as well)
If I go to node version 6.2.2 then that fixed the problem. But, most people said that they download 6.2.2 and then redownload the latest and everything works fine. In my case, if I upgrade to 8.11.1 again, then stuff breaks.
Note: I also ran npm cache verify and npm install after the upgrade.
What should I do?

You can't just switch versions and expect stuff with native deps to "just work" - you have to recompile everything.
If a node version breaks graceful-fs, bring it up with them because they keep threatening to break userland.

To further elaborate - run npm rebuild to rebuild your native dependencies when you update your version of node.

I have the same problem on macOS. npm rebuild did not help.

Reinstalling node and clearing npm cache fixed it for me on windows 10

None of these answers has fixed it for me. I've cleared cached, even completely uninstalled and reinstalled Node. Still getting this issue on Windows.

@christo8989 How to fix it eventually?

Update your dependencies, so you can use graceful-fs >=4. npm ls helps to find bad dependencies, for us it were old versions of gulp and gulp-typescript.

My solution is to update vinyl-fs。

C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko>npm run dev

<EMAIL_ADDRESS>dev C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko
npm run development

internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'internal/util/types'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at evalmachine.:44:31
at Object. (C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko\node_modules\npm\node_modules\graceful-fs\fs.js:11:8)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: npm run development
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\Utilizador\AppData\Roaming\npm-cache_logs\2019-10-14T16_25_58_379Z-debug.log
C:\xampp\htdocs\DICA\dica-upload-ok-calendario-ko>yarn install
'yarn' is not recognized as an internal or external command,
operable program or batch file.
can someone help me?

Hi
I am new to node js world facing same issue even for npm cache clean and npm install or npm rebuild is throwing same error msg as below.
module.js:550
throw err;
^
Error: Cannot find module 'internal/util/types'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at evalmachine.:31:26
at Object. (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/fs.js:11:8)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
can someone please help me on this ?

@vkkothawale I faced the same issue with node version 8.8.0 and was able to fix this by downgrading the node version to 6.10.2.

As we are using an old version of ionic, this worked for me:
cd node_modules/ionic/node_modules/ionic-app-lib/node_modules/vinyl-fs
npm uninstall graceful-fs
npm install<EMAIL_ADDRESS>
Versions:
Cordova: 8.1.2
Gulp version: 3.9.1
Ionic: 1.7.16
Node: v10.22.1


Reset zoom to fit when starting drag or inserting element from library

Context
This resets the zoom to fit regardless of what it was when inserting an element from the library by clicking or dragging. This works for all elements including:

Local media
Third-party media
Text presets and text sets
Shapes

User-facing changes

Before
After

Testing Instructions
QA
This PR can be tested by following these steps:

Set the canvas zoom to anything but fit
Insert any element from library by clicking or dragging
Observe the zoom reset to fit before the element is inserted / before dragging starts

UAT

[x] UAT should use the same steps as above.

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6182

@barklund The tests and lints are failing now.


It is possible to store Halite key in Symfony "Vault" ?

I would like to know it is possible and if yes, how to store the key with Symfony Secret ?
Thank's a lot :-)

Someone posted a working implementation here:
https://github.com/GiveMeAllYourCats/DoctrineEncryptBundle/issues/29#issuecomment-666298572

Thank's


upload POC

This is a POC demonstrating the upload of files, with a mechanism similar to AWS S3 pre-signed URLs.
The goal is for the developers to enable upload to S3, or to a local server, with the same kind of features (upload URL has a TTL, use of a hash to prevent forging URLs and spam-upload, etc)
The POC is hence made of two parts :

the FastAPI backend, that handles the upload endpoint
a panel app, that serves a frontend, to select files and upload them.

All the POC is under examples/upload, check the Readme there to start both at the same time.
Extra informations :

The UI is very simple, just a basic HTML input type file. the important part is the JS part.
the files are uploaded under /tmp
some values are hardcoded ( like the URL of the upload backend in the JS file, or the /tmp dir), there are easy improvements and good enough for a POC.

Superseeded by #61


Service Host: State Repository Service

Description
I reported poor performance previously but the issue just got immediately closed with no consideration
I tried the 2.3 preview and it was better than 1.1.x but still quite slow
I have now updated to version 2.3 and it literally grinds my pc to a halt (Ryzen 9 5950x, 32GB DDR4, Samsung Evo Pro NVMe etc.)
Folders take 5 seconds or more to load and it is affecting other apps and overall performance
Looking in Task Manager, when Files is open, Service Host: State Repository Service is using between 80% and 100% of my processor
Closing Files everything is back to normal
There is a major bug affecting performance, it has been in the last couple of versions and has gotten worse
Steps To Reproduce
Open files
Expected behavior
For it not to use 100% of my processor
Files Version
2.3
Windows Version
Win 11 21H2 22000.708
Relevant Assets/Logs
Too big

In your previous issue you never mentioned this you just said it was slow to open folders. Do you have "continue were you left off" enabled in Files settings > prefrances > startup (drop down box on the right)

No it's not on. It's set to open new tab. I've tried fixing it in other ways like restarting the service. I think I'll just have to give up with Files. It's a nice idea but just unusable

Uninstalled, cleared some caches, ran disk cleanup, restarted a couple of times, reinstalled and seems to be working better
It's still a little slow but as useable and the preview version was now
Now my only issue is sometimes it just loads blank pages, but only occasionally and a restart fixes it


🐞[Bug]: Content on the back ground

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
The content is flowing on the background on the home page.
Expected behavior
The content should not outflow at the background.
It has to be like this :

Add ScreenShots

What browsers are you seeing the problem on?
Microsoft Edge
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign me this issue I would like to work on it under GSSOC'24 contributor

Hello I'm interested to work on this bug please assign this issue to me @varshith257


Fix first time tips issue (https://trello.com/c/iIXjbmDN)

Fix issue where first time tips were not resetting after uninstall/reinstall for Android

Turn off allowBackup. This regressed as part of the Expo 31 upgrade back in January. See commit a6ce81e47460fb7e689bfc0843f19df3cf473e53

See: https://trello.com/c/iIXjbmDN

 First time tips not shown after fresh install of Tidepool Mobile on Android


Introduction to C# interactive C# tutorial

[Enter feedback here]

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

ID: 8053bb96-cc40-8369-c07f-f9fd14060c1e
Version Independent ID: 293260e2-f444-537b-0ba7-14d1fb6ebcf2
Content: Hello World - Introduction to C# interactive C# tutorial
Content Source: docs/csharp/tour-of-csharp/tutorials/hello-world.yml
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@JJuanVolpe  Did you intend to add more here?


Add tests for workflowproj/operator.go

Signed-off-by: Roy Golan<EMAIL_ADDRESS>

@wmedvede more coverage for the lables work

@rgolangh looks like make generate-all is required here maybe?

@rgolangh looks like make generate-all is required here maybe?

yes forgot that, thanks. Fixing

@rgolangh cau you please rebase?


Add port 53 to the exceptional ports list for application gateway v2

Port 53 is another port that doesn't appear to work with application gateway v2.
See https://github.com/dioadconsulting/bicep-application-gateway-tcp-and-port-53
It would be great if the application gateway team could confirm that port 53 is not supported and this change is accurate.

@greg-lindsay
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Can't move objects - hidden feature

URL
https://www.openstreetmap.org/edit#map=22/56.50672/-6.88858
How to reproduce the issue?
For example:

Go to map features Hide all landuse features in the map
While editing, common to find nodes that I can't move. I see the "this can't be edited because it is connected to a hidden feature" message at the bottom of the screen (understandably)
unhide landuse features (under map features again)
still cannot move the node by dragging, even though the previously hidden landuse area is now visible
can get around this by saving a changeset - this frees things up. Alternatively, I recently discovered that I can move the node by right clicking my mouse and using the move item in the drop down menu.

Am assuming this is an unintended feature...?
Screenshot(s) or anything else?
https://www.openstreetmap.org/edit#map=22/56.50672/-6.88858 given as a URL above. When I open this in a separate browser tab, there's an example of a node causing the problem in the centre of the screen. I seem to be able to drag it once, but no more than once. Odd.
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.22.0
Which browsers are you seeing this problem on?
Chrome

can get around this by saving a changeset - this frees things up. Alternatively, I recently discovered that I can move the node by right clicking my mouse and using the move item in the drop down menu.

You can also reselect the node and it should allow you to move it.


Problem of save & load model in Linux

I have some question for save & load model with thundergbm. there are two problem.
1.
the problem is why some hyperparameter value is different from training when i load the model. it seem some hyperparameter value is the same as default setting. for example, i change 'depth','max_num_bin','column_sampling_rate' in training stage. but it has different value when i load the model.
2.
The predict value is all zero, it seem unreasonable.
The follow is my code and os/gpu information, could someone tell me whether i have wrong operation , thanks.
#------------------------------------------------------------------------

from thundergbm import TGBMClassifier
from sklearn import datasets
clf = TGBMClassifier(verbose=0,n_trees=20,depth=8,
...                      max_num_bin=200,column_sampling_rate=0.8,
...                      learning_rate=0.8,objective='multi:softmax')
X, y = datasets.load_digits(return_X_y=True)
clf.fit(X, y)
TGBMClassifier(bagging=0, column_sampling_rate=0.8, depth=8, gamma=1.0,
lambda_tgbm=1.0, learning_rate=0.8, max_num_bin=200,
min_child_weight=1.0, n_gpus=1, n_parallel_trees=1, n_trees=20,
num_class=10, objective='multi:softmax', tree_method='auto',
verbose=0)
model_path='/home/admin/Desktop/tgbm.model'
clf.save_model(model_path)
print(clf.predict(X))
[0. 1. 2. ... 8. 9. 8.]
clf2 = TGBMClassifier(objective='multi:softmax')
clf2.load_model(model_path)
print(clf2)
TGBMClassifier(bagging=0, column_sampling_rate=1.0, depth=6, gamma=1.0,
lambda_tgbm=1.0, learning_rate=0.800000011920929,
max_num_bin=255, min_child_weight=1.0, n_gpus=1,
n_parallel_trees=1, n_trees=20, num_class=10,
objective='multi:softmax', tree_method='auto', verbose=1)
y_pred = clf2.predict(X)
print(y_pred)
[0. 0. 0. ... 0. 0. 0.]
#------------------------------------------------------------------------
Ubuntu 16.04
NVIDIA driver : 440.44
CUDA Version: 10.2
GPU - GeForce RTX 2080

Hi @TAOinfoWr, the problem is fixed. You can reinstall ThunderGBM and have a try. But notice that some hyper-parameters look like the default params even though they are not (e.g., tree depth). That's because when we save the model, we only save the trained GBDTs and the tree depth is already contained in the trained model. Thank you!

it works ! thank you very much !


after scanning QR code it crashes

like I said ive put all files within my region and correct console type and after I go to my console and type or scan QR code it shows the haxx button I click it but then gives me two colors and freezes with an error. An error has occured so i cant go on

https://github.com/zoogie/new-browserhax#troubleshooting


Communication with USB

Hello, I need to send and receive data via USB.
I'm trying to use the bulkTransferIn part, but how do I send the data? Where should I write the data I will send?

bulkTransferOut

flutter: bulkTransferOut error: LIBUSB_ERROR_NOT_FOUND.
bulkTransferOut returns -1

Could you post flutter doctor -v?

[√] Flutter (Channel dev, 2.11.0-0.1.pre, on Microsoft Windows [Version 10.0.19044.1586], locale tr-TR)
• Flutter version 2.11.0-0.1.pre at C:\Users\Enelsis\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b101bfe32f (5 weeks ago), 2022-02-16 07:36:54 -0800
• Engine revision e355993572
• Dart version 2.17.0 (build 2.17.0-69.2.beta)
• DevTools version 2.10.0-dev.1
[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at C:\sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.9)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.32106.194
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
[√] VS Code (version 1.65.2)
• VS Code at C:\Users\Enelsis\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.36.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1586]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 99.0.4844.74
• Edge (web)        • edge    • web-javascript • Microsoft Edge 99.0.1150.46
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

If you are working on Windows device, check the following steps

QuickUsb.init to initialize
QuickUsb.getDeviceList to get list of devices
QuickUsb.openDevice to open the right device
QuickUsb.getConfiguration to get the right config
QuickUsb.claimInterface to claim the interface
e.direction == UsbEndpoint.DIRECTION_OUT to check endpoint direction
QuickUsb.bulkTransferOut to send data

It works without error. Thank you for your answers.

What is a stop bit? Any doc?
You'd better file another issue for new topic

A stop bit is a character in asynchronous communication that lets a receiver know that the byte being transmitted has ended.


Winterhold camp is really scuffed

this is cursed

I could not reproduce this. Could be another mod??

This could be a cc related thing as I believe I have encountered it in OCW

okay yeah this is weird, the table only appears with the camp. idfk what is causing this, i have no mods that edit Winterhold period.
my only theories are

Creation club
Civil war aftermath


Update Performance112 & BugFixes112

This PR makes Performance112 and BugFixes112 look like the newer lists. It also closes #225
I also removed Born in a Barn from Performance112 (already present in BugFixes112) and Raw Mouse Input from BugFixes112 (present in Performance112)

Nicely done.


Pull without sequences

We have an option to pull a full object and to pull only a shallow top-level object.  Can we have an intermediate option where one pulls everything except the sequences, as in many cases the sequences are many megabytes where the rest is minimal?

no idea what pulling means

"pull" = "download. Can one retrieve a ComponentDefinition through the API without also retrieving the Sequence that it references in the same Document?


malware warning

Description
What steps will reproduce the problem?

AVG antivirus warned of IDP.Generic infection for python.exe and pythonw.exe upon starting Spyder.
Traceback
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.0005464553833,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.000414609909058,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.000961542129517,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.000853538513184,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.00050687789917,)
--- Logging error ---
Traceback (most recent call last):
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\logging\__init__.py", line 1028, in emit
    stream.write(msg + self.terminator)
AttributeError: 'NoneType' object has no attribute 'write'
Call stack:
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\start.py", line 214, in main
    mainwindow.main(options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2293, in main
    mainwindow = create_window(app, splash, options, args)
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\spyder\app\mainwindow.py", line 2192, in create_window
    app.exec_()
  File "C:\Users\brian\Anaconda3\envs\pyspark_training\lib\site-packages\qtconsole\frontend_widget.py", line 518, in _handle_kernel_died
    self.log.warning("kernel died: %s", since_last_heartbeat)
Message: 'kernel died: %s'
Arguments: (25.000357389450073,)

Versions

Spyder version: 5.0.0
Python version: 3.7.10
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  1.6.0 (OK)
cookiecutter >=1.6.0          :  1.7.2 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.1.0 (OK)
IPython >=7.6.0               :  7.22.0 (OK)
jedi =0.17.2                  :  0.17.2 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  22.3.0 (OK)
nbconvert >=4.0               :  6.0.7 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.7.2 (OK)
parso =0.7.0                  :  0.7.0 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.8.0 (OK)
pygments >=2.0                :  2.8.1 (OK)
pylint >=1.0                  :  2.7.4 (OK)
pyls >=0.36.2;<1.0.0          :  0.36.2 (OK)
pyls_black >=0.4.6            :  0.4.6 (OK)
pyls_spyder >=0.3.2           :  0.3.2 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.1.10 (OK)
qtawesome >=0.5.7             :  1.0.2 (OK)
qtconsole >=5.0.3             :  5.0.3 (OK)
qtpy >=1.5.0                  :  1.9.0 (OK)
rtree >=0.8.3                 :  0.9.4 (OK)
setuptools >=39.0.0           :  52.0.0.post20210125 (OK)
sphinx >=0.6.6                :  3.5.3 (OK)
spyder_kernels >=2.0.1,<2.1.0 :  2.0.1 (NOK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3;<2.0.0      :  1.0.2 (OK)
zmq >=17                      :  20.0.0 (OK)

# Optional:
cython >=0.21                 :  None (NOK)
matplotlib >=2.0.0            :  None (NOK)
numpy >=1.7                   :  None (NOK)
pandas >=1.1.1                :  None (NOK)
scipy >=0.17.0                :  None (NOK)
sympy >=0.7.3                 :  None (NOK)

Hey @odeenb1, thanks for reporting. You said:

AVG antivirus warned of IDP.Generic infection for python.exe and pythonw.exe upon starting Spyder.

Please report that with them because we don't have any control over that.
About the error you reported above, it'll be fixed in our next version (5.0.1), to be released shortly.


Maintainer Acces Request - Aneurysm9

Changes in team composition and responsibilities have led to reduced or eliminated activity by AWS-based maintainers of this repository.  As the lead engineer on the team responsible for the AWS Distribution of OpenTelemetry (ADOT) and the ADOT Lambda layers I would like to be added to the @open-telemetry/lambda-extension-maintainers group (and this repository's CODEOWNERS file).  We would like to increase our contributions to this part of the project and potentially resurrect the Lambda SIG meetings, but not having a maintainer on the team is an impediment.

I support @Aneurysm9 as maintainer of opentelemetry-lambda

+1


Compatibility with Amazon Linux 2

Hey,
Is this tool tested with Amazon Linux 2 OS?
Thanks

Indeed @rahulsurwade08


mosquitto doesn't  restart properly after a device restart when mTLS is enforced for MQTT

Describe the bug
Restarting the device using a command sent over MQTT to the agent, let the device in a bad state when mTLS has been configured for MQTT.

As requested, the device restarts
But the agent and the mapper fails to reconnect:

mqtt_channel::connection: MQTT: failed to connect to broker at '<IP_ADDRESS>:8883': I/O: Connection refused (os error 111)

And mosquitto reports an error too

Failed to associate persisted user main-agent with ACLs, likely due to changed ports while using a per_listener_settings configuration.

This is fixed by restarting mosquitto.
To Reproduce

Configure the mosquitto instance to use certificates
For example if you have set everything up correctly, then your tedge config list should look something like this (exact paths might be different though, depending on how you set it up)
# $ tedge config list | grep mqtt.client
mqtt.client.host=localhost
mqtt.client.port=8883
mqtt.client.auth.ca_file=/etc/mosquitto/ca_certificates/ca.crt
mqtt.client.auth.cert_file=/setup/client.crt
mqtt.client.auth.key_file=/setup/client.key

Trigger a restart

$ tedge mqtt pub --retain te/device/main///cmd/restart/test-1 '{"status":"init"}'

Wait for the device to restart
Unexpectedly, tedge can no more reconnect over MQTT

$ tedge mqtt sub te/device/main///cmd/+/+
ERROR: I/O: Connection refused (os error 111)

Expected behavior
On reboot,

all the tedge commands should be able to reconnect the MQTT broker
one should not force the mosquitto to restart

Screenshots

Environment (please complete the following information):

OS [incl. version]
Hardware [incl. revision]
System-Architecture [e.g. result of "uname -a"]
thin-edge.io version [e.g. 0.1.0]

Additional context

I found no related mosquitto issue, only a related question:

Mosquitto logs "Failed to associate persisted..." every restart, even without changes

@didier-wenzek Are you sure this is not actually a problem due to the mosquitto broker trying to bind too early to a network which isn't ready yet? e.g. https://github.com/eclipse/mosquitto/issues/2878

Thanks! Indeed, this has been fixed by changing  the mosquitto systemd target to network-online.target instead of network.target.


[Failing Test]: beam_PerformanceTests_SparkReceiver_IO failing

What happened?
Since Apr 25, 2023.
Error massage:
23:05:17 org.apache.beam.sdk.io.sparkreceiver.SparkReceiverIOIT > testSparkReceiverIOReadsInStreamingWithOffset FAILED
23:05:17     java.lang.AssertionError: expected:<5000000> but was:<4700000>
23:05:17         at org.junit.Assert.fail(Assert.java:89)
23:05:17         at org.junit.Assert.failNotEquals(Assert.java:835)
23:05:17         at org.junit.Assert.assertEquals(Assert.java:647)
23:05:17         at org.junit.Assert.assertEquals(Assert.java:633)
23:05:17         at org.apache.beam.sdk.io.sparkreceiver.SparkReceiverIOIT.testSparkReceiverIOReadsInStreamingWithOffset(SparkReceiverIOI

the actual number of element is fluctuating and always smaller than the expected. May indicates a data loss bug
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)
Issue Components

[ ] Component: Python SDK
[X] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Possible cause: #26051 the only SparkreceiverIO PR merged at that time （among 3 java sdk and runner change on that day)
even though the test was succeeded in trigger run: https://ci-beam.apache.org/job/beam_PerformanceTests_SparkReceiver_IO/379/
CC: @aromanenko-dev

#23785 passed on test branch by reverting a14f98a
CC: @Amar3tto

CC: @Amar3tto
https://ci-beam.apache.org/job/beam_PerformanceTests_SparkReceiver_IO/ is failing.
Do you have any ideas how it can be fixed?

CC: @Amar3tto https://ci-beam.apache.org/job/beam_PerformanceTests_SparkReceiver_IO/ is failing. Do you have any ideas how it can be fixed?

Working on this.

+1 to @Abacn 's PR to disable the test for now and target this for 2.49.0 Release
Let me know if you think otherwise @Amar3tto

Sorry #26738 does not disable this test. I linked wrong issue at that PR. This is a performance test not in the validation postcommits for the release so up to @riteshghorse to determine whether it's a blocker. If not made into 2.48.0 we should either revert #26051 or release with a known issue

okay, Saw disabling the test and stopped there. Thanks for catching Yi!
@aromanenko-dev what do you think about moving this to 2.49.0?

Looking at the issue https://github.com/apache/beam/pull/26051, it closed https://github.com/apache/beam/issues/26011 which was P3 issue. As per our release blocker policy https://beam.apache.org/contribute/release-blocking/ I believe we can move this to 2.49.0

Surprisingly the test is back green yesterday: https://ci-beam.apache.org/view/PerformanceTests/job/beam_PerformanceTests_SparkReceiver_IO/ We can close it for now
Why it was recovered itself remains unclear...

It's failing again after 3 successful run, same reason (not all record counted). Reopen...

Is it just a flaky test?

Also, since it takes quite significant amount of time to finish, I'd recommend to run this job less often - once per day, for example.


Verify all containers stopped before cancel testrun

What's the reason behind this?

Looking at the log in the bug, the changes in this PR would not fix it. The issue in the bug is caused because the network listener is still running, triggering the _device_discovered callback in the net_orc.


librtmp.RTMP() is in milliseconds

According to documentation on https://pythonhosted.org/python-librtmp/, the stop argument is in seconds, but it seems to be in milliseconds.

Same applies to start


Add Detroit fonts to site

See #62 for some more context.
Done here means that the sites use the correct fonts or we have approval for using the font we end up with.

Link to Google Fonts instance of Montserrat
https://fonts.google.com/specimen/Montserrat


add flash message if activation by administrator

If User settings > Activation mode = Administrator
No message is displayed after user registration

Ok @bennothommo, Thanks for the review.
Sorry, I'm newbee with GitHub. I commited changes in my fork and now (surprisingly :) ) I see it above #0609c4d. Tha's all?


Update?

Is this page still being updated? The last update is June 2023.
Can you share release notes since June 2023?

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

ID: 20272232-ef36-6932-acf6-0178a2165fe7
Version Independent ID: 01b2608e-fd79-f658-5580-e9882c8fe265
Content: What's new in Azure Sovereign Clouds? Release notes - Microsoft Entra
Content Source: articles/active-directory/fundamentals/whats-new-sovereign-clouds.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @OWinfreyATL
Microsoft Alias: owinfrey

@J227668
Thanks for your feedback! We will investigate and update as appropriate.

Hi @J227668
The page you are referring to is a static page and is not updated regularly. The last update date reflects the last time the page was modified.
To stay up to date with the latest Azure Active Directory (Azure AD) releases and updates, I recommend that you subscribe to the Azure AD release notes RSS feed. This feed provides information about the latest releases, known issues, bug fixes, deprecated functionality, and plans for changes.

@J227668
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.
#Please-close


Version 4.1.0

Adding support for list traversal with box_dots (thanks to Lei)
Adding BoxWarning class to allow for the clean suppression of warnings
Fixing default_box_attr to accept items that evaluate to None (thanks to Wenbo Zhao and Yordan Ivanov)
Changing default_box to set objects in box on lookup
Fallback to PyYAML if ruamel.yaml is not detected (thanks to wim glenn)

Hello @cdgriffith! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file test/test_box.py:

Line 857:27: W292 no newline at end of file

Coverage decreased (-0.4%) to 99.236% when pulling 5655db8593f5e67b5374e44240a26e500b4926ef on development into 561548983c8956eac486c8cf99f5801e1155972a on master.

Blocking - need documentation for new default box behavior


Remove multi new candidate

The problem
Remove the multi method new($, *@) candidate from the docs. It throws an error when used, and going by the description of Mu.new it wasn't meant to be documented.
See #4188.
Solution provided
Remove multi method new($, *@) from the docs.

Thanks


high contrast docs

need a way to enter high contrast mode in docs (and when that exists, also need to update css to make sure everything plays nicely with high contrast mode.)

This is tracked in adafruit.


usability issues with bodyCss with kui--bottom-input?

Describe the bug
Enabled kui--bottom-input.

[x] Can enter commands by typing but cannot paste text into the input area once you start typing.
[ ] Tab completion does not work.
[ ] Some help does not properly scroll.
[x] reverse-i-search

Steps to reproduce the behavior
For the past bug, add kui--bottom-input to bodyCss, start kui, start typing a command then try to paste some text into the input area to complete the command.
For the tab completion bug, start typing a known command and hit tab - the focus will cycle through windows.
For the scrolling bug, see gif.

Expected behavior
Expect paste and tab completion to work, and proper scrolling.

thanks. yes, the bottom input should be considered a demonstration prototype at this point.

adding reverse-i-search to the list

paste in #2493
reverse-i-search in #2495

tab completion seems ok to me?

should be all good now