Failed to find .rc file at default paths: [./.env-cmdrc,./.env-cmdrc.js,./.env-cmdrc.json]

This has been reported already in #118 but the OP closed it.
The reason for this error message in both my case in issue 118's OP was that the .env-cmd was not valid JSON and could not be parsed correctly which would have been much more helpful error message than this confusing information about env-cmd not being able to find the .rc file.
The issue lies here in get-env-var.js inside the catch that is muting all exceptions except EnvironmentError, I added a comment and console.log there to debug locally:
    for (const path of RC_FILE_DEFAULT_LOCATIONS) {
        try {
            const env = await parse_rc_file_1.getRCFileVars({ environments, filePath: path });
            if (verbose === true) {
                console.info(`Found environments: [${environments.join(',')}] for default .rc file at path: ${path}`);
            }
            return env;
        }
        catch (e) {
            // not sure why you want mute exceptions other than "EnvironmentError", add the console.log in the line below to see the true error being muted.
            console.log(`ERROR: ${e}`);
            if (e.name === 'EnvironmentError') {
                const errorText = `Failed to find environments: [${environments.join(',')}] for .rc file at path: ${path}`;
                if (verbose === true) {
                    console.info(errorText);
                }
                throw new Error(errorText);
            }
        }
    }

Maybe you could just rethrow the error below the "if" statement to make sure errors are not muted.

Thanks for bringing this up. I need to do some refactoring around how error handling/propagation works anyways. I will fix this while I am at it 😄

thanks, in my case I had a trailing comma

I just had the same problem. Just a thought: disallow .env-cmdrc w/o a type suffix? At least in that case lint will catch the error for many.

sometime it's work, sometime .... Can i change to older version to fix this issues

I had the same issue and using a single environment is throwing environments.forEach is not a function
TypeError: environments.forEach is not a function
    at Object.getRCFileVars (/Users/yue/Desktop/dev/node_modules/env-cmd/dist/parse-rc-file.js:43:18)
    at async getRCFile (/Users/yue/Desktop/dev/node_modules/env-cmd/dist/get-env-vars.js:65:25)
    at async Object.EnvCmd (/Users/yue/Desktop/dev/node_modules/env-cmd/dist/env-cmd.js:39:15)
    at async Object.CLI (/Users/yue/Desktop/dev/node_modules/env-cmd/dist/env-cmd.js:19:16)

As a workaround for now, I have to -r option to specific which rc file to use and append a trailing comma if using only one environment
for example:
env-cmd -r .env-cmdrc  -e production, node server.js
this project helps me a lot and I really like it. hoping this can be fixed.

any news about this? same issue
My .env-cmdrc.json file looks like
{     "development": {         "REACT_APP_BASE_PAGE_URL": "https://devurl.com"     },     "production": {         "REACT_APP_BASE_PAGE_URL": "https://produrl.com"     } }
script : env-cmd --rc-file ./.env-cmdrc.json -e development, react-scripts build
Error: Error [PathError]: Failed to find .rc file at path: /myfolder/.env-cmdrc.json

I set a custom file like this env-cmd -e development -r .env-cmd.js and it helps me

Hi,
I faced the same error message. The issue was with the incorrect JSON object written in the file. If you have done some typo in .env-cmdrc file you'll get this error message. Typo in the sense missed quotes or colon ... etc.

This confused me because I thought env-cmd couldn't find my configuration file, since that was the only error I saw. It turned out it was an error causing my issue. I'd definitely suggest outputting any errors to the console.

The same error happens when trying to use type: "module" (ES Module) in package.json

The same error happens when trying to use type: "module" (ES Module) in package.json

Here is the error:
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of .env.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
    at Object.getEnvFileVars (/xxx/.pnpm/env-cmd@10.1.0/node_modules/env-cmd/dist/parse-env-file.js:21:33)
    at getEnvFile (/xxx/.pnpm/env-cmd@10.1.0/node_modules/env-cmd/dist/get-env-vars.js:46:48) {
  code: 'ERR_REQUIRE_ESM'
}

The same error happens when trying to use type: "module" (ES Module) in package.json

Here is the error. Need to use a dynamic import in getEnvFileVars.
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of .env.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
    at Object.getEnvFileVars (/xxx/.pnpm/env-cmd@10.1.0/node_modules/env-cmd/dist/parse-env-file.js:21:33)
    at getEnvFile (/xxx/.pnpm/env-cmd@10.1.0/node_modules/env-cmd/dist/get-env-vars.js:46:48) {
  code: 'ERR_REQUIRE_ESM'
}

It seems much more easy and bulletproof to fix the problem with '.cjs' extension, which is done for ENV JS files:  https://github.com/toddbluhm/env-cmd/commit/8d94925a445506aef3bbc1fadbb984c7a98eba0c
I'd like to make similar '.cjs' fix for RC JS file too (now there is no way to make it work in 'type: module' project)

its most likely a syntax error for me my  env-cmdrc had a comma in the last key value pair in the development section.

Any update on this one? No updates from @toddbluhm since 2020 :(
Another situation where this is a problem is when you are returning a promise from .env.js and it throws an error. Like the other situations, it would be much more helpful if the error thrown by the promise was surfaced instead of the "Failed to find .env file" message which is very misleading.

I spent an entire workday working through this issue. My build passed on local Docker but failed with the above error when running in ECR with Argo. Changing this from a .js to .json file fixed this for me. Not sure whether to scream or laugh!!

I apologize I guess this got closed prematurely. I just upgraded the whole project on master to use esm modules. That resulted in showing a lot of issues/errors around .cjs/.mjs/.js/.json files. I believe I have resolved all of those issues and I have some test cases in supporting that resolution, but it wouldn't hurt to have a real-world test case on that just to make sure. I have re-opened this issue and if I don't get any feedback about it still being broken I will re-close this issue.


Restore GoogleTakeOut .mbox file ?

Hey,
It would be very helpful to make a youtube video tutorial on how to restore a .mbox file (GoogleTakeOut file).

Okay :D


layer.data() - Allow outfields

layer.data() returns all data (where 1=1), but it does not allow requesting of outFields, so right now it just returns the ID attribute for each feature. I would like to see an option to define the outFields you want it to return back.

and again, the default should be to return *


train own data with train_one_gpu.py

Hello!
Thanks for you and your teams great work.
I hope I find you well.
When I try to traing MedSAM model with my own 2D data
The error message shows below.
Traceback (most recent call last):
File "/home/chendaxin/slns/MedSAM2/MedSAM/train_one_gpu.py", line 122, in
for step, (image, gt, bboxes, names_temp) in enumerate(tr_dataloader):
File "/home/chendaxin/anaconda3/envs/medsam/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 681, in next
data = self._next_data()
File "/home/chendaxin/anaconda3/envs/medsam/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 721, in _next_data
data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
File "/home/chendaxin/anaconda3/envs/medsam/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/chendaxin/anaconda3/envs/medsam/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/chendaxin/slns/MedSAM2/MedSAM/train_one_gpu.py", line 101, in getitem
y_indices, x_indices = np.where(gt2D > 0)
ValueError: too many values to unpack (expected 2)

Hi @XiaoChenD ,
Sorry for my late reply. We were busy with the CVPR challenge during the past month https://www.codabench.org/competitions/1847/. Finally, it was done last week.
Could you please print the shape of your gt2D variable and its unique values? looks like gt2D was not a 2D array in your dataset.

I've gotten a similar issue when gt2D  has more than 2 dimensions (probably batch dimension in your case). I'm also fine tuning medsam on my own dataset and otherwise have not had issues repurposing traine_one_gpu (except that the GPU I'm using can't fit more than a batch of 3).


Glitch Issue

I love this package very much, but just wondering about glitch issue on mobile.
I have inserted the slider section into iFrame tag for my needs. but there is a glitch on mobile.  All slider images are flickering. could you please help me for this case? For more details, you can check this URL on mobile.
Thanks

Hey @gullocean,
Can you make an example repo of this issue and provide a url to it so we can have a better idea of what you're talking about and could debug the problem?


add sf.firehose.v2.EndpointInfo/Info endpoint and logic

Add sf.firehose.v2.EndpointInfo/Info service on Firehose and Substreams endpoints. This involves the following new flags:

advertise-chain-name Canonical name of the chain, from the list here: https://thegraph.com/docs/en/developing/supported-networks/ (required)
advertise-chain-aliases Alternate names for that chain (optional)
advertise-block-features Only required for ethereum blocks, automatically discovered if run from firehose-ethereum program
advertise-block-id-encoding Required, one of [BLOCK_ID_ENCODING_BASE58, BLOCK_ID_ENCODING_BASE64, BLOCK_ID_ENCODING_HEX, BLOCK_ID_ENCODING_0X_HEX]

The new info endpoint adds a mandatory fetching of the first streamable block on startup, with a failure if no block can be fetched after 3 minutes and you are running firehose or substreams-tier1 service.

Known issue:
if we start firehose + substreams in the same process, I think only one of them will "wait" for the info server to be ready.


Remove: WestWind.MarkdownMonster version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

see https://github.com/RickStrahl/MarkdownMonsterReleases/issues/1


fly --help writes to STDERR, so grepping is weird

I would expect fly --help to not be considered an erroneous use, and I would expect to be able to do something like fly --help | grep container. Because --help writes to STDERR, though, I have to do the unexpected fly --help 2>&1 >/dev/null | grep container.

see also https://github.com/jessevdk/go-flags/issues/194

@vito did something like this sometime ago: https://github.com/cloudfoundry/bosh-cli/blob/master/cmd/factory.go#L86. also added help command while i was there.

Moved to concourse/concourse#1069


Fix path.posix not being available in browsers

path-browserify does not provide a .posix implementation.
Environments without a posix implementation should just use the native implementation.

Looks good to me. Thanks @t-mullen


istio/installer cannot installer policy and telemetry in the same namespace

Attempting to do this gives the (really not useful) error message:
KUBECONFIG=/usr/local/google/home/howardjohn/.kube/kind-config-kind kubectl apply -k 'github.com/howardjohn/istio-installer/test/demo?ref=run-kustomize-on-main'
error: rawResources failed to read Resources: GroupVersionKindName: resid.ResId{gvKind:gvk.Gvk{Group:"config.istio.io", Version:"v1alpha2", Kind:"attributemanifest"}, name:"istioproxy", prefix:"", suffix:"", namespace:"istio-system"} already exists b the map

This is because we try to create the same attributemanifest twice, which kustomize does not like.

Fixed by istio/installer#319


Tag HTTP tests

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is n/a.


Adds TransformEditor

Improved editor for transform component with reset buttons

Thanks for contributing to the library!
However I'm not going to merge in this editor because I'm not a fan of extensions that modify the default editors of built-in components. Given that a number of users bring in UnityToolbag as a submodule (which includes all code), there would be no way for those users to easily disable this without deleting or modifying the code which is less than ideal.

Ok, no worries.
Totally understand why you don't want it.
Just felt like sharing :smile:.
Are there any things you'd like to see added?

Nothing specifically that I can think of. Nobody's asked me for anything at this point either.

I really appreciate this repo and the work you put in.
On Tue, 21 Apr 2015 17:17 Nick Gravelyn<EMAIL_ADDRESS>wrote:

Nothing specifically that I can think of. Nobody's asked me for anything
at this point either.
—
Reply to this email directly or view it on GitHub
https://github.com/nickgravelyn/UnityToolbag/pull/9#issuecomment-94835846
.


CONFIGURATION-822: Fix ambiguity on the section determining

This PR contains small code changes in org.apache.commons.configuration2.INIConfiguration, which will treat inline comments on section declaration line consistently.

Which INI specification are you implementing? AFIK a semicolon for a comment is only legal at the start of a line (https://en.m.wikipedia.org/wiki/INI_file)

Which INI specification are you implementing? AFIK a semicolon for a comment is only legal at the start of a line (https://en.m.wikipedia.org/wiki/INI_file)

FWIW, I think I saw an INI file at $work this week with comments like that. From that Wiki page:

Which INI specification are you implementing? AFIK a semicolon for a comment is only legal at the start of a line (https://en.m.wikipedia.org/wiki/INI_file)

Honestly, none particular.
But @kinow has, IMHO, correctly pointed out, that some implementations allow inline comments.
What should I do in case I have to process INI file with inline comments?
Should I choose an implementation, which allows inline comments?
Or should I reinvent the wheel and implement my own solution?
And is it really correct behavior to refuse section determining, just because it contains inline comment?
But only in case this comment doesn't end with closing square bracket, otherwise the section is determined, however with obviously wrong section name.
I fully understand your concerns, that my proposal could violate backwards compatibility.
How about following solution?
    private boolean inLineCommentsAllowed = false;

    public INIConfiguration(boolean inLineCommentsAllowed) {
        this.inLineCommentsAllowed = inLineCommentsAllowed;
    }

    public INIConfiguration() {
    }

...

Field will be initialized only on instantiation. No setter will be available.
With field set to false will INI file parsing proceed backwards compatible.

It seems, that inline comments are already allowed, however, currently only on value lines.
Tested with e.g.: TestINIConfiguration#testValueWithComment

Codecov Report

Merging #229 (ad5f071) into master (9ac98e7) will increase coverage by 0.00%.
The diff coverage is 85.71%.

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

@@            Coverage Diff            @@
##             master     #229   +/-   ##
=========================================
  Coverage     89.02%   89.03%
- Complexity     3529     3535    +6
=========================================
  Files           183      183
  Lines          9642     9648    +6
  Branches       1196     1197    +1
=========================================
+ Hits           8584     8590    +6
  Misses          777      777
  Partials        281      281

Impacted Files
Coverage Δ

...pache/commons/configuration2/INIConfiguration.java
96.47% <85.71%> (+0.09%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I think I might update the ctor after a merge to be private and use a builder to avoid the proliferation of contructors...

I might update the constructor after a merge to be private and use a builder to avoid the proliferation of constructors...

Thank you for PR accepting.
Builder usage makes sense.


feat: add lemmas about lists

These are 'leftover' lemmas I created while trying to prove
String.splitOn_of_valid. See
https://github.com/leanprover-community/batteries/pull/743.
Co-authored-by: François G. Dorais<EMAIL_ADDRESS>
This is the second version of #987.

awaiting-review


dial udp: address 1004:520:4e42:2000::53:53: too many colons in address

When running: dnsee bschaatsbergen.com
I get the following error: dial udp: address 1004:520:4e42:2000::53:53: too many colons in address

Seems like the issue only appears when querying a DNS server through IPv6.
Will do a more thorough investigation and make a fix.

It is probable that this issue arises because my resolve configuration uses an IPv6 address to issue DNS queries, that already includes ":53." Based on https://github.com/bschaatsbergen/dnsee/blob/main/pkg/core/core.go#L52-L66, it seems that we now always append ":53" to the DNS server IP by default... @mmourick


Change class visibility to public in extensions definition

Short description of what this resolves:
Change class visibility to public in extensions definition so in case of using JUnit rule they can be instantiated as well.
Changes proposed in this pull request:

All NoSQL and REST extensions main class changed visibility to public

This change it is important in case of using @Rule approach since if not done then next exception is thrown:
Caused by: java.lang.IllegalAccessException: Class java.util.ServiceLoader$LazyIterator can not access a member of class org.arquillian.ape.nosql.redis.RedisPopulatorExtension with modifiers ""
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
	at java.lang.Class.newInstance(Class.java:436)
	at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
	... 34 more


ROASTED SWEET POTATO depicts wrong variety of potato

U+1F360 originally depicted やきいも (yaki imo) in the original Japanese emoji. It should depict the Satsuma (Japanese sweet potato) variety, which has a light yellow color flesh. The emoji here depicts the [significantly less tasty] Garnet variety, which is more frequently used in North American cooking.
Put another way, the emoji depicted here would be confusing to Japanese users who have already encoded meaning in content that uses this code point.

I'm having this problem as well. I need the correct potato ASAP.

Any updates?

FIxed in<PHONE_NUMBER>5acbfd84bea131afb78d8032e83806


[BEAM-8337] Fix Flink version munging.

Also exit if parsing fails.

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).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] 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.

Please do this on the master branch, as I run the release scripts from there, and there have been recent relevant changes.


Skip gapic conductor test on Travis

Current coverage is 74.36% (diff: 100%)

No coverage report found for master at f2ff73d.

Powered by Codecov. Last update f2ff73d...9e6db8c


docs: Update links to new "Reverse proxies" page.

Following up on #28969, this PR updates outdated links to new Reverse proxies documentation page.

@zulipbot add "integration review"

Merged, thanks @drrosa!


Implement constrained evolution for safety experiments

I.e. implement the capabilities from SafeAgents, but with MPI support and other bevodevo patterns.

added in pull request #6 ede797e


Is it possible to run the script without the data-paroller-factor attribute?

I need to set the parallax effect for the block (created in the page builder), in the settings of which it is not possible to add additional attributes.
Can I somehow make the script work using only the class?

I have the same issue. I am using a page builder in wordpress (Divi) that does not allow to add data attributes. Adding data attributes with jQuery does not seem to be recognised by the plugin. When I add a custom div with the data attributes already in there it works fine.
It would be great to initialise the plugin just by class or id instead of needing to add the data attribute. This would also make sense, as the data attribute setting can be defined in the initialisation, if I understand this right.

Support added in this PR: https://github.com/tgomilar/paroller.js/pull/18


Memory leak on simple_performance

This should be fixed by e9d0513.

@YuanYuYuan  Can we close this now? I suppose it was already fixed.

Yes, let's close this.


How can I add new social media icon?

I find there are icon attributes in social.toml, but I don't know how to add new icon

In the theme we are using Bootstrap Icons. You can find out the icons you require from the site and add in the social.toml


Why I'm getting ts error "Cannot find module '@danielsharkov/svelte-router/Viewport' or its corresponding type declarations.ts(2307)"in the VSCode?

Why I'm getting ts error "Cannot find module '@danielsharkov/svelte-router/Viewport' or its corresponding type declarations.ts(2307)"in the VSCode?

It seems the documentation is wrong, it should be @danielsharkov/svelte-router/src/Viewport.svelte.

It seems the documentation is wrong, it should be @danielsharkov/svelte-router/src/Viewport.svelte.

I tried it, it still didn't work.

But thank you still for your reply.


Editing longest line repaints entire editor

The entire editor area repaints on every keystroke when the cursor is on the longest line in the file.
Not sure if this can be avoided since I assume it is updating some width calculation.

/cc @nathansobo we talked briefly about this and thought initially it was an issue when editing the first line but it appears to be related to longest line editing.

Is this still an issue?

Not sure. I'll check real quick. The tiled rendering that's about to land should shift the landscape pretty significantly.

Somewhere along the way this got fixed. Hurray for accidental improvement.


fix: Verify pod result

Improved logging
Fix inspection warnings

/approve

"Pod was terminated in response to imminent node shutdown."
/retest


FFI benchmark seems to have flaky? crash on ia32

From this log:
# Command: out/ReleaseIA32/dart benchmarks/FfiCall/dart/FfiCall.dart
FfiCall.Uint8x01(RunTime):<PHONE_NUMBER>473242 us.
FfiCall.Uint16x01(RunTime):<PHONE_NUMBER>752219 us.
FfiCall.Uint32x01(RunTime):<PHONE_NUMBER>3731757 us.
FfiCall.Uint64x01(RunTime):<PHONE_NUMBER>3725264 us.
FfiCall.Int8x01(RunTime):<PHONE_NUMBER>080953 us.
FfiCall.Int16x01(RunTime):<PHONE_NUMBER>91823 us.
FfiCall.Int32x01(RunTime):<PHONE_NUMBER>216306 us.
FfiCall.Int32x02(RunTime):<PHONE_NUMBER>435572 us.
FfiCall.Int32x04(RunTime):<PHONE_NUMBER>9743544 us.
FfiCall.Int32x10(RunTime):<PHONE_NUMBER>9044957 us.
FfiCall.Int32x20(RunTime): 640.06368 us.
FfiCall.Int64x01(RunTime):<PHONE_NUMBER>448322 us.
FfiCall.Int64x02(RunTime):<PHONE_NUMBER>361027 us.
FfiCall.Int64x04(RunTime):<PHONE_NUMBER>522144 us.
FfiCall.Int64x10(RunTime):<PHONE_NUMBER>212556 us.

===== CRASH =====
si_signo=Segmentation fault(11), si_code=2, si_addr=0xf5ca141f
version=2.5.0-edge.d6e9e15cf1ba8a2a87d7fda00faa1704285c76c3 (Tue Jul 30 09:13:37 2019 +0000) on "linux_ia32"
thread=26488, isolate=main(0x2ef8700)
  pc 0xf5ca141f fp 0xf7a3ec04 Unknown symbol
  pc 0xf5ca13f8 fp 0xf7a3ecb4 Unknown symbol
  pc 0xf5ca1796 fp 0xf7a3ed20 Unknown symbol
  pc 0xf5ca18e5 fp 0xf7a3ed38 Unknown symbol
  pc 0xf5c8c67a fp 0xf7a3ed50 Unknown symbol
  pc 0xf5c8c505 fp 0xf7a3ed6c Unknown symbol
  pc 0xf5c8ecc0 fp 0xf7a3ed8c Unknown symbol
  pc 0xf6fe73d4 fp 0xf7a3eda8 Unknown symbol
  pc 0xf6fe7147 fp 0xf7a3edc4 Unknown symbol
  pc 0xf6fe69ae fp 0xf7a3ede0 Unknown symbol
  pc 0xf6fe66cc fp 0xf7a3ee04 Unknown symbol
  pc 0xf6fe64fa fp 0xf7a3ee20 Unknown symbol
  pc 0xf6fe563b fp 0xf7a3ee38 Unknown symbol
  pc 0xf6fe5535 fp 0xf7a3ee4c Unknown symbol
  pc 0xf6fe49ed fp 0xf7a3ee68 Unknown symbol
  pc 0xf6fc85b8 fp 0xf7a3ee80 Unknown symbol
  pc 0xf6fe473b fp 0xf7a3ee98 Unknown symbol
  pc 0xf7a40c4d fp 0xf7a3eec4 Unknown symbol
  pc 0x0190c487 fp 0xf7a3ef38 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned int)
  pc 0x0190c0b4 fp 0xf7a3ef78 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&)
  pc 0x0190f1ba fp 0xf7a3efb8 dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
  pc 0x01942f73 fp 0xf7a3f0e8 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)
  pc 0x0196ff35 fp 0xf7a3f138 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
  pc 0x019707a1 fp 0xf7a3f198 dart::MessageHandler::TaskCallback()
  pc 0x01970ef7 fp 0xf7a3f1b8 out/ReleaseIA32/dart+0x1570ef7
  pc 0x01a8ad81 fp 0xf7a3f1f8 dart::ThreadPool::Worker::Loop()
  pc 0x01a8ac27 fp 0xf7a3f228 dart::ThreadPool::Worker::Main(unsigned int)
  pc 0x019fd6b4 fp 0xf7a3f2e8 out/ReleaseIA32/dart+0x15fd6b4
  pc 0xf7f99295 fp 0xf7a3f3a8 /lib/i386-linux-gnu/libpthread.so.0+0x6295
-- End of DumpStackTrace

@sjindel-google Could you take a look?

I can't reproduce this issue, but it's very likely caused by https://github.com/dart-lang/sdk/issues/37629, since it showed up on IA32, where write-protection is enabled by default but dual-mapping is not supported.
I'm going to close the issue optimistically, since we can't easily query Golem to find out whether the flakes have stopped entirely. It hasn't failed in the last 6 hours (> 500 runs).


AttributeError: Can't get attribute 'Individual' on

#24
still have the problem
Traceback (most recent call last):
File "C:\Users\uesr\Anaconda3\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
File "C:\Users\uesr\Anaconda3\lib\multiprocessing\process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\uesr\Anaconda3\lib\multiprocessing\pool.py", line 108, in worker
task = get()
File "C:\Users\uesr\Anaconda3\lib\multiprocessing\queues.py", line 337, in get
return _ForkingPickler.loads(res)
AttributeError: Can't get attribute 'Individual' on <module 'deap.creator' from 'C:\Users\uesr\Anaconda3\lib\site-packages\deap\creator.py'>
package version:
deap-1.2.2
sklearn-deap-0.2.2

I have the same problem:

Process SpawnPoolWorker-9:
Traceback (most recent call last):
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\pool.py", line 108, in worker
    task = get()
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\queues.py", line 337, in get
    return _ForkingPickler.loads(res)
AttributeError: Can't get attribute 'Individual' on <module 'deap.creator' from 'C:\\Users\\Omar\\AppData\\Local\\conda\\conda\\envs\\tensor19\\lib\\site-packages\\deap\\creator.py'>
(array([0, 1, 2, 3]), array([3064, 3064, 3064, 3064], dtype=int64))
Process SpawnPoolWorker-10:
Traceback (most recent call last):
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\process.py", line 258, in _bootstrap
    self.run()
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\pool.py", line 108, in worker
    task = get()
  File "C:\Users\Omar\AppData\Local\conda\conda\envs\tensor19\lib\multiprocessing\queues.py", line 337, in get
    return _ForkingPickler.loads(res)
AttributeError: Can't get attribute 'Individual' on <module 'deap.creator' from 'C:\\Users\\Omar\\AppData\\Local\\conda\\conda\\envs\\tensor19\\lib\\site-packages\\deap\\creator.py'>

code only works with 1 worker :(

This seems to be a bug of the deap library. There is a similar issue here: https://github.com/DEAP/deap/issues/268
I linux I didn't have any problems running many workers and I don't have a windows environment to test it on, sorry.

I've seen this issue recently. I dont have time to fix it at the moment, but there are some tricks to making it work in the comments of my code in the project. Has to do with defining some attributes ahead of time before calling run. But if that doesnt work for anyone, I think it would be worth having a windows dev debug and write instructions on the process. This is a small codebase, very open and accessible to outside contributions.

I am using deap. I encountered the exact same issue and made it work by following exactly as the example mentioned https://github.com/DEAP/deap/blob/master/examples/ga/onemax_mp.py.
Make sure the toolbox.register comes before the if name == 'main' and pool=multiprocessing.Pool(processes=4) comes after if name == 'main'.

I was running into this error when trying to use joblib to run predict on a model generated with sklearn-deap (EvolutionaryAlgorithmSearchCV to be exact). I was able to solve it by following the examples on this page: https://joblib.readthedocs.io/en/latest/auto_examples/serialization_and_wrappers.html
In particular, wrapping my joblib code in with parallel_backend('multiprocessing'): solved it for me. By the looks of it this only works on UNIX systems, but some of the other solutions discussed on that page might work on Windows as well.


pcm-latency / PCM Error: someone has corrupted custom counter

@opcm - thanks for the rapid fix for the pcm-memory issue.
I suspect that there is a somewhat similar issue with pcm-latency:
[vastdata@HW-Vlad pcm]$ sudo ./pcm-latency.x
Number of physical cores: 16
Number of logical cores: 16
Number of online logical cores: 16
Threads (logical cores) per physical core: 1
Num sockets: 2
Physical cores per socket: 8
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 8
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency:<PHONE_NUMBER> Hz
Package thermal spec power: 85 Watt; Package minimum power: 44 Watt; Package maximum power: 170 Watt;
Socket 0: 2 memory controllers detected with total number of 5 channels. 2 QPI ports detected. 0 M2M (mesh to memory) blocks detected.
Socket 1: 2 memory controllers detected with total number of 5 channels. 2 QPI ports detected. 0 M2M (mesh to memory) blocks detected.

 Processor Counter Monitor  ($Format:%ci ID=%h$)

 This utility measures Latency information

 Zeroed PMU registers
Trying to use Linux perf events...
Successfully programmed on-core PMU using Linux perf
Socket 0
Max QPI link 0 speed: 12.8 GBytes/second (6.4 GT/second)
Max QPI link 1 speed: 12.8 GBytes/second (6.4 GT/second)
Socket 1
Max QPI link 0 speed: 12.8 GBytes/second (6.4 GT/second)
Max QPI link 1 speed: 12.8 GBytes/second (6.4 GT/second)

Detected Intel(R) Xeon(R) CPU E5-2609 v4 @ 1.70GHz "Intel(r) microarchitecture codename Broadwell-EP/EX" stepping 1 microcode level 0xb00001d
PCM Error: someone has corrupted custom counter 0PCM Error: someone has corrupted custom counter 0 on core 6 expected value  on core 7PCM Error: someone has corrupted custom counter PCM Error: someone has corrupted custom counter 0 on core 3 expected value PCM Error: someone has corrupted custom counter 0 on core 4 expected value 430148 value read 0430148 value read 0
PCM Error: someone has corrupted custom counter 0 on core
PCM Error: someone has corrupted custom counter 0 on core 0 on core 0PCM Error: someone has corrupted custom counter 0 on core 8 expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 1PCM Error: someone has corrupted custom counter e expected value  expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 0 expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 1 on core 7 expected value 4348d1 value read 0
PCM Error: someone has corrupted custom counter PCM Error: someone has corrupted custom counter 0 on core  expected value PCM Error: someone has corrupted custom counter 0 on core b430148 value read 0
PCM Error: someone has corrupted custom counter 1 on core 6 expected value 4348d1 value read 0
PCM Error: someone has corrupted custom counter 0 on core 2PCM Error: someone has corrupted custom counter 0 on core a expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 1 on core a expected value 4348d1 value read 0
1 on core PCM Error: someone has corrupted custom counter 0 on core c expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 1 on core c expected value 4348d1 value read 0
 expected value 430148 value read 0430148 value read PCM Error: someone has corrupted custom counter 9 expected value 430148 value read 0
PCM Error: someone has corrupted custom counter 11 on core 8 expected value 4348d1 value read 0PCM Error: someone has corrupted custom counter  on core f expected value 430148 value read 0310 on core d expected value 430148 value read 0 expected value 4348d1 value read 0

Let me know if additional dumps could help.
Dan

does the issue disappear if you comment out CXXFLAGS += -DPCM_USE_PERF in the Makefile?

closing because it is a duplicate


secret.env values are inconsistent in dev/prod when using quotes

This happens because the secrets.env file is parsed without evaluating it during bb dev, which means the usual Bash syntax is ignored. In prod, the file evaluated with . secrets.env so the quotes are handled properly.
https://github.com/jacobobryant/biff/blob/aeb52b388f551bb29b52b1af3345118cc0db7ec3/tasks/src/com/biffweb/tasks.clj#L139-L151
# secrets.env

export JDBC_PASSWORD=foo&bar
# Results (EDN):
#   bb dev:    "foo&bar"
#   bb deploy: "foo"

export JDBC_PASSWORD='foo&bar'
# Results (EDN):
#   bb dev:    "'foo&bar'"
#   bb deploy: "foo&bar"

One thought I had while debugging this: I'd rather use a secrets.edn file than a secrets.env file, which would eliminate this escaping problem for Biff users. If actual env variables are needed in prod, it seems simpler to generate these export statements from secrets.edn rather than going the other way around and parsing the secrets.env file in dev.

My temporary workaround to fix quoting in secrets.env: https://github.com/jacobobryant/biff/commit/1c61f48291140699f4dc3643acc1fd8d45a95428
Example of using secrets.edn instead of secrets.env: https://github.com/jacobobryant/biff/commit/11ccb370c76fcf1e707bae95dbb3f1d050e92c55
I updated the existing code in-place but it could be made backwards-compatible.

This would be good to fix, one way or the other. I might need to think about this for a bit. Initial thoughts off the top of my head:

A benefit of using env vars for secrets is that it's compatible with various secret management tools which expose secrets via env vars. Not a factor if you're just following the default path of deploying to a digitalocean droplet, but it's relevant if you're deploying on e.g. fly/kubernetes/whatever. For non-secret config it's less important imo, you can always just add config.edn to git and call it a day.
Given that, I think it's most straightforward if the default place to store secrets is in an env/bash file. Otherwise there's a bit of weirdness around non-string types, which you can have in a secrets.edn file but not a secrets.env file. Whether or not this is a huge deal, idk, but something to think about.
Oh, and same goes for the keys--SOME_SECRET VS :some-secret
I think we can reliably "parse" the env var values out of secrets.env if we lean more on the shell. The following seems to work, perhaps we can just replace the secrets fn with that?

(defn secrets []
  (when (fs/exists? "secrets.env")
    (->> (sh/sh "sh" "-c" ". ./secrets.env; printenv")
         :out
         str/split-lines
         (map #(vec (str/split % #"=" 2)))
         (into {}))))

I use aero for this for deploying on fly.
(defn get-config [system]
  (let [profile (if (= (System/getenv "BIFF_ENV") "prod") :prod :dev)
        config (io/resource "config.edn")]
    (-> config
        (read-config {:profile profile})
        (merge system {:development/profile profile}))))

(defn secret-hack
  "Replace biff's `secret` fn with a map of the keys it looks for."
  [system]
  (->> [:biff/jwt-secret
        :biff.middleware/cookie-secret
        :postmark/api-key
        :biff.xtdb.jdbc/password]
       (select-keys system)
       (assoc system :biff/secret)))

(def components
  [get-config
   secret-hack
   ;; ...
  ]
)

Then I have a config.edn in resources:
{:biff/port 8080
 :biff/host "<IP_ADDRESS>"
 :biff/base-url #profile {:dev "http://localhost:8080"
                          :prod "https://cerni.io"}

 :biff/beholder-enabled #profile {:dev true
                                  :prod false}

 :biff.xtdb/dir #profile{:dev "storage/xtdb"}

 :biff.xtdb/topology #profile {:dev :standalone
                               :prod :jdbc}

 :biff.xtdb.jdbc/user "postgres"
 :biff.xtdb.jdbc/password #profile {:dev "postgres"
                                    :prod #env "JDBC_PASSWORD"}
;; etc
}

I deploy using fly and it works well. Just set the secrets with fly secrets set.

@LucianoLaratelli Nice 🙂. How do you set secrets in dev? secrets.env as provided by biff, or something else?

I've pushed a commit to the dev branch that replaces com.biffweb.tasks/secrets with this implementation. I'll probably merge that to master in a few days. In the mean time you can try it out by updating your biff dependency in tasks/deps.edn to the following:
com.biffweb/tasks {:git/url "https://github.com/jacobobryant/biff" :deps/root "tasks" :sha "690532c82e09481103ae75520e78f50519f8059b"}

This will at least fix the immediate problem of e.g. export FOO="BAR" resulting in (System/getenv "FOO") => "\"BAR\""), without requiring any configuration format changes on the user's end. Whether or not Biff should switch to using a secrets.edn file and/or Aero can always be discussed separately. My current thought is that I think the current system works well enough (at least now it should with this bug fix in place!), but I'm open to having additional thoughts. Also both of these (using a secrets.edn file/using Aero) would make for nice additions to the content library if either of you wanted to put them in gist form.

@LucianoLaratelli Nice 🙂. How do you set/load secrets in dev? secrets.env as provided by biff, or something else?

I have them hardcoded in the config. So I generated a separate set of cookie secret, JWT secret, etc., for dev with bb generate-secrets or as appropriate for DB etc.

additions to the content library

Sure, sounds good! Will put a draft together, good suggestion.

@jacobobryant: Works for me, thanks for the fix!

This is on master now: https://github.com/jacobobryant/biff/releases/tag/v0.7.9


Feature/acm integration

Issue #, if available: 35
Description of changes:
Refactored to allow cross stack resource providers to be leveraged. Support for certificate provider in NGINX add-on. Fixed  a couple of defects (nginx failing, improper handling of generic values.)
Note: There is a defect on CDK certificate when used in environment with multiple stacks. I will need to create it (create a reproducible snippet) but before I do that I will need to upgrade CDK and make it is not already solved.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Nginx blueprint will be submitted to the patterns repo.

/do-e2e-tests


"Buzz" intake on ready

plz accept

Also I wonder if you can cancel the whole operation if it stalls, but with such a low time it takes in it's probably fine


[attributed_text] Add a copy() method for AttributedText

#1909
Added a copy() method for AttributedText to facilitate copying for mutation.

I have added the appropriate tests for the copy method. Let me know if there are any more changes!

I have updated the tests as per your comments. Please review.

@angelosilvestre can you cherry pick this?


Enforce 2DP when printing summary

Fixes Issue #578
There are currently a lot of broken tests on this branch.  These changes don't break any more tests, but once they're sorted out they may need further fixes for this stuff
I searched for all instances of print_summary - if they're named anything else I will have missed them

lgtm! I had to make some small edits to resolve conflicts (I was just working on a similar part) - thanks!


Continuous measurement

One possible change that could be considered ideal but would contribute to increased redundancy is to effect the expt.key value saving for datapoints in its own unique function. This might make pyscan more robust/extendable for other experiments, such as sparse sweep, or others; however, would require duplicate code for determining if the expt is continuous or not.
Alternatively, we could assign expt.runinfo a continuous attribute/@property that is only true if there is a continuous scan; however, duplicate code would still be required to capture run count and stop condition, unless these are also assigned as runinfo attributes/properties.

Bug found where continuous scan saving protocol impacted. Won't save half of the data. Was working on the commit from August 12th: f9cca3fa85e307a9d30981401d6490998abed3a9.

Was working on August 22nd commit: 14f246504be69e4b85ae59d87708cf19c8530cc1.

Was working on commit: b759498fbea0d6b25af74905eb7a898b4ca785de

Broke from commit: 35a8e029902b0f0aeebb7b48eabb3334dcf73695

for continuous_dims have saved attribute be _continuous_dims.                                                             Addressed
same for n_continuous_dims                                                                                Addressed
update averageexpeirment or assert that it does not use coninuous                                                       Addressed
Can you have an empty property scan between other scans test, maybe different pull request             Addressed
Continuous scan: run_count should be i, both i and n increment, stop_at should be n_max                   Addressed
In future, we should just have an error for legacy Sweep and scan nomenclature.                                  Addressed


Error on Incremental Cron Jobs

What happened?:
When attempting to run an Incremental Cron Job, I'm getting this error
"failed to process datum with error: error getting parent for datum [file_info:<file:<commit:<repo:<name:\"mapr-scraper_input\" > id:\"fd1d084701284c10945615e06f6c6f34\" > path:\"/time\" > file_type:FILE size_bytes:26 hash:\"\\237\\275\\373un\\201\\334<_\\255\\373\\324i\\2632\\342\\254\\307\\340Dw\\2250\\025\\371\\346\\322\\030Cu\\266\\020\" > parent_commit:<repo:<name:\"mapr-scraper_input\" > id:\"314acd04f65d46f08dc249a2b50ee324\" > name:\"input\" branch:\"master\" ]: tagGetter: tag 159f1a93cd1af769ce2fd5bbd31edbab689cd82ee0961f60c67639d109398103fc2a not found"

What you expected to happen?:
The non-incremental cron job works fine but the incremental version of the same pipeline fails
How to reproduce it (as minimally and precisely as possible)?:
On our cluster - running any incremental cron job
example pipeline config
{
  "pipeline": {
    "name": "mapr-scraper"
  },
  "transform": {
    "cmd": [
      "curl https://raw.githubusercontent.com/pachyderm/pachyderm/master/doc/examples/word_count/Dockerfile > file_$(date +%s)"
    ]
  },
  "egress": {
    "URL": "s3://btn-pachyderm-staging-egress/mapreduce/scraper_out"
  },
  "input": {
    "cron": {
      "name": "input",
      "spec": "@every 30s"
    }
  },
  "incremental": true
}

Anything else we need to know?:
the DL and UL of the incremental cron job is always 0B even though the DL of the non-incremental cron job seems to be 26B (or something to indicate the time file was downloaded)
DL       UL       STATE
0B       0B       failure

Environment?:

Kubernetes version (use kubectl version): v1.8.6
Pachyderm CLI version (use pachctl version): 1.6.7
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): AWS
OS (e.g. from /etc/os-release):
Others:

Thanks for this info @jiaqi216. I seem to remember from Slack that you also tried this with 1.7.0rc, but that didn't solve the problem. Can you confirm?

I did not try this in 1.7.0rc. I encountered this issue with
COMPONENT           VERSION
pachctl             1.6.9
pachd               1.6.9

and
COMPONENT           VERSION
pachctl             1.6.9
pachd               1.6.7

@jiaqi216 Are you able to try this on 1.7.0rc2? I only mention this because the commit structure for jobs changed somewhat in 1.7, and this could be a non-issue. Just want to confirm. I was running 1.7.0rc2 when I tried to reproduce, and I didn't see the issue.

@dwhitena do you mean 1.7 for the pachd version or pachctl version?

@jiaqi216 Both should match, so you would need to do the following (if possible, depending on what you need to save from the cluster etc.):

undeploy your 1.6.x cluster with pachctl undeploy
upgrade pachctl to 1.7.0rc2
deploy a 1.7.0rc2 cluster with the upgraded pachctl
Try the pipeline again.

You will also be able to migrate automatically without the undeploy for the actual 1.7.0 release, but the above would be what you should do for now with the RC.

We no longer have incremental pipelines so there's no way we can repro this issue. I addition most of the underlying code has been rewritten since 1.6 so it's unlikely that the bug is still there in a form similar to what's described here. Closing this, feel free to reopen if you're hit something similar to this again.


Full pipeline

Merge Full pipeline into main
changes:

Changed file structure for pose estimator
Updated read me
added requirements.txt file
added to inference_image.py
changed certain imports and dependancies
renamed utils to src to import conflicts
deleted mano_v1_2 (should be in its own repository)

LGTM


Setup nativeX announcement placement & dynamic site-menu positioner.

Working Example:

Examples with truncation working:

 Announcement block


Sinatra example

This example is great! How do you verify it?

check out the branch, run it (after following its README instructions), and visit the page! if you log in with patreon and it shows your deets (and your pledge if you have one), then it's good :D


Set price to 10 for all products

This sets the price for all products to 10. We discussed this change with Rainer a few days ago.
//cc @KBorchar @frederike-ramin

I spoke with Rainer again and we decided to not make this the default.

Every team is encouraged but not forced to test different settings.
PS: Note, the deadline for your merchant and your documentation is soon (Sep 15). Best, Rainer


Attempts must be max_retries + 1

When the user sets the argument max_query_error_retries he
is defining how many retries to do in case of a failure.
0 means no retries at all (so 1 attempt), 1 means one
retry (so up to 2 attempts) and so on. Retrying module
was not being configured properly then.

Makes sense, thanks @ivanprado!

Makes sense, thanks @ivanprado!


EDIT: Solved, user error. --- No styles output in snapshot

EDIT:
After creating a new example project from scratch, this library works as expected.
Sorry for the confusion, please delete/close this issue.
I've used the following package.json to get everything up and running:
{
  "name": "jest-glamor-react-example",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "jest"
  },
  "author": "",
  "license": "UNLICENSED",
  "devDependencies": {
    "babel-jest": "^20.0.0",
    "babel-preset-env": "^1.4.0",
    "babel-preset-react": "^6.24.1",
    "glamor": "^2.20.25",
    "jest": "^20.0.0",
    "jest-glamor-react": "^1.3.0",
    "react": "^15.5.4",
    "react-dom": "^15.5.4",
    "react-test-renderer": "^15.5.4"
  }
}

With the following .babelrc file:
{
	"presets": [
		["env", {
			"targets": {
				"node": 7
			}
		}],
		"react"
	]
}

I then added a file in test/Example.test.js with the contents of the example in the README.md.
Then running npm t creates the snapshot with the style rules in them as expected.
Again, thanks for this!

Glad you got it working!


Placeholder text left in release notes

Release Type: Official Release
Version: Version number <IP_ADDRESS>7
Platform(s): Windows, probably others too
Describe the bug
The release notes say "X contributions from over Y amazing contributors"

We will be updating the docs shortly as @tebjan is working on some updates.


bug(cdkScrollable): Drag horizontal scrolling with cdkDropList item and cdkScrollable not working when dir = RTL

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I'm trying to provide horizontal scrolling while dragging a cdkDropList item with cdkScrollable. As of right now the page can't scroll with dir='rtl' (hebrew language).
Note: Works fine with dir='ltr'
Is there a way i can improve this
Reproduction
My html code:

                            {{ board.status }}

                        <order-card *ngFor="let order of board.orders" [order]="order" [cdkDragData]="order" cdkDrag (cdkDragStarted)="dragStarted($event)" (cdkDragEnded)="dragEnded()"> </order-card>

Expected Behavior
I'm expecting horizontal scrolling while dragging a cdkDropList item with cdkScrollable when dir='rtl' (hebrew language).
Actual Behavior
I'm trying to provide horizontal scrolling while dragging a cdkDropList item with cdkScrollable. As of right now the page can't scroll with dir='rtl' (hebrew language).
Environment

Angular: 14.2.0
CDK/Material: 14.2.7
Browser(s): Chrome Version 120.0.6099.129 (Official Build) (64-bit)
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 64-bit

Hi @crisbeto , when will there be a patch for version 14?
Thanks.

There won't be because v14 is outside of our LTS policy. Also we generally don't backport fixes like this.

I'm sorry, because I see version 14 is LTS

That's just the name of the release tag. LTS versions go back one year as per the version policy: https://angular.io/guide/releases#support-window. Worth noting that even if v14 was in LTS, this fix likely wouldn't have been backported since it isn't particularly severe.


When running a job via redis queue on a separate instance, I get The script tried to execute a method or access a property of an incomplete object.

Laravel Version: 5.8
PHP Version: 7.3.9
Database Driver & Version: Mysql 8, Redis 4.0.9

Description:
Similar questions were asked and answered previously on both this repository and other forums such as stack overflow.(#29459, #15784) I was able to mitigate the issue I was facing but I don't get why my first approach is not working as expected, Also I have asked the same question on Stack overflow, which didn't gain any traction so far.
Issue I am facing

Symfony\Component\Debug\Exception\FatalErrorException is_callable():
The script tried to execute a method or access a property of an
incomplete object. Please ensure that the class definition
"App\Modules\Birthday\Jobs\SendBirthdayRemainders" of the object
you are trying to operate on was loaded before unserialize() gets
called or provide an autoloader to load the class definition

This is the error I get when trying to run the following job in my production server where I have a separate Redis server acts as a queue. But in local (both Redis and PHP lives in the same VM - homestead) there was no error at all.
class SendBirthdayRemainders implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;

    public function handle()
    {
        Kid::whereDate('date_of_birth', today())
          ->get()
          ->map(function ($kid) {
             $kid->parent->notify(new BirthdayNotification($kid));
          });
    }
}

I changed the handle() function to the following by splitting the logic to two statements and it started working properly in production :()
$kids = Kid::whereDate('date_of_birth', today())
            ->get();

$kids->map(function ($kid) {
    $kid->parent->notify(new BirthdayNotification($kid));
});

I'd appreciate if anyone can shed some light to why this error happens.

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so.
Thanks!


Problem on openshift

It seems that many things are missing

Just out of interest. You mean this Openshift?

yes

I think that you need to setup your Ghost background/avatar.
I'm close that because is not a real issue related with the project but feel free to reply.


No error logging when dlq is enabled

I recently turned on a dead letter queue in my Spring Cloud Stream application. Whenever there is an error while processing incoming messages the failed messages are moved to the DLQ. This works fine.
However, the exception that caused the message to be forwarded to the DLQ is not logged.
Starting on line 279 in class org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder line, an error handler is set that does the forwarding to the DLQ. But it does not log out the exception.
In my particular case, the error was not due to a faulty message but a bad SQL for saving the message to a database. The exception was lost and it took me quite some time to trace the problem.
I would suggest to log the exception at this point. I am happy to provide a PR in case you agree.
Please provide feedback.
Thanks.
Tom

Thanks Tom for the feedback - we will want to address this issue, together the more complex issue of error handling as part of #913 (PR #926) (including enhancing the DLQ error message) - does that solve your use case?

I reviewed the ticket and the PR but I did not completely get what you are trying to do. Is there a more elaborate description available?

To follow up and confirm if the new error handling in 1.3 is addressing this.

Note: this no longer applies in 1.3, since this PR publishes errors to the global error channel, which has a logging channel adapter subscribed (by default); plus users can subscribe to the global or destination error channel.
Changed milestone to 1.2.2 for fixing in the 1.2.x branch.


update iot hub index to version 0.10.6

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it mcr.microsoft.com/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/YingXue/azure-cli-extensions.git@ying/updateIndexForIot#subdirectory=src/$EXT&egg=$EXT"


Suggestion

Add rename pseudo for vanish

I'm not sure what you mean, can you explain?

I think they meant "rename the vanish command to pseudo" or maybe add another alias, which is odd considering that there's already a /v
its much more shorter, but oh well

Your right, there is another vanish plugin. From my stand point nobody uses the original Vanish plugin because it’s just a invisibility potion 😂 I don’t see the point in renaming the command to something so unrelated to the plugin.


Revokign a existing using cert making other cert disable too

Hi,
I've found something by using your script. After adding one or many users with your scripts; when I try to revoke a existing user; it revoke him but also make all other cert unaivalable to use. Any other cert remaining on the current server are like "disabled" and even deleting all cert and re-making them one by one doesn't func...
[French]
Bonjour;
J'ai vu en utilisant ton script et après avoir ajouter plusieurs utilisateurs; que lorsqu'on en revoke un seul, tous les autres cert sont unitilsables... Plus aucun ne marche peut importe la configuration :(
Même en supprimant toutes les cert et en les re-créant; cela ne marche pas...
PS : J'attend impatiemment la màj pour OpenVPN 2.4.0 pour Debian et les DNS locaux 👍

Solved by myself adding : chown nobody:nogroup /etc/openvpn/crl.pem
In the step when revoking a user cert; like idk why it wasn't func on my server if other do 👎

Was it on your side or is it a script's bug ?

Apparently it is a script's bug https://github.com/Angristan/OpenVPN-install/issues/32

Hi.
I turns out that when revoking a client, script manipulates a crl.pem file - and it gives it wrong permissions of being readable only by the owner.
I added read permission for the group and others (as per dh.pem) and it went through.
I noticed it after reading through a syslog and a line:
ovpn-server[3668]: xxx.xx.xx.xxxx:3987 CRL: cannot read: crl.pem
Perhaps the script needs setting the umask at some point?


Qingwei/add subscribe flag

Coverage increased (+0.04%) to 86.901% when pulling 1a02ebb0c8cc8200e1325c386c77cadf16ef8fe3 on qingweibinary:qingwei/add_subscribe_flag into 9f58072b4062e8d077cafb7ca46b7063078069f0 on binary-com:master.


Init horizontal filtered on load

After https://github.com/jazzband/django-smart-selects/pull/273 was merged, in latest django (3.0.6) I'm not getting any events fired in bindfields.js when using ManyToMany fields with horizontal=True. This is because the initItem is not called on .filtered class on load

Duplicate of https://github.com/jazzband/django-smart-selects/pull/271


database export as starter kit

Hi Tania, first of all: very very nice theme.
I'd love to use it as the parent theme on my personal blog as well and support the development providing you pull requests every time I produce something cool on it. But, to do so, it would be great:

that the style.css had a new (minor) version any time the theme changes
to have an export of the current database already filled with some contents

Hope you're doin' well,
M

To be honest, I think the best idea would be for me to make a new theme focusing on simplicity for others to use for their own personal blogs. This one has too many references to me, and me-specific things, and I haven't even integrated the menu into WordPress out of laziness. You've given me an idea, so I'll work on it and make a new open source theme.

Magnificence brings more magnificence! Let me know something so, can't wait for it!
I renew my availability to contribute in the future.
Cheers,


Clarify which NUnit Extension

There are two NUnit Test Runners in the extensions list, only one works
to load the tests.

@fhilton Thanks for updating that and making a contribution to the project.

@BillWagner sure thing.  I'm getting setup for the codeathon next month in Boston :)


The tool should organize its entries in /tmp better.

It is a slight overestimate, but currently, the tool could create up to 17 entries in the system temporary directory. Some of these have similar names---there are two called 'flutter_tools' and one called 'flutter_tool'---and they have different purposes.
The tool should aim to create a single entry in the system temporary directory, with different parts of the tool using distinctly named subdirectories of this single entry.

As an addendum to this, a centralized temp directory service in the tool could cleanly delete temp directory entries if the tool is killed. See: https://github.com/flutter/flutter/issues/55168

Fixed by https://github.com/flutter/flutter/pull/55513


Remove hardcoded IDs

For some reason it also added 3 funcs in imgui:
2024-12-22 12:20:49	[INFO]:	Convert progress: 4585/4743 (96.67%)

now:
2024-12-22 12:21:03	[INFO]:	Convert progress: 4588/4743 (96.73%)

also: potentially a breaking change but not because I've modified a concepto of something but because there was a bug causing that there still were some []slices instead of *pointers as arguments.


ci: improve speeds

#750  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Spring database back-end integration creates, but doesn't renew, credentials.

Describe the issue
To Reproduce
Steps to reproduce the behavior:

Follow example in Vault docs to set up a DB config and role. We used the mysql-legacy plugin for shorter usernames.
Create Spring Boot application with spring.cloud.vault.database.config integration (version 2.0.1.RELEASE)
Bootstrap the application to hit the database/creds/our-role endpoint
Interact with DB via application to show credential creation at startup is working
When TTL approaches tail logs, watch 403 forbidden response to lease renewal request

Expected behavior
For the lease to be renewed
Environment:

Vault Server Version (retrieve with vault status): 0.10.4
Vault CLI Version (retrieve with vault version): 0.10.3
Server Operating System/Architecture: RHEL 7.4 x64
Docker image: openjdk:8-jdk-alpine
Spring Boot version: 2.05

Extra Information:
We can renew the lease using the same VAULT TOKEN as for the application if we use the client:
vault lease renew  database/creds/<our-role>/<lease-id>
We can also renew the lease via curl, hitting the same endpoint as is failing through the application, if we use a root token:
curl -H "X-Vault-Token:$VAULT_TOKEN" --request PUT https:/<our-vault-host>:8200/v1/sys/renew/database/creds/<our-role>/<lease-id>

Our app token's policy is:
{
  "path": {
    "database/creds/<our-role>": {
      "capabilities": [
        "read",
        "list",
        "create",
        "delete",
        "update"
      ]
    }
  }
  "path": {
    "sys/*": {
      "capabilities": [
        "read",
        "list",
        "create",
        "delete",
        "update"
      ]
    }
  }
}

The /sys/* path is deliberately broad for testing.

Sounds related to https://github.com/spring-projects/spring-vault/issues/319.
Can you upgrade to Spring Vault (not Spring Cloud Vault) 2.1.1.BUILD-SNAPSHOT and test again?

Thanks for replying.
I added the snapshot repo to my pom and included the following dependency:
        <dependency>
            <groupId>org.springframework.vault</groupId>
            <artifactId>spring-vault-core</artifactId>
            <version>2.1.1.BUILD-SNAPSHOT</version>
        </dependency>

It looks like the update hits a the generic sys/renew endpoint with the lease id as payload. This has resolved our issue. Thanks again.

@mp911de I created a related question in stackoverflow and happy to see the solution. Actually, 403 permission denied problem has gone in 2.1.1.BUILD-SNAPSHOT, but I still got lease expired problem in rotating leases. Are there any further actions I can take for it?

@tonny1983 Please file a ticket along how to reproduce the issue, then we can have a look how to fix it.

Upgraded 2.0.x and master branches to the respective Spring Vault versions that contain the fix.


More testing around 16 bit values discovers problems

I've added a simple unit test: Put a value into register X and get it back out. Check they're the same.
This test fails. I've yet to find out why.

Could it be because of xl and xh? Are those stored separately from x itself, or somehow updated inconsistently?

Could it be because of xl and xh? Are those stored separately from x itself, or somehow updated inconsistently?

That's exactly it. When I store X, it chops up the bytes to store them, and then getting X means reassembling the bytes.  Here are some commits which correct the problem.
Inartful code though. I'll refactor before merging into master.

Alright, that would do it...

Inartful code though

Shouldn't you have methods that get/update registers, so xh and xl can be stored to / retrieved from x itself?

Shouldn't you have methods that get/update registers, so xh and xl can be stored to / retrieved from x itself?

Well, it's different from a traditional emulator because it needs to be able to leave registers undefined. So what if xh has a value but xl doesn't. That would mean X does not have a value. So that's why there's this chopping up and reassembling. Maybe I should've gone for valgrind's approach of masking out parts of the value instead... and if you can think of a neater/better way, I'm all ears!

Shouldn't you have methods that get/update registers, so xh and xl can be stored to / retrieved from x itself?

Well, it's different from a traditional emulator because it needs to be able to leave registers undefined. So what if xh has a value but xl doesn't. That would mean X does not have a value. So that's why there's this chopping up and reassembling. Maybe I should've gone for valgrind's approach of masking out parts of the value instead... and if you can think of a neater/better way, I'm all ears!

If you want to implement don't care bits, I think masking would be the best solution here. :)

If you want to implement don't care bits, I think masking would be the best solution here. :)

I think you're right. I went for the approach of using what Rust already has, which is option types. Since then I've questioned that decision. I might change my mind later.

Do you plan on simplifying strop's codebase, or documenting how it's structured? I took a look at the code, but - no offense - it just seems like a pile of stuff to me, and a ton of duplicated code.

Do you plan on simplifying strop's codebase, or documenting how it's structured? I took a look at the code, but - no offense - it just seems like a pile of stuff to me, and a ton of duplicated code.

I'd love to simplify it. I want it to be clean and easy to read and understand, and I know it falls short of that goal. It's grown very organically and just had bits and bobs stuck on it over time, as I'm sure is evident. Are you open to contributing?

Are you open to contributing?

That's actually why I ask; I've basically finished overhauling getargs (0.5.0 is right around the corner; just needs another audit from @j-tai), so my slot is open.

I've basically finished overhauling getargs

I like what you've done!

so my slot is open.

Excellent. Do you need any guidance from me?

Do you need any guidance from me?

Not sure, I haven't taken a good look at the code yet. My best guess would be "probably" as I see a ton of haskell terminology which means this is going to be real "fun" to figure out.

Regarding the Great Tidyup, I have opened issue #30 which is about this exact problem.


Connect date time filter to global state

Description
This PR connects the date time filter in the correlations page to the global date time state used in the plugin
Issues Resolved
Date time filter does not update
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #551 (a7ea250) into 2.7 (c8f2b08) will increase coverage by 0.00%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##              2.7     #551   +/-   ##
=======================================
  Coverage   32.66%   32.66%
=======================================
  Files         135      135
  Lines        4017     4020    +3
  Branches      696      697    +1
=======================================
+ Hits         1312     1313    +1
- Misses       2565     2567    +2
  Partials      140      140

see 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add support for vimwiki

Vimwiki by default uses hl-Title for coloring the Headers, which is grey and not bold in lighthaus.

Vimwiki by default uses hl-Title for coloring the Headers, which is grey and not bold in lighthaus.

Hey
Thanks for the PR, this looks good.
I suggested some minor changes, screenshot is available below.

Tweaked some of the colors to make everything work together better. Please make the changes and I will merge this PR.
Thanks a lot

Thanks for the review. I made the changes, and moved the vimwiki part from the languages section to the plugins section.
Love your theme btw, please keep going with it !

Thanks for the review. I made the changes, and moved the vimwiki part from the languages section to the plugins section.

Thanks. Merged it.

Love your theme btw, please keep going with it !

Thanks a lot!! Really appreciate the kind words.


Cantella Outline [P2 Mortensen]

Cantella
Combining utility, user databases, & personal interest, our final project is a social-like site for academic purposes, where individuals can collaboratively study and keep up with classes that are exclusively DNHS based.
Repositories:

https://github.com/XavierTho/cantella_frontend
https://github.com/XavierTho/cantella_backend

Team Layout
Trio 1 / [Structural Design, Flashcards, & Quiz Implementation]

Scrum Master: Xavier T
Responsible for the site's foundational structure and overall coordination.
Developer 1: Armaghan Z
Focus on implementing dynamic and customizable flashcards.
Developer 2: Zafeer A
Tasked with building an interactive quiz system.

Trio 2 [Login Page, User Info]

Assistant Scrum Master: Nolan Y
Oversees and develops the login interface for user authentication.
Developer 3: Jackson P
Handles fetching and displaying personalized user data.
Developer 4: Arush S
Ensures storing of user data.

Main Ideas (currently)

Flashcards
Quiz-Maker
Leaderboard
Contributor system to classes (something like Wikipedia)
Study material shared to everyone
Free discussion (Q&A)

Next Steps:

[ ] Adding preliminary classes for integration (AP Chem & AP World as of now)
[ ] Setting up the 'theme' of the website
[ ] Setting up user database

{did not mean to make this an issue}


Adds docs for Kong testing

Closes https://github.com/giantswarm/giantswarm/issues/20743
This PR adds a page for Kong documentation, particularly with documentation for how we test Kong (as requested by users).
Please remember to

[x] Give the PR a meaningful title -- it will be shown in the release notes
[x] Add (or remove) user questions associated with any updated docs

See https://github.com/giantswarm/giantswarm/issues/21076 for tracking adding enforcement of main headline existing to CI, we have articles that don't do that

@marians ptala, CI is still broken, but we can still review context while that gets fixed

@JosephSalisbury you'll need to update to lastest master, this should fix CI

@ubergesundheit thanks! <3

this linting is going to make me lose my mind


support routine load in lowcardinality optimization

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] others

Problem Summary(Required) ：
enable
POST /api/global_dict/table/enable?db_name=default_cluster:$DB&table_name=$TABLE&enable=1
disable
POST /api/global_dict/table/enable?db_name=default_cluster:$DB&table_name=$TABLE&enable=0

[FE PR Coverage check]
:disappointed: fail : 5 / 30 (16.67%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/CacheDictManager.java
0
2
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
19
00.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/MockDictManager.java
0
1
00.00%

:large_blue_circle:
com/starrocks/http/meta/GlobalDictMetaService.java
1
4
25.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadManager.java
2
2
100.00%

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadScheduler.java
1
1
100.00%

run starrocks_fe_unittest

[FE PR Coverage check]
:disappointed: fail : 5 / 30 (16.67%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/CacheDictManager.java
0
2
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
19
00.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/MockDictManager.java
0
1
00.00%

:large_blue_circle:
com/starrocks/http/meta/GlobalDictMetaService.java
1
4
25.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadManager.java
2
2
100.00%

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadScheduler.java
1
1
100.00%

plz add issuse， and I do not get the connection between your code and the title

plz add issuse， and I do not get the connection between your code and the title
@Youngwb https://github.com/StarRocks/starrocks/issues/5604

[FE PR Coverage check]
:disappointed: fail : 7 / 36 (19.44%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/CacheDictManager.java
0
2
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
19
00.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/MockDictManager.java
0
1
00.00%

:large_blue_circle:
com/starrocks/http/meta/GlobalDictMetaService.java
1
6
16.67%

:large_blue_circle:
com/starrocks/planner/StreamLoadPlanner.java
1
3
33.33%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadManager.java
2
2
100.00%

:large_blue_circle:
com/starrocks/common/Config.java
2
2
100.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadScheduler.java
1
1
100.00%

[FE PR Coverage check]
:disappointed: fail : 7 / 36 (19.44%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/CacheDictManager.java
0
2
00.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
19
00.00%

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/MockDictManager.java
0
1
00.00%

:large_blue_circle:
com/starrocks/http/meta/GlobalDictMetaService.java
1
6
16.67%

:large_blue_circle:
com/starrocks/planner/StreamLoadPlanner.java
1
3
33.33%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadManager.java
2
2
100.00%

:large_blue_circle:
com/starrocks/common/Config.java
2
2
100.00%

:large_blue_circle:
com/starrocks/load/routineload/RoutineLoadScheduler.java
1
1
100.00%


[builder] Error: Processing ... This may be the result of using an untrusted builder: failed with status code: 51

After downloads the errors:
[builder] Error: Processing jar:file:///workspace/BOOT-INF/lib/gax-2.19.4.jar!/META-INF/native-image/com.google.api/gax/native-image.properties failed [builder] Caused by: com.oracle.svm.driver.NativeImage$NativeImageError: Property 'Args' contains invalid entry '--add-modules=jdk.httpserver' [builder] unable to invoke layer creator [builder] unable to contribute native-image layer [builder] error running build [builder] exit status 1 [builder] ERROR: failed to build: exit status 1 ERROR: failed to build: executing lifecycle. This may be the result of using an untrusted builder: failed with status code: 51
appear and the builder stops
basically everything fails after long string of [builder]   Executing native-image -H:+StaticExecutableWithDynamicLibC -H:Name=/layers/paketo-buildpacks_native-image/native-image
Motivations

i've been trying to make the native image(to reduce my image RAM usage) jar using:
pack build sample_app --env BP_NATIVE_IMAGE=true --env BP_JVM_VERSION=17 --builder paketobuildpacks/builder:0.1.136-tiny
while using   --builder paketobuildpacks/builder:base instead of tiny one the errors are different such as:
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of ch.qos.logback.classic.Logger are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=ch.qos.logback.classic.Logger.
paketobuildpacks/builder:full on the other hand also granted those kind of errors:
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances of ch.qos.logback.classic.Logger are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=ch.qos.logback.classic.Logger.

Can you please share the full output from the pack build command as well as your pom.xml?
The errors from the base & full builders seem to indicate that you are not using Spring Boot 3 with the Native Maven plugin.

Can you please share the full output from the pack build command as well as your pom.xml?
The errors from the base & full builders seem to indicate that you are not using Spring Boot 3 with the Native Maven plugin.

my pom: https://pastebin.com/G9bgexY4
so basically, nothing has worked for me. Packeto causes the errors ive just showed you, inbuilt spring boot 3+ native also had the same errors
BUT
i managed to make it work by making my own profile nativeS (spring 3+profile is called native with vustom BuildArgs like this:

i am successfully creating an executable of my app this way
i am although getting other problems now like hibernate (fetch LAZY type) not working on native image or webjars bugging out(had to completely remove webjars from pom) but yeah it's for another topic and it's a hibernate - nativeimage so i shouldn't be talking about it in here

When building a native-image with Maven at the moment, you need to pass an additional argument to Maven to enable the native profile.
Can you try your original pom and add this to your pack build command?
`--env BP_MAVEN_BUILD_ARGUMENTS="-batch-mode -Dmaven.test.skip=true -Pnative --no-transfer-progress package"

When building a native-image with Maven at the moment, you need to pass an additional argument to Maven to enable the native profile.
Can you try your original pom and add this to your pack build command?
--env BP_MAVEN_BUILD_ARGUMENTS="-batch-mode -Dmaven.test.skip=true -Pnative --no-transfer-progress package"

wow!
pack build sample_app --env BP_NATIVE_IMAGE=true --env BP_JVM_VERSION=17 --builder paketobuildpacks/builder:tiny--env BP_MAVEN_BUILD_ARGUMENTS="-batch-mode -Dmaven.test.skip=true -Pnative --no-transfer-progress package"
worked for me, paketo now works like a charm, thank you!

When building a native-image with Maven at the moment, you need to pass an additional argument to Maven to enable the native profile.
Can you try your original pom and add this to your pack build command?
--env BP_MAVEN_BUILD_ARGUMENTS="-batch-mode -Dmaven.test.skip=true -Pnative --no-transfer-progress package"

observation:
paketo image seem to eat bit more RAM than manually created native image.
paketo takes around 100MB, while the manually created image just 60-80MB. Is there a way to make it even more optimal?
(for reference normal jar image needs around 500MB of ram)


Integrate bunnies

unit tests are passing now. Have a look to see if these changes make sense.

The last API test is still failing. Is this related to Travis complaining?

I think there were some issues with the ui not getting built that then made the api not run that then made the tests fail...
I now made ui build independent from API builds. Travis says all tests are passing now. Let me know if you are still having issues

No, all good. I'll merge the pull request now.


[release-1.9] Update test data snapshot.

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@bianpengyuan: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.9
07b62b5dff939fb193ee570bbeaedf9006d96c68
link
/test release-notes_istio_release-1.9

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bianpengyuan: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.9
07b62b5dff939fb193ee570bbeaedf9006d96c68
link
/test release-notes_istio_release-1.9

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/retest


Doc reorganization

A fairly major re-organization of the docs; the generic API section had become excessively long and difficult to navigate. In this version, where base classes pertain to particular section (inputs, outputs, composites, etc.) they are listed in that section at the end (so that the first things users come across in a section is still the concrete classes).
The generic section now consists purely of Device and the mixins (this might be extended to include GPIOBase and GPIOMeta in future if there's demand for it). The generic section also includes a near-complete class hierarchy diagram for those particularly interested (given that the section is now of extremely limited interest anyway, it seemed a reasonable place to put such a thing).
Finally, several of @lurch's suggestions are incorporated (renaming CompositeDevice.tuple to CompositeDevice.namedtuple, conjunction to all_values, disjunction to any_values, etc.)

Current coverage is 72.60%

Merging #274 into master will increase coverage by +0.09% as of 5e31680

@@            master   #274   diff @@
=====================================
  Files           28     28
  Stmts         4079   4084     +5
  Branches         0      0
  Methods          0      0
=====================================
+ Hit           2958   2965     +7
  Partial          0      0
+ Missed        1121   1119     -2

Review entire Coverage Diff as of 5e31680

Powered by Codecov. Updated on successful CI builds.

Looks good.
Seems like the "Base classes" in each chapter are included 'backwards' though? e.g. given that CompositeOutputDevice extends CompositeDevice, and LEDCollection extends CompositeOutputDevice, should they be listed in the opposite order to what they are now?
And it seems like GPIODevice is included at both http://gpiozero.readthedocs.org/en/v1.2.0/api_input.html#gpiodevice and http://gpiozero.readthedocs.org/en/v1.2.0/api_output.html#gpiodevice - perhaps it should be moved to http://gpiozero.readthedocs.org/en/v1.2.0/api_generic.html ?

The generic section also includes a near-complete class hierarchy diagram for those particularly interested

As this image is "too big for the page" it gets automatically scaled down. Is it possible to have it so that clicking on the image automatically opens it (full-size) in a new window?

Looks good.
Seems like the "Base classes" in each chapter are included 'backwards' though? e.g. given that CompositeOutputDevice extends CompositeDevice, and LEDCollection extends CompositeOutputDevice, should they be listed in the opposite order to what they are now?

The main reason for sticking them at the end is two-fold: first, don't scare the newbies away with frightening things like abstract base classes unless they go looking for them, and secondly we're documenting everything backwards anyway (concrete stuff first, to abstract last - largely for the same reasons, so that anyone mad enough to read the docs end to end ... ahem ... works their way up to the more abstract, yet complex, portions of the hierarchy).
I'm wondering whether I should include the whole hierarchy including GPIOBase and GPIOMeta now that Base Classes is slimmed down, but they really should go at the end for the crazy people who make it that far up the class hierarchy :)

And it seems like GPIODevice is included at both http://gpiozero.readthedocs.org/en/v1.2.0/api_input.html#gpiodevice and http://gpiozero.readthedocs.org/en/v1.2.0/api_output.html#gpiodevice - perhaps it should be moved to http://gpiozero.readthedocs.org/en/v1.2.0/api_generic.html ?

I deliberate included GPIODevice twice, but the second instance is marked with "noindex" to avoid conflicts (it's explicitly redundant). I could place it in the base-classes bit, but then it sort of felt like SPIDevice and CompositeDevice ought to be in there as well (seeing as they're the bases of their respective bits of the hierarchy), and it was exactly that bloated situation in the base classes chapter we were trying to get away from. I could combine the input and output sections (as a "GPIO Device" section) but I rather like the input/output separation at the moment.

The generic section also includes a near-complete class hierarchy diagram for those particularly interested

As this image is "too big for the page" it gets automatically scaled down. Is it possible to have it so that clicking on the image automatically opens it (full-size) in a new window?

Unfortunately not that I know of. However, in most browsers you can simply right click and select "View Image" (or whatever the equivalent is) to view the whole thing solo, and as it's an SVG you can always zoom the page without any loss of quality.


Feature request: OpenBLAS support in CMake's FindBLAS module

I am a user and fan of OpenBLAS, I think that the work being done here is excellent, and it really speeds up the work that I (and many others) do everyday.
One thing that would improve the adoption of OpenBLAS (and simplify my code and deployment needs) is having OpenBLAS recognized by CMake's FindBLAS module.  There are two reasons for this.
First, it would mean that developers do not have to maintain their own FindOpenBLAS module.
Second, using CMake with LAPACK means that CMake uses FindLAPACK module, which uses FindBLAS and that will fail due to OpenBLAS not being recognized as a legitimate BLAS implementation.  This results in my having to install a recognized BLAS implementation (and not use OpenBLAS), or override FindLAPACK and FindBLAS and get them to run a custom version, etc.  It is painful, when all we want to do is drop in our favorite BLAS implementation (OpenBLAS!)
So, I am sure that it would mean quite a bit if the OpenBLAS developers asked for OpenBLAS to be included in CMake's FindBLAS.cmake module.  (And it would also make OpenBLAS easier to use in projects that use CMake!)
Best Regards,
Rob

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

I have just downloaded the prebuilt 0.2.13 version for windows and the OpenBLASConfig.cmake file has hard coded paths for the libraries. Can you change the generated .cmake file to be the following:
#-----------------------------------------------------------------------------
OpenBLAS Config file for compiling against OpenBLAS install directory
#-----------------------------------------------------------------------------
GET_FILENAME_COMPONENT (SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${SELF_DIR}" PATH)
if (NOT WIN32)
GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
endif (NOT WIN32)
#-----------------------------------------------------------------------------
Directories
#-----------------------------------------------------------------------------
SET(OpenBLAS_INCLUDE_DIRS ${_IMPORT_PREFIX}/include)
SET(OpenBLAS_LIBRARIES ${_IMPORT_PREFIX}/lib/libopenblas.dll.a)
This will allow the prebuilts to be used from any install location on the users drive.
Thanks


Document the process of instrumenting a new rpc library

Add a checklist of things that need to be done to instrument an rpc library.

This belongs in opentracing-java


IP Address renew

Hi, i have my server actually running on a system with dynamic external ip.
It will be great, to set the Option in the launcher.ini for a renew of the IP-Address on server reboot.

#58 should fix it

looks good, i have running since a few days and its working.


Dialog not resize when keyboard popup

hy, i have problem when i create custom dialog with extends BaseDialog, i put edittext and when keyboard open dialog not move or resize, i try to
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); in onCreateView() and edit manifest but still working

sorry, i get the solution #10


[BUG] Nothing happens when i try to run Bloxstrap

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
i dont think you need

Did you read https://github.com/pizzaboxer/bloxstrap/wiki/Bloxstrap-doesn't-run-when-opening-it?

Issue has been awaiting clarification for over a month, closing as stale. If you have anything further to add, just respond and I'll reopen.


Question: Custom Endpoint on the HTML file

Hi, I want to directly add my custom endpoint to the index.html itself, can you help me which line should i add or change the value?
anyway, thanks for this, youre awesome!

Line 2677

thanks for the quick reply, how about for the api key? sorry if im too noob with these..

Linne 2685

thank you so much bro.. :)

Linne 2685

thanks sir, will close now..


Update zio-http to 3.0.0-RC8

About this PR
📦 Updates dev.zio:zio-http from 3.0.0-RC4 to 3.0.0-RC8
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-http" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-http" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Superseded by #20.


Is maintainers file current?

Wondering if Andrey K's still contributing; also Aditya now seems to be doing a lot of work but you guys would decide if he's "maintainer" status.

Andrey was the author and currently, he is also reviewing some of the PR's. Regarding adding new people to the maintainer status, We would wait for sometime and decide later.

Sounds good, @vigneshshanmugam. Thanks!


Fixed legend entries for Labels element

Minor bug fix for Labels element legend, where the handle contains multiple artists in a list.

Looks good. Merging.


Implement some changes

Hello,
I have changed the 0.8 version to  2 new functions like   close and ring because my code lock also submits the ring command via wiegand.
Also i found out, that there is no max retry limit available that makes brute force relay easy.
I also implemented the max retry with a blocking of the communication.
The coding is not finished ( not nice looking and not changeable through the WEB Interface as of now)  but works for now :D   If this is interesting I can try to upload the changes ( have to figure out how to do this)
Also I try to put this in the source code for 1.0 beta

@Maik2016 Any update on this?

I have no update due to some work issues and traveling a lot :(  No time to look at it again. But end of next week I'm back home and hopefully have some time, I have to check what has changed in the source code till now.

@Maik2016 I'm preparing milestones for the v1.5, if you can just publish your changes through a fork or direct copy paste, community can work on it, no need to wait for polishing it.

I createt a fork I hope this works, was the first time I used GitHub

Thanks for your contribution to the esp-rfid, much appreciated.


System.DateTime Parse not recognized

I am currently using EntityGraphQL with .NET 8 and I the only filtering issue i am encoutering is this error message
LINQ to Entities does not recognize the method 'System.DateTime Parse(System.String, System.IFormatProvider)' method, and this method cannot be translated int
In my entity class, the property is created like
public Nullable LastDateTime { get; set; }
I am wondering if this is a known issue with Parse that showing an error and will I need to create a custom filter for the datetime object
When I create the filter it is like
filter: "lastDateTime > "2024-09-08T07:00:00.000Z""
I am unsure if the problem is from the implementation here
https://github.com/EntityGraphQL/EntityGraphQL/blob/4b05580d952abd7325597cb4bb5df5de50533169/src/EntityGraphQL/Compiler/EntityQuery/Grammar/Binary.cs#L55

Adding this test in FilterExtensionTests works fine with .net 8.
    [Fact]
    public void SupportNullableDateTime()
    {
        var schema = SchemaBuilder.FromObject<TestDataContext2>();
        var gql = new QueryRequest
        {
            Query =
                @"query Query($filter: String!) {
                    people(filter: $filter) { id name gender }
                }",
            Variables = new QueryVariables { { "filter", "birthday > \"2024-09-08T07:00:00.000Z\"" } }
        };
        var data = new TestDataContext2();
        var person1 = DataFiller.MakePerson(33, null, null);
        person1.Birthday = new DateTime(2024, 9, 9);
        data.People.Add(person1);
        var person2 = DataFiller.MakePerson(34, null, null);
        person2.Birthday = new DateTime(2024, 9, 7);
        data.People.Add(person2);
        Assert.Equal(2, data.People.Count);
        var tree = schema.ExecuteRequestWithContext(gql, data, null, null);
        Assert.Null(tree.Errors);
        dynamic people = ((IDictionary<string, object>)tree.Data)["people"];
        Assert.Equal(1, Enumerable.Count(people));
        var person = Enumerable.First(people);
        Assert.Equal(33, person.id);
    }

Are you able to share code that reproduces it?

@lukemurray  thanks for helping out with the unit test. I forgotten to mention the EntityFramework version I am using. It is on EF6, and I believe this is the reason for the error being thrown for my code.
Do you know if there will be support for older EF that may not support all SQL expressions that newer EF version may.
I am going to look to try to see if I can filter with a custom field that uses long instead of DateTime (converting the date time to milliseconds)

Ahh, I guess you mean EF 6 and not EF Core 6?

Yes EF 6 not EF Core 6


Wildcard Matching

Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for '?' and '*' where:
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover the entire input string (not partial).
Example 1:
Input: s = "aa", p = "a"
Output: false
Explanation: "a" does not match the entire string "aa".
Example 2:
Input: s = "aa", p = ""
Output: true
Explanation: '' matches any sequence.
Example 3:
Input: s = "cb", p = "?a"
Output: false
Explanation: '?' matches 'c', but the second letter is 'a', which does not match 'b'.

Can you please contribute on this issue @Saloni6111

Can you please contribute on this issue @Saloni6111

@hemanthhhhhh assigned this to you!

can you assign the issue please?

@hemanthhhhhh  merged!


Unable to Install or Save poshy-sshconfig from PSGallery

Expected Behavior
Should be able to install or save module from PSGallery
Current Behavior
Unable to save or install module from PSGallery
System.Exception: Unable to save the module 'poshy-sshconfig'

Save-Module -name poshy-sshconfig -Path . -Repository PSGallery
WARNING: Package 'poshy-sshconfig' failed to be installed because: The file 'C:\Users\username\AppData\Local\Temp\50fex4uo\[Content_Types].xml' already exists.
WARNING: Package 'poshy-sshconfig' failed to install.

Steps to Reproduce

Attempt to Save-Module from PSGallery
Attempt to Install-Module from PSGallery

Context (Environment)
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Fixed in https://github.com/pwshrc/poshy-sshconfig/releases/tag/v0.5.10. Thanks for reporting this!