Dynamic Runtime and Interpreter (2.0 Alpha 1)

Summary
On the road to implementing a new runtime and interpreter for Enso (nee. Luna), the first port of call is to get a minimal working version. For us, this means omitting types and optimisations, and implementing a fairly simple AST interpreter using Truffle on top of GraalVM.
This interpreter will have no notion of types beyond constructors, and no typechecking will take place. Instead, it will work in a dynamic fashion, with runtime checks for members and so on. This won't be wasted effort however, as these mechanisms will later be necessary for implementing Enso's Dynamic type itself, and hence all the work now can be built upon as we get closer and closer to a fully-working language runtime.
Value
Rather than attempting to create a feature-complete runtime in one fell swoop, it makes far more sense to instead create a base that can then be incrementally improved. Though we do not intend to release the new runtime to users in an incomplete state, being able to work incrementally ensures that we do not paint ourselves into a design corner from the get-go, as well as allows us to experiment and evaluate the design as time goes on.
Specification
The end goals of this epic are as follows:

An interpreter that supports the full dynamic semantics of Enso.
The beginnings of infrastructure for both typechecking and optimisation of the Enso AST.
A design that is amenable to evolution

Acceptance Criteria & Test Cases

A working interpreter that implements the full dynamic semantics of the enso language.
A test suite that checks for both performance and semantic regressions.

It needs to be finished with a command-line interface @iamrecursion @kustosz

The remaining portions of this epic have been superseded by #273, as all the remaining tasks pertained to the compiler front-end and not the interpreter.


dark mode is very quick and needs a slowing ease in effect

Description
The toggle button for dark mode launches the dark mode very quickly, it should have a slow blend in animation instead of a quick launch into dark mode which can harm the eyes. I can work on this issue by slowing down the animation for blending in dark mode/ light mode.
Steps to reproduce
step 1: targetting the toggle button for dark/light mode
step 2: implementing a transition effect and testing out the time
step 3: finalizing the outcome and checking for any bugs if caused by the effect
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

Hi @SagarSharma2809 , actually issue #541 is changing the implementation of dark mode, so you may want to wait until it gets implemented to work on this issue.
Thanks a lot for raising such an important issue.

Description
The toggle button for dark mode launches the dark mode very quickly, it should have a slow blend in animation instead of a quick launch into dark mode which can harm the eyes. I can work on this issue by slowing down the animation for blending in dark mode/ light mode.
Steps to reproduce
step 1: targetting the toggle button for dark/light mode
step 2: implementing a transition effect and testing out the time
step 3: finalizing the outcome and checking for any bugs if caused by the effect
Screenshots
No response
Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response

are you available for this issue, if it exists yet? @SagarSharma2809

Yes, I am available for this issue if it exists

Yes, I am available for this issue if it exists

you can go ahead! :)


call: support passing non-arrays for params

Just a bit of sugar, this allows passing a non-array for params, which will be converted into an array. No more extra [ ... ] wrappers, since we always just use 1 param.
/cc @stevenmiller888 @stephenmathieson

sweet, lgtm!


⚠ Bofrost.de has degraded performance

In 9fd35d2, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1769 ms

Resolved: Bofrost.de performance has improved in ca9e916 after 1 hour, 8 minutes.


webpack.config.js not found even if customWebpackConfig is not set

Describe the bug
I just want to merge extra webpack config for production build. So I only config the production options, but for development build, it runs into errors: webpack.config.js not found
Builder:

@angular-builders/custom-webpack
7.3.1

Libraries

angular-devkit/build-angular: 0.12.3

Expect
Ignore when customWebpackConfig is not set
Additional context
My angular.json config is like
"build": {
          "builder": "@angular-builders/custom-webpack:browser",
          "options": {
            "outputPath": "dist/mall/browser",
            "index": "projects/mall/src/index.html",
            "main": "projects/mall/src/main.ts",
            "polyfills": "projects/mall/src/polyfills.ts",
            "tsConfig": "projects/mall/tsconfig.app.json",
            "sourceMap": true,
            "assets": [
              "projects/mall/src/favicon.ico",
              "projects/mall/src/assets"
            ],
            "styles": [
              "projects/mall/src/styles.scss"
            ],
            "scripts": [],
            "statsJson": true
          },
          "configurations": {
            "production": {
              "customWebpackConfig": {
                "path": "extra-webpack.config.js",
                "mergeStrategies": { "devtool": "replace" }
              }
         }

Yeah, indeed a use case that I missed. You're welcome to PR (it's just adding a default value in schema).
Meanwhile the workaround is to create an empty config for development and specify it in options.

@chaoyangnz Hey, I saw that you closed the pull request.  Just checking.

yes, please do

The issue is not fixed. I upgrade the version, the same error can be seen.
I checked your fix, the problem is when no extraWebpackConfig is specified, its value is not undefined or null, but ```
{
path: undefined,
mergeStrategies: {};
replaceDuplicatePlugins: undefined;
}
that is why null guard is not sufficient.

Hope this helps.

Are you certain? Because there is an e2e test that passes (with unspecified value). Make sure the version you have is 7.4.2 and check out sanity-app in the examples.

I am sure. I download the sanity-app folder, change the version in package.json to 7.4.2.
then yarn install, yarn run build, you will see the error.
Why I said the default value is not undefined and null, that is because I debugged it when I created the pull request days ago.

Are you certain? Because there is an e2e test that passes (with unspecified value). Make sure the version you have is 7.4.2 and check out sanity-app in the examples.

Changing version in package.json alone won't help, because there is a package-lock.json. Please install the latest version by running yarn add @angular-builders/custom-webpack@latest.
The default value is fine, it's false and not null or undefined so it works.

Changing version in package.json alone won't help, because there is a yarn.lock. Please install the latest version by running yarn add @angular-builders/custom-webpack@latest.
The default value is fine, it's false and not null or undefined so it works.

The same following what you said. I even removed yarn.lock.
The is the version from yarn.lock
"<EMAIL_ADDRESS>  version "7.4.2"   resolved<EMAIL_ADDRESS> integrity sha512-+ZR7sDm1wLaOvR8giE+b/2FfUA4RL+Gz2q058ceVBjrPG41dTeh9orK8H1xATWuCkTcIvqxBUqVIZjGvsEdpwg==   dependencies:     lodash "^4.17.10"
could you try yourself?

Yeah, you are right. Somehow the wrong schema.json slipped into the build.
Will publish the correct one soon.
Reopening meanwhile.

Would you mind trying version 7.4.3?

Would you mind trying version 7.4.3?

Tried. it works. thanks


Docker: Python cleanup

Start simplifying the Python setup as with python-inspector we don't need some tools anymore, see the commit messages for details.

@mnonnenmacher I think you do need deactivate/remove python2  tests as well

@mnonnenmacher I think you do need deactivate/remove python2 tests as well

No, python-inspector can simulate Python 2 dependency resolution so these tests are still working.


feat: show status after navigation

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

Current dependencies on/for this PR:

main

PR #182

PR #183   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 18, 7:53 PM: Graphite rebased this pull request as part of a merge.


update to SQL protocols

https://github.com/vapor/sql/pull/11

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 747 coins.


Add arguments for python threshold filter

Tested off Windows10 and Ubuntu 16.04

Hi @codinglife001
Thank you for the patch.


Expose APIserver duration metrics and enable logs analytic

Our customer would like us to provide the following features:

Expose the APIserver request duration metrics through Prometheus.
Enable log data analytics

By default APIserver metrics endpoints exposes apiserver_request_duration_seconds_bucket, however, such metrics are not shown in Prometheus. This is likely due to the fact that prometheus add-on helm chart is configured to disable apiserver scraping. How do we enable apiserver scraping for guest cluster will be the tricky part.
To support log analytics, the kit substrate should also deploy ELK stack to collect logs and provide elasticsearch for data analysis.

Expose the APIserver request duration metrics through Prometheus.

This already configured here when you deploy a KIT cluster-
https://github.com/awslabs/kubernetes-iteration-toolkit/blob/main/operator/pkg/controllers/master/podmonitors.go#L29
Let me know if its not working as intended.
Exporting logs is tracked as part of https://github.com/awslabs/kubernetes-iteration-toolkit/issues/106


Maintain ident when chaining pitching loaders

I came across a bug when chaining multiple (more than 2) pitching loaders. It appears that the loader ident property specified in the remaining request string was not being copied from one loader to the next, so any non-serializable loader options were lost along the way.
What kind of change does this PR introduce?
bugfix
Did you add tests for your changes?
Yes
If relevant, link to documentation update:
N/A
Summary
This bug occurs when a remaining request containing non-serializable options is passed through multiple pitching loaders before arriving at the final loader. When the final loader runs, any non-serializable options have been lost.
Example:
webpack.config.js:
module.exports = {
  entry: `./index.js`,
  module: {
    rules: [
      {
        include: require.resolve('./message'),
        use: [

          // Dummy pitching loader that just relays the output to the next loader
          { loader: require.resolve('./loaders/passthrough.js') },
          { loader: require.resolve('./loaders/passthrough.js') },

          // Normal loader that specifies non-serializable options
          {
            loader: require.resolve('./loaders/replace.js'),
            options: { pattern: /foo/, replacement: 'bar' },
          },
        ],
      },
    ],
  },
};

index.js:
console.log(require('./message'));

message.js:
module.exports = 'foo';

loaders/passthrough.js:
const loaderUtils = require('loader-utils');

module.exports = function passthroughLoader() {};
module.exports.pitch = function pitch(request) {
  return `module.exports = require(${loaderUtils.stringifyRequest(this, `!!${request}`)});`;
};

loaders/replace.js:
const loaderUtils = require('loader-utils');

module.exports = function replaceLoader(source) {
  const { pattern, replacement } = loaderUtils.getOptions(this);
  if (!(pattern instanceof RegExp)) { throw new Error('Pattern must be a regular expression'); }
  return source.replace(pattern, replacement);
};

Results:

Before the fix, webpack fails with Pattern must be a regular expression
After the fix, webpack compiles the bundle correctly

N.B. This only happens when multiple pitching loaders are chained: if one of the loaders is removed, the bundle compiles even with the current version of webpack.
Does this PR introduce a breaking change?
No
Other information
Let me know if there's any more information you need about this.

Thanks


Website request FullScreen makes webview crash

Hi,
When a website requests full screen the webview became unresponsive.
Element.requestFullscreen()
For example if you open: https://davidwalsh.name/demo/fullscreen.php
And click to open in Full Screen the webview stop working.
Anyone know the motive for this to happen? On the console nothing shows and on Chrome it works good.
Greetings.

What Android version did this happen with? Can you reproduce that behavior with other devices (that have different Android versions)?

I managed to fix it: https://github.com/akhgupta/WebviewVideo

Thanks, implementing two additional methods is enough to make this work, see https://github.com/delight-im/Android-AdvancedWebView/issues/84.


The 'Undelete' action is disabled for one soft-deleted ADLS Gen2 blob/folder

Storage Explorer Version: 1.21.0-dev
Build Number: 20210818.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Big Sur 11.4
Architecture: ia32\x64
How Found: From running test cases
Regression From: Previous build (20210817.3)
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a blob container -> Upload one blob.
Soft delete the blob -> Switch to 'Deleted only'.
Right click the soft-deleted blob.
Check whether the 'Undelete' action is enabled.

Expected Experience
The 'Undelete' action is enabled.
Actual Experience
The 'Undelete' action is disabled.

Additional Context
Related bug 4772.

This issue is fixed on the build 20210819.3. So close it.


Only one chapter is downloaded

Bug report
Environment:

Component
Value

OS
Ubuntu 16.04.6 LTS

Python version
Python 3.5.2

Pip version
pip 19.1.1

Npm version
3.5.2

Manga-py version
1.8.0

URL
https://mangakakalot.com/manga/saihate_no_paladin

URL
https://mangadex.org/title/39036/that-inferior-knight-lv-999

URL
https://bato.to/series/68102

To Reproduce:
manga-py https://mangakakalot.com/manga/saihate_no_paladin
manga-py https://mangadex.org/title/39036/that-inferior-knight-lv-999
manga-py https://bato.to/series/68102

Only one chapter per url is downloaded
Additional context
With Manga-py version 1.7.2 it worked, commit 192e59df0e97f51e815f326d9d182b67ea34e993 seems where the bug is.

Ohh.. Sorry.
Fixed

Works OK in 1.8.1 :+1:

Component
Value

OS
Debian GNU/Linux 8 (jessie)

Python version
Python 3.6.8

Pip version
pip 19.1.1

Manga-py version
1.8.1

URL
https://mangakakalot.com/manga/saihate_no_paladin

URL
https://mangadex.org/title/39036/that-inferior-knight-lv-999

URL
https://bato.to/series/68102


docs: add lwcCompilerStylesheetConfig to example

It took me a while to find this available configuration. Eventually I found it here: https://github.com/muenzpraeger/create-lwc-app/commit/8485c1541508f967e3b82f5b2427309f55d02db9#diff-b860df3818fe1ada16fb692047786cfaR55
Mind adding it to the example config file?

Absolutely - would you mind to run prettier on the PR? ;-)

Wow, I'm sorry, I should have noticed the pipeline failed. That's what I get for making a change in Github's UI instead of pulling the repo and doing it locally 🤦

All good. Soon everything will be properly IDE based. ;-)
Thanks for the contribution!


NextAll and NextUntilSelection

I have content like
section(could be anything)
h2
p #p1(could be anything - strong,section,article,div)
p #p2(could be anything - strong,section,article,div)
h2
p #p3(could be anything - strong,section,article,div)
h2
p #p4(could be anything - strong,section,article,div)

I am expecting to break in a way that each h2 and next selection(all) would be part of that.
I iterated this way.
	node.Find("h2").
		Each(func(i int, s *goquery.Selection) {
			//t := s.NextUntilSelection(s)
			//t := s.NextFilteredUntilSelection(":not(h2)", s)
			t := s.NextAll()
			t.WrapAllHtml("

")
		})

I tried all these way
expectation, logically I expected to pick the next all set of unknown elements till my selection.  NextAll pick single element eg #p1 not #p2. s.NextUntilSelection(s) selects first next to each h2 like h2,#p1 h2,#p3 h2 #p4
 -

h2
-

h2
-

h2
-

It's unclear to me what you try to do, please provide a minimal, reproducible and runnable example, with the actual data (html). I think the issue is that you use NextUntilSelection instead of NextUntil("h2"), but I'm not sure what you want vs what you think should happen.

E.g. if you have this:
var data = `

`

func main() {
	doc, err := goquery.NewDocumentFromReader(strings.NewReader(data))
	if err != nil {
		log.Fatal(err)
	}

	doc.Find("h2").Each(func(i int, s *goquery.Selection) {
		s.AddSelection(s.NextUntil("h2")).WrapAllHtml("<selection></selection>")
	})

	h, _ := goquery.OuterHtml(doc.Selection)
	fmt.Println(h)
}

It will output this:

<selection>

</selection>
<selection>

</selection>
<selection>

</selection>

Is that what you want to do?
Martin

Sample HTML

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

What is Lorem Ipsum?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

Go to Trips Lorem ipsum dolor sit amet, consectetur
            adipiscing elit.

Proin a mauris euismod, porttitor nisi vitae, tincidunt ligula.

In ac elit et neque hendrerit accumsan.

Quisque rhoncus eros egestas lacus porttitor, ac vulputate orci efficitur.

The standard chunk of Lorem Ipsum

Where does it come from?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their
    infancy.

This is some random node, now I wish to break in the section this way

type SemiSection struct {
	Title   string
	Content *goquery.Selection
}

func generateWithH2SetV3(contentID string, node *goquery.Selection) (a []SemiSection) {
	node.Find("h2").
		Each(func(i int, s *goquery.Selection) {
			t := s.AddSelection(s.NextUntil("h2")).WrapAllHtml("<selection></selection>")
			if contentID == "63406115" {
				q, _ := t.Html() // only prints heading
				println("Selection--->>")
				println(q)
			}
			sm := SemiSection{Title: s.Text(), Content: t}
			a = append(a, sm)
		})

		q, _ := goquery.OuterHtml(node)
		println("Final--->>")
		println(q) // this prints the exact result that you pasted
         	return a
}

<selection>

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

</selection>
<selection>

What is Lorem Ipsum?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

Go to Trips Lorem ipsum dolor sit amet, consectetur
            adipiscing elit.

Proin a mauris euismod, porttitor nisi vitae, tincidunt ligula.

In ac elit et neque hendrerit accumsan.

Quisque rhoncus eros egestas lacus porttitor, ac vulputate orci efficitur.

The standard chunk of Lorem Ipsum

</selection>
<selection>

Where does it come from?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their
    infancy.

</selection>

I want t to be this way
<selection>

What is Lorem Ipsum?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its
    layout.

Go to Trips Lorem ipsum dolor sit amet, consectetur
            adipiscing elit.

Proin a mauris euismod, porttitor nisi vitae, tincidunt ligula.

In ac elit et neque hendrerit accumsan.

Quisque rhoncus eros egestas lacus porttitor, ac vulputate orci efficitur.

The standard chunk of Lorem Ipsum

</selection>

that when I use/print .Html() it should be complete <selection> node, so I could manipulate further.

I hope I am clear with my problem.

Sorry, I don't quite get it. Hopefully you can understand from my example how NextUntil[...] works.

my code: q, _ := t.Html(). If I prints this it only prints heading ie.
. how would it be whole <selection>? I  expect I am clear this time.

A couple things you got wrong:

You store the result of WrapAllHtml in t - but this function returns the original set of nodes, not the new nodes (https://godoc.org/github.com/PuerkitoBio/goquery#Selection.WrapAllHtml).
You call Html to print it, but this prints the contents (i.e. inner) of the first element in the selection (https://godoc.org/github.com/PuerkitoBio/goquery#Selection.Html).

Please make sure you read the docs carefully. If you want to print out the results or something, I suggest you do your transformations in the Each loop, and outside the loop you do e.g. h, err := goquery.OuterHtml(doc.Selection) to get the full result of the document and inspect the results if it matches what you want.
Hope this helps,
Martin

Your first point solved my problem. I was missing h, err := goquery.OuterHtml(doc.Selection) while debugging, I started using it.
Thanks.

unsubscribe.发自我的华为手机-------- 原始邮件 --------发件人： Sankalp Bohra<EMAIL_ADDRESS>2020年7月26日周日 03:52收件人： PuerkitoBio/goquery<EMAIL_ADDRESS>Subscribed<EMAIL_ADDRESS>  题： Re: [PuerkitoBio/goquery] NextAll and NextUntilSelection (#338)
Your first point solved my problem. I was missing h, err := goquery.OuterHtml(doc.Selection) while debugging, I started using it.
Thanks.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.


Added ThreadPoolExecutor #97

Added a ThreadPoolExecutor (and adapted other functions to make process_geometry threadsafe)

tested on a specific case (example_speedtest.py), there is indeed a big speed gain, but the variability becomes bigger.
This variability is not always present and can also be there in other cases (withhout threadpool)

@maarten-vermeyen  Question: You can choos for max_workers. At the moment set at 5. If you don't set it, a default is chosen based on the CPU.
Ideas to make a choice here, or  is it best to not set the max_workers so it is chosen by default based on the machine the code is executed?

As for the number of workers, you could use the default, but it should be configurable and documented (I believe this would be on the aligner instance). It could be that people use self in a multi-threaded/multiprocessing environment where there are already multiple processes running concurrently (e.g. in a web application using brdr) and they do not want additional threads per python process.
The python 3.8 default min(32, os.cpu_count() + 4) seems sensible, although I assume we are slightly less I/O bound and more CPU bound. So for machines with a lower CPU count it might be weird. Say on a dual core with hyperthreading, having 6 workers that are all having CPU bound workloads might not perform much better than 4 threads. Hard to say without any profiling data though. I assume that batch operations will likely be run on more potent machines anyway.

Also, I would prefer logging exceptions instead of printing them. I think this happens on multiple places in the code, so I will create a separate ticket for that.

For the logging, it seems the other print statements are all in examples and test. So best to change this here. I will not create a separate ticket.


Code a program in C to add two numbers

In add.c in the folder

I can help with this

@HarendraSingh22 I would like to contribute the code for it. Two numbers to be added are integers or real numbers?

@khalsa-ji I would do real numbers.

hey, I would like to work on this issue

hey, I would like to work on this issue


fix typo in spec

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[RTC-226] Remove peers

This PR removes the concept of peers from membrane_rtc_engine in favour of endpoints keeping the metadata. Introduces breaking changes in MediaEvent API.
Requires this PR to be merged to pass integration tests.

Changed media event leave to disconnect in the latest commit, which requires this changes in membrane-webrtc-js to be merged.


Doc - misspelling: "relavent"

Hi,
This issue is related to this section on the wiki: https://github.com/brettwooldridge/HikariCP/wiki/Rapid-Recovery.
The wiki says: "See this page for relavent information" (multiple times), but the correct word is "relevant" instead of "relavent". I know it's a dumb issue but as you probably know, there is no way to make a PR for a wiki issue.
Greetings!

Fixed! Thanks for taking the time to point it out.


leak test data infromation

It seems to take the groud truth features from all test data.
In your AdaNPC, you take all the test data with ground truth labels (e.g., the name with out datasets) as the prototypes for inference.
https://github.com/yfzhang114/AdaNPC/blob/c280d6be2b524a895a554a7bb650ae99f5b11eea/unsupervised_adaptation.py#L327-L328
Officially, the condition and 'out' not in name should be added to avoid such leakage of test-data information.
https://github.com/yfzhang114/AdaNPC/blob/c280d6be2b524a895a554a7bb650ae99f5b11eea/domainbed/scripts/unsupervised_adaptation.py#L324-L325

Thanks for your interest. out datasets are a part of source domains, hence the target domain data will not be leaked.


Ruby Gem - Giving user access to app portal throws an exception

Bug Report
Version
Svix Ruby Gem 0.78.0
Platform
MacOs Ventura 13.1
Description
I tried this code:
svix = Svix::Client.new("AUTH_TOKEN")
dashboard = svix.authentication.app_portal_access("app_Xzx8bQeOB1D1XEYmAJaRGoj0", Svix::AppPortalAccessIn.new({}))
puts dashboard.url

I expected to see this happen: Dashboard URL Being Returned
Instead, this happened: uninitialized constant Svix::AppPortalAccessIn

Thanks for the report! You can use the now deprecated (but still fully operational) dashboard access function instead until it's fixed: https://api.svix.com/docs#tag/Authentication/operation/get_dashboard_access_api_v1_auth_dashboard_access__app_id___post
@svix-andor, can you please take a look?


python312Packages.pywaze: 0.5.1 -> 1.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pywaze is: Module for calculating WAZE routes and travel times
meta.homepage for python312Packages.pywaze is: https://github.com/eifinger/pywaze
meta.changelog for python312Packages.pywaze is: https://github.com/eifinger/pywaze/releases/tag/v1.0.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.0 in filename of file in /nix/store/2dvkb67c43yhpjd3vc9d29avj1c13gmy-python3.12-pywaze-1.0.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.waze_travel_time
python311Packages.pywaze
python312Packages.pywaze

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2dvkb67c43yhpjd3vc9d29avj1c13gmy-python3.12-pywaze-1.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.pywaze https://github.com/r-ryantm/nixpkgs/archive/709092af8cb90a407100a1ca0ec518b8e4f1e48a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/709092af8cb90a407100a1ca0ec518b8e4f1e48a#python312Packages.pywaze

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2dvkb67c43yhpjd3vc9d29avj1c13gmy-python3.12-pywaze-1.0.0
ls -la /nix/store/2dvkb67c43yhpjd3vc9d29avj1c13gmy-python3.12-pywaze-1.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package marked as broken and skipped:

python312Packages.pywaze

1 package built:

python311Packages.pywaze

Maintainer pings
cc @fabaff for testing.

Duplicate of #282898

Already on master.


Parking Lots Selection

ITS-Pro time category: https://its-pro.ucsd.edu/projects/MA/issues/MA-42?filter=allissues
This is complete when:

[ ] A UI concept is created for selecting among 61 parking lots, currently live in the production app

List of parking lots at http://mobile.ucsd.edu/replatform/v1/prod/webview/parking/parking_lots.json

Link to first design iteration: https://xd.adobe.com/view/48b708f3-3e75-4100-b302-f17ba837e213-1de4/
Breaking up parking into two sections, parking structures and parking lots. Parking lots are further broken up into subsections. Here are the subsections:

Campus Services Complex
North Campus
North Torrey Pines & Glider Port
Regents Lots
School of Medicine
Science Research Park
Scripps Oceanography
The Preuss School
UCSD Medical Center La Jolla
University Center
The 7 colleges

API at https://api-qa.ucsd.edu/store/apis/info?name=FIM-Portfolio&version=v0.0.3#/default/get_Neighborhood__id_


"Focused" doesn't seem to work

A focus debugger would be 👌🏼: https://forum.juce.com/t/a-small-tool-to-troubleshoot-focus-issues/45792/7


Add option to hide technical layers from layer list in GUI interface

🚀 Feature

Add possibility to hide technical layers from layer list in the interface
Motivation
When creating advanced widgets which add some information to canvas (like for 3D activity from today's "napari euro dev sync" meeting) the layer list is polluted with multiple layers which should not be controlled by the user, and also make the interface less readable and make harder to access to

Pitch
Add method to mark layer as technical/hidden to not show it in the interface. Possible options:

add a property like hidden, technical which default value will be false:
layers which names start from . be hidden (like Unix directories)

These layers should still be accessible from viewer.layers. Maybe a good idea to add to the settings option to make hidden layers visible.

Alternatives
There was a proposition to use layers groups when it comes to the napari codebase, but this did not solve problem when one would like to mix order of technical and data layers.

Additional context

Would this feature allow the layer list to be hidden in the code?


Year selection issue

There is no controller to select the year this is the key for the calendar but you missed it

Yes, you are right. The package has been designed to work only with the given year. To make this modification, this will need some time. However, if you want to select a specific year, you can use the other widget (EasyInfiniteDateTimeLine) that allows you to set the start and end dates. and you can make your own year picker widget and then change the year using the controller.


Attachments processor

Hi everyone,
I'm also working on an Attachments processor too, here it is if you wanna take a look
https://github.com/phires/go-guerrilla/compare/master...pkarc:go-guerrilla:attachments

Hi, that's quite a useful extension, and would possible fit well into the S3 processer I'm working on to store the attachements there. We'll have to check, what might be an impact on the existing processors.
Also in your branch there are the SPF/DKIM extensions as well, you might want to clean up that brach to only contain the attachments preprocessor.
Thanks for your help!

here is the cleaned branch:
https://github.com/phires/go-guerrilla/compare/master...pkarc:go-guerrilla:p_attachments


A ProcessError occured when ghost install

When trying to install ghost onto a digital ocean VPS I get the following error. I replaced my url and email with [My_URL] and [My_Email_Address]
✔ Checking system Node.js version
✔ Checking current folder permissions
✔ Checking operating system
✔ Checking MySQL is installed
✔ Checking for latest Ghost version
✔ Setting up install directory
✔ Downloading and installing Ghost v1.8.7
✔ Finishing install process
? Enter your blog URL: https://[My_URL]
? Enter your MySQL hostname: localhost
? Enter your MySQL username: root
? Enter your MySQL password: [hidden]
? Enter your Ghost database name: ghost_production
✔ Configuring Ghost
✔ Setting up instance
Running sudo command: chown -R ghost:ghost /var/www/ghost/content
✔ Setting up "ghost" system user
? Do you wish to set up Nginx? Yes
✔ Creating nginx config file at /var/www/ghost/system/files/[My_URL].conf
Running sudo command: ln -sf /var/www/ghost/system/files/[My_URL].conf /etc/nginx/sites-available/[My_URL].conf
Running sudo command: ln -sf /etc/nginx/sites-available/[My_URL].conf /etc/nginx/sites-enabled/[My_URL].conf
Running sudo command: service nginx restart
✔ Setting up Nginx
? Do you wish to set up SSL? Yes
? Enter your email (used for Let's Encrypt notifications) [My_Email_Address]
✖ Setting up SSL
A ProcessError occurred.
Error occurred running command: '/bin/sh -c /home/ghost/.acme.sh/acme.sh --issue --domain [My_URL] --webroot /var/www/ghost/system/nginx-root --accountemail [My_Email_Address]'
Exit code: 1
Debug Information:
Node Version: v6.11.3
Ghost-CLI Version: 1.1.1
Environment: production
Command: 'ghost install'
Please refer to https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors for troubleshooting.
Issue Summary
A summary of the issue and the browser/OS environment in which it occurs.
Steps to Reproduce

This is the first step
This is the second step, etc.

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
Technical details:

Ghost Version:
Node Version:
Browser/OS:
Database:

@iaade Most likely you didn't configure your URL to point at your server's IP address before running ghost install. Regardless, I'm going to close this because we use Github for bugs with the actual software, not support requests. Please swing by our slack channel if you need more help 😄

You were right. Thanks for the assistance and sorry for posting in the wrong location


Phi 2 Functionality 😄

This introduces Phi2 model functionality usage with the Pieces Client to provide an easy way to get started with Phi2 from scratch.
Includes:

[x] phi2 GPU example
[x] phi2 CPU example
[ ] additional comments for clarification
[ ] appending the blog to this repo

Although just one thing here, even if I select the Phi-2 model. it still shows response as OpenAI when asking a question to the Copilot. Perhaps the selection isn't working as desired? @jordan-pieces

@shivay-at-pieces ensuring this is working properly today

yes working fine now!


Implement ByteOrder to allow reading/writing primitive values

Trait documentation is here: http://burntsushi.net/rustdoc/byteorder/trait.ByteOrder.html
Not sure how much minimalism you're going for with this crate, but it seems like it would be useful to be able to read/write arbitrary primitive types to devices. It seems like that the core struct used to implement the io::Read trait which would have automatically derived the necessary functions. Is there some reason that this was removed, and would you be opposed to a default implementation of the read/write methods in the main trait?

The impl of io::Read was removed as part of the changes to move closer to a place where I2CDevice could be used in no_std environments.  It isn't there at this point, but has moved there.  I think adding back an impl is reasonable if left out of core (maybe an ext module or something).  It should be possible to implement it pretty generically for against the trait itself (you'll need to map from I2CError to io::Error and such but read/write are present).
Right now, the use of the byteorder crate is an implementation detail and not something I am looking to further couple to.  In my mind, the concern of reading/writing to I2C devices is separate from that of properly packing/parsing data buffers.  There are plenty of other creates out there for doing that (with byteorder on the simple end and more complex things like nom on the high end).


url links not working

URL links in walletconnect desktop mode for a few cases are not working

can anyone find the URL links in the code i was unable to find

I would like to work on this issue, please assign this issue to me under GSSoC'23.

Hello @J0SAL
I came across the issue regarding non-working URL links in the project and would like to offer my assistance in resolving this issue.With my experience in web development and troubleshooting, specifically in HTML, CSS, and JavaScript, I am confident in my ability to fix the non-working URL links effectively.
I'm eager to contribute to your project and help resolve this issue.I look forward to your response.
Best Regards
Suchitra Sahoo

@harshsingh32 @Suchitra-Sahoo So, did you notice the error in  frontend can you tell me in which file the URLs are located

Hi, @akshaya-hub @Suchitra-Sahoo @harshsingh32,
it would be better if you could add screenshots in your issue description to get more context.

@J0SAL kk i will add

I would like to contribute

I would like to contribute


Migrate Automation docs to .mdx

Note: Submit PR #1201 first, then rebase.

Looks like this PR includes duplicate changes with https://github.com/smartcontractkit/documentation/pull/1201/files
Should we close that other PR and just work off of this one?

Note: Originally I planned to submit PR #1201 with the getting-started changes first, then rebase this one and submit. Now I've rebased this one to remove the getting-started commit so that I can submit it right away, while I try to figure out the issues you pointed out affecting the getting-started pages.


💡 Feature Request - Allow for subscription naming on placement

Describe the solution you'd like
Problem statement
Azure subscriptions are one of the few items that can be renamed after creation. It's not uncommon to ask the CSP or a team member for a number of new subscriptions, or even create "a dozen" yourself when setting up a new tenant. While it's certainly possible to name this correctly on creation, it adds some complexity:

the person creating the subscriptions needs to know the naming conventions or be given a list (eg. CSP handling multiple customers, but not being the one setting the naming convention)
the person parameterizing ALZ needs to correctly map all subscription ids in the ALZ templates to make sure the "networking" platform sub isn't placed under landing zones.

There's also the use case were a brownfield tenant is moved to ALZ and a heap of existing subs need to be moved and renamed towards a naming convention as result of a governance exercise.
Preferred solution
Being able to name subscriptions in the subscriptions placement module, by converting the parSubscriptionIds parameter to an object array or adding a second (mutually exclusive?) parameter.
Describe alternatives you've considered
Manual naming labor 👎

Hey @bartlannoeye,
Have been giving this some thought so apologies for delay.
Unfortunately I don't think this one is something we would do or add as a feature.
Why?

No ARM, and therefore bicep, API to allow subscription renames

Potentially could use subscription aliases but that puts a lot of dependencies on higher level permissions like tenant scoped and also access to billing account etc.

Which in a CSP scenario wouldn't be possible anyway as the client wouldn't have access to the billing account so therefore couldn't create an alias.

Someone is going to have to find all the IDs anyway at some point to be able to rename them, if a suitable API did exist anyway - therefore not really saving any time for anyone ☹

Wrap up
So with all this in mind I don't think we will be implementing this I'm afraid.
I'll leave the issue open for a few days in case you think I'm missing something completely, in which case do let me know (it is possible 😂)
Thanks and let me know your thoughts
Jack

Came to a similar conclusion (lack of ARM/Bicep API) last week when digging deeper into this, hoping you'd pull it out of your sleeve ;). I guess manual renames might be the fastest to do then.

Afraid so @bartlannoeye :(


Creating hwaudio group with GID 18... Password:  su: Authentication failure

I'm using ASUS Chromebook Flip with Google Chrome OS 53.0.2773.3.dev and while running following command:
chronos@localhost / $ sudo edit-chroot -all
name: kali-rolling
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20160620130246~master:c39102d9
release: kali-rolling
architecture: armhf
xmethod: xorg
targets: xfce
host: version 8481.2.0 (Official Build) dev-channel veyron_minnie
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Fri Jun 24 00:01:48 PDT 2016 armv7l GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/kali-rolling...
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
Creating hwaudio group with GID 18...
Password:
su: Authentication failurePassword:
su: Authentication failure
chronos@localhost / $

I'm being asked for Password
Creating hwaudio group with GID 18...
Password:
su: Authentication failure

Please advise.

I am having the same issue.  Not sure what hardware the OP is using, but I'm on an Asus Flip running ChromeOS dev v53.

Please update your chroot, that should fix it.

@drinkcat, I'm getting same thing with latest version of crouton:
chronos@localhost ~ $ sh ~/Downloads/crouton -V
Downloading latest crouton installer...
######################################################################## 100.0%
crouton: version 1-20160627183059~master:e3c0a690
chronos@localhost ~ $ sh ~/Downloads/crouton -V
crouton: version 1-20160627183059~master:e3c0a690
chronos@localhost ~ $ sudo edit-chroot -all
Password:
name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
Creating hwaudio group with GID 18...
Password:
su: Authentication failure
chronos@localhost ~ $

It seems to be failing on updates too according to this post: Authentication problem on Install

this is a blocker for me and whoever else is experiencing same issue...
chronos@localhost ~ $ sudo startunity
Password:
Entering /mnt/stateful_partition/crouton/chroots/precise...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] y
Preparing chroot environment...
Creating hwaudio group with GID 18...
Password:
su: Authentication failure
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in precise
Unmounting /mnt/stateful_partition/crouton/chroots/precise...
chronos@localhost ~ $

I cannot do anything(

@a1exus,
Your chroot didn't even make it far enough to create a user id:

UID 1000 not found in precise

In this scenario, it would be best to just delete it and install a new chroot only try the 'trusty' release this time since it works much better.
Hope this helps,
-DennisL

chronos@localhost ~ $ sudo sh ~/Downloads/crouton -n trusty -t xfce
...
Pruning /mnt/stateful_partition/crouton/chroots/trusty mounts...
Creating hwaudio group with GID 18...
Password:
su: Authentication failure
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
chronos@localhost ~ $ sudo enter-chroot
Entering /mnt/stateful_partition/crouton/chroots/trusty...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] y
Preparing chroot environment...
Creating hwaudio group with GID 18...
Password:
su: Authentication failure
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
UID 1000 not found in trusty
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
chronos@localhost ~ $

@a1exus - Whoa, backup...
In your earlier post, you show a 'precise' chroot without a user id setup -

Entering /mnt/stateful_partition/crouton/chroots/precise...
...
UID 1000 not found in precise

That's why I recommended removing it and using the 'trusty' release.

In the above post, you deleted a chroot named trusty -

sudo edit-chroot -d trusty

Which I didn't know you had installed - that's not what I suggested you remove.
I don't know what release it was since you haven't shown us the output of sudo edit-chroot -all like we ask.
Then you attempted to install a new chroot named trusty with the xfce target -

sudo sh ~/Downloads/crouton -n trusty -t xfce

And you fell into the same predicament, a broken precise chroot.
The reason is, you didn't specify a release using the '-r' option, you used the '-n' option which specifies the name so the release defaulted to precise.
Now you need to delete it again with the first command you used above, namely -
sudo edit-chroot -d trusty
Then, install a new trusty chroot using something like -
sudo edit-chroot -r trusty -t xfce,extension
This chroot will be named trusty since it defaults to the release name if you don't specify a name.
I like to add the extension target for copy-paste operations.
I usually also add both 'xorg' & 'xiwi' ( and the 'crouton integration' extension ) for more flexibility.
Hope this helps,
-DennisL

I fell back to Trusty and everything is working for now. I will continue to monitor this issue for a resolution and if any testing is needed.

@DennisLfromGA you're absolutely correct, I used wrong option and I was able to get it going with -r trusty! yet default release still broken(

@a1exus - Great!
Yes, there still seems to be a problem with the 'precise' release and probably 'kali-rolling' that you first reported.
We'll give the developers some time to look at the issue.
-DennisL

The issue is here:
https://github.com/dnschneid/crouton/blob/5d488fe8ffe603d730bc4f3b889df10a1ff228da/host-bin/enter-chroot#L531
Chrome dev on this device includes ARC++ support, which enables SELinux enforcing on the system. The liked code makes /sys/fs/selinux read only, which causes some sort of code path in su that falls back to password auth after failing to write to /sys/fs/selinux/access.
Somewhat related, I don't think this sequence of commands does what's intended:
mount --make-rshared /sys
mount --rbind /sys "$CHROOT/sys"
mount --make-rslave "$CHROOT/sys"
mount -o remount,ro "$CHROOT/sys/fs/selinux"
On my device, the ro mount flag does propagate to /sys/fs/selinux outside the chroot, similar to what's described at https://lists.linuxcontainers.org/pipermail/lxc-devel/2015-December/012978.html.

If the intent is to hide the fact that SELinux is enforcing from the container, I believe you can get away with:
umount "$CHROOT/sys/fs/selinux"
instead of
mount -o remount,ro "$CHROOT/sys/fs/selinux"

sudo sh crouton -r trusty -t xfce,extension,xorg,xiwi
worked for me -- I was in my ¬/Download folder anyway...
and I had deleted any previous installations, restarted and downloaded the latest crouton.
I have been looking for a solution for weeks.
Thanks @DennisLfromGA  your solution worked for me on my Minnie Asus Flip Dev 53.
I'm off to explore the distro I've loved since Drake.
Gracias.

I can confirm that the precise (default) release does not work. I get the same exact error after entering the password for hwaudio.
-r trusty seems to be working fine though. Thanks everyone!

For anyone with an ASUS Flip C100p who's a total novice and just wants to get something up and running this is what worked for me:
Delete whatever you did that didn't work
sudo edit-chroot -all
sudo edit-chroot -d (whatever the name of it is)
type the letter y (for 'yes') when it asks you to confirm the deletion
Then start fresh:

Download latest crouton here:
https://goo.gl/fd3zc
Download the extension here:
https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom
sudo sh ~/Downloads/crouton -r trusty -t xfce,extension
Wait patiently with fingers crossed
Give it a username/password when prompted (you get to make these up, they aren't related to your Google account)
Done!
To launch the GUI type in: sudo startxfce4
To end the chroot simply log out (I can't seem to get the keyboard shortcut to cycle back and forth to work for me)

Thanks for everyone in the thread who helped out!

Very frustrating till I found this thread. Thanks for all your help and patience explaining!

@GeitHub, Thank you so much for your simple instructions. Worked like a charm!

I'm wondering if this is still a problem with enter-chroot's new logic in place (shown below)?
    # Remount selinux as ro
    if mountpoint -q "$CHROOT/sys/fs/selinux"; then
        mount -o remount,ro,bind "$CHROOT/sys/fs/selinux"

If anyone on M53 with 'precise' and ARC++ can test this I'd be most appreciative.
Thanx,
-DennisL

I haven't tested at the moment, but based on my comment explaining the issue above, I don't see how that change would help things.
It looks like https://github.com/dnschneid/crouton/commit/fe9dad6b3d569c1a97411aa7318582dc8c31b27a fixed the issue of breaking SELinux on the rest of the system, but the issue remains that remounting selinuxfs ro in the container makes su unhappy.
I'm not familiar with the original logic behind remounting selinuxfs ro (perhaps @drinkcat would remember: https://github.com/dnschneid/crouton/commit/3454f13e4b1f1e0ae5e0db03d57c7302814fa2ea), but it would probably work better to just unmount selinuxfs in the container as I suggested above.

@rickyz,
The latest merge checks to see if selinux is a mountpoint and then bind mounts it.
It's interesting that it seems to break on just some releases.
I don't have a Chromebook with Android apps yet so I can't test it, maybe you or others could.
-DennisL

I don't have my device on me at the moment, but from the last time I debugged this, the issue is not the type of mount, but the fact that it is read only. I did test my suggested fix of
umount "$CHROOT/sys/fs/selinux"
and it fixes the issue.

@rickyz,
I think the problem with not mounting or unmounting selinux is that it kills Android apps when a chroot is launched so that's probably not the best solution.
-DennisL

Hm, I don't see how unmounting selinuxfs inside of the crouton container would kill Android apps - that shouldn't have any effect on things running inside the Android container. I can't say whether I tested launching a crouton container while Android apps are running since it's been a month or two since I looked into this.

@rickyz,
Sorry, I was mistaken. I'm at a disadvantage because I don't have a system with ARC++ yet so I'm just trying to keep up with the issues and not actually able to test or experience them.
I think the original issue was this one: Google Play crashes on Crouton chroot mount #2706
When  a chroot was launched and selinux was mounted, Android apps crashed.
So the remedy was to just unmount selinux in the chroot.
This user dug into it a little deeper and decided he didn't need selinux mounted in the chroot.
However, I don't know the reason it was mounted in the chroot to begin with, I'm sure the devs had a reason.
We may have to let them take another look at this and decide what's best.
-DennisL

New to everything Chrome and Linux based but fascinated by the potential. I bought an Acer R11 three weeks ago and have been trying to get a distro using the tutorials that litter the web but have spent  hours and hours of fruitless endeavour trying to make it work. Geithub's instructions have got me on the cusp of success so many thanks. However, I am still not 'in'. The distro unpacks, I get to set a username and UNIX password. I enter sudo startxfce4 but then get asked for a password which I'm not sure about. I tried the Unix password but that didn't work. Any pointers much appreciated.

I'm still getting this issue:
Creating hwaudio group with GID 18...
then a password prompt, even with the current selinux fix: https://github.com/dnschneid/crouton/issues/2748 (I see these changes inside of my /usr/local/bin/enter-chroot)
This error happens only when trying to install the default ubuntu precise: crouton -t core,cli-extra -n test
If I try with trusty or newer, installation succeeds and I can use it: crouton -t core,cli-extra -n test -r trusty.
Unfortunately, I'm trying to use vagrant with virtualbox on the chroot which only successfully installs on precise.
Any help would be appreciated.

So I tried using umount on precise, and, indeed, that fixes the hwaudio group creation, but, then breaks this command:
useradd -u 1000 -G audio,input,video,sudo,plugdev -s /bin/bash -m nicolas

strace output looks like this:
access("/home/nicolas", F_OK)           = -1 ENOENT (No such file or directory)
gettid()                                = 6351
open("/proc/self/task/6351/attr/current", O_RDONLY|O_LARGEFILE) = 9
read(9, "u:r:chromeos:s0\0", 4095)      = 16
close(9)                                = 0
open("/etc/selinux/config", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/selinux/targeted/contexts/files/file_contexts.subs_dist", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/selinux/targeted/contexts/files/file_contexts.subs", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/selinux/targeted/contexts/files/file_contexts", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/fs/selinux/enforce", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

One possible workaround looks like this:
    mount -t tmpfs none "$CHROOT/sys/fs/selinux"
    echo 0 > "$CHROOT/sys/fs/selinux/enforce"
    mount -o remount,ro "$CHROOT/sys/fs/selinux"

That seems to work with both precise and trusty.
Another way might be to clear the SELinux context for the current process? (useradd seems to check that first, before looking if /sys/fs/selinux/enforce exists)
@rickyz : Any idea?

@drinkcat Thanks, that other change fixed the installation issue for me.


Code changes for formatting response of search call in chroma vector db.

Code changes for formatting response from nearest neighbour call search in chroma vector db.
Sample Command : VectorDatabaseQuery ( engine = "41766dd6-cfc0-4425-ac7c-e0e1715bbfab" , command = "what is somatosensory" , limit = 5 ) ;
O/P :
[
{
"Content": "This is a...",
"Divider": "1,  2",
"Modality": "text",
"Part": "0",
"Source": "somatosensory.pdf",
"Tokens": 488
},
{
"Content": "receptors respond to ..",
"Divider": "3,  4",
"Modality": "text",
"Part": "0",
"Source": "somatosensory.pdf",
"Tokens": 500
}
]

Can we take a look at the changes I pushed and see if that does what the previous code was doing?

@themaherkhalil : We are getting formatted search response with new code . Please merge the code.

No code change after merging in dev. Pushed with https://github.com/SEMOSS/Semoss/pull/213


Split playbook into example.yml and tests/playbook.yml

This means you can link directly to example.yml
See https://github.com/openmicroscopy/infrastructure/pull/246#discussion_r98951975

Example looks good (especially ignoring the Ansible 2.2 stuff). Merging but not bumping tag since this is essentially doc.


Cannot expand figures to the bottom when figure at the bottom of the page

There is an issue of not being able to expand a figure vertically when it is at the bottom of the page. I have tested on Safari and Chrome on macOS.
Please see the gif of the bottom of the page below:

I cannot expand at some point as it shows.

Hi @rooa: I'm trying to reproduce your issue, however I'm only running into it when the browser window itself is at the bottom of my screen. If the browser window is not at the bottom of my monitor I'm able to extend the figure below the page. Are you able to reproduce it in any circumstance other than having the browser window at the bottom of your monitor?

Closing as it has been more than a month and I can't reproduce the issue


New MEAN.JS project, cleaned and updated

This pull request began with a yo generator-meanjs, and then underwent some cleaning.
Here's what was changed, in a nutshell:

Dependencies alphabetized and updated
Unused Passport Strategies removed from the project
David-DM badge added to README
CodeClimate project created and badge added to README
CodeClimate suggestions considered for config files to bring up our GPA from 3.3 -> 3.7
All tabs have been replaced with 4 spaces

lgtm now


drivers: serial: Remove an unnecessary critical section (cs) for SMP

Summary

I thought this cs is needed to avoid data corruption
For example, while executing uart_xmitchar() in the interrupt
handler on CPU0, an application running on CPU1 can call
uart_putxmitchar() via write()->uart_write().
In this case, taking xmit.sem in uart_write() will wait for CPU0
to finish uart_xmitchar() because CPU0 has already taken a cs
in uart_xmitchar() then nxsem_wait() on CPU0 takes a new cs
inside (and release the cs when returning but it's OK)
Then uart_write() on CPU1 disables UART TX, so uart_xmitchar()
on CPU0 will not be called while executing uart_write() on CPU1.
So this critical section in uart_putxmitchar() can be removed.

Impact

None

Testing

Tested with spresense:wifi_smp, esp32-devkitc:smp

@xiaoxiang781216
I rewrote the summary and commit messages.


Format on save doesn't work no matter what.

Issue Type: Bug
Can't seem to save and format no matter what. The only thing that works is forced formatting.
Tried wiping my settings and disabling all extensions one by one.

Version: 1.66.0
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:41.156Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Ubunut 20.04 (Linux x64 5.4.0-107-generic)
Linter extension: clang-format | xav | 1.9.0
Language: C/C++

I am experiencing the same issue. Format on save appears to no longer work after the last update (with no changes to my settings or extensions).
Version: 1.66.0 (user setup)
Commit: e18005f0f1b33c29e81d732535d8c0e47cafb0b5
Date: 2022-03-30T05:50:14.623Z
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Language: Python

ping @datawetenschapper

The update to version 1.66.1 appears to have restored this functionality for me.

I updated to 1.66.1 and it didn't solve it for me.
Plus, I don't understand what more info is needed, since I followed the template from the guidelines

I ran into this issue. I was able to fix it by running ctrl+shift+p, Format Document With..., Configure Default Formatter..., and choosing one of the two options there.
I believe that the root issue here (for me at least), is that if I set formatOnSave but there are multiple formatters to choose from, saving will not prompt the user to choose one.

Fwiw the only fix I could find was uninstalling vscode fully with revo and reinstalling it with account sync off, then reinstalling all my extensions and then pasting my settings into the settings.json.

@datawetenschapper Thanks for following up. I am closing this as question but I have created (and already implemented)  https://github.com/microsoft/vscode/issues/148053 as follow-up work. The gist is to make it more explicit in the UI when multiple formatters exist


Missing react-dom/server

I believe for nerv to be a true drop-in replacement it would have to implement the equivalent of react-dom/server:

can i use gatsbyjs with nerv now ?  what about this plugin
https://www.npmjs.com/package/gatsby-plugin-nerv
能和gatsbyjs项目中用吗，使用上面这个插件？


Hiding x-axis causes last point and tooltip to be cut off

Fiddle: http://jsfiddle.net/m1bvoqew/ (using v2.2.1)
Screenshot:

The first chart has a hidden x-axis, which causes the last point and tooltip to be cut off. The second chart has a displayed x-axis, and there everything is fine.

Can be adjusted using configurable padding introduced in #3476


[api-minor] Deprecate the PDFDocumentProxy.getJavaScript method

This method is very old, however with the exception of the auto-print hack (when scripting is disabled) in the viewer it's never actually been used.
Most likely the idea with PDFDocumentProxy.getJavaScript was that it'd be useful if scripting support was added, however it turned out that it was a bit too simplistic and instead a number of new methods were added for the scripting use-cases.

/botio test


SEARCH

SEARCH
GIVEN a weather dashboard with form inputs
WHEN I search for a city
THEN I am presented with current and future conditions for that city and that city is added to the search history

Search button works and presents current and future conditions.


CI txn_box ramp autest failure

The ramp test is a relatively new txn_box autest that is failing with some frequency in CI.
Here is a recent example:
https://ci.trafficserver.apache.org/view/Github/job/Github_Builds/job/autest/19066/
The failure is due to a failed HttpSM assertion:
[Mar  5 17:38:02.479] traffic_server NOTE: Traffic Server is running unprivileged, not switching to user 'nobody'
Fatal: ../src/proxy/http/HttpSM.cc:2979: failed assertion `event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT`
NOTE: using the environment variable TS_RUNROOT
[Mar  5 17:38:02.767] traffic_crashlo NOTE: crashlog started, target=16830, debug=false syslog=true, uid=1200 euid=1200
[Mar  5 17:38:02.768] traffic_crashlo NOTE: logging to 0x1cb1370
[Mar  5 17:38:02.769] traffic_crashlo ERROR: wrote crash log to /tmp/sandbox/ramp/ts/log/crash-2024-03-05-173802.log
traffic_server: received signal 6 (Aborted)
traffic_server - STACK TRACE:
/tmp/sandbox/ramp/ts/bin/traffic_server(crash_logger_invoke(int, siginfo_t*, void*)+0xce)[0x881b86]
/lib64/libc.so.6(+0x3e9a0)[0x7fa0b885e9a0]
/lib64/libc.so.6(+0x90834)[0x7fa0b88b0834]
/lib64/libc.so.6(raise+0x1e)[0x7fa0b885e8ee]
/lib64/libc.so.6(abort+0xdf)[0x7fa0b88468ff]
/tmp/sandbox/ramp/ts/bin/traffic_server(ink_warning(char const*, ...)+0x0)[0x8b7538]
/tmp/sandbox/ramp/ts/bin/traffic_server[0x8b3c4e]
/tmp/sandbox/ramp/ts/bin/traffic_server(HttpSM::tunnel_handler(int, void*)+0x12a)[0x915cfc]
/tmp/sandbox/ramp/ts/bin/traffic_server(HttpSM::main_handler(int, void*)+0x254)[0x914486]
/tmp/sandbox/ramp/ts/bin/traffic_server(Continuation::handleEvent(int, void*)+0xdd)[0x887831]
/tmp/sandbox/ramp/ts/bin/traffic_server[0xc06fcf]
/tmp/sandbox/ramp/ts/bin/traffic_server[0xc07420]
/tmp/sandbox/ramp/ts/bin/traffic_server(write_to_net_io(NetHandler*, UnixNetVConnection*, EThread*)+0x92b)[0xc087f2]
/tmp/sandbox/ramp/ts/bin/traffic_server(write_to_net(NetHandler*, UnixNetVConnection*, EThread*)+0x3f)[0xc07ec4]
/tmp/sandbox/ramp/ts/bin/traffic_server(UnixNetVConnection::net_write_io(NetHandler*, EThread*)+0x2b)[0xc09f2d]
/tmp/sandbox/ramp/ts/bin/traffic_server(NetHandler::process_ready_list()+0x16d)[0xc35915]
/tmp/sandbox/ramp/ts/bin/traffic_server(NetHandler::waitForActivity(long)+0x150)[0xc35bc6]
/tmp/sandbox/ramp/ts/bin/traffic_server(EThread::execute_regular()+0x482)[0xc716dc]
/tmp/sandbox/ramp/ts/bin/traffic_server(EThread::execute()+0xf9)[0xc71871]
/tmp/sandbox/ramp/ts/bin/traffic_server[0xc701f2]
/lib64/libc.so.6(+0x8e897)[0x7fa0b88ae897]
/lib64/libc.so.6(clone+0x44)[0x7fa0b8935674]

Seeing something similar on docs:
Fatal: /home/bneradt/src/trafficserver_10/src/proxy/http/HttpSM.cc:2968: failed assertion `event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT`
[Mar 22 14:21:12.346] traffic_crashlo NOTE: crashlog started, target=15587, debug=false syslog=true, uid=0 euid=0
[Mar 22 14:21:12.350] traffic_crashlo NOTE: logging to 0x615000003c80
[Mar 22 14:21:14.732] traffic_crashlo ERROR: wrote crash log to /opt/ats/var/log/trafficserver/crash-2024-03-22-142112.log
traffic_server: received signal 6 (Aborted)
traffic_server - STACK TRACE:
/opt/ats/bin/traffic_server(_Z20signal_crash_handleriP9siginfo_tPv+0x1c)[0x55cb6b15d02f]
/opt/ats/bin/traffic_server(_Z19crash_logger_invokeiP9siginfo_tPv+0x180)[0x55cb6b0bc157]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fc04b15b420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fc04af9800b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fc04af77859]
/opt/ats/bin/traffic_server(_Z11ink_warningPKcz+0x0)[0x55cb6b132e0a]
/opt/ats/bin/traffic_server(+0xbdac7e)[0x55cb6b12cc7e]
/opt/ats/bin/traffic_server(_ZN6HttpSM14tunnel_handlerEiPv+0x2bc)[0x55cb6b222de6]
/opt/ats/bin/traffic_server(_ZN6HttpSM12main_handlerEiPv+0x51c)[0x55cb6b21f11c]
/opt/ats/bin/traffic_server(_ZN12Continuation11handleEventEiPv+0x1e3)[0x55cb6b0ca6eb]
/opt/ats/bin/traffic_server(+0x13c6724)[0x55cb6b918724]
/opt/ats/bin/traffic_server(+0x13c6d70)[0x55cb6b918d70]
/opt/ats/bin/traffic_server(_Z15write_to_net_ioP10NetHandlerP18UnixNetVConnectionP7EThread+0x1231)[0x55cb6b91b2c9]
/opt/ats/bin/traffic_server(_Z12write_to_netP10NetHandlerP18UnixNetVConnectionP7EThread+0x67)[0x55cb6b91a095]
/opt/ats/bin/traffic_server(_ZN18UnixNetVConnection12net_write_ioEP10NetHandlerP7EThread+0x2f)[0x55cb6b91e805]
/opt/ats/bin/traffic_server(_ZN10NetHandler18process_ready_listEv+0x477)[0x55cb6b9a97d3]
/opt/ats/bin/traffic_server(_ZN10NetHandler15waitForActivityEl+0x4a2)[0x55cb6b9a9f06]
/opt/ats/bin/traffic_server(_ZN7EThread15execute_regularEv+0x93c)[0x55cb6ba409b6]
/opt/ats/bin/traffic_server(_ZN7EThread7executeEv+0x30c)[0x55cb6ba40efc]
/opt/ats/bin/traffic_server(+0x14ebd12)[0x55cb6ba3dd12]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609)[0x7fc04b14f609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7fc04b074133]
[Mar 22 14:21:20.115] traffic_server NOTE: records parsing completed.
[Mar 22 14:21:20.115] traffic_server NOTE: /opt/ats/etc/trafficserver/records.yaml finished loading
Traffic Server 10.0.0-0 Mar 19 2024 15:31:13 ip-72-167-35-147.ip.secureserver.net
traffic_server: using root directory '/opt/ats'

I reproduced this locally by running the ramp test in a loop with ATS run via gdb:
(gdb) bt
#0  __pthread_kill_implementation (threadid=281474795599200, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x0000fffff6f522f8 [PAC] in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x0000fffff6f05800 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x0000fffff6ef0288 [PAC] in __GI_abort () at abort.c:79
#4  0x00000000008beae0 [PAC] in ink_abort (message_format=0xd1a908 "%s:%d: failed assertion `%s`") at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/tscore/ink_error.cc:99
#5  0x00000000008bac50 in _ink_assert (expression=0xd35a30 "event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT", file=0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", line=2986)
    at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/tscore/ink_assert.cc:35
#6  0x0000000000920edc in HttpSM::tunnel_handler (this=0xffffc466f710, event=103, data=0xffffc42605b0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc:2986
#7  0x000000000091f350 in HttpSM::main_handler (this=0xffffc466f710, event=103, data=0xffffc42605b0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc:2622
#8  0x000000000088a7ac in Continuation::handleEvent (this=0xffffc466f710, event=103, data=0xffffc42605b0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/include/iocore/eventsystem/Continuation.h:228
#9  0x0000000000c4aea4 in write_signal_and_update (event=103, vc=0xffffc42602e0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/UnixNetVConnection.cc:121
#10 0x0000000000c4b430 in write_signal_done (event=103, nh=0xfffff5e1cba0, vc=0xffffc42602e0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/UnixNetVConnection.cc:166
#11 0x0000000000c4c834 in write_to_net_io (nh=0xfffff5e1cba0, vc=0xffffc42602e0, thread=0xfffff5e1c010) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/UnixNetVConnection.cc:522
#12 0x0000000000c4bfa4 in write_to_net (nh=0xfffff5e1cba0, vc=0xffffc42602e0, thread=0xfffff5e1c010) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/UnixNetVConnection.cc:356
#13 0x0000000000c4df9c in UnixNetVConnection::net_write_io (this=0xffffc42602e0, nh=0xfffff5e1cba0, lthread=0xfffff5e1c010) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/UnixNetVConnection.cc:862
#14 0x0000000000c7b7b8 in NetHandler::process_ready_list (this=0xfffff5e1cba0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/NetHandler.cc:286
#15 0x0000000000c7bab4 in NetHandler::waitForActivity (this=0xfffff5e1cba0, timeout=4965250) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/net/NetHandler.cc:364
#16 0x0000000000cbf164 in EThread::execute_regular (this=0xfffff5e1c010) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/eventsystem/UnixEThread.cc:300
#17 0x0000000000cbf300 in EThread::execute (this=0xfffff5e1c010) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/eventsystem/UnixEThread.cc:350
#18 0x0000000000cbd9dc in spawn_thread_internal (a=0x11deca0) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/iocore/eventsystem/Thread.cc:68
#19 0x0000fffff6f50584 in start_thread (arg=0xfffff7fb9760) at pthread_create.c:444
#20 0x0000fffff6fbfd4c [PAC] in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone3.S:76

(gdb) f 6
#6  0x0000000000921014 in HttpSM::tunnel_handler (this=0xffffc53434b0, event=103, data=0xffffc5866260) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc:2989
2989      ink_assert(event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT);
(gdb) p event
$4 = 103
(gdb) p (int)TS_EVENT_VCONN_WRITE_COMPLETE
$5 = 103

Thus the crash happens while processing an unexpected WRITE_COMPLETE event.
Checking the history value of the HttpSM shows this:
(gdb) p history
$1 = {history = {
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd34450 "state_api_callback", line = 1292}, event = 60000, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd34488 "state_api_callout", line = 1332}, event = 60000, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd33a20 "state_read_client_request_header", line = 523}, event = 100, reentrancy = 3},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd39128 "set_next_state", line = 7933}, event = 34463, reentrancy = 3},
{location = {file = 0xd50b60 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpCacheSM.cc", func = 0xd50bf8 "state_cache_open_read", line = 106}, event = 1104, reentrancy = -31073},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd36c58 "do_cache_lookup_and_read", line = 4954}, event = 22808, reentrancy = 3},
{location = {file = 0xd50b60 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpCacheSM.cc", func = 0xd50bf8 "state_cache_open_read", line = 106}, event = 1103, reentrancy = -31073},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd35348 "state_cache_open_read", line = 2534}, event = 1103, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd39128 "set_next_state", line = 7893}, event = 34463, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd39128 "set_next_state", line = 8047}, event = 34463, reentrancy = 1},
{location = {file = 0xd50b60 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpCacheSM.cc", func = 0xd50d80 "state_cache_open_write", line = 188}, event = 1108, reentrancy = -31073},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd351f0 "state_cache_open_write", line = 2413}, event = 1108, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd39128 "set_next_state", line = 7942}, event = 34463, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd34a38 "state_read_server_response_header", line = 1873}, event = 104, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd38478 "setup_internal_transfer", line = 6908}, event = 34463, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd35a08 "tunnel_handler", line = 2984}, event = 103, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd38708 "setup_server_transfer", line = 7143}, event = 34463, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd35af8 "tunnel_handler_server", line = 3038}, event = 2302, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd35d30 "tunnel_handler_ua", line = 3409}, event = 103, reentrancy = 0},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd35a08 "tunnel_handler", line = 2984}, event = 2301, reentrancy = 1},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd34450 "state_api_callback", line = 1292}, event = 60000, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd34488 "state_api_callout", line = 1332}, event = 60000, reentrancy = 2},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd38b10 "kill_this", line = 7520}, event = 34463, reentrancy = 0},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd38b10 "kill_this", line = 7520}, event = 34463, reentrancy = 0},
{location = {file = 0xd33838 "/home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc", func = 0xd38b10 "kill_this", line = 7520}, event = 34463, reentrancy = 0},
{location = {file = 0xefbeaddeefbeadde <error: Cannot access memory at address 0xefbeaddeefbeadde>, func = 0xefbeaddeefbeadde <error: Cannot access memory at address 0xefbeaddeefbeadde>, line = -272716322}, event = 44510, reentrancy = -4162} <repeats 40 times>},
history_pos = 16}

Note that the final events are kill_this. We don't expect WRITE_COMPLETE events anymore after kill_this is called. Apparently. The this HttpSM, while killed, is not yet deleted, so this is not technically a use after free yet:
(gdb) f 6
#6  0x0000000000921014 in HttpSM::tunnel_handler (this=0xffffc53434b0, event=103, data=0xffffc5866260) at /home/bneradt/src/ts_asf_master_fix_ramp_test_failure/src/proxy/http/HttpSM.cc:2989
2989      ink_assert(event == HTTP_TUNNEL_EVENT_DONE || event == VC_EVENT_INACTIVITY_TIMEOUT);
(gdb) p magic
$11 = 65261
(gdb) p (int)HTTP_SM_MAGIC_ALIVE
$12 = 65261
(gdb) p kill_this_async_done
$13 = false


Add new motion ]( and ]{

Vim has four paren motion [(, [{, ]) and ]}. When following text is given and cursor is at |:
{foo(x, y|, bar(), baz());}

]) is useful to remove arguments right side.
{foo(x, y);}

But [( is exclusive motion.
{foo(x, y, bar(), |baz());}

[( remove previous (:
{foobaz());}

This is not useful.  So this change add new motion ]( and ]{

Codecov Report

Merging #5320 into master will increase coverage by 0.13%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #5320      +/-   ##
==========================================
+ Coverage   82.11%   82.25%   +0.13%
==========================================
  Files         134      134
  Lines      144918   147585    +2667
==========================================
+ Hits       118997   121391    +2394
- Misses      25921    26194     +273

Impacted Files
Coverage Δ

src/normal.c
83.57% <100%> (+0.48%)
:arrow_up:

src/xdiff/xemit.c
67.1% <0%> (-1.39%)
:arrow_down:

src/if_python3.c
74.39% <0%> (-1.39%)
:arrow_down:

src/if_python.c
76.05% <0%> (-1.32%)
:arrow_down:

src/spellfile.c
74.89% <0%> (-0.98%)
:arrow_down:

src/blob.c
85.61% <0%> (-0.6%)
:arrow_down:

src/xdiff/xpatience.c
89.22% <0%> (-0.59%)
:arrow_down:

src/libvterm/src/screen.c
56.96% <0%> (-0.57%)
:arrow_down:

src/netbeans.c
27.23% <0%> (-0.51%)
:arrow_down:

src/libvterm/t/harness.c
88.59% <0%> (-0.5%)
:arrow_down:

... and 108 more

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 707d226...de6dbe3. Read the comment docs.

:help o_v is the  usual way to switch incusive/exclusive behavior. So may dv[( should be "fixed", rather than adding these new motions?

@justinmk, this might be your exact point but the exclusive/inclusive terminology has always referred to the right-most character (assuming single line), not the end of the motion.  You would either have to change o_v fundamentally or add a new qualifier, e.g., dx[( 'left exclusive' which is a bit specific.
@mattn, it feels weird to me to press ] to go leftwards.  Maybe [) makes more sense?
Alternatively g( and g[( should be free I think.

Alternatively g( and g[( should be free I think.

Yes, but g] is already asigned by another meaning command.

What vim really needs is tree-sitter which neovim has adopted.
This would allow us to query lot of interesting like "go to next function", "find all functions in a module", "go to next param", "delete previous params", "delete all params".

:help o_v is the usual way to switch incusive/exclusive behavior. So may dv[( should be "fixed", rather than adding these new motions?

👍 to "fix" dv[(

Perhaps <c-v> could be used. Or vv ("both ends inclusive").

o_CTRL-V already exists.
vv conflicts with o_v, but I realized that there is no matter if the prefix of operator-pending mode's mappings conflicts (it doesn't end until receiving more keys).
So vv seems OK to me.

Implemented dvv[(

Isn't dvv[( also a valid sequence in vim?  You can do arbitrary dvvVvvVvv[(

Isn't dvv[( also a valid sequence in vim

Did it do anything useful?

Changing the meaning only after an operator is strange.  The [{ and [( commands move on top of the { and (.  What we need is a similar command that moves to just before the character.
Keeping it two characters would be done with [X, where X is something not in use yet.  I don't see anything that hints about whether it would move towards a ( or {.
If we do use three characters, we can add a modifier.  What could work  is using g[( and g[{.
Unfortunately g] is already taken.
The other "modifier" command key is z.  That would work: z[ and z] are unused.  so we can add z[(, z[{, z]) and z]}.  This opens the possibility to modify other commands starting with [ and ].

Unfortunately g] is already taken.

Does it really matter.. since it would be using g[ / g( / g{ which are not taken?  This is good because this is an asymmetrical motion, and the mapping e.g., g[ is asymmetrically available.

Unfortunately g] is already taken.

Does it really matter.. since it would be using g[ / g( / g{
which are not taken?  This is good because this is an asymmetrical
motion, and the mapping e.g., g[ is asymmetrically available.

Well, you would be able to move to just after a ( with g[(, but you
would not be able to move to just before a ) in any way.
When used with an operator the motion is exclusive, thus has the same
effect, but if you are in Visual mode, or just want to move to that
character, it would not be possible.  It's just a matter of time someone
asks for it, and otherwise these commands are symmetrical, so why make
this one asymmetrical?
--
Facepalm statement #5: "Petrol getting more expensive?  Not for me, I'm always
tanking for 20 dollars"
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

[t and ]t look unused.  And they remind of the t command.

So, then it would be [t(, [t{, ]t), ]t}.   It's a bit hard to type, but it's more of a hint than using z[ and z].
Allowing uppercase helps a bit: [T(, ]T}

Implemented zz.

z is assigned for zX operator. So I added zz for this.

Implemented zz.

Hm, So how is zz. different from zz (redraw current line at the center) followed by . (redo)?

I thought the favorite choice was to use [t(, [t{, ]t) and ]t}, because "t" associates with the "t" movement - to (just before) character.

I thought the favorite choice was to use [t(, [t{, ]t) and ]t}, because "t" associates with the "t" movement - to (just before) character.

this at least sounds reasonable and the zz comments above make me panic a little bit.
But I think my favorite proposal is <> because it needs only 2 characters.
so [,] for inclusive and <,> for exclusive
Did
P.S. the g] for :tselect is so lonesome in the list of g commands that I wouldn't even mind if this gets changed.

I understand that pressing ]) and ]{ to go left is weird.
what if we swap it?
[(  [{   ])  ]} for inclusive left and right
[)  [}  ](  ]{ for exclusive left and right

It's desirable when text-object keys and mappings work for both Omap and Visual mode, right?  I think this defeats both <( and zz (v_< shifts text, v_zz scrolls).

So which is best choice?

+1 for [t( and [t{.
Not sure if we need ]t) and ]t}. The motions themselves might be useful, but combination with operators might be not so useful. Should they be inclusive or exclusive? If they are inclusive, d]t) is the same as d]). If they are exclusive, the meaning of d]t) is not intuitive.
@marcotrosi
< and > are already used for shift-left-right.
Swapping the behavior breaks the compatibility.

I thingk the best mappings would be:

ti) i.e. until inner )
ti( i.e. until inner (
ta) i.e. until outer (
ta( i.e. until outer (

e.g. dti) would remove everything until next inner )

or to avoid ambiguity with dti:

it) i.e. until inner )
it( i.e. until inner (
at) i.e. until outer (
at( i.e. until outer (

so dit) for removing all until next inner )

@sheerun both dti/dta and dit/dat are already useful sequences in vim

what dit / dat does?

I see, then maybe dui) - delete until inner ), it's easier to type than d]t)

@mattn

So, then it would be [t(, [t{, ]t), ]t}.

Can you please make this change and rebase? I'll have a look to include this then.

Good it wrote my reasoning because it's just question mark in my mind now. For the record right now I don't think introducing [t(, [t{, ]t), ]t} is much helpful, but rather creating a motion command that might be not "test proof" (like disallowing future version of braces) but "concept proof", like with such rule:

upper case SOMETHING performs action on inner text of outer-closest bracket of cursor
lower case SOMETHING performs action on inner text of outer-closest bracket of cursor + brackets

I have NO idea what shortcut should be, sorry. Maybe it should be even disallowed in scripting and allowed only with interactive use as I would vote bracket should change in time or per-language or both

The extension of this idea is repeating motion character to select greater and greater blocks of code (lower case motion character or upper case motion character), and lesser and lesser blocks / ranges with shift + v. So like https://github.com/terryma/vim-expand-region I've used it 90% over vim-native motion commands for many years without much issues

And if this issue is just for single-character range something, I would accept generic one after t (or something else) if possible so [t<start>, ]t<end>} for predefined table of [[start, end], [start, end], [start, end]] characters, so you can be done with this design decision forever, and just add characters.
Maybe: [[<char> (select text inner up to char), ]]<char> (select text up to char, and including it, so outer)

closing for now.


Add Friulian flag

Use "fur" as overlay on the Italian flag.
Update "nds" flag to not use "!" overlay.
Who knows how many language variants we'll have in the future...

Thanks!


PXT-334 - Add columns property to the table handle

This commit adds a columns property to the catalog.Table class.
This is for user convenience to fetch the list of columns for a table.
Testing:
new basic unit test added that verifies t.columns returns what we expect.
Also had to adjust other existing test code that was using t.columns() API.

This change is

Latest refresh is for a minor test fix (probably a typo) in test_computed_cols


Run User Testing with generalist user groups

Participant list: https://docs.google.com/spreadsheets/d/1zDA_3IWzO0K3XlyoIVFePKYzceEpG92__25pQ6Z3n0U/edit?gid=0#gid=0


Enhance collection properties on Razor, TagHelpers and MVC in general.

public class CustomerViewModel {
    public string[] Phones { get; set; }
}

public IActionResult CreateCustomer(CustomerViewModel binding) {
    // ...
}

@Html.EditorFor( m => m.Phones)

The story on collection properties on razor views is not very good/friendly IMHO. Model binder does almost a good job but then neither TagHelpers or HtmlHelper "helps" ;)
I don't have any concrete suggestion. This is more like:

Hey! I would love to see improvements in this area/scenario.
Do you have any plan to make some improvements in this area/scenario ?

Could you tell us more about what specifically you should should be easier? /cc @dougbu who is the master of all things collection model binding.

@rynowak  In #5085 for example, I would consider instead of having to write things like:
@for (int i = 0; i < Model.Images.Count; i++)
{
    <input type="hidden" asp-for="Images[i]" class="hidden-image" />
    Or
    @Html.HiddenFor(x=> x.Images[i])
}

Writing this:
<input type="hidden" asp-for="Images" class="hidden-image" />

@Bartmax did you mean something like that?

@gdoron not exactly what I was thinking. In your example there are very few room to customize.
My scenario was more like, for example, to use a collection in views, you must iterate with for (foreach doesn't work well with model binding) the collection, use the variable i on expression, etc.
I think a more flexible EditorFor-like tag helper will help.
something like:
<div asp-for="SomeCollection">
<label asp-for"Name">
<input asp-for="Name">
</div>

being Name a property of T inside the collection.
class ViewModel {
     IEnumerable<Some> SomeCollection {get;set;}
}
class Some {
     string Name {get; set;}
}

and be true to metadata like [Required] for the collection and the properties inside.
Right now I have two options:
1)
for (var i = 0; i < Model.SomeCollection.Length; i) {
var item = Model.SomeCollection[i];
<label<EMAIL_ADDRESS><input<EMAIL_ADDRESS>}

this works ok for a root form, but when using a form inside you either have to use Prefix on controller or set the name manually on the html. (or controversially use foreach instead of for)

Html.EditorFor(m=>m.SomeCollection)

and create a EditorTemplate for this type. with the same issues as the previous example.
As I said, I don't have any concrete suggestion, just to point out that the experience/workflow right now is not fun. any improvement in this scenarios are welcome! :)

What does
for (var i = 0; i < Model.SomeCollection.Length; i) {
	var item = Model.SomeCollection[i];
	<label<EMAIL_ADDRESS>	<input<EMAIL_ADDRESS>}

output?
I'm not sure I understand your need (more specifically the part about the form inside).
Regarding my suggestion, do you see any drawback with it?
In case the binded property is a collection, the TagHelper should iterate over the items.

I will try to make a repro, because right now I have this issues in a very complex project.
but yes, there are drawbacks. I'll try to get something more concrete in a couple of days.

Another suggestion, please by all mean, finally save us from using an 8 years old hack for submitting Non-Sequential Indices.
That really should be much simpler.
If there is a gap, simply ignore it, I can't understand the reasoning behind the hidden index input.

Highly unlikely we'll deal with this directly. No plans to implement any of the suggestions in this issue.


how to save a new pretrained model

I would like to use the pretrained RawNet3 to continue training on my data, but I have no idea how to save it as a new pretrained model, for example "new_model.pt". Could anyone help me this? Thanks a lot.

It will be saved under --save_path


Protractor is not working with Firefox 30

I have the same issue that there is in this issue:
https://github.com/angular/protractor/issues/1734
But, with Firefox 30 on Windows XP

From http://angular.github.io/protractor/#/browser-support:
"Protractor supports the two latest major versions of Chrome, Firefox, Safari, and IE."
This means Protractor doesn't support Firefox 30.

Correct, we support the two latest versions.


[Autocomplete] Translate "Add"

Seems that it is not possible to translate "Add "". Please add that possibility :)

Hi!
Yup, I see it - if you manually set the create option on TomSelect, you get a little Add '' text. We need to pass in a option_create and allow the text part of this to be passed in via a Stimulus controller. The noResultsFoundText value is a good example - https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/src/controller.ts#L18 - the option_create would go here https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/src/controller.ts#L86-L88 and look something like:
            option_create: (data, escape) => {
                return '
${this.addCreateOptionTextValue}' + escape(data.input) + '…
';
            },

PR welcome for this :). You can also create a custom Stimulus controller - https://symfony.com/bundles/ux-autocomplete/current/index.html#extending-tom-select - listen to the autocomplete:pre-connect event and add this option manually yourself. But it seems like a reasonable thing to make easier for users.
Cheers!

If the element can be translated and localized, it will have a more polished and professional appearance.

Thank you for this suggestion. There has not been a lot of activity here for a while. Would you still like to see this feature?

I've also subscribed to the issue last month and hope, this feature will be implemented soon.


[fix] (topn) fix uncleared block in topn_next()

Proposed changes
###BUG
When reusing blocks, the extra columns were not cleaned up.
Issue Number: close #xxx

run buildall


Which version of Ubuntu does this repo work with?

I am asking as with Ubuntu 20 and 18 it the environment does not built, and complains about not having cudatoolkit 8.
While cudatoolkit 8 is only compatible with 16 and 14 as per the Nvidia website.
Would that mean this repository is still stuck on Ubuntu 16 or maybe even 14?

I think the repo works with later versions of cuda/pytorch. Maybe try removing the lines in the yaml file and manually install them later.

That seemed to help!
Basically starting with building the environment is quite demotivating because it ends up in many errors. A better way to start is with a base environment and some basic packages preinstalled then eventually installing the missing dependencies by yourself manually to fix the errors when you straight away execute the code.
Versions can be matched by looking at the dependencies file. To sum it up the list of dependencies might be too long, just install what is need at the moment one by one.

@Shubhamcl Would you mind saying exactly which lines you commented out/removed from the yaml file? I'm trying to build the environment and it's still not working.


Add missing libdl.so using burst compiler

Changes

Add dependency for burst compiler
Fixes: https://github.com/webbertakken/unity-builder/issues/175

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)

Burst compiler requires libncurses? Curious…


Relax version of Prettier in package.json to support Prettier 3

Reproduction

Go to https://stackblitz.com/edit/remix-run-remix-onmeek?file=README.md
Stop the dev server (^C in the terminal)
Run npm run lint

Here is a repository with another demonstration of the issue: https://github.com/tschaub/remix-prettier-issue
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @remix-run/dev: * => 2.9.2
    @remix-run/node: * => 2.9.2
    @remix-run/react: * => 2.9.2
    @remix-run/serve: * => 2.9.2
    vite: ^5.1.0 => 5.2.12

Used Package Manager
npm
Expected Behavior
I would expect that I could use Remix and an ESLint config that makes use of Prettier 3.  I was surprised to see that Remix has a dependency on Prettier that limits the linter setups that can be used with a Remix project.
Actual Behavior
ESLint fails to find the eslint-plugin-prettier package.  There are two versions of prettier installed (v2 and v3), and the shared ESLint config depends on v3.
If @remix-run/dev works with Prettier 3 (and 2), it would be nice if the version specifier in the remix-dev/package.json could be updated to reflect that.
See also https://github.com/remix-run/remix/issues/5444.

I have a hunch the use of prettier will go away in the next version since we're leaning into TS for our templates/defaults.  Currently, you can run npx remix reveal --no-typescript and remix uses babel to strip the types from the built in .tsx defaults and then uses prettier to format the output it writes to your entry.*.jsx files
That said, this feels like more of an issue with an eslint setup or something.  The nesting of node_modules is specifically intended to allow different dependencies to have different nested dependencies.  So I don't see why it should be an issue that @remix-run/dev has it's dependency on prettier 2 and you want to use prettier 2 in your eslint setup.

That said, this feels like more of an issue with an eslint setup or something.

I agree.  It may be an issue with ESLint 8 that is solved with ESLint 9 (can't upgrade because too many plugins aren't ready for v9).
Thanks for the reply.  I'll close this since it sounds unlikely to be addressed - but I'll keep an eye out for either the removal of Prettier or an update to Prettier 3.


MIC-127 Add Update investigation interview endpoint

MIC-127

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.02%. Comparing base (91e9012) to head (f058618).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #133      +/-   ##
============================================
+ Coverage     87.63%   88.02%   +0.38%
- Complexity      701      709       +8
============================================
  Files           136      136
  Lines          2159     2162       +3
  Branches        143      143
============================================
+ Hits           1892     1903      +11
+ Misses          182      176       -6
+ Partials         85       83       -2

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


examples: Revert broken gzip decompression example

~Fix~ Related to/Workaround for #21647
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @giantcroc

for an explanation of what broke see https://github.com/envoyproxy/envoy/issues/21647#issuecomment-1152283244


focusOnSelect position select

wondering if there is a way to make it so when I click on a slide it automatically moves to position 1 instead of center.

Yes, that's what focusOnSelect does. If you set that to true and centerMode to false, then clicking on a slide should move it to the left at position 1.


Wrong Windows instruction

Issue type
Wrong or misleading information
Problem description
"Create a new directory C:\Gradle with File Explorer.
Open a second File Explorer window and go to the directory where the Gradle distribution was downloaded. Double-click the ZIP archive to expose the content. Drag the content folder gradle-8.4 to your newly created C:\Gradle folder."
The wording is confusing. "Drag the content folder" is too similar to "Drag the content of a folder"
I propose to change the wording to "Drag the folder gradle-8.4 (...)"
Context (optional)
No response
Page with the problem
https://gradle.org/install/

Thank you for your interest in Gradle!
This is a valid documentation issue that we will address.

I'll fix it ;)

I will be pushing the fix for this in my monthly doc cleanup PR.
Thank you @bgalek and @tomaszs.

Closed with @bgalek's commit https://github.com/gradle/gradle/pull/26762


Publish this Action to Marketplace

https://github.com/marketplace/actions/github-org-member-manage-action
캬 감사합니다