Make lattice_strain.py functions more generic

Following advice from @mikesmic and @aplowman , lattice_strain function should take phase_idx, phase_mask, elastic strain tensors and orientation data as inputs rather than defining them from the workflow dict. Instead, another function should be called which outputs these parameters given the workflow file.

Hi @Gbowker, It looks like this issue may have been resolved now? Let me know if you need any input from me. Cheers!

Hi @gcapes yes I think this is as agnisotic as we can make this function for now - thanks for checking back in. I will close this issue.


Delegation query fixes

fixes #31
As mentioned in the issue, the unbondings actually do not count towards the Delegation and AllDelegations query.
I also double-checked this on a testnet.
While I was at it, I also checked some of the edge cases (like 0 amounts) and changed most of the error messages to the ones in the sdk.

Some tests got removed and coverage decreased.
After that, I think it's a good idea to cut a new version.


Progress indicators 2.0

[x]  linear indeterminate curves correctness
[ ] circular: sizing: I've made the default size to-spec, but we actually desire non-linear adjustment of the stroke width as the size of the indicator changes.
[ ] circular indeterminate: multiple color support
[ ] circular determinate: needs starting motion. we're doing some design work on this now, so don't tackle this one till we can give more concrete feedback.

linear: lots of motion tweaking needed

This is fixed now right? cc @jestelle, @abarth

I believe so.

There are still open issues on progress indicators.  I can go into detail on each of these, but a quick list:

circular: sizing: I've made the default size to-spec, but we actually desire non-linear adjustment of the stroke width as the size of the indicator changes.

circular indeterminate: multiple color support

circular determinate:  needs starting motion.  we're doing some design work on this now, so don't tackle this one till we can give more concrete feedback.

linear: lots of motion tweaking needed

We can likely help with all of these.

Thanks @jestelle ! I added your bullets to the top of this issue.

@jestelle

"circular: sizing: I've made the default size to-spec, but we actually desire non-linear adjustment of the stroke width as the size of the indicator changes."  Where can I learn what function you desire here?  Is that in the spec somewhere?

"circular indeterminate: multiple color support"  Where can I learn what a multiple color circular progress indicator looks like / animates ?  Is that in the spec somewhere?

"circular determinate: needs starting motion. we're doing some design work on this now, so don't tackle this one till we can give more concrete feedback."  Has that design work completed?  If so, do you have more concrete feedback that we can execute on?

"linear: lots of motion tweaking needed"  Is there some spec for this or should I just attempt to make it match the video frame-by-frame?

@jestelle helped hook us up with additional info. It refers to internal docs, so I can't link directly. But, we can search for "Flutter, material, progress indicators" in internal Drive. From there, we should be able to pull out specifics and add them back to this issue.

I think this bug is stale, right? I believe our progress indicators match the Material site: https://material.io/components/progress-indicators/#specs
Are these features (e.g. multi-color) for Google-specific needs? Or can we close this bug?

Is there anywhere I can see a demo of this? I didn't see it in the gallery app.
Poking at the code,
circular: sizing: I've made the default size to-spec, but we actually desire non-linear adjustment of the stroke width as the size of the indicator changes.
I don't think this is addressed anywhere.
circular indeterminate: multiple color support
This has been primarily used for Google-specific multi-color progress indicators, but it was always expected that 3rd parties may be interested in using multiple colors here as well.
circular determinate: needs starting motion. we're doing some design work on this now, so don't tackle this one till we can give more concrete feedback.
I don't think this ever really got a complete consideration, so I wouldn't worry about it unless someone on the Material team brings it up ;-)
linear: lots of motion tweaking needed
I can't really verify that one, but happy to look at a demo if it's helpful.
All in all, you could probably make this obsolete.
No one has ever really implemented this progress indicator the way it was designed, and many details of the design aren't present in the published spec.
I'm personally obsessed over it a bit, which is why I still pay attention to bugs related to this particular little UI component.
Good luck!

I'm going to close this as obsolete.
If we have bugs in a particular progress indicator, let's open a bug for that indicator with some action to fix it :)


loaddata with factory_boy

Could you explain what is the best practice to use factory boy to load initial data to a development database ?

I use Flask primarily, and all I do is add a custom command to my manage.py file called generate_fake that is a function that simply runs through and calls a number of my factories.


Numerous adjustments

My fork changes quite a bit, so I understand if you don't want to merge it. In that case, I'll just submit this to the base16 project as an alternate style. Most of the changes I made were for better contrast between elements like text foreground and background, or selected and unselected tabs, in the majority of base16 schemes. My use of colors is a bit more sparing, as well.

Hi dgmulf
Thank you very much for your contribution. For me, your fork is somehow "another style" (less colors, but cleaner). Therefore I don't want to merge it.
As I highly appreciate the theming, I would like to provide it as a second one.
Maybe in a new folder called "themes-simple" ? Or have you any suggestions?
What are your thoughts?

Perfect. I'll add the theme to a second mustache  file, and configure it to output to a second folder.

Sorry, I can't find the second mustache file. It should be under templates/minimal.mustache, right?
At the moment I am not able to build with $ make all:
...
FileNotFoundError: [Errno 2] No such file or directory: '$USER/projects/base16-qutebrowser/templates/minimal.mustache'

Furthemore, I would like to store all different themes in themes/default and themes/minimal to make it simpler to come up with another one. But this is something I can do, if you don't like it to do.

Sorry, I can't find the second mustache file. It should be under templates/minimal.mustache, right?
At the moment I am not able to build with $ make all:
...
FileNotFoundError: [Errno 2] No such file or directory: '$USER/projects/base16-qutebrowser/templates/minimal.mustache'

Furthemore, I would like to store all different themes in themes/default and themes/minimal to make it simpler to come up with another one. But this is something I can do, if you don't like it to do.

Whoops! Looks like my .mustache file was being caught by your .gitignore rule. :)

I've reverted commit d5536a1, as you modified templates/default.mustache which was probably not intended.
In the meantime, I've added some screenshots to the wiki, feel free to add some more if you like.
For me, this PR is ready to be merged. I'm waiting for your final OK :-)

Looks good to go!

Merged. Thanks again!

Awesome, thanks for including my work! :)


How to debug CUDA code?

I've been modifying the code in roi_align_kernel.cuand wondering how to debug, setting a breakpoint, in this file. Please help.
Thank you.

I've tried following this guide, but the program doesn't stop at any breakpoints.

Setting breakpoints in cuda codes may not be trivial, and usually I just use printf for debugging. Let's see if others can help with that.


Suggestions to simplify Session management

I've made some changes which I think solve some bugs, simplify the code and make the diff smaller.
The main part of it was moving unreachable enr tracking to inside the LRUTimeCache in a generic way, by adding the concept of tagging. Elements can be optionally tagged when inserted into the cache. If we need to know how many tagged elements are in there we can just go like cache.tagged().
This allows us to easily track the number of unreachable sessions, just by checking tagged. There are a number of reasons why I think this is an improvement:

The code becomes much simpler and the diff from the original is smaller and I think we can remove a few dependencies
The futures based channel approach was not doing what you were expecting I dont think. In the Nat Hole Puncher, we implemented a stream based on when elements would expire. I think we were expecting this stream to wake up when something expires, but the LRUTimeCache is not async so it doesn't wake up when an element got expired. Rather it would wake up when something got sent to that channel. That only happened when get_mut() or len() on the cache was called. So elements could expire (time-wise) but the task will not get awoken until either of these functions are called. More importantly, the channel does not get populated when remove() is called. So in the NATHolePuncher tracking case, these were not being registered. I replaced this logic with a HashSetDelay, because it seemed we only cared about when elements were expiring. This is a true async struct and will fire exactly when things expire.
When sessions were removed, via the remove() function, they were not being counted as being removed from the tracker.  I duplicated this logic in the nat_hole_puncher_tracker with a delay hashmap.
Some sessions I think could be entered without being tracked also. From a WHOAREYOU. See here: https://github.com/emhane/discv5/blob/nat-hole-punch-discv5.2/src/handler/mod.rs#L870. So grouping the tracking logic into the cache helps isolate this logic and remove the chance of missing cases like this.

In addition a few more changes I made:

I removed the Clone and Copy derive from Session and Keys. These are private keys and we don't want to copy them in memory for security reasons. For private keys, we try to keep one point in memory to store them and we zeroize that memory when it goes out of scope. I think the copy and clone were only needed for tests, from what I can tell.
I simplified the naming a bit

I think I have replicated all the logic however. If there's a mismatch let me know.

Ok. I think i've addressed everything here. Will continue with the main review :)


Add expect to ProcessMonitor

resolves #1005, for real this time

At first glance, I don't think this implements the correct business logic.  expect should influence the size of the _read_buf.  See how TCPConnection works.

The CI failure seems unrelated

I'm still not totally convinced this implementation is enough.  At any rate, we should have a test for this behavior to prove that it works, just as we have _TestTCPExpect.

My local git handles the conflicts with upstream pretty easily, FWIW.


never tested this, need to check

          never tested this, need to check

Originally posted by @92lleo in https://github.com/92lleo/WhatsappWebToGo/issues/113#issuecomment-1756281183

      never tested this, need to check

      never tested this, need to check


Telemetry: Remove trackEvent call on mount

Context

In some instances we were calling trackEvent in an useEffect. Most of these cases included a check as to whether the event should be track due to some triggering event. However, in a couple places there wasn't a preventative check which was leading to the trackEvent getting called on mount, or during each re-render. We only want to call trackEvent when those events are truly triggered.
Summary

Add a check before calling trackEvent when trackEvent is called in a useEffect to avoid calling them when the component mounts.
Relevant Technical Choices

Check for searchTerm length before calling trackEvent.
To-do

User-facing changes

Testing Instructions

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

You can turn on tracking via the tracking package shared config file.  (There might be another way to change this setting, but this worked for me)
Go to package -> tracking -> src -> shared
change trackingAllowed: true, trackingEnabled: true
Tracking changed in 3 place. TextSets Media3p and the Dashboard
Go to text set tab and open console.
In the console type window.webStoriesTrackingDataLayer and hit enter.
You will see a list of all the tracking events
Filter text set by either Match fonts from story or selecting one of the pills ie. COVER , STEPS etc.
In the console type window.webStoriesTrackingDataLayer and hit enter again. You should see the new search event in window.webStoriesTrackingDataLayer TWICE. Each one is sent to two different places. Not sure why.
Repeat for Media3p search and Dashboard search

Reviews
Does this PR have a security-related impact?
no

Does this PR change what data or activity we track or use?
Yes!

Does this PR have a legal-related impact?
no

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #7738

A lot of these changes from the react side make me think we should just be putting these calls explicitly in actions. Just kind of feels like we are inferring actions within effects vs just putting stuff directly in an action to track an action.

Yeah that would be better, though it might cause repetition if an action can be triggered in multiple ways in the UI. Maybe something for a follow-up ticket.


Weird error trying to run examples in kotlin

I have explained it here: https://github.com/apple/pkl-jvm-examples/issues/6

The likely reason is that Pkl doesn’t yet support Windows. But I think it’s on the roadmap (see #20).

Yup, @translatenix is right. We're aiming to support Windows in our next release (0.26, targeted for June).
For now, to use Pkl on Windows, the best method is to run it via WSL.
Closing this as a duplicate of #20

You can likely do what you want currently see https://github.com/apple/pkl-jvm-examples/pull/9  and #237 it is for java codegen but I can't imagine it is any different.  For one your absolute windows paths starting with c: will likely not work, and for another all slashes must be forward slashes.


docs(troubleshooting): add note on --disable-dev-shm-usage for Docker

The bug about shm is not closed yet (and has been reverted once already). I'd wait for it to be finalized first


Issue with Tota11y dialogue Color contrast ratio

Hi,
Found that the dialogue content color contrast ratio's are not identified by Tota11y tool (Contrast).
Thanks,
Jyothi Reddy Gogireddy

Good call.

Hi @JyothiGogireddy,
Can you clarify what you mean with a screenshot?

Attaching screenshots for reference.

Thank you for the screenshots! Could you please link me to that page so I can inspect further?


Container not found errors for all containers I start via testcontainers.

I probably am doing something wrong, but I am running a kubedock pod. I have testcontainers running via gitlab ci. When it runs it connects find and created containers. I can see it in the logs. However when I check the logs it keeps saying this for all booted containers:
W0524 18:09:48.023092       1 util.go:64] container status error: pods "kubedock-eohvuhyspkj8-redis-1-d2c8e83115a7" not found
when I run it with high verbosity it seems to say that the containers were OOMKilled however they were not OOMKilled because I don't see any OOMKilling at all from the kube events nor the container statuses. I even tried setting high limits + requests just to test.
I will try now with 0.10.0 since 0.11.0 is new and perhaps some bug was introduced. Will report back.
My startup commands/args:
command: ["/app/kubedock"]
        args: ["server", "-ngitlab-runner", "--reverse-proxy", "--inspector", "--request-memory=1024Mi,1024Mi", "--timeout=4m0s", "--service-account=gitlab-runner-devops"]

I also went ahead and gave the service account cluster-admin for all services accounts in this NS just to eliminate other possible reasons.
I am on GKE 1.25.x

Were you able to try with 0.10.0 to see if this occurs there as well?

Were you able to try with 0.10.0 to see if this occurs there as well? I am unable to reproduce in my setups.

Ya I see the same behaviour on 0.10.0 as well. It is starting the containers using compose from test containers. I also see a bunch of 404 not founds for networks. I tried in both port forward and reverse proxy mode. Not quite sure why it can't find them because I can see the pods running fine without issue and they are even in ready state.

Do you have a small test-project which demonstrates the problem?

Do you have a small test-project which demonstrates the problem?

I am AFK today but can put something together tomorrow.

I am closing this issue, it doesn't seem to be a general issue. Without any specifics, I can't help.
Feel free to re-open with additional info.


Concern about CLN signature verification

In the cln page, you advice to not trust but to verify, and so to verify the signature of the lightningd checksums to protect yourself in case the repository is compromised.
My question is: why do you guide to import the public key from the repository, if the concern is to avoid being victim of repository compromisation? If an attacker was to alter the source code, he'd alter the public key with his as well.

That's a good point! Two things could be done here: 1) import GPG key from different source, 2) add fingerprint of Rusty's pubkey to the doc, so user can compare that it matches.


coreos-cloudinit

When coreos-cloudinit get called? It is a one-shot program only runs when the machine is first time started? I changed user-data to add a file to /etc/env.d and run vagrant reload --provision it updates the /var/lib/coreos-vagrant/vagrantfile-user-data but I need to run  sudo coreos-cloudinit --from-file /var/lib/coreos-vagrant/vagrantfile-user-data by hand to get the file created or updated.

@wiliamsouza , nice project
i will use in my development enviroment :D

@wiliamsouza , i adjust your user-data, and now it's running :dancers:
https://gist.github.com/claytonsilva/6973acddea9797cbbd8f

Moved to https://github.com/coreos/bugs/issues/1372


fix #4 clean shutdown

no server.sh middleware so AvorionServer runs as pid1, receiving all the signals from the container runtime directly enabling clean shutdown
Further information to be found in #4.
Warning: this is untested, please test before merging

LGTM. Thanks.


Retention policy vs Office group expiration

Retention Policy: "If you have set up a retention policy for Office 365 groups, when a group expires and is deleted, [...] files in the group site are retained in the retention container for the specific number of days defined in the retention policy."
This needs way more explanations. What is the "retention container"? According to my tests, the group is destroyed, but the entire SharePoint site is kept, including documents that are not targeted for retention. It defeats the purpose of saving disk space if the entire site content is kept only because a single document is targeted for retention. Yet, the behaviour must be more explicit.

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

ID: ee217532-6b64-61f7-d965-bc95d9198cdb
Version Independent ID: f6bab9a9-1b8b-01db-6e42-045eb04efe9e
Content: Expiration for Office 365 groups in Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/groups-lifecycle.md
Service: active-directory
GitHub Login: @curtand
Microsoft Alias: curtand

Hi @PzKfWg ,

A retention container is used to retain group conversations after a group has expired or has been deleted.

It should keep the Sharepoint content.

That's interesting that your experiment showed more data availability - I would like to know more about your case because it's hard to diagnose without greater details. Users shouldn't be able to see the data but group owners may, which might explain your scenario.

For more detailed product questions like these the best channel is MSDN, which we monitor daily. Please post here and I will ensure that we continue the conversation and get this question resolved.
Please post to MSDN so we can continue the conversation and get the product group involved as needed. https://social.msdn.microsoft.com/Forums/en-US/home?forum=WindowsAzureAD


PET Screen Game

Hey! I want to add PET Screen Game , which will be made using Python

@TusharAMD kindly assign


attr_json_config(bad_cast: :as_nil)

To rescue bad casts to AttrJson::Model as nil, instead of raising. Especially useful when using a model as an AR Serialization coder to cover an entire json column.

Travis is green but for an allowed failure when you click through, not sure why it's saying pending (but around allowed failure?)


API Request - Hide fluids

Hello M3ga and team,
A reoccurring complaint that I get is that the essentia gas from Thaumic Energistics shows in the Fluid Terminal, and while this is expected behavior it appears to be unwanted.
I wanted to ask if there was any way possible to include a method in the EC API that would allow adding a fluid to a display blacklist. In effect all this would do is prevent the fluid terminal from displaying the fluid, and should have no other effect.
All of the essentia fluids I build come from a single class which I aptly named "GaseousEssentia". As such I was thinking a simple way to blacklist them would be for the API call to accept a class definition, and for the terminal to perform the instanceof check.
Another possible solution that has been suggested is the use of view cells, however I have not looked into view cells at all, and do not know if they would be a viable solution.
I would love to hear your thoughts and feedback on the matter.
Related to https://github.com/M3gaFr3ak/ExtraCells2/issues/148

Will work on this

Thank you very much Drummer

I have add this.

Above and beyond, thank you for including the storage option.


Links to generic data use resources

e.g. as a new section after the "access data" section.
We can perhaps reuse some of the design work from https://github.com/open-contracting/data-registry/issues/265

cc @Camilamila


[Feature Request] maven-enforcer-plugin

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
maven-enforcer-plugin
https://maven.apache.org/enforcer/maven-enforcer-plugin/usage.html
https://www.cnblogs.com/qyf404/p/4829327.html
https://github.com/McFoggy/cssfx/blob/master/pom.xml
Additional context
No response

https://maven.org.cn/enforcer/maven-enforcer-plugin/usage.html

https://blog.csdn.net/z69183787/article/details/92408692


this.tableData.filter is not a function when trying to paginate

I'm currently using checkboxes in the first row and slots... when I try to click on the next page, I receive this error:
this.tableData.filter is not a function

It appears that this.tableData after clicking on "page 2" becomes an object of data and is no longer an array.

@jaketoolson What browser are you using? I'm not sure it related to this PR, but I have verified that it really cause problem with brower other than Chrome.

@ratiw I'm using google chrome

@ratiw hmm but the changes on #66 pull request has nothing to do with this issue and the comment above that,  querySelectorAll  return NodeList not arr

i'm pretty sure the issue caused by https://github.com/ratiw/vuetable-2/blob/526941a30d1a3f7f1f5a7a57e73398b4551675f6/src/components/Vuetable.vue#L371
i solved the issue by converting this.tableData to array

Came across the same issue when using _checkbox:, for laravel < 5.4, array_flatten() does the trick
 $data = array_slice($results, $offset, $pageSize, true);
            $flattened = array_flatten($data);
            $paginator = new \Illuminate\Pagination\LengthAwarePaginator($flattened, count($results), $pageSize, $page);


UnidentifiedImageError: crashing download of images

Hey I have error:
UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f0981e1e950>
When I try to load images to train the model

UnidentifiedImageError                    Traceback (most recent call last)
Cell In [35], line 26
23   return None
24  return Image.open(BytesIO(response.content)).convert("RGB")
---> 26 images = list(filter(None,[download_image(url) for url in urls]))
27 save_path = "./training_samples"
28 if not os.path.exists(save_path):
Cell In [35], line 26, in (.0)
23   return None
24  return Image.open(BytesIO(response.content)).convert("RGB")
---> 26 images = list(filter(None,[download_image(url) for url in urls]))
27 save_path = "./training_samples"
28 if not os.path.exists(save_path):
Cell In [35], line 24, in download_image(url)
22 except:
23  return None
---> 24 return Image.open(BytesIO(response.content)).convert("RGB")
File /venv/lib/python3.8/site-packages/PIL/Image.py:3008, in open(fp, mode, formats)
3006 for message in accept_warnings:
3007     warnings.warn(message)
-> 3008 raise UnidentifiedImageError(
3009     "cannot identify image file %r" % (filename if filename else fp)
3010 )
UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x7f0981e1e950>

Try restarting the kernel? Worked for me

Thanks, I think that changing file location from Gdrive to Dropbox helped.

Thanks, I think that changing file location from Gdrive to Dropbox helped.

Hey, wondering what you meant by this? That you were hosting your files on Dropbox but changed the URLs to Gdrive and that got you past this error? I'm having the same error hosting my photos on imgur

Yes, it was problem with img hosting server and link, now I am using dropbox and it's ok!


Use pre-built Docker images to cut down installation times

I just did this with our PolicyEngine API package: basically, install once, then save the machine state and reinstall that in future actions. Here's our code. It cut about 10 minutes off deployment times.
(cc @rickecon @jdebacker )

@nikhilwoodruff  - thanks for this suggestion.
One potential issue I see is that the Docker image can become stale and you might not find out that there are conflicts with your package and recent version of dependencies (GH Actions tests are often how I find out about such conflicts).
Am I understanding this correctly?


AWS CA1-CA4 Certs now in CC3220 Cert Store

As of SimpleLink <IP_ADDRESS>, TI now includes the AWS ATS Certs CA1-CA4 in their cert store.
The file aws_secure_sockets.c can now be revised to no longer disable the built-in cert store as it can be left enabled to satisfy the certificate chain.
In the mean-time, we've effectively commented out the relevant lines of code (listed below) to re-enable use of the built-in cert store.
https://github.com/aws/amazon-freertos/blob/3c16dfabb69410116a4fbff41f4a9975ded9b997/lib/secure_sockets/portable/ti/cc3220_launchpad/aws_secure_sockets.c#L397-L432

We're struggling a bit with the transition procedure that this change will require. If we remove the code block above as proposed, but the customer hasn't re-Uniflashed the board (or if the customer does re-Uniflash, but with an older version of the SDK), then the cloud connection will fail.
A second consideration, regarding boards that get migrated as above: is there a risk in leaving the old root cert as a user file?

@tombresson per my comment above, the risk of taking this change doesn't seem to outweigh the benefit. If you have further insight into smoothing the transition, please reopen this issue and let me know. In the meantime, I apologize for the delay in getting back to you.


How to get the submit response message and show it on the above of  Adaptive card?

Platform
What platform is your issue or question related to? (Delete other platforms).

.NET WPF

It only shows the Response code. But the response message is omitted.

Hi @JiahaoLiu1001 can you provide a bit more detail to help us debug this? Are you rendering these cards or building a Bot Framework bot? Can you provide the payloads you using and expected/actual result you're seeing?

@matthidinger piggybacking off this issue: I'm trying to submit this card input form. However, when I click submit, nothing seems to happen 😢
FYI, I'm using an SSH tunnel to forward all packets received to my public hosted callback URL (the one you specify when registered an app w/ MSFT) to my local instance so I can work with local code changes and DB state. So, my hunch is that my Skype client doesn't have the appropriate CSRF token since MSFT bot API probably expects the form submission request to come from a different domain or something.
But now that I think about it, the Skype client can be on any computer, so this doesn't seem that likely anymore now that I'm thinking out loud...
Anyway, here's a screenshot of both my Skype chat in which the form is filled out and I'm clicking submit; and the second screenshot is my bot server logs (it's a nodejs application). Note that any adapter.onTurn handlers write to this STDOUT log so I'm showing you that there is no activity upon clicking to submit the in-chat form).

This looks to be an issue with the Skype client and not the Adaptive Cards rendering SDKs. Please re-open if that is not the case


[CT-2947] [Bug] Ephemeral model should refresh when a new column is added

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Compiled code:
with __dbt_cte_ephemeral_model as ( select * from some_source_model ) with primary_upstream_model as (select * from upstream_model) , ephemeral_model as (select * from __dbt_cte_ephemeral_model) select * from primary_upstream_model
Expected Behavior
Compiled code:
with __dbt_cte_ephemeral_model as ( select * from some_source_model ) , primary_upstream_model as (select * from upstream_model) , ephemeral_model as (select * from __dbt_cte_ephemeral_model) select * from primary_upstream_model
Steps To Reproduce
Run this:
with primary_upstream_model as (select * from upstream_model) , ephemeral_model as (select * from ephemeral_model) select * from primary_upstream_model
Relevant log output
No response
Environment
- OS:
- Python:
- dbt:

Which database adapter are you using with dbt?
No response
Additional Context
The root seems to be that when DBT compiles an ephemeral model, it should adjust the rest of the model imports to account for the added CTE.
A full refresh should happen whenever a column is added; it also shouldn't fail as an invalid identifier.

Thanks for reaching out @BrJan !
Could you share the following?

an example source code for an ephemeral model that leads to this problem
dbt commands you are using
the database adapter you are using (e.g., bigquery, snowflake, databricks, etc)

Also, which version of dbt are you seeing this in?
I just remembered this looks like https://github.com/dbt-labs/dbt-core/issues/8213 and https://github.com/dbt-labs/dbt-core/issues/8217 which were fixed in dbt-core 1.5.4

This is resolved - I think Brian opened up an accidental dupe since the customers ticket contained 2 issues (the first of which was this, which is fully resolved, the second of which is regarding contracts and thus has nothing to do with this whatsoever).


setup.py needs to reflect reorg of demo dir

@doutriaux1 @durack1 We've changed the organization of the demo directory in the source codes but not the binaries.   setup.py needs to be modified to reflect this.   PG will try...

@gleckler1 @doutriaux1 this is a dupe of #374 so closing


Packet corruption issues

I'm still getting packet corruption issues in the latest release of this code. I'm not overly familiar with the RakNet internals so I'm having trouble debugging, but it still looks related to this split packet issue that is supposed to be solved. When I run my app about 1/4 times a big message that I send (> MTU, I believe) is not received properly on the client side. The message ID is completely wrong and all of the data is mangled. Are there any tips about how best to see if this packet reordering is the issue? I'm currently running the PacketLogger but it doesn't show much that seems to help.

I'm not entirely sure what's going on, but it seems the problem shows itself if I link my code against an archive built from CMake. If I build the .cpp files for RakNet directly in XCode and don't link against the archived library the problem doesn't seem to appear. Or at least with no detectable frequency.

Hi man. Oculus is now quite busy with doing VR and so they do not have time to update this project.
The problem you said have been resolved in the community version raknet. see this repo https://github.com/larku/RakNet

Note, there's a few other fixes provided by other users (in other Issues) that I'll be folding in to that fork over the next two weeks - so keep your eye out for some updates.


Replication secure base with proxy.

Wrong auth addres by using couchdb with nginx reverse proxy.
Description
for example nginx conf:

(i using docker image couchdb docker local net addres "db")
location /couch {
	rewrite /couch/(.*) /$1 break;
    proxy_pass http://db:5984;
    proxy_redirect off;
    proxy_buffering off;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

replicator doc:
...
  "source": {
    "url": "https://mysite.com/couch%2Fnew_base",
    "headers": {
      "Authorization": "Basic YWRtaW46Q291Y2hkYjA2OTA1OA=="
    }
  },
  "target": {
    "url": "http://localhost:5984/new_base",
    "headers": {
      "Authorization": "Basic YWRtaW46YWRtaW4="
    }
...

local (target) base send auth PUT to "/_session" after starting
Steps to Reproduce
Expected Behaviour
local (target) base should send auth request to "/couch/_session" or "/couch/new_base/_session"
Your Environment

CouchDB Version used: 2.3.0
Browser name and version: any
Operating System and version: windows, linux

Additional context
i solved problem by add additional redirect block to nginx conf but it wrong behaviour:
...
location /_session {
	#rewrite /couch/(.*) /$1 break;
    proxy_pass http://db:5984/_session;
    proxy_redirect off;
    proxy_buffering off;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

}
...

Note: replication task can work only with admin auth

We're experiencing the same issue. We are using the same version of CouchDB in addition to Docker and nginx

Docker: https://hub.docker.com/r/apache/couchdb & https://hub.docker.com/r/treehouses/couchdb (based off official Apache container for use with ARM or x86)
Nginx: 1.13 & 1.14

We also dug a little into the logs to see the CouchDB is failing with an auth error:
{"timestamp":"2019-03-07T05:18:13Z","type":"crashed","reason":"{replication_auth_error,\n {session_unexpected_result,\"405\",\n \"https://<serverurl>/_session\",\"<admin>\"}}"}

The  section does not include the proxy address (in the above example /couch)

We've solved this as a documentation issue:
https://github.com/apache/couchdb-documentation/pull/399


REPL broken?

I've gotten the following error in the REPL today (https://fable.io/repl), with no rendered output:
Chrome: Uncaught SyntaxError: The requested module '../../fable-core/Types.js' does not provide an export named 'L'
Firefox: SyntaxError: import not found: L

I can confirm.
@alfonsogarciacaro I think the latest release broke the repl. We really need to test it before publishing or to add automatic tests :)

Ah, damn. This is because the Repl.Lib files were built with a previous version of Fable 😬 We should build the Repl.Lib together with the Repl bundle to avoid these version mismatches.
For now, the online repl should be fixed now, thanks for reporting!


[WFCORE-6097][WFCORE-6098] Upgrade JBoss Class File Writer to 1.3.0.Final and JBoss Invocation to 2.0.0.Final

https://issues.redhat.com/browse/WFCORE-6097
https://issues.redhat.com/browse/WFCORE-6098

ohhh, It got a conflict after merging the byteman update, I've fixed it and going to wait for the CI, there is no rush for this.


Add definition/short description for each element in the model

This will be to define and add short description for each element in the model.

I have added a description for every element in the model.


Week 0 Individual

Reviewed by Paul
Score: 2.8/3
Individual GitHub pages for Rohit De (3 points)

GitHub page for Test Prep study, requiring 5.1, 5.2 notes and actions( See "GitHub pages actions" at the bottom of each TPT page on cspcoders (Links to an external site.))

https://rohitd3.github.io/rohit-csp3-algo/
<EMAIL_ADDRESS>

GitHub page that documents Data Structures project, using code snippets for key learnings, and links to  GitHub for code and Replit for runtime

GitHub page that documents intended Create Task project for College Board, snippets, and links to Runtime

Score 2.8/3
Notes well organized and covers the topic sufficiently; Also shows clear understanding of the Data Structure content
Replit code examples are shown along with demo the code running, all minor issues
Provides descriptions of code on Github Page. and in the Replit files itself for organization; Code is easy to follow
Create Task section there with idea


Removes private internal Zalando documents.

Going ahead with removing private links while https://github.com/zalando/restful-api-guidelines/issues/394 gets resolved.

:+1:

:+1:

⚠ WARNING / SUGGESTION
We should keep a trace of those internally and prepare a Companion Document, with the same format as those guidelines, that indicates what should be read additionally for Zalando employees.

We should keep a trace of those internally and prepare a Companion Document,

@ddufourboivin-zalando might be an idea to open an issue for that or added it to  #394 so it doesn't get lost here

:+1:

@dehora I can live with deletion of link 1 - 3 -- they are less relevant for efficient rule application.  However, in the functional naming section we should link to our functional name inventory service (such that teams can efficiently create names). We will add this.


Update to version 0.3.8

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


Session timeout occurs very quickly

Tabbed away from ldjam.com for probably 2 minutes, came back to a session timeout. Maybe this is by design, I don't know, just seems very short to me.

Not by design no. A bug. It just might have gotten worse after some software updates.

I timed out while actively using the page...

I've set-up something that should fix it, I'm just putting it through its paces now.
In theory the "timeout while actively using" problem should be fixed now, but I need to see what happens if I don't use it for like an hour, if it's still persistent.

It would be nice if time out just... didn't happen. There isn't really a
good reason to sign someone out unless they explicitly do so themselves.

Landon Manning
<EMAIL_ADDRESS>On 11 April 2017 at 01:43, Mike Kasprzak<EMAIL_ADDRESS>wrote:

I've set-up something that should fix it, I'm just putting it through its
paces now.
In theory the "timeout while actively using" problem should be fixed now,
but I need to see what happens if I don't use it for like an hour, if it's
still persistent.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/574#issuecomment-293148257,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkB_BhwCuTCIYc4J-xzlVC8ksV1mfMzks5ruwTYgaJpZM4M5fP2
.

Definitely (security), but it can absolutely be bumped up to days instead of minutes.
The short timeout time is just a default setting for PHP. The server was also running 2 versions of PHP, and by default they share the same location of session data (/tmp), which sees them stomping all over each-other's expirations.

Excellent, it's working exactly as I expected (TTL gets reset any time you do something).
Now I'm going to drop the TTL very low (a couple minutes) just to confirm that I have control of it.

Okay, this should be solved now. There are going to be some other issues with login persistence, but those should be a separate bug.


BUG: issue 3930- mne cmd line tools no longer needed

Fix for issue 3930
no need to check for mne cmd line tools

I think you could actually remove the requires_mne argument from _prepare_env, it's not called with True anywhere.

I can certainly do that.
My only hesitation is that the check is pretty innocuous and i didn't want to change the API, even of a hidden method, in the off chance that some code imported it directly.

My only hesitation is that the check is pretty innocuous and i didn't want to change the API, even of a hidden method, in the off chance that some code imported it directly.

It is private so we need only concern ourselves with internal consistency. Let's try a git grep (which @christianbrodbeck probably did already) and remove it if it seems okay.

Done.

LGTM
+1 for merge if CIs are happy

Thanks @bloyl


Save/Load camera configuration into camera's memory slot

I read the info of the camera https://s1-dl.theimagingsource.com/api/2.5/packages/documentation/manuals-trm/trmdfk33gx265/b1db2c66-e201-5866-8dda-163c2bea225d/trmdfk33gx265.en_US.pdf
At the page 41 I saw memory slot, User Set Selector, Load User Set,... I read the document and github but I couldn't find solution
My problem is when I disconnect the camera and then reconnect it, all the properties I set like Gain, Exposure, BlackLevel,... are reset.
I would like to know if i can save the camera configuration to the memory slot and restore the camera configuration from the memory slot. So, I can keep all my setting when I use the camera for another works.
If you have examples of this or instruction, could you suggest them to me?
Regards,
An

Dear An,
after you changed your Properties you can save your Settings into a UserSet (not in Default). So you have to set the UserSetSelector as example to UserSet1 and do a UserSetSave. After that you should also set your UserSetDefault as UserSet1. Otherwise you have to change the UserSetSelector on UserSet1 and do a UserSetLoad everytime you start the camera.
Best Regards,
Kevin Herbrich

Hi Kevin, thank you so much for replying
Do you have any example samples on how to do them in these 2 directions:

Code with python, c++, c,...
Use tcam capture application

Best Regards,
Kevin Herbrich

Dear An,
i have to say i am sorry. I did not notice this ticket is in tiscamera. No you do not have any access to userSets in tiscamera.
But tcam capture (1.0) provides a function to save a device state and load the device state.
You can find this in the "Info" Menu. There is a category named "State".
If you want to use tcam-capture you have to load the config every time manually.
If you want to load the deviceState.json automatically, you write your own program which loads the .json on every start.
Code example how to do load the json can be found here:

Python: https://github.com/TheImagingSource/tiscamera/blob/master/examples/python/11-json-state.py
c: https://github.com/TheImagingSource/tiscamera/blob/master/examples/c/11-json-state.c

Hi Kevin, Thank you so much for the great explanation
I use tcam-capture application to set properties, in the "Properties" menu I saw an "Update (F5)" button. I noticed that even if i press that button or not I see the properties are still saved. So I have some questions to ask you

When I set the property (by dragging the slider). I wonder if the "State" of the camera is created or overwritten in any file in the system or in the tiscamera folder?
Same question above but with "Update (F5)" button. When I press this button will any "State" file be created or overwritten in the system or in the tiscamera folder?
Is there anyway I can use tcam-capture to snap image? Or is the only way to snap image is that programming?

Thank you so much
Best Regards,
An

Dear An,

I noticed that even if i press that button or not I see the properties are still saved. So I have some questions to ask you

I have to be honest i do not know exactly if there is a temporary safe in the camera or in software. Our Software Developer for tcam-capture is also in holidays so i can not ask him at the moment.
In some way the properties are safed for a while but if you reconnect the camera (cable unplugged) the properties should be resetted.
tcam-capture 1.0 does not provide a function to snap images currently. So for tiscamera 1.0 you need programming.
Examples can be found here:
https://github.com/TheImagingSource/Linux-tiscamera-Programming-Samples/tree/master/python

Is there anyway I can use tcam-capture to snap image? Or is the only way to snap image is that programming?

If you use tiscamera 0.14 you have a snap image function for tcam-capture.
Best Regards,
Kevin

Hi Kevin,
Maybe after your Software Developer tcam-capture holiday I'll ask again about where "State" file is
As you said before tcam capture (1.0) provides a function to save a device state and load the device state in the "Info" Menu.
I would like to know if tiscamera 0.14 also have this feature?
Thank you so much Kevin
Best Regards,
An

Hi An,

As you said before tcam capture (1.0) provides a function to save a device state and load the device state in the "Info" Menu.
I would like to know if tiscamera 0.14 also have this feature?

No tiscamera 0.14 does not have this feature. It is a new feature which came with tiscamera 1.0. The Snap Image button should be back in tiscamera 1.1. I do not have any information about release date for tiscamera 1.1.
I think the only solution right now is to use tiscamera 1.0 and enhance the snap image program example.
Best Regards,
Kevin

Closed due to inactivity.


Update USERS.md entry for SeatGeek to include Service Mesh

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Adding myself to USERS.md.

/test

Thanks for the addition @aetimmes! Would you be interested in doing a case study about your use of service mesh? I would just need 30 minutes for an interview so I could write it up. You can see other examples here https://www.cncf.io/case-studies?_sft_lf-project=cilium

Let me run it by legal, but assuming they sign off, absolutely. I'll reach out on Slack once I hear back (could be a couple weeks depending on holiday schedules etc) for scheduling etc.


Trouble provisioning an environment for this with Ansible

I think I have an Ansible playbook. Can anyone verify this works for them though?
nocode.yml
- hosts: localhost

it is better if you run this to no host. mine works like a charm


Release with CI via git tag

This may help:
https://github.com/pimalaya/himalaya/blob/6ff37711357ad60e2bf48a866fa6053bc854ff34/.github/workflows/release.yml#L1-L23
Although it uses an old and unmaintained GitHub actions. This one seems to be active: https://github.com/elgohr/Github-Release-Action. I need to refactor mines as well, so I can propose a PR if interested in?

imap-codec already has a workflow for this, I would use it as template to keep both projects consistent. But thanks!


Add specs for Data.define with block

Hi again 👋 🙃
I just realized I missed a test case for Data.define with a block. This PR adds that.
Do you think the documentation could/should be improved as well, since it does not mention the capability of blocks:

In my opinion the signature should be something like define(*symbols) {|Data_subclass| ... } → class.
And it would be nice to have an code example with a block. Actually, there is an example in Define.new, but one may not necessarily see that when reading the documentation. 🤷

@eregon Feel free to close this PR if this is not needed. 👍

Re the documentation, probably yes but that's not my area, feel free to make a PR to ruby/ruby for improving the documentation


feat: add timeout for bolt open

Add timeout for bolt.Open options to prevent indefinitely block when bolt plugin init which won't throws any error and makes it difficult to findout the reason.

Note that we recently added cancellation for this bolt open so it doesn't block when termination signals are sent.
https://github.com/containerd/containerd/pull/5970
I'm also hesitant to include a timeout here.

Note that we recently added cancellation for this bolt open so it doesn't block when termination signals are sent. #5970
I'm also hesitant to include a timeout here.

What the timeout here for is to prevent blot.Open block the main plugin init process.IMO termination is another thing.
During in plugin init process, there is no one sending the termination signals to terminate the process. besides if so, the process will exist though.

I'm also hesitant to include a timeout here.

+1
We never know what happened on the node. Sometimes, the load of node is too high and it might repeat to restart containerd because of the timeout setting. Basically, boltdb only loads the metadata and do mmap, which doesn't take a long time. If there are two processes to open the same boltdb, one will hang until other one releases the flock. This case is solved by #5970

Basically, boltdb only loads the metadata and do mmap, which doesn't take a long time.

Yes, it won't take long.

If there are two processes to open the same boltdb, one will hang until other one releases the flock.

Currently flock will block without timeout. The block may because of dulplicate open containerd in which situation it may should failed for the second one. right?

Currently flock will block without timeout. The block may because of dulplicate open containerd in which situation it may should failed for the second one (automatically not triggered by signals). right?

Yes. Basically we use systemd to manage the containerd. If containerd doesn't send ready notify to systemd, systemd will send the signal and restart it.
But for the timeout value, it is hard to make it right. It depends on IO/Memeory/CPU pressures. That is why I don't suggest to add timeout here.

But for the timeout value, it is hard to make it right. It depends on IO/Memeory/CPU pressures. That is why I don't suggest to add timeout here.

Thanks! One more question, Do u mean that we can't determine whether the block is because of file already been locked or the load of running node is too high that it can't response SYS_FLOCK syscall?
If we all agree with there will be something like systemd to manage the lifecycle of containerd and will send signals when containerd block at bolt plugin init process,i will close this pr.
/cc @mxpv @dmcgowan @cpuguy83

But for the timeout value, it is hard to make it right. It depends on IO/Memeory/CPU pressures. That is why I don't suggest to add timeout here.

@fuweid  If I understand it right, with timeout change, containerd will stuck on bolt.Open and eventually will return an error. In this case systemd will be able to restart it, same way as with signal? But we'll get a clear reason of what went wrong.

But for the timeout value, it is hard to make it right. It depends on IO/Memeory/CPU pressures. That is why I don't suggest to add timeout here.

@fuweid  If I understand it right, with timeout change, containerd will stuck on bolt.Open and eventually will return an error. In this case systemd will be able to restart it, same way as with signal? But we'll get a clear reason of what went wrong.

systemd has default timeout(=90s maybe longer) if it doesn't receive ready notification.
Checked the boltdb.flock. It uses LOCK_NB and will fast return error ideally. Agree that timeout error can show the flock is hold by other process. To be honest, this timeout setting makes containerd so hard to deploy with. How to parameterize the timeout is a question, because we don't know what will happen when restarting containerd in high load. Maybe we can make default value is no timeout and let ops admin to make a call.
Just my two cents.

looking for advice from @dmcgowan

I agree with @fuweid that we should keep the default the same. You can just set the timeout in the init() to 0 to match current behavior.
Also, the options which get passed into bolt.Open should first copy bolt.DefaultOptions, such as options := *bolt.DefaultOptions, then overwrite the timeout.

Maybe we can make default value is no timeout and let ops admin to make a call.

You can just set the timeout in the init() to 0 to match current behavior.

I was about to propose the same. I like this.

One other thing we can do is when it is taking a long time to log something like "waiting for boltdb open" (along with plug-in name).

Thanks for these advices!

jonyhy96

Can you share some details about the issue you have seen? What error messages did you see? What was the state of containerd?

cc @ruiwen-zhao

Can you share some details about the issue you have seen? What error messages did you see? What was the state of containerd?

Running containerd twice on one machine (dulplicate flock for /var/lib/containerd/io.containerd.metadata.v1.bolt/meta.db) will block second containerd forever(if running without something like systemd to trigger term signal) at plugin init process.

LGTM on the current design.
(not sure we need the goroutine https://github.com/containerd/containerd/pull/6225#discussion_r753625218)

Please squash your commits.

Done


feat: avm/res/db-for-my-sql/flexible-server

Requires uncommenting in the /.github/CODEOWNERS file

done


Integrating Other Environment Provisioning within Zeus

We started with Python, but it was always meant to be extended to other environments (Rails, Node & Express, Elixir etc.)
Here are the key points we would want to keep in mind:

an end user should be able to get only one environment as they need.
provisioning logic for all of these would be in this directory.

A lot of efforts need to be duplicated if we keep these repos separate - where only difference would be in specific provisioning packages. Hence we have to think of a way to integrate those provisioning logic within this repo itself.
This issue can be closed with the first pull request that re-architects the directory structure to handle multiple provisioners, and some variable in Vagrantfile to handle the switch-case logic.

@alayek I take up this issue and will finish the architecture planning and implementation with the current stack available.


crash with NoiseTrekker 1.x tracks

currently NoiseTrekker 1.x tracks seem to load but then the program crash when trying to play them. any chance to add the support?

Do you have any example file ?

NoiseTrekker 1.x (header 'TWNNSNG1'):
http://modland.com/pub/modules/NoiseTrekker/
opposed to
NoiseTrekker 2 (header 'TWNNSNG2'):
http://modland.com/pub/modules/NoiseTrekker 2/
opposed to ProTrekkr headers 'PROTREK' or 'TWNNSNG' ending with '6', 'G' or 'I'

This is fixed but 'TWNNSNG1' modules aren't even Noisetrekker 1 but Noisetrekker beta. There is no real interest in using those.

Just download Noisetrekker R7 and try to open one of such module.

Try them:
https://hitchhikr.net/NoiseTrekker beta v1.6.rar
https://hitchhikr.net/NoiseTrekker R7.rar
https://hitchhikr.net/NoiseTrekker2 R12.rar

consistent with audio.1.sg detection which mention "v1.6b"
(A quick note from the guy who wrote that there: I'm no expert on the history of noisetrekker/protrekkr! If someone has a solid table of versions vs signatures, I'll be happy to change that one)

The synth engine have been heavily modified in protrekkr anyway so loading them into it won't sound near as the original.
Beside all the public ntk modules have been converted to ptk.

so 1.6b means 1.6 beta clearly
@hitchhikr thanks for the links

btw this seems the final ntk version: https://web.archive.org/web/20041017175640/http://amor.rz.hu-berlin.de/~h0444fje/ntk3.2.zip

This one wasn't made by Arguru but by the guy who's working on Renoise, the source code of that version have never been published.


Bump<EMAIL_ADDRESS>

This PR adds Use GitHub style when "Save as HTML", but CI failed. Due to the "language-javascript-was-updated-but-markdown-preview-didn't-receive-the-changes-yet" failures, see https://github.com/atom/markdown-preview/pull/335#issuecomment-195120014.
Not sure if this will cause a build error in atom/atom too, hence this PR.

Ok, this seems good.


Bug in detecting initialization

Hi Milos,
I came across the following bug in Ekstazi: When you access a static field, Ekstazi is recording that we depend on the class that the access-site bytecode says owns the field. But this may not necessarily be the class that actually declares the field. Consider the case where interface I declares field f, and Class C implements I. If I access the field as “C.f” then during the first test that runs, Ekstazi will see a dependency on I (because I will have its clinit called), but in the second test that runs, there will not be the dependency on I (which there should be), there will be just the dependency on C (which it does not actually depend on, by the way - accessing this field will NOT trigger the initialization of C).
I've attached a small example that demonstrate this. Build and test it, then change the declared array length of “field” on the interface - this should cause both tests to be selected to run, but only one does.
If you are planning to make Ekstazi open source I’d be happy to just send a pull request with a patch :) We have a few tricks for handling this sort of dynamic resolution of interface fields in the new version of VMVM - the old version required advanced knowledge of the entire class hierarchy (not a great requirement), but now we do it entirely dynamically.

Thanks a lot Jon,
We will take a closer look at the example; our previous experiment that evaluated this issue discovered very few cases.  We will keep you posted.
Happy Holidays,
Milos


ERROR：ModuleNotFoundError: No module named 'mmdet3d.ops.iou_loss.iou_loss_ext'

could you please teach me how to generate iou_loss.cpython-38-x86_64-linux-gnu.so
thanks!!!

Hi Xuanjie.
After you replace the mmdetection3d/mmdet3d with the provided mmdet3d_full. Did you install it like: https://github.com/open-mmlab/mmdetection3d/blob/master/docs/en/getting_started.md

yep！But it can not generate this .so file. this file is copied from your mmdet3d_full

Yes. I think you are right.
We never use 3D_iou loss in our training.
The easy way to do this, is just to remove every import of iou_3d_loss,
like:
https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/__init__.py#L21
https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/__init__.py#L36

Yes. I think you are right. We never use 3D_iou loss in our training.
The easy way to do this, is just to remove every import of iou_3d_loss, like: https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L21 https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L36

Thanks！I find another way to fix this problem.
I changed the setup.py in mmdet3d and insert iou_loss  in its cfg into it!
Problem solved.
Thanks again! wish you a good day!

Yes. I think you are right. We never use 3D_iou loss in our training.
The easy way to do this, is just to remove every import of iou_3d_loss, like: https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L21 https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L36

Thanks！I find another way to fix this problem.
I changed the setup.py in mmdet3d and insert iou_loss  in its cfg into it!
make_cuda_ext(                 name='iou_loss_ext',                 module='mmdet3d.ops.iou_loss',                 sources=['src/sort_vert.cpp'],                 sources_cuda=['src/sort_vert_kernel.cu'])
Problem solved.
Thanks again! wish you a good day!

Yes. I think you are right. We never use 3D_iou loss in our training.
The easy way to do this, is just to remove every import of iou_3d_loss, like: https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L21 https://github.com/a1600012888/MUTR3D/blob/main/mmdet3d_full/ops/init.py#L36

Thanks！I find another way to fix this problem. I changed the setup.py in mmdet3d and insert iou_loss in its cfg into it! make_cuda_ext( name='iou_loss_ext', module='mmdet3d.ops.iou_loss', sources=['src/sort_vert.cpp'], sources_cuda=['src/sort_vert_kernel.cu']) Problem solved. Thanks again! wish you a good day!

I have the same problem with you.I add the make_cuda_ext into setup.py,but I dont konw how to insert iou_loss in its cfg.could you tell what I should do?


Ebisu inertia

This issue is meant to discuss about the "inertia" Ebisu can have through one recall prediction to another.
By "inertia" I mean the ability of the model to keep increasing the recall duration even when the success is below 0.5 (I'm using soft binary quiz feature), or the ability of the model to keep decreasing the recall duration even if the success is over 0.5
One example of what I call "inertia":
Let's say there's a flash card, and let's say a user sees this flash card and remembers it 5 times in a row (success=1). Each time the user sees the flash card at the exact moment the scheduler predicted it. The parameters of the model are (3., 3., 24.) and the percentile is set to 0.5. We can see the evolution of the recall duration:
0: 24
1: 30.434447773736824
2: 38.49837036471472
3: 48.57990134320228
4: 61.153703703272676
Here everything seems OK, each time the user remembered the flash card so I expect the model to postpone the next review session. However if the user fails to remember at iteration 5 (success=0) the predicted recall duration is 71.12178019991727... Which is surprising since it is a longer duration than the previous one while the user failed to remember the flash card. If the user fails one more time the new computed recall is 78.50939997707633 (even higher). It takes around 5 iterations of fails before the model begins to decrease the duration.
This problem exists both ways (when the user fails and then succeeds or when the user succeeds and then fails)... This problem is even bigger when I try the Monte Carlo version
I tried different workarounds to break inertia. One solution I found convincing was to adapt the percentile to prevent inertia when it is detected. I consider there is inertia when success > 0.5 and new_duration < previous_duration or when success < 0.5 and new_duration > previous_duration. Then when there is inertia I update the percentile following this formula:
p' = sigmoid(logit(p) + k * ln(d'/d))
With p' the new percentile, p the previous percentile, k a constant, d' the new predicted duration and d the previous predicted duration. I did not do any strong demonstration to create this formula, I was just looking for a formula that seemed to work with my use cases. With k=2 I have not so bad results...
For example for the example above at iteration 5 instead of 71h of duration I have 55.421436638909405 which is below the 61 hours of iteration 4 (which is, I suppose, expected when you fail the quiz).
But maybe I am using Ebisu in a rude and brutal way and maybe there is a built-in feature to avoid this inertia...
So I have a set of questions:

Is this inertia supposed to happen in Ebisu or I am just using it wrong?

If this is expected, is there any better workaround than my formula?

Thanks for the note! Hmm, my code below agrees with your numbers for the first five successes, but then on the sixth review (which is a failure), I see the half-life decrease, and continue to decrease after another failure:
import ebisu

model = (3., 3., 24.)

for i in range(4):
    t = ebisu.modelToPercentileDecay(model)
    model = ebisu.updateRecall(model, 1, 1, t)
    print(f'1. {ebisu.modelToPercentileDecay(model):.2f} hours')

t = ebisu.modelToPercentileDecay(model)
model = ebisu.updateRecall(model, 0, 1, t)
print(f'1. {ebisu.modelToPercentileDecay(model):.2f} hours')

t = ebisu.modelToPercentileDecay(model)
model = ebisu.updateRecall(model, 0, 1, t)
print(f'1. {ebisu.modelToPercentileDecay(model):.2f} hours')

prints out the following:

30.43 hours
38.50 hours
48.58 hours
61.15 hours
49.41 hours
41.80 hours

Can you share your code that showed you 71.12178019991727 and 78.50939997707633? This should not happen, there are actually unit tests in Ebisu that check a wide variety of models to confirm that successes (given a binary quiz) only raise the half-life and failures only decrease them. (One of the things I'm struggling with with Ebisu v3 (described in #58) is whether I want to keep this guarantee 😅.)

total seems to be the maximum number of points that could possibly be won in the last revision and success the number of points won in the last revision

Ah this might be a good way to see it. Initially, Ebisu only supported binary quizzes, so updateRecall just took a single boolean quiz result. Then Duolingo published a very interesting dataset where, in a single quiz, a fact could be tested multiple times. And statistically, this perfectly matched a generalization of the binary quiz, which is the Binomial quiz (k success out of n trials, very much like your points analogy). I'll take a look at the docs and see where I can make this clearer, thanks for bringing it to my attention!


iScroll for scroller

Hi,
I'm trying to use iScroll for the infinite scroll example. I have the following code, but it's not working.
tag sample

	def build
		@offset = 0
		@rows = 10
		# render the whole app every other frame or so
		# since imba is so efficient in rendering, this
		# is actually much faster than tracking changes
		# and only rendering views that have changed etc
		setInterval(&,1000 / 60) do render
		self

	def count
		Tasks:length

	def render
		var from = @offset
		var to = from + @rows

		<self>
		  	<div .topcoat-list>
				<h3 .hw .topcoat-list__header> "{count} tasks - (showing {from + 1} to {to})"
				<ul#scrollable.topcoat-list__container>
					for i in [from ... to]
						var item = Tasks[i]
						continue unless item
						# this is where the whole magic happens
						# we only loop through the rows that should be visible
						# and we use a special cachekey for the nodes
						# modding the current index to reuse rows for nodes
						<li@{i % (@rows * 2)}.hw .completed=(item.completed) :tap=['complete',item] .topcoat-list__item>
							<div.checkbox>
							<div.title> "{item.desc}"

	def complete task
		task.complete

	def scroll e
		e.cancel
		var w = e.event:deltaY
		var d = Math.round( (Math.abs(w) + 500) / 500) * (w > 0 ? 1 : -1)
		@offset = Math.max(0, Math.min(@offset + d,count - @rows))

# add an instance of sample the body
$$(body).append <sample>
extern IScroll;
new IScroll('#scrollable')

I'm not sure how I can reference the UL tag to make it scrollable by touch. I imagine I would have to create a new Tag and nest it in the Sample tag? Any guidance you can provide would be amazing.
Great work on the project so far! This has great potential.

We will publish some updated examples in the future, among others, a scroller that works with native scrolling (no need for IScroll) while still allowing for near infinite rows.


libc: disable CONFIG_ERRNO when using newlib or newlib-nano

Neither of these libraries can support the built-in Zephyr errno code,
so make sure it gets disabled when either are selected
Signed-off-by: Keith Packard<EMAIL_ADDRESS>I suspect that Zephyr should tie CONFIG_ERRNO and CONFIG_ERRNO_IN_TLS to only be used with the built-in minimal C library as both of these require Zephyr-specific support.

I've merged this patch into the picolibc one. I think there are things that need work on related to errno, but that can wait for another day.


Copy text using copy icon

It is important for users to copy their IDs by clicking on copy icon next to it. Right now we cannot do that using wave

https://wave.h2o.ai/docs/widgets/form/copyable_text/

@mturoci We cannot use this component for mentioned scenario since it does feel editable to the user.


ArangoSearch - Achieve stable pagination

Added an example with dataset, thanks @Simran-B for helping out with this.


fix: remove g2 track config

g2 has removed track function

g2 changelog
3.4.8 (2018-12-26)
G2.track = () => { console.warn('G2 tracks nothing ;-)'); };
3.4.7 (2018-12-26)
All tracking code is removed, no more unexpected remote request will be sent


Adding Sessionize verification

Learn Build status updates of commit 7001d64:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/david-rodriguez.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


snapshot/db/gitdb: ingest git commit from a local git repo

OK, @jasonbs10 the different strategies between checkoutSnapshot and checkoutSnapshotWithHistory make me think maybe they should be different methods in the API. I think I've come around to your way of thinking.

Current coverage is 60.91% (diff: 64.58%)

Merging #193 into master will increase coverage by 0.05%

@@             master       #193   diff @@
==========================================
  Files            71         71
  Lines          3446       3492    +46
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2097       2127    +30
- Misses         1191       1199     +8
- Partials        158        166     +8

Powered by Codecov. Last update 8f5e4f1...cf62b47


Use glog for logging

Use glog for logging messages, warnings and errors, at various verbosity levels as specified.

For now, custom logging functions will be used instead of glog.


Revert "Fix #5180 to skip quarkus build on jms-ibmmq-client integrati…

…on tests (#5183)"
This reverts commit d55f74483203f1ad116c90d67a45039b7e7f03d1.

It has been fixed in quarkus 3.2.5.Final

https://github.com/quarkusio/quarkus/issues/35348


FIX: Menu overlaps on text on 900px width view

At some browser's width, menu overlap on text.

Do this with the non-org root redesign and development.


Many methods fail to be injected and functions are unavailable

WA-JS Version
v3.1.0
WhatsApp Version
2.3000.1012630795
Browser Version
1.8.2 modified version
Operation System
windows
Steps to reproduce

What is expected?
yes
What is actually happening?
yes
Any additional comments?
No response

After connecting to wppconnect-wa.js, you can send messages, but you cannot receive messages from others. An error is being reported here.

I have the same error

No one in this version gets the message.

I also get these error messages! :(

Please test the nightly version
https://github.com/wppconnect-team/wa-js/releases/tag/nightly

The Unknown File path "9550" issue persists on nightly.


Observers modifying the state?

In this architecture, where would you place a piece of logic that is observing something and which needs to repeatedly update the state based on external factors?
For example a Reachability object that needs to update a connected state, or an AVPlayer which needs to repeatedly update a player state? How would they send actions through the reducer?

So, it is a side effect. You should wrap your long-living logic into a publisher and return it via reducer.

Okay thanks, then I understand. 😄 So then if you wanted to cancel one of those long-living publishers, how would you do it?
In your apps, has the ever-growing effectCancellables inside Store.swift been a concern? Do you do anything to clean that up at some point?

There is a production-ready implementation of store object that cleans the set of cancellables.
https://github.com/mecid/swiftui-recipes-app/blob/master/Recipes/Shared/Model/Store.swift
You should create a cancellable variable as a part of your state to control it from the reducer.


go generating the whole ProtoDescriptor files

This PR chronologically

fine tunes the Go code generator and fixes some issues with the protobuf.zig library
creates a Zig native plugin for protoc
fine tunes the plugin's output until the plugin can compile itself with the output of the previous run
removes the go dependency

Very cool work. But take your time, i feel like we don't need to rush the bootstrapped generator. I would prefer if we had a complete implementation before, release it with a "simple" generator, then work on the bootstrapping.
If i can help you with anything, don't hesitate, but it's obvious that you're at ease with the code base already.

Bootstrapping the generator was the most fun way I've found to fix some issues, I'll see where it leads to

Bootstrapping the generator was the most fun way I've found to fix some issues, I'll see where it leads to

I was just about to write that if you're enjoying doing it, i can't really stop you. :)

it is alive @Arwalk :evil-laughter:
a couple more fixes on packed arrays + tests and I'll start polishing it

it is alive @Arwalk :evil-laughter:
a couple more fixes on packed arrays + tests and I'll start polishing it

You're a hero. I think we'll be able to announce a first release after this. I can't thank you enough.


Remove dependency on pyethereum to improve cross platform support and reduce installation size

Pull in utils and abi from pyethereum in order to allow installation on a wider array of devices fixing the following issues:
ConsenSys/ethjsonrpc#19
ConsenSys/ethjsonrpc#5

@ferret-guy Mark, are there any licensing issues we should be concerned about with regard to cutting and pasting this code?

The source code is MIT licensed, I have already added the appropriate license headers to the files, but that means that this code conflicts with the unlicense, and would require derivative work to include attribution for thease files.

I chose the Unlicense to avoid thinking about these issues. I suppose I could re-license--BSD or MIT may be better.

It seems that most ethereum projects that are MIT, that would mean that in the future if more code needed to be pulled in then, it wouldn't be Unlicense* (except for thease specific files). The other option might be branching pyethereum with a branch for just the utility functions, but that would essentially mean maintaining two parallel packages.


Update specs2-core, specs2-html, ... to 4.4.1

Updates

org.specs2:specs2-core
org.specs2:specs2-html
org.specs2:specs2-scalacheck

from 4.3.6 to 4.4.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a nice day!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [{ groupId = "org.specs2" }]

😸


Add a feature to print the output of a cell

If I write a cell that outputs a string like 'my_string`, the output looks something like:
'Hello\nworld!'

then I go "ugh, woops" and re-type a new cell:
print(my_string)

to get the expected output:
Hello
world!

I would like it if how the string is displayed became a property of the UI and not of my code. In other words, I'd like to be able to click on the three dots next to a cell output, or maybe right-click on the output directly, and tick a box that says "print strings" or something - not sure what a good name for this would be.
Ideally I'd also like to be able to set an option to do this by default, and maybe even some kind of button or shortcut to do this very quickly, like a special button just for this next to the cell output, or like shift-clicking on the output or something.

Thanks for the suggestion, however I'm closing this as those is something the kernel needs to support.
Given that there are numerous kernels from different languages, trying to implement this feature is vscode (conferring output to print representation) is not going to be possible


Fixed tiny typo

It read System-assinged instead of System-assigned

@hugonavak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@hugonavak Thanks for the typo fix; merging.


Unsupported SP URL format prevents sidekick from showing up

E.g. https://adobe.sharepoint.com/:f:/r/sites/MySite/Shared%20Documents/website is a valid SP sharing URL, even though the /:f:/r is redundant.
cc @davidnuescheler

:tada: This issue has been resolved in version 3.35.3 :tada:
The release is available on:

GitHub release
v3.35.3

Your semantic-release bot :package::rocket:


Add a k8s helm chart that runs HDFS daemons in Kubernetes

The prototype referred to by #1. See README.md for usage.
Cc @foxish @ssuchter @ash211

/cc @kow3ns

cc/ @prb also for thoughts on this.

Thanks for the PR @kimoonkim. I've left a few comments that we can discuss.

@foxish Addressed all your comments. Maybe ready for another look before merge?

Thanks for addressing comments @kimoonkim. One last item I want to address is the DNS server IP address being supplied. Instead of targeting an individual kube-dns pod, we can use the kube-dns service which has a cluster-ip of <IP_ADDRESS> by default. Do you think that would help here?

I see.  Maybe we should leave the default out of the readme and other places and just point to the way people can resolve that in their own clusters, using kubectl get svc --namespace=kube-system | grep kube-dns.

That suggestion makes sense. Addressed in the latest diff. Thanks!

Thanks! This looks like a good beginning. Merging.

Great. Thanks for the review, @foxish!


Constant name "conn" doesn't conform to UPPER_CASE naming style

https://github.com/lbonanomi/scripts/blob/d4369094fb277f5c08521500b3186b83b4c530b9/active_directory_last_password_reset.py#L25

Issues for naming style are now ignored.


‘Continue’ button does not appear immediately after local transcription model is downloaded

3 users reported that the ‘Continue’ button did not appear immediately after the local transcription model was completely downloaded
User OS - Windows, Mac

This should be fixed with https://github.com/MLVETDevelopers/mlvet/pull/352/files.
Sorry for not listing the fix.
Please try downloading the model (on windows or mac) on develop and the problem should not exist anymore. Instead, the download pauses at approx. 98-99% while file admin happens post-download. When that is done it will update to 100% / 'Download completed' and continue button will become clickable/appear.


[OCPCLOUD-1586] Reintroduce and update ControlPlaneMachineSet API

This reintroduces the ControlPlaneMachineSet API originally introduced in 4.11 via #1112, but then later reverted.
As we have updated the conventions over time and been working on the implementation, there are a few changes I've made which I've tried to make atomic:

Unions should have required discriminants (see failure domains)
Unions should have PascalCase discriminant values (see AWSResourceReference)
Updates to the comments to make sure they're consistently punctuated

My suggestion would be to review this commit wise as the first commit is large and is simply a revert of the revert to pull the API out of 4.11.

/label qe-approved
/label docs-approved
/label px-approved
This project is not a part of the no-ff process, therefore these labels shouldn't block us

/retest


add numpy support

Pipeline fails at the dataset level for some reason. test_framework.py works locally.

The voxel data is very sparse and will take a lot of space on disk, can you implement a sparse version (compare e.g. the torch one)?


"Running the command failed"

When I run android-resource-remover inside the project directory under Ubuntu Trusty, it results in:
*Help text*
[...]
Running the command failed. Try running it from the console. Arguments for subprocess.call: ['lint', '.', '--xml', './lint-result.xml']
Traceback (most recent call last):
  File "/usr/local/bin/android-resource-remover", line 9, in <module>
    load_entry_point('android-resource-remover==0.1.0', 'console_scripts', 'android-resource-remover')()
  File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 137, in main
    issues = parse_lint_result(lint_result_path)
  File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 85, in parse_lint_result
    root = ET.parse(lint_result_path).getroot()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: './lint-result.xml'

this means you dont have the result of lint command.
make sure you have lint tool in you path or specify the path to lint. you can run it separately and make sure it works.
if you're using gradle please check this info

I probably should have mentioned that the same error occures even if I specify the path to lint. Therefore I didn't mention it, because I assumed it weren't relevant.
root@box:~/project# which lint
/root/android-sdk-linux//tools/lint
root@box:~/project# android-resource-remover --lint /root/android-sdk-linux//tools/lint
Namespace(app='.', ignore_layouts=False, lint='/root/android-sdk-linux//tools/lint', xml=None)
Usage: lint [flags] <project directories>

Flags:

--help                   This message.
--help <topic>           Help on the given topic, such as "suppress".
--list                   List the available issue id's and exit.
--version                Output version information and exit.
--exitcode               Set the exit code to 1 if errors are found.
--show                   List available issues along with full explanations.
--show <ids>             Show full explanations for the given list of issue
                         id's.

Enabled Checks:
--disable <list>         Disable the list of categories or specific issue
                         id's. The list should be a comma-separated list of
                         issue id's or categories.
--enable <list>          Enable the specific list of issues. This checks all
                         the default issues plus the specifically enabled
                         issues. The list should be a comma-separated list of
                         issue id's or categories.
--check <list>           Only check the specific list of issues. This will
                         disable everything and re-enable the given list of
                         issues. The list should be a comma-separated list of
                         issue id's or categories.
-w, --nowarn             Only check for errors (ignore warnings)
-Wall                    Check all warnings, including those off by default
-Werror                  Treat all warnings as errors
--config <filename>      Use the given configuration file to determine whether
                         issues are enabled or disabled. If a project contains
                         a lint.xml file, then this config file will be used
                         as a fallback.

Output Options:
--quiet                  Don't show progress.
--fullpath               Use full paths in the error output.
--showall                Do not truncate long messages, lists of alternate
                         locations, etc.
--nolines                Do not include the source file lines with errors in
                         the output. By default, the error output includes
                         snippets of source code on the line containing the
                         error, but this flag turns it off.
--html <filename>        Create an HTML report instead. If the filename is a
                         directory (or a new filename without an extension),
                         lint will create a separate report for each scanned
                         project.
--url filepath=url       Add links to HTML report, replacing local path
                         prefixes with url prefix. The mapping can be a
                         comma-separated list of path prefixes to
                         corresponding URL prefixes, such as
                         C:\temp\Proj1=http://buildserver/sources/temp/Proj1.
                         To turn off linking to files, use --url none
--simplehtml <filename>  Create a simple HTML report
--xml <filename>         Create an XML report instead.

Project Options:
--resources <dir>        Add the given folder (or path) as a resource
                         directory for the project. Only valid when running
                         lint on a single project.
--sources <dir>          Add the given folder (or path) as a source directory
                         for the project. Only valid when running lint on a
                         single project.
--classpath <dir>        Add the given folder (or jar file, or path) as a
                         class directory for the project. Only valid when
                         running lint on a single project.
--libraries <dir>        Add the given folder (or jar file, or path) as a
                         class library for the project. Only valid when
                         running lint on a single project.

Exit Status:
0                        Success.
1                        Lint errors detected.
2                        Lint usage.
3                        Cannot clobber existing file.
4                        Lint help.
5                        Invalid command-line argument.
Running the command failed. Try running it from the console. Arguments for subprocess.call: ['/root/android-sdk-linux//tools/lint', '.', '--xml', './lint-result.xml']
Traceback (most recent call last):
  File "/usr/local/bin/android-resource-remover", line 9, in <module>
    load_entry_point('android-resource-remover==0.1.0', 'console_scripts', 'android-resource-remover')()
  File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 137, in main
    issues = parse_lint_result(lint_result_path)
  File "/usr/local/lib/python2.7/dist-packages/android_clean_app.py", line 85, in parse_lint_result
    root = ET.parse(lint_result_path).getroot()
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: './lint-result.xml'
root@box:~/project#

if you run lint in your project, does it run correctly?

It appears so (let me know if I should try different arguments - I'm completely new to Android development):
# lint --check MissingPrefix .

Scanning .: .........................................................................................................................
         - ActionBarSherlock: .........................................
No issues found.

fixed with 0.1.3


Error: Cannot find module 'vscode' on Extension Host (remote)

Does this issue occur when all extensions are disabled?: Irrelevant

VS Code Version:  Version: 1.85.1 Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2 Date: 2023-12-13T09:48:16.874Z (3 wks ago)
OS Version:  Ubuntu 22.04.3 LTS

Steps to Reproduce:

Choose "Remote: Connect to SSH Host.."
Connect to a particular Ubuntu 22.04 server

Visual Studio Code Remote extension fails to load any plugins on a particular Linux server when connected using Remote - SSH. This is a server-specific issue, because the same Visual Studio Code (local) works with other servers. My suspect is that for some reason, due to OS configuration, shell configuration, missing Ubuntu packages or such, Visual Studio Code Remote development extension does not work correctly. However, Remote development extension fails to tell this to the user or detect that 1) it is corrupted 2) why it is corrupted, leading to a hard to diagnose problems in Visual Studio Code user interface, and thus user experience suffers.
When connected to a particular remote where Visual Studio Code encounters this issue, you will get the following error for the extensions in the Output > Extension host (Remote):
2024-01-05 09:04:18.179 [error] Activating extension ms-python.python failed due to an error:
2024-01-05 09:04:18.180 [error] Error: Cannot find module 'vscode'
Require stack:
- /root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js
- /root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/loader.js
- /root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/bootstrap-amd.js
- /root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/bootstrap-fork.js
	at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
	at Hook.Module.require (/opt/datadog/apm/library/nodejs/node_modules/dd-trace/packages/dd-trace/src/ritm.js:54:29)
	at require (node:internal/modules/cjs/helpers:110:18)
	at 66828 (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2631437)
	at __webpack_require__ (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2977110)
	at 90209 (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:195419)
	at __webpack_require__ (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2977110)
	at 69284 (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:679325)
	at __webpack_require__ (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2977110)
	at /root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2977979
	at /root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2980546
	at Object.<anonymous> (/root/.vscode-server/extensions/ms-python.python-2023.22.1/out/client/extension.js:2:2980585)
	at Module._compile (node:internal/modules/cjs/loader:1254:14)
	at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
	at Module.load (node:internal/modules/cjs/loader:1117:32)
	at Module._load (node:internal/modules/cjs/loader:958:12)
	at c._load (/root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:171:5632)
	at n._load (/root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:29551)
	at t._load (/root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:133:35226)
	at Module.require (node:internal/modules/cjs/loader:1141:19)
	at Hook.Module.require (/opt/datadog/apm/library/nodejs/node_modules/dd-trace/packages/dd-trace/src/ritm.js:85:33)
	at require (node:internal/modules/cjs/helpers:110:18)
	at Function.i [as __$__nodeRequire] (/root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/loader.js:5:98)
	at f.vb (/root/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/out/vs/workbench/api/node/extensionHostProcess.js:168:30730)
	at async Promise.all (index 0)

(The error is repeated for each extension)
There does not seem to be no further context about the error, or hints how to fix this condition.
Plugins appear to be installed and do not have any error indicators on them. Plugin commands are still found in the command palette.
Choosing any extension command from the command palette will give you the error:

Command 'Python: Select Interpreter' resulted in an error

command 'python.setInterpreter' not found

I already tried:

Reinstall remote plugins
Remove vscode files on the server: rm -rf ~/..vscode-server
Kill all remote host processes: pkill -f vscode

Related StackOverflow discussions.

Now when looking the JavaScript stack trace, I suspect Datadog is culprint and corrupts every JavaScript environment on the server.

Removing Datadog fixes the issue, so I can confirm this be an issue with Datadog and how it operates.


mingw compile error

Hi. I apologize very much, but I've been looking for an answer for the second day, but I haven't found it. I cannot compile on linux, using mingw (clang). Tell me in which direction to dig, if not difficult? Sorry for the stupid question)))
main.cpp:37:5: error: no matching function for call to 'fastTrampoline'
    fastTrampoline(false, (BYTE*)::Sleep, &MySleep, &buffers);
    ^~~~~~~~~~~~~~
./header.h:70:6: note: candidate function not viable: no known conversion from 'void (*)(DWORD)' (aka 'void (*)(unsigned long)') to 'LPVOID' (aka 'void *') for 3rd argument
bool fastTrampoline(bool installHook, BYTE* addressToHook, LPVOID jumpAddress, HookTrampolineBuffers* buffers = NULL);

try with -fpermissive and -fno-permissive, trying to change bool to BOOL, void to VOID and many other things,  which i embarrassed to name((( Thx

Hi,
Thanks for reaching out!
Can you please try to compile the latest, update version? :)
It has massively changed its guts.
Regards,
Mariusz.

XD but no =)
clang version 12.0.0
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: /usr/llvm-mingw/bin
 "/usr/llvm-mingw/bin/clang-12" -cc1 -triple x86_64-w64-windows-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -disable-llvm-verifier -discard-value-names -main-file-name main.cpp -mrelocation-model pic -pic-level 2 -mframe-pointer=none -fmath-errno -fno-rounding-math -mconstructor-aliases -mms-bitfields -munwind-tables -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -v -resource-dir /usr/llvm-mingw/lib/clang/12.0.0 -D _GLIBCXX_ASSERTIONS -internal-isystem /usr/llvm-mingw/x86_64-w64-mingw32/include/c++/v1 -internal-isystem /usr/llvm-mingw/include/c++/v1 -internal-isystem /usr/llvm-mingw/lib/clang/12.0.0/include -internal-isystem /usr/llvm-mingw/x86_64-w64-mingw32/include -internal-isystem /usr/llvm-mingw/include -std=c++17 -fdeprecated-macro -fdebug-compilation-dir /home/x/ThreadStackSpoofer-master/ThreadStackSpoofer -ferror-limit 19 -fno-use-cxa-atexit -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -exception-model=seh -fcolor-diagnostics -faddrsig -o /tmp/main-03921a.o -x c++ main.cpp
clang -cc1 version 12.0.0 based upon LLVM 12.0.0 default target x86_64-unknown-linux-gnu
ignoring nonexistent directory "/usr/llvm-mingw/include/c++/v1"
#include "..." search starts here:
#include <...> search starts here:
 /usr/llvm-mingw/x86_64-w64-mingw32/include/c++/v1
 /usr/llvm-mingw/lib/clang/12.0.0/include
 /usr/llvm-mingw/x86_64-w64-mingw32/include
 /usr/llvm-mingw/include
End of search list.
main.cpp:137:10: error: no matching function for call to 'fastTrampoline'
    if (!fastTrampoline(true, (BYTE*)::Sleep, &MySleep, &buffers))
         ^~~~~~~~~~~~~~
main.cpp:41:6: note: candidate function not viable: no known conversion from 'void (*)(DWORD)' (aka 'void (*)(unsigned long)') to 'LPVOID' (aka 'void *') for 3rd argument
bool fastTrampoline(bool installHook, BYTE* addressToHook, LPVOID jumpAddress, HookTrampolineBuffers* buffers /*= NULL*/)
     ^
1 error generated.

How about simply adding type conversion before thire argument? :)
(void*)MySleep

only pointer to data may implicitly convert to void* according to the standard. msvc accepts this invalid code, gcc (and mingw) doesn't.

@l4ckyguy
Can we close the issue now or is there anything left we can discuss?
M.

sorry, yes =) thx a lot =)


fix sometimes no HOME path set

I received an error when deploying the latest master to AWS Beanstalk. In the deployment process no HOME ENV variable was set.
There was a ArgumentError while loading rspec-support.gemspec:
couldn't find HOME environment -- expanding `~' from
/opt/rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/bundler/gems/rspec-support-d8666d5fc14a/rspec-support.gemspec:22:in
`expand_path'.

This pull request fixes that. IF you have feedback, please let me know.

This will need to be done for all our gems if we go ahead with it, however have you considered that you shouldn't be deploying test gems? Normally people deploy bundler --deployment which skips gems like rspec.

Not sure if we still need this. We are no longer using AWS ourselves. I will close this one.