OAuth strategy support

Steps to reproduce
Currently it lacks oauth stratehy support, you can't use 'local' or another way, because oauth MUST use application/x-www-form-urlencoded content type.

Another problem the token name is "access_token" in the OAUTH 2.0. But the passport setJWT only try "accessToken"

OAuth authentication has been overhauled in Feathers v4 authentication. Please see the migration guide for more information. Closing this issue in order to archive this repository. Related issues can be opened at the new code location in the Feathers main repository.


Add Quarkus GPT

What does this PR do / why we need it
This PR adds the Quarkus Golden Path template
Which issue(s) does this PR fix
Fixes #48
Fixes #47
How to test changes / Special notes to the reviewer

Just need to add the Quarkus link to https://github.com/janus-idp/software-templates/blob/main/showcase-templates.yaml


Change name values sa_AR

This will change foodNames and meatNames to match Arabic region names

Why did you remove pork meat?
You made unnecessary changes to README.md

PR Closed

Respect your hard work, sorry for the late response was busy,
A lot of my clients complained about using pork in test data for religious reasons.

Respect your hard work, sorry for the late response; I was very busy lately, Pork meat is not used in Arabic speaking countries, so a lot of customers don't find it relevant for demonstration.

In this case, I'm reopening PR, but you need to remove your updates in readme.md, because it's not necessary. I appreciate your work and wait for a new commit removing the changes in the readme.

I added your update through Cherry Pic, because you updated 2 PR files, it's not necessary. I mentioned you in Release v2.0.1
Thanks for your contribution


why to implment TomcatInvokeInterceptor to intercept the function method of javax.servlet.http.HttpServletResponse?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

I dont' know whether the function getStatus will always be invoked.

Is there an alternative way to get http response code?


Added a branch-filter to only push image on master

Checklist

[X] I have read the Contributor Guide
[X] I have read and agree to the Code of Conduct
[X] I have added a description of my changes and why I'd like them included in the section below

Description of Changes
Only push image when changes are merged to master
Related Issues

LGTM, but:

Please do separate PRs for unrelated changes (gitignore) in the future
We need to setup a separate compile/test pipeline for PRs in the future


Minor design issues

[x] Category names should start with capital letter
[x] Don't display seconds
[x] When I switch to 12h format, then "PM" < M here is bolder than P though it should be regular
[ ] Start time opacity should be 50% instead of 100%
[x] Check if "Superday" font-size is the same as in designs (It should be 14pt)
[x] When editing a category, all other categories should appear with that order: commute, food, friends&family, work, leisure

@willsb > Duration opacity should be 50% instead of 100%
Sorry, I meant start time not duration 🙈

@willsb > Also, 14pt for the Superday font is supersmall
I believe that's what we use for other stuff as well. So I would keep it 14pt, because atm it looks superbig.


Persist level progress

Since the level passwords are randomly generated into an array, could this array be saved to a file and obfuscated if necessary? That way you can use level passwords across reboots of the game. Of course this may not work for 5.5.0 users who have to do the browser loading method and don't have permanent storage. I just hit level 16 by the way.

It's worth noting that the current random generation method first seeds the RNG with a constant 27, so passwords that are generated should be the same across all runs and installs.
So, as of right now, it's possible to figure out all 100 passwords by compiling a program that just calls prand with this same seed a hundred times.
This all being said, the only reason there's a password entry system is cause I'm on 5.5 and don't have SD card access :smile: With permanent storage access, I'd much prefer a level-select sort of interface with save data instead of password entry. So I'll  keep this issue open with respect to that.

Yeah, we can't really store anything on physical storage directly from the Wii U without a kernel or IOSU exploit. Even still, with a kernel exploit, the program would have to be launched from within Smash Bros. or Mii Maker, as those have SD Card access. (think of how Loadiine works)
However, we could still have data storage from homebrew software on the Wii U, by using GET/PUT requests in conjunction with a special web server. But even still, that's definitely harder than just waiting for an exploit.

Looking back at libwiiu's commit history, it looks like @Marionumber1 was able to successfully open and read the contents of /vol/save/common which I assume is the save data directory? But looking further back, attempting to write to this directory crashes the system.
Could this be a possible path to take when we get access to a kernel exploit?

This is probably off-topic, but I've done some "research" and, using this algorithm of generating passwords, I was able to generate 36,710 different codes before it started repeating values. So why stop at 100?
Also, try using password 41666. Trolololololol.

That's interesting, I'm surprised to see it got so far. Personally I can barely get past level 15 so I'm thinking 36000+ levels may be overkill :stuck_out_tongue_closed_eyes:
I do truly love the idea of a ridiculous number of levels, though. It would make more sense if the gameplay in Space Game were more dynamic (like sidescrolling, smaller enemies, health, enemies that shoot back).

@ethanx94 if you're still here, just a heads up that we now have a WUT branch that builds the program into an RPX file, which can be run within Loadiine GX2, Decaf, Cemu (if Cemu supported OSScreen graphics) and, when an IOSU exploit launches, we can install Space Game straight to the Wii U Menu.
Another plus with the RPX build is that we can store save data in /vol/save, which in the case of installing to the Wii U Menu, will have save data show up in Data Management. This will prove useful when we can be bothered getting around to reworking Space Game to do this. 😜


Strapi Rest Cache Plugin Is Not Working

Required System information

Node.js version: 18.18.2
NPM version: 9.6.6
Strapi version: 4.15.0
Database: postgres
Operating system: Windows
Is your project Javascript or Typescript: Typescript

Describe the bug
I was implementing the Rest API's in the my Strapi Application but i was not satisfied with the time it taking to fetch the Database and I hosted the database RDS in amazon and the Strapi too in the same region so there is no issue related to the region it hosted but when i am trying to get it in local it also takes a lil bit more time like 2 sec for a simple images and all. So I Find in Strapi forum to use the Rest Cache Plugin But I Followed full documentation but the plugin did not start. I don't know why it is not getting started. Can anyone pls look into this matter.
Steps to reproduce the behavior

Go to: https://strapi.io/blog/caching-in-strapi-with-rest-cache-plugin
Follow The Documentation
It Shows This In Conssole

Plugin.Ts Code -:
export default ({ env }) => ({
  redis: {
    config: {
        connections: {
            default: {
                connection: {
                    host: '<IP_ADDRESS>',
                    port: 6379,
                    db: 0,
                },
                settings: {
                    debug: false,
                },
            },
        },
    },
},
"rest-cache": {
    config: {
        provider: {
            name: "redis",
            options: {
                max: 32767,
                connection: "default",
            },
        },
        strategy: {

            enableEtagSupport: true,
            logs: true,
            clearRelatedCache: true,
            maxAge: 3600000,
            contentTypes: [
                "api::popular-course.popular-course",
                {
                    contentType: "api::popular-course.popular-course",
                    maxAge: 3600000,
                    hitpass: false,
                    keys: {
                        useQueryParams: false,
                        useHeaders: ["accept-encoding"],
                    },
                    method: "GET",
                }
            ],
        },
    },
},
};

Expected Behaviour:

This Button Should Appear In The CMS but Its Not Getting Appeared Pls Look Into This Guys
PLEASE LET ME KNOW IF ANY OTHER CLEARIFICATION IS REQUIRED
This is what i am getting after all that configuratin and by calling the api multiple times

As this isn't a plugin we maintain marking as closed. Please go open an issue with the maintainer.

Same issue using strapi 4.14.0 and nodejs 18. did you find any solution?

You are missing enableAdminCTBMiddleware as defined in the documentation: https://strapi-community.github.io/strapi-plugin-rest-cache/guide/strategy/


Consider Rename

So, this is a personal pet peeve, and I would totally understand not doing this, but I hate the word Config  and like seeing it typed out as Configuration (like App instead of Application seems lazy).
I understand ExtendedXmlSerializerConfiguration seems a little lengthy though... so maybe ExtendedXmlConfiguration ?
No worries if you don't like it, but thought I would ask!

Also would mean IExtendedXmlSerializerConfigType -> IExtendedXmlTypeConfiguration perhaps, as well.

It is good proposition.
My english is not perfect. To be honest I'm still learning. I will be glad if you give me know when I make mistakes.

Hey I've been at it for 40 years and I am still learning.  It's a rough, strange language.    At least enough that I understand.  :)  Do you have ReSharper?  They have a FANTASTIC plugin called ReSpeller which underlines misspellings for you.  But, "config" is not considered one, so it wouldn't help in this case (again, pet peeve!).

I'll do it.
Yes I know resharper ;) But I've never used ReSpeller.

Cool.  Do you use ReSharper?  If so, you can use project-based code-formatting settings and we should totally use that.  That way when you get ready to checkin, you format it like the project's settings are configured and it is formatted as desired. This is what I do now before I checkin, but I am just guessing what the formatting settings are. :)

I've done this task. You can check.
I use default settings in ReSharper and you ?

Great!  I am not sure what default settings are, I've used it for over a decade now. :)  If you like how the code is formatted we can use that.  I do like a few things, we can discuss.  I will open a new issue.


simple-comic fix download link

The official link is offline and the creator hasn't been active since 2013, so I've created an alternate link to facilitate downloading this application.
Related Issues/PRs:

Issue: https://github.com/caskroom/homebrew-cask/issues/10988
Proposal to remove: https://github.com/caskroom/homebrew-cask/pull/10989
Upstream issue: https://github.com/arauchfuss/Simple-Comic/issues/101

Thank you, but we cannot accept this. See https://github.com/caskroom/homebrew-cask/pull/615#issuecomment-19972408 for the reasoning.

@vitorgalvao I'm willing to fight for this.
I'm not sure I understand what you are saying. I am not hosting it on dropbox or self hosting, I'm hosting it on github as as open repository. Are you saying you want me to put it on sourceforge?
You also have to understand that this is a special case in which the official "maintainer" channel simply will not work because the owner is no longer active or reachable.
I'm looking into ways to ensure continued development of this project.

There’s nothing to fight for; we have clear rules. This is not a special case at all; applications are discontinued all the time. It’s irrelevant where the download is hosted: the source does not in itself guarantee legitimacy. Users must trust download sources as official, and yours is not; they have no guarantee you’re trustworthy.
What you can do is fork the application yourself, add a download on that repo, and then submit that to homebrew-cask. That way users will understand it is a fork, and decide for themselves to trust you or not. What is important is that they know.

@vitorgalvao
You mean you want me to create a fork and submit it under a different name?
The download package is verified against the official sha-256 contained in this cask and verifies that the package is unmodified. This preserves integrity and requires no additional trust on the user's part.
I suspect that this software will be useful for another 1-2 years before it either needs hard fork maintenance or discontinuation. It seems wrong to put a good dog down before its time.

Here's my fork: https://github.com/andychase/Simple-Comic
and release link if that's what you are looking for: https://github.com/andychase/Simple-Comic/releases/download/1.7_252/SimpleComic_1.7_252.zip

The download package is verified against the official sha-256 contained in this cask and verifies that the package is unmodified.

No user coming in now and inspecting the cask would be able to make those assumptions. Casks should be auditable at any time, by any user. We take security seriously.

It seems wrong to put a good dog down before its time.

No one was putting it down. Homebrew-cask isn’t the end game.
Thank you for making the fork; you just need now to submit the cask. Submit it as andychase-simple-comic, with the appropriate modifications to the homepage (your github repo) and url.

Okay cool I made the fork under my non-profit organization named techstoreclub and named the fork tsc-simple-comic. -> https://github.com/caskroom/homebrew-cask/pull/10996


Use shared url session

This would enable registering custom protocol classes directly with the shared url session (see #9)

Hey @fruitcoder
Thanks for your PR! We will review it asap

Please see PA.ExtendedConfiguration https://github.com/at-internet/piano-analytics-apple/blob/main/Sources/PianoAnalytics/Core/ExtendedConfiguration.swift#L6
and initialization https://github.com/at-internet/piano-analytics-apple/blob/main/Sources/PianoAnalytics/PianoAnalytics.swift#L444


Running on CPU.

Hello,
Is there a way to run this code on "CPU" instead of cuda. I get the following error which I changed device='cpu" in the example code.
torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
LoweringException: AttributeError: 'PermuteView' object has no attribute 'freeze_layout'
target: aten.convolution.default
args[0]: TensorBox(
PermuteView(data=StorageBox(
ComputedBuffer(name='buf943', layout=FlexibleLayout('cpu', torch.bfloat16, size=[1, 64, 64, 1280], stride=[5242880, 81920, 1280, 1]), data=Pointwise(
'cpu',
torch.bfloat16,
def inner_fn(index):
_, i1, i2, i3 = index
tmp0 = ops.load(buf935, i3 + 1280 * i2 + 81920 * i1)
tmp1 = ops.load(buf942, i3 + 1280 * i2 + 81920 * i1)
tmp2 = tmp0 + tmp1
return tmp2
,
ranges=[1, 64, 64, 1280],
origin_node=add_352,
origins={add_352}
))
), dims=[0, 3, 1, 2])
)
args[1]: TensorBox(StorageBox(
InputBuffer(name='arg455_1', layout=FixedLayout('cpu', torch.bfloat16, size=[256, 1280, 1, 1], stride=[1280, 1, 1, 1]))
))
args[2]: None
args[3]: [1, 1]
args[4]: [0, 0]
args[5]: [1, 1]
args[6]: False
args[7]: [0, 0]
args[8]: 1
Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
You can suppress this exception and fall back to eager by setting:
import torch._dynamo
torch._dynamo.config.suppress_errors = True

You can run this on CPU, but I don't know if it'll be much faster. We didn't really spend any time on that. The error you're getting seems unrelated to the device you're running this on though. Are you using a latest PyTorch nightly?


Updated Ansel Guide to include the automatic patcher

As title said. VSCode also formatted it a bit so I hope that doesn't affect anything.

LGTM


1.5.3

bugs:

default pageViews content
parent -> child -> parent no update
callback arguments bug - removed child callback's param
route to a child route first, then to parent route's sibling, if goto the child route or his sibling then will be errored

route rules: add route function config onEnter and onLeave


Version 3.3.4 breaks support for Python versions earlier than 3.9

The reason is in fsm.py, line 59:
finals: set[state_type]

In Python versions earlier than 3.9 this causes an error:
TypeError: 'type' object is not subscriptable

This is because Type Hinting Generics in Standard Collections was only introduced in Python 3.9.

@Seanny123 Any comment on this?

Yep, this is my fault. I should have instead used from typing import Set and finals: Set[state_type] to maintain compatibility with older versions of Python.

Should be resolved in greenery 3.3.5. Thank you @Seanny123 for explaining how to fix this.


custom ERC-20 transaction

I issued a new coin and have the following coin address.
https://rinkeby.etherscan.io/address/0x7293012cE48B874372bB9f57E546EE3a30D0cf1A#code
The coin is named Crepe(CrUS) and that is ERC-20.
Currently, both Ethereum and Crepe appear in the Safe safe, and both types of coins can be seen in SDK.
I want to transaction Crepe to my wallet, not Ethereum. Is there a way to set this up?
'import Safe, { EthSignSignature } from<EMAIL_ADDRESS>import { SafeService, SafeEthersSigner } from<EMAIL_ADDRESS>import { ethers } from 'ethers'
import EthersAdapter, { EthersTransactionOptions } from<EMAIL_ADDRESS>import { Wallet } from '@ethersproject/wallet'
import { SafeTransactionDataPartial, SafeTransactionData  } from<EMAIL_ADDRESS>import SafeServiceClient, { OwnerResponse, ProposeTransactionProps, SafeMultisigTransactionResponse, SafeBalanceResponse } from<EMAIL_ADDRESS>const safeService = new SafeServiceClient('https://safe-transaction.rinkeby.gnosis.io');
(async() => {
try {
const Web3 = require('web3')
const privateKey = "0xPRIVATEKEYPRIVATEKEYPRIVATEKEYPRIVATEKEYPRIVATEKEYPRIVATEKEY";
const safeAddress = '0xSAFEADDRESSSAFEADDRESSSAFEADDRESSSAFEADDRESSSAFEADDRESS'
const _web3 = new Web3.providers.HttpProvider("https://rinkeby.infura.io/v3/MYAPIKEY");
const web3Provider = _web3
const provider = new ethers.providers.Web3Provider(web3Provider)
const service = new SafeService("https://safe-transaction.rinkeby.gnosis.io")
const signer = new Wallet(privateKey, provider)
const ethAdapter = new EthersAdapter({ ethers, signer })
const safe: Safe = await Safe.create({ ethAdapter, safeAddress: safeAddress })
const safeSigner = new SafeEthersSigner(safe, service, provider)
const address = safe.getAddress()
const owners = await safe.getOwners()
const balance = await safe.getBalance()
const transaction: SafeTransactionDataPartial = {
to: '0xANOTHERWALLETADDRESSANOTHERWALLETADDRESSANOTHERWALLETADDRESS',
value: '100000000000',
data: '0x'
}
const safeTransaction = await safe.createTransaction(transaction)
await safe.signTransaction(safeTransaction)
const safeTxHash = await safe.getTransactionHash(safeTransaction)
await safeService.proposeTransaction({
safeAddress,
safeTransaction,
safeTxHash,
senderAddress: '0xMYWALLETADDRESSMYWALLETADDRESSMYWALLETADDRESS'
})
let signature = await safe.signTransactionHash(safeTxHash)
await safeService.confirmTransaction(safeTxHash, signature.data)
const tx: SafeMultisigTransactionResponse = await safeService.getTransaction(safeTxHash)
const safeTransactionData: SafeTransactionData = {
to: tx.to,
value: tx.value,
data: '0x',
operation: tx.operation,
safeTxGas: tx.safeTxGas,
baseGas: tx.baseGas,
gasPrice: Number(tx.gasPrice),
gasToken: tx.gasToken,
refundReceiver: String(tx.refundReceiver),
nonce: tx.nonce
}
const safeTransaction2 = await safe.createTransaction(safeTransactionData)
const executeTxResponse = await safe.executeTransaction(safeTransaction2)
const receipt = executeTxResponse.transactionResponse && (await executeTxResponse.transactionResponse.wait())
console.log(receipt)
}catch(e) {
}
})();'

This was a data setting problem using contact.
It's solved now.


Grab bag of minor improvements

This is a grab bag of minor fixes that things slightly easier on me:

expand range of transformers allowed (I'm trying to get to GHC 8 via stack/lts-7)
unit tests are now much easier to add
add trivial stack.yml
add test cases which are expected and known to fail. A sort of TODO list (I plan on working on these, and it's a nice place to add future ones)
bump version number and copyright year
clean up warnings and linter warnings in tests
bug fix+tests: heredoc logic is wrong

I can split these into multiple PRs or cut out commits that you don't like: let me know what you prefer!

Added one more bug fix: the logic in heredoc was wrong. Also included tests.
The logic was reversed - it's the quoted heredoc that does no expansion. Here's the spec from man bash:
The format of here-documents is:
          <<[-]word
                  here-document
          delimiter

   No parameter and variable expansion,  command  substitution,  arith-
   metic expansion, or pathname expansion is performed on word.  If any
   characters in word are quoted, the delimiter is the result of  quote
   removal  on  word,  and  the  lines  in  the  here-document  are not
   expanded.  If word is unquoted, all lines of the  here-document  are
   subjected  to  parameter expansion, command substitution, and arith-
   metic expansion, the character sequence \<newline> is ignored, and \
   must be used to quote the characters \, $, and `.

Thanks a lot for the PR! :D
I think it's pretty clear that I haven't touched this library since Stack was released, but I'll try to build it again and review the PR this weekend (or Monday).

Thanks! I took a look at fixing the arithmetic and it's way beyond my understanding of parsec. If you're interested in fixing that, that would be very awesome 😁. If I had to guess, it seems to look for 4 sets of parens but unsure.

I'll take a look. It might be related to #15

My guess though is that the parser at https://github.com/knrafto/language-bash/blob/master/src/Language/Bash/Parse/Word.hs#L157 is the culprit

Fixed it! I can't push to your branch, but here's a patch:
From 2b34962d7ed4bb1c5e874b164da6d8cfb7e98d8f Mon Sep 17 00:00:00 2001
From: Kyle Raftogianis<EMAIL_ADDRESS>Date: Sun, 25 Sep 2016 20:21:29 -0700
Subject: [PATCH] Fix parsing of arithmetic expressions (fixes #15)

---
 src/Language/Bash/Parse/Word.hs |  6 +++---
 tests/Tests.hs                  | 16 +++++++++++-----
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/src/Language/Bash/Parse/Word.hs b/src/Language/Bash/Parse/Word.hs
index 111e606..9e407b0 100644
--- a/src/Language/Bash/Parse/Word.hs
+++ b/src/Language/Bash/Parse/Word.hs
@@ -154,10 +154,10 @@ backquote = Backquote <$> matchedPair '`' '`' False escape

 -- | Parse an arithmetic expression.
 arith :: Stream s m Char => ParsecT s u m String
-arith = B.toString <$> parens <?> "arithmetic expression"
+arith = B.toString <$> arithPart <?> "arithmetic expression"
   where
-    parens = B.many inner
-    inner  = B.matchedPair '(' ')' parens
+    arithPart = B.many inner
+    inner     = B.noneOf "()" <|> B.char '(' <+> arithPart <+> B.char ')'

 -- | Parse a parenthesized substitution.
 subst :: Stream s m Char => ParsecT s u m String
diff --git a/tests/Tests.hs b/tests/Tests.hs
index d5fcab9..4a2b01c 100644
--- a/tests/Tests.hs
+++ b/tests/Tests.hs
@@ -91,15 +91,21 @@ unittests = testGroup "Unit tests"
                   heredocDelim = "EOF",
                   heredocDelimQuoted = True,
                   hereDocument = expandString "asd\\`\n"}])
-
+  , tp "echo $((2 + 2))"
+       (Command
+        (SimpleCommand [] [expandString "echo", [ArithSubst "2 + 2"]])
+        [])
+  , tp "((2 + 2))"
+       (Command (Arith "2 + 2") [])
+  , tp "echo $(((2 + 2)))"
+       (Command
+        (SimpleCommand [] [expandString "echo", [ArithSubst "(2 + 2)"]])
+        [])
   ]

 failingtests :: TestTree
 failingtests = testGroup "Failing tests" (map expectFail
-  [
-    tp "echo $((2+2))"
-       (Command (Arith "2 + 2") [])
-  ])
+  [])

 tests :: TestTree
 tests = testGroup "Tests" [properties, unittests, failingtests]
--
2.7.4 (Apple Git-66)

The rest of the PR looks good. I'll merge and add the arith fix, and then release on Hackage.
Thanks for your help!

Thanks for the review and the fix!!


Guidance for Python Developers

Hello! I'm a Python developer interested in using the translators library in my projects. Could you please provide guidance on how Python developers can effectively integrate and utilize this translators library?

I can try to port this library to python via "PyO3", or you can simply write a small code that does the same thing, but only slightly cut down for your task.

I accidentally closed the question, sorry

release.zip
Example of using my library in .dll format(for windows) on python.


Add CI job to deploy to Vercel

References
Complement https://github.com/jtpio/jupyterlite/issues/63 and #64.
This adds an extra job to the CI workflow to upload the tarball to Vercel, and is additive to deploying the app on RTD.
Should help with documenting deployments (https://github.com/jtpio/jupyterlite/issues/67)
We mayb or may not want to keep that step in the future if it's unnecessary.

Code changes

User-facing changes
None

Backwards-incompatible changes
None

Yeah, that's cool: the more (working) examples we have the better. Github Pages as well... though it would be worth doing a fresh --orphan for gh-pages every time... we don't need the whole history of 75mb for every tag :scream:, and people shouldn't rely on being able to pull our gh-pages and expect patches to work indefinitely.

Looks like it worked.

I think we can indeed keep this extra deployment.
And make RTD the official source of truth and update remaining links as mentioned in https://github.com/jtpio/jupyterlite/issues/63#issuecomment-826856800.

Added some notes to https://github.com/jtpio/jupyterlite/issues/67#issuecomment-827091342 that we can use when adding documentation about deployments.


Segmented memory access

Given instructions:
36 8b 18    mov ebx, ss:[eax]

and
2e 8b 18    mov ebx, cs:[eax]

remill lifts to the same function:
define dso_local %struct.Memory* @sub_0(%struct.State* noalias dereferenceable(3376), i32, %struct.Memory* noalias) {
  %4 = getelementptr inbounds %struct.State, %struct.State* %0, i32 0, i32 6, i32 33, i32 0, i32 0
  %5 = getelementptr inbounds %struct.State, %struct.State* %0, i32 0, i32 6, i32 1, i32 0, i32 0
  %6 = getelementptr inbounds %struct.State, %struct.State* %0, i32 0, i32 6, i32 3, i32 0, i32 0
  %7 = load i32, i32* %5, align 4
  %8 = add i32 %1, 3
  store i32 %8, i32* %4, align 4
  %9 = tail call i32 @__remill_read_memory_32(%struct.Memory* %2, i32 %7)
  store i32 %9, i32* %6, align 4
  %10 = tail call %struct.Memory* @__remill_missing_block(%struct.State* nonnull %0, i32 %8, %struct.Memory* %2)
  ret %struct.Memory* %10
}

so the segmentation (memory model) is ignored. But it's only true in Intel's 64-bit mode, in other mode (e.g. compatibility mode) the memory model has segments.
IMHO, there are several parts which can be modified to support segmented memory model. For example, the initialization of segment registers: https://github.com/trailofbits/remill/blob/9136eb565e4c3862093959b22da74ebc75e815a8/remill/Arch/X86/Runtime/BasicBlock.cpp#L162-L167
and the calculation of segmented address: https://github.com/trailofbits/remill/blob/9136eb565e4c3862093959b22da74ebc75e815a8/remill/BC/Lifter.cpp#L586-L589
and maybe others (?).
Many thanks for any response.

Should probably have an auto &SS_BASE = IF_32BIT_ELSE(state.addr.ss_base.aword, zero1); kind of thing. Would this work for you?
I don't recall if things like PUSH and stuff have been properly implemented to bring in the segment.

Thanks @pgoodman.
auto &SS_BASE = IF_32BIT_ELSE(state.addr.ss_base.aword, zero1) would work, but IMHO it's only a part of the story :(
I think the more serious problem is addr = ir.CreateAdd(addr, segment) because in a segmented memory model, we cannot simply add add and segment to get the (logical) address, segment should be used to go to the corresponding segment descriptor.

Is the issue something to do with segment permissions? What would an ideal or at least "complete" solution look like? For example, what if instead of addr = ir.CreateAdd(addr, segment) where was something like: addr = ir.CreateCall(...) and then call a function like GET_SEGMENT_BASE_<seg name>(memory, state, addr)?

Where this "address translation" function will, among other things, return addr + state.addr.XX_base.aword.

And we can then have something like DEF_TRANSLATE macro that mirrors DEF_SEM in some ways.

Yes, your proposition is a perfect solution for this case.


ifelse condition

Does anyone know, how to do an ifelse conditon with variables for "if" and "else" arguments. If I put the first variable as the argument that should result if my condition is true, it works, but as soon as I put the "else" argument, R just again takes the "if" variable.:
condition, x,y = variables

ifelse (condition == 1, x, y)

R just always takes x, even if there isn't a 1 in "condition".

Does anyone has a solution for this? Thanks a lot.

I am not sure I can see the problem here. If R always returns x, to me that means that the condition is always satisfied. It is hard to say without having some code or a reproducible example to look at. I paste here below some code to show the functioning of ifelse() with continuous and categorical variables, maybe comparing the code can help.
library(tidyverse)
dat <- tibble(
  v1 = rnorm(n = 100, mean = 0, sd = 1),
  v2 = sample(size = 100, x = c("group1", "group2"), replace = TRUE)
)
dat %>%
  mutate(
    v3_cont = ifelse(test = v1 > 0, yes = 1, no = 0),
    v4_cat  = ifelse(test = v2 == "group1", yes = "yes", no = "no")
  )

Which returns the following:
# A tibble: 100 x 4
        v1 v2     v3_cont v4_cat
     <dbl> <chr>    <dbl>  <dbl>
 1  1.04   group1       1      1
 2  0.756  group2       1      0
 3 -0.509  group1       0      1
 4  0.658  group1       1      1
 5  0.0351 group1       1      1
 6  0.786  group2       1      0
 7  0.447  group2       1      0
 8  0.694  group2       1      0
 9 -0.442  group1       0      1
10 -0.392  group2       0      0
# ... with 90 more rows

Thank you for your help! I've had a little error, which I in fact found after a while, but then didn't quite knew where to delete this question on github. So I just tried to close the issue.
Nevertheless thanks very much!


Update typeperf.md

Fix typo.

Learn Build status updates of commit a17e934:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

WindowsServerDocs/administration/windows-commands/typeperf.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Spacing issue between textArea component and character count on Public Portal

When the text area is rendered on the public portal and show chars count is true, there's no space between the two items
Steps to reproduce the behavior:

Go to 'https://function-publicportal-test.shesha.dev/dynamic/testModule/public-textfields'
Enter characters on the textArea component
Check the counter that shows below the component
Actual Results: There's no space between the two items

Expected behavior
Add a little space, just how it is on the admin portal

Related item
#1174
#1181

Hi @Lukeybooi , with the curtrenyt changes, the spacing is still not applied


PublicEndPoints field is not showing serviceId in Node view

Rancher versions: master c94c7f8f4a6
Steps to Reproduce:

Create a workload with a NodePort port mapping

Results:

Show any of the Nodes in API view, the serviceId field is null:

publicEndpoints": [ 3 items

    {
        "nodeId": null,
        "podId": null,
        "port": 32559,
        "protocol": "TCP",
        "serviceId": null
    },
    {
        "address": "<IP_ADDRESS>",
        "nodeId": null,
        "podId": null,
        "port": 80,
        "protocol": "TCP",
        "serviceId": null
    },
    {
        "address": "<IP_ADDRESS>",
        "nodeId": null,
        "podId": null,
        "port": 443,
        "protocol": "TCP",
        "serviceId": null
    }

],```

Tested with latest build from master
Create a workload with port mapping having "Publish on Every node" option.
All nodes in the setup have  serviceId set in PublicEndPoints.
"publicEndpoints": [ 3 items
{
"nodeId": "cluster-5c4f4:m-s2qkm",
"podId": null,
"port": 30731,
"protocol": "TCP",
"serviceId": "default:mytest1"
},
{
"address": "<IP_ADDRESS>",
"nodeId": "cluster-5c4f4:m-s2qkm",
"podId": null,
"port": 80,
"protocol": "TCP",
"serviceId": null
},
{
"address": "<IP_ADDRESS>",
"nodeId": "cluster-5c4f4:m-s2qkm",
"podId": null,
"port": 443,
"protocol": "TCP",
"serviceId": null
}
],


docs: add toolkit docs

This PR mainly supplements the documentation for new toolkit features.
Mainly focuses on the following three points:

trace: Supplemented AddEvent documentation

logging: Added toolkit/logging usage documentation

metric: Added toolkit/metric usage documentation

You should update menu.yml to keep them visible on website.

Please submit a pull request to the mail repo for the log reporter.

Please submit a pull request to the mail repo for the log reporter.

A small question: In what period will the skywalking-go documents be synchronized to the website? I need to reference this in log reporter for the main website repo


Need to print spin configuration snapshots

Hello Finn,
May I know if it is possible to generate spin configurations snapshots at different frequency as well as for the ground state?
Thanks for your help.

Hi,
The pseudofermion-FRG algorithm is formulated such that it fundamentally relies on the computation of two-spin correlations.
Unfortunately, the method is therefore unable to resolve the magnetic order itself -- at least in the sense of observing finite spin expectation values associated with spontaneous symmetry breaking (see also Sec. 2.5.1 of my PhD thesis for a comment on symmetry breaking and phase transitions).
It is, however, possible to resolve two-spin correlations (rather than spin configurations) and visualize them in real space, see the last example plot in the README.md.
I hope this helps!


Remove architecture setting

Adding architecture for setting windows, linux or mac was kinda mistake and pointless as action should be able to resolve it from a running system.

Wrongly used #1 in a commit to close, closing now...


Updated link text to match destination page title

Updated link text to match destination page title

Hi @asrar7787, I have updated the article. Here's the link: https://experienceleague.adobe.com/docs/commerce-knowledge-base/kb/troubleshooting/database/database-errors-related-to-max-allowed-packet-on-magento.html


Does this library support all the fragments-related classes, like ViewPager?

as the title says.

Yes. There is one example of ViewPager in the example project (see SlidesPresenter and SlidePagePresenter.)
And also architect-commons provides a PagerAdapter: https://github.com/lukaspili/Mortar-architect/blob/master/commons/src/main/java/architect/commons/adapter/StackablePagerAdapter.java

Nice. Thank you.
On Mon, Jul 13, 2015 at 9:56 PM, Lukas Piliszczuk<EMAIL_ADDRESS>wrote:

Yes. There is one example of ViewPager in the example project (see
SlidesPresenter and SlidePagePresenter.)
And also architect-commons provides a PagerAdapter:
https://github.com/lukaspili/Mortar-architect/blob/master/commons/src/main/java/architect/commons/adapter/StackablePagerAdapter.java
—
Reply to this email directly or view it on GitHub
https://github.com/lukaspili/Mortar-architect/issues/2#issuecomment-121022586
.


fix render test that relies on implementation detail

setState is supposed to be asynchronous but in actuality is not. This pull request removes the reliance on that implementation detail, which should be fixed in the future.

Coverage remained the same at 100.0% when pulling eda2a47efaca501be1f6c61c1df9ff05eb4ce656 on KevinDoughty:kvndyImplementationDetail into 8b2f56a54d7fd46ec23ee280977860ca015d5236 on developit:master.

setState is fixed to be asynchronous with https://github.com/developit/preact/pull/1228, and a related PR is https://github.com/developit/preact/pull/1229

More specifically, this test sets state, then immediately reads it back. Passing requires this to be possible, but it should not be possible and should not pass. Thus I wrapped the remaining code in a setTimeout.

I'm good with removing reliance on synchronous state from this test.
We'll still need to figure out if we have the option to move away from setting state synchronously, but there's no reason to rely on it in this test.

My first PR ever!
ｷﾀ━━━━｡ﾟ+.ヽ(´∀`*)ﾉ ﾟ+.ﾟ━━━━!!


Fix MAD devices not showing up on map correctly

The X and Y coords are swapped currently for MAD devices. This is because X is mapped to latitude and Y is mapped to longitude which is incorrect in this case.  Some more info: https://gdal.org/tutorials/osr_api_tut.html#crs-and-axis-order This is a very confusing topic overall when working with geometries and both versions exsists (latitude, longitude / longitude, latitude) depending on the libraries used and also db engines.

🤔 it seems unlikely to me that this wasn't previously noticed by anyone else running MAD? When I had a MAD DB available for testing, the current code produced the correct positions.

I do agree that it seems odd I would be the only one with this issue.
I'm currently running MAD async branch, the devices did work when I was on master branch.
This picture show how the trs_status (from master branch) view behaved and this shows how trs_status (from async branch).
I really don't understand why trs_status seems to be the only table where the naitive Point db type is used, all other tables uses latitude double, longitude double.

Thanks for the screenshots, that's interesting. Is there a chance this is unintentional for MAD async branch? Maybe @fosJoddie can provide some commentary. I believe @crhbetz is also running the async branch, can you confirm this is an issue for you as well?

Current workaround I'm using is to create an empty db and add some views and moved the device part of the db config to point at the new db, seems to be working just fine :)
sql to create views (pokemon view seems to be needed because reactmap uses that to determine db type (mad/rdm)?, what is "type":"mad" even used for?)
create view pokemon as
select * from `mad`.`pokemon`
;create view settings_area as
select * from `mad`.`settings_area`
;create view settings_device as
select * from `mad`.`settings_device`
;create view trs_status as
select `instance_id`,`device_id`,st_geometryfromwkb(point(st_y(`currentPos`),st_x(`currentPos`))) AS `currentPos`,st_geometryfromwkb(point(st_y(`lastPos`),st_x(`currentPos`))) AS `lastPos`,`routePos`,`routeMax`,`area_id`,`idle`,`rebootCounter`,`lastProtoDateTime`,`lastPogoRestart`,`rebootingOption`,`restartCounter`,`lastPogoReboot`,`globalrebootcount`,`globalrestartcount`,`currentSleepTime`,`last_softban_action`,`last_softban_action_location` from `mad`.`trs_status`

local.json
"schemas": [
  {
    "type": "mad",
    "host": "$MAD_DB_IP",
    "port": 3306,
    "username": "$MAD_DB_USERNAME",
    "password": "$MAD_DB_PASSWORD",
    "database": "$MAD_DB_DATABASE",
    "charset": "utf8mb4",
    "hasAltQuests": false,
    "useFor": [
      "gym",
      "pokemon",
      "pokestop",
      "scanCell",
      "spawnpoint",
      "weather",
      "nest"
    ]
  },
  {
    "type": "mad",
    "host": "$MAD_DB_IP",
    "port": 3306,
    "username": "$MAD_DB_USERNAME",
    "password": "$MAD_DB_PASSWORD",
    "database": "maddummy",
    "charset": "utf8mb4",
    "hasAltQuests": false,
    "useFor": [
      "device"
    ]
  }
]

type, hasAltQuests, and charset are all deprecated and no longer used.

I believe @crhbetz is also running the async branch, can you confirm this is an issue for you as well?

In case it's still relevant: yes, I can confirm this. I'm scanning in southern Germany and the scanners are displayed in Somalia on ReactMap :-)

This us indeed wrong in async branch. Please hold on this PR for a fix in async

Going to close since this will be addressed in MAD


Unpin angr-management

Fixed in https://github.com/binsync/binsync/pull/340

@twizmwazin, any chance you know why this might happen:
https://github.com/binsync/binsync/actions/runs/6858964704/job/18650533115#step:5:7
I am getting a circular import error on angr-management that I can't seem to reproduce locally... very confusing.

Something whacky is going on with dependencies, an older version is being used. Check out the install dependencies step.


updated bitbar (1.6.0)

Thank you for the contribution. It was merged directly as 167bf398bb33aafa0624c3571ce1345cb1c73a85 to keep commit history cleaner. Your contribution is still credited to you.


chore(dependencies): update typescript and lint dependencies

General summary

chore(typescript): update to v5
Update to Typescript v5. It should have no impact on the library consumers, it's only a dev dependencies
chore(build): remove unecessary type checking on build
Remove type checking on lumx-core build, we already check types in CI
chore(lint): update eslint and cleanup configuration
Rework our lint configuration with latest version of eslint dependencies to support new TS version
chore(lint): lint all files with the new config
Apply the new lint configuration to all files

Test scenario
All libs should build without any change
All CI should pass

Lint KO

Rebased & refsolved conflicts


feat(s3):support AWS_ENDPOINT env

Codecov Report
Patch coverage: 50.00% and project coverage change: -0.07 :warning:

Comparison is base (59115dd) 100.00% compared to head (6ed555e) 99.93%.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #179      +/-   ##
===========================================
- Coverage   100.00%   99.93%   -0.07%
===========================================
  Files           35       35
  Lines         4553     4551       -2
===========================================
- Hits          4553     4548       -5
- Misses           0        3       +3

Impacted Files
Coverage Δ

megfile/s3_path.py
99.78% <50.00%> (-0.22%)
:arrow_down:

... and 5 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

:+1:


no module controlnet.controlnet.sparsectrl and failed to load the test json file.

upgrade latest version, it prompt error below and reinstall twice, but same. besides, it failed to load any example PNG inside example, or test json file from website. none any response.
appreicate your advice. here.

@hanetyb This extension doesn't have "control.control_sparsectrl" and this error is likely to come from Efficiency Nodes.


fix: dedupe dedupe settings

Summary:

Removes batch_execution field from Server config, dedupe_in_flight and dedupe fields from Upstream.
Adds dedupe to Server config
Refactor request_handler.rs and io.rs to use the new dedupe defined in Server config

Issue Reference(s):
Fixes #2182
Build & Testing:

[X] I ran cargo test successfully.
[X] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[X] I have added relevant unit & integration tests.
[X] I have updated the documentation accordingly.
[X] I have performed a self-review of my code.
[X] PR follows the naming convention of <type>(<optional scope>): <title>

Thanks for fixing the lint issues, I didn't expect the warning will cause the lint to fail in CI.
One more thing I wanted to quickly get your opinion on this line
https://github.com/tailcallhq/tailcall/blob/4890980cd7589c4b7476e35417d1364d2ed2788b/src/core/ir/io.rs#L74
The above if - else block is probably not needed because this block will get executed only if this check here failed
https://github.com/tailcallhq/tailcall/pull/2183/files#diff-c682c5a9b03602a6b44f7f216b74e65018221f460a79b6b59e72905dfd98b9c6R69
so I guess we can get rid of the if completely right ?
@tusharmath

That would be right.

I made a commit that fixes the unnecessary check thanks.

@bnchi Can you please update the documentation for these changes here - https://github.com/tailcallhq/tailcallhq.github.io


Interactive "console" to run bean-* commands

It may be feasable to run bean-* commands inside fava/the browser - anyone interested in this?

I don't think it's really worth the effort. For features that we want to provide we should integrate custom reports. Including a shell doesn't really offer anything the user couldn't do in the terminal. And unlike the Query page we can't really improve the output and link accounts for example.

I agree. This was just a quick idea, and not to forget it I opened this issue. Will close as "wontfix".


custom template for form

is it possible to customize the template for the form?  I'd still like to use all the built in features of each field type in tcomb form but I just want to have more control over the form.  Something like this:
var MyType = t.struct({ ... my fields ...});
render() {
  return (
  <Form type={MyType} options={options}>

<Form.Field field={MyType.field1} />

<Form.Field field={MyType.field2} />

  </Form>);
}

or something along those lines.  I can of course customize the template for each field, but then it's hard to follow where things are.  In otherwords, I want all the fields to work the same as they do currently, but I just want to have more control over how/where they're rendered in the form directly inline...

is it possible to customize the template for the form

Yes, see the formLayout template in the GUIDE as example

ah thanks!  I was looking for 'form template' not form layout.  :)


Fix cluster scope resources

Fixes #1509

/test eventing-upgrade-tests

/lgtm
/approve

/cherry-pick release-1.11


Escape angle brackets for placeholders

This PR is supposed to fix issues https://github.com/MicrosoftDocs/microsoftgraph-docs-powershell/issues/44 and https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1135.
The fix is as a result of guidance from docs (https://review.docs.microsoft.com/en-us/help/contribute/validation-ref/disallowed-html-tag?branch=main) information on unrestricted HTML containing scripting that can be used to hack docs site.
The particular scripting found is the angle brackets used as placeholders.

@timayabi2020 Thanks for your contribution. I talked with PM and decided to use backtick to escape angle brackets.

/azp run


crypto: Equal(PublicKey) bool methods leak to PrivateKey implementations

Since golang.org/cl/225460 (#21704), the following code compiles but prints an unexpected result:
package main

import (
	"crypto/rand"
	"crypto/rsa"
)

func main() {
	pk, _ := rsa.GenerateKey(rand.Reader, 512)
	println(pk.Equal(pk)) // prints false
}

This is due to PrivateKey embedding PublicKey without having its own Equal method to mask PublicKey’s.
This causes difficult to debug issues with tools like go-cmp, as it looks for an Equal method on each type recursively and finds one in this case for the concrete private key types. The diff printed by the following code will be non-empty, but the values are identical:
package main

import (
	"crypto/rand"
	"crypto/rsa"
	"fmt"
	"math/big"

	"github.com/google/go-cmp/cmp"
)

func main() {
	pk, _ := rsa.GenerateKey(rand.Reader, 512)
	bigIntCmp := cmp.Comparer(func(x, y *big.Int) bool {
		return x.Cmp(y) == 0
	})
	fmt.Printf("Diff: '%s'\n", cmp.Diff(pk, pk, bigIntCmp))
}

/cc @FiloSottile @katiehockman

I ran into the same issue with https://github.com/golang/go/issues/33564 where I created a MarshalText method on ecdsa.PublicKey, which then leaked to ecdsa.PrivateKey because it embedded PublicKey.
That's unfortunate. @FiloSottile how do you want to proceed here? Make an Equal on the PrivateKey types too?

Nice bug. If a particular PrivateKey embeds PublicKey, then any time you implement PublicKey.M you should also implement PrivateKey.M to do the private key-specific behavior, whatever that is. Probably there should be a (non-doc) comment in the sources anywhere we do this, alerting people to the gotcha.
Embedding the PublicKey instead of calling the field Public was probably a mistake, but too late now.

Yeah, using embedding was probably a mistake in hindsight, even if I see how it made sense since the PublicKey fields are arguably PrivateKey fields as well.
Question about Equal semantics: would you expect two equivalent PrivateKeys to return true or false if one has Precomputed set and the other doesn't? I think false?
(I was hoping to avoid the question by not implementing Equal on the private keys, but yes, too late.)

Question about Equal semantics: would you expect two equivalent PrivateKeys to return true or false if one has Precomputed set and the other doesn't? I think false?

Naively I'd assume Equal compares only the key material and ignores the Precomputed field. I think one thing to consider is what the intended use of the method is, it seems likely people will use this to verify too keys are the same (i.e. similarly to marshaling to DER and comparing the encoding is equal) rather than comparing that the actual structs are equal. Either way this would be a good thing to document publicly.
(It could be somewhat confusing to consider it given ECDSA and EdDSA have no analog.)

Question about Equal semantics: would you expect two equivalent PrivateKeys to return true or false if one has Precomputed set and the other doesn't? I think false?

@rsc what do you think?

I would personally expect Equal to be semantic rather than picky about the exact representation. But if you can make an argument for being picky, that's OK with me too.

@rsc pointed out IP.Equal and Time.Equal as precedents of Equal meaning equivalent, so let's implement it by ignoring Precomputed.


Useless labels in test cases

I found in several test files empty labels like (random example from fcvt.s.wu_b25-01.S):
signature_x8_0:
    .fill 0*((SIGALIGN)/4),4,0xdeadbeef

This does not result in data being allocated (repeat is set to zero).
What's the point of doing that?
Note that this is also in the example in TestFormatSpec.adoc.

Its an artifact of the test generator. Since it does not generate any data being allocated, its harmless and hence has been ignored thus far.


Auth error

Upon authorizing for the first time (yay new users!) the following is output on the page:
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page
"AuthCanceled at /auth/complete/rdio-oauth2/
Authentication process canceled
Request Method:	GET
Request URL:	http://rdioparty.com/auth/complete/rdio-oauth2/?redirect_state=ApI7C2Phwr3qUYn0LoiUeaJBZqs18SHt&state=ApI7C2Phwr3qUYn0LoiUeaJBZqs18SHt&code=eA-7-XtCrh1W-4Z2zn1hqA
Django Version:	1.5
Exception Type:	AuthCanceled
Exception Value:
Authentication process canceled
Exception Location:	/usr/local/lib/python2.7/dist-packages/social_auth/backends/init.py in auth_complete, line 827
Python Executable:	/usr/bin/uwsgi
Python Version:	2.7.6
Python Path:
['.',
'',
'/usr/local/lib/python2.7/dist-packages/uWSGI-2.0.8-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/pip-6.0.6-py2.7.egg',
'/opt/rdioparty',
'/opt/rdioparty/rdiodj',
'/usr/local/lib/python2.7/dist-packages',
'/usr/local/lib/python2.7/dist-packages/rdioapi',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/lib/python2.7/dist-packages']
Server time:	Mon, 18 May 2015 08:17:11 -0700"

I’ve set DEBUG=False in Prod.
On Mon, May 18, 2015 at 8:16 AM, Mike Garrett<EMAIL_ADDRESS>wrote:

Upon authorizing for the first time (yay new users!) the following is output on the page:
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page
"AuthCanceled at /auth/complete/rdio-oauth2/
Authentication process canceled
Request Method:	GET
Request URL:	http://rdioparty.com/auth/complete/rdio-oauth2/?redirect_state=ApI7C2Phwr3qUYn0LoiUeaJBZqs18SHt&state=ApI7C2Phwr3qUYn0LoiUeaJBZqs18SHt&code=eA-7-XtCrh1W-4Z2zn1hqA
Django Version:	1.5
Exception Type:	AuthCanceled
Exception Value:
Authentication process canceled
Exception Location:	/usr/local/lib/python2.7/dist-packages/social_auth/backends/init.py in auth_complete, line 827
Python Executable:	/usr/bin/uwsgi
Python Version:	2.7.6
Python Path:
['.',
'',
'/usr/local/lib/python2.7/dist-packages/uWSGI-2.0.8-py2.7.egg',
'/usr/local/lib/python2.7/dist-packages/pip-6.0.6-py2.7.egg',
'/opt/rdioparty',
'/opt/rdioparty/rdiodj',
'/usr/local/lib/python2.7/dist-packages',
'/usr/local/lib/python2.7/dist-packages/rdioapi',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/lib/python2.7/dist-packages']
Server time:	Mon, 18 May 2015 08:17:11 -0700"
Reply to this email directly or view it on GitHub:
https://github.com/dasevilla/rdio-party/issues/138

Solved right ?


Swiping up and down

In addition to the swiping left and right to "like" or "dislike" something, is it possible to also add the ability to swipe up and down for other actions?

As I have documented in readme.md, the component can recognise directions to four corners, not UP, DOWN.  But, one workaround is to treat up two corners as UP, and two bottom corners as DOWN.

But if I do it that way, then i can't do left and right as well. I want to
have all 4 directoins. Is there a way to redefine the sections?
ᐧ
On Thu, Jul 9, 2015 at 12:52 AM, wenchao jiang<EMAIL_ADDRESS>wrote:

As I have documented in readme.md, the component can recognise directions
to four corners, not UP, DOWN. But, one workaround is to treat up two
corners as UP, and two bottom corners as DOWN.
—
Reply to this email directly or view it on GitHub
https://github.com/wenchaojiang/AndroidSwipeableCardStack/issues/1#issuecomment-119861867
.

--
Vansh Gandhi

I do not know what you want to achieve. Do you want to change the direction of card (leaving) animation or just want to reinterpret the direction of user swipe event.
If it is the latter, there is a easy workaround. The formal requires a more hacking into the project code.
You can checkout of documentation of the swipe event callback, which report x, y distance, and the direction is original framing (away from center).
public boolean swipeContinue(int direction, float distanceX, float distanceY) {
return true;
}
You got all the information you need,  Just translate the corner directions to UP, DOWN, LEFT ,RIGHT.


Added the functionality of resetting the data

This new function resetWithNeo4jData resets the previous graph and displays the new data.

👍

When used with neo4jd3-multi-relation, it is not available, can you look at it?


Fixes #635 use mv instead of rename as that does not support cross volume operations

Still TODO:

[x] Check exec() is not disabled
[x] Fallback to rename()
[ ] Check on windows

tested ond Windows 10 x64, with Docker Toolbox v.1.13.0-rc3 and PHP 7 container....no problems here.....problem apears again after checkout back to develop, so PR seems to be working on Windows now

is this ok? when you plan to merge it?

I've just requested an additional review from our other team devs 👍

@flaviocopes pls fix that CHANGELOG conflict and we can get this merged.

Merged

Replaced by https://github.com/getgrav/grav/commit/61005360a5edf718d17de55255950fd37bf66d9a


Remove start up message when not needed

I'm not sure exactly how this is useful for regular mappers.  Other situations, such as when there are saved changes or the user is new are currently handled quite well, in a similar way.  For returning mappers, however, this is just another thing to click away before starting with mapping.
I think that this step in the assistant should be skipped entirely and replaced with what the assistant looks like after clicking the Start Mapping button, since it doesn't really serve any purpose.

@BjornRasmussen The returning welcome screen hasn't really been filled out yet, but I'd like to try making it more interesting before discarding it. As I mentioned in https://github.com/openstreetmap/id/issues/6486#issuecomment-498889789, we could add various news items or mapper statistics here.
I kinda like the "Start Mapping" button but I can see how it feels like an unnecessary thing to press. Maybe we can try replacing it with an X button so mappers can close it but not feel like it's obligatory.

I must admit this UI element often doesn't register for me.
Multiple times I've opened up the preview, zoomed in to start mapping and immediately wonder why the OSM data isn't loading in, check the menu and then realise I need to choose "restore" or "discard" on the left.
I actually do like the message that says you have X edits in Y area though and the greeting is a nice touch.

Multiple times I've opened up the preview, zoomed in to start mapping and immediately wonder why the OSM data isn't loading in, check the menu and then realise I need to choose "restore" or "discard" on the left.

We should probably use the de-saturated map filter to indicate that editing isn't available, like we do with upload.

In 9713fbed53b1ce17bea5d6ee95cbb5b8ff2d3dda I enhanced this screen somewhat. More info is now shown when you're logged in.


if the replace value add previous data is larger than max MTU will you split it to two MTU ?

Actually, I have many questions want to ask you for help.

the replacement size add previous data is larger that max MTU 1500, what will it do ?
if I want to process http response, with Content-Type: text.html , and modify the content how could I do to merge several packets into one ? as you know one http packet maybe large, and if it is the content is gzip compressed, I need to decompress,modify, and compress, how should I do ?
or do you have any samples ?
Thanks a lot.

I am not sure. I guess the packet will be rejected.
I don't think that merging packets is going to work (especially for HTTP transfer). One option for HTTP is to maintain state and process packet by packet. It will be very tricky though and I don't have any samples for this.


main: Wait for Redis to be ready before listening

Updates the main program in index.js to begin listening for requests only after the RedisClient emits a ready event. Without this change, the new test case would fail, as the custom-links listening on port ... message would get emitted before any error message due to a failure to connect to Redis.

Coverage increased (+0.07%) to 98.088% when pulling aed2322390a52e79a95c4d62b7c75445b10810d4 on wait-for-redis into fad323fbf98a7d9bc94921a51cb7cde0f0ba9be2 on master.


Log to files in backend environment

Testing file output:
21.DEBUG: oh, that was easy
23.WARNING: but can I configure the level?
27.INFO: of course! level is INFO
28.DEBUG: ignored
30: in case you missed it, there was a debug message that I just suppressed
31.CRITICAL: if you saw it, something is not working.

44.INFO: now let's try an alternate configuration:
{
  "level": "warning",
  "with_timestamp": true,
  "name": "test-cli-driver",
  "with_lineno": true,
  "parse_level_prefix": false,
  "with_level": true,
  "with_always_level_name": true,
  "with_cli_colors": false,
  "log_to_file": true
}
2022-04-17T13:08:29.520Z test-cli-driver.56.WARNING: see readme.md or documentation in the source for explanation of these options
2022-04-17T13:08:29.521Z test-cli-driver.58.ERROR: DO NOT PANIC. Everything is fine!
2022-04-17T13:08:29.521Z test-cli-driver.60.WARNING: enabling parse_level_prefix and with_always_level_name
2022-04-17T13:08:29.521Z test-cli-driver.65.ALWAYS: this is an always-level message, since it has no prefix specified
2022-04-17T13:08:29.521Z test-cli-driver.67.WARNING: creating child loggers
2022-04-17T13:08:29.521Z test-cli-driver.artichoke.70.CRITICAL: artichoke logger initialized
2022-04-17T13:08:29.522Z test-cli-driver.bagel.72.CRITICAL: bagel logger initialized
2022-04-17T13:08:29.522Z test-cli-driver.artichoke.75.WARNING: artichoke is now the active logger, used to patch `console.log`


Feature Request: Expose onError prop to catch any error data during creation

We've been using this wrapper for a couple of years now and it's been wonderful. Thank you for creating it. We process hundreds of payments a day using it. It (and the Braintree SDK) seem to work great in almost every instance. Sadly, for whatever reason, we occasionally get random one-off errors from Braintree that happen during the creation phase. Here's an example of one of our Sentry reports where that happened earlier today:

The error is vague and ambiguous. And we've found that, almost always, if we just try to create the DropIn instance again, it'll work the second time. Given that, we'd like to possibly see if we can improve the user experience for our buyers by auto-retrying if we get such an error. The problem is that we aren't able to catch this error through your wrapper.
Would you be willing to add a prop that would accept an error handler function so that we can catch any errors that Braintree throws and handle them ourselves? Something like:
async componentDidMount() {
  try {
    this.instance = await BraintreeWebDropIn.create({
      container: ReactDOM.findDOMNode(this.wrapper),
      preselectVaultedPaymentMethod: this.props.preselectVaultedPaymentMethod,
      ...this.props.options,
    });

    // existing code for handling extra prop handlers

    if (this.props.onInstance) {
      this.props.onInstance(this.instance);
    }
  } catch (e) {
    if (this.props.onError) {
       this.props.onError(e);
    } else {
       throw e;
    }
  }
}

That way we can catch an error if it occurs and choose whether or not we want to attempt to recreate the DropIn instance by simply force-rerendering your wrapper.
Or if you have other suggestions for how to handle this, we'd much appreciate any suggestions. Thank you again!

Hi, this is a good catch.
One current alternative that doesn't require any changes are React's Error boundaries. I'll add this though since it's fairly simple.

v1.2.1 was been published with this feature!

@Cretezy Thanks! This is exactly what we need. And thanks for the quick response. 👏  🙏


hanging at producer 99 worker did not shutdown quickly

Hi!
My ActiveMQ benchmark is not progressing beyond this point and is continuously printing "producer 99 worker did not shutdown quickly..." , no matter what I configure in the broker. Any ideas what to do to make it progress?
starting scenario :  "group": "throughput", "mode": "queue", "persistent": false, "message_size": 10000000, "tx_size": 0, "destination_count": 1, "consumers": 100, "producers": 100
sampling : ccccccccccproducer 99 worker did not shutdown quickly...
producer 99 worker did not shutdown quickly...
producer 99 worker did not shutdown quickly...
Thanks!

I think I found the way to do it. There is an option called --allow_worker_interrupt


Improve Jax installer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (ae77eab) to head (32a2213).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #204   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          192       195    +3
  Branches        27        28    +1
=========================================
+ Hits           192       195    +3

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


python310Packages.markdown-include: 0.8.0 -> 0.8.1

Diff: https://github.com/cmacmackin/markdown-include/compare/refs/tags/v0.8.0...v0.8.1
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

2500 rebuilds, will do this via python-updates instead.


Could I use template?

When inject is true, it works.
new HtmlWebpackPlugin({
    minify : false,
    filename,
    inlineSource : '.(js|css)$',
})

I want to use template to control the position of script.
new HtmlWebpackPlugin({
    minify : false,
    inject : false,
    filename,
    template,
    inlineSource : '.(js|css)$',
})

And the template like this,
<% for (key in htmlWebpackPlugin.files.chunks) { %>
<script src="<%= htmlWebpackPlugin.files.chunks[key].entry %>" type="text/javascript"></script>
<% } %>

And which attribute is the source ?

As you discovered this plugin works by modifying the injected html tag definitions.  From the documentation only the files (not source) are available to you as variables.

This plugin works by modifying the html tags injected by the html-webpack-plugin.

Got it.


V2ray客户端通过socks将流量转发给Trojan实现分流

Please answer all the questions with enough information. All issues not following this template will be closed immediately.
If you are not sure if your question is truely a bug in V2Ray, please discuss it here first.

What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)?
V2ray 4.27.0
What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy.
想通过V2ray的Socks将流量转发给Trojan实现分流
What did you see? (Please describe in detail, such as timeout, fake TLS certificate etc)
V2Ray创建不了outbounds的socks

./v2ray -test -config /etc/v2ray/config.json
V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
A unified platform for anti-censorship.
2020/08/17 23:16:26 [Info] v2ray.com/core/common/platform/ctlcmd:
v2ctl> Read config:  /etc/v2ray/config.json
main: failed to create server > v2ray.com/core/proxy/socks: 0 target server

What's your expectation?
V2Ray应该能够打开outbounds的socks才能代理流量转发，
Please attach your configuration file (Mask IP addresses before submit this issue).

Server configuration:
    // Please attach your server configuration here.

Client configuration:
    // Please attach your client configuration here.
{
"inbounds": [
...
],
"outbounds": [
...
    {
         "tag": "trojan",
        "protocol": "socks",
        "settings": {
           "server": [
           {
           "address": "<IP_ADDRESS>",
            "port": 10010
          }
                     ]
                    }
 }
    ],
"dns": {
...
 },

 "routing": {
"domainStrategy": "IPOnDemand",
"rules": [
...
{
"domain": [

   {       "domain:youtu.be",
          "domain:google.com",
          "domain:youtube.com",
          "domain:netflix.com",
          "geosite:google",
          "geosite:github",
          "geosite:netflix",
          "geosite:steam",
          "geosite:telegram",
          "geosite:tumblr",
          "geosite:speedtest",
          "geosite:bbc",

                  ],
        "type": "field",
        "outboundTag": "trojan"
  }
]
}
}

Please attach error logs, especially the bottom lines if the file is large. Error log file is usually at /var/log/v2ray/error.log on Linux.

Server error log:
    // Please attach your server error log here.

Client error log:
    // Please attach your client error log here.

Please attach access log. Access log is usually at '/var/log/v2ray/access.log' on Linux.

    // Please attach your server access log here.

Other configurations (such as Nginx) and logs.

If V2Ray doesn't run, please attach output from --test.

The command is usually /usr/bin/v2ray/v2ray --test --config /etc/v2ray/config.json, but may vary according to your scenario.
./v2ray -test -config /etc/v2ray/config.json
V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
A unified platform for anti-censorship.
2020/08/17 23:16:26 [Info] v2ray.com/core/common/platform/ctlcmd:
v2ctl> Read config:  /etc/v2ray/config.json
main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
10) If V2Ray service doesn't run, please attach journal log.
Usual command is journalctl -u v2ray.
Aug 17 23:21:53 juda v2ray[6539]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:21:53 juda v2ray[6539]: A unified platform for anti-censorship.
Aug 17 23:21:55 juda v2ray[6539]: 2020/08/17 23:21:55 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:21:55 juda v2ray[6539]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:21:55 juda v2ray[6539]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:21:55 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:21:55 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:21:55 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 4.
Aug 17 23:21:55 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:21:55 juda systemd[1]: Started V2Ray Service.
Aug 17 23:21:55 juda v2ray[6551]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:21:55 juda v2ray[6551]: A unified platform for anti-censorship.
Aug 17 23:21:57 juda v2ray[6551]: 2020/08/17 23:21:57 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:21:57 juda v2ray[6551]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:21:57 juda v2ray[6551]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:21:57 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:21:57 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:21:57 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Aug 17 23:21:57 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:21:57 juda systemd[1]: v2ray.service: Start request repeated too quickly.
Aug 17 23:21:57 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:21:57 juda systemd[1]: Failed to start V2Ray Service.
Aug 17 23:22:22 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:22 juda v2ray[6581]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:22 juda v2ray[6581]: A unified platform for anti-censorship.
Aug 17 23:22:23 juda v2ray[6581]: 2020/08/17 23:22:23 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:23 juda v2ray[6581]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:23 juda v2ray[6581]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:23 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:23 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:24 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 1.
Aug 17 23:22:24 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:24 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:24 juda v2ray[6608]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:24 juda v2ray[6608]: A unified platform for anti-censorship.
Aug 17 23:22:25 juda v2ray[6608]: 2020/08/17 23:22:25 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:25 juda v2ray[6608]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:25 juda v2ray[6608]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:25 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:25 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:26 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 2.
Aug 17 23:22:26 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:26 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:26 juda v2ray[6623]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:26 juda v2ray[6623]: A unified platform for anti-censorship.
Aug 17 23:22:27 juda v2ray[6623]: 2020/08/17 23:22:27 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:27 juda v2ray[6623]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:27 juda v2ray[6623]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:27 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:27 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:28 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 3.
Aug 17 23:22:28 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:28 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:28 juda v2ray[6636]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:28 juda v2ray[6636]: A unified platform for anti-censorship.
Aug 17 23:22:29 juda v2ray[6636]: 2020/08/17 23:22:29 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:29 juda v2ray[6636]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:29 juda v2ray[6636]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:29 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:29 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:30 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 4.
Aug 17 23:22:30 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:30 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:30 juda v2ray[6649]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:30 juda v2ray[6649]: A unified platform for anti-censorship.
Aug 17 23:22:31 juda v2ray[6649]: 2020/08/17 23:22:31 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:31 juda v2ray[6649]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:31 juda v2ray[6649]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:31 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:31 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:32 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 5.
Aug 17 23:22:32 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:32 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:32 juda v2ray[6662]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:32 juda v2ray[6662]: A unified platform for anti-censorship.
Aug 17 23:22:33 juda v2ray[6662]: 2020/08/17 23:22:33 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:33 juda v2ray[6662]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:33 juda v2ray[6662]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:33 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:33 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:34 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 6.
Aug 17 23:22:34 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:34 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:34 juda v2ray[6676]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:34 juda v2ray[6676]: A unified platform for anti-censorship.
Aug 17 23:22:35 juda v2ray[6676]: 2020/08/17 23:22:35 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:35 juda v2ray[6676]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:35 juda v2ray[6676]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:35 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:35 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:36 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 7.
Aug 17 23:22:36 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:36 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:36 juda v2ray[6688]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:36 juda v2ray[6688]: A unified platform for anti-censorship.
Aug 17 23:22:37 juda v2ray[6688]: 2020/08/17 23:22:37 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:37 juda v2ray[6688]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:37 juda v2ray[6688]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:37 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:37 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:38 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 8.
Aug 17 23:22:38 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:38 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:38 juda v2ray[6703]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:38 juda v2ray[6703]: A unified platform for anti-censorship.
Aug 17 23:22:39 juda v2ray[6703]: 2020/08/17 23:22:39 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:39 juda v2ray[6703]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:39 juda v2ray[6703]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:39 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:39 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:40 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 9.
Aug 17 23:22:40 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:40 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:40 juda v2ray[6716]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:40 juda v2ray[6716]: A unified platform for anti-censorship.
Aug 17 23:22:41 juda v2ray[6716]: 2020/08/17 23:22:41 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:41 juda v2ray[6716]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:41 juda v2ray[6716]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:41 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:41 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:42 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 10.
Aug 17 23:22:42 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:42 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:42 juda v2ray[6728]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:42 juda v2ray[6728]: A unified platform for anti-censorship.
Aug 17 23:22:43 juda v2ray[6728]: 2020/08/17 23:22:43 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:43 juda v2ray[6728]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:43 juda v2ray[6728]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:43 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:43 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:44 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 11.
Aug 17 23:22:44 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:44 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:44 juda v2ray[6740]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:44 juda v2ray[6740]: A unified platform for anti-censorship.
Aug 17 23:22:45 juda v2ray[6740]: 2020/08/17 23:22:45 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:45 juda v2ray[6740]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:45 juda v2ray[6740]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:45 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:45 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:46 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 12.
Aug 17 23:22:46 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:46 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:46 juda v2ray[6752]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:46 juda v2ray[6752]: A unified platform for anti-censorship.
Aug 17 23:22:47 juda v2ray[6752]: 2020/08/17 23:22:47 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:47 juda v2ray[6752]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:47 juda v2ray[6752]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:47 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:47 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:48 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 13.
Aug 17 23:22:48 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:48 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:48 juda v2ray[6765]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:48 juda v2ray[6765]: A unified platform for anti-censorship.
Aug 17 23:22:49 juda v2ray[6765]: 2020/08/17 23:22:49 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:49 juda v2ray[6765]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:49 juda v2ray[6765]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:49 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:49 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:50 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 14.
Aug 17 23:22:50 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:50 juda systemd[1]: Started V2Ray Service.
Aug 17 23:22:50 juda v2ray[6777]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:22:50 juda v2ray[6777]: A unified platform for anti-censorship.
Aug 17 23:22:51 juda v2ray[6777]: 2020/08/17 23:22:51 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:22:51 juda v2ray[6777]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:22:51 juda v2ray[6777]: main: failed to create server > v2ray.com/core/proxy/socks: 0 target server
Aug 17 23:22:51 juda systemd[1]: v2ray.service: Main process exited, code=exited, status=23/n/a
Aug 17 23:22:51 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:52 juda systemd[1]: v2ray.service: Scheduled restart job, restart counter is at 15.
Aug 17 23:22:52 juda systemd[1]: Stopped V2Ray Service.
Aug 17 23:22:52 juda systemd[1]: v2ray.service: Start request repeated too quickly.
Aug 17 23:22:52 juda systemd[1]: v2ray.service: Failed with result 'exit-code'.
Aug 17 23:22:52 juda systemd[1]: Failed to start V2Ray Service.
Aug 17 23:24:26 juda systemd[1]: Started V2Ray Service.
Aug 17 23:24:26 juda v2ray[6821]: V2Ray 4.27.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.6 linux/amd64)
Aug 17 23:24:26 juda v2ray[6821]: A unified platform for anti-censorship.
Aug 17 23:24:28 juda v2ray[6821]: 2020/08/17 23:24:28 [Info] v2ray.com/core/common/platform/ctlcmd:
Aug 17 23:24:28 juda v2ray[6821]: v2ctl> Read config:  /etc/v2ray/config.json
Aug 17 23:24:46 juda v2ray[6821]: =======VMESSAEADEXPERIMENT ENABLED========
Aug 17 23:24:52 juda v2ray[6821]: =======VMESSAEADEXPERIMENT ENABLED========
Aug 17 23:25:52 juda v2ray[6821]: =======VMESSAEADEXPERIMENT ENABLED========
Aug 17 23:27:47 juda v2ray[6821]: =======VMESSAEADEXPERIMENT ENABLED========
Aug 17 23:27:50 juda v2ray[6821]: =======VMESSAEADEXPERIMENT ENABLED========
Please review your issue before submitting.

请把"server"改成"servers"

请把"server"改成"servers"
这样改了果然好了，这种方式提供了一种无限的可能，就是用V2ray做为客户端（或者代理服务器），将流量分流给其他的应用比如Trojan，SSR或者其他的非全局代理的VPN

Aug 18 07:45:43 juda trojan[5350]: [2020-08-18 07:45:43] [INFO] <IP_ADDRESS>:34300 requested connection to www.facebook.com:443
Aug 18 07:45:56 juda trojan[5350]: [2020-08-18 07:45:56] [INFO] <IP_ADDRESS>:34390 requested connection to facebook.com:443
Aug 18 07:46:01 juda trojan[5350]: [2020-08-18 07:46:01] [INFO] <IP_ADDRESS>:34412 requested connection to facebook.com:443
~

@judawu commented on Aug 23, 2020, 2:51 PM GMT+4:30:

Wireguard outlet Set to freedom, the Wireguard client needs to monitor port 10021, and you can set another layer of UdpSpeeder to accelerate

How do you setup the Wireguard client to only monitor port 10021?

@judawu commented on Aug 23, 2020, 2:51 PM GMT+4:30:

Wireguard outlet Set to freedom, the Wireguard client needs to monitor port 10021, and you can set another layer of UdpSpeeder to accelerate

How do you setup the Wireguard client to only monitor port 10021?

actually I failed,  I open listen port for 10021 in wg0.conf, the same as wireguard server . and some v2ray packet  send to port 10021 use policy tag,  then wireguard client can receive the packet and handle with it, wireguard send out packet to port 53 for DNS Query on any UDP port ,  then the UDP packet captured by V2ray client again ,  I stuck their, i don't know how to config the policy to transfer wireguard pakcet transparent in v2ray .  maybe use a reverse proxy or some other way . make v2ray bypass the specified UDP packet


Minor update to set numpy requirements to match tensorflow expectations

This may not really be a useful PR, but this explicitly sets the numpy version to be compatible with TensorFlow version 2.3.1.
Tested that this forces the correct numpy restriction, at least for me in conda.

This is in response to https://github.com/isofit/isofit/issues/174.  @pgbrodrick again either way is fine, happy to just use the version resolver instead.

Looks like this passed all of the install checks already, so happy to include for the sake of explicitness!
Thanks.


Whitespace stripped from HTML attributes sometimes...

I haven't figured out exactly what the problem is, but I do have a reproducible test.
# in test_views/views.py
@test_views.route('/test_views/html_compress_bug1')
def html_compres_bug1():
    return render_template('test_views/html_compress_bug1.html', broken='other')

    <title>Test</title>

Forced a space, this works

Space nuked

you should use as explained in documentation {{ " " }} instead of spaces, if you need space before next node
it may also happen with tag attributes - there u also should use this {{ " " }} construct

This is not a smart solution.
Is not possible to solve this bug?

I've got a fork over in https://github.com/eli-collins/jinja2-htmlcompress which has a rewritten parser, that tries to be inline-block aware, and I've added a test for seans'
Please login to sample; and it seems to work correctly.


Menu needs to allow for scrolling

When the list is long and the screen isn't tall enough we should allow people to scroll.

Known issue with MDL - we're waiting for the next update.
@gauntface - any updates?

Tagging in @surma and @sgomes as an FYI

Yup, it's a known bug. Fix will come out in 1.0.6.

Thanks for the feedback, we've got an update coming next week that should fix this.


TAJO-1952: Implement PartitionedFileFragment

This patch contains following modifications:

Remove partition paths from PartitionedTableScanNode
Implement PartitionedFileFragment
Separate a method for pruning partition paths from PartitionedTableRewriter to PartitionedTableUtil
Build a type by using partition name which contains partition keys and values

Could you rebase it against the latest revision? I'd like to try the patch on my machine.

@hyunsik
Thank you for your review. I've just rebased it against the latest version.

@hyunsik
Thank your for your review. I've just reflected your comments.

I updated the patch as following:

Renamed PartitionedFileFragment to PartitionFileFragment
Recovered codes for pruning partition in PartitionedTableRewrtier
Recovered partition paths of PartitionedTableScanNode and added partition keys to PartitionedTableScanNode
Implemented PartitionContent which contains partition paths, partition keys, partition volume

For the reference, I've tried to maintain existing codes as far as possible.

@hyunsik
Updated the patch as following:

Remove unused packages
Remove PartitionedTableScanNode of PlanProto
Remove unnecessary PartitionedTableScanNode usages of Repartitioner and PhysicalPlannerImpl

Added unit test cases for PartitionedTableRewriter

@hyunsik
Thank you for your detailed review. I reflected your comments.

@hyunsik
I changed PartitionFileFragment by extending FileFragment because there are some codes for only FileFragment. For example, you can see cast codes as following:
  public FileScanner(Configuration conf, final Schema schema, final TableMeta meta, final Fragment fragment) {
    this.conf = conf;
    this.meta = meta;
    this.schema = schema;
    this.fragment = (FileFragment)fragment;
    this.tableStats = new TableStats();
    this.columnNum = this.schema.size();
  }

Evaluated patch testing before and after PartitionFileFragment implementation as following:

Dataset : TPCH-100G
Tajo Cluster : 1 Master, 6 Workers
Queries: Q1, Q3, Q5, Q6, Q7, Q8, Q9, Q10
Tajo version for before  PartitionFileFragment implementation

0.11.1-SNAPSHOT

Tajo version for after  PartitionFileFragment implementation:

0.12.0-SNAPSHOT (partitions exist on catalog)
0.12.0-SNAPSHOT (partitions doesn't exist on catalog)

The results were same as following:

The number and order of execution blocks
The number of stags in a each execution block
The number of rows in a result
All tuples in a result (excluded a few floating point value)

The Travis CI Build seems like a fail by another reason. Here is the pre-commit report by lasted patch as follows. https://builds.apache.org/job/PreCommit-TAJO-Build/900//console

@hyunsik
Is there a problem that needs to be fixed?

@hyunsik
I updated this PR as following:

Remove the list of partition paths in PartitionedTableScanNode. It just contains the path of table root.
PartitionedTableRewriter just rewrite ScanNode to PartitionedTableScanNode in BaseLogicalPlanRewriteRuleProvider.
Actual partition pruning will be executed in Repartitioner by PartitionedTableRewriter.


Use label for "Follow link" command's tooltip

Currently hovering over the  "Follow link" command will show the URI for the command in text form. This PR changes it to showing the label as the tooltip.
Avoids this:

Doesn't this change also mean I won't be able to preview the target of an http(s) link?
Maybe OK to omit the query string from what the hover currently shows.
Also, based on code reading I expected the link text in your screenshot to read "Execute command" rather than "Follow link".

Doesn't this change also mean I won't be able to preview the target of an http(s) link?

True. Is that an intended use-case, or simply a side-effect of the current behavior? The PR could be adjusted so that it only uses the label if executeCmd is true.

Maybe OK to omit the query string from what the hover currently shows.

That would be an improvement, but I think showing the command name would still be undesirable behavior, as it's unexpected and not self-explanatory to anyone who doesn't know what command URIs are, as they're an implementation detail.

Also, based on code reading I expected the link text in your screenshot to read "Execute command" rather than "Follow link".

I believe that's because it's a Markdown document, and the markdown-language-features extension sets the tooltip to "Follow link", so that's what's displayed.

🤷  Let's see what a team member says when this PR gets looked at.

I agree that the markdown tooltip is too much. Other test cases (http and file links):
<!--
    http://www.example.com
-->
<script src="script.js"></script>

Thank you!


qiskit.provider.back_compat.convert_to_target doesn't add control flow instructions to the target

Environment

Qiskit version: 1.0
Python version: 3.11.7
Operating system: macOS 13.6

What is happening?
convert_to_target doesn't populate the target with control flow instructions.
How can we reproduce the issue?
Example using an IBM backend, but the problem is not due to the qiskit_ibm_runtime.
from qiskit_ibm_runtime import QiskitRuntimeService

# pick any Eagle backend
backend = service.get_backend("ibm_brisbane")

set(instr.name for instr, qargs in backend.target.instructions)

will be missing if_else, for_loop, and switch_case.
Following the chain, you see that backend.target is calling:
convert_to_target(
                configuration=self._configuration,
                properties=self._properties,
                defaults=self._defaults,
            )

What should happen?
The control flow operations should be in the target instructions.
Any suggestions?
The issue seems to be that convert_to_target populates a value all_instructions from configuration.basis_gates. And then iterates over all_instructions to pick up control flow. However, control flow instructions are not in basis gates. Instead, they are found in supported_instructions. Therefore, I think the change that is required is to populate all_instructions from supported_instructions rather than basis_gates.

I think the union of the two makes more sense.

I concur that union of the two makes the most sense.

The reason supported instructions isn't typically considered by default is historically the api response from IBM included a lot of instructions which had no context in the circuit model or for the transpiler in that field. In the BackendV1  path the transpiler ignores supported_instructions field as well and only looks at basis_gates.
A straight union won't actually work in the general case for the converter as it's possible to end up with a backend that has an inconsistent set of gates which won't be interpreted well. For a concrete example you can look at the snapshots of older backends like:
https://github.com/Qiskit/qiskit-ibm-runtime/blob/main/qiskit_ibm_runtime/fake_provider/backends/hanoi/conf_hanoi.json
the supported instructions list there is:
["rz", "play", "measure", "delay", "acquire", "sx", "cx", "reset", "x", "shiftf", "u1", "u3", "u2", "setf", "id"]

while the basis gates were:
["id", "rz", "sx", "x", "cx", "reset"]

Doing a union would result in instructions that would trigger a warning but ultimately get ignored for the pulse things like play or shiftf. But the bigger concern are things like u1, u2, and u3 (which are in the list because they were still defined pulse calibrations on the backend despite not being basis gates anymore). Doing a union of these lists would result in the output target having u1, u2, and u3 being globally defined ideal gates (like what a simulator would put in the target). This potential inconsistency is a major issue with the backend v1 models and is larger than just this specific example. We need to take care with how we extend things here as we need the converter to support the general BackendV1  models not just the current IBM usage of the interface.
That all being said I think the best path forward here is to look specifically for the presence of control flow instructions in the supported_instructions field and only add those to the target if they're present. There are only 4 of them: https://github.com/Qiskit/qiskit/blob/main/qiskit/circuit/controlflow/init.py#L27 and we can just do the intersection of configuration.supported_instructions and that frozen set. IIRC this is actually what the qiskit-ibm-provider used to do when it had it's own internal version of the convert_to_target function.

Special casing control flow is probably fine for now.


Provide version property for the Application

Extracted from https://github.com/yiisoft/yii2-debug/issues/143
It may be useful to provide version property for the Application class, which can be used for logging and debugging.
There should be a posibility to setup version as a PHP callback, which will return its actual value.
It also make sense to inroduce this property at Module level.

Possible implementation proposed at #12727

Actually there is already yii\base\Application::version public field, which can be used:
https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php#L100
So the question is if it should be converted to virtual property for more flexibility.

Resolved by commit 8d05bd9

thanks!