texlive.bin.core: fix cross-compilation

depsBuildBuild for 'ar: command not found'
BUILDCC for failure during 'checking whether the C compiler works...'
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

there's still a issue but it maybe wont cause reverse dependency issues?
cd texk/texlive/tl_support && make  run-texlinks
make[1]: Entering directory '/build/texlive-20210325-source/WorkDir/texk/texlive/tl_support'
if test -s /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks && test -s /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/share/texmf-dist/web2c/fmtutil.cnf; then \
  echo "running texlinks in `pwd` via: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks -v -f  /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/share/texmf-dist/web2c/fmtutil.cnf -e "" /nix/stor>
  PATH="/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin:/nix/store/146229z6ingpiz0g1yxs2jpq1h546ms3-gcc-wrapper-11.3.0/bin:/nix/store/sc50c3qvzlw6dmfbhxw96j9yrj47pv1v-gcc-11.3.0/bin:/nix/store/20navlfxxadg2qvkqh3vc55z27divi40-glibc-2.35-163>
else :; fi
running texlinks in /build/texlive-20210325-source/WorkDir/texk/texlive/tl_support via: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks -v -f  /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/s>
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpsewhich: line 1: syntax error: unexpected word (expecting ")")
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^?ELF^B^A^A^B<B7>^A<80>: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A<B0>^B<B8>^B^A^B^Fp^]p^]Ap^]A^P^B^P^B^H^D^D<A8>^B<A8>^B@<A8>^B@: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 2: @@<E0><9A>@8: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 5: syntax error: unterminated quoted string
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin: no write permissions. Skipping...
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^?ELF^B^A^A^B<B7>^A<80>: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A<B0>^B<B8>^B^A^B^Fp^]p^]Ap^]A^P^B^P^B^H^D^D<A8>^B<A8>^B@<A8>^B@: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 2: @@<E0><9A>@8: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 5: syntax error: unterminated quoted string
make[1]: Leaving directory '/build/texlive-20210325-source/WorkDir/texk/texlive/tl_support'
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 252: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpsewhich: cannot execute binary file: Exec format error
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 298: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: cannot execute binary file: Exec format error
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin: no write permissions. Skipping...
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 192: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: cannot execute binary file: Exec format error
@nix { "action": "setPhase", "phase": "fixupPhase" }

@ofborg build pkgsCross.aarch64-multiplatform.texlive.bin.core


Enable the STK package

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Enable the STK package in Trilinos, which should be the last of the Primary Stable packages.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

STK cannot be built as a shared library on MacOS due to circular dependencies.  See Trilinos #2994.  It's not clear why the circular dependencies at the root of the problem don't create an issue on Linux, but they do on MacOS.  I'm going to close this until the issue is resolved....


Add CLI output to example

Hi 👋, I came across your project on https://news.ycombinator.com/item?id=35994037
It's a bit complex maybe, but OTOH seems very powerful for some use cases, especially when doing something repetitively each day or so, or requires data transformation that the AI isn't able to do by itself or require the fine tuning that's possible with the templates. 👍
I noticed in the README there's the example https://github.com/tbiehn/thoughtloom#creating-a-job, but the final output of the tool is missing. With this issue I'm proposing to add the output.

Good point, that is a totally helpful thing to add.


Fix docs build for traitlets 5.8 and array field defaults

This fixes an issue we found when building the lstchain docs. Arrays were included with all numbers spanning multiple lines which made the sphinx build fail.

@nbiederbeck We said that we start with changelogs using towncrier after the next release because we already have merged a lot of PRs without changelog.


Easier way to copy the ID of a reconciled cell in a new column

Is your feature request related to a problem or area of OpenRefine? Please describe.
After a reconciliation, you can get the id of the object with a GREL expression : cell.recon.match.id
This is not obvious and difficult to remember.
OR should provide either a shortcut in GREL or/and a menu to do the operation without using GREL.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

To clarify, you want a column menu option that says something like "Copy matched Recon IDs to a new column" ?

Something like that, but as we have already
Edit cells > copy reconciliation data (which I have never used ; where is it documented?)
and
Edit columns > add columns from reconciled values
Maybe it could be added as a new choice to these menus ?

I would gladly work on this if you agree on the best way to display the function ;-)

I think it would make sense to have an action for this in the "Reconcile" submenu.

I was thinking of something like that, but the UI will be a bit complex... Adaptation of the Edit cells > copy reconciliation data

I think it should be a menu on its own, distinct from "copy reconciliation data" . See https://github.com/OpenRefine/OpenRefine/issues/2161

@msaby with the new found knowledge about cell from #2161 do you think this enhancement issue is still needed or can this be closed?

I think @msaby need in this issue can be resolved by the use of the new Reconcile -> Add entity identifiers column that was requested in #1975


from googlesearch import search  ImportError: cannot import name 'search'

Have you read Troubleshooting.md? If No, please do so before filing an issue.
Yes/No
Have you tried Googling the problem?
Yes/No
Which python version are you using to run the project? In the terminal, type which <python-path-you-have-in-clientServer.php> and enter the output here
Python version -
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version (optional) [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version (optional) [e.g. 22]

Additional context
Add any other context about the problem here.

Hi, you need to fill up the template with answers related to your issue.


Genesis Verification Tool

This will be a tool that performs sanity checks to ensure that the Genesis State is accurate.

Goal: Verify that the set of accounts in genesis are the correct ones for mainnet

The balances of all accounts add up to 2 billion FIL
Other sanity checks
"It could be a part of forest, or maybe it just imports forest stuff and is separate, I'm not super picky" - Why

Input

Genesis file (or a state root) in a car file
(Signed) Json file with accounts, expected balances, and account types (for example, multisig signers and vesting info we expect)

Output

If input is State Root → Confirm whether JSON state matches the expected state root
If input is Genesis File → Identifying which state and sanity checks pass and which ones fail

Not relevant anymore as mainnet has launched.


Improve install

Make backup of bash profile

Check if pretty-zen lib exist then load

Add datetime to bashrc when library was installed

Update uninstall script

I couldn't find a .stickler.yml file in this repository. I can make one for you, or you can create one by following the documentation.


Git Mirror instructions no longer work as they are due to http usage

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
Thanks for making such great docs, this is my first attempt to help improve them
I was just trying to mirror a repo and had a go at the examples in the docs.
Now that github no longer accepts http pushes the instructions might need a bit of an update
I would be keen to pitch in and help but there are a few different options to solve it
changing to ssh push will reply with repository doesn't exist error
So I can fix the instructions but it would mean a few extra steps which is not quite as elegant as it is now.
Any thoughts on this
What part(s) of the article would you like to see updated?
stage 3 of this part https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/duplicating-a-repository#mirroring-a-repository suggests pushing with http which I believe no longer works
Additional information
error from http push
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for

error from ssh push
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@Shimwell Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Now that github no longer accepts http pushes the instructions might need a bit of an update

@Shimwell do the current steps work ok if you use a personal access token rather than a password?

Ah yes that helps. Thanks I looks like I was just a bit out of date with access tokens. Thanks for the help. I think this issue can be closed.


Make README and CHANGELOG consistent across the repo

As an effort to make this repo self-consistent as well as consistent across our different languages we are going to update the README files to be README.md and any HISOTORY/CHANGELOG files to CHANGELOG.md. As part of this effort we may also need to move from .rst to .md file formatting if they are still using .rst.
The work breakdown looks something like:

[ ] Update all data-plane libraries README files to README.md, including updates to setup.py
[ ] Update all data-plane libraries HISTORY.md to CHANGELOG.md, including updates to setup.py
[ ] Update all mgmt libraries README files to README.md, including updates to setup.py
[ ] Update all mgmt libraries HISTORY.md to CHANGELOG.md, including updates to setup.py
[ ] Update the PR bot to output MD files instead of RST files.

Libraries that are known to be generated from my conversation w/ @lmazuel:

Application Insights
Cognitive Services
Service Management Legacy should be excluded from EngSys work (don't have notes on whether it's generated or not)
Event Grid
Graphrback
Log Analytics
Service Fabric

Checked @chidozieononiwu and it's closable


[#19] User friendly error handle

Resolves #19
Replacing all new throws with showAlert()

Newly covered in https://github.com/curvegrid/multibaas-for-google-sheets/pull/24


New version: yt-dlp.yt-dlp.nightly version 2<IP_ADDRESS>701

Created by 🥟 Dumplings in Run #149.

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


Set up output consistency test

Ensure formatting doesn't affect compile result

Idea:
Split current snapshot tests to integration and unit test. In integration test, each folder with a typst.toml represents a test case. And in unit, each typ file is a testcase


Switch to Unity XR Input

This fixes the issue where running LIV (and/or maybe having an externalcamera.cfg in the Beat Saber folder) breaks the game when reading the grip value. This works well in MultiplayerLite, but you should test it to make sure I didn't make any copy/paste errors.
Fixes #172 (You have the hold down all buttons thing which is why pressing triggers can break the game too)

Forgot to mention, I don't remember if you need to set SteamVR bindings for Beat Saber to use triggers and/or grips with the XR system (by default there aren't any bindings iirc). It's been awhile since I implemented this in Lite, in my release notes I only mentioned grips for Index/Vive/Maybe WMR).


Backend datetime support

https://github.com/CDCgov/prime-central/issues/147
updates the dateTested field's format in the testResults query to  yyyy-MM-dd'T'HH:MM:ss'Z'
example:
{
	"data": {
		"testResults": [
			{
				"internalId": "4adf21c2-606c-460b-b6fc-b31551ea7e91",
				"dateTested": "2020-11-30T17:30:31.447Z",
				"result": "POSITIVE",
				"deviceType": {
					"internalId": "0d9fdf04-2259-49d3-b7d9-5c25302a0829",
					"name": "LumiraDX",
					"__typename": "DeviceType"
				},
				"patient": {
					"internalId": "dd481425-453f-4a02-b4fc-e7d2c09c17af",
					"firstName": "tim",
					"middleName": null,
					"lastName": "best",
					"lookupId": "949",
					"__typename": "Patient"
				},
				"__typename": "TestOrder"
			}
		]
	}
}

new test results display

This looks like a nice way to do it! I think we should get rid of the slash-delimited formats ASAP—I was planning to put up a shim to allow that to happen asynchronously between back and front end, but we could also do a coordinated release and skip the intermediate step.

Having looked at the query output, it looks like we're sending ISO localdate in all cases, just expecting to receive something entirely else (for now):
{
  "data": {
    "queue": [
      {
        "patient": {
          "birthDate": "0900-05-05"
        },
        "symptomOnset": "2020-11-30",
        "priorTestDate": "2020-05-15"
      }
    ]
  }
}

So that suggests that we should declare LocalDate as a type, and use it in the schema when we're sending data to the client, and then we can do the input-changing shuffle that was discussed elsewhere to get it to be used in the data coming back from the client as well.
Though on the other hand, if we're already sending it as an ISO-date-formatted string I'm not sure how much we gain other than a slightly more self-documenting schema...

Updated the PR per Ben's suggestion. This now fixes two issues at once. result.dateTested now includes a time and the results page pulls from TestEvents not TestOrders


after setting up IDE things when i compile it > Current platform is not supported.

it always trace out > Current platform is not supported.

You need to test it on a real device


[Android] Can't select text in TextInput

I'm using version 0.32.1 and when I long press on text in a TextInput it doesn't result in the selection popup that I'd expect (ie. with copy, select all, and paste buttons).  Furthermore, I am unable to select any text at all.  I haven't had a chance to deep dive the react native code yet and see what's going on.  Is anyone else seeing the same issue?
My TextInput is configured like this:
          <TextInput
            onBlur={ this._onFinishedEditing.bind(this) }
            placeholder={ this.props.element.placeholderText }
            onEndEditing={ this._onFinishedEditing.bind(this) }
            onChangeText={ (arg) => {
              this.currentText = arg
            }}
            selectTextOnFocus={ true }
            multiline={ true }
            numberOfLines={ 4 }
            underlineColorAndroid={ '#fff' }
          />

It seems similar to what was fixed in https://github.com/facebook/react-native/issues/3208.

It works fine on the master branch.

Ah, I only happens when using a TextInput inside a ListView.
The following code reproduces it:
const DebugView = React.createClass({
  componentWillMount: function(){
    this.dataSourceDef = new ListView.DataSource({
      rowHasChanged: (r1, r2) => r1 !== r2
    })

    this.setState({
      dataSource: this.dataSourceDef.cloneWithRows([ {foo: 1} ])
    })
  },

  render: function(){
    return (
      <ListView
        style={{flex:1}}
        dataSource={this.state.dataSource}
        renderRow={()=> {
          return (
            <View style={{flex: 1}}>
              <TextInput />
            </View>
          )
        }}
      />
    )
  }
})

DebugView.propTypes = {}

export default DebugView

I figured it out.  The culprit is removeClippedSubviews on the ListView's underlying ScrollView, which defaults to true.
If you set removeClippedSubviews to false the ListView the text selection box will appear as expected.
It might be difficult to change the default value, but I suggest we at least update the readme to warn people about this potentially unintended behavior.  It currently just describes the option as a performance optimization.

Any thoughts on this?  I can handle the README change if people don't have the time.  It's a gotcha that should be mentioned, IMHO.

I have the same issue when using Textinput inside ViewPagerAndroid.

I have the same issue, I cannot copy/paste etc... in a TextInput when it is in a KeyboardAvoidingView.
Once back in a View, it's works again :(

same problem

123

I have the same issue when using TextInput inside Viewpager on Android 7

same problem,using Textinput inside ScrollableTabView

Had the same problem, only when using TextInput with multiline={true} inside ViewPagerAndroid, though single-line works fine.
Noticed that when the phone is rotated to landscape and back to portrait, copy-paste starts to work normally. So I made a hack, which renders the TextInput with width set to 99% and after a small timeout changes it to 100%. That makes copy-paste work fine for me.


Format 17 with external files

I'm trying to extract images from the Zombicide Android app. This app has an obb file which can be extracted using zip.
After extracting I got a lot of files.
There are sharedassets1.assets.splitXX where XX is a number. I've joined them using cat since UnityPack seems it can't handle split files. I've already done this with an older version of the app using disunity and it worked fine.
Additional there are a lot of files which are named by 16 byte hex strings. If I search for those strings in sharedassets1.assets you can find them all in this file.
Before all those files start in the sharedassets1.assets I can read: resources/unity_builtin_extra
So I think they are related to the assets.
It's using Unity format 17.
If I try to extract I get this error:
File "/usr/local/lib/python3.5/dist-packages/unitypack-0.6.1-py3.5.egg/unitypack/utils.py", line 104, in read_int
return struct.unpack(self.endian + "i", self.read(4))[0]
struct.error: unpack requires a bytes object of length 4

Should be fixed by 11c22bc.


elasticsearch: update configuration

transport.tcp.port -> transport.port https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.1.html
default to start a single-node cluster https://stackoverflow.com/questions/59350069/elasticsearch-start-up-error-the-default-discovery-settings-are-unsuitable-for

Motivation for this change
small fixes to the service configuration
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Without this, ES is trying to do port scanning. This is problematic for many server providers, I received an unfriendly message from hetzner asking me many questions. Since this is pretty bad, I'm going to go ahead and merge this.

I've added a settingt that even though is set for deprecation in the next version, will silence a warning for now.


new README.md proposal

Clearly direct readers to the main IO page where they can easily find
more information on all aspects of Quarks.  Right now its more work than
it should be for someone to be able to locate the releases/downloads,
faq, ....  The link to IO at the top of the page easily goes unnoticed -
I know! :-)
Remove all of the overview info as it's already covered in the main IO
page and its links.  Avoid maintaining multiple versions of it.

I intentionally put the information there rather than just a link.
Putting a link makes it less likely that people will follow it to find out what the project is about.
I slo think the README should standalone, rather than relying on an different site.
I'm -1 on this change.

Got it.  I still, based on my experience, believe there's a need/benefit for to better direct users to info related to releases/faq/... from README.  OK with that?

pushed a commit reverting to the original plus additional refs at the end for review.


Base type overflows integer range

The following spec
package Foo is
   type Len is range 1 .. 16 with Size => 64;
   type Req is
       message
           Len : Len;
       end message;
end Foo;

fails to compile:
rflx-foo.ads:13:21: integer type definition bounds out of range

The reason is that the base type for Len is generated such that the constant for the upper range exceeds 2**64-1:
type Len_Base is range 0 .. 2**64 - 1 with Size => 64;

Could we use a non-wrapping modular type as base type to simplify the issue?

I was not aware that a non-wrapping modular type in Ada exists. Is there an aspect for this purpose?

Yes, I just have to look up its name every single time. It's a gnatprove annotation called No_Wrap_Around. See the docs for details.

Using a non-wrapping modular type seems to solve this issue, but leads to the issue seen in #182. So we have to fix #182 first.

Thanks for trying. Yes, I was expecting #182 to be an issue her, too. In that ticket I already hypothesized that No_Wrap_Around may also be helpful.


Separation of UI and Logic in the ScrollArea Component

Description
Improving code maintainability and readability.
Proposed Solution or API
Separate the logic in scroll-area.tsx into a use-scroll-area.ts file.
Additional Information
Please create a new branch from 2.0 branch for development.

Hi @kaehehehe Can i work on this?

I'm really sorry, but because of some things going on, we'll tackle this issue after we finish up some other tasks. So, we’re going to unassign it for now. @sarthakvijayvargiya


No such module 'LoginKit'

In my Podfile I added pod "ILLoginKit", then I installed pod as a normal installation. After that I went into Xcode and add import LoginKit but for some reason its yelling: No such module 'LoginKit'. Anyone encounter this problem or know how to fix it?
I'm on Xcode Version 10.1 (10B61)

same here

same here

Any updates?

Adding import ILLoginKit did the trick for me.

@vitchor that didn't work for me

Sorry, have been really busy lately with work.
Will look into these issues ASAP.
Yeah, it should be ILLoginKit, unfortunately LoginKit was already taken.


Pause function for recorder

Version of react-native-audio-recorder-player
Platforms you faced the error (IOS or Android or both?)
Expected behavior
should allow to pause / resume recorder
Actual behavior
Steps to reprodue the behabior

It's already there please read the doc. pausePlayer, and resumePlayer.

@hyochan  I think here @avoloshko  Is asking for a pause/resume feature for recorder not player

When paused, it will automatically resume it when start again

When paused, it will automatically resume it when start again

Was it fixed/implemented? A year ago, the feature did not work.

@avoloshko Below is a working movie which is an example project.
20201025_202858.zip


Missing Xcode 10.2 support

The SDK depends on Reachability library, which is configured for Swift 3.0, not supported by Xcode 10.2.

Version 4.13.2 should fix this. Please check and close if all works fine for you.
Cheers,
Martin

this version is generating many build errors

Screenshot?

Here it is:

@Y2JChamp These errors are unrelated to the update of Reachability.
We are working on a new version of the SDK which would deal with all these errors.
Currently you can do the following to make sure a release/build still works:

Project Document -> Project Format => 'Xcode 3.2-compatible'
File -> Project(Workspace) Settings -> Shared Project Settings -> Build System => 'Legacy Build System'

Then you should be able to build your app again.
When we have the update (v5), we'll let you know of course.
If this worked for you then we can close this ticket.
(We have it in our backlog as an epic to make all these changes.)

still not working...

still not working...

and same errors?

here's a new screenshot

I cannot reproduce this when doing the steps as suggested above.

I am using CocoaPods

Ok, so you confirm that using 'Legacy Build System' is not solving your problem?

i confirm

Do you have a sample where you can reproduce this, a minimum implementation, so I can check where what is going wrong? As I can not reproduce it and other clients don't seem to have this problem. This week I am not in the office, but next week I am back. (23rd) So by then I can look into it and otherwise we can schedule a Skype call to dive into the problem.
But it would of course help if you could point me in the right direction. As I know the code is very old and we are working on a new version. Which would help if we gather more info about malfunctions in the old. You can email that sample to me. (my email is in the .podspec file)
Thanks and I hope we will find the cause and solve it! 🙂

We have the same problems; thus, I tried to fix them and it seems to work. Check out PR #59

@MBing It does not matter if it works with the 'Legacy Build System' setting. To require the 'Legacy Build System' is not a solution. We have just started to work on a brand new app (and where actually expecting Swift 5 already).
Could you check @matteomatassoni PR. It looks like he did the necessary work.
Thanks

@sebbu Since I didn't get an email or any reproducible steps, the best solution was to use the 'Legacy Build System'. The biggest issue with changes and migration is to make sure our other clients don't start complaining of behavior changes. That would cause a lot more problems/costs of course.
I will have a look at the changes of @matteomatassoni (Thank you for this of course! 😃) , first glance looks like it is just a migration with some name changes, so I need to check if the behavior is still similar. But let's see further in the PRs.
I will get back to you all here ASAP!

There is a problem with xcodebuild (which is used to check/lint verify the code to create a Cocoapod library) and thus I cannot release a version to Cocoapods yet. I am following this:
https://github.com/CocoaPods/CocoaPods/issues/8729
Which shows others have similar problems, like Apple & Fastlane:
https://bugreport.apple.com/web/?problemID=50093486
https://github.com/fastlane/fastlane/issues/14634
Here's a screenshot of my current output, which shows that the code they check refers to an older platform and thus blocks my upload to create a new version.

FYI, just checked 4.13.2. Works well with Carthage.

@tarbayev Thanks for the update! 😃
When using Carthage, you can already use version 4.14.0 already, which should also work with the New Build System.
I will close this ticket once I could update Cocoapods as well.

@MBing do you have any news?

@matteomatassoni Good news, so there were still some issues with WatchOS, actually a couple due to the migration of 4.2...
Anyway it's fixed and there's a new version on Cocoapods 4.15.3
https://cocoapods.org/pods/Webtrekk
I did have a couple warnings, which I have made a ticket about and will tackle somewhere later. But you should be able to build without a problem. Let me know if all is good.

@MBing Thank you; but now we can't use it because iOS's minimum deployment target has been increased from 8.0 to 12.0.

@matteomatassoni Ah ok, yeah I will revert the .podspec immediately!

@matteomatassoni updated, can you try and see if it works for you now? The versions should be aligned now, I do have a minimum of 9.0 on both Cocoapods and in Xcode. 4.15.4 is the newest then.

@MBing I could not test it right now, but I've already tested it on our fork by reverting the pod spec's minimum to iOS 8.0; thus, I think v4.15.4 works as well. Thank you!

as everything should work again, I am closing this, let me know if something is off or create a new ticket please.


SOLR-16608: Ability to compress the collection state

https://issues.apache.org/jira/browse/SOLR-16608
Description
This PR provides the ability to configured a minimum size of state.json above which it will be compressed when written to Zookeeper. Solr will be able to handle compressing/decompressing in ZLib format in all areas where Solr reads state.json from Zookeeper.
Solution
This uses ZLib compression to optionally compress state.json, the core of this logic is contained within a new class called CompressionUtil that handles both compression and decompression as well as some logic to check if bytes are compressed in a very efficient way. This can handle reading/writing both compressed and uncompressed data so it changing the configuration for compression is backward compatible and will not break reading state.json.
Tests
There are tests added to check various layers to ensure compression/decompression is working, including unit tests for CompressionUtil and tests for ZkStateReader and ZkStateWriter.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[x] I have added tests for my changes.
[x] I have added documentation for the Reference Guide

LGTM

This would be a pretty scary feature to use for me (since there are times where modifying cluster state manually can be unfortunately necessary).
But overall I have a few comments.
Is there a full e2e test here? I see all tests generally use a ZkStateWriter. But it would be good to see a test just start a cloud with compression enabled, create a collection and make sure it is compressed by fetching the data from ZK.
Also for upgrade notes, this feature should not be enabled until all Solr Nodes are running a version of Solr that supports it.

Thanks for taking a look @HoustonPutman, one of the reasons we chose ZLib compression is because tools like zk-shell can handle it natively when doing a get on a compressed state.json. Also since this is done in ZKStateReader it is handled across Solr including Admin pages and Solr CLI, which hopefully helps alleviate some of the concern. There is certainly some tradeoff here in terms of manual modification of state, but we've found value in this for very large collections to keep files in ZK small.
+1 on upgrade notes and I'll follow up on additional tests and the other comments you provided.

This would be a pretty scary feature to use for me..

It's an opt-in feature. So, a user would not get an unpleasant surprise

@HoustonPutman what if you could edit zk through the solr admin? Then presumably the api that pushed that data up and down could deal with the compression? I've done the same ZK editing in the past ;-)

Yeah then that would be fine 🙂

@HoustonPutman what if you could edit zk through the solr admin? Then presumably the api that pushed that data up and down could deal with the compression? I've done the same ZK editing in the past ;-)

Yeah then that would be fine 🙂

compression will be used when the state.json is too big. Loading such a big JSON file in admin UI is not a good idea. most likely the workflow is as follows

download the json using ZkCLI
edit the file using some tool
upload it back using ZkCLI

Other than size units ambiguity, +1 for me!

I made the update here to use minStateByteLenForCompression in all places.

@HoustonPutman what if you could edit zk through the solr admin? Then presumably the api that pushed that data up and down could deal with the compression? I've done the same ZK editing in the past ;-)

Yeah then that would be fine 🙂

compression will be used when the state.json is too big. Loading such a big JSON file in admin UI is not a good idea. most likely the workflow is as follows

download the json using ZkCLI
edit the file using some tool
upload it back using ZkCLI

Working on getting this working as the last piece here.

The change to the ZkCLI has some complexity that requires its own discussion, enough so that I believe it warrants its own PR once this one is merged. Since this change does not introduce compression unless intentionally configured, I am proposing that we merge this change and I will follow up with an additional PR for the ZkCLI changes to handle compressed state through that CLI tool.
@HoustonPutman Does that sound reasonable to you?

I think it would be nice to have all together, but if you want to split it up thats fine with me. Be sure not to close the JIRA, and if the second PR doesnt make it by 9.2 then the limitations need to be spelled out in the ref guide.


When run "flutter build web",the command line show "build web" is not currently supported?

I will show what the problem happened, this is the steps:
At first when I use the command"flutter create .", the command line shows the problems following,and I can't find the "Web" file in the my project root files. What happened?
Recreating project ....
Wrote 3 files.

All done!

And then when I use the command"flutter build web", the command line shows the problems following:
"build web" is not currently supported.

Excuse me.Are there any tools that are not installed？
and then I input the conmand"flutter doctor -v", and this is my tool versions:
#
[√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
    • Flutter version 1.20.2 at E:\develop\flutter
    • Framework revision bbfbf1770c (3 weeks ago), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at E:\develop\sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = E:\develop\sdk
    • Java binary at: E:\develop\android-studio-ide-193.6107147-windows(4.0canary8)\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at E:\develop\android-studio-ide-191.6010548-windows(3.5.3)
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] IntelliJ IDEA Ultimate Edition (version 2019.2)
    • IntelliJ at E:\develop\IntelliJ IDEA 2019.2.3
    • Flutter plugin version 43.0.2
    • Dart plugin version 192.8052

[!] Connected device
    ! No devices available

! Doctor found issues in 2 categories.

You can see , I had installed the following tools,just like:
flutter SDK, JDK, Android SDK, environment variable, IDEA flutter plugins.
By the way, I had install webdev and stagehand, and I use IntelliJ IDEA(2019.2) to create flutter project and use the command to build flutter web.
You see I have ths problems above, so what's wrong?

hey do you have a web folder??

@AweiLoveAndroid You're using stable version of flutter SDK which doesn't have web support.
https://flutter.dev/docs/get-started/web

Hi @AweiLoveAndroid,
Please see this document for building web apps in Flutter. You need to be in beta to be able to create web app.
Closing this as non-issue.

@darshankawar  Thanks a lot

@piedcipher Thanks a lot


Upgrade storybook and fix custom-component stories

Description
Shortcut: (link)
Fix "Show code" for custom components
Type of change

Fix

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.415%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1155

Relevant Lines:
1544

💛  - Coveralls

Code makes sense to me, can you please add a vercel link for acceptance @Josmorsot ?

Sure, updated in description: https://sb-carto-josmorsot.vercel.app/?path=/story/introduction--page


SyN-SDC guessed phase encoding incorrectly

ds000243 sub-042 task-rest_run-2
Correction was attempted in L/R but should've been in A/P.

Same with sub-032_task-rest_run-1

In case it occurs to anybody else to check, the tissue contrast looks fine, so it's not just bad BBR.

Following discussion, the fix to this issue cropping up for users will almost always be "label the data with the correct PE direction".
That said, we may be able to get a better heuristic. Two possibilities:

LR phase encoding will produce higher LR asymmetry, so we may be able to use an asymmetry measure to decide PE before running SyN-SDC.
There is a fairly strong AP prior probability, so we may want to require LR to out-perform AP by some threshold to reject the AP assumption.

LR phase encoding will produce higher LR asymmetry
I'm not sure of this. If the head has some tilt to the left or right, it will be pretty asymmetric.

There is a fairly strong AP prior probability
This is true, specially because guessing the PE direction would (ideally) only be needed for legacy datasets which lost that info along the way.

Having said that, maybe worth just spitting a WARNING with the one we have of the EXPERIMENTAL and ask the user to define the PE direction. Otherwise, we assume AP and save a lot of computing.
WDYT?

LR phase encoding will produce higher LR asymmetry
I'm not sure of this. If the head has some tilt to the left or right, it will be pretty asymmetric.

I think the idea is that we would need to find the midline anyway, and then test for asymmetry across that.
As to the rest, warning on undefined and assuming AP sounds like a pretty reasonable to build the prior in. Certainly low-cost. :-)

I think the idea is that we would need to find the midline anyway, and then test for asymmetry across that.

Right, and on that basis I don't see why AP would be more symmetric than LR, unless the interhemispheric plane was perfectly aligned with the sagittal plane of the scanner.


Fix races

This fixes a couple of data races and a deadlock I stumbled upon while running the integration tests on my machine.

Codecov Report

Merging #1181 into master will decrease coverage by 0.13%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1181      +/-   ##
==========================================
- Coverage   30.06%   29.93%   -0.14%
==========================================
  Files          28       28
  Lines        2292     2302      +10
==========================================
  Hits          689      689
- Misses       1454     1464      +10
  Partials      149      149

Impacted Files
Coverage Δ

io_unix.go
0% <0%> (ø)
:arrow_up:

io.go
0% <0%> (ø)
:arrow_up:

process.go
0% <0%> (ø)
: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 8eadcb8...7441e8c. Read the comment docs.

Depends on https://github.com/containerd/fifo/pull/13 for the extra data race detected while fixing the others :sweat_smile:

@mlaventure Dep is merged.

LGTM


Upgrade to helm v2.3.0, add clusterIP service for internal consumption

This is required for Monocular deployment features to function.

@galal-hussein Image llparse/k8s:802ba91 can be used to test.

Can we move the Tiller bump to a separate PR? We should update Helm to that version as well (https://github.com/rancher/kubectld/blob/master/package/Dockerfile).

Cool, thanks. LGTM.


Butler deploys don't get their version number set

Currently butler deploys are versioned by adding:
--userversion $TRAVIS_TAG

to specify the version.
However it doesn't get picked up by itch.io.
This is how it is used in butler's source code
--userversion "${USER_VERSION}"

Proposed solution:
--userversion "${TRAVIS_TAG}"

The error is elsewhere: --userversion is never passed to butler push!


fixing execCompiled()

This PR fixes the execution of the binaries used in this repository. Now the lexe and tablegen executables are compiled with nimble install and are available in Nimble/bin, which is where the package binaries should be. Therefore, if Nimble/bin is in the PATH environment variable they will be executed without further problems. Here on Windows I was having problems with your package because of this.
Due to my Visual Studio Code settings, some other files were given a blank last line and trailing spaces were removed.

thanks


feat: 'Scorm' as singleton, new API

Scorm singleton exposes enums and functions for the user to easily communicate with the LMS. It endorses the Godot type system to promote a clear API and auto-completion, but the user can bypass this using 'lms_<set|get>_attr_raw()' to directly access the SCORM JS integration.
scorm_export.gd is responsible to generate the needed files for compliance with SCORM spec, and to package everything together into a ZIP archive.
Also, this PR:

Moves the test scene to the addons/ folder.
Add .gitattributes to only exports the addons/ contents when downloading the plugin via Asset Store.
Changes the main icon to the SCORM one and increases his default size to 256px.
Changes the license to MIT. (More inline with the Godot community. What do you think?)

I took the liberty to put myself as author of the plugin too.
As this PR brings major changes, affecting the plugin's public API. I bumped the plugin's version to 2.0.0.
What do you think of changing the repository name from 'godot_scormplugin' to 'godot-scorm', or 'godot-scorm-plugin'.

On my tests, I noticed that the scorm.js's  doUnload() seems to not be working properly. I didn't have the time yet to look into it, but the doUnload() is doing something strange and the values that I set in the test scene isn't being saved when pressing to close the activity:

A more deep look into the scorm.js routines will be needed.

The changes were tested in booth Godot 4.2 and 4.3 versions.


Devel + snake game

First commit for the snake game,
the game is working but there's no score or menu yet

I think I've correct all the problems you saw except the one about the class base application, let me know if anything is amiss

You seem to have accidentally committed the emulator flag file, if you could remove it, that'd be great! I will go test the game now =)

I hadn't notice that, shouldn't it be specified in the gitignore ?

It should - will fix that, thank you =)

So, it works, and it works well! I do have a list of improvements that we could make - would you be interested in making them yourself, or would you prefer leaving that to me?

I can try, I already have some ideas :

draw real apples
draw a bigger snake
add difficulty by increasing speed
add score & highscore
...

Yay! I've refactored the code a little bit in the meantime, would you be interested in my changes?

Done! Pull the devel branch in now, I have added my changes, sorted by purpose in separate commits.

Thanks, I've seen your commits, i'll try to follow your guideline in further commits.


Mapbox Places search does not work..

Mapbox Along with its places API were working well with following config
val mapbox = "7.1.1"
 val geoJsonCore = "4.3.0"
 val mapBoxAnnotationPlugin = "0.4.0"
 val mapBoxPlacesPlugin = "0.7.0"

But after I upgraded it to following versions it's showing offline option or retry but it does nothing..
val mapbox = "8.0.0"
  val geoJsonCore = "4.8.0"
  val mapBoxAnnotationPlugin = "0.6.0"
  val mapBoxPlacesPlugin = "0.8.0"

Are the new sets of config incompatible??

cc @langsmith @zugaldia

Hey @erluxman , thanks for using Mapbox.
I set up a new project to try your dependency mix. I set up a completely new Android app following https://www.mapbox.com/install/android/. Then I added these dependencies, which I believe would match what you listed above.
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-core:4.8.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.0.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v7:0.8.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:0.6.0'

Then I added the following inside of the onStyleLoaded() callback.
findViewById(R.id.go_to_search_activity_button).setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {

                Intent intent = new PlaceAutocomplete.IntentBuilder()
                  .accessToken(ACCESS_TOKEN)
                  .placeOptions(PlaceOptions.builder()
                    .backgroundColor(Color.parseColor("#EEEEEE"))
                    .limit(10)
                    .build(PlaceOptions.MODE_CARDS))
                  .build(MainActivity.this);
                startActivityForResult(intent, REQUEST_CODE_AUTOCOMPLETE);

              }
});

When I started typing a geocoding search, I got the same Offline - Try again message you did.

Mention of stuff such as CarmenFeatureConverter.toCarmenFeature, GeometryDeserializer.deserialize, PointDeserializer.deserialize, got me looking into various Java SDK versions.
Similar error(s) when I tried injecting home and work into the autocomplete UI

Then I switched to the 0.9.0-SNAPSHOT (implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places-v7:0.9.0-SNAPSHOT' ) and got the Places Plugin to work just fine with the above setup.
I think this issue is about Feature serialization, which was probably addressed by https://github.com/mapbox/mapbox-java/pull/1034. The last Places Plugin release was April 8th (https://github.com/mapbox/mapbox-plugins-android/releases) and "bump java services version to v4.6.0" happened 19 days ago, which means that #1034 is only available in the Places Plugin 0.9.0-SNAPSHOT. In my own testing, I did get geocoding search UI autocomplete working as intended when using the SNAPSHOT.
Seems that the plugin repo's Java SDK dependency didn't keep up with the Java releases. I've updated https://github.com/mapbox/mapbox-java/issues/1024, so that future release checklists include a reminder to Update the plugin dependency file.
My guess is that bumping the Java SDK dependency version in the plugins repo (pr for this is at https://github.com/mapbox/mapbox-plugins-android/pull/985) and then releasing a new version of the Places Plugin will solve this issue.
Also probably related to this is https://github.com/mapbox/mapbox-java/issues/1044#issuecomment-500632697

@langsmith  thanks for the hard work, waiting for that release..

@langsmith  I also got his issue https://github.com/mapbox/mapbox-gl-native/issues/14849 after the same upgrades, any chances you can confirm these will be fixed in the new release?

@langsmith thanks for the hard work, waiting for that release..

@erluxman , new release of the Places Plugin went out a couple of days ago https://github.com/mapbox/mapbox-plugins-android/issues/987.  I'm going to close this ticket because the release should've solved this ticket.

I also got his issue mapbox/mapbox-gl-native#14849 after the same upgrades, any chances you can confirm these will be fixed in the new release?

Thanks for making that ticket. I/we haven't gotten around to looking into this just quite yet. Going to close this ticket also so that we can keep conversation about https://github.com/mapbox/mapbox-gl-native/issues/14849 on the https://github.com/mapbox/mapbox-gl-native/issues/14849 ticket 👍 .


I want to predict single image ,can you teach me what shoulde I do ?

Single image from MVTec dataset or your custom data?

Single image from MVTec dataset or your custom data?

I want to use the train.py 's model to predict my custom data,but I don't know how to code the predict.py

So you need to change the dataset in  train_dataloader in train.py from MVTec to CutPaste_Dataet from dataset.py . After you can train your model on custom dataset. Finally, you can check the "mvtec_anomaly_detection" method in anomaly_detection.py to see how the anomaly scores are determined for MVTec test set and wite similar code for testing single image.  It's a little bit overhead as the codebase is mainly for MVtec dataset and doesn't support custom dataset or single image testing for now.


Writting optimization

My Environment
ArangoDB Version: 3.3.14
Storage Engine: RocksDB
Deployment Mode: Single Server
Deployment Strategy: Manual Start (only run "arangod" on shell bash)
Configuration: default
Infrastructure: own
Operating System: Ubuntu 16.04
Used Package: Ubuntu .deb
Hello, I would like to know the ArangoDB team again to optimize writting my data. I'm using Arango to write data streaming.
I'm using the php library version, and running the following function:
$query = 'UPSERT { clientid: "'.$clientid.'", domain:"'.$domain.'", path:"'.$path.'" }
          INSERT { clientid: "'.$clientid.'", domain:"'.$domain.'", path:"'.$path.'", count:1,
          created_at:DATE_NOW() }
          UPDATE { clientid: "'.$clientid.'", domain:"'.$domain.'", path:"'.$path.'", count:OLD.count+1,
          created_at:DATE_NOW() } IN hariken_segments';
$statement = new Statement(
      $this->connection,
      array(
         "query"     => $query,
        )
     );

It works fine, and its performance is better MongoDB for example.
I cant start parallel service becouse  I have conflicts in wirte same document in collection.
What can I do to improve my document writting? to change some settings? cluster would be a solution?

With the availability of ArangoDB 3.7  I'm closing this as outdated.


Release Azure.Core April update

This tracks the work needed before we can release the Azure.Core April update.

Done


gudhi v3.1.1 release candidate 1

Checklist

[X] Used a fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[X] Reset the build number to 0 (if the version changed)
[X] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

Fix Python representations that was not installed

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add streaming support for Audio

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

[X] This is a feature request for the Node library

Describe the feature or improvement you're requesting
Currently, it's easy to stream in Python as per docs, but I haven't been able to pull it off in Node. Concurrency works just great, tho.
we need a response.stream_to_file("output.mp3")
Additional context
No response

we need a response.stream_to_file("output.mp3")

Unfortunately it's unlikely that we can add something like that as JS doesn't always have file system access or a runtime independent way of writing files.

Currently, it's easy to stream in Python as per docs, but I haven't been able to pull it off in Node.

I'm curious what you've tried so far in case there's any docs we could update?
We do have an example script here that shows how to stream the response to a file.

I'm going to close this due to the above mentioned reasons, please let us know if there are any docs we could improve here!


Is it possible to add sort to findOrCreate method?

It'd be great.

Should be, though it could depend on the adapter used: https://github.com/balderdashy/waterline-docs/blob/master/query-methods.md#findorcreate-search-criteria-values-callback-

@elennaro, does it have to be a sort or just some predicable order? As in, the records would be returned in the same order as submitted, for example:
model.findOrCreate([{ val: 1 }, { val: 2 }, { val: 3 }], function(err, records){
  console.log(records);  // prints [{ val: 1 }, { val: 2 }, { val: 3 }]
});

For adapters that don't implement their own findORCreate, the second option should be a simple change in the shim similar to #980 / #795.

Thank you for your answer @dmarcelino.
Yes, I supposed to get values  sorted according to the query criteria I use.
I have:
models/Workdays.js
module.exports = {
	attributes: {
		id: { type: "date", primaryKey: true },
		.....
//Relations
		.....
	}
};

and query in controllers/WorkdayController.js
module.exports = {
	find: function(req, res) {
		var week = []; //some logic that generates 7 workday sequentially;
		Workday.findOrCreate({ where: { id: week.map(function(d) {
				return d.id;
			})}, limit: 7, sort: 'id DESC' }, week).exec(function(err, workdays) {
			//I have had hope to see sorted workdays here...
		});
	}
};

As you can see, it understands the query Criteria in this form:
{ where: { id: week.map(function(d) {
				return d.id;
			})}, limit: 7, sort: 'id DESC' }

But it ignores sort. Maybe it works as it should work, then it could be great to add such note to documentation.
I use sails-mongo with waterline. If sails-mongo overrrides findOrCreate then it's probably a sails-mongo issue.
Or it's not an issue at all...

I see, that's a nifty code example :)
If all the records exist I would say this should be easy, the problem I see is if some or even all records don't exist. In the latter case waterline would have to do an extra .find() (or use waterline-criteria) to be able to sort all records...

Wow waterline-criteria looks promising.
To be honest there is no problem to do a custom sort in callback after all.
So did I.
Reviewing the sources makes me understand, that custom sort is the easiest solution in this case, if I want to have database adapter independent code, and we both do not want to do extra db queries in the request.
So do you want me to close the issue?
And sorry for taking your time, I thought it could be a great feature, but I see now, that it's better to learn from sources before post issues.

waterline-criteria is already being used in waterline so maybe it wouldn't be too difficult to sort the records coming from findOrCreateEach if a sort is present in the criteria. It wouldn't have any impact for those not trying to sort the results.

So do you want me to close the issue?

Leave it for now, let's see what others says or if someone volunteers a patch!


Default SpriteBatch shader fails to compile

Hi there:
The following code is crashing with the error code posted at the bottom of this issue:
public class Iteration3Main extends Game {
    SpriteBatch batch;
    private static TextureAtlas atlas;
    private static final float colourCycleTime = 30f;
    private static HSVColour currentColour = new HSVColour(0, 0.81f, 0.7f, 1f);

    public static Colour currentColour() {
        return currentColour.toRGB();
    }

    private static TitleScreen titleScreen;
    private static Iteration3Main main;

    public static TextureAtlas textureAtlas() {
        return atlas;
    }

    @Override
    public void create() {
        batch = new SpriteBatch();
        atlas = new TextureAtlas(Gdx.files.internal("global.atlas"));
        titleScreen = new TitleScreen(this, atlas);
        main = this;
        setScreen(titleScreen);
    }

    @Override
    public void render() {
        float nextHue = currentColour.hue() + Gdx.graphics.getDeltaTime() / colourCycleTime;
        nextHue = nextHue > 1 ? 0 : nextHue;
        currentColour.hue(nextHue);
        Gdx.gl.glClearColor(0, 0, 0, 1);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
        super.render();
    }
}

I'm on a fresh install of Windows 10, in IntelliJ 15.0, running Oracle JDK version 1.8.0_65. This project was working the day before yesterday with an existing Windows10 installation, but I believe an older version of Java 1.8.0 Installed.  This is possibly the source of my troubles. I'll install the previous release and report back.
Exception in thread "LWJGL Application" java.lang.IllegalArgumentException: Error compiling shader: Vertex shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated

Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors.  No code generated

    at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteBatch.java:157)
    at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:120)
    at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:73)
    at com.deepwallgames.quantumhue.Iteration3Main.create(Iteration3Main.java:29)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:143)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)

Update: I created a minimal project from the gdx setup up wizard with the same configuration, and again I receive the same exception.

It appears as though I cannot easily find an earlier Java version, so I am trying update 66 in hope.

Possible duplicate of #3273

I am indeed using an AMD graphics card. But it is strange that this has only become an issue now.

This shader workaround fixes the ShapeRenderer issue for glsl #version 150:
public class ImmediateModeShader30 {

    static private String createVertexShader (boolean hasNormals, boolean hasColors, int numTexCoords) {
        String shader = "#version 150\n" +
                "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n"
                + (hasNormals ? "attribute vec3 " + ShaderProgram.NORMAL_ATTRIBUTE + ";\n" : "")
                + (hasColors ? "attribute vec4 " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" : "");

        for (int i = 0; i < numTexCoords; i++) {
            shader += "attribute vec2 " + ShaderProgram.TEXCOORD_ATTRIBUTE + i + ";\n";
        }

        shader += "uniform mat4 u_projModelView;\n";
        shader += (hasColors ? "varying vec4 v_col;\n" : "");

        for (int i = 0; i < numTexCoords; i++) {
            shader += "varying vec2 v_tex" + i + ";\n";
        }

        shader += "void main() {\n" + "   gl_Position = u_projModelView * " + ShaderProgram.POSITION_ATTRIBUTE + ";\n"
                + (hasColors ? "   v_col = " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" : "");

        for (int i = 0; i < numTexCoords; i++) {
            shader += "   v_tex" + i + " = " + ShaderProgram.TEXCOORD_ATTRIBUTE + i + ";\n";
        }
        shader += "   gl_PointSize = 1.0;\n";
        shader += "}\n";
        return shader;
    }

    static private String createFragmentShader (boolean hasNormals, boolean hasColors, int numTexCoords) {
        String shader ="#version 150\n"
                + "#ifdef GL_ES\n" + "precision mediump float;\n" + "#endif\n";

        if (hasColors) shader += "varying vec4 v_col;\n";
        for (int i = 0; i < numTexCoords; i++) {
            shader += "varying vec2 v_tex" + i + ";\n";
            shader += "uniform sampler2D u_sampler" + i + ";\n";
        }

        shader += "void main() {\n" + "   gl_FragColor = " + (hasColors ? "v_col" : "vec4(1, 1, 1, 1)");

        if (numTexCoords > 0) shader += " * ";

        for (int i = 0; i < numTexCoords; i++) {
            if (i == numTexCoords - 1) {
                shader += " texture2D(u_sampler" + i + ",  v_tex" + i + ")";
            } else {
                shader += " texture2D(u_sampler" + i + ",  v_tex" + i + ") *";
            }
        }

        shader += ";\n}";
        return shader;
    }

    /** Returns a new instance of the default shader used by SpriteBatch for GL2 when no shader is specified. */
    static public ShaderProgram createDefaultShader (boolean hasNormals, boolean hasColors, int numTexCoords) {
        String vertexShader = createVertexShader(hasNormals, hasColors, numTexCoords);
        String fragmentShader = createFragmentShader(hasNormals, hasColors, numTexCoords);
        ShaderProgram program = new ShaderProgram(vertexShader, fragmentShader);
        if (program.isCompiled() == false) throw new IllegalArgumentException("Error compiling shapeRenderer shader: " + program.getLog());
        return program;
    }
}

It would be nice for ImmediateMode20 and the default SpriteBatch shaders to add a version tag to the shader if useGL30 is set to true. Or alternatively have a gauntlet of default shaders that the ShapeRenderer and  SpriteBatch have to fall through until successful compilation (might slow down startup considerably however).

This is an issue tracker. If you need help then use the forum or irc instead. If you think there is actually a new issue, then please include the required information to reproduce the issue you're reporting. If this is indeed a duplicate then please close this.
https://github.com/libgdx/libgdx/blob/master/CONTRIBUTING.md

I'm sorry. Maybe I'm misreading your tone (one of flustered impatience with one of many "noobish" issues) but I feel that this is a terrible attitude to have. I am someone who is becoming familiar enough with the libgdx codebase such I feel comfortable browsing around the source. I don't think you want to turn such people away.
I was not looking for help, I am trying to make it clear that a) on a fresh install of Windows 10 b) with an AMD card, c) the default SpriteBatch shader is failing to compile, moreover the ShapeRender's  default shader is failing to compile, but does so in a silent manner.
This is a serious issue. This is a major failing in Libgdx's introductory user experience. The university I am at uses Libgdx as their engine of choice for their introductory game design course. At that point in my education, I would have had absolutely no clue as to how to debug such a problem, it would have been a major turn off from an ecosystem whose modular approach I have major respect for.
I have reproduced my problem, in a minimal as possible way by creating a desktop project with no extraneous libs, on a dev environment almost as clean as it could be. This IS a new issue, at least for me, I did not encounter it prior to today, when I reformatted and installed Oracle JDK 1.8.65.
But naturally because this involves GL, this is a hardware specific problem. I do not know whether this problem applies to all AMD graphics cards, but with 18% percent of development environments potentially affected (AMD desktop share) it should be of concern to you.
If you give me a bit of time (I'm currently writing finals), I can create a branch to try and architect a solution in a platform agnostic manner.
I ask that you please do not close this, from a person who used to know absolutely nothing about graphics programming and shaders.

I'm sorry if you misunderstood me. What I meant was is that it is unclear what you're trying to achieve by creating this issue. A new issue is an issue that hasn't been reported before. As said, it looks like this is already reported and discussed. If you'd have searched the issue tracker as you were asked to do when you created this issue, then you'd have seen that. So either:
a) this is a duplicate issue,
b) you are asking for help instead of reporting an issue with libgdx, or
c) you found a new issue with libgdx that hasn't been reported before
Don't get me wrong, if there is an actual new issue then it is very well appreciated that you report it. However, the issue you've reported is that you receive the shader compilation error: "Implicit version number 110 not supported by GL3 forward compatible context". So that implies that you've set useGL30 to true, in which case this is not a new issue.
You also said that "This is both with config.useGL30 set to true and false". Which would imply that somehow gles 3 is enabled while you didn't specify it. That would be a new issue, but you haven't provided enough information for that (you didn't even include your config). If that's the case then please include the required information to reproduce it.
Please note that the gles3 shader issue is known (e.g. see this, this and this and I'm sure you'll find more of it when you search the issue tracker). There is no easy fix (although it is arguable whether this is an actual issue). If you chose to decide to use gles 3 then you will have to provide gles 3 compatible shaders. But then again, why would you enable gles 3 in the first place if you don't want to use it?

Like I said, error occurs in vanilla result from GDX setup wizard. I saw  issue #3273 however I believed it to be a separate issue due to it being closed and #3273 seemingly working with the use of GL30.
There is little point in including the code because you could generate it yourself, however here it is a single file code snippet. The problem also occurrs using [[ BarebonesBatch| https://github.com/libgdx/libgdx/wiki/Getting-Help#barebones-spritebatch]].
package com.mygdx.game.desktop;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.mygdx.game.MyGdxGame;
import com.badlogic.gdx.ApplicationAdapter;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;

public class DesktopLauncher extends ApplicationAdapter {
	public static void main (String[] arg) {
		LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
		config.useGL30={{false|true}}; //irrelevent either way, added it just to test
		new LwjglApplication(new DesktopLauncher(), config);
	}

	SpriteBatch batch;
	Texture img;

	@Override
	public void create () {
		batch = new SpriteBatch();
		img = new Texture("badlogic.jpg");
	}

	@Override
	public void render () {
		Gdx.gl.glClearColor(1, 0, 0, 1);
		Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
		batch.begin();
		batch.draw(img, 0, 0);
		batch.end();
	}
}

I want to support android, so I'm concurrently developing alternative versions of effect shaders for different GL versions.
Graphics card: AMD GTX R9 270
RAM: 16 GB RAM
OS: Windows 10 Pro N
Processor: Intel Core i5-4690K
Architecture: 64 bit
AMD Catalyst Control Center version 2015.0804.21.41908
OpenGL Version: 4.3 ([[More details| http://feedback.wildfiregames.com/report/opengl/device/ASUS%20R9%20270X]]

Please let me know if you need any more information.

So the issue you're reporting is that gles 3 is enabled even when you set useGL30 to false? Can you verify that by checking whether Gdx.gl30 is not null? Also, is this latest nighly or which version of libgdx are you using (there has been an issue which would cause that, but that is fixed a release or two ago)?

I am using Gdx version 1.7.1
Modifying the create method above to:
public void create () {
		System.out.println("Is Gdx30 null?: "+(Gdx.gl30==null?"Yes":"No"));
		batch = new SpriteBatch();
		img = new Texture("badlogic.jpg");
	}

Produces:
Is Gdx30 null?: Yes

I added #version 110 to the top of my modified default shader, and it compiled.

Thanks, I'm not sure whether this is a libgdx, lwjgl or driver issue. If it is a libgdx issue (which is quite possible) then it is not something to easily fix. Since I don't have an AMD gpu myself, I would like some verification that this only happens with (what I assume) this specific driver version. There haven't been any other issues reported on this specifically before, so perhaps it is only since the latest AMD driver update.
To reproduce (if i understand correctly):
On windows, with an AMD gpu with latest driver create a new project using gdx-setup and run it without any modification. It should give the above error.

It might only be restricted to the R9 270X, the R9 series or a subset of the AMD cards or for some frustrating reason only on my PC, but yes.
Would simple adding #version 110 to the default shader break older configurations?

I doubt they use a different (pre)compiler implementation for every gpu, but it could be.
Indeed, as you've read in those issues I referred to, the #version directive is not compatible between gles 2, gles 3 and gl 3+.

From the Opengl ES Reference

Each compilation unit should declare the version of the language it is written to using the #version
directive: #version number
where number must be 100 for this specification’s version of the language (following the same convention as VERSION above), in which case the directive will be accepted with no errors or warnings. Any number less than 100 will cause an error to be generated. Any number greater than the latest version of the language a compiler supports will also cause an error to be generated. Version 100 of the language does not require compilation units to include this directive, and compilation units that do not include a #version directive will be treated as targeting version 100.

Hello I'm not an expert but i am getting the same error as @ncthbrt when I try to run the desktop project from cmd with: gradlew desktop:run
Well I tried to create a new libgdx project and used the same command but it failed as well. I don't understand however, why does my project run in eclipse perfectly fine and the "useGL30 = true;" also works just fine, though running and building it with gradle doesn't.
I am posting this here to confirm the issue that @ncthbrt stated, thus i must add that I am also running on Windows 10 and I also have an AMD GPU with latest drivers installed. Finally, my GPU is not from R9 series but rather HD6000(it's AMD Radeon HD6670 specifically) series, so I guess this issue applies to all systems having the newest AMD drivers installed.

Same issue here, only on Linux
OS: Ubuntu x64 16.04
HD 7770
gdxVersion = '1.8.1-SNAPSHOT'
This issue appeared only after the installation of the proprietary catalyst driver
using the open source driver works fine
if you need more info don't hesitate to ask!

Could you try to add the following code to your desktop starter.
config.useGL30 = true;
ShaderProgram.prependVertexCode = "#version 140\n#define varying out\n#define attribute in\n";
ShaderProgram.prependFragmentCode = "#version 140\n#define varying in\n#define texture2D texture\n#define gl_FragColor fragColor\nout vec4 fragColor;\n";

Could you try to add the following code to your desktop starter.
config.useGL30 = true;
ShaderProgram.prependVertexCode = "#version 140\n#define varying out\n#define attribute in\n";
ShaderProgram.prependFragmentCode = "#version 140\n#define varying in\n#define texture2D texture\n#define gl_FragC

I can confirm that this does, indeed, fix the mentioned problem with AMD card (which I was experiencing before myself).

Thanks @kibertoad! I just want to say, in case someone else comes across this issue, the code/settings posted by @kibertoad fixes the issue (I have an AMD card: Radeon 5770).
It also solves another issue I had with Box2DDebugRenderer not rendering the debug geometry. Before this fix, I had to use a custom default shader and use spritebatch like so:
sb = new SpriteBatch(100, createDefaultShader());
This would fix the version issue however the Box2D debug renderer would not display anything.
This new fix fixes everything!

Is this issue still affecting anyone?

Is this issue still affecting anyone?

It's still crashing for me on 1.9.3 when I'm not using aforementioned ShaderProgram code.

Hello,
I just had this issue by running a hello world kind of program on the latest libgdx.
The fix mentioned by @xoppa  seems to work.
I also have an AMD Radeon gpu, r9 280x

I've also recently started having this issue on Libgdx 1.9.3 on Ubuntu 14.04 using an Nvidia GeForce GTX 285 card with proprietary 304.132 drivers. I didn't change anything that I know of. No driver changes, no hardware changes, no code changes. It just stopped working from one day to the next.
I have tried the ShaderProgram code suggested as well as config.useGL30 = true, no luck so far.

I suddenly noticed that I'm having this issue, and I'm using libGDX 1.9.4 on Windows 10. Graphics hardware is AMD Radeon HD 7900 + AMD Radeon HD 5670.
This is a weird one... I'm getting the error ONLY when I run my games from command line (e.g. java -jar your_jar_here.jar).
Double-clicking the jar works. I thought it might be that I have multiple versions of Java installed- one that's associated with double-clicking, and one that's on the command line. This was indeed the case, but unfortunately when I tested, neither version would run the jar from the command line. It crashes in a libGDX internal method when it tries to create the default shader.
Here's the confusing part- I have some old builds of my game that work via command line, and some old builds that don't work. I swear they all worked before, and I don't recall updating my graphics drivers.
I can confirm that adding the code posted by @xoppa resolves the issue in 1.9.4.

@Schyfis latest version if 1.9.5 try it maybe https://libgdx.badlogicgames.com/versions.html
Start from scratch to have clean base, uninstall every version of java you have, then reinstall, and reboot

One of my friends attempted to test my game and had a problem, so I'm back.
@ghost here are the steps I took:

Uninstalled ALL older versions of Java
Installed Java version 8 update 121 (latest version) and rebooted
Verified that the symlinks in the Java path folder are correct
Verified that my path points to the newly-installed version of Java
Updated libGDX to 1.9.6 (latest version) and rebuilt my project, re-exported as jar
Checked the Java version with java -version (output is 1.8.0_121 as expected)
Checked the Java version from my game's log file when run via double clicking the jar (output is 1.8.0_121 as expected)

I can absolutely, positively confirm that I now only have ONE version of Java installed, but the problem I noted in my previous post is the same. Double clicking on a jar file to run it works. Running it from the command line does not, and presents me with the implicit version number error when creating the SpriteBatch.
The other thing I'm here to report is that I'm kind of in a pickle.
The code from @xoppa, minus the useGL30 line, solves the issue on my computer, but crashes when my friend tries to run it on his Mac, with the following error.
java.lang.IllegalArgumentException: Error compiling shader: ERROR: 0:1: '' :  version '140' is not supported
ERROR: 0:1: '' :  version '140' is not supported
    at com.badlogic.gdx.graphics.g2d.SpriteBatch.createDefaultShader(SpriteBatch.java:160)
    at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:123)
    at com.badlogic.gdx.graphics.g2d.SpriteBatch.<init>(SpriteBatch.java:84)

I've sent my friend a version that includes the useGL30 line, and I'll report back when he tests it. Trouble is, if it works, I can't use it as a solution, because when I include that line it significantly impacts the game's performance on my computer.

From @crykn: the issue seems to be related to specific hardware, so there’s nothing libGDX can do on its end; the Mac issue mentioned in the last post is a separate problem (only core profile support on Mac).


EC2 2023: Deflection control

[ ] Implement deflection control from Ch. 9.3.

Hi. I would like to look at this as my next contribution. I remeber that someone else was considering this as well, and if so I would be happy work at this together with him.

Very good @sshaave. Feel free to start working on this and open a draft PR when you have something to share.

@sshaave will prioritize other structuralcodes related topics for a while, so this issue is still open for contributions 😃


updated v1.0.0rc8

Checklist

[x] Used a personal fork of the feedstock to propose changes
Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

It has been pointed out to me that this can go to the main because there has not yet been a release.  See:
https://github.com/conda-forge/cfep/blob/main/cfep-05.md#exceptions
https://peps.python.org/pep-0440/#handling-of-pre-releases
https://github.com/apache/airflow/discussions/25933#discussioncomment-3468793

@conda-forge-admin, please rerender


Windows: thread 'thread_write_report' panicked at 'called Result::unwrap() on an Err value

Error when starting sniffnet.exe executable, the shown error from executing sniffnet from cmd line is below.
I used instructions in section Install and Run -> Windows dependencies Ncap installed and Npcap SDK added to LIB env variable.
thread 'thread_write_report' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "Le fichier spécifié est introuvable." }', src\thread_write_report.rs:34:49
stack backtrace:
   0:     0x7ff7f17673b1 - <unknown>
   1:     0x7ff7f15212ea - <unknown>
   2:     0x7ff7f174f8c9 - <unknown>
   3:     0x7ff7f17695ab - <unknown>
   4:     0x7ff7f17691c5 - <unknown>
   5:     0x7ff7f16ba162 - <unknown>
   6:     0x7ff7f176a062 - <unknown>
   7:     0x7ff7f1769e03 - <unknown>
   8:     0x7ff7f1769d69 - <unknown>
   9:     0x7ff7f1769d24 - <unknown>
  10:     0x7ff7f18fe515 - <unknown>
  11:     0x7ff7f18fe7d3 - <unknown>
  12:     0x7ff7f16b31e2 - <unknown>
  13:     0x7ff7f16c2119 - <unknown>
  14:     0x7ff7f1730599 - <unknown>
  15:     0x7ff7f1764d2b - <unknown>
  16:     0x7ffac1ad74b4 - BaseThreadInitThunk
  17:     0x7ffac2ba26a1 - RtlUserThreadStart

In which directory are you running the application? The problem is that you don't have the permissions necessary to create a file in that location.
Try running the app as an admin.

I tried to lunch it as admin. It's working now. Thank you.


code analysis sometimes randomly fails

when the code analysis runs sometimes are failing raising this type of error:
[ERROR] /workspace/source/spring-petclinic/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java:[30,51] cannot access org.springframework.samples.petclinic.owner.Pet
  bad class file: /workspace/source/spring-petclinic/target/classes/org/springframework/samples/petclinic/owner/Pet.class
    class file contains wrong class: org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
    Please remove or make sure it appears in the correct subdirectory of the classpath.
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Skipping petclinic
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 min
[INFO] Finished at: 2021-07-22T06:09:15Z
[INFO] Final Memory: 118M/1460M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project spring-petclinic: Compilation failure
[ERROR] /workspace/source/spring-petclinic/src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java:[30,51] cannot access org.springframework.samples.petclinic.owner.Pet
[ERROR]   bad class file: /workspace/source/spring-petclinic/target/classes/org/springframework/samples/petclinic/owner/Pet.class
[ERROR]     class file contains wrong class: org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

if we rerun with the exact same type of parameters, in the next rerun works like a charm without changing anything.
I'll add some TSHOOT information in the Readme in order to inform the users of the demo.
thanks @Shanna to raise this error!

Branch with WIP work: https://github.com/rcarrata/devsecops-demo/tree/use_quay

Documented in TSHOOT: https://github.com/rcarrata/devsecops-demo/blob/main/docs/tshoot.md#code-analysis-failures


Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete

Cherry pick of #9798 on release/3.6.
#9798: fix(region): optimized for qcloud prepaid instance delete

Codecov Report

Merging #9800 (e775e79) into release/3.6 (b9d30c0) will increase coverage by 2.20%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.6   #9800       +/-   ##
===============================================
+ Coverage         5.86%   8.07%    +2.20%
===============================================
  Files              828     107      -721
  Lines           129133   12976   -116157
===============================================
- Hits              7577    1048     -6529
+ Misses          120876   11808   -109068
+ Partials           680     120      -560

Flag
Coverage Δ

aFlag
8.07% <0.00%> (+2.20%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/eval_context.go
37.00% <0.00%> (-1.15%)
:arrow_down:

pkg/monitor/alerting/rule.go
1.86% <0.00%> (-1.03%)
:arrow_down:

pkg/multicloud/esxi/manager.go
0.61% <0.00%> (-0.09%)
:arrow_down:

pkg/multicloud/esxi/host.go
0.77% <0.00%> (-0.01%)
:arrow_down:

pkg/multicloud/esxi/vnic.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/network.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/notifier.go
0.00% <0.00%> (ø)

pkg/httperrors/consts.go

pkg/multicloud/aws/network.go

... and 615 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 d5ed96a...e775e79. Read the comment docs.

Codecov Report

Merging #9800 (e775e79) into release/3.6 (b9d30c0) will increase coverage by 2.20%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.6   #9800       +/-   ##
===============================================
+ Coverage         5.86%   8.07%    +2.20%
===============================================
  Files              828     107      -721
  Lines           129133   12976   -116157
===============================================
- Hits              7577    1048     -6529
+ Misses          120876   11808   -109068
+ Partials           680     120      -560

Flag
Coverage Δ

aFlag
8.07% <0.00%> (+2.20%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/eval_context.go
37.00% <0.00%> (-1.15%)
:arrow_down:

pkg/monitor/alerting/rule.go
1.86% <0.00%> (-1.03%)
:arrow_down:

pkg/multicloud/esxi/manager.go
0.61% <0.00%> (-0.09%)
:arrow_down:

pkg/multicloud/esxi/host.go
0.77% <0.00%> (-0.01%)
:arrow_down:

pkg/multicloud/esxi/vnic.go
0.00% <0.00%> (ø)

pkg/multicloud/esxi/network.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/notifier.go
0.00% <0.00%> (ø)

pkg/httperrors/consts.go

pkg/multicloud/aws/network.go

... and 615 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 d5ed96a...e775e79. Read the comment docs.


Created GCP Pipelines section and moved GCP-specific pipelines upgrade instructions

Previews:

Created a new Pipelines section in the GCP section: https://deploy-preview-1494--competent-brattain-de2d6d.netlify.com/docs/gke/pipelines/

Moved two docs into the new section, with no changes to the content: Pipelines e2e tutorial and Pipelines authentication guide.

Moved GCP-specific upgrade instructions into a new doc in the new section: https://deploy-preview-1494--competent-brattain-de2d6d.netlify.com/docs/gke/pipelines/upgrade/

Removed GCP-specific content and clarified remaining content in the generic pipelines upgrade guide: https://deploy-preview-1494--competent-brattain-de2d6d.netlify.com/docs/pipelines/upgrade/

Fixes https://github.com/kubeflow/website/issues/1449

This change is

This PR is now ready for review. I'm applying a hold to allow for multiple reviewers.
/hold
/assign @Bobgy
/assign @joeliedtke
@Bobgy  and @joeliedtke Please would you review this PR. See the first comment in the PR for a description of what the PR does and for preview links. The goal is to clarify the Pipelines upgrade instructions and to move the GCP-specific upgrade instructions into the GCP section of the docs.

/hold cancel
Thanks @Bobgy and @joeliedtke. This PR is now ready for LGTM and approval.

/lgtm
/approve


[stable/unbound] Add support for externalIP, stubZones and localZones properties

What this PR does / why we need it:
This PR adds support for the following properties:

externalIP: allow to define an externalIP on the service
stubZones: allow to define multiple stub-zone statements in the unbound configuration
localZones: allow to define multiple local-zone statements in the unbound configuration

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md

/ok-to-test
/assign

@NaPs please sign the DCO

Done! Sorry, I missed the notification.

/lgtm


report: make project summary table sortable

The new project summary table uses the sortable-table class but the current javascript logic only behaves well in the context of a single sortable-table. Since we now have two sortable-tables we need to adjust the javascript logic to handle this. The primary way of resolving this is making sure the sorting logic gets a hold of the right table as opposed to considering all th values as part of the same table.

/gcbrun exp -n dk-53121 -m vertex_ai_gemini-1-5 -b comparison

Report from before the previous nit commit: https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-08-16-537-dk-53121-comparison/index.html

/gcbrun exp -n dk-5312121 -m vertex_ai_gemini-1-5 -i -b comparison

The latest one using local FI works: https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-08-16-537-dk-5312121-comparison/index.html


Make JSONResponse be a middleware handler.

I don't love this API, but it gets us there quickly. Feel free to reject, and I'll rewrite.

solved with
https://github.com/mikehelmick/go-chaff/commit/b27a853569c4e4a74b9fd675ebf053b53b952240


check primary manager name on inventory_hostname

the ansible_nodename is the hostname of the host. The hostname must
not match the inventory name and the condtional could therefore never be
true.

There seems to be currently an issue with centos8 builds.

There seems to be currently an issue with centos8 builds.


Encountering Error When Running AutoTimes_M4.sh

When I run sh scripts/time_series_forecasting/short_term/AutoTimes_M4.sh, I encounter the following error. How can I resolve this?

Traceback (most recent call last):
File "/data/work/TimeLLM/AutoTimes/run.py", line 124, in
exp.train(setting)
File "/data/work/TimeLLM/AutoTimes/exp/exp_short_term_forecasting.py", line 60, in train
train_data, train_loader = self._get_data(flag='train')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/work/TimeLLM/AutoTimes/exp/exp_short_term_forecasting.py", line 34, in _get_data
data_set, data_loader = data_provider(self.args, flag)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/work/TimeLLM/AutoTimes/data_provider/data_factory.py", line 32, in data_provider
data_set = Data(
^^^^^
File "/data/work/TimeLLM/AutoTimes/data_provider/data_loader.py", line 247, in init
self.read_data()
File "/data/work/TimeLLM/AutoTimes/data_provider/data_loader.py", line 255, in read_data
training_values = np.array(
^^^^^^^^^
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (414,) + inhomogeneous part.

We implemented our repository based on time-series-library. You can refer to this to solve this problem.


NaN or Inf in 'Albedo' at step II. Joint Optimization

Hi,
Great work. I am training your model on my own dataset in real-data format. However, it always reports the following error message when processing step II. Joint Optimization in Training, Validation, and Testing. Could you provide me some insight about what configuration/data format might be wrong?
Error message
Exception has occurred: InvalidArgumentError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
2 root error(s) found.
  (0) Invalid argument:  Not a number (NaN) or infinity (Inf) values detected in gradient. b'Albedo' : Tensor had NaN values
	 [[{{node cond/else/_1/StatefulPartitionedCall/gradient_tape/model/CheckNumerics_2}}]]
	 [[cond/else/_1/StatefulPartitionedCall/replica_1/model/assert_greater_3/Assert/AssertGuard/branch_executed/_57539/_6203]]
  (1) Invalid argument:  Not a number (NaN) or infinity (Inf) values detected in gradient. b'Albedo' : Tensor had NaN values
	 [[{{node cond/else/_1/StatefulPartitionedCall/gradient_tape/model/CheckNumerics_2}}]]
0 successful operations.
3 derived errors ignored. [Op:__inference_fn_with_cond_190304]

Function call stack:
fn_with_cond -> fn_with_cond
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/execute.py", line 60, in quick_execute
    inputs, attrs, num_outputs)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 598, in call
    ctx=ctx)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1746, in _call_flat
    ctx, args, cancellation_manager=cancellation_manager))
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 1665, in _filtered_call
    self.captured_inputs)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/function.py", line 2420, in __call__
    return graph_function._filtered_call(args, kwargs)  # pylint: disable=protected-access
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 708, in _call
    return function_lib.defun(fn_with_cond)(*canon_args, **canon_kwds)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/tensorflow/python/eager/def_function.py", line 580, in __call__
    result = self._call(*args, **kwds)
  File "/home/admin/FaceReal/nerfactor/nerfactor/trainvali.py", line 181, in main
    strategy, model, batch, optimizer, global_bs_train)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/home/admin/FaceReal/nerfactor/nerfactor/trainvali.py", line 341, in <module>
    app.run(main)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/admin/anaconda3/envs/nerfactor/lib/python3.6/runpy.py", line 193, in _run_module_as_main (Current frame)
    "__main__", mod_spec)

My dataset directory looks like
root
│   transforms_test.json
│   transforms_train.json
│   transforms_val.json
│
├───test_000
│       metadata.json
│       nn.png
│       rgba.png
│
├───train_000
│       albedo.png
│       metadata.json
│       rgba.png
│
├───train_001
│       metadata.json
│       rgba.png
│
├───train_002
│       metadata.json
│       rgba.png
│
├───train_003
│       metadata.json
│       rgba.png
│
├───train_004
│       metadata.json
│       rgba.png
│
├───train_005
│       metadata.json
│       rgba.png
│
├───train_006
│       metadata.json
│       rgba.png
│
├───train_007
│       metadata.json
│       rgba.png
│
├───train_008
│       metadata.json
│       rgba.png
│
├───train_009
│       metadata.json
│       rgba.png
│
└───val_000
        metadata.json
        rgba.png

Sorry for the delayed response. Have you solved the problem? This issue seems to be related to specific values in your data. Please feel free to reopen this if you need further help.

@CorneliusHsiao I also have the same problems as you. Could you solve it.