Restrict Access To /admin via IP or Similar

Is there a method to add additional restrictions to the API section based on IP whitelist or similar? For a public facing instance of API gateway, we would like to restrict the admin interface to only internal users beyond the existing user/pass authentication.
I tried updating /opt/api-umbrella/etc/nginx/router.conf and add
location /admin/ {
allow ;
deny all;
}
in hopes this would restrict to specified IP address, but it looks like any time the api-umbrella service restarts (using package at least) these files are overwritten.

If these are indeed overwritten dynamically and I'm not crazy, where are the templates? Would the above work?
Is there a better way to solve this problem? Ideally we could spin up a public facing instance running just the router functionality and an internal instance running the web (admin+public web) that isn't even routable to public internet, but I also tried that previously via api-umbrella.yml config but that didn't seem to work either.

Any tips would be greatly appreciated. Thanks in advance.

Try adding the following to the allow attribute:
allow: IP Address to allow

See related:

How can I allow access to a single IP address via Nginx.conf?
Configure nginx to accept connection from a single host/ip on specific subdomain

@rholloway: I'm very sorry this slipped past me earlier. To answer your question, no, we don't currently support restricting the admin via additional mechanisms. However, you're on the right path in that the config files are templated and based on the config file. So this would probably be pretty easy for us to support if you'd like, it's mostly just a matter of making a configuration option for this kind of thing and adjusting the template. You'll find the template source for that file inside the router project's templates/etc/nginx/router.conf.hbs. Or directly on the server, it would be located at /opt/api-umbrella/embedded/apps/router/current/templates/etc/nginx/router.conf.hbs. If you adjust that file, the changes should persist after reloads. You can read in any configuration items present in /etc/api-umbrella/api-umbrella.yml.
In terms of the second approach, decoupling the router and web onto separate servers should be possible (although I haven't tried this specific split mysefl). What you would need to do is add a /etc/api-umbrella/api-umbrella.yml on one server with something like:
services:
  - router

And then on the other server:
services:
  - web

You can see a full list of the services and some of the default options in default.yml. However, if you do split this off, it would likely mean you'd also be splitting of the databases, in which case you would need to configure the connection endpoints for those.
However, one additional thing to note with this type of split is that the web component also serves up the API that the key signup form uses. So if you intend for the API key signup to be public, then making the entire web component private may be problematic. However, if you want API key signup to also be private, then this may be fine.
Apologies again for the delay, but let us know if you have any further questions.


Horizontal time selection.

It would be cool if we could have a horizontal time selector that can sit at the bottom of the calendar.
I am starting to dig in the code, but wondering if someone has already accomplished this?  (I will submit a PR if I get it working)

+1

Closing as stale.


Note scroll has low framerate

So I have a high refresh rate monitor and my game fps is set on 120 but when the notes scroll it looks like it has low framerate meanwhile the background looks like its on high framerate. also this didn't happen in the last version (1.6.2)
OS: Windows 10 Pro 64 bit

already noted in #1937


WDAC could not create or open the WDAC XML file

After successfully seem to have created XML file with WDAC I get the following error:

I can reproduce this error on my desktop, laptop, virtual machine at customer 1 and customer 2.

Hi @alexgoris can you provide the log file listed in the error window. Thanks


Run docsTest as part of the functional test coverage

We have insufficient coverage for our samples. We should run them through the pipeline just like any other functional tests. This way we can verify that they work on all supported platforms and JVM versions.
Prerequisite for https://github.com/gradle/gradle/pull/13048

BTW, I checked mvn verify and ./gradlew docs:quickTest, all looks good.

Build passed: https://builds.gradle.org/viewLog.html?buildId=34606066


Intellisense showing useless hints first, and useful hints last

VSCode Version: 1.7.1
OS Version: win 7

Steps to Reproduce:

Load a javascript file to test the 'for' loop
Enter 'for' (if Intellisense doesn't show then press cntrl+space)
The first entry in the Intellisense is 'for' and when selected doesn't do anything
However the last few entries in the Intellisense are useful, there is a 'for' entry towards the bottom of the list, when select will add the following snippet:

for (var index = 0; index < array.length; index++) {
var element = array[index];
}

This is what i want but why is it right at the bottom of the list?

See #13839 and #10467
To get the snippet suggestions on top you can add the following to your settings: "editor.snippetSuggestions": "top"

Close as we do have an option for that.


What is mwe_file?

https://github.com/wanghm92/rw_fg/blob/d84bc6a6a0aa02b9327a949869153165d4928524/dataset/scripts/purification/clean.py#L288

Can you provide the nwes.json for processing the dataset? Thanks! @wanghm92

So sorry for the late response to this long standing issue, didn't get email notifications, added by the latest commit.


Don't fail when entering in an except block with Python 3

I've merged this into the py3 branch, and rebased py3 on top of latest master (this PR definitely helped).
The py3 branch is now failing on two tests, both of which are due to Ansible not currently supporting python3 (I know that python3 support for Ansible is on the roadmap)

Related to #208, looking at getting this into the next release

If I can't get #208 included due to incompatibility with ansible 1.9, I'll still try and get this in.

Now released with v3.4.1


performance test for QCodes

Simple test for performance. Should be extended to log the performance and set tighter boundaries
@giulioungaretti

Thanks for the contribution, but I think we should go an extra mile! :tada:
F.ex. we should design for some hard limits, rather than test that things are ok!
In general we should have a clear max and  min  for:

size of data created  per iteration of loop
frequency of loop iterations

I am collecting some numbers locally, but the more data the better!

just playing around with @nataliejpg  setup with the alzar card

14 kb of data per iteration
at full speed (i.e. no loop delays), we have 0.7 second

We have situations where we run the Alazar in streaming mode. Then the data file size is infinite. Using the RAID arrays from Alazar, you can store the 2GB/s of data in real time.

On Nov 15, 2016, at 2:15 PM, Giulio Ungaretti<EMAIL_ADDRESS>wrote:
just playing around with @nataliejpg https://github.com/nataliejpg setup with the alzar card
14 kb of data per iteration
at full speed (i.e. no loop delays), we have 0.7 second
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/QCoDeS/Qcodes/pull/374#issuecomment-260638030, or mute the thread https://github.com/notifications/unsubscribe-auth/AClTo2vmAIkrOimi-g0MKfqpcKjDJ9sTks5q-bBygaJpZM4KkYoR.

@majacassidy interesting thanks for the answer!  but It's really hard to correlate the numbers you give with the actual question :panda_face: !  Perhaps my question is badly worded.

Basically, with this acquisition method our datafile size is unlimited. So, any hard coded limit will cause us problems.
Sometimes we need to stream for days. This means the data file is >> gigabytes.

On Nov 15, 2016, at 2:51 PM, Giulio Ungaretti<EMAIL_ADDRESS>wrote:
@majacassidy https://github.com/majacassidy interesting thanks for the answer! but It's really hard to correlate the numbers you give with the actual question 🐼 ! Perhaps my question is badly worded.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/QCoDeS/Qcodes/pull/374#issuecomment-260646081, or mute the thread https://github.com/notifications/unsubscribe-auth/AClTo5odPL5aQUOAbTqwv-mtADuBy9cTks5q-bjTgaJpZM4KkYoR.

@majacassidy  cool, that I understood. But the question is not about limits or hardcoded things, but rather what/how/how often you need that data.
I am not asking about files, but "bytes"  you need from the card at a specific time namely at every point in the loop in this case.

Just to clarify, the 0.7s/14 kb of data you talk about is your ‘integration time’ in an experiment. How long an integration time you select depends on the signal to noise of the experiment. The 0.7s/14 kb here you refer to is probably from a single acquisition rather than the streaming mode and so it corresponds to your Alazar’s onboard memory. Each card has a different onboard memory. In streaming mode, you are no longer limited by onboard memory as it operates as a FIFO stack and pulls the data off onto the hard drive as fast as you can take it. I guess when I say infinite, I mean ‘a very large number' that is set by the user’s system parameters (hard drive size etc).
For example, a ‘loop' experiment I could run is:
At each step in gate voltage, use the Alazar to integrate for 1 hour and store the raw data. Therefore the ‘bytes’ is something on order GB for each point in the loop.

On Nov 15, 2016, at 3:26 PM, Giulio Ungaretti<EMAIL_ADDRESS>wrote:
@majacassidy https://github.com/majacassidy cool, that I understood. But the question is not about limits or hardcoded things, but rather what/how/how often you need that data.
I am not asking about files, but "bytes" you need from the card at a specific time namely at every point in the loop in this case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/QCoDeS/Qcodes/pull/374#issuecomment-260654576, or mute the thread https://github.com/notifications/unsubscribe-auth/AClTo78uEOYH9luBJcra1V-JAtwNRI-Xks5q-cELgaJpZM4KkYoR.

@majacassidy  afaik it puts into what the software defines and and streams data as far as the dma does not overflow, but this is too technical anyway.
But I have your answer now:

order of  GB let's even say tens of GB / hour

@giulioungaretti
@majacassidy
I am not sure that I follow the discussion. As far as I understand we want to take an arbitrary amount of data per loop iteration, which will take an arbitrarily short time. (by which I mean, our current measurements are sometimes of the order of 2 GB/s, but in the future this can increase a lot)
But I am not sure @giulioungaretti what you are going to use these limits for. I think it would be bad to limit the measurements in any way. Could you explain a littlebit more?

@damazter   when I mention hard limits, I mean just that any design that is not fas enough to begin with shall not be used.
Multiprocessing will always be slower because it does have an extra layer of comms (be a tcp socket/ unix socket  or  windows named pipes).  So I want to make sure I know all the experiments data rates before releasing  something that is doomed to be too slow.
@damazter arbitrary amount/ arbitrarily short time may not  true because you'll be limited by the hardware :frowning_woman:  !
So a hard limit would probably be the fastest PCIe bus throughput (order of 10GB / second).

@giulioungaretti for the experiment I presented at the QCoDeS meetup in Delft we've done some detailed benchmarking of our adaptive sequences. All of this was done using QCoDeS + PycQED. If you want you can take a look at the paper https://arxiv.org/abs/1611.04815, especially the timing section that starts on the top of the second page.
Everything was done without use of the qcodes multiprocessing framework but with qcodes instruments. Let me know if this is the kind of information you're looking for.

Closing as not relevant until we have the new architecture!


Support authenticated Helm repositories from helm repo add

Is your feature request related to a problem? Please describe.
As Ezra I want the ability to use Helm repos that I have added with helm repo add so that I can take advantage of inbuilt features like authentication storage and globally defining a url for my repo.
Describe the solution you'd like

Given I have a Helm repo that requires authentication
And I have added the repo to my helm repositories with helm repo add
When I specify the repo under the repoName key as <repoName>/<chartName>
And I do not specify a url or localPath
When I run zarf package create or zarf prepare find-images
Then Zarf will take that repoName (the part before the /) and look it up in the default Helm settings repo file
And Will lookup the chart name after the /

--

Given I have a Helm repo that requires authentication
And I have added the repo to my helm repositories with helm repo add
When I specify the repo under the repoName key as <repoName>
And I do not specify a url or localPath
When I run zarf package create or zarf prepare find-images
Then Zarf will take that repoName (the part before the /) and look it up in the default Helm settings repo file
And Will lookup the chart name from the name field.

Describe alternatives you've considered
We could use a .netrc file as Zarf already supports those in other contexts though those are likely to be foreign to many Helm users as it is largely an older standard used with curl.
Additional context
Helm supports adding credentials to repositories that you pull from with helm repo add which currently Zarf does not pick up - this forces people to switch to OCI or, if they really need to, temporarily add credentials to their URL.  Ideally Zarf would just pickup these credentials directly from Helm.

Moving this forward a milestone as there was more to consider with a few different paths to explore

This was fixed in: https://github.com/defenseunicorns/zarf/pull/2196


Date picker accessibility

https://trello.com/c/PQIdwgZb/125-ui-events-listing-filter-events-list-by-date
This should be the final piece of the date filtering story. It would really benefit from a test on an Android device.
Works reasonably well on iOS, although the navigation around the calendar is still pretty clunky. Honestly, I can't see visually impaired users use the filter too much 😞.
Test with VoiceOver, ideally with Heading mode selected in the "rotor" - I used it to make the navigation around the main sections of the calendar a little easier (iOS calendar does similar things).
Pre-flight check-list
Before raising a pull request

[x] Unit tests

Pre-merge check-list

[x] Link to Trello ticket/GitHub issue (If applicable) - https://trello.com/c/PQIdwgZb/125-ui-events-listing-filter-events-list-by-date
[ ] Any risky areas identified
[x] Test plan provided
[ ] Tester approved

Tester check-list

[ ] Tested on multiple devices / OS versions (Test on the physical device(s) you have access to, otherwise use BrowserStack):

[ ] Galaxy S8 (Android 7.0/8.0)
[ ] Galaxy S7 (Android 6.0)
[ ] iPhone X (iOS 11.x)
[ ] iPhone 8 (11.x)
[ ] iPhone 7 (iOS 10.x)

Optional:

[ ] Google Pixel 2
[ ] Galaxy S8 Plus
[ ] Galaxy S7 Edge
[ ] Galaxy S6
[ ] iPhone 7+
[ ] iPhone 6

Accessibility Testing (If applicable)

[ ] Text-to-Voice (Android: Voice Assistant / iOS: Speak Selection)
[ ] Large Text (=<200%)
[ ] Landscape Screen orientation

Weak connection testing (If applicable)

[ ] Airplane mode
[ ] 2G/3G Network Settings

The main glaring problem with this is the back and forward buttons in the calendar, which have no labels, so they appear active, but don't explain what they do. I can raise a PR against the dependency to add those, but I'm not sure how quickly it will get accepted. Thoughts?


Add a unit testing framework.

[x] Open a Travis CI job.
[ ] Pick a framework.

I wired up mocha in #133

We are now in test-land.


Typo on extension installation promot

There is a typo on the first prompt asking end user to download the extension. It's mistyped as Extention. The correct spelling is Extension.


Added this missing property. On an existing order if you try and up…

Added this missing property. On an existing order if you try and update the Shipstation order containing this property and you don't supply it in your update request. You'll get a 400 Bad Request due to the missing property in the update request not being supplied.
Hopefully this saves someone else the time chasing this one down

Sorry for delayed response.
This pull request will be closed as same change was added in recent update.
We updated package to reflect all updates based on latest ShipStation api documentation.
Please use version 1.0.0 of the package


Axiom Verge: saving only possible with DRM-free collector's edition, but that one doesn't come with Linux version

Known Workaround:

use steam's linux version and replace AxiomVerge.exe with the one from the DRM-free Collector's Edition

Possible Solution:

Use XnaToFna on the Collector's Edition version? (not tested yet)

Collector's Edition can run with XnaToFna.exe which appears to be the best solution for this game. Further work on this in other issue thread


--debug should explain inclusion/exclusion

Is your feature request related to a problem? Please describe.
People have trouble with Including/Excluding files, eg. https://github.com/rubocop-hq/rubocop/issues/6567, https://github.com/rubocop-hq/rubocop/issues/4477, https://github.com/rubocop-hq/rubocop/issues/5480
Describe the solution you'd like
--debug should list the relevant inclusion/exclusion configuration for a particular file. For example:
Scanning ./foo/bar.rb
Excluded by ./foo/.rubocop.yaml, then included by ./.rubocop.yaml
Scanning ./baz.rb
Excluded by default.yml, then included by ./.rubocop.yml

That's not a bad idea.

I'm still working on this.

Feel free to re-open it if you ever come back to it.

I don't have permission to re-open this, and I don't want to create a new issue and lose the context here. Feel free to leave it closed though, and just wait for my PR.


Yet another iptables reconciliation attempt

/test

/test

/test

/test

/test

Superseded by https://github.com/cilium/cilium/pull/31372


okit not show dbssytm in diagram

@javierbm7 can you open the Developer Tools for you browser and see if there are any errors in the console

Hi, the network resources are in different compartment

Can you do a hard refresh of the browser to clear the cache seems odd you are seeing the first error.

I clear the cache and reopen it, but it doesn't show dbsystem, now no errors appear

@javierbm7 Can you try with the new 0.18.0 release. You will need to rebuild you container

@javierbm7 Are you still seeing this issue

Hi @toxophilist, now DBSystems is not showing also in explorer toolbar, developer tool is not showing errors. these DBSystems associated a private subnet in another compartment( In the same level). I did generation of the root compartment include subcompartments but continues not showing


Create team from group Graph API endpoint works with Application permission Team.Create

I was exploring the Graph API endpoint Create Team from group for creating a Microsoft Team from a existing Microsoft 365 group, it works with the Graph Application Permission Team.Create which is not right as per the documentation which says Group.ReadWrite.All, Directory.ReadWrite.All. Just would like to confirm, is this as per the design? If it is it would great if the documentation is updated

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

ID: 4532c86e-d363-3181-b439-a91bce41c44e
Version Independent ID: 9223513b-37d0-f9ea-f004-83f2222906b0
Content: Create team from group - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/team-put-teams.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @nkramer
Microsoft Alias: MSGraphDocsVteam

Doc updated through pull request https://github.com/microsoftgraph/microsoft-graph-docs/pull/24122


Level 5_4 NoSuchElementException

Summary
Put a summary of the question
I am facing issues with test case 5_4. I have read the other posts which points out that this error occurs when you call Lazy.get() too many times. For me, I stored the serveTime as a Lazy in my Customer constructor and only call Lazy.get() in my Serve class where I need the service time to determine the eventTime of my Done event  and the next available time for my server to update the shop. I can't seem to find where the problem is. Anyone experienced a similar issue too and how did you manage to solve it? Any help will be greatly appreciated. Thank you!
Description
Describe the problem and code snippets if necessary
Screenshots (if any):
Insert Images here if necessary

Hello,
Faced a similar issue previously, you may want to print out the serviceTime after calling it to see where you might have called unnecessarily and if the order is correct. Mine had some minor double calling in my Simulate file due to my careless mistake.

I suspect your are calling the supplier.get() more than necessary. If you look at the input for level5_4.in, there are 17 doubles, because 10 arrive and only 7 are served. You should only call supplier.get() at Serve event to ensure that the customers who leave without being served do not take the service time input.

Thanks @WenJett @duofeng0110  for your suggestions! I tried checking for any double calling by printing out my events and it doesn't seem to be the mistake here and more of the order of my events are wrong. I have opened a new question #454 .


Sorts Hyrax locale files and adds missing Spanish translations

Fixes #346
@projecthydra-labs/hyrax-code-reviewers

Did you use a script to do the sorting? Could that be included in the bin directory so we could run it regularly?

@jeremyf I used this: https://github.com/redealumni/i18n_yaml_sorter Not sure if we want to bundle that with Hyrax or not.

@jeremyf LMK if that's OK. Happy to revisit. (Itchy trigger-fingered, sorry!)


Timestamps and default location

Changed the default location to PROJECT_ROOT/Screenshots instead of PROJECT_ROOT/Assets/Screenshots to prevent unity from importing the newly created screenshots as assets.
Added feature to append a timestamp to the screenshot's name to prevent overriding previously taken screenshots with the same config.

TitleContent was added just in 5.3.4, so obsolete EditorWindow.title is used because of compatibility reason.

About defalut save folder path - definitely good idea! The same with timestamp, but i would like to make this option global, for all screenshots at the same time. It seems to me that it is really rare case when u need timestamp just for some screenshots, not for all of them.

And you're right - settings asset file should be ignored, probably. I just need to check if there are no consequences of that decision.

Happy you approved the changes :wink:
Good point about the use of EditorWindow.titleContent. I think to support both 5.3.4 (and newer) and older versions, the preprocessor symbols provided by unity might come in handy. Version 5.3.4 also introduced the symbol UNITY_5_3_OR_NEWER.
Although I have to say, the check if the version is higher than or equal to 5.3.4 would be bit awkward.
#if UNITY_5_3_OR_NEWER && !UNITY_5_3_0  && !UNITY_5_3_1  && !UNITY_5_3_2  && !UNITY_5_3_3
	titleContent.text = "Screen Shooter";
	titleContent.image = _cameraIcon;
#else
	title = "Screen Shooter";
#endif


Overly loud audio

If YouTube isn't rendering with auto loop on, the volume goes to over 100%. Seems to be 200%? second monitor alt tab with another window over and a game on the first monitor seems to be consistent.

okayyyy its whenever any other window is focused for me.


Build pipeline getting stuck at “Cleanup” task, while running tests with “Test Plan” or “Test Assemblies” as the “Test Selection”.

Description

Build pipeline getting stuck at “Cleanup” task, while running tests with “Test Plan” or “Test Assemblies” as the “Test Selection”.

Steps to reproduce

Create a simple build pipeline with some sample Selenium or Coded Ui tests.
Add tasks to build the solution and deploy the Test Platform installer (if required).
Add VsTest tasks to run tests from a “Test Plan” or “Test Assemblies”.
Queue the build.

Expected behavior

It should run the test, publish the results in Test Plan and build should complete (according to test results).

Actual behavior

It runs the tests, publish the result but build get stuck in “Cleanup” task for 3 hours.

Diagnostic logs

Can you please set system.debug = true and share the entire zip logs?


FWB: Move disclaimer to template | move language links to sidebar

Most pages put the language links at the top of the sidebar. This PR moves the financial well-being app language links to the sidebar. The results page also did not have language links, which this PR adds to that page. It also moves the shared disclaimer to its own included template.
Changes

Move disclaimer to template.
Move language links to sidebar.
Add language links to results page.

How to test this PR

Each of these pages should have language links in the sidebar:

http://localhost:8000/consumer-tools/financial-well-being/
http://localhost:8000/consumer-tools/financial-well-being/about/
http://localhost:8000/consumer-tools/financial-well-being/results/
http://localhost:8000/consumer-tools/financial-well-being/error/
Screenshots
Before:

After:

Before:

After:

Before:

After:

Before:

After:

Actually this needs further consideration…


Fixed typographical error, changed aggresive to aggressive in README.

@benjamine, I've corrected a typographical error in the documentation of the jLiveTime project. You should be able to merge this pull request automatically. However, if this was intentional or if you enjoy living in linguistic squalor, please let me know and create an issue on my home repository.

you rock @orthographic-pedant


Renaming from Title

Sometimes you need to compare two responses or texts with vscode.
For this, you create two new files and paste your contents.
But it can be confusing as they are both named with the first lines of content.
Therefore, it will be useful to be able to rename the title on the tab by double-clicking it or from the right-click menu.

@bpasero It is needed an interface or a web page that shows the requests waiting for voting in order of votes so that these requests do not go unnoticed by the user community.

@bpasero It is needed a simple interface or a web page that shows the requests waiting for voting in order of votes so that these requests do not go unnoticed by the user community. Github's sort by label screen is not understandable to the casual user. Even most of the users are unaware of such a voting system.

@bpasero It is needed a simple interface or a web page that shows the requests waiting for voting in order of votes so that these requests do not go unnoticed by the user community. Github's sort by label screen is not understandable to the casual user. Even most of the vscode users are unaware of such a voting system.

@bpasero It is needed a simple interface or a web page that shows the requests waiting for voting in order of votes so that these requests do not go unnoticed by the user community. Github's sort by label screen is not understandable to the casual user. Even most of the vscode users are unaware of such a voting system.

As I said above, since a simplified interface was not designed, I also found my own solution to mention under other topics. I hope you will attempt a simplified interface work to get feature requests noticed. In fact, this screen can be provided within the vscode itself.

@cihanisma, you can view issues sorted by +1 reaction on the issues page in github. I'm 100% sure that the VSCode team know this and regularly check what the most upvoted issues are. This is one of the ways most projects of this size prioritise work.
You do not need to post a link to this issue in other popular issues. In fact, please do not do this. If everyone did, then issues would be filled with spam and unrelated comments and its much less likely that a healthy conversation about the feature can be had. Ultimately, there are nearly 6000 open issues at the moment, all of which are submitted by people like you that think their idea/problem should be fixed. You just need to be patient.

An extension such as https://marketplace.visualstudio.com/items?itemName=sleistner.vscode-fileutils provides utilities to do file operations. Extensions are also free to contribute to the tabs context menu.


About Authorization required,but no authorization protocol specified

Do you have this problem?

Yes

how to solve this question？
发自我的iPhone
------------------ Original ------------------
From: EpicGilgamesh @.>
Date: Thu,Dec 21,2023 6:47 AM
To: mit-han-lab/bevfusion @.>
Cc: liuys @.>, Author @.>
Subject: Re: [mit-han-lab/bevfusion] About Authorization required,but noauthorization protocol specified (Issue #561)
Yes
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thanks to this tread https://github.com/mit-han-lab/bevfusion/issues/248
I found out that you need to install ninja and openmpi...
Idk how such an oversight could have been made, cuz I spend like 5 days trying to solve this using other methods like using torch.launch instead of torchpack, etc. XD


feat(layer): use local host to install requirements

Fixes #

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

https://github.com/awslabs/generative-ai-cdk-constructs/pull/205
Commitlint issues with history


Use other decimal separator in tooltips

I checked the manual and didn't find a way to get another decimal separator in the tooltip to display the value.
Found this is some other post:
            Chart.defaults.global.tooltipTemplate = function(obj) {
              console.log(obj);
              return "";
            };

However I'm getting 'Uncaught TypeError: undefined is not a function' as error in the console.
What is the best way to change the decimal separator for a value in the tooltip?

closing, unresponsive, no SO link


fix: remove duplicate entries

Description
This PR removes the duplicate entry in the app_en.arb file and changes @sharePageSuccessHeading to @sharePageSuccessSubHeading where it is necessary.

Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[x] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

@googlebot I signed it!

@googlebot I consent.


Find the Missing Number

Before jumping into Pr first comment for assign.
Problem statement : Find the Missing Number
Probelm Link : https://edabit.com/challenge/7YaJhC4terApw5DFa
Choose one Cateorgy - Very Easy, Easy, Medium, Hard, Very Hard, Expert
question category : Easy

Before submitting a PR please Check some details.

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Choose label for Problem , example- "good first issue", "easy"
[ ]  In file there should be problem statement and link to problem

/* Problem-Task : Create a function that takes an array of numbers between 1 and 10 (excluding one number) and returns the missing number.
 * Problem Link : https://edabit.com/challenge/7YaJhC4terApw5DFa
*/
int main() {
    int bla;
    return 0;
}

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Can you assign me this issue

Can you assign this to me?

@pranav230 can u assign this to me

Please assign me this.

@pranav230 can you assign this to me ....
i am working on this issues ,I will create PR soon

can you please assign this to me

@pranav230 I Added FindMissingNumber.cpp ..
please check my code and review my PR

PR of assign Person will review.. sorry


:robot: Triggering CI on branch 'release-next' after synching to upstream/main

/retest

/test 410-test-reconciler-aws-ocp-410

OCF Webhook is merging this PR


'node postinstall' failing with error ELIFECYCLE while running npm install -g yo

While trying to run the command npm install -g yo, I am getting the below error:
15987 verbose node v8.11.2
15988 verbose npm  v5.6.0
15989 error file C:\Users\123
15990 error path C:\Users\123
15991 error code ELIFECYCLE
15992 error errno ENOENT
15993 error syscall spawn C:\Users\123
15994 error<EMAIL_ADDRESS>postinstall: node postinstall
15994 error spawn C:\Users\123\ ENOENT
15995 error Failed at the<EMAIL_ADDRESS>postinstall script.
15995 error This is probably not a problem with npm. There is likely additional logging output above.
15996 verbose exit [ 1, true ]
At first after running the command it is giving the below message:
prefix "-g" is not recognized as an external or internal command.
Can anyone help me to get it installed.

Please share the output of which node and which npm here.

Could you share more information, please?

NodeJS version;
NPM version;
OS system and version;

I have this problem as well.
which node: /Users/me/.nvm/versions/node/v0.12.18/bin/node
which npm: /Users/me/.nvm/versions/node/v0.12.18/bin/npm
I get all the way down to the postinstall and hit a wall.  NOTE: I know I'm behind the times version-wise, I'm trying to reload some old software that doesn't seem to like life with current versions.  I am running macOS Sierra.
><EMAIL_ADDRESS>postinstall /Users/me/.nvm/versions/node/v0.12.18/lib/node_modules/yo/node_modules/tabtab/node_modules/inquirer/node_modules/external-editor/node_modules/spawn-sync
> node postinstall

/Users/me/.nvm/versions/node/v0.12.18/bin/yo -> /Users/me/.nvm/versions/node/v0.12.18/lib/node_modules/yo/lib/cli.js
/Users/me/.nvm/versions/node/v0.12.18/bin/yo-complete -> /Users/me/.nvm/versions/node/v0.12.18/lib/node_modules/yo/lib/completion/index.js

><EMAIL_ADDRESS>postinstall /Users/me/.nvm/versions/node/v0.12.18/lib/node_modules/yo
> yodoctor

module.js:338
    throw err;
          ^
Error: Cannot find module '.'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/me/.nvm/versions/node/v0.12.18/lib/node_modules/yo/node_modules/yeoman-doctor/lib/cli.js:3:1)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
npm ERR! Darwin 16.7.0
npm ERR! argv "/me/Jeremy/.nvm/versions/node/v0.12.18/bin/node" "/Users/me/.nvm/versions/node/v0.12.18/bin/npm" "install" "-g" "yo"
npm ERR! node v0.12.18
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>postinstall: `yodoctor`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'yodoctor'.
npm ERR! This is most likely a problem with the yo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     yodoctor
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs yo
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls yo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/me/npm-debug.log

Thanks for any thoughts!


Parsedown not copied

It seems that the copy:php-parsedown task is missing in the default copy task.

Thanks for the notice. For the time being, Readme support has been commented out. Yet, it will return in one form or another, maybe not before v3.

Cleaning up my issues list.


Creating job crashing between step 2 and 3

Hello !
I try to start a job and after clicking next in "General Settings" it loads for 30 sec then displays "An error has occurred". I tested on Chrome and Firefox, in localhost I get the error "Cross-origin request blocked" in the browser console.
I modified the environment.ts config file to use the right domain name.
I did not find any interesting logs in the 3 containers.
Do you have any idea where the problem could come from?
Thanks in advance

Yes,
"Container Name Not Found : Job Not Killed Test"
Is that it?

yes,
Are you using GPU or CPU version?
I suspect that you have an issue while creating the training job container.
Can you please double-check that you installed and configured all the prerequisites correctly?
You can find all the steps that you need to configure in the Readme file https://github.com/BMW-InnovationLab/BMW-TensorFlow-Training-GUI#setting-up-project-requirements-automated
After this please rebuild the solution and let me know if this fixes your issue.

I'm using GPU version.
Docker-compose is installed, my network interface is working, i've setup the proxy and selected all the pre-trained models.
My nvidia-smi tells i got my Quadro P2200 with CUDA 12 and driver version 525.78.01
Wouldn't there be an interesting error message in the container logs if he couldn't create it? Can't find more informations than "An error has occurred"


Domain IntelliSense

var domain = require("domain");
var d = domain.createDomain();

And IntelliSense doesn't work. Doesn't show me variants. But "domain" is standard module in Node.js

I think it would be useful if we had some kind of intellisense.js file feature that we could repair intellisense on these things.  Maybe one already exists and I just don't know about it.  Is there a document somewhere that describes all the intellisense features of the new provider?

IntelliSense for standard modules is based on parsing Node's documentation.
https://nodejs.org/api/all.json
We have a copy of it available in the following location if you want to edit it in any way, but it won't be preserved when upgrading NTVS.
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Microsoft\Node.js Tools for Visual Studio\1.1\all.json"
In this case, createDomain is not documented so we won't provide completions. As for further IntelliSense (if you were to use, say create) for some reason we're not parsing the signature to flow through the return type of the method for built-in modules.
@mavericken can you be more specific about your mental model re: IntelliSense and/or what you might want to edit? IntelliSense is pretty complicated and there isn't a particularly user-friendly way of wading through it all, so unfortunately the best documentation at the moment is the code itself.
https://github.com/Microsoft/nodejstools/tree/master/Nodejs/Product/Analysis

I was thinking about the IntelliSense extension feature shown in this article: https://msdn.microsoft.com/en-us/library/vstudio/hh874692.aspx
In particular, I was looking at how you can adjust intellisense of any existing Javascript file by adding an additional Javascript file and not have to change the original.  Sounds like such a feature isn't necessary for this case, though.

@mavericken ahh, gotcha. We used to extend the JavaScript language service (which is what you linked to) for completions, but no longer do because executes code in order to provide IntelliSense, which was causing major perf issues with the large Node projects people were working with. Now we statically analyze your Node code, which generally doesn't bring VS to a crawl (yay!), but the downside of this is that it involves a bunch of craziness with abstract syntax trees, visitor patterns, many types and definitions stored in memory, all updating as functions get used in different ways or new code is written, various optimizations, etc... all of which tend to make it really difficult to actually follow and conceptualize what's going on.
That said, we do want to find better ways to communicate and make it easier to understand to grasp because unless you just throw up an identifiers list, IntelliSense becomes a conceptual black box. And this is all well and good until the completion list doesn't match up with user expectations... I think we've done a good job making the analysis engine really smart, but now we need to focus on making it more predictable (from a user-perspective) so that the gap between user-expectation and reality narrows. And then we can focus on extensibility :smiley:

In RC 2.1 all works

@AeonRush what works, specifically? Still getting unknown type on my end


Services can now require a profile

Overview
Starting with the MouseDeviceManager not automatically having a profile assigned (which is another PR), I thought it would be if services like that one would show if they needed a profile but did not have one.
So I went through the code and implemented that.
Folded out or not, services that require a profile but don't have one assigned show a warnings box.

The following services were candidates for this:

Input System
Spatial Awareness
Registered Services

instead of string "MixedRealityRegisteredServiceProvidersProfile", i would suggest nameof(MixedRealityRegisteredServiceProvidersProfile)

Good point, done

Closing as the merge conflicts have been resolved in PR #6988

Thanks @Alexees for doing this work! My PR was only a small part of this.


Use interned strings for memSeries labelsets

Instead of using different copies of same strings again and again, this uses a map in the Head to store references to known strings.
When the head is garbage-collected, we rebuild the map of strings that are kept in it.
This is one implementation of the Option 1 from @bboreham's document Prometheus Labels data structure.
It is not the most optimal, but it should be a fairly important improvement. At least it's worth testing and setting a bar for further improvements.

Can you check the performance?
Eg on reading the WAL.

BTW, note that most slowdown is shown when there's only 50 samples per series, of course, as then the ratio of time consumed creating series vs time consumed writing samples is less favorable for us: the lock contention on the interning while creating series is more likely, thus the 30% increase. For series with 480 samples the difference is much smaller (3-5%)


Add missing source and data files to protoc-gen-nanopb

This should fix https://github.com/nanopb/nanopb/issues/890 by adding all the required source and data files needed for the protoc generator.

Looks reasonable to me.
@silvergasp Do you want to take a look?


Misleading/incorrect message when port 8080 is taken (mitmweb)

Problem Description

When port 8080 is already taken, mitmweb recommends you switch to port 8081.
However, the web UI is already running on port 8081. The two collide, but no error message is printed.
If you try to proxy your connections to 8081 as it's telling you, everything breaks.
This is mainly a problem because non-experienced users won't know that the web UI runs on port 8081, and because no error is printed when the two collide, the proxy just doesn't work for no apparent reason.

Steps to reproduce the behavior:

Run any service on port 8080 (anything works as long as it blocks that port).
Run mitmweb (no arguments). A message is printed stating that port 8080 is taken and that you should switch to 8081 (!)
If you switch to port 8081, no errors are printed but a collision with the web UI happens silently. The web UI opens telling you to point your proxy to port 8081, which doesn't work.

System Information
Mitmproxy: 9.0.1
Python:    3.10.9
OpenSSL:   OpenSSL 1.1.1s  1 Nov 2022
Platform:  macOS-13.2-arm64-arm-64bit

This seems like an already fixed issue (I'm using Mitmproxy: 10.0.0.dev), I tried this:
mitmweb --listen-port 8081  # another service is blocking port 8080

and an error is raised:
...
  File "/path/to/mitmproxy/mitmproxy/tools/web/master.py", line 107, in running
    raise OSError(e.errno, message, e.filename) from e
OSError: [Errno 98] Web server failed to listen on <IP_ADDRESS>:8081 with [Errno 98] Address already in use
Try specifying a different port by using `--set web_port=8082`.

That's odd. This is what happens for me:
mitmweb (no port specifier)
Error on startup: [Errno 48] HTTP(S) proxy failed to listen on *:8080 with [Errno 48] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address already in use
Try specifying a different port by using `--mode regular@8081`.

Then using the recommended flag, it starts fine.

Which OSes are y'all on?
On Fri, Jan 27, 2023, 13:37 Isaac McFadyen @.***> wrote:

That's odd. This is what happens for me:
mitmweb (no port specifier)
Error on startup: [Errno 48] HTTP(S) proxy failed to listen on *:8080 with [Errno 48] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address already in use
Try specifying a different port by using --mode<EMAIL_ADDRESS>Then using the recommended flag, it starts fine.
—
Reply to this email directly, view it on GitHub
https://github.com/mitmproxy/mitmproxy/issues/5891#issuecomment-1406447848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHY2PWASNVSJQOHGTYB4PDWUO6P7ANCNFSM6AAAAAAUIBWKBU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'm running on macOS Ventura 13.2 (ARM64, Apple Silicon)

I'm on Fedora 37

I tried this on macOS Big Sur:
$ mitmweb  # port 8080 is blocked

Web server listening at http://<IP_ADDRESS>:8081/
[Errno 48] error while attempting to bind on address ('<IP_ADDRESS>', 8080): address already in use
Task exception was never retrieved
future: <Task finished name='Task-4' coro=<ErrorCheck._shutdown_if_errored() done, defined at /path/to/mitmproxy/venv/lib/python3.8/site-packages/mitmproxy/addons/errorcheck.py:18> exception=SystemExit(1)>
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
    handle._run()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 81, in _run
    self._context.run(self._callback, *self._args)
  File "/path/to/mitmproxy/venv/lib/python3.8/site-packages/mitmproxy/addons/errorcheck.py", line 20, in _shutdown_if_errored
    sys.exit(1)
SystemExit: 1

This does try to open the web page but I can't replicate rest of the behaviour.

Sorry I was testing an older version of mitmproxy, upgraded to mitmproxy 9.0.1 and this issue does exist.

This seems like an issue in tornado, I am not yet exactly sure why this works but if I comment out the lines in tornado's netutils.py setting socket.SO_REUSEADDR then it works as expected on macOS too. These are the lines:
https://github.com/tornadoweb/tornado/blob/59536016e37704a1c47a3a0d262f46ceb6132c06/tornado/netutil.py#L135
https://github.com/tornadoweb/tornado/blob/59536016e37704a1c47a3a0d262f46ceb6132c06/tornado/netutil.py#L141


Why Zesty - more than headless solution

Make styling match component on homepage (in process of being updated - has an icon). Make background light blue/grey
Current:


Tapped entity event helper

Adds helper tappedEntityGroup to construct schema compliant events of types:

tappedArtistGroup
tappedArtworkGroup
tappedAuctionGroup
tappedCollectionGroup
tappedExploreGroup
tappedFairGroup

Also adds two missing OwnerType values, collection, and home.
https://artsyproduct.atlassian.net/browse/PLATFORM-2352

Looks good to me – one thing I'm not sure about is the 'group' distinction here... we currently model a single Tap event that can take an owner_id and owner_type to represent the entity in question. Will that model remain under the new schema? Or is it to be replaced by TappedEntity and TappedEntityGroup? Maybe @abhitip can answer since @eessex is out this week.

@cavvia We discussed this as a team and decided that we wanted to move away from the tap event since it currently houses many different event types (due to the tap/success/failure schema design). The tap table is quite big now so we are hoping that pulling out these specific events will allow for smaller tables that are easier to query.
And then I believe Eve built one helper for all events to make it easier for engineers, since they all have the same properties!

@cavvia, yes @abhitip is correct - because the event type can be inferred from the destination type, we are using one helper for the engineering side. Each event will be in a separate table on the Redshift end.

:rocket: PR was released in v1.0.1 :rocket:


WandB Integration

I read here that YoloX has integration with wandb to log the training process. However, the command --wandb [--cache] fails. The probable reason why it fails is that I can't find the file YOLOX/yolox/utils/wandb/wandb_utils.py. I am probably missing something very obvious but I would love any assistance! Thanks

NVM, just realized the guy was using a custom fork

NVM, 그 사람이 방금 user-정의 포크를 사용하고 있다는 것을 깨달았습니다 . 공식 리포지에서 WandB를 지원하세요.

I also want to use wandb . Please explain in detail how you solved it

I downloaded YoloX from a different repo: using the command git clone https://github.com/digantamisra98/YOLOX -q.

The following error occurred during the training：
File "/kaggle/working/YOLOX/yolox/utils/wandb/wandb_utils.py", line 153, in _handle_pred
if isinstance(image, Union[str, Path]):
......
File "/opt/conda/lib/python3.7/typing.py", line 716, in instancecheck
return self.subclasscheck(type(obj))
│    │                      └ array([[[ 92., 180., 156.],
│    │                                [ 99., 178., 156.],
│    │                                [108., 170., 157.],
│    │                                ...,
│    │                                [  0.,  87., 176.],
│    │                        ...
│    └ <function _GenericAlias.subclasscheck at 0x7fb1192eca70>
└ typing.Union[str, pathlib.Path]
File "/opt/conda/lib/python3.7/typing.py", line 724, in subclasscheck
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks


fix time window active type when the current day is not listed as active but still triggers the subscription

https://github.com/open-cluster-management/backlog/issues/15710
Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/test test-unit


Should queues be stored separate or combined?

How often will multiple queues be in use simultaneously?
Dialogues might have another dialogue pushed in-front or behind.
A dialogue might happen during a tick queue, but would normally cancel the tick queue?
Normally only one queue at a time. Are there exceptions?

Doing this will need to rethink DialogueSystem#startDialogue(Int, DialogueQueue)

Depends on how many other features are using queues.
Example TaskPriority
One world queue for object changes: trees, doors, levers etc..
One queue for each entity (player/mob/bot): dialogues, combat, interfaces, skills (all interaction pretty much)

Type
Description
Examples

Strong
Closes menus immediately
death, teleporting

Standard
Waits for full-screen menus to finish before continuing
movement

Weak
Cancelled when player clicks away (or strong tasks)
string/integer input dialogue, interfaces (for actions on closing)?

How would a world queue work?
Would there be utility in items and objects also having a queue?

I don't think a world queue would be necessary. Timed events e.g shooting star or evil tree and objects all only use a delayed reset system #54
Item degredation is too long term to sensibly use a queue.
As for mob/player/bot queues there would be times when mixing different types of suspensions. For example walking to a tile waiting 5 ticks, open a dialogue, open an interface afterwards and wait for it to close before continuing. Which makes sense to have them all extend the same interface and be in the same queue.


QT_DIR issues with Qt6

@rex-schilasky reported issues to find Qt6.

Which version are you building with? I am pretty sure that 6.2 will not work anyways, as Qt6 wasn't feature complete back then.  I only tested 6.5 and 6.6 (I read those are binary compatible).

My last feedback needs to be corrected. I tested with 6.6.2.

@rex-schilasky  Can you please give more detailed informationon your system?

eCAL version / commit
CMake Version
List of installed Qt Versions
CMake options for building eCAL


Fix issue of not refreshing lease state within blockBlob.upload operation.

Thanks for contribution! Please go through following checklist before sending PR.
PR Branch Destination

For Azurite V3, please send PR to main branch.
For legacy Azurite V2, please send PR to legacy-dev branch.

Always Add Test Cases
Make sure test cases are added to cover the code change.
Add Change Log
Add change log for the code change in Upcoming Release section in ChangeLog.md.
Development Guideline
Please go to CONTRIBUTION.md for steps about setting up development environment and recommended Visual Studio Code extensions.

/azp run

/azp run

/azp run

/azp run


Error running fmriprep 20.2.7: No such file or directory

Description:
When running the nipoppy command, an error occurs indicating that a required file is missing. Below are the details of the command and the error message.
Command:
nipoppy run --dataset-root /cubric/collab/487_mvpa/poppy-effex/dataset --pipeline fmriprep

Terminal Output:
2024-08-07 10:53:55,984 [    INFO] Loading config from /cubric/collab/487_mvpa/poppy-effex/dataset/global_config.json
WARNING  Pipeline version not specified, using version 20.2.7                                                                                pipeline.py:326
2024-08-07 10:53:55,993 [ WARNING] Pipeline version not specified, using version 20.2.7
2024-08-07 10:53:55,996 [    INFO] Writing the log to /cubric/collab/487_mvpa/poppy-effex/dataset/scratch/logs/run/fmriprep-20.2.7/fmriprep-20.2.7-20240807_1053.log
2024-08-07 10:53:55,998 [    INFO] ========== BEGIN RUN WORKFLOW ==========
2024-08-07 10:53:55,999 [    INFO] PipelineRunner(dpath_root=/cubric/collab/487_mvpa/poppy-effex/dataset, pipeline_name=fmriprep, pipeline_version=20.2.7, pipeline_step=None, participant_id=None, session_id=None, simulate=False, fpath_layout=None, logger=<Logger run (INFO)>, dry_run=False)
WARNING  Creating directory /cubric/collab/487_mvpa/poppy-effex/dataset/derivatives/fmriprep/20.2.7/work/fmriprep-20.2.7                                                            base.py:234
2024-08-07 10:53:56,006 [ WARNING] Creating directory /cubric/collab/487_mvpa/poppy-effex/dataset/derivatives/fmriprep/20.2.7/work/fmriprep-20.2.7
2024-08-07 10:53:56,021 [    INFO] Running on participant 126BPCP021001, session 1
2024-08-07 10:53:56,023 [    INFO] Building BIDSLayout with 2 ignore patterns: [re.compile('^(?!/sub-(126BPCP021001))'), re.compile('.*?/ses-(?!1)')]
2024-08-07 10:53:56,732 [    INFO] Loading descriptor from /cubric/collab/487_mvpa/poppy-effex/dataset/proc/descriptors/fmriprep-None.json
ERROR    Error running fmriprep 20.2.7 on participant 126BPCP021001, session 1: [Errno 2] No such file or directory:                                                            pipeline.py:352
         '/cubric/collab/487_mvpa/poppy-effex/dataset/proc/descriptors/fmriprep-None.json'
2024-08-07 10:53:56,733 [   ERROR] Error running fmriprep 20.2.7 on participant 126BPCP021001, session 1: [Errno 2] No such file or directory: '/cubric/collab/487_mvpa/poppy-effex/dataset/proc/descriptors/fmriprep-None.json'
2024-08-07 10:53:56,735 [    INFO] Removing /cubric/collab/487_mvpa/poppy-effex/dataset/proc/pybids/bids_db/fmriprep-20.2.7
2024-08-07 10:53:56,738 [    INFO] Removing /cubric/collab/487_mvpa/poppy-effex/dataset/derivatives/fmriprep/20.2.7/work/fmriprep-20.2.7
2024-08-07 10:53:56,742 [    INFO] ========== END RUN WORKFLOW ==========

Steps to Reproduce:

Run the command: nipoppy run --dataset-root /cubric/collab/487_mvpa/poppy-effex/dataset --pipeline fmriprep
Observe the error message indicating the missing file.

Expected Behavior:
The pipeline should run without errors, and all necessary files should be found.
Actual Behavior:
The pipeline fails with an error indicating that the file /cubric/collab/487_mvpa/poppy-effex/dataset/proc/descriptors/fmriprep-None.json is missing.
Additional Information:

The pipeline version used is 20.2.7.
The error occurs for participant 126BPCP021001 and session 1.

running command does solve it actually, but I thing the default should apply here, no?
nipoppy run --dataset-root /cubric/collab/487_mvpa/poppy-effex/dataset --pipeline fmriprep --pipeline-version 20.2.7

This is indeed a bug in Nipoppy, see https://github.com/nipoppy/nipoppy/issues/298
There is a fix in the works but it hasn’t been merged yet: https://github.com/nipoppy/nipoppy/pull/300
In the meantime (as you have discovered) if you explicitly specify the pipeline version it should work :)


Animated navbar component in tailwindCSS

Description
**Need to create code for Animated navbar component as per below image. **

The final code should be placed under path tailwind_components/navbars with file name as animated_navbar.jsx
The file as to be imported to tailwind_components/navbars/collection.js file as per example and added to the navbarCollections list
Post these process, go to components tab (components/navbars) in website and check whether the codepen is updated
Color palete and animation is upto creativity

The navbar should be mobile responsive with hamburger menu (make it simple)

For PR reference - https://github.com/jsvigneshkanna/tailwind_ui_components/pull/76/files
For any issue while creating / importing the component code file, check below sample files
https://github.com/jsvigneshkanna/tailwind_ui_components/tree/master/tailwind_components/buttons
For icons please refer - https://heroicons.com/
Screenshot of the tailwind component

Are you taking this fetaure implementaion
No, This is up for grabs

Hi @jsvigneshkanna I can work on it, please assign me.

@uttampandit  yeah but, lets wait for sometime for other contributors too. If no pick up this in an hour, then I will assign this to you!

I am interested in this! Please assign! @jsvigneshkanna

welcome back @streetcodec 🤪
Also check for other navbar components too~


Avoid unnecessary resolution of version ranges when combined with fixed version constraints

When a resolution has multiple different dependencies on a module, Gradle attempts to find the best version that matches all of the version constraints from those dependencies. When one dependency contains a version range and another dependency/constraint specifies a particular version within this range, then Gradle will choose the fixed version as the "best" match.
In this case, Gradle should not need to resolve the version range at all. Gradle should detect that the fixed version lies within the range, and omit any resolution of the range.
This is particularly important for dependency locking, where a version constraint is used to lock to a particular version within a range. Avoiding the resolution of dynamic versions would improve performance in this case, particularly when cacheDynamicVersionsFor 0, 'seconds' is used.
Expected Behavior
Gradle will not resolve the highest value in a version range, when this value will be replaced by a fixed version within the range.
Current Behavior
Gradle resolves a version range to it's highest value, even when this value will not be used.
Context
Avoiding the resolution of dynamic versions could have a significant impact on performance. This will be particularly evident when version ranges are combined with dependency locking.
See https://github.com/gradle/gradle/blob/ee0ba0c3880c50daa1dc0e480d28ce5f14910fc4/subprojects/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy#L318-L352

Was resolved by #9252


ggml_new_tensor_impl: not enough space in the scratch memory pool (needed 546644800, available 536870912) Segmentation fault

Expected Behavior
This happens (so far) only with these models:
Wizard-Vicuna-30B-Uncensored.ggmlv3.q8_0.bin
WizardLM-30B-Uncensored.ggmlv3.q8_0.bin
based-30b.ggmlv3.q8_0.bin
Larger 65B models work fine. It could be something related to how these models are made, I will also reach out to @ehartford
llama-cpp-python 0.1.59 installed with OpenBLAS
CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python --force-reinstall --upgrade --no-cache-dir
I was running my usual code on the CPU and restarting it to tweak the results when this error came up. I made no code changes, only to context length, I reduced it as it was exceeding the 2048 token limit.
processed_output = self.llm(
            context + "\n### Instruction: \n" + instruction + "\n### Input: \n" + input_text + output,
            max_tokens=400,
            stop=None,
            temperature=0.7,
            repeat_penalty=1.1,
            top_k=80,
            top_p=0.5,
            echo=True,
        )

Current Behavior
llama.cpp: loading model from /home/****/models/Wizard-Vicuna-30B-Uncensored-GGML/Wizard-Vicuna-30B-Uncensored.ggmlv3.q8_0.bin
llama_model_load_internal: format     = ggjt v3 (latest)
llama_model_load_internal: n_vocab    = 32000
llama_model_load_internal: n_ctx      = 2048
llama_model_load_internal: n_embd     = 6656
llama_model_load_internal: n_mult     = 256
llama_model_load_internal: n_head     = 52
llama_model_load_internal: n_layer    = 60
llama_model_load_internal: n_rot      = 128
llama_model_load_internal: ftype      = 7 (mostly Q8_0)
llama_model_load_internal: n_ff       = 17920
llama_model_load_internal: n_parts    = 1
llama_model_load_internal: model size = 30B
llama_model_load_internal: ggml ctx size =    0.13 MB
llama_model_load_internal: mem required  = 35267.28 MB (+ 6248.00 MB per state)
.
llama_init_from_file: kv self size  = 6240.00 MB
AVX = 1 | AVX2 = 1 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | FMA = 1 | NEON = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 0 | SSE3 = 1 | VSX = 0 |
Processing all summaries...
ggml_new_tensor_impl: not enough space in the scratch memory pool (needed 546644800, available 536870912)
Segmentation fault

Environment and Context
wsl2
python 3.10.9

Physical (or virtual) hardware you are using, e.g. for Linux:

$ lscpu
AMD Ryzen 9 3900XT 12-Core Processor

Operating System, e.g. for Linux:

$ uname -a
<IP_ADDRESS>-microsoft-standard-WSL2+ #2 SMP
$ python3 3.10.9
$ make GNU Make 4.3
$ g++(Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0

To me it is 100% reproducible after several inference runs with Wizard-Vicuna-30B-Uncensored.ggmlv3.q8_0.bin

Standing by!

It seems to be a llama.cpp issue. I found it mentioned regarding starcoder models too. I think you can carry on :)

Update. The issue resolves on reboot so there is some memory leak in the code.
This error would likely resolve if I restart wsl2, but it is messy for me to do that due to needing to remount my ext4 partitions, and I do not think that particular data point is as significant.

Update. The issue resolves on reboot so there is some memory leak in the code.
This error would likely resolve if I restart wsl2, but it is messy for me to do that due to needing to remount my ext4 partitions, and I do not think that particular data point is as significant.

Hey but for a commercial application we can't afford to have it like this right ? This is happening with me on groovy 1.3 . Even that only on some OS like RHEL. It's really frustrating and difficult to deal with this

Hey but for a commercial application we can't afford to have it like this right ? This is happening with me on groovy 1.3 . Even that only on some OS like RHEL. It's really frustrating and difficult to deal with this

Facebook did not release their llama models for commercial application.
Did you pay for a license for any of the models or llama inference code you are using?

Hi I am using gpt-4-all gpt-j 1.3 groovy which has Apache license.

https://github.com/ggerganov/llama.cpp/issues/1152#issuecomment-1520419965 suggests a workaround.

In hope to help isolate the bug I tried to reproduce the issue since version 0.1.55.
The first release that I experience the issue is 0.1.76(0.1.75 wasn't tested, isn't available on pypi) and didn't see it on 0.1.74
Could it be related to this change?
https://github.com/abetlen/llama-cpp-python/compare/v0.1.74...v0.1.76#diff-9184e090a770a03ec97535fbef520d03252b635dafbed7fa99e59a5cca569fbcR200
Environment
python -V
Python 3.10.12
uname -a
Linux Idan-PC <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Model: nous-hermes-13b.ggmlv3.q4_0.bin


does this support firestore apis?

I want to fetch docs from firestore. Can I use this?

Yes you can natively from the package since Release 1.2.0 - please refer to https://firebase-php.readthedocs.io/en/stable/cloud-firestore.html for more information after following the README of the package.


Custom Editor, remove breadcrumb bar?

I'm creating a form designer for my language, using a custom editor in VS Code.  It's working great, but I'm wondering if it's possible to remove/hide the breadcrumb bar in custom editors, as this would provide less distraction on the page.

Currently, I can't see any way to hide it, unless I've missed something?   This is certainly not a showstopper, but it would certainly be nice to be able to hide the breadcrumb bar in a custom editor.

There's a setting you can tweak. Add "breadcrumbs.enabled": false to your settings.json, and the breadcrumb bar will be disabled.
Although, I think you can't disable that per custom editor.

Thanks, I'm aware of that setting, but I was hoping to be able to disable it just for this custom editor.

Even though custom editors don't provide symbols, the breadcrumbs still let you navigate through your project structure
@jrieken Can we hide the breadcrumbs if the current editor doesn't provide symbols and the user has set breadcrumbs.filePath: false? Right now I see:

Can we hide the breadcrumbs if the current editor doesn't provide symbols

Knowing that isn't easy as support for breadcrumbs comes lazy and symbols themselves are dynamic as well. We try to avoid hiding and showing the breadcrumbs because that moves all editor-content up and down


Search in files + multiline regex -> wrong selection

VSCode Version: 1.13.0
OS Version: windows 10  (1703 build 15063.332)

Steps to Reproduce:

Create multiple files with this content:

  <ItemGroup>
    <Reference Include="SomeLib">
      <Name>SomeLib</Name>
      <HintPath>..\_output\Client\$(Configuration)\SomeLib.dll</HintPath>
      <Private>False</Private>
    </Reference>
  <ItemGroup>

try search for this regex:

/">\n\s*<Name>.*\n\s*<HintPath>.*\n\s*<Private>.*\n\s*</Reference>/

a) when searching in single file editor correctly highlights result (in between | chars):

  <ItemGroup>
    <Reference Include="SomeLib|">
      <Name>SomeLib</Name>
      <HintPath>..\_output\Client\$(Configuration)\SomeLib.dll</HintPath>
      <Private>False</Private>
    </Reference>|
  <ItemGroup>

b) when searching globaly editor incorrectly highlights wrong characters (again in between | chars):

  <ItemGroup>
    <Reference I|nclude="SomeLib|">
      <Name>SomeLib</Name>
      <HintPath>..\_output\Client\$(Configuration)\SomeLib.dll</HintPath>
      <Private>False</Private>
    </Reference>
  <ItemGroup>

looks line 'global' search dont like multiline regex  - respective it highlighs from correct start char but to invalid end char (end char on wrtong line)
                 invalid end position: (line: 2, char: 14) - wrong line
1: <ItemGroup>   ↓               ↓ correct start position (line: 2, char: 29)
2:   <Reference I|nclude="SomeLib|">
3:     <Name>Some Lib</Name>
4:     <HintPath> ..\_output\Client\$(Configuration)\SomeLib.dll</HintPath>
5:     <Private>F alse</Private>
6:   </Reference>|
7: <ItemGroup>   ↑ correct end position (line: 6, char: 14)

expected result: global search highlights same way as local one - at least in 'file window' (in search results 'tree' it cound show first line followed by tree dots if multiline output isnt possible here)

Right, global search doesn't support multiline regexes, while the editor search does. It's kind of unfortunate that we have this mismatch, but it's the price of having very fast workspace search.

@roblourens okay, fair enough ... some ideas how to improove it:

execute local search again after selecting specific file - that way i get fast workspace search and correct highlighting after file selection (i dont think that second local search would be too much bottleneck)

global replacer would loop tru list of matching files from global search and run local repacer on them

this could/should be configurable and therefore disablable...


Saving and closing file can result in the file getting empty

Issue Type: Bug
I map shift+z+z to save and close active editor with vim plugin.
It works good with vs code version 1.20 ( VSCodeSetup-x64-1.20.1.exe), but got problem with latest version 1.23.1:

open a  .ts file containing some codes
shortcut shift+z+z triggered
active editor closed
the file be zero byte

VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz (4 x 2809)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: unavailable_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: unavailable_softwarewebgl: enabledwebgl2: enabled

Memory (System)
15.97GB (5.34GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe D:\tt\tt\lib\index.ts

Screen Reader
no

VM
67%

Extensions (2)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.23.5

vim
vsc
0.12.0

config:
{
    "editor.fontSize": 18,
    "editor.wordWrap": "on",
    "telemetry.enableTelemetry": false,
    "telemetry.enableCrashReporter": false,
    "files.eol": "\n",
    "files.trimTrailingWhitespace": true,
    "vim.easymotion": false,
    "vim.incsearch": true,
    "vim.useSystemClipboard": true,
    "vim.useCtrlKeys": true,
    "vim.hlsearch": true,
    "vim.insertModeKeyBindings": [
        {
            "before": ["j","j"],
            "after": ["<Esc>"]
        }
    ],
    "vim.otherModesKeyBindingsNonRecursive": [
        {
            "before": ["<leader>","c", "c"],
            "after": ["g", "c"]
        },
        {
            "before":["<C-n>"],
            "after":[],
            "commands": [
                {
                    "command": ":nohl"
                }
            ]
        },
        {
            "before": [
                "Z",
                "Z"
            ],
            "after": [],
            "commands": [
                {
                    "command": "workbench.action.files.save",
                    "args": []
                },
                {
                    "command": "workbench.action.closeActiveEditor",
                    "args": []
                }
            ]
        },
        {
            "before": [
                "leader",
                "w"
            ],
            "after": [],
            "commands": [
                {
                    "command": "workbench.action.files.save",
                    "args": []
                }
            ]
        }
    ],
    "vim.leader": ",",
    "vim.handleKeys":{
        "<C-a>": false,
        "<C-f>": true,
		"<C-b>": true
    },
    "vim.textwidth": 160,
    "vim.history": 500,
    "workbench.colorTheme": "Visual Studio Dark",
    "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
    "eslint.run": "onSave",
    "eslint.autoFixOnSave": true,
    "eslint.validate": [
        "javascript",
        "javascriptreact"
    ],
    "eslint.enable": true,
    "typescript.format.insertSpaceAfterTypeAssertion": true,
	  "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
    "editor.tabSize": 2,
    "[markdown]": {
      "files.trimTrailingWhitespace": false
    },
    "editor.renderIndentGuides": true,
    "tslint.autoFixOnSave": true,
    "editor.renderLineHighlight": "all"

}

@waitingsong can you clarify what kind of VIM extension you have installed?

@xconverge @jpoon any hints what this command does in your extension that could cause this?

It might be a good idea to disable all plugins, then enable just VSCodeVim. I also see ESlint in the settings which does something onSave... Maybe The vim remap is saving and closing while the eslint extension is doing something in between those 2 commands

i have disabled all other plugins except
vscode-language-pack-zh-hans and vim.
have tried under empty folder without package.json, eslint.json, tslibt.json etc, only one file index.ts, still zero after shift zz.

@xconverge it works. thanks a lot

The issue here was that:

a file is not dirty
a file is being saved (e.g. through a command or Ctrl+S)
a save participant is running (asynchronously, potentially long running)
a file is closed without waiting for the save to be finished
the save participant comes back and now wants to save the file
the file's underlying model has been disposed meanwhile and will now return an empty string as content
we store an empty string as contents to the file

The fix is now to not save the file if the underlying model has been disposed meanwhile. In other words, it is not possible to save a file and close it right after without waiting for the save to finish.
This was only an issue when the file was not dirty, because if the file is dirty, we prompt the user before closing the file to either save or revert it.

This was a cool example of how responsive you (the vscode devs) have been with this product. Thanks a lot! A cool example of OSS as well with an efficient issue comment section! (Until this comment ;) )

Verified I could reproduce without the fix and it no longer reproduces with the fix.

What version is the fix in? I’ve had this problem many times on prior and current version (as of 6/8/18) of vscode.

@joeandaverde This fix is in 1.24.0 and yesterday's insiders build. If you are on these or newer builds, could you open a new bug report?

I saw this issue in 1.24.0 and 1.23.1
I thought it was an issue with Prettier. Unfortunately, I am unable to reproduce.
https://github.com/prettier/prettier-vscode/issues/489


Create a page for each reviewer in app-reviewers

We already have a page for TryMyUI. We should have a page for each reviewer, and have info about scoring and process. We can update the README to link to these pages.

@hstove We already have documentation for the reviews in the actual documentation. @GinaAbrams I'm not sure it makes sense to keep this information in two places. There will be drift between what is published in the docs and what is in the repository.

I think we can have the two places:

Docs for developers to learn about the app reviewers, introduction (stable, high level)
Docs for details about the score generation or information that is relevant for that and that can be discussed here. These docs should reference the introduction only, not copy it.

It was decided to keep all information about app reviewers on docs.blockstack.org

@jeffdomke This can be closed.


Add cluster info section

Add cluster info section #124

reopen a new branch instead of the forked branch


log: fix log duplication problems

This PR fix log duplication problems.

@yuyi98 Is this still needed? or does #182 solved the problem?

@nedpals  It is needed, They're not the same.

I see. I'll merge this. Thanks @yuyi98 !


okhttp3.internal.http2.StreamResetException: stream was reset: INTERNAL_ERROR

Api call with retrofit and rxandroid
Depencency used:
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.6.0'
Here is setup:
public static IAPIInterface getRestAdapterForRx() {
    HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
    logging.setLevel(HttpLoggingInterceptor.Level.BODY);
    OkHttpClient.Builder httpClient = new OkHttpClient.Builder();
    httpClient.addInterceptor(logging);

    Retrofit retrofit = new Retrofit.Builder()
            .baseUrl(BASE_URL)
            .addConverterFactory(GsonConverterFactory.create())
            .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
            .client(httpClient.build())
            .build();

    return retrofit.create(IAPIInterface.class);
}

Mostly, API Call gives response but some time it give this error.

Typically error code is sent by a server to indicate a problem server-side. It could also happen if OkHttp’s stream reader crashes with an unexpected exception.
Could you provide a standalone test case? As-is there’s no action we can take on this.

A sample project to reproduce this error can be found here https://github.com/tobydigz/TestRetrofitApp
What I know so far is that

I only get this error when I receive a 401 while attempting a GET. Might be due to the server I don't know.
The logging interceptor cuts off abruptly but when I try the same endpoint from Postman, I get a response body.

I could also provide a base url if that's necessary, to help with pinpointing the error
So dependencies used are

implementation "com.squareup.okhttp3:okhttp:3.13.1"
implementation "com.squareup.retrofit2:retrofit:2.3.0"
implementation "com.squareup.okhttp3:logging-interceptor:3.13.1"
implementation "com.squareup.retrofit2:adapter-rxjava2:2.3.0"
implementation "com.squareup.retrofit2:converter-moshi:2.3.0"
implementation "io.reactivex.rxjava2:rxjava:2.1.7"
implementation "io.reactivex.rxjava2:rxkotlin:2.1.0"
implementation "io.reactivex.rxjava2:rxandroid:2.0.1"
implementation "com.squareup.moshi:moshi-kotlin:1.8.0"

Is postman using HTTP/2? I think it's a server-triggered failure.

Is postman using HTTP/2? I think it's a server-triggered failure.

I'm not sure but when I set Okhttp to use HTTP/1.1 I get End Of File Exception instead.
Also an Angular and C client interacting with this endpoint don't experience this issue, just the Android client

Can you isolate the difference? Maybe send the C client’s headers with OkHttp?

What's the problem?? ... I can't find the solution.

I found that the server can't send all data properly. For instance, JSON isn't complete(the braces aren't closed properly at the end). It's server problem. I guess it's instance problem. the instance must have some limit for that. So, you need to enlarge the size.
ex.
{
"name": "john",
"address": "a b c",
...
"na

Seems like I'm getting the same error when trying to download with OkHttp from https://hg.openjdk.org/jdk-updates/jdk9u/archive/1b1226687b89.zip. Via Firefox the downloads works just fine.


Add rogerluan/dotfiles inspiration.

First of all, thanks for offering this absolutely great dotfiles resource, it really adds to the community.
Having the ability to open a PR to contribute to the inspiration list was a great idea! I'm here to add my entry to the list, hoping that it inspires someone as much as the current entries have inspired me.
Thanks in advance!

Thanks for the contribution!


fetch commit data from github if no pr payload available

resolves https://github.com/Roblox/roact-performance-benchmarks/issues/99

@matthargett I can't seem to request you to re-review. Could you have a look at my responses?
Can we ask somebody to add you and Paul (@ZoteTheMighty) to this repository's collaborators or maintainers? I can't ask for your review in this repo

issue filed for expanded access: https://jira.rbx.com/servicedesk/customer/portal/1/PVESD-1594


feat(plugins/adr): configurable component header title

Hey, I just made a Pull Request!
This change is to make the content header for the EntityAdrContent configurable.
If no title is specified the default value Architecture Decision Records is used.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Even though I don't have a vote here, I would just like to leave my two cents: having an even better solution in the future is nice, but from what I can tell this PR is simple enough to not have any ugly side-effects (the implementation is backwards compatible and quite simple). It doesn't prevent a better solution, but offers a relief in the meantime. Basically "perfect is the enemy of good". This solution might not be perfect, but IMO it's already good enough and therefore takes away pressure from implementing a larger, more wide-reaching change, without preventing such a change either.

@Rugvip Sure, I'll give it a try and will update the PR.

@Rugvip I rebased and updated the PR.

Thanks a lot for your feedback and review - I hope I have addressed all your remarks.

Thanks for your support 💙


[Bug]: Memory leak when using ReactiveValidation

Describe the bug 🐞
A class derived from ReactiveValidationObject is not garbage collected, if it has set a validation rule and subscribed to ValidationContext.ValidationStatusChange.
Step to reproduce

Create a class:

using System;
using System.Reactive.Disposables;
using ReactiveUI.Validation.Extensions;
using ReactiveUI.Validation.Helpers;

namespace RxValidation
{
    public sealed class Class1 : ReactiveValidationObject, IDisposable
    {
        private readonly CompositeDisposable disposable = new CompositeDisposable();

        public Class1()
        {
            this.ValidationRule(
                vmp => vmp.Name,
                name => !string.IsNullOrEmpty(name),
                "The name is empty.");

            // commenting out the following statement makes the test green
            this.ValidationContext.ValidationStatusChange
                .Subscribe(/* you do something here, but this does not matter for now. */)
                .DisposeWith(this.disposable);
        }
        public string Name { get; set; }

        public void Dispose()
        {
            disposable?.Dispose();
        }
    }
}

Create a test:

using System;
using FluentAssertions;
using JetBrains.dotMemoryUnit;
using RxValidation;
using Xunit;
using Xunit.Abstractions;

namespace RxValidationTests
{
    public class Class1Tests
    {
        public Class1Tests(ITestOutputHelper testOutputHelper)
        {
            DotMemoryUnitTestOutput.SetOutputMethod(testOutputHelper.WriteLine);
        }

        /// <summary>Tests whether the created object can be garbage collected.</summary>
        [Fact]
        [DotMemoryUnit(FailIfRunWithoutSupport = false)]
        public void Instance_Released_IsGarbageCollected()
        {
            WeakReference reference = null;
            new Action(
                () =>
                {
                    var sut = new Class1();

                    reference = new WeakReference(sut, true);
                    sut.Dispose();
                })();

            // Sut should have gone out of scope about now, so the garbage collector can clean it up
            dotMemory.Check(
                memory => memory.GetObjects(
                    where => where.Type.Is<Class1>()).ObjectsCount.Should().Be(0, "it is out of scope"));

            GC.Collect();
            GC.WaitForPendingFinalizers();

            reference.Target.Should().BeNull("it is garbage collected");
        }
    }
}

Run the test either under dotMemoryUnit (the dotMemory.Check will fail) or with normal Testrunner (reference.Target.Should().BeNull will fail)

Here is the complete code:
RxValidation.zip
Reproduction repository
none
Expected behavior
The test should run green, because the instance of Class1 is released from memory.
Screenshots 🖼
No response
IDE
Visual Studio 2019
Operating system
Windows 10 Enterprise
Version
22H2
Device
PC
ReactiveUI Version
19.6.1
Additional information ℹ
The problem was detected in version 19.2.1 and verified in version 19.6.1

@Josch600 Thank you for raising this issue, I believe that this will be fixed in V4.0.9 if you still have issues with the memory, please raise a new issue.


Store previous mappings

Per user studies, projects should store old mappings for previously-closed visualizations
For example:

The user chooses a bar chart and establishes the matchings
The user switches to a scatterplot (invalidating the matchings) and establishes new matchings
The user switches back to the bar chart... the previous matchings are lost

Alternative: if we support multiple visualizations, we may want to take a different approach

The per user storage of matchings could be done based on the names or types of columns (advanced feature) so that when they load a different dataset of the same shape they get the same mappings by default.

We could also provide a "clear mappings" button so the user has the option of reverting to the fundamental case when the system "remembers" old mappings.

@ronichoudhury I don't think we should remember mappings based on names of columns. It will sometimes do the wrong thing and it's better to do nothing than sometimes do the wrong thing. The clear mappings button is probably good to have in its own right, independent of how we store prior mappings.

@alex-r-bigelow independently convinced me of this earlier. These "remembered" mappings should simply be per-project, and based only on the mapping the user has instantiated.

I just talked with Brad, and he had a pretty cool idea in this vein... if we could store "bookmarks" as part of a project, we wouldn't (shouldn't?) have to automatically infer the users' stopping points. This would also allow multiple charts of the same type to be saved instead of just keeping the last one that the user had.


extra wrapper div for tbl-header will help

Hi,
i am using your plugin, and have updated to the latest. My design requires a colored background (gradient) for header. The new new release of react-bootstrap-table, tbl-header is getting margin-right beautifully adjusted. But it also reducing the area of colored-backgroud, Please check attached screenshot.

Can you wrap a tbl-header in other react-bs-header, so that background of the header can spread to 100 %.

another thing is about pagination holder div.  it will help if the last div has some class. if any style needs to be updated we need to do as '.react-bs-container > div:last-child'. so if this div has some class as 'footer' it will help.

one more question: Do column accept width in percentage? when i set column width in percentage, and select one row, the width is getting adjusted, so it seems there is some flickering issue..

thanks for all your help and this plugin
shruti.

@ssjogus, thanks your feedback

it's seems like a bug, I'll fix it.
I can add it
No, there's some problem that I can't solve it currently, the width of bootstrap table is a big hell

Hope the answer is you wanted
if any question, welcome to join the gitter to discuss with us.

@ssjogus, another question, how did you change the header style?

@AllenFang , i just gave some styling to this class '.tbl-header'..
i think .tbl-header is getting margin-right adjusted according to scrollbar. may be it will help (just a suggestion) if we wrap it in some other div '.bs-header-container', which will get no margin, but is 100% width, to which we can give the background, it can solve the problem..
thanks..

@ssjogus, yes you are right, the div of .table-header apply margin-right: 15px for the case which scrollbar exists. so you means use another div wrap .table-header?

@AllenFang ,
yes, right.. may be something like:

...

so it should background styles to .table.header-holder and apply margin-right to the .table-header

@ssjogus, good, that's what I consider, I'll try it after work. Thanks!

@ssjogus, Fix this issue.
First, I add .table-header-wrapper to wrap .table-header
Second, apply .table-footer-pagination class name on div of pagination.
check the newest version

thanks..


fetcher: codec error in handleEpochInfoReq

close: https://github.com/spacemeshos/go-spacemesh/issues/4181
turns out original problem was already fixed by @fasmat , i just noticed that we don't bubble up the error

bors merge

bors merge


Docs: command for setup DB with docker

Command for setup the DB with docker for me didnt work, so i used "docker-compose up --build" instead of "docker-compose up -d".

I am not sure to understand  why, the docker compose only start and init a database, the image is postgres:15-alpine which is already built, so adding --build to docker-compose has no effect.
What do you mean by it didn't work? can you share the error?

closing as no update, happy to reopen if needed


Fix missing word and improve readability

@kirankashyap Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Sagan will be soon retired. A note has been added to the README.
We don't accept contributions anymore as a result.
Thanks for your help!


Revenue issue for Maker

@tannishmango

This is actually correct as DSR has been changed to 0.01%
https://www.reddit.com/r/MakerDAO/comments/fnzdzp/dai_savings_rate_0/


What are the values for [modalOptions]?

Please list the values of the options or explain how to use this option. Thanks.

These are the standard options of modals in ionic.
https://github.com/ionic-team/ionic/blob/master/src/components/modal/modal-options.ts

Thanks!


Update rocksdb version

What changes are proposed in this pull request?
This updates the version of RocksDB used to 7.0.3
Why are the changes needed?
This version of RocksDB uses a more efficient Bloom filter https://github.com/facebook/rocksdb/commit/420d51b9a0bcbb7185056c855dbb968de0beb0ac
Does this PR introduce any user facing changes?
No

Some of the unit tests are running slower. It might be just that RocksDB is more careful in starting up and shutting down. I will also check the performance tests.

Are we taking this version bump? @tcrain @yuzhu


Incorrect package version being installed

Describe the bug
Despite having
  - package: tailsdotcom/dbt_artifacts
    version: 0.4.5a2

set in packages.yml, running dbt deps results in
Installing<EMAIL_ADDRESS>  Installed from version 0.4.5a1

Sometimes this installs 0.4.5a2, sometimes it doesn't. The same behaviour is also being seen in dbt cloud, and is causing frequent run failures. 0.4.5a2 is registered in dbt hub: https://hub.getdbt.com/tailsdotcom/dbt_artifacts/0.4.5a2/
Steps To Reproduce
➜  git:(staging) dbt deps
dbtenv info:  Using dbt 0.19.1 (set by dbt_project.yml, dbt_modules/dbt_utils/dbt_project.yml, dbt_modules/codegen/dbt_project.yml, dbt_modules/dbt_artifacts/dbt_project.yml).
Running with dbt=0.19.1
Installing<EMAIL_ADDRESS>  Installed from version 0.3.1

Installing<EMAIL_ADDRESS>  Installed from version 0.4.5a1

Installing<EMAIL_ADDRESS>  Installed from version 0.6.6

➜  git:(staging) cat packages.yml
# Packages can be found on https://hub.getdbt.com/.
packages:
  - package: fishtown-analytics/dbt_utils
    version: [">=0.6.5", "<0.7.0"]
  - package: fishtown-analytics/codegen
    version: 0.3.1
  - package: tailsdotcom/dbt_artifacts
    version: 0.4.5a2

Expected behavior
0.4.5a2 to be installed consistently
System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[X] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
0.19.1

The operating system you're using:
Mac
The output of python --version:
3.8.9

@NiallRees You're totally right, this is a bug in dbt's registry-based deps today: it doesn't treat prerelease versions properly. We just opened https://github.com/dbt-labs/dbt/issues/3578 for this last week, where I included a few links to the codepaths involved, so I'm going to close this issue as a dupe.
If you have the chance to check that out, and think it might be a feasible contribution, I'd very much welcome a PR for it. The code change may be tricky but should be fairly well self-contained.

@NiallRees You're totally right, this is a bug in dbt's registry-based deps today: it doesn't treat prerelease versions properly. We just opened #3578 for this last week, where I included a few links to the codepaths involved, so I'm going to close this issue as a dupe.
If you have the chance to check that out, and think it might be a feasible contribution, I'd very much welcome a PR for it. The code change may be tricky but should be fairly well self-contained.

Thanks Jeremy I'll take a look


fix(Timeline): infinites are rendered incorrectly when followed by another Piece

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

What is the current behavior? (You can also link to an open issue here)

If a user-stopped Infinite Piece is followed by any other Piece, it's renderedDuration will be set to the difference between it's inPoint and next Pieces inPoint, even if it ended before the next Piece.

What is the new behavior (if this is a feature change)?

The user-stopped Infinite Piece maintains it's duration in the timeline.

Other information:

Status

[x] Code documentation for the relevant parts in the code have been added/updated by the PR author
[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Codecov Report
Base: 66.95% // Head: 75.27% // Increases project coverage by +8.32% :tada:

Coverage data is based on head (c272e31) compared to base (8f542cd).
Patch has no changes to coverable lines.

Additional details and impacted files
@@              Coverage Diff              @@
##           release44     #771      +/-   ##
=============================================
+ Coverage      66.95%   75.27%   +8.32%
=============================================
  Files            254       25     -229
  Lines          28741     5016   -23725
  Branches        4010      502    -3508
=============================================
- Hits           19243     3776   -15467
+ Misses          9039     1238    -7801
+ Partials         459        2     -457

Impacted Files
Coverage Δ

meteor/client/lib/rundown.ts

packages/job-worker/src/rundownPlaylists.ts

meteor/lib/collections/CoreSystem.ts

meteor/server/lib.ts

meteor/lib/systemTime.ts

...kages/job-worker/src/blueprints/context/context.ts

...b-worker/src/playout/__tests__/helpers/rundowns.ts

meteor/server/publications/lib.ts

meteor/server/api/serviceMessages/postHandler.ts

meteor/server/api/rest/rest.ts

... and 269 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add l4lb Metrics

Notes

Could not find a way to get the tests working without making all the metrics declare. I believe it has to do with the way we test on ct that l4lb restarts work fine.
The reconcile metrics I was not able to test keep increasing on the dashboard. I believe something wrong here and I need to test that one better:

Tests
:warning: metrics that were not tested yet

l4lb_reconcile_* (tricky to test still need to think on how to do it)
l4lb_unreachable_vips (have not tested, but now the metrics make sense)

Manual Tests Performed
I recommend using a cluster with at least 2 agents, and 1 public agent. I needed an enterprise cluster to test one of the metrics (netns), but you might as well be able to do without it.
local_vips, local_tasks, vips

launch a task with a VIP label
expect the value increases on the node the metric landed

local_health_checks

add a passing health_check
add a failing health_check
expect the metrics to reflect it

local_backends, backends

scale the deployments up
local_backends should increase on the right nodes
backends should increase on all nodes (including masters)

vips_updates_total, ipvs_updates_seconds, routes_updates_seconds, ipset_updates_seconds

Scale up and down the deployment, time should always go up
restart a node, time should reset

call_duration_seconds, call_received_bytes

0 on masters
agents must see an increase every 2 seconds

call_failures_total

block port 5051 on an agent using iptables
previous metrics with call_* should not increase
see failures raise

unreachable_nodes, unreachable_backends, unreachable_vips

launch dcos-monitoring with a constraint so all the tasks end on one agent
launch a multi-instance app with a VIP, add a constraint so tasks end on different agents
launch a single instance app with a VIP, add a constraint IS so it lands on the node you are going to make fail
kill dcos-net on that agent
see the unreachable metrics go up

l4lb_netns

Run this test using minidcos: https://github.com/dcos/dcos/blob/629e846/packages/dcos-integration-test/extra/test_networking.py#L594-L744
I needed a cluster with public and private nodes
you will set the l4lb_netns metrics going up

@urbanserj I guess it is at the point we can talk about the tests. Could you kindly look at it again?

Closing in favor of #159.