feat: add github actions for npm publish

Implements #3
Adding a Github action workflow file to automatically publish to NPM on merges to master

[x]  Setup Github action for NPM deployment

@karlmarxlopez I'm not really sure how to test this out completely. Although tried out act to test it out locally to an extent

@aneeshrelan Did it work locally?

Yup, everything seems alright locally!
act
[Publish to NPM/npm-publish] 🚀  Start image=node:12.6-buster-slim
[Publish to NPM/npm-publish]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Publish to NPM/npm-publish]   🐳  docker cp src=/Users/rajiv/Desktop/open-source/useStateWithLayoutAnimation/. dst=/github/workspace
[Publish to NPM/npm-publish] ⭐  Run Checkout repo
[Publish to NPM/npm-publish]   ✅  Success - Checkout repo
[Publish to NPM/npm-publish] ⭐  Run Set up NodeJS
[Publish to NPM/npm-publish]   ☁  git clone 'https://github.com/actions/setup-node' # ref=v1
[Publish to NPM/npm-publish]   🐳  docker cp src=/Users/rajiv/.cache/act/actions-setup-node@v1 dst=/actions/
[Publish to NPM/npm-publish]   💬  ::debug::isExplicit:
[Publish to NPM/npm-publish]   💬  ::debug::explicit? false
[Publish to NPM/npm-publish]   💬  ::debug::evaluating 0 versions
[Publish to NPM/npm-publish]   💬  ::debug::match not found
[Publish to NPM/npm-publish]   💬  ::debug::evaluating 412 versions
[Publish to NPM/npm-publish]   💬  ::debug::matched: v12.18.4
[Publish to NPM/npm-publish]   💬  ::debug::isExplicit: 12.18.4
[Publish to NPM/npm-publish]   💬  ::debug::explicit? true
[Publish to NPM/npm-publish]   💬  ::debug::checking cache: /opt/hostedtoolcache/node/12.18.4/x64
[Publish to NPM/npm-publish]   💬  ::debug::not found
[Publish to NPM/npm-publish]   💬  ::debug::Downloading https://nodejs.org/dist/v12.18.4/node-v12.18.4-linux-x64.tar.gz
[Publish to NPM/npm-publish]   💬  ::debug::Destination /tmp/523a549e-d4f4-4acb-9a5f-a04d34831849
[Publish to NPM/npm-publish]   💬  ::debug::download complete
[Publish to NPM/npm-publish]   💬  ::debug::Checking tar --version
[Publish to NPM/npm-publish]   💬  ::debug::tar (GNU tar) 1.30%0ACopyright (C) 2017 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
| [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/ac586654-8527-44fa-827b-e1e63fdec920 -f /tmp/523a549e-d4f4-4acb-9a5f-a04d34831849
[Publish to NPM/npm-publish]   💬  ::debug::Caching tool node 12.18.4 x64
[Publish to NPM/npm-publish]   💬  ::debug::source dir: /tmp/ac586654-8527-44fa-827b-e1e63fdec920/node-v12.18.4-linux-x64
[Publish to NPM/npm-publish]   💬  ::debug::destination /opt/hostedtoolcache/node/12.18.4/x64
[Publish to NPM/npm-publish]   💬  ::debug::finished caching tool
[Publish to NPM/npm-publish]   ⚙  ::add-path:: /opt/hostedtoolcache/node/12.18.4/x64/bin
| [command]/opt/hostedtoolcache/node/12.18.4/x64/bin/node --version
| v12.18.4
| [command]/opt/hostedtoolcache/node/12.18.4/x64/bin/npm --version
| 6.14.6
[Publish to NPM/npm-publish]   ❓<EMAIL_ADDRESS>[Publish to NPM/npm-publish]   ❓<EMAIL_ADDRESS>[Publish to NPM/npm-publish]   ❓<EMAIL_ADDRESS>[Publish to NPM/npm-publish]   ✅  Success - Set up NodeJS
[Publish to NPM/npm-publish] ⭐  Run Build package
|
| ><EMAIL_ADDRESS>preinstall /opt/hostedtoolcache/node/12.18.4/x64/lib/node_modules/yarn
| > :; (node ./preinstall.js > /dev/null 2>&1 || true)
|
| /opt/hostedtoolcache/node/12.18.4/x64/bin/yarn -> /opt/hostedtoolcache/node/12.18.4/x64/lib/node_modules/yarn/bin/yarn.js
| /opt/hostedtoolcache/node/12.18.4/x64/bin/yarnpkg -> /opt/hostedtoolcache/node/12.18.4/x64/lib/node_modules/yarn/bin/yarn.js
| +<EMAIL_ADDRESS>| added 1 package in 1.477s
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 88.03s.
yarn run v1.22.10
$ tsc
Done in 10.51s.
[Publish to NPM/npm-publish]   ✅  Success - Build package
[Publish to NPM/npm-publish] ⭐  Run Publish
[Publish to NPM/npm-publish]   ☁  git clone 'https://github.com/JS-DevTools/npm-publish' # ref=v1
[Publish to NPM/npm-publish]   🐳  docker cp src=/Users/rajiv/.cache/act/JS-DevTools-npm-publish@v1 dst=/actions/
[Publish to NPM/npm-publish]   💬  ::debug::Reading package manifest from /github/workspace/package.json
[Publish to NPM/npm-publish]   💬  ::debug::MANIFEST:%0A{%0A  "name": "use-state-with-layout-animation",%0A  "version": {%0A    "options": {%0A      "loose": false,%0A      "includePrerelease": false%0A    },%0A    "loose": false,%0A    "includePrerelease": false,%0A    "raw": "1.0.6",%0A    "major": 1,%0A    "minor": 0,%0A    "patch": 6,%0A    "prerelease": [],%0A    "build": [],%0A    "version": "1.0.6"%0A  }%0A}
[Publish to NPM/npm-publish]   💬  ::debug::Running command: npm config get userconfig
[Publish to NPM/npm-publish]   💬  ::debug::Reading NPM config from /github/home/.npmrc
[Publish to NPM/npm-publish]   💬  ::debug::OLD NPM CONFIG: <none>
[Publish to NPM/npm-publish]   💬  ::debug::NEW NPM CONFIG: %0A//registry.npmjs.org/:_authToken=${INPUT_TOKEN}%0Aregistry=https://registry.npmjs.org/%0A
[Publish to NPM/npm-publish]   💬  ::debug::Writing new NPM config to /github/home/.npmrc
[Publish to NPM/npm-publish]   💬  ::debug::Running command: npm view use-state-with-layout-animation version
[Publish to NPM/npm-publish]   💬  ::debug::The latest version of use-state-with-layout-animation is at v1.0.6
[Publish to NPM/npm-publish]   💬  ::debug::OUTPUT:%0A{%0A  "package": "use-state-with-layout-animation",%0A  "type": "none",%0A  "version": "1.0.6",%0A  "oldVersion": "1.0.6",%0A  "dryRun": true%0A}
|
| 📦 use-state-with-layout-animation v1.0.6 is already published to NPM
[Publish to NPM/npm-publish]   ⚙  ::set-output:: type=none
[Publish to NPM/npm-publish]   ⚙  ::set-output:: version=1.0.6
[Publish to NPM/npm-publish]   ⚙  ::set-output:: old-version=1.0.6
[Publish to NPM/npm-publish]   ⚙  ::set-output:: dry-run=true
[Publish to NPM/npm-publish]   ✅  Success - Publish

I used a dry-run to make it run locally

You'll need to make sure the NPM_AUTH_TOKEN is added to the repo secrets, which was confirmed to be there

@aneeshrelan Thank you! I'll review this tomorrow.

@karlmarxlopez Did you get a chance to review this?

@aneeshrelan Yes. LGTM. Merging it now. Thank you!


Generalize how initial conditions work when simulating with bioscrape

Should be able to take components, species, or strings and get the right initial condition dictionary.

Initial conditions are now set via parameter files.


initial work in adding Write* methods

Will resolve #7

Note to self:
There are currently failing tests but the few places that have been updated have resulted in 1 less alloc for the benchmark tests, bringing it down to about 8 & ~470ns/op.
There are few more places where it can be updated in the StdConverter.

Just need to get code coverage on the new functions in token.
This refactor didn't help a whole lot; basically a reduction of 1 alloc. So 8/9 vs 9/10 previously. It shaved some B/op but the speed to exec stayed about the same.
I'm out of ideas on how to optimize it any more for now.


Error: Cannot read properties of null (reading 'useContext') in Scheduler Component

What version of million are you using?
2.6.4
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the Bug
Issue Overview:
I encountered an error while working with the Million library in the Scheduler component. The error message I received is:
"Cannot read properties of null (reading 'useContext')
TypeError: Cannot read properties of null (reading 'useContext')
at Object.useContext (http://takt.visilean.local:3000/static/js/bundle.js:266633:25)
at useNavigate (http://takt.visilean.local:3000/static/js/bundle.js:256653:42)
at Scheduler (http://takt.visilean.local:3000/static/js/bundle.js:72392:82)
...
Description:
I'm utilizing the Million library alongside other dependencies like '@shopify/react-web-worker', '@fullcalendar/react', 'contexts/SocketContext', and 'store/liveModeSlice' within my Scheduler component. The error seems to be related to the useContext hook and specifically arises in the useNavigate function call within the Scheduler component.
craco.config.cjs
import { webpack as millionWebpack } from 'million/compiler';
module.exports = {
webpack: {
plugins: {
add: [millionWebpack({ auto: true })]
},
typescript: {
enableTypeChecking: true
}
}
};
Expected Result:
I expect the Scheduler component to render without any errors related to the useContext hook and the useNavigate function. However, the current issue prevents the proper functioning of the Scheduler component due to the error mentioned above.
Steps to Reproduce:
It seems the issue might be related to how the useContext hook is utilized in conjunction with the useNavigate function within the Scheduler component. Unfortunately, I am unable to identify the exact cause without more context or a reproduction scenario.
Additional Information:
Environment: [Specify relevant details about your environment, such as the browser, operating system, versions of libraries used, etc.]
Code snippets: Provide any relevant code snippets from the Scheduler component or related components that might be contributing to this issue.
Any help or insights on resolving this issue would be greatly appreciated!
What's the expected result?
The expected result would be the resolution of the reported error related to the useContext hook within the Scheduler component. This would allow the Scheduler to function correctly without encountering the 'Cannot read properties of null' error specifically linked to the useContext hook and useNavigate function.
Also, how can I check if the Automatic mode is working or not?
@aidenybai @tobySolutions

@tobySolutions & @aidenybai my app is up and running with Million. The steps I followed were:
Step 1 Install Craco:
npm i -D @craco/craco
Step 2 Update the existing calls to react-scripts in the scripts section of your package.json to use the craco CLI:
"start": "craco start"
After performing these steps my app got integrated with Million js.


Implement devices and refactor trackers

Implemented Devices. So both UDPTrackers and Feeder VRTrackers have devices and can report infos in the protocol.
The Feeder now declares Devices in the protocol so it can be displayed in the gui.
After that the feeder is probably gonna need an update, i need more infos about the device coming from steamvr.
For now i have put a placeholder for stuff like the manufacturer. (I put "FeederApp" as the manufacturer for now)
In my chase of implementing the device i did a bunch of cleaning the the trackers because it was a mess.
One of the big refactors was to remove the ReferencedAdjustedTracker that was making use do a bunch of wierd tracker replace everywhere, making the code more confusing.
Also removed some functions from the Tracker interface into Smaller interfaces so it is easier to know what kind of tracker has what by using instanceof

Also need https://github.com/Eirenliel/slime-java-commons/pull/9 to me merged first

@Eirenliel this is a lot of changes, please dont bonk me <3

Still need some testing thats why it is still a draft

Please add description to the PR, or I won't review it :P

Please add description to the PR, or I won't review it :P

Done sorry <3

Atight i got the message ..... LOL
i am splitting that PR


UXX filter on players page and High Potential Filter on Market

UXX Filter on the players page

High Potential Filter on Market
https://github.com/mz-ir/mazyar/assets/25425595/ec065ecf-d290-4c32-a331-7f34ddd02d90

please check v2.0
I added the scout filter to transfer market


[MOB-7613][MOB-7390] Fix iframe height setter and update vulnerable dependencies

JIRA Ticket(s) if any

MOB-7613
** Fix iframe height setter
MOB-7390
** Update vulnerable dependencies

Test Steps
Given I send myself templates made with BEE and WYSIWYG editors
When I render the messages on my browser
Then I see no unexpected margin around the message
And I see the iframe height is automatically adjusted based on all images loaded in the message
Regression testing on general functionality due to updated dependencies across the board, but esp. for...
display position (center, top right, bottom right, full)
display option (immediate vs deferred)
close button position (top right, top left)
link handling (open new tab, open same tab, external new tab)
...because typings have been refactored for these.

Completed the acceptance criteria testing.
Also did regression testing around in-app functionality, no bugs detected.


EISDIR: illegal operation on a directory, open '/root/.node-red/node_modules/alexa-cookie2

Initializing won't work long.
There is no cookie in Filepath ... maybe cause of Error:
EISDIR: illegal operation on a directory, open '/root/.node-red/node_modules/alexa-cookie2'
Any hints?
Newest Node Red running in Pi with newest Raspian
Auth Meth. -> Proxy
Ip of pi (with Node Red Installation)
filepath /root/.node-red/node_modules/alexa-cookie2
Refresh 3 days
Auto init/events on
service host layla.amazon.de
page amazon.de
language de-DE
Initial works ... but only for minutes ...

Same problem with the german server.
"EISDIR: illegal operation on a directory, open '/home/pi/authenticate/'"
Also the retrival mehode explained in get_cookie.md failed.
Please help!


Fix of Trie mem leak

Cleans Trie DB cache after commit.

Codecov Report

Merging #562 (e92f011) into develop2 (a8b225e) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           develop2     #562      +/-   ##
============================================
+ Coverage     46.51%   46.53%   +0.01%
============================================
  Files           169      169
  Lines         11202    11207       +5
============================================
+ Hits           5211     5215       +4
  Misses         5467     5467
- Partials        524      525       +1

Impacted Files
Coverage Δ

app/store.go
31.14% <0.00%> (-2.79%)
:arrow_down:

evmcore/tx_pool.go
75.03% <0.00%> (-0.61%)
:arrow_down:

inter/ascii_scheme.go
82.53% <0.00%> (+2.53%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #562 (e92f011) into develop2 (a8b225e) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##           develop2     #562      +/-   ##
============================================
+ Coverage     46.51%   46.53%   +0.01%
============================================
  Files           169      169
  Lines         11202    11207       +5
============================================
+ Hits           5211     5215       +4
  Misses         5467     5467
- Partials        524      525       +1

Impacted Files
Coverage Δ

app/store.go
31.14% <0.00%> (-2.79%)
:arrow_down:

evmcore/tx_pool.go
75.03% <0.00%> (-0.61%)
:arrow_down:

inter/ascii_scheme.go
82.53% <0.00%> (+2.53%)
:arrow_up:

Continue to review full report at Codecov.

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


HttpEndpointHealthCheckExtensions.WithHealthCheck has an async lambda without await

HttpEndpointHealthCheckExtensions.WithHealthCheck has an async lambda without await.

It is a little funky - but it allows you to return results directly, without having to wrap in Task.FromResult

At the expense of creating a state machine to do just that.


Fix Typos

This PR change indentations to standardize files.

I tried to use yamllint and it didn't work because of helm template syntax, like conditionals {- if ... }.

This PR should be called "tenho mais nada pra fazer".


FontSize is not consistent between TextBlock and TextBox since WinAppSDK 1.6

Describe the bug
Since the update to WinAppSDK 1.6, there is an inconsistency between TextBlock and TextBox controls regarding FontSize (and LineHeight when the FontSize is increased to match). This discrepancy results in misalignment and rendering issues, impacting the visual consistency of text across different controls.
Steps to reproduce the bug
Create a new application with WinAppSDK 1.6 and add the following XAML. Observe that the FontSize does not match.
    <StackPanel HorizontalAlignment="Center" Width="500" VerticalAlignment="Center">
        <TextBox
            x:Name="InputText"
            Height="200"
            AcceptsReturn="True"
            TextWrapping="Wrap" />

        <Grid Height="200" Margin="0,12,0,0">
            <TextBox
                x:Name="ResultTextBox"
                Padding="12"
                AcceptsReturn="True"
                FontSize="13"
                Foreground="#80ff0000"
                Text="{x:Bind InputText.Text, Mode=OneWay}"
                TextWrapping="Wrap" />
            <TextBlock
                x:Name="ResultTextBlock"
                Padding="13"
                FontSize="13"
                Foreground="#800000ff"
                Text="{x:Bind InputText.Text, Mode=OneWay}"
                TextWrapping="Wrap" />
        </Grid>
    </StackPanel>

Expected behavior
FontSize of TextBlock and TextBlock should be consistent
Screenshots
Red: TextBox
Blue: TextBlock
WinAppSDK 1.5:

WinAppSDK 1.6:

NuGet package version
Windows App SDK 1.6.0: 1.6.240829007
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Insider Build (xxxxx)
IDE
Visual Studio 2022
Additional context
No response

Propably related: https://github.com/microsoft/microsoft-ui-xaml/issues/10014


Seperate Controls Permission into Add and Remove to Save Space

I and my players use your Effects Panel mod to delete/disable active effects, and as such have no need for the "Remove Convenient Effects" trash can button under token controls. The "Controls Permission" hides both add and remove, and we definitely still want the add option. Could you separate the "Controls Permission" into "Add Permission" and "Remove Permission"? With 170+ mods installed, the token controls space is at a premium...

Good idea! I can do that

Added in v2.7.0


Fixed unconfirmed trx bug

There was a bug whereby transactions sent to an address would not get confirmed.
The outgoing transaction would get registered in the wallet file, but not updated once it was confirmed in a block.
The explanation is as follows:
The wallet manager maintains in memory a dictionary of unspent transactions, which makes checking whether incoming transactions affects the wallet or not, much easier and much faster.
The problem was that this list was marking an spent transactions as spent, even before it was confirmed. So when the transaction would show up in a block as confirmed, the manager would not even process it, and the "unconfirmed" status of the transaction would never move to "confirmed".
The resolution is that this dictionary is now keeping a list of all the transactions, unspent or not. Lookup is still very fast, and since transaction processing is idempotent, the transactions are processed properly.

So the problem was on startup?

This happened every time a transaction was sent Dan

@bokobza please remember to merge to master


Reuse of image data instead of loading again

Can we reuse image data in img object rather than re-downloading it again for cropper rendering? I have an image with very big size and I thought it would increase the speed if we can reuse the image data being loaded somehow. I am not a JS expert, so please let me know if this is not a feasible workflow. I dynamically appended image src as below.
$('#the-picture').attr("src",url);
$('#the-picture').imagesLoaded( function() {
    picture.cropper({
        aspectRatio: 1 / 1,
        viewMode: 3,
        scalable: false,
        checkCrossOrigin: false,
        crop: function(e){
        }
    });
});

Maybe what you need is set the checkOrientation option to false.

I checked Network in Chrome. It's still having 2 network calls. One after I set src image, one after imagesLoaded got called. Is there anyway we can utilize the data from 1st call so that we won't need to call it twice?

A cropper requires at least two images.


Support for Prisma 4.x

Done in https://github.com/omar-dulaimi/prisma-trpc-shield-generator/releases/tag/0.0.0-rc.4


Run the Aqua tests in a separate workflow

Based on my comments in https://github.com/chriselrod/ThreadingUtilities.jl/issues/3 (specifically https://github.com/chriselrod/ThreadingUtilities.jl/issues/3#issuecomment-762670118, https://github.com/chriselrod/ThreadingUtilities.jl/issues/3#issuecomment-762670839, and https://github.com/chriselrod/ThreadingUtilities.jl/issues/3#issuecomment-762671041), I'm starting to become suspicious that the Aqua tests are actually responsible for the timeouts.
So this pull request moves the Aqua tests to a separate workflow.

@chriselrod Can you merge this once CI is green?

@chriselrod Can you merge this once CI is green?

Codecov Report

Merging #15 (329ad6a) into master (8044368) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          100        98    -2
=========================================
- Hits           100        98    -2

Impacted Files
Coverage Δ

src/threadtasks.jl
100.00% <0.00%> (ø)

src/ThreadingUtilities.jl
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Codecov Report

Merging #15 (329ad6a) into master (8044368) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #15   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          100        98    -2
=========================================
- Hits           100        98    -2

Impacted Files
Coverage Δ

src/threadtasks.jl
100.00% <0.00%> (ø)

src/ThreadingUtilities.jl
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

CI is green on this one two.

CI is green on this one two.

Ugh. Never mind. Even with this PR, I got a timeout: https://github.com/chriselrod/ThreadingUtilities.jl/runs/1726363081?check_suite_focus=true

Ugh. Never mind. Even with this PR, I got a timeout: https://github.com/chriselrod/ThreadingUtilities.jl/runs/1726363081?check_suite_focus=true


solar panel don't exist in my minecraft

Issue description:
the crafting and iten don't exist
versions
Forge: <IP_ADDRESS>8
Mekanism: <IP_ADDRESS>5
minecraft version: 1.11.2

Do you have Mekanism Generators installed?

I'm going to download

thank you


Follow up with adopters regarding file manager

Follow up after the file manager is removed/deprecated with adopters to determine their thoughts on the issue, and follow up with Cath.

As per IanS:  after removing the admin console launcher code, openEQUELLA will build with a straight openJDK build.  Less of a priority to remove the FM / IPFE.


Fixed #24991, Refs #25705 -- Quoted Query.str() parameters for PostgreSQL.

https://code.djangoproject.com/ticket/25705

Let's not forget to credit original patch author(s) before the merge.

@claudep I added tests for other range types and they fail with AttributeError:
File "lib/python3.6/site-packages/psycopg2/_range.py", line 257, in getquoted
    a.prepare(self._conn)
AttributeError: 'daterange' object has no attribute '_conn'
...
File "lib/python3.6/site-packages/psycopg2/_range.py", line 257, in getquoted
    a.prepare(self._conn)
AttributeError: 'tstzrange' object has no attribute '_conn'

I was able to fix them by adding a connection to adapters but it's hacky:
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 995ab61374..651a8d580f 100644
--- a/django/db/backends/postgresql/operations.py
+++ b/django/db/backends/postgresql/operations.py
@@ -117,7 +117,9 @@ class DatabaseOperations(BaseDatabaseOperations):
         return '"%s"' % name

     def adapt_param(self, param):
-        return adapt(param).getquoted().decode()
+        adapted_param = adapt(param)
+        adapted_param._conn = self.connection.connection
+        return adapted_param.getquoted().decode()

     def set_time_zone_sql(self):
         return "SET TIME ZONE %s"

Closing due to inactivity.


Update uuid-creator to 4.1.0

Updates com.github.f4b6a3:uuid-creator from 4.0.2 to 4.1.0.
Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.f4b6a3", artifactId = "uuid-creator" } ]

labels: library-update, semver-minor

Codecov Report

Merging #184 (82e559c) into main (4e77ec4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #184   +/-   ##
=======================================
  Coverage   89.49%   89.49%
=======================================
  Files          88       88
  Lines        2561     2561
  Branches       72       72
=======================================
  Hits         2292     2292
  Misses        269      269

Continue to review full report at Codecov.

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


Unable to resolve service DNS name

I'm having trouble communicating between two services in my local cluster using DNS name as per this article:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-dnsservice
The DNS Service is running in Service Fabric Explorer and I can perform an nslookup against it as follows:
nslookup application.test <IP_ADDRESS>
Server:  localhost
Address:  <IP_ADDRESS>
Name:    application.test
However, when I try and ping application.test I get the following:
Ping request could not find host application.test. Please check the name and try again.
When I run nslookup against an invalid domain then I get an expected Non-existent domain error:
*** localhost can't find application.test1: Non-existent domain
I have confirmed that my service is exposing an endpoint as follows:
Resolve-ServiceFabricService -PartitionKindSingleton -ServiceName 	fabric:/MyApplication/MyService
ServiceName   : fabric:/MyApplication/MyService
Endpoints     :
Address: {"Endpoints":{"EndpointName":"http:\/\/machinename:8187\/"}}
Role: Stateless
I have run the .\DevClusterSetup.ps1 -UseMachineName command and can confirm this is set correctly in the clustermanifest.xml
I have completely run out of ideas and without this working have no way of communicating between services. It seems like the service is in DNS but is not resolving to an IP

@MarkDixonTech Are you still interested in getting SF DNS working?
@danielwgrech Please open a new issue if you have not already and the issue still occurs.


Fix token handler error

Trying to build #502 to fix the token handler, which was returning an IndexError, but the build keeps failing. Any reason why that could be?

Travis was having an API outage.


Autoincrement patch

Is it possible to automatically increment patch versions per commit?

Yes. You could create a post-commit hook to call git semver patch. It might also be worth using something like https://github.com/icefox/git-hooks to version control your hooks.
Closing as the solution is not specific to this project.


Make various improvements to OptionButton

Fixed several bugs from https://github.com/godotengine/godot/issues/6558

OptionButton can now be set to no selection by calling optionButton.select(-1)
The Selected property in the editor can now be set to -1 for no selection

The Selected property can now be restored to default (which is -1)

When a selected item is deleted, the selection is set to no selection (-1)

This also fixes the scenarios where all items are deleted and where items are added after being deleted

I also found an undocumented bug introduced here: https://github.com/godotengine/godot/pull/54647
The PopupMenu had been edited to use IDs starting at 0 in some places, but in other places (and in OptionButton) it was expected to use IDs starting at 1. This caused a bug where when adding OptionButton items from the inspector, both of the first two items would have ID = 1
Rather than reverting, I fully converted PopupMenu and OptionButton to use 0-based IDs. This matches the documentation, which claims that IDs are set by index (which starts with 0). It also improves some dissonance where "0" could be passed in as a valid object ID but was also being used to represent "no selection" when calling get_selected_id(). Now, -1 represent no selection in both the index and the ID flows.

Looks good to me. I think it would be worth mentioning the new behavior in the select docs too:
Passing `[code]-1[/code]` as index deselects any currently selected item.

Good point- updated

Thanks! And congrats for your first merged Godot contribution :tada:


Replaced all icons with MaterialCommunityIcons

Don't see any point using 2 different font icons for one package.
Removed all icon fonts and added dependency only for MaterialCommunityIcons

@ziyafenn this makes a whole lots of sense, using one icon-set throughout the package. I will pull in, test locally and merge once it works fine. Thanks!

Perhaps you could also think about creating a new prop for icon family for people who'd like to use their own font face and change it easily.
Example:

That also makes sense. But before that gets done, I will merge this.


Conflicting cache name using CircleCI

Describe the bug
When using CircleCI + caching vcpkg dependencies, the cache key : my-cache already exists in vcpkg directory and results in a error :
Found a cache from build 69 at my-cache
Size: 1.9 MB
Cached paths:
  * /root/project/libs/vcpkg

Downloading cache archive...
Validating cache...

Unarchiving cache...

Failed to unarchive cache

Error untarring cache: Error extracting tarball /tmp/cache933926973 : tar: root/project/libs/vcpkg: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.gitattributes: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/i-have-a-question.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/other-type-of-bug-report.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/report-package-build-failure.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-feature-or-improvement-to-a-port.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-feature-or-improvement.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-new-port.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE: exit status 2

Changing the cache name to something else solved the issue
This post is primarily indented to people who might struggle with CircleCI caching & vcpkg because of the wrong key.
All the best

If you are not modifying your build chain and environment all the time and you are caching to create an environment which produces reproducible builds, then you should only need to cache:

vcpkg\installed
vcpkg\packages

instead of the entire vcpkg directory.

Possible workaround indeed, but I haven't checked if caching these two with the cache key my-cache works on CircleCI

I'm not familiar with CircleCI but actually:
Error untarring cache: Error extracting tarball /tmp/cache933926973 : tar: root/project/libs/vcpkg: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.gitattributes: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE: Cannot mkdir: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/i-have-a-question.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/other-type-of-bug-report.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/report-package-build-failure.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-feature-or-improvement-to-a-port.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-feature-or-improvement.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE_TEMPLATE/request-a-new-port.md: Cannot open: Permission denied tar: root/project/libs/vcpkg/.github/ISSUE: exit status 2
Is a permissions error on a Linux server, so you likely need to be building in a directory that the build bot has write access to. But like I said, I am unfamiliar. It's just my initial observation.

As I said before, it's stricly linked to the cache name itself. Actually we're using a cachename with a checksum appended to identify it and periodiccaly redownload everything from scratch. In this situation, it's working perfectly. Switching back to my-cache triggers the error.
Maybe this is an issue more related to CircleCI but i don't think it is since we tried it on another platform / project and it worked.
The "right" issue you mentionned comes from the checkout command of CircleCI. It's a  limitation of CircleCI itslef. If you don't change the default working directory, checking out in an non-empty directory is a bad idea : https://discuss.circleci.com/t/directory-tmp-you-are-trying-to-checkout-to-is-not-empty-and-not-git-repository/11370
Anyway, we easily pass through this issue by simply changing the cache name. It's a post just intended for those who might get the same issue and try to find a solution
All the best

Maybe this is an issue more related to CircleCI

My observations too.
tar: root/project/libs/vcpkg: Cannot mkdir: Permission denied
And like I said, root is a special user folder for the top level account in quite a few Linux distributions, so better not to build there and then attempt to cache the results.
I've not personally experienced any issues loading vcpkg from cache using Appveyor so I'm sure you'll be able to find a workaround. Good luck!

@aspioupiou, does this still be a problem for you?

@PhoebeHui We've changed our cache name and this solved the issue. As @heydojo suggested, several solutions exists to automatically change  it.
However, I expect my libraries to not interfere in my CI pipeline. By using the default circleci cache name, it's easy to reproduce such issue.
Why not changing vcpkg's cache name ? It's a quick and reliable fix in my point of view. Something like vcpkg-ci-cache is detailed enough to avoid overlap with main projets cache name.

Hi @aspioupiou, how are you using vcpkg with CircleCI? What documentation are you following?

Hi @ras0219-msft, we switched from CircleCI to a self-hosted gitlab instance so this setup is not in production anymore. Globally, we always embed vcpkg inside the project directory as a submodule, meaning each CI build builds vcpkg in the project directory.
If using CircleCI + caching, cache keys overlap


InMemDicomObject Length::UNDEFINED after modify

As an InMemDicomObject  can have a certain defined Length after parsing dicom data,
it is necessary to reset or recalculate this Length after calling any methods that modify
the object's inner entries value e.g. .put() .remove_element() ...
The Length is set to Length::UNDEFINED as recalculating it might be expensive.

I just removed some duplicate code.
The methods you mentioned did not need changes, as they internally call self.put()  - which is already handled.

Still wrong :) Will be back


Instrument AddEvent from default OTel default global impl

Originally posted by @MrAlias in https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/523#discussion_r1408318459

i'll pick this up

@RonFed any recommendations for how to handle the variadic interface input that comes along with span.AddEvent? i have a working implementation for handling the event name and passing that back to the go code, but i'm not sure how to best handle inspecting the underlying implementations of  trace.EventOption.

I am thinking about attaching to the following functions:

func WithTimestamp(t time.Time) SpanEventOption, if this is not used we should use bpf_ktime_get_ns() for event timestamp.
func WithAttributes(attributes ...attribute.KeyValue) SpanStartEventOption (I think this one is also relevant to the Start function).

The tricky part is associating these calls with the span we are building in eBPF.
One option that I can think of, is adding a hash map with keys as the goroutine pointer (similar to what get_consistent_key returns), and the value will be a pointer to the concrete option (the return pointer from the above functions). Then in the AdddEvent probe we can lookup these options, apply them and delete them from the map.

I am thinking about attaching to the following functions:

func WithTimestamp(t time.Time) SpanEventOption, if this is not used we should use bpf_ktime_get_ns() for event timestamp.
func WithAttributes(attributes ...attribute.KeyValue) SpanStartEventOption (I think this one is also relevant to the Start function).

The tricky part is associating these calls with the span we are building in eBPF. One option that I can think of, is adding a hash map with keys as the goroutine pointer (similar to what get_consistent_key returns), and the value will be a pointer to the concrete option (the return pointer from the above functions). Then in the AdddEvent probe we can lookup these options, apply them and delete them from the map.

@RonFed nearly have something that works with having a separate probe for func WithAttributes(attributes ...attribute.KeyValue) SpanStartEventOption. i have an e2e test that works, but have a hard coded loop value that otherwise results in a max value being exceeded in a register for some reason. i also needed to build the go e2e test binary with inlining disabled because it turns out WithAttributes(...) gets inlined during compilation. is that ok? something we could certainly put in a readme, but it's something someone could easily miss when integrating auto instrumentation with their service.

I am thinking about attaching to the following functions:

func WithTimestamp(t time.Time) SpanEventOption, if this is not used we should use bpf_ktime_get_ns() for event timestamp.

func WithAttributes(attributes ...attribute.KeyValue) SpanStartEventOption (I think this one is also relevant to the Start function).

The tricky part is associating these calls with the span we are building in eBPF. One option that I can think of, is adding a hash map with keys as the goroutine pointer (similar to what get_consistent_key returns), and the value will be a pointer to the concrete option (the return pointer from the above functions). Then in the AdddEvent probe we can lookup these options, apply them and delete them from the map.

@RonFed nearly have something that works with having a separate probe for func WithAttributes(attributes ...attribute.KeyValue) SpanStartEventOption. i have an e2e test that works, but have a hard coded loop value that otherwise results in a max value being exceeded in a register for some reason. should hopefully figure that out soon. i also needed to build the go e2e test binary with inlining disabled because it turns out WithAttributes(...) gets inlined during compilation. is that ok? something we could certainly put in a readme, but it's something someone could easily miss when integrating auto instrumentation with their service.

It is better to find a function which doesn't get inlined if possible (I remember there is an another inner function which handles options, maybe worth looking into it).
In general, given an interface pointer finding out what the concrete type from eBPF could be very useful in many other contexts.

It is better to find a function which doesn't get inlined if possible (I remember there is an another inner function which handles options, maybe worth looking into it).
In general, given an interface pointer finding out what the concrete type from eBPF could be very useful in many other contexts.

the closest thing i could find to this is the underlying type WithAttributes(...) is using: func (o attributeOption) applyEvent(c EventConfig) EventConfig. however, this symbol is never making its way to the symbol table. there's an entry in the interface table (itab), but there's not an explicit symbol for attributeOption.applyEvent, even with inlining and optimizations. example output:

$ go build -gcflags="-l -N" -o main
$ go tool nm main | grep attributeOption
5a1a10 R go:itab.go.opentelemetry.io/otel/trace.attributeOption,go.opentelemetry.io/otel/trace.SpanStartEventOption

any ideas? i'm going to push on with an implementation that relies on inlines being disabled in the meantime just to get both of those 2 pieces working e2e. if we can come up with a more clever way to do this that doesn't involve inlines being disabled, that refactor should be invisible to the Go code and e2e tests. if it helps, i can push a draft MR so we can look at the code together.
@RonFed another unrelated question - any preferences on a max size for span events per span? i arbitrarily chose 4, but we can adjust the const as needed.

Closing in favor of https://github.com/open-telemetry/opentelemetry-go-instrumentation/issues/954


[FEATURE] Upgrade sarplus tests to incorporate the latest changes in ScalaTest

Description

Some of the types are changed in the latest ScalaTest.  For example, FlatSpec in ScalaTest 3.0.8 is removed from ScalaTest 3.2.12.
To make sarplus up-to-date, its tests should be updated.
Expected behavior with the suggested feature

All tests in sarplus/scala/src/test/scala/com/microsoft/sarplus/SARCacheOutputWriterSpec.scala should be accordingly upgraded.
Other Comments

@simonzhaoms has this been fixed? @SimonYansenZhao

@miguelgfierro Not yet.  I'll try when I am available.


Fix bug with challenge detection

Fixes #164, partially reverts #163 (re-includes the isChallengePresent check)
This currently works without respecting the Retry-After header but we might have to add an option for that if more browsers add support for it.
Edit: Moved challengesToSolve check into the solveChallenge function.

@codemanki to summarize this PR
The source of the problem is #116 commit https://github.com/codemanki/cloudscraper/pull/116/commits/ad444547089f5d832b69768fc117ca4053e94430 which introduced status code checking. It only solved challenges with 503 status which excludes 429 Too Many Requests.
This PR fixes that without regression.

And @pro-src saves the day. Again. And again. Thank you for fixing this issue!

@codemanki Theres a shorter way of writing that :wink:
'@pro-src saves the day. Again' + 'And again.'.repeat(5000)


Let epinio consume unpacker image like server image

Fix #1935
Chart PR https://github.com/epinio/helm-charts/pull/315 does the main work.
Changes here update CI support code to build the unpacker image they now need, in the same way they need the server image.

Codecov Report
Base: 56.66% // Head: 8.26% // Decreases project coverage by -48.40% :warning:

Coverage data is based on head (8b03e01) compared to base (2cde674).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #1948       +/-   ##
==========================================
- Coverage   56.66%   8.26%   -48.41%
==========================================
  Files         179      93       -86
  Lines       14523   10111     -4412
==========================================
- Hits         8230     836     -7394
- Misses       5267    9220     +3953
+ Partials     1026      55      -971

Flag
Coverage Δ

acceptance-api
?

acceptance-apps
?

acceptance-cli
?

unittests
8.26% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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


[WIP] MachSuite FFT

Link to original MachSuite program.
Compilation Status
Does not compile, due to (1).
Issues

The problem decribed here.

Todo

[ ] Fix (1)
[ ] Optimize with bank and unroll

@tedbauer (1) was fixed. Is there a program that still fails?

I'm still getting this error message when I try to compile:
[Type error] [22.11] Expected subtype of idx((0,1), (0,32)) in assignment, received: int32.
			odd := odd | span;
			       ^

Oh, wait, you can't reassign a loop iterator. This is meant to be an error.

@tedbauer I've created https://github.com/cucapra/fuse-benchmarks. Let move these benchmarks under a folder titled machsuite-direct-rewrite/ in that repo.
If you think a benchmark is particularly subtle, add it to the file tests. Let's talk tomorrow how we'll benchmark the code in that private repo.
If you don't have questions about this change, just close the benchmarking pull requests and add things in that repo.


Feature/ted 562

Codecov Report

Merging #210 (b083001) into main (40a4109) will increase coverage by 0.04%.
The diff coverage is 99.31%.

@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
+ Coverage   98.65%   98.70%   +0.04%
==========================================
  Files         109      115       +6
  Lines        4549     5030     +481
==========================================
+ Hits         4488     4965     +477
- Misses         61       65       +4

Impacted Files
Coverage Δ

...processor/services/conceptual_mapping_processor.py
100.00% <ø> (ø)

ted_sws/data_manager/adapters/sparql_endpoint.py
98.80% <50.00%> (-1.20%)
:arrow_down:

ted_sws/data_manager/adapters/triple_store.py
96.84% <94.91%> (-3.16%)
:arrow_down:

ted_sws/__init__.py
92.68% <100.00%> (+2.05%)
:arrow_up:

ted_sws/core/model/manifestation.py
100.00% <100.00%> (ø)

ted_sws/core/model/notice.py
99.49% <100.00%> (+0.02%)
:arrow_up:

ted_sws/core/model/transform.py
100.00% <100.00%> (ø)

.../data_manager/adapters/mapping_suite_repository.py
100.00% <100.00%> (ø)

...ed_sws/data_sampler/services/notice_xml_indexer.py
100.00% <100.00%> (ø)

ted_sws/mapping_suite_processor/__init__.py
100.00% <100.00%> (ø)

... and 18 more

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


Update to ungoogled-chromium 119.0.6045.159

Notes:

A submodule bump is made.
Some patches were refreshed.

Two patches were removed as the targeted code from Chromium were removed. (P.S.: This is the first time for me to make these kind of changes, if I made something wrong, please point it out.)

Builds and runs fine locally.

Thanks @Cubik65536 , sorry for the delay.

@networkException sorry for the ping, but it seems that the ci are all finished (even for the tags) but no release is created and no dmg uploaded?

The build failed, ill look at this in a few hours

There's two issues that I'm seeing right now. One is causing an error half way through the build on any platform, and the other is stopping the arm build from ever really getting started.
The first issue is caused by https://github.com/chromium/chromium/commit/11065a962f6a15212ac1b021d19a0072c62108bc, which introduces the use of a symbol only available in the macOS 14 SDK, provided by Xcode 15. Fixing this should be as simple as updating your actions workflow to select Xcode 15.0.1 instead of 14.3.1
The second issue is caused by python 3.12 dropping the deprecated distutils, which provided the pkg_resources module that a Chromium build script used for arm builds. Github Actions macOS runners already updated to python 3.12, but the upstream Chromium fix for this (https://github.com/chromium/chromium/commit/da3f836905f6926533edd37495b238a9155e1984) is part of the 120 sources. I think the easiest thing to do here would be to temporarily backport that commit as an extra patch, unless you know a good way to make pkg_resources available again to the build environment.
Hopefully saves y'all some debugging efforts.

@Cubik65536 Would you be able to fix this according to @benhaney suggestions?

@Cubik65536 Would you be able to fix this according to @benhaney suggestions?

I’ll take a look at it this weekend.


LimeUtil --fpga requires hard resetting the device

LimeUtil --fpga works, but device is left in some sort of locked state i.e. i have to power-cycle to make it usable (LED is solid green after programming)
~> LimeUtil --fpga=/home/gaspar/git/LimeSDR-Mini_GW/LimeSDR-Mini_bitstreams/LimeSDR-Mini_lms7_trx_HW_1.2_auto.rpd
Connected to [LimeSDR Mini [USB 3.0] 1D40EC49F23932]
Claimed Interface
FPGA configuring initiated
Programming finished, 303104 bytes sent! 18226 ms
FPGA configuring initiated

FPGA configuring initiated
FPGA boot from FLASH completed!

LimeUtil --update does not have this problem (red / yellow LED after programming):
~> LimeUtil --update
Connected to [LimeSDR Mini [USB 3.0] 1D40EC49F23932]
Claimed Interface
Command not supported
Programming finished, 303104 bytes sent! 17652 ms (/home/gaspar/.local/share/LimeSuite/images/18.06/LimeSDR-Mini_HW_1.1_r1.26.rpd)
FPGA configuring initiated

Programming update complete!

@ztamosevicius can we look into fixing this? We need to be able to update the gateware on remote systems without power cycling.

@9600 @ztamosevicius What about consolidating the logic so that we just call conn->ProgramUpdate leveraging that code for both the gateware and firmware instead of repeating the logic in LimeUtil.cpp.  Happy to throw a patch together for that.

Dear all We bought a LimeSDR USB. I started to connect and run by LimeSuiteGUI Unfortunately at the begining I got a probel in LED. two of the are ok. But the one related to FPGA is flashing red and other related to user defined is off. I tried several time several scenarios I install LimeSUite GUI in mac, I tried by USB 2 and 3. I tried by using power adaptor 6V 500 mA. But stil it has the problem. Please help me to solve this problem


Redundant cancel order event

I noticed that when you call process_cancel_order_v2, it'll release the funds in the open orders account and push an Out event onto the event queue.
When consuming the Out event, it doesn't do anything past remove the order from open orders account if native_qty_still_locked == 0 which it always is on the new event.
Is there a benefit of having this event or can it be handled entirely in the cancel transaction?

When the cancel instruction runs, there may be partial fills in the event queue for the same order. The order needs to be present in the open orders account when those fills are consumed, to avoid use-after-free bugs. The benefit of waiting until the Out event is processed is that it ensures those conditions are met.

Thanks @sconybeare, appreciate it.


University of Professional Studies Accra

The university official website URL:
https://upsa.edu.gh/
Long-term (>1 year) IT related course:
https://admissions.upsa.edu.gh/admissions/undergraduate/undergraduate-programmes/
Email domain recognition proof:
https://upsa.edu.gh/students/upsa-mail-activation/

The university official website URL:
https://upsa.edu.gh/
Long-term (>1 year) IT related course:
https://admissions.upsa.edu.gh/admissions/undergraduate/undergraduate-programmes/
Email domain recognition proof:
https://upsa.edu.gh/students/upsa-mail-activation/

@TimTord I am sorry, the domain upsamail.edu.gh is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


URL redirecting and time span selection

I ran into two issues when running these tests against my Kibana dashboard. The first was that the base URL (https://:8443) redirects to something that looks like:
https://<ip>:8443/app/kibana#/dashboard/Home-dashboard?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-15m,mode:quick,to:now))&_a=(filters:!(),options:(darkTheme:!f),panels:!((col:1,id:Hint,panelIndex:1,row:1,size_x:12,size_y:1,type:visualization),(col:1,columns:!(beat.hostname,module,logmessage),id:default-search,panelIndex:2,row:2,size_x:12,size_y:6,sort:!('@timestamp',desc),type:search),(col:1,id:Log-Level-Severity,panelIndex:3,row:2,size_x:4,size_y:3,type:visualization),(col:7,id:Top-5-Event-Sources,panelIndex:4,row:2,size_x:5,size_y:3,type:visualization),(col:9,id:API-Operations,panelIndex:5,row:2,size_x:4,size_y:3,type:visualization),(col:5,id:OpenStack-Events-Histogram,panelIndex:6,row:2,size_x:4,size_y:3,type:visualization),(col:1,id:Infrastructure-Events-Histogram,panelIndex:8,row:2,size_x:4,size_y:3,type:visualization),(col:7,id:OpenStack-API-response-time,panelIndex:10,row:8,size_x:6,size_y:4,type:visualization),(col:1,id:OpenStack-API-comparing-response-time,panelIndex:11,row:8,size_x:6,size_y:4,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'*')),title:'Home%20dashboard',uiState:(P-3:(spy:(mode:(fill:!f,name:!n)),vis:(legendOpen:!t)),P-4:(vis:(legendOpen:!t)),P-5:(vis:(legendOpen:!t)),P-6:(spy:(mode:(fill:!f,name:!n)),vis:(legendOpen:!t)),P-8:(spy:(mode:(fill:!f,name:!n)),vis:(legendOpen:!f))))

Without going to that new URL, Kibana would have fail to load with a Courier Fetch Error, specifically TypeError: 'undefined' is not an object (evaluating 'wgd.col'). I'm guessing it's using the values in the redirected URL for rendering calculations.
The second issue was that the default time span for events was 15 minutes, so if there hadn't been any activity before 15 minutes, test_all_event_logs would fail. I added changing the time span to be 'Last 6 months' instead.
Lastly, I added nose to requirements so we can easily create xunit test reports. I picked nose just because that's what's used for the Horizon selenium tests, but if there's something more preferable, I can change it to that!

I updated conf-gen.py to also take file locations or values as arguments for the external lb vip and password so that I can use it for the OnMetal environments. The hostname for those environments aren't always consistent, so I didn't have a good way to include it in the if/else statements otherwise.
Example executions:
sudo python conf-gen.py --password-file /etc/openstack_deploy/user_rpco_secrets.yml --vip-file /etc/openstack_deploy/openstack_user_config.yml

python conf-gen.py --password somepassword --vip 123.456.789

Successful run of config generation and tests:
http://jenkins.openstack-ansible.com/job/Kibana-Selenium-Tests/5/


Add missing styles and constants.

Add support for panel with several tables or list groups.
Add dropdown support to apply commands to action anchors.

Coverage remained the same at 100.0% when pulling 483cf13576af8481726ce6fa1cdfca82b0197876 on september_update into 36992bf897b5697b3892f942ad6c96b7ff42514e on master.


Monitor vps storage

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
How to monitor vps storage
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.10
💻 Operating System and Arch
ubunto 20.04
🌐 Browser
vivaldi
🐋 Docker Version
docker
🟩 NodeJS Version
No response

You likely are refering to #819
=> currently this is not a feature we directly support, but you can use the ping montor with a script like this to get the same effect


FreeRTOS does not support Wi-Fi  WEP level of security

Describe the bug
Description
Initially ESP32 firmware can’t connect to Wi-Fi routers  configured to WEP at all.
After changes in Amazon FreeRTOS by patch we can able to connect, but connection is not established again after device reboot.
Problem caused by Amazon FreeRTOS (at least 202011.00 and 202012.00) has no support of Wi-Fi connection to routers with WEP level of security.
We are use Wi-Fi credentials provisioning over BLE.  Android application is able to see routers with WEP level of security but after selection in application firmware can't connect to these routers.
System information

Which hardware board or part numbers?
-ESP32_DevKitC_V4

IDE used
ESP-IDF 3.3

Operating System [Windows|Linux|MacOS]
Windows 10

Version of FreeRTOS (run git describe --tags to find it)
On both 202011.00 and 202012.00

Project [Custom Application|MQTT|Shadow|Greengrass|OTA|Device Defender|TCP Echo|Sub pub Demo|Simple TCP Server]
Custom project.

If your project is a Custom Application, please add the relevant code snippet in the section Code to reproduce the bug.
No special code is required just add Wi-Fi credentials provisioning over BLE demo to the project.

Expected behavior
We expect firmware can establish connection with router configured with WEP
Screenshots or console output
Not applicable
To reproduce
Steps to reproduce the behavior:

Build the amazon freertos with Wi-Fi credentials provisioning over BLE
Configure Wi-Fi router to use WEP
Using amazon demo application for Android try to add router with WEP to list of connected networks on the device

Patch file to resolve the problem is here
https://gist.github.com/bgklika/c860ef86aceeced37f217ad8b1a37038

@bgklika : WEP is not supported due to widely known attacks against the RC4 stream cipher. You can read more about this on Wikipedia.


Unable to connect to remote chrome after upgrading

Old versions of prerender allowed us to specify chrome host and port. I am being unable to find a way to do it (seems like chromeHost and chromePort are no longer working parameters).
Is the package still exposing this feature? I found this line which seems to consume an URL but no idea about how to make it work from prerender API:
https://github.com/prerender/prerender/blob/master/lib/browsers/chrome.js#L59

Which version had that capability? Looks like it must have been removed. Can you explain a little about your setup? Do you have multiple chrome instances running locally or are you just running Chrome on a different machine?

I have one instance running in another container that may be in the same machine or not. We have done that way because we had stability problems with chrome in the past and we preferred to have Rancher checking chrome health and ensuring it is alive.
After digging a little bit deeper it looks like we were using a custom version with that feature manually added over version 5.2.2.
I can push a PR so prerender accepts a remote chrome host and port so everyone can have this feature and we do not have to maintain our own version. Does this sound fine for the project?

Yeah I think that sounds great as long as it defaults to the current behavior and lets you override it if needed. Thanks!


How to update from 0.6.3 to 0.6.5?

How to update from 0.6.3 to 0.6.5?

Hi 0.6.3 database schema is same 0.6.5 , no need re-import sql file.

but recommed you need backup old file. In order to avoid a failed upgrade.
thanks, bye.

Thank you.
0.6.5 version working here!


Document imagebuilder as a prerequisite

Signed-off-by: nyechiel<EMAIL_ADDRESS>

I'm not sure if we should go ahead and squash the commits into one or if the project would prefer for automation to take care of that.

/assign @skeeey

/approve
/lgtm


when pressing "reload json", the game crashes

Describe your bug here.
i was trying to chart a song and took a break, when i came back and tried to recover the chart(using reload json), the game displays an error and crashes, i placed my chart into the "data" folder inside the "mods" folder, and this bug doesn't work on base game songs. did i do something wrong?
(forgot to mention, im using Psych Engine 0.6.3 i think, just incase it might help)
Command Prompt/Terminal logs (if existing)
"C:\HaxeToolkit\haxe\std/cpp/_std/sys/io/File.hx (line 30)
Song.hx (line 104)
editors/ChartingState.hx (line 2957)
editors/ChartingState.hx (line 434)
Prompt.hx (line 44)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: [file_contents,assets/data/triple-trouble/triple-trouble.json]
please report this error to the GitHub page:(it shows a link to the engine's github page)

>Crash Handler written by: sqirra-rng"

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
not anything major really, just a new song

Missing normal difficulty chart

Missing normal difficulty chart
thanks man, i'll close this for now.

i'll reopen it again if it doesn't work

U didn’t close it

sorry lol im tryna find how to close this thing


is possible sync with azure devops?

hi dear, i have a lot of users, groups, user histories in azure devops, is possible sync all that with your app?

What do you mean by "sync"? The application does not store any data (no users, no groups). And I plan to keep it that way. I don't want to deal with data protection, privacy and GDPR.

Connect with azure DevOps, for user histories, user in that platform, and
play poker with synchrony in azure DevOps....
El sáb, 8 jul 2023, 7:28 a. m., Rastislav Novotný @.***>
escribió:

What do you mean by "sync"? The application does not store any data (no
users, no groups). And I plan to keep it that way. I don't want to deal
with data protection, privacy and GDPR.
—
Reply to this email directly, view it on GitHub
https://github.com/duracellko/planningpoker4azure/issues/129#issuecomment-1627215912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADIWFGK4CJEO4ZLFQVP2X3XPFG77ANCNFSM6AAAAAA2B7VZ34
.
You are receiving this because you authored the thread.Message ID:
@.***>

Could you describe a more specific use case? How would you use a feature you wish for?
For example describe it in steps like this:

User opens user story in Azure DevOps.
User clicks button and it starts Planning Poker.
After estimation an average is set on the user story.

Pls review this:
https://www.parabol.co/integrations/azure-devops/
im testing there with github, but still not azure devops, im really contribute and collaborate with yours, because already translated

I have to give a thought about scenarios or use-cases. I will write some ideas here, when I get some time.

I am thinking of a following use case:

User opens a work item (User Story, Task) in Azure DevOps.
There is Planning Poker option in menu:

After selecting the option Planning Poker application is opened in new browser tab.
The application should join a team with the team name and user name of user from Azure DevOps.
a. When the specified team already exists, user would automatically join the team.
b. When the team does not exist yet, the application would ask user to confirm to start a new team and continue in role of Scrum Master. That means that the user would be responsible to start or stop the estimation.
Team should do Planning Poker estimation.
In the Selected estimates section there should be Update Work Item button next to Average, Median and Sum values.

When clicking the Update button, the work item from step 1 has updated value of story points.

Is this something on your mind? Would this be useful?

Part of the planning poker application is done. Here is integration with a simple webpage.

Next step is to implement Azure DevOps extension to do the integration.
Other improvements or considerations:

Automatically create a new team without confirmation. There may be a problem, when user other than Scrum Master starts planning poker before the actual scrum master.
When the Planning Poker is open from integration, automatically display summary to post estimation back to Azure DevOps.
There is problem to activate Azure DevOps window after sending the result back. I am not sure, if this can be solved as it would go against browser security features.

I had some positive progress with Azure DevOps integration. I created an extension that can do following:

Adds menu to work item.
Opening Planning Poker from the menu.
When clicking Submit in Planning Poker, the value is set to Story Points field. This is hardcoded, so different work item type or process is not supported.

Extension source code: https://github.com/duracellko/planningpoker4azuredevops
Missing parts:

Verify that the project collection matches, when receiving estimation.
Display icon on menu item. At the moment, the icon is not displayed for unknown reason.
Support different fields than Story Points. There are 3 approaches:

Extension loads project configuration and finds, which field is configured as effort. That field is used to receive estimation from Planning Poker. Disadvantage: this approach does not work with custom work items.
Every numeric field on work item form presents button to open Planning Poker application. And when an estimation is submitted, then it is stored in that specific field. Disadvantage: It looks too disruptive to display button next to each field.
Store the submitted estimation in the first numeric field on the work item form.


Update ao_arch.py

Resolved the nearest neighbour dimensionality problem. Now this strategy will work for MNIST. I will create a pull request to MNIST repo for the updated architecture.

I'll delay on deleting the branch pending further testing.


Source or target Modifications on the top of an existing adm file

Discussed in https://github.com/atlasmap/atlasmap/discussions/3635

Originally posted by Ruby-Kamboj January  4, 2022
Hi ,
We are doing a POC to check if atlas map can fulfil our business need to transform and enrich a JSON document to XML and we have found it quite promising  It is able to cover all our requirement but just one doubt we have stuck with is below, would really appreciate your help on.
Can we add or delete fields in the source and/or target schema without resetting the schema imports completely. Right now I do not see any option on atlas map UI to do that if I reset any schema, all mappings are gone and Have to redo whole mapping process which can be tedious due to complex mapping structures and tons of data fields.
This is an important scenario if in future there is a business need to just add mapping for one field on the top of existing mappings(adm file).
I have explored using atlas map version 3.1.8.

update please

Duplicate of #1417


Parent POM is missing from maven repository for 1.3 Release

I'm getting the following error attempting to depend on jsurfer-core 1.3 and jsurfer-jackson 1.3
Could not find artifact com.github.jsurfer:jsurfer:pom:1.3 in central (https://repo1.maven.org/maven2/)

I missed deploying the parent module. Will try to fix it soon.

Hi @paul-amperity,
A new version 1.3.1 is released instead. It may take a while for the central maven repo to populate it. Before it's ready, you can clone the source and build it your self. Thanks so much for the reminder.


Major Refactoring

Switching from Selenium to Google's APIs
Will be done after web API of scheduler is finished

API being tested here https://holo-api.herokuapp.com/api/livers

https://api.holotools.app/v1/api-docs/#section/About Going to instead make a wrapper of this, basically going to make a worse clone of holodex

Site is now public at https://livers-api.azurewebsites.net/schedule

Regarding the site: This is more or so a project for my personal use.
For a more feature rich app use holodex
To do:

Timezone dropdown
Sort currently live first
Add times for recorded videos over top the thumbnails
Migrate API wrapper to Azure


link error python setup.py build

Hello,
I am getting the following error when running setup.py:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [depthmap_test] Error 1
make[1]: *** [CMakeFiles/depthmap_test.dir/all] Error 2
This did not stop me from running the berlin images, but I get the warning--
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:38,668 DEBUG: Undistorting image 02.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:39,594 DEBUG: Undistorting image 01.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:40,639 DEBUG: Undistorting image 03.jpg
2018-04-11 14:09:42,721 INFO: Computing neighbors
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:43,800 INFO: Using precomputed raw depthmap 02.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:44,602 INFO: Using precomputed raw depthmap 01.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:45,381 INFO: Using precomputed raw depthmap 03.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:46,438 INFO: Using precomputed clean depthmap 02.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:47,211 INFO: Using precomputed clean depthmap 01.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:48,091 INFO: Using precomputed clean depthmap 03.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:49,171 INFO: Using precomputed pruned depthmap 02.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:50,006 INFO: Using precomputed pruned depthmap 01.jpg
/Users/schatter/.virtualenvs/gurus/lib/python2.7/site-packages/loky/backend/semlock.py:217: RuntimeWarning: semaphore are broken on OSX, release might increase its maximal value
"increase its maximal value", RuntimeWarning)
2018-04-11 14:09:50,849 INFO: Using precomputed pruned depthmap 03.jpg
2018-04-11 14:09:50,960 INFO: Merging depthmaps
Not sure what is wrong. My OS is macOS Sierra. I am using python 2.7.14, and gcc version is 7.3.0.

after compile opencv2, i also generate this problem

Nothing is wrong, no worries. The messages you see are warnings from the external library loky. Loky produces this rather noisy warning on macOS but can be safely ignored.


Merge to master to trigger release

:tada: This PR is included in version 2.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


VSCode Online not saving settings

VSCode Version: VSCode Online
OS Version: Not sure because its online

Steps to Reproduce:

Purchase VSCode Online
Change some settings from the borwser
Close VSCode Online and open it in another computer
Settings are not changed

Does this issue occur when all extensions are disabled?: Yes
So basically I am trying to change some settings in VSCode Online to sync them across computers. But when I save and close VSCode Online in the browser and open it up in another computer, extensions are synced and all BUT settings that I changed under user settings are not saved.

Please file the issue against VS Online.


New Nadeko Updater won't start.

Hi there,
after restarting the updater the new version were downloaded and installed and thats it. Every time I try to start the updater it will check for newer versions and then nothing will happen.
I'm not sure if there are any requirements for the updater itself but since the older versions worked just fine and out of the box I'm a bit confused.
What I've tried so far: repairing the updater, reinstalling the updater, rebooting the hole server.
Maybe I'm missing a simple point, thanks for your time and help.
Further information:
Windows Server 2016 (1607)

no there are no new requirements, it's just an UI overhaul. Try removing the Updater and installing it again

I did that already. Even deleting it from \AppData\Local\Apps\2.0 manually did not worked out. I've redownloaded the installer as well but that did not changed something either. Is there something similar I can test on a Windows Server machine to exclude a general problem with apps like that?
Thanks a lot.

It might have something to do with your server permissions. Try restarting your server? Try disabling internet explorer advanced security thing

Yes, restarted the machine. I guess you misunderstood me there, the webinstaller seems to be successfully check for a new version and the latest version were updated trough that webinstaller so I guess this part works fine. I think just the app itself is somehow not starting. Is there a general name for applications like the nadeko updater so I can do some research for common problems on windows server machines? Am I right that this one is based on dotnetframework?

it's a WPF application

Okay, finally I got it running again.
I just went to the Eventlog (not sure why I did not go there earlier) and noticed the following error:

I did some research and found multiple topics about that error and the following policy was preventing the UAC Popup to confirm that you let an unknown application to make changes to your harddrive so I changed it as shown. !!! The following step brought up some new errors on other application so be aware of that !!!

After changing that, the application is running fine again.
My advise at this point is to disable the policy again after you successfully registrated the application to avoid permission errors on other points.
In addition to that you have to install

32Bit: Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

or you will get an MSVCR100.dll missing Message but this has nothing to do with the problem mentioned here.
I'm not sure if you could do some changes to the application for more user-friendly experience but at least, it is fixable. 👍


v2 beta: tooltips are sometimes truncated

Closed since #1829 was merged

Still an issue sometimes. Screenshot below.
Can be solved by putting the label below the arrow, on the whole width of the graph, or by using word wrapping.
Please reopen the issue. I can't do it.

@justanotheranonymoususer do you have CSS padding applied to your canvas?

No, just the simplest canvas element.

Ok, I can reproduce your second case on my machine. Looking into it now.

@justanotheranonymoususer see #1840

I use Chart.min.js. How can I test the fix?

You'll need to pull the fix and rebuild.

@justanotheranonymoususer I merged #1840
If you can give it a try and let me know if it fixes your issue, that'd be great.

Thanks. If you can provide Chart.min.js, I'll check it.

Ok, I'll build it shortly

I pushed updated built files to the v2.0-dev branch

I see the same behavior. For some strings, which are even longer, it attempts to fit it, but it doesn't work very good, too.

I chose chart.js 2.X for my doughnuts charts because of the nice tooltips but they are unusable when moderately long because of this cut off.
A quick and dirty fix could be to add some "padding" option to have room on the left and right of the canvas for the tooltips to be displayed. What do you think?

Facing the same issue here too!

As I'm searching on Github and docs for the solution and see screenshots - all of them focus on text being cut off because it is too wide. In my instance it is too short...

Related #622
Current attempt: http://www.chartjs.org/docs/#chart-configuration-tooltip-configuration

The mode for positioning the tooltip. 'average' mode will place the tooltip at the average position of the items displayed in the tooltip. 'nearest' will place the tooltip at the position of the element closest to the event position. New modes can be defined by adding functions to the Chart.Tooltip.positioners map.

Maybe if I position it on top it'll be good?

Can't the tooltip be allowed to grow in height should its width come to within an amount of the canvas? I guess if you have ridiculously long labels and a small canvas you could still have issues but by that point there's probably not much that could be done from the libraries point of view.

Really hope we find a fix for this

+1
I think one of the problems is, that the charts are rendered inside an iFrame? Maybe we could work around this by offering callback functions that display tooltips correctly if the pie chart is wrapped in a parent-div with a specific class/id?

@apocalyarts the iframe is not used for rendering. it is used to detect when the chart container resizes to trigger the appropriate resize on the chart. We plan to remove this in v2.6 and replace it with a faster method.

I'm having the same issue with my pie charts

Anything new on the tooltip-front?

Did anyone get a fix for this? I'm having issues m=with my tool tip truncating too

After applying #3998 I am not able to reproduce tooltip truncation any more.

@kaidohallik will I get that change if I download chartjs from github? I have version 2.5 right now and am still getting the truncation issue

@blubberbo No, #3998 is not merged, you must manually apply this patch.
If tooltip is longer than canvas width then #3998 doesn't help. Then I think you need to implement custom tooltip which is outside of the canvas.
#3998 improvements/fixes are:

specific tooltip lengths doesn't cause truncation any more (up to caretSize+caretPadding truncation could happen)
in some cases tooltip was truncated though there was enough space to show tooltip without truncation, with #3998 tooltip is shown without truncation in that case
if tooltip is longer than canvas then beginning of the tooltip is shown, truncation occurs at the end of the tooltip

@kaidohallik thank you - so to apply that manually, I just replace the one src/core/core.tooltip.js file?

@blubberbo This is tested with current chart.js git master. You can apply #3998 to current master with following sequence:

Clone chart.js source code git repository

git clone https://github.com/chartjs/Chart.js.git

Save https://github.com/chartjs/Chart.js/pull/3998.patch to your disk.
Apply patch to your local git repository:

git apply 3998PatchLocationInDisk

Install dependencies

npm install

Build with gulp

gulp build

Use suitable file from dist subdirectory

If you want to use 2.5.0 only with #3998 then you can try following sequence, maybe it works:

Clone chart.js source code git repository

git clone https://github.com/chartjs/Chart.js.git

Checkout version 2.5.0

git checkout v2.5.0

Manually change core.tooltip.js, look at https://github.com/chartjs/Chart.js/pull/3998/files - changes in 6 places
Install dependencies

npm install

Build with gulp

gulp build

Use suitable file from dist subdirectory

@kaidohallik Thanks for the instructions, if I dont use gulp though and have my application locally (in Visual Studio) is there a way for me to apply the patch manually? Thanks!

@blubberbo If you don't have gulp installed then you can install gulp by:
npm install --global gulp-cli

I try to give also more detailed instruction:

Go to folder where you want to download and manage chart.js
Run commands:

git clone https://github.com/chartjs/Chart.js.git
cd Chart.js

Save https://github.com/chartjs/Chart.js/pull/3998.patch to your disk and apply this patch by:

git apply 3998PatchLocationInDisk

Run commands:

npm install
gulp build

Look at dist folder and copy suitable version from there to your local project (create maybe new folder libs there or put to some other folder you like)
Change chart.js reference in your project from node_modules/chart.js/dist/xxx.js to libs/xxx.js where xxx is chart.js version you use

If you don't want to install gulp then I think you should wait while #3998 is merged and new version released after that.

Ok great, thank you so much!

2.6 truncating tooltip on chart.

Merging this with an older, identical issue, #622

help........ tool tip is cut off on rightmost point.............


specfile: add new utils/ directory to package

RPM build fails because utils/ dir was not added to specfile

OSBS-8605

Signed-off-by: Martin Bašti<EMAIL_ADDRESS>Maintainers will complete the following section:

[ ] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request includes link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

@SalatskySal :eyes:

Thanks, let's merge also https://github.com/containerbuildsystem/atomic-reactor/pull/1398 and rebase all PRs on top of it to prevent such accidents


Support for Blazor WASM debugging

@albertwoo FsBolero has support for WebAssembly debugging in VS using Chrome-devtools:
https://github.com/fsbolero/Bolero/issues/294
https://github.com/fsbolero/Bolero/issues/307
Would it be possible to do something similar with Fun.Blazor?
Thanks.

I think it just works for Fun.Blazor wasm, you just need to add
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}"

into your launchSettings.json.
I also updated the templates: dotnet new install Fun.Blazor.Templates::3.0.3

Can't get it to work on VS Code though:
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]       Executing endpoint 'Fallback /wasm' Microsoft.AspNetCore.Hosting.Diagnostics: Information: Request starting HTTP/1.1 GET http://localhost/wasm - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]       Executing endpoint 'Fallback /wasm' Microsoft.AspNetCore.Routing.EndpointMiddleware: Information: Executing endpoint 'Fallback /wasm' info: Microsoft.AspNetCore.Hosting.Diagnostics[1]       Request starting HTTP/1.1 GET http://localhost/wasm - - Microsoft.AspNetCore.Routing.EndpointMiddleware: Information: Executing endpoint 'Fallback /wasm' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]       Executed endpoint 'Fallback /wasm' Microsoft.AspNetCore.Hosting.Diagnostics: Information: Request starting HTTP/1.1 GET http://localhost/wasm - - info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]       Executing endpoint 'Fallback /wasm' Microsoft.AspNetCore.Routing.EndpointMiddleware: Information: Executed endpoint 'Fallback /wasm' info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]       Executed endpoint 'Fallback /wasm' info: Microsoft.AspNetCore.Hosting.Diagnostics[2]       Request finished HTTP/1.1 GET http://localhost/wasm - - - 200 - text/html;+charset=UTF-8 16.2767ms The program '[11840] BlazorTest.Server.dll' has exited with code -1 (0xffffffff).
Here is the launch.json that was used:
{     // Use IntelliSense to learn about possible attributes.     // Hover to view descriptions of existing attributes.     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387     "version": "0.2.0",     "configurations": [         {             "type": "blazorwasm",             "name": "Launch and Debug Blazor WebAssembly Application",             "request": "launch",             "browser": "edge",             "hosted": true,             "program": "${workspaceFolder}/BlazorTest.Server/bin/Debug/net7.0/BlazorTest.Server.dll",             "cwd": "${workspaceFolder}/BlazorTest.Server",             "url": "http://localhost:5000"         }     ] }
Works fine on FsBolero though.

Are you using mix mode template. If so, it may not work. I only tried pure WASM mode. And only updated pure WASM mode template. And I only tried on VS for Windows.

Today, I also tried the latest pure WASM template in VSCode, the generated default launch.json is working fine with the debug too:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch and Debug Standalone Blazor WebAssembly App",
            "type": "blazorwasm",
            "request": "launch",
            "cwd": "${workspaceFolder}"
        }
    ]
}


Bower json main files fixed

Main files paths in bower.json changed to the minified distribution versions, so that wiredep can easily inject them

Bower spec says main entry points should not include minified files, so I won't merge this one sorry.
https://github.com/bower/bower.json-spec

There are also unminified files in the dist folder, would you merge it if I fix? Wiredep injects them from the assets folder too but the *.map files are only at dist folder.

dist directory is only updated when a release is performed, to automatically publish the release in CDNs. So referencing those files as main bower entry points would break if installing master or any unreleased tag using bower install angular-gantt#master.
What's the real problem in your use case with actual bower.json ?

https://www.npmjs.com/package/wiredep#what-can-go-wrong
I'm using wiredep, and watching with grunt my bower.json file for changes. Every time I install a dependency with bower install --save it automatically pulls the dependencies listed in the dependency bower.json main property. In this case, it includes in my index.html:
bower_components/angular-gantt/assets/angular-gantt.js,
bower_components/angular-gantt/assets/angular-gant.css,
bower_components/angular-gantt/assets/angular-gant-plugins.js,
bower_components/angular-gantt/assets/angular-gant-plugins.css,
which is ok, but the angular-gantt.js is calling for a source map file:
https://github.com/angular-gantt/angular-gantt/blob/master/assets/angular-gantt.js#L5347
Happens that this file is not at bower_components/angular-gantt/assets/ and keeps firing 404 erros.

I think we should disable generating sourcemap in assets files... I can't see any clean solution to keep them generated without causing a git conflict on each merge...


Add Fjord hardfork docs

:clipboard: Add associated issues, tickets, docs URL here.
Overview
Describe what your Pull Request is about in a few sentences.
Add Fjord hardfork docs
Changes
Describe your changes and implementation choices. More details make PRs easier to review.

Update docs

Testing
Describe how to test your new feature/bug fix and if possible, a step by step guide on how to demo this.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 30.13%. Comparing base (d89f932) to head (aa2f601).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (d89f932) and HEAD (aa2f601). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (d89f932)
HEAD (aa2f601)

cannon-go-tests
1
0

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #237       +/-   ##
============================================
- Coverage    41.31%   30.13%   -11.18%
============================================
  Files           74       64       -10
  Lines         5001     3922     -1079
  Branches       785      785
============================================
- Hits          2066     1182      -884
+ Misses        2828     2665      -163
+ Partials       107       75       -32

Flag
Coverage Δ

cannon-go-tests
?

chain-mon-tests
27.14% <ø> (ø)

common-ts-tests
26.72% <ø> (ø)

contracts-ts-tests
12.25% <ø> (ø)

core-utils-tests
44.03% <ø> (ø)

sdk-tests
37.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 10 files with indirect coverage changes


passing empty slice to parameter become NULL in SQL

Version
1.14.0
What happened?
nil slice as array parameter is passed as NULL in SQL.
Expected behavior: nil slice should be passed as an empty array in SQL.
sample case:
SQL
-- name: TestIDs :one
SELECT '1' != ALL(@ids::text[]);

golang
package main

import (
	"fmt"
	"context"
	"database/sql"
	"log"
	"github.com/halwhite/id-test/db"
	_ "github.com/lib/pq"
)

func main() {
	conn, err := sql.Open("postgres", "postgres://root:root@localhost:5432?sslmode=disable")
	if err != nil {
		log.Fatal(err)
	}
	defer conn.Close()
	q := db.New(conn)

	var ids []string
	ret, err := q.TestIDs(context.Background(), ids)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(ret)
}

Running this code emits error:
2022/07/08 21:35:23 sql: Scan error on column index 0, name "?column?": sql/driver: couldn't convert <nil> (<nil>) into type bool
exit status 1

This is because ids is passed as NULL, and the query become SELECT '1' != ALL(NULL) and this returns NULL.

Changing var ids []string to ids := make([]string, 0) fixes this problem, but I wish sqlc to handle nil slice and empty slice equivalently.
Relevant log output
sql: Scan error on column index 0, name "?column?": sql/driver: couldn't convert <nil> (<nil>) into type bool

Database schema
No response
SQL queries
-- name: TestIDs :one
SELECT '1' != ALL(@ids::text[]);

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "postgresql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/7287ce1722f498b7320eeb7a75602f7fe8318b247f651000494d2cfa91cc8fd8
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

As you noted, the workaround here is to create a zero-length slice using make.
This code is not part of sqlc. This is howlib/pq handles slices. You'll need to open up an issue there if you'd like to see this changed.


Introduce lettuce tests

This is the very beginnings of addressing #136. Here's an overview of the changes:

Removed all broken tests
Introduced Lettuce for Cucumber-style BDD tests
Implemented testing for config file parsing
Wired up to Drone

While Lettuce seems to be a fairly mature library, I'm worried that it isn't being that actively maintained (last commit Jan 2016). For what we're doing right now I think it's fine, but if we start running up against limitations we may want to switch to Aloe, an active fork.
I'm not convinced Lettuce will meet all of our test needs, so I'm open to adding in additional frameworks that fill any missing gaps.
I'm not a Python developer, so if anyone has advice on the correct way to do things here please jump right in & let me know.

not sure why this isn't showing as completed, it finished 15 minutes ago on drone.

Good, let's wait until you have a significant test coverage and see how it evolves. Thanks for this, we really need it!

@jvican would you mind elaborating a bit on why you'd like to grow this PR? Personally I feel the value of the broken tests is zero, so having a tiny amount of working coverage is better than a broad degree of broken coverage.
I can certainly be convinced to continue working in this PR, but I'm curious what your reasoning is.

Sure! I see it the other way around: there's no value in merging this into master if there are no real tests of ensime that, at least, test a significant part of the codebase for the upcoming PRs made by the community (>=30). The PRs that we are receiving are just fixes or new features and those wouldn't take advantage of a test suite until there's no actual test coverage.
Personally, I'd like to merge PRs that introduce concepts or features (e.g. a basic test suite is a whole feature). I just feel that splitting up an important feature into different PRs is wrong - it doesn't allow to keep track of its whole evolution. Instead, I'd prefer that you evolve this PR over time a little bit more. Note that I'm not asking you to have 80% coverage. It's just that what I see right now is a rough skeleton, just the test infrastructure, but not the actual test suite.

Fair enough, this is just the rough skeleton. I'm comfortable saying we land this at 30% coverage.

I'm closing this until I make more progress.

I havn't had a chance to work on this lately, but reopening to help w/ #275

LGTM.

It's great to get a start here. I'd been meaning to look at this PR and discuss for awhile, but just haven't had the bandwidth to work on the plugin or hang out in Gitter lately.
For what little I've been able to contribute my voice may not count for much, but here's two cents:
To me, a lot of the value of using an acceptance testing framework with a language-agnostic specification language would lie in getting buy-in from other editor plugin projects to have a shared test kit for common high-level feature support, sort of a compliance spec for baseline feature set that is widely deemed must-have. I believe that was @ChrisCoffey's idea reasoning for Lettuce early on.
It would surely take time to garner support for that idea, if it pans out at all, so naturally letting the inevitable inertia on that delay ensime-vim from having a test suite is no good.
That said, I would like to have a unit testing setup that will be less slow and cumbersome to run as it grows. It's just kinda weird to think about how it should work—on one hand, the user interface to ensime-vim is (n)Vim, including commands and other scriptable elements, so I'd like to actually test from that angle. But using one of the VimL test frameworks seems like it'd be painfully awkward when all the real code is Python. Maybe we'll eventually end up with a Python unit test suite as well as a light set of VimL tests.
Also, if there is any serious thought of trying to get other plugins on board with a shared test kit, we might want to consider a framework that supports standard Gherkin as closely as possible to have the best hope of interoperable specs. Maybe behave is worth a look? There might be others. Lettuce seems like it's really close, I just can't find any solid statement.
It's really important to have something now, so 👍  (if that sounds at all demeaning of @ChrisCoffey's work, that's not intended). And Lettuce tests are good to have regardless, they get deep coverage, it's just the "testing pyramid" concerns I have for the longer term. So I wanted to bring up the subject of unit tests, in case anyone has opinions or preferred tools to express, etc. The PR is closed already but this seems as in-context as anywhere else… Gitter has the problem of being synchronous 😓


Converted mask from boolean

@sl609 and @fuyaoli-lisa this is the issue I mentioned on Wednesday where @YonniFriedlander had issues with the CNN-generated mask not being of the right type (BOOL vs. INT) for processing to continue. Can you test his fix here at your convenience?


Fixed the typo error of coerce_to to coerceTo in javascript docs issue#1092

Fixed issue#1092 in docs

Thanks for the contribution! (We'll have to change the api_javascript.yml file back, though; the permalink of "coerce_to" is correct in that case—it's the "name" field that has to be "coerceTo" in that file, which it already was.)
Have you signed the RethinkDB CLA yet? If you have, just leave a note here -- otherwise, please leave a note after it's signed.

Thanks for the correction I have signed RethinkDB CLA . Should I make a pull request again after correction?

I can back that change out when I do the merge.


(Accidental recyling old branch, addressing short form issue)

fixes #10

That should do it,lets try.


Adding registry credential to custom cluster system project results in error

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

create a custom cluster using private registry credentials
wait for cluster to provision
navigate to system project
add a registry credential (resources->secrets->registry credentials)

Result:
screen hangs there's a js error:

saw this on 2.3.5, upgraded to 2.3.6 and issue was no longer present.