Review: More runtime optimization debugging aids

More runtime optimization debugging aids: several new options allow
individual optimizations to be disabled (to quickly narrow down
potential problems when debugging runtime optimizations).
A new "optimize_nondebug" option, when used in conjunction with debug=1
and a named debug_groupname, will cause all the other (not being
debugged) groups to run with full optimization.  This helps speed up
debug runs when comparing one group optimized and not optimized, if
everything else is also unoptimized, the scenes take too long to render.
Also some very minor shifting around of the check for "only_groupname",
so that the stats correctly reflect the number of shader groups that were
fully compiled.
Aside: the "bug" I was chasing for two full days when I implemented these
turned out not to be a bug at all.  But at least I ended up with some more
debugging tools, which will help make the next one easier to find.

LGTM


[Bug] UnboundLocalError: local variable 'response' referenced before assignment

Checklist

[X] 1. I have searched related issues but cannot get the expected help.
[X] 2. The bug has not been fixed in the latest version.

Describe the bug
code coverage issue in /lmdeploy/serve/async_engine.py", line 647
local variable 'response' referenced before assignment
Reproduction
No idea how to reproduce this bug, but it clearly its code coverage issue
Environment
- lmdeploy>=0.4.0

Error traceback
responses = self.pipe(inputs)
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/vl_async_engine.py", line 99, in __call__
    return super().__call__(prompts, **kwargs)
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/async_engine.py", line 325, in __call__
    return self.batch_infer(prompts,
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/vl_async_engine.py", line 85, in batch_infer
    return super().batch_infer(prompts, **kwargs)
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/async_engine.py", line 441, in batch_infer
    _get_event_loop().run_until_complete(gather())
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/async_engine.py", line 436, in gather
    await asyncio.gather(*[
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/async_engine.py", line 423, in _inner_call
    async for out in generator:
  File "/home/epycremote/softwares/envs/PixArt/lib/python3.9/site-packages/lmdeploy/serve/async_engine.py", line 647, in generate
    if not response.endswith('�'):
UnboundLocalError: local variable 'response' referenced before assignment

Please add this line manually according to this pr https://github.com/InternLM/lmdeploy/pull/1513/files and see if it could fix your issue.

This issue is fixed in v0.4.1. May upgrade lmdeploy to the latest version


[JAVA-1771] Add Driver name and version information

@aholmberg Here's a squashed PR.

@dineshjoshi, awesome!  Before we merge the PR, could you please sign the CLA?

@tolbertam @olim7t Dinesh works for Apple - he is already covered by the CLA. @datastax-bot is a liar (:

Closing in favor of #1073; as discussed on the JIRA ticket, we re-implemented this because of CLA issues.


License filter does not follow pagination

Do an explicit CC0 search:

http://openledger-dev.creativecommons.org/?search=puppy&licenses=CC0

Hit 'next' in the pagination link for Flickr

The results are no longer filtered by CC0

Fixed and deployed to both hosts.


Windows update: Don't kill keybase until --kill-kbfs is issued

This fixed the Win7 32 silent update case I found wasn't working today - but note that, unfortunately, those users will have to reboot still because this change is not in the (un)installer they currently have.
@maxtaco @cjb @oconnor663

@zanderz I merged master back to your branch. There was an API change yesterday which is why the CI is failing I think

👍


Improve SEO

Add description and keywords to hub. Any ideas for keywords?
<meta name="description" content="" />
		<meta name="keywords" content="" />
		<meta name="author" content="" />

I'd just api, developers, web services, data, and open source.

Thanks. Done!


View generation

Hi!
We use a lot of xibs that contain only one view (not cell) without owners. What do you think about adding an improvement associated with the creation of such views?
e.g. R.view.customView() instead of using R.nib.customView.firstView(owner: nil).

Good idea!
I looked at a couple of large codebases using R.swift, none of them use R.view.customView() anywhere. It's mostly super.init(nibName: R.view.customView.name, bundle: R.view.customView.bundle) in custom view controllers and a couple of R.nib.customView.firstView(owner: self). Most of our custom views do have owners, but that could be an optional argument to the R.view.customView() function.
If we want to change this though, it would have to be in the next major version R.swift, since it is a source breaking change.

So, I didn't suggest to break current sources. I meant to add a new struct view to R class, which contains methods to create views from xibs. But changing return value of R.nib.customView() also resolves this problem.

Oh right, I didn't read your initial post correctly. I conflated R.nib and R.view :-)
Introducing R.view would indeed work, but it would increase the surface area of the existing R struct which I'm a bit hesitant to do (although not completely opposed to).
However since we have this existing R.nib.customView() function hanging around which presumably is only very rarely used, I'd rather repurpose that instead.

Thanks for you reply. R.nib.customView() is also a good solution as it will minimize our code too.
It will be brilliant if you implement the enhancement in the next major version.

This is now implemented and released in R.swift 5.0.0.alpha.1


Multiple keys not working

Hi, I'm happily using your fork to work with GIthub Enterprise URLs, but running into an issue with multiple keys. The first one seems to work but the second one does not (getting a ERROR: failed to solve: failed to load cache key: failed to fetch remote<EMAIL_ADDRESS>exit status 128 on doing a docker build that should use the second key). Perhaps I'm hitting this one: https://github.com/webfactory/ssh-agent/issues/178.
Wanted to check if I'm doing something wrong and this should work, or if it is not supported.
- uses: ./.github/actions/ssh-agent
      with:
        ssh-private-key: |
              ${{ secrets.FIRST_DEPLOY_KEY }}
              ${{ secrets.SECOND_DEPLOY_KEY }}

So you need to mount the $HOME/.ssh/config into the docker builder so it can identify the correct key to use. You'll have to use the unique repo URLs so that it can identify the correct key. The way this works is by renaming your repo URLs to something unique so that a key can be associated with each repo.


add integrity testing for CSA computation

add integrity testing by creating a segmentation with known diameter, and test various orientation. To avoid issues like #1022.

fixed in 075b706e002f7259d98bc0be0a84f3b0dd311989


whats difference between beaglebone ai and tda2x?

hi, whats difference between beaglebone and tda2x?

The core of beaglebone ai and tda2x is the same, both are dual a15, 2 c66x and 4 eve. Maybe tda2x is also based on AM5729 (I guess). However, their peripheral circuits are not quit the same.

The core of beaglebone ai and tda2x is the same, both are dual a15, 2 c66x and 4 eve. Maybe tda2x is also based on AM5729 (I guess). However, their peripheral circuits are not quit the same.

TDA2x is based on automotive soc Jacinto6 which was a derivation of omap4 approach -> omap3
BBAI is based on industrial soc Sitara family which is a derivation of the omap3 approach
Obviously they are reusing a lot of the same IP cores and solutions, but the ideas stand behind these two SoCs are bit different.

DRA7x, TDA2x and AM57x are all part of the same SoC family with various peripheral and processor options within them.


[BUG] Cant run dev/build

What happened?

I'm not sure why, sometimes it can run normally.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
No response
Relevant log output
No response
(OPTIONAL) Contribution

[ ] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

I'm the same as you, bro.
Apple M1 Pro
16 GB
Sonoma 14.5

node: v22.2.0

v0.88.0 is the same

Same here, tried clearing node_modules, etc. but still have the same issue. Does anyone know what was the latest version that still worked?

same too,  Plasmo v0.88.0

same too, Plasmo v0.88.0

also macos

npm cache clean --force
pnpm store prune
after run two command above, it's ok

The problem disappeared for me once I configured a mirror repository for pnpm, “https://registry.npmmirror.com”

It might be related to the internet status, because when I use a proxy environment, everything is fine

If anyone else is running into this, I get this issue when running on node 22. Running on node 20 and below works for me.

Same for me.
Plasmo v0.89.2
Node v20.15.0
It could be a network problem on my side. The Plasmo build utilizes the 'got' library, and that library doesn't go through an HTTP proxy.


fix a few typos and improve phrasing in GOALS

thx! will merge tomorrow morning (starting to record this week's podcast now)


Added a more precise description to some db fields.

Some IntegerField subclasses share the same description which turn this attribute pretty useless in the end.
The same happens with SlugField which has the same description as the CharField.

Please make sure to create a ticket in Django's Trac, too.

@jezdez It was quite late when I did this I and told myself I would do it today. Btw do you know what command do I have to run in order to update the core PO's ? Does it has to be part of this commit or is it run from the maintainers from time to time and then sent to Transifex?

I'm not sure what those new labels would help the user, to be honest. The implementation details of those fields should not be reflected on the front-end, IMO. But as I said, this isn't not the place to discuss this. Open a ticket and we shall discuss there.

@jezdez opened it https://code.djangoproject.com/ticket/17219


fix(starr): netflix CF should also match NetflixHD in the release title

Pull Request
Purpose
German releases often use NetflixHD in the release title, which is currently not matched by the custom format.
Basically the same as in https://github.com/TRaSH-Guides/Guides/pull/1829
Approach
Added optional HD suffix to the custom format.
Regex Test: https://regex101.com/r/QpfWrs/1
Open Questions and Pre-Merge TODOs
Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

Don't they also use netflixuhd ?

Actually never saw that, so I am not sure, but if you would like, I could optionally add that, too

Actually never saw that, so I am not sure, but if you would like, I could optionally add that, too

yeah just add it, i think i found part of it in the Sonarr source code

Updated regex test:
https://regex101.com/r/QpfWrs/2

@nuxencs could you review this one ?

Thank you, simplicfication still works as expected:
https://regex101.com/r/QpfWrs/3


Skip conda update conda in install script

It seems that updating conda can have some weird side effects
Now it changed how the source activate script works between 4.0 and 4.1 which broke our setup
I think it would be nice to touch the environment as little as possible in the install script so perhaps consider removing this line :)

Unexpected!  I will add add it as a option and set the default to not update!

Done


Add varying support to visual shaders

This PR adds long-awaited (by some users) support for varyings to visual shader.
I tried to do the process of using it really simple.
To create you must use a new dialog called from "Manage Varyings" menu:

Note: That dialog is available only for Spatial and CanvasItem shaders since varyings are impossible to use in other shader modes.
After that you may use VaryingGetter and VaryingSetter nodes to access it.
And to delete you can use the other option in that menu:

Thanks!


Mobile apps: Menu items should be displayed in line

Environment:
iPhone 6 iOS 8.1 Safari
Galaxy S5 Chrome 49.0

@Natallika : just applied #53 . I think it fixes the menu.


[Architecture]: Define/standardize the accepted storage formats in Taqueria

Increasingly, there is a need to determine what formats and representations will be accepted for storage values that are defined or used in Taqueria.
Acceptance criteria

A clear definition of what formats are accepted
An understanding of whether those formats are accepted both in config and as CLI arguments, or one or the other
The expectations/requirements for passing the various formats through the CLI
The JSON schema for config.json updated to support and enforce allowed formats
Documentation of the structure of each supported format
Documentation on defining the storage in config and injecting to cli commands
Reserve any terms we decide on, add them to the glossary, and enforce their unique usage throughout product and docs

Describe the feature you would like

The simulate task should later accept storage formats in different representations, such as JSON (object literals), Micheline, or Michelson Expression (encoded as a string). Essentially, it should accept the same three representations as Taquito does when specifying storage for originating a contract: https://tezostaquito.io/docs/originate
Any of our tasks that are working with storage values should behave consistently, and therefore if storage parameters to be specified as a CLI argument, it should also allow all three representations to be used.
Finally, for consistency, we should perhaps reserve "storage" and "storage-format" as the name for specifying these, where the value for storage-format could be "json", "micheline", and "michelson".

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for creating this issue @jchenche! I've been running into some uncertainty about this recently
At this time, can you or @mweichert give a rundown of accepted formats for specifying initial storage for the following?

In the config.json env initial storage property
At the CLI using the simulate task with the -s flag

Thanks!

Updated this ticket with some additional context as the more I think about it the more there is to consider


[gardening] remove superfluous parentheses in control statements in stdlib source

since this appears to be the convention followed elsewhere in the code base.

@swift-ci please smoke test.

⛵


Feat(compose): skip compose init container when users have one

What type of PR is this?
/kind feature
/kind serving

What this PR does / why we need it:
Feat(compose): skip compose init container when users have one
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @simon-cj @songzhiwei7

Does this PR introduce a user-facing change?:

skip compose init container when users have one

/lgtm

/lgtm


ME Drive Fixture bug

Me drive fixtures are not being seen by storage busses, as a valid inventory.

This is happening to me too. It's a pain because i can't make a compact SSD if they won't read it.


Update Readme and Local Development Guide

Our process has changed a lot and we haven't kept the readme up-to-date. It would also be good to review the wiki pages. I think that it would be hard for a new developer to get started just based on the info we have in the repository.

Closed via #702


[AutoPR maps/resource-manager] chore: jsonfmt maps

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6168

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5585


intersectBed -s fails in some cases - regression since 2.23

I have pairs of beds that are failing to report the correct results when using -s in 2.24. The same files are fine in 2.23. The weird part is that it still works on the (very simple) tutorial case in the doc (A.bed and B.bed) with 2.24.
Here's a small test case that fails and used to work on 2.23 - everything is on the same strand (+) and yet fails with -s, while excluding -s is fine even on 2.24:
A.bed
GeneScaffold_1019	98054	98092	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	98096	98109	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	98111	98133	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	98135	98149	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	99136	99336	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	99337	99385	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	99386	99450	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	99531	100027	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
GeneScaffold_1019	100162	100212	ENSVPAG00000011330	.	+	protein_coding	exon	ZNF691	ENSVPAT00000011330
B.bed
GeneScaffold_1019	99570	99633	1	39.6	+	CSECGKSFSRSSNRIRHERIH
GeneScaffold_1019	99654	99717	1	24.8	+	CPNCEESFRRHSDLTTHQQDH
GeneScaffold_1019	99738	99801	1	40.9	+	CDICGKSFSQSSALAVHYRTH
GeneScaffold_1019	99822	99885	1	29.9	+	CCECGKSFSNSSSFGVHHRTH
GeneScaffold_1019	99906	99969	1	32.9	+	CAECGRTFSDISNFGAHQRTH
GeneScaffold_1019	99990	100053	1	39.1	+	CTQCGKHFSRSSNLIRHQKTH

Have you tried 2.25.? I ask because some changes to the code handling strandedness were made in that version.

This one is fine in 2.25, so I'll close this - I only reverted to 2.24 in the first place because of the other -loj segfault issue.


Animation freezes in android

I am using Android with USB debugging.
And animation, for example, of wrong pin are really laggy and have low fps. In builded app it's a little better, but still.
Can you please optimize animation for better perfomance?

The same issue with Android Emulator and iOS Emulator

Looks like it's ok without the debugger for everyone. So closing it :)

@Haskkor just out of curiousity, how do you debug an application if you can't run the debugger?
I can't enter the pin, the screen is so slow
Double clicking the pin buttons sometimes fires a click event
Triple clicking the pin buttons most of the time will fire a click event
Meaning I can enter about 3 characters of the 4 character pin, but the fourth one is a complete gamble (often the third character enters twice for whatever reason)
Subsequently I can't debug my app at all without hard-coding a pin-screen work-around
Any advice would be appreciated re. debugging an application with this pin screen integrated.

Hmmm, it seems to be usable after some small changes to the setup
As per this S/O question:
https://stackoverflow.com/a/51334853/5334945

I set my Emulator's Clock 1 minute ahead of the PC it's running on
Enabled Developer Options and disabled all animation options possible (probably no effect since it's to do with the Application windows)
disabled Redux Devtools Chrome extension (also probably no effect but just noting)

Now instead of clicks not registering at all, they're just really slow ~ 2-4 seconds delayed, but reliable at least.
Can debug like this :)


[HTTP] [HTTP/2] Performance test for upgrade/downgrade scenarios

Description:
Execute performance test for upgrade and downgrade scenarios. Integrate them into the automation script of https://github.com/ballerina-platform/ballerina-performance/.
Following scenarios need to be tested:

[x] h1c_h2c_client_upgrade [h1c -> h1c_h2c -> h2c]
[ ] h2c_h1c_client_downgrade [h1c -> h1c_h2c -> h1c]
[ ] h2_h1_client_downgrade [h2 -> h2_h2 -> h1]
[ ] h1_h2_server_downgrade [h1 -> h2_h2 -> h2]
[ ] h1c_h2c_server_downgrade [h1c -> h2c_h2c -> h2c]

More info: https://docs.google.com/spreadsheets/d/1KfMXPbXbWIGbRNY4gtljRRIRqabhdUs8DHRLVaCM52k/edit?ts=5c667cb6#gid=279299373

Status:

h1c_h2c_client_upgrade [h1c -> h1c_h2c -> h2c] - https://github.com/ballerina-platform/ballerina-lang/issues/13927

The issue #13927 and #13954 is not reproducible with Ballerina h2c backend. Need to improve netty echo backend [1] in order to support h2 content aggregation for h2c upgrade scenario. Issue [2] is created to track the requirement.
#13953 is get fixed with [3]
[1] https://github.com/wso2/performance-common
[2] wso2/performance-common#25
[3] https://github.com/wso2/performance-common/pull/23


add permissions to docker job

Description
Need to add permissions to the docker job so it has access to the token.  Action is failing.

Fixes pyrsia/pyrsia#1507 action execution
Screenshots (optional)
PR Checklist

[X] I've read the contributing guidelines.
[X] I've read "What is a Good PR?"
[X] I've included a good title and brief description along with how to review them.
[X] I've linked any associated an issue.

Code Contributions

[X] I've run pre-commit.sh (pre-commit.bat) successfully.
[X] I've run the integrations tests
on the PR branch and all tests passes.

Coverage: 50.509%. Remained the same when pulling 1ca5237d8e51d5e59c96c952b62e0e9a301f8e0d on sbtaylor15:actions into ae292172b4fda92c041e5e51248c2fffc4801fc2 on pyrsia:main.


ctrl+shift+c not working with "Terminals in the editor area"

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

VS Code Version:1.58.1
OS Version:Ubuntu 20.04

Steps to Reproduce:

close all integrated terminal
open terminals in editor area by command
use ctrl+shift+c to copy content in that terminal

I believe this is already fixed, can you see if you can reproduce in the Insiders build?

@meganrogge It doesn't seem to be working in insiders build either.

@meganrogge This bug still exists in vscode 1.59.0.
To reproduce this bug, we need to close all terminals opened in classic location.

very specific way to repro:

create terminal editor with command, having never opened a terminal in the panel
select text in the terminal editor -> ctrl + shift + c
paste -> 🐛 nothing was copied


Provide the ability to reset Fail2Ban count and ban flag

This code is in production as a monkey-patch in GitLab v7.10, and I thought it would be helpful for others.
Closes #113

@ktheory Thoughts?

@stanhu: thanks for the nudge. :smile:
This feature looks useful & I'd like to merge it in.
Could you please add some tests for the Cache#reset_count and Cache#delete methods? I want to make sure those work across the various cache stores.

@ktheory: Thanks, done. There was already a test for delete, although this monkey patch seems necessary for the test only?
https://github.com/kickstarter/rack-attack/blob/919976cb640c79163796b1e9290165e58f2c7748/spec/integration/rack_attack_cache_spec.rb#L4

@stanhu Awesome! Thanks so much. I aim to release version 4.3.0 with this change this afternoon.

@stanhu Just pushed v4.3.0. Thanks for all your improvements recently. You're list release's MVP. :smile:

@ktheory Thank you for being so responsive and creating/maintaining Rack Attack! I'm very happy I can remove the monkey patches now. :)


Lexical Quick Start (Vanilla JS) Typo

import {$getRoot, $getSelection, $createParagraphNode} from 'lexical';

// Inside the `editor.update` you can use special $ prefixed helper functions.
// These functions cannot be used outside the closure, and will error if you try.
// (If you're familiar with React, you can imagine these to be a bit like using a hook
// outside of a React function component).
editor.update(() => {
  // Get the RootNode from the EditorState
  const root = $getRoot();

  // Get the selection from the EditorState
  const selection = $getSelection();

  // Create a new ParagraphNode
  const paragraphNode = $createParagraphNode();

  // Create a new TextNode
  const textNode = $createTextNode('Hello world');

  // Append the text node to the paragraph
  paragraphNode.append(textNode);

  // Finally, append the paragraph to the root
  root.append(paragraphNode);
});

there is no $createTextNode in importing line. please update code like this.
import {$getRoot, $getSelection, $createParagraphNode, $createTextNode} from 'lexical';

// Inside the `editor.update` you can use special $ prefixed helper functions.
// These functions cannot be used outside the closure, and will error if you try.
// (If you're familiar with React, you can imagine these to be a bit like using a hook
// outside of a React function component).
editor.update(() => {
  // Get the RootNode from the EditorState
  const root = $getRoot();

  // Get the selection from the EditorState
  const selection = $getSelection();

  // Create a new ParagraphNode
  const paragraphNode = $createParagraphNode();

  // Create a new TextNode
  const textNode = $createTextNode('Hello world');

  // Append the text node to the paragraph
  paragraphNode.append(textNode);

  // Finally, append the paragraph to the root
  root.append(paragraphNode);
});

Feel free to put up a PR with this fix :)

Looks like this was fixed in #1891


Changes to support other extensions

Closes #3280

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/3754/azure-dev-0.9.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/3754/azure-dev-0.9.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/3754/azure-dev-0.9.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


How do I install google or tools in Windows 10 ?

The steps are not clear to understand in the google site.

Hi Krishna,
Can you tell us what's confusing you?
Jon
On Tue, Sep 6, 2016 at 2:00 AM, Krishna2810<EMAIL_ADDRESS>wrote:

The steps are not clear to understand in the google site.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/245, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoiW7rhi4bF46wXzSue1Z9CsqpEQ6YTks5qnQFsgaJpZM4J1fQX
.

I don't know where should I start my installation process.Can you give me the instructions for Windows ?

https://developers.google.com/optimization/installing
I did it in python. Find the heading, "The python or-tools distribution". In the first instruction it says windows users should opt for the zip archive. In parentheses, there are two links. One link is the zip archive. Download that and follow the rest of the instructions.

Hi,
Is the same for C++ as well ?
Thanks
Krishna
On Tue, Sep 6, 2016 at 9:43 PM, aoge<EMAIL_ADDRESS>wrote:

https://developers.google.com/optimization/installing
I did it in python. Find the heading, "The python or-tools distribution".
In the first instruction it says windows users should opt for the zip
archive. In parentheses, there are two links. One link is the zip archive.
Download that and follow the rest of the instructions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/245#issuecomment-244953978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVABZeghve5foGtlcNoYrEwuf_KCNJk5ks5qnW4KgaJpZM4J1fQX
.

--
K. A. K

Hi Krishna,
To use C++ binaries, choose the right distribution from here (in your case, it's Visual Studio 2015 or Visual Studio 2013). Then, you should be able to run C++ examples as shown in this section.
You may want to check this known issue when you run the examples.
I hope this helps. If something stills confusing you, feel free to ask more questions.
Regards,
Driss

Too old -> close
For the record documentation is here: https://developers.google.com/optimization/introduction/installing/binary


Yosys-generated net names should be more helpful

Feature Description
Yosys currently generates instances with names such as _088150_ or _088111_. These names lack any sort of context as to what they are, where they came from, or indeed what they are instances of.
Yosys should generate instance names that are more useful.
This was originally identified in https://github.com/The-OpenROAD-Project/OpenLane/issues/1574

This is fixed by using the autoname step.


fix: Update copyright holder's name to EddieHub

What does this PR do?

Update copyright holder's name to EddieHub

Description of the task to be completed?
None.
How can this be manually tested?
I don't think this applies here.
Any background context you want to provide?
No.
Is there any relevant issue to this PR?
As far as I know, nope.
Questions
None.

As mentioned in another PR I`m not sure if EddieHub is a legal entity we can use here @eddiejaoude could you clarify this?

EddieHub is not a legal entity, but I think it would be better than what there is now. We should probably update and then look into this further. Thank you all for updating and checking 👍


How to use a new graph-level scheduling method in the MLIR project？

We want to test the performance of a new graph-level scheduling method by MLIR, how do we do it?
Do we need to build a new Dialect by ourselves?If yes, where should this dialect be, is it on top of the Affine dialect?

@XuZheng2000 are you sure you did not ment to address this question to the MLIR community? Here we are using MLIR to lower ONNX graphs. We inherit all properties from MLIR, so any new optimizations found there are eventually available within this project as well.


Touchpad scrolling = Lag

Visual Studio lags every time I open it. Going into full-screen mode then going back fixes it but this is really annoying.
Steps to Reproduce:

Open a file with visual studio
Lag happens
Go into full-screen mode
Go back to windowed mode
Lag is gone
(Lag doesn't happen while in full-screen mode either)

Reproduces without extensions: Yes/No
Edit: Added the workaround:
Workaround: Restore/Maximize or resize the VS Code window
image

Known issue that can be worked around by configuring: window.smoothScrollingWorkaround: true


How to install on HAOS X86?

Sorry for the dumb question but I just can't seem to figure out how to install this addon.  I am running a small HP computer using HAOS X86-64 and I can't find this addon via the GUI and I don't see any instructions on how to install it.  Any help would be apprecieated.

It may not be supported by your setup.  See https://www.home-assistant.io/installation/#compare-installation-methods


[rss provider] Images break the layout

Images referenced in RSS feeds are not scaled to match the column width and overlap with the other column, rendering the contend "not so good readable".
Example RSS feed used: https://vietnamnews.vn/rss/world.rss
See rendered PDF:
Goosepaper.pdf

omg that's so bad, I'm sorry!  I'll look into this right away! perhaps @sterlingbaldwin may have encountered this issue as well?

Just pushed a change, let me know if that fixes your problem and I'll close this issue :) tested it with your RSS feed and it appears to be solved but want to make sure it's working for you!

He doesn't even deserve to have the ONE column, and CERTAINLY not two!!
 Please let me know if you ever encounter any trouble, I love hearing about these success stories! :D


Add Gender by DOB

@vivekiitkgp

This is matplotlib plot, the code is directly taken from the IPython in the wigi repo.


Expose exit codes of pod/containers in template parameters

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
Expose exit codes of pod/containers in template parameters
It's fairly common to run "tests" of some type in workflows. For example, when using workflows to deploy code, you might have a step to check a CI Server to make sure that a build has passed all builds. This kind of test can fail for different reasons. It might fail because the tests failed, or it might fail because there is a network issue that prevents the pod from communicating with the ci server.
In cases like this, there might be different error paths depending on the exit code. It would be helpful to expose that exit code as an Argo variable. You would probably have to expose it as a map since a pod can have multiple containers:
{{tasks.ci-test-check.exit_codes.main}}
or
`{{steps.ci-test-check.exit_codes.sidecar}}

I'd like to start with containers, e.g. step|task.[name].outputs.exitcode much as there are outputs.result.

I think this is fixed. Re-open if not.


Add second msdeploy instance in AzureRmWebAppDeploymentV3

Task name: AzureRmWebAppDeploymentV3
Description: This change copies the MSDeploy executable into the webdeployment-common folder. This introduces 2 instances of this executable, which is apparently what we previously had - the owning team should follow up with a pr to fix that since this is definitely redundant.
Documentation changes required: N
Added unit tests: N
Attached related issue: Y - Fixes #13566
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

@aksm-ms Please you also review this PR since you have more context of this task.


Deploy to Heroku: Migrations fail from master branch

What I'm trying to achieve
I just pulled new changes and merged to my repo https://github.com/umrashrf/hiemstore
Steps to reproduce the problem

Deploy to Heroku

What I expected to happen
Successfulll Heroku Build and Release
Screenshots

Operations to perform:
  Apply all migrations: account, auth, checkout, contenttypes, discount, django_prices_openexchangerates, django_prices_vatlayer, giftcard, impersonate, menu, order, page, payment, product, sessions, shipping, site, sites, social_django
Running migrations:
  Applying order.0048_auto_20180629_1055... OK
  Applying order.0049_auto_20180719_0520... OK
  Applying order.0050_auto_20180803_0528... OK
  Applying order.0050_auto_20180803_0337... OK
  Applying order.0051_merge_20180807_0704... OK
  Applying order.0052_auto_20180822_0720... OK
  Applying order.0053_orderevent... OK
  Applying order.0054_move_data_to_order_events... OK
  Applying order.0055_remove_order_note_order_history_entry... OK
  Applying order.0056_auto_20180911_1541... OK
  Applying order.0057_orderevent_parameters_new... OK
  Applying order.0058_remove_orderevent_parameters... OK
  Applying order.0059_auto_20180913_0841... OK
  Applying order.0060_auto_20180919_0731... OK
  Applying order.0061_auto_20180920_0859... OK
  Applying order.0062_auto_20180921_0949... OK
  Applying order.0063_auto_20180926_0446... OK
  Applying order.0064_auto_20181016_0819... OK
  Applying checkout.0009_cart_translated_discount_name... OK
  Applying checkout.0010_auto_20180822_0720... OK
  Applying checkout.0011_auto_20180913_0817... OK
  Applying checkout.0012_remove_cartline_data... OK
  Applying checkout.0013_auto_20180913_0841... OK
  Applying checkout.0014_auto_20180921_0751... OK
  Applying checkout.0015_auto_20181017_1346... OK
  Applying payment.0001_initial... OK
  Applying payment.0002_transfer_payment_to_payment_method...Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 234, in handle
    fake_initial=fake_initial,
  File "/app/.heroku/python/lib/python3.7/site-packages/django/db/migrations/executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/db/migrations/executor.py", line 245, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/db/migrations/migration.py", line 124, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/app/.heroku/python/lib/python3.7/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/app/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py", line 146, in transfer_payments_to_payment_methods
    charge_status=get_charge_status(pay),
  File "/app/saleor/payment/migrations/0002_transfer_payment_to_payment_method.py", line 27, in get_charge_status
    if payment.get_charge_amount() <= 0:
AttributeError: 'Payment' object has no attribute 'get_charge_amount'

System information
Operating system: Ubuntu 18.04.2 LTS
Browser: Brave, Version 0.68.86 Chromium: 75.0.3770.100 (Official Build) dev (64-bit)

Hi, at #4402 you will find a patch for that issue. Thank you!


added a reference to an Angular integration example on README

Description
Added a reference to README to an Github repo that shows how to integrate Shaka Player with Angular
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update
[ X] Slight change to the README.md of the project

Checklist:

[ X] I have signed the Google CLA https://cla.developers.google.com
[ X] My code follows the style guidelines of this project
[ X] I have made corresponding changes to the documentation
[ X] I have added tests that prove my fix is effective or that my feature works
[ X] I have verified my change on multiple browsers on different platforms
[ X] I have run ./build/all.py and the build passes
[ X] I have run ./build/test.py and all tests pass

@googlebot I fixed it.


Title CSS class does not work in Footer

I am passing the title through the metadata. I have identified that the title is properly being set on the document properties, but I cannot get the title to display on the footer.
See html below:

See C# code:
  var metadata = "{ \"Title\": \"My Document Title\", \"Subject\": \"Subject1\" }";

  formData.Add(new StringContent(metadata), "metadata");

Hello @dxp148 👋
Does it work with the <title> HTML tag?

Hi Gulien,
Thank you so much. This did work, but I must admit that this is confusing as the other fields like url, pageNumber, and totalPages all follow a pattern of using the  tag.
Maybe their should be an example in the documentation if it breaks this pattern.

The <title> tag should actually be inside a  tag, e.g.:
<!DOCTYPE html>

  <title>HTML Elements Reference</title>

This is a heading

This is a paragraph.

Please feel free to reopen this issue if necessary 👍

Hi @gulien,
Sorry to reopen this, but the title is still not working. I need to be able to pass dynamic data to the footer. The title will differ between prints.
I was hoping that I could make use of the metadata as a way to pass dynamic data into the footer.

Hey @dxp148,
Not sure I can do much alas. If you want dynamic data, a solution could be to use the /forms/chromium/convert/url endpoint with your own frontend/backend, and send data though the custom HTTP headers feature.

Thank you for the help. I guess I would suggest that this could be a good enhancement.
The API calls are already there to pass metadata to the document; which I have already verified. So I feel like this enhancement would just be a matter of routing the data to the footer and header if the tags are present.

Actually, metadata are a "post conversion" process, so it cannot be used to provide dynamic data to a HTML document.


Bug Report mac 下编译运行后无阴影

Describe the bug | Bug描述
做作业2时发现无阴影显示

main分支: 2198ac47f6f5266d5fe8eee0a2a28435f0573a4b

群里的同学window下是有阴影

Desktop | 桌面环境

OS: macOS
Version Bug Sur 11.6.2
CPU Intel
GPU AMD Radeon Pro 5300M
Memory 32GB
Compiler Clang13

Thx very much for the report, we will investigate this bug

Thx very much for the report, we will investigate this bug

For some configuration shadowmaps are disabled. I'm not sure the reason behind it but this seems to be the cause of the problem.


Clean dependencies and remove mordred deps

Changelogs

Remove the mordred dependencies. It is unused and mordred is also unmaintained for a while and not compatible anymore with the latest versions of NumPy.
Cleanup the env.yml file to clearly separate optional from mandatory dependencies.

Checklist:

[x] Was this PR discussed in an issue? It is recommended to first discuss a new feature into a GitHub issue before opening a PR.
[ ] Add tests to cover the fixed bug(s) or the new introduced feature(s) (if appropriate).
[ ] Update the API documentation is a new function is added, or an existing one is deleted.
[x] Write concise and explanatory changelogs above.
[x] If possible, assign one of the following labels to the PR: feature, fix or test (or ask a maintainer to do it for you).

@DomInvivo for context we have removed mordred from molfeat as well.

@hadim one minor comment. Let me know when you want to merge


AzureSecurityBaseline override parameters

How can I override specific parameters of the AzureWindowsBaseline guest configuration? I have a VM that requires a local user group with log on locally permission and don't wish to add those users to the Administrators group.

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

ID: 36e91b66-2b15-07ec-9e94-388e7355c3eb
Version Independent ID: 2e540fb7-028e-acaf-4f56-3997e21d3d8c
Content: Create a custom profile in Azure Automanage for VMs
Content Source: articles/automanage/virtual-machines-custom-profile.md
Service: automanage
GitHub Login: @ju-shim
Microsoft Alias: jushiman

@a-hackw
Thanks for your feedback! We will investigate and update as appropriate.

@a-hackw The capability that you are looking for is not possible today. However, it is on our roadmap. We will update the appropriate document when its implemented. If there are further questions regarding this topic, please do let us know and we will gladly continue the discussion. Thank you.


Crashed: com.apple.root.default-qos EXC_BAD_ACCESS KERN_INVALID_ADDRES

Got this crash when doing app test (with iOS version 11.2.6 and 11.2.2 both). Can anyone tell me what is going wrong please?
Crashed: com.apple.root.default-qosEXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x6d6f632e6b6f6f6a Raw Text
this is crash log
#3. Crashed: com.apple.root.default-qos
0  Foundation                     0x185e70600 __NSOQSchedule + 380
1  dtm                            0x1027d180c -[RNFetchBlobNetwork init] (RNFetchBlobNetwork.m:113)
2  dtm                            0x1027d7fd4 __65-[RNFetchBlob fetchBlob:taskId:method:url:headers:body:callback:]_block_invoke (RNFetchBlob.m:131)
3  dtm                            0x1027d60cc __85+[RNFetchBlobReqBuilder buildOctetRequest:taskId:method:url:headers:body:onComplete:]_block_invoke (RNFetchBlobReqBuilder.m:178)
4  libdispatch.dylib              0x184e16a54 _dispatch_call_block_and_release + 24
5  libdispatch.dylib              0x184e16a14 _dispatch_client_callout + 16
6  libdispatch.dylib              0x184e52394 _dispatch_queue_override_invoke$VARIANT$armv81 + 700
7  libdispatch.dylib              0x184e582a4 _dispatch_root_queue_drain + 568
8  libdispatch.dylib              0x184e58008 _dispatch_worker_thread3 + 112
9  libsystem_pthread.dylib        0x1850bf06c _pthread_wqthread + 1268
10 libsystem_pthread.dylib        0x1850beb6c start_wqthread + 4

devEnv
"react": "16.0.0",
"react-native": "0.54.2",
"react-native-fetch-blob": "^0.10.8",

May be this is relate to #499.So close this for now.

@lizouzt Have you fixed it somehow?

@pkantsedalov
Down there fixed some of this crash. But i've remember it's should be published on V.0.10.9, not sure.
RNFetchBlobNetwork.m

- (id)init {
    self = [super init];
    if(taskQueue == nil) {
        /***************** those two *****************/
        // taskQueue = [[NSOperationQueue alloc] init];
        // taskQueue.maxConcurrentOperationCount = 10;
        /****************** change to ****************/
        @synchronized ([RNFetchBlobNetwork class]) {
            if (taskQueue == nil) {
                taskQueue = [[NSOperationQueue alloc] init];
                taskQueue.maxConcurrentOperationCount = 10;
            }
        }
    }
    return self;
}

@lizouzt Thank you for the snippet.
Have you already used V.0.10.9?  I see that it's a tag, not yet an official version, so a bit afraid of its usage.


Wrong links for pager

When CI is running from a subdirectory, the pager links are incorrect and missing the subdirector(ies) in URI.
CodeIgniter 4 version
4.0.0-beta.2
Affected module(s)
PAGER
Expected behavior, and steps to reproduce if appropriate
Base url: http://mysite.com
CI in subfolder "ci/v4", so final url for site is "http://mysite.com/ci/v4/"
In view, calling "$pager->links()", using all other default settings, pagination links are:
2
and should be:
2
In my app.php AND .env file, I have app.baseURL set to "http://mysite.com/ci/v4/
If I run $page->setPath( 'ci/v4//' ) prior to output, then it is correct. but it hardcodes the uri which isn't desirable.
Context

Mac OSX 10.12.6
Apache 2.4.29
PHP 7.2.17

Pagination does not use the baseURL property.
It is instead based on the current URL, i.e. the page you are on when the links are requested.
I have added additional unit tests to show that this is working as intended.


Update React Fragment link to latest React docs

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[ ] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: Redux Essentials, Part 3: Basic Redux Data Flow
Page: this

What is the problem?
the link refers to old React docs
What changes does this PR make to fix the problem?
updates the link to the latest React dev docs

Thanks!


chore(styleguidist): upgrade styleguidist to 13

Upgrading styleguidist to the latest version.
See: https://react-styleguidist.js.org/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"Test (sandbox) api credentials" doesn't validate PayPal Merchant ID

Used Shopware Version: <IP_ADDRESS>
Description: "Test (sandbox) api credentials" doesn't validate PayPal Merchant ID
Environment: Both test and live
Steps to reproduce:

Onboard or enter client id and secret.
Change merchant id to a valid string that doesn't match the client id
Click the "test api credentials" button.
See the result

Expected result:

a falsy merchant id value leads to invalidation of the form field.
Ideally, an error message is shown. working draft: "the merchant id provided is incorrect or does not match with the given client id. A merchant id is needed to evaluate availability of payment methods as well as for credit card payment processing."
Get merchant status call is triggered and http status code needs to be in the range of 2XX to pass form validation.

Actual result:

check mark is shown, indicating everything will be set up correctly.
However, capability validation cannot be performed. ACDC initialization fails.
Get merchant status call returns 4XX, but result is ignored.

Side note: this has been identified when using multiple sales channels with varying PayPal accounts.
Point of contact for context and questions: Torsten (PayPal)
[Screenshot%2B2024-07-25%2Bat%2B20.07.53.png|https://sbp-issuetracker-attachments.s3.eu-west-1.amazonaws.com/1721930922_66a294aaf406d_Screenshot%2B2024-07-25%2Bat%2B20.07.53.png]

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/PPI-958.
[created from PPI-958, comment 487055]


How to realize a login?

I plan to login via Twitch.
I have a login view.
    public function login()
    {
        return view('auth.login', [
            'authorize_url' => $this->twitch->getOAuthAuthorizeUrl($responseType = 'code')
        ]);
    }

I can get the code.
    public function callback(Request $request)
    {
        Log::info($request->code);
    }

But how do I get the information like email address, Twitch username & Twitch-ID from this user?

You can obtain the OAuth Access & Refresh Token using the Twitch::getOAuthToken($code) method. This is also documented on the Twitch Dev Docs page.
Although, I would recommend using Laravel Sociliate with the new Socialite Twitch Provider for handling OAuth.

With this package and socialite the message: "invalid client secret" appears again and again. And this one is just like on Twitch. I've checked all the data a thousand times.
I don't know what's wrong with Twicht or what I should do about it.

This package (Laravel-Twitch) comes with the follwing env variables:
TWITCH_HELIX_KEY=
TWITCH_HELIX_SECRET=
TWITCH_HELIX_REDIRECT_URI=http://localhost

You have to change the following from the 4. Configuration setup tutorial to make the Twitch Socialite Provider compatible with Laravel-Twitch:
From:
'twitch' => [
    'client_id' => env('TWITCH_KEY'),
    'client_secret' => env('TWITCH_SECRET'),
    'redirect' => env('TWITCH_REDIRECT_URI')
],

To:
'twitch' => [
    'client_id' => env('TWITCH_HELIX_KEY'),
    'client_secret' => env('TWITCH_HELIX_SECRET'),
    'redirect' => env('TWITCH_REDIRECT_URI')
],

Thus the Twitch Socialite Provider uses the same credentials as for Laravel-Twitch.

I had that first. Twitch keeps telling me that my client secret is wrong. Even with Postman. Other APIs (Facebook, Google, Steam etc) run without problems, just not theirs.


Mixtral weights to MLX

Hi,
First of all thank you so much for introducing mlx.
I was looking at the Mixtral convert.py code and I think that line 19
state = torch.load(str(model_path / "consolidated.00.pt"))
should be
state = torch.load(str(model_path / "consolidated.00.pth"))
Combine part from readme:
cd mixtral-8x7b-32kseqlen/
cat consolidated.00.pth-split0 [...] consolidated.00.pth-split10 > consolidated.00.pth

Fixed in https://github.com/ml-explore/mlx-examples/pull/84

Sorry about that !


Monitor the resource over HTTP(s) proxy

Is your feature request related to a problem?
When need to monitor a resource over a different or private network than the server, we are not able to proxy at the monitoring resource level.
Describe the solution you'd like
Simply, proxy support of axios we could provide this functionality. With proper configuration steps at the monitor resource level, we get proxy configuration from the user and implement recorded proxy config for HTTP(s) requests.
Related request section
// server/model/monitor.js#L13
let res = await axios.get(this.url, {
    timeout: this.interval * 1000 * 0.8,
    headers: {
        "Accept": "*/*",
        "User-Agent": "Uptime-Kuma/" + version,
    },
    httpsAgent: new https.Agent({
        maxCachedSessions: 0,      // Use Custom agent to disable session reuse (https://github.com/nodejs/node/issues/3940)
        rejectUnauthorized: ! this.getIgnoreTls(),
    }),
    maxRedirects: this.maxredirects,
    validateStatus: (status) => {
        return checkStatusCode(status, this.getAcceptedStatuscodes());
    },
});

Related axios request config
  // `proxy` defines the hostname, port, and protocol of the proxy server.
  // You can also define your proxy using the conventional `http_proxy` and
  // `https_proxy` environment variables. If you are using environment variables
  // for your proxy configuration, you can also define a `no_proxy` environment
  // variable as a comma-separated list of domains that should not be proxied.
  // Use `false` to disable proxies, ignoring environment variables.
  // `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and
  // supplies credentials.
  // This will set an `Proxy-Authorization` header, overwriting any existing
  // `Proxy-Authorization` custom headers you have set using `headers`.
  // If the proxy server uses HTTPS, then you must set the protocol to `https`.
  proxy: {
    protocol: 'https',
    host: '<IP_ADDRESS>',
    port: 9000,
    auth: {
      username: 'mikeymike',
      password: 'rapunz3l'
    }
  },

Describe alternatives you've considered
IMO, this function should provide in uptime-kuma and at the monitor resource level. Also, if all monitor resources should work on a different network, a system-wide proxy or VPN could be an alternative option.

If this feature is approved for development, I could create a PR for implement 🚀

It is likely to be many-to-one.

one monitor has one proxy config
one proxy config can be used in multiple monitors

Thank you for your review @louislam
Agree, it is will be better to design like this. If you think this is a valuable addition to the uptime kuma, I can create a draft PR then start to develop this feature. So we can review and fine-tune the feature from PR to get it better.

Welcome!
But I suggest that you should test the proxy property first before implementing the feature, as it may conflict with httpsAgent.

Thank you very much, I'll double check on this 👮🏻♂

Hey @louislam,
I have created a PR for proxy support. Like your foresee, I have encountered issues when using proxy directly with axios, added new HTTP and HTTPS agents as a solution from proxy-agent  library. They allow us to use proxied HTTP/S agents and solves connection issues with proxied HTTPS requests.
I have tested proxied HTTP and HTTPS request and proxy management operations like create, delete, export, import, etc they are working like expected.
Kindly request your reviews  🚀


Error in creating annotation object for CNV.fit

I created a MSet combining EPICv2 with EPICv1 and/or 450K.
I created different annotation using CNV.create_anno with different array types  - "EPICv2"/"EPIC"/"450k"/"overlap"
The overlap options seem to be valid for overlap between EPIC and 450K only.
Whenever I run CNV.fit, it just shows this error:
Error in .local(query, ref, anno, ...) :
query intensities not given for all probes.
Any step-by-step tutorial how I can get rid of this as an end-user?
Thanks.
Best Regards,
Max

Hi I'm not involved with the conumee team but I had the same issue so I'm taking the liberty to answer. In my case, I had to select the probes that were in both the controls and the sample to analyse using:
anno@probes<- anno@probes[(anno@probes@ranges@NAMES %in% rownames(c.data@intensity)) & (anno@probes@ranges@NAMES %in% rownames(d.data@intensity))]
with c.data beeing the controls adter cnv.load and d.data being my sample.
I hope it helps

Thanks for your answer related to cnv.fit. I have been trying to run conumee2.0 with EPICv2 without any success.
With you suggestion, I am able to create cnv.fit but it fails in cnv.segment. The error is :
Error in if (min(weights) <= 0) stop("all weights should be positive") :
missing value where TRUE/FALSE needed
My assumption is eventhough we are subsetting the probes in annotation object by matching probes from control set and data but actual bins which are created while constructing the annotation remain same.
So is there any way I change the bin in annotation object for EPICv2 matching both control and data.
Please suggest,
Thanks.

Indeed this is my mistake, subsetting the probes is problematic. apparently, an updated version of the conumee vignette should come out very shortly, hopefully it will make it clearer

Hi, thank you for reaching out! We released an update to our package that addresses this issue. Please see the Quick Start Guide for details.
I assume that your query cohort comprises IDATs from multiple array generations (EPIC, EPICv2 and 450k), correct? Please specify anno <- CNV.create_anno(array_type = c("450k", "EPIC", EPICv2"). Subsequently, load the IDATs for every array type separately with the SeSAMepackage and use the resulting CNV.data objects for CNV.fit(). After that, you can combine the objects with CNV.combine(). In case you still want to subset the probe set, you can do so with CNV.create_anno(features = ...).
I hope our tutorial is helpful for your analysis.
Best regards,
Bjarne


Fix: Gradient Accumulation issue

Tests the upstream changes in transformers for GA fix and compare results.
Description

TODO:

[ ] Check if Mamba Trainer needs to update loss
[ ] Check if Orpo Trainer needs to update loss

Wait for:

[ ] New transformers release

Motivation and Context

How has this been tested?

Testing and comparing loss in wandb.
Screenshots (if appropriate)
Types of changes

Social Handles (Optional)

also ran a manual check against https://github.com/axolotl-ai-cloud/axolotl/actions/runs/11418424220

@NanoCode012 I think we need to do some test runs and also verify the unsloth cross entropy loss since we had to swap that

I upgraded trl to the latest versions too for this, but seems like there are some changes that are breaking DPO

@NanoCode012 something isn't quite right with this PR, the loss for 8b with sample packing starts @ ~10

I'll do some tests and report back. I'll move this to Draft in meantime.

@NanoCode012 upgrading to the transformers release that was pushed out today fixes the issue. I added a test too for a tiny model that also validates the loss

waiting on mulitgpu tests too here https://github.com/axolotl-ai-cloud/axolotl/actions/runs/11520374143


Provide away to set order of auto-completes to my preference

please complete the following information:

OS version: Linux MInt 21.10
Editor version:  1.56.0
Programming language: Ruby 2.6.8
TabNine extension version: 4.0.7

If the issue is related to TabNine failure, please provide log files:
Type TabNine::config in your editor, the logs are located at the bottom of the page.
Issue Details:
How to I tell my editor to prefer my shortcut over TabNine's decision ?
Simple example until recently I would type pry and tab would auto-complete to binding.pry.
Recently it now shows 2 other TabNine results before pry see screenshot below

gz#8049

any updates on this?


Configurable payload read - Validated

Enables an app to specify payload update frequency, in addition to default HERALD payload reads
This enables app developer to choose the balance between security (more frequent payload updates reduces continuity and battery life) and performance (less updates increases continuity and battery life)
Set BLESensorConfiguration.payloadDataUpdateTimeInterval to define minimum update interval
Set value to TimeInterval.never (default) to disable feature and adopt HERALD approach which minimises payload reads for maximum performance
Tested on iPhone 6S, iPhone 6 Plus, Google Pixel 2, Samsung J6 (non-advertising), Samsung A20 (frequency address change)
Test shows small (circa 3%) impact on continuity

Closes #12
Signed-off-by: c19x<EMAIL_ADDRESS>

@c19x Please add copyright statements and license SPDX info to the top of Interactions.java and StatisticsDidRedLog.java


Possible Typo in IAM Policy for 07_Agents/insurance_claims_agent/without_kb/create_and_invoke_agent.ipynb

In the section Create Lambda function for Action Group of 07_Agents/insurance_claims_agent/without_kb/create_and_invoke_agent.ipynb there is an IAM policy document:
    assume_role_policy_document = {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Action": "bedrock:InvokeModel",
                "Principal": {
                    "Service": "lambda.amazonaws.com"
                },
                "Action": "sts:AssumeRole"
            }
        ]
    }

This contains a duplicate key Action. Based on the name and how python handles duplicate keys within dictionaries, I imagine it is supposed to be:
    assume_role_policy_document = {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Effect": "Allow",
                "Principal": {
                    "Service": "lambda.amazonaws.com"
                },
                "Action": "sts:AssumeRole"
            }
        ]
    }

but am not sure. Please clarify. Thank you!

This typo is also present in here:

us this still relevant in our new structure @mttanke ?

@mttanke can you take a look


Improve error message for wrong number of arguments

I think Error message for arguments validation failure could be improved here:
https://github.com/charto/nbind/blob/78e748a75b7b1011eab6e0311e6010fb17e470e4/include/nbind/signature/BaseSignature.h#L181
It actually throw an Error, it could be better to make it throw a TypeError.
It could also be useful to add expected number of arguments to the message.
I could change this in a PR if you agree...

Agreed. That applies also to several of the "Type mismatch" errors. Also run npm test, a few tests check the exact error message thrown so the test should be changed to match the improved error.


Not clear how to use styled-components with third-party react libraries

I'm using for a new project reactboilerplate and AntD as ui kit. And when using some components from AntD, I cannot find in the docs the appropriated way to style the components. Here's an example:
I'm using the upload element from AntD
<Upload
  className="avatar-uploader"
  name="avatar"
  showUploadList={false}
  action="/upload.do"
  beforeUpload={this.beforeUpload}
  onChange={this.handleChange}
>
  {imageUrl ?
     :
    <Icon type="plus" className="avatar-uploader-trigger" />
  }
</Upload>

which produces the following HTML tree

      <input type="file" accept="" style="display: none;">

I've created a StyledUpload element but, I'm not sure this is the right approach:
const StyledUpload = styled(Upload)`
      display: block;
      border: 1px dashed #d9d9d9;
      border-radius: 6px;
      cursor: pointer;
      > div {
        min-height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
`;

Are you using your styled component afterwards? i.e.
< StyledUpload
  className="avatar-uploader"
  name="avatar"
  showUploadList={false}
  action="/upload.do"
  beforeUpload={this.beforeUpload}
  onChange={this.handleChange}
>
  {imageUrl ?
     :
    <Icon type="plus" className="avatar-uploader-trigger" />
  }
</StyledUpload >

@IljaDaderko yes, that's the point (I guess 😅). I use it and I made it work, but to me - and maybe to newcomers like me - it's not quite clear if this is the right way to style this kind of components.

@bitIO I know, It took me a good day of playing around with styled components to get this, but once you do, this approach to styling is very very very powerful!

We will update the documentation with v2 for using normal (and external) components, which will hopefully also resolve the whole className confusion.
Thanks for pointing this deficiency out!


Create a basic landing page containing a form with labels and inputs for username, blog title, and blog content.

Create a basic landing page with the three inputs in the file index.html

Activity done


[Bug] Log spam from net.emilsg.clutter.world.spawner.NetherAnimalSpawner

As of version 0.5.4, while in the Nether, a single number is constantly printed to the game's log - any of 0, 1, 2, etc.
I believe this is due to the following (debug?) line in net/emilsg/clutter/world/spawner/NetherAnimalSpawner (found via BadStdOut + decompilation):
System.out.println(passiveMobCount);

That probably shouldn't be there.

Thanks, I will patch this right away.


Allow prerelease DiagnosticSource package

Fix dependency version for DiagnosticSource: there is no stable 4.4.0 version yet

@lmolkova,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

You may want to reference specific version of DiagnosticSource (pre-release) to make sure that changes in DiagnosticSource on its way to release won't fail SDK builds in case or the broken backcompat. Otherwise builds will always pick up the latest available pre-release and it may not be compatible or may break some scenarios unexpectedly.

I'm monitoring any changes in DiagnosticSource and it's also quite important to know that some changes there break compatibility with AppInsights, sooner we know about it the better 👍

@SergeyKanzhelev @Dmitry-Matveev
Hey, could you please merge it? Without it it's not possible to install fresh AI nuget, because it depends on something that does not exist yet.
me and @karolz-ms are blocked on it

I'll kick off the signed build in a sec

@SergeyKanzhelev  Thanks!


HTML CSS comment syntax active beyond scope

VSCode Version: 1.19.1

CSS comment within HTML document extends outside of style section.
Steps to Reproduce:

Enter /* within style tags in an HTML document

Example:

duplicate of #20488


failed Curation tasks in processes overview page are listed with status COMPLETED

Bug Description
The status of a (failed) curation task that ends with status CURATE_ERROR or CURATE_FAIL is shown as COMPLETED in the Processes Overview.
Steps to reproduce the bug

Create a simple curation task:

package org.dspace.ctask.general;

import org.dspace.content.DSpaceObject;
import org.dspace.curate.AbstractCurationTask;
import org.dspace.curate.Curator;

public class FailedCurationTask extends AbstractCurationTask {

    @Override
    public int perform(DSpaceObject dso) {
        return Curator.CURATE_ERROR;
    }
}

Add curation task to configuration:

plugin.named.org.dspace.curate.CurationTask = org.dspace.ctask.general.FailedCurationTask = failed

Run this curation task from the UI and choose an arbitrary handle (id)
Output shows status COMPLETED

the same problem occurs (status is shown as COMPLETED) for curation tasks that end with status CURATE_SKIP (2)


Allow picking up items in combat mode

About the PR

pjb wanted + its better + much less finagling and should be perfectly predictable for players + ratio
Technical details

accomplished by

before dipping out of interaction code, check if the target should be interactable anyway

only includes items
raises an event on the target that can be cancelled to cause it to force attack (mobstate uses this to allow attacking item-mobs when theyre alive)

melee code calls the same interaction code to check if it should attack

Media

https://github.com/space-wizards/space-station-14/assets/19853115/e4a70dae-e07a-47fc-a6aa-5f046d89630b

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: You can now pick up items (and dead pickupable mobs) in combat mode

YES! FINALLY! THANK YOU!

Not sure if it is a thing of if i just imagined it but dont the item artifacts sometimes require you to hit them to trigger? Wouldnt this result in you picking them up?

you basically have to use a bat for those so its not that important

Not sure if it is a thing of if i just imagined it but dont the item artifacts sometimes require you to hit them to trigger? Wouldnt this result in you picking them up?

just use any weapon


Add --dns-option to docker run and hide --dns-opt

This fix is a follow up to #27567 based on comment:
https://github.com/docker/docker/pull/27567#issuecomment-259295055
In #27567, --dns-options has been added to service create/update (together with --dns and --dns-search). Though --dns-opt was used in docker run previously.
This fix add --dns-option to docker run/create, and hide --dns-opt.
This fix change --dns-options to --dns-option for docker service create and docker service update.
It is still possible to use --dns-opt with docker run/create, though it will not show up in help output.
This fix also updates the docs and bash/zsh completion scripts.
cc @thaJeztah @stevvooe
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Since multiple options may be taken, the flag should be --dns-option. For example:
docker run --dns-option debug --dns-option timeout:25

@stevvooe The docker service create use --dns-options. Should we change service create to --dns-option (and --dns-option-add/rm for service update) as well?

@yongtang Yes, let's make them consistent and we can do it in this PR.
Thanks!

@yongtang I think we should mark the flag --dns-opt in the deprecated.md /cc @thaJeztah

LGTM

@vdemeester we can also decide to keep it as alias, not sure what's best (comparing it to --net / --network). I'm ok with doing that separately

discussed with @vdemeester and he's ok with just hiding

docs look good as well, all green: merging


Implement HTMLBars

The default templating engine should be htmlbars

I'm also looking into another templating language: Paperclip.js


feature: loader ignore telescope extensions in discovery

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
Trying to set up project.nvim with option config = true (which should call the setup function from project module). However, an error occurs due to the telescope/_extensions directory, resulting in multiple modules being discovered.
Describe the solution you'd like
If a telescope directory is only used for extensions, i.e. only has an _extensions directory, perhaps ignore it in loader discovery. Not sure what you think about this!
Describe alternatives you've considered
Manual setup works.
Additional context
No response

In this case you should just use a config() function instead.


deserialize() can be abused to achieve arbitrary code injection with an IIFE

var payload = "{e: (function(){ eval('console.log(`exploited`)') })() }"
var serialize = require('serialize-to-js');
serialize.deserialize(payload);

I don't know if this is a functionality as you are using new Function() internally, but the module should not execute code on deserialization.

Thanks for rising. A patch is on its way. Would be nice if you could do some review on the changes.
I still would not consider the fix as being safe. So I really appreciate your opinion.

Happy to help. I will take a look on the fix and keep you updated.

This doesn't really have anything to do with an IIFE. Simply the fact that the Function constructor works like an eval.
str = 'console.log(`exploited`)';
var res = deserialize(str);

The line in deserialize will invoke it for you..
  return (new Function('"use strict"; return ' + str))()
}

the tokenizer will allow for things like:
object properties as strings like:
'{str: global["eval"]("console.log(/exploited/)")}';

constructors of function to get Function class refs
'{str: unescape.constructor()("console.log(/exploited/)")()()}'

I think esprima is the right move, but I would consider using if for parsing then building rules on top of that instead of the tokenizer.

Hi @matt- , thanks for you comments so far. You are right with the fact that this has nothing to do with IIFE, its just that new Function may inject into global context. I have thought about it and lacking the time an approach with esprima, as you suggest, is not affordable for me. I have chosen a different one, using the same bad new Function but with setting global vars explicitly before evaluation.
Maybe you have some time and check the project safer-eval.
The current master branch includes now safer-eval but isn't yet on npm.
Would be nice to get you opinions on this.

@commenthol Your safer-eval projects has many similarities with Caja.
Please take a look at the confine function
Among other things, some people involved in Caja have been involved in evolving ECMAScript; their involvement led to the creation of strict mode, Object.freeze & friends, WeakMap and Proxies.

@DavidBruant Thanks for the notice. Caja is indeed an interesting project, I did not know so far. Unfortunately there is no chance to run the compiler in a browser.

Unfortunately there is no chance to run the compiler in a browser.

Yeah... they're a bit behind in communication. Caja started as a compiler that transformed JS code into a safer version. Since then, they shared their findings and influenced ECMAScript.
JS has evolved, it's been implemented correctly by browser JS engines. Nowadays, the only thing you need to do to use Caja is load the startSES.js script and call the confine function I mentioned above with the untrusted code. No compiling neither AOT nor JIT.
I probably should have shared ses directly, sorry.
This is a bit off-topic, but I'm happy to continue this discussion elsewhere (safer-eval repo?)

v1.1.0 now uses safer-eval for deserialization. eval and Function are disallowed there and built-in objects get wrapped to prevent "sandbox" breakout. On node vm.runInContext is used for real sandboxing. In the browser trust the wrappers or consider
consider sandboxr as alternative. Personally I haven't tried ses.


Arrays get reformatted

The following code (in a test):
return [
    [
        'SELECT 1 AS foo', 0, [], [1]
    ],
    [
        'SELECT 1 AS foo, 2 AS bar', 0, [], [1]
    ],
    [
        'SELECT 1 AS foo, 2 AS bar', 1, [], [2]
    ],
    [
        'SELECT 1 AS foo, 2 AS bar UNION SELECT 3 AS foo, 4 AS bar', 0, [], [1,3]
    ],
    [
        'SELECT 1 AS foo, 2 AS bar UNION SELECT 3 AS foo, 4 AS bar', 1, [], [2,4]
    ],
    [
        'SELECT ? AS foo, ? AS bar UNION SELECT ? AS foo, ? AS bar', 0, [1, 2, 3, 4], [1, 3]
    ],
    [
        'SELECT ? AS foo, ? AS bar UNION SELECT ? AS foo, ? AS bar', 1, [1, 2, 3, 4], [2, 4]
    ]
];

Becomes this after reformatting:
return [['SELECT 1 AS foo', 0, [], [1]], ['SELECT 1 AS foo, 2 AS bar', 0, [], [1]], ['SELECT 1 AS foo, 2 AS bar', 1, [], [2]], ['SELECT 1 AS foo, 2 AS bar UNION SELECT 3 AS foo, 4 AS bar', 0, [], [1, 3]], ['SELECT 1 AS foo, 2 AS bar UNION SELECT 3 AS foo, 4 AS bar', 1, [], [2, 4]], ['SELECT ? AS foo, ? AS bar UNION SELECT ? AS foo, ? AS bar', 0, [1, 2, 3, 4], [1, 3]], ['SELECT ? AS foo, ? AS bar UNION SELECT ? AS foo, ? AS bar', 1, [1, 2, 3, 4], [2, 4]]];

Some other things, such as multi-line function calls, also get reformatted:
return array_reduce(
    $this->GoodFactoryCreateArgument2EasyDBProvider(),
    function (array $was, array $cbArgs) use ($argsArray) {
        foreach ($argsArray as $args) {
            foreach (array_reverse($cbArgs) as $cbArg) {
                array_unshift($args, $cbArg);
            }
            $was[] = $args;

        }
        return $was;
    },
    []
);

Becomes:
return array_reduce($this->GoodFactoryCreateArgument2EasyDBProvider(), function (array $was, array $cbArgs) use($argsArray) {
    foreach ($argsArray as $args) {
        foreach (array_reverse($cbArgs) as $cbArg) {
            array_unshift($args, $cbArg);
        }
    }
    return $was;
}, []);

Discovered when running against https://github.com/paragonie/easydb

The reformatting is caused by the fact that we parse the syntax tree, replace all the PHP 7 features in that tree and write the tree back out to code. Unfortunately formatting is lost as there aren't any nodes for this. When parsing PHP just ignores all the whitespace.
I'm thinking there isn't a solution for this.


Manage the SplashScreen in the app's style

On devices with Android 12+ the theme is applied correctly after the splash screen, but on lower devices it is not.

Thank you for your feedback, @zeoowl-dev. Currently this library is in ALPHA therefore we are constantly trying to improve the performance.

This will be improved in the next release


Regression case

Hi. Could you tell how to apply rmse,mse and other regression metrics?
from timeseries_fastai.imports import *
from timeseries_fastai.core import *
from timeseries_fastai.data import *
from timeseries_fastai.models import *
PATH = Path.cwd().parent
df_train, df_test = load_df_ucr(PATH, 'Adiac')
Loading files from: /home/tcapelle/SteadySun/timeseries_fastai/Adiac
x_cols = df_train.columns[0:-2].to_list()
dls = TSDataLoaders.from_dfs(df_train, df_test, x_cols=x_cols, label_col='target', bs=16)

inception = create_inception(1, len(dls.vocab))
learn = Learner(dls, inception, metrics=[mse,rmse]) # here I get error while fitting a model
learn.fit_one_cycle(1, 1e-3)

this is a classification problem, so rmse, mse are not meant to work. You can use any standard fastai metric.

Will it be right if I make the following changes?
df_train['target'] = np.random.rand(len(df_train))

x_cols = df_train.columns[0:-2].to_list()
dls = TSDataLoaders.from_dfs(df_train, df_test, x_cols=x_cols, label_col='target', bs=16)

inception = create_inception(1, len(dls.vocab))
learn = Learner(dls, inception, metrics=[rmse])
learn.fit_one_cycle(5, 1e-3)

Result:
TypeError: expected bytes, KeyErrorMessage found

You have to pass a y_block specifying the regression task.
dls = TSDataLoaders.from_dfs(df_train, df_test, x_cols=x_cols, label_col='target', bs=16, y_block=RegressionBlock)

try this


SSL certificate...

When i change the host to my Domain and also add SSL certificate using OkHttpclient signup, and signin not working?

@asadmukhtar28 Please make sure you've a valid SSL certificate, I'm closing the issue for now. There are many other issues related to SSL that you can check the resolutions. If you find something different, please post here again and we can reopen it. Thank you!


IPLD support in BigchainDB

Use this py-ipld to hash blocks and transactions.
Make serialization and hashing unopinionated in bigchain-db core though.
There was a PR for this (now closed): #381

Since #641 was merged, here are some updates to my master plan:
IPLD integration should now be much simpler. The requirements for IPLDizing the BigchainDB data models are the following:

replace all sha3_256 ids with IPLD ids
Use IPLD paths to links between data

In practice, these are the tasks that need to be done:

Add a toggable option to BigchainDB to enable IPLD (we can also go straight for it if we want)
Some minor changes have been made to the IPLD spec, hence py-ipld might not be up to date anymore
Create a to_hash method from this and overwrite it in a IPLDBlock class with multihash and marshal.
Override/replace this method in the Transaction class with multihash and marshal.

Either

Remove the need for TransactionLink and simply pass a IPLD path URI

or
override TransactionLink's to_dict and from_dict methods to (de)serialize from a IPLD path URI (definitely the dirty way)
or
provide a way for TransactionLink to handle IPLD path URIs (to_ipld, from_ipld?).
Challenges:

payload (aka metadata aka data) relies on having a UUID as a hash. At this point, IPLD doesn't know what a UUID is. Eventually it will. This is not a blocker so we can ignore it for now.

Same goes for a digital assets data. Not a blocker, we can ignore.

//cc @jbenet as he might be interested in this.

If the id is removed from the JSON representation of a transaction, then what will the underlying database use for the primary key?
Conceptually, I'm intrigued by the idea of removing all signatures (i.e. all fulfillments) from the transaction: it makes calculating signatures more straightforward. It's asymmetric, since the conditions are inside the transaction, but oh well, it's not like symmetry is a requirement.

If the id is removed from the JSON representation of a transaction, then what will the underlying database use for the primary key?

It's not quite like this.
We can still store Transactions and Blocks the way we do currently (in their JSON representation, using ids as primary keys for querying). What matters though is how we represent them to users of the HTTP API.
There we'll have to comply to an IPLD-compatible schema (removing the id and moving the fulfillments signatures) - basically all points I've mentioned in my last comment.

// @whyrusleeping for the discussion later.

@TimDaub Link from speaking in person: https://github.com/ipfs/specs/tree/master/iprs-interplanetary-record-system

As was pointed out in #830, IPLD (or rather merkle trees) would help us to verify partial bodies in HTTP JSON responses.

I'm removing the "when: in progress" label on this issue because I'm pretty sure it's not in progress.

I created the issue bigchaindb/BEPs#87 to remind us about this idea, so I'm going to close this issue here.


bugfix:修复可见范围为组织架构的提单无服务问题

Codecov Report

Merging #282 (07ca519) into v2.6.x_develop (301a984) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #282      +/-   ##
==================================================
- Coverage           54.56%   54.50%   -0.07%
==================================================
  Files                 446      446
  Lines               27512    27565      +53
==================================================
+ Hits                15013    15024      +11
- Misses              12499    12541      +42

Impacted Files
Coverage Δ

itsm/service/models.py
61.49% <ø> (ø)

itsm/ticket/tasks.py
31.70% <0.00%> (-3.01%)
:arrow_down:

itsm/ticket/managers.py
35.51% <0.00%> (ø)

Continue to review full report at Codecov.

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


Reuse target?

Hi, so I have the code below. A create a teleporter and set up it's target. Then renderAComponent will have a switch that renders different components based on some props.
The first component (A) that renders and imports FooterTeleport and defines a <FooterTeleport.Source> works nice but then on an update a different component (B) renders and replaces (A) and also uses <FooterTeleport.Source> nothing shows up in the target.
Is this a bug or am I doing something wrong?
export const FooterTeleport = createTeleporter();

<>
{renderAComponent()}
<div className={styles.flexFooter}>
<FooterTeleport.Target />
</div>
</>

It must be a bug, could you provide a repro repository?

Sure, here is a Sandbox.
https://codesandbox.io/s/mxx30
When clicking on the button to change page to page2 there is nothing rendered into the teleforter target.


Writing ES2015+ JavaScript with a transpiler

Does LightTable support using ES2015+ and transpiling for the browser?
For example, if I'm using Webpack or Browserify with BabelJS for compiling ES2015+ to ES5, is there a way to get LightTable to understand the modern JavaScript and/or read the sourcemaps? I'd want to use features not yet available in Chrome, but still work with the live Browser view. JSX support would also be great.

Hi. LightTable's JavaScript plugin doesn't support transpiling but we are happy to take PRs for it. If you're interested js eval starts here. You can require in most npm packages e.g. acorn required here. JSX support is something I've been meaning to look into and I'll leave this open to at least look into that. I know that CodeMirror has recently added a jsx mode but I don't know if that mode will be compatiable with our CM version (4.7)

Is there a way to integrate with Babel and just use their source maps? That would provide a lot of flexibility and wouldn't require mucking around with acorn. I'm not sure if that makes sense or how source maps would fit in with the LightTable architecture.

I'd really like to take a crack at this but have no idea where to start. It would be great to get some advice from package authors. Is this a good place to ask or is SO the right forum?

Maybe the Discussion forum
or gitter would be better for getting assistance with plugin authoring etc.

Thanks!
On Feb 21, 2016 3:26 PM, "Magnus Rundberget"<EMAIL_ADDRESS>wrote:

Maybe the Discussion forum
https://groups.google.com/forum/#!forum/light-table-discussion
or gitter https://gitter.im/LightTable/LightTable would be better for
getting assistance with plugin authoring etc.
—
Reply to this email directly or view it on GitHub
https://github.com/LightTable/LightTable/issues/2134#issuecomment-186907606
.

There is some relevant information and suggestions posted in this discussion topic.

Thank you
On Sep 17, 2016 10:39 PM, "Scott Bauer"<EMAIL_ADDRESS>wrote:

There is some relevant information and suggestions posted in this discussion
topic
https://groups.google.com/forum/#!topic/light-table-discussion/aickVtKDHcc
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LightTable/LightTable/issues/2134#issuecomment-247820812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeUlUcRSjqRTYVRUZpnEKK5KP9l1fZ9ks5qrKRsgaJpZM4HNqIz
.


Feature/compiler warning

Missed the Changelog entry, sorry @br-earl-gaspard  @br-tyler-milner . Should be good to go now.


Add dependabot-like bot to upgrade Fern in repos

Things the bot can upgrade:

fern version
generator versions
API versions (when one api depend on another API)

Closing this issue because this is something we wont be working on.


Cannot import modules/table. Are you sure it was registered?

Hi guys, I have a problem on the module registration with React Quill
I do this
import ReactQuill, { Quill } from 'react-quill';

Quill.register({
  'modules/tableUI': QuillTableUI
}, true)

//component
<ReactQuill
   id="content"
   value={content}
   onChange={onUpdateRichText}
  modules={{
    table: true,
    tableUI: true,
    ...otherModules
}}
/>

And I've got a big red error
quill Cannot import modules/table. Are you sure it was registered?
I tried different thing but no success. Do you have a tip for me to register table module please ?

The tables module is only available on the Quill 2.0 dev version and hasn't made it to the stable channel yet. npm install 2.0.0-dev.4 is the latest.

The tables module is only available on the Quill 2.0 dev version and hasn't made it to the stable channel yet. npm install<EMAIL_ADDRESS>is the latest.

I've upgraded my package, I still got the error

How did you solve this?


Change handle on integrator from disk I/O to return values

I kind of forgot about this, but I think it is actually a necessary change to allow SIREN to do the decay sampling properly.


Depolyed Application for images

WHEN I click on the images of the applications
THEN I am taken to that deployed application

I created direct links to the feature project and the second project. I also left placeholders for future projects.


Adding an unhandledEvent handler to functions

Summary
This allows slack function modules to provide a named export, unhandledEvent, that will be routed any events the function receives that aren't handled via a more specific handler, such as a block_actions event being routed to a blockActions handler.
export const unhandledEvent = ({ body, inputs, token, env }) => {
  console.log("This event was not handled");
};

While this will allow a developer to handle events otherwise unhandled, it will also allow for easier prototyping of new event types that functions may receive.
Deeeeets
I adjusted a couple things to facilitate this:

DispatchPayload()'s main switch statement is wrapped in a try/catch. Individual "runners", like RunFunction now throw a typed error, UnhandledEventError if their corresponding export isn't present. This error is caught in DispatchPayload and  then the unhandledEvent handler is run if present, otherwise we console.warn() like we used to. This will allow us to throw the same error from our SDK routers if no handler matches, and let it get handled by the unhandledEvent handler.
I adjusted LoadModule() to accept an array of function modules and not just strings to function files. This made testing various flavors of modules waaaayyy easier, and felt like a worthwhile tradeoff. 🤷

Testing
I wrote a bunch of unit tests to cover the various scenarios that should invoke an unhandledEvent handler when provided.
To manually test this you'll need an interactive function, and then can add your unhandledEvent handler to it:
export const unhandledEvent = ({ body, inputs, token, env }) => {
  console.log("This event was not handled");
};

Remove/rename/comment out different interactivity handlers on your function, and verify the unhandledEvent handler runs when they're dispatched, i.e. a button click attempting to call a blockActions handler.
Local Testing via slack run
You can use this version of the runtime locally by updating the start hook in your slack.json file:
"start": "deno run --config=deno.jsonc --allow-read --allow-net --unsafely-ignore-certificate-errors https://raw.githubusercontent.com/slackapi/deno-slack-runtime/347843d/src/local-run.ts"

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

This is awesome! Well done. I tested it out and it worked well for the scenario where no interactivity handler is exported from a function, but, when I exported an interactivity handler (e.g. blockActions) but didn't register a handler for a specific interaction, then it looks like the similar style of unhandled interaction event handling we had before kicks off within the deno-slack-sdk. That is, the deno-slack-sdk will only console.warn of the fact, but won't trigger the unhandled exception handler. In particular:

unhandled block action events
unhandled view closed events
unhandled view submission events

I imagine the fix is as easy as raising an Error in these situations with the correct name. Though coordinating this across repos repos (a.k.a. coupling) starts to get tricky, but this seems like a worthwhile effort. I think this is a good use of exceptions and exception handling, so I am down with this approach!

I had the same thoughts 😄 - figured using an error w/ the right name would be the easiest, but I get that it's brittle. It's probably not something we'd change often/ever 🤞 . Consuming an exported UnhandledEventError from the runtime into the sdk felt like another option, but I agree it seems worthwhile. I actually was testing/buidling that change in the SDK when doing this locally to make sure we had a path for the SDK's *Routers to tap into this behavior.


Improve Grafana dashboard

Issue summary

Currently, Forest Grafana dashboard looks like this

There's room for improvement here, for example:

Most of the figures seem to be aggregating, whereas it would be more beneficial to have it represented as a rate, e.g. message p2p events,
a bunch of other metrics were introduced the last time the dashboard was updated,
splitting all of this into several dashboards would improve readability,

The goal is to propose and implement better dashboard(s) so it's easier to monitor Forest's state and performance. In the future, we may have such a dashboard exposed to the public.
Other information and links

Dashboard moved to Infra team. Closing this issue.


support chinese indexing and search

Add CJKAnalyzer in the Indexing class.
Add language  argument in indexing argument.
Add setLanguage method and CJKAnalyzer in SimpleSearch class.
Add experiments on NTCIR-8 ZH dataset.

TODO:

Add more langugage support.
The language argument will follow ISO-639-2 code.

@Impavidity also, Travis failed...

@Impavidity bunch of comments for you to address... since we're going to build on this foundation, let's get it right...


Neon Quantized End to End Unit Tests Fail

I have cross compiled ArmNN for arm32v7 using this guide. Upon running the unit tests, everything passes besides the following tests on a Raspberry Pi 4. Here is the output:
Running 1871 test cases...
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [1485 != 1484]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [1373 != 1371]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [-1023 != -1022]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [1019 != 1018]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [1097 != 1095]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(217): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check cellStateOutVector[i] == cellStateOutResult[i] has failed [-1235 != -1234]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x8c != 0x8b]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x92 != 0x91]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x70 != 0x71]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x88 != 0x87]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x9c != 0x9b]
/home/ubuntu/armnn-pi/armnn/src/backends/backendsCommon/test/QuantizedLstmEndToEndTestImpl.hpp(222): error: in "NeonEndToEnd/NeonQuantizedLstmEndToEndTest": check outputStateOutVector[i] == outputStateOutResult[i] has failed [0x70 != 0x71]
/home/ubuntu/armnn-pi/armnn/src/backends/reference/test/RefEndToEndTests.cpp(394): error: in "RefEndToEnd/RefNoCopyWorkloads": check found == std::string::npos has failed [859 !=<PHONE_NUMBER>]

*** 13 failures are detected in the test module "UnitTests"

To check my sanity, I also cross compiled ArmNN with Onnx support completely separately following this guide with a few modifications. Upon running the unit tests once more, I also fail the same tests as the output above.
Looks to be a precision issue given the expected and actual values are so close.

Oooh very interesting. Those tests pass for me in armv8 so this might be an armv7 bug in the Compute Library. @morgolock?

Hi @MatthewARM
It looks like the results are not too far off from the reference so there might be rounding issues (just guessing) in the v7a path.
We will take a look at the test and figure out what is wrong. The focus in ACL is aarch64 v8 or greater, so the v7a path is not as rigorously tested and optimised as aarch64.

Hi @jishminor,
This should be fixed in master with this patch: https://github.com/ARM-software/armnn/commit/46ff1caca9b4504d04515404b7f61cc97fc42123
Cheers,
James