phoenixdb.errors.ProgrammingError: u'Table undefined

If I create table 'USER', and it's schema defined 'PERSONA'.
database_url = "http://master:8765/"
conn = phoenixdb.connect(database_url, autocommit=True)
cursor = conn.cursor()
cursor.execute("SELECT * FROM USER")

It has a error: Table undefined , tableName='USER'.
But When I use below query:
SELECT * FROM PERSON.USER

this will have a ERROR: UnsupportedOperationException: Currently not supported.
When I see the source code and not found anywhere I can specify the schema parameter.
How to solve this? Any idea?

How did you get the query server running with schema support? I'm trying to do it myself, but I'm failing on this:
Inconsistent namespace mapping properites.. Ensure that config phoenix.schema.isNamespaceMappingEnabled is consitent on client and server.

Can you please share how are you running the query server?

I have added a test to check that schema support works:
https://github.com/lalinsky/python-phoenixdb/commit/424a3751d25a1073a4dedcf454ab044d9f900aa1
I'm unable to reproduce your problem. Can you please describe how are you running HBase/Phoenix?

@lalinsky Thanks. In my env(Python =>2.7.  phoenixdb => 0.7, phoenix =>4.9), running the query server:
/path/to/phoenix/bin/queryserver.py start

When I use '~/bin/sqlline.py'  exec the same command to query , that's work fine.
jdbc:phoenix:> select * from PERSON.USER;
+-----------+--------+-----------+-------------+---------------------------------------+--------------+---------+
|    UID    | DEPTH  |    SR     | ACTIVE_DAY  |               APP_LIST                | START_COUNT  |   NTM   |
+-----------+--------+-----------+-------------+---------------------------------------+--------------+---------+
| 34643599  | 9.1    | 1024x768  | 6           | ['QQ', 'Weixin', 'nongyao']           | 21           | Mobile  |
| 12345623  | 10.5   | 1024x768  | 5           | ['Apple', 'YY', 'QQ', 'Weixin']       | 20           | Mobile  |
| 35634525  | 6.8    | 256x768   | 8           | ['YY', 'QQ', 'Weixin', 'Xiaoxiaole']  | 16           | Mobile  |
| 56772345  | 6.5    | 256x768   | 8           | ['QQ', 'Weixin', 'Xiaoxiaole']        | 13           | Mobile  |
| 34652477  | 3.5    | 256x768   | 8           | ['QQ', 'Weixin', 'nongyao']           | 17           | Mobile  |
+-----------+--------+-----------+-------------+---------------------------------------+--------------+---------+

When I use the queryserver, It's wrong.
import phoenixdb
import phoenixdb.cursor

database_url = "http://master:8765/"
conn = phoenixdb.connect(database_url, autocommit=True)
cursor = conn.cursor()
cursor.execute("SELECT * FROM PERSON.USER")
print cursor.fetchall()

Error Message:
Traceback (most recent call last):
  File "phoenix-op.py", line 7, in <module>
    cursor.execute("SELECT * FROM PERSON.USER")
  File "build/bdist.linux-x86_64/egg/phoenixdb/cursor.py", line 201, in execute
  File "build/bdist.linux-x86_64/egg/phoenixdb/avatica.py", line 405, in prepare_and_execute
  File "build/bdist.linux-x86_64/egg/phoenixdb/avatica.py", line 216, in _apply
  File "build/bdist.linux-x86_64/egg/phoenixdb/avatica.py", line 129, in parse_error_protobuf
phoenixdb.errors.InternalError: (u'UnsupportedOperationException: Currently not supported', None, None, None

@lalinsky Thanks for your response.  When I see some doc found that the phoenixdb is still not support array type field.  Because there have some array type fields in my table, and query the non-array fields is ok.  But when I use /path/to/phoenix/sqlline.py, same query is work fine.
Env : phoenixdb => 0.7

phoenixdb use protocol buffer transport default, I don't know whether json is support to use array type fields. Docs seems still not suport now.

Array support is not implemented yet. It has been added to Avatica/Phoenix since I started working in this project, but the type encoding/decoding code still needs to be updated.


Clickable + Selectable Edges

This is a first draft for #100.
I didn't know how you would like to handle the new configuration possibilities, I tried to sketch a possibility (hopefully this doesn't make the code too messy).
The most important part is the edge_by_screen_pos() in graph.rs.
This is my first pull request so please feel free to give me feedback if I should change/adapt anything in the future.

Thank you very much for the feedback and for pointing out what needs improvement.
I tried to adjust all the required changes.

I ve also fixed issue with drawing selected edges when they overlap not selected. They start to flicker because drawing order is not defined.
I've modified addition to drawing layers like this (the same was in node drawing):
match e.selected() {
    true => l.add_top(shape_tip),
    false => l.add(shape_tip),
};

Before fix (starts to flicker on redraw):

After fix (determined drawing order - selected on top):

I added the tests and changed the interactive example.
Thanks a lot for your improvement suggestions.


[Doc] Cannot find the idea plugin for latest released version 0.93

I'm unable to find the compatible plugin for 0.93 release. https://plugins.jetbrains.com/plugin/9520-ballerina

Hi @yasassri,
The plugin version 0.9.1 support Ballerina 0.93. There was an oversight and the supporting Ballerina version was not added to the change log.


fix(resource): add if condition (DSP-1655)

resolves DSP-1655

@mdelez What do you think about this quick solution?

In what scenario do you find yourself in a situation where a ValueAdded event is raised but there is no value?

In what scenario do you find yourself in a situation where a ValueAdded event is raised but there is no value?

only in the test... yes maybe we should fix it in the test. But I have no clue about this setup. The test failed because "newValue" is undefined

@mdelez Maybe I'll need your help here. Any suggestion?

@mdelez Maybe I'll need your help here. Any suggestion?

I can take a look at it later today

Maybe @flavens has also an idea!?

Strangely, if I run npm run test-ci locally, I get a different error message.  No errors?

Strangely, if I run npm run test-ci locally, I get a different error message.  No errors?

Yes, this is the strange thing. I do not have an error, but sometimes I have the same error as on Github CI. But sometimes I also had your error message, but test were successful. This is what happened right now on main branch...

On Github CI the tests failed on the mentioned error Cannot read property 'addedValue' of undefined, but when re-running all the tests, they are successful. But this could not be the solution, right?

On Github CI the tests failed on the mentioned error Cannot read property 'addedValue' of undefined, but when re-running all the tests, they are successful. But this could not be the solution, right?

This is definitely a solution but I feel like we should figure out why this is actually happening at some point. My guess is that it's a timing issue. There is probably an async BeforeEach somewhere that is not ready in time sometimes. For now, I'll approve it.

On Github CI the tests failed on the mentioned error Cannot read property 'addedValue' of undefined, but when re-running all the tests, they are successful. But this could not be the solution, right?

This is definitely a solution but I feel like we should figure out why this is actually happening at some point. My guess is that it's a timing issue. There is probably an async BeforeEach somewhere that is not ready in time sometimes. For now, I'll approve it.

Yes absolutely, I agree.


support for vue.js or plain css !

hello
i dont use react
i use vue.js
i like ur components
is your project support for vue js ? or share plain css we convert it to vue

Hello 👋 sorry - There is little to no css in this project. And a port to it would actually be quite difficult. The project uses ui-box quite heavily. If that helps 🤷♂

We don't have any plans to support Vue at this time.
You can make use of plain css alongside evergreen-ui but it may not behave quite as you expect, due to the CSS-in-JS solution we get from ui-box. You'll probably run into things like specificity clashes and order hierarchy.


Add AsyncTimeoutRules property to ProvderHub package

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Same as https://github.com/Azure/azure-sdk-for-net/pull/45369


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
20ea4bb -> 56ffb8d

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.23.9 -> v1.23.11

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.23.11
Compare Source
Bug Fixes

deps: update module github.com/ibm-cloud/power-go-client to v1.5.1 (#683) (49afea4)

v1.23.10
Compare Source
Bug Fixes

deps: update module github.com/gruntwork-io/terratest to v0.46.1 (#682) (dec9602)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix/issue 659

Codecov Report

Merging #667 into rusk-ipc will increase coverage by 0.57%.
The diff coverage is 58.84%.

@@             Coverage Diff              @@
##           rusk-ipc     #667      +/-   ##
============================================
+ Coverage     54.96%   55.54%   +0.57%
============================================
  Files           156      160       +4
  Lines          9689    10566     +877
============================================
+ Hits           5326     5869     +543
- Misses         3723     3978     +255
- Partials        640      719      +79

Impacted Files
Coverage Δ

pkg/config/consts.go
0.00% <ø> (ø)

pkg/core/consensus/collector.go
0.00% <0.00%> (ø)

pkg/core/consensus/committee/handler.go
80.00% <0.00%> (-8.89%)
:arrow_down:

pkg/core/consensus/component.go
72.41% <ø> (ø)

pkg/core/consensus/generation/score/generator.go
14.70% <0.00%> (-0.92%)
:arrow_down:

pkg/core/consensus/header/header.go
24.75% <0.00%> (ø)

pkg/core/consensus/queue.go
100.00% <ø> (ø)

pkg/core/consensus/reduction/testutil.go
46.42% <0.00%> (-1.72%)
:arrow_down:

pkg/core/consensus/user/provisioners.go
23.28% <ø> (ø)

pkg/core/data/transactions/provider.go
0.00% <0.00%> (ø)

... and 77 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 040dfba...8d5107c. Read the comment docs.

This PR is closed as another branch (based on latest rusk-ipc) has been created to address issue 659


HTTP proxy variables are ignored when using aws_secretsmanager provider

This is a known issue in the underlying AWS library for rust:
https://github.com/awslabs/aws-sdk-rust/issues/169
^^ There are several example workarounds in this thread.

Thanks for supplying the thread with workarounds!

@jeremyj563 could you provide steps to reproduce and test fix against?


XS Template build needs to be incorporated into build process

Right now there are manual instructions to build the XS templates.  This should be incorporated into our Build process.

closed by the following https://github.com/mono/CocosSharp/commit/793e4e9ba3346e1e600b3b6a4579514caafbf0c5


Fix content.isExactSelection comparison for text nodes

Here's one first fix for something that broke when I've removed jQuery.
Changelog

🐛 Fix content.isExactSelection comparison for text nodes

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Roadmap

0.1.4

[x] Python 3
[ ] Backwards compatibility?
[x] README.rst
[x] Proper encoding

0.1.5

[ ] Individual track downloads
[ ] Fix KeyError: 'album_title'
[ ] --no-art option
[x] More reliable overwrite detection

Should it simply go: 0.0.5 -> 0.0.6? I figured a jump to python 3 justified a bigger increment and the version numbering has been kinda.. weird to begin with really, on PyPI it goes by the version specified in the setup.py but the actual bandcamp_dl.py specifies it as 1.0.
Its possible it could be re-versioned entirely and resubmitted to PyPI as bandcamp-dl which would look nice and match the script + repo name but that is entirely up to you @iheanyi

My current idea is to port my fixes to the Python 2 codebase, move it to a branch then make the new Python 3 code the master.
Another possibility is to append the filenames with -py2/-py3 and configure the setup.py to build multiple wheels. Downside is we would end up dragging the Python 2 codebase along for some time, and eventually something will not be able to be ported. (Async stuff, soon-ish)

I think that's a great plan of attack. Honestly, I'm all for dropping Python 2.7 support, although I'd have to reconfigure packaging for Python 3, wouldn't I?

Also, what are your thoughts on maybe developing a small website for this project? I can whip something up if you think it'd be valuable and after we get the build story ironed out.

Making a Project Page for it seems the simplest route, and since it would be contained in the project repo its easily managable. Maybe take a look at a static site generator like Pelican/Jekyl/Hyde/Nicola.
As for re-configuring packaging I've already made a new setup.py following PyPI's example project:
https://github.com/Evolution0/bandcamp-dl/blob/master/setup.py
(Don't mind the reference to Python 2.7, the idea to split the repo came after I made this)

Works for me. Do you think we need CI and release tagging for this?

Release tagging might be good, that way people can get the source to specific builds pushed to PyPI rather than just clone the repo and hope its the same.
As for CI.. I have no idea how that works, I actually don't have much experience writing tests but I suppose getting a nice list of unique urls (ones we previously had issues with) and running through all of them (and with various options) getting the output then writing some asserts for the expected output and running it through pytest should work right?

Yeah, exactly re: release tagging. :)
And yeah, CI is complicated but it's only complicated as it needs to be. :) But essentially, yes. It's just getting some inputs (mock JSON or HTML from Bandcamp), inserting it into the tests and using it to make sure functions work as expected. I've never written tests in Python outside of Django before, so it'd be a new experience to me as well, haha.

Alright, Python 2 branch has been pushed, now I just need to clone the master repo and replace it with my Python 3 fork.
I made sure the Python 2 branch is 1:1 with my Python 3 fork, nice and neat. They both have the same bug fixes and features. I even managed to restore some code that I somehow missed to the Python 3 fork (Track index message)
You may get a lextab/yacctab warning, this is a weird bug with Ply that has been mentioned before, it is completely harmless and due to it not being able to overwrite the included lextab/yacctab included with slimit (Which makes no sense, they are generated and should not be included) you can make it go away by deleting those two files from /site-packages/slimit/
In reality the Python 2 and 3 versions now have the same code and dependency versions.
Edit: Wait a minute, I think I just made it cross-compatible without even realizing it.. yep, looks like I did. Guess I'll edit the setup.py with both Python tags at least for this version, when it comes time that the master branch uses features that Python 2 does not support I'll simply stop updating that branch and edit the setup.py for the master.


jsx-no-target-blank warning when values are dynamic

Even though I am aware that using target="_blank" is not a good UX practice, we still have some areas in the codebase that, for now, still use this. My problem is not with the rule but, the fact that it is raised on the code below.
As you can see from the code, if target="_blank" is indeed used, we will also set rel="noopener noreferrer".
<a
  href={props.url}
  target={props.newWindow ? "_blank" : undefined}
  rel={props.newWindow ? "noopener noreferrer" : undefined}
  onClick={props.onCTAClick}
>
  {props.cta}
</a>

The only solution here is to use an eslint override comment, or, to split it into two elements - one with target and rel, and the other with neither. The linter can’t reasonably figure out that these two separate ternaries forming 4 code branches are really 2 coupled and distinct code branches.

The only solution here is to use an eslint override comment, or, to split it into two elements - one with target and rel, and the other with neither. The linter can’t reasonably figure out that these two separate ternaries forming 4 code branches are really 2 coupled and distinct code branches.

Yeah, we did end up just disabling the rule here. I totally get that it would be tricky to tease this out programatically. It is interesting though to think why it is flagging this as a warning.

Pretty much any rule that checks for a static prop value will warn on any dynamic value, because it can't know for sure what it will be. This is just the limits of practicality and static analysis ¯\_(ツ)_/¯

@ljharb - Thank you for your feedback here. Feel free to close this is there is no path forward.


Release based on recent changes?

Just wondering if there's any chance of a release happening soon based on what we merged? If there's work that needs doing to get it ready I'm happy to help.

Sorry I haven't gotten around to this. Works has been in super crunch mode at the moment gearing up for a release. I'll aim to push this out later today or early tomorrow.

Not a problem. It was intended as a small reminder, rather than a demand.
Like I said, I'm happy to help with any work that needs doing, just not
sure what your release process is for this. Might be worth documenting it
once you've got some time again, but paying work obviously comes first.
On 30 Apr 2015 12:38 am, "Chris Horner"<EMAIL_ADDRESS>wrote:

Sorry I haven't gotten around to this. Works has been in super crunch mode
at the moment gearing up for a release. I'll aim to push this out later
today or early tomorrow.
—
Reply to this email directly or view it on GitHub
https://github.com/Naturally-Being/G-Rex/issues/12#issuecomment-97607306
.

3.0.0 has been pushed to Central! Thanks again for all your awesome work on this, and for reminding me to actually push a release.


TokenInfo is not found in 'flow-native-token-registry'

Hi, I tried to use 'flow-native-token-registry' on react, but I got an error.
Source code:
import { TokenListProvider, TokenInfo } from 'flow-native-token-registry';

console.log(TokenListProvider);
console.log(TokenInfo);

Error info:
export 'TokenInfo' (imported as 'TokenInfo') was not found in 'flow-native-token-registry' (possible exports: CDNTokenListResolutionStrategy, CLUSTER_SLUGS, ENV, GitHubTokenListResolutionStrategy, StaticTokenListResolutionStrategy, Strategy, TokenListContainer, TokenListProvider)

TokenInfo only refers to a type not a value
It's for typescript ,so we need to keep that for typescript environment
If you use javascript you can ignore the TokenInfo type

You should update the README.md then.  This line of code from demo of reactjs throws an error when it is compiled.
  const [tokenMap, setTokenMap] = useState<Map<string, TokenInfo>>(new Map());


#2332 add param "uselang" in notifications API calls.

Description (required)
Fixes #2332 Notification activity: Dates not localized
What changes did you make and why?
add the param "uselang" in notifications API calls. The value used is the system user language or the value "user" if this value is empty.
Tests performed (required)
Tested betaDebug on Nexus 5X with API level 27.

Codecov Report

Merging #2555 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2555      +/-   ##
=========================================
- Coverage     5.9%    5.9%   -0.01%
=========================================
  Files         258     258
  Lines       12300   12304       +4
  Branches     1104    1105       +1
=========================================
  Hits          726     726
- Misses      11515   11519       +4
  Partials       59      59

Impacted Files
Coverage Δ

...rw/commons/mwapi/ApacheHttpClientMediaWikiApi.java
3.95% <0%> (-0.04%)
:arrow_down:

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 8022536...376e4bc. Read the comment docs.

I've just made a test with param "uselang" containing an empty value. The default language is used so maybe I could remove these lines:
  if(StringUtils.isNullOrWhiteSpace(language)){
                //if no language is set we use the default user language defined on wikipedia
                language="user";
            }


Using include Kernel in Module causes surprising behavior

Thanks for reading and for working on this ❤  We ran into a bit of a surprising behavior around using include Kernel in modules.
Input
→ View on sorbet.run
# typed: true
module GetClassName
  include Kernel
  def class_name
    self.class.name
  end
end

class Object
  def puts(_)
    raise "Printing is not allowed in this app"
  end
end

class SomethingElse
  def test_raises_on_puts
    puts "This should raise unless our puts method gets overwritten"
  end
end

SomethingElse.prepend(GetClassName)

raised = SomethingElse.new.test_raises_on_puts

Observed output
No errors! Great job.

The runtime output:
This should raise unless our puts method gets overwritten
=> nil

Expected behavior
test_raises_on_puts raises an exception

We ran into an issue where using include Kernel to make Kernel methods available in a module caused undesired behavior. This happened because:

We were patching a Kernel method (using puts in the example above)
We prepended a module that uses include Kernel to fix type errors.
After prepending, we overwrote the patched Kernel method. This is because prepend adds all of the ancestors in the inheritance chain to the beginning. In the example above, SomethingElse.ancestors returns:

[GetClassName,
 Kernel,
 SomethingElse,
 Kernel,
 BasicObject]

Adding the behavior via includes only adds the included module to the chain.
[SomethingElse,
 GetClassName,
 Kernel,
 BasicObject]

I wanted to raise this since include Kernel is a recommended solution to dealing with Kernel methods in modules, but this doesn't feel particularly safe since it's not actually a no-op when using prepend.
The last time I checked, requires_ancestor was still experimental, but perhaps that will eliminate the need to for this. For what it's worth, I'd almost prefer a setting where Sorbet could assume that all modules in a certain directly would always be included in classes that inherit from Object. This is case for the vast majority of the code in our app.

We were patching a Kernel method

Except, you weren't—you were patching an Object method.
If you move your monkey patch to be on Kernel, the expected exception is raised:
# typed: true
module GetClassName
  include Kernel
  def class_name
    self.class.name
  end
end

module Kernel
  def puts(*_)
    raise "Printing is not allowed in this app"
  end
end

class SomethingElse
  def test_raises_on_puts
    puts "This should raise unless our puts method gets overwritten"
  end
end

SomethingElse.prepend(GetClassName)

raised = SomethingElse.new.test_raises_on_puts

I appreciate the feedback, but I don't think this is a bug in Sorbet. Rather, I think this is just an example of why monkeypatching is bad—you can do unexpected things that the static system will not be able to catch.

Thanks for the fast response. I agree that this isn't a bug in Sorbet, but do still wonder if there are updates/clarifications we could make to the docs that might be helpful. Mostly since include Kernel is a recommendation for fixing that category of NoMethodError.
Maybe something along the lines of "be careful if you're mixing in a module that includes Kernel with prepend as that may have unintended side effects" might be helpful?
Again, not blaming Sorbet for this, but would love to help prevent other folks from running into this in the future. I'm guessing I'm not the only one working on an application with some surprising patches 😅


sleeper.bulkimport.starter.executor.Executor has unused variable

sleeper.bulkimport.starter.executor.Executor has a variable s3Client in the constructor which is unused.

As of PR #102 this field is now used in sleeper.bulkimport.starter.executor.EmrExecutor and sleeper.bulkimport.starter.executor.PersistentEmrExecutor.


Can't open /data/unifi-core/config/unifi-core.crt for reading, No such file or directory

Is this "+" symbol supposed to be there (at end of the line):
https://github.com/alxwolf/ubios-cert/blob/90732b4a81337d1114e98447c1f39f24a6eced43/ubios-cert/ubios-cert.sh#L61

Oh no, that was introduced by mistake. Will fix it, thanks for pointing it out.

@emilvissing should be ok now.


[Mobile] Fix for profile selector menu

Changes:
On a Users Profile page, when you click the Selector above everything, it'd show opacity and not below like Standards. This will fix the mistake.
Reviewers should focus on:
Removed position: static; which will make a background element  overlay all other elements. Do NOT add any code to this section any further!
Screenshots:
This was simulated on an Emulator using Chrome.

Can you please edit your first post and add a before & after screenshot?
I can't figure out what does this change.


Azure Search Improvements for Java (June 2021)

This tracks the work for Cognitive Search for the June milestone

Closing as June release has passed


Update untyped blanks to be treated as scalar when it's possible to be a table or scalar

We updated all other functions to do that, but the statistical functions still behavior still favor the tabular overload: in Min(Blank(), 1) the blank value is interpreted as a table (and the operation returns Blank()), while there is an overload that takes numbers instead.

✅ No public API change.

✅ No public API change.

✅ No public API change.

✅ No public API change.


Can't get __RequestVerificationToken

Hi there,
I'm trying to get __RequestVerificationToken property from http://socialclub.rockstargames.com/.
But it doesn't work.
Have they sth changed in this part of API?
Best regards

Check #1; all the info is in there

Thanks for the answer!
I saw that. But I don't think these issues are connected with each other.
I'm using correct headers, user agent etc. My ip address wasn't blocked by
Rockstar Games. Later I will describe it more precisely.
13 lis 2015 17:41 "LordTiggy"<EMAIL_ADDRESS>napisał(a):

Check #1
https://github.com/gta5-map/Social-Club-API-cheat-sheet/issues/1; all
the info is in there
—
Reply to this email directly or view it on GitHub
https://github.com/gta5-map/Social-Club-API-cheat-sheet/issues/3#issuecomment-156483035
.

Something has changed on Rockstar's side; did you try with the new headers provided in #1

@r3m4k3 Can you elaborate "But it doesn't work"? What exactly? Can you still see it in the page source but cant extract it?

@frdmn Yes, exactly the same.
The code based on your parser with additional headers from issue #1 .
$defaultHeaders = array(
  'Pragma: no-cache',
  'Accept-Encoding: gzip, deflate, sdch',
  'Accept-Language: en-US,en;q=0.8,en-US;q=0.6,en;q=0.4',
  'Upgrade-Insecure-Requests: 1',
  'User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36',
  'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
  'Cache-Control: no-cache',
  'Connection: keep-alive'
);

$ch = curl_init();
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie_jar.txt");
curl_setopt($ch, CURLOPT_URL,"http://socialclub.rockstargames.com/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $defaultHeaders);
$buffer = curl_exec($ch);
curl_close($ch);
unset($ch);

$parsed_rvt = str_get_html($buffer)->find('input[name=__RequestVerificationToken]', 0)->value;

It returns null.
Buffer is hardcoded string of some kind of "Chinese": ‹í½I–%&/mÊ{JõJ×àt¡€$Ø@ìÁˆÍæ’ìiG#)«*Êe etc.
Of course I have included Simple Html Dom library.

@r3m4k3 Aaaah, thats easy to fix: The buffer that you see there is not in chinese actually, it's just plain gzip encoded,
Add the following header to your CURLOPTs and it should do the trick:
curl_setopt($ch, CURLOPT_ENCODING , "");

@frdmn That's right.
Dank je wel! :)

@frdmn
Huh, but I've got still problem with signing in.
I can see sign in page as a result, but I'm not logged in.
$ch = curl_init();
curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie_jar.txt");
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie_jar.txt");
curl_setopt($ch, CURLOPT_URL,"https://socialclub.rockstargames.com/profile/signin");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "login=".$username."&password=".$password."&__RequestVerificationToken=".$parsed_rvt);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36',
'Content-Type: application/x-www-form-urlencoded'
)
);
What am I doing wrong this time?
Thanks :D

@r3m4k3 What's your response when you fire that request like that?

@frdmn Sign in page

@frdmn Any idea? Can you sign in via curl?

Has there been any progress on this?

@r3m4k3 The problem in this case is that SC wants us to solve the ReCaptcha (which you probably don't see in your screenshot because its post-loaded via JavaScript). The only way to work around this is to open the login page of SC in a "usual" browser and sign in manually so the ReCaptcha shows up there instead. Once you've solved that, you should be also able to login using the example parser.
@thecrossandcrown I won't give up that easily though. I plan to rewrite this in JavaScript and try to make use of PhantomJS to simulate a full browser engine. That way I can hopefully proxy the possible captchas to the user's screen, so they can solve and input the result manually.
Still, I'm afraid a fully automatic and especially permanent solution without user interaction is impossible at the moment unless R* gives us some proper API's to work with :(


[Bug Report] Lever Lock

It appears when another player uses another way to interact with the lever instead of walking up to it and pulling it, it locks into the pulled position with the hover over text saying "Waiting for the ship to land". As Lethal-Admin denies the land initiation the lever is uninteractible and the save has to be relaunched. I tested this with [ExtraTerminalCommands by Beauver]. However I imagine this will work for any mod that tried to make the call to launch. You may need to have your mod catch and deny any calls to land the ship through any means other than the host.
https://thunderstore.io/c/lethal-company/p/Beauver/ExtraTerminalCommands/

Ah I'll look into it, you should already be able to disable the feature in the config file or settings tab.
Currently I use a small "trick" where the lever starts the game differently depending on if you are the host or not, I assume the plugins just use the method that works for all clients (which I block). I'll have to see if this is even possible or you simply have to disable the feature when using other mods that interact with the lever.

Just a few questions to help me:
Was the leverLock enabled when the bug occured? - Yes
Was the host also not able to pull the lever using the ExtraTerminalCommands? - Yes

I have just tried reproducing the problem, butfor me the command works as expected with the leverLock enabled, the host is able the make the ship depart while the other players are not (except when on a moon, there all players are able to make the ship depart).
Is it possible for you to check in the Settings & Logs tab if a log like this is created?

[Start Game] Blocked bypass attempt on Server

And did you also have other mods installed when the problem occurred?

Yes, I have a pretty extensive mod pack that I was testing it on. I had believed it to be Admin Tweaks but it may be conflictions with another mod. I will retest again as I make daily changes to the pack. So the test environment changes frequently. I had an anti-cheat mod that may have been stopping it from working that I have since gotten rid of. I will check and post an updated reply.


LInks (hyperlinks)

In the promotional video for Windows terminal, it shows clickable links. I can't seem to get this working in my terminal. Is this an up and coming feature? I hope this comes as an update.

Thanks for the request! This is a /dupe of #574, which is on our backlog.


Bash script to trigger and download backup from apic-em cluster

How to use this script

Set up ssh authorization
a. generate rsa key pair if it's never done before. (Do not enter a passphrase)
command: ssh-keygen -t rsa
b. append public key to the remote cluster (Please replace <IP_ADDRESS> with correct ip)
command: cat ~/.ssh/id_rsa.pub | ssh<EMAIL_ADDRESS>'cat >> .ssh/authorized_keys'
c. make sure keychain is installed on current server.
For ubuntu: sudo apt-get install keychain
For mac: brew install keychain

Provide cluster's credentials.
Modefies variables 'host', 'port', 'username', 'password', 'ssh_username',
'path_to_store_backup' with valid value.

Set up schedule and logging, using cron.
command: crontab -e
edit it with vi, modify and paste following command:
   0 0,12 * * * . /path/to/retrieve_backup.sh >> /path/to/log/retrieve_backup.log 2>&1

Should not be in the root directory.
Please place this inside some directory

PTAL @ameyspatil , thanks.


⚠ Bofrost.fr has degraded performance

In 8d14b6c, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1048 ms

Resolved: Bofrost.fr performance has improved in 50bfd01 after 12 minutes.


just reduce/pretty code and set go version to go1.16+ in go.mod

set go version to go 1.16 in go.mod

because ioutil.ReadFile(...)/ioutil.ReadAll are deprecated since go 1.16 so use minimum go version is set to 1.16(now go is go1.20+, so use go1.16+ is well)

reduce and pretty some source code

no need // +build go1.8 build tag because go version minimum support is go1.16+

Looks good to me

Why upgrade the go version? It should be set as low as the code allows. Some people are stuck working on older version of go and are unable to upgrade. The library should not be upgraded unless it's absolutely necessary.

I would release a legacy version of sqlx and then just stick by the lowest still maintained version of go. I think this is necessary because this way we make sure our code doesn't get any security flaws by the go compiler. If companies don't use their budget to upgrade or make their go version really dependent on one old go version, this shouldn't affect newer projects in terms of security. Also, never versions of go attracts more maintainers.

Fiber's go.mod
Gorilla's go.mod
Segmentios Kafka's go.mod

It's going to be compiled with whatever version of go is installed on the system of whomever is using the library. The oldest version of the go compiler  still supported for security upgrades 1.19. If we were adding functionality dependent on 1.19 I would support upgrading it but upgrading it just to upgrade while breaking compatibility I do not support. I've worked at companies in the past where upgrading the compiler requires an extensive review process.

Ok, you convinced me 🙂

@uvulpos  If you feel strongly about merging this, let's create an initial release the origin repo's last tag was v1.3.5, let's create a release or tag with v1.3.6 after that if you merge this make it 1.4.0 and if we upgrade the required compiler again bump the to 1.5.0 etc ...

@uvulpos  my argument is kind of moot since this repo has three dependencies and the the mysql drive update has a go mod requiring go 1.18 since that dependency is 1.18 that minimum would propagate up to this project.

I would not say I feel strongly about merging it, I just don't have had these issues jet what you described.
For us, we announce to our customers that there is a new go version, we write a technical task for it, put it in the sprint and there we go. Mostly they appreciate it, and it's part of our maintenance budget.
I see it as a clash between the argument of attracting new maintainers / getting work better done / writing better code and maximum compatibility. Here we will certainly become philosophical on what's more important.
For me: I doubt that if projects don't update their go version, they will upgrade their dependency versions. So that's why I offered a compatibility release. Besides, I think it should not be the community's responsibility to support these ancient projects when companies skimp on their budgets.
I'm still open to keeping the required version low, but I would say 1.16 is a good minimum requirement. Maybe even 1.18

I have approved, you can merge when you are ready.

We should come to an agreement instead of just doing something. But for now on just leave it until we have a first release

Since we already have a dependency that has a dependency of 1.18 I now agree that this pr bumping the minimum go version to 1.16 will not be an issue.

I agree upgrade go minimum version support to  go1.18, maybe will optimize some export interface by sqlx use go generic in future and it is supported sine go1.18.

Since we already have a dependency that has a dependency of 1.18 I now agree that this pr bumping the minimum go version to 1.16 will not be an issue.

also agree for it, this pr just some code pretty and upgrade go version is not necessary. Maybe we can upgrade go version
when optimize some logic in sqlx that need to get the minimum go version support(eg: go generic support).

I don't see the need for this. I feel that the library should continue to be compatible with the oldest version possible.


Use self update ready entrypoint

Switch entrypoint according to https://github.com/actions/runner/issues/484#issuecomment-630154371
Testing showed very good result with update from 2.273.1 to 2.273.2
bcp-runner-xn565-25wr7 runner Downloading 2.273.2 runner
bcp-runner-xn565-cns67 runner Downloading 2.273.2 runner
bcp-runner-xn565-28k6t runner Waiting for current job finish running.
bcp-runner-xn565-28k6t runner Generate and execute update script.
bcp-runner-xn565-28k6t runner Runner will exit shortly for update, should back online within 10 seconds.
bcp-runner-xn565-lpvkf runner Waiting for current job finish running.
bcp-runner-xn565-lpvkf runner Generate and execute update script.
bcp-runner-xn565-lpvkf runner Runner will exit shortly for update, should back online within 10 seconds.
bcp-runner-xn565-28k6t runner Runner listener exited with error code 3
bcp-runner-xn565-28k6t runner Runner listener exit because of updating, re-launch runner in 5 seconds.
bcp-runner-xn565-28k6t runner Starting Runner listener with startup type: service
bcp-runner-xn565-28k6t runner Started listener process
bcp-runner-xn565-28k6t runner
bcp-runner-xn565-28k6t runner √ Connected to GitHub
bcp-runner-xn565-28k6t runner
bcp-runner-xn565-28k6t runner 2020-09-16 16:03:21Z: Listening for Jobs
bcp-runner-xn565-28k6t runner 2020-09-16 16:03:25Z: Running job: custom-runner

The workflow queue is getting picked up properly after update

Yay, thank you!

Yep, this is the workaround i've been using myself, but will say i think i've a few gaps in understanding and I'm still not totally clear if it solves some other issues detailed here: https://github.com/summerwind/actions-runner-controller/pull/40#issuecomment-617736228 didn't dig further because i just wanted to get my CI back up and running.

So I was able to modify bin/runsvc.sh and bin/RunnerService.js a bit so that we can add --once support for it:
Without my change:
runner@39a92ae2a66f:/runner$ bin/runsvc.sh
.path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Starting Runner listener with startup type: service
Started listener process
Started running service

√ Connected to GitHub

2020-09-21 04:05:46Z: Listening for Jobs
2020-09-21 04:06:27Z: Running job: Build
2020-09-21 04:06:38Z: Job Build completed with result: Succeeded

and the runner keeps running.
With my change, it's like:
runner@39a92ae2a66f:/runner$ bin/runsvc.sh --once
.path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Starting Runner listener with startup type: service
Started listener process
Started running service

√ Connected to GitHub

2020-09-21 03:57:39Z: Listening for Jobs
2020-09-21 04:04:50Z: Running job: Build
2020-09-21 04:05:23Z: Job Build completed with result: Succeeded
Runner listener exited with error code 0
Runner listener exit with 0 return code, stop the service, no retry needed.

Here's the modified bin/runsvc.sh, which just adds $* to RunnerService.js.
#!/bin/bash

# convert SIGTERM signal to SIGINT
# for more info on how to propagate SIGTERM to a child process see: http://veithen.github.io/2014/11/16/sigterm-propagation.html
trap 'kill -INT $PID' TERM INT

if [ -f ".path" ]; then
    # configure
    export PATH=`cat .path`
    echo ".path=${PATH}"
fi

# insert anything to setup env when running as a service

# run the host process which keep the listener alive
./externals/node12/bin/node ./bin/RunnerService.js $* &
PID=$!
wait $PID
trap - TERM INT
wait $PID

Here's the modified version of RunnerServiece.js, which just concat either process.argv.slice(2) or process.argv.slice(3) depending on if its in the interactive mode or not.
#!/usr/bin/env node
// Copyright (c) GitHub. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

var childProcess = require("child_process");
var path = require("path")

var supported = ['linux', 'darwin']

if (supported.indexOf(process.platform) == -1) {
    console.log('Unsupported platform: ' + process.platform);
    console.log('Supported platforms are: ' + supported.toString());
    process.exit(1);
}

var stopping = false;
var listener = null;

var runService = function() {
    var listenerExePath = path.join(__dirname, '../bin/Runner.Listener');
    var interactive = process.argv[2] === "interactive";

    if(!stopping) {
        try {
            if (interactive) {
                console.log('Starting Runner listener interactively');
                listener = childProcess.spawn(listenerExePath, ['run'].concat(process.argv.slice(3)), { env: process.env });
            } else {
                console.log('Starting Runner listener with startup type: service');
                listener = childProcess.spawn(listenerExePath, ['run', '--startuptype', 'service'].concat(process.argv.slice(2)), { env: process.env });
            }

            console.log('Started listener process');

            listener.stdout.on('data', (data) => {
                process.stdout.write(data.toString('utf8'));
            });

            listener.stderr.on('data', (data) => {
                process.stdout.write(data.toString('utf8'));
            });

            listener.on('close', (code) => {
                console.log(`Runner listener exited with error code ${code}`);

                if (code === 0) {
                    console.log('Runner listener exit with 0 return code, stop the service, no retry needed.');
                    stopping = true;
                } else if (code === 1) {
                    console.log('Runner listener exit with terminated error, stop the service, no retry needed.');
                    stopping = true;
                } else if (code === 2) {
                    console.log('Runner listener exit with retryable error, re-launch runner in 5 seconds.');
                } else if (code === 3) {
                    console.log('Runner listener exit because of updating, re-launch runner in 5 seconds.');
                } else {
                    console.log('Runner listener exit with undefined return code, re-launch runner in 5 seconds.');
                }

                if(!stopping) {
                    setTimeout(runService, 5000);
                }
            });

        } catch(ex) {
            console.log(ex);
        }
    }
}

runService();
console.log('Started running service');

var gracefulShutdown = function(code) {
    console.log('Shutting down runner listener');
    stopping = true;
    if (listener) {
        console.log('Sending SIGINT to runner listener to stop');
        listener.kill('SIGINT');

        // TODO wait for 30 seconds and send a SIGKILL
    }
}

process.on('SIGINT', () => {
    gracefulShutdown(0);
});

process.on('SIGTERM', () => {
    gracefulShutdown(0);
});

Are there any other ways to add support for --once to runsvc.sh? Would there be any predefined envvar to inject additional args?

Here are the steps to try the modification yourself: https://github.com/mumoshu/actions-runner-the-hard-way

Looks like long-term --once might be replaced with an ephemeral setting soon? https://github.com/actions/runner/pull/660
Which is meant to solve some issues/misunderstandings with --once: https://github.com/actions/runner/issues/510, https://github.com/actions/runner/issues/559
I'll have to try out your patch, but any advice for baking it into an image aside from maintaining a copy of runsvc.sh and RunnerListener.js?

@hfuss Hey! Thanks for #97 and sharing work towards epehemeral. I didn't know about ephemeral until now but it does like so. Glad to see that ephemeral seems to be designed to deregister itself automatically, so this controller won't need to do it anymore.

@hfuss Re patching, I was going to bake in runsvc.sh.patched and RunnerListener.js.patched into the image and just run diff and cp before running it in our entrypoint script: https://github.com/summerwind/actions-runner-controller/blob/master/runner/entrypoint.sh#L30
This way, we can at least see from the logs if there's any unexpect diff between the original and the patched scripts.

@ytsarev @hfuss Please see https://github.com/AbsaOSS/actions-runner-controller/pull/1

Seems to be working as expected. It did (1)wait for the auto update to finish before running the build (2)successfully restarted without stopping the pod, and (3)stopped after the first build(indicates --once is working
❯ k logs example-runner -c runner -f

--------------------------------------------------------------------------------
|        ____ _ _   _   _       _          _        _   _                      |
|       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |
|      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |
|      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |
|       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |
|                                                                              |
|                       Self-hosted runner registration                        |
|                                                                              |
--------------------------------------------------------------------------------

# Authentication

√ Connected to GitHub

# Runner Registration

A runner exists with the same name
√ Successfully replaced the runner
√ Runner connection is good

# Runner settings

√ Settings Saved.

16c16
< ./externals/node12/bin/node ./bin/RunnerService.js &
---
> ./externals/node12/bin/node ./bin/RunnerService.js $* &
20c20
< wait $PID
---
> wait $PID
\ No newline at end of file
27c27
<                 listener = childProcess.spawn(listenerExePath, ['run'], { env: process.env });
---
>                 listener = childProcess.spawn(listenerExePath, ['run'].concat(process.argv.slice(3)), { env: process.env });
30c30
<                 listener = childProcess.spawn(listenerExePath, ['run', '--startuptype', 'service'], { env: process.env });
---
>                 listener = childProcess.spawn(listenerExePath, ['run', '--startuptype', 'service'].concat(process.argv.slice(2)), { env: process.env });
34c34
<
---
>
59c59
<
---
>
91c91
< });
---
> });
\ No newline at end of file
.path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Starting Runner listener with startup type: service
Started listener process
Started running service

√ Connected to GitHub

2020-09-21 07:11:09Z: Listening for Jobs
Runner update in progress, do not shutdown runner.
Downloading 2.273.2 runner
Waiting for current job finish running.
Generate and execute update script.
Runner will exit shortly for update, should back online within 10 seconds.
Runner listener exited with error code 4
Runner listener exit with undefined return code, re-launch runner in 5 seconds.
Starting Runner listener with startup type: service
Started listener process

√ Connected to GitHub

2020-09-21 07:15:27Z: Listening for Jobs
2020-09-21 07:15:31Z: Running job: Build
2020-09-21 07:15:58Z: Job Build completed with result: Succeeded
Runner listener exited with error code 0
Runner listener exit with 0 return code, stop the service, no retry needed.

@mumoshu didn't say so the first time but thank you for the help with this particular issue, as well as all the efforts on this project as they awesome and help a lot of people!
Will test out that patch shortly.

Tested the patch out and it works for cleaning up the runners and successfully auto-updating them see https://github.com/AbsaOSS/actions-runner-controller/pull/1
Folks can use brix4dayz/actions-runner:v2.273.4 with the patch if need be: https://hub.docker.com/r/brix4dayz/actions-runner/tags

@summerwind Would you mind taking a look into this and https://github.com/AbsaOSS/actions-runner-controller/pull/1? Just wanting to be sure that I won't break anything badly 😃

@summerwind You'll also be interested in https://github.com/actions/runner/pull/660 for a long-term solution.


outline alignment problem

Hi,
Seems to be an alignment error of outline panel(core plugin of Obsidian)
Thanks!
macOs v12.3
Obsidian v0.14.2
Things (2022-04-05 updated)

Same problem for me!

Thanks for creating this issue! This has been fixed in the latest release (v1.7.2). Let me know if you have any issues. Cheers!


Can't "make all" in quorum

To "Build quorum and copy binaries into a folder in the quorum-examples project"
when I "make all" in /projects/quorum it ends with:
github.com/ethereum/go-ethereum/vendor/golang.org/x/crypto/openpgp
........................
github.com/ethereum/go-ethereum/internal/guide
util.go:44: exit status 2
exit status 1
Makefile:29: recipe for target 'all' failed
make: *** [all] Error 1
It's so aburpt.  My go version is 1.7.3.    What's going wrong?

Are you building it in quorum-examples vagrant guest environment or on the host?

My host OS is win10 so I built it in VMware 15, Ubuntu 16.04.
...Maybe because of this?

Building has to be done in the vagrant quorum-examples off this: https://github.com/jpmorganchase/quorum-examples/tree/zsl_geth1.6

You may be able to build directly in the Ubuntu as well, but then you need your own version of this config:  https://github.com/jpmorganchase/quorum-examples/blob/zsl_geth1.6/vagrant/bootstrap.sh

Very helpful. Thanks!


Installation problem , after running the command  ( flutter pub run zoom:unzip_zoom_sdk the following error occur  )

apple@Apples-iMac zoom_test % flutter pub run zoom:unzip_zoom_sdk
Download https://raw.githubusercontent.com/driftboat/flutter_zoom/1.0.1/zoom/ios-sdk/MobileRTC.zip to /Users/apple/Documents/flutter_data/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.2+1/ios-sdk/MobileRTC.zip
Unhandled exception:
FileSystemException: Cannot open file, path = '/Users/apple/Documents/flutter_data/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.2+1/ios-sdk/MobileRTC.zip' (OS Error: No such file or directory, errno = 2)
#0      _File.open. (dart:io/file_impl.dart:356:9)

pub finished with exit code 255

Do you have the zoom-1.0.2+1 (or zoom-1.0.x) directory under /Users/apple/Documents/flutter_data/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/  ?

Please create the "ios-sdk" directory under /Users/apple/Documents/flutter_data/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.2+1/ and "libs" directory under  /Users/apple/Documents/flutter_data/flutter_sdk/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.2+1/android

I have published zoom-1.0.2+2, Please update to the new version and try again

ok, i will try

it working thank you.

Facing same issue when upgraded flutter to version 2.8.0 from 2.5.3
$ flutter pub run zoom:unzip_zoom_sdk
Download https://www.dropbox.com/s/44rv7hgvqbgm7j7/MobileRTC?dl=1 to /Users/nikhil/Documents/zoom-trial/.dart_tool/pub/bin/zoom/unzip_zoom_sdk.dart-2.15.0.snapshot/ios/MobileRTC.xcframework/ios-arm64_armv7/MobileRTC.framework/MobileRTC
Unhandled exception:
FileSystemException: Cannot open file, path = '/Users/nikhil/Documents/zoom-trial/.dart_tool/pub/bin/zoom/unzip_zoom_sdk.dart-2.15.0.snapshot/ios/MobileRTC.xcframework/ios-arm64_armv7/MobileRTC.framework/MobileRTC' (OS Error: Not a directory, errno = 20)
#0      _File.open.<anonymous closure> (dart:io/file_impl.dart:356:9)
<asynchronous suspension>
pub finished with exit code 255


Bender's rule

Should datasets be labeled with the language? This is something that OpenNIR did.
Could be done with .queries_lang() and .docs_lang() -- mapping to the language code (e.g., 'en').
What to do if the document collection contains other languages? One option would be to return a list from the _lang methods and include a lang field on each document in these cases. Or some placeholder (e.g., xx?) that indicates that the collection is not mono-lingual.
Already, sometimes queries contain versions in different languages (see multi-lingual TREC queries). When each one contains multiple versions, it's reasonable to have e.g., query_en and query_es versions (as we do now).
This should also be added to the documentation page.

Related: https://github.com/terrier-org/pyterrier/pull/93#issuecomment-779888607

I think this is satisfactory


Review of pipelines executed after push

Review task of test pipelines executed after pushing changes into the repository. They generate errors in most of the correct changes pushed.

The execution of the test pipeline has been reviewed and the errors generated are due to the installation packages that have not been corrected (ODFE and ES), but the Wazuh Manager and Agent installation packages complete successfully.
https://github.com/wazuh/wazuh-chef/actions/runs/1635236259


Current boot-time parser measures the wrong events

Currently, the boot-time metric parser measures the time it takes for a CPE to go offline and start up again. Instead, we want three different boot-time parsers to measure the different stages of the boot-up process.
To allow for the possibility of easily adding similar parsers in the future, we should make a TimeElapsedParser that can be configured to calculate the time between two different event types: one trigger event and one previous event to look for.
Note that in some cases, we may only need one event. Some calculations only require us to take the difference between the birthdate and boot-time of the event.
Upon creating the time-elapsed parser, we need to make sure that metrics won't clash if we happen to have the same names for multiple parsers.

When making this configurable TimeElapsedParser, we can also add a configurable option for the type of validation to do against the event history.  This relies upon https://github.com/xmidt-org/interpreter/issues/9 being done.  An example of what configuration for a TimeElapsedParser could look like:
    - name: "reboot_to_manageable"
      searchedEvent:
        regex: ".*/reboot-pending/"
        calculateUsing: "birthdate"
      incomingEvent:
        regex: ".*/fully-manageable/"
        calculateUsing: "birthdate"
      historyValidation: "full-timeline"


Only the first config file is being considered

A possible configuration setup on a machine would be a global config file with the api key while different projects have different project ids configured in its story_branch file.
Current version ignores the global file when the local (project config) is found.
Suggesting to load the config from either one or other and fallback to env variables.

Finished with #21


Make clean gets rid of configuration

Problem description
When issuing make clean autoreconf -isf; ./customize configure must be re-run ie files that shouldn't be deleted are getting deleted through the command.
Steps to reproduce
Explain how to reproduce the behavior
Run make clean
Expected behavior
Should be able to run make install after make clean
System information

GridLAB-D version: develop branch 12/6/19
Operating system: DARWIN

Supporting information
N/A
Attachments
N/A

This no longer seems to occur. However, the make install produces a lot of file exists error messages after make clean is run.
@aivanova5, can you confirm that this is no longer a problem and close if ok.


Update PDHD keepup reconstruction fcl following file/data format updates

Update this
https://github.com/DUNE/dunesw/blob/develop/fcl/protodunehd/reco/standard_reco_protodunehd_keepup.fcl
Contingent upon DUNE/duneprototypes#43, DUNE/duneprototypes#44, DUNE/dunecore#111

Also to-do: add in actual reconstruction bits

Use https://github.com/DUNE/dunesw/tree/feature/calcuttj_PDHD_keepup_updates for updates


custom edge color

is it possible to specify a color for the edges of mesh (geometry) other than black when using the "surface with edges" representation style?

We could add this with a geometry_edge_colors argument...


uninstall

Microsoft PowerToys version
0.64.1
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Installer
Steps to reproduce
unable to uninstall the application
✔ Expected Behavior
to get uninstalled
❌ Actual Behavior
the file goes but application stays
Other Software
No response

What do you mean by "application stays"?
/needinfo


Myscript halt using logger

I was trying the logger function and it cant seem to get it to work. Ive double checked if the function is loaded by using alert(typeof Logger), i get returned "function". When i try using it i declared it as stated in the readme. Then tried using in both methods below
Logger.info(pdfPresets[i].toString());
Logger.info("preset");

WIth both methods my functions halts. Ive declared the logger like this
var logger = new Logger('pdf-presets.log', '~/desktop');

is it perhaps the declaration of ~/desktop? I see in the code it asks for absolute path.

Also tried without a path ```/var/log''' still no luck


Fix code

Fix missing argument to create Load Balancer and NSG inbound rule to allow HTTP

@takeokams : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Impeller] Text Outline not rendered accurately

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Text outlines as demonstrated in the official TextStyle class documentation are rendered inaccurately with Impeller.
Until Flutter 3.16, Impeller did not draw those outlines at all, so this is still a step forward. 😃
However, the quality of the rendering makes it ill-suited for most apps.
Expected results
The outline should be drawn clearly centered around the glyphs.
Actual results
The outline is offset a little compared to the actual shape of several glyphs.
If you compare the images more closely, you'll notice that it's actually not so much the outline that changes, but the actual glyphs drawn in the front. The animated GIF file below makes that easy to see.
(A side note: the "Debug" text on the top right is rendered much thinner with Impeller. Which could also indicate an issue with Impeller's text rendering.)
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Text Outline Demo',
      home: Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: const Text("Text Outline Demo"),
        ),
        body: Center(
          child: Stack(
            children: <Widget>[
              // Stroked text as border.
              Text(
                'Greetings, planet!',
                style: TextStyle(
                  fontSize: 40,
                  foreground: Paint()
                    ..style = PaintingStyle.stroke
                    ..strokeWidth = 1
                    ..color = Colors.black,
                ),
              ),
              // Solid text as fill.
              Text(
                'Greetings, planet!',
                style: TextStyle(fontSize: 40, color: Colors.grey[300]),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Rendered with Skia
Rendered with Impeller

Note the difference (drawn with 8pt outline to emphasize):

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-US)
    • Flutter version 3.16.0 on channel stable at /Users/redge/Shared/SDKs/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (3 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/redge/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (5 available)
    • iPhone Mini Daniel (mobile)         • 00004110-001C412C2112401E                • ios            • iOS 17.1.1 21B91
    • iPhone SE (3rd generation) (mobile) • 259772D0-ABED-4542-9F2B-5C91883F1694     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)                     • macos                                    • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)                        • chrome                                   • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Reproducible using the sample provided above.

screenshots(from master channel)

SKIA
IMPELLER

flutter doctor -v
[✓] Flutter (Channel stable, 3.16.0, on macOS 14.1.1 23B81 darwin-arm64, locale en-GB)
    • Flutter version 3.16.0 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision db7ef5bf9f (5 days ago), 2023-11-15 11:25:44 -0800
    • Engine revision 74d16627b9
    • Dart version 3.2.0
    • DevTools version 2.28.2

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc1
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode-15.0.0-Release.Candidate.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 76.3.4
    • Dart plugin version 232.10072.19

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (4 available)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.1.1 21B91
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.1 21B74
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.17.0-10.0.pre.61, on macOS 14.1.1 23B81 darwin-arm64, locale en-GB)
    • Flutter version 3.17.0-10.0.pre.61 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d2b67d4cea (2 hours ago), 2023-11-20 01:06:28 -0500
    • Engine revision e916d5bfdd
    • Dart version 3.3.0 (build 3.3.0-149.0.dev)
    • DevTools version 2.30.0-dev.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc1)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc1
    • Java binary at: /Users/nexus/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode-15.0.0-Release.Candidate.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Users/nexus/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.5)
    • IntelliJ at /Users/nexus/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 76.3.4
    • Dart plugin version 232.10072.19

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.76.0

[✓] Connected device (4 available)
    • Nexus (mobile)       • 00008020-001875E83A38002E • ios            • iOS 17.1.1 21B91
    • Dean’s iPad (mobile) • 00008103-000825C811E3401E • ios            • iOS 17.1 21B74
    • macOS (desktop)      • macos                     • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

From Triage: The glyph atlases are populated similarly in both backends. So it is likely that we messed up passing an argument to the font while populating the atlas.

Quick update: it's still the same output with Flutter v3.19.4.
It would be appreciated if somebody could take another look at this. 🙏

This problem still pull us back to continue with Impeller. We stuck with Skia engine.

Thanks a lot for the fix / workaround to anybody who was involved! 👍


Convert to csharp

Done convert all section to c#
Will back to be book

@thangchung please review it

@ngohungphuc Hi Phuc Testing section is quite important for .NET as well. Please keep it, I will re-write it based on .NET principles for testing. Thanks.

@ngohungphuc Thanks, Phuc.


chore: bdd-sbhg-1583959447 to 0.0.1

chore: Promote bdd-sbhg-1583959447 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


pgoapi  code change is in conflict with bot and virtualbot

This issue affects the combination of bot+virtualenv+latets pogoapi from dev.
I've have checked PokemonGo-Map with latest pogoapi (I've changed their requirementst.txt) and with virtualenv and map works.
In this commit https://github.com/pogodevorg/pgoapi/commit/d5f846aaee84b10dd43c184fd191c3fc02244bed, they changed support for protobuf3-to-dict:

They require version higher or equal to >=0.1.4  and they did some code change,
They have removed protobuf_to_dict.py file and switched to the one from requirements
They have changed rpc_api.py from:

[auth_ticket['expire_timestamp_ms'], base64.standard_b64decode(auth_ticket['start']), base64.standard_b64decode(auth_ticket['end'])])

to:
[auth_ticket['expire_timestamp_ms'], auth_ticket['start'], auth_ticket['end']])

This breaks the bot ability to login while running under virtualenv.
However I don't know how to fix it.

Waiting for someone from @PokemonGoF/pokemongo-bot-team to check this.

New update in develop branch https://github.com/pogodevorg/pgoapi/pull/178

Ok, so basing on PokemonGo-Map I tested the approach and it worked (for me, in virtualenv). However it requires some manual actions before upgrade and I'm not sure how to do the commit/PR, to make users aware /implement the changes for them.
Steps to be done : (first make sure that you have updated your repo by using 'git pull' . At the moment of writing this comment, master branch is the most updated)
pip uninstall pgoapi
pip uninstall protobuf_to_dict
pip uninstall protobuf3-to-dict

then edit requirements.txt (in root of the bot) and:

remove the line with: protobuf==3.0.0b4
remove the line with: protobuf-to-dict==0.1.0
change line with pogoapi to:

git+https://github.com/pogodevorg/pgoapi.git@develop#egg=pgoapi

run:

pip2 install --upgrade -r requirements.txt

then start the bot., So far, so good. And bots uses the latest pogoapi now.


Incompatibility between bootstrap-datetimepicker and moment 2.13.0

Hi,
I'm from the Moment team. We wanted to let you know that there is an issue where Moments created with versions 2.12 and before cannot be used with 2.13 due to some internal property changes. As a result, errors will occur if moments are taken from this datepicker and passed into a diff function relative to a 2.13 moment.
We are tracking this issue in moment/moment#3124, but I wanted to document it here as well so that it was readily find-able for people who check this repository first.
Feel free to close this if you don't want it hanging around.

👍

Not sure where to put this:
date() accepts javascript Date and pass it to setValue() since v4. However, setValue() only accepts moment(), not Javascript Date. Resulting in silent dp.error (it would have been better to console.log it).


useServerHead titleTemplate as function breaks hydration

Environment

Operating System: Linux
Node Version:     v16.20.0
Nuxt Version:     3.7.1
CLI Version:      3.7.3
Nitro Version:    2.6.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-dpzmzy-pjbvws?file=app.vue
Describe the bug
When defining a titleTemplate as a function inside useServerHead and spreading an object at the same time, only the title is kept on client side hydration while the title separator and site name vanish:
useServerHead({
  title: 'ABC',
  ...{
    title: 'XYZ',
  }, // commenting this object out makes it work
  titleTemplate: (titleChunk) =>
    titleChunk && titleChunk !== siteConfig.name
      ? `${titleChunk} ${siteConfig.titleSeparator} ${siteConfig.name}`
      : siteConfig.name,
});

Using useHead works.
Additional context
No response
Logs
No response

Seems to be working as expected, end user should avoid using a function of titleTemplate with useServerHead


Adding routes?

This docD outlines routes to be added for each environment type but it doesn’t outline how to actually add the routes?

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

ID: 6860efb1-ddab-04a1-bf34-4e0a41844102
Version Independent ID: 2321ec49-4cb8-d477-3430-44af3790bcdd
Content: Azure VPN Gateway: About P2S routing
Content Source: articles/vpn-gateway/vpn-gateway-about-point-to-site-routing.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: kumud

@solidcloudio There is not an Azure way to add the routes, they must be added to the Operating System using the OS-specific instructions. for example, here is a StackOverflow stating how to add the routes on most Windows OSes you use the 'route add' command.

@solidcloudio We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


installwizard network config has less precedence than cloud-init's default

/etc/netplan/50-cloud-init.yaml is preferred over /etc/netplan/01-netcfg.yaml

I think actually both are applied simultaneously .
From a deployed VM I see
$ sudo netplan get all

** (process:2500): WARNING **: 13:28:06.823: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
network:
  version: 2
  renderer: networkd
  ethernets:
    nic0:
      match:
        name: "nic0"
        macaddress: "00:50:56:80:e3:fa"
      addresses:
      - "<IP_ADDRESS>/16"
      nameservers:
        addresses:
        - <IP_ADDRESS>
      gateway4: <IP_ADDRESS>
      dhcp4: true
      dhcp6: false
      set-name: "nic0"

You'll see there is a static address (from 01-netcfg.yaml) and also dhcp4: true (from 50-cloud-init.yaml)
And the VM has two IP addresses
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: nic0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:80:e3:fa brd ff:ff:ff:ff:ff:ff
    altname enp3s0
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global nic0
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/16 metric 100 brd <IP_ADDRESS> scope global secondary dynamic nic0
       valid_lft 287sec preferred_lft 287sec
    inet6 fe80::250:56ff:fe80:e3fa/64 scope link
       valid_lft forever preferred_lft forever

I think that leaves us with 2 options:

Have the installwizard write network config out in cloud-init format to /etc/cloud/cloud.cfg.d/ so the default no-config config is not applied
Have the installwizard create /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with content network: {config: disabled} to avoid cloud-init creating us default network config.

Note though that if option 1 is chosen, if the hypervisor/cloud provider in use does not provide any cloud-init datasource (causing cloud-init-generator to not start cloud-init) the machine will have no network connectivity.


Contribute to landez to download tiles in parallel

Notes:

multiprocessing POC https://github.com/makinacorpus/landez/commit/766b78d018a114b82467a6f340bba3dfa66e1c18
https://github.com/makinacorpus/landez/issues/46


Regression in 1.3.79

Describe the bug
Bazel uses SWC via rules_swc.
You can see the bump in this PR is red
https://github.com/aspect-build/rules_swc/pull/216
==================== Test output for //examples/paths:test_test:
5c5
< const _moduleA = require("../../../../../../.cache/bazel/_bazel_runner/4b45c25630ed5c5c6ea[70](https://github.com/aspect-build/rules_swc/actions/runs/6818819711/job/18545103923?pr=216#step:7:71)d3e83a5966d/sandbox/linux-sandbox/41/execroot/aspect_rules_swc/examples/paths/src/modules/moduleA");
---
> const _moduleA = require("./modules/moduleA/index");
FAIL: files "examples/paths/src/index.js" and "examples/paths/expected.js" differ.

I had a look through https://github.com/swc-project/swc/compare/v1.3.78...v1.3.79 but I don't see the issue. Maybe https://github.com/swc-project/swc/pull/7852 is the culprit just since it's the big refactoring in this commit range.
FYI @realtimetodie as you originally fixed this symlink handling
Input code
import { moduleA } from "@modules/moduleA";

moduleA();

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript"
    },
    "target": "es2021",
    "baseUrl": "./src",
    "paths": {
      "@modules/*": [
        "./modules/*"
      ]
    }
  },
  "module": {
    "type": "commonjs"
  },
  "sourceMaps": true
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.3.79&code=H4sIAAAAAAAAA8vMLcgvKlGoVsjNTynNSXVUqFVIK8rPVVBygAgU60MllKy5uKBMDU1rLgD0Oi%2BDOAAAAA%3D%3D&config=H4sIAAAAAAAAA02OMQ7CMAxF95wi8ogQhY5MXICRCXUIwQKqtolsR6KqencSElo2%2B%2F1vPU9Ka2jZwlFPcYyLN8RIyx4Jj4OYdyQgo0e29PIC33De5hsx9EBJDeR6Xx%2Bg8JthvFCXgl3FZH%2FcG3nyv%2BLUu3vokKtNpNdCdbpag0KbbFbFDrmw%2Fp9%2BTELr%2Bt4NLcPSZBfI4tn4pBYKqGb1AagcGT8AAQAA
SWC Info output
No response
Expected behavior
const _moduleA = require("./modules/moduleA/index");
Actual behavior
const _moduleA = require("../../../../../../../shared/cache/bazel/user_base/09a27d1eeea3b44d1580773090924b4d/sandbox/linux-sandbox/629/execroot/aspect_rules_swc/examples/paths/src/modules/moduleA");
Version
1.3.79
Additional context
Note that Bazel sets up the inputs as a symlink tree, so this is likely a change in symlink handling.

It should be related to https://github.com/swc-project/swc/pull/7852

But please create a minimal repro that can be used by the core team for investigation.
Closing as there's no repro

The most important thing was matching tsc. So the test case was wrong.


win, pipe: stop read for overlapped pipe

Adds CancelIoEx call when uv_read_stop is used on overlapped pipe. This fixes issues within https://github.com/nodejs/node/pull/19377.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/813/
Node CI: https://ci.nodejs.org/view/libuv/job/libuv-in-node/15/

Landed in https://github.com/libuv/libuv/commit/0f53cd0517cfa5ab2b56615488b0bacb758b54bc. Thanks!


Error when creating asset

Describe the bug
When trying to create a larecipe asset, it failed with
To Reproduce
Steps to reproduce the behavior:

php artisan larecipe:asset test/demo
yes
See error
TypeError

Argument 1 passed to Symfony\Component\Process\Process::__construct() must be of the type array, string given, called in /Users/cmok/code/demoproject/vendor/binarytorch/larecipe/src/Traits/RunProcess.php on line 18
at vendor/symfony/process/Process.php:140
136|      * @param int|float|null $timeout The timeout in seconds or null to disable
137|      *
138|      * @throws LogicException When proc_open is not installed
139|      */

140|     public function __construct(array $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60)

Expected behavior
The asset creation must be successfull
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: mac
Browser: N/A
Version :
"laravel/framework": "^7.0",
"axelrindle/larecipe-emojify": "^1.0",
"binarytorch/larecipe": "^2.3",

Same error

fixed now in v2.4.3. please upgrade.


Removing wrong note about ability to request increase in the limit of WH...

Hi @ruslany, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (ruslany). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

I am Microsoft FTE.


write docs on how to build a new dbt adapter

If someone wants to write a new adapter, they should have clearly documented guidelines on what needs to be done.

This would be helpful for me if I'm able to help write the Hive adapter in #559

@jrandrews that's great! I will put some time into building out these docs soon!

preliminary docs are here: https://docs.getdbt.com/docs/building-new-database-adapters
These aren't perfect, but going to leave this issue open so we can revisit with recent changes to dbt

This page is pretty far out of date. Let's update it as a part of this issue: https://docs.getdbt.com/v0.12/docs/building-new-database-adapters

New docs are here: https://docs.getdbt.com/docs/building-a-new-adapter
Closing this


[6.0] Remove flag to disable Swift 6 mode

Explanation: Remove code that forced swift-syntax to be built in Swift 5 mode because the underlying issue was fixed by https://github.com/apple/swift-package-manager/pull/7504
Scope: None, SwiftPM was the only client to set the environment variable and it has removed the setting in https://github.com/apple/swift-package-manager/pull/7558
Risk: Low, if there are any issues, they will be caught at build time
Testing: n/a
Issue: n/a
Reviewer:  @bnbarham on https://github.com/apple/swift-syntax/pull/2650

@swift-ci Please test


gnomeExtensions.dash-to-panel: 40 -> 42

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnome-shell-extension-dash-to-panel/versions.
meta.description for gnomeExtensions.dash-to-panel is: "An icon taskbar for Gnome Shell"
meta.homepage for gnomeExtensions.dash-to-panel is: "https://github.com/jderose9/dash-to-panel"
meta.changelog for gnomeExtensions.dash-to-panel is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 42 with grep in /nix/store/f3r8dry7g10vxisxcc9l2vj4ncmyv0hp-gnome-shell-extension-dash-to-panel-42

found 42 in filename of file in /nix/store/f3r8dry7g10vxisxcc9l2vj4ncmyv0hp-gnome-shell-extension-dash-to-panel-42

directory tree listing: https://gist.github.com/a409e5fd0082c2100a45104f4b635c6e

du listing: https://gist.github.com/a19b8dc5a5af6a2530a25a2069daeeda

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gnomeExtensions.dash-to-panel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f3r8dry7g10vxisxcc9l2vj4ncmyv0hp-gnome-shell-extension-dash-to-panel-42 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnomeExtensions.dash-to-panel https://github.com/r-ryantm/nixpkgs/archive/b6d4d14f2e90c1d217041367aa8dedef6534ce5a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f3r8dry7g10vxisxcc9l2vj4ncmyv0hp-gnome-shell-extension-dash-to-panel-42
ls -la /nix/store/f3r8dry7g10vxisxcc9l2vj4ncmyv0hp-gnome-shell-extension-dash-to-panel-42/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

gnomeExtensions.dash-to-panel

Maintainer pings
cc @mounium for testing.

Result of nixpkgs-review pr 124767 at b6d4d14f run on x86_64-linux 1

1 package built successfully:

gnomeExtensions.dash-to-panel

1 suggestion:

warning: unclear-gpl
gpl2 is a deprecated license, please check if project uses gpl2Plus or gpl2Only and change meta.license accordingly.
Near pkgs/desktops/gnome/extensions/dash-to-panel/default.nix:24:5:
   |
24 |     license = licenses.gpl2;
   |     ^

Closing due to conflicts https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$_4XO8ziml0R_glcg0jzQNRTJyvhemv6wlLxmC4YKSi8?via=nixos.org&via=matrix.org&via=stratum0.org


If a user goes out of the app the questions are not resent

run sample-comments
open localhost:8080
close window
open localhost:8080
see there's no old comments

Solved in https://github.com/signicode/humanify/tree/feature/multi-root.


Patronage not showing up

There are no buttons/ amounts displayed beneath the "Or recruit with Patronage:" line in the Great People tab. Not that I'd actually use them, but I'd still like to have the option...

Oddly enough, the buttons showed up after some time. Probably still worth looking into.

Sounds like a mod conflict, what other mods do you play with?

None other than CQUI.
I've played around a bit and it seems that this always happens on the first turn after opening a game (whether starting a new game or loading an old one).

@Entropy0 can you show a screenshot of this issue?

This happens every time I create or load a game, but fixes itself once I play a few turns (most of the time, one is enough)

@Entropy0, these buttons should appear right after you found your first city. Try it and if it's ok close the issue.

Closing due to lack of response, will reopen if @Entropy0 provides further feedback


Franz dock / taskbar icon does not show number when Slack message received

Describe the bug
The taskbar / dock icon does not display a red number when a new message is received in Slack when Franz is hidden or minimised.
This is similar to #1545, which has been fixed in 5.2.1-beta.1, but that is about the notifications that appear in the corner of the screen, not the taskbar / dock icon, which still remains unchanged.
To Reproduce
Steps to reproduce the behaviour:

Add slack as a service
Login
Put another window in front of Franz, or minimise it
Receive a message
You will get a notification in the corner, but the taskbar / dock icon remains unchanged with no red number appearing on it

Expected behaviour
The taskbar dock icon should display a red 1 when a message is received in Slack when Franz is minimise or hidden
Screenshots
This screenshot shows a notification for the message, but no number on the taskbar / dock icon:

Desktop (please complete the following information):

OS: MacOS Mojave 10.14.4 (18E226)
Version: 5.2.1-beta.1 (5.2.1-beta.1.1464)

Same here. I think this bug was only partially fixed. Guessing it's related to #1528

I've updated to Version 5.3.2 (<IP_ADDRESS>2) and this issue is still exactly the same.


Onboarding: bottom layout improvements

use directional edge insets rather than fixed constraints in the bottom view
constraint the scroll view bottom with the superview bottom rather than the safe area bottom

Fixed layout issues:

visible space at the bottom
buttons are overlapped by the notch in horizontal orientation

Before
After

HI @HeEAaD ,
Congrats! 🥇
First PR!


Status Effect Request

There's an obscure status effect called "Opaque Skin" which is unavailable through normal play that I would like to be able to edit onto characters. I used to use Minerva to do it so it should be possible and since Minerva's in a pretty feature incomplete state right now I thought I'd just make a request here. Plus who knows, maybe someone else would also appreciate it for their goo characters.

Will be in the next release


Refine documentation of error_handler parameter

Follow up to #2231.

Coverage remained the same at 100.0% when pulling ad6eadeb70b6ba20cec985dea8da829fda2fbdd9 on ignore_documentation into eb7376bb131a4b19a5fc6aacfd046fd298cd0119 on develop.


Reuse cells in ComposedProvider

Hello!
I've noticed that cells in the same type of providers which are combined in ComposedProvider are not reusing.
So, for example, there is Provider with RowLayout and there are another n the same Providers and we combine them into ComposedProvider with FlowLayout:

So if we will scroll horizontally we will see, that cells will reuse in each provider separately. And if we scroll vertically new cells will be always generated again and again.
I tried to use one instance of viewSource in each provider, because as I understand, it is viewSource has reuseManager, but doesn't help for some reason.
@lkzhao Is there any way to cache cell by type and reuse them in CollectionView no matter what provider they were?

@Banck did you get a solution for this


Content shift when collapsing or expanding the sidebar

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[ ] I have tried the npm run clear or yarn clear command.
[ ] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[ ] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
The displayed portion of the content changes visually when switching between the collapsed and expanded states of the sidebar. When I collapsed and then expanded sidebar at the bottom, the page display jumps from the bottom footer to the content section.
Reproducible demo
https://docusaurus.io/docs/deployment
Steps to reproduce

Navigate to: https://docusaurus.io/docs/deployment
Scroll to the bottom
Collapse the sidebar
Expand the sidebar
Try 3 and 4 multiple times (You can notice the vertical shift of web page content)

Demo
https://user-images.githubusercontent.com/68207314/183418074-48a76574-e194-4b02-b7e0-e2dbf93c7d29.mp4
Expected behavior
No content shift when collapsing or expanding the sidebar
Need more expected details from the development team
cc @Josh-Cena
Actual behavior
Before the sidebar is collapsed, the page is at the bottom, but after the sidebar is collapsed and expanded, the page will jump to the Deploying to Layer0 section.
Your environment

Public site URL: https://docusaurus.io/docs/deployment
Docusaurus version used: 2.0.0-rc.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome
Operating system and version (e.g. Ubuntu 20.04.2 LTS): Windows

Self-service

[ ] I'd be willing to fix this bug myself.

Duplicate of https://github.com/facebook/docusaurus/issues/4415

Wait, it doesn't seem like a duplicate to me @slorber
https://github.com/facebook/docusaurus/issues/4415 is about when the main page container is shorter than the sidebar, in which case collapsing the sidebar would shift the footer up—but the page's scroll position stays the same. This one requires making the sidebar height be taken into account (i.e. keep rendering its content outside the viewport)
In this issue, the main container is much taller than the sidebar, and when you collapse and then expand the sidebar, the page actually scrolls up due to layout shift.

https://github.com/facebook/docusaurus/issues/4415 is about when the main page container is shorter than the sidebar

The example page is https://docusaurus.io/docs/markdown-features and the content is not smaller than the sidebar. If you fix the container width to something like max-width: 1000px !important the issue is solved and there's no more shift. The footer shifts up because the container height changes due to line wraps.

This one requires making the sidebar height be taken into account (i.e. keep rendering its content outside the viewport; see my demonstration in https://github.com/facebook/docusaurus/issues/4415#issuecomment-1094180496)

I have no idea what you are demonstrating in this gif 🤷♂

In this issue, the main container is much taller than the sidebar, and when you collapse and then expand the sidebar, the page actually scrolls up due to layout shift.

Isn't it the exact same thing that you describe above?

I'm confused, please give me concrete examples:

which problem can be seen on which page exactly
which problem can't be solved with max-width: 1000px !improtant?

I think what you want to say is that we have a problem when the content is really small, such as in https://docusaurus.io/tests/docs
However afaik both issues are not about this case. Both example pages are using long-enough content pages:

#7918 => https://docusaurus.io/docs/deployment
#4415 https://docusaurus.io/docs/markdown-features

So, what I understand is that this is a duplicate, but you found another edge case to solve?

I don't think I was misunderstanding https://github.com/facebook/docusaurus/issues/4415, but it requires your screen to be taller than usual it seems. When you look at the preview GIF, before the collapsing, the bottom margin is larger than usual:

This corresponds to the case when the page is too short. In fact, one year and a half ago the Markdown features page was indeed much shorter: https://deploy-preview-4416--docusaurus-2.netlify.app/classic/docs/markdown-features
Still, I had to set my browser zoom level to 75% to reproduce that.

I see now 🤪 thanks for clarifying. The markdown page content has changed from smaller to taller. So I'm going to move my comment here and remove it from the older issue.


update to swift 4

MERGE THE PR!

Merge please

I made a maintained range slider if any of you are interested: https://github.com/yhkaplan/DoubleSlider


Cannot enable extension

Issue Type: Bug

I use platformio IDE, everything works well until the moment when C/C++ extension is automatically disabled. (Platformio depends on C/C++)
It happens at irregular intervals (once per 1-4 weeks).
The only fix is to reinstall C/C++ extension, but it's an annoying solution
Why is C/C++ extenstion disabled, and I have no option to enable it?

VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18362
Extensions (13)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.8.2

extlibraries
dan
0.0.3

apacheconf-snippets
eim
1.3.0

latex-workshop
Jam
8.10.0

csharpfixformat
Leo
0.0.84

vscode-apache
mrm
1.2.0

csharp
ms-
1.22.0

mssql
ms-
1.9.0

anaconda-extension-pack
ms-
1.0.1

python
ms-
2020.5.80290

cpptools
ms-
0.28.2

platformio-ide
pla
1.10.0

vscode-yaml
red
0.8.0

Any reason you haven't updated your VS Code to the current release, 1.45.1?

Ok, not updated vscode was the problem, thanx:)


Improve documentation with usage examples

As suggested by issue #26, I wrote a bit of documentation directly in the repo README to help quickly setup and do a test run of molecule with the EC2 driver.
Fixes: #26

Hello,
Is there something I need to do to unblock this or do you take it from here @ssbarnea ?

Hi @ssbarnea ,
I'd assume that the pipeline needs some help? I cannot see an issue with the PR itself.