GETIMPORT possible issue.

Consider this cases:
Case 1)
local function test(_ARG_0_, _ARG_1_)

end

ActionList =
{
  Func = test,
}

Function 0 (??):
RETURN R0 0

Function 1 (??):
DUPCLOSURE R0 K0 []
REMARK allocation: table template 1
DUPTABLE R1 2
SETTABLEKS R0 R1 K1 ['Func']
SETGLOBAL R1 K3 ['ActionList']
RETURN R0 0

Case 2)
ActionList =
{
  Func = test,
}

local function test(_ARG_0_, _ARG_1_)

end

Function 0 (??):
RETURN R0 0

Function 1 (??):
REMARK allocation: table template 1
DUPTABLE R0 1
GETIMPORT R1 3 [test]
SETTABLEKS R1 R0 K0 ['Func']
SETGLOBAL R0 K4 ['ActionList']
DUPCLOSURE R0 K5 []
RETURN R0 0

Why in case 2, GETIMPORT is called? The function is defined, but it is not in the order of the ActionList. What I think is wrong, the function is defined inside the file, it's just not in the right order.
Is there a way to fix this problem? I believe it is complex, because the parser is top-down. 🤔

In case 1 it compiles DUPCLOSURE for local function test(_ARG_0_, _ARG_1_) and DUPTABLE for your ActionList table, then it uses SETTABLEKS to set ActionList['Func'] = test.
In case 2 it compiles DUPTABLE for ActionList, then compiles a GETIMPORT for test because it is not yet defined so it is a global, then it uses SETTABLEKS to set ActionList['Func'] = test. In this case test is nil until DUPCLOSURE unless the global was already defined before.
Both are intended behaviour unless I misunderstood your issue?

In the first snippet, test when used in ActionList is a local variable. In the second snippet, test is a global. The bytecode details are fairly irrelevant here - what matters is that the local scope starts at the local definition, so attempts to use the local before it's defined won't actually succeed. This is just how Lua and Luau work.


Uplink expansion

About the PR

Uplink ammo is now much cheaper.
Removed ammo bundle from uplink.
Now ammo for all syndie guns (including china-lake) can be purchased from uplink.
You can now print all types of syndie mags and ammo on emagged lathes, except for AP and explosive, cause that would probably be too OP.
Made cobra 15 tc because it shouldn't be more than that.
Rebalanced web vest, it is now less tanky against bullets, but slightly more resistant against lasers. Now costs 15 tc as it should be.
Hardlight bow cost reduced by 5 tc so it can be purchased with west and noslips.
Added 2 new items to uplink: smoke implanter (2 times as weak as smoke grenade, infinite but recharges 15 seconds) and syndie swat helmet (idk why it isn't in uplink yet), both purchasable for 10 tc.
Swat helmets now have flashbang sound suppression.
Buffed m90 firerate by 1 so it's no longer lecter reskin.
Bulldog bundle now contains slug drum instead of beanbag.
Burner bundle now contains extra mag instead of the box.
Traitors now can purchase burner (they can purchase l6, why not burner).
Removed .50 ammo box from uplink (why does it exists if mags could be purchased instead).
EMP implanter is now infinite but has a cooldown of 30 seconds (it was infinite before, you just had to pull it out and inject again :trollface:)
let me know if I fucked up and some of this happens to be too OP.
Why / Balance

Reasoning for ammo price reduction and ammo bundle removal:

Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl: Aviu

add: A lot of uplink changes, prices for ammo and some items reduced, some items added, some items tweaked.
add: Now mags and ammo for most syndicate guns are printable at emagged lathes.

Test fails unrelated.

The reason the burner ammo boxes exist is because its 50% cheaper per bullet to buy a box than to buy mags, if anything the mag cost should go up to emphasise that.

SMOKE IMPLANT
add thermals next @Aviu00 :godmode:


npm install failed

What did you do?
npm install
What did you expect to happen?
load dependencies
What actually happened?
npm ERR! Darwin 15.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS><3.0.0

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/santtusulander/react-starter/npm-debug.log

What version of this module are you using?
v 1.0.0

Looks similar to https://github.com/nordsoftware/react-foundation/issues/7

Looks fine with latest develop branch (git clone https://github.com/nordsoftware/react-starter.git and cd react-starter/ and npm install).
Closing. Let me know if there's still a problem.


how to use Caffe2 brew.concat()?

If this is a build issue, please fill out the template below.
System information

Operating system:
Compiler version:
CMake version:
CMake arguments:
Relevant libraries/versions (e.g. CUDA):

CMake summary output
******** Summary ********
<please paste summary output here>

@orionr  thanks, I have read the documentation, but there is not example of these operators, so I feel that it is difficult to use these operator.

@Markovcom  Hi, I encountered the same problem.  Do you know how to use Caffe2 brew.concat()?

@Markovcom  Hi, in https://github.com/pytorch/pytorch/blob/master/caffe2/python/helpers/conv.py line 356-361, Here is an example. And I use concat() just like:
concat, concat_dims = model.net.Concat(         [A, B, C, ……],         [blob_out,          "_" + blob_out + "_concat_dims"],         order=order     )
A,B,C means tensor, order is 'NCHW' in detectron.

@qinhuan thanks.

It would be really helpful if there is a better documentation where there is more clarity on arguments of definitions while using it with brew or helper.
For example, can I disable bias with brew.conv?


[Feature Request] OmniSharp support for Live Share

I'm trying to use VS Code Live Share in my work, but the participants cannot use Omnisharp because it can't start with the .sln or .csproj path.
My suggestion is we can choose an existing/running OmniSharp server to use that.

Join in a shared session.

OmniSharp will not start because it can't use the .sln/.csproj path to start.

Expected  behavior
(Suggestion)
If we can choose an existing OmniSharp server, we can use the owner's OmniSharp.
Actual behavior
OmniSharp will not start because it can't use the .sln/.csproj path to start.

Would be nice!

We'll need to talk to the liveshare team about how to proceed here. VSCode/C# supports liveshare if a session is started from Visual Studio, but not VSCode.

We'll need to talk to the liveshare team about how to proceed here. VSCode/C# supports liveshare if a session is started from Visual Studio, but not VSCode.

When you guys do this let me know because there's a lot of pieces/restrictions in LiveShare that wont work with O#'s current implementation. Also, our Razor support that you ship will also want to react appropriately.

please include the OmniSharp team in the discussions too, thanks

Does OmniSharp have any support to share with others on the same network?

Any updates? It's very sad that you can't code c# with other people if you don't have windows or mac to use visual studio


Add pre-built bindings for GDAL 3.6

  thread 'main' panicked at 'No pre-built bindings available for GDAL version 3.6. Use `--features bindgen` to generate your own bindings.', /home/thomas/.cargo/registry/src/github.com-1ecc6299db9ec823/gdal-sys-0.7.0/build.rs:248:17

Yep, these aren't currently included.
It works if I put this in my Cargo.toml:
gdal-sys = { version = '0.8.0', features = ['bindgen'] }

I tried to create a PR for prebuilt bindings for 3.6 by copying the bindings.rs file from somewhere inside the target/ directory, but it seems to be missing docstrings that gdal_3.5.rs has. If someone would tell me (or better yet, document!) how to generate these properly, I'll be happy to finish the PR.

Might be https://github.com/georust/gdal/pull/55#issuecomment-392320115.


False Warning when Table width is exactly equal to nominal Page width

The warning "Table width exceeds nominal width, ignoring relative width" is emitted not only when the table width exceeds nominal page width, but also when it equal (difference between nominal page width and page width is 0).

Comparison operator changed where $absolute-remainder is checked.


Cool kids say homebrew

So I've heard… :smile: can we have a formula for the plugin?

Hi Ian, could you please provide little bit more details on your issue, because it's not quite cleare how to help you)

It's available through homebrew already, https://github.com/Homebrew/homebrew/commit/112ccbdc6e1db1826328102980f253e8d2067112

@Dahlgren will work on my brew search skills. Thanks!


fixed issue 437 and removed retired profiler

Patch Description
the flag --profile in metaseq train.py was not accessible through opt_baseline.py or sweep_baseline.py that we normally use. This is due to --profile flag in those was mapped to --new_profiler flag in train.py and not the --profile flag.
Here is the description of how that is happening
(How profiler option gets into slurm job):

[sweep_baseline.py] –profile is read from cli
–new-profile is added to the grid (profile is not)
[slurm.py] config is produced from the grid
train_cmd is extended from config
srun_cmd is extended from train_cmd (and srun_cmd_str)
srun_cmd_str -> wrapped_cmd -> sbatch_cmd
run_batch (sbatch_cmd) is called

Moreover, --profile flag corresponds to the outdated version of profiler (torch.autograd.profiler) and not the new one (torch.profiler). As per @ngoyal2707 request, the outdated profiler gets cleaned out of our code (in metaseq only) and --profile in both metaseq-internal and metaseq are being matched.
Besides that, issue 437 is fixed by implementing the suggestion
Testing steps
run
python -m metaseq_internal.projects.zucchini.sweep_baseline -g 2 -n 1 --azure --model-size 125m --data /data/gpt-z/zucchini/consolidated/v1.0 --tokenizer noregex --partition zetta --prefix profile_run --profile

@igormolybogFB Can we get a screenshot of how the trace looks like with the new profiler? It would be helpful to see if we can see the python call stack when the with_stack is set to True. With an earlier version of kineto we encountered segfault when trying to collect the trace, so we should confirm that it is no longer the case.

@anupambhatnagar


Application sharing failed when an application available in sub-organisation

Describe the issue:
Consider the following scenario:

Enable the organization management feature in IS 6.0.0 RC pack.
Login to console as an admin user
Create a sub-organization (E.g Star) and switch into created sub-organization.
Create a child organization inside 'Star' organization
Create a user and create a new role with all permissions
Assign the created user to that role
Login to console with tenanted path https://localhost:9443/o/{Star-org-id}/console
Create an application in the organization (E.g Star)
Again login to console  (https://localhost:9443/console) as an admin user
Switch to the 'Star' organization
And admin user could see the created application and can view the application
When you view the application, you could see the 'Share Application' option
Click on 'Share Application' and you could see the following error:

https://user-images.githubusercontent.com/13362482/183704128-a4ab0247-5dab-4e71-a1ea-b9441103d345.mov
How to reproduce:

Expected behavior:
'Share Application' option should be disabled in this case.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

This was fixed in https://github.com/wso2/identity-apps/pull/3349


SQL Job Fails to Set Library List if Current Library is Specified in User Library List

It appears as-if the current library is being pre-pended to the user library list when starting a SQL job.  As a result, the setting of the library list fails CPF2184.  There are two problems:

The special value of *CRTDFT is being used by the SQL job as-if it were a valid library name; thus causing an error.

If the current library exists in the user portion of the library list, the resulting library list will contain the same library name twice; which is an error.

It should be noted that when the current library is set to a valid library name, the that library is added to the library list between the system (SYS) portion of the library list and the user (USR) portion of the library list.  Despite IBM resolving the special value of *CRTDFT to QGPL as needed, IBM does not insert QGPL between the system and user portions of the library list.
Ideally, the setting of the current library should be done by explicitly setting the current library (CHGCURLIB) or the current library should be specified on the CURLIB() parameter of the CHGLIBL command; not included as the first library in the library list.
If the current library cannot be handled in either of the above manners and it must be added to the user library list, then the following guidelines should be considered:

If the current library is *CRTDFT, then do not pre-pend the user library list.

If the current library is valid library name (not the special value *CRTDFT), pre-pend the user library list with the current library name and remove the current library if it is found in the user library list.

Example 1:
If the user library list on the connection is "MYLIB1,MYLIB2,QTEMP" and the current library is set to *CRTDFT, the SQL job will try to establish the library list as "*CRTDFT,MYLIB1,MYLIB2,QTEMP".  Because *CRTDFT is not a valid library name, the setting of the library list will fail.
In this example, the library list should be set to "MYLIB1,MYLIB2,QTEMP".  The library QGPL should simply not be included in the library list.
Example 2:
If the user library list on the connection is "ALIB1,BLIB2,MYGPL,QTEMP" and the current library is set to MYGPL, the SQL job will try to establish the library list as "MYGPL,ALIB1,BLIB2,MYGPL,QTEMP".  Because MYGPL appears twice in the library list, the setting of the library list will fail.
In this example, assuming the current library must be included in the library list, I would expect the library list to be set to "MYGPL,ALIB1,BLIB2,QTEMP".

Context
Version

Code for IBM i version
2.0.2

Visual Studio Code version
1.80.1

Operating System
win32_x64

Active extensions
AWS Toolkit (aws-toolkit-vscode): 1.81.0
C# (csharp): 1.26.0
COBOL (cobol): 9.7.23
Code Coverage for IBM i (code-coverage-ibmi): 0.1.7
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.1
Db2 for IBM i (vscode-db2i): 0.3.3
Debugger for Java (vscode-java-debug): 0.52.0
Dev Containers (remote-containers): 0.299.0
Docker (vscode-docker): 1.26.0
ESLint (vscode-eslint): 2.4.2
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.12.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Pull Requests and Issues (vscode-pull-request-github): 0.68.1
GitLens — Git supercharged (gitlens): 14.1.1
HTML CSS Support (vscode-html-css): 1.13.1
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
IntelliCode (vscodeintellicode): 1.2.30
JSON Language Features (json-language-features): 1.0.0
JavaScript Debugger (js-debug): 1.80.0
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Nx Console (angular-console): 18.5.0
Path Intellisense (path-intellisense): 2.8.4
Prettier - Code formatter (prettier-vscode): 9.19.0
Pylance (vscode-pylance): 2023.7.30
Python (python): 2023.12.0
Server Ready Action (debug-server-ready): 1.0.0
TODO Highlight (vscode-todo-highlight): 1.0.5
Todo Tree (todo-tree): 0.0.226
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL (remote-wsl): 0.80.2
WSL: Recommender (remote-wsl-recommender): 0.0.19

Remote system

Setting
Value

IBM i OS
V7R4M0

Tech Refresh
7

CCSID
37

SQL
Enabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin
/QSYS.lib/ILEDITOR.lib
/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
GENCMDXML.PGM
QZDFMDB2.PGM
startDebugService.sh

tn5250
iconv
GETNEWLIBL.PGM

ls

setccsid

tar

Shell env

Variants
{
  "american": "#@$",
  "local": "#@$"
}

Errors
[
  {
    "command": "export BUILDLIB=\"QGPL\" && export CURLIB=\"QGPL\" && export USERNAME=\"BSLEETH3\" && export HOME=\"/home/BSLEETH3\" && export LIBLS=\"QHLPSYS IPMDPGM2 IPTSUTL IPWMPGM IPASPGM IPTSPGM IPTSPCH BSLIB IPSAPGM IPSRFIL3 IPDSFIL3 IPDSPGM3 DCXDTALIB DCXPGMLIB DBU11 IPPAFIL3 IPWMFIL3 IPSAFIL3 IPASFIL3 IPTSFIL3 IPTKLNK IPTSCHG033 IPTSPCH033 IPTSMOD3 QGPL QTEMP\" && env",
    "code": 1,
    "stderr": "bsh: BUILDLIB=QGPL: is not an identifier",
    "cwd": "/home/BSLEETH3"
  },
  {
    "command": "export BUILDLIB=\"QGPL\" && export CURLIB=\"QGPL\" && export USERNAME=\"BSLEETH3\" && export HOME=\"/home/BSLEETH3\" && export LIBLS=\"QHLPSYS IPMDPGM2 IPTSUTL IPWMPGM IPASPGM IPTSPGM IPTSPCH BSLIB IPSAPGM IPSRFIL3 IPDSFIL3 IPDSPGM3 DCXDTALIB DCXPGMLIB DBU11 IPPAFIL3 IPWMFIL3 IPSAFIL3 IPASFIL3 IPTSFIL3 IPTKLNK IPTSCHG033 IPTSPCH033 IPTSMOD3 QGPL QTEMP\" && env",
    "code": 1,
    "stderr": "bsh: BUILDLIB=QGPL: is not an identifier",
    "cwd": "/home/BSLEETH3"
  },
  {
    "command": "export BUILDLIB=\"QGPL\" && export CURLIB=\"QGPL\" && export USERNAME=\"BSLEETH3\" && export HOME=\"/home/BSLEETH3\" && export LIBLS=\"QHLPSYS IPMDPGM2 IPTSUTL IPWMPGM IPASPGM IPTSPGM IPTSPCH BSLIB IPSAPGM IPSRFIL3 IPDSFIL3 IPDSPGM3 DCXDTALIB DCXPGMLIB DBU11 IPPAFIL3 IPWMFIL3 IPSAFIL3 IPASFIL3 IPTSFIL3 IPTKLNK IPTSCHG033 IPTSPCH033 IPTSMOD3 QGPL QTEMP\" && env",
    "code": 1,
    "stderr": "bsh: BUILDLIB=QGPL: is not an identifier",
    "cwd": "/home/BSLEETH3"
  }
]

Yes.  Sorry for miss-reporting it.  Thank you for moving it.
Best regards,
Brian
--
Brian Sleeth
Godsend Consulting
+1<PHONE_NUMBER>
From: barry @.>
Sent: Wednesday, July 26, 2023 8:13 AM
To: halcyon-tech/vscode-ibmi @.>
Cc: Brian Sleeth @.>; Author @.>
Subject: Re: [halcyon-tech/vscode-ibmi] SQL Job Fails to Set Library List if Current Library is Specified in User Library List (Issue #1456)
I am assuming this is related to the database extension and not Code for IBM i, so i will transfer this issue to that repo.
—
Reply to this email directly, view it on GitHub https://github.com/halcyon-tech/vscode-ibmi/issues/1456#issuecomment-1652009563 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATP4QGIH7LMUICYZS7GSFZTXSEXYBANCNFSM6AAAAAA2YUP74I .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ATP4QGJA636LO244Y5CVTLLXSEXYBA5CNFSM6AAAAAA2YUP74KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTCO6VFW.gif Message ID: @.*** @.***> >

Are you using system naming or SQL naming?

I am not sure where I would go to check this property.  The settings.json for "Code for IBM i" does have the currentLibrary and the libraryList settings.  I did not find a property named "naming".  So, I assume we are using the default value of "naming": "sql".
--
Brian Sleeth
Godsend Consulting
+1<PHONE_NUMBER>
From: Jesse Gorzinski @.>
Sent: Wednesday, July 26, 2023 11:27 AM
To: halcyon-tech/vscode-ibmi @.>
Cc: Brian Sleeth @.>; Author @.>
Subject: Re: [halcyon-tech/vscode-ibmi] SQL Job Fails to Set Library List if Current Library is Specified in User Library List (Issue #1456)
Are you using system naming or SQL naming?
—
Reply to this email directly, view it on GitHub https://github.com/halcyon-tech/vscode-ibmi/issues/1456#issuecomment-1652296516 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATP4QGLGDILY5Q7IMYYVSC3XSFOPDANCNFSM6AAAAAA2YUP74I .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ATP4QGINJ2BHGHHQYGGOD23XSFOPDA5CNFSM6AAAAAA2YUP74KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTCPQFUI.gif Message ID: @.*** @.***> >

I assume we are using the default value of "naming": "sql"

I should point out that despite my assumption about using SQL naming, if QGPL is the current library and I remove QGPL from the library list, if I check the SQL job, it does establish the library list.  If QGPL is the current library and is also present in the library list, the job will have the default library list as configured in system values.
I know that with SQL naming, as far as SQL statements themselves, the library list is not really used.  However, if the SQL statement makes a call or triggers a stored procedure that uses (for example) RPG, then the library list will come into play.
So, establishing the correct library list is important regardless of which naming method is used.


12 Bit conversion of HQ Camera Raw?

I was following this thread (https://www.raspberrypi.org/forums/viewtopic.php?p=1665327#p1665327) on the raspberry pi forum and I wanted to ask if you can confirm that the exported DNG contain the full range of the sensor (12-Bit) or if there is something lost in the conversion?

Yes, using images from the Raspberry Pi HQ Cam will give you uncompressed 12-bit DNG.


Integrate contentviews to TCP flow details

Hey! Just did Step 2 of https://github.com/mitmproxy/mitmproxy/issues/1020#issuecomment-609906840. Here is how it looks like on a real MQTT connection.
Raw contentview:

Hex contentview:

Some final thought: It would be very good to have a status line that display the current content view. :)

I've done some job on what we've discussed above. Now TCP flow details looks like this:

https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:11 - So basically I don't know how to easily resolve this problem meanwhile don't see the reason for doing so. I suggest to ignore this one because if viewmode will be None after first line it'll be auto after if not viewmode:
viewmode = get(viewname)
if not viewmode:
    viewmode = get("auto")

description, lines, error = get_content_view(viewmode, data)

Also I'm not sure how to correctly type this one https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:12.

https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:13, https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:14 and https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:15 looks like false positives because merged_messages is not type of TCPMessage

I need your help @mhils 😃

https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:11

Yeah - the type system isn't adding much benefit here, other than pointing out that the whole architecture with get is a bit weird and should be refactored for good. The problem is that get() returns an Optional[View]. You can either add an assert statement in the function, add a # type: ignore comment. This is an example of a snippet where mypy does not provide any value, but we still need to fix it so that CI passes.

https://github.com/mitmproxy/mitmproxy/pull/3970/checks?check_run_id=638574199#step:5:12.

You could either use a typing.NamedTuple instead of a dict, or revert to the old implementation while keeping your explanatory comment (it's a simple List[bytes] there). I personally prefer the old implementation, but that's of course subjective and I don't feel too strongly. I definitely do agree that it would have needed a comment FWIW. :-)

I've decided to revert to the old implementation of merging TCP "messages" because declaring typing.NamedTuple for this case seems like a little bit of overhead.
I suppose now we're ready to merge this and move to tackling interception and modification 🚀

Awesome! 🎉


Response 429, spam =1;

Getting error Response code is 429. Body:  message => ; spam => 1; status => fail; Something went wrong. Please report issue.
when trying looping for getting new post on feed, so i build some bot to like a newest post of feed that the bot liked of newest post, so i loop the getFeed(), does anyone have a solution for my problem?

Same problem. But on local - work correct, when try do it in host - i get 429

same here! any news?

I got same. sometimes this is because the account reached Instagram limits, and sometimes it's the proxy you are using.
I have no idea how to figure it out.

Change account if it has failed status. otherwise use a proxy.

@MohammadZarifiyan i always use different accounts, also each account use a different proxy.

Request limit varies based on many parameters, one of those is your account age. @fsjdg


Queries are executed twice if there are two queries with the same request type but different response types

Basic information

Axon Framework version: 4.4.4
JDK version:  11
Complete executable reproducer if available (e.g. GitHub Repo):

Steps to reproduce
Created a component with 2 query handlers, both with a string parameter. The first one returns an integer, the second returns a string. When I execute the query with scatterGather (through Axon Server), with response type integer, I am getting 2 results, the query handler is executed twice.
The issue is that in the QueryChannelImpl the queryHandlers map contains two entries for query "String".

This issue has been resolved in PR #1675, hence closing.

This issue has been resolved in PR #1675, hence closing.


File | Save As closes editor

VSCode Version: 1.91
OS Version:Win 10

Selecting menu:File|Save behaves the same as menu:File|Exit
Steps to Reproduce:

Open project
Open file
Select menu File | Save as

Edit: File|Open also crashes the app

Fixed by re-installing chrome


Disable breakpoints set during active debug session.

Fixes #16

Pull Request Test Coverage Report for Build 43

16 of 17 (94.12%)  changed or added relevant lines in 1 file are covered.
15 unchanged lines in 1 file lost coverage.
Overall coverage increased (+1.2%) to 10.9%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/brightScriptDebugSession.ts
16
17
94.12%

Files with Coverage Reduction
New Missed Lines
%

src/brightScriptDebugSession.ts
15
15.53%

Totals

Change from base Build 41:
1.2%

Covered Lines:
74

Relevant Lines:
619

💛  - Coveralls


KBFS (and Keybase in general) doesn't work well without internet connectivity

I've noticed that Keybase won't work without internet connectivity. It seems to call the Keybase api, for instance, whenever encrypting or decrypting a message/file. This makes sense if you are encrypting for a user who you aren't tracking as the service needs to find out what their public key is - and perhaps that it wants to check that the public key of a tracked user isn't changed. However: I've also noticed that KBFS files aren't available when you aren't online. My understanding is that KBFS is built not as a sync service but a streaming one - the files aren't stored on your computer but are loaded on demand. But what about when you are away from internet connectivity - eg. on an airplane, or your internet is just plain spotty - and want to access files there? KBFS should have an offline cache of the files in your private & public folders to allow you to access at least your own files, although read-only, while you're offline.

https://keybase.io/docs/kbfs/understanding_kbfs states this pretty bluntly:

Currently, KBFS requires network connectivity, and no offline reads/writes are possible.

Offline access is on our roadmap, but it's a very long road and it won't happen in the near future.


Peer-to-peer code review for template 3

I liked the design of the page. Your website is same with the Figma design.
You had a good job with implementing the mobile menu. 💯💯 💯

Hi @tajulafreen
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights
Linters :heavy_check_mark:
GitHub flow :heavy_check_mark:
Changes Implemented :heavy_check_mark:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


External links will open on a new tab

LGTM!

@seyslee anything missing to merge this?

Just one minor fix from me to remove the whitespace in the link text as I found this was outputting extra spaces in the final HTML which displayed unexpectedly in some browsers, but other than that I'm happy to merge this in.


php7 issue

Hello,
i'm having a build failure on tavis, because one classname is String on php7
https://travis-ci.org/ThaDafinser/ZfcDatagrid/jobs/55606988#L99

Travis is not using the latest Composer version. Running composer self-update at the beginning of the build will probably solve your issue.

I see this:
$ composer --version
Composer version 1.0-dev (ab3622dff1db71024f327387408250208c139a0d) 2015-03-23 11:56:30
0.15s$ composer install
PHP Fatal error:  "string" cannot be used as a class name in phar:///home/travis/.phpenv/versions/nightly/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
Fatal error: "string" cannot be used as a class name in phar:///home/travis/.phpenv/versions/nightly/bin/composer/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
The command "composer install" failed and exited with 255 during .
Will try to see if a "composer self-update" solves the issue

@xabbuh i added the update and it worked
https://travis-ci.org/ThaDafinser/ZfcDatagrid/jobs/55614932#L96
Now i need to fix my string class :+1:
https://travis-ci.org/ThaDafinser/ZfcDatagrid/jobs/55614932#L335

Yep that solved it for me too


Update to Catppuccin 0.2.0

I use Frappe on the rest of my system, so I'd love a variant of this theme to match.
Don't have a ton of time to work on it, but I will get started, if no one else is already working on this. Opening this issue to track progress.

Edit by Catppuccin staff:
Tracking the Progress for each platform here:

[x] iOS
[x] Android
[x] Desktop
[x] macOS

Hi there :wave:
Thanks for the issue, it's actually the last port that needs to be converted to the 0.2.0 spec.
We're currently also tracking the update in our Discord, but progress has been slow.
I'd appreciate any help the maintainers can get.

Currently, the android version is entirely done, but you can look at the progress here on the dev branch

Thank you both! I'm most eager for desktop, so I'll get started there. The completed android should be a good reference.

iOS is now completed.

Desktop is nearly completion (as you can see from the new screenshots).

Telegram is now ported entirely.

and we're back: https://istelegramportedyet.lol/

well, merge dev to master then?

Done! #12


Remove "chiquito-tfdemo" resources/reassign his issues

There are a number of IAM resources labeled chiquito-tfdemo (or similar). If these are no longer necessary, they should be destroyed.

@waxlamp please check if anything still to be done on this?

while at it might also look at issues still assigned to Daniel and see if they need to be closed or reassigned
https://github.com/issues?q=is%3Aopen+user%3Adandi+sort%3Aupdated-asc+assignee%3Adchiquito+

I did remove Daniel from a bunch of AWS resources. AFAIK there aren't any others, but if they come up organically we can deal with case-by-case. I'll close this issue.


Out of box fail: Imported as maven project to Eclipse Oxygen

Seems like it doesn't find Address interface, etc. 353 Java Problem items reported in Eclipse after maven import and installing the prompted gwt related plugin and eclipse restart and maven update, clean... Maybe I'm still missing something?

You have to generate the Interfaces with Maven generate-sources first. We use KissMDA to generate the Java interfaces.

KissMDA: https://github.com/crowdcode-de/kissmda

As the target audience for this demo project is newbies it wouldn't hurt to see a step by step description including this, like: After download slow down, don't try to just run it before doing this/these steps:

download this KissMDA and run it on this project like so...

Thanks! 👍

Ok got it, just had to type mvn compile, so:
After download slow down, don't try to just run it before compiling, run: mvn compile first.

I thought I got it working, but even after a half an hour I still get only the google preloader on http://localhost:9014/demogwt/ . Maybe missing a step?
On the console nothing shows that something would have went wrong:
2018-04-11 11:46:12.038  INFO 8264 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 9014 (http)
2018-04-11 11:46:12.045  INFO 8264 --- [           main] c.l.d.s.DemoGwtSpringbootApplication     : Started DemoGwtSpringbootApplication in 8.579 seconds (JVM running for 9.259)
2018-04-11 11:49:41.681  INFO 8264 --- [nio-9014-exec-5] o.a.c.c.C.[.[localhost].[/demogwt]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2018-04-11 11:49:41.681  INFO 8264 --- [nio-9014-exec-5] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2018-04-11 11:49:41.729  INFO 8264 --- [nio-9014-exec-5] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 48 ms

Launching it by cmdline w/ maven, on http://<IP_ADDRESS>:9876/demogwt/ I get only this after more than 10 minutes:
demogwt (GWT Code Server)
This module hasn't been compiled yet.

Output Files
(From the last successful compile.)

clear.cache.gif
demogwt.nocache.js
demogwt.recompile.nocache.js

In the cmdline it regularly fetches new lines like:
[INFO] 09:09:41.997 [org.eclipse.jetty.server.session.HashSessionManager@40db6335Timer] DEBUG org.eclipse.jetty.server.session - Scavenging sessions at<PHONE_NUMBER>997
[INFO] 09:10:11.998 [org.eclipse.jetty.server.session.HashSessionManager@40db6335Timer] DEBUG org.eclipse.jetty.server.session - Scavenging sessions at<PHONE_NUMBER>998

I can't believe that a demo project complies for more than half an hour with 16 GB RAM and i5 CPU. Closed it after an hour.
Disclaimer: I couldn't follow the facets configuration on Eclipse Neon, what's the equivalent for simply Web in Eclipse?

To run the webapp you need to do following (see the detail at https://github.com/interseroh/demo-gwt-springboot#run-the-webapp-for-development):

Server part: you need to run the Spring Boot app: run the class DemoGwtSpringbootApplication
Client part (GWT):  you need to run the GWT transpiler: mvn -P development gwt:run-codeserver
Open your browser and use: http://localhost:9014/demogwt

That's it.

Thank you, for following up, it works now. The difference that I did this time is only to call mvn gwt:run-codeserver instead of mvn -P development gwt:run-codeserver. Now the overlaying complies message has showed up in the browser and after a while the demo app came in, yey! Afterwards, now tried with the development arguments and now that also works... Maybe I wasn't waiting to launch this gwt compiler and entered to the browser right after booting up spring.
I'm new to GWT, will look into that GWT Boot, thanks for pointing it out!
... by the way what ui styling are you using in this demo, it looks good, but doesn't seem to be neither bootstrap nor material... nor Kendo. In my first GWT project I should use Kendo UI, would you have any words on that?

With the -P development you call the Profile development from Maven. I defined the profile will only compiles Java to JS for Safari and Chrome, maybe you are using Firefox?
I'm using Gwtbootstrap3 for design: https://github.com/gwtbootstrap3/gwtbootstrap3
... With my own Bootstrap design.
Here you have a list of all available UI frameworks for GWT: https://github.com/gwtboot/gwt-boot-modules/blob/master/README.md
For new projects I would use Domino UI... It's not finished yet but looks very good. Ask the community here: https://gitter.im/domino-gwt/domino-ui
They have example and so on.


Getting "Could not parse Remote Configuration response body" on AL2023

I built the nginx module using the changes on this PR for the image amazonlinux_2023.3.20240219.0. The build finished without issues but when running the module I am getting
2024/02/23 15:04:46 [error] 14490#14493: datadog: Could not parse Remote Configuration response body

I got the image from here because it is not available on Docker hub
Any ideas?

I vaguely recall this happening when the Datadog Agent returns 200 OK with a body that is not JSON, and is instead a plaintext error message about some unexpected gRPC error status received from Datadog's intake.
The log message in the tracer is coming from here. The message would be more helpful if it printed (an excerpt of) the response body.
Since you are building from source, perhaps you can confirm whether the error message is as I suspect. In nginx-datadog, dd-trace-cpp is a git submodule. Point it at a branch that has the following change: the error message here should print the response body, as is done here.
If it's the error that I think it is, then we can find a solution... ah, wait. I think that @dmehala fixed this in https://github.com/DataDog/dd-trace-cpp/pull/95. Perhaps all we need to do is release those changes (in dd-trace-cpp), update the submodule in nginx-datadog, and it will be fixed.
For now, please try building nginx-datadog with the dd-trace-cpp submodule pointed at the current main branch of dd-trace-cpp. See if that fixes the error message.

I plan on cutting a new release today, so you'll just be able to use that.

Try today's new release: https://github.com/DataDog/nginx-datadog/releases/tag/v1.0.5

I'll take a look at your Amazon Linux PR again today. Pardon the delay, the team is strapped.


New tutorial

Added new tutorial (EF-QAE). The tutorial implements the code for the paper results, for a fixed number of qubits (6) and compressed qubits (2). Layers, type of autoencoder and example can be chosen by the user.
Fixed the cost function of the previous autoencoder tutorial as well.

Thanks @scarrazza. Everything should be updated now.


Add different editable field types

DataValue-components for:

[x] Dropdown multi-selection
[x] Radio button
[x] Table with delete/add rows (which can include other types of editable fields on the row)

table added and can be used but it's not fully editable yet e.g. you cant add rows or delete


Bug: The library is not working on mobile (or tablet) devices

Bug Summary
The WebGL fluid enhanced library works amazingly well on desktop devices. It really is a beautiful library, thanks for making this. However, on touch devices, it doesnt seem to work. Could this have something to do with the configuration of the canvas?
Expected behavior
On moving your finger through the div, the fluid colors should appear.
Actual Behavior
On moving your finger through the div, nothing happens.
Steps to reproduce
This is the code I have written, it is pretty similar to what has been mentioned in the documents for Next.js. What I am using is Next.js, Typescript, and TailwindCSS. There's some GSAP too, but none in this component. It's parent is a client component.
import React, ( useEffect, useRef } from "react";
import WebGLFluidEnhanced from "webgl-fluid-enhanced";

const Contact = () => {
  const containerRef = useRef(null);

  useEffect(() => {
    if (containerRef.current) {
      const simulation = new WebGLFluidEnhanced(containerRef.current);
      simulation.setConfig({
        densityDissipation: 0.5,
        velocityDissipation: 0.4,
        pressure: 0.5,
        curl: 4,
        colorPalette: ["#5D0E85", "#45056E", "#2D004E"],
        bloom: false,
        colorful: false,
      });
      simulation.start();

      return () => {
        simulation.stop();
      };
    }
  }, []);

  return (

          Some text here

  );
};

export default Contact;

The issue is probably with that the div blocks pointer events. Try adding the tailwind class pointer-events-none

That seems to break it entirely, for both the mobile and the desktop devices.

You have to put it on the absolute div, not the div with the simulation

Hey @michaelbrusegard , sorry, super busy at work, completely spaced out on this haha. I did try both, and they don't work. I also removed everything inside the div to just keep the container where the simulation is applied, but that doesn't solve it either.

does it work without the absolute div?

No, it doesn't.

I am very confused, I can take a deeper look at it after exams this semester, but for the moment I advice looking at how it is setup in the playground on the documentation website. It uses Nextjs and react, and it works on mobile completely fine. Maybe the issue is something else? Is the problem related to having the canvas in just a small portion of the website and then dragging through it?

Honestly, this is tripping me up too. I tinkered around a bit, and I found that it does work for mobile, so we can close the issue. The bug still persists though, (this is just me sharing this because I find it very curious, maybe it's easy, but I am a junior dev haha), but, the component renders perfectly, as long as it is rendered on the top of the page. If I have more components before, and then render this, then it fails to work in the intended way.


typo Adjust the indentation format of the init_be and entry_point scripts, as well as the duration of loop execution(Merge-2.1).

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Master PR: #45308
Problem Summary:
Adjust the indentation format of the init_be and entry_point scripts, as well as the duration of loop execution.
Adjust the smallest unit of all indentations to a single tab character, and modify the loop duration when checking the BE startup status, changing both from 300 seconds to 30 seconds to speed up the overall Docker startup time.
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[x] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[x] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[x] Confirm the release note
[x] Confirm test cases
[x] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall


Add support for Clojure 1.7 / 1.8

Hi there, I maintain a test framework that uses Puget (thanks for the great lib!), and I was trying to bump to a new version of Puget and realized the CI, which enforces compatibility with Clojure 1.7 / 1.8, was breaking.
Looks like it was due to usages of int? and pos-int?, which were added in Clojure 1.9.
I just learned a nice way to add backwards compatibility via resolve (via @dchelimsky in https://github.com/nubank/matcher-combinators/pull/169/files#diff-edd10e770370e8bfdbcf965fe158b67bd13cb0a6345d7a77c9c2d2f23ff06a8aR21) and I figured I'd replicate it here to allow more or less painless backwards compatibility with older versions of Clojure. This would allow https://github.com/marick/Midje/pull/480 to easily be pushed out, without concern for breaking users software.
Sound alright?

Released in 1.3.4


package:objective_c

This first release of package:objective_c just adds a couple of base classes to act as the root of all ObjC objects and blocks, which is the first step in allowing objects to be passed between different ffigen ObjC libraries. It also moves most of the ObjC runtime functions into this library.
Ffigen has been updated to use package:objective_c in its ObjC bindings. All the important ffigen changes are in objc_block.dart, objc_built_in_functions.dart, and objc_interface.dart.

All the classes and functions that package:objective_c defines used to be defined in the user's generated code. Now imported from package:objective_c. That let me delete a lot of code from objc_built_in_functions.dart.
All the generated block classes now inherit from the ObjCBlockBase class defined in package:objective_c. One wrinkle is that the old _ObjCBlockBase class defined in the user's generated code held a reference to the lib, but now that has to be moved into each generated block class (it's specific to the user's generated code, so can't live in the base object defined in package:objective_c).
Similarly, the root of the inheritance tree of all the generated ObjC interfaces is now the ObjCObjectBase class defined in package:objective_c. Like blocks, the reference to the lib has to move from that base class into the generated interfaces (specifically, the deepest class of the inheritance tree that isn't inside package:objective_c).
The castFrom and isInstance static methods used to get their lib reference from their arguments, but now they take the base class defined in packge:objective_c so they have to take the lib arg explicitly.

For testing, I want to avoid having the package:objective_c tests use ffigen. So there's not much I can test at the moment, since the only things in the package are internal details of ffigen. Those are all covered by the ffigen tests anyway. There will be more to test in this package once I add some of the higher level classes, like NSString.
#430

coverage: 91.901% (-0.2%) from 92.067%
when pulling 91aa71c43e9de964b189910ed557b0b5a345823c on pkgobjc
into 26594f21286f22e8ccac2129474267d09ee168d8 on main.

I think my main remaining question is whether we can get rid of the extra lib argument. Would it be possible to make an abstract getter that returns an ObjCLibrary? And then every NSObject returns a concrete subtype of ObjCLibrary. Would such an abstract ObjCLibrary be able to surface the required information?

Unfortunately no. The main reason the wrapper objects need a reference to the library is objc_msgSend (all the other core ObjC functions are now in package:objective_c). objc_msgSend can't live in package:objective_c because we load a copy of it for each method signature, which is specific to the user's code gen. We wouldn't be able to expose these on a base ObjCLibrary.
The upside of taking this lib argument is that it enables compatibility between different ffigen'd ObjC libraries. If two different ObjC libraries both know about some class Foo, the user can create a Foo using one library's bindings (let's call that library's Foo wrapper object FooA), then use castFrom to convert it to the other library's FooB. If FooB.castFrom grabbed the ObjCLibrary instance from FooA, and tried to use it in the FooB wrapper, it would cause problems. Even if it worked for the FooB class (since the method signatures would be the same), it would probably fail when that lib object is used to construct other classes that the first library doesn't know about.
If we could move objc_msgSend to package:objective_c, then we might be able to remove the need for the wrapper objects to hold a reference to lib. That's a larger breaking change though, because we'd be removing it from all the signatures.

We wouldn't be able to expose these on a base ObjCLibrary.

Wouldn't we be able to expose objc_msgSend in an abstract way? E.g. with a Pointer that just points to the right memory address?
I'm fine with landing as is, but we should aim to give our users the best API we can.

If we could move objc_msgSend to package:objective_c, then we might be able to remove the need for the wrapper objects to hold a reference to lib. That's a larger breaking change though, because we'd be removing it from all the signatures.

Can you file an issue with the different options?

@dcharkes I managed to move objc_msgSend to package:objective_c. This has a pretty big effect on the generated bindings. ObjC objects and blocks no longer need a reference to the lib, and in most cases ffigen won't even generate the native library class. Users still need to DynamicLibrary.open the dylib though. Check out the tests to see the user facing changes. It's a big breaking change, but I think it makes the API much cleaner.


[Task]: Playground integration test: The default example in the default SDK, changing an example

What needs to happen?
Playground integration test: The default example in the default SDK, changing an example
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[X] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

.take-issue


xflux: new package

I created a package for xflux.

[xflux] makes the color of your computer's display adapt to the time of day, warm at night and like sunlight during the day.

I'm new to this, so please let me know if I did anything wrong.
I could change the url point to this github repository, which is distinct from the creator of the program, but is linked to from their website.
I think I did the licensing correct (as unfortunate as it is), but it's available here.

I got rid of the phases line and changed fixupPhase to postFixup. However, if I get rid of the unpackPhase section, then nix throws an error as it expects the tarball to contain a directory and it does not.
I also realize now that I should have created a branch for this -- should I close this and create a new pull request on a separate branch?

It's ok with that unpackPhase = true. Yes please cleanup the PR, it's unmergeable like this because github messed up with the commits.


[Event] Enable stat visualizations for prometheus PPL and promQL queries.

Is your feature request related to a problem?
In the current state, we enable line charts only for stats queries. With the upcoming metric launches, we need to redefine this and enable it for Prometheus PPL and promQL Queries.
Eg:

source=prometheus.promQL(prometheus_http_requests_total{code='200',handler = '/-/ready'})
source=prometheus.prometheus_http_requests_total

Add any other context or screenshots about the feature request here.

This is only front-end work.  The visualization widget only depends upon the data-frame being sent from the execution of the given PPL.  In the case of metric, that PPL (source=prometheus) will already present a "correct" dataframe


un-deprecate darwin

In #22 I have deprecated darwin builds due to zig having been marked "broken" for them. As zig is a part of the maximal config, it should remain deprecated for now.
A fix could be to not enable zig, even if it's enabled in the config, on darwin systems.

Fixed in b5d5700.


IL2CPP Build Runtime Issue

Hello, I guess Airpeer or Unimic doesn't support IL2CPP build. I've got error constantly in Update method. Is there any solution for that? I'd need to use that in a project that I build in IL2CPP... Thanks in advance! (It works in Mono build btw)
UnloadTime: 0.580600 ms
Using workaround for the SslStream.AuthenticateAsClient unity bug
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Byn.Net.WebRtcNetworkFactory:TryStaticInitialize()
Byn.Net.WebRtcNetworkFactory:.ctor()
UnityEngine.GameObject:AddComponent()
Byn.Common.UnitySingleton`1:get_Instance()
Adrenak.AirPeer.APNetwork:New(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String)
Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory:Create()
VoipRoomSample:InitializeAgent()
VoipRoomSample:Start()
Initializing native webrtc for windows ...
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Byn.Net.WebRtcNetworkFactory:TryStaticInitialize()
Byn.Net.WebRtcNetworkFactory:.ctor()
UnityEngine.GameObject:AddComponent()
Byn.Common.UnitySingleton`1:get_Instance()
Adrenak.AirPeer.APNetwork:New(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String)
Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory:Create()
VoipRoomSample:InitializeAgent()
VoipRoomSample:Start()
NotSupportedException: To marshal a managed method, please add an attribute named 'MonoPInvokeCallback' to the method definition. The method we're attempting to marshal is: WebRtcCSharp.WebRtcSwigPINVOKE+SWIGExceptionHelper::SetPendingApplicationException
at WebRtcCSharp.WebRtcSwigPINVOKE+SWIGExceptionHelper..cctor () [0x00000] in <00000000000000000000000000000000>:0
at WebRtcCSharp.WebRtcSwigPINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0
at WebRtcCSharp.WebRtcWrap.GetVersion () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Net.WebRtcNetworkFactory.TryStaticInitialize () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Net.WebRtcNetworkFactory..ctor () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Common.UnitySingleton1[T].get_Instance () [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNetwork.New (System.String signalingServer, System.String[] iceServers, System.String gameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String[] iceServers, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory.Create () [0x00000] in <00000000000000000000000000000000>:0    at VoipRoomSample.InitializeAgent () [0x00000] in <00000000000000000000000000000000>:0    at VoipRoomSample.Start () [0x00000] in <00000000000000000000000000000000>:0  Rethrow as TypeInitializationException: The type initializer for 'WebRtcCSharp.WebRtcSwigPINVOKE.SWIGExceptionHelper' threw an exception.   at WebRtcCSharp.WebRtcSwigPINVOKE..cctor () [0x00000] in <00000000000000000000000000000000>:0    at WebRtcCSharp.WebRtcWrap.GetVersion () [0x00000] in <00000000000000000000000000000000>:0    at Byn.Net.WebRtcNetworkFactory.TryStaticInitialize () [0x00000] in <00000000000000000000000000000000>:0    at Byn.Net.WebRtcNetworkFactory..ctor () [0x00000] in <00000000000000000000000000000000>:0    at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0    at Byn.Common.UnitySingleton1[T].get_Instance () [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNetwork.New (System.String signalingServer, System.String[] iceServers, System.String gameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String[] iceServers, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory.Create () [0x00000] in <00000000000000000000000000000000>:0
at VoipRoomSample.InitializeAgent () [0x00000] in <00000000000000000000000000000000>:0
at VoipRoomSample.Start () [0x00000] in <00000000000000000000000000000000>:0
Rethrow as TypeInitializationException: The type initializer for 'WebRtcCSharp.WebRtcSwigPINVOKE' threw an exception.
at WebRtcCSharp.WebRtcWrap.GetVersion () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Net.WebRtcNetworkFactory.TryStaticInitialize () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Net.WebRtcNetworkFactory..ctor () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0
at Byn.Common.UnitySingleton1[T].get_Instance () [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNetwork.New (System.String signalingServer, System.String[] iceServers, System.String gameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String[] iceServers, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0    at Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory.Create () [0x00000] in <00000000000000000000000000000000>:0    at VoipRoomSample.InitializeAgent () [0x00000] in <00000000000000000000000000000000>:0    at VoipRoomSample.Start () [0x00000] in <00000000000000000000000000000000>:0  UnityEngine.GameObject:AddComponent() Byn.Common.UnitySingleton1:get_Instance()
Adrenak.AirPeer.APNetwork:New(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String[], String)
Adrenak.AirPeer.APNode:.ctor(String, String)
Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory:Create()
VoipRoomSample:InitializeAgent()
VoipRoomSample:Start()
NullReferenceException: Object reference not set to an instance of an object.
at Byn.Net.WebRtcNetworkFactory.CreateDefault (System.String websocketUrl, Byn.Net.IceServer[] urls) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNetwork.New (System.String signalingServer, System.String[] iceServers, System.String gameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String[] iceServers, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.AirPeer.APNode..ctor (System.String signalingServer, System.String apNetworkGameObjectName) [0x00000] in <00000000000000000000000000000000>:0
at Adrenak.UniVoice.InbuiltImplementations.InbuiltChatroomAgentFactory.Create () [0x00000] in <00000000000000000000000000000000>:0
at VoipRoomSample.InitializeAgent () [0x00000] in <00000000000000000000000000000000>:0
at VoipRoomSample.Start () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at VoipRoomSample.Update () [0x00000] in <00000000000000000000000000000000>:0

still facing this issue any solution?

Airpeers native libraries are not il2cpp complaint (and I don't have its source). This cannot be fixed


Change the 'propTypes.elementStyle' value

In "Pass Styles around" section, it seems that the intent was to use "Text.propTypes.style" as the value for "elementStyle" to demonstrate passing element styles across components. I have made the change accordingly, so please review it.

elementStyle is passed to a View.. this isn't right.

@ide Are you suggesting that the  on which elementStyle is being applied should be changed to ?

Sure, or leave the example as-is. The code you introduced isn't right though..

elementStyle is still applied to the View below. I don't think this is right so will close this. Let me know if I'm mistaken so we can reopen :)


(Better Collada Exporter):: Option for automatic object splitting by material

As the title says. Currently, it seems that Godot does not properly support multi-material objects so we have to split them in Blender before exporting. The issue though is that you have to join them back up if you need to make further edits to the level or object in question.
The solution would be a checkbox in the Better Collada exporter (along with the Godot Export manager) to automatically split objects by material during the export process, which would simplify and speed up level creation. I decided it would be a good time to request that since the focus right now is on usability.
If you can take a look, thanks.

I never had any issues with multi material objects. Have a testfile?
On Jul 1, 2015 11:38 PM, "Ace-Dragon"<EMAIL_ADDRESS>wrote:

As the title says. Currently, it seems that Godot does not properly
support multi-material objects so we have to split them in Blender before
exporting. The issue though is that you have to join them back up if you
need to make further edits to the level or object in question.
The solution would be a checkbox in the Better Collada exporter (along
with the Godot Export manager) to automatically split objects by material
during the export process, which would simplify and speed up level
creation. I decided it would be a good time to request that since the focus
right now is on usability.
If you can take a look, thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2224.

The thing is though is that I often want to use shading options only found in Godot, so I make a basic material for overview in Blender and then use the material override to make a more complete one. This is likely not going to change as long as Blender does not support replacing the current GLSL code with a custom set.
In Godot anyway, I have not found anything in the UI that suggests support for multiple material indices in the same vein as Blender, so that is why I split the objects.

I have same doubts. The export of multiple textures work fine, but to override it on a mesh I need to split it too. Generally it is not a problem, but when I need to rework a character it is a hard work.

Should this issue be moved to the new repo? https://github.com/godotengine/collada-exporter

As said by @akien-mga, issues specific to export add-ons should be created in the add-on's repository (if they're still relevant today).


about image save qusetion

This is exciting work, however, I have a question as to why the saved image fails when I re-enter it into the model, I feed the noise-laden image into llava and all is wel

thanks for the feedback, we can check. What model are you using?

We using LLava

Hi, the problem is that while saving the perturbed tensor to the image, the adversarial information might be lost during the transformation from float32 to 8bit.
Thus, please try running your examples by saving and loading ".pt" file. Thanks for the feedback!

also we are using LLaVa-7B


volume issues

I just created a a new letsencrypt using the catalog, this is the configuration :

letsencrypt:
environment:
API_VERSION: Production
AWS_ACCESS_KEY: ''
AWS_SECRET_KEY: ''
CERT_NAME: *******************
CLOUDFLARE_EMAIL: ***************************
CLOUDFLARE_KEY: ****************************************
DNSIMPLE_EMAIL: ''
DNSIMPLE_KEY: ''
DOMAINS: *****************************
DO_ACCESS_TOKEN: ''
DYN_CUSTOMER_NAME: ''
DYN_PASSWORD: ''
DYN_USER_NAME: ''
EMAIL: *****************
EULA: 'Yes'
PROVIDER: CloudFlare
PUBLIC_KEY_TYPE: RSA-4096
RENEWAL_TIME: '12'
labels:
io.rancher.container.create_agent: 'true'
io.rancher.container.agent.role: environment
image: janeczku/rancher-letsencrypt:v0.3.0
volumes:

/srv/docker/letsencrypt/production/certs:/etc/letsencrypt/production/certs

The problem is if I go in /srv/docker/letsencrypt/production/certs it's empty.
Note:  I can still use the one for the rancher LB

forget that the issue is https://github.com/janeczku/rancher-letsencrypt/issues/27

Hi @ict4ngo, can you paste the log output for the service?

@ict4ngo I understand that the certificate isn't created because of #27? Let's close this then.


Bucket Script - Sum Aggregation as filter

Similar to this issue
I need to plot the devices which have (sum of value = 0)  for an interval of 1hour split by device type
I have following fields

dsn - Unique Device no
cdate- Date Field
cons- Consumption Value
op - Device Code

I might be doing the bucket script incorrectly, but here is what i tried.
My json query input & result
POST index-2019.02.10/_search
{
     "aggs": {
    "zero_cons": {
      "date_histogram": {
        "field": "cdate",
        "interval": "hour"
      },
      "aggs": {
        "sum_cons": {
          "sum": {
            "field": "cons"
          }
        },
        "op_4type":{
          "filter": {
            "term": {
              "op.keyword": "4"
            }
          }
        },
        "op_3type":{
          "filter": {
            "term": {
              "op.keyword": "3"
            }
          }
        },
        "cons_bucket_filter":
        {
          "bucket_script": {
            "buckets_path": {
              "sumcons": "sum_cons"
            },
            "script": "params.sumcons = 0"
          }
         }
      }

  }
}
}

Result for Aggregation
"aggregations": {
    "zero_cons": {
      "buckets": [
        {
          "key_as_string": "2019-02-09T22:00:00.000Z",
          "key":<PHONE_NUMBER>000,
          "doc_count": 105423,
          "op_3type": {
            "doc_count": 485
          },
          "op_4type": {
            "doc_count": 65923
          },
          "sum_cons": {
            "value":<PHONE_NUMBER>010937
          },
          "cons_bucket_filter": {
            "value": 0
          }
        },
        {
          "key_as_string": "2019-02-09T23:00:00.000Z",
          "key":<PHONE_NUMBER>000,
          "doc_count": 920284,
          "op_3type": {
            "doc_count": 4723
          },
          "op_4type": {
            "doc_count": 749187
          },
          "sum_cons": {
            "value": 5888.251016019261
          },
          "cons_bucket_filter": {
            "value": 0
          }
        },
        {
          "key_as_string": "2019-02-10T00:00:00.000Z",
          "key":<PHONE_NUMBER>000,
          "doc_count": 1186960,
          "op_3type": {
            "doc_count": 5619
          },
          "op_4type": {
            "doc_count": 1017752
          },
          "sum_cons": {
            "value": 7340.813020244357
          },
          "cons_bucket_filter": {
            "value": 0
          }
        }

And my Vega Code
{
  "$schema": "https://vega.github.io/schema/vega-lite/v2.json",
  "title": "Event counts from all indexes",
  "data": {
    "url": {
      "%context%": true,
      "%timefield%": "cdate",
      "index": "index-*",
      "body": {
     "aggs": {
    "zero_cons": {
      "date_histogram": {
        "field": "cdate",
        "interval": "hour"
      },
      "aggs": {
        "sum_cons": {
          "sum": {
            "field": "cons"
          }
        },
        "op_4type":{
          "filter": {
            "term": {
              "op.keyword": "4"
            }
          }
        },
        "op_3type":{
          "filter": {
            "term": {
              "op.keyword": "3"
            }
          }
        },
        "zerocons":
        {
          "bucket_script": {
            "buckets_path": {
              "sumcons": "sum_cons"
            },
            "script": "params.sumcons == 0? 1:0"
          }
         }
      }

  }
}
},
        "size": 100
        // _source: ["cdate","cons","dsn"]
      }

   // "format": {"property": "hits.hits"}
   format: {property: "aggregations.zero_cons.buckets"}
  }
  // transform: [{calculate: "toDate(datum._source['cdate'])", as: "time"}]
  "mark": "circle",
  "encoding": {
    "x": {"field": "key", "type": "temporal", "axis": {"title": "Meter" }},
    "y": {
      "field": "zerocons.value",
      "type": "quantitative",
      "axis": {"title": "Consumption"}
    },
    color: {
      "field": "op", type: "nominal", legend : {title:"Device"}
    },
    shape: {
      "field": "zerocons.value", type: "nominal"
    },
    size: {
      "field": "zerocons.value", type: "nominal", legend: null
    }
  }
}

This i believe is not correct, may be some help would be really appreciated

@karnamonkster I won't be able to really help with the querying part - I am somewhat of a novice on that front too. You might want to ask on http://discuss.elastic.co just about the querying -- how to get the information you need. Once you get the data in the form you need, I could try to help with the plotting it using Vega. (you should probably ask the question on the discuss as well). In general, it is best to follow these steps to post Vega questions.

Hi @nyurik  ,
I am able to get the query, now i need to plot the devices in the vega visualization
POST /amidevices-2019.03.17/_search
{
    "size": 0,
    "aggs" : {
        "cons_per_hour" : {
            "date_histogram" : {
                "field" : "cdate",
                "interval" : "hour"
            },
            "aggs": {
                "total_cons": {
                    "sum": {
                        "field": "cons"
                    }
                },
                "cons_bucket_filter": {
                    "bucket_selector": {
                        "buckets_path": {
                          "totalCons": "total_cons"
                        },
                        "script": "params.totalCons < 0.001"
                    }
                }
            }
        }
    }
}


Better practice in the DI example

Hey, I stumbled upon this when adding Unity to some legacy code in the project. Returning null from GetService does not make sense - it's generally a bad practice and is also inconsistent with how other DI tech behaves (e.g. in ASP.NET Core where similar logic throws). Returning empty list from GetServices is also strange and inconsistent even with GetService.
So I updated the sample to throw InvalidOperationException in both cases, which is consistent with ASP.NET Core and also just providers better diagnostics as opposed to e.g. NullReferenceException.

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

@mkArtakMSFT  this is classic ASP.NET, not core. Can you assign someone to review this PR? It looks like a nice improvement to me.

@psfinaki  thanks for the PR! Hopefully you can try ASP.NET Core someday.

@Rick-Anderson, thank you very much!
I will be grateful if you add the hacktoberfest-accepted label to this PR as it's hacktoberfest going on right now :)

@psfinaki  done


Add the option to output the report as a pdf

Feature requested by @bcorrie

Done in cb3679e826f2fd65de36d352d8060be762e94681

@ssnn-airr it looks like the docker container doesn't have pdflatex installed so generating PDF fails.
I am building the container with these packages added:
    texlive-latex-base \
    texlive-fonts-recommended \
    texlive-fonts-extra \
    texlive-latex-extra \

Will let you know if that works...

Added textlive to the container in 303ef76744bdb65d0d1b2b81058233b20eab8b02

pdflatex is now working in container docker: airrc/rep-cred:latest - thanks.


Fix Frame.abs to support bool type and disallow non-numeric types.

Fixes Frame.abs to support bool type and disallow non-numeric types.

Codecov Report

Merging #1980 (87d0a2c) into master (dd9661f) will decrease coverage by 2.75%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1980      +/-   ##
==========================================
- Coverage   94.57%   91.81%   -2.76%
==========================================
  Files          50       50
  Lines       10946    10847      -99
==========================================
- Hits        10352     9959     -393
- Misses        594      888     +294

Impacted Files
Coverage Δ

databricks/koalas/generic.py
88.07% <100.00%> (-4.09%)
:arrow_down:

...bricks/koalas/tests/plot/test_frame_plot_plotly.py
26.43% <0.00%> (-73.57%)
:arrow_down:

databricks/koalas/plot/plotly.py
26.31% <0.00%> (-68.43%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
25.66% <0.00%> (-66.65%)
:arrow_down:

...ricks/koalas/tests/plot/test_series_plot_plotly.py
37.73% <0.00%> (-58.88%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
47.82% <0.00%> (-52.18%)
:arrow_down:

databricks/koalas/__init__.py
73.43% <0.00%> (-17.19%)
:arrow_down:

databricks/koalas/accessors.py
86.43% <0.00%> (-7.04%)
:arrow_down:

databricks/conftest.py
93.22% <0.00%> (-6.78%)
:arrow_down:

databricks/koalas/namespace.py
79.58% <0.00%> (-4.62%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

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

Thanks! merging.


Cookies are not included in the subsequent requests

Describe the bug
When the cookie is dropped and cookie value is surrounded with double quotes then the cookie is not passed onto the subsequent requests.
E.g
To Reproduce
Steps to reproduce the behavior:

Make a request that will drop cookie_name="blah";Max-Age=86400;Expires=Wed, 9 Dec 2020 18:01:58 GMT;Path=/;Domain=example.com;HTTPOnly
Make another request on same domain

Expected behavior
the cookie should be passed and sent with the 2nd request.
Screenshots
If applicable, add screenshots to help explain your problem.
Environmental Data:

Java Version 11
Version [e.g. 3.9.00]

If the cookie is expired by the server, why would client continue to send it? Per the spec it shouldn't because the cookie is now expired. Or am I misunderstanding sometihng?

Sorry @ryber please set the Expires time in future before setting the cookie.
I dont know if it helps, I'm also seeing the following warning when cookie is dropped:
WARNING: Invalid cookie header: "Set-Cookie: cookie_name="blah";Max-Age=86400;Expires=Wed, 9 Dec 2020 20:26:05 GMT;Path=/;Domain=example.com;HTTPOnly". Invalid 'expires' attribute: Wed, 9 Dec 2020 19:26:05 GMT

Oh Ok, I was thrown by you saying "dropped". I thought they were deleting the cookie.
The problem is that the format of the cookie is slightly non-standard from what is expected. by default Unirest uses the Netscape cookie spec which is the same as Apache Client. You need to set it to "standard", per the config https://github.com/Kong/unirest-java/blob/main/unirest/src/main/java/kong/unirest/Config.java#L566-L581
Unirest.config().cookieSpec("standard");

Ah perfect. That worked with no problems.
Thanks for your help. Much appreciated. 👍

@ryber One more question please, do you know if a cookie is dropped from a request, is there a way for me to either override or remove for the next request?

You can force sending the cookies with cookiemanagement on, but you have to do it every time. Cookies .... the setting and expiring of them, is the domain of the server. Clients aren't really supposed to be in charge of that and they aren't going to be part of the management store because they didn't come from the server.
There are lots of tests for force-sending one though:
https://github.com/Kong/unirest-java/blob/main/unirest/src/test/java/BehaviorTests/CookieTest.java

I see your point about cookiemanagement, My scenario is just to force send on top:
Unirest.config().enableCookieManagement(true);
Unirest.config().cookieSpec("standard");

Request 1 drops cookie cookie_name=old_value
Request 2 tries to force sending cookie_name with a different new_value. E.g.
Unirest.get(MockServer.GET)
  .cookie("color", "black")
  .asObject(RequestCapture.class)

However when running this request, it's still sending the cookie with the old_value.

I think the problem is your server because this works fine:
MockServer.expectCookie("foo", "bar");
        HttpResponse r1 = Unirest.get(MockServer.GET).asEmpty();
        assertEquals("bar", r1.getCookies().getNamed("foo").getValue());
        HttpResponse r2 = Unirest.get(MockServer.GET).cookie("foo","baz").asEmpty();
        assertEquals("bar", r2.getCookies().getNamed("foo").getValue());

Note that the server is under NO obligation to honor your hacked cookies. Severs own cookies, not clients.

So, just to fix my mistake. sort of. Either you want cookie management or not, we either honor the contract of cookies, OR you can override the whole thing. But we cannot do a mix

Okay I'll just work with cookie management being off.

So, just to clarify the reason, Apache manages the cookie store, and this is just it's behavior. It is possible to write your own CookieStore and make a custom HttpClient but, I'm also in the process of re-writing Unirest to not use Apache at all, so any more investment in it is just tech debt at this point.
You could handle this pretty easily with a custom Unirest interceptor.

Thanks, I think It'll be easier for me to just turn cookie management off for now ;)
Just out of curiosity, how would I implement this using an interceptor?


Arduino: Multiple problems with the timer

Problem 1:
The "get timer value" block only has "1" in the dropdown field whereas the "reset timer" block has 1 - 5 timers. Best solution is to have 1 - 5 timer to select.
Problem 2:
In the "wait until" block the timer is associated with a non existing configuration block, very confusing, but code generation works.

Additional context
Seems that we have different implementations in the arduino plugins, e.g. sensebox is working, but only with 1 timer.

There are 5 timers available through the "get timer", "wait until get timer" and the "reset timer" now.


Argument validation

To prevent invalid API requests, validation of required arguments is added to 'country by uuid' and 'city by uuid' requests.

The traits don't know about their usage, e.g. whether or not their functionality is required for the requests. As such, the exception messages and method names should not contain these assumptions. Instead they should say the values are invalid (and contain more specific information when available).
// No assertion. Exception is thrown.: no problem, but PHPUnit will automatically complain if a test method does not test anything (has no asserts, and does not expect exceptions, and sets no expectations).
$this->sut = CityByUuid::create($this->productionRequestHandler);
Don't use the production handler when simply testing validation. Instead, use the mocked handler in RequestBaseTestBase::requestHandler.


Handle sqlite DB not having write access

If the webserver user doesn't have write access to the sqlite DB, API calls that try to write die with a 500 error. Trap this error and return something indicating it, and display the error (and potential solutions) in the error menu in the front end.

volume option required to add to README.md - for starting boxedcode/alpine-nginx-php-fpm docker image - -v /path/to//Measure/database:/var/www/database - the db need to be in the image at /var/www/database and to be owned to the nginx (within the container) along with admin.db.


When you die on the boss it uses the wrong music (minor for future and major for past)

Can you tell me a step-by-step way of reproducing this? I'm not seeing it


Outlining not working

Code outlining functionality is not working in PTVS 2.2. Automatic outlining produces no change and collapse to definitions (Ctrl+M, o) actually expands all definitions. Only the hiding and un-hiding (Ctrl+m, h and Ctrl+m, u) are working hot keys. The Edit --> Advanced --> Format Document corrupts all outlining.
Updating to PTVS (September 2016) fails.

Resolved per issue #1706 with upgrade to v2.2.5.


Support for query parameter at /oauth/authorize endpoint

Support of ui_locales query parameter at /oauth/authorize endpoint
Summary
The multi language web application generates Keycloak's login link based on the language selected.
And Keycloak opens login page with that language (without action from user).
Why?
Useful for user's expirience. Right now user should choose language at web application, then should choose language at keycloak's login page.
How

Web Application generate link /oauth/authorize?ui_locales=it
Gogatekeeper redirects to /realms/xxx/protocol/openid-connect/auth?access_type=online&client_id=gogatekeeper&redirect_uri=...&response_type=code&scope=email+profile+openid&ui_locales=it
At Keycloak's login page the IT language is selected immediately

Acceptance criteria
Additional Information
https://www.keycloak.org/docs/latest/server_admin/#_user_locale_selection

@eratolekov i added new param --allowed-query-params, you can define params which will be forwarded e.g. --allowed-query-params="ui_locales=", you can also restrict it to concrete value (only one)  --allowed-query-params="ui_locales=it", there is 2.11.0-rc2 image

Hi p53
Thanks for spending your time.
I've added allowed-query-params to config, but I had an error:
[error] unable to read the configuration file: /etc/gatekeeper/config.yaml, error: yaml: unmarshal errors:
  line 1: cannot unmarshal !!str `myparam=` into map[string]string

My config.yaml:
allowed-query-params: myparam=
client-id: gogatekeeper
...

Also I tried:
allowed-query-params: myparam=qwe
allowed-query-params: "myparam="
allowed-query-params: "myparam=qwe"
With the same result.
I've read instruction at https://gogatekeeper.github.io/gatekeeper/userguide/#allowed-query-params-for-authentication
It's not clear to me, where I went wrong.
Version: quay.io/gogatekeeper/gatekeeper:2.11.0-rc2

@eratolekov example in docu are command line flags, not yaml config...so for yaml config it should be:
allowed-query-params:
  myparam: qwe

m-m-m, my fault
now work like a charm, thanks


CludFlare bypass

I think we need to add Cloudflare bypass https://github.com/MHProDev/MHDDoS/blob/2cd27e8b645d0dbf05048fa0e295844dc65a0671/start.py#L738
Also it might be configurable

yeah, I've been looking into it. it would require either adding python or javascript interpreter to be able to properly run checks, I have some ideas but need some more time to reflect on them. I've been looking at https://pkg.go.dev/github.com/robertkrimen/otto as it's written purely in go and we don't need performance from the javascript module and pure go is easier to maintain (I've seen 4 other js engines for go, all of them had more performance but were just providing bindings for C/C++ code and 3 of them are currently archived)

@Arriven  Sound good, otto for me also looks like a promising solution. I also can investigate this direction and share ideas here

@bmirnoff what would probably be most important (especially in terms of using otto) and what I didn't have a chance to check yet is whether the anti-bot check requires an event loop or if it is just a simple evaluation and the timeout can somehow be parsed from the page/code

Just for everybody's information, reference impl for CFB can be https://github.com/Anorov/cloudflare-scrape
js challenge is forked via node.js vm. Need to investigate actual process of solving a challenge.
https://github.com/Anorov/cloudflare-scrape/blob/e510962c608382bcef5de75033d60cc98cb9561d/cfscrape/__init__.py#L297

Here is actually how Cloudfare response looks like https://github.com/Arriven/db1000n/pull/324

Please, fix a TYPO in the tittle ClOudFlare

Just for everybody's information, reference impl for CFB can be https://github.com/Anorov/cloudflare-scrape js challenge is forked via node.js vm. Need to investigate actual process of solving a challenge.
https://github.com/Anorov/cloudflare-scrape/blob/e510962c608382bcef5de75033d60cc98cb9561d/cfscrape/__init__.py#L297

A bit more related repositories mentioned here (including Anorov) : https://githublab.com/repositories?q=cloudflare-scrape


Update Network Conditions

Taking a peek at network conditions there is quite a bit of room to improve here. I propose:

Drop the external tooling. DevTools now throttles uploads as well as downloads. The only stuff not throttled is WebRTC, Service Workers, and other non-primary (probably not the right term) work. Which a note can be made about the options to throttle even those with external tools.
Update the page to focus on the Network Throttle that is now built into the Network Panel.

Update to show the new UX.
Show how to create custom conditions via settings

Anything else to do when updating? Or any reason to keep the full instructions on using other tools?
cc @paulirish @kaycebasques @Meggin @pbakaus

SGTM, this is independent of my updates to profiling docs.

Since this is supposed to be the Chrome DevTools documentation, I don't have an issue with removing the instructions for other tools. It might be nice to include links to the official docs for those other tools with a note about doing it outside, but that's a nice to have.

Yup. My plan is to link to them as things to use for testing what devtools
currently doesn't cover. Since we support the existing primary uses, the
existing info is confusing pushing other tools so heavily.
On Jan 27, 2016 12:59 PM, "Pete LePage"<EMAIL_ADDRESS>wrote:

Since this is supposed to be the Chrome DevTools documentation, I don't
have an issue with removing the instructions for other tools. It might be
nice to include links to the official docs for those other tools with a
note about doing it outside, but that's a nice to have.
—
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/issues/2471#issuecomment-175772130
.

Yeah, SGTM. Go for it!

@Garbee says that he's going to handle #2401 too while working on these updates

I'm doing this page update on its own PR. Then moving onto #2401 as well as covering other things we need to update in a pass of the Resource Loading page.

P.S. Should have a PR for this either this afternoon or tomorrow afternoon. Working on it now, we'll see how far along I get today.


Add organization icon uploading

We need to add uploading for an organization's icon.

Relates to #26.

I'm working on this now.

Closed by #113.


website/website fails to start due to domain, source package mismatch

Trying to use the instructions in website/README.md:

cd website
go build
./website

fails with an error like this:
2017/12/27 14:21:23 Failed to find the root of the perkeep.org source code via osutil.GoPackagePath: file does not exist
The issue results from assuming that prodDomain is equal to the source package name.  Packages are still in the camlistore.org namespace, which means that the website binary cannot find content to serve.

Yes, this is expected, as are probably a few other things until the the migration is complete.
There is no valid source code for the perkeep.org namespace yet, so there's no point yet in trying to build/use it as such. Hence, the website should still be built/used under the camlistore.org namespace for now.


completion_generate performance

$ time completion_generate
real	0m5.164s
user	0m2.400s
sys	0m2.014s
It's really slow for a few lines of code.

$ time find "$MY_SH_MODULE" -type f -iname "*.bash" | s 'src'
real	0m0.033s
user	0m0.020s
sys	0m0.016s
so it's not the file-finding.

after i commented out the '_completion_register_generate' part of code in the completion_generate function, i time completion_generate again, the result is below:
$ time completion_generate
real	0m1.746s
user	0m0.961s
sys	0m0.643s

no use any more


Atom does not open new window until it is has focus - when opening file/directory via command line

I am an avid user of the atom command line script on Mac OS X Yosemite. I have noticed that Atom does not create a new window for a file/folder until it has been give focus (usually by clicking the icon in the dock).
Steps to reproduce;

Launch atom, open any file/directory
Open Terminal/etc
Use atom command to open another file/directory

Expected results:

Atom opens new window, becomes focus(maybe?)

Actual results:

Nothing happens until Atom has been given focus

Deets:
Atom 1.4.1
Mac OS X 10.11.2
/usr/local/bin/atom (no version but md5 is 00048d82f98c087e579f24ed32f8c7b2)

I am also experiencing this consistently. When using the CLI (e.g. – atom path/to/dir/), Atom does not gain focus or open the directory until I manually give Atom focus by app switching or clicking the dock icon.
Environment

Atom 1.5.3
Mac OS X 10.11.3 (15D21)

Also get this actually very often on Atom 1.5.3 Mac 10.11.


Add hyperlinks to example ontology terms in documentation of simulator specifications format

Schema section of https://biosimulators.org/standards/simulator-specs

Done in #2267


Remember Apply to Preferences

Is your feature request related to a problem? Please describe.
Option to set default Apply to preference in the settings. The plugin doesn’t remember your preference/selection from your last session and can cause accidental change to tokens across the entire document causing Figma + the plugin to freeze/crash.
Describe the solution you'd like
In the settings tab of the plugin, have a way to set the preference of 'Apply to Document', 'Apply to Page' or 'Apply to Selection'.
Definition of done

Can set the preference for 'Apply to ... ' in the settings tab of the plugin
Closing and reopening the plugin will remember this setting (even in case of crashes)
This setting is not affected by the bulk remap function

### Tasks
- [ ] https://github.com/tokens-studio/figma-plugin/issues/2179

Why dont we just fix the bug where we are not able to restore what was set previously? Let's not complicate things


settings in travis deploy

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Generate github pages in travis deploy

What is the current behavior? (You can also link to an open issue here)
When the deploy is performed, the github pages is not updated

What is the new behavior (if this is a feature change)?
The github pages is generated in travis deploy

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Is there any issue related to this PR in other repository? (such as dojot/dojot)
This PR is connected to dojot/dojot#1051

Other information:

I think we could also invoke (or even substitute) the scripts from other repositories. Therefore we could have rendered previous API versions.


Error "No module named 'wolframclient.evaluation'" issued

I am trying to do some automation using Mathematica in python. I install the package but I encounter an error "No module named 'wolframclient.evaluation'". I have installed the complete package and there is a folder called evaluation in wolframclient.

Can you provide the relevant code snippet that reproduces your issue?

I was going through https://reference.wolfram.com/language/WolframClientForPython/
when I try to import this command

from wolframclient.evaluation import WolframLanguageSession

I get the error I have mentioned above.

Did you run pip install wolframclient successfully first?

Yes I did run

Do you have more than one python installation, where perhaps one works with pip install and the other one does not? Are you perhaps using a very old python version that may not be supported?

I used pip3 install wolframclient

And what does python --version return?

Python 2.7.16

OK. You need python 3.5 or higher:

Ok, I agree but I use Anaconda which has python 3.6. I'm working on Jupyter Notebook

I highly suspect you have multiple python installations (probably more than two?). When you run pip3 it may simply be installing it somewhere where it can not be found (for example by Anaconda). It's a little hard to debug this for me, and also outside of the scope of this repo issue tracker. If you're using a Jupyter notebook, try to check what python installation it is using, and how to install packages for that specific python.

Correct, there is something wrong with your env. I suggest to do the following:

in your anaconda notebook run:

>>> import sys
>>> sys.executable
'/usr/local/opt/python/bin/python3.7'

use that path to directly run pip install from cli, in order to be extra safe please specify the latest released version explicitly.

/usr/local/opt/python/bin/python3.7 -m pip install wolframclient==1.1.4
that should fix your issue, please let me know if this is not helping.
Cheers.

Thank you, the error has been solved. @riccardodivirgilio and @arnoudbuzing


Add support for range Query

I am very surprised that the Range query didn't make it in the 8.x client. I wanted to flag it as a bug, but I see there is no mention of it in the release docs for 8.x
In my opinion range is a vital query. How else does one select documents between dates (if nothing else)?

Hi, @kleanthis. This relates to defining numeric and date range queries and is a duplicate of #7050. I'll close this on that basis as we are tracking this common requirement. We will prioritise this as we agree it's very common to need this. For now, using 7.x in compatibility mode is recommended if you require this query type.

Thanks, @stevejgordon — understood. I've been using the Transport layer directly.


New install per directions in readme

I believe I installed all the prerequisites, but this is the error I get.
Any help appreciated.
1:
root@kali:~/code/waveconverter/src# ./waveconverter.py -p 0
File "./waveconverter.py", line 79
print "Trouble reading input text file {}, exiting...".format(inFileName)
^
SyntaxError: invalid syntax
2:
root@kali:~/code/waveconverter/src# ./waveconverter.py -q ../input_files/fan_all_dip1101_pruned_dec_c304p55M_s830k.iq -o ../output_files/test.log -g -p 3
File "./waveconverter.py", line 79
print "Trouble reading input text file {}, exiting...".format(inFileName)
^
SyntaxError: invalid syntax

You probably are running it with Python 3. Try changing the 'python' reference to 'python2'.

Thanks CRImier. Great advice.

Thanks,
I finally got python 2.7.15 working and with your answer to the issue about crc_custom, I was able to get Waveconverter running.
My laptop has a resolution of: 1280x800 and it looks like I may not be seeing the entire window.  And I cannot figure out how to resize.
On the TX Payload, I can see the top half of Line 10.
On the CRC page the last item is: Initial Sum - Asc1.
Please advise....


Typescript : Selector.addCustomMethods could be typed with added methods

What is your Test Scenario?

When using addCustomMethods in typescript, the resulting Selector is properly typed with added methods, without manually declaring the interface.
const test = Selector.('div').addCustomMethods({
  sayHello : (el, name) => console.log(`Hello to ${name} from ${el}`)
})

test.sayHello('John') // no typescript compilation error

What are you suggesting?

Typescript is powerful enough to deduce the new interface of the Selector if addCustomMethods type is explicit enough.
Here is my workaround code:
type WithoutFirstArg<F extends Function> = F extends (a: any, ...x: infer ARGS) => infer R
  ? (x: ARGS) => R
  : never

type AsCustomMethods<METHODS extends Record<string, Function>> = {
  [k in keyof METHODS]: WithoutFirstArg<METHODS[k]>
}

/**
 * Selector.addCustomMethods with typescript typings!
 */
function addTypedCustomMethods<
  METHODS extends { [method: string]: (node: Element, ...methodParams: any[]) => any }
>(selector: Selector, methods: METHODS, opts?: { returnDOMNodes?: boolean }) {
  return selector.addCustomMethods(methods, opts) as Selector & AsCustomMethods<METHODS>
}

What alternatives have you considered?

The current documented solution of specifying the interface every time works, but it can generate lots of boilerplate.
Additional context

Hi @Pantalaimon
Thank you for sharing this idea with us.


Removing space for demo purpose

Learn Build status updates of commit 9dd8223:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/healthcare-apis/release-notes.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

Hi @EXPEkesheth,
Is this PR for demo purposes only, or did you intend for this change to be merged?
Thanks!

@kgaddam10 @judegnan @EXPEkesheth - Should this PR be signed off or closed?

@ShannonLeavitt  looks like @EXPEkesheth created this for demo. This PM should be Closed.
FYI @judegnan was a vendor who is no longer with the team.