Fixed Pros, Cons and Advice to Management, Helpful count, Pagination error, Years at the company bug

Also added the control statement when the reviews are over and the reviews to be scraped are more than asked for. e.g. , you asked for 1000 reviews to be scraped but there are only 156. So this change will stop the infinite loop which is inside the extract_from_page function.
if(len(reviews)== 0):
    logger.info('No more Review!')
    date_limit_reached[0] = True

Hi Sachin,
Thanks for all the effort you've put in on these fixes. I'm attempting to run the script now, however, I'm getting an error:
Traceback (most recent call last): ...   File "main.py", line 418, in main     reviews_exist = navigate_to_reviews()   File "main.py", line 341, in navigate_to_reviews     "a.eiCell.cell.reviews")   File "C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 598, in find_element_by_css_selector     return self.find_element(by=By.CSS_SELECTOR, value=css_selector)   File "C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 978, in find_element     'value': value})['value']   File "C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute     self.error_handler.check_response(response)   File "C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response     raise exception_class(message, screen, stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"a.eiCell.cell.reviews"}   (Session info: headless chrome=78.0.3904.70)
on what appears to be ~line 340 under the navigate_to_reviews function. I've been unable to resolve the error tinkering around with it, would you be able to take a look at you code and advise if you've got some time?
Thank you!

Hi Galgliano,
Try replacing reviews_cell by :
reviews_cell =
browser.find_element_by_xpath("//*[@id="EIProductHeaders"]/div/a[2]/span[2]")
On Wed, Oct 30, 2019 at 9:43 PM GaglianoM<EMAIL_ADDRESS>wrote:

Hi Sachin,
Thanks for all the effort you've put in on these fixes. I'm attempting to
run the script now, however, I'm getting an error:
Traceback (most recent call last): ... File "main.py", line 418, in main
reviews_exist = navigate_to_reviews() File "main.py", line 341, in
navigate_to_reviews "a.eiCell.cell.reviews") File
"C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py",
line 598, in find_element_by_css_selector return
self.find_element(by=By.CSS_SELECTOR, value=css_selector) File
"C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py",
line 978, in find_element 'value': value})['value'] File
"C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\webdriver.py",
line 321, in execute self.error_handler.check_response(response) File
"C:\Users\tqs966\AppData\Local\Continuum\anaconda3\lib\site-packages\selenium\webdriver\remote\errorhandler.py",
line 242, in check_response raise exception_class(message, screen,
stacktrace) selenium.common.exceptions.NoSuchElementException: Message: no
such element: Unable to locate element: {"method":"css
selector","selector":"a.eiCell.cell.reviews"} (Session info: headless
chrome=78.0.3904.70)
on what appears to be ~line 340 under the navigate_to_reviews function.
I've been unable to resolve the error tinkering around with it, would you
be able to take a look at you code and advise if you've got some time?
Thank you!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MatthewChatham/glassdoor-review-scraper/pull/27?email_source=notifications&email_token=AFCG4KUAQIMIEWPHN7RLN6LQRGXDZA5CNFSM4I2CTS4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECUZ2UQ#issuecomment-547986770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFCG4KWPU332T4UXYDRFRSLQRGXDZANCNFSM4I2CTS4A
.

Hi Galgliano,
reviews_cell =
browser.find_element_by_xpath("//*[@id="EIProductHeaders"]/div/a[2]/span[2]")

Closed Pull request by Mistake.

Adding new updates


'Solution' object has no attribute 'maximumInvitations'

------------------------------ Maximum Gap/maximum.py
Traceback (most recent call last):
File "/Users/hughbrown/workspace/Solutions-To-Problems/LeetCode/Python Solutions/Maximum Gap/maximum.py", line 44, in
Solve = Instant.maximumInvitations(grid = [[1,1,1], [1,0,1], [0,0,1]])
AttributeError: 'Solution' object has no attribute 'maximumInvitations'

Fixed it. Should work.


[WIP] MM RAG eval guide nb

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Added new unit/integration tests
[ ] Added new notebook (that tests end-to-end)
[ ] I stared at the code and made sure it makes sense

Suggested Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added Google Colab support for the newly added notebooks.
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I ran make format; make lint to appease the lint gods

Thanks for the feedback and comments! (Yeah, I was hoping to move this along today but unfortunately that couldn't happen for me).

are we evaluating on text retrieval too? seems trivially easy to have user input a letter and retrieve the same letter, trying to see what that would show

Yeah, that's the plan to eval both text/image retrieval. Though as you correctly pointed out, for now the text retrieval is a bit trivial. I was trying to think of some text excerpt that could be used as context but couldn't come up with anything yet. One thing I like about this example though is that it sort of does need an image retrieval in context. Reminiscent to some training docs with images that use visuals to teach workers how to accomplish a task — in this case its about retrieving an image and describing it to the user so they can learn how to sign an ASL symbol. With that being said, I'm not married to this being the dataset example, so I am open to suggestions on the dataset/example :)

does the query engine use both the image and text data or just text?

Currently the query is just text. We thought that would be a good scoping down of the example — though it looks like we're able to query with both image and text. So if it's not too much of a lift, then I definitely would welcome the idea to using text-image queries.

Btw an interesting baseline to compare against for image retrieval would be to extract a text summary from each image, and do text retrieval on the summaries (which reference the underlying image). Can compare that against native CLIP retrieval and see what works better

Yeah! I had the same thought, I think. Generate descriptions of the image using GPT-4V, embed these descriptions and use these embeddings instead of CLIP. I took a look at how to do that, it seems I'd to change image_embed_model to default text one, or whatever one I'm using to embed the descriptions.
My goal is to have this nb done and ready to go before EOD Monday, which am confident is doable, but nevertheless if you have any comments/thoughts on how I might scope this down, please do share!

merging this now!


onCanvasClick time bug

When I set a dragSnap={24 * 60 * 60 * 1000},
onCanvasClick callback time is not right.

@daqi could you please provide a codesandbox example?

https://codesandbox.io/s/timeline-demo-moving-and-resizing-cfxkl

@daqi do you have found a solution for this problem?

Hi @Ilaiwi
I've noticed that this bug appears after refresh page!
The step is this:

Enter in react page with TimeLine
click somewhere in canvas --> work right
change something in js, so node rebuild react page
click somewhere in canvas --> work bad date selected isn't the right date!

I have not tested it after build release to check if it works right or not.
I hope to be clear with the explanation.


Stack trace from go 1.13 style errors?

Summary
It would be nice if the SDK extracts stack trace from go 1.13 style errors. For example,
err := errors.New("root cause")
err = fmt.Errorf("wrapping: %w", err)

Motivation
From go 1.13, the errors package introduced wrapping/unwrapping errors. It would be a standard way to handle errors.
Additional Context
It seems that the SDK currently supports

golang.org/x/xerrors
github.com/pkg/errors
github.com/pingcap/errors
github.com/go-errors/errors

and it successfully extracts stack trace from errors.

Hi! The standard library errors package is already supported, and the SDK knows how to unwrap and report error chains.
https://github.com/getsentry/sentry-go/blob/8f1d2c2ea0097440401a94aaa7be04e09b74143a/client.go#L469-L470
Support was introduced by https://github.com/getsentry/sentry-go/pull/206 and released in v0.6.0.


⚠ RPC server - Figment Solana has degraded performance

In 74f0f05, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 377 ms

Resolved: RPC server - Figment Solana performance has improved in 9e7f3fe.


Fix Unknown User on flagCreate

Resolves #184
The member object doesn't exist on a webhook, so when language pops up in one it will try fetching a member that doesn't exist. I've added a check for webhooks that uses the author instead of member and a backup of fetching the webhook

Looks good to me, I'm gonna trust when you said you tested it


One blog post gets omitted if two have the same date in filename

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description
Imagine you have something like:
blog/2022-04-06-post-1/index.md
blog/2022-04-06-post-2/index.md

What happens is that Docusaurus selects one (randomly) and omits the second entirely from the generated website. It does not even raise a warning during build.
Reproducible demo
No response
Steps to reproduce
Explained before.
Expected behavior
If two posts using the same date are not allowed (and documentation does not mention how to write time in the filename), the docusaurus build should at least fail the pipeline.
Actual behavior
Explained before.
Your environment

Docusaurus version used: 2.0.0-beta.18

Self-service

[ ] I'd be willing to fix this bug myself.

Sorry, I'm totally wrong. This is not applicable.


Reading CSV: Allow filter UDF to limit the CSV rows which are included in the final result to save on memory by filtering them up front.

Inside of the CSV iterator loop, something like this
	if( !isNull( filter ) ) {
		if( !filter( values ) )
			continue;
	}

will allow a UDF passed to the arguments as filter to be used to return a boolean to skip rows that we don't want from the CSV to save memory.  For example, in the 6 million rows CSV I'm using right now for a client, it turns out I only actually needed about 1.6 million of those rows.  It still takes about the same amount of time to iterate over the file, but the overall memory used is lower since we don't add those rows to my final array of arrays.

https://github.com/cfsimplicity/spreadsheet-cfml/blob/e0b0f38d72e489de3fb3037f80cd7f14f7723f7b/test/specs/readCsv.cfm#L106

See potential issue as result of using .values(): https://github.com/cfsimplicity/spreadsheet-cfml/issues/341#issuecomment-1798790300


[Bug]: Missing docker image for ARM

Steps to Reproduce
docker pull toniblyx/prowler
Using default tag: latest
latest: Pulling from toniblyx/prowler
no matching manifest for linux/arm64/v8 in the manifest list entries

Expected behavior
Should pull a existing docker image for ARM, which does not exist as of right now => Solution: Can be build by a github workflow.
Actual Result with Screenshots or Logs

How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
MacOS 14.4
Chip: Apple M1 Pro
Docker Engine: 25.0.3
OS used
MacOS 14.4
Prowler version
latest
Pip version
24.0
Context
No response

Hi @iocron we are not builiding the container images from ARM yet. As a workaround you can use the following command to get the Prowler image docker pull --platform linux/arm64 toniblyx/prowler.
Please let me know if this works for you.
Thanks for using Prowler 🚀

Hi @iocron I'll close this issue. Please feel free to reopen it or reach to us if this doesn't work for you.
Thanks for using Prowler 🚀

Hi @iocron we are not builiding the container images from ARM yet. As a workaround you can use the following command to get the Prowler image docker pull --platform linux/amd64 toniblyx/prowler.
Please let me know if this works for you.
Thanks for using Prowler 🚀

It would help if you add this to the doc site here - https://docs.prowler.com/projects/prowler-open-source/en/latest/#__tabbed_2_3

Hello @pcshikhar we've just add that to our documentation, thank you for the hint!


feat(vapor-runtime): object support in v-for

add support for object iteration in v-for

Thanks for your contribution. Implemented via 4af8e879 which combined with your commit.

I assume the readme should also be updated?
https://github.com/vuejs/core-vapor/blob/d3ca3f7492cbd685aef934acd8dadc8069829930/README.md?plain=1#L47-L49

Thanks for your reminder. Updated!


Fixed sqlite3 benchmark to write to directory in --db flag

When running tests, it always wrote to the environment's default directory (/tmp/leveldb).
This change allows it to follow the behaviour exhibited by db/db_bench.cc

I signed it!


feat: add esxi and vcenter server certificate cmdlets

In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.
Summary of Pull Request
Adding all cmdlets for ESXi Certificate Management
Note -
Getting started section in the readme will be updated later.

Type of Pull Request

[ ] This is a bug fix.
[x] This is an enhancement or feature.
[ ] This is a code style / formatting update.
[ ] This is a documentation update.
[ ] This is a refactoring update.
[ ] This is a chore update
[ ] This is something else.
Please describe:

Related to Existing Issues

Issue Number: N/A
Test and Documentation Coverage

[x] Tests have been completed (for bug fixes / features).
[x] Documentation has been added / updated (for bug fixes / features).

Breaking Changes?

[ ] Yes, there are breaking changes.
[x] No, there are no breaking changes.

Marking as a draft until requested changes are completed and Ready for Review.

Done with requested changes.


default mail.properties file is out of date

The mail.properties file shipped with nunaliit 2.1.3 has incorrect setting examples

Verified and tested latest version on trunk. All is fine, now.


Fix for manifest to put openLinkUrlPrefixes as property of gmail

The manifest for Full-application has openLinkUrlPrefixes as child of  gmail.contextualTriggers.openLinkUrlPrefixes[] where it shoud be gmail.openLinkUrlPrefixes[]

So sorry I didn't see this PR sooner! Thanks for the fix, applying.


Fix Problem's timed effects in Protobuf Writer

Fix #536

I just expanded a bit the example to better test the compliance of validators.
It seems however that we now hit a limitation of the PDDL writer that does not support TILs...

Thanks for expanding. I did a quick fix to mypy, so now we see the PDDL test failing. I think I just have to add a skip if there are TILs to the problem in the PDDL testing file

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

Comparison is base (4567282) 84.92% compared to head (34bd03b) 84.97%.
Report is 38 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
+ Coverage   84.92%   84.97%   +0.04%
==========================================
  Files         200      200
  Lines       26385    26410      +25
==========================================
+ Hits        22408    22441      +33
+ Misses       3977     3969       -8

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

@arbimo I'm going to add TILs support in the PDDLWriter in a different PR.

One last thing. The test cases trigger a corner case of the temporal planning semantics: when should the goals hold in the presence of timed initial literals ? The PDDL 2.2 semantics require the goals to hold after all TILs are computed (the real final state).
Another possible interpretation would be "immediately after the end of the last action".
Looking at report it seems that:

tamer and aries-val adheres to the PDDL 2.2 semantics
aries and tamer-val adheres to the second one

I believe we should enforce the PDDL2.2 semantics as they are the least surprising ones (and most established). This is the one enforced in the test-cases added in this PR.
Note that this is truly a corner case as it is very unusual to have goal conditions on exogeneous state variables in real problems.
@mikand Feel free to jump in on this, otherwise I will merge it as it is (which means that down the line, aries and tamer-val will need to align themselves on the PDDL semantics).

@arbimo I agree with you and the PDDL 2.2 semantics. I'm going to fix the tamer validator.

@alvalentini Perfect, we agree. I'll merge this one then (and add this aries' fix to my todos)
Thanks a lot to both of you!


Question about filtering uncovered lines/files

First of all thank you for creating StrykerJS! It's amazing how smoothly I could integrate it with my current codebase! ❤
Question
I have a codebase with very low code coverage but want to ensure that the tests me and my teammates create are effective. Right now when I run Stryker the report looks like this:

As you can see the number of not covered mutants is very high. What I'm interested in is filtering them out so that I can see only the files that have > 0% test coverage. Is it possible?
Also is it possible to skip generating mutants for not covered lines/files in the first place? I'm using jest.enableFindRelatedTests so I guess Stryker doesn't try to execute tests for uncovered mutants but I don't know how expensive (in terms of computation) it is to generate them. Could skipping it improve performance? Keep in mind that I'm completely new to mutation testing so this idea might be completely stupid and I'm just not seeing that yet :D
Stryker environment

$ npm ls | grep stryker
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>

├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>
Additional context

Hi @bgoscinski 👋
Mutant generation is very cheap compared to running tests. You can see it for yourself. When Stryker logs "Instrumented xxx source file(s) with xxx mutants" it is done with mutant generation and mutant placing.

Stryker doesn't try to execute tests for uncovered mutants but I don't know how expensive (in terms of computation) it is to generate them

So, not expensive at all. In fact, Stryker needs to first instrument your code (generate and place mutants) and do a full test run without a mutant active (dry run) to determine exactly which mutant is covered and which isn't. Stryker doesnt use jests code coverage for that, it brings its own (mutant) coverage. Not covered mutants won't cause extra tests runs.

Thanks @nicojs! Good to know :)
How about filtering out not covered mutants from the report? I may not see something obvious but at least for now, for my usecase they seem to be just noise

That sounds like a fair request. I assume you mean from the HTML report? Please file an issue at mutation-testing-elements. That is where the HTML report lives (shared between all Stryker versions and even other mutation testing frameworks).
BTW you might be interested in our proposal for incremental support #2753 , please upvote so we know where to spend our time on next 😉

Thanks again for super fast reply! :)
--incremental looks super neat! Instant upvote 😃

I assume you mean from the HTML report? Please file an issue at mutation-testing-elements. That is where the HTML report lives (shared between all Stryker versions and even other mutation testing frameworks).

Cool. On it 👍


Brian Kernighan's Algorithm

fixed - #44

updated the PR

Is this issue free to work on??
i would love to contribute

@plazzy99 please review the pr #1244


Serde update

Pull request checklist

[x] Did you bump the project version?
[x] Did you add a description to the Pull Request?
[x] Did you add new tests?
[x] Did you add reviewers?

@maxfadson предложения/возражения?

@maxfadson questions or suggestions?

I noticed that multi-line elements/arguments now have a comma after the last line - is this ok? It’s quite strange to see this after Kave, for example, but it’s just my habits

@dmitrii-doronin
Otherwise ok, I like it. Especially ParXml now looks much more readable and concise.
By the way, will there be a squash of commits into a single one?

@maxfadson questions or suggestions?

I noticed that multi-line elements/arguments now have a comma after the last line - is this ok? It’s quite strange to see this after Kave, for example, but it’s just my habits

It's quite common I guess. Golang does the same thing pretty much. But I don't think it's necessary in Julia.

@dmitrii-doronin Otherwise ok, I like it. Especially ParXml now looks much more readable and concise. By the way, will there be a squash of commits into a single one?

I hope someone would clean up SerJson and SerXml one day. It's generally not that hard. Current implementations seem messy to me.
Yes, let's squash.

How do you like the language in general?

@maxfadson How do you like the language in general?

I like it, it was nice to understand the details and write on it. It would be interesting to see what the backend written on it looks like.

lgtm!

@dmitrii-doronin  I've been working with OOP on popular Java frameworks lately, so the experience with Julia is like a breath of fresh air for me 😅

@dmitrii-doronin I've been working with OOP on popular Java frameworks lately, so the experience with Julia is like a breath of fresh air for me 😅

I've worked a lot with C++ in scientific computing, so I understand your suffering)
Btw, we can merge this now)

@dmitrii-doronin
I’m still waiting for the squash to be done so that you can write your own comment on the committee, we discussed this above. Or should I merge and then bring everything to my three commits and one of yours?

@maxfadson let's do it that way

@dmitrii-doronin ok, sorry for the wait. I think we should have contacted directly somehow :)


Add 0.62 blog post

Overview
This PR adds the blog post for 0.62.
TODOs

[x] Review by Flipper team
[x] Add screenshot for Flipper
[x] Add links to Flipper docs

Screen

For now the updated instructions are landing and should soon show up at https://fbflipper.com/docs/getting-started.html#setup-your-react-native-app.
I'll try to work out a separate introduction page for React Native tomorrow, if that lands in time I'll give you the updated link.
Does this pic work for you?

Minor nit. The capitalization in the headers is not consistent. "Better dark mode support" vs "Upgrade Support". I am OK with either style, as long as we stick to it.

@hramos great catch and attention to detail - my thinking there is that Upgrade Support is the proper noun name of the Upgrade Support tool so it would be capitalized but I'll lower case it to avoid confusion (and I see some other headings are wrong as well).

@hramos I updated the headings to standardize on sentence case and I also removed the value propositions, let me know what you think 👍


[WIP] Allow enable grpc_http1_reverse_bridge on a per route basis.

WIP
Signed-off-by: Manuel Jurado<EMAIL_ADDRESS>Description: Allow enable grpc_http1_reverse_bridge on a per route basis.
Risk Level: ?
Testing: WIP
Docs Changes:
Release Notes:

Issue: https://github.com/envoyproxy/envoy/issues/8052

Before doing the tests I would like to make sure that I am on the right way...

This looks like the right approach to me. Can you try using the helper method you referenced and see if your local test works with that?

This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@snowp @zuercher https://github.com/envoyproxy/envoy/pull/8145#discussion_r334793936 ping

Hm. Doesn't look like I have premission to reopen PRs, unfortunately

Oh I see. Your other PR (#8615) is from the same branch so github will not allow this one to be reopened. If you close that one, I think we can reopen this one and continue.
I think the approach here is fine, but it needs tests and the new API field needs an explanatory comment.

Oh I see. Your other PR (#8615) is from the same branch so github will not allow this one to be reopened. If you close that one, I think we can reopen this one and continue.
I think the approach here is fine, but it needs tests and the new API field needs an explanatory comment.

Hi @zuercher "the other PR" (https://github.com/envoyproxy/envoy/pull/8615) is already closed.
About the pending things:

the new API field needs an explanatory comment: done
tests: working on it (I'll push them asap)

then, could you reopen this PR, please?

Ugh. Now it says it can't be reopened because the "branch was force-pushed or recreated." I think at this point it's best to just create a new PR. I'm sorry for the hassle.

Ugh. Now it says it can't be reopened because the "branch was force-pushed or recreated." I think at this point it's best to just create a new PR. I'm sorry for the hassle.

I created this new PR: https://github.com/envoyproxy/envoy/pull/8645
Thx @zuercher /cc @snowp


Did you even collect an example before publishing it?

Did you even collect an example before publishing it? - the source code itself is not collected at the second step, the mql example also does not work, in general it is written with the grossest errors - two variables have a stupidly undefined type
'i' - undeclared identifier	ws.mq5	47	58
'payload' - undeclared identifier	ws.mq5	77	4

function OnCalculate should return a number - returns nothing
author - WTF?


Azure AD Connect change results in Server 2012 R2 being marked as cloudfiltered=TRUE

I'm testing the change to the Azure AD Connect Inbound sync rule (Inbound from AD). I have copied the rule and the server is in scope for synchronisation. The cloudfiltered property is set to TRUE however meaning that the object does not sync to Azure AD.
I'm not sure how to modify the rule further to enable to Server object to sync to AAD. Would you be able to validate that this is the correct setting?
Thanks.

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

ID: 16d5a4a3-77a5-a7bc-61f8-e0c1e1a47e7e
Version Independent ID: 16d5a4a3-77a5-a7bc-61f8-e0c1e1a47e7e
Content: Troubleshoot onboarding issues related to Security Management for Microsoft Defender for Endpoint
Content Source: microsoft-365/security/defender-endpoint/troubleshoot-security-config-mgt.md
Product: m365-security
Technology: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@mjcaparas Please help us in resolving this issue. Thanks

Please contact support for assistance.


Add collapse/expand rows option on initial load

Resolves: #157

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

Project coverage is 98.49%. Comparing base (7bd65a5) to head (5e5ff63).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #159   +/-   ##
=======================================
  Coverage   98.48%   98.49%
=======================================
  Files          59       59
  Lines        1253     1260    +7
  Branches      361      318   -43
=======================================
+ Hits         1234     1241    +7
- Misses         18       19    +1
+ Partials        1        0    -1

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


Closes #20.

Adds ubuntu cross-compiler and qemu emulation to travis tests.

@nemequ I'm not sure how to fix the last failing build on aarch64.  Hopefully you can take a look and let me know what you think of the failure as well as the PR in general.  Thanks.

I definitely like the PR, thank you! I'll have to copy this for a bunch of my other projects :)
I'll try to investigate the failure over the weekend.

AArch64 works in my Fedora 27 VM with GCC 7.3.1, running under qemu 2.11.1 (in Fedora 28).  It seems like this is a bug with the old version of qemu or gcc that is on Travis.  I'm going to go ahead and push this but mark the AArch64 build as allowed to fail.


"Uncaught exception io.cattle.platform.async.utils.TimeoutException: Object [credential:1] failed to satisfy predicate"  exception seen in logs when LDAP authentication is enabled.

Rancher server version - V0.33.0-rc3
Server version - V0.33.0-rc3
Following exception seen in logs when LDAP authentication is enabled:
2015-08-19 18:27:52,233 ERROR [:] [] [] [] [cutorService-10] [o.a.c.m.context.NoExceptionRunnable ] Uncaught exception io.cattle.platform.async.utils.TimeoutException: Object [credential:1] failed to satisfy predicate [15000] millis
at io.cattle.platform.object.monitor.impl.ResourceMonitorImpl.waitFor(ResourceMonitorImpl.java:92) ~[cattle-framework-resource-monitor-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.object.monitor.impl.ResourceMonitorImpl.waitFor(ResourceMonitorImpl.java:97) ~[cattle-framework-resource-monitor-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.object.monitor.impl.ResourceMonitorImpl.waitForState(ResourceMonitorImpl.java:114) ~[cattle-framework-resource-monitor-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.docker.machine.launch.MachineLauncher.getCredential(MachineLauncher.java:100) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]
at io.cattle.platform.docker.machine.launch.MachineLauncher.doRun(MachineLauncher.java:132) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:13) ~[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_79]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [na:1.7.0_79]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_79]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]

@sangeethah This is not caused by authentication code. This is machine related.

Is this a machine issue?

It doesn't seem like a machine issue. How do I reproduce this issue?

Enabled LDAP authentication.
logs shows this stack trace.

That workflow doesn't interact with machine. @hibooboo2 Can you explain how this is machine related?

While this error does occur in MachineLauncher (the class that launches go-machine-service), the error is not caused by anything machine related. It is caused by the launcher attempting to get a credential. I would say this is an auth bug, not a machine bug. Hopefully, its been fixed as LDAP has stabilized. Assigning to @hibooboo2. Can you see if you can repro and then assign to @sangeethah to close if you cant?

I have fixed this bug in master. With rancher/cattle#1108

K. Assigning to @sangeethah so she can close

@cjellick I am not sure If it is that bug for sure or not. It seems like it might be but I think it might not be.

Tested with rancher server version - V0.61.0-rc3.
Exception mentioned in the bug is not seen any more in logs when LDAP autthetication is enabled.


[BUG] BlobLeaseClient retry behavior causes transient 409 failures on Release

Library name and version
Azure.Storage.Blobs 12.7.0
Describe the bug
Internal retry behavior in BloblLeaseClient.Release can expose callers to misleading 409 errors.

The lease is released by this first try, but a timeout happens
Release will automatically retry the release operation due to the timeout;
The second try fails and encounters a 409 LeaseIdMismatchWithLeaseOperation error since the lease has already been released by the first request
The Azure SDK throws a 409 exception

Report based on this issue.
Expected behavior
For a caller of the API, the LeaseIdMismatchWithLeaseOperation seems to indicate API misuse. Therefore, I think we should avoid throwing this in the case of transient failure followed by retry. One option could be to not throw at all in this scenario. Another (less desirable) option could be to throw, but use a different error so that callers can distinguish the particular outcome.
Actual behavior
See bug description
Reproduction Steps
Call Acquire[Async], then later call Release[Async] on the same BlobLeaseClient instance. This reproduces when Release[Async] hits a transient error.
I'm reporting on behalf of @rmt2021 who reported it here; perhaps they have a better repro.
Environment
@rmt2021 ?

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Storage:0.45840505,Azure.Core:0.102415174,Service Bus:0.026578741'

Adding Service team to look into this.
@xgithubtriage please look into this once you get a chance and provide an update.

@navba-MSFT any update here?

@navba-MSFT any updates on this?

@navba-MSFT still no updates on this?

Hi @madelson.   Unfortunately, I have no insight beyond the initial triage.   We would need an update from one of the Storage team members.
//cc: @seanmcc-msft, @amnguye

Acknowledging. Apologies that tracking for this has slipped through the cracks.

Initial thoughts on this situation:

We should avoid throwing this in the case of transient failure followed by retry.

I'm not sure this is viable given that the library cannot determine whether the first request would have been successful and it is only the retry that is causing the failure.

One option could be to not throw at all in this scenario.

I also don't believe this is viable as changing the existing error behavior could have unforseen consequences.

Another (less desirable) option could be to throw, but use a different error so that callers can distinguish the particular outcome.

I think this relates back to the initial idea of avoiding throwing, where in order to successfully achieve this the library would have to know that the first attempt would have returned success.
Ultimately, it appears that the lack of idempotency tooling on this API is causing the issue, and therefore is leading to this scenario. The error being that of a lease mismatch, rather than no lease present, is adding to the confusion, though I suppose a concurrent application may have acquired a new lease in the interim between requests anyway, and so this is not the biggest difference.
I think this leads to a situation where it is ultimately up to the application developer to determine how they are meant to treat a situation like this. Is the application unsure if it got the lease id wrong, or can it interpret this event as "my goal was for this lease to not exist anymore and it doesn't, therefore success."
However, that doesn't mean the library can't ease this for the developer. Several APIs in the library follow a pattern of DoOperationIfTargetExists(). A mismatched lease ID, whether there be a different lease on the blob or no lease at all, would indicate that the lease targeted by the client does not exist, and so could semantically fall into this pattern. The product group can discuss this further to determine if there are any consequences to a new API of this name blanket ignoring 409 LeaseIdMismatchWithLeaseOperation.
To those hitting this issue, such an API would just stop throwing and logging if the error response matches a set of criteria. You can work around this yourself with something like the following:
try
{
    await leaseClient.ReleaseAsync().
}
catch (RequestFailedException e) when (e.Status == 409 && e.ErrorCode == "LeaseIdMismatchWithLeaseOperation")
{
    // no-op
}

The library will still log the error to your logging, but I imagine the infrequent nature of this issue does not lead to such logs being unmanageable.

I'm having a similar scenario on a production issue but on the the blobClient.UploadAsync operation. I suppose the same workaround will apply to this, but there would be no way to discern real scenarios wherein the blob was existing prior to the upload operation.

@Jaxelr This issue is specifically about an unexpected response where the client attempts to release the same lease twice due to a retry for some networking issue. I'm not quite sure I understand the scenario you're describing but since it seems it is not related to retries and idempotency, I'm not sure it is related.
Are you attempting to upload a blob but not only does the blob already exist but there's a lease on it? If so, I'd say you're getting the expected behavior: you are getting the warning that a lease is designed to provide. It is the job of the application to determine how it wishes to react to that.

Thanks for the context, let me expand a little bit on my scenario, and please, feel free to tell me If I should move this to another Issue, etc...I'm getting scenarios where I'm receiving 409 exceptions that a blob already exists when I know the request I'm sending do not exist (because they are guids) prior to executing the operation. This seems to happen only on high concurrency scenarios for us.
The simplified code is as simple as:
            var blobClient = blobContainerClient.GetBlobClient(OperationId);

            _ = await blobClient.UploadAsync(BinaryData.FromObjectAsJson(operation, DefaultJsonSerializerOptions.Options), cancellationToken: cancellationToken);

Where the only logic that we could see retrying is the sdk client configuration that we provided. Are you saying this is the expected behavior?


Restart it's needed to connect to a rebooted server

Issue Type: Bug
Restart it's needed to connect to a rebooted server even the connection was already restored and I've forced to restart the entire Azure Data Studio to solve it.
Azure Data Studio version: azuredatastudio 1.42.0 (22f384e569bc90d8b3231cc8c8cff99ea16c5052, 2023-03-17T18:15:48.982Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Preview Features: Enabled

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz (8 x 1896)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.81GB (2.47GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

azuredatastudio-mysql
Mic
0.2.8

azuredatastudio-postgresql
Mic
0.2.7

azdata-sanddance
msr
4.0.1

@coffeforme I do not understand your statement, can you please explain it and also provide the steps for reproducing it for me to check, thanks

This is a duplicate of #158.  The extension does not handle connection interruptions, of any kind, , at all.


[Device Support Request] Tuya _TZ321C_fkzihax8 presence sensor

Problem description
Not supported, only motion is shown but not working
{"id":2,"type":"Router","ieeeAddr":"0xa4c1385406d5e8f6","nwkAddr":4964,"manufId":4417,"manufName":"_TZ321C_fkzihax8","powerSource":"Mains (single phase)","modelId":"TS0225","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":1026,"inClusterList":[0,4,5,1280],"outClusterList":[10,25],"clusters":{"genBasic":{"attributes":{"65534":0,"modelId":"TS0225","manufacturerName":"_TZ321C_fkzihax8","powerSource":1,"zclVersion":3,"appVersion":65,"stackVersion":1,"hwVersion":1,"dateCode":""}},"ssIasZone":{"attributes":{"iasCieAddr":"0x00124b0024cb3e7a","zoneState":0}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":1,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-1401274594},"lastSeen":1725843436923}
Solution description
See link for working Z2MQTT converter
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
[Paste the device signature here]

Diagnostic information
Diagnostic information
[Paste the diagnostic information here]

Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
https://github.com/Koenkk/zigbee2mqtt/issues/23913

Try this one: https://github.com/ExcelluxZ2MZHA/Excellux-ZigBee2mqtt/blob/main/mtd085_z2m1.4.0.js

i also am trying to integrate this sensor into HA.
My signature for this device is:
{
  "node_descriptor": {
    "logical_type": 1,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 142,
    "manufacturer_code": 4417,
    "maximum_buffer_size": 74,
    "maximum_incoming_transfer_size": 80,
    "server_mask": 10752,
    "maximum_outgoing_transfer_size": 80,
    "descriptor_capability_field": 0
  },
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0402",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x0500"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZ321C_fkzihax8",
  "model": "TS0225",
  "class": "zigpy.device.Device"
}```

i didnt think that zigbee2mqtt files could be drop in replacements for a zha quirk. i did put [mtd085_z2m1.4.0.js](https://github.com/ExcelluxZ2MZHA/Excellux-ZigBee2mqtt/blob/main/mtd085_z2m1.4.0.js) in my zha quirk folder but it still did not work.

any help would be appreciated.

What is the progress on this?


2018.3.0: Pylint: 'F0001:No module named "test.py"' appears in every file with a path that has a space

Since installing the 2018.3.0 version of this extension about an hour ago, I get 'F0001:No module named "test.py"' at the top of every module from pylint (for line 1, character 1), with test.py being replaced with the file's filename.
This happens even if the file is the only file in its dir. This also only happens with existing VS Code projects, but not new ones.
This is definitely related to this extension and pylint. Because when I copy my project to a new folder, then open it in VSC, these errors disappear. But the original project location still has these errors.
This makes it incredibly difficult to fix on my own, since I don't know where to look, with regards to VSC. It must be something to do with an internal VS Code database?
Edit: As noted here, this problem only happens with paths with spaces in them. I was able to reproduce this myself.

Yup, I just noticed the exact same issue.

I'm getting this error only from projects with spaces in their paths, either new or existing. Can anyone check if this is the case too?
(VS Code 1.22.0-insider on Sierra)

I'm getting this error only from projects with spaces in their paths, either new or existing.

Excellent observation! This is the answer. I was able to reproduce.
I was testing in a path with no space. I added a space. Immediate error. Should be an easy fix in the extension though, but otherwise there isn't anything we can do on our end unfortunately.

We can reproduce on our end. We're trying to figure out the root cause.

Getting same issue too. The latest update is full of bugs.

I also experienced this problem.
I also went to the OUTPUT tab at the bottom of the editor found out what actually caused the error.
Assume that /Path with space/to/your/source_code.py is the path to your module source_code
I see:
************* Module "/Path with space/to/your/source_code.py"
1,0,fatal,F0001:No module named "source_code.py"

but when I run it from the command line, I see:
************* Module source_code
(Followed by lint feedbacks...)
That means the module is resolved incorrectly when there's a space in the path so VS Code has to quote it. Pylint is confused about the quotes VS Code gives it and treat the path with quotes and .py as a module, no wonder the module is not found
Strangely, even when I run the command pylint "/Path with space/to/your/source_code.py" instead of pylint source_code in the directory containing source_code.py, the module is resolved correctly

How can I uninstall or opt out of latest update?

@chikaobuah We're in the process of fixing this. A hot fix will be release soon.
Apologies for the inconvenience.

You will also find the same error if your name contains any numbers. I removed numbers from my file name and it worked.

Quick update: we are waiting for tests to complete on our fix and then we will push out a hotfix release. We are hoping to have all of this resolved in the next 30 minutes.

OK, 2018.3.1 is now live with a fix for this! Sorry everyone for letting this slip out.

My first experience reporting such a bug. That was quick. Thanks!


Remove private(?) impl of map_message for Listener [Fixes #152]

sorry it took so long, had a big day yesterday and had to learn how to use git rebase to squash the commit correctly
Fixes #152

@CallumJHays

learn how to use git rebase

Well, I'm more "gui guy" than "cli nerd" and lazy - I'm using GitKraken for this; see for example https://support.gitkraken.com/working-with-repositories/interactive-rebase/. So I'm just dragging branches onto other branches and clicking on "squash", "rebase", "reset"...


Question: Is it possible to hide prisma model?

Hello, searching the docu but did not find a solution:
I have a global prisma graphQL schema including admin specific types/mutations/queries what I would like to achieve is generating two different schemas. I know how I can remove queries or mutation but is there a possibility to remove types from the schema with nexus-prisma?
If not is there any other solution to get my different schemas with code first?

Hey there 👋,
Do you mean two different schemas generated from the same endpoint? Or two different GraphQL API?
If you mean two different schemas from the same endpoint based on some condition (like user roles (eg: regular user, or admin)), then no, it's not possible yet. There's a an issue about it here: https://github.com/prisma/nexus/pull/23, which mention the concept of "visibility". We may have that one day, but it's not there yet 🙏

Thank you for your fast response.
Yes two different outgoing schemas build from one internal is right. Are there any other solutions to not write the same code twice? I donnot think this is something special I want to achieve. Maybe anyone have a suggestion how to get this?


configurationPath option for programmatic API.

With more features coming to tslint.json files, such as the rulesDirectory option and the extends option, it becomes harder and harder for third-party tools that wrap TSLint to properly load configurations themselves. (See https://github.com/palantir/tslint/issues/1007 for example.)
The easiest and cleanest solution (that I can think of) for this is to change the Linter options API.
Current:
export interface ILinterOptions {
    configuration: any;
    formatter: string;
    formattersDirectory: string;
    rulesDirectory: string | string[];
}

Option 1
export interface ILinterOptions {
    configuration: ITSLintConfig | string;
    formatter: string;
    formattersDirectory: string;
    rulesDirectory: string | string[];
}

Option2
export interface ILinterOptions {
    configuration?: ITSLintConfig;
    configurationPath?: string;
    formatter: string;
    formattersDirectory: string;
    rulesDirectory: string | string[];
}

If a path to a configuration is provided (instead of passing a configuration object directly), TSLint would handle all responsibilities such as resolving rules directories, resolving extends clauses, etc. If a configuration object is passed directly, the third-party tool would have to take care of these tasks.

Currently in my PR I have the config:
export interface ConfigFile { // will rename to ITSLintConfig
    extends: string | string[];
    rulesDirectory: string | string[];
    rules: any;
}

Likely it doesn't match what you have in mind based on your snippets.
What do you envision? I can adjust the PR accordingly.

IConfigFile sounds good to me! In fact, your definition looks correct. The duplication of fields like rulesDirectory seems strange at first, but it's just how it has to be for now for historical reasons. tslint.json files used to only specify what rules to use, and when using TSLint programmatically, this data was passed as the configuration member of ILinterOptions. You could also then pass things like rulesDirectory separately.


Minor issue in wiki

What's gone wrong?
in aot-limitations, last DO:
...
export class ExampleComponent {
  /* @internal */
  @Input()
  exampleInput;
  // or just make it public
  @Input()
  anotherInput;
}

What was meant to happen?
exampleInput should be private
Oh, and thank you! This is going to be awesome!

Fixed, nice one! :)


CFE: implement change to default type of error variable in catch clauses in null safe code

This pull request specifies a change to the default type of the error variable in catch clauses in code that has opted in to null safety.  This change is ready for implementation.
Tests for this change are out for review here.
cc @eernstg @lrhn @munificent @natebosch

A CL is in progress: https://dart-review.googlesource.com/c/sdk/+/144840

Note that change is breaking the nnbd sdk:
output: org-dartlang-sdk:///sdk_nnbd/lib/_internal/vm/bin/vmservice_server.dart:62:37: Error: The getter 'message' isn't defined for the class 'Object'.
 - 'Object' is from 'dart:core'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'message'.
        socket.close(idErrorCode, e.message);
                                    ^^^^^^^
org-dartlang-sdk:///sdk_nnbd/lib/vmservice/vmservice.dart:340:14: Error: A value of type 'Object' can't be assigned to a variable of type 'String'.
 - 'Object' is from 'dart:core'.
      return rpcError;
             ^
org-dartlang-sdk:///sdk_nnbd/lib/vmservice/running_isolate.dart:109:14: Error: A value of type 'Object' can't be assigned to a variable of type 'FutureOr<Response>'.
 - 'Object' is from 'dart:core'.
 - 'FutureOr' is from 'dart:async'.
 - 'Response' is from 'dart:_vmservice'.
      return errorResponse;
             ^
org-dartlang-sdk:///sdk_nnbd/lib/_internal/vm/bin/file_patch.dart:148:70: Error: The argument type 'Object' can't be assigned to the parameter type 'OSError?'.
 - 'Object' is from 'dart:core'.
 - 'OSError' is from 'dart:io'.
            "Failed to initialize file system entity watcher", null, e));
                                                                     ^
org-dartlang-sdk:///sdk_nnbd/lib/_internal/vm/bin/file_patch.dart:159:76: Error: The argument type 'Object' can't be assigned to the parameter type 'OSError?'.
 - 'Object' is from 'dart:core'.
 - 'OSError' is from 'dart:io'.
          .addError(new FileSystemException("Failed to watch path", _path, e));
                                                                           ^
org-dartlang-sdk:///sdk_nnbd/lib/io/network_profiling.dart:76:51: Error: The argument type 'Object' can't be assigned to the parameter type 'String'.
 - 'Object' is from 'dart:core'.
          ServiceExtensionResponse.invalidParams, errorMessage));

I think you can change these cases from } catch( to } on dynamic catch( to get unblocked. I'd file an issue for each one to get cleaned up - they seem like potential bugs to me.

https://dart-review.googlesource.com/c/sdk/+/146521

I landed the above change.


feat: change meta theme-color based on theme #669

fixes #669

@chilicheech Could you give this a try?

hi @robertsLando thanks for doing this. i tried testing this so i pulled the dev docker image and i'm still seeing the old index file. did it not get updated in the dev docker image yet?

It should... let me check it tonorrow


Thanks

Just want to say thanks. It is such a nice theme. Hexo + jacman are great 👍

Thank you for support ! 😄


Implement the ObjectOutliner and load simplification in Swift

This allows to move some of the utilities for global variable initializers into Swift, e.g. the StaticInitCloner
This PR also includes some small improvements and refactoring. For details see the commit messages.

@swift-ci test

@swift-ci smoke test


fix sitemap to point at preview pages instead of api

LGTM, but would wait to see what @tpmccallum thinks before shipping

Thanks @karthik2804
Good spotting.
I wondered if it would be better to redirect at the spin.toml level so that the sitemap naturally renders the correct URLs.
Is it technically possible to implement a path_prefix redirect in the manifest?

Just double-checked it locally. Looks great!
Thanks again @karthik2804


Evaluate lighter strategies for binary size impact

Evaluate other strategies for binary size calculation, such as checking the generated products.
Goal is to understand and later decide how each strategy stands in terms of cost (performance hit) versus accuracy of result.

@marinofelipe to check how debug/release built products stacks against the current heavy archive strategy.
The API could be tweaked to allow a derived data path to be passed for a lighter binary size calculation.


Update RGBLCD module

WORK IN PROGRESS.  Will probably be very busy at work through Sept, but figured I'd show you what I have so far.
I'm working to update the RGBLCD module using a C++ library and the datasheet.
References

datasheet: https://www.sparkfun.com/datasheets/LCD/HD44780.pdf
C++ library: https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight

Most of the functions work.  Use GrovePi.RGBLCD.start to initialize.
There is a bug in the GrovePi.RGBLCD.blink_on, GrovePi.RGBLCD.blink_off, GrovePi.RGBLCD.cursor_blink_on, and GrovePi.RGBLCD.blink_off I have not been able to figure out.  These commands work within the GrovePi.RGBLCD.startfunction, but don't work on their own.
I don't think GrovePi.RGBLCD.autoscroll works.
Also updated the home weather with new RGBLCD functions.

This is looking really good so far. Thank you for all the work you are putting into it.

I figured out the bugs, so all of the functions are working now.  I created a file to demonstrate the functionality.  It is currently at lib/grovepi/rgblcd/examples.ex.  I'm happy to delete it or move it depending on where you think it would fit best.  I used the examples to make sure the updates work with hardware, but I don't have any automated tests at this point.
This is the biggest update I've made to a library so any suggestions for improvement are welcome.

@axelclark, I haven't had the time to check this, but it is looking good. I think that moving the examples module to /examples/rgblcd.ex or somewhere under that examples directory would be a good place to move it. I'm excited to play with this tonight.

I moved the demo functions out into an example project.  Let me know what else you'd like me to update.  No rush, I know you are enjoying ElixirConf!!

 Next time!
Amos King
Binary Noggin

On Sep 8, 2017, at 17:32, Axel Clark<EMAIL_ADDRESS>wrote:
I moved the demo functions out into an example project. Let me know what else you'd like me to update. No rush, I know you are enjoying ElixirConf!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

This looks good. I spent some time playing with it this morning. I'm going to mash it and do a new release. Thanks, @axelclark.
🤖 ❤


Add a flag to force Bazel to download certain artifacts

When using --remote_download_minimal Bazel only downloads to the client the minimum number of artifacts necessary for the build to succeed. This can be sometimes problematic when local development (i.e. IDE) requires some artifacts to do local work (e.g. syntax completion). We add a flag --experimental_force_downloads_regex that allow specifying a regular expression that will force certain artifacts to be forced to downloaded.
Tested locally that syntax errors disappear in IntelliJ when compiling Bazel itself with --remote_download_minimal and --experimental_force_downloads_regex=".*jar$", also included an integration test with several cases.
Signed-off-by: Luis Fernando Pino Duque<EMAIL_ADDRESS>

@ulfjack you can take a first look now

Addressed comments and added a test. PTAL

Friendly ping.


Adding Fibonacci series in C, C++, Java, Python

👨💻 Changes proposed
I Have Added The Fibonacci Series in C, C++, Java and Python
In all four languages I have use same approach to find the series upto nth term.
Fibonacci Series : It is a Series which start from the two terms 0 and 1 and every next term is evaluted by adding the previous two terms.
Initially taking a input of a variable n and finding the nth term by recursive method and saving every term which I have find in a array known as dp ,and before returning every function I have printed the term like this we can see the term upto nth.

📷 Screenshots

🛠 Issue (Number)

Issue no #409
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

All SSoC'23 PRs will be accepted after 1st June 2023


fix make local_run target

Codecov Report

Merging #312 (b57a770) into main (3a491f5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #312   +/-   ##
=======================================
  Coverage   28.83%   28.83%
=======================================
  Files          59       59
  Lines        6146     6146
=======================================
  Hits         1772     1772
  Misses       4164     4164
  Partials      210      210

Continue to review full report at Codecov.

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


Tests failing

Dear authors,
It's me again. =)
After updating the UKCensusAPI to 1.1.6, I tried to run the tests given in the setup.py file. However, both tests are failing. See log below:
(microsynth) C:\Users\glede\Documents\EPFL\PhD\household_microsynth>python setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing household_microsynth.egg-info\PKG-INFO
writing dependency_links to household_microsynth.egg-info\dependency_links.txt
writing requirements to household_microsynth.egg-info\requires.txt
writing top-level names to household_microsynth.egg-info\top_level.txt
reading manifest file 'household_microsynth.egg-info\SOURCES.txt'
writing manifest file 'household_microsynth.egg-info\SOURCES.txt'
running build_ext
test_hh1 (test_all.Test) ... ERROR
test_sc1 (test_all.Test) ... ERROR

======================================================================
ERROR: test_hh1 (test_all.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\glede\Documents\EPFL\PhD\household_microsynth\tests\test_all.py", line 15, in test_hh1
    microsynth = hh_msynth.Household(region, resolution, cache)
  File "C:\Users\glede\Documents\EPFL\PhD\household_microsynth\household_microsynth\household.py", line 21, in __init__
    self.api_sc = Api_sc.NRScotland(cache_dir)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\ukcensusapi\NRScotland.py", line 112, in __init__
    self.area_lookup = pd.read_csv(str(self.cache_dir / "sc_lookup.csv"))
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 688, in read_csv
    return _read(filepath_or_buffer, kwds)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 460, in _read
    data = parser.read(nrows)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 1198, in read
    ret = self._engine.read(nrows)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 2157, in read
    data = self._reader.read(nrows)
  File "pandas\_libs\parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read
  File "pandas\_libs\parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory
  File "pandas\_libs\parsers.pyx", line 918, in pandas._libs.parsers.TextReader._read_rows
  File "pandas\_libs\parsers.pyx", line 905, in pandas._libs.parsers.TextReader._tokenize_rows
  File "pandas\_libs\parsers.pyx", line 2042, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 11, saw 4

-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.nomisweb.co.uk:443
urllib3.connectionpool: DEBUG: https://www.nomisweb.co.uk:443 "GET / HTTP/1.1" 200 38765
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.scotlandscensus.gov.uk:443
urllib3.connectionpool: DEBUG: https://www.scotlandscensus.gov.uk:443 "GET / HTTP/1.1" 200 16081
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_sc1 (test_all.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\glede\Documents\EPFL\PhD\household_microsynth\tests\test_all.py", line 32, in test_sc1
    microsynth = hh_msynth.Household(region, resolution, cache)
  File "C:\Users\glede\Documents\EPFL\PhD\household_microsynth\household_microsynth\household.py", line 21, in __init__
    self.api_sc = Api_sc.NRScotland(cache_dir)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\ukcensusapi\NRScotland.py", line 112, in __init__
    self.area_lookup = pd.read_csv(str(self.cache_dir / "sc_lookup.csv"))
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 688, in read_csv
    return _read(filepath_or_buffer, kwds)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 460, in _read
    data = parser.read(nrows)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 1198, in read
    ret = self._engine.read(nrows)
  File "C:\Users\glede\AppData\Roaming\Python\Python36\site-packages\pandas\io\parsers.py", line 2157, in read
    data = self._reader.read(nrows)
  File "pandas\_libs\parsers.pyx", line 847, in pandas._libs.parsers.TextReader.read
  File "pandas\_libs\parsers.pyx", line 862, in pandas._libs.parsers.TextReader._read_low_memory
  File "pandas\_libs\parsers.pyx", line 918, in pandas._libs.parsers.TextReader._read_rows
  File "pandas\_libs\parsers.pyx", line 905, in pandas._libs.parsers.TextReader._tokenize_rows
  File "pandas\_libs\parsers.pyx", line 2042, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 11, saw 4

-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.nomisweb.co.uk:443
urllib3.connectionpool: DEBUG: https://www.nomisweb.co.uk:443 "GET / HTTP/1.1" 200 38765
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.scotlandscensus.gov.uk:443
urllib3.connectionpool: DEBUG: https://www.scotlandscensus.gov.uk:443 "GET / HTTP/1.1" 200 16081
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 2 tests in 1.429s

FAILED (errors=2)
Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>

It seems the problem still comes from the parser after receiving the files from the API for Scotland. I checked the file sc_lookup.csv in the cache folder and it is indeed an HTML file saying that there's a 404 error.
Would it be possible for you to run the tests with the latest version of the UKCensusAPI library to see if it's a problem on my side (I have many venv, so it is possible) or if the UKCensusAPI still has issues with the Scotland API.
Thanks in advance!

Dear authors,
The Scotland API seems to work. =D (at least it worked on my Linux machine. I need to investigate why it still doesn't work on my Windows machine)
However, the tests are still not passing. Here's the log:
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
/home/gael/Applications/anaconda/lib/python3.8/site-packages/pandas/_testing.py:24: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  import pandas._libs.testing as _testing
test_hh1 (test_all.Test) ... /home/gael/Applications/anaconda/lib/python3.8/site-packages/pandas/core/indexes/base.py:395: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  elif issubclass(data.dtype.type, np.bool) or is_bool_dtype(data):
/home/gael/Applications/anaconda/lib/python3.8/site-packages/pandas/core/dtypes/cast.py:214: DeprecationWarning: `np.bool` is a deprecated alias for the builtin `bool`. To silence this warning, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
  elif not isinstance(r[0], (np.integer, np.floating, np.bool, int, float, bool)):
ERROR
test_sc1 (test_all.Test) ... ERROR

======================================================================
ERROR: test_hh1 (test_all.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/tests/test_all.py", line 23, in test_hh1
    microsynth.run()
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/household_microsynth/household.py", line 59, in run
    constraints = seed.get_survey_TROBH() #[1,2,3,4,5,6,7]
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/household_microsynth/seed.py", line 31, in get_survey_TROBH
    a[tuple(pivot.index.labels)] = pivot.values.flat
AttributeError: 'MultiIndex' object has no attribute 'labels'
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.nomisweb.co.uk:443
urllib3.connectionpool: DEBUG: https://www.nomisweb.co.uk:443 "GET / HTTP/1.1" 200 38769
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.scotlandscensus.gov.uk:443
urllib3.connectionpool: DEBUG: https://www.scotlandscensus.gov.uk:443 "GET / HTTP/1.1" 200 16081
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_sc1 (test_all.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/tests/test_all.py", line 32, in test_sc1
    microsynth = hh_msynth.Household(region, resolution, cache)
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/household_microsynth/household.py", line 34, in __init__
    self.__get_census_data()
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/household_microsynth/household.py", line 317, in __get_census_data
    return self.__get_census_data_sc()
  File "/home/gael/Documents/EPFL/PhD/Research/household_microsynth/household_microsynth/household.py", line 325, in __get_census_data_sc
    self.lc4402 = self.api_sc.get_data("LC4402SC", self.region, self.resolution,
  File "/home/gael/Documents/EPFL/PhD/Research/UKCensusAPI/ukcensusapi/NRScotland.py", line 200, in get_data
    meta, raw_data = self.__get_rawdata(table, resolution)
  File "/home/gael/Documents/EPFL/PhD/Research/UKCensusAPI/ukcensusapi/NRScotland.py", line 154, in __get_rawdata
    exit(1)
  File "/home/gael/Applications/anaconda/lib/python3.8/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: 1
-------------------- >> begin captured stdout << ---------------------
Running in 'scotland mode'
Problem: The census data uses a proprietary compression algorithm (probably deflate64) and cannot be extracted by the python zip package.
Solution: manually extract this archive using a non-python extraction tool: cache/Output_Area_blk.zip
e.g. use 7zip, or (on linux):

$ unzip cache/Output_Area_blk.zip

or, if you only need a specfic table:

$ unzip cache/Output_Area_blk.zip -d cache LC4402SC.csv

Please also consider politely asking NRScotland to change the compression algorithm!

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.nomisweb.co.uk:443
urllib3.connectionpool: DEBUG: https://www.nomisweb.co.uk:443 "GET / HTTP/1.1" 200 38769
urllib3.connectionpool: DEBUG: Starting new HTTPS connection (1): www.scotlandscensus.gov.uk:443
urllib3.connectionpool: DEBUG: https://www.scotlandscensus.gov.uk:443 "GET / HTTP/1.1" 200 16081
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 2 tests in 1.754s

FAILED (errors=2)
Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=2 errors=2 failures=0>

While I understand that the second error comes from unzipping the data from the Scotland API (which I did, and launched a second test), would it be possible to bypass this error if the unzipped folder is present?
For the first error, I don't know where it's coming from. Would it be possible to have a look at it?
Thanks a lot!


calculating heading sizes better, migrated FormattedTextBlock from p5…

…FormattedText
also fixed a bug I might have introduced with the cover.

Merging.


Add requirement for php-dom

[RuntimeException]
  An error occurred when executing the "'cache:clear --no-warmup'" command:
  PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DOMDocument" from the global namespace.
  Did you forget a "use" statement for "Ladybug\Plugin\Extra\Inspector\Object\Php\DOMDocument"? in /api/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
  Stack trace:

Issue isn't related to ladybug


failed to pull image "public.ecr.aws/eks-distro/kubernetes/pause:3.2"

What happened:
Hi Team,
I am trying to deploy an eks-d using Kubeadm.
Docs I referred to --> https://distro.eks.amazonaws.com/users/install/kubeadm/
I used the same kube.yaml file provided in the above documentation, edited the values containing {{ }}
Error While running command Kubeadm init --config kube.yaml
[preflight] Some fatal errors occurred: 	[ERROR ImagePull]: failed to pull image public.ecr.aws/eks-distro/kubernetes/pause:3.2: output: Error response from daemon: manifest for public.ecr.aws/eks-distro/kubernetes/pause:3.2 not found: manifest unknown: Requested image not found , error: exit status 1 [preflight] If you know what you are doing, you can make a check non-fatal with--ignore-preflight-errors=...error execution phase preflight k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run.func1 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:235 k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).visitAll 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:422 k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow.(*Runner).Run 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow/runner.go:207 k8s.io/kubernetes/cmd/kubeadm/app/cmd.NewCmdInit.func1 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/cmd/init.go:147 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).execute 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:826 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).ExecuteC 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:914 k8s.io/kubernetes/vendor/github.com/spf13/cobra.(*Command).Execute 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/vendor/github.com/spf13/cobra/command.go:864 k8s.io/kubernetes/cmd/kubeadm/app.Run 	/workspace/anago-v1.18.1-beta.0.38+49aac775931dd1/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/kubeadm.go:50 main.main 	_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/kubeadm.go:25 runtime.main 	/usr/local/go/src/runtime/proc.go:203 runtime.goexit 	/usr/local/go/src/runtime/asm_amd64.s:1357
I checked the ecr for the image versions of pause here https://gallery.ecr.aws/?searchTerm=eks-distro&verified=verified
ECR only contains  public.ecr.aws/eks-distro/kubernetes/pause:v1.18.9-eks-1-18-1
public.ecr.aws/eks-distro/kubernetes/pause:3.2 image is not available in the ecr.
What you expected to happen:
Expected all the preflight requests to pass and launch the control plane node.
How to reproduce it (as minimally and precisely as possible):
docker pull public.ecr.aws/eks-distro/kubernetes/pause:3.2
Anything else we need to know?:
I think the error is related to this issue as well https://github.com/aws/eks-distro/pull/108
Can you please add some documentation/example kube.yaml for Kubeadm join as well.

Yes, it is related to #108 and it will be fixed for 1.19 for sure.

Yes, it is related to #108 and it will be fixed for 1.19 for sure.

Could you just run the tagging now please?  Pause isn't going to change before the release.

Okay, will try it. Can I know when is the release date for 1.19 ?

Can you retry using the pause container image with the URI public.ecr.aws/eks-distro/kubernetes/pause:3.2? It should work now. Please let us know if it doesn't.
$ docker pull public.ecr.aws/eks-distro/kubernetes/pause:3.2
3.2: Pulling from eks-distro/kubernetes/pause
30311302e823: Pull complete
Digest: sha256:20ff27d990014d805c8da39a6a03f9575ac476d5c2e1b3278d70ae6c832cc34b
Status: Downloaded newer image for public.ecr.aws/eks-distro/kubernetes/pause:3.2
public.ecr.aws/eks-distro/kubernetes/pause:3.2

docker pull public.ecr.aws/eks-distro/kubernetes/pause:3.2 works just fine. !! I am also able to deploy eke-d using Kubeadm. Thanks for the fix.

docker pull public.ecr.aws/eks-distro/kubernetes/pause:3.2 works just fine. !! I am also able to deploy eks-d using Kubeadm. Thanks for the fix.

That is awesome! Thanks for trying out EKS Distro! Do reach out if you have further issues or to make contributions.


IQueryable.Select ignores value literal in selector for valuetype

I am using release 2.1
Here is the entity
public class Product {
     public string Name { get; set; }
     public bool Archived { get; set; }
}

Query

   db.Products.Where( .... ).Select( x => new Product {
        Archived = false,
        Name = x.Name
   } );

   SELECT [x].[Name] FROM [Products] as [x]

Generated sql does not contain "Archived" column.
   bool archived = false;
   db.Products.Where( .... ).Select( x => new Product {
        Archived = archived,
        Name = x.Name
   } );

   SELECT @p0 as [Archived], [x].[Name] FROM [Products] as [x]

Now generated sql does contain "Archived" which is bound to a parameter.
This is important as I am using generated SQL as sub query to a bulk insert and update procedure.
I found this accidentally, work around for passing parameter for every default type is difficult.

@ackava Curious: in your first example, as you saying that you expect Product.Archived to be queried even when it isn't referenced anywhere?

@ackava - In top level projection if you are using a constant then we don't put it in generated SQL. This is by design. Since the constant value is known we can always plug it in client side when generating the results.  (For nested projection we always send constant to server so that we can lift the subquery). This is specifically helpful by avoiding sending large constant to the server when we get the same value back. In case of parameter it is added to SQL so that we can use caching of parameters without recompiling the query.
Using SQL generated by EF in bulk insert/update is not the intended use for query compiler as it can also cause multiple queries in certain cases. If it works for you then you can surely use it but if the SQL is not what you are expecting then feel free to modify it.

@ackava It is a goal of EF Core to produce simple, readable queries. It's not currently a goal to produce queries that can then act as an input to something else. With regard to bulk updates, that's an important feature, but as with all teams we have limited resources and many important things to work on.


Updated color selection functionality with lookup approach, fixes #58

Summary
Previously implementation of color naming often had unknown appearing.  When this was resolved, there were inaccuracies in the color / hue descriptions being calculated.  This is a different approach using a curated list of colors, from which the closest matching HEX RGB color is selected and the associated name returned.
Details
In order to get around hue description mismatches, this PR adds a list of curated colors taken from https://chir.ag/projects/ntc/ntc.js, and uses an algorithm (similar to least squares regression, from what I can tell) to grab the nearest color name based on diff matching of the incoming color RGB /HSL values and the values in the list.  This does add a significant amount of data into the utils file, but the payoff is increased accuracy of naming the colors.  Inspired by creative commons 2.5 licensed code from Chirag Mehta.

This is how it looks.

Interesting! Thanks for this Paul. I have to say, it is a bit weird to see "dark purple" but the name is "Jacarta." I've also never heard of "Finn", "Fern Frond", or a few of the other color names on the list...
Let me think on this one a bit and do some user testing. I LOVE that "unknown" is no longer a possibly, but I think the best user experience might be what we had a version of what originally, and then if it's unknown we use this list.
I say think because I think most colors are simply some variation of: red, blue, green, purple, orange, pink, yellow, brown, white, black, grey... and they should be named as such. For example at Liveramp, the color name was simply "Liveramp Green" not "Bonza Green". Most companies simply name the color the name of their company + the simple color name. And I just hope this doesn't introduce confusion.
I like the approach tho. Let me get some input and thank you so much for opening the PR!

@alexdanilowicz - I understand your thoughts re color naming, the reason I liked this list approach is that it helps obviate the "is this red or pink" question which can happen with a subjective analysis of hues.  This approach also allows an option to (re)define a reduced list of colors more conventionally named or even rename the colors in this list if desired - the algorithm would then select the nearest from the reduced / renamed list...  Just some food for thought.

"is this red or pink" question which can happen with a subjective analysis of hues.

Very true.

Alright, I'm cool with merging this, but if we hear some confusion for users might tweak it a bit. Thanks for your hard work @prichter!


learning rate decay too much in faster R-CNN train.py

https://github.com/chainer/chainercv/blob/master/examples/faster_rcnn/train.py#85
in my experience , each epoch decay 0.9 may be good, you decay too much , because float can only in 7 bit after point/dot. you let the lr too small to calculate and compare.

The learning schedule closely follow the Caffe implementation.
It is perfectly fine for you to change the learning rate by yourself.
Please ask simple questions like this in Stack Overflow.
The issue page on Github is for bug report and feature requests.


General questions about the DW1000 module

Hi,
My apologies for my english.
I am planning to buy two or three DWM1000 modules and I have a few questions before buying it.
For each question , the method I want to use is a two way ranging. I would like to put one on a keyfob as a tag, and one in the wall as an anchor.

Is the DWM1000 still dependant of the Arduino Mini Pro after we put the tag code inside the module, or will it be able to work with a button cell only?

I saw in the datasheet that if I use a button cell as a power supply, it is not recommended to make the module work for too long. Is it possible to put the tag into deep sleep or sleep and only wake it up when it receives a pulse from the anchor?

I would like to limit the range detection of the module to 1 meter at the maximum. What I mean is if the tag is more than 1 meter from the anchor for example, the anchor will not take it in count. Is that possible? I saw in the issues that it has to do with the antenna calibration by decreasing the TX power I think.

As the keyfob has a lot of chance to be kept close to a body proximity, there would be a dB attenuation somehow because it can be a NLOS case. I would like to know if somebody had tested how much inaccuracy we got if a human body is close to a tag but there is still a LOS connection and when a human body is between the tag and anchor (centimeter or meter error) at 1 meter range?

I have a few Arduino Pro mini 5V, if I understand well, I will need to have two sort of PCB, one for the DWM1000 module, and one for the Arduino adapter board ( 5 to 3.3V). I also noticed that after I read a few issues, some users could not be able to make it work with the Arduino mini pro 3.3V due to its low current in the I/O pins, but some of them could make it work, what is the reason?

My aim is to create something similar to a RFID system without the cost involved and a proper range detection.
Thank you for your help in advance.

For each question , the method I want to use is a two way ranging. I would like to put one on a keyfob as a tag, and one in the wall as an anchor.

I am assuming you are looking at proximity sensing application and not trilateration / indoor positioning. I would suggest you take a look at bluetooth based proximity sensing as well if you do not require high accuracy.

Is the DWM1000 still dependent of the Arduino Mini Pro after we put the tag code inside the module, or will it be able to work with a button cell only?

The host microprocessor, Arduino in you case is still required. The datasheet mentions 64mA for receive mode. In real-world applications it could be more. I am highly skeptical of the DWM1000 working with just a button cell.  The button cell batteries are designed for constant drain of 0.5C or lesser based on their chemistry. Here is a read-up about coin cell.
https://electronics.stackexchange.com/questions/234901/lithium-coin-cell-cr2032-battery-specifications

I saw in the datasheet that if I use a button cell as a power supply, it is not recommended to make the module work for too long. Is it possible to put the tag into deep sleep or sleep and only wake it up when it receives a pulse from the anchor?

It is possible to setup the DWMs in Low-Power Sniff mode and Low-Power Listening mode but i am not sure if a button cell can support the burst capacities the DWM would require. It is  certainly possible with a LIPO cell.
http://thetoolchain.com/mirror/dw1000/dw1000_user_manual_v2.05.pdf#[{"num"%3A76%2C"gen"%3A0}%2C{"name"%3A"XYZ"}%2C51%2C169%2C0]

I would like to limit the range detection of the module to 1 meter at the maximum. What I mean is if the tag is more than 1 meter from the anchor for example, the anchor will not take it in count. Is that possible? I saw in the issues that it has to do with the antenna calibration by decreasing the TX power I think.

You can ignore the ranging requests based on their signal strengths but you might have to do some amount of testing. Thought it is a matter of speculation if there would be even be a considerable signal strength difference say at 0.98m and 1.1m of the tag from the anchor.

As the keyfob has a lot of chance to be kept close to a body proximity, there would be a dB attenuation somehow because it can be a NLOS case. I would like to know if somebody had tested how much inaccuracy we got if a human body is close to a tag but there is still a LOS connection and when a human body is between the tag and anchor (centimeter or meter error) at 1 meter range?

There should definitely be attenuation but i have not done any sort of testing on this.  Maybe other can share their knowledge on this topic.

I have a few Arduino Pro mini 5V, if I understand well, I will need to have two sort of PCB, one for the DWM1000 module, and one for the Arduino adapter board ( 5 to 3.3V). I also noticed that after I read a few issues, some users could not be able to make it work with the Arduino mini pro 3.3V due to its low current in the I/O pins, but some of them could make it work, what is the reason?

The Anchor and Tag can have the same schematic and circuit. You will need to power the DWM1000 separately from the Low-Dropout Regulator (LDO) since the Arduino is not capable of providing power to the DWMs.  You can use 5V Arduinos but you will need Logic Level Conversion since the DWMs are 3.3V devices. You can use Wayne Board though it requires component sourcing and some hacks to get it to work.
https://www.oshpark.com/shared_projects/2qZiePck
https://sites.google.com/site/wayneholder/uwb-ranging-with-the-decawave-dwm1000---part-ii
https://github.com/thotro/arduino-dw1000/wiki/Testbed-and-Adapter-board#wayne-board
https://github.com/thotro/arduino-dw1000/wiki/Testbed-and-Adapter-board
Or you can use pre-built ones like LPS Minis or Localinos, if you are in a hurry.

My aim is to create something similar to a RFID system without the cost involved and a proper range detection.

In my opinion, DWMs will be much more expensive than creating your own RFID based system.

Hi,
Thank you for your help.
I already tried to use the BLE 4.0 HM-10 module, but when I put my hand between to cover the LOS path at around 15 cm from the master, the accuracy is not stable anymore, it goes from 15cm to 3-5 meters, it's too much for my project.

Hi everyone , how to get tag and anchor 64 bit  fix address in my dw1000 ic with arduino pro mini libraries??


New Update causes Exit code 1

Basically, I have mods that I removed from my modpack. Epic fight is one of them. For some reason when I use the newest version of your mod it causes exit code 1 crash due to it reusing epic fights and some other mods files, making it think they are in the mods folder despite being not there and not installed.
Lastest log -> https://cfpaste.modularity.gg/paste/?content=768367574001778729_1255859270000312351&filename=latest.log&raw=false

Could you please provide a crush report if there's one? It would be more useful than latest log which doesn't show much as I see

Sadly there is no crash report. It just shows exit code 1. The problem is I had epic fight at some point in my mods folder. I removed it without starting my world with it because it was crashing upon startup. For some reason your mod is reactivating the file I removed and therefore causing a crash. I have try and delete everything related to the mods epic fight and the other ones mentioned in the log. But I don't even have the mod active and it for some reason tryies to load the files of it when your mod is on version 0.1.6.

Really weird. I looked through in details but Vampire's Delight is never mentioned in errors, the only thing about it is that it was loaded successfully. So, installing 0.1.5b version again helps it, right?

yes, installing the previos version helps. I will ask in the curse forge server now. For some reason Mods that I had at some point are trying to be read, this causes a crash as they are missing. I also have a weird issue where the mod ferrite core is being added back despite me removing it. Each time I update your mod it gets added back. I dunno why. I know vampire delight isn't being mentioned. But this crash only happens if the mod is on version 0.1.6. It doesn't occur on any other version. I tested this by updating it and as soon as I started the game after updating this crash occured.

I am pin-pointing the issue by removing the mods the logs mention at the end. I think I found the issue.

So, I pinpointed the problem. The logs keept mentioning these mods. I haven't tested Kubejs and it's assosiateds yet. But Journeymap and enhanced celestials crash if you have eighter the one or the other or both.

Game also crashes with any of the Kubejs-Mods

So, if you change the version of VD to 0.1.5b everything is fine, but updating it to 0.1.6 causes those mods to crush, right? Now it looks even weirder. I'm not sure if I can do anything, but I'll try researching what I can tomorrow. Thank you for the information

Yes Indeed. VD 0.1.5b works fine with them. But For some reason 0.1.6 causes it to crash with any of these mods in the picture.

latest.log
One last thing, before I also go to sleep. This is the log without the mods in the picture. Maybe it helps. I litterally have like only 2 braincells to understand coding, so I barely understand any of it at all.

This is caused by your mixin plugin loading a whole hoard of Minecraft classes waaay too early by calling into a general utility class that loads those classes.
Specifically, nn the mixin plugin VDMixinConfigPlugin.java#L28 it loads the VDIntegrationUtils class when that lambda is called. When that class is first loaded it's  block loads, which includes setting the values of three ResourceLocation fields VDIntegrationUtils.java#L72-L75 which loads the ResourceLocation class.
Ideally the plugin would just have the 'is mod loaded' check directly in it and not get another messy util class to have the check.

Okay, how can I fix this? Is there any way to fix this?

I'm getting the same issue right now lmfao
Just reverted the version back to 0.1.5.b and now the game loaded
I would send a crash log to help but I have the sinytra gang installed

Yeah, still crashing!
For now stick to 0.1.5b until 0.1.6 gets a patch, I suppose.

There is no fix for the current version, @TheGridExpert needs to modify the code and publish a fixed release. For now downgrading to the previous version is the only way to continue using the mod.

Yes, I know I need to modify it, I just have no idea at all what to modify as those logs show nothing

ChiefArug, thank you for telling about Mixin plugin, I will fix it now and release a patch as soon as possible

Thanks for letting me know Chiefarug. I thought this is just a "Me-Problem" as I have many mods

@Maxi90909 Could you please check if this version works? I implemented changed ChiefArug said, now it shouldn't crush
VampiresDelight-0.1.6b-1.20.1.jar.zip

It loaded fine, without giving me exit code 1. I will try to load my world now and see if that also works.

It works fine. But I am getting a lot of lag. Also I can't grow orchid seeds in a botany pot as the cursed soil farmland item and any other farmland item is unobtainable in survival even when mined with silk touch.

Can't say about lag, but in order to get cursed farmland you just need to plow it inside the pot. Just place cursed earth in pot and plow the pot

The lag is caused by my Computer. It was a bit too hot. But that is normal. The problem with the pot is the following. I can put the cursed dirt, cursed grass block in the pot. But I can't put the orchid seed in then. I have tested this by giving myself cursed farmland and putting it in the pot along with a orchid seed. Then the plant grows, BUT only then. The problem is basically: The orchid seed can only be grown on cursed_farmland. However you can't obtain that block in survival, even if you mine cursed farmland with silk_touch it only gives me cursed dirt, which I can put in the botany pot but the orchid seed doesn't accept it. This is proven by JEI saying that in order to grow orchid seeds in a botany pot it needs cursed "farmland" normal cursed dirt or grass doens't work. That is the issue.

This is the issue. Unlike the mushroom (The one added by your mod) The seeds only accept "Farmland" in the pot. However that is not obtainable. Easiest way to solve this is to add cursed dirt as an acceptable block for the orchid seed and/or making the cursed farmland craftable like mystical agriculture does. (Cafting recipe is just any hoe and normal dirt to make normal farmland) In the case of Vampire delight just any hoe and cursed dirt from vampirism.

As the issue was fixed I'll close it.
ChiefArug, thank you for your help a lot!


Merge branch guzzle6 into master and release a new version

Maybe it does make sense - since it contains a breaking changes - to release it as 1.0.0.

Fixed in 2aaa2521a8f8269d6f5dfc13fe2af12c76921034


Make it possible to ship data to an on-premises version of SPM/Logsene

i.e. one should be able to change the Receiver URL.  Or maybe we just need to document where/how to do that.

+1 In the next release. This is possible today:
-e spmagent_spmSenderBulkInsertUrl=https://spm-receiver.sematext.com:443/receiver/v1/_bulk
-e LOGSENE_URL=https://logsene-receiver.sematext.com/_bulk

But the start script could map another variable like SPM_RECEIVER_URL to spmagent_spmSenderBulkInsertUrl.

Sounds good

Changes done and Readme updated to use SPM_URL and LOGSENE_URL for on-premises servers.