when ionic serve ,the error throw

From @webapp20 on September 30, 2016 7:15
D:\nodeJS\ionic\cutePuppyPice>ionic serve

Running 'serve:before' npm script before serve
> ionic-app-base@ watch D:\nodeJS\ionic\cutePuppyPice
> ionic-app-scripts watch
'ionic-app-scripts' �����ڲ����ⲿ���Ҳ���ǿ����еĳ���
���������ļ���

npm
 ERR! Windows_NT 6.1.7601

npm
 ERR! argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\nod
e_modules\\npm\\bin\\npm-cli.js" "run" "watch"

npm
 ERR! node v4.6.0
npm ERR!
 npm  v2.15.9
npm
 ERR! code ELIFECYCLE
npm ERR! ionic-app-base@ watch: `ionic-app-scripts watch`
npm
ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-app-base@ watch script 'ionic-app-scripts watch'.
npm ERR! This is most likely a problem with the ionic-app-base package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm
ERR!     ionic-app-scripts watch
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-app-base
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls ionic-app-base
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     D:\nodeJS\ionic\cutePuppyPice\npm-debug.log

Caught exception:
 undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Copied from original issue: driftyco/ionic#8338

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS:
Node Version: v5.12.0
I'm getting the same error as well.

npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli   'C:\Users\bliles\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'watch' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prewatch', 'watch', 'postwatch' ]
5 info lifecycle ionic-hello-world@~prewatch: ionic-hello-world@
6 silly lifecycle ionic-hello-world@~prewatch: no script for prewatch, continuing
7 info lifecycle ionic-hello-world@~watch: ionic-hello-world@
8 verbose lifecycle ionic-hello-world@~watch: unsafe-perm in lifecycle true
9 verbose lifecycle ionic-hello-world@~watch: PATH: C:\Users\bliles\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\dev2\AgentCubed\node_modules.bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Program Files (x86)\Android\android-sdk\tools;C:\Program Files (x86)\Android\android-sdk\platform-tools;C:\dev\DevPath;C:\Program Files\Git\cmd;C:\Program Files (x86)\Brackets\command;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files\Microsoft SQL Server\130\DTS\Binn;C:\Program Files\nodejs;C:\Program Files (x86)\Nmap;C:\Users\bliles\AppData\Local\atom\bin;C:\Users\bliles\AppData\Roaming\npm
10 verbose lifecycle ionic-hello-world@~watch: CWD: C:\dev2\AgentCubed
11 silly lifecycle ionic-hello-world@~watch: Args: [ '/d /s /c', 'ionic-app-scripts watch' ]
12 silly lifecycle ionic-hello-world@~watch: Returned: code: 3  signal: null
13 info lifecycle ionic-hello-world@~watch: Failed to exec watch script
14 verbose stack Error: ionic-hello-world@ watch: ionic-app-scripts watch
14 verbose stack Exit status 3
14 verbose stack     at EventEmitter. (C:\Users\bliles\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess. (C:\Users\bliles\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:850:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid ionic-hello-world@
16 verbose cwd C:\dev2\AgentCubed
17 error Windows_NT 10.0.10586
18 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\bliles\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "watch"
19 error node v5.12.0
20 error npm  v3.10.8
21 error code ELIFECYCLE
22 error ionic-hello-world@ watch: ionic-app-scripts watch
22 error Exit status 3
23 error Failed at the ionic-hello-world@ watch script 'ionic-app-scripts watch'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the ionic-hello-world package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ionic-app-scripts watch
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs ionic-hello-world
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls ionic-hello-world
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

I have also same issue...

more issues with ionic serve:
ionic $ Caught exception:
Error: watch null EPERM
at exports._errnoException (util.js:907:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1217:21)
and
[11:43:00]  Error: Could not resolve entry (./.tmp/app/main.dev.js)
at C:\Nomnio\SeltronHome\SeltronHome.Kelvin\node_modules\rollup\dist\rollup.js:8602:28

I get the same error when making changes with my code. I have to stop and re-run ionic serve again from time to time.

Only way I could fix it (tried everything I saw in multiple forums) was to make a new project and port over code.  I saw this when upgrading from Ionic RC0 to RC1.

I was facing the same problem.
And for me
npm install @ionic/app-scripts@latest --save-dev
worked. after cd in to the project.
My ionic info is the following
Your system information:
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.36
OS:
Node Version: v5.12.0


Ensure proper line-height of mj-button

Parent line-height (from web mail client, for example) could visually broke mj-button vertical align
Demo from #846
https://mjml.io/try-it-live/rkMv8LvTb

Fixed silly typo in first message


Add support for cross-compilation

Original report (archived issue) by Silvio Traversaro (Bitbucket: traversaro).

Summary
It would be great to be able to compile the C++ library ignition-msgs, to compile it for target platform different from the one in which the project is being built (see https://cmake.org/cmake/help/v3.12/manual/cmake-toolchains.7.html#cross-compiling and https://en.wikipedia.org/wiki/Cross_compiler for some background on cross compilation). As ignition-msgs require code generation with tools that are compiled as part of the project itself, this is not trivial.
Motivation
Cross compilation is quite common, for example it is used when targeting embedded targets or WebAssembly.
Describe alternatives you've considered
A typical approach for cross-compilation of projects that require code generation as this one, is to have a parallel installation of the code generator for the host machine, and use that for code generation. An alternative is just to use the host project build system to generate the necessary C++ files, and use them directly in the cross compilation.
Based on this, I think there are two main alternatives to tackle this:

One is to install the ign_msgs_gen protobuf plugin and install it in the host project, and then add options to manually specify an external protoc compiler and an external ign_msgs_gen protobuf plugin, that will be used in the cross-compiled project to use the host code generators.
An alternative is to add an option to install or export in some form the generate C++ code (that will be used in the host project), and add an option to avoid generation of the C++ code, and just use it externally (this option will be used in the cross-compiled project).

Additional context
The main motivation for tackling this issue is to be able to support all officially supported vcpkg triplets, see https://github.com/microsoft/vcpkg/pull/8044 .

Given that https://github.com/ignitionrobotics/ign-msgs/pull/60 has been merged I think we can  close this issue.


Add MAXIM family of models

Cc: @gustheman

I will work on fixing the issues shortly.

@WGierke let me know when the URL is up.

Models are up here: https://tfhub.dev/sayakpaul/collections/maxim/1.


BUG DOS洪水功击

Proposed changes
长期对本人PC进行Dos功击IP
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
Subject Matter
BUG Dos洪水功击
Content Location
长期对本人PC进行Dos功击IP
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
Additional information
长期对本人PC进行Dos功击IP
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

Hi! This repository is for our documentation only, and we're unable to assist with site issues. You can reach out to the community.


9.5.0 RC1: Date-based DVR naming scheme only applies to the first file of the recording when multiple file

Next files seem to revert to conventional.
Resets after stop/starting a new recording.

Uploading HDZERO_GOGGLE-75-191-9.5.0-5f776ba.zip…
Please test this fw.

Thank you for your patience,
Just managed to test today and looks like that didn't do it

I set the DVR format to MP4, the naming method to date, and set Auto scan to automatically enter hdzero after power on.
I ran multiple power on tests and found no errors.
Am I missing something that prevents me from reproducing the error?

I use the right button to stop/start DVR in hdzero video mode. Unfortunately I can't reproduce the error you are experiencing.

Oh ok my startup behavior is set to last,
Video file to .ts,
And perhaps most relevant this was from the analog module bay
I can enable logging for the next time if there's anything in there that could help


parametric: add version checking support, use latest version of each library

Update parametric test library factories to declare and use a custom tracer version so that specific versions of the library can be validated.
Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:
Reviewer checklist

[ ] Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

if any of build-some-image label is present

is the image labl have been updated ?
just before merging, locally build and push the image to hub.docker.com

already addressed thank to the ddtrace_install scripts.


clarify license requirement for MS search connector quota

What licenses are valid?
What licenses give Graph connector quota?
I looked and couldn't find answers to these questions in the documentation. MS Support confirmed an E5 license is required. The article refers to E5 licenses as valid, but it seems to imply other licenses may be valid. Is that the case?
Thanks.

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

ID: 69c08284-65dd-376f-b48c-1203f536da6b
Version Independent ID: 8b85dbb2-5656-60e1-8baa-567472d8c8d8
Content: License requirements and pricing
Content Source: MicrosoftSearch/licensing.md
Service: mssearch
GitHub Login: @rsamai
Microsoft Alias: rusamai

Hi @Stephen-Colie-SWO, thank you for your question. All licenses are valid (i.e. users with any M365 or O365 license can see connector data search results). However, only E5 licenses come with built-in quota. Please let me know if anything is still unclear.

Hi @Stephen-Colie-SWO, thank you for your question. All licenses are valid (i.e. users with any M365 or O365 license can see connector data search results). However, only E5 licenses come with built-in quota. Please let me know if anything is still unclear.

@monaray97 Do the education equivalent M365 A5 licenses also include the built-in quota

@monaray97 Do the education equivalent M365 A5 licenses also include the built-in quota

@RyanMorash Unfortunately A5 licenses do not come with built-in quota.

@RyanMorash Unfortunately A5 licenses do not come with built-in quota.


Test infrasctructure

Testing infrastructure:

[ ] We need to figure out what’s the release system is going to be, to define how to support multiple versions
[ ] How many versions back do we want to offer support for the examples?
[ ] If the versions are hosted in pyscript.net we can just rewrite the files and test the same files multiple times (as we’re doing right now with bash in the core repo)
[ ] New examples will add new dependencies, we need to ask the users to add these to an environment.yml file that we use to build the test env in our CI

Some updates on this from the PSC proof-of-concept...

Release system. It uses Hypermodern cookiecutter which has a GitHub Action that does releases. But this implies somebody has a PyPI account for PyScript.
Supported versions. My position: the "Gallery" is a web app that targets/bundles a version. The examples therefore need to pass tests for the current bundled version, no more, no less.
Rewrite. Shouldn't be a problem. At the moment, each example gets a py-config dictated by the Jinja2 layout template. (With a caveat that isn't material.)
Build environment. This is an important and open point, as is the CI part. At the moment, the PSC prototype is using GitHub Actions as the "build" environment. @marimeireles is that ok?
Dependencies. This is an interesting one. We'll need to document it. The challenge comes from examples that imply an app server backend. We'll have no real way of hosting those, at least at first. We'll have to put those in a different pile.


Installation with Prismic "Invalid theme provided"

I've been trying to install this with Prismic and I've been getting an "Invalid theme provided" error. I've tried to adjust the theme url but wasn't very successful.
prismic theme --theme-url https://github.com/vercel/virtual-event-starter-kit/tree/prismic --conf lib/cms-providers/prismic/README.md --custom-types lib/cms-providers/prismic/custom_types --documents lib/cms-providers/prismic/documents

@cfofiu Thanks for bringing this up, I'm seeing the same thing. The theme url needs to be updated. This should work:
prismic theme --theme-url https://github.com/vercel/virtual-event-starter-kit/archive/main.zip --conf lib/cms-providers/prismic/README.md --custom-types lib/cms-providers/prismic/custom_types --documents lib/cms-providers/prismic/documents

I will get the instructions in the project updated with this.

@cfofiu Thanks for bringing this up, I'm seeing the same thing. The theme url needs to be updated. This should work:
prismic theme --theme-url https://github.com/vercel/virtual-event-starter-kit/archive/main.zip --conf lib/cms-providers/prismic/README.md --custom-types lib/cms-providers/prismic/custom_types --documents lib/cms-providers/prismic/documents

I will get the instructions in the project updated with this.


Allow for including or excluding regions in fisher exact test

I'm currently trying to perform the fisher exact test for CLIP-seq, measuring overlapping RBPs binding in the transcriptome.  Right now it looks like fisher is that it assumes genomes of full size.  chr1 is the total size of chr1. However, with CLIP-seq this assumption is broken, the size of chr1 is just the size of all the genes, or expressed genes on that chromosome.
I think I hacked around this by just saying the size of chr1 is the total size of all genes, but I'm not sure if that will play nicely bedtools internals.  My question / issue is will this hack work, and how easy would it  be to more explicitly handle this?
Thanks!

Could you just define BED files of your include and exclude regions. Then pass each dataset through each of those files with intersect? Then pass to Fisher?

Or you might need to just get the number of intersecting bases and build up the contingency table manually, followed by a test in R or python.

I'm more wondering about how the background gets calculated (the -g
option).
The specific case I'm thinking about is what happens when my -g file looks
like:
chr1 1000
but in one of my bedtools I have a peak that is past the effective genome
size. For example:
chr1 10000 15000.
What happens to those peaks that are defined past the effective genome
size?  I'm interpreting -g to behave the same way it does in genomecov,
where anything after the defined genome isn't counted.
Doing it manually in R or python is also always an option :)
Gabriel Pratt
Bioinformatics Graduate Student, Yeo Lab
University of California San Diego
On Mon, Mar 20, 2017 at 7:21 PM, Aaron Quinlan<EMAIL_ADDRESS>wrote:

Or you might need to just get the number of intersecting bases and build
up the contingency table manually, followed by a test in R or python.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arq5x/bedtools2/issues/507#issuecomment-287956943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNUW9bIx-FF1DAfXXGq49MspNUYpTb5ks5rnzQWgaJpZM4MjPLq
.


Support RollingUpdate deployment strategy

Summary
Today, when there's any vertex pod recreation needed, we do a Recreate strategy, which means, we clean up all the old pods, and recreate everybody. This will cause some downtime for data processing because pod creation and initialization take time. To  be able to achieve more smooth deployment, we should also support RollingUpdate strategy like Deployment does, and the default strategy should be RollingUpdate.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

done.


[enhancement] for macos

could this project  support  Macos? i preferrly meet gotx  with macbook

Yes, you can get the newest Mac version from the website of Gox/Gotx here.


BLD code starter wizard puts unnecessary name restrictions

bash -c "$(curl -fsSL https://rife2.com/bld/create.sh)"
Downloading bld v1.9.1...

Welcome to bld v1.9.1.
Please enter a number for the project type:
  1: base   (Java baseline project)
  2: app    (Java application project)
  3: lib    (Java library project)
  4: rife2  (RIFE2 web application)
3
Please enter a package name (for instance: com.example):
com.test
Please enter a project name (for instance: mylib):
mycompany-myproject

ERROR: The project name is invalid.

The issue is with "-" in the name. One can supply a name without "-", and then manually rename the generated BLD project and it all works. Why is the code starter wizard choking up on such names?

Because this will be used to generate the actual Java classes and a - is not a valid character for Java identifiers.


it doesnt work from the box!

pip install "python-socketio[client]" u should note this in installation section, not so obvious to fix, and socket doesnt work without it
socketio docs link
in firefly_exchange_client.py line 634 get_contract_addresses is a sync function, but defined as async
FireflyClient.__init__()
self.contracts.contract_addresses = async.run(self.get_contract_addresses()) wtf is this?
seems like nobody even tried to run it before publish
most probably all ur async functions which uses self.apis.get() are not async at all

and please, document ur api!

Hey @ChepelDrepel - the latest release should resolve the aforementioned points https://github.com/fireflyprotocol/firefly-client-python/releases/tag/v0.1.1. Additionally, the documentation for the API can be found linked in the ReadMe, but here's a direct link: docs.bluefin.io.
Appreciate the candid feedback - keep it coming 😉


proposal: strings: add (*Reader).String()

Although it is possible to retrieve the string that a Reader contains, it would be nice to avoid this and have direct access to the string that a Reader contains.
Therefore I propose the following:
// String always returns the string the Reader was initialized or reset with,
// irrelevant of any other method calls.
func (r *Reader) String() string {
  return r.s
}

So the code required to get access to a Reader's content becomes:
Before:
  r := strings.NewReader("hello")
  var buf bytes.Buffer
  r.Seek(0, io.SeekStart) // make sure we get the whole string)
  io.Copy(&buf, r)
  s := buf.String() // hello

After:
  r := strings.NewReader("hello")
  s := r.String() // hello

I find it counterintuitive that calling String returns the underlying string instead of the string starting at index i, based on how many bytes one has read from the Reader.
On the other hand, the string can be invalid if it begins at any arbitrary index, so if returning a valid string must be guaranteed, the closest behavior I can think of is
func (r *Reader) String() string {
    return ToValidUTF8(r.s[r.i:], "")
}

@smasher164 I don't think there is the need to worry about returning an invalid string, as there is precedence in (*bytes.Buffer).String().
To be consistent with (*bytes.Buffer).String() however, (*strings.Reader).String() could return the unread portion of the string. To get the whole string, use Seek().

@pierrec Sorry, which Reader is it about? (from io?) should it always have an underlying string? This doesn't look obvious (and even correct) or I deeply misunderstood the suggestion.

@RodionGork Well it can't be io.Reader since that is an interface, and methods cannot be defined on interfaces. I believe that this proposal is to add it for *strings.Reader since the examples given use strings.NewReader.
I agree with @smasher164 in that it should return the underlying string, however not all strings are utf8 strings (blog), so I disagree that it should be wrapped in ToValidUTF8. It should be the caller's responsibility to call strings.ToValidUTF8, not the callee's.

@deanveloper thanks, I believe you are right (just had a momentary suspicion it is about extending interface and implementing method everywhere).
But then, if the Reader should resemble bytes.Buffer more, then besides String it makes sense to copy few more methods, e.g. ReadString and Next - isn't it so?

so I disagree that it should be wrapped in ToValidUTF8

yep, it would be confusing to receive empty string when reader is not at end (or error which is not part of behavior in bytes.Buffer)

@RodionGork this proposal is not about making it resemble bytes.Buffer. It is about being able to easily recover the string that the reader is based on. I have been running into this a few times and think it would be a straight forward addition.

I agree with @smasher164 in that it should return the underlying string, however not all strings are utf8 strings

I see your point, but the package header specifically states, "package strings implements simple functions to manipulate UTF-8 encoded strings."
That being said, since strings.Builder allows one to construct a malformed string using the package, I don't see why strings.Reader shouldn't be allowed to, so I'm open to simply returning r.s[r.i:].
@pierrec I am still trying to understand the use case of this proposal. Whenever I use strings.Reader, I am trying to pass some input into a function that expects an io.Reader. I tend to always have access to the original string. Is the intended use case where one has to type-assert on an io.Reader to get a strings.Reader and get access to its underlying string?

I see your point, but the package header [snip]

That's true, I can also see it going either way. Just seems weird to me that strings.NewReader(str).String() wouldn't necessarily return str if it used ToValidUTF8

strings.Reader and bytes.Reader were meant to be the same API, just with different input types in the constructor. They're all about the streaming calls, not the bulk data of, say, bytes.Buffer. There's also ambiguity about which string should be returned - the remaining input or the original. So adding the API might confuse half the users anyway. And for bytes.Reader it would have to make a copy.
As @smasher164 says, usually you use strings.Reader because you already have the string and want to pass it to a function as an io.Reader (or one of the other interfaces).
What is the use case where you are passed a *strings.Reader and want to get the string back? How does that come up?

I had to convert a type which was initially an io.ReadCloser to an io.ReadWriteCloser. That type was implemented using, you guessed it, a strings.Reader, and the hack I mention in the proposal, which seemed bad.
Coming back to it, I have cleaned up the type and split it into 2 types so that the need for this proposal becomes obsolete.
So... as and @rsc mentions, as it stands, the introduction of a String method would be confusing.
Thanks for your attention. Closing.

For the record, you can retrieve the remainder of the string in a strings.Reader like this.  This uses panic so that the reader is left unchanged.
type returnedString string

type fetchString struct{}

func (fetchString) WriteString(s string) (int, error) {
	panic(returnedString(s))
}

func (fetchString) Write([]byte) (int, error) {
	panic("can't happen")
}

func FetchString(sr *strings.Reader) (ret string) {
	defer func() {
		if s, ok := recover().(returnedString); ok {
			ret = string(s)
		} else {
			panic(recover())
		}
	}()
	sr.WriteTo(fetchString{})
	panic("can't happen")
}

@ianlancetaylor yikes!
Shouldn't it just return at the end of FetchString instead of panicing if there is nothing left to read from the strings.Reader?

The , ok represents if the recovered panic was of type returnedString. If the recovered panic isn't a returnedString, then the panic wasnt from the WriteString function, meaning that it should continue unwrapping the stack.

Yep. I meant this:
type returnedString string

type fetchString struct{}

func (fetchString) WriteString(s string) (int, error) {
	panic(returnedString(s))
}

func (fetchString) Write([]byte) (int, error) {
	panic("can't happen")
}

func FetchString(sr *strings.Reader) (ret string) {
	defer func() {
		if s, ok := recover().(returnedString); ok {
			ret = string(s)
		} else {
			panic(recover())
		}
	}()
	sr.WriteTo(fetchString{})
	return
}

as looking at the strings.Reader.WriteTo method code, it returns before calling WriteString if there is nothing to read.

Ahh I see that now - my bad. Misinterpreted your initial comment and I thought you meant inside the defer for some reason.

@pierrec Yes, I think you're right.  Oh well.


feat: CommitStats in CommitResponse

If returnCommitStats = true in the CommitRequest, then CommitResponse will contain CommitStats.

Do we need unit tests for Table functions to confirm that returnCommitStats is accepted?

Do we need unit tests for Table functions to confirm that returnCommitStats is accepted?

I was curious about this. CodeCov gave 100% coverage for table.js so I wasn't sure. But I've now added tests to set returnCommitStats.

@olavloite @AVaksman I've been asked to not make this a breaking change. So the options for implementations are:

Make CommitOptions extend CallSettings.
Introduce a second method like commitWithOptions, insertWithOptions, etc. for all methods that needs to take in this option.

Could you advice me on which one of these is preferable?

@olavloite @AVaksman I've been asked to not make this a breaking change. So the options for implementations are:

Make CommitOptions extend CallSettings.
Introduce a second method like commitWithOptions, insertWithOptions, etc. for all methods that needs to take in this option.

Could you advice me on which one of these is preferable?

Purely from a (Spanner) API perspective, I would prefer option 1 to prevent the API from being cluttered with a large number of ...WithOptions methods. I however don't know what has been agreed on a general level for all Google Cloud NodeJS API's regarding this, and therefore don't know what weight should be given to the argument given by @AVaksman  that this would break the common practice.

Based on the discussion in https://github.com/googleapis/nodejs-spanner/pull/1282#discussion_r540401803, I reverted this to make it a non-breaking change.

Based on the discussion in https://github.com/googleapis/nodejs-spanner/pull/1282#discussion_r540401803, I reverted this to make it a non-breaking change.


Expose a few more host locations inside the container under /run/host

This is meant to alleviate some of the pain of not being able to modify
the list of bind mounts once a toolbox container has been created. For
some cases, where read-only access is enough, one can get by with
setting up symbolic links inside the toolbox container.
Based on an idea from Colin Walters.

For some reason, I cannot enter a toolbox that was created without that line removed
(on current F31 Silverblue).

You mean this line:
        --volume /usr:/run/host/usr:rslave \

We are also discussing it in https://github.com/containers/libpod/issues/4061

For some reason, I cannot enter a toolbox that was created without that line
removed (on current F31 Silverblue).

Should be fixed by https://github.com/debarshiray/toolbox/pull/276
We should roll a new release as soon as possible to address this regression.

This is also affected by https://github.com/containers/crun/pull/120 on Fedora 31 Silverblue.


hyphenateHTML will add hyphens to html parameters

It seems that if given a string containing HTML, the html tag name will not be hyphenated, but all of its property will.
For example hyphenateHTMLSync('HTML tags are NOT hyphenated',{hyphenChar: "[-]"}) will return HTML tags are NOT hy[-]phen[-]at[-]ed leaving the class and other properties broken.
I think it shouldn't. I come to this discovery trying to take the entire innerHTML content of a
, including some spans with classes, and hyphenate it.

See https://github.com/ytiurin/hyphen/issues/15. Not that it's solved, but he just needs to explain how to activate the HTML hyphenation option (which would leave the HTML tags alone).

@scharpentier0 Thank you for report!
I fixed this bug in v1.6.2
Please, check.


Feature List in README

I know ghcide is quite fast moving at the moment. But while setting up my vim I was wondering if now I have everything working, which could work at the moment.
So I‘d appreciate a short list of language server functionality which is working in ghcide in the README.md. That would be very helpful!
Otherwise: Keep up the good work!

Sounds like a good idea! Feel free to open a PR with a first version of this list and we can then expand it.

I have really no clue, but I will give it a shot.

Closing since we have an initial feature list now, thanks a lot @maralorn! We can and should gradually expand it but I don’t think keeping the issue open is useful for that.


Need to keep *.d.ts files open to make Intellisense pick up definitions

Hi, Not sure if this is a known issue or perhaps I'm doing something wrong...
Here are the steps to repro (with 1.2 Alpha) -

Create a new project.
In a new file type "Buffer" or some other class that's in node.d.ts.

Result -
No Intellisense (i.e. "Buffer" not an option in list). However if I open node.d.ts (and keep in open) then go back to my file and type again - the Intellisense works.

Thanks. This looks like a duplicate of #796.
What Version of Visual Studio are you on? The Alpha requires Visual Studio 2015 Update 2 to work properly, but we currently do not prevent the alpha from being installed with older version of VS 2015 (see #806).

I have Visual Studio 2015 Update 2 (but it's an RC build). I'll update to the release version and let you know if I still have trouble.


Max pseudo terminal limit in linux

Is it true that wish (or gliderlabs/ssh) allocates a new pty for each session? If so, doesn't that mean it's possible for the server to hit the max pty limit specified in /proc/sys/kernel/pty/max if there are a lot of concurrent connections? I imagine this would've happened when charm.sh hit the HN frontpage. I'm just wondering if this is something that is possible or if i'm misunderstanding how it works.

afaik, no.
I also tried this, running the ./examples/bubbletea/main.go file, and sshing into it in multiple terminals, inspecting /proc/sys/kernel/pty/nr and then disconnecting from the sessions... the number did not change.


Update osxphotos to run on MacOS Big Sur/MacOS 11/MacOS 10.16

If someone has access to beta of Big Sur and can send me a sample photo library, I can start work on making sure osxphotos is compatible with any changes to the Photos database for Photos 6.0

I've installed the public beta and have basic functionality working in a hack just to see if we can parse the library.  Big changes:

ZGENERICASSET is now ZASSET
Some of primary key mappings in ZPRIMARYKEYS have changed so the SQL queries need to be updated
I can't figure out how to get the DB version.  There's still a photos.db but it still says library version 6000 which is the Photos 5 version.
Need pyobjc version 6.2.2 to load dynamic libraries

Library version cannot be gotten from photos.db as done in previous versions because it's now deprecated.  Photos still creates a photos.db but it looks identical to the Photos5 version.  I did a sqldiff on databases after upgrade to Photos 6 format -- the most reliable way to determine version so far seems to be in  Z_METADATA.Z_PLIST which is a blob containing a binary plist.  The PLModelVersion field of the plist seems to identify the data model of the database.  The following code snippet, when passed a Photos.sqlite file, prints out this value:
#!/usr/bin/env python3

import pathlib
import sqlite3
import sys

import plistlib

def main():
    dbpath = pathlib.Path(sys.argv[1])
    conn = sqlite3.connect(f"{dbpath.as_uri()}?mode=ro", timeout=1, uri=True)
    c = conn.cursor()
    c.execute("SELECT * FROM Z_METADATA")
    for row in c:
        plist = plistlib.loads(row[2])
        print(plist["PLModelVersion"])

if __name__ == "__main__":
    main()

Results for different database versions:
[I] ➜ python3 working/photos6.py tests/Test-10.15.1.photoslibrary/database/Photos.sqlite
13537
[I] ➜ python3 working/photos6.py tests/Test-10.15.4.photoslibrary/database/Photos.sqlite
13703
[I] ➜ python3 working/photos6.py tests/Test-10.15.5.photoslibrary/database/Photos.sqlite
13703
[I] ➜ python3 working/photos6.py ~/Pictures/Test-10.15.6.photoslibrary/database/Photos.sqlite
13703[I] ➜ python3 working/photos6.py ~/Pictures/test-10.16.0.photoslibrary/database/Photos.sqlite
14104

See changes detailed in the wiki.

Alpha version working for Photos 6 / Big Sur!
[I] ➜ pt -x tests/test_bigsur_10_16_0.py
================================================= test session starts ==================================================
platform darwin -- Python 3.8.2, pytest-5.4.1, py-1.8.0, pluggy-0.12.0
rootdir: /Users/rhet/Dropbox/Code/osxphotos
plugins: mock-3.1.0
collected 69 items

tests/test_bigsur_10_16_0.py .....................................................................               [100%]

================================================== 69 passed in 6.10s ==================================================


Cp hipblas

Cherrypick are done from release/1.1.0 branch

hipblas updates
README.md file
hipblasLT related fix

@jeffdaily @jithunnair-amd @ramcherukuri ,
In next PR will move the version to 1.2.0 on master branch.


feat(pie-textarea): DSW-2301 add defaultValue property

Describe your changes (can list changeset entries if preferable)
[Added] - defaultValue property
Author Checklist (complete before requesting a review)

[x] I have performed a self-review of my code
[x] I have added thorough tests where applicable (unit / component / visual)
[x] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] I have reviewed visual test updates properly before approving
[x] If changes will affect consumers of the package, I have created a changeset entry.

Reviewer checklists (complete before approving)
Reviewer 1 @kevinrodrigues

[x] I have reviewed the PIE Storybook/PIE Docs PR preview
[x] If there are visual test updates, I have reviewed them

Reviewer 2

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] If there are visual test updates, I have reviewed them

I'm not sure if I am missing something but when I pass a default value to the component storybook, the component isn't populated with the value
https://pr1697-storybook.pie.design/?path=/story/textarea--default&args=defaultValue:meh

I'm not sure if I am missing something but when I pass a default value to the component storybook, the component isn't populated with the value
https://pr1697-storybook.pie.design/?path=/story/textarea--default&args=defaultValue:meh

@raoufswe only when pie-textarea is inside a form and the form is reset, the value is updated to match the defaultValue, similar to pie-text-input component behaviour

@raoufswe @leksaBoiko Perhaps we could disable the control for defaultValue on the base story? I did something similar for the divider, where I disabled the variant control because we already had another story demonstrating the different values, and I added a note pointing the user to the other story if they wanted to interact with it.
https://github.com/justeattakeaway/pie/pull/1704/files#diff-de4acbabc3b96a43b592e821c2f2aab56c0997666b5b53684de6024de2a42590


[nnx] add demo.ipynb

What does this PR do?
Adds an NNX demo notebook.

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

Comparison is base (d9585e0) 56.14% compared to head (13c273d) 56.13%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3680      +/-   ##
==========================================
- Coverage   56.14%   56.13%   -0.01%
==========================================
  Files         102      102
  Lines       12186    12220      +34
==========================================
+ Hits         6842     6860      +18
- Misses       5344     5360      +16

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


Creating too many recipes prevents you from logging in

Describe the bug
When creating alot of recipes you will no longer be able to log in getting an error message (see image)
Screenshots

I have this too. The problem isn't too many recipes. It is too much lore in the recipes. It is inconvenient but I got around it by making any high lore recipe a boss egg in ecobosses and making the recipe the same and the item intended to be crafted a 100% drop from the boss. The boss egg can have less lore so it will use up less packet size. I just write in the boss egg lore that it drops 'this item'.


18kb history file => crash in ai.py

Issue:
Mär 27 14:59:06 eve python3[120317]: detected unhandled Python exception in '/usr/local/sbin/ai.py'
Mär 27 14:59:06 eve abrt-server[120321]: Executable '/usr/local/sbin/ai.py' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Mär 27 14:59:06 eve abrt-server[120321]: 'post-create' on '/var/spool/abrt/Python3-2023-03-27-14:59:06-120317' exited with 1
Mär 27 14:59:06 eve.resellerdesktop.de abrt-server[120321]: Deleting problem directory '/var/spool/abrt/Python3-2023-03-27-14:59:06-120317'
as soon as i deleted the history file, it worked again.
I suggest to limit it to  the last 10 entries.

Could you try replicating the error with ai.py and share the stdout/stderr? The log above doesn't seem to provide any indication of what went wrong.

ai.py -c -w --history .cache/pva/history.json "was ist Laser-Difraktion?"
Traceback (most recent call last):
File "/usr/local/sbin/ai.py", line 501, in
main()
File "/usr/local/sbin/ai.py", line 131, in main
chat_once(session, pm, args.prompt)
File "/usr/local/sbin/ai.py", line 139, in chat_once
res_message = session.chat(user_message)
File "/usr/local/sbin/ai.py", line 370, in chat
res_message, data, messages = self.create_completion(params_override=params_override)
File "/usr/local/sbin/ai.py", line 404, in create_completion
raise RequestError(e.status, e.read().decode()) from None
main.RequestError: RequestError: 400, {
"error": {
"message": "This model's maximum context length is 4097 tokens. However, your messages resulted in 4114 tokens. Please reduce the length of the messages.",
"type": "invalid_request_error",
"param": "messages",
"code": "context_length_exceeded"
}
}
And roundabout, we hit this at 18k of history file :)

forgetting old entries raises the question how to judge, which parts can go, and which should be kept. I.e. If i told ChatGPT in the past, to i.e. keep short about it's answeres, that would be important, where as the height of the mount everest is not important.


KR Documentation Update - README - Part 1

📝 Summary
Updated README with more explicit language about how MEV-boost works, who can run it, and its position as an open-source relay.
⛱ Motivation and Context
Step 1 of docs cleanup effort

Codecov Report

Merging #254 (9f81279) into main (b0b19e4) will decrease coverage by 0.48%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #254      +/-   ##
==========================================
- Coverage   84.52%   84.03%   -0.49%
==========================================
  Files           5        5
  Lines         614      614
==========================================
- Hits          519      516       -3
- Misses         71       73       +2
- Partials       24       25       +1

Flag
Coverage Δ

unittests
84.03% <ø> (-0.49%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

server/service.go
84.04% <0.00%> (-0.86%)
:arrow_down:

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


Naming: Base64Escape vs BytesToHexString

I think base64 is more commonly called encoding, not escaping.
A more consistent name for BytesToHexString would be HexEncode. Note that besides the name the parameter passing also differs.

I largely agree with the points raised, but I don't think this change is currently practical to make.
I definitely agree that "base64 encoding" is more standard parlance than "base64 escaping".  The RFC uses "encoding", after all.  "base64 escaping" just happens to be what it's usually called inside of Google, for whatever reason.  Base64Escape also probably should return a string instead of using an out parameter, because the escaping functions really ought to all be consistent.
I can see why you'd prefer BytesToHexString to be called HexEncode.  If Base64Escape were renamed Base64Encode, then the use of the word "Encode" would be consistent.  I don't feel strongly about this, though, because I find that BytesToHexString is a pretty good name.
Unfortunately, I don't think it's practical to make this change because doing so would require refactoring every reference to these functions in Google's 250M line codebase as well as creating an shipping a tool to migrate all of Abseil's open source users from the old names to the new names (https://abseil.io/about/compatibility).  The latter is particularly challenging because it would be the first such tool we'd be publishing.  We'd love to get our tooling to the point where changes like this are simple to make, but we're just not there yet.
I'm going to close this issue, but thank you for the good suggestions.  Please keep them coming.

Introducing new names and deprecating (doc-only maybe) the old ones is not an option? ;)

Base64Escape also probably should return a string instead of using an out parameter, because the escaping functions really ought to all be consistent.

I'm not sure, you'd no longer be able to re-use pre-existing string storage.

Introducing new names and deprecating (doc-only maybe) the old ones is not an option? ;)

It's really not.  (I'm not sure how to interpret the winking emoticon, so apologies in advance if I take this too literally.)  I elided some assumptions in my earlier response, let me try to fill those in.  Some of this is likely to seem a bit alien and some of this I haven't been asked to unpack before, so please ask questions about anything that's weird or surprising.
As background, the code that makes up Abseil has been around for over a decade, it's depended on by 250M lines of code, and it is continuously under active development.  We expect it to continue to exist for at least another decade while active development continues and the amount of code that depends on Abseil grows super-linearly.
With that in mind, if new names were to be introduced and the old names deprecated, what's the long-term plan for the old names?
One option is to leave them around forever.  This leads to an unbounded accumulation of technical debt as active development continues on Abseil over the years.  These specific names are relatively benign, but in aggregate this approach isn't sustainable.
Another option is to pick a date for the deprecated functions to go away and simply delete them on that date.  This seems like it would probably be pretty reasonable if Abseil put out versioned releases and users were responsible for upgrading themselves from one version to the next, but Abseil takes a live-at-head approach to development, and in particular, it's a part of Google's monorepo.  Users don't choose which version of Abseil they build with, they always build with the latest version.  Deleting the deprecated functions will immediately break any callers that haven't updated themselves.  There are a few choices here, none of which is palatable:

Wait until all callers have updated themselves.  In a 250M line monorepo where some of the code isn't actively owned and maintained, this effectively means that deprecated code can never be deleted.
Break callers that haven't updated by a certain date.  This isn't tenable as long as there's some code that's too important to break, which is certainly the case at Google.  As soon as there's code that can't be broken, the team responsible for that code is no longer under any obligation to update, so again, the deprecated code cannot be deleted.
Somehow obligate callers to update by a certain date.  I don't see how this is possible, but even if it were, the engineers who are obligated to do the updates will rightly complain about how much work they need to do just to keep up with the deprecations.  A logical outcome of this is some kind of a limit to the amount of churn caused by the deprecations, which would slow down the rate at which Abseil development can occur.  That's something we're explicitly trying to avoid.

The final option is for Abseil to do the refactoring necessary to remove the old names.  This is something we're capable of doing, but as I mentioned, it's a lot of work.

I'm not sure, you'd no longer be able to re-use pre-existing string storage.

I was wondering if someone would mention this :)  I agree that reusing the storage already allocated in a string can be more efficient.  Were I to make this change, I'd try to measure its impact first.  It's certainly more common for the out parameter to be a newly allocated string, but there could be important cases in which the memory is being reused.  If there's no performance difference, I prefer the API of returning a string.  If there is a meaningful performance difference, I might either standardize all of the functions to use an out parameter or I might provide overloads for both returning a string and using an out parameter.  I'm not sure which offhand.


Social image error in linux

Describe the bug
Build image failed in linux
Additional context
This is the error that shows:
Google Chrome was not found, it's required to generate the social images.

Contentz use puppeteer but to reduce install size it uses puppeteer-core which comes without Chrome, so you have Google Chrome installed?

Yes, I have Google Chrome, but in linux my chrome path is '/usr/bin/google-chrome'

This should be fixed in v3.2.0, could you update and try again?


Save on blur no need to click to edit?

No way to allow me to edit text without having to click edit or click save to save on button clicks? Thanks!

Definitely doable as an optional feature. PR-s are welcome.

Just realised I can just press 'Enter' so this issue is resovled :)


GH-671: Fix RabbitManagementTemplate.delExchange

Fixes spring-projects/spring-amqp#671
The RabbitManagementTemplate.deleteExchange(Exchange) delegates
to the client.deleteQueue()

Fix RabbitManagementTemplate.deleteExchange(Exchange) to properly
delegate to the client.deleteExchange()

Cherry-pick to 1.7.x, 1.6.x & 1.5.x

... and cherry-picked to 1.7.x, 1.6.x and 1.5.x.


Mark down

Hi when i try to import a image from my local system using markdown visualization in kibana i am unable to perform the action
I was able to add image from a external google image link but not from a local system

Closing for now. @skirankumar if you're still looking for help, feel free to post a question to the Open Distro forum.


Unable to install clang-5.0, lld-5.0 and g++-7

Hi,
I am trying to install CARLA on a raspberry pi. However, I am stuck at trying to run this command:
sudo apt-get install build-essential clang-5.0 lld-5.0 g++-7 ninja-build python python-pip python-dev tzdata sed curl wget unzip autoconf libtool
I get this error:
E: Unable to locate package clang-5.0
E: Couldn't find any package by glob 'clang-5.0'
E: Couldn't find any package by regex 'clang-5.0'
E: Unable to locate package lld-5.0
E: Couldn't find any package by glob 'lld-5.0'
E: Couldn't find any package by regex 'lld-5.0'
E: Unable to locate package g++-7
E: Couldn't find any package by regex 'g++-7'
I have tried doing everything I can do but I am not sure what is going wrong. Without the clang-5.0 I can not build the Unreal Engine. It is worth mentioning that I am doing this through ssh i.e. on a headless raspberry pi.
Many Thanks
Abanoub

Hi @Abanoub-G,
You can probably download the packages from their release pages. But seriously, I wouldn't bother, Unreal Engine is not going to work on a raspberry pi, check out their recommended hardware; and Carla uses a lot more resources on top of that. Unfortunately, Carla requires a relatively expensive graphics card to run smoothly.
If you still want to give it a try, I would download a pre-compiled Carla and try to run it before getting into the trouble of compiling it yourself.


Idea: have a fallback_ndigits option

Right now for value/uncertainty formatting sciform first looks to the uncertainty to determine the decimal place to which the value and uncertainty should be rounded and displayed. sciform succeeds if the uncertainty is non-zero and finite. If the uncertainty is zero or non-finite (recall non-finite includes nan) then it falls back to the value to determine the decimal place to which to round. Typically sciform is configured to round to one or two digits of uncertainty, or use the PDG rounding convention. This means the value will be rounded the same. However, this is a little strange because, for example, the PDG rules are meant to apply to uncertainty, not values.
This issue proposes a new option called fallback_ndigits which instructs sciform how to behave in this fallback scenario. Options would be

An integer indicating the number of sig figs to which to round (or the number of digits past the decimal point if #170 is implemented)
AutoDigits, show as many digits as necessary for the float to round trip.
NoFallback, in this mode the regular ndigits option is used.
None, use the global default setting

More thoughts on this:

It's not so strange for PDG rounding to be applied to values alone. It's just a rounding algorithm that outputs to round to 1 or 2 sig figs.

Without any such fallback feature the user could easily write two of their own Formatters, detect if their uncertainty is zero or non-finite and select which formatter to use based on that.
One general way this approach could be wrapped into sciform is to have an entire fallback formatter. In the event the uncertainty is invalid the fallback formatter could be merged into the main formatter and the result could be used.
It's an open question which formatter should be used if both the uncertainty and value are invalid.

I don't think this functionality needs to be built into sciform at this time. #196 provides an example implementation for a helper function users could write themselves. Closing this issue for now.


Drastic time difference in time iterating Features property (400K features)

Steps to reproduce
Edit: Changing the description, as I found mode information about the issue.
All I'm trying to do is to read this file. Shapefile is 40mb and data file is 112. Problem is memory grows up to 12 GB (max available) and result never returned, or I never bothered with waiting too long. I've been waiting for over 10 minutes and just gave up.
This is problematic code.
using (var fs = Shapefile.OpenFile(@"e:\temp\boundaries\streets.shp"))
{
	features = fs.Features.ToList();
}

DotSpatial version: 1.9 and 768af730fa18888e48e50e606f43fa55b92393d9
Workaround
My biggest surprise, if I access DataTable.Rows.Count property, time to load all features drops to 10 seconds.
using (var fs = Shapefile.OpenFile(@"e:\temp\boundaries\streets.shp"))
{
        var discard = fs.DataTable.Rows.Count;
	features = fs.Features.ToList();
}

Expected behaviour
Efficiently read the features from shapefile, regardless of the order of operations.
Actual behaviour
Weird behaviour when touching DataTable increase the speed and memory usage significantly.

Funny enough, this code takes 15 seconds and ~0.5 GB of RAM
List<IFeature> features = new List<IFeature>();
using (var fs = Shapefile.OpenFile(@"e:\temp\boundaries\streets.shp"))
{
	for (int i = 0; i < fs.DataTable.Rows.Count; i++)
	{
		// Get the feature
		IFeature feature = fs.Features.ElementAt(i);
		features.Add(feature);
	}
}

I have added more information into the issue. I found if you touch DataTable.Rows.Count, issues goes away. I don't feel it should behave this way.


Reset preloader loading time

Related Issue
The timing for preloader was given of 3000 milli seconds ,I have reset it to 500 milliseconds as it was too much taking loading
Fixes:  #1511
Description
The timing for preloader was given of 3000 milli seconds ,I have reset it to 500 milliseconds as it was too much taking loading

Type of PR

[x] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/anuragverma108/SwapReads/assets/142833275/cec74307-7642-4589-a8a0-baffe52721e8
Checklist:

[x] I have made this change from my own.
[x] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

The bug is not fixed yet. It is still taking a lot of time.


Expando is really slow

I just did a simple benchmark on how Expando performs compared to Hashmap, and it is much, much slower.
import 'dart:collection';

import 'package:benchmark_harness/benchmark_harness.dart';

final objs = List.generate(1000, (index) => Object());

class MapInsertBenchmark extends BenchmarkBase {
  MapInsertBenchmark() : super('MapInsertBenchmark');
  final map = HashMap<Object, dynamic>.identity();
  @override
  void run() {
    for (final obj in objs) {
      map[obj] = 42;
    }
  }
}

class ExpandoInsertBenchmark extends BenchmarkBase {
  ExpandoInsertBenchmark() : super('ExpandoInsertBenchmark');
  final expando = Expando<int>();

  @override
  void run() {
    for (final obj in objs) {
      expando[obj] = 42;
    }
  }
}

class MapReadBenchmark extends BenchmarkBase {
  MapReadBenchmark() : super('MapReadBenchmark');
  final map = HashMap<Object, dynamic>.identity();
  bool isInMap = false;
  @override
  void setup() {
    for (final obj in objs) {
      map[obj] = 42;
    }
  }

  @override
  void run() {
    for (final obj in objs) {
      isInMap = map[obj] == 42;
    }
  }
}

class ExpandoReadBenchmark extends BenchmarkBase {
  ExpandoReadBenchmark() : super('ExpandoReadtBenchmark');
  final expando = Expando<int>();
  bool objInExpando = false;

  @override
  void setup() {
    for (final obj in objs) {
      expando[obj] = 42;
    }
  }

  @override
  void run() {
    for (final obj in objs) {
      objInExpando = expando[obj] == 42;
    }
  }
}

void main() {
  ExpandoInsertBenchmark().report();
  MapInsertBenchmark().report();
  ExpandoReadBenchmark().report();
  MapReadBenchmark().report();
}

Results:
Expando Insert: 2716.099050203528 us
Map Insert:<PHONE_NUMBER>1757173 us
Expando Read: 2770.045643153527 us
Map Read: 88.0883946267342 us
This was measured on a PC with an Intel i7-7700-K, Windows 10 and Dart 2.10.4.
This really goes against common intuition, as I would have expected Expando to be at least as fast as a HashMap.

/cc @rmacnak-google

(Assigned Ryan just to reflect the fact that he already landed some changes to improve performance)

ExpandoInsertBenchmark(RunTime): 1560.6653666146647 us.
MapInsertBenchmark(RunTime):<PHONE_NUMBER>957004 us.
ExpandoReadtBenchmark(RunTime): 1432.4824624194703 us.
MapReadBenchmark(RunTime):<PHONE_NUMBER>6603068 us.
->
ExpandoInsertBenchmark(RunTime):<PHONE_NUMBER>3429072 us.
MapInsertBenchmark(RunTime):<PHONE_NUMBER>3994756 us.
ExpandoReadtBenchmark(RunTime):<PHONE_NUMBER>0229843 us.
MapReadBenchmark(RunTime):<PHONE_NUMBER>5437325 us.


Merge master into 3.4.x (better mdoc, Apache license)

Manual backport of #1601 to the 3.4.x branch. If 1601 changes (for whatever reason), this PR will need to be updated.

We need to merge master to 3.4.x anyway to pick up the Apache licensing changes, so I think it'd be better to merge (squashing is fine) https://github.com/freechipsproject/chisel3/pull/1601 then just merge master to 3.4.x rather than doing a backport.

@jackkoenig: done!


ENH: insert gradunwarp in bold workflow

Changes proposed in this pull request
The goal of that PR is to integrate gradient unwarping to the BOLD preprocessing workflows (and to anat workflows through update of smriprep).
See https://github.com/nipreps/fmriprep/issues/1550.
Relies on an updated version of the gradunwarp https://github.com/bpinsard/gradunwarp/tree/fix/mem_leaks.
Unwarping is applied on the initial ref (to use a single volume, it mainly takes into account the matrix size and affine rather than image content).
Warp-field is then passed to the bold_bold, bold_T1w, bold_std one-step resamplings.
Still a WIP: inserting gradient unwarping seems more challenging for BOLD than for anatomical images. I need to check how that integrates with sdcflows.
Necessary PRs:
https://github.com/nipreps/smriprep/pull/355
https://github.com/nipreps/niworkflows/pull/819

Documentation that should be reviewed

TODO: document the option to pass a gradient coeff file.

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

In the file fmriprep/cli/parser.py:

Line 285:80: E501 line too long (83 > 79 characters)
Line 581:80: E501 line too long (80 > 79 characters)

In the file fmriprep/config.py:

Line 537:80: E501 line too long (84 > 79 characters)

In the file fmriprep/workflows/bold/base.py:

Line 115:80: E501 line too long (80 > 79 characters)
Line 487:80: E501 line too long (82 > 79 characters)
Line 488:80: E501 line too long (84 > 79 characters)
Line 655:80: E501 line too long (97 > 79 characters)
Line 1043:80: E501 line too long (103 > 79 characters)

In the file fmriprep/workflows/bold/resampling.py:

Line 1176:80: E501 line too long (91 > 79 characters)


feat: configure zip concurrency with buildOptions.zipConcurrency

Add the ability to configure the number of concurrent zipping operations. The default is Inifinity.
As per my previous PR (https://github.com/floydspace/serverless-esbuild/pull/449), this is a natural next step.
I've also noticed that the README already describes buildOptions.concurrency as "The number of concurrent zip and bundle operations to run at once", so using this option seems just right.

@fredrik Thank you, was thinking about the same
But I'd prefer to have a separate option zipConcurency. For some people who use the plugin, it could be a breaking change, so they could surprise why their build out of blue became slower due to this limited concurrency on their 16 cores machine.
And default must be Infinite I guess.

I agree, having a separate option is even better.
@floydspace, would the steps be to add this option to the Configuration type and DEFAULT_BUILD_OPTIONS and README, and remove it from esbuildOptions in bundle.ts? Anything else?

@fredrik could you please use the draft PR while you're still commiting. I was about to merge

@all-contributors please add @fredrik for the contribution new feature and improvements

https://github.com/all-contributors please add @fredrik for the new code and improvements

@all-contributors please add @fredrik for the new code and improvements


account_info fetch does not work

irb> require 'stellar-sdk'
irb> client = Stellar::Client.default_testnet
irb> pubkey = "GAJQ4J2EDDVCBIQIJ5XA2S4UJQKXCHFNOR67AOVQ2YQAVZ42LDLTJN4A"
irb> account = Stellar::Account.from_address(pubkey)
irb> ac_info = client.account_info(account)

This returns a Hyperclient::Link instance. Calling _get on this throws a 404 error (even though the account exists).
Faraday::ResourceNotFound (the server responded with status 404)

Looks like a case of variable name mismatch:
irb> ac_info.inspect
=> #<Hyperclient::Link(account) {"href"=>"https://horizon-testnet.stellar.org/accounts/{account_id}", "templated"=>true}>

irb> ac_info.instance_variable_get("@uri_variables")
=> {:address=>"GAJQ4J2EDDVCBIQIJ5XA2S4UJQKXCHFNOR67AOVQ2YQAVZ42LDLTJN4A"}

Notice the difference. The href is expecting a variable called account_id but uri_variables hash contains address.

Fix this issue on my PR https://github.com/stellar/ruby-stellar-sdk/pull/21 :)


Update .travis.yml to include codecov  support

closing until i can get this working with proper tests.


Discuss / Change ConfigureAwait

https://msdn.microsoft.com/en-us/magazine/jj991977.aspx?f=255&MSPPError=-2147217396
If I'm reading this all correctly, we need to add ConfigureAwait(false) to every single await call in the library.

Agreed - I'm also seeing it here.
http://blog.stephencleary.com/2012/02/async-and-await.html


SSTT error issue reported by Tom

"...The only errors I am seeing should be affecting only the SSTT. Incidentally, it might be worth opening an issue for the fact that just zooming out once on the SSTT leads to errors, which is noise that might make it hard to notice when there are actual, user-facing problems... it [triggers] alerts about server errors, so when there's an actual user-facing error it might be harder to notice.
https://github.com/user-attachments/assets/5180fa1e-5759-4e9e-a06e-1b7fff144a0c

fyi, i'm not sure how to prio this issue, since I don't understand its ramifications, so if you want to reclassify it that's fine.

I would assume it's low priority, since it doesn't have direct user impact, and I'm not sure anyone is currently looking at server error alerts anyway.

fyi, i'm not sure how to prio this issue, since I don't understand its ramifications, so if you want to reclassify it that's fine.

I would assume it's low priority, since it doesn't have direct user impact, and I'm not sure anyone is currently looking at server error alerts anyway.


Cannot set frequency

Hi, I want to set 5Hz frequency 65% duty, but I'm getting this: Frequency:90420:DutyA:100:DutyB:100

Hey @alex27riva, thanks for giving my project a try. It has been some time so I hope I remember enough to help you.
Anyway, judging by the code 90.42 Hz and 10% duty A and duty B are the default values. In order to get to your desired state, you should send the following message via UART:
5000:650

You should get a response of
Echo:5000:650
Frequency:5000:DutyA:650:DutyB:650

Is this what you are doing? If not, can you describe in more details?


PJS001 - Correct name of conversion based units

IfcConversionBasedUnit has a string label for its name, but the docs have a recommended table of units. I would propose the following two rules:

Case: use lowercase (always? or when part of the table?)
Value: when using a name from this table make sure the value conforms to the table.

https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcConversionBasedUnit.htm

Case: use lowercase (always? or when part of the table?)

The docs state that the name is case insensitive so IMO no need to have a rule for that.  But there should be a rule to ensure that the (case insensitive) name of a conversion-based unit appears in the table.  Example:
US SURVEY FOOT is valid, foot_US is not.

Value: when using a name from this table make sure the value conforms to the table.

Agree, with some tolerance to account for both entering the value exactly as shown in the table versus calculating or deriving it from unit libraries.  For example someone might use the pint library to derive the conversion factors.


Stage channels

Implement API for new type of channels (which similar to how clubhouse working).

And again... I can try to implement it :)

Well, I assume, only way to achieve it - make a PR. Alright.


Navigation Bar and TabBar

Is possibile use folding-cell with TabBar and Navigatio Bar?

Its' work very well!


Git: Revert Selected Ranges broken

Version: 1.69.0
All extensions disabled.
Steps to reproduce:

Make changes at multiple areas in a file
Stage everything
Open diff view
Mark one area, right-click and select "Revert selected ranges"
Nothing happens

Closing as duplicate of 156748


Automatic purging of the deleted confluence pages from the space trash

This issue is ideal because in some confluence configurations, if a page with the same name was deleted, it isn't possible to publish the same page name again (transaction-rollback exception). To resolve manually this scenario you have to purge the space trash for that page.
So a goal or a parameter plugin that executes an automatic purge before publishing is the excellent solution.
Consider the atlassian documentation related the purging: https://confluence.atlassian.com/conf56/purging-deleted-pages-658736994.html

Hi thanks for feedback
The documentation refers to the use case from aa administrator point of view, to allow integration in plugin we need to find out something related to services (either XML-RPC or REST)
I'll search for them  ...

Closed due inactivity.
Currently in this plugin we haven't planned administration tasks

Closed due inactivity.
Currently in this plugin we haven't planned administration tasks


[feature] Comment on issues when packages are released

semantic-release-action has a feature whereby once a commit which solves an issue by number is released to the package registry, the action comments on the associated issue thread to notify the user.
See for example https://github.com/bennypowers/stripe-elements/issues/58#issuecomment-752790438

To my knowledge, as of now there's no package which provides this feature for monorepos. This would be a "nice to have" feature for changesets.
Thanks for considering this feature request.

This would be a cool enhancement. We are open to accepting PRs introducing such change - this should probably be introduced to our GitHub Bot: https://github.com/changesets/bot

This would be a cool enhancement. We are open to accepting PRs introducing such change - this should probably be introduced to our GitHub Bot: https://github.com/changesets/bot

@Andarist Can I work on this ?

@ayshiff yes, totally!

This would be such a nice feature to have! It seems that the PR is well under way though maybe lost a bit of steam, which is of course completely understandable. I appreciate all the work that's been done, I'm new to changesets think it's awesome ;)


JSONtoCSV deploy fails validation

We have installed JSONtoCSV successfully in one tenant. When trying to install to another tenant it installs successfully yet fails validation. When comparing the two tenants, the only difference we can determine is that WebApp service on the 'good' one has a WebJob defined while the comparable WebApp service on the other is missing a WebJob.
We have tried deleting and reinstalling but everything comes back the same. Install reports success but fails validation. No WebJob.
Any help sorting this out would be greatly appreciated.

If you're using the big blue "deploy to Azure" button it probably won't work anymore.  There have been a LOT of changes in Azure App Services since the ARM template was first created (2020) and I'm not sure I'll be able to get it working again any time soon with some of the security changes being implemented in Azure and this being a public repo.
Easiest thing to do for now is to leverage the CI/CD scripts (GitHub Actions) to deploy:

Create your App Service in an Azure Subscription
Create 2 additional Deployment Slots (one for testing and one for staging)
Define an OpenID Connect   credential for GitHub to leverage.
Fork the Repo (this will probably trigger a GitHub Action which will fail . . .don't worry. . .it's not configured yet).
Add the following Secrets in your forked repo:

Used for OpenID Connect Authentication:

AZURE_CLIENTID (See OpenID Connect Instructions)
AZURE_TENANTID (See OpenID Connect Instructions)
AZURE_SUBSCRIPTIONID (See OpenID Connect Instructions)

General Parameters kept secret so not giving away too many details about your deployment in a public repo:

APP_NAME - the name of your AppService in Azure
APP_RG - the resource group name where your AppService lives

Automated Smoke Testing (currently uses PyTest) parameters:

TEST_URL - the URL for accessing your AppService test slot in Azure (e.g. "https://mysite-test.azurewebsites.net/" if you named your slot "test")
STAGING_URL - the URL for accessing your AppService staging slot in Azure (e.g. "https://mysite-staging.azurewebsites.net/" if you named your slot "staging").

I'll go in and add these instructions to the readme and remove the deploy button later today.  Hope that helps some.

Joel,
Thanks ever so much for the reply. I'll give it a try.
Mike Liben
From: Joel Byford @.>
Sent: Wednesday, December 11, 2024 11:39 AM
To: joelbyford/CSVtoJSONcore @.>
Cc: Michael Liben @.>; Author @.>
Subject: [EXTERNAL]Re: [joelbyford/CSVtoJSONcore] JSONtoCSV deploy fails validation (Issue #59)
[EXTERNAL] Use caution opening attachments, clicking links, or responding.
If you're using the big blue "deploy to Azure" button it probably won't work anymore. There have been a LOT of changes in Azure App Services since the ARM template was first created (2020) and I'm not sure I'll be able to get it working again any time soon with some of the security changes being implemented in Azure and this being a public repo.
Easiest thing to do for now is to leverage the CI/CD scripts (GitHub Actions) to deploy:

Create your App Servicehttps://learn.microsoft.com/en-us/azure/app-service/ in an Azure Subscription
Create 2 additional Deployment Slotshttps://learn.microsoft.com/en-us/azure/app-service/deploy-staging-slots?tabs=portal (one for testing and one for staging)
Define an OpenID Connecthttps://learn.microsoft.com/en-us/azure/developer/github/connect-from-azure-openid-connect credential for GitHub to leverage.
Fork the Repo (this will probably trigger a GitHub Action which will fail . . .don't worry. . .it's not configured yet).
Add the following Secrets in your forked repo:

Used for OpenID Connect Authentication:

AZURE_CLIENTID (See OpenID Connect Instructions)
AZURE_TENANTID (See OpenID Connect Instructions)
AZURE_SUBSCRIPTIONID (See OpenID Connect Instructions)

General Parameters kept secret so not giving away too many details about your deployment in a public repo:

APP_NAME - the name of your AppService in Azure
APP_RG - the resource group name where your AppService lives

Automated Smoke Testing (currently uses PyTest) parameters:

TEST_URL - the URL for accessing your AppService test slot in Azure (e.g. "https://mysite-test.azurewebsites.net/" if you named your slot "test")
STAGING_URL - the URL for accessing your AppService staging slot in Azure (e.g. "https://mysite-staging.azurewebsites.net/" if you named your slot "staging").

I'll go in and add these instructions to the readme and remove the deploy button later today. Hope that helps some.

Reply to this email directly, view it on GitHubhttps://github.com/joelbyford/CSVtoJSONcore/issues/59#issuecomment-2536507161, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO3KH6WK3IF5QBWSFNCUUZ32FBTB3AVCNFSM6AAAAABTNOFDH6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZWGUYDOMJWGE.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>DISCLAIMER: The information contained in this message may be confidential and/or subject to legal privilege and is for the use of the intended recipient(s) only. Any unauthorized use, dissemination or copying of the information in this message is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message.


Pdf OrderInvoiceAvailable duplicates orders?

So i've been working on getting customers to download invoices. When i acces $customers->orders->invoices(); It returns the invoice in an empty {}. So i just want to get the id from this but the pdf has to be download first to server storage i dont really know what to do so some advise would be great. I add the OrderInvoiceAvailable event with a listener that handles downloading the invoice from that order. It gets weird from here. As soon as i place the order the events dont get triggerd anymore but the order still goes through. Then 1 minute later this order duplicates? Very weird.
For example this is my dashboard with the current subscriptions and orders(invoices).
When i placed the first order i didnt receive any mail as it is supposed to do. So the first payment event doesnt get triggerd but it does go through? Then when i wait a couple of minutes this order has duplicated itself what is very weird..

My eventserviceprovider

My listener

Hi @Pieterc2,
Have you tried $order->invoice() or $billable->downloadInvoice($orderId)?
The latter will allow your user to directly download the invoice as pdf.

Closing this for now, let me know if it should be reopened.


Official portrait for Bruce Westerman - W000821

Bioguide: W000821
Name: Bruce Westerman
Image from his House website here:
https://westerman.house.gov/media-center/photo-galleries/official-photo-rep-bruce-westerman

Metadata
name: Official House Website for Bruce Westerman
link: https://westerman.house.gov/media-center/photo-galleries/official-photo-rep-bruce-westerman


[android] MissingPluginException on Release Build with Signing Configs in build.gradle

Steps to Reproduce

Create an application project
Add some plugin for example package_info and use it in app
Create keystore for signing
Define the signing configs in android/app/build.gradle based on the keystore
Add release config in buildTypes block with signingConfig
build appbundle (i'm not sure when build apk)
upload to playstore
install to device
Plugin doesn't works with MissingPluginException in logcat.

Expected results:
Plugin must works
Actual results:
Plugin doesn't works
Workaround:
you have to define the release buildTypes in build.gradle like this:
        release {
            signingConfig signingConfigs.yourSigningConfig

            // add this
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile(
                    'proguard-android-optimize.txt'),
                    'proguard-rules.pro'
        }

Logs

Last login: Fri Mar 19 18:13:57 on ttys022
ekasetiawans@MacBookPro ~ % flutter doctor --verbose
[✓] Flutter (Channel stable, 2.0.2, on macOS 11.2.3 20D91 darwin-x64, locale
    en-ID)
    • Flutter version 2.0.2 at /Users/ekasetiawans/Development/flutter-stable
    • Framework revision 8962f6dc68 (8 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/ekasetiawans/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.88

• No issues found!
ekasetiawans@MacBookPro ~ %

my bad, i cant reproduce after creating a new different project


Matlab image is 29 GiB

Using a multistage build process reduces the Matlab image size from 44GiB to 29GiB. It's hard to get smaller than this for a full install of Matlab because /usr/local/MATLAB is 26GiB all by itself. Here is the breakdown:
4.0K    /usr/local/MATLAB/VersionInfo.xml
106M    /usr/local/MATLAB/appdata
7.4G    /usr/local/MATLAB/bin
144M    /usr/local/MATLAB/cefclient
63M     /usr/local/MATLAB/derived
2.8G    /usr/local/MATLAB/examples
9.4M    /usr/local/MATLAB/extern
4.9G    /usr/local/MATLAB/help
2.2M    /usr/local/MATLAB/interprocess
185M    /usr/local/MATLAB/java
84K     /usr/local/MATLAB/license_agreement.txt
1.2G    /usr/local/MATLAB/mcr
16K     /usr/local/MATLAB/patents.txt
14M     /usr/local/MATLAB/polyspace
148K    /usr/local/MATLAB/remote
242M    /usr/local/MATLAB/resources
13M     /usr/local/MATLAB/rtw
1.1M    /usr/local/MATLAB/runtime
2.1M    /usr/local/MATLAB/simulink
939M    /usr/local/MATLAB/sys
7.9G    /usr/local/MATLAB/toolbox
4.0K    /usr/local/MATLAB/trademarks.txt
132M    /usr/local/MATLAB/ui

The only way I can think of to reduce space is to avoid a full install, but I'm not sure which modules we do and do not need. I will post the whole list below, and if we want to try to slim down we can pick out specific products that are required.

Based on the above, here is a new version of the relevant section of the installer_input.txt file for our Matlab install:
#product.5G_Toolbox
#product.AUTOSAR_Blockset
product.Aerospace_Blockset
product.Aerospace_Toolbox
#product.Antenna_Toolbox
#product.Audio_Toolbox
#product.Automated_Driving_Toolbox
#product.Bioinformatics_Toolbox
product.Communications_Toolbox
product.Computer_Vision_Toolbox
product.Control_System_Toolbox
product.Curve_Fitting_Toolbox
#product.DDS_Blockset
#product.DO_Qualification_Kit
product.DSP_System_Toolbox
#product.Data_Acquisition_Toolbox
#product.Database_Toolbox
#product.Datafeed_Toolbox
#product.Deep_Learning_HDL_Toolbox
product.Deep_Learning_Toolbox
#product.Econometrics_Toolbox
product.Embedded_Coder
#product.Filter_Design_HDL_Coder
#product.Financial_Instruments_Toolbox
#product.Financial_Toolbox
#product.Fixed-Point_Designer
#product.Fuzzy_Logic_Toolbox
#product.GPU_Coder
#product.Global_Optimization_Toolbox
#product.HDL_Coder
#product.HDL_Verifier
#product.IEC_Certification_Kit
product.Image_Acquisition_Toolbox
product.Image_Processing_Toolbox
product.Instrument_Control_Toolbox
#product.LTE_Toolbox
#product.Lidar_Toolbox
#product.MATLAB
product.MATLAB_Coder
product.MATLAB_Compiler
product.MATLAB_Compiler_SDK
#product.MATLAB_Parallel_Server
#product.MATLAB_Production_Server
product.MATLAB_Report_Generator
#product.MATLAB_Web_App_Server
#product.Mapping_Toolbox
#product.Mixed-Signal_Blockset
product.Model_Predictive_Control_Toolbox
#product.Model-Based_Calibration_Toolbox
#product.Motor_Control_Blockset
product.Navigation_Toolbox
#product.OPC_Toolbox
product.Optimization_Toolbox
#product.Parallel_Computing_Toolbox
#product.Partial_Differential_Equation_Toolbox
#product.Phased_Array_System_Toolbox
#product.Polyspace_Bug_Finder
#product.Polyspace_Bug_Finder_Server
#product.Polyspace_Code_Prover
#product.Polyspace_Code_Prover_Server
#product.Powertrain_Blockset
#product.Predictive_Maintenance_Toolbox
#product.RF_Blockset
#product.RF_Toolbox
product.ROS_Toolbox
#product.Radar_Toolbox
product.Reinforcement_Learning_Toolbox
#product.Risk_Management_Toolbox
product.Robotics_System_Toolbox
#product.Robust_Control_Toolbox
#product.Satellite_Communications_Toolbox
#product.Sensor_Fusion_and_Tracking_Toolbox
#product.SerDes_Toolbox
product.Signal_Processing_Toolbox
#product.SimBiology
#product.SimEvents
#product.Simscape
#product.Simscape_Driveline
#product.Simscape_Electrical
#product.Simscape_Fluids
#product.Simscape_Multibody
#product.Simulink
#product.Simulink_3D_Animation
#product.Simulink_Check
product.Simulink_Code_Inspector
product.Simulink_Coder
#product.Simulink_Compiler
#product.Simulink_Control_Design
#product.Simulink_Coverage
#product.Simulink_Design_Optimization
#product.Simulink_Design_Verifier
#product.Simulink_Desktop_Real-Time
#product.Simulink_PLC_Coder
#product.Simulink_Real-Time
#product.Simulink_Report_Generator
#product.Simulink_Requirements
#product.Simulink_Test
#product.SoC_Blockset
#product.Spreadsheet_Link
product.Stateflow
product.Statistics_and_Machine_Learning_Toolbox
product.Symbolic_Math_Toolbox
#product.System_Composer
product.System_Identification_Toolbox
#product.Text_Analytics_Toolbox
#product.UAV_Toolbox
#product.Vehicle_Dynamics_Blockset
#product.Vehicle_Network_Toolbox
#product.Vision_HDL_Toolbox
#product.WLAN_Toolbox
#product.Wavelet_Toolbox
#product.Wireless_HDL_Toolbox

Installing with just the products above produces a 20.3 GiB image. I don't yet know whether this makes a significant difference in spin-up time.

I built both the full and trimmed version of this image at put them in a repository with tags to indicate which is which:

npslearninglab/me4823:matlab_full
npslearninglab/me4823:matlab_small

I then launched with cloudsim with the following commands to get a rough estimate of the time required to launch:
curl -X POST -H "Private-Token: ${TOKEN}" https://staging-cloudsim-nps.ignitionrobotics.org/1.0/start -F "image=npslearninglab/me4823:matlab_small" -F "name=4823matlabsmall"

This switched to status "waiting for docker image after about 5 minutes, then stayed in that status for roughly __ minutes.
curl -X POST -H "Private-Token: ${TOKEN}" https://staging-cloudsim-nps.ignitionrobotics.org/1.0/start -F "image=npslearninglab/me4823:matlab_full" -F "name=4823matlabfull"

@tfoote @nkoenig, any reason you would expect the above commands to fail? I thought they would take a while due to the size of the image, but I didn't expect them to take more than an hour, so I'm wondering if something went wrong. Are there restrictions on the location of the source repository, for example? The one I used was intended just for expedience while we're waiting to get our organization set up.

@M1chaelM I would expect it to work.
I pulled it and validated it works locally with the invocation
docker run --rm -it -p 8080:8080  --gpus all npslearninglab/me4823:matlab_small

@tfoote Thanks for checking that it runs locally. I sent a request today using @bsb808 's script to record timing. It is still stuck at the "Waiting for docker image" step, and has been there about 50 minutes. I will reach out to @nkoenig to see whether he can get any more info on what's happening on the backend.

The resolution of this issue was that there is no way to further reduce the size of the Matlab image but by extending the timeout on the backend we can still run it. It takes a 5-10 minutes longer to start up, but I think faster startup time will be a separate feature request, so I'm closing the issue.


Add methods to custom app/config/lang/public path

In my project, I need to custom some path to my group member for their develop and share the rest folders in a common place.I see there are already some methods to custom basePath/databasePath/storagePath.So I add the others.Thanks.

You are meant to just extend the application class to make such changes.


Update documentation link on crates.io

I was checking out the project on crates.io and the linked documentation 404s. (https://sfackler.github.io/rust-phf/doc/v0.7.20/phf).

This has been fixed in the 0.21 release


Break up Interface.php for PSR-4 compliance

Each interface needs to be in a file of the same name.  Useful for those who might want to use the
interfaces without the implementations, e.g. to mock for unit tests.

Thanks for bringing this to our attention! I have added this change to our latest commit (with additional small changes). Sorry I couldn't use your pull request, our team performs an internal review for larger changes.


OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

Pop!_OS 20.04
Python 3.8.10
AMD 6800 XT GPU
Installed with:
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu118

pip install safetensors sentencepiece ninja

git clone https://github.com/turboderp/exllama
cd exllama

When running python3 test_benchmark_inference.py -d /home/user1/models/ -p -ppl or python example_chatbot.py -d /home/user1/models/ -un "Jeff" -p prompt_chatbot.txt I get the follow errors:
Traceback (most recent call last):
  File "test_benchmark_inference.py", line 1, in <module>
    from model import ExLlama, ExLlamaCache, ExLlamaConfig
  File "/home/user1/bin/exllama/model.py", line 5, in <module>
    import cuda_ext
  File "/home/user1/bin/exllama/cuda_ext.py", line 42, in <module>
    exllama_ext = load(
  File "/home/user1/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1286, in load
    return _jit_compile(
  File "/home/user1/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1511, in _jit_compile
    _write_ninja_file_and_build_library(
  File "/home/user1/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1603, in _write_ninja_file_and_build_library
    extra_ldflags = _prepare_ldflags(
  File "/home/user1/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1702, in _prepare_ldflags
    if (not os.path.exists(_join_cuda_home(extra_lib_dir)) and
  File "/home/user1/.local/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 2238, in _join_cuda_home
    raise EnvironmentError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

What am I doing wrong?

install ROCm version of pytorch
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2

Thanks for pointing that out. I now have both ROCm and the ROCm version pf pytorch installed.
However, running python3 test_benchmark_inference.py -d /home/user1/models/ -p -ppl still gives these errors:
Traceback (most recent call last):
  File "test_benchmark_inference.py", line 3, in <module>
    from generator import ExLlamaGenerator
  File "/home/limbo/bin/exllama/generator.py", line 5, in <module>
    class ExLlamaGenerator:
  File "/home/limbo/bin/exllama/generator.py", line 30, in ExLlamaGenerator
    disallowed_tokens: list[int] or None
TypeError: 'type' object is not subscriptable

My models folder contains a mix of .bin models and directories cloned from huggingface.
What else am I missing?

This is a Python error, though. Maybe to do with the fact that you're on Python 3.8? I'm developing on 3.10, so it may help to upgrade.
And for the -d argument to work you need a single .safetensors file, one config.json and one tokenizer.model in one directory. Or if you have multiple models in the same directory you can specify -m, -c and -t individually.

Upgrading to python3.10 did the trick.
Thank you all for the hard work on exllama and taking the time to help novices. This is a great community that is making AI more accessible for all.


Breakpoint Line-Tag (Red Circle)

Is it in scope to implement such a marker in juCi++? All the big IDEs I've used before have that (Such as Visual Studio or CLion), the question is if you even want it.
I've done a clumsy example implementation here: https://github.com/d3rrial/jucipp/commit/69f09613c802ee8e44517747a31e0dc3a584d8f9 But that only displays the dot where the git diff tags go, so it doesn't look very pretty:

And it also doesn't activate on click, instead just with the normal Ctrl+B breakpoint shortcut.

Are not these marker a remnant from the old days when you did not have the possibility to colour lines? Also use the keyboard instead of the mouse;)

I don't know. Personally I just like the markers visually.
And I also think it's a waste to have a mouse connected to your PC if you don't use it ;) I always hear about workflow interruptions, but I personally work quite well even with the mouse in my workflow...
As for where it comes from, no idea. I've suggested it because it might be a familiar feature for people who switch from other IDEs to juCi++. Whether it's useful or not, I'm not sure. I personally like being able to click on a line number and have it become a breakpoint and the dot where you clicked is a good visual indication that it actually worked, too.

One possibility could be to add a breakpoint on the line when one clicks on the line number, but without the red circle. You are right, there is the use case when one use the mouse to scroll the source code, and one wants to add a breakpoint without using the keyboard to do so.

I'm not trying to push for immediate implementation btw. Maybe just put this suggestion somewhere on a "To Consider" list. It's not an important feature after all. Ctrl+B is quick to press and the red line background is a good indicator.

No problem, but I think adding the breakpoint with mouse click is a good solution, if you're interested in looking at the implementation for this. That is, without the red circle:)

I will look into it. I've not completely understood how the GTK Gutter works, so it'll take a few days or so. If I end up unable to find out how to do it, I'll put another comment on this issue.

Great, thanks alot again!


Cannot clone repo

Sklearn xarray version:
Python version: 2.7
Operating System: mac os 10.13.6

Description
Tried cloning this repo so that I can use sklearn-xarray's packages for a linear regression on xarrays (originally Net-CDF files). Having issues with the Stacker and Selector methods.
What I Did
I have been trying to follow the example (https://github.com/nbren12/sklearn-xarray/blob/master/examples/plot_linear_regression.py) to perform a linear regression analysis on an xarray, but I am running into issues with importing Selector and Stacker, saying  cannot import name Stacker
I found a workaround for Selector, using
from sklearn_xarray.preprocessing import Selector
from https://phausamann.github.io/sklearn-xarray/content/api/preprocessing.html
Any advice/assistance would be extremely helpful and appreciated. I am pretty new to using niche packages, and there aren't many people out there who seem to be having the same problem as me so its been hard to try to troubleshoot it. Let me know if you need any additional information on this.

Sorry for the trouble. It is hard to debug these kind of import errors since they depend very strongly on how your particular environment is configured. In any case, I would recommend against using this package, since I am not maintaining it. It was really just a proof of concept at the time. I should probably rename this repo to avoid confusion with phausamann's project, which is a completely separate from this.


[Bug] Unpinned contacts showing in pinned sort

Sort by pinned contacts
Unpin a contact

hey you're right! thanks for pointing this out!


Java support?

Does this lib support for Java? If yes, can you provide Java sample code.  Thanks.

No, this library is for jetpack compose in kotlin language


Image in webrtc card is cropped

Webrtc-card zooms in and crops the image with just the minimal config.
style: "video {aspect-ratio: 1; object-fit: fill;}" does not make any change.
Comparison: webrtc-card with picture-glance card

Any fix?

My fault, did not realized the digital zoom feature.


Fix/comply page

Scope of changes
add comply page endpoint
Type of change

[x] bug fix
[x] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria

Author checklist

[x] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[x]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[ ]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report

Merging #573 (c21fd50) into main (fcfd0d7) will decrease coverage by 1.52%.
The diff coverage is 0.00%.

:exclamation: Current head c21fd50 differs from pull request most recent head 0fdf675. Consider uploading reports for the commit 0fdf675 to get more accurate results

@@            Coverage Diff             @@
##             main     #573      +/-   ##
==========================================
- Coverage   47.14%   45.62%   -1.53%
==========================================
  Files         346      499     +153
  Lines       11805    14221    +2416
  Branches      549     1163     +614
==========================================
+ Hits         5566     6488     +922
- Misses       5434     6754    +1320
- Partials      805      979     +174

Impacted Files
Coverage Δ

web/gds-user-ui/src/application/routes/index.tsx
81.81% <ø> (ø)

...r-ui/src/components/Section/IntegrateAndComply.tsx
0.00% <0.00%> (ø)

web/gds-user-ui/src/layouts/LandingLayout.tsx
0.00% <ø> (ø)

...rc/pages/app/details/CertificateDetails/Details.js
100.00% <0.00%> (ø)

web/gds-admin-ui/src/components/CountryOptions.js
0.00% <0.00%> (ø)

web/gds-admin-ui/src/config.js
100.00% <0.00%> (ø)

web/gds-admin-ui/src/constants/dashboard.js
100.00% <0.00%> (ø)

.../gds-admin-ui/src/components/VectorMap/SpainMap.js
0.00% <0.00%> (ø)

web/gds-admin-ui/src/layouts/Topbar.js
9.09% <0.00%> (ø)

...gds-admin-ui/src/pages/app/dashboard/TasksChart.js
0.00% <0.00%> (ø)

... and 146 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 fcfd0d7...0fdf675. Read the comment docs.


lock with FD 99 instead of 200 for systems with low ulimit -n (#314)

Make brew work on systems with a ulimit -n of 100.

Codecov Report

Merging #316 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #316      +/-   ##
==========================================
+ Coverage   70.58%   70.59%   +0.01%
==========================================
  Files         341      341
  Lines       17698    17698
==========================================
+ Hits        12492    12494       +2
+ Misses       5206     5204       -2

Impacted Files
Coverage Δ

extend/io.rb
100% <0%> (+28.57%)
:arrow_up:

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 64fb648...266befc. Read the comment docs.

Lock with FD 99 instead of 200 for systems with low ulimit -n.
Fixes Linuxbrew/brew#314

🌟 Thanks for your contribution to Linuxbrew, Purag!


Due to modbus update: replaced enum Endian.Big with Endian.BIG

The modbus lib was updated and it's enums are now all upper letters

can we merge this one.
changes would help to avoid manual patching the library.

Should be fixed.


allow multiple simulated distributions at once

Each factor matrix for the simulated tensors can have their own distribution as necessary. May add as a simulated tensor option.

do we need something like this?


Bug: ArgoCD icon getting shown on helm applications

📜 Description

👟 Reproduction steps

Deploy any helm application
Hover to the app details window

👍 Expected behavior
It should show helm icon
👎 Actual Behavior
It is showing argoCD icon
☸ Kubernetes version
EKS 1.26
Cloud provider
microK8s
🌍 Browser
Chrome
🧱 Your Environment
No response
✅ Proposed Solution
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#4086

Heyy @prakarsh-dt, are you still working on this issue? otherwise I want to work on this.


Missing README.md

Pls

No README yet because the widget embeds, while they work locally and in OBS if sourced locally, don't work while hosted on Pages. Filed a ticket with streamlabs and looking into it, but that will affect installation instructions.

kdone now gtfo