Add some progress messages

Basically like the tutorial from last codejam (or like achievement messages for Mahabama). I want the program to have personality!

Ooooo, what if they're just silly messages that changes the title bar of the window??? Like in Undertale?

I'm thinking we'll have an events module, where we can say events.send("bought_solar_panel"), and the events module will have a record of the previous events, and every update (or less often) we check events.get_current_message(), which returns some message based on our history.
So like, if we wind the thing a few times (and send "cranked" to events), the title bar of the window will be "Nice job cranking", and then if we buy a few solar panels (and send "bought_solar_panel" to events), the message will soon change to "I like the solar panels you just bought!"

Base messages added in 46fee58a037e0736940dc6781db4e729f2195cf7, af4b86da2eef5af520e27c478b5a72767a37ae32, d8285ec47545412e2c400dd11150b9227c545c34, and 0b8c77c12ea1de4ae36c97b00e9b175e54323b7c


Auto-canceled orders can fail due to needing to pay a fee

This ticket is to document the emergency hardfork.

#541

#541 is a different issue in the cli_wallet, this ticket is for a backend issue that caused network downtime and necessitated an unplanned upgrade, commits here and here.

The problem was that when orders go off the books in clear_expired_orders() the fee wasn't being initialized properly.  I think [1] this path must not have been triggered until the problem block [2], if that is true the fix doesn't retroactively update any balances.
If (contrary to what I think) the fix does retroactively update balances, we need to add a hardfork date for the fix (to retroactively undo the retroactive reduction of user balances).
Also the fix does not address the case where the account fee is insufficient.  This at first appears to be a potentially serious security issue (since any user could create an order, empty their account, and crash the chain when the order tries to charge fee).  But because of hardfork #445, each order should have a deferred_fee which is sufficient to pay the cancellation fee.  So this is not a security issue unless orders still exist which were created without paying the fee (i.e. to exploit the issue and crash the chain, the attacker would have to create an order before a fee increase, then empty their account.)
[1] And I should test whether this is true by putting a panic on this path and seeing how far I can resync before it triggers.
[2] The problem block is:
>>> get_dynamic_global_properties
get_dynamic_global_properties
{
  "id": "2.1.0",
  "head_block_number": 3067958,
  "head_block_id": "002ed036dea60c5872751faccc904c4c04d8edc0",
  "time": "2016-01-28T23:15:12",
  "current_witness": "1.6.35",
  "next_maintenance_time": "2016-01-29T00:00:00",
  "last_budget_time": "2016-01-28T23:00:00",
  "witness_budget": 134850000,
  "accounts_registered_this_interval": 4,
  "recently_missed_count": 0,
  "current_aslot": 3086173,
  "recent_slots_filled": "340282366920938463463374607431768211455",
  "dynamic_flags": 0,
  "last_irreversible_block_num": 3067937
}

I think the sanest thing to do here is make deferred_fee a cap on the fee for cancelling an expired order.  So cancellation then becomes a net refund in all cases, and thus cannot fail due to insufficient user balance.  Effectively, if some orders were on the books when a fee increase took effect, the fee charged to those orders at expiration is capped by the deferred_fee already existing on those orders.
We also need to implement a flag for transaction_evaluation_state allowing us to circumvent the fee schedule in this case.

@theoreticalbts please see line note: https://github.com/cryptonomex/graphene/commit/59503acde9eef6520fc177c1cde71fe486d72533#commitcomment-15838452

You're right, the deferred_fee is zero in case a partial fill occurred in the past.
The check referenced in your line note checks fee.amount >= 0 should still pass even if fee is 0.

You're right, it will pass.

Fixed, merged.


Tweak a few things about the threadsafe let solution from #1858.

1). Remove --threadsafe CLI option.
In general, we don't expose every config option via the CLI.
We want to make it easy for users to run rspec --help and
find the options that they are commonly going to want to customize
for a particular CLI run. I don't think --threadsafe is one of
those -- it's more something that'll be turned off globally for the
project or not touched at all, and as such, it adds noise to
the --help output to include it.
2). Extract Mutex class into its own file.

Remove need for use of MUTEX over Mutex.
No reason to force Ruby to parse the code
for 1.8.7 Mutex implementation on other Rubies.

3). Remove threadsafe scenario.
A note about threadsafey is sufficient for the docs. Having
a full threadsafety example spec in the scenario is more
detail than users are likely to want to read.
/cc @JoshCheek

I like it. Glad the --[no-]threadsafe CLI option is out, it seemed a bit much, but I'd erroneously conflated it to the config option in my brain.

:+1: :)


GitHub

GitHub new**

**

Could you please provide more details or clarify your intent regarding this issue? Thanks!

I am no longer interested.
On Fri, Dec 22, 2023 at 11:09 PM Holden X @.***> wrote:

Could you please provide more details or clarify your intent regarding
this issue? Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/SJTU-IPADS/PowerInfer/issues/59#issuecomment-1867906731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BE3QKFEEGXFA7CCN63VQ2ZTYKW5GLAVCNFSM6AAAAABA7YJEHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXHEYDMNZTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add customizable idle button emoji

Originally posted by @CyberJack773 in https://github.com/utarwyn/discord-tictactoe/issues/354#issuecomment-1382871359

@CyberJack773 This feature will be available from v3.2.0: idle emoji can be configured using third element of the configuration array gameBoardEmojies. Example: ["🐮", "🐱", "⬛"]

👍

This feature is now available in both versions 3.2.0 (discord.js v13) and 4.1.0 (discord.js v14).
npm project page: https://www.npmjs.com/package/discord-tictactoe
Releases page: https://github.com/utarwyn/discord-tictactoe/releases


Chore enable os3 by default

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

v6.97.2
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.0.0-beta.1 :tada:
The release is available on:

v7.0.0-beta.1
GitHub release

Your semantic-release bot :package::rocket:


fix: auto_link() regexp

Description
Fixes #9165
Supersedes  #9167

update auto_link() regexp to use the latest CI3 code

Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Added changelog.


Make beeware-ci package public

Describe the bug
The caching package beeware-ci introduced via #99 needs to be public; it is currently private.
As a private package, only blessed GITHUB_TOKENs are allowed access as made evident by CI for beeware/briefcase#1666.
Steps to reproduce
Run CI for a PR from a non-beeware org member.
Expected behavior
Caching image is available and pulled for CI runs.
Screenshots
No response
Environment
CI
Logs
No response
Additional context
No response

Is read permission sufficient, or do the other repos need write access as well?

I've added READ permissions for all the repos that I think need it (briefcase, briefcase template repos, and Python-Apple-support and Python-support-testbed); if I've missed any, let me know.

Also - how on earth do you navigate to the packages list without the magic URL in the ticket? I can see a bunch of Github documentation that says "just click on the Packages link"... but damned if I can find that link anywhere - it's definitely not where the screenshots say it is.

Right now, its any repo that runs app-build-verify for Linux System or AppImage builds will need read access:
briefcase/.github/workflows/ci.yml:    uses: beeware/.github/.github/workflows/app-build-verify.yml@main
briefcase-linux-appimage-template/.github/workflows/ci.yml:    uses: beeware/.github/.github/workflows/app-build-verify.yml@main
briefcase-linux-system-template/.github/workflows/ci.yml:    uses: beeware/.github/.github/workflows/app-build-verify.yml@main
briefcase-template/.github/workflows/ci.yml:    uses: beeware/.github/.github/workflows/app-build-verify.yml@main

They should have write access as well so they can adjust tags for the main branch as appropriate.

Also - how on earth do you navigate to the packages list without the magic URL in the ticket? I can see a bunch of Github documentation that says "just click on the Packages link"... but damned if I can find that link anywhere - it's definitely not where the screenshots say it is.

Packages are a org level thing so I always get there from https://github.com/beeware and clicking the Packages tab.

Ok - I've pruned the list to just those ones (plus toga and briefcase itself, and the support testbed, since those could use the build verify step), and set permission to WRITE. Are you able to view those permissions to prove I've done it right? Anything else we can/should do before closing this ticket?

No; I can't access the settings for a package for beeware.
I did restart the latest CI for Briefcase and it succeeded both in pulling and pushing the images now.
https://github.com/beeware/briefcase/actions/runs/8034160126/job/21946535159#step:21:75
I think we can close for now and monitor CI for any other issues.

I will say that re-run of CI is logging in to ghcr.io as you so it doesn't test what happens when a non-member initiates CI.
I'll try creating a PR with a non-beeware member account to see if these permissions work for them too.

Tested the two PRs below:

https://github.com/beeware/briefcase/pull/1667
https://github.com/beeware/briefcase/pull/1668

Both were able to pull the package and neither we're able to push the package; this is most likely because the GITHUB_TOKEN is not given write permissions for PRs from forks.
Closing now since PRs can use the caching images now.

FWIW, we can finally see some tags for PRs for all the dependabot PRs today.


Module not found with npm and webpack.

In webpack, if we need code spliting, will get a 'Module not found' error.
Cloud be the js/min.js is not in 'dist/', so webpack doesn't find that.

Sorry, it's my fault, it isn't a issue.


This Excel Sheet causes a ParseIntError

I just tested this out to see how it works, this particular excel sheet gives it trouble:
UPS Galaxy VS PX.xlsx
xlcat "UPS Galaxy VS PX.xlsx" "Table001 (Page 1-19)"
"UPS status","Bypass","UPS operation mode - Battery test","Reserved","6","Energy Storage 1","Original Name","Ramp in timer for input current limitation during transfer from battery to normal operation","Modbus Function","Register High","Register Low","Unsigned 16 bit Integer","Valid Response","Column6","1=UPS operation mode - Battery","Column8","Column9","Column10"
"Scale",,,0,,,0,1,"Column6",,0,,,,,"Bit",,"Scale"
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }', src\ws.rs:340:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Thank you! This has been fixed with b761ab3.


Download-BcNuGetPackageToFolder fails when no dependencies defined

Describe the issue
The command Download-BcNuGetPackageToFolder does not handle a non existing dependencies element. If the nuspec file does not include a dependencies element (App has no dependencies), the command throws the error The property "dependencies" was not found for this object. Make sure that the property exists.
I think the error gets thrown here:
https://github.com/microsoft/navcontainerhelper/blob/06929bcd335fad21a6c6176cd08ad92049ef5c39/NuGet/Download-BcNuGetPackageToFolder.ps1#L99
Full output of scripts
Looking for NuGet package AppName_runtime version <IP_ADDRESS> (Latest match)
Search NuGetFeed https://nuget-link/_packaging/apps/nuget/v3/index.json
PackageId: Publisher_AppName_runtime
Best match for package name Appname_runtime Version <IP_ADDRESS>: Publisher_AppName_runtime Version 2023.9.20240116.56664 from https://nuget-link/_packaging/apps/nuget/v3/index.json
Download-BcNuGetPackageToFolder : The property "dependencies" was not found for this object. Make sure that the property exists.
In Line:29 Column:5
+     Download-BcNuGetPackageToFolder -nuGetServerUrl "https://nuget-link ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Download-BcNuGetPackageToFolder], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict,Download-BcNuGetPackageToFolder

Sounds like a bug


Changing 42SC Logo

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Please merge Following PR https://github.com/solana-labs/token-list/pull/16314

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

merged


Warn about misleading declarations with dimension

The following code is valid, but I think fortitude should warn about the strange declaration of y.
implicit none
integer, parameter :: wp = kind(1.0d0)
real(kind=wp), dimension(3) :: x, y(2)
x = [10.0_wp, 20.0_wp, 30.0_wp]
y = x(:2)
print*,y
end

A better way to write it is
implicit none
integer, parameter :: wp = kind(1.0d0)
real(kind=wp), dimension(3) :: x
real(kind=wp) :: y(2)
x = [10.0_wp, 20.0_wp, 30.0_wp]
y = x(:2)
print*,y
end

I've been thinking something similar: we should warn about declaring like y(2) completely and recommend using dimension(2) instead:
integer :: a, b, c(2), d

recommending:
integer :: a, b, d
integer, dimension(2) :: c

It's easy to think all four variables are scalar.
This is perhaps just a stricter version of your suggestion, so we could either have:

two separate rules: inconsistent-dimension-declaration and mixed-scalar-array-declarations;
or one rule inconsistent-dimension-declaration with an option allow-mixed-scalar-array-declarations (strawperson names)


File selector could have a size limit to limit the size of file uploaded to the application

Description
The file selector visual element could have a size limit parameter, which would limit the size of files the user can upload through the file selector. Taipy apps must check if the file is below the limit before uploading it to the server. If the size is above, we could notify the user or trigger a callback defined by the developer.
Acceptance Criteria

[ ] If applicable, a new demo code is provided to show the new feature in action.
[ ] Integration tests exhibiting how the functionality works are added.
[ ] Any new code is covered by a unit tested.
[ ] Check code coverage is at least 90%.
[ ] Related issue(s) in taipy-doc are created for documentation and Release Notes are updated.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

Even more true with the new directory upload feature


Change dimensions of the login window

(This PR should be archived or deleted: it contains an extra commit, and I couldn’t work out how to revert it. #556 supersedes it.)

For future reference, if you want to remove a commit, or adjust the last few commits I generally do:
git reset <commit-hash>

This will go back to the state of the commit that's hash you provide, with any changes you've made since then un-staged.
You can then discard any changes you didn't want to include and create your commits as usual.
To push to the remote you then use:
git push --force-with-lease

Force with lease allows you to overwrite what's on the remote, but won't overwrite anything that has been pushed by others (just to prevent undoing someone else's work in case they're working on the same branch).

Note: force pushes are dangerous, so make sure you're on the right branch.


Enable use of DFM and 1.12.x

This allows override to remove need for VM when testing etc:
DOCKER_VERSION=1.12 ./play-with-docker

I had these changes locally for some time, submitting for PR. Have also tested swarm mode with this.

@alexellis One thing that I remember is that I had API client / version mismatch when trying to use PWD with 1.12 as the client (the go app) is using the master branch docker code (which uses the 1.25 docker 1.13 client API) and the server uses 1.24. For it to work I had to set the DOCKER_API_VERSION=1.24 env variable.

Test it out - it does work and it enables developers to work on the project
without any extra hassle.
On Monday, November 21, 2016, Marcos Nils<EMAIL_ADDRESS>wrote:

@alexellis https://github.com/alexellis One thing that I remember is
that I had API client / version mismatch when trying to use PWD with 1.12
as the client (the go app) is using the master branch docker code (which
uses the 1.25 docker 1.13 client API) and the server uses 1.24. For it to
work I had to set the DOCKER_API_VERSION=1.24 env variable.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/franela/play-with-docker/pull/46#issuecomment-261817104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGEGz-CMRWeonldNy4DyNSv6M2PmT42gks5rAOErgaJpZM4K3lyY
.

--
Regards,
Alex Ellis

@alexellis I though about this a big and it really makes no sense to include this code if 1.13 is about to be released to the wild (ETA is this week). I agree that this change might be useful for new contributors but I I think prefer to keep this open so others can just use this code if they want to contribute to PWD using 1.12 until 1.13 is released.
After all, we're not too many contributors ATM.

1.13 is going to be available for DfM users next week? Maybe the VM thing is stopping more contributors from getting involved, that's one reason for making things easier.

1.13 is going to be available for DfM users next week?

yes

Maybe the VM thing is stopping more contributors from getting involved, that's one reason for making things easier.

I agree, but I haven't seen any issues regarding setting up envs with 1.12. I prefer to hold this PR and keep it open as it doesn't seem urgent right now. If we see that it becomes popular and 1.13 is not ready, then we can merge.

I'm an active contributor and it makes a difference to me.. I did raise an issue when the project started. Don't worry I'll just have to keep manually patching my own version :-/

Closing pull request -- too much resistance.

@alexellis I prefer to keep it open in case it becomes requested by more users. Let's see what happens with D4M 1.13 this week.


Upgrade fastapi to patch Starlette security vulnerabilit

What is this change?
Upgrades fastapi per: https://fastapi.tiangolo.com/release-notes/#0920
Why make this change?
Security patch
Links
https://github.com/computeclub/gcp-cloud-deploy-extensions/security/dependabot/8

TODO: I'll regenerate lock files in a followup


change zk_chroot to optional

This change will allow for solrcloud installations using a zookeeper ensemble without a chroot

@ewanlogan Merged, thanks!


CollisionShape3Ds children of AnimatableBody3D don't move by using PathFollow3D

Tested versions
Any 4.x version.
System information
Linux
Issue description

using PathFollow3D.progress and progress_ratio will move all its children with it, except CollisionShape3D.
Only happens with Animatable, the rest of CollisionBody3D types work well.
It looks like Animatable as its meant to be used with animation player, the physics engine isn't aware of the position changes done by PathFollow, so CollisionShape children doesnt move.
I assume that with 2D is the same.
Steps to reproduce
run the project attached and manipulate either PathFollow3D.progress or progress_ratio
Minimal reproduction project (MRP)
example.zip

An AnimatableBody3D is a physics body. In general all physics bodies needs to be updated in physics_process and not process by default to function correctly.
The AnimatableBody3D is set to sync_to_physics at its very first inspector property which is what makes it special over just a normal static body. That property makes sure that any transform change that happens outside of physics_process callbacks gets rejected.
The documentation is literally If true, the body's movement will be synchronized to the physics frame. which in turn means any other transform change outside of that physics step window will be rejected.
If you toggle that property off you can move it like any other static body node but it will no longer do what it is supposed to do, be 100% in sync with physics steps for moving other bodies reliable with predicted velocity.

Thank you for reporting, consolidating in:

https://github.com/godotengine/godot/issues/67257

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened

See there for more details, if you think something was missed about this and it's not the same issue, please comment here and it can be reopened

In my case i was using a tool script to update the position of an entity on a map made with an external editor.
I perform a raycast to put the AnimatableBody3D on top of the floor on map build time (FuncGodot) to automate such instead of perfectly align it on the map editor every time.
But yes, such function wasn't called on _physics_process() so thats the why.

Please add any information to the other issue


[Add event] 400 Bad Request Error appears after pressing on the 'Publish' button

Date Time
06-11-2021 15;30
Priority
High
Environment:
OS: [Windows 10]
Browser [Google Chrome]
Version [ 90.0.4430.212]
Reproducible: always
Build found: 20210610.4
Pre-conditions
The user is login into the application. A page https://eventsexpress-test.azurewebsites.net/home/events is opened.
Steps to Reproduce

Click on the 'Add event' button
To write down a title and description
Choose a date and country for conducting the event
Add some hashtags
Right-click and select 'Перевірити' from the drop-down list --> Click on 'Network' tab
Create the event by clicking on the ‘Publish’ button
Look at the errors with red color in the 'Network' tab and 'Console' tab

Expected result
The user can create an event by clicking on the ‘Publish’ button
Actual result
The errors with red color in the 'Network' tab ("400 error") and in the 'Console' tab ("Type error: Bad Request")
Screenshots

**User story #187 "
Labels to be added "Bug", Priority ("pri: High"), Severity ("severity:"Critical), Type ( "Functional")

This is not a bug, in case of unsuccessful validation of the event, the server should return status 400


Update of the information

I would suggest the following update to the information on this age.

In your Log Analytics workspace, select Computer Groups from the left-hand menu.

From Computer Groups in the right-hand pane, the Saved groups tab is shown by default.

From the table, click the icon Run query to the right of the item MicrosoftDefaultComputerGroup.

In the query editor, change from Tables to Functions. Find the Updates_MicrosoftDefaultComputerGroup and click on it and hold the mouse cursor over it which will show more options, click on the load the function code.

The review the code and find the UUID for the machine. Remove the UUID for the machine and repeat the steps for any other machines you want to remove.

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

ID: 9a94d637-558c-b26e-a1de-c4381aa6783c
Version Independent ID: d8c47851-0ac5-3932-e1e1-e224285e7476
Content: Remove machines from Azure Automation Update Management
Content Source: articles/automation/update-management/remove-vms.md
Service: automation
GitHub Login: @SGSneha
Microsoft Alias: v-ssudhir

@joalmiza Thanks for your comment! We will review and provide an update as appropriate.

@joalmiza Thanks again for the feedback. The suggested steps are correct in a way but in case Updates_MicrosoftDefaultComputerGroup function is deleted due to some reason before trying to remove machines then the suggested steps might confuse the readers as they might not find the function and also might not find a way to save the query as a function. So I would recommend to let the current steps be as is. However, one minor enhancement we could do to step 8 is:
From:

Save the saved search when you're finished editing it by selecting Save > Save as function from the top bar. When prompted, specify the following:

Name: Updates__MicrosoftDefaultComputerGroup
Save as computer Group is selected
Legacy category: Updates

To:

Save the saved search when you're finished editing it by selecting Save > Save as function from the top bar. When prompted, specify the following.

Name: Updates__MicrosoftDefaultComputerGroup
Save as computer Group is selected
Legacy category: Updates

Note: If the function already exists then you would be prompted whether to Replace it or not. In that case, please click on 'Replace'.

@joalmiza As I didn't hear back from you on the recommendations made, so closing this issue for now.
If there are further questions regarding this matter or feedback on the referred Azure documentation, please do let us know and we will gladly continue the discussion.


English translation

Would be really cool to read this book in english

The answer is yes and thanks for your concern :heart:
I will do it later and update this issue if I have something.


rollup -c -w exits without any error.

I have some new data, so I thought I'd gather the relevant issues here.

Even worst for me with svelte template: command exit (rollup -c -w) without any error.
Removing livereload from the config solve the issue: command works fine.
I was wondering if it was only me but seems like I'm not alone: https://github.com/sveltejs/template/issues/133
Originally posted by @sansnom in https://github.com/thgh/rollup-plugin-livereload/issues/46#issuecomment-645471396

I've had this issue sometimes and just now I found that I accidentally had another terminal with rollup -c -w running in the same working directory.
So somehow the watching AND livereload plugin has a problem.
With one running instance with watch and livereload, the second instance...

rollup build: works OK.
rollup watch, livereload not called: works OK.
rollup watch with livereload enabled: silently exits. <-- our issue

Oh! Figured it out, I think.
It seems livereload always binds to port 35729. It's running into a port conflict.
I ran into the same issue when I had rollup with livereload in two different work directories.
So we can launch an instance on a different port - https://github.com/thgh/rollup-plugin-livereload/blob/1bbcf8f2ea20c2adf554317b0c00b8355d7aaaca/src/index.js#L22
e.g. !production && livereload({watch: 'public', port: 35730}),
Not sure the best way to proceed - try to launch and try again with a new port? Always pass a random port? Possibly other options.

Weird, livereload seems to check for port in use but all the console.log messages are getting silently swallowed.
https://github.com/napcs/node-livereload/blob/2e7e6976b33bdc8d923193a5710d0617e5b4c03c/lib/command.js#L96

Nice catch ! On Windows, the port is taken by "Intel(R) Active Management Technology Local Manageability Service" (LMS.exe).

Nice catch ! On Windows, the port is taken by "Intel(R) Active Management Technology Local Manageability Service" (LMS.exe).

Oh wow, for me on windows 10, it was only taken when I was running a live reload in another cli.
Regardless, we have a port usage issue.

Running this install fixed this for me.
npm i rollup
https://www.npmjs.com/package/rollup

Thanks for creating an issue, please reopen if this still happens with<EMAIL_ADDRESS>

I am facing this issue with any version (even latest 2.0.5).
After running rollup -c -w, with livereload configured, everything starts beautifully.
But, if I simply waits, without doing anything at all, it just exits.
Like this:
Your application is ready~! 🚀

Local:      http://<IP_ADDRESS>:5000
Network:    http://<IP_ADDRESS>:5000

────────────────── LOGS ──────────────────
Done in 42.42s.
So, in this case, after 42s, the livereload stops working.
If I try to reach the code in the browser, I can see that the server is still on... But, watch does nothing, which means, there is no recompiling happening after I change any code.
In the browser, I also see this error in the console, after those 42s.
WebSocket connection to 'ws://<IP_ADDRESS>:35729/livereload' failed:
connect @ livereload.js?snipver=1:2232
(anonymous) @ livereload.js?snipver=1:2205
Timer._handler @ livereload.js?snipver=1:3913
If I change anything before those 42s, then it works great. I see a recompile, and there is a livereload in place.
(of course, this time varies... it is not only 42s, but it could be a bit more, a bit less).
Does anyone have any idea why that happens?


Unable to write data into visdom web

Hi
Probably this issue is not because of problems of visdom itself, but I do not know whereelse to ask.
When I run the toy example
import visdom
import numpy as np
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((3, 10, 10)))

I got errors like the following. The visom pane at webpage of localhost:8097 shows nothing. How to solve this issue? Is there anyway to set the ip to <IP_ADDRESS>? THX!
u'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n<title>ERROR: The requested URL could not be retrieved</title>\n\n\n
\n
ERROR
\n
The requested URL could not be retrieved
\n
\n
\n\n
\n
The following error was encountered while trying to retrieve the URL: http://localhost:8097/events
\n\n
\n
Access Denied.
\n
\n\n
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
\n\n
Your cache administrator is <a href="mailto:root?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&body=CacheHost%3A%20usmlva1006csrv%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Wed,%2031%20May%202017%2021%3A48%3A55%20GMT%0D%0A%0D%0AClientIP%3A%20<IP_ADDRESS>%0D%0A%0D%0AHTTP%20Request%3A%0D%0APOST%20%2Fevents%20HTTP%2F1.1%0AHost%3A%20localhost%3A8097%0D%0AConnection%3A%20keep-alive%0D%0AAccept-Encoding%3A%20gzip,%20deflate%0D%0AAccept%3A%20*%2F*%0D%0AUser-Agent%3A%20python-requests%2F2.12.4%0D%0AContent-Length%3A%201000%0D%0A%0D%0A%0D%0A">root.
\n
\n
\n\n
\n
\n
Generated Wed, 31 May 2017 21:48:55 GMT by usmlva1006csrv (squid/3.1.23)
\n\n
\n\n'

It's difficult to say, but this looks to me like a firewall / proxy / VPN issue. Something on your server is preventing you from accessing port 8097 on localhost. Did you try using an SSH tunnel?
If the above does not work, try using an SSH tunnel to your server by adding the following line to your local ~/.ssh/config: LocalForward <IP_ADDRESS>:8097 <IP_ADDRESS>:8097

Hi
Thanks for your reply. I tried this. Still not working.
But I am fine of using Tensorboard which use ip of <IP_ADDRESS>. If this ip works, i think localhost should work based on my understanding. Right?
Is there any way to edit the IP of visdom to <IP_ADDRESS>(in Pytorch not Torch)?

The visdom client lets you specify the server you want to connect to, so if your server is running at <IP_ADDRESS> then you can connect to that: https://github.com/facebookresearch/visdom/blob/master/py/init.py#L205

@zizhaozhang Is that work?

Hi DonYum, I realized that is because the authority limitation of the proxy of my machine. You should check you proxy of you machine.
Not the problem of visdom.


Add MongoDB support

Added MongoDB save.  Minor changes to secret handling.

@tombates-gds merged but with need to still take a look at @rrees's recommendations


Allow content pack resources to be disabled via the CLI commands

This pull request adds CLI command for disabling and enabling CLI resources (sensors, actions, rules).
Currently it has a known limitation (same as the changes done with via UI) - those changes will be overwritten with the values from disk next time st2-register-content is ran. This will be fixed once the content distribution and syncing is implemented.

I am going to remind you to start splitting this into multiple PRs.

@lakshmi-kannan We now have a github pack with add_comment action so you can create a StackStorm rule which does this automatically for you :P

What's up with this PR @Kami?

It's just chillin' along. We need to decide on systematic approach for handling those things.
Most of those attributes get overridden when (re)registering content so exposing those operations doesn't make much sense, but on the other hand, API already exposes those operations so it might be sensible to also have it in the CLI...

I brought this PR back from the dead and as discussed, I'll go ahead and merge it into master.


Experimental io_stream module for console I/O (and future stuff).

This exposes the iree_io_stream_t type to programs for I/O and provides stdin/stdout/stderr stream access. I'm not sure it's the right granularity for things or will be able to do everything we want but we can always add a console/text-ui/etc module down the road if we want something fancier/interactive and since this is debug-only kind of functionality it may change at any time.

Since I think you've used this was there anything you found while using this you'd want me to change/fix before landing @qedawkins?

Since I think you've used this was there anything you found while using this you'd want me to change/fix before landing @qedawkins?

I don't think so, it pretty much just worked for what I wanted to do (although I didn't do anything very different from the echo example already in this PR). I can review some of my older scripts and let you know if I spot something.

(branch renamed, leaving this closed for now and will reopen and rebased/address comments)


[Fix] neo v0.13.4 deprecated copy

With release of neo v0.13.4. copy got removed for all  neo objects.
See:
https://github.com/NeuralEnsemble/python-neo/pull/1554

coverage: 88.018% (-0.3%) from 88.35%
when pulling 06c3cf37ee01a24df5320663f172119f2b3835e0 on INM-6:fix/neo_0_13_4_deprecated_copy
into 0984e19769b6bbe5d8495024949167a8a565c93f on NeuralEnsemble:master.


add python-vlc

see https://pypi.python.org/pypi/python-vlc/1.1.2

@ipa-fmw Can you please add the suffix -pip to the key so that it's explicit that this dependency is only available via pip ? thanks!

@mikaelarguedas: done.


Fix MaxAmount button issue in DelegateVote page

This PR is going to fix the issue #822

Works Done

This pull request calculates the maximum possible fee amount for the delegation process.


Devise scoped views

I generated by my own generate views of the devise. devise.rb configured in the option:
config.scoped_views = true
and yet it continues rendering from elsewhere:
GET Started "/" for <IP_ADDRESS> at 02/03/2012 17:59:06 -0300
Processing by Devise :: # new SessionsController as HTML
Rendered / usr/local/rvm/gems/ruby-1.9.3-p0 @ rails313/gems/devise-2.0.4/app/views/devise/_links.erb (0.9ms)
how do I render _links.erb app/views/users/_links.erb?

It may need to be placed at app/views/users/devise/_links.

Did it work?

Can you please try adding it to app/views/users/shared/_links and point your gemfile to reverting branch on Devise's repository and see if everything works as expected ?

Try to see if things work with master and rendering users/_links.erb partial.

Rodrigo Flores,
Yes, it's works!


Flow v57.2 hangs while merging dependencies

I'm not sure what is happening, because the logs stop at 'Merging'. I can't reliably reproduce this - it doesn't happen every time I save a file, but it happens quite frequently. It's hard to tell which file triggered this because it's not immediately obvious in the IDE that the Flow service has hung. This is what the logs look like:
[2017-10-14 09:29:28] Checked set: Focused: 382, Dependents: 0, Dependencies: 0
[2017-10-14 09:29:29] recheck 1 modified, 0 deleted files
[2017-10-14 09:29:29] modified files:
[2017-10-14 09:29:29] 1/1: /home/zhang/Documents/nusmods/v3/src/js/views/timetable/Timetable.jsx
[2017-10-14 09:29:29] Parsing
[2017-10-14 09:29:29] Re-resolving directly dependent files
[2017-10-14 09:29:29] Recalculating dependency graph
[2017-10-14 09:29:29] remerge 5 dependent files:
[2017-10-14 09:29:29] 1/5: /home/zhang/Documents/nusmods/v3/src/js/views/Routes.jsx
[2017-10-14 09:29:29] 2/5: /home/zhang/Documents/nusmods/v3/src/js/views/browse/ModulePageContainer.jsx
[2017-10-14 09:29:29] 3/5: /home/zhang/Documents/nusmods/v3/src/js/views/browse/ModulePageContent.jsx
[2017-10-14 09:29:29] 4/5: /home/zhang/Documents/nusmods/v3/src/js/views/components/module-info/LessonTimetable.jsx
[2017-10-14 09:29:29] 5/5: /home/zhang/Documents/nusmods/v3/src/js/views/timetable/TimetableContainer.jsx
[2017-10-14 09:29:29] Merge prep
[2017-10-14 09:29:29] to_merge: Focused: 1, Dependents: 5, Dependencies: 0
[2017-10-14 09:29:29] Calculating dependencies
[2017-10-14 09:29:29] Merging
[2017-10-14 09:29:29] to_merge: Focused: 0, Dependents: 0, Dependencies: 0
[2017-10-14 09:29:29] Calculating dependencies
[2017-10-14 09:29:29] Merging

It's now more than 10 minutes later. The flow process is still running using up one CPU core.

Restarting it fixes this temporarily, but after a while it'll hang again. This was not a problem with the previous version of Flow we were using, v0.54.0.
OS: Ubuntu 17.04 Linux 4.10.0-35-generic #39-Ubuntu SMP x86_64
IDE: Webstorm 2017.2.4

I have similar problems.
$ flow status && babel src/ -d dist
flow is rechecking [processing] /

The flow process does not want to stop.

Same for mac os x

Same issue on node v8.7.0

Same issue on Ubuntu 14.04 x64
IDE Webstorm 2017.3 or Atom

0.57.3 should fix this issue.  Just waiting on the npm publish.

So this is why my laptop fan was so noisy the past couple of days and why the editor's linter stopped showing messages. 0.57.3 is still not on Homebrew, waiting for the release to verify.

Now 0.57.3 doesn't starts error. Log from Webstorm on MacOS.
[2017-10-17 09:35:07] Logs will go to /private/tmp/flow/zSUserszSmaksimdzZikunzSworkspacezSisCommerce-mobilezSmobilezSapp.log
[2017-10-17 09:35:07] Initializing Server (This might take some time)
[2017-10-17 09:35:07] executable=...
[2017-10-17 09:35:07] version=0.57.3
[2017-10-17 09:35:07] Parsing
[2017-10-17 09:35:35] Building package heap
[2017-10-17 09:35:35] Loading libraries
[2017-10-17 09:35:39] Resolving dependencies
[2017-10-17 09:35:41] to_merge: Focused: 773, Dependents: 0, Dependencies: 0
[2017-10-17 09:35:41] Calculating dependencies
[2017-10-17 09:35:41] Merging
[2017-10-17 09:37:00] Done
[2017-10-17 09:37:00] Checked set: Focused: 773, Dependents: 0, Dependencies: 0
[2017-10-17 09:37:00] Server is READY
[2017-10-17 09:37:00] Took 112.701158 seconds to initialize.
[2017-10-17 09:37:00] Status: Error
[2017-10-17 09:37:19] Status: Error
[2017-10-17 09:37:32] Status: Error
[2017-10-17 09:38:25] Status: Error

I believe Flow 57.3 has fixed this - I've upgraded and so far I've not managed to reproduce the problem, so I'm closing this.
@dikmax That log looks fine - Status: Error indicates that Flow has found errors, not that the Flow process itself encountered an error and cannot start.


Notifications should work on iPhones and Android

@falconandy I added this story so we can track your progress.

Seems to work on iOS. Have not tested on Android.


Add a processing documentation for contributors

Overview
Describes how CSVs are processed and facilities are matched in non-technical language.
Connects #268

Taking a look!

I have incorporated the PR comments and feedback from Katie and Natalie pulled from https://docs.google.com/document/d/1oHidZH3h55pvtQOP93ewU1VFtOKh13hpcYHdHo42IrY
Please review the responses to the new questions. Thanks.

I componentized this and linked to it from the Navbar, Contribute and FacilityListItems components.
Please give this another look.

I have updated the PR description

Looking good!


Instituto Tecnólogico Latinoamericano

Institution/School Name
Instituto Tecnólogico Latinoamericano
Instiution/School Website
www.itla.edu.mx
Email Users
<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[x ] Students
[x ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni

Education Levels
Please place an x between the square brackets if yes

[ x] Post-graduate research
[x ] Graduate School
[x ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

@horaciogpr Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


[Retail App] Shipping method description overflows the price section FIXED

Description
Changed the Shipping options description text width as 70% for base, 65% for md and 60% for lg devices to fix the overflow problem
Types of Changes

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

Added the width property in the Text tag:- width={{base: '70%', md: '65%', lg: '60%'}}

How to Test-Drive This PR

Add a product to the cart
Check out
Add delivery address
In shipping options, try resizing the screen to check for individual devices

Checklists

General

[x] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[x] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[x] Changes comply with WCAG 2.0 guidelines levels A and AA
[x] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

Hey @agurumurthy96! thanks for creating the PR!
It looks like to me the text overflow is caused by incorrect layout of the elements, see screenshot below:

Changing the width of the text element doesn't solve the root problem, would you mind giving it a try to fix the layout if you agree with me?
Thanks!

Hey @agurumurthy96 , I made another PR to illustrate my suggestion: https://github.com/SalesforceCommerceCloud/pwa-kit/pull/253

Hi @kevinxh
I do not have the option to merge this code with the main branch. Can you, or any other code reviewer do that please and close this PR?
Thanks

I'll merge it once the CI passes. Thanks


Why this is not working?

First time when i install this works , but now why is not working?
Please repair this
I'm using Windows 10
Thank you,
Cristy

Try to uninstall and install again

Having same issues here.

Same issue here.
Win7 x64
Atom v1.25.0 ia32
Package v2.8.1
Tried to uninstall and reinstall it, not working more

Same issue here.
Win8 x64
Atom v1.25.0
Package v2.8.1
Tried to uninstall and reinstall it.

When if this will be updated again?
[Sorry bad english.]


feat(keyboard): support all wai-aria controls

Closes https://github.com/springload/react-accessible-accordion/issues/57
Thanks!

Gidday @RedTn, thanks for your PR, and sorry I didn't see it earlier. The code looks pretty good, but I'd like to have this reviewed by someone else who can assert that the behaviour matches spec.

Just an update on progress @RedTn - I'm pretty slammed at the moment, and it looks like it's going to stay that way until our christmas break. I'll make sure to sit down and review this throughly then :)

Just an update on progress @RedTn - I'm pretty slammed at the moment, and it looks like it's going to stay that way until our christmas break. I'll make sure to sit down and review this throughly then :)

I feel you bro, don't burn yourself out! Thanks for the update.


Better error message for void-returning functions used as JSX elements

Search Terms
JSX element type 'void' is not a constructor function for JSX elements
Suggestion
The above search terms are the error message you get when you use a function that returns void for a JSX lambda. That's rather cryptic and doesn't give much info about the actual issue. Can we have something prettier?
Taking a rough stab at it:
{component name} renders type 'void', which is not valid for JSX elements

Alternately, maybe an additional help line after this error?
JSX element type 'void' is not a constructor function for JSX elements
    {component name} renders type 'void' instead of a valid JSX child

Use Cases
It's common to accidentally forget to return in a JSX element. { and } are visually similar to ( and ).
Examples
const Component = () => {
    // return "hi!";
};

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Can someone guide me on this one?


Cut and disjunction

Trealla failed for ?-Prolog 0012-cut+disjunction.pl, I tweak the test a bit:
:- initialization(main).

main :- (
                foo
        ;
                write(b), nl
        ),
        halt.

foo :-
        (
                !, fail
        ;
                write(a), nl
        ).

Should output b, instead of a.

According to document of SWI-Prolog, ;/2 and right hand side of ->/2 should be transparent to the cut.

Add two more tests to trealla-tests, which related to ->/2.

I know what the problem is with this, just need a good chunk of time to
work on it.
On Tue, Jul 11, 2017 at 1:17 PM, Xin Wang<EMAIL_ADDRESS>wrote:

Trealla failed for ?-Prolog 0012-cut+disjunction.pl, I tweak the test a
bit:
:- initialization(main).
main :- (
foo
;
write(b), nl
),
halt.
foo :-
(
!, fail
;
write(a), nl
).
Should output b, instead of a.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/trealla-lang/trealla/issues/211, or mute the thread
https://github.com/notifications/unsubscribe-auth/AVqpEmUnupLVqiBG0HBF4ORpINZRLNX1ks5sMulEgaJpZM4OTrO9
.

Cool!
failed test of tests/0062-recorddb.pl seems not related to this issue, need more investigation.


WIP Miscellaneous website fixes

[x] Removes nebula.gl from top-left related sites drop down, adds pydeck.gl
[x] Adds better thumbnails for examples, but was unable to get a GIF working for the animation example thumbnail
[x] Adds --no-uglify to gatsby build to fix #59
[ ] add “yarn run build-rollup” to top level build script
[ ] add new examples
[ ] pass over documentation
[ ] add image behind “earthengine-layers” on homepage; don’t need login, no empty space
[x] Set Image example's initial view state lower so that the 60 deg N SRTM cutoff is less visible
[ ] Descriptive control panel in the top right for each example

Closes #59

Merging current fixes, other fixes for follow up PR


Can we change the project description?

Hi all.
1. concept
I would like to know if it is possible to change the project description. Can we change the project description?
2. idea
2.1 github/integrativesoft/foton before

2.2 github/integrativesoft/foton after

3. question/feedback
what do you all think of this idea?

Done!


analysis server process consumes lots of RAM

From @ianloic on May 11, 2016 16:41
On my Mac it's currently consuming 6.14GB of RAM.
That seems like a lot. After restarting it the RAM usage seems to creep up quite quickly.
Copied from original issue: dart-atom/dartlang#983

Totally agree. @bwilkerson, it would be good to get the analysis server's ram usage under a continuous benchmark.

This is stale - the analysis server uses substantially less ram now.


Cant we connect to img2img?

as this plugin is easier to connect to image generation, i found quite hard to connect in processing img2img as node Attach  between the empty latent and KSamplernote space to attach image

Just put it between the VAE Encode and KSampler?


Organize this

Hiya, I think it'd be alot better if u made folder for each category and then put the files for it in the folder for example
Gpu
gpus.py
Ips
ips.py
and so on.

i meant to type txt and not ip 😅

I would have to re write my programs, might do it later

We will see

Cuz other people using that blacklist too

wel, u/they would simply have to change the link

wel, u/they would simply have to change the link

Well ye true


[e2e]: generic push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7705683417
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Tue Jan 30 03:06:12 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7720600853
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Wed Jan 31 03:06:22 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7735635886
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Thu Feb  1 03:09:17 UTC 2024
Tests are passing now. Closing this issue.


Fix SatInt (take 2)

This changes SatInt to use a safer implementation, and adds tests (mirroring those in safeint, so they're a bit weird in case I want to upstream later).
Unfortuantely, this loses us some performance, but I think we just have to eat it. It's very unclear to me what is making the difference now, and inspecting the core of ExBudgetingMode shows everything inlining nicely still.
crowdfunding/1           1.464 ms       1.476 ms    +0.8%
crowdfunding/2           1.466 ms       1.481 ms    +1.0%
crowdfunding/3           1.465 ms       1.484 ms    +1.3%
crowdfunding/4           713.7 μs       724.3 μs    +1.5%
crowdfunding/5           713.8 μs       724.6 μs    +1.5%
future/1                 836.7 μs       848.7 μs    +1.4%
future/2                 1.718 ms       1.741 ms    +1.3%
future/3                 1.719 ms       1.744 ms    +1.5%
future/4                 2.138 ms       2.167 ms    +1.4%
future/5                 2.608 ms       2.642 ms    +1.3%
future/6                 2.185 ms       2.216 ms    +1.4%
future/7                 2.606 ms       2.640 ms    +1.3%
multisigSM/1             1.533 ms       1.550 ms    +1.1%
multisigSM/2             1.551 ms       1.572 ms    +1.4%
multisigSM/3             1.576 ms       1.597 ms    +1.3%
multisigSM/4             1.596 ms       1.619 ms    +1.4%
multisigSM/5             1.910 ms       1.925 ms    +0.8%
multisigSM/6             1.538 ms       1.552 ms    +0.9%
multisigSM/7             1.561 ms       1.583 ms    +1.4%
multisigSM/8             1.590 ms       1.607 ms    +1.1%
multisigSM/9             1.605 ms       1.629 ms    +1.5%
multisigSM/10            1.911 ms       1.934 ms    +1.2%
vesting/1                1.481 ms       1.501 ms    +1.4%
vesting/2                1.290 ms       1.309 ms    +1.5%
vesting/3                1.478 ms       1.502 ms    +1.6%
marlowe/trustfund/1      4.105 ms       4.153 ms    +1.2%
marlowe/trustfund/2      3.024 ms       3.061 ms    +1.2%
marlowe/zerocoupon/1     4.193 ms       4.255 ms    +1.5%
marlowe/zerocoupon/2     2.648 ms       2.690 ms    +1.6%

Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

Pre-merge checklist:

[ ] Someone approved it
[ ] Commits have useful messages
[ ] Review clarifications made it into the code
[ ] History is moderately tidy; or going to squash-merge

I'm a bit mystified as to why this is slower.   I tried modifying the new version in various ways to match my version, but couldn't get any noticeable improvement.


Prepare for 6.0.0-rc.2

Point model store configuration to new URL and change version.

Close this in favor of updating via direct commit.


randomTTN for site-indices with QNs

With the upcoming support for QN indices and fermions in the TTN constructor #122, it would be nice allow for making a random TTN in a given quantum number sector (determined by an input state, passed e.g. as a function).

I've been wanting to improve the implementation of this for the QN case ever since support for QN conserving QR (and LQ) decomposition was added. It would be good to chat about the algorithm for this & could be ideal to add it to this package then "back port" the implementation to ITensors.jl afterward.

Yeah, definitely something we need. Though it should be called random_ttn to follow the convention that only types (and constructors with the exact name of the type) are capitalized.
Also, a temporary workaround for constructing random TTN with bond dimension larger than one would be to apply a low-depth circuit of random 2-site unitary gates to a product state.


Add pull through cache ability to the Registry.

Add pull through cache ability to the Registry.
Create a Repository middleware which delegates storage to a proxyBlobStore
and proxyManifestStore.  These stores will pull through data if not present
locally.
Create a Registry middleware which runs a scheduler to remove
expired content.
The scheduler runs as a background goroutine.  When a blob
or manifest is pulled through from the remote registry,
an entry is added to the scheduler with a TTL.  When the
TTL expires the scheduler calls a pre-specified function
to remove the fetched resource.
Add token authentication to the registry middleware.
Get a token at startup and preload the credential store
with the username and password supplied in the config file.
Signed-off-by: Richard Scothern<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "pull-through-cache" git@github.com:RichardScothern/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

I am not thrilled with middleware configuration. The fact that App and Registry require flags for this to work tells me this is not middleware. The section that loops over middleware, then calls app.configureProxy also tells me this is not middleware.
This only hold this up because we have to live with the configuration for a long time.

Now 100% unmiddlewared, @stevvooe

LGTM

LGTM, but note minor comments above.

I was wondering how to set up a mirror registry for a private registry (gcr.io, for example).
Should we configure it as cmd/registry/config-cache.yml?
I do believe an example enclosed in the doc would help much:)

@dalanlan this is still experimental - mirroring of private registries is not yet a supported scenario (by docker itself).

Ic. Many thanks ;-)

Any pr i can trace though?

@dalanlan do you mean #779 ?

Hmm, as specified in #459

Unlike the V1 registry mirroring feature, a V2 registry mirror can proxy to a private registry.
I assume it's a coming feature. And since #779 is merged, i was wondering whether there is any other pr to trace.

Or this feature has been fully finished by #779, remaining experimental though?

Awesome, so far the pull through caching is working well for me on docker engine 1.8.0-rc2.  I'll put more load on it tomorrow :+1:

@dalanlan it's a bit early for registry 2.2.
For now, the docker engine itself only support Hub mirroring (though the registry side of it is not limited).
About the "experimental" status: we feel mirroring needs to be fire-tested before calling it "stable".

@matt @olivier Do we have some instructions to set this up? It'll be super
useful for me. :-)
Thanks
On Fri, Aug 7, 2015 at 1:23 AM, Olivier Gambier<EMAIL_ADDRESS>wrote:

@dalanlan https://github.com/dalanlan it's a bit early for registry 2.2.
For now, the docker engine itself only support Hub mirroring (though the
registry side of it is not limited).
About the "experimental" status: we feel mirroring needs to be fire-tested
before calling it "stable".
—
Reply to this email directly or view it on GitHub
https://github.com/docker/distribution/pull/779#issuecomment-128450113.

@lvlv - I just did the following:
docker run -d --restart=always -p 5000:5000 --name v2-mirror \
  -v /data/v2-mirror:/var/lib/registry \
  distribution/registry:2.1.0-rc.0 \
  /var/lib/registry/config.mirror.yml

I have a config.mirror.yml file in my /data/v2-mirror directory on my host and the config looks like:
version: 0.1
log:
  level: info
storage:
    filesystem:
        rootdirectory: /var/lib/registry
http:
    addr: :5000
proxy:
  remoteurl: https://registry-1.docker.io

Please stop commenting on merged issues. This is not a support channel.


how to prevent cursor from moving

Hi,
How do I defensively "fix" the position of the blinking cursor right at the line of the most recent input ?
Currently, the up, down, left, right arrow key can move the cursor key elsewhere on the terminal, which is undesirable, especially that the user may not know that the cursor key needs to be returned to that same spot in order to continue to type the input.
Thanks much for this great API !

@mokun I just released the version 3.2.1.
You are still able to move the caret elsewhere on the terminal, but it now jumps to the end of the line of the most recent input when you start typing. This matches the behavior of the console windows provided by IDEs such as Eclipse or IntelliJ.
Does this fix solve your problem?

@siordache ,
I just tested it. It works well now.
Thanks !


Boktai - The Sun Is in Your Hand (USA) solar sensor is broken

Are you using the latest build from here when you see this message?
https://github.com/skylersaleh/SkyEmu/pull/143

yes Boktai 2 works properly

Weird, I'm getting in game here.
Can you send me the MD5 of the rom you are using and your .sav file?

I know threre're ten Boktai GBA files
Boktai - The Sun Is in Your Hand (Europe) (En,Fr,De,Es,It).gba
Size: 16.00MB (16777216B)
MD5: c8b49c53003b8d9a15d91a5a5d5cc91b
Boktai - The Sun Is in Your Hand (USA).gba
Size: 16.00MB (16777216B)
MD5: ff75c62ab690410cc8fca24204d783e9
Boktai - The Sun Is in Your Hand (USA) (Sample).gba
Size: 16.00MB (16777216B)
MD5: 5eed126956c06a047b7098e0facd7067
Boktai 2 - Solar Boy Django (Europe) (En,Fr,De,Es,It).gba
Size: 16.00MB (16777216B)
MD5: 66c0b2e21872f8e9af56292d881c1516
Boktai 2 - Solar Boy Django (USA).gba
Size: 16.00MB (16777216B)
MD5: 31231965d6a43d935e3629a67e06e0bb
Bokura no Taiyou - Taiyou Action RPG (Japan).gba
Size: 16.00MB (16777216B)
MD5: 9f1c1202ed1d856c5836cee6818a171e
Shin Bokura no Taiyou - Gyakushuu no Sabata (Japan).gba
Size: 16.00MB (16777216B)
MD5: fbad88c14dcedefe6c70b06adcd0a0db
Zoku Bokura no Taiyou - Taiyou Shounen Django (Japan).gba
Size: 16.00MB (16777216B)
MD5: f4e3dead5af182598623cf89f9a428f4
Zoku Bokura no Taiyou - Taiyou Shounen Django (Japan) (Rev 1).gba
Size: 16.00MB (16777216B)
MD5: 6449dc62cdf67c4d4d293febd38dcfda

Boktai - The Sun Is in Your Hand (USA).gba
Size: 16.00MB (16777216B)
MD5: ff75c62ab690410cc8fca24204d783e9
this is the one i am using
i start with no save and it crashes at all differant points of the game
just move around a bit into the next screens

Thanks! I was able to reproduce this, but I don't have a solution yet.

Jjtf

Jjhgghb


feat: updating Chroma version range to >=0.4.0,<0.6.0

Closes #157

#158  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


No space bar in hid keyboard package

Looks like there is no option for users to select the space bar from MakeCode via the hid-keyboard package.

fixed in 0.7.16


APP Bar overlaps with the cluster management/virtualization/CD menu.

Setup

Rancher version:
Rancher UI Extensions:
Browser type & version:

Describe the bug

The new APP Bar overlaps with the menu. This overlap happens with all the menu.
To Reproduce

Use rancher-latest with rancherImageTag=v2.8-head.

helm upgrade --install rancher --devel rancher-latest/rancher --namespace cattle-system --set hostname=$hostname --set replicas=1 --set bootstrapPassword=adminadmin --create-namespace --set rancherImageTag=v2.8-head

Visit Cluster Management/Virtualization Management/Fleet page.

Result

The APP Bar overlaps with the menu.

Expected Result

The APP Bar should not overlap any menu.

Screenshots

Additional context
Originally posted by @valaparthvi in https://github.com/rancher/dashboard/issues/9659#issuecomment-1713486111

@valaparthvi could you fill in the bug issue template?

@valaparthvi Specifically what browser you're using, and if you have any Extensions installed?

Ah, think i've got it, it's a firefox thing

@bisht-richa whilst @scures's away, can you take a look? The app bar has issues in FireFox

Firefox does not support pseudo-class has() by default and that is why the app bar is having an overlapping issue and also not working for highlight navigation groups when child items are selected.

I tested this on rancher v2.8-f9bb34da1f2f4e3c8c8908047a53c671126384a0-head, and it works as expected. Thank you for the quick fix!
Feel free to close the issue.

Is there any additional process that needs to be done on this issue? If not, I'll close the issue, or feel free to do so :)

Happy to close this if you are, and thanks for finding this bug!


Wip/6.0 HHH-13877 Make@SortNatural as default for SortedSet and SortedMap

https://trello.com/c/up8I5oIi/58-support-for-sorted-set-and-sorted-map-without-sortnatural-or-sortcomparator
https://hibernate.atlassian.net/browse/HHH-13877
testing case added

I need to look through this some more.
However, this would be a new feature or improvement since we did not previously support this.  New features/improvements ought to have a corresponding Jira - the reason being it will be easier to consolidate all new features and improvements when we get to CRs and eventually Final

I need to look through this some more.
However, this would be a new feature or improvement since we did not previously support this. New features/improvements ought to have a corresponding Jira - the reason being it will be easier to consolidate all new features and improvements when we get to CRs and eventually Final

I need to look through this some more.
However, this would be a new feature or improvement since we did not previously support this. New features/improvements ought to have a corresponding Jira - the reason being it will be easier to consolidate all new features and improvements when we get to CRs and eventually Final

I created a ticket for this: https://hibernate.atlassian.net/browse/HHH-13877 and updated the PR accordingly.

Looked through this some more and approve the changes.
However because of other "code cleanup" type changes a few files here now have completely unnecessary conflicts which is the problem I was pointing out a few weeks ago.
Anyway, please rebase these changes on top of those cosmetic cleanups. Thanks

A lesson learned. Conflict resolved (mainly from another PR, but yeah, cosmetic code changes break other PRs easily) and force pushed.

Thanks @NathanQingyangXu
I'll apply after the checks complete


Custom Signin (Sign in with Facebook)

How can I create custom login logic? I also have "Sign in with Facebook" button and store facebook ID in database. When users click "Sign in with Facebook" button, I need to search if there is a Facebook ID in database. Then if Facebook ID are found (password not needed), users are logged in and I would like to setup the auth session. Thanks.

I found the solution.
$user = User::where(...)->first();
$this->guard('user')->login($user);


[usecase] Update baseline data to sync with m49 for ecs2-8a

ecs2-8a:
Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Crosswalk Project for Android 19.49.509.0
Unit test result summary: Pass 0, Fail 0, Blocked 0
https://crosswalk-project.org/jira/browse/XWALK-6666

LGTM


Change Guava version to 31 and Flink to 1.18

Upgrade Guava to version 31 to get compatibility with Flink 1.18

@maver1ck flink 1.18 already released

@gtk96 PR rebased, let's check tests

@gtk96
Any idea why those tests are failing ? Looks like timeout not related to PR.

@gtk96 Any idea why those tests are failing ? Looks like timeout not related to PR.

I read the log. I think you are right. There are other reasons for the error. cc @GOODBOY008 @ruanhang1993

Look forward to your good news. when upgrade to jdk17，so many Plug-ins need to upgrade

@Kakaeex Were you able to compile this repo in Java 17 ? I'm using still Java 11 and Java 17 only for Flink jobs.

Thanks @maver1ck for this great work and sorry for the late review.
Would you mind to resolve the conflicts?
We can refer to the PR that bumped version to 1.17 #2057.

@Jiabao-Sun
I rebased this PR.

The CI fails, it seems that we have ignored some newly added classes.
By the way, can we add version 1.18 in the E2E test?
https://github.com/ververica/flink-cdc-connectors/blob/80dfc515a1ec26c3a1d46aa6cbc7264d0ff3a8c9/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/utils/FlinkContainerTestEnvironment.java#L125-L131
https://github.com/ververica/flink-cdc-connectors/blob/80dfc515a1ec26c3a1d46aa6cbc7264d0ff3a8c9/flink-cdc-e2e-tests/flink-cdc-source-e2e-tests/pom.xml#L28-L36

@Jiabao-Sun will do tomorrow.

OK. I think we have missing dependency on jdbc-connector_1.18.0.jar.
AFAIK there is no version of JDBC connector for 1.18.0. Let me add PR in their repo.

We are blocked by https://github.com/apache/flink-connector-jdbc/pull/76


[#153119909] Upgrade Ruby to 2.5

What
Update Ruby version to 2.5
We decided to use the same (latest) Ruby version everywhere. We still used 2.2 in multiple places which reached EOL on 2018-03-31 [1], so we decided to migrate to the latest stable version.
We had to upgrade govuk-lint as older versions didn't support Ruby 2.5. Thanks to the upgrade we've got new style check violations but we decided to ignore them (at least for now), as this would unnecessarily blow up the story and increase the risk.
[1] https://www.ruby-lang.org/en/downloads/branches/
How to review

Create a BOSH+Concourse env from this branch:
BRANCH=upgrade_ruby_153119909 SELF_UPDATE_PIPELINE=false ENABLE_DATADOG=true make dev deployer-concourse bootstrap

Review https://github.com/alphagov/paas-cf/pull/1366

Run the create-bosh-concourse pipeline again on this env or on your existing env.

Test DEPLOY_ENV=... make dev bosh-cli

Test DEPLOY_ENV=... AWS_ACCOUNT=dev ./scripts/bosh vms

Destroy the env

How to merge
❗ The PR contains a WIP commit which needs to be updated with the final Docker image tags.
Who can review
Not me.

I've updated the commit with real docker images.


menus and videos cleaned

Description
Cleaned menus and video page code.
Risks
Everything still up and running well. Loading on video pages seemed a bit slow. Is there a better way to load iframes?


PG: PortalSuspended for array of composite types

Hello,
DDL
create type pair as (one int, two int);
create table test (id int primary key, pairs pair[]);

Rust structs
#[derive(sqlx::Type)]
#[sqlx(type_name = "pair")]
struct Pair {
    one: i32,
    two: i32,
}

#[derive(sqlx::Type)]
#[sqlx(type_name = "_pair")]
struct WrappedPairs(Vec<Pair>);

Query
sqlx::query!(
    "INSERT INTO test VALUES($1, $2)",
    0,
    WrappedPairs(vec![Pair { one: 4, two: 20 }]) as _
)
.execute(pool)
.await?;

Perhaps I do it wrong, but this code gives me Protocol("execute: unexpected message: PortalSuspended").

Closed by #1363


Datapicker Format

Can i change the date format to dd/MM/yyyy instead of MM/dd/yyyy ?

locale: {format: "MM-DD-YYYY"}

HI
        Is this js or css file setting ?

Thanks
Nick
From: pearlus
Sent: Monday, March 06, 2017 6:02 PM
To: puikinsh/gentelella
Cc: nicktric ; Author
Subject: Re: [puikinsh/gentelella] Datapicker Format (#412)
locale: {format: "MM-DD-YYYY"}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

http://lmgtfy.com/?q=daterangepicker+locale

HI
            Yes! It's work . Thank You so much !

Thanks
Nick
From: pearlus
Sent: Monday, March 06, 2017 6:33 PM
To: puikinsh/gentelella
Cc: nicktric ; Author
Subject: Re: [puikinsh/gentelella] Datapicker Format (#412)
http://lmgtfy.com/?q=daterangepicker+locale
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello there,
Since you already have a solution for this, we will just close this ticket for now :)


TypeError: Cannot read property 'pipesCount' of undefined

I am trying to use run-middleware within an angular-fullstack application.
My application is using express for managing sessions and passport.js for authentication (stored in Mongodb). When a user logins in, I want to check if that user already has a living session. I want to use run-middleware to programmatically query mongodb for all the live sessions.
'use strict';

import path from 'path';

import passport from 'passport';
import {Strategy as LocalStrategy} from 'passport-local';

import express from 'express';
import session from 'express-session';

import _ from 'lodash';
import Session from '../../api/session/session.model';

var app = express();

require('run-middleware')(app);

function localAuthenticate(User, email, password, done, req) {
  User.findOne({
    email: email.toLowerCase()
  }).exec()
    .then(user => {

      if (!user) {
        return done(null, false, {
          message: 'This email is not registered.'
        });
      }

      // HERE is where I am trying to use the runMiddleware
      app.runMiddleware('/sessions',{},function(code,data){
        console.log(code) // 200
        console.log(data) // { user: '20', name: 'Moyshale' }
      });

      user.authenticate(password, function(authError, authenticated) {
        if (authError) {
          return done(authError);
        }
        if (!authenticated) {
          return done(null, false, { message: 'This password is not correct.' });
        } else {
          return done(null, user);
        }
      });
    })
    .catch(err => done(err));
}

export function setup(User, config) {

  passport.use(new LocalStrategy({
    passReqToCallback: true,
    usernameField: 'email',
    passwordField: 'password' // this is the virtual field on the model
  }, function(req, email, password, done) {
    return localAuthenticate(User, email, password, done, req);
  }));
}

The error I am getting is:
if (state.pipesCount === 0)
           ^
TypeError: Cannot read property 'pipesCount' of undefined
    at IncomingMessage.Readable.unpipe (_stream_readable.js:634:12)
    at unpipe (/home/enview/node_modules/unpipe/index.js:47:12)
    at send (/home/enview/node_modules/finalhandler/index.js:184:3)
    at Immediate.<anonymous> (/home/enview/node_modules/finalhandler/index.js:113:5)
    at Immediate.<anonymous> (/home/enview/node_modules/express/lib/router/index.js:618:15)
    at runCallback (timers.js:568:20)
    at tryOnImmediate (timers.js:546:5)
    at processImmediate [as _immediateCallback] (timers.js:525:5)

Looks like adding any sort of middleware is enough to break it :(
var express = require('express');
var runMiddleware = require('run-middleware');

var app = express();

app.use(function (req, res, next) {
    console.log({uri: req.originalUrl, method: req.method, ip: req.ip}, 'Request');
    next();
});

app.get('/foo', function (req, res) {
    res.json({result: 'OK'});
});

runMiddleware(app);

app.runMiddleware('/foo', function (code, body) {
    console.log('CODE:', code);
    console.log('BODY:', body);
});
```

results in

```
_stream_readable.js:633
  if (state.pipesCount === 0)
           ^

TypeError: Cannot read property 'pipesCount' of undefined
    at IncomingMessage.Readable.unpipe (_stream_readable.js:633:12)
    at unpipe (/home/borisov/test/node-run-middleware/node_modules/unpipe/index.js:47:12)
    at send (/home/borisov/test/node-run-middleware/node_modules/finalhandler/index.js:275:3)
    at Immediate.<anonymous> (/home/borisov/test/node-run-middleware/node_modules/finalhandler/index.js:135:5)
    at Immediate.<anonymous> (/home/borisov/test/node-run-middleware/node_modules/express/lib/router/index.js:635:15)
    at runCallback (timers.js:674:20)
    at tryOnImmediate (timers.js:645:5)
    at processImmediate [as _immediateCallback] (timers.js:617:5)
```

Anyone have any idea about what to do if this happens?

Just ran into this as well.

I'm getting this error from an entirely different setup that doesn't even include node-run-middleware. So maybe the problem is deeper - like Express itself.

I ran into this same issue. Solved by passing the request parameter {connection: {}}. E.g.:
app.runMiddleware('/handler', {connection: {}}, function(code, data) {
  console.log(code, data);
  process.exit();
})

I solved it by passing original_req parameter:
app.runMiddleware('/another-route', {original_req: req}, function(err, data) {
  ...
});

this still happens if you have routes configured with sendFile:
app.get(CLIENT_ROUTES, function(req, res) {
  res.sendFile(join(DIST_FOLDER, 'browser', 'index.html'));
});

I solved it by passing original_req parameter:
app.runMiddleware('/another-route', {original_req: req}, function(err, data) {
  ...
});

this worked for me

Try to delete the response.json() of the api /sessions , it works for me.

Try to delete the response.json() of the api /sessions , it works for me.

If anyone wants to create a PR to fix it, I will merge it

I had this issue before I had a catchall route set up to 404. Basically when a url was accessed where no route matched then this happened. Adding a catchall fixed it in my case. app.all('*', ...


update reviewers list

As requested https://github.com/kubernetes/cloud-provider-openstack/pull/969#pullrequestreview-397067830 , many of the contributors are not active in the project anymore over a year. Removing them from the reviewers list to avoid automatic assignment of PRs
Happy to add them if they are active in project again :)

What this PR does / why we need it:
Which issue this PR fixes(if applicable):
fixes #
Special notes for reviewers:

Release note:

NONE

/assign @lingxiankong

/lgtm

/approve


Add API as a preference

Hello,
Instead of adding the API key before building the app, would it be possible to add an option to enter an API key in the app preferences. This would allow changing the key without rebuilding the app.

Hey @Rudloff, you need to build the code at least once anyway.

Yes, but not every body knows how to build an app.
I assumed you were not distributing APKs with your API key because the TMDB API is rate-limited. This would allow distributing key-less APK and let people enter the key manually.

I think if we do so ,we can distribute this app and when user open the app for the first time we can ask the user to enter an api key to proceed


Materialize constant construction IR to fold into dispatch regions

There are many times a constant propagation action can create additional work where none would otherwise be needed. For example xla_hlo.iota will currently get expanded to a constant of 0-N values, which requires storage on disk, storage in memory, device upload, and memory bandwidth to read. Instead, iota should be left unfolded until after dispatch regions are formed where it becomes just an indexing operation.
A simple solution for iota is to remove that folder, however there are many cases such constructed constants can arise. Sometimes these may come from the original input, where tracing has produced some constants (constant zeros, constant ones, broadcasted values, etc) that we really don't want to treat as such. A transformation that identifies these constants and emits the IR to generate them (broadcasts, fills, tiles, etc) would enable us to catch all of these and - when combined with #1148 and #1149 can remove a lot of this fixed overhead.
Canonicalizers have benefit attributes that can be used to rank their application, but folders do not and the canonicalizers run at so many different times that it's difficult to globally apply like that. This transformation may be possible to add via additional core MLIR support such as being able to selectively apply canonicalizations based on type of benefit (memory vs. compute vs. op count etc), or may be something we need to somehow hack ourselves.

#3424 adds a really nice place for this work to slot into. New constant types can be defined like hal.constant_pool.splat that have special handling when allocating/initializing buffers. Making the packing pass turn hal.constant_pool.value ops into special constructed ops and making the materialization pass emit the HAL ops to construct them should be all that's needed.

This predates linalg.


alloc_nothrow needs improvement, or eliminating

I see that you want nothrow for StaticCompiler.jl, but there are some problems.
It will overwrite memory if you're not careful. I'm thinking you may want to check if the buffer is to small, and then there might be a way to rather just exit the program? I think you can print something on stderr first, and then exit(1), or is there some PANIC, similar to in Go?
While alloc_nothrow works in regular Julia, just not vice versa, why it exists, I think the functionality above could be folded into the regular alloc. If you really need to use the other Malloc, could you use that in all cases? It means an extra dependency on the other package, or maybe rather use Libc.malloc directly? You can use Libc.realloc, and then you need to use the best growing strategy yourself, but you already have one.
I'm not sure what using Julia's regular Vector buys you, then it will be tracked by Julia's GC, probably a minimal slowdown though, with no benefit, since you don't want your buffers reclaimed anyway. And it's just an array of bytes, can't contain pointers to other objects. Or actually it may be possible, but then will not be be considered by the GC anyway.

The StaticCompiler has a problem, it take in n from input, so may overwrite memory... since fixed 100 bytes allocated and not extended.
Another issue for both types of alloc is that I would align, like to 64-byte boundary (a cache-line boundary, I guess malloc would do that, it might be best for performance), at least to 8-byte, you don't want misaligned loads, in case some would allocate e.g. one byte. It would work, just slower on x86, but would be an error on some architectures.

I'll remove alloc_nothrow once https://github.com/tshort/StaticCompiler.jl/pull/90 is done.


Add php 5.6 apache on ubuntu 15.10 image

The goal of this feature is to be possible to use applications with PHP 5.6 and mongo legacy.

Thank you


How can I use mget/mset in redis cluster?

Hi.
I want to use this -> http://redis.io/topics/cluster-spec#multiple-keys-operations
but when cluster mode, RedissonClient#loadBucketValues return unsupported error.
how can I use it?
thanks!

Hi!
I pondered your needs and decided to to remove cluster restrictions for such methods. But then any CROSSLOT errors handling is up to you.

Thanks!
I'm looking forward to new release!


kpt cfg set fails on empty value

If I try to set the empty string as a value with kpt 0.29.0 it fails with the error message:
> kpt-0.29.0 cfg set . name "" --set-by yhrn
set 0 fields
Error: invalid character '}' looking for beginning of valueUsage:
  set DIR NAME --values [VALUE] [flags]

Examples:

...snip...

Error: invalid character '}' looking for beginning of value

On kpt 0.26.0 this works as expected.
My package looks like this:
Kptfile
apiVersion: kpt.dev/v1alpha1
kind: Kptfile
metadata:
  name: setter-bug
packageMetadata:
  shortDescription: sample description
openAPI:
  definitions:
    io.k8s.cli.setters.name:
      description: reason
      x-k8s-cli:
        setter:
          name: name
          value: some-topic
          setBy: yhrn

topic.yaml
apiVersion: pubsub.cnrm.cloud.google.com/v1beta1
kind: PubSubTopic
metadata:
  name: some-topic # {"$ref":"#/definitions/io.k8s.cli.setters.name"}

@yhrn Thanks for reporting this.
This is caused by incorrect handling of empty strings when we try to determine the type of the value. It was fixed in https://github.com/kubernetes-sigs/kustomize/pull/2570 and is included in kpt v0.30.0 that we released today.

I can confirm that this is working as expected in 0.30.0


Character only draw half width

You can see from the above screenshot that the first character (UNICODE: 201C - LEFT DOUBLE QUOTATION MARK) was only drawn the left half.

 Thanks a lot!


Improve export task telemetry

Description
Improve export operation telemetry

Add export task status & committed data size in logging message
Add Notification after export task completed.

Related issues
Addresses issue #77082.
Testing
We updated anonymized export and basic export tests with notification verification.

/azp run


add github actions for test, coverage and bundle analysis

React Boilerplate
Migrate CI to Github actions

Comment bundle size and change compared to master with
Run React tests in 3 versions of Node
Comment with overall test coverage and test coverage for new files.

Consider using https://github.com/marketplace/actions/jest-coverage-diff for short coverage comment with overall instead.


OrderbookSync throws error in a callback

OrderbookSync throws an error inside the callback cb, see e.g. the line:
throw 'Failed to load orderbook: ' + err;

in lib/orderbook_sync.js. This error is thrown, for instance, when there is no internet connection.
It is not easy to catch this kind of error in a client application. One option how to fix this problem would be to emit the error (instead of throwing it), e.g.:
self.emit('error', 'Failed to load orderbook: ' + err);
return;

That's a good point. Do you want to make a PR? This is something I'd like to see.

That's a good point. Do you want to make a PR? This is something I'd like to see.


withStateSelector proposal

Idea is to provide withState with resetable state.
Sometimes when I work with react-router (not only) I don't want to recreate component to reset state after route has changed.
The idea is to provide withStateSelector(stateName, stateUpdaterName, selectorFactory) HOC which will reset - recalculate stateValue every time selector return a new result.
This will be easy to use with reselect library. Like
 withStateSelector(
   'markers', 'setMarkers',
   () => createSelector(
     ({ route: { markersCount = 20 } }) => markersCount,
     (markersCount) => generateMarkers(markersCount)
   )
 ),

The real code with example:
Usage
Routes with params
withStateSelector source
Here every time route changed and got new markersCount param createSelector will return a new result, and state will be resetted.
PS: It's useful with controls like forms, which should use internal state until save 'button' / 'blur event' is pressed / occured.

Also we could just extend withState - and to detect selectors if result of initial state call is function.

Also to make it more same with reselect it's possible to pass to selector also the current state,
this.selector(this.state.stateValue, nextProps)

+1 I need it too


Add support for file-system logs

Probably not really useful for load testing, but a small amount of code to check that the posix log is generating conformant logs

Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 25.05%. Comparing base (46ec9c2) to head (f0dfcd4).
Report is 23 commits behind head on main.

Files
Patch %
Lines

hammer/client.go
0.00%
3 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #103       +/-   ##
===========================================
- Coverage   35.80%   25.05%   -10.76%
===========================================
  Files          16       20        +4
  Lines        1363     1940      +577
===========================================
- Hits          488      486        -2
- Misses        801     1380      +579
  Partials       74       74

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


TXSelection: create conservative state to manage state, mempool, and TXs

Motivation

1st PR of #3094

Changes

this PR is a no-op. behavior should remain the same before and after the change. the main idea is to create a conservative state and have it manage state, mempool and TX life cycle.

rename and move everything TX/mempool related to be in pkg txs
move TX handler out of svm pkg
move state and TX logic out of mesh and into conservative state

Test Plan

unit tests, system tests
TODO

[ ] Investigate some tests failure in conservative_test.go

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors try

bors merge


oauth_access_token does not work

Provider Version
0.25.36
Terraform Version
1.0.11
Describe the bug
When a value is set for oauth_access_token, it returns the following error despite nothing being set for password:
╷
│ Error: Conflicting configuration arguments
│
│   with provider["registry.terraform.io/chanzuckerberg/snowflake"],
│   on main.tf line 18, in provider "snowflake":
│   18: provider "snowflake" {
│
│ "password": conflicts with oauth_access_token
╵
╷
│ Error: Conflicting configuration arguments
│
│   with provider["registry.terraform.io/chanzuckerberg/snowflake"],
│   on main.tf line 23, in provider "snowflake":
│   23:   oauth_access_token = var.token
│
│ "oauth_access_token": conflicts with password

Expected behavior
Snowflake should successfully authenticate with oauth.
Code samples and commands
Get an oauth access token. Set your provider like this, run terraform init and then terraform plan:
provider "snowflake" {
  username = "XXXXXXX"
  oauth_access_token = "XXXXXXXXXXXXXXX"
  account = "XXXXX"
  region = "XXXX"
  role = "XXXX"
}

Additional context
I have also tried to set password = null, but this did not work either.

After reviewing the code, I noticed this line injects the env var SNOWFLAKE_PASSWORD into the provider. I was getting this error message because of the env var. After deleing the env var, it worked.


Make deployStaging a separate job in preDeploy workflow

The purpose of this PR is to make sure that the staging (and soon production) branches are always kept up-to-date, and that we only ever deploy to staging and/or production when the corresponding branch has been successfully updated. Before, we were deploying, then creating an automerge PR to update the branch. Now, we'll create an automerge PR to update the branch, then deploy, which is safer & makes more sense.
If also allows us to "escalate" changes so that we can effectively propagate changes like:

PR is merged to master
Update the version on master
Update the version on staging by creating a PR from master -> staging
Staging is updated, so deploy staging
StagingDeployCash is closed, update production by creating a PR from staging -> production
Production is updated, so deploy production

Fixed Issues
Fixes https://github.com/Expensify/Expensify/issues/155208
Tests
This might be a merge-to-test, but we may be able to do some testing in Public-Test-Repo first

@deetergp - Feel free to review but in order to test I am going to merge this! 🚀


Iex

All good with this module for the most part. It will take some driving to get used to command line IEX.
For your information, I have not managed to get autocomplete to work with TAB. It may be a Windows thing?
Also, I have not found the way to do Ctrl + \ on a Spanish keyboard... Will ask Icia and see if she knows how to bring IEX to a close through the command line.
Finally, if I type clear I get the following message Cannot clear the screen because ANSI escape codes are not enabled on this shell
Feel free to close this one. The notes are more for your information on how this lesson may be received in systems similar to mine (Windows + non-American/English keyboards)

Hmm, fair enough, that's tough!
I recommend making sure anything important is on an external drive or (even better) on the cloud.
Perhaps this would be a good thing to do over a holiday or winter break 🤔
It seems like it's working, for now, hopefully, we won't run into any major issues.

Yup, I have two external drives for backup and I used to work with a service called iDrive which I was quite happy with.
I am in the process of streamlining my backups. Next week a new lan-based 4tb drive arrives. Once my backups are all done and busted, it is Windows 11 party time. And then WSL.
Thank you :)
On Fri, Oct 21, 2022, at 7:10 PM, Brooklin Myers wrote:

Hmm, fair enough, that's tough!
I recommend making sure anything important is on an external drive or (even better) on the cloud.
Perhaps this would be a good thing to do over a holiday or winter break 🤔
It seems like it's working, for now, hopefully, we won't run into any major issues.
—
Reply to this email directly, view it on GitHub https://github.com/BigSpaces/beta_curriculum/pull/15#issuecomment-1287230198, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3CCQZYDOKSGUWJLEXIXV4DWELFAHANCNFSM6AAAAAARCGMH5I.
You are receiving this because you authored the thread.Message ID: @.***>