Current Hook UI is not working in CS-II v1.0.19f1

He devs,
my CS-II updated to v1.0.19f1, and after that i'm not able to play the game, because HookUI is not compatible with new version

Yes, the mod isn't compatible, but again, I sincerely appreciate the developers for cranking out such an amazing mod! Thanks for all the effort!

I think there will soon be an update to the mod that will be compatible with the new version.
The game can still be played. Simply remove the mod from the BepInEx (Unity Mono 6.0.0) folder

Any idea on when this might get some attention? I'm unsure of the differences but the Cities2Modding version of HookUI was updated the day it broke so it seemed to not be a large task.
TIA.

Do you know when the mod will be updated?

Do you know when the mod will be updated?

It may be worth checking the mods you're waiting on this for, all of the ones I was using have switched over to the Cities2Modding fork which was updated weeks ago.


About gen_json_UCF101

Could you please provide the gen_json_UCF101 file?  Cuz I am using the UCF101 dataset for I3D training.

Attaching the UCF101 file in text format below. Please convert it to a python file to use the code.
gen_json_UCF101.txt


why send method automatic set Date header?

I found the code in write_head():
if !self.headers.has::<header::Date>() {
    self.headers.set(header::Date(header::HttpDate(now_utc())));
}

I don't want to set Date header. What should I do?

The spec says it's required. See the last sentence of the second paragraph in RFC7231#<IP_ADDRESS>:

An origin server MUST send a Date header field[...].

RFC7231#<IP_ADDRESS> -  An origin server MUST NOT send a Date header field if it does not    have a clock capable of providing a reasonable approximation of the    current instance in Coordinated Universal Time.
It'd be uncommon, but it's technically possible that hyper could be used on such a system.

Ok. Thank you for the information.

@smithsps it could be, so I wouldn't object to some sort of config, I suppose, but I'm left wondering if it realistically ever happens.

@seanmonstar agreed, the only thing I could think of could be clockless embedded device that for some reason didn't have a NTP sync.


Display confirmation message when kicking off DB garbage collection

Display confirmation message when Database Garbage Collection task is manually initiated via Submit button.
Moved flash message display box higher up the page for better visibility and to match rest of the application for both Diagnostics actions on the page (same partial view code): Backup and Garbage Collection.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1364100
Screen shots for both DB Garbage Collection action and DB Backup posted below:

@GregP would it make more sense to move rendering of flash_msg_div outside of "Run a Database Backup Now" box. Move https://github.com/ManageIQ/manageiq/blob/master/app/views/ops/_diagnostics_database_tab.html.haml#L39-L41 outside %h3 here https://github.com/ManageIQ/manageiq/blob/master/app/views/ops/_diagnostics_database_tab.html.haml#L37

@GregP agree with @h-kataria that the message should move up a bit so it applies to both of the actions that can be taken below.

@h-kataria @dclarizio Ready for review.

Please re-create PR in https://github.com/ManageIQ/manageiq-ui-classic


FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

A month ago I was able to deploy it without any issues.
Using:
{
  "devDependencies": {
    "serverless": "^3.27.0",
    "serverless-plugin-warmup": "^8.2.1",
    "serverless-prune-plugin": "^2.0.2"
  }
}

sls deploy -s dev-live --verbose
...
Excluding development dependencies for function "warmUpPluginDefault"

⠦ Packaging (1s)

<--- Last few GCs --->

[1416384:0x2f8f4b0]   361600 ms: Mark-sweep 4049.8 (4131.1) -> 4034.1 (4131.3) MB, 1221.0 / 0.0 ms  (average mu = 0.153, current mu = 0.045) allocation failure scavenge might not succeed
[1416384:0x2f8f4b0]   364426 ms: Mark-sweep 4050.2 (4131.3) -> 4035.2 (4132.3) MB, 2770.8 / 0.0 ms  (average mu = 0.079, current mu = 0.019) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x99e1e0 node::Abort() [sls]
 2: 0x8c9613 node::FatalError(char const*, char const*) [sls]
 3: 0x1069a0e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [sls]
 4: 0x1069cb6 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [sls]
 5: 0x1229e35  [sls]
 6: 0x122ab6e v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [sls]
 7: 0x1238ded v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [sls]
 8: 0x123975a v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [sls]
 9: 0x123ca0b v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [sls]
10: 0x11f9685 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [sls]
11: 0x11f1df4 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [sls]
12: 0x11f3b5f v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [sls]
13: 0x149e6ba v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [sls]
14: 0x15bc696 v8::internal::Runtime_StringCharCodeAt(int, unsigned long*, v8::internal::Isolate*) [sls]
15: 0x198cdb9  [sls]
[1]    1416384 abort (core dumped)  sls deploy -s dev-live --verbose

If I comment out lines:
    warmup:
      default:
        enabled:
        #  - dev-live
        #  - prod-live

Deployments go without a hitch.

I've checked out the repo in a new folder and all seem to have worked. Trying to find out what's wrong with my original working folder.

Hmmm strange...
I can't think of any reason for a serverless deployment to exhaust Node's memory.
I'll close this since it seems resolved now.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112977

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113321

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113977

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114900


log: fix log file path

What problem does this PR solve?
fix lightning always set log file path to the default path
What is changed and how it works?
Only set log path to default path if neither command line params nor config file set it
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects
Related changes

there should still be a way to explicitly log to terminal

Then I think we should leave the default to stdout

We could make --log-file "-" to mean stdout, or copy BR's $BR_LOG_TO_TERM env var

We could make --log-file "-" to mean stdout, or copy BR's $BR_LOG_TO_TERM env var

So shall we need to update docs for this special log config. Seems br special env $BR_LOG_TO_TERM is not mensioned in docs


Advanced Datatable localisation issues

Hey, is there any way we can get custom messages for datatables? I want to change placeholder for search filter, empty table text and items per page labels to my native language but it's hardcoded and can't take additional input from me. Can you at least make it so that it takes a param where the custom text can be inputed?

Customizations you want to make are possible though slots.
https://coreui.io/vue/docs/components/table.html

I saw that there is a mention of slots, but no any kind of example. Can you perhaps show me an example of a change, let's say how to change main table filter or empty results on the CDataTable component? Sorry to bother, but it's really confusing.

You don't change it, you create your own in over-table slot, and no-items-view slot
<CDataTable ...>
  <slot #over-table>
    (Your custom table filter and pagination select)
  </slot>
</CDataTable>

Working like a charm! Thanks for the example!


DateTime comparisons do not work

Here is an example of where DateTime values are not being considered equal, I suppose because under-the-hood a regular == comparison is being done:
# DateTime with no milliseconds
iex(1)> dt_1 = ~U[2020-01-01T00:00:00Z]
~U[2020-01-01 00:00:00Z]

# DateTime with milliseconds
iex(2)> dt_2 = ~U[2020-01-01T00:00:00.000Z]
~U[2020-01-01 00:00:00.000Z]

# Putting them in maps, they are not equal
iex(3)> MapDiff.diff(%{dt: dt_1}, %{dt: dt_2})
%{
  added: %{dt: ~U[2020-01-01 00:00:00.000Z]},
  changed: :map_change,
  removed: %{dt: ~U[2020-01-01 00:00:00Z]},
  value: %{
    dt: %{
      added: ~U[2020-01-01 00:00:00.000Z],
      changed: :map_change,
      removed: ~U[2020-01-01 00:00:00Z],
      struct_name: DateTime,
      value: %{
        calendar: %{changed: :equal, value: Calendar.ISO},
        day: %{changed: :equal, value: 1},
        hour: %{changed: :equal, value: 0},
        microsecond: %{
          added: {0, 3},
          changed: :primitive_change,
          removed: {0, 0}
        },
        minute: %{changed: :equal, value: 0},
        month: %{changed: :equal, value: 1},
        second: %{changed: :equal, value: 0},
        std_offset: %{changed: :equal, value: 0},
        time_zone: %{changed: :equal, value: "Etc/UTC"},
        utc_offset: %{changed: :equal, value: 0},
        year: %{changed: :equal, value: 2020},
        zone_abbr: %{changed: :equal, value: "UTC"}
      }
    }
  }
}

# Comparing them using == they are not equal
iex(4)> dt_1 == dt_2
false

# Comparing them with DateTime.compare/2 works as expected
iex(5)> DateTime.compare(dt_1, dt_2)
:eq

Possible solutions

Add an option for common structs like this to be compared using their own compare functions:

MapDiff.diff(map1, map2, compare_carefully: [DateTime, NaiveDateTime])

Add a callback to let users do their own comparisons for specific types:

MapDiff.diff(map1, map2, compare: {DateTime, fn a, b -> DateTime.compare(a, b) == :eq end})

If you let me know what your preference is I can prepare a PR.

Thank you for sharing this issue! map_diff predates the compare/2-functionality that nowadays exists in Elixir, so indeed there was no thought put into handling this case back then.
I like the freedom of proposed solution (2.), but we will need to support a list of possibilities there as well.
I think the following makes sense:

MapDiff.diff/3 allows the option compare:, which takes a list.
Each element of this list is either {StructModuleName, function}, or the shorthand StructModuleName which will work the same as {StructModuleName, &(StructModuleName.compare(&1, &2) == :eq)}.
Any time we encounter two datatypes which have the same struct type, we check whether the struct's type name is in the compare list.

If it is, we use the custom comparison function
If not, we fall back to using === (as 1.0 and 1 are considered different).

What do you think?
A PR would be very welcome! :green_heart:

Sounds good, I can do that.
One last question - what should the default behavior be?  For DateTime it seems like we should default to using the compare function, but could be overridden by someone using the :compare option.

If we alter the default from what it is now (using ===) then it would be a breaking change.
I'm not sure that is a good idea.
Another consideration is that we could hard-code the compare for a couple of built-in types, but not for all types out there that do have a compare-function in their module, as it is only a convention and there might be structs out there that have a function called compare that should not be used for Enum.sort nor MapDiff.diff.
So at least for the time being I'd like to keep the default as-is.

Hmm even the code is simple to understand I think this might be bit more work than I can handle right now.

A DateTime value is a struct, I was going to add the following but wasn't sure what you would want for the non-equal case.
Maybe this should actual be in the compare function?
def diff(%DateTime{} = a, %DateTime{} = b) do
    case DateTime.compare(a, b) do
      :eq -> %{changed: :equal, value: a}
      _ -> # TODO: What to put here?  We probably don't want to drill down into the individual fields of the struct
    end
  end

The Elixir version of 1.3 is giving me compiler errors when trying to add the optional parameters, upgrading from Elixir 1.3 is probably a good idea:
def diff(map_a, map_b, opts \\ [])

The very first clause which checks for equality will need to be removed, because it would evaluate two child DateTimes as not being equal without checking the :compare option, resulting in a potential false negative.
def diff(a, a), do: %{changed: :equal, value: a}

Let me know how it goes. If you feel like you've bitten off more than you can chew, I will happily jump in to help with the code, but of course I also don't want to tread on your turf


HBASE-28547 Support specifying connection registry configuration thro…

…ugh queries of the connection uri

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 33s
master passed

+1 :green_heart:
compile
0m 36s
master passed

+1 :green_heart:
shadedjars
5m  7s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 32s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 26s
the patch passed

+1 :green_heart:
compile
0m 35s
the patch passed

+1 :green_heart:
javac
0m 35s
the patch passed

+1 :green_heart:
shadedjars
5m  7s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 30s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 53s
hbase-common in the patch passed.

+1 :green_heart:
unit
1m 21s
hbase-client in the patch passed.

23m 10s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5850

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux e65dc0e4aea7 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 6c6e776eea

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/testReport/

Max. process+thread count
363 (vs. ulimit of 30000)

modules
C: hbase-common hbase-client U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 23s
master passed

+1 :green_heart:
compile
0m 44s
master passed

+1 :green_heart:
shadedjars
7m  0s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 43s
the patch passed

+1 :green_heart:
compile
0m 52s
the patch passed

+1 :green_heart:
javac
0m 51s
the patch passed

+1 :green_heart:
shadedjars
7m 24s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 43s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
3m 33s
hbase-common in the patch passed.

+1 :green_heart:
unit
2m  7s
hbase-client in the patch passed.

32m 50s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5850

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ddac87c5094b 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 6c6e776eea

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/testReport/

Max. process+thread count
387 (vs. ulimit of 30000)

modules
C: hbase-common hbase-client U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 32s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 56s
master passed

+1 :green_heart:
compile
1m 36s
master passed

+1 :green_heart:
checkstyle
0m 39s
master passed

+1 :green_heart:
spotless
0m 57s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 36s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m  8s
the patch passed

+1 :green_heart:
compile
1m 58s
the patch passed

+1 :green_heart:
javac
1m 58s
the patch passed

-0 :warning:
checkstyle
0m 15s
hbase-client: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
6m 50s
Patch does not cause any errors with Hadoop 3.3.6.

+1 :green_heart:
spotless
0m 51s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 54s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 19s
The patch does not generate ASF License warnings.

34m 50s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5850

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 38e6ec92238f 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 6c6e776eea

Default Java
Eclipse Adoptium-11.0.17+8

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-client.txt

Max. process+thread count
78 (vs. ulimit of 30000)

modules
C: hbase-common hbase-client U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5850/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Close in favor of #5853


No support for LDAP default group / primary group

Bug - Doesn't work for LDAP users' default group/primary group (which is typically Domain Users).
- The user's default group is not listed in their memberOf attribute
- Need to fix the LDAP search filter to include the primary group attribute.

searching primary group not enough
will then need to recurse get-adsigroupmember against each member group as well (to see if they are anyone's primary group).
Currently we do not recursively retrieve every member group, only the users
May need to change this.  There is another issue involving that change, don't remember which issue at the moment.  I think I had performance concerns.

Currently implemented as follows:

enumerate groups in memory
single search for all LDAP members

by samaccountname (if done by Get-WinNTGroupMember)
by memberOf and primaryGroupID (if done by Get-AdsiGroupMember)

enumerate groups from those results in memory
single search for LDAP objects with any of those groups as primary group

Plan for future improvement:

For each group:

return LDAP filter segment for samaccountname (if done by Get-WinNTGroupMember)
return LDAP filter segment for memberOf and primaryGroupID (if done by Get-AdsiGroupMember)

Single LDAP search for all members of all groups
Enumerate member groups from those results in memory
Single LDAP search for objects with any of those groups as primary group


Spanish translation fo about section

Add texts in spanish and option to main navbar

@hellresistor what do you think about commit messages? :) we can use similar format to separate each commit by "mini features"
<type>(<scope>): <subject>
Type
Must be one of the following:

feat: A new feature
fix: A bug fix
... There are more options in the reference link below

Scope
The scope could be anything specifying place of the commit change. I choose the folder of the edited files or the development context usually
Subject
The subject contains succinct description of the change
This idea comes from angularjs commit message format

well we can try, i never done that before


captcha triggered by bad ciphers

i always trigger captcha on https://www.sneakersnstuff.com/ and a couple of other sites even i solve them with 2captcha

CF triggering reCaptcha on cipher ECDHE-RSA-AES128-SHA256 , pushing update now.

1.1.25 Released...
Seems every 6-8 days CF randomly mark / target ciphers even though they are valid ciphers...

And re 2captcha... yea when there's a cipher they mark / target... solving reCaptcha won't matter, as it will just constantly trigger the reCaptcha, I need to work out a way when this is occuring.

Thank you, I'll let you know if some other cipher will trigger captchas.
If i have to fix it quickly can I just remove the marked cipher right?

@johnnyollo hey, I have the same problem. How did you fixed it? I just have the problem on sneakersnstuff.
``import cloudscraper
scraper = cloudscraper.create_scraper()
response = scraper.get("https://www.sneakersnstuff.com/de/")
print(response.status_code)``
Output:
403

sneakersnstuff implemented a reCaptcha on their frontpage , outside of cloudflare, solve the challenge.

The reason this library didn't do it for you as well.. is because the src URL is different
script type="text/javascript" src="/cdn-cgi/scripts/cf.challenge.js" data-type="normal"  data-ray="4f1439b9584ba433" async data-sitekey="6LfBixYUAAAAABhdHynFUIMA_sa4s-XsJvnjtgB0"></script>

What you need to do is still use the library to bypass cloudflare, but then solve the challenge..
and submit it to the form
<form class="challenge-form" id="challenge-form" action="/cdn-cgi/l/chk_captcha" method="get">

I can post a simple solution if you need to....

HRRM.... actually...
I could adapt my code to perhaps help out with this...
Rather than statically send to
submit_url = '{}://{}/cdn-cgi/l/chk_captcha'.format(parsed_url.scheme, domain)

I could read the src URL from what ever has sitekey....
Let me do some testing boys...

Wait...  what am i Saying.. that should solve it as is... (sorry guys ive only just woken up , like seriously just rolled outta bed) ;P

Ok... @102flex found the issue, version 1.1.26 is currently on dev branch , if you have 3rd party reCaptcha solver loaded now (https://github.com/VeNoMouS/cloudscraper#3rd-party-recaptcha-solvers)... it will solve it for you.

2captcha support would be very cool!
You have any link to tip you an coffee?
Thank you

Yeah many sites host the cf recaptcha challenge on their sites,
I already use 2captcha with no problem, but I think someone else would appreciate it.
Enjoy your coffee.

feel the love boys :)

3rd party reCaptcha 2captcha support added in Release 1.1.27

captcha is triggered by bad ciphers again


Pin MLX library dependencies

Pin MLX library dependencies
:recycle: Current situation & Problem
As seen in https://github.com/StanfordSpezi/SpeziLLM/issues/77, the MLX libraries dont follow semantic versioning.
Currently, SpeziLLM allows updates of these dependencies via from: (equals the deprecated upToNextMajor).
When MLX pushed a breaking change, SpeziLLM used the newest dependency version, leading to a breaking change in SpeziLLM.
:gear: Release Notes

Pin MLX library dependencies

:books: Documentation
Properly commented reasoning for the pinning
:white_check_mark: Testing
Tested locally and CI
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[X] I agree to follow the Code of Conduct and Contributing Guidelines.

@PSchmiedmayer Merged because of the urgency to fix the SpeziLLM SPM package resolve issue with the MLX libraries.


Incubator

Codecov Report

Merging #11 into master will decrease coverage by 0.61%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
- Coverage   82.75%   82.14%   -0.62%
==========================================
  Files           2        2
  Lines          29       28       -1
==========================================
- Hits           24       23       -1
  Misses          5        5

Impacted Files
Coverage Δ

deeplearning2020/submission.py
77.27% <0.00%> (-0.99%)
:arrow_down:

Continue to review full report at Codecov.

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


Print debug warning when bad ACK is received

Max-Forwards is decremented by one for each SIP proxy, and for the ACK request this header is not really so useful.
It should be fine to accept incoming ACK w/o Max-Forwards header...

Alfred E. Heggestad writes:

It should be fine to accept incoming ACK w/o Max-Forwards header...

Done.


GPU = NVIDIA GeForce RTX 4060 Ti 16G , Finetunning unsloth/Meta-Llama-3.1-8B-bnb-4bit OOM

I tried to fine-tune UNSLOTH/META-LLAMA-3.1-8B-BNB-4bit in the local area.
The specific parameters are as follows

Wait you must use fp16 / bf16 - try not commenting it out


Compression helper failing (502 Bad Gateway)

I tried to use the compression helper a few times over the last days, but it is always failing with a 502 error (Bad Gateway).

Seems to be working. Are you doing anything special when using it?

I just selected the library, a dozen of modes, and three add-ons.  The page would take about 60s processing, after which it would return a "502 Bad Gateway" error.
I just tried it again, and it now returns a "504 Gateway Time-out" instead.  Considering the 60s it was taking to process before, I guess it was also a timeout problem.

Indeed, when you select a lot of files the thing seems to get much slower and hits nginx's timeout. The compression helper is going to go away soon (almost everyone is using some kind of build step in their project anyway, and I don't feel like keeping the service running), but in the meantime, I've upped the timeout, so that the error you describe should be harder to hit.

So, it seems as if the compression helper now gone. What should we do if we don't have any build steps?

You can still include all files you need separately, if you don't have any build process.


Fix doctrings, remove unnecessary "Inherits" statements

Fixes #465
@ritzvik

@yauneyz Thanks for the PR! Please squash the commits https://github.com/einsteinpy/einsteinpy/wiki/How-to-refactor-commits
Then it's good to go.

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

In the file src/einsteinpy/metric/kerrnewman.py:

Line 89:13: W503 line break before binary operator
Line 90:13: W503 line break before binary operator
Line 91:13: W503 line break before binary operator
Line 95:13: W503 line break before binary operator
Line 96:13: W503 line break before binary operator
Line 97:13: W503 line break before binary operator
Line 98:13: W503 line break before binary operator
Line 99:13: W503 line break before binary operator
Line 103:13: W503 line break before binary operator
Line 104:13: W503 line break before binary operator
Line 105:13: W503 line break before binary operator
Line 106:13: W503 line break before binary operator
Line 107:13: W503 line break before binary operator
Line 111:13: W503 line break before binary operator
Line 112:13: W503 line break before binary operator
Line 113:13: W503 line break before binary operator
Line 166:13: W503 line break before binary operator
Line 234:13: W503 line break before binary operator

In the file src/einsteinpy/symbolic/predefined/vacuum_solutions.py:

Line 111:9: W503 line break before binary operator
Line 112:9: W503 line break before binary operator

Looks like that rebase attempt didn't go so well. Let me try that again

Okay I fixed it - one commit, with all the right changes.

Thanks @yauneyz , I’m gonna merge!
With you, we hit 50 contributors. 🥂


Migrate to dask-contrib?

We are seeing more folks in the Dask community ask about Delta Lake support. Searching through GitHub there just seems to be this repo and deltadask by @MrPowers.
Given that this repo has the most traction I wondered if you have any interest in migrating this repo to the dask-contrib org on GitHub to incubate the project?
This would allow Dask developers to help you out with maintenance efforts. It also makes it easier for us to promote the project.
What do you think?

Thank you for this proposal. I sometimes feel guilty for not being able to give this repo the attention it deserves. The help from the Dask community is much-needed and greatly appreciated for this project.

Initially, this repo began as a simple PR to Dask, where I received a lot of help from the dask community. Even I incorporated CICD templates from dask-contrib projects for standardization.

I am genuinely thrilled to collaborate with the Dask community and enhance this package further.

Please let me know how I can assist in migrating this project to the dask-contrib organization. Thank you in advance.
Special thanks to @MrPowers for providing suggestions for improvement from day one, and to @TomAugspurger for all the latest PRs and enhancements.

sure thing, Thanks  @jacobtomlinson.
Transferred the repo ownership to you! please let me if you need any further help.

Awesome thanks @rajagurunath! The transfer is complete. Could you also add me to the project on PyPI (I'm jacob.tomlinson there)?
Just FYI I'm OOTO next week but when I'm back I'll be ready to dive into maintenance here.

Added you to the PyPI project! please check and let me know if you face any issues..
Thanks, Have a great time ! :)

Fantastic thanks @rajagurunath! I've opened #15 to add a LICENSE file, which just needs approval from you and @TomAugspurger. Then I think we should be done.


Set up OpenShift CI to build images for PRs

/kind feature
@LaVLaS recently set up image builds on PRs for odh-dashboard. We should set up the same for the ML Pipelines repository.
Related PRs:

https://github.com/openshift/release/pull/30719
https://github.com/openshift/release/pull/31401

PR to set up OpenShift CI for ODH ML pipelines repository along with back end unit tests: https://github.com/openshift/release/pull/31575

closing in favor of: https://github.com/opendatahub-io/data-science-pipelines/issues/92


not able to pull image from private harbor registry.

not able to pull image from private harbor registry.
I already created secret and attached it to the service account.
is there any additional settings need to be done for harbor registry?
Its working with normal pod by using imagepullsecret. which means my password is correct.
i am also able to use public images in the task from the same registry.so my url is also correct.
this is the error i got while try to pull image by the task.
ErrImagePull (rpc error: code = Unknown desc = failed to pull and unpack image "harbor.xxxxx.com/tekton-test/tekton-test:gitclone": failed to resolve reference "harbor.xxxxx.com/tekton-test/tekton-test:gitclone": pulling from host harbor.xxxxx.com failed with status code [manifests gitclone]: 401 Unauthorized)
do u guys have any idea about this error?
is there any change need to be done to the secret's annotation "tekton.dev/docker-0" ?
is there any way to directly attach the imagepullsecret in task itself ?

@288milan I would suggest closing this as a duplicate of #3604 , but please let us know if the solution provided works for you


[question] Is it possible to make the wallet discover nodes directly?

Hey, this is not much of an issue as it is a question.
Is it possible to develop the wallet to not need this server-side solution?
What would the wallet need, in terms of features, to integrate with the nano network directly?

🤔 this gives me a lot to think about
So the way the wallet is written would require a lot of work to make functional without a backend, not to mention loss of features like payment requests and memos, but what you're describing typically isn't done for a couple of reasons
So one way to do this would be to run a full nano node on the wallet client, which just isn't really feasible with the storage space requirements, and isn't how the network is really designed to be run (some cryptos do have really lightweight nodes, nano isn't quite there yet)
Another approach would be to let the client choose which nodes to connect to, using the standardized RPC commands to interact with the network
The problem with this is that if a node is malicious then it can lie to you about your balance, incoming transactions, etc.. so you have to trust the node you connect to, or alternatively, connect to multiple and compare results
Most wallet makers opt for the last approach, since it offers the most flexibility in terms of adding features / working with the protocol: which is to just run a node for your wallet users to communicate through
Something that would be relatively easy to make development wise but offer more decentralization is I could poll more than just one node (or maybe poll a random public node)
Most nodes that let you process blocks cost money beyond a certain threshold though


Possible typo - "Custom Domain" is indicated when context and link refer to "Conditional Access."

Possible typo. Under conditional access, the sentence reads: Lean how to configure Azure AD B2C custom domain. But the link (correctly) points to Conditional Access.

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

ID: 8810f9a5-2db2-278e-a9f6-dd1b2aea8c7f
Version Independent ID: 7b978156-16b0-d469-5778-fe2983ae1f0e
Content: Manage your Azure Active Directory B2C - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/tenant-management.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@John-Garland Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.

Dear @John-Garland , thanks for the feedback. I'm updating the article. A new version will publish later today, and this GitHub issue will be closed automatically (before the doc is published). If you have any questions or need further information, please open new GitHub issue.


Update the imprecise link.

Update the pull request template to correctly point at the documentation that discourages squashing unreviewed commits.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @grufino

or @rszper who could also LGTM this.

LGTM


HD8790 unrecognized?

I have a laptop with Intel i7-4810 CPU (with integrated graphics) and  Mars XTX [Radeon HD 8790M]
It loads and initializes amdgpu driver;  lshw -c video shows
*-display
       description: VGA compatible controller
       product: Mars XTX [Radeon HD 8790M]
       ...
       configuration: driver=amdgpu latency=0
       resources: irq:38 memory:e0000000-efffffff memory:f7c00000-f7c3ffff ioport:e000(size=256) memory:f7c40000-f7c5ffff
  *-display
       description: VGA compatible controller
       product: 4th Gen Core Processor Integrated Graphics Controller

but rocminfo does not see it and clnfo shows number of devices=0 for platform:  AMD Accelerated Parallel Processing
I see that journalctl -b has this line
kernel: kfd kfd: amdgpu: OLAND  not supported in kfd

Using Fedora 36  kernel 5.19.6-200 and rocm-opencl-5.2.3-1.fc36.x86_64
The out-of-the-box config for this system had radeon.modeset=0 but amdgpu complained about radeon driver running SI so I added
radeon.si_support=0 amdgpu.si_support=1
to the kernel command line, which seemed to help activating the amdgpu driver, with those kernel messages:
Sep 06 14:59:32 localhost.localdomain kernel: [drm] amdgpu kernel modesetting enabled.
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu: CRAT table not found
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu: Virtual CRAT table created for CPU
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu: Topology: Add CPU node
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
Sep 06 14:59:32 localhost.localdomain kernel: kfd kfd: amdgpu: OLAND  not supported in kfd
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ATRM
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu: ATOM BIOS: BR46109.001
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
Sep 06 14:59:32 localhost.localdomain kernel: [drm] amdgpu: 2048M of VRAM memory ready
Sep 06 14:59:32 localhost.localdomain kernel: [drm] amdgpu: 7950M of GTT memory ready.
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400000000).
Sep 06 14:59:32 localhost.localdomain kernel: [drm] amdgpu: dpm initialized
Sep 06 14:59:32 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 6, active_cu_number 6
Sep 06 14:59:33 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: Using ATPX for runtime pm
Sep 06 14:59:33 localhost.localdomain kernel: [drm] Initialized amdgpu 3.47.0 20150101 for 0000:01:00.0 on minor 0
Sep 06 14:59:33 localhost.localdomain kernel: amdgpu 0000:01:00.0: [drm] Cannot find any crtc or sizes
Sep 06 14:59:42 localhost.localdomain kernel: amdgpu 0000:01:00.0: [drm] Cannot find any crtc or sizes
Sep 06 14:59:42 localhost.localdomain kernel: amdgpu 0000:01:00.0: [drm] Cannot find any crtc or sizes
Sep 06 14:59:55 localhost.localdomain gnome-shell[2064]: Added device '/dev/dri/card0' (amdgpu) using non-atomic mode setting.
Sep 06 15:00:03 localhost.localdomain gnome-shell[2783]: Added device '/dev/dri/card0' (amdgpu) using non-atomic mode setting.
Sep 06 15:01:38 localhost.localdomain kernel: amdgpu 0000:01:00.0: amdgpu: Disabling VM faults because of PRT request!

GCN1 and GCN2 cards aren't supported by ROCm. Oland is a GCN1 card so your card isn't supported.
You'll need an old Orca driver, the one from amdgpu-pro 21.20-1271047. Some more recent versions of amdgpu-pro distributed newer Orca driver but without old GCN support. This one works for me on Ubuntu 22.04 for both GCN1 and GCN2.
The package is usually named opencl-orca-amdgpu-pro-icd.
You can find it for Red Hat 8.4 there: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-21-20
Try the opencl-orca-amdgpu-pro-icd-21.20-1271047.el8.x86_64.rpm package, with some luck it may work on recent Fedora.

Hi @raspico, please check latest ROCm Documentation and ROCm 6.0.0 to see if your query has been resolved.  If resolved, please close the ticket.  Thanks.

@nartmada @raspico The Radeon HD 8790M is a GCN1 card from 2013, it has never been supported by ROCm. Not only this card had never been supported, but the complete family this card belongs to had never been supported. This issue can be closed.

Thanks for clarifying this.

@raspico you may find there a tutorial I wrote for installing the Latest Mesa rusticl OpenCL driver that is known to work with your card, here:

https://github.com/ROCm/ROCm/issues/2743#issuecomment-1867079776

This tutorial is for Ubuntu but maybe you will be able to adapt it for Fedora. They key thing is the installation of a recent Mesa OpenCL driver and the trick about the RUSTICL_ENABLE=radeonsi environment variable. I'm not from AMD by the way, I just happen to have good knowledge of what works and what doesn't with AMD 😃.


Stop BluI from crashing uncontrollably when width and height are not …

…set to proper values. Do the right thing instead and tell the user where he messed up.
Crashes are harder to debug than messages :)

Will be creating a new tested release soon, thanks!

Great. We have other issues with BLUI I may be able to help if you can help me first. See the forum, I can't get keyboard input on OSX and we also get a crash on recent SuSe Linux even when building from source. If I had more info on how to properly build for these platforms, I could chip in more.
In particular, I can't link Blu in Xcode 7 if Blu was built from source (using binary cef 2111 as you did).
On Linux, the editor crashes on load with an error in XOpenDisplay (double free error)
We're really trying to make this a multiplatform game but seem to be stuck on both these fronts.

It is recommended to cross-compile Linux builds from within a Windows environment.
That's odd about keyboard input on OSX though.

One of our developers works on a Linux machine, does that mean she can never us the editor while BLUI is part of our project? Also, how do I go about compiling the whole shebang for OSX? I can't debug (single step) this as long as I have to depend on a Google supplied binary without debug infos!

Unfortunately my time is very limited due to college at the moment. I don't have an OSX machine up here with me to test on, nor a Linux machine with a sufficient graphics card for testing. I will try to look into things when I can.

We have all that, all I need to know is how you built this on OSX, since you have instructions up but only for Windows.

You can follow the CEF3 auto build script here:
https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding
But you also must apply the OSX patches located here:
https://github.com/AaronShea/BluBrowser
To the CEF codebase


[add-resource] New Plugin/Theme

I would like to have my plugin added to the repository:
https://github.com/X-Ryl669/grav-plugin-markdown-collapsible
I'm new to Grav development, feel free to criticize any mistake I made.

Added to GPM


Move projects to Guaka github profile

Move them here https://github.com/getGuaka

[ ] Environment: https://github.com/oarrabi/env
[ ] File: https://github.com/oarrabi/FileSystem
[ ] Regex: https://github.com/oarrabi/regex
[ ] Runing apps: https://github.com/oarrabi/Runner

@nsomar Will you be able to do this? You can just move the repos, and I'll do the rest 😀

Btw, do you prefer to keep the Guaka repo in your personal profile?


Edit asset manifest json from options

Hi!
Can u add an option to make access to edit output asset json?
Now i have in manifest such asset object as:
"assets": {
    "images/hamburger.svg": "images/hamburger.d2cb0dda3e8313b990e8dcf5e25d2d0f.svg",
    "images/spinner.gif": "images/spinner.37348967baeae34bfa408c1f16794db1.gif",
}

But i want to have:
"assets": {
    "hamburger.svg": "images/hamburger.d2cb0dda3e8313b990e8dcf5e25d2d0f.svg",
    "spinner.gif": "images/spinner.37348967baeae34bfa408c1f16794db1.gif",
}

So I can describe it as:
filename(key): outpath_to_file
For example:
new Manifest(path.join(_path + '/config', 'manifest.json'), {
     rootAssetPath: rootAssetPath,
     ignorePaths: ['/stylesheets', '/javascript'],
     keyWithPath: false // default true to show with path
}),

Thanks!

You can build your own custom manifest.json file already.
Check out:
https://github.com/nickjj/manifest-revision-webpack-plugin#api
You can pass in your own formatter and have it output the file however you want. It gives you access to all the data necessary to do what you're requesting.

I'm using webpack with RoR backend.
Oh, formatter is rly cool i guess, I'll try it, Thanks!

There's already built in support for rails. Check the api docs:
https://github.com/nickjj/manifest-revision-webpack-plugin#api
Just set format: 'rails' and it will output it in a way that works with all the rails helpers.


Ability to set Filters in show() command

It would be great, if it was possible to preconfigure a list of filters in the python code.
I'm not sure if it is possible through custom kwargs or similar, but i tried different things and was not able to do it.
Is this something that should currently be possible? If so where can I find documentations on this?
Thanks a lot

You can't do it directly as a show argument but you can do it programmatically on the GUI instance like this:
from pandasgui import show
from pandasgui.datasets import pokemon

gui = show(pokemon)
for expr in ['HP > 90', 'Attack > 100']:
    gui.store.selected_pgdf.add_filter(expr)

Any action in the GUI can be done programmatically and all actions that affect a DataFrame are defined in pandasgui.store.PandasGuiDataFrameStore. You can access them by name or use .selected_pgdf to access the currently selected one. In this case you could use either gui.store.selected_pgdf or gui.store.data['pokemon']

If so where can I find documentations on this?
I basically have no documentation other than what's in the README, I was putting it off since I was making lots of breaking changes with releases but planning to make better docs in the next few months


fix(pagerduty): update to remove no embed as dependencies

Description
Pagerduty backend plugin was updated recently but the export-dynamic command was not. no-embed-as-dependencies needed to be removed because of the use of the database by the newer version of Pagerduty backend plugin. See RHIDP-3844 which spun out of RHIDP-1648
Which issue(s) does this PR fix

Fixes RHIDP-4945

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

I can confirm, it works and loads the plugin as well.
Thank you @PatAKnight
cc: @simonkosina

/retest


Publish fails when using HTTPClient

By reducing my code to a minimum i found out that client.publish fails without any error when the following code is called before:
  HTTPClient httpClient;
  httpClient.begin(espClient, "google.de" );
  httpClient.end();

As im still learning please let me know if i could somehow debug this on my own any further.

When I initially built your code, the publish worked every time. Thiswas in my rarely-used Arduino install, and I had had to slightly modify the httpClient.begin call without the espClient param -- indicating that I've got an old version of the libraries there.  Building it again in PlatformIO (which I use normally and is up-to-date) I get the same failure as you.  Not sure how that helps but might be something to investigate.
These two cases seem to be similar: stack exchange and esp8266 forum.
Given the stability of PubSubClient my current guess is a change in the esp8266 libs has broken something that used to work.

OK -- I think I've found the solution - at least, it seem now to work for me.
TL;DR - you need separate WiFiClient objects for each connection.
The naming "WiFiClient" is perhaps a bit mis-leading -- we only have 1 x WiFi interface on the esp (or most other devices). The class name was probably to match a pre-existing Arduino class. Reading the Arduino docs was the clue:

Creates a client that can connect to to a specified internet IP address and port as defined in client.connect().

It's a single connection to a single socket (port). So if it's been initialised to 1883 and pub/sub-ing for mqtt, the moment http.GET() is called, it is re-used for port 80 and consequently mqtt is broken. The fact that you can do http.begin() without mqtt stopping adds some confusion, but presumably nothing is actually "begun" until http.GET()/PUT() etc are called.
"Obvious really!!" Once you know, that is!
In your example, change:
WiFiClient espClient;

to
WiFiClient espClient_mqtt;
WiFiClient espClient_http;

and then update the espClient name where you initialise client and call httpClient.begin and it should now work.

@jpdw Thanks so much for your time, it's working perfectly now :)

@jpdw,
Late to the party. In my case all http calls after the first one were failing with HTTPC_ERROR_CONNECTION_LOST (from HTTPClient). Spent close to a day troubleshooting...
Thank you!


fix(#1062): can not use top paramter on execute_mdx_ui_array

I have added a 'top' parameter to the 'build_ui_arrays_from_cellset' function, which is used to determine whether to break the loop

Good catch @Cubewise-Ronan. Thank you


Window not closing

In IDLE mode, the close button is not working.
https://github.com/littlewhitecloud/CustomTkinterTitlebar/blob/cfe3c32af75b898473e82c532bfce8a5fb337066/CustomTkinterTitlebar/titlebar.py#L85-L91
Fix
 self._titleexit.config(
            bd=0,
            activebackground=self.colors["%sexit_bg" % self.theme],
            width=44,
            image=self.close_hov_img,
            relief=FLAT,
            command=self.destroy, # quit sometimes doesn't work
        )

I am going to rebuild it because the code is really laggy LOL


[Feature request] Custom divider as widget

I want to set a widget as a divider, is it possible?

Hi!
It's not possible. It is only possible to define a custom painting. Are you needing to define your own widget?

Hi!
"Are you needing to define your own widget?"
The graphic is designed with a unique divider that has a handle that looks like a floating button.

To hide, we can devise a method to set the weight or content of one of the sides to zero.
What are you thinking for the method that shows again? Are you keeping the oldest 2 weights and setting them again? Are you just setting the weight to .5?

I'll see how to make it available ok?

I would be very grateful!

I think it might be necessary to have an optional builder to build each instance of Divider Widget. In this case, I think this could ignore the painter defined in the theme and use only the Widget. What do you think?
The Divider's thickness should continue to be defined by the theme. Then the created widget will be resized by that width or height.

"I think it might be necessary to have an optional builder to build each instance of Divider Widget. In this case, I think this could ignore the painter defined in the theme and use only the Widget. What do you think?"
I think that would be the right solution.

Hi @sirkalmi !
If you want, you can try out the master branch before I release a version. Perhaps you will need something else.
    MultiSplitViewTheme(
        child: MultiSplitView(
            children: children,
            dividerBuilder: (Axis axis,
                int index,
                bool resizable,
                bool dragging,
                bool highlighted,
                MultiSplitViewThemeData themeData) {
              Color color = Colors.orange;
              if (dragging) {
                color = Colors.yellow;
              } else if (highlighted) {
                color = Colors.amber;
              }
              return Container(color: color);
            }),
        data: MultiSplitViewThemeData(dividerThickness: 20));

@sirkalmi
I will release the version and close this issue. If you need anything, let me know.

Yes, thank you very much for the development! Sorry for the late reply, I haven't had time to try yet.


this error showing

ERROR: Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:@react-native-community_audio-toolkit] <EMAIL_ADDRESS>as the library might be using APIs not available in 16
	Suggestion: use a compatible library with a minSdk of at most 16,
		or increase this project's minSdk version to at least 19,
		or use tools:overrideLibrary="com.reactnativecommunity.rctaudiotoolkit" to force usage (may lead to runtime failures)

Hi @sabeelmuttil, you have to change the minSdkVersion from 16 to 19 in order to be able to use the library on Android. You can find this constant value in android/build.gradle.


How can i create smaller sized file for inference of 1.5B model

I am working on gpt2 1.5b model.
It is taking too much time for inference how can i decrease the time taken by the model?
How can i optimize my model?

Unfortunately, the 1.5B model is just really, really big. You can batch your predictions or run on faster hardware, but there isn't much more you can do. Maybe there is some way to use distillation methods or the like to reduce the model size, but I'm not familiar with any research of doing so with the GPT2 model specifically.


The class 'PropertyChangeNotifier' can't be used as a mixin because it extends a class other than Object. dart(mixin_inherits_from_not_object)

Trying the example code on a brand new app with latest Stable release gives the following error:
The class 'PropertyChangeNotifier' can't be used as a mixin because it extends a class other than Object. dart(mixin_inherits_from_not_object)
However, extending (instead of mixin the class) works fine with the model.
Was this changed? is the documentation wrong? why is this happening?

Same Problem here tooo

Hi there, please see the readme: https://github.com/VGVentures/property_change_notifier#mixin-compilation-error


New version: Unity.Unity.6000 version 6000.0.29f1

Created by 🥟 Dumplings in workflow run #9883.

Log
Updated: 6000.0.28f1 → 6000.0.29f1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

@stephengillie


[BUG] {Wrong intrinsic matrix for resized RGB image}

Describe the bug
Wrong intrinsic matrix for resized RGB image. While in version <IP_ADDRESS> the intrinsic matrix is correct, in version depthai >= <IP_ADDRESS> the intrinisc matrix is different in that case and it's wrong.
Minimal Reproducible Example
self.device_ = dhai.Device(pipeline,usb2Mode=True)
calibration_info = self.device_.readCalibration()
intrinsic_matrix = calibration_info.getCameraIntrinsics(dhai.CameraBoardSocket.RGB,resizeHeight=480,resizeWidth=640)
Additional context
camera = OAK-D Lite
depthai version tested: <IP_ADDRESS> (work) - <IP_ADDRESS> (work) - <IP_ADDRESS> (work) - <IP_ADDRESS> (wrong) - <IP_ADDRESS> (wrong) - <IP_ADDRESS> (wrong)

Can you provide sample output of a wrong and a correct version, please?

right output

wrong output

Hi @AntonioConsiglio sorry for the issue, can you share the output of calibration_dump script? And also check if it's the same for both depthai versions?

Hello @daxoft,
calibration_dump.zip
Here you can find the json file made using the calibration_dump script. I've checked the user_calibration*.json and the output is the same for both <IP_ADDRESS> and <IP_ADDRESS> version.
Looking at the source code, I saw that the method used to request calibration information has changed. A flag was added and also the "calculation" part was changed. For a resize with the same ratio the calculation of the new intrinsic matrix is quite obvious, probably because my ratio does not remain the same as the original this leads to a calculation error.
Thanks.


Currency card for ether and ERC-20 tokens not showing after successful transaction

Stumbled upon this bug during user testing so they're new users.
When user receives ether, they can't see the successful transaction immediately (while they're still on the app). They can see in the history of transactions that they have received the ether but they have to restart the AlphaWallet app to see the currency card appear.
Same goes for ERC-20 tokens.

@hboon @farrahfazirah the erc20 tokens cannot show up when the user is the reciever due to ethereum's design and the ether showing up will never be instant as querying for this lags but there might be a way we can speed it up with our own node (keeping infura as a backup).

@farrahfazirah but are you saying that the ether value does not get updated after a while (say a minute) until you restart the app?

@hboon After onboarding, there was no asset card.
When user receives ether, it is reflected on the user's transaction page that the transaction was successful. However, when user goes to check ether in their wallet, there is still no asset card but they only see a similar screen below.

They restarted the app and they finally had the asset card for ether with the ether they received.

@farrahfazirah I looked at the code and can't figure out how to reproduce it so that the ether card don't appear in the wallet tab even with a new download. If you manage to reproduce it, can you help me know? It's bad.
Otherwise, both the ether card and the My Wallet Address screen are supposed to refresh periodically to pull the latest ether balance. Even they don't, it's a bug.
A tip for the users when they test: if they find a bug, go to Settings tab > Help & FAQs > Still need help? Contact Us. Email or note down the information at the bottom (iOS version, etc).

I figured it out! To reproduce:

Go to wallet tab
Tap on "ASSETS"
Refresh or wait a while for it to auto-fresh

Thanks @farrahfazirah !
Filed at #694


Defer websocket body close

This defers the body close until the entire copy is complete.
I was having a problem with the websocket created by the Home Assistant (home-assistant.io) frontend getting proxied through Caddy. When I looked at the Wireshark capture the server was sending data but Caddy wasn't forwarding it. Eventually, I was able to isolate that Caddy was stopped at the Close call. Deferring this call allowed the data to pass and all work as expected.
I'm not entirely sure what the cause of the problem was (I'm not well-versed in the details of websockets). I suspect it has something to do with a comment I found in Caddy about the de-chunking which might be occurring

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

I'll see if I can get a test worked up that reproduces the original scenario!

I'll see if I can get a test worked up that reproduces the original scenario!

Oops, hold up. Check this against https://github.com/mholt/caddy/pull/356 -- what are we missing here?

Oops, hold up. Check this against https://github.com/mholt/caddy/pull/356 -- what are we missing here?

Good question - I've discovered the AutoBahn WebSocket test suite and the Gorilla WebSocket library has example code that implements the server side for the test suite. I'm going to start by getting that running and then seeing how Caddy handles the proxy of it (probably tomorrow).

Good question - I've discovered the AutoBahn WebSocket test suite and the Gorilla WebSocket library has example code that implements the server side for the test suite. I'm going to start by getting that running and then seeing how Caddy handles the proxy of it (probably tomorrow).

I ran through all of the autobahn tests on master and there were no issues discovered. So I'm back to trying to figure out what the scenario is and reproducing it in a test case.

I can confirm this change fixes TLS websocket proxies for home assistant.

@mholt yeah, I ran the testeeserver from the autobahn project and ran the fuzzingclient against it directly, and via a caddy websocket proxy. I couldn't use the transparent preset as, apparently, the websocket spec requires the IP and Port in the Host field to match what the server is serving (or something like that - the autobahn server complained about the mismatch). I could rerun the tests with the update and provide the test results as well as a simple script for rerunning (with the assumption that the autobahn test suite is installed). There's a lot of data generated though, so I'm not really sure where an appropriate place to keep it would be.

I will accept this change with a Go test. :+1: (I'm starting to regret accepting so many changes previously -- and committing some myself -- that didn't have tests...)

Any progress on this?

I may be able to help out with a test case if you can advise what you want tested @mholt. Since there's no "well describe failure case" a test that merely confirms the body is closed in a deferred manner doesn't really seem to add any value, but can easily be done.

I haven't had a chance to work on in it a while (it came up with a personal project and other things have had priority). I was stuck trying to create a test server which was sending a chunked websocket response, which I surmise is the crux of the problem.
Home Assistant responds to the websocket open with a chunked header and some back-and-forth authentication. It then seems to just send data as events happen server-side. My guess is that the explicit close call is waiting for the server to close the connection before proceeding. Since the server is keeping the socket open, it just waits there. I was not able to figure out how to make the test httpserver hold the socket open and just keep sending data in a test case.

@snikch I think we could use your help then. :) Let me know if you still have questions after Joe's reply -- the goal is to test that this works for apps that work like Home Assistant does and doesn't break others.

any progress on this?

Sorry I'm snowed under at work this week but may get a chance to look at it on the weekend.

@joerocklin Hey Joe - do you still have your wireshark dumps so I can have a look at this? I would have thought the server would still need to close the connection given this is only an upgrade, and the WS connection would be the ongoing persistent connection. Does closing the connection later in the function work, or does it have to be defered?

Due to inactivity, I think it's time to close this PR, unfortunately. Since this directly reverts #356, it'll need solid tests to prove that it doesn't break what that issue fixes. Even if this change is in fact correct, it needs tests to prove it.

Unfortunately, I've gotten swamped with non-personal project activities. @snikch I can probably create new wireshark dumps. I don't know if there are other solutions on closing that are sufficient, this was the first one I tried which solved the problem and it didn't introduce regressions so I stopped looking for other solutions.
I got stuck trying to write a test which reproduced what home-assistant is doing. All of the mocked HTTP testing examples I saw seemed to do a complete connection through closing before evaluating any conditions whereas the condition I was trying to recreate involves the connection not closing and verifying that information is passed. @mholt have you ever done a test mock like that or have any pointers? (I'm somewhat new to Go's HTTP testing.)

@joerocklin Did you find any of the other tests in the proxy_test.go file helpful? For example, I wonder if TestWebSocketReverseProxyFromWSClient would be relevant/similar enough?

Could it be related to basic auth? With this patch in works for me in
chrome, but it doesnt for my colleague for some reason, but when we tried
to turn off basic auth it works on all devices/browsers.
2017-04-22 7:59 GMT+02:00 Matt Holt<EMAIL_ADDRESS>
@joerocklin https://github.com/joerocklin Did you find any of the other
tests in the proxy_test.go file helpful? For example, I wonder if
TestWebSocketReverseProxyFromWSClient would be relevant/similar enough?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mholt/caddy/pull/1316#issuecomment-296350518, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACN5d8SdGNxzBitAWdAZHo7vW7tXO-Dqks5ryZdZgaJpZM4LYiiz
.

--
Ingard Mevåg
Driftssjef
Jottacloud
Mobil: +47 450 22 834
E-post<EMAIL_ADDRESS>Webside: www.jottacloud.com

I am suffering from this issue too I believe. Using Caddy 0.10.0 and the latest version of Home Assistant 0.43.0. When attempting to load the app via the proxy the app fails to connect and stalls on 'connecting'. The network tab shows lots of attempts to spin up a websocket but they seem to fail.
Caddy file looks like this:
http://hass.lan {
        proxy / http://<IP_ADDRESS>:8123 {
                transparent
        }
        proxy /api/websocket http://<IP_ADDRESS>:8123 {
                websocket
                header_upstream Sec-WebSocket-Extensions {>Sec-WebSocket-Extensions}
                header_upstream Sec-WebSocket-Key {>Sec-WebSocket-Key}
                header_upstream Sec-WebSocket-Version {>Sec-WebSocket-Version}
        }
        errors stdout
}

Let me know if there are any testing steps I can perform to help push this forward.

@scottsweb All this PR needs is a test that proves it works and doesn't break other (correct) WebSocket connections.

This fixed an issue I have establishing a proxy websocket connection that was secured with basic auth. Any progress getting this patch moving?

@stanchan It needs a test.

I've tested this patch reverse proxying HomeAssistant, Gitlab, Pritunl, Nextcloud without any issues. The others are correct that in its current form, Caddy breaks proxying to Home Assistant, also a very popular project.

@fia5000 I believe you, but it needs a test in code, like, in the test file, to prove that it works now and continues to work in the future.

Not familiar with the codebase for this project, but I can take a stab at writing a test for this. I'll be at GopherCon this week, so I might have some time.

@stanchan That would be a great hackathon project or something! First make sure the issue is understood, then write a test that fails without the change made here, and passes with the change. :+1:

Any news on this? It's driving me crazy...

If I could write a test I would, because this is the only thing that Caddy isn't working brilliantly for, but it is a showstopper. So much so I may drop Caddy and go NGINX, much as that would pain me. For those who trust this to work (and frankly aren't too bothered about regularly upgrading) what is the easiest way to deploy on x86_64 ubuntu 16.04 with the patch applied?

Unfortunately, at the moment I have too many other things on my list to work on this for you. I suppose this would be a good time to plug the Engineering Package, which is designed for these situations. Since I realize that's not feasible except with businesses, so I've also tweeted this issue to see if anyone would like to contribute tests for this.

@mholt Totally understand, the work you've done here is great and the product is wonderful. I did consider the Engineering package, until I saw the prices - and as a personal user I can't stretch to that ;) Might pop something in the HA forums to see if anyone there is interested in writing a test too. I wish I knew how to compile with the patch in the meantime but sadly I don't. Might have to run a separate NGINX server for HA reverse proxy and let Caddy handle everything else with the aplomb I've become accustomed too ;)

@nikc0069 The contributing guide has instructions for forking and making pull requests, and you can compile by cding into the 'caddy' subfolder of this repo and running go build or even go run main.go. Hope that is helpful!

I've actually pulled joerocklin's fork and built it, and it hasn't helped with the websocket connection.

Pulled master and made change myself. Works beautifully once I stopped being a muppet with my config! I can periodically pull from master and manually include the change for now. Thanks.

Today, I just did some test on this issue and found that the real reason is we stuck at res.Body.Close() when try to proxy.

I will try to find a better workaround to fix this.

My assumption in previous comment is incorrect. the defered Body.Close will not hang, because we have already closed its underlying connection before. So I think it's ok to just defer this closing. I have just added a test case for this issue as well in https://github.com/mholt/caddy/issues/1777

Thanks to Tw, the fix for this has been merged and will go out with the next release.


Prepopulate .m2 and .grapes for most used Fuse versions

When creating the first Fuse project, a lot of time is required mainly downloading artefacts. (can be 15-20 minutes even with reasonable connection speed).
I'm wondering if it would be possible to "hide" this time in the installer when installing Fuse Tooling.
Would it be possible?

pre-building an offline repository and installing it (I know that fuse is providing some https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/html/integration_guide/transtools)
calling a kind of mvn on a basic Fuse example?

What do you think?

:+1:

That would require a little work of course, but it is possible. What would be required is:

Add maven into list of installable components under Java channel with detection;
download maven repo for Fuse from developers.redhat.com download manager service (not access.redhat.com) as part of fuse installer or as separate one;
configure repo to be used by maven.

@apupier What do you mean by "calling a kind of mvn on a basic Fuse example?" ?

@apupier What do you mean by "calling a kind of mvn on a basic Fuse example?" ?

it is an alternative, instead of downloading the offline repo, the idea would be to call maven a one Fuse example which will download and install dependencies in the local .m2 of the user.

Add maven into list of installable components under Java channel with detection;

I'm not even sure that Maven is required. Currently in Fuse Tooling, it is using the embedded Maven Runtime of m2e.
In case we need a Maven call, maybe we can provide a specific "eclipse application" to call Maven from inside JBoss Tools.
In case just the repo is copied/installed, Maven might not be required. (seems to be the easiest solution but is it safe?)

as the release cycle of Fuse on one side and Fuse Tooling/DevStudio on the other side are different. It would be nice to be able to change the offline repositories used during installation.

That is possible. I did implement something similar in past as an experiment, but have not finished that yet (see https://github.com/redhat-developer-tooling/developer-platform-install/pull/811). Implemented approach would require to publish 'requirement.json' for download on developer portal under devsuite when we want to force installer to download new releases without full installer rebuild.


Add datasets module for loading sample data

Resolves #252 and adds a new healthcareai.datasets module for loading sample data. The diabetes sample data can be loaded using the load_diabetes method as opposed to requiring the entire file path be specified.

:x: Build healthcareai-py 1.0.575 failed (commit https://github.com/HealthCatalyst/healthcareai-py/commit/254bc40cb8 by @jpo)

Great work! This makes loading the sample data way more clean!


Add backup options

this initial commit for #1999 , #2046 and #2563 issues, here's preview. This commit excluded BACKUP button inside OpenClash - Config Manage tab
https://user-images.githubusercontent.com/20932301/180934498-f2ae0149-eac2-475b-ac0b-58952158ab4d.mp4

thx bro


Fix voter card loading

Fixes https://linear.app/agora-app/issue/AGORA-3240/troubleshoot-fix-hover-card-that-never-loads
For the default message (when the statement is null), I just show No statement as in the screen recording below. But I'm not sure if there is a better message we can display here. All the content of a valid hover card seem to be dependent on statement being non-null so there is really nothing we can show as a fallback.
Demo
https://github.com/user-attachments/assets/724d1f22-6843-4b49-9cf4-38a6cf614912

Glad it's not actually a real bug.  Just unfinished polish.
So there really is two cases.
ENS Name exists, with / without a profile pic from ENS:

No ENS Name exists (and therefore there would be no profile pic)

I think we still want the "delegate" button, because that's still technically possible. You might want to delegate to an anon, it's wierd, but its valid.

Glad it's not actually a real bug. Just unfinished polish.
So there really is two cases.
ENS Name exists, with / without a profile pic from ENS:

# No ENS Name exists (and therefore there would be no profile pic)

I think we still want the "delegate" button, because that's still technically possible. You might want to delegate to an anon, it's wierd, but its valid.

Thanks, fixed now!
https://github.com/user-attachments/assets/d9bb7fb6-7e85-4d58-8a22-bc4dd41f3203
I essentially kept the same rendering of the card as in the normal case (when the statement is available). Just changed the statement to "This delegate has not yet created a delegate statement."


DONT MERGE: Board page

Board page based on https://github.com/AS-kilta/ASweb/pull/15. Don't merge this before that.

Let's handle these changes in https://github.com/AS-kilta/ASweb/pull/15 after all


Add go1.7 to test matrix

why?

specifically why removing -cover?

Remove covert is my wrong.
My idea is to keep track the current code base work with go1.7 and make it easy for us to dev on 1.7 if we wanted to on future.

superseded by #203


Heads up notification not displaying in Android 7.1

I am trying to send a heads up notification to a specific topic on a variety of devices.
I do have devices on Android 7.1 and +.
Everything is ok when I try to send a notification to Android 7.2+.
Notification channels are used and I created a channel with an appropriate importance so the heads up notification is showing properly.
On this link we can see :

Example conditions that might trigger heads-up notifications include the following:

The user's activity is in fullscreen mode (the app uses fullScreenIntent).
The notification has high priority and uses ringtones or vibrations on devices running Android 7.1 (API level 25) and lower.
The notification channel has high importance on devices running Android 8.0 (API level 26) and higher.

So a heads up notification on Android 7.1  seems to require high priority and a ringtone or vibration.
I need to have a single code to send notifications to Android 7.1 and Android 7.1+ so here is the code I wrote :
var message = new FirebaseAdmin.Messaging.Message()
{
    Topic = "my-topic",
    Webpush = new WebpushConfig()
    {
        Notification = new WebpushNotification()
        {
            Renotify = true,
            RequireInteraction = true,
            Silent = false,
            Vibrate = new int[] { 500, 500, 500, 500, 500 },
        }
    },
    Android = new AndroidConfig()
    {
        TimeToLive = new TimeSpan(0, 30, 0),
        Priority = Priority.High,
        Notification = new AndroidNotification()
        {
            Tag = "my-tag",
            Title = "my title",
            Body = "my body",
            ChannelId = "my-channel",
            Sound = "default"
        }
    }
};

// Send a message to the devices subscribed to the provided topic.
await FirebaseMessaging.DefaultInstance.SendAsync(message).ConfigureAwait(false);

I send a Sound as "default" in the Android config and a high priority.
When my app is not opened, I receive the notification but it stays in the tray and does not show up as heads-up.
Why isn't the notification showing up as heads-up ? Is the "default" value for Sound supported ?

Hi @Kiruchi ,  the Priority in AndroidConfig is an FCM concept that controls when the message is delivered. It does not translate to Android priority.
The current reference for this field in https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages is confusing. We will update the reference soon to clarify the concept.

So is there any parameter for Android priority ? Or a way of sending a message which will be in heads up on Android 7.1 ?

Hi @Kiruchi , for now there's no way to directly send a heads up message on Android 7.1. A solution would be to update the client-side code to accept a data message and convert it to a displayed notification on the client side.
We are working on a solution to provide more parameters in FCM API so this can be supported.


Refactor multiplatform image builder image handling code

Description
Refactors the multiplatform image build code to simplify usage of image refs/tags/names and to prevent errors throughout the codebase.
Related Issue

Motivation and Context
The many "tagged_names", "tags", "names", etc variable names were quite confusing and difficult to work with. Additionally, tags should not be able to be specified when building a multiplatform image. Only later when the image is tagged/committed/pushed should it take arbitrary tags. This code simplifies all of these usages to create a simple image info tracking class for both the built images and the final tagged images, and makes it clear which properties belongs to each and which should be used in certain places.
How Has This Been Tested?
I tested this locally with a test repository. It still needs more testing and the unit tests passing before it can be merged.
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Do not merge until this is ready


mac m1 "Library not loaded"

install via bash, run
codon run test.py

get error
dyld[67860]: Library not loaded: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib'
  Referenced from: '/Users/xxx/.codon/lib/codon/libcodonc.dylib'
  Reason: tried: '/opt/homebrew/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file)
zsh: abort test.py

Thanks for pointing this out -- the pre-built binary shouldn't be linked to that library. I'll check this for the next release, but in the meantime brew install zstd might resolve the issue.

Should be fixed in v0.15.2 release!

brew install zstd works!
By the way, the project is marvelous, I'm waiting for v1.0!

I've just tried that on my Intel Mac and still getting this error:
dyld[53257]: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <35902E26-B869-3DC7-B6B6-33EC07E5D999> /Users/inikolaev/.codon/lib/codon/libcodonc.dylib
  Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)

Has this been fixed yet?

I tried this method on my Intel mac, got another error:
zsh: bus error  codon
how can i fix it?