Applicable to more than two robots?

Is this package capable to merge maps generated by more than two robots?

Hi, this script is designed to merge maps created by 2 robots. It does not support merging more than 2 maps.


fix: Always propagate map's update even if mapped value does not change

If map maps to a planning entity, then update MUST always be propagated, since variables on the planning entity might of changed.

Replaced with https://github.com/TimefoldAI/timefold-solver/pull/335


Tutorial Video? Better instructions

Can someone on here make a video on how to do all of this? I messed up my keyboard and mouse drivers for a week trying this and don't want to try it again unless there's a video tutorial, everything would be so much simpler and easy for everyone if someone on here could make it. Thank you ~ Ownage

I am very video awkward and have a very bad microphone, although tomorrow i will be getting a new microphone and posting a update.
I will make a tutorial video tomorrow, (Just gotta setup a VM so i can start from scratch).

Thank you, sounds great! :) just make sure to link me to the video once it's up if you can

Let me just say it's completely okay if you're busy at the moment or changed your mind about doing it, not rushing just wondering if you're still planning on making the video because you said tomorrow and it's been 5 days since you said that

@KingOwnageXV I've been having problems with the VM, I finally got it working a hour ago. The video should be up very soon, i have also been very busy. I am so sorry about this. Should not be long now.

Just another question where was it uploaded to? I'd like a link of possible I can't find it on github, if you even can upload videos to GitHub I don't really use it that much

I can do the video if you'd like, currently setting up the program to start with

That would be nice of you, but if anyone of you do the video can you comment a link so I know where it's at

@KingOwnageXV I tried to make a tutorial video but while doing that i realised i am the most video awkward person in existance and i honestly suck at After Effects. So if @theguywhoyousaw could make the installation video that would be awesome, if not ill just attempt to crawl out of my cave and give it another shot. I am very sorry ;(

There's some YouTube videos now.


bin/start script of sanity

we should probably have better start scripts, although i'd argue there should be a better generic self executing start script not in this repo as the path forward, logging to discuss further.

@polynomial so what's the deal with this?


cache: implement the circuit breaker pattern for asynchronous set operations in the cache client

Ref https://github.com/thanos-io/thanos/issues/6975

[x] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes
Wrap SetAsync with a circuit breaker to dynamically limit the cache backfilling requests. Both the memcached and redis clients have added the same circuit breaker configuration.
Verification

Added some unit tests.

17:08:51 redis-redis: 1:C 26 Jan 2024 17:08:51.802 # Configuration loaded
17:08:51 redis-redis: 1:M 26 Jan 2024 17:08:51.802 * monotonic clock: POSIX clock_gettime
17:08:51 redis-redis: 1:M 26 Jan 2024 17:08:51.803 * Running mode=standalone, port=6379.
17:08:51 redis-redis: 1:M 26 Jan 2024 17:08:51.803 # Server initialized
17:08:51 redis-redis: 1:M 26 Jan 2024 17:08:51.803 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
17:08:51 redis-redis: 1:M 26 Jan 2024 17:08:51.803 * Ready to accept connections
17:08:52 static: <IP_ADDRESS> - - [26/Jan/2024:17:08:52 +0000] "GET /metrics HTTP/1.1" 200 172 "-" "Prometheus/2.41.0" "-"
17:08:52 Ports for container redis-client-redis-redis >> Local ports: map[redis:6379] Ports available from host: map[redis:32919]
    store_gateway_test.go:1001: store_gateway_test.go:1001: ""

         unexpected error: set async circuit breaker: consecutive failures must be greater than 0

17:08:52 Killing redis-redis
=== CONT  TestRangeQueryShardingWithRandomData
--- FAIL: TestRedisClient_Rueidis (2.90s)

We need to fix E2E test. @damnever  https://github.com/thanos-io/thanos/actions/runs/7665969811/job/20908734057?pr=7010

@damnever There is one more lint to fix before we can merge. Thanks

@GiedriusS Wanna take another look before I merge this code change?

E2E test failure
=== NAME  TestRuleNativeHistograms
    native_histograms_test.go:391: native_histograms_test.go:391: ""

         unexpected error: unable to find metrics [prometheus_remote_storage_histograms_total] with expected values after 50 retries. Last error: <nil>. Last values: [0]

Doesn't seem like related. Ignoring for now

Hey @GiedriusS, I will merge this pr now. If you find anything else that's worth improving, feel free to create a separate issue and we can address later.

:+1: I am also thinking about whether it makes sense to only protect SET operations through the circuit breaker pattern? I mean if the cache is down then GETs won't work either.

I agree; I think GET is more sensitive to latency and should be assigned a higher priority.

Removing the set_ prefix sounds fine, but I recommend using a different circuit breaker for the GET operation. The intent of this PR is to try to limit the resources used by async set operations(#6975), subsequently benefiting other operations such as GETs.


Mindy quote font ("a") - chasm - chrome

"a" in Mindy's quote go large in chrome (from @rmorrison28 )

@rmorrison28 I'm not seeing this, a screenshot might help. It might be related to the small caps?

Okay I'm seeing it now. I believe it has to do with the Linotype font and the small caps. We can either look for a different Linotype font or drop the small caps. Thoughts @rmorrison28 ?


Add old photograpy layer from ici.be

Ici.be has a few cool layers too (e.g. one from 1971).
We should figure out if we can add them (check license)

Merging with #29


Sampling from the character like model infinite sequence.

Let's say I have successfully trained some model without Sequencer because it limits me. Now I want to sample infinite sequence from this model having only rho=16 long memory (I don't need bigger). I can sample new solution forwarding zero input, but I only get around 16 valid samples and the rest is a mess.
So I think I need to forget the oldest step module and forward step==rho in the circular buffer manner. Am I right?
local len=300
local zeros = torch.zeros(n_visible)
local rnn_outputs = {}
rnn_outputs[0] = rnn:forward(zeros)
for t=1, len do
    -- forgot oldest step if t > rho??
    rnn_outputs[t] = rnn:forward(zeros)
    local sampled_v = rbm:forward{zeros, rnn_outputs[t-1]}
    piano_roll[t]:copy(sampled_v)
end

Is there some combination of forget and recycle capable of doing this? I don't want to forward everything and just take the last one.
It is related to my previous issue #168, but more general.

It is important switch to evaluate(). Then it should work. It was my mistake.

@qwertzdenek Yes evaluate is important especially for rnns :)


jest-runtime always disables automocking by default.

This seems like a reasonable default. Also made it so runtime can accept a JSON config.
cc @kyldvs

Current coverage is 90.27% (diff: 100%)

Merging #1559 into master will not change coverage

@@             master      #1559   diff @@
==========================================
  Files            28         28
  Lines          1121       1121
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1012       1012
  Misses          109        109
  Partials          0          0

Powered by Codecov. Last update 6fa710c...a2b2523


RFE: add xunit output files

Hi,
jenkins and other CI automation tools prefer as output format xunit with test results:
https://en.wikipedia.org/wiki/XUnit
It would be nice to have there something similar tool like:
client_server_genhtml.py
what transform results from json to xunit files
Honza

Wikipedia apparently doesn't describe the xunit format. And it would be nice if you could provide an example xunit output derived from an existing json result.
https://github.com/pavlix/network-testing/tree/master/report/example_data

Hi, it could be something like:
`

WHAT HAPPEN

FULL DEBUG LOG

WHAT HAPPEN

FULL DEBUG LOG

`
I was ispired by unittests especially by avocado project (Redhat project, should replace autotest framework in future):
https://github.com/avocado-framework/avocado/
There is another possibility, to let scheduling tests on avocado and remove whole scheduler functions from this project. and uses avocado internally (it has possibilities to export results to html, xunit, json)
Avocado has also somehing named multiplexing, what is exactly list of scenarios what are multiplexed on same file
Attaching some complex testsuite example
[ouut.xunit3.zip](https://github.com/pavlix/network-testing/files/238184/ouut.xunit3.zip)

I wrote for you some small wrapper using avocado framework to create xunit output.
I also works as scheduler of tests  and generate resutls
here is script to do that (avocado support multiplexing, but I'm lazy, so it is the simplest solution):
test.txt
and results xunit, html, and plain log output:
http://www.pastefile.com/X2smZQ

It is not imporant now, I have workarounds for that, so closing the issue


-webkit-background-clip: text; doesn't work on a column children

Hey there,
trying to have a gradient text but if I set a   -webkit-background-clip:text; on container or a row which has a child column the whole thing gets bugged on chrome and safari. (everything works fine on Firefox)
.blue{
     background-color: blue;
     -webkit-background-clip:text ;
     -webkit-text-fill-color: transparent;
   }

    text

this works:
.blue{
     background-color: blue;
     -webkit-background-clip:text ;
     -webkit-text-fill-color: transparent;
   }

    text

Closing this because those CSS are experimental and doesn't look a bug of Bootstrap.
https://codepen.io/anon/pen/eqpbrd


Update tp_call.h to fix simple type without cast error

While building ROS2 Iron on Arch with an updated PKGBUILD, there seems to be a type mismatch without cast from uin64_t to const uint64_t *, so I just changed it. Perhaps this could be something on my end but I would like to propose the change regardless. Please let me know if you want more details. I am building using colcon with the following PKGBUILD: https://github.com/DragonflyRobotics/ros2-iron-fork.
Disclaimer: I am not at all familiar with this codebase, but I am familiar with C++. This resolves the compile error but may break functionality, which I cannot anticipate, so any input is appreciated.

This was fixed in rolling in #117 and then backported to jazzy in #119, but not backported to iron. I just opened a direct backport here: #121. I'll use that one and close this. Thank you for letting us know that it fails on Iron too.


Tibre/msal update

Updated sample to use MSAL
For SPA project, updated the code to use msal.js and removed adal.js
Modified Configure.ps1 to combine both client applications registration into one
Updated .net framework version to 4.7

I have created a new PR on its proper repo, since we dont want to lose the v1 sample.
The new PR link is: https://github.com/Azure-Samples/ms-identity-aspnet-webapi-onbehalfof/pull/1

The update was addressed here: https://github.com/Azure-Samples/ms-identity-aspnet-webapi-onbehalfof


Remove unused files

Reference Issues/PRs
What does this implement/fix? Explain your changes.
Unused files & parameters removed.
Any other comments?

Great Job @F-Shahali .


Frontend Initial project setup with React, Typescript, Vite, Routing and Redux integration using Redux Toolkit

Hello,
I just finished setting up the initial project files and folders, including routes and Redux integration using Redux Toolkit. ESLint was also included to help with uniformity in the styling.
Kindly review and merge to enable us proceed with other aspects of the project.
Thank you

@tamsay well done


JS value being parsed as a TS type argument

TypeScript Version:  3.8.0-dev.20200205

Search Terms: emscripten "type arguments"
Code
The following code (I added the declaration) was found in the distribution package for viz.js: https://github.com/mdaines/viz.js/releases/download/v2.1.2/lite.render.js.  This file is generated by emscripten, so the syntax is a little weird.
declare let [k, e, a, c, n]: number[];
if ((k | 0) < (e | 0) | (k | 0) > (a << 16 >> 16 | 0)) {
              c[n >> 2] = 1364;
}

Expected behavior:
This is valid JavaScript and should have the same parse as JS.
Actual behavior:
If this is parsed as TS, the part between the < and the > get pulled out as a type annotation, leaving
if ((k | 0)(a << 16 >> 16 | 0))

which is clearly incorrect, as it's trying to call a number.  If this is parsed as a JS file (with --allowJs), it produces an error:
$ tsc --allowJs a.js
a.js:2:14 - error TS8011: 'type arguments' can only be used in a .ts file.

2 if ((k | 0) < (e | 0) | (k | 0) > (a << 16 >> 16 | 0)) {
               ~~~~~~~~~~~~~~~~~~

Even if one makes the argument that this is not valid TS syntax, it should still parse the explicitly-JS input.
Playground Link:
https://www.typescriptlang.org/play/?ts=3.8.0-dev.20200205&ssl=1&ssc=1&pln=4&pc=2#code/CYUwxgNghgTiAEEQBd4G0DWAaeIdRzBwDsBdALnmIFcBbAIxBjVIG4AoASwDN4AKPhngAfeAAYAlPAA8-BKMkj+QhVIB8-KDNkBGAGzw1G-UslSA3u3jWbt22DTFDGgEyl4AXng6AzHoAsHAC+QA
Related Issues:
I was unable to find anything.

Possibly a duplicate of #33639 except that this was spotted in the wild?

Thanks for the de-dupe - though I think there's a good point which is that this isn't a .ts file, it's a .js file. Maybe we should have a separate path for parsing in .js files.
@shicks can you tell us more about why you ended up piping this through TypeScript?

We have a ts_development_srcs bazel build rule that uses tsc to transpile/downlevel the transitive closure of a project's dependencies for testing and development serving (as opposed to the production compilation path that uses tsickle without any downleveling so that Closure Compiler can do better optimizations).  This build rule provides an option (on by default) to pass *.js sources to tsc to downlevel as well, so that the whole transitive closure can be handled in one place (we have build rules for using Closure to downlevel JS only, but they don't work well with TS inputs and we're trying to move off of them anyway).
The workaround here was to just turn off this option, but that could be a problem if there were also *.js sources written in ESnext sitting alongside viz.js and needing to be tested in an older browser.

Even if one makes the argument that this is not valid TS syntax

If only it were!  The fun thing here is that this is valid TS syntax.  < (e | 0) | (k | 0) > is most likely being parsed as e | 0 | k | 0, that is, a union type.  In a .ts file, the expression is actually ambiguous.  Fixing it is likely nontrivial ☹  (though take my outsider perspective with a grain of salt, I don't know that much about the compiler internals!)


Uniform format of the Chain height

The Chain height display should be valid in a uniform format for the entire wallet. The Chain height always displayed without a comma even outside the wallet. (v0.14.0 linux)

And here should be only "90554", without "Block #".

@myxmaster @OlegMakarenko  if you have time :)

Well, with 30 s blocktime we have more than 1 million blocks per year. Should we really have no thousands separator?

I am not sure, but I guess that most users use Copy & Paste.
If you then enter this e.g. in the search of the explorer you first get an error message.
I think we should trust in a uniform format here.
It looks different in this case #502 .

I just saw Copy & Paste is not possible in the Dashboard. It always pops up the pop-up "Details about a transaction".
Mmmmhhh ..., is that the way it should be?
But this does not change the fact that we need, in my opinion, a uniform format.

Ok you are right, I removed the thousands separator and the "Block #" part.
I didn't look at the csv export yet though.


can't the value of number type from excel

Hi,
In the excel, when i change the type of the cell by using format cell as number, the excelize didn't get the value, it returns only 0.00

Thanks for your feedback. Which version of Excelize are you using? Could you provide more details or a spreadsheet xlsx attachment without confidential info?

It seems still not have enough info of code and attachments to reproduce this issue, so I'll close this issue, if you have any questions, please let me know.


Update docs to mention builtin orchestrator

What changes are proposed in this pull request?
Update docs to mention builtin orchestrator
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[x] Documentation: FiftyOne documentation changes
[ ] Other

Summary by CodeRabbit

New Features

Added new sections: "Dataset Zoo" and "Model Zoo" in the documentation.
Introduced a section on "FiftyOne Teams Built-in Orchestrator" for managing delegated operations.
Enhanced documentation for plugin development with detailed guides and visual aids.
Added a new TimelineView for custom animations in the app.

Bug Fixes

Clarified references to the orchestration tool in various documentation sections.
Fixed various issues related to overlay z-index and performance improvements in the app.

Documentation

Expanded and refined existing sections for clarity and usability.
Streamlined setup instructions for the built-in orchestrator in the Teams context.
Updated release notes with enhancements and fixes across different components.

Although if BM is good with it as exists now maybe I'll just throw my changes away and move on.


feat(resizable-sidebar): replace custom sidebar with resizable-panels

Highlights:

[x] Replaces the custom sidebar with react-resizable-panels
[x] Panels can now be rendered conditionally
[x] Panels can be resized using the keyboard and are more accessible
[x] Panel dimensions are now saved in localStorage instead of db

Very cool, couple questions.

is this 1:1 with the previous implementation, or are them some behaviour differences besides persistence?
Is it worth migrating the old width and height values to localstorage? i guess probably not.

Very cool, couple questions.

is this 1:1 with the previous implementation, or are them some behaviour differences besides persistence?
Is it worth migrating the old width and height values to localstorage? i guess probably not.

Good points! Added some more info on the PR.

Not 1:1 with the previous implementation since this one uses percentages instead of pixel units
I don't think it's worth migrating the old values. Perhaps we should remove them from the workspaceMeta model though. I'll try it out and update the PR


 breaks when adding<EMAIL_ADDRESS>

            <div class="formCont1">
                <input type="date" />
            </div>

This shows a datepicker with native styling from the browser,
If i make it
<input type="date"<EMAIL_ADDRESS>the date picker becomes  unusable, in firefox it simply keeps resetting the type to text and in chrome it resets the value to mm/dd/yyyy everytime you pick a date. Strange

So this is weird, if my model property is type datetime, it does not work. If i change my model type to string, it will work.

<input type=date> requires the bound value to be of the format yyyy-mm-dd. You can use the format-value attribute to control this. Example: https://github.com/aspnet/samples/blob/master/samples/aspnetcore/blazor/FlightFinder/FlightFinder.Client/Components/Search.cshtml#L28

For anyone late to the part, format- attributes are no longer supported. In this case, the solution is @bind:format
<input type="date" @bind="WeatherForecast.Date" @bind:format="yyyy-MM-dd" />

Note that in preview 8 this will also just work for a date field without specifying a format at all.


Guidance on timeframe for Win 10 E5 license to be available after assignment ?

I have assigned a W10 E5 license to a user running version 1803, but even after a reboot and logging in again the existing Pro installation is not upgraded to Enterprise.
Is there a way to force windows to check for an available subscription, or additional troubleshooting guidance ?

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

ID: dd18b4c7-1c71-916d-cb5c-8322903e8ed5
Version Independent ID: 7b4c1663-1b1a-2952-7bf8-b0cb724013af
Content: Windows 10 Subscription Activation
Content Source: windows/deployment/windows-10-enterprise-subscription-activation.md
Service: unspecified
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Generally, it takes around 24 hours to get Windows to step-up to Enterprise.
Also, if the devices are connected to a domain controller make sure that the below mentioned GPO/Registry keys are modified as below.
Please Disable ‘Do not connect to any Windows Update Internet locations’ GPO/Registry key.

GPO Location:

Configure the policy value for Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update -> "Do not connect to any Windows Update Internet locations" to "Disabled".

Registry Key Location:

Registry Hive: HKEY_LOCAL_MACHINE
Registry Path: \SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

Value Name: DoNotConnectToWindowsUpdateInternetLocations

Value Type: REG_DWORD
Value: 0

@officedocsbot assign @mypil

@SteffanH - thank you for submitting feedback.
From our understanding the issue has been answered by kumaarrahul. If you feel it hasn't been resolved please re-open this issue.
Thank you for engaging with the community here for the docs.

@officedocsbot close


Does it work on URP

Hello,
I was wondering if this package would work with URP or there is a possible support in the feature?

It does

i have the same question about hdrp, is it work with hdrp? in my hdrp project it doesnt work.

It does

i have the same question about hdrp, is it work with hdrp? in my hdrp project it doesnt work.

I have the same problem with hdrp


cmd/go: print shell commands safely

The printing of commands by the go tool is simple-minded, can be incorrect in the face
of empty strings and other issues, ignores system-dependent issues ($foo vs %foo;
quoting, etc.) and should be improved. The current setup just calls Printf or special
formatting routines that sometimes (not always) expand variables, and ignore local
quoting and other conventions (rm vs. del for example). It's not important but it is
worth doing right.

It's a big job.

The printing of commands by the go tool is meant to be informational, not a working
shell script.

As of CL 55350 (for #21427), we do have a test that the output of at least a very basic go build -x is a working shell script.


tests/stune/smoke_test_ramp: Add negative boost test for schedtune

Negative boosting is used to reduce the performance of a task
by running it at a lower frequency. It is supported in the kernel
and hence adding this patch for validation.
Signed-off-by: Divya Lingaiah<EMAIL_ADDRESS>

Hi, thanks a lot for this submission! Sorry, it's taking me a while to get round to this so just commenting to let you know it isn't being ignored.

Yes I'll make the required changes and repost.
@bjackman and @derkling ,Do you have any comments regarding adding this functionality ?

This looks good to me, only remaining thing is to update the STune class' docstring (it currently says "It is run in four different configurations: no boost, 15% boost, 30% boost and 60% boost.") then I'm happy to merge.

Great, thanks for the update - will just wait for a final update from the schedtune expert @derkling

I have added the changes requested by valschneider.
@derkling "Gentle reminder"

@derkling I have made the changes you have suggested and reposted.
I  tested this on a forked aosp kernel (4.9.15) which has additional support patches for my board. The tests passed succesfully.

@derkling ,did you get a chance to test this out ?

@derkling, another gentle reminder. The patch still applies cleanly and I am using it locally. Please let me know if you need some further data from me to get this in.


[Tab] text color is hardcoded & overall theming issue

Why is it hardcoded like:
 color: selected ? 'rgba(255,255,255,1)' : 'rgba(255,255,255,0.6)',

Is there a way to override this?
I've tried every possible Theme override with  ThemeManager.setComponentThemes
Things like primaryTextColor don't work, where I'd expect them to

Also on: http://material-ui.com/#/customization/themes the flatbutton textColor is white while the background is too. And the link to the updated theming: https://github.com/callemall/material-ui/releases/tag/v0.12 there is broken

Regarding the Tab text color, there's a pull request already which solves that issue, https://github.com/callemall/material-ui/pull/1523

@TrySpace see #1746. This has been merged and a new minor release is out with the fix!


[Bug]: WhatsApp lag

Preflight Checklist

[X] I have read the Contributing Guidelines for this project.
[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Ferdium Version
6.0.0-nigthly.80
Recipe Name
WhatsApp
Recipe Version
2.2222.11
Last Known working version of the recipe
No response
Steps to reproduce

Open WhatsaApp recipe.
Pick any chat and type a line of Text.
Try scrolling through the text with your left/right key.
Lag happens every few seconds.

Expected Behavior
No loaging while normal usage
Actual Behavior
WhatsApp is laging if you try to do anything active within the app, especially if you try to scroll through text or switch chats.
The whole recipe is freezing for a few seconds. Ferdium itself and other recipes work fine while WA is frozen.
Happend also with Ferdi. Does not happen in WhatsappWeb (2.2222.11) in Chrome (102.0.5005.115)
This only happens with WhatsApp not with any other messenger/Ferdium application.
While laging CPU usage of WhatsApp Tab goes up to 30%.
Dev Console outputs following Error:
Throttling navigation to prevent the browser from hanging. See https://crbug.com/1038223. Command line switch --disable-ipc-flooding-protection can be used to bypass the protection
bootstrap_main.c7fae15c2be134004f59.js:13

Screenshots
https://youtu.be/gZ9krkI-LOc
Additional Information
No response

This should be fixed in the latest nightly. Please update!


Add a CONTRIBUTING.md file.

Currently, we lack documentation on how beginners should start contributing to the library. We should add a CONTRIBUTING.md file that will contain all the information required by the beginners to start contributing.
The key points on the documentation/file will include -

Development environment required before contributing.
Git principles that should be followed while contributing to the library.
The code style.
How to claim an issue?
How to make a successful Pull Request?

I m working on it, if it needed to be assign then assigne me.

Thanks, @keshavgbpecdelhi for showing interest in this issue. Go ahead :)


[5.1] Created validation not exists

Isn't this just "unique"?

Taylor, i really dont understand the purpose of 'unique'. This check only make sense when we insert/update this data. so (before: marking column in table as uniaue key) after retrieving insert/update result will know unique it was or not. I belive doing things like:
if ([UPDATE|INSERT] things...)
{
} else {
sorry.. "thats not unique value for @fieldname" u ll not see but "somthing goes wrong"
}
much better than:
if (SELECT COUNT(*) FROM table WHERE field = $comesFromRequest)
{
sorry.. thats not unique value for @fieldname
}
else
{
[UPDATE|INSERT] things...
}
I think some part of responsibility SHOULD lay on Database.
Other way, you let them use 'unique' rule even on non indexed (and not unique) field, what i think is bad practise.
Any way this logic (touching DB) is "not very about" validation.
Sorry for English


Project Must Use an Automated Dependency Update Tool

https://github.com/spacetelescope/ins-jwst-community-software/blob/master/tier2_standards/automated_dependency.md

Enabled dependabot in Github for the repo: https://github.com/spacetelescope/awesimsoss/pulls?q=is%3Apr+is%3Aopen+label%3Adependencies


Update ru_ru.json

added new strings
added translations for descriptions in ModMenu

Thanks for taking your time and updating that!


Add some CSS variables in the default theme

As an example, via http://cssnext.io/usage/#features (simplest way) or via CSS modules @value (but I don't like this totally non standard syntax).
Following @revolunet's request on the chat.

How should this be implemented  ? a separate cssVariables.js file required by webpack/postcss-cssnext ?
Also, where should we store shared "mixins" for composes ?

Currently yeah you could pass options here https://github.com/MoOx/phenomic/blob/2b44e19bfa095d2a4bb512c122dbb24380a83ef1/boilerplate/webpack.config.babel.js#L150, imported from another file works.
For mixins, I think if you need more than a simple value, you should probably write a UI component ;)


BUG: reservation limit not working well

reservation limit not working well when changing the slot time to time different from 60 minutes

fixed the bug by calculate the minute that user enter and the limit of admin


How do I select llm at runtime

I would like to select an llm when I call the decorated function rather than in the llm_prompt decorator. is that supported / possible?

Yes... you can
the way Im doing it defining llms into LLMselector
https://github.com/ju-bezdek/langchain-decorators?tab=readme-ov-file#automatic-llm-selection
with_llm_rule has argument llm_selector_rule_key
than you can just pass llm_selector_rule_key argument to the call ... it is recognised and it will select the matching model (also based on the token count you can descide)
(you can even introduce your own logic based on the arguments as the llm_prompt function implementation that can be doing the decision)
i was thinking of supporting passing in llm directly, alongside any other LlmChain args, but langchain was changing too much there.. now when the 1.0 is already there, it might be good time

Got it, thanks! It seems like in order to use it, llm has to be undefined in the @llm_prompt(llm=None) decorator, llmchain_decorators must have an llm_selector defined globally,
langchain_decorators.GlobalSettings.define_settings(
llm_selector = my_llm_selector # pass the selector into global settings
)
from langchain_decorators import  LlmSelector

my_llm_selector = LlmSelector(
generation_min_tokens=0, # how much token at min. I for generation I want to have as a buffer
prompt_to_generation_ratio=1/3 # what percentage of the prompt length should be used for generation buffer
)
.with_llm_rule(ChatGooglePalm(),max_tokens=512)\  # ... if you want to use LLM whose window is not defined in langchain_decorators.common.MODEL_LIMITS (only OpenAI and Anthropic are there)
.with_llm(ChatOpenAI(model = "gpt-3.5-turbo"), llm_selector_rule_key="rulekey1")\   # these models are known, therefore we can just pass them and the max window will be resolved
.with_llm(ChatOpenAI(model = "gpt-3.5-turbo-16k-0613"))\
.with_llm(ChatOpenAI(model = "claude-v1.3-100k"))
And then
    await your_decorated_prompt(
        llm_selector_rule_key="rulekey1",
        other_param="yay",
    )

yes, llm argument on the decorator has priority over selector as it is more concrete...
btw, if you are planning to use something else than openAI's model, i highly recommend looking also here:
custom_template_block_bulder_llama2.py
it describes how to make define model agnostic chat templates by adding the right tokens

btw this is now possible by passing "llm" kwarg directly to the prompt

done in v0.6.0


Jupyter notebook cannot save changes from Notebook Editor

Bug: Notebook Editor, Interactive Window, Editor cells
Unfortunately this Issue appears in ~50% of sessions, but of course this is frequent enough to prevent use of Notebook development in VS Code (with the Notebook Editor) on my machine.

Steps to cause the bug to occur

Open a pre-existing Jupyter notebook (any .ipynb file; as indicated open within WSL. I am running Ubuntu-18.04).
Make arbitrary changes to your file.  After a short period (immediately to a few minutes), the Notebook Editor will not be able to save -- both ctrl + S and the save button do not clear the "dirty editor" asterisk next to filename.
Does not depend on whether cells have been executed since changes made in file (unlike in other issues which noted that executing a cell recovers ability to save the file).

Interestingly, the problem seems to correlate with the Notebook Editor mistakenly opening multiple windows of the same file in step 1, if opening directly from the VS Code Explorer. In ~50% of VS Code sessions, I observe this behavior (multiple Notebook Editor windows even though I opened the file "once"). If this happens, my inability to save occurs ~100% of the time...
In this case:

Open a pre-existing Jupyter notebook (any .ipynb file; as indicated open within WSL. I am running Ubuntu-18.04).
Close any redundant Editor windows opened by VS Code.
Make arbitrary changes to your file.  Immediately, the Notebook Editor will not be able to save -- both ctrl + S and the save button do not clear the "dirty editor" asterisk next to filename.
Does not depend on whether cells have been executed since changes made in file (unlike in other issues which noted that executing a cell recovers ability to save the file).

Example:

Multiple Editors opened from one file in Explorer

Changes made to file, "dirty editor" asterisk does not respond to save attempts. Changes not written to disk

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Remote (WSL)
Extension version: 2020.6.89148
VS Code version:  Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
Python and/or Anaconda version: 3.8.2 / conda 4.8.3
OS: Windows_NT x64 10.0.18363
Remote OS version: WSL1, Ubuntu-18.04, Linux x64 4.4.0-18362-Microsoft
Virtual environment: miniconda

Extension
Author (truncated)
Version

remote-containers
ms-
0.122.1

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.4

vscode-remote-extensionpack
ms-
0.20.0

gitlens
eam
10.2.2

python
ms-
2020.6.89148

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Please could u check the error logs and provide the output from the developer tools console output.

This happened to me today, and I am able to reproduce using the second method provided (on Ubuntu 20.04, VS Code 1.46.1).
Here is the output of the developer console. The notebook that could not be saved was 'word2vec.ipynb'.
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Loading colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_plus.json ...
console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Cached data exists getEnvironmentVariables, /home/<path-removed>/word2vec.ipynb
2console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Attempting search for colors ...
2console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_plus.json ...
6console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Attempting search for colors ...
6console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Loading base colors from /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_plus.json ...
8console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:09: Using colors to generate CSS ...
webviewElement.ts:331
[Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:331
[Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource://file///home/<path-removed>/editor.worker.js' cannot be accessed from origin 'null'.
4console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:42:13: Cached data exists getEnvironmentVariables, /home/<path-removed>/word2vec.ipynb
console.ts:137
[Extension Host] Info Python Extension: 2020-06-26 00:46:17: Cached data exists getEnvironmentVariables, Untitled-1

More info: the following warnings appear whenever new characters are typed into the 'stuck' notebook. (don't appear on notebooks that can be saved).
5console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 00:52:20: Cached data exists getEnvironmentVariables, /home/<path-removed>/word2vec.ipynb
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 00:52:21: Cached data exists getEnvironmentVariables, /home/<path-removed>/word2vec.ipynb
2console.ts:137 [Extension Host] Info Python Extension: 2020-06-26 00:52:22: Cached data exists getEnvironmentVariables, /home/<path-removed>/word2vec.ipynb

I agree with @thomasbbrunner's observations

nterestingly, the problem seems to correlate with the Notebook Editor mistakenly opening multiple windows of the same file in step 1, if opening directly from the VS Code Explorer.

I missed this. Unfortunately our current editor implementations do not support opening an ipynb file multiple files.
How did you manage to open multiple copies of the same file, please could you repro that.
Resolving that should fix the saving issue.
If you are interested in opening the same notebook multiple times, that is being tracked here #10496 (by using a completely new editor for notebooks in the extension, with a number of other fixes/features).

Here is a partial output of the developer console

@thomasbbrunner
Please could you provide the complete log.
& do you also have mutliple copies of the same ipynb opened, if not please could you file a separate issue.

When I single-click on a notebook in the explorer, two different tabs open, each with an instance of the notebook. Sometimes if I close one (unclear if they are different) it breaks the kernel for the other. Log file is attached. This is a file that sometimes I have been unable in the notebook to save via the save button, command-s, or any other method. [log.txt](https://github.com/microsoft/vscode-python/files/4885805/log.txt

When I single-click on a notebook in the explorer, two different tabs open

This sounds like a result of the python extension loading. A workaround for that would be to open a python file first. That should cause only a single file to open.
I'm going to enter a separate bug for two tabs opening. That shouldn't be happening.

I have the same problem. My setting ist that I run jupyter notebooks on a remote linux server. They notebooks are stored on the server too. I connect to the server using the vscode remote SSH extension at version 0.51.0.
The jupyter notebook server is running on the same linux machine in a docker container.
VSCode Info:

Version: 1.46.1 (system setup)
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:20.174Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041

Remote OS: Ubuntu 18.04.4 LTS
python version on the remote machine: 3.6.9
Extensions on the remote machine:

ms-python.python:v2020.6.91350
visualstudioexptteam.vscodeintellicode:v.1.2.9

The problems I had were only in context with jupyter notebooks created using the jupyter notebook browser interface. Notebooks created using vscode didn't have the problems so far.
The behaviour I had (only on the notebooks created with the browser interface):

jupyter notebooks opened twice
can't save jupyter notebooks
once a jupyter notebook was opened twice but also caused vscode to open the notebook test.ipynb which I already had deleted half an hour before. I found a file called afb6f322.ipynb in the folder ~/.vscode-server/data/User/globalStorage/ms-python.python that contains the content of test.ipynb so I think thats why the deleted file could get restored and openend. This was the console log:

console.ts:137 [Extension Host] (node:2852) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:137
searchService.ts:217 No search provider registered for scheme: vscode-remote, waiting
(anonymous) @ searchService.ts:217
console.ts:137 [Extension Host] (node:40631) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-09 14:47:47: Failed to load notebook file file:///<path-remove>/test.ipynb [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://ssh-remote+<path-removed>/test.ipynb' (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '<path-removed>/test.ipynb')	at _handleError (/home/<removed>/.vscode-server/bin/cd9ea6488829f560dc949a8b2fb789f3cdc05f5d/out/vs/server/remoteExtensionHostProcess.js:687:25)	at processTicksAndRejections (internal/process/task_queues.js:89:5)	at async v.readText (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:589368)	at async r.loadFromFile (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:477764)	at async b.loadModel (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:24:456508)	at async b.createNotebookEditor (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:24:456611)	at async b.create (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:310511)	at async b.open (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:309468)] {  code: 'FileNotFound',  name: 'EntryNotFound (FileSystemError)'}
t.log @ console.ts:137
2console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:47:47: startHttpServer=false, will not be used. Temporarily turned off
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-09 14:47:47: Failed to check if file needs to be fixed [EntryNotFound (FileSystemError): Unable to read file 'vscode-remote://ssh-remote+<path removed>/home/<removed>/.config/Code/User/settings.json' (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/home/<removed>/.config/Code/User/settings.json')	at _handleError (/home/<removed>/.vscode-server/bin/cd9ea6488829f560dc949a8b2fb789f3cdc05f5d/out/vs/server/remoteExtensionHostProcess.js:687:25)	at processTicksAndRejections (internal/process/task_queues.js:89:5)	at async v.readText (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:589368)	at async p.doesFileNeedToBeFixed (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:901511)	at async /home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:900638	at async Promise.all (index 0)	at async p.getFilesToBeFixed (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:900584)	at async p.updateTestSettings (/home/<removed>/.vscode-server/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:900211)] {  code: 'FileNotFound',  name: 'EntryNotFound (FileSystemError)'}
t.log @ console.ts:137
console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:47:48: startHttpServer=false, will not be used. Temporarily turned off
t.log @ console.ts:137
2console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:47:56: startHttpServer=false, will not be used. Temporarily turned off
t.log @ console.ts:137
16console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:48:10: Color theme Default Dark+ not found. Using default colors.
t.log @ console.ts:137
24console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:48:16: Color theme Default Dark+ not found. Using default colors.
t.log @ console.ts:137
20console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:49:03: Color theme Default Dark+ not found. Using default colors.
t.log @ console.ts:137
4console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:49:09: Color theme Default Dark+ not found. Using default colors.
t.log @ console.ts:137
16console.ts:137 [Extension Host] Warn Python Extension: 2020-07-09 14:49:11: Color theme Default Dark+ not found. Using default colors.

I have all the same as it was said above. And a tab of .ipynb doubling during opening it, and impossibility to save a .ipynb tab with all subtle features described.
Moreover in my case there are doubling of pasted content as in #11796.
VSCode Info:
Version: 1.47.0
Commit: d5e9aa0227e057a60c82568bf31c04730dc15dcd
Date: 2020-07-09T08:30:34.302Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-62-generic snap
I have such errors in console:
Error Python Extension: 2020-07-12 18:16:19: Exception while attempting zmq : [Error: /snap/core/current/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.22' not found (required by /home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/node_modules/zeromq/prebuilds/linux-x64/electron.napi.glibc.node)
at process.func (electron/js2c/asar.js:140:31)
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
at Object.func (electron/js2c/asar.js:140:31)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Function.t._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:974:348)
at Function.i._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:943:839)
at Function.n._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:940:198)
at Module.require (internal/modules/cjs/loader.js:775:19)	at n (/snap/code/36/usr/share/code/resources/app/out/vs/loader.js:15:731)
at load (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/node_modules/node-gyp-build/index.js:21:10)
at Object.<anonymous> (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/node_modules/zeromq/lib/native.js:6:43)
at Module.o._compile (/snap/code/36/usr/share/code/resources/app/out/vs/loader.js:15:956)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Function.t._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:974:348)
at Function.i._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:943:839)
at Function.n._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:940:198)
at Module.require (internal/modules/cjs/loader.js:775:19)	at n (/snap/code/36/usr/share/code/resources/app/out/vs/loader.js:15:731)
at Object.<anonymous> (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/node_modules/zeromq/lib/index.js:3:16)
at Module.o._compile (/snap/code/36/usr/share/code/resources/app/out/vs/loader.js:15:956)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Function.t._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:974:348)
at Function.i._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:943:839)
at Function.n._load (/snap/code/36/usr/share/code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:940:198)
at Module.require (internal/modules/cjs/loader.js:775:19)	at n (/snap/code/36/usr/share/code/resources/app/out/vs/loader.js:15:731)
at Object.<anonymous> (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:24:144904)
at n (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:186)
at /home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:633281
at processTicksAndRejections (internal/process/task_queues.js:85:5)
at async d.zmqSupportedImpl (/home/den/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:48:633248)]
t.log @ console.ts:137

Ihave a similar problem to others here.
I run notebook on a remote machine and I'm unable to save python notebook by either:

Clicking on the save icon in the notebook, or
CTRL+S

Furthermore, copy paste now results in a duplicate paste as in the issue cited by @newmrdenis.
i.e. copy "x" + paste -> "xx"
Could find any error messaging in the logs
Version: 1.47.0 (user setup)
Commit: d5e9aa0227e057a60c82568bf31c04730dc15dcd
Date: 2020-07-09T08:02:06.629Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
installed extensions as follows. No errors found in the logs.

I am experiencing this problem as well on
VS Code
1.47.0
d5e9aa0227e057a60c82568bf31c04730dc15dcd
x64
Ubuntu 20.04

I faced this problem, is this trial version?
My environment:

Jupyter server running: local
Python version: 3.8.3 64-bit
Extension version: 2020.6.91350
VS Code version: 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a)
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.7.6-arch1-1

The double paste problem is this:
https://github.com/microsoft/vscode/issues/101946 (it will be fixed by VS code in an upcoming release).
It should be noted that you need to use the save icon on the notebook or hit CTRL+S to save a notebook. We are not currently a 'real' VS code editor so VS code does not understand we're dirty or that we're even a file. This work here will alleviate the 'File | Save' menu not working:
https://github.com/microsoft/vscode-python/issues/10496
However I cannot repro the double open situation. Nor the save not working at all problem.

Hi @rchiodo,
My issue is that I'm unable to save the notebook using the methods you outlined as per my comment earlier in this chain. Netiher the icon or Ctrl+S seems to result in a save.

@rchiodo When is the release fixing this bug. It's been like 2 weeks now.

@phillip-haydon without a repro it's unlikely this will be fixed. We're still attempting to repro the situation. Alternatively you can wait for this:
https://github.com/microsoft/vscode-python/issues/10496

@rchiodo i think it’s actually a bug in core VSCode. Issue occurs everywhere. I donno how I ended up in a python... story.

@phillip-haydon are you saying that other extensions are double opening their webviews? Otherwise if it's just notebook editors behaving this way, it's likely our fault.

@rchiodo the double paste issue? Yes, i actually /first/ noticed this in drawio extension.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
Then in a Markdown editor (I donno which extension it is, it's on my other computer) in the view/edit mode everything I paste double pastes.
I was trying to find a solution and ended up clicking through so many issues, majority of which were closed, and ended up here where you stated the double paste will be fixed in next release of vscode. Not realising I'm in vscode-python.

I have the same issue on WIndows 10. It happens randomly. I cannot figure out what is triggering it. I downgraded my vscode to the May version  and it helped for a while then it started happening again. It's incredibly frustrating because you may have hours of unsaved work before you notice it and there is no easy way to save your work other than converting your file to .py.

Hi all,
I have this same issue; not being able to save or save as using the file menu. System details below.

@aaronsmith1234 did you notice this comment?

It should be noted that you need to use the save icon on the notebook or hit CTRL+S to save a notebook. We are not currently a 'real' VS code editor so VS code does not understand we're dirty or that we're even a file. This work here will alleviate the 'File | Save' menu not working:
#10496

Still happening


[Plugin][FR]: Use Obsidian Path for Attachements

Issue validation

[X] I checked the issue to prevent duplicate

Is your feature related to a problem ?
No response
What solution do you want to see ?
Obsidian Github Publisher current uploads all the attachments into a single directory specified. If you have a lot of pages and images, this ends up being quite a mess on the GitHub repository side.
What would be more useful if I could configure the plugin to keep the Obsidian Path, similar how you can do so for the doc pages.
For example:
- index.md
- something/graphics.md
- something/graphics/image1.png
- something/graphics/image2.png

Instead of (with Obsidian Path for files):
- index.md
- something/graphics.md
- image1.png
- image2.png

I'd just like to keep the something/graphics directory for the images.
Describe the alternative you've considered
Currently I have to either give in and have every asset dumped into a single directory or what I actually do is disable the attachment upload altogether and manually manage those.
OS
Windows
Anything else?
Love the plugin! 🙂
Plugin version
6.8.3
Obsidian version & debug log
SYSTEM INFO:
	Obsidian version: v1.4.16
	Installer version: v1.4.16
	Operating system: Windows 10 Pro 10.0.22621
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 14
	Plugins enabled: 10
		1: Periodic Notes v0.0.17
		2: Diagrams v1.5.0
		3: Todoist Plugin v1.11.1
		4: Readwise Official v2.0.1
		5: Rollover Daily Todos v1.1.7
		6: Reveal Active File Button v2.0.3
		7: Custom Frames v2.4.6
		8: Advanced Tables v0.19.1
		9: Note Refactor v1.8.2
		10: Github Publisher v6.8.3

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Sorry, I couldn't understand. You can set image path per file in the properties. And you could set the folder to something.
Could you elaborate?

You can set image path per file in the properties.

In which properties?
I don't really want to define paths to use for each image or asset, instead I'd just want to use the folder structure it already has.

Obsidian Vault:

MySite/something1/something 2/image1.png
MySite/something3/image2.png

Setting attachment path to images, repo:

pages/images/image1.png
pages/images/image2.png

What I want is to use the Obsidian path (with replacment rule for MySite), repo:

pages/something1/something 2/image1.png
pages/something3/image2.png

Okay, I understand what you want 👍 !
I will work on it :)

Oh that's awesome to hear! 😊
Btw. not sure where to report documentation issues, but the template link under the "Github actions & Obsidian's plugin" section is broken: https://obsidian-publisher.netlify.app/#github-actions-obsidians-plugin

Ty ! 🍰 Fill fix it asap

Fixed (there was a bug :'D) and featured in v6.9.0 (NICE) !

Wow you're fast! 😲
Thanks a lot for this (nice 😉) release.
One thing that would be superduper on top is, to have a similar folder/filename replacement function like already exists for pages.

Obsidian Vault:

Projects/MyProject/index.md
Projects/MyProject/category1/topic1.md
Projects/MyProject/category1/topic1/image1.png
Projects/MyProject/category1/topic1/image2.png

Using the "Apply edit on the folder path..." option to trim off Projects/MyProject, with the new option leads a repo:

index.md
category1/topic1.md
Projects/MyProject/category1/topic1/image1.png
Projects/MyProject/category1/topic1/image2.png

Alternative, as a whole separate feature, it might be useful to be able to set the "root directory" of sorts, but I haven't full thought this through, maybe given that notes can be anywhere in the vault, this wouldn't work.

Looks like all the docs internal text-links are broken here: https://obsidian-publisher.netlify.app/plugin/

Wait. I forgot to apply the regex for image 💀
Thanks to remind me to do it!

Regex fixed in 6.9.1

Thank you so much again! 😊

Alternative, as a whole separate feature, it might be useful to be able to set the "root directory" of sorts, but I haven't full thought this through, maybe given that notes can be anywhere in the vault, this wouldn't work.

Don't understand this, if you can explain more!

With the regex it's not really needed and possibly more flexible.
As per example I'm currently replacing the beginning of the path (Projects/MyProject) with an empty string. If I could set a "root" directory within my Obsidian vault for all the pages that should be shared underneath, I wouldn't have to apply such replacement. Meaning I'd set the root directory to Projects/MyProjects and when publishing the plugin would a) only search for share-able notes starting from the root directory and b) not include the path up to the set root directory in the repo path, when Obsidian path is selected.

Wait. I'm pretty sure such option exist. But maybe not named root... Did you try the default folder option?

Okay the description was totally wrong in the settings. I fixed that! So yes, you can use the folder in upload to define the root.

Ah I meant it more for the other side, a root folder within my Obsidian vault.

Vault: Projects/MyProject/index.md -> Repo: pages/index.md

Vault root: Project/MyProject
Repo root: pages

Anyways, with the regex this isn't really needed anymore. 🙂

Oh, yes, regex was thinked for this kind of things ^^


Dynamic Navbar Home Text/Link

Home Text/Link generated dynamically using an AdminTab multibinding where slug = "home"
Unused interfaces removed from @misk/common
@misk/common 0.0.47
@misk/components 0.0.46
[CLOSES #512]

Going to rework into an environment endpoint that passes in service name, home link, and environment (dev, production, test...) to generate coloured bar below navbar.

That being said, this progress should be checked in to maintain parity with published NPM packages and to keep PRs tight.

Replaced with #515


Suggestion: Make a Difference between Talents and Abilities in Item types

For better organizing the stuff, it would be awesome when there is a difference between Talent und Ability like it is in the books.

As per our discussion I think I'm going to leave this one for now, as the abilities are essentially just isolated talents, which we now support. :)


Console Crash

When pushing 1000 items to localStorage atom-shell crashes

I tried to push items with following code but it works fine:
for (var i = 0; i < 10000; ++i)
  localStorage[i] = i;

Which platform are you using?

It appears it was actually due to an overload of console.log messages. atom-shell will crash if you do for (var i = 0; i < 10000; ++i)
console.log(i);

I can not reproduce on Windows and OS X, which platform and what is version of atom-shell are you using?

Sorry for the later reply. I ran into the error on Mac OS X Yosemite and the latest release version of atom-shell.

Can you paste the crash report here? You should be able to find it in Console.app.

I'm closing this unless there is more information.

In case this is still relevant, it crashes for me as well. The following code makes it crash. Funny enough, for me it crashes as soon as I do 1790 or more loops.
https://gist.github.com/aperc/a8649a406e54115abbf9
electron version is 0.28.3
OS X Yosemite 10.10.3

Additional info, only happens if run through the electron drag & drop GUI. Running the app through the console works fine.


Latest version doesn't import

When I download and try to install the latest version, it doesn't show up in the list of addons. I tried running on 3.4, 3.3.2 LTS and 3.3.1 LTS and none of them worked. However, the version the 9.4.0 version imports both in 3.3 and 3.4.

It looks like Blender doesn't like when there are comment int the "bl_info" property that defines the add-on. I remember having some problems in the past. I'll send a fix soon.

It's possible that you'll need to delete mcblend folder from your addon installation path after the invalid installation. It's in: %appdata%/Blender Foundation/Blender/3.3/scripts/addons (maybe it's not necessary).

I just checked (I tired to install v10.0.0 from the zip file and than after it failed it installed v10.0.1 successfully on Blender 3.3). Deleting the old files manually is not necessary.

Just checked, it works, thanks!


Fix add deployment channel message

This fixes #70.  I then went ahead and edited the messages for all the api responses to follow the same structure.

I tested this manually.

With the suggestion to use the term Rules Collection instead of Deployment Channel, this PR needs updating....

Hi @epugh , this PR seems to be ready for review. I suggest merging it with #80 within the new smui_v3_13_3 branch.


[4.14] [e2e test framework] Add a flag to add an annotation to Hosted Cluster

manual backport of #3854

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/test e2e-kubevirt-aws-ovn


project status?

Does this project maintained and why after so much time it in not production ready?
Also i want to use it for my toy storage system:
Volume - disk attached to vm
Volume represented as fixed sized blocks (4M) ech block have own id.
Physical server have 3 disks , each block have replication count 2. So it placed on two of three disks on current server. Also i have not one server but may (3 for example) Also i want to have each block not only current physical server, but also on nearest. Does it possible to do that using replica count and tiering?
Also if i want to use utp for communication how hard to do that ?

Hi! Thanks for your interest in this package.
The package has been under somewhat off and on development for quite some time, yes. Changing priorities at work have been the main reason. It started off as a research project, then included in a developing project, then we just got bought by another company and development is starting up again. Anyway, hopefully that explains a little of the status here.
This package does the opposite of nearest, so it probably won't fit your use case. This package deliberately places replicas as far apart as possible for durability and availability reasons. The idea is that the lowest tier would represent disks on a server, the next tier servers in a rack or behind a switch, the next tier being a datacenter room, the next a datacenter, geographical region, etc. The replica placement would try its best to place them as far apart as possible, such as in different datacenters, and failing that, in separate server groups, etc.
As far as UDP communication, that would require completely new work on your part. Other than the TCPMsgRing, this library really provides no communication measures. In fact, the TCPMsgRing is likely to get moved to its own package at some point since it honestly doesn't make much sense to be in this package.
This package is meant to be a data structure package, and how that structure is made use of should be outside its scope.
Anyway, hopefully this clears some things up. You are certainly free to take any ideas from this work and make them your own: reversing the furthest vs. nearest concepts, for example.

Big Thanks!


File version (Linux) crashes when opening the Select Data window.

From backlog item:333
Scrumwise Status:To do
Run SCI from the command line (./start_sci),
select a File Project. Opening the Select Data dialog causes a crash.

Remove access to gui from input tree.
GUI lifecycle now managed  the same as other 'Process' plugins. A new instance of the user control is made eahc time the 'ods plugin' option is chosen. It is non-modal.

TEST: Dialog is modeless and can only be posted from processes tree.
PASS: daf4c014f7fd


Links within CI3 source to user guide need a update.

Links such these lead to CI4 manual or to nowhere. An Example:
 * @link		https://codeigniter.com/user_guide/libraries/email.html

A correction like this is likely pointing to the right page. (user_guide ---> userguide3).
 * @link		https://codeigniter.com/userguide3/libraries/email.html

A mass-change within source is needed.

@ivantcholakov
It looks an important issue to me, so, I make a PR to fix urls #5970.
If you find any problems in #5970, I am glad to let me know.


Internal transform failure on bad Condition syntax

Description:
Customer pinged me that deployment was failing with "FAILED - Transform AWS::Serverless-2016-10-31 failed with: Internal transform failure."
The issue was a syntax error in their template, but SAM should handle that case more gracefully and provide a helpful error message.
The syntax error was in the use of Condition support on SAM resources. Sample template that reproduces the issue:
"Conditions":
  "MyCondition":
    "Fn::Equals":
      - true
      - true

"Resources":
 "MyFunction":
    "Type": "AWS::Serverless::Function"
    "Condition":
      "Ref": "MyCondition"  # bad template syntax: don't need to Ref the condition name
    "Properties":
      ...
      "Events":
        "PostApi":
          "Type": "Api"
          "Properties":
            "Method": "POST"
            "Path": "/foo"

Steps to reproduce the issue:

Try to deploy the sample template using SAM.

Observed result:
ChangeSet fails with “FAILED - Transform AWS::Serverless-2016-10-31 failed with: Internal transform failure.”
Expected result:
ChangeSet fails with more helpful error message from SAM translator.

Fix for this issue:

Validate that the Condition (if it exists) is a string: https://github.com/awslabs/serverless-application-model/blob/develop/samtranslator/sdk/resource.py#L27

Note: If something other than a string is used as a Condition on a resource, CFN throws an error: An error occurred (ValidationError) when calling the CreateChangeSet operation: Template format error: Every Condition member must be a string.

Add error case test: https://github.com/awslabs/serverless-application-model/blob/develop/tests/translator/test_translator.py#L444


Rename "Points" to "Coins"

This is the AccountManager's counterpart to https://github.com/thenewboston-developers/Website/issues/438

Looks like this has already be done? I can't find a single instance of "Points" in the project.

This issue was resolved earlier in #424. Weired that this didn't get removed.


Update openpht to <IP_ADDRESS>-573b6d73

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as a4edd6f2b889f07a21bb1b5bc6f6d0eadc533d1b. Your contribution is still credited to you.


API needs to normalize tinynet addrs

https://github.com/spr-networks/super/blob/376694b970f33e2f0a4eb8b51546647e5e826a35/api/code/api.go#L1914
the base network should be validated to be a network address, ie <IP_ADDRESS> vs <IP_ADDRESS>

fixed in https://github.com/spr-networks/super/pull/140

@0vercl0k btw


Shorten sleep to make test less flaky

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Feature Request] Support --profile in sam validate

Description:
Currently sam validate requires AWS Credentials to be configured. A typically way this is done on the aws cli is passing in a --profile option into the command. We support this behavior for sam local commands (invoke and start-api).
Steps to reproduce the issue:

`sam validate --profile

Observed result:
Error: no such option: --profile

Expected result:
This should run validate with the creds from the profile that is configured.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Output of sam --version:
Optional Debug logs:
Add --debug flag to command you are running

AWS team: thanks for the contributors/good-first-issue label! Much appreciated :) Not sure if my PR is up to standards, but I'll be happy to receive feedback on it.

Closing this as it was released in 0.6.0


changed file format and xhprof_data set for better performance and convenient

1.change 'serialize/unserialize' to 'json_encode/json_deconde' for better performance;
2.add 'uniqkey' and 'data' to xhprof_data for reading by other log parsers;

84ec1ac incorrectly reverts 0bbf2a2a.
This request has no data to support the claim that JSON is faster than serialize(), or that the performance of serialize() or unserialize() is significant enough to motivate improving.


SyntaxError: Octal literals are not allowed in strict mode.

Using with ES6 and in 'strict mode' throws the error.
node_modules/graceful-fs/graceful-fs.js:80
open(req.path, req.flags || "r", req.mode || 0777, req.cb)
^^^^
SyntaxError: Octal literals are not allowed in strict mode.

Already fixed in issue #49


are there any tutorials / guidelines for sperical projection

Hi sunset1995, thank you so much for your contribution!
I am currently going through this repository trying to understand what the code is doing, but I find some of the functions in inference， postprocessing and evil_utils quite difficult to understand, as I do not know the naming convention, and lack the required background knowledge of the formulas used for 3d 2d transformation.
Would you be so kind as to point me in the right direction in order to understand the code?  thank u soooo much > v <

Hi,
Thank you for interested in our work. ❤
I will try to write an medium post for room layout estimation in my sparse time.
But I'm busy recently. Sorry.

@sunset1995 Any plans for this medium post on the mathematics behind 3D geometry for spherical panoramas? There is a lack of detailed mathematics to describe panorama geometry needed to understand this type of work, and you could help by sharing your knowledge.


[feat]Unable to change auth token while using the helm chart.

[feature] request for enabling the auth changes from values file in helm chart [kore-board].

Do you mean the Helm chart will reflect the authentication settings like in the user guide below?
https://github.com/kore3lab/dashboard/blob/master/docs/user/config-sign-in.md

yes

closing the issue as PR merged. #146

@itnpeople can you please release the chart version 0.5.6.

@Annavar-satish
https://github.com/kore3lab/dashboard/releases/tag/v0.5.6
docker pull ghcr.io/kore3lab/kore-board.{modules_name}:v0.5.6


Didn't use GPU

What is the issue?
First of all, i'm not sure if it's a bug but it can't use My GPU (RX 6600) with HIP 5.7

Model is the Llama3
without docker
if it isn't bug, please tell me how to made it correctly
OS
Windows
GPU
AMD
CPU
AMD
Ollama version
0.4.1 from releases

Make sure intall the setup.exe installer first , it's breaking changes , simply 7z files replacement don't work. replace libs with rocmlibs for v5.7. also update drivers .

how to replace libs , witch libs and where?

how to replace libs , witch libs and where?

Please check the release notes and wiki. @LaoDi-Sama


Updated decision trees

Updates dtrees:

No explicit return node (child idx indicates return)
Clearer tree property names
MLFeature properties (return float)

Made a mess by PRing my dev instead of just the trees branch, updated PR here:
https://github.com/ROCmSoftwarePlatform/Tensile/pull/1568


Add benchmark

I create this pull request to track the changes needed to set up a niffler benchmark and discuss these changes. #25
Main todolist:

[X] bench format detection
[X] bench reading of small stream in memory
[x] bench writting of small stream in memory
[x] bench reads of a file on disk
[x] bench writting of a file on disk

Side effect todolist

[x] write documentation of read_compression function

I had to make the format detection function read_compression public, I'll have to write its documentation and maybe change its name to compression_detection @luizirber do you have an opinion about that name?

To change where the file is write on disk set environement variable TMPDIR

@luizirber If it's ok for you I think we can merge.
In think, the add of sniff in public API didn't break compatibility with the previous version so if we want create a new release the version number is 2.1.0. I think we don't need to create a new release for this little change.

If you want correct typo I write in the documentation please do it :)

@natir do the changes in https://github.com/luizirber/niffler/pull/25/commits/025c7c7411da17457b2504ba4878306f9920e998 look good? If yes, feel free to merge =]


[Feature Request] Insert and Duplicate in place

It would be helpful if when creating new elements or duplicating elements if they could be inserted just above or below the currently selected element so the layer order of most of the project doesn't need to be updated. When there are a lot of layers moving a new group of layers up to the top can be time consuming and makes the application unresponsive until it's completed

The basic implementation allowing the user to specify where to add an element will be included in the next release (probably v.<IP_ADDRESS>-unstable.v.a5). The create/duplicate dialog will include a drop down with 4 options for where to add the new element(s): top, bottom, above, and below. Above and below being relative to the currently selected item.
I'd also like to look into drag-drop for the elements in the list.

For dupe and create there is now a dropdown to specify the destination of the new elements: https://github.com/nhmkdev/cardmaker/releases/tag/v.<IP_ADDRESS>-unstable.v.a5 (though that version needs a lot more testing!).
I'll keep this ticket open as I want to consider the same for paste (and more?).

overhaul submitted (and hopefully with limited bugs) making add/dupe/paste use the same logic to put new elements in-place based on the selected item(s).


Share RawBatchEvent forgery for tests between the modules

What does this PR do?
Just a minor improvement to share RawBatchEvent forgery, so that is can be used in tests in different modules.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1680 (fa17561) into nogorodnikov/rum-321/reduce-view-events-in-upload-pipeline (4a3f24c) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@                                      Coverage Diff                                       @@
##           nogorodnikov/rum-321/reduce-view-events-in-upload-pipeline    #1680      +/-   ##
==============================================================================================
- Coverage                                                       83.71%   83.66%   -0.05%
==============================================================================================
  Files                                                             462      462
  Lines                                                           15843    15840       -3
  Branches                                                         2363     2362       -1
==============================================================================================
- Hits                                                            13262    13252      -10
- Misses                                                           1943     1948       +5
- Partials                                                          638      640       +2

see 15 files with indirect coverage changes


Add Deeppy to Python Package Index

This is a fantastic library! I would love to use it, and I'm sure others would as well. Could this be added to the Python Package Index? The site makes it look like its simple to add to the list. I wouldn't want to take credit for work I didn't do by adding it to the list myself. Could you submit this to be included?

Thank you for the kind words! I plan on cleaning up the codebase soon and 'releasing' a version 0.1. This might be a good opportunity to put it on PyPI. I don't know what to do about CUDArray, though. This library requires a separate installation of the C-based parts.

Yes, after I looked at the work a bit more, it looks like CUDArray is a pretty integral piece, which I don't know if PyPI would be ok with. Either way, keep up the great work!


Add image to device diagnostics

Nice that way
About this issue tracker
Before creating a issue, check for duplicates. If there is another issue describing
the same bug or problem, please add comments to pre-existing issues or link them to add more context.
While creating a new issue, always make sure to provide as much context as possible with an
expected solution or change that you would like to see in the documentation. This helps
contributors understand the issue and execute a better solution.
If applicable, please add additional links to GitHub projects, forums.balena.io threads,
gist.github.com, Google Drive attachments, screenshots, JF/FD/Front threads for reference, etc.
Thank you for creating an issue and helping us improve balenaCloud's documentation!

Closing https://github.com/balena-io-modules/device-diagnostics/pull/303


InstallNudge.zsh updateCheck and installPKG functions issue

Then current version of the InstallNudge.zsh script has an error in the updateCheck function. The path it is checking is /Applications/$app when it should be checking /Applications/Utilities/$app. This is the same issue in the installPKG, installDMG, and installZIP functions. Unless the intention of this new version of the script is to change the location Nudge is normally installed to.
This issue seems to be present in the InstallNudge.sh file as well.
An example of where this is occurring is lines 462-465 of the zsh file. Even if Nudge it already installed it will not be removing the existing version.
Remove existing files if present
if [[ -d "/Applications/$app" ]]; then
    rm -rf "/Applications/$app"
fi

This is now fixed - thanks.


how set up proxies and how to use it, can you give me examples.

from binance.cm_futures import CMFutures
proxies = { 'https': 'http://<IP_ADDRESS>:8080' }
client= CMFutures(proxies=proxies)
if i have a server ,how to set it ,that i can use proxies?
becuase my compute can visit fapi.binance.com but my server can do it.
so i wanna using proxy.
Can you tell me more details ,thanks.

@ncgege Apologies, but the guidance on how one can setup a proxy is beyond this project's scope, you need to investigate that by yourself.


PC Specs

I made This Post a while back. It was closed with PC Specs not being high enough to run this program.
I have been thinking about building a PC with these specs:
> Intel Core i5 6500
> NVIDIA GTX 970
> 16GB RAM

Would this be enough to run this?

My program uses mostly the cpu with the newest version. So when playing ETS2 at the same time it might still lag a bit... But it should be possible.
Keep in mind that I haven't personally tested it with those specs so don't base your purchase decision on what I say :)

I bought all the parts to build it and I will update you if I have any issues
(Also, does this work with American Truck Simulator?)

Great! Just remember to use the new installer from the anaconda installer branch.
As for ATS, the app supports any game that you can have two controllers at the same time, this is basically all the popular simulator games like BeamNG, ETS, ATS...

Python has an issue
First, I open CMD and typecd (location of updater.py)
As showed in the tutorial video I typed python updater.py
I got this back:
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
I tried opening updater.py in Python and got this:
'int' object is not subscriptable
←[91m Couldn't backup profiles←[00m
[Errno 2] No such file or directory: 'Euro-Truck-Simulator-2-Lane-Assist-main\\models'
←[91m Couldn't backup models←[00m
←[92m Old version removed←[00m
←[92m
 Downloading new version please wait...←[00m
←[92m Don't panic if it doesn't move, just wait.←[00m
←[94m
 100.0% 1288kb←[0m
←[92m Download complete←[00m
←[94m You can copy your profiles back into the app folder←[00m
←[92m Installing requirements...←[00m
←[92m 1 of 13←[00m
'pip' is not recognized as an internal or external command,
operable program or batch file.
 2 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 3 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 4 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 5 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 6 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 7 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 8 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 9 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 10 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 11 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 12 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 13 of 13
'pip' is not recognized as an internal or external command,
operable program or batch file.
 Installing torch for CPUs...
'pip' is not recognized as an internal or external command,
operable program or batch file.
 Everything is installed

I have no idea what else to try.
I am running Python 3.9.13 as you suggested here: https://github.com/Tumppi066/Euro-Truck-Simulator-2-Lane-Assist/issues/21#issuecomment-1497953789
Any help is appreciated.

Try and use "python3" instead of python, that could fix the issue.
Also make sure that you tapped "add python to PATH" during installation.

Also it seems that you are using the older installer, the new one can be downloaded here:
https://github.com/Tumppi066/Euro-Truck-Simulator-2-Lane-Assist/archive/refs/heads/anaconda-updater.zip

Its finally working!

One more thing though, how do I configure this part of the settings?:

Great news!
Those are button numbers, basically the index of the button you wan t to detect. The app should show the currently pressed buttons and you just add those numbers to their respective places. You don't need to touch steering axis.
Also if you do intend on using the "disable on indicating" then you will need to disable automatic indicator stopping in the settings.

I don't know if I'm missing something, this is my fullscreen view of the program.
I don't see any place where it tells me the buttons I'm pressing.

That works on my PS4 controller, but not my wheel.

Hmm interesting, you could try and select the wheel, and the restart the app.
If that doesn't work then I think you'll just have to do it by trial and error ._.

Based on that error message your steering axis is something other than zero.
It should be zero for basically every single controller.

I have no more errors but I am confused on how to use it.
According to the usage tab, Im supposed to use this in game controller setup:
1: Keyboard + Xbox Controller
2: (My controller)

I just wanted to make sure that is correct.
Also, does this project still use ViGEM Bus Driver?

Ok, so how do I use the lane assist.
When I toggle it, nothing happens when I start driving.

Make sure that the steering axis is set to "controller 1" in the ets2 settings.

I set all of the controls up and when I enable lane assist, the preview shows the lanes, but doesn't move the steer the truck at all

I sent a request on Discord.
I got the lane assist to work on my PS4 Controller, I'm gonna do some fiddling with my wheel tomorrow and see if I can get that working.
Also, do you have any alternate downloads for the Tusimple-34 model? Ive been using culane-18 because I have issues with Onedrive downloads.

Not sure if that request went through, clicked accept but still can't see you -_-
As long as you have LSTR enabled then the current "legacy" model doesn't matter.

Do I have to disable Culane18?

Which of the LSTR models should I be using? I looked in the models folder and there is 5 models.

The default one is the best. I added all of them just in case :)

The wheel still doesn't work. Is there a possibility that the steering axis isn't 0?

We fixed this through discord, the steering axis indeed wasn't zero.


Should this repo be renamed?

Should this repo be called openregister-location-picker?
Suggestion:
govuk-country-and-territory-autocomplete
or possibly:
govuk-country-and-territory-picker
Thoughts?

govuk-country-and-territory-autocomplete

This is my favourite of those two but I don't mind either way.

+1 to govuk-country-and-territory-autocomplete. Will talk to the PM


Add transaction info screen

Current behavior:
There is just the transactions history list screen now that presents table view with transactions list in it. It's possible to show All, Send, Received, Confirming transactions.
Expected behavior:
It would be useful to have possibility to show info about transaction in separate screen.
The info should include following details:

Hash
Status (pending/success)
Direction (in/out)
From address
To address
Amount
Data
Network

Suggested solution:
List of transaction is loading in TransactionsHistoryViewController.swift. There is array of transactions:
var transactions = [[ETHTransactionModel]]()

Transaction Model is written in Transaction.swift:
struct ETHTransactionModel {
    let transactionHash: String
    let from: String
    let to: String
    let amount: String
    let date: Date
    let data: Data?
    let token: ERC20TokenModel? // nil if it is custom ETH transaction
    let networkID: Int64
    var isPending = false
}

struct TransactionInfo {
    var contractAddress: String
    var transactionIntermediate: TransactionIntermediate
    var methodName: String
}

enum TransactionType {
    case custom
    case arbitraryMethodWithParams
}

This model is already has everything you need to show about transaction.
Firstly: create TransactionInfoController.swift and xib file for it - TransactionInfoController.xib
Build interface that will include labels with transaction info details.
Next: you can use in TransactionsHistoryViewController UITableViewDelegate method:
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)

The delegate handles rows selections in this method. In other words - tap on row with transaction.
Write in this method code that will open new TransactionInfoController :
//Just an example. You need to decide on your own how to init your controller.
guard let indexPathForSelectedRow = tableView.indexPathForSelectedRow else {return}
let cell = tableView.cellForRow(at: indexPathForSelectedRow) as? TransactionCell
guard let selectedCell = cell else {
    return
}
guard let indexPathTapped = tableView.indexPath(for: selectedCell) else { return }
let transaction = transactions[indexPathTapped.row]
let transactionInfoController = TransactionInfoController(transaction: transaction)
self.navigationController?.pushViewController(transactionInfoController, animated: true)

Acceptance Criteria:
The code is written in new branch named feature/TransationInfoController or something like that.
The code implements the targets described above
The code can be merged into the develop branch without conflicts.
Required Skill:
Participants needs to have an experience in Swift software development.

If you agree I will take it ;)

@FraDeliro hi! Yes, of course, we appreciate any help 🙌Let's carry the open-source flag together!

HI @BaldyAsh, I have almost completed the screen, just one questions before open the PR, where can I find the direction (in or out) info? Thanks.

@BaldyAsh  No worries and thank you for your reply ;) Got it 👍

@FraDeliro thank you! Your work is really awesome! Closed


Support different cleaner strategies

Refactor to support the direct closing of the MappedByteBuffers and to solve issue #27.
The closing/cleanup is moved out of the ReadOnlyMemMap  into separate cleaner classes.
The current behaviour with a single threaded executor, which is used to schedule the cleanup with a 1 second delay, is implemented in SingleThreadedCleanerWithWait and kept as the default.
But this default can lead to a severe issue (#27), if we create many readers very fast.
Even if we close them directly after we created them, the memory will be freed only after 1 second at the earliest. Even worse is the fact that we can create readers much faster (with multiple threads) than the single threaded executor can do the cleanup. With high enough rates we can use up the virtual memory space, resulting in an OutOfMemory exception.
As we do not share the (not thread safe) readers between threads, we want the cleanup to happen as soon as we close the reader. So the memory is freed as soon as possible (and the caller thread is blocked).
This is implemented with the DirectCleaner.
To use the DirectCleaner instead of the default behaviour, you have to set a DirectCleaner instance as the cleaner to be used by ReadOnlyMemMap.
This can (currently) only be done globally and not per reader via the setMappedByteBufferCleaner method.

Sorry for the long delay. I am on parental leave and not paying too much attention to work at the moment.
This change seems reasonable, but I would greatly prefer it the settings were per object instead of being static. Otherwise you would get unexpected effects if two separate usages of sparkey tried to use different cleaner settings.

Sorry for waking an old PR... I think version 2.3.2 solves this for you.
From the changelog:
  This may block for 100 ms if the reader has been duplicated (typically when used from multiple threads).


add reprocess_job_id to PrepTemplate

coverage: 92.874% (+0.006%) from 92.868%
when pulling d0995c7a8037414d0131503d89cbd68f36e06aac on antgonza:reprocess_job_id
into 28d719157cfcf68ee8a35596287a332d425ca7dd on qiita-spots:dev.


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-01-26)
Bug Fixes

try to fix release created and published workflows (658ad96)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fenrisdotio/Fenris.OneOfContrib.Blazor/releases/tag/v1.0.2 :sunflower:


startup problems after prolonged shutdown

Shutdown node for a couple weeks. Restarted and bitcoind, lnd, and electrum don't appear to be running. I've reflashed the sd and still having the same problem. Not sure where to start. My gut tells me there is a problem with the ssd or with a config. Please help.
debug at https://l.termbin.com/yzm9r

Looks like db corruption on SSD from the log:
2022-07-08T16:21:32Z Opening LevelDB in /mnt/hdd/bitcoin/chainstate
2022-07-08T16:21:32Z Fatal LevelDB error: Corruption: 1 missing files; e.g.: /mnt/hdd/bitcoin/chainstate/1245611.ldb
2022-07-08T16:21:32Z You can use -debug=leveldb to get more complete diagnostic messages
2022-07-08T16:21:32Z Fatal LevelDB error: Corruption: 1 missing files; e.g.: /mnt/hdd/bitcoin/chainstate/1245611.ldb
2022-07-08T16:21:32Z : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.

Check this on how to reindex from command line:
https://github.com/rootzoll/raspiblitz/issues/3016

About half way through reindexing now. Will follow up when it's finished.
Thanks for the help.

Here's the latest. I hope this doesn't mean I need to re-download the blockchain...
2022-07-11T00:14:17Z UpdateTip: new best=0000000000000000000c1e9e9b601972146aa48803500c2521a6f813df55d434 height=668162 version=0x20000000 log2_work=92.627252 tx=610812296 date='2021-01-29T08:30:51Z' progress=0.835357 cache=269.2MiB(1964147txo)
2022-07-11T00:14:17Z LevelDB read failure: Corruption: block checksum mismatch: /mnt/hdd/bitcoin/chainstate/618168.ldb
2022-07-11T00:14:17Z Fatal LevelDB error: Corruption: block checksum mismatch: /mnt/hdd/bitcoin/chainstate/618168.ldb
2022-07-11T00:14:17Z You can use -debug=leveldb to get more complete diagnostic messages
2022-07-11T00:14:18Z Error: Error reading from database, shutting down.
2022-07-11T00:14:18Z Error reading from database: Fatal LevelDB error: Corruption: block checksum mismatch: /mnt/hdd/bitcoin/chainstate/618168.ldb


Accent color shenanigans & other minor issues

Different Accent Colors for Light and Dark Mode
Hi. I've noticed that as of recently there seems to have been a regression of sorts (which is to say: "it used to work") regarding setting different accent colors for light and dark modes.
It seems like the accent color set at the app level set in the "Appearance" menu takes precedent over anything that is established in Style Settings regarding separate accent colors for light and dark mode. You click around different accent colors for light mode, and it does nothing. You do the same for dark mode, and it does nothing for dark mode. The accent color set in "Appearance" will never change.
Text alignment in File Explorer
It seems like that if we set Border not to trim file and folder names, the first line will have a space, while the second line (and onwards) will be pushed too far to the left

It would be much nicer if all lines -- no matter how long the file/folder name -- were all justified and aligned, with an equal space between them and the border to the left
Option to change body text color
I've noticed that despite the (much welcomed) wealth of options to change the color italic, bolds and highlights, there's no visible options to change the color of normal body text. It would be a much appreciated addition, as sometimes you may want to set a warmer or more/less contrasty color, than the one automatically set (not to mention how different fonts may benefit more or less contrast, color, etc)
Option to align images to the center
If pasted images are smaller than the full-width of the line, they will always be aligned to the left. For my aesthetic taste and also capability to focus, I subjectively prefer when the images are aligned to the center. It would be a great addition if it was allowed for the user to align images (or even other objects, which insist on aligning to the left, like YouTube Video Embeds) to either left, right, or (especially for me, and I'm certain, other people) center.

You can change body text color in “style settings-appearance-foreground”.

other issues have been resolved in the new version.


Fix for #8586 WithdrawReasons type change from i8 to u8

Fixes #8586
It is part of the previous re-orgs of the files related to new token functionality implement by @shawntabrizi @gavofyork @bkchr - so could be reviewed by them.
There are no known breaking consequences to this change as the code that would break this is not implemented. However it restricts enhancements.
Issue comments reproduced here for convenience:
Using i8 would produce an literal overflow error for values such as 0b10000000.
The error can be reproduced by attempting to compile with a test value:
bitflags::bitflags! {
	/// Reasons for moving funds out of an account.
	#[derive(Encode, Decode)]
	pub struct WithdrawReasons: i8 {
		/// In order to pay for (system) transaction costs.
		const TRANSACTION_PAYMENT = 0b00000001;
		/// In order to transfer ownership.
		const TRANSFER = 0b00000010;
		/// In order to reserve some funds for a later return or repatriation.
		const RESERVE = 0b00000100;
		/// In order to pay some other (higher-level) fees.
		const FEE = 0b00001000;
		/// In order to tip a validator for transaction inclusion.
		const TIP 	= 0b00010000;
		const TEST = 0b10000000;
	}
}

This would produce the following error:
error: literal out of range for `i8`
   --> frame/support/src/traits/tokens/misc.rs:144:17
    |
144 |         const TEST = 0b10000000;
    |                       ^^^^^^^^^^
    |
    = note: `#[deny(overflowing_literals)]` on by default
    = note: the literal `0b10000000` (decimal `128`) does not fit into the type `i8` and will become `-128i8`
    = help: consider using the type `u8` instead

The error is not produced when the type is u8.
Justification
Whilst additional values may not be foreseen in Substrate, future values can be added by teams implementing a workaround as we do in Totem Accounting (Substrate v3 Frame2 migration): totem-lego/-/blob/master/frame/support/src/traits/tokens/misc/
There does not appear to be a good reason to use type i8 as it would prevent other teams from building more complex enhancements to the WithdrawReasons struct.

bot merge