Refinement rules for composite types

Pick one: 🧊 📦 🎁

I doubt anyone would actually use these... but it's cool to be complete!

This looks promising but I think we should not call that thing Monoid, since it has more data than a monoid does.

This looks promising but I think we should not call that thing Monoid, since it has more data than a monoid does.

Well, I do not have a better name for this. I think the type of Monad polymorphic seq (in previous iteration) are equivalent to the type of all monoids by parametricity (-ish), but the ones with a fixed type key I have no ideas.

Well, we can pick literally any name except Monoid. It is ad hoc, which is OK.

It probably makes sense to not put it in the Basis, because it is only superficially a general-purpose notion.

Okay. Just to clarify, would you be okay with putting Monoid under CoolBasis if seq were polymorphic?

(Actually, let me postpone the movement and wait until I see the algorithm in your mind.)

So, let me break away from the discussion of the specific, and say that I feel all this stuff is huge overkill. Let me just give you my pseudocode and you can decide the best way to achieve it.
let cool_quote_con tp con =
  let* phis = unreduced_cofibrations in
  (* this is the of leaf nodes for the inversion search;
     it would be the singleton [top] if there is no unreduced cofibration *)

  let* tbranches =
    phis |> MU.map @@ fun phi ->
    let* tphi = quote_cof phi
    bind_var ~abort:S.CofAbort (D.TpPrf phi) @@ fun prf ->
    let+ tm = uncool_quote_con tp con
    tphi, tm

  let* ttp = quote_tp tp in (* maybe we will need to have `cool_quote_tp` too *)

  ret @@ S.CofSplit (ttp, tbranches)

(* TODO: optimize to not produce a split in the case of [top] *)

The above is literally my whole proposal. Does it make sense, or is something missing?

@favonia To answer your question about monoid and polymorphism, yes that matches my feelings --- if it were polymorphic,  then it would be (up to some laws) just a very Cool version of a monoid.

CJHM + CCHM

@jonsterling I chased down the code and found the "problem" (if we think this is bad): T.Chk.syn. It quotes a dim variable. Fixing it is easy, but someone should make a wish. There are at least these solutions:

Drop unreduced joins when quoting a variable.
Special treatment when quoting a dim/cof.
Deal with split dims/cofs!

Remaining refactoring:

[ ] Expose S.dump_tp
[ ] Hide the splitter from the Quote interface. Instead, expose interfaces that take additional phis.
[ ] Revamp CofEnv and examine all usages of the API

@jonsterling I chased down the code and found the "problem" (if we think this is bad): T.Chk.syn. It quotes a dim variable. Fixing this particular tactic is easy, but someone should make a wish. There are at least these solutions:
1. Dropping unreduced joins when quoting a variable.

2. Special treatment when quoting a dim/cof.

3. Dealing with split dims/cofs by having splits everywhere!

The next problematic function is QTB.lam. The body might need to be split when the domain is [some join]. We need to have the type of the body as well.

I think we are very closed...
test/hcom-type.cooltt seems to be generating errors? @jonsterling

@jonsterling @cangiuli The failure during quotation does not seem to propagate to the outermost layer. The exit code is still 0 despite the errors in test/hcom-type.cooltt.

@favonia I am notseeing any errors in hcom-type.cooltt; what's the problem?

Oh, I do see it if I run from the commandline.

@favonia I am notseeing any errors in hcom-type.cooltt; what's the problem?

That's why I'm tagging Carlo. :cq your vim and run it in the command line.

Everyone's their own genie!

I think you should generalize this and apply it to all the branch-like constructors (that is something we can refactor further).

@jonsterling @cangiuli
Let me summarize the situation:

It seems beneficial to keep two monads. The one with unreduced joins for normal quoting, and the one without unreduced joins for equality checking. The issue described in #128 is no longer a concern with untyped splitting.
The main benefit of eager splitting seems to be fast hcom checking. However, I think this could be achieved by another upgrade of CofEnv (see below).
The main drawback of eager splitting as implemented in this PR is that the types of the goals are split "correctly" but will confuse users.
This PR has many bug fixes and improvements that should be recycled even if we abandon it.

My proposal:

Use only (unsplit) QuM in Quote, sacrificing the current speedup but immediate restoring usability.
Merge this PR after Step 1.
Have another PR to improve CofEnv so that it will automatically prune and reduce joins. This does not involve any API changes.
After Step 3, extend CofEnv with a new set of API to do "shallow" splitting as needed in D.TpSplit and D.Split, V types, etc. to reduce duplicate code and apply full optimizations in all cases. The shallow splitting API should apply at least these two optimizations: (1) if a branch is always true, then use it directly, otherwise (2) if a branch can never be triggered (as in pattern matching) after the branches before it, then drop it.

@favonia This is mostly correct, but I need to add that the problem with the eager splitting may not be totally limited to the user experience. One "dark secret" is that the refinement is currently sub-equational, because while x => M might succeed on a goal like (x : A) -> [phi => B | psi | C], it would not succeed on the definitionally equivalent goal [phi => (x : A) -> B | psi => (x : A) -> C]. But to turn the latter into the former is a unification problem that we do not currently know how to solve in general. So the eager splitting causes information loss.

@favonia @cangiuli I unofficially approve this PR for merge. GitHub won't let me officially approve it, because I'm the one who opened it LOL

@jonsterling Okay. You can overwrite the CI checking, right?


Submit button on in progress screen invisible on light mode

The same issue that plagued the multiple multiplication tables menu (#5) is also present on the submit button of the in progress screen. This is also seen on the promotional screenshots on google play.
Implementation
Remove the color setting on the button and it should work.

Fixed in #16


pull certificates from CA store on Windows, additionally to current Root system certificate store added with #889

#889 added support for pulling SSL certificates from the Root Windows certificate store. Turns out one actually needs both the Root and CA stores, so this adds the latter

Thanks for the PR.  I can go through the code in the next couple of days but I don't have a Windows machine to verify that the logic works.

No worries. It's quite tricky to test. But I did it at work and it did
solve the SSL cert verification I was having. And there are no other
relevant cert stores on WIndows. So this should be it.
Thank you
Il giorno lun 13 nov 2023 alle ore 23:53 Michael Grunder <
@.***> ha scritto:

Thanks for the PR. I can go through the code in the next couple of days
but I don't have a Windows machine to verify that the logic works.
—
Reply to this email directly, view it on GitHub
https://github.com/redis/hiredis/pull/1235#issuecomment-1809317632, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ4PGDU3QVVVSCW2VTLI6DYEKXHFAVCNFSM6AAAAAA7BBHQOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZGMYTONRTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fix counting of users (again)

fixes #913
reapplied missed changes from https://github.com/OpenSlides/openslides-client/pull/976

tested with a local productive instance, which worked


Make examples work w/o local tiler setup

Problems:

Some examples are setup to work with a local user/vis
Some examples are setup to work with staging user/vis
Examples are assuming dev env to work (using the uncompressed bundle)
Examples only work after a local clone and grunt dev run

The requirements for examples for end-users are not the same for development user, I think we should reconsider how they are setup

I think the two reasons why this examples are still not stable are:

We're using a custom viz.json format (the Editor is not able to serve it yet).
Examples depend on some features of Windshaft-CartoDB and Windshaft that are not stable and available in production yet.

https://github.com/CartoDB/deep-insights.js/commit/c0c319479c2b889c2d913526035cc5c4527b0abd An example that's relying on a specific setup, so even if providing a "local config" one needs to have the same vis setup for the example to work as expected.

I think this should be solved once #80 is done, so closing
cc @javisantana


Rings integration tests: update, delete

As a:
spk tester
I want:
smoke tests for updating and deleting rings
So that:
i have have tested work flows
Acceptance Criteria:

[ ] Create a branch for the ring, make a change, and verify the image tag. Blocked by: Azure Pipelines path triggers cannot begin with "."
[ ] Integration tests where rings are removed (verify in HLD and manifest repo)

This is blocked as we currently do not have an automated mechanism to remove a ring or service through reconcile. That work will be done here: https://github.com/microsoft/bedrock/issues/858

Related to #838
Additional context:
Covering the flow in this epic: https://github.com/microsoft/bedrock/issues/955
Does this require updates to documentation?:
Yes

@edaena are we still blocked here?

This task may still be blocked as we do not have the logic to remove rings from the hld:
https://github.com/microsoft/bedrock/issues/1118
parent epic: https://github.com/microsoft/bedrock/issues/858


Flac and HiFi Support

hi,
this works only with mp3 files while most of my library is flac (some CD ripped and some Vinyl ripped)
would be great if this could work with this format as well

This is a great idea.
Unfortunately, I've noticed that web browsers put some limits on the size of files. Or it seems that seeking in big files becomes problematic (that's why I added ffmpeg support to shrink file sizes). I haven't tried this in awhile, so maybe browsers have improved. I'll look into it.


Remove MIME type for Batch

Proposed changes
Our ASR API never requires a MIME type unless you are making a fetch request with a JSON body, in which case it must be application/json.
Context
NA
Possible Implementation
NA
Other information
NA

Implemented in this PR https://github.com/deepgram-devs/deepgram-go-sdk/pull/103. Merged. Closing.


feat: conditionaly import ArrayTrait in system

It's very well possible to write a #[system] that does not "visibly" use an Array but does e.g. commands::set_entity. When that gets expanded, it creates a let mut calldata = ArrayTrait::new() and later on does calldata.span(). If the system does not do use array::ArrayTrait, we get an error:
error: Plugin diagnostic: Method `span` not found on type "core::array::Array::<core::felt252>". Did you import the correct trait and impl?
 --> ERC20Mint:46:128
                        IWorldDispatcher { contract_address: world_address }.set_entity('Supply', token.into(), 0_u8, calldata.span());
                                                                                ^**^

It would be great if the plugin could detect if the ArrayTrait is already present and if not, import it in the generated code.

I think we should rather fully quality it like array::ArrayTrait::new()

I don't think that will help with the span not found error, since that's coming from ArrayTrait.

ah yes sorry i didn't read your original issue closely

i chatted with shahar and he mentioned we can do array::ArrayTrait::span(@a)


General function to convert from np.array dask dataset to cupy dask dataset

I'm building a module where the user can choose if their arrays run on CPU or GPU using dask. This is done by running dask.config.set({"array.backend": "cupy"}). Additionally, if the backend is set to cupy I want to convert the xarray dataset arrays to cupy as well using cupy_xarray.
In my project the cupy and cupy-xarray packages are optional.
Therefore if cupy and cupy-xarray are not installed and the user sets the backend to numpy the following code will fail.
import cupy_xarray # This will fail if cupy_xarray is not found
import dask
import xarray

def xarray_dataset_as_cupy(dataset: xarray.Dataset = None):
    if dask.config.get("array.backend") == "cupy" and dataset is not None:
        return dataset.as_cupy() # If cupy_xarray is not imported then as_cupy() function will fail
    else:
        return dataset

I guess I can use a try except in order to import cupy_xarray. However if I do that the as_cupy() function will fail as well because it will not be registered.

Any ideas on how to solve this?

I would do something like this.
import dask
import xarray

try:
    import cupy_xarray
except ImportError:
    cupy_xarray = None

def xarray_dataset_as_cupy(dataset: xarray.Dataset = None):
    if cupy_xarray and dask.config.get("array.backend") == "cupy" and dataset is not None:
        return dataset.as_cupy()
    else:
        return dataset

Awesome, thanks :)


Add up axis to TileLoadResult

This is part of the refactor series #481. This addresses the PR comment https://github.com/CesiumGS/cesium-native/pull/508#discussion_r947569181 by adding up axis to TileLoadResult structure.
This also creates helper methods TileLoadResult::createFailedResult() and TileLoadResult::createRetryLaterResult() to create results with Failed and RetryLater states

Thanks @baothientran!


[Do not merge] Add WiFi Preferences support

Needs a new uno-r4-wifi-usb-bridge  release

Need to add examples inside ci


Feature request: Select all column cells when clicking header

Clicking the column header will trigger a sort of the column which means it's quite difficult to select all cells in the column unless you know the keyboard commands.
Would it be appropriate to change the behavior to select the cells for the column if clicking the white space around the text, and sorting when clicking the text in the column header? Also tri-state sorting would be nice (ascending, descending and no sorting)? I'm used to work with Handsontable (https://handsontable.com/demo) and think they have a couple of good ideas implemented in their grid.

My intention is not to make a "super datagrid" but just to offer developers the possibility to implement without too much effort a datagrid control with filterable columns.

I get it. One can only dream! ;) Thanks anyway.


RC releases zip files should be named accordingly

Description of bug
During release packaging GitVersion is used to set the zip files names. Currently RC releases are named as the official releases. We currently download the zip files and manually rename them when publishing RCs. It would be easy to use SemVer instead of MajorMinorPatch returned from GitVersion for the zip file name in order to save that manual step and ensure we have a unique file name for each RC release without manual intervention.

Fxied by #3285


Expanded the installation/JDBC page to include more definitive inform…

Expanded the installation/JDBC page to include more definitive information.
@mosabua  As per guidance, wording has been substantially changed from source material.

I will check in with @m57lyra to update before any further review is needed.

Closed - making corrections and will resubmit.


DEL-1250 handle long query string

see https://kentico.atlassian.net/browse/DEL-1250

it's fine by me. i think we can merge the changes...any objections @huluvu21 ?

I've copypasted the hard limit from https://msdn.microsoft.com/en-us/library/z6c2z492(v=vs.110).aspx and we are throwing UriFormatException with more descriptive message just for long URLs


Add perf limitation

I made restrictions for all methods except string methods ljust and lower, @densmirn  where can I provide documentation for them?

I made restrictions for all methods except string methods ljust and lower, @densmirn where can I provide documentation for them?

https://github.com/IntelPython/sdc/pull/639
https://github.com/IntelPython/sdc/pull/700


[google_sign_in] Add ability to return serverAuthCode

Description
Supports SERVER_CLIENT_ID(iOS) and default_web_client_id(Android) parameter so that serverAuthCode can be returned.
Related Issues
https://github.com/flutter/flutter/issues/16613
https://github.com/flutter/plugins/pull/879
https://github.com/flutter/plugins/pull/1704
https://github.com/flutter/plugins/pull/1475
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@google-admin I signed it!

@googlebot I signed it!

once this is available, we can pass in custom serverClientId ?

@cyanglaz
I modified them. please review :)

conflicted many file 😢

This is a must have feature. Wish you could fix the conflicts and release this version soon.

@cyanglaz @ditman
I want to merge this pr, because I use this function in current developing flutter app.
but I don't know how to fix a failed test. It seems to depend on the interface.
please tell me how to pass the test or fix advice.

It seems to depend on the interface. please tell me how to pass the test.

@yamarkz indeed, it does. In order for this change to be merged correctly, you need to create a PR with only the changes in the google_sign_in_platform_interface package, get that merged and published, and then create another PR with the changes in the plugin package.
(When our tool builds the google_sign_in package, it downloads the one from pub.dev, not the one in this PR, so that's why it's "missing" dependencies.)
Sorry for the inconvenience!

There's already a couple of tokens provided by the plugin.
What's the difference between serverAuthCode and idToken or accessToken from the GoogleSignInTokenData class?

There's already a couple of tokens provided by the plugin.
What's the difference between serverAuthCode and idToken or accessToken from the GoogleSignInTokenData class?

Ah, this seems to be for offline access after authentication (?)
Would it make sense to add a new authentication flow (similar to this), or at least a parameter to the signIn() method to grantOfflineAccess or similar?
@yamarkz Is this PR causing all apps to request offline access permissions?

Thank you for reply. :)
I understood that approach. I will change interface and create pull request. please give review.

Yes. These are the data (idToken / accessToken / serverAuthCode) that can be obtained by offline access after authentication.
I think implementing the grantOfflineAccess method is one way.
GoogleSignInAuthentication class has already been implemented. And I could get the serverAuthCode from ios and android platform channel.
So I didn't implement about grantOfflineAccess method because I thought it was better to follow the existing implementation (GoogleSignInAuthentication class).
Also, my developing app met the expected behavior with this implementation.
What do you think? @ditman

OK, for web to support this we need to see if the user passed a serverClientId or not and call signIn or grantOfflineAccess (the flows are different in web).
It seems this'd be enough for now.

I overlooked Flutter for web support in this pr.
as you say, I think it will be a different flow from native apps.

Any news about this issue?

(Ping @cyanglaz)

Well i need this feature ASAP

I'm still monitoring this issue guys. Please make this work.

Any workaround ?

Any news on this PR ?

Can you please approve and merge this and release a pub even i want the exact same functionality for my app.
I tried cloning the repository but it is giving me error in types.dart file for servercode

When I tried using this in my project, serverAuthCode was always null, despite properly setting my server client ID. There was some code missing for it to work, I fixed it in this commit : https://github.com/alexandreblin/plugins/commit/01a36d41c7273d49171cfee22aafb9986da66111

When I tried using this in my project, serverAuthCode was always null, despite properly setting my server client ID. There was some code missing for it to work, I fixed it in this commit : alexandreblin@01a36d4

Even i was getting null will check yours and let you know.

@google-admin, when this is going to be merged ?

Please review. @ditman, @cyanglaz, @mehmetf

I've modified review point. @cyanglaz

hello, any update when this will get merged?


Release v0.6

/kind feature
Describe the solution you'd like
Release v0.6 along with KF 0.6
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

From my perspective, a release would be a good idea because currently the fairing version in the default notebook images is relatively old so not all the samples work out of box.

#412 released 0.7.0 of fairing. Along with that we have all the code and tests and test cluster updated.


abstract.Info.State should be interface{}

Some other domain types might want to have a different state. This issue can be deferred until such a use case comes up.

I think its valid

actually I think having a map as a struct allows us to use it whatever way we want. :+1:


Added unit test for parodus git version and modified all strcpy to st…

…rncpy

Codecov Report

Merging #119 into master will increase coverage by 0.01%.
The diff coverage is 99.12%.

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


Getting error in Makefile...

Hi,
was trying to follow the TonyML book, but my make calls do not work, it need some header file that is not in the repo.
Folowwing is the error
make -f tensorflow/lite/micro/tools/make/Makefile hello_world                                                                            2 ✘  base 
find: ../google/: No such file or directory
tensorflow/lite/micro/tools/make/downloads/flatbuffers already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/pigweed already exists, skipping the download.
tensorflow/lite/micro/tools/make/downloads/person_model_int8 already exists, skipping the download.
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -Werror -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -DTF_LITE_DISABLE_X86_NEON -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter -DOSX -DTF_LITE_USE_CTIME -Os -I. -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -c tensorflow/lite//micro/sparkfun_edge/system_setup.cc -o tensorflow/lite/micro/tools/make/gen/osx_x86_64_default/obj/core/tensorflow/lite//micro/sparkfun_edge/system_setup.o
tensorflow/lite//micro/sparkfun_edge/system_setup.cc:22:10: fatal error: 'am_bsp.h' file not found
#include "am_bsp.h"         // NOLINT
         ^~~~~~~~~~
1 error generated.

Just to point out, @petewarden need to update the minified links(in the book) from the O'Reilly's side...

This target is covered by our CI, which is currently green. I would guess some issue in you setup.
Can you try the following:
make -f  tensorflow/lite/micro/tools/make/Makefile clean clean_downloads
make -f  tensorflow/lite/micro/tools/make/Makefile third_party_downloads TARGET=sparkfun_edge
make -f  tensorflow/lite/micro/tools/make/Makefile hello_world TARGET=sparkfun_edge

A related issue might be https://github.com/tensorflow/tflite-micro/issues/199

It was much better now, but still getting an error on last command. I am on Mac, if that helps

Ohh understood... at least wee keep registered here if anyone happens to have the same problem...
Thanks for the help.


Replay bug

When clicking on replay on browser (latest Google chrome), The talent and object of my actual pokemon is not correct. In my case, its vivillon's talent and object, my first pokemon.

The bug does not happen in uploaded replay :
https://replay.pokemonshowdown.com/gen7nu-891046685

Oh, I know what's causing this. Thanks for the report!

Oh, I know what's causing this. Thanks for the report!

Care to share? :)

It's unfortunately been too long and I've forgotten. :(

Oh, I have a guess. This might be what happens if you still have a myPokemon array while playing back history.

Like, if you're in the middle of a battle, you have a myPokemon array containing team data for your team, used to fill out the Switch menu. The first Pokémon (or first two, in Doubles) in the array are your currently active Pokémon.
But if you have this array still available while your replay is playing a turn far earlier than the current turn, the mouseover will pull myPokemon data from the current turn and combine it with battle data from the visible turn, leading to this.

If this issue still needs resolving, can you assign it to me please?


CircularProgress does not have 'thickness' property

The CircularProgress.d.ts file does not have 'thickness' property.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Your Environment

Tech
Version

Material-UI
1.0.0-beta.18

React
15.6.1

browser
Chrome 61.0.3163.100

@Bruce-li-92 Good catch. Do you want to add it? :)

Yeah/ I have add it in my file.

I mean, submitting a pull request here?


JBoss/Wildfly JMX Integration

What does this PR do?
Adds configuration to fetch jmx metrics from Jboss/Wildfly
Review checklist

[x] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[x] Git history is clean
[ ] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo
[ ] If PR adds a configuration option, it has been added to the configuration file.

Additional Notes
Anything else we should know when reviewing?
Hoping to give y'all a starting point and let your team finish it out.  Anything else I should do before handing over?

Continued to work here: https://github.com/DataDog/integrations-core/pull/3320

@therve you can close this PR then if you like.  Thanks for taking over!


Upgrade ONNX runtime

Is it possible to upgrade the ONNX runtime dependency to the latest? The old version has some bugs (e.g. doesn't work on aws lambda arm64)

same issue encountered while installing on a m1 device.
To install, I upgraded the version in setup.py and to run it, I had to remove the parameter activation_type in quantize_dynamic().
        quantize_dynamic(
            model_input=model_name,
            model_output=output_model_name,
            per_channel=True,
            reduce_range=True, # should be the same as per_channel
            # activation_type=QuantType.QUInt8,
            weight_type=QuantType.QInt8,  # per docs, signed is faster on most CPUs
            optimize_model=False,
        )  # op_types_to_quantize=['MatMul', 'Relu', 'Add', 'Mul' ],


[New Addon] Provide a new addon to enable access to host services from pods

The host-ip addon enables access from pods to local host services from a specific local ip, defined when enabling the addon.
Related with #351
Examples of usage:

adds <IP_ADDRESS> by default
microk8s.enable host-ip
user defined
microk8s.enable host-ip:<IP_ADDRESS>
validating wrong ip when defined by user
microk8s.enable host-ip:A.B.C.D Bad IP[A.B.C.D]. Please provide a valid IP address. Default is <IP_ADDRESS>
disable addon
microk8s.disable host-ip

A screenshot from when testing it locally:

Thank you @iskitsas for the PR.
@knkski with this addon if you have a service running on the host you can assume it is listening on the designated port. We were talking about this some weeks ago. Also note this is for a single node.


⚠ Bofrost.be has degraded performance

In 0530dc5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2598 ms

Resolved: Bofrost.be performance has improved in 30d06c6.


GEODE-7545: Remove dependency on AltertingAction from membership

The only place where JGroupsMessenger called AlertingAction was when
sending a message. The only message that could be sent while that thread
local is true is AlertListenerMessage.
Setting isHighPriority to true on AlertListenerMessage instead.
JGroupsMessenger is the only place that flag is checked, so this should
have the same effect as testing the thread local.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

The only distributed test failure I see is an instance of GEODE-7617, which is a known flaky test, and not related to this PR.


Rotating RB Image Doesn't Save in Permalink or Backend

Issue Summary: If a user uploads a photo and rotates it, the permalink and back end do not reflect the rotation.

Browser/Operating System: Firefox 38 / Windows 8, OS X Mountain Lion / Chrome 43 (Seems to happen across browsers.)

@sbsmith86 mind taking a look at this one when you have a sec?
@namimody do we know when this started happening?

looking now

@mikefantini it was reported on June 2 by TSG - it could have been happening before that but I don't have any evidence.

@mikefantini @namimody This seems to be an issue with PHP 5.5 compatibility with the GD image library/drupal image API that we are using to do the rotation. I think we upgraded to 5.5 recently, during the migration? Anyway, there is a fix for it that's got it working on my dev. I will get it merged in now.


How we can provide GridLine in Drawer JS library!

How we can provide GridLine over in Drawer JS library!
I am trying to provide the GridLine (vertical & horizontal lines) feature over canvas  while initializing the Drawer JS, but not found any solution.
Can someone please suggest is there have any functionality to provide the GridLines using Drawer JS ?

Hi,did you find a solution yet? I'm also want to provide the GridLine

Hi,did you find a solution yet? I'm also want to provide the GridLine

just download a gridline image then just add it on the fixedbackgroundUrl like this
pluginsConfig: {
BackgroundImage: {
scaleDownLargeImage: true,
maxImageSizeKb: 1024, //1MB
fixedBackgroundUrl: '../../assets/media/icons/assets/iso.png',
imagePosition: 'stretch',  // one of  'center', 'stretch', 'top-left', 'top-right', 'bottom-left', 'bottom-right'
acceptedMIMETypes: ['image/jpeg', 'image/png', 'image/gif'] ,
dynamicRepositionImage: true,
dynamicRepositionImageThrottle: 100
}
}


[Python][Docs] Mention Arrow->JAX conversion via dlpack in the examples

Describe the enhancement requested
JAX is a popular numeric computing library. People googling for how to convert pyarrow arrays to JAX arrays might not infer by themselves that it can be done via the dlpack protocol.
Component(s)
Python

Issue resolved by pull request 44230
https://github.com/apache/arrow/pull/44230


Enhancement: Keep packages sorted in composer.json

This PR

[x] keeps packages sorted in composer.json

Thanks 🙂

Thank you, @iluuu1994!


Updating foundry decreased pseudo-randomness?

Component
Forge
Have you ensured that all of these are up to date?

[x] Foundry
[x] Foundryup

What version of Foundry are you on?
forge 0.2.0 (4fcd7e0 2022-05-27T00:04:39.67082Z)
What command(s) is the bug in?
forge test --gas-report -vvv
Operating System
macOS (Apple Silicon)
Describe the bug
I used to be on fairly old version of foundry (probably at least a month old) and updated it yesterday - this caused a couple tests to fail.
I have this function which essentially takes a uint256 dna and replaces 14 bits of it with pseudo-random bits at a specific 'slot'. Essentially every 14 bits of the dna is associated with a certain 'trait' (a 'slot') and this function rerolls that certain slot.
    function rerollTrait(uint256 tokenId, uint256 traitBitShiftMultiplier)
        external
    {
        uint256 currDna = dna[tokenId];

        unchecked {
            uint256 newTraitDna = (uint256(
                keccak256(
                    abi.encodePacked(
                        msg.sender,
                        block.difficulty,
                        block.timestamp,
                        _seed++,
                        tokenId
                    )
                )
            ) % 10000) << (14 * traitBitShiftMultiplier);

            uint256 newBitMask = ~(BIT_MASK << (14 * traitBitShiftMultiplier));

            currDna &= newBitMask;
            currDna |= newTraitDna;
        }

        dna[tokenId] = currDna;
    }

This function splits the dna into its slots and returns an array of the traits that correspond to the dna.
    function getTraitIndexes(uint256 dna)
        external
        view
        returns (uint256[NUM_TRAITS] memory traitIndexes)
    {
        // splits the dna into 14 bit slots
        uint256[NUM_TRAITS] memory traitDnas = splitDna(dna);

        for (uint256 i = 0; i < NUM_TRAITS; i++) {
            // from the 14 bit slots, grab the trait it refers to
            uint256 traitIndex = getTraitIndex(traitDnas[i], i);
            traitIndexes[i] = traitIndex;
        }
    }

This is my test
    function testRerollTrait() public {
        // mint a few tokens first

        uint256 tokenid = 0;
        uint256 traitBitshift = 2;

        uint256[9] memory oldDnaIndexes = contract.getTraitIndexes(
            contract.dna(tokenid)
        );

        contract.rerollTrait(tokenid, traitBitshift);

        // dna should be different after we rolled traits
        uint256[9] memory newDnaIndexes = contract.getTraitIndexes(
            contract.dna(tokenid)
        );

        assertEq(oldDnaIndexes[0], newDnaIndexes[0]);
        assertEq(oldDnaIndexes[1], newDnaIndexes[1]);
        require(oldDnaIndexes[2] != newDnaIndexes[2]); // make sure proper slot got rerolled, THIS FAILS IN TEST
        assertEq(oldDnaIndexes[3], newDnaIndexes[3]);
        assertEq(oldDnaIndexes[4], newDnaIndexes[4]);
        assertEq(oldDnaIndexes[5], newDnaIndexes[5]);
        assertEq(oldDnaIndexes[6], newDnaIndexes[6]);
        assertEq(oldDnaIndexes[7], newDnaIndexes[7]);
        assertEq(oldDnaIndexes[8], newDnaIndexes[8]);
    }

When running this test, oldDnaIndexes should return something like [1,2,0,0,5,6,7,2] and  newDnaIndexes should return  [1,2,3,0,5,6,7,2] where the 3rd index shouldve changed.
This test passed on the older version of foundry I was running but when I updated it, it failed (both arrays returned are the exact same). I rewrote the test in hardhat and it passes, so the discrepancy was confusing.
It turns out, if I vm.warp() to random large timestamps before I rerollTrait(), the test begins passing. This is strange since _seed used in keccak256() is incremented every time a trait is rerolled (or a mint happens) and this should add enough entropy for the hash to be completely different (it works in hardhat). However, now, the newest version of foundry doesnt behave the same unless I add more randomness via vm.warp()
Not sure exactly what changed or if this is expected behavior?
Thanks :)

I don't think the pseudo-randomness was decreased, but block.difficulty (I think), block.timestamp and block.number now default to 1 instead of 0, which may be the reason it fails?

Quite possibly, but it is strange though since _seed is constantly incremented... keccack256() should still be quite different with that small change
vm.warp() makes my test pass though, so Ill close the issue. Just found it quite strange


10.6.7 Random Beach Balls After Working A While

Apple Feedback Assistant ID: FB12759754
Describe the bug
I think I've see others mentioning this 10.6.7 bug. But I'll add it to the pile... In general I haven't had issues with 10.6.7 - except that after a random amount of time I do an action (doesn't seem to be consistent) and I get a super long beach ball. After that any action starts another beach ball. So I have to quit FCP, which takes longer than normal. After restarting FCP everything is back to normal... for a while till it does it again. Definitely annoying. It's happened across a number of different Libraries.
To Reproduce
Steps to reproduce the behavior:

Open a Library
Start working
Work for a while
Beach balls start

Expected behavior
Working without project stopping beach balls.
Desktop (please complete the following information):

OS: Ventura 13.4.1 ©
Browser Safari
Version 16.5.2

Additional context
Add any other context about the problem here.

When it's in that state, I recommend taking a spindump and posting that file here. Chris or I can look at it and in some cases we can deduce something. If not, at least a record of those may help assemble a pattern that later proves useful. To take a spindump, run Activity Monitor, select the non-responding FCP process (it will usually be in red text), do View>Run Spindump. When it's finished, in the upper-right corner click "Save". Typical size: about 7MB, if ZIP'd, about 500KB.
Make sure it's in the hung or beachball state when the spindump is taken.


fastzbarlight build failed on MacOSX 10.11.6

Hi,
I'm here to report a potential bug. When I use pip install -e . to install universe on my mac, it doesn't work when the package fastzbarlight tried to compile it's own zbar source. There are actually not much to tell in the error message, it simply says
Could not build fastzbarlight: Command '['./configure', '--disable-dependency-tracking', '--without-python', '--without-qt', '--disable-video', '--without-gtk', '--without-imagemagick', '--with-x=no', 'CFLAGS=-Wall -Wno-parentheses -D_FORTIFY_SOURCE=0 -O3 -fPIC']' returned non-zero exit status 1.

So I ended up pulling fastzbarlight's source, install zbar from homebrew, disabled Build class in the setup.py, changing include and lib folder to homebrew's zbar build.
I hope this will help people who runs into the similar situation.

Thanks! Do you know what the underlying error message was? It's usually somewhere in the backscroll.

I'm not sure I can identify them or reproduce it anymore, but here is the complete message when universe tried to install fastzbarlight, I'm installing universe with Anaconda by the way.
Running setup.py install for fastzbarlight ... error
    Complete output from command /Users/dgyHome/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-b0VbT1-record/install-record.txt --single-version-externally-managed --compile:
    /Users/dgyHome/anaconda/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'
      warnings.warn(msg)
    running install
    running build
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... config/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking build system type... i386-apple-darwin15.6.0
    checking host system type... i386-apple-darwin15.6.0
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... none
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /opt/local/bin/ld
    checking if the linker (/opt/local/bin/ld) is GNU ld... no
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 196608
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /opt/local/bin/ld option to reload object files... -r
    checking for objdump... no
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dsymutil... dsymutil
    checking for nmedit... nmedit
    checking for lipo... lipo
    checking for otool... otool
    checking for otool64... no
    checking for -single_module linker flag... yes
    checking for -exported_symbols_list linker flag... yes
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fno-common -DPIC
    checking if gcc PIC flag -fno-common -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/opt/local/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... darwin15.6.0 dyld
    checking how to hardcode library paths into programs... immediate
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for windres... no
    checking host system type... (cached) i386-apple-darwin15.6.0
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) none
    checking whether gcc and cc understand -c and -o together... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... none
    checking whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) none
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /opt/local/bin/ld
    checking if the linker (/opt/local/bin/ld) is GNU ld... no
    checking whether the g++ linker (/opt/local/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fno-common -DPIC
    checking if g++ PIC flag -fno-common -DPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/opt/local/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... darwin15.6.0 dyld
    checking how to hardcode library paths into programs... immediate
    checking for pkg-config... /opt/local/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for xmlto... no
    checking whether to build EAN symbologies... yes
    checking whether to build Code 128 symbology... yes
    checking whether to build Code 39 symbology... yes
    checking whether to build PDF417 symbology... no
    checking whether to build Interleaved 2 of 5 symbology... yes
    checking whether to build QR Code... yes
    checking for library containing clock_gettime... no
    checking for ld used by GCC... /opt/local/bin/ld
    checking if the linker (/opt/local/bin/ld) is GNU ld... no
    checking for shared library run path origin... done
    checking for iconv... no, consider installing GNU libiconv
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for pthread_create in -lpthread... yes
    checking for X... disabled
    checking for X11/extensions/XShm.h... yes
    checking for XShmQueryVersion in -lXext... no
    configure: error: in `/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/src/fastzbarlight/vendor/zbar-0.10':
    configure: error: unable to find XShmQueryVersion in -lXext!
    specify XSHM_LIBS or configure --without-xshm to disable the extension
    See `config.log' for more details.
    Could not build fastzbarlight: Command '['./configure', '--disable-dependency-tracking', '--without-python', '--without-qt', '--disable-video', '--without-gtk', '--without-imagemagick', '--with-x=no', 'CFLAGS=-Wall -Wno-parentheses -D_FORTIFY_SOURCE=0 -O3 -fPIC']' returned non-zero exit status 1.
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/setup.py", line 98, in <module>
        cmdclass={'build': Build},
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/Users/dgyHome/anaconda/lib/python2.7/site-packages/setuptools-27.2.0-py2.7.egg/setuptools/command/install.py", line 61, in run
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/command/install.py", line 563, in run
        self.run_command('build')
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/Users/dgyHome/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/setup.py", line 31, in run
        subprocess.check_call(cmd, cwd=zbar)
      File "/Users/dgyHome/anaconda/lib/python2.7/subprocess.py", line 541, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./configure', '--disable-dependency-tracking', '--without-python', '--without-qt', '--disable-video', '--without-gtk', '--without-imagemagick', '--with-x=no', 'CFLAGS=-Wall -Wno-parentheses -D_FORTIFY_SOURCE=0 -O3 -fPIC']' returned non-zero exit status 1

    ----------------------------------------
Command "/Users/dgyHome/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-b0VbT1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/

Universe failed to build for me as well
I am running Ubuntu 16.04
sudo pip install universe
src/fastzbarlight/_zbarlight.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Yfxfhr/fastzbarlight/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-739RGW-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Yfxfhr/fastzbarlight/

@jdlester8 you need to install python-dev
The other error is interesting:
    configure: error: in `/private/var/folders/ps/zj4v30916pjd6zt21kc3793h0000gn/T/pip-build-3Y8iLK/fastzbarlight/src/fastzbarlight/vendor/zbar-0.10':
    configure: error: unable to find XShmQueryVersion in -lXext!
    specify XSHM_LIBS or configure --without-xshm to disable the extension

Curious if any readers know what that implies :).

I'm getting a similar error on Ubuntu 16.04.
`  Running setup.py install for fastzbarlight ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ikGi5T/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Mj7avy-record/install-record.txt --single-version-externally-managed --compile:
/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'
warnings.warn(msg)
running install
running build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... config/config.guess: unable to guess system type
This script, last modified 2009-02-03, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (config/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to<EMAIL_ADDRESS>in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-02-03

uname -m = aarch64
uname -r = 3.10.96-tegra
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Nov 9 19:42:57 PST 2016

/usr/bin/uname -p =
/bin/uname -X     =

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.10.96-tegra
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP PREEMPT Wed Nov 9 19:42:57 PST 2016
configure: error: cannot guess build type; you must specify one
Could not build fastzbarlight: Command '['./configure', '--disable-dependency-tracking', '--without-python', '--without-qt', '--disable-video', '--without-gtk', '--without-imagemagick', '--with-x=no', 'CFLAGS=-Wall -Wno-parentheses -D_FORTIFY_SOURCE=0 -O3 -fPIC']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-ikGi5T/fastzbarlight/setup.py", line 98, in <module>
    cmdclass={'build': Build},
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ubuntu/.local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
    self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-build-ikGi5T/fastzbarlight/setup.py", line 31, in run
    subprocess.check_call(cmd, cwd=zbar)
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./configure', '--disable-dependency-tracking', '--without-python', '--without-qt', '--disable-video', '--without-gtk', '--without-imagemagick', '--with-x=no', 'CFLAGS=-Wall -Wno-parentheses -D_FORTIFY_SOURCE=0 -O3 -fPIC']' returned non-zero exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ikGi5T/fastzbarlight/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-Mj7avy-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-ikGi5T/fastzbarlight/
`

@traw1234 that's a different situation: the build tools don't recognize the Tegra architecture. Try doing as the error message suggests: download a more recent config.guess into the zbar-0.10/config directory.

Pulled the package, changed the config.guess and config.sub files, and tried to install from source but now I'm getting these errors (still seems to be the Tegra architecture)... Any ideas for a fix?
Obtaining file:///home/ubuntu/Downloads/fastzbarlight-0.0.14
Requirement already satisfied: Pillow in /usr/local/lib/python2.7/dist-packages (from fastzbarlight==0.0.14)
Installing collected packages: fastzbarlight
 Running setup.py develop for fastzbarlight
    Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/home/ubuntu/Downloads/fastzbarlight-0.0.14/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps:
/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'optional'
  warnings.warn(msg)
running develop
running egg_info
writing requirements to src/fastzbarlight.egg-info/requires.txt
writing src/fastzbarlight.egg-info/PKG-INFO
writing top-level names to src/fastzbarlight.egg-info/top_level.txt
writing dependency_links to src/fastzbarlight.egg-info/dependency_links.txt
reading manifest file 'src/fastzbarlight.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs'
no previously-included directories found matching 'tests'
warning: no previously-included files matching '.py[cod]' found anywhere in distribution
warning: no previously-included files matching '__pycache__' found anywhere in distribution
warning: no previously-included files matching '.so' found anywhere in distribution
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching 'requirements-dev.txt'
warning: no previously-included files found matching 'tox.ini'
writing manifest file 'src/fastzbarlight.egg-info/SOURCES.txt'
running build_ext
building 'fastzbarlight._zbarlight' extension
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/home/ubuntu/Downloads/fastzbarlight-0.0.14/src/fastzbarlight/vendor/zbar-0.10/include -I/usr/include/python2.7 -c src/fastzbarlight/_zbarlight.c -o build/temp.linux-aarch64-2.7/src/fastzbarlight/_zbarlight.o -std=c99 -fPIC
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/fastzbarlight/_zbarlight.o -o build/lib.linux-aarch64-2.7/fastzbarlight/_zbarlight.so /home/ubuntu/Downloads/fastzbarlight-0.0.14/src/fastzbarlight/vendor/zbar-0.10/zbar/.libs/libzbar.a
aarch64-linux-gnu-gcc: error: /home/ubuntu/Downloads/fastzbarlight-0.0.14/src/fastzbarlight/vendor/zbar-0.10/zbar/.libs/libzbar.a: No such file or directory
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/home/ubuntu/Downloads/fastzbarlight-0.0.14/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/ubuntu/Downloads/fastzbarlight-0.0.14/

It's not clear if it's building libzbar.a under a different name, or not building it at all. I don't have a Tegra system handy. Are you using a cloud Tegra service that we could also test with?
You might also ask the zbar authors: http://zbar.sourceforge.net/support.html

fastzbarlight contains a copy of zbar if you install it through pip.
So if you got a zbar compilation problem, I think the best way to deal with it is install zbar yourself and modify the setup.py pointing to the zbar installation. Then manually install fastzbarlight with python setup.py install...

I ended up installing zbarlight, commenting this line from setup.py
#extra_link_args=[os.path.join(os.path.dirname(__file__), 'src/fastzbarlight/vendor/zbar-0.10/zbar/.libs/libzbar.a')],
and changed the dependency in the __init__.py file to zbarlight instead of ._zbarlight. Seems to be working fine now.

Also getting an error on OSX 10.12.1 but only with pip3 and a permission denied error - installing with pip worked. Tried running as sudo but that didn't fix it. Also did brew install zbar which succeeded.
Installing collected packages: fastzbarlight, go-vncdriver, gym, Pillow, twisted, ujson, universe, txaio, pyglet, zope.interface, constantly
  Running setup.py install for fastzbarlight
    error: Permission denied
    Complete output from command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-92es7s-record/install-record.txt --single-version-externally-managed:
    running install

running build

error: Permission denied

----------------------------------------
Cleaning up...
Command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-92es7s-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/tmp/pip_build_root/fastzbarlight

@dgobaud I'm confused, could you provide a complete log including your commands of what doesn't work?

pip3 install -e .
Obtaining file:///Users/davidgobaud/Desktop/Dropbox/Programming/OpenAI/universe
  Running setup.py egg_info for package from file:///Users/davidgobaud/Desktop/Dropbox/Programming/OpenAI/universe

Requirement already satisfied (use --upgrade to upgrade): autobahn in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): docker-py==1.10.3 in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): docker-pycreds==0.2.1 in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Downloading/unpacking fastzbarlight>=0.0.13 (from universe==0.20.4)
  Downloading fastzbarlight-0.0.14.tar.gz (728kB): 728kB downloaded
  Running setup.py egg_info for package fastzbarlight

    no previously-included directories found matching 'docs'
    no previously-included directories found matching 'tests'
    warning: no previously-included files matching '.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '.so' found anywhere in distribution
    warning: no previously-included files found matching 'Makefile'
    warning: no previously-included files found matching 'requirements-dev.txt'
    warning: no previously-included files found matching 'tox.ini'
Downloading/unpacking go-vncdriver>=0.4.8 (from universe==0.20.4)
  Downloading go_vncdriver-0.4.19.tar.gz (638kB): 638kB downloaded
  Running setup.py egg_info for package go-vncdriver

    no previously-included directories found matching '.build'
    no previously-included directories found matching 'dist'
    no previously-included directories found matching 'build'
Downloading/unpacking gym>=0.5.7 (from universe==0.20.4)
  Downloading gym-0.5.7.tar.gz (147kB): 147kB downloaded
  Running setup.py egg_info for package gym

Downloading/unpacking Pillow (from universe==0.20.4)
  Downloading Pillow-3.4.2.tar.gz (10.8MB): 10.8MB downloaded
  Running setup.py egg_info for package Pillow

    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Downloading/unpacking twisted (from universe==0.20.4)
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py egg_info for package twisted

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
Downloading/unpacking ujson (from universe==0.20.4)
  Downloading ujson-1.35.tar.gz (192kB): 192kB downloaded
  Running setup.py egg_info for package ujson

Downloading/unpacking txaio>=2.5.2 (from autobahn->universe==0.20.4)
  Downloading txaio-2.5.2.tar.gz (40kB): 40kB downloaded
  Running setup.py egg_info for package txaio

Requirement already satisfied (use --upgrade to upgrade): requests<2.11,>=2.5.2 in /usr/local/lib/python3.3/site-packages (from docker-py==1.10.3->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): websocket-client>=0.32.0 in /usr/local/lib/python3.3/site-packages (from docker-py==1.10.3->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python3.3/site-packages (from go-vncdriver>=0.4.8->universe==0.20.4)
Downloading/unpacking pyglet>=1.2.0 (from gym>=0.5.7->universe==0.20.4)
  Downloading pyglet-1.2.4.zip (2.3MB): 2.3MB downloaded
  Running setup.py egg_info for package pyglet

    no previously-included directories found matching 'examples/**/dist'
    warning: no previously-included files matching '*.png' found under directory 'tests/regression/images'
    warning: no previously-included files matching '*.log' found under directory 'tests'
    no previously-included directories found matching '**/.svn'
    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*.pyo' found under directory '*'
Downloading/unpacking zope.interface>=4.0.2 (from twisted->universe==0.20.4)
  Downloading zope.interface-4.3.3.tar.gz (150kB): 150kB downloaded
  Running setup.py egg_info for package zope.interface

    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
    warning: no previously-included files matching 'appveyor.yml' found anywhere in distribution
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking constantly>=15.1 (from twisted->universe==0.20.4)
  Downloading constantly-15.1.0.tar.gz
  Running setup.py egg_info for package constantly

Requirement already satisfied (use --upgrade to upgrade): incremental>=16.10.1 in /usr/local/lib/python3.3/site-packages (from twisted->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python3.3/site-packages (from zope.interface>=4.0.2->twisted->universe==0.20.4)
Installing collected packages: fastzbarlight, go-vncdriver, gym, Pillow, twisted, ujson, universe, txaio, pyglet, zope.interface, constantly
  Running setup.py install for fastzbarlight
    error: Permission denied
    Complete output from command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/var/folders/lc/j3p47jjn4p58ph95g91zbnl80000gn/T/pip_build_davidgobaud/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/lc/j3p47jjn4p58ph95g91zbnl80000gn/T/pip-vgblmq-record/install-record.txt --single-version-externally-managed:
    running install

running build

error: Permission denied

----------------------------------------
Cleaning up...
Command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/var/folders/lc/j3p47jjn4p58ph95g91zbnl80000gn/T/pip_build_davidgobaud/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/lc/j3p47jjn4p58ph95g91zbnl80000gn/T/pip-vgblmq-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/var/folders/lc/j3p47jjn4p58ph95g91zbnl80000gn/T/pip_build_davidgobaud/fastzbarlight
Storing complete log in /Users/davidgobaud/.pip/pip.log

You definitely need sudo pip3 install -e .

I tried that same problem unfortunately
sudo pip3 install -e .
Password:
Obtaining file:///Users/davidgobaud/Desktop/Dropbox/Programming/OpenAI/universe
  Running setup.py egg_info for package from file:///Users/davidgobaud/Desktop/Dropbox/Programming/OpenAI/universe

Requirement already satisfied (use --upgrade to upgrade): autobahn in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): docker-py==1.10.3 in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): docker-pycreds==0.2.1 in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Downloading/unpacking fastzbarlight>=0.0.13 (from universe==0.20.4)
  Downloading fastzbarlight-0.0.14.tar.gz (728kB): 728kB downloaded
  Running setup.py egg_info for package fastzbarlight

    no previously-included directories found matching 'docs'
    no previously-included directories found matching 'tests'
    warning: no previously-included files matching '.py[cod]' found anywhere in distribution
    warning: no previously-included files matching '__pycache__' found anywhere in distribution
    warning: no previously-included files matching '.so' found anywhere in distribution
    warning: no previously-included files found matching 'Makefile'
    warning: no previously-included files found matching 'requirements-dev.txt'
    warning: no previously-included files found matching 'tox.ini'
Downloading/unpacking go-vncdriver>=0.4.8 (from universe==0.20.4)
  Downloading go_vncdriver-0.4.19.tar.gz (638kB): 638kB downloaded
  Running setup.py egg_info for package go-vncdriver

    no previously-included directories found matching '.build'
    no previously-included directories found matching 'dist'
    no previously-included directories found matching 'build'
Downloading/unpacking gym>=0.5.7 (from universe==0.20.4)
  Downloading gym-0.5.7.tar.gz (147kB): 147kB downloaded
  Running setup.py egg_info for package gym

Downloading/unpacking Pillow (from universe==0.20.4)
  Downloading Pillow-3.4.2.tar.gz (10.8MB): 10.8MB downloaded
  Running setup.py egg_info for package Pillow

    warning: no files found matching '*.sh'
    no previously-included directories found matching 'docs/_static'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.landscape.yaml'
    warning: no previously-included files found matching 'appveyor.yml'
    warning: no previously-included files found matching 'build_children.sh'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python3.3/site-packages (from universe==0.20.4)
Downloading/unpacking twisted (from universe==0.20.4)
  Downloading Twisted-16.6.0.tar.bz2 (3.0MB): 3.0MB downloaded
  Running setup.py egg_info for package twisted

    warning: no previously-included files matching '*.misc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.bugfix' found under directory 'src/twisted'
    warning: no previously-included files matching '*.doc' found under directory 'src/twisted'
    warning: no previously-included files matching '*.feature' found under directory 'src/twisted'
    warning: no previously-included files matching '*.removal' found under directory 'src/twisted'
    warning: no previously-included files matching 'NEWS' found under directory 'src/twisted'
    warning: no previously-included files matching 'README' found under directory 'src/twisted'
    warning: no previously-included files matching 'topfiles' found under directory 'src/twisted'
    warning: no previously-included files found matching 'src/twisted/topfiles/CREDITS'
    warning: no previously-included files found matching 'src/twisted/topfiles/ChangeLog.Old'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching 'bin'
    no previously-included directories found matching 'admin'
    no previously-included directories found matching '.travis'
    warning: no previously-included files found matching 'docs/historic/2003'
    warning: no previously-included files matching '*' found under directory 'docs/historic/2003'
Downloading/unpacking ujson (from universe==0.20.4)
  Downloading ujson-1.35.tar.gz (192kB): 192kB downloaded
  Running setup.py egg_info for package ujson

Downloading/unpacking txaio>=2.5.2 (from autobahn->universe==0.20.4)
  Downloading txaio-2.5.2.tar.gz (40kB): 40kB downloaded
  Running setup.py egg_info for package txaio

Requirement already satisfied (use --upgrade to upgrade): requests<2.11,>=2.5.2 in /usr/local/lib/python3.3/site-packages (from docker-py==1.10.3->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): websocket-client>=0.32.0 in /usr/local/lib/python3.3/site-packages (from docker-py==1.10.3->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): numpy in /usr/local/lib/python3.3/site-packages (from go-vncdriver>=0.4.8->universe==0.20.4)
Downloading/unpacking pyglet>=1.2.0 (from gym>=0.5.7->universe==0.20.4)
  Downloading pyglet-1.2.4.zip (2.3MB): 2.3MB downloaded
  Running setup.py egg_info for package pyglet

    no previously-included directories found matching 'examples/**/dist'
    warning: no previously-included files matching '*.png' found under directory 'tests/regression/images'
    warning: no previously-included files matching '*.log' found under directory 'tests'
    no previously-included directories found matching '**/.svn'
    warning: no previously-included files matching '*.pyc' found under directory '*'
    warning: no previously-included files matching '*.pyo' found under directory '*'
Downloading/unpacking zope.interface>=4.0.2 (from twisted->universe==0.20.4)
  Downloading zope.interface-4.3.3.tar.gz (150kB): 150kB downloaded
  Running setup.py egg_info for package zope.interface

    warning: no previously-included files matching '*.dll' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.pyo' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    warning: no previously-included files matching 'coverage.xml' found anywhere in distribution
    warning: no previously-included files matching 'appveyor.yml' found anywhere in distribution
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking constantly>=15.1 (from twisted->universe==0.20.4)
  Downloading constantly-15.1.0.tar.gz
  Running setup.py egg_info for package constantly

Requirement already satisfied (use --upgrade to upgrade): incremental>=16.10.1 in /usr/local/lib/python3.3/site-packages (from twisted->universe==0.20.4)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python3.3/site-packages (from zope.interface>=4.0.2->twisted->universe==0.20.4)
Installing collected packages: fastzbarlight, go-vncdriver, gym, Pillow, twisted, ujson, universe, txaio, pyglet, zope.interface, constantly
  Running setup.py install for fastzbarlight
    error: Permission denied
    Complete output from command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed:
    running install

running build

error: Permission denied

----------------------------------------
Cleaning up...
Command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/tmp/pip_build_root/fastzbarlight
Storing complete log in /Users/davidgobaud/.pip/pip.log

Strange to get a permission error with sudo. Is this a local filesystem? The pip.log file it mentions might provide a clue as to which file is involved.

Yeah local and weird... not seeing the answer in pip.log below is the relevant part at the end
Installing collected packages: fastzbarlight, go-vncdriver, gym, Pillow, twisted, ujson, universe, txaio, pyglet, zope.interface, constantly

  Running setup.py install for fastzbarlight

    Running command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed
    running install
    running build
    error: Permission denied

    Complete output from command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed:

    running install

running build

error: Permission denied

----------------------------------------

Cleaning up...

  Removing temporary dir /private/tmp/pip_build_root...
Command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/tmp/pip_build_root/fastzbarlight

Exception information:
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/commands/install.py", line 241, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 1298, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/req.py", line 625, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/usr/local/Cellar/python3/3.3.3/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pip-1.4.1-py3.3.egg/pip/util.py", line 670, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command /usr/local/Cellar/python3/3.3.3/bin/python3 -c "import setuptools;__file__='/private/tmp/pip_build_root/fastzbarlight/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-5jaobd-record/install-record.txt --single-version-externally-managed failed with error code 1 in /private/tmp/pip_build_root/fastzbarlight

@dgobaud @tlbtlbtlb  The setup script has a class of Build, which is the point where you got permission denied.
And that class called subprocess class to execute the make.
Is it possible that the sudo you grant on the python does not grant the same permission to subprocess module?

Consider installing Anaconda python, which has a much cleaner install system and installs things in your home directory rather than /use/local.
https://www.continuum.io/downloads

@tlbtlbtlb anaconda python 3 worked - thanks!

I was facing the same problem of fastzbarlight, but finally I can build it with @duguyue100 's way.
My way(Mac):

Install zbar with Homebrew like brew install zbar --without-xshm.
Download fastzbarlight from its site.
Rewrite setup.py's zbar link like below:
Then, python setup.py install.
Finally, pip install -e . succeeds!

rewrite
# extra_link_args=[os.path.join(os.path.dirname(__file__), 'src/fastzbarlight/vendor/zbar-0.10/zbar/.libs/libzbar.a')],
extra_link_args=[os.path.join(os.path.dirname(__file__), '/usr/local/Cellar/zbar/0.10_2/lib/libzbar.a')],

some problem and solved according to @morizotter 's instruction, thanks!

@morizotter Thanks very much! The problem truly solved~

@morizotter Thanks a lot! It works!

Hello When I import universe
I get this error
Traceback (most recent call last):
File "", line 1, in
File "/Users/marwanfaisal/Desktop/Artificial Intelligence A-Z/universe/universe/init.py", line 22, in
from universe import error, envs
File "/Users/marwanfaisal/Desktop/Artificial Intelligence A-Z/universe/universe/envs/init.py", line 1, in
import universe.envs.vnc_env
File "/Users/marwanfaisal/Desktop/Artificial Intelligence A-Z/universe/universe/envs/vnc_env.py", line 11, in
from universe.envs import diagnostics
File "/Users/marwanfaisal/Desktop/Artificial Intelligence A-Z/universe/universe/envs/diagnostics.py", line 2, in
import fastzbarlight
File "/Users/marwanfaisal/anaconda/lib/python2.7/site-packages/fastzbarlight-0.0.14-py2.7-macosx-10.7-x86_64.egg/fastzbarlight/init.py", line 7, in
from ._zbarlight import zbar_code_scanner
ImportError: dlopen(/Users/marwanfaisal/anaconda/lib/python2.7/site-packages/fastzbarlight-0.0.14-py2.7-macosx-10.7-x86_64.egg/fastzbarlight/_zbarlight.so, 2): Symbol not found: _iconv
Referenced from: /Users/marwanfaisal/anaconda/lib/python2.7/site-packages/fastzbarlight-0.0.14-py2.7-macosx-10.7-x86_64.egg/fastzbarlight/_zbarlight.so
Expected in: flat namespace
in /Users/marwanfaisal/anaconda/lib/python2.7/site-packages/fastzbarlight-0.0.14-py2.7-macosx-10.7-x86_64.egg/fastzbarlight/_zbarlight.so


fix: ability to remove uploaded files, fixes #118

@fregante Hey, I hope it's okay that I've been flying kind of fast and loose with the commits and PRs here lately.  I had some [rare] spare time and [even rarer] energy to work on this over the last week/weekend.  So I've just been pushing as quickly as possible while this spurt of energy lasts.  :-)
Let me know if you see anything concerning or have questions.

No worries, I'm just glad to see some activity here


Reduce cognitive complexity of ChainedMethodInvocationRefactor#handleMethodInvocation and use only one break or continue statement

See https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AYDiEpr_kKZeZDp5nkOu
and https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AYDiEpr_kKZeZDp5nkOt

can you assign this issue to me? let me have a go at it

i managed to fix the first issue. looking at the second sonar issue

Hey @mohannaidu! Sure, I’ll assign this to you now.

Create a PR. Please review and let me know if any changes required.


Update ModalExample.js

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:
(You can skip this if you're fixing a typo or adding an app to the Showcase.)
Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
Could be mistaken (kind of a n00b), but doesn't seem like this line is necessary? Showed up in the modal example (https://facebook.github.io/react-native/docs/modal.html) and confuzzled me.

/cc @vjeux Would this change affect the UIExplorer demo in anyway?

I have no idea sorry :(

@dmmiller would you mind taking a look at this pull request? It's been a while since the last commit was reviewed.

What does this do for us?

@polandtyler updated the pull request.


netbox: How is externalRedis utilized?

Hi,
I would like to ask how many external redis db the config requires or recommends?
tasksRedis:
cachingRedis:
externalRedis:

Use tasksRedis and cachingRedis if you have different external redis url/host for both.
Otherwise, use externalRedis.


Check old subgenerator

[ ] add

[ ] test
[ ] router(middleware)

[x] babel
[x] eslint
[x] npm
[x] template
[x] webpack
[x] app

[x] readme

[x] desktop app
[x] relay
[x] react
[x] server
[x] test

#26

https://github.com/HsuTing/generator-cat/commit/5049863d4bdb2ad0a251ebb635f5ee4fb407930c

add router in add subgenerator

#26

add test


DNMR - Add character count component

Local character count component

You can preview this change here:
Built with commit 60744a59cfcb9d52a26ae4460bec11b0fae04433
https://deploy-preview-543--govuk-design-system-preview.netlify.com


Fix Editor crash on import when MethodBind is null.

Fixes: https://github.com/godotengine/godot/issues/96743

While this solves the problem it might be worth ensuring that the method isn't ever called with an invalid argument, and ensure it handles it gracefully at the call site

Tested by removing the .godot folder to reproduce the issue and the editor loads without any issues.

I'm still not sure about this fix, and I can't reproduce this issue in Godot 4.3 stable, unless you also have cherry-picked the same commits that have caused it to happen in 4.x.

@dalexeev , This issue is a 4.4, and to fix this, i have to import the project in 4.3 first to be able to open it later in 4.4 without crashing, and i think it's somehow related to the static variables and functions.


[study guidance groups - students] table fakd

table is fakd, scrolling does not work and when name switched visible something weird happens (students lists works in study programme)

I can't seem to reproduce this, assigning for now

If the number of students is over some number (30? 50?), pressing "Show student names" breaks the site by moving the left toolbar out of the view and stretching the table over the browser size

After discussing with Mitja, it seems this issue is more widespread and the scope is currently a bit vague.


Fix for sort annotations on parametric KApply

Fixes #945

I know it's just a draft, but just wanted to see how much it works, and there are some issues with #as:
  configuration <k> .K </k>
  rule <k> .K #as Rest => 1 </k>

Yeah I'm aware. There's a bug in the propagation of attributes I need to track down before this is going to work.


Use our own pango font maps to support custom fonts and use FontConfig backend on macOS by default

Fixes issue #237.
Pango has three backends - CoreText, Win32 and FontConfig. By default it tries to select the one that is most appropriate for the platform. However the current libgdiplus code depends on FontConfig and FreeType directly, so we need to force the use of FontConfig backend. Additionally it fixes an issue with custom fonts, which use custom FcConfig objects that were not properly propagated to Pango. Lastly, it fixes a memory leak in gdip_get_fontfamily_details.

Why is USE_PANGO_RENDERING an optional thing? Can this be made required dependency for libgdiplus package? Since this library has general-purpose use and there is no way for downstream to tell what features were supported at compile time, it might make sense to avoid surprises like https://github.com/dotnet/corefx/issues/28352. Like normally if I am not using the feature of certain dependency, the shared library does not get loaded until required:

For build machine libpango will be required.
At runtime, the target OS may or may not have libpango. It would be a runtime error if user starts using a pango feature.

Even in the current situation, if we build with pango and target system doesn't have libpango, then it works until we hit the code path leading to pango usage.
Keeping it optional for build machine machine is an unwarranted territory which may then require some kind of a query API for downstream (corefx) to check the capability?

@kasper3 In principle I agree that USE_PANGO_RENDERING should be used whenever Pango library is available on the system, which should be true for most Linux systems. However, that's not my call to make since I am merely a contributor, not a maintainer.
For a long time the option was marked as unsupported. I spent the past week resurrecting it and making sure it behaves correct enough to run basic System.Windows.Forms applications. I'm now looking into making unit tests to ensure that all the edge case behavior is correct.
Once the code is covered by tests we should make the option supported. Perhaps even kill the --with-pango option and just test for its presence in the build script by default. I am open to opinions and feedback from package maintainers on this.


Test the PR which will become the 1.0.1 pkg workflow release

See: https://github.com/NLnetLabs/.github/pull/5

Upstream PR has been merged.


Validation is Missing in Registration form

Hello @Simon786420 can you please assign this issue to me..🙏

Hello @Simon786420 can you please assign this issue to me..🙏

Yes!! @Nil-786 you can start working on this


postinstall step should also load dependencies with bower

thanks again for PR!
Actually I wanted to move to jspm, and that's why I hold to set bower as dev-dependency

OK, so this explains the error. I will close and wait for your jspm change :)


epic: Can search the web

Problem
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Success Criteria

Build, access some web index
RAG it
UI wise, link users to live sites

Sub Issues
Additional context
Add any other context or screenshots about the epic request here.

Would love to provide this ability to any model that could be made to support function calling or direct web access.

Close this as duplicated with https://github.com/janhq/jan/issues/3059


Using Nylas Ruby v3 SDK, create a code sample to create calendar

Using Nylas Ruby v3 SDK, create a code sample to create calendar

Hi @relaxedtomato, can I have the opportunity to work on this issue.

@sharsha315 assigned! Thanks for taking this one on :)

@sharsha315  - any updates on this ticket?

Hi Ram, I am working on this. I will be submitting PR in a day or two.
Thanks for the follow up.
On Thu, Oct 26, 2023, 8:18 AM Ram @.***> wrote:

@sharsha315 https://github.com/sharsha315 - any updates on this ticket?
—
Reply to this email directly, view it on GitHub
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/16#issuecomment-1780332601,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGUCKQ4MTOKFUSD55BASETYBHFPTAVCNFSM6AAAAAA5LPFEYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGMZTENRQGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @relaxedtomato, I have submitted the PR, kindly review the submission and provide feedback. Thank you.

Closes PR #95

Hi Ram, Thanks for merging the PR and Closing the issue. I very glad to
know and this could not have happened without your support and guidance.
Thank you  for your precious support. And one more thing, since this
open-source contributions are a part of the Hactoberfest 2023, I believe it
does count as the valid PR, but in Hacktoberfest website under my profile,
it showing as excluded, stating " Your PR/MR was submitted to a repository
that was excluded from Hacktoberfest as it does not follow the values of
the event. It will not count towards your participation". This is my first
Hacktoberfest participation and I have made 2 PR for
nylas-hacktoberfest-2023 repository, which have been approved but it's not
showing in my Hacktoberfest profile. Kindly, please can you help me from
this situation.
Regards,
Harsha S
@.***
On Fri, Oct 27, 2023 at 1:18 AM Blag @.***> wrote:

Closes PR #95
https://github.com/nylas-samples/nylas-hacktoberfest-2023/pull/95
—
Reply to this email directly, view it on GitHub
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/16#issuecomment-1781798834,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGUCKUXLH25QKIRA55RTNLYBK5ADAVCNFSM6AAAAAA5LPFEYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBRG44TQOBTGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@sharsha315 - I’m sorry to hear about this. I reached out to Hacktoberfest Support to help advise why this is happening. We completed hacktoberfest in the past years with no issue.
We’ll keep you posted!

@sharsha315 - Excited to hear you enjoyed working on building code samples, your contributions are super helpful for knowledge sharing and exploring Nylas!

Hi @sharsha315 - the good news is that all contributions to nylas-hacktoberfest-2023 will count towards Hackatoberfest 2023 🎉
Our repository was blocked by mistake and it has been reverted.

Thank you so much for the great news!
On Fri, Oct 27, 2023, 11:55 PM Ram @.***> wrote:

Hi @sharsha315 https://github.com/sharsha315 - the good news is that
all contributions to nylas-hacktoberfest-2023 will count towards
Hackatoberfest 2023 🎉
Our repository was blocked by mistake and it has been reverted.
—
Reply to this email directly, view it on GitHub
https://github.com/nylas-samples/nylas-hacktoberfest-2023/issues/16#issuecomment-1783333132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALGUCKRPMSQRF6TV7DJI6X3YBP4DFAVCNFSM6AAAAAA5LPFEYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGMZTGMJTGI
.
You are receiving this because you were mentioned.Message ID:
@.***>