Markdown get linted

https://github.com/AtomLinter/linter-jshint/issues/136
https://github.com/AtomLinter/linter-jscs/issues/62
And I can reproduce it too with linter-eslint
Example code:

# Some code example with syntax will be linted

```javascript
function () {}

The problem is that the whole file is getting linted so it throws a lot errors.

I have discussed this with @joefitzgerald
We will be using the scope of the overall file instead of the current cursor to provide correct scopes to linters.

@steelbrain Okey I was going to debug this, so you have a fix in head?

@iam4x Yeah, use editor.getGrammar().scopeName here https://github.com/atom-community/linter/blob/master/lib/linter-registry.coffee#L38

This is really really annoying :)

@iam4x the more I think about it, the more I am convinced that this is a language-markdown issue, it should give something like source.embedded.js instead of source.js, like other languages do.

@steelbrain is this fixed?

@reggi Not really, would you mind opening an issue in atom/language-markdown?

@steelbrain You mean https://github.com/atom/language-gfm?

@reggi yeah.


Getting Error "There was a problem reaching this app"

Even though I see that error, the bot is working and responding.
The interesting thing is not everyone sees that error. Test with 10 people and only myself and one other person saw that message.
Also, if I click on Apps and select to open the App from the list of apps, the error goes away for that time.
But if I try clicking the App again from the navigation bar, the error comes back.
If I go to Teams in a Web Browser the error does not show.
I have tried uninstalling the app from my client and re-adding, same issue.
Deleted all cache files from Teams, same issue.
Restarted the services in Azure - same issue.
Any idea how to resolve this?

In the App Studio Manifest Editor section, there is an option to add a Loading Indicator. This will indicate if the App is really loading or there is a problem with TEAMS itself.
To use the Show Loading Indicator feature properly, you must install the Microsoft Teams JavaScript SDK, then call both functions below. At that point, the app is ready, and the loading indicator will disappear.
microsoftTeams.appInitialization.notifyAppLoaded(); microsoftTeams.appInitialization.notifySuccess();
Once you’ve executed these two lines of JavaScript, the Teams platform will remove the application loader overlay, displaying your custom application content.
There was a hint in the Teams interface hinting at this. To the right of the checkbox, it does say, “You will have to hide the loading indicator using our SDK”. I’m new to the platform, though, and there are many layers involved in custom Microsoft Teams application development. It wasn’t clear to me the error message was related to the use/misuse of the Loading Indicator functionality.


Constraint args

@ctsims - what do you think of changing the spec to define constraints this way? arguments becoming evaluatable out of the box

could also do help/hint text this way

@ctsims @orangejenny this is now working at least in my narrow test cases. I'm not sure about help images/audio/video at the moment - is there an example for this somewhere?

This app has hint text and a bunch of media in it: https://www.commcarehq.org/a/jennytraining/apps/view/ddd0b2eb8661eba592e59d9f7e9c0528/releases/

@orangejenny thanks. confirmed this works with help multimedia

https://confluence.dimagi.com/display/ccinternal/Constraint+Message+Spec+Change
@ctsims per our conversation yesterday
@orangejenny fyi

Will - Ah, I see now. This does make sense to me and it definitely does
feel like it makes more sense for the label to be in the set of question
texts, given the MVC layout.
Couple comments:

we should still be namespacing the "constraint" here, since constraint
isn't in the XForms xml namespace.
We'll still need to continue supporting the old format of constraints as
well (we can make the parser load them in through an extra processing step
if need be). Is that supported in this PR directly? (jumping in soon).

-Clayton
On Wed, May 27, 2015 at 1:31 PM, wpride<EMAIL_ADDRESS>wrote:

https://confluence.dimagi.com/display/ccinternal/Constraint+Message+Spec+Change
@ctsims https://github.com/ctsims per our conversation yesterday
@orangejenny https://github.com/orangejenny fyi
—
Reply to this email directly or view it on GitHub
https://github.com/dimagi/javarosa/pull/91#issuecomment-106005843.

fixed in new commit
can you elaborate on 1?

Basically "constraint" isn't one of the fields in the xforms spec, so we
should theoretically be namespacing it into "our" xforms namespace
-Clayton
On Thu, May 28, 2015 at 5:00 PM, wpride<EMAIL_ADDRESS>wrote:

fixed in new commit
can you elaborate on 1?

—
Reply to this email directly or view it on GitHub
https://github.com/dimagi/javarosa/pull/91#issuecomment-106597244.

Looks good pending tests. Should test:
A) That old constraint configuration still works reliably
B) That new constraint configuration works with the same (non-arg'd) setup as (A)
C) That new constraint configuration works with arguments

@ctsims

Can you replace all "help"/"label" etc bare strings with a static final thing to make sure we don't make minor mistakes based on that?

@ctsims updated


Update sponsors.md

Included a description of Bioconductor (in cases sponsors come directly to the page) and updated the email address

Great addition, the download/attendance stats look impressive!


What does the '|' character do after powershell or bash in the examples above.

The script tag shows steps, then a child of PowerShell that has a value of a "pipe" character:
steps:

powershell: |
Write-Error 'Uh oh, an error occurred'
Write-Host 'Trying again...'

Update: I see in Yaml it indicates that it is a "multi-line scalar value" that follows. That to me would be a nice bit of info in this doc. Not sure if you agree.  I don't see any good Link or help on explaining Yaml itself.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7458d5b2-1bb7-7d87-7ce6-2b0c430b0155
Version Independent ID: edf5bbd3-a3f0-5426-e985-31290f8afd05
Content: YAML schema - Azure Pipelines
Content Source: docs/pipelines/yaml-schema.md
Product: devops
GitHub Login: @erickson-doug
Microsoft Alias: macoope

I'll find a good YAML overview and link to it. Thanks for the suggestion.

@vtbassmatt, you might also consider mentioning as a note or something that any TextMate-based YAML synctax highlighting may appear broken at times because of bug https://github.com/textmate/yaml.tmbundle/issues/26. For example, the following will appear with errors but is correct. If authors try to put the lines that begin with "*" in quotes - which for literal strings is required - it will actually include those quotes as literals and the task(s) will likely fail:
example: |
  **/*.zip

I have screenshots in a bug I opened against VSCode, though when digging in deeper it was discovered it was a TextMate grammar issue.

Thanks @heaths -- that explains the string behavior I see with our Azure Pipelines extension as well.

Still need a good "intro to YAML" someplace in our docs.

There's a YAML primer linked from the schema now.


Directives: Allow Argument Validation

Proof of concept for implementing directive validation for field arguments. Validation for many cases applies better on the arguments than it does against the field itself.

Nearly a year on, and life has been busy. Perhaps we can pick this back up soon @pavelnikolov ?

I'll get back on this either this or next week.

I've opted to close this, as we've discussed taking directives in a different direction. I've started on #655 to strip out the current directives implementation, with the intention to replace it with something simpler and more flexible


Ban changes

https://github.com/discord/discord-api-docs/commit/7e3e3a3de46a909c9a5bc04404f0df9a806e7271

Fixed by #201


Add editor to chatParticipantExtensionPoint.locations enum

Fixes #208890
Not sure this is an all-encompassing fix, as the auto-complete/suggestions for participants does not populate, but this allows users to @participant on inline chat.
We needed this for a chatParticipant extension we are currently working on that requires inline chat, so hopefully there is not too much more needed for this! If someone could point me towards getting the autocomplete to populate for applicable participants, I can include that as well.

A lot more work is required for https://github.com/microsoft/vscode/issues/208898. The good news is that I am working on this. It will take me a bit longer but once completed this schema update will be the icing on the cake


Problems with Parsing the Motion tf record data

Hello, I was trying to load the motion data with the tf record, following the tutorial, https://github.com/waymo-research/waymo-open-dataset/blob/master/tutorial/tutorial_motion.ipynb. But using a single tf example proto, I get the following error :
2023-04-08 11:54:14.536235: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE: forward compatibility was attempted on non supported HW 2023-04-08 11:54:14.536262: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: nsh1609-1 2023-04-08 11:54:14.536266: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: nsh1609-1 2023-04-08 11:54:14.536383: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:200] libcuda reported version is: 515.105.1 2023-04-08 11:54:14.536400: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:204] kernel reported version is: 515.86.1 2023-04-08 11:54:14.536404: E tensorflow/stream_executor/cuda/cuda_diagnostics.cc:313] kernel version 515.86.1 does not match DSO version 515.105.1 -- cannot find working devices in this configuration 2023-04-08 11:54:14.536603: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-04-08 11:54:14.550074: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] None of the MLIR Optimization Passes are enabled (registered 2) 2023-04-08 11:54:14.560810: W tensorflow/core/framework/op_kernel.cc:1692] OP_REQUIRES failed at example_parsing_ops.cc:94 : Invalid argument: Key: roadgraph_samples/xyz.  Can't parse serialized Example. Traceback (most recent call last):   File "data_viz_tut.py", line 157, in <module>     parsed = tf.io.parse_single_example(data, features_description)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper     return target(*args, **kwargs)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/parsing_ops.py", line 452, in parse_single_example_v2     return parse_example_v2(serialized, features, example_names, name)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/util/dispatch.py", line 206, in wrapper     return target(*args, **kwargs)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/parsing_ops.py", line 314, in parse_example_v2     outputs = _parse_example_raw(serialized, example_names, params, name=name)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/parsing_ops.py", line 350, in _parse_example_raw     outputs = gen_parsing_ops.parse_example_v2(   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_parsing_ops.py", line 718, in parse_example_v2     return parse_example_v2_eager_fallback(   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/ops/gen_parsing_ops.py", line 812, in parse_example_v2_eager_fallback     _result = _execute.execute(b"ParseExampleV2", num_sparse + len(sparse_types)   File "/home/nsh1609/anaconda3/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name, tensorflow.python.framework.errors_impl.InvalidArgumentError: Key: roadgraph_samples/xyz.  Can't parse serialized Example. [Op:ParseExampleV2]
From looking around, I found that this happens if the Fixed Length sizes is different or not mentioned in the features descriptor. can someone help me navigate this issue ?

Facing the same issue with all the "roadgraph_samples/*" features. Can someone help us resolve this issue?

Hey guys. I got stuck on this issue too. I just found a solution https://github.com/waymo-research/waymo-open-dataset/issues/343
So, ignore the following lines that are in the tutorial:
dataset = tf.data.TFRecordDataset(FILENAME, compression_type='')
data = next(dataset.as_numpy_iterator())
parsed = tf.io.parse_single_example(data, features_description)
Use this code instead:
import numpy as np
from waymo_open_dataset.protos import scenario_pb2
FILENAME = '../data/scenario/uncompressed_scenario_training_20s_training_20s.tfrecord-00000-of-01000'
dataset = tf.data.TFRecordDataset(FILENAME)
scenario_data = []
for data in dataset:
proto_string = data.numpy()
proto = scenario_pb2.Scenario()
proto.ParseFromString(proto_string)
scenario_data.append(proto)
This code works for the data inside the ./uncompressed folder, but it does not work for the ones in the ./tf_example folder. I do not know why.

Thanks for flagging this. In the latest version of the dataset, the number of roadgraph samples has increased to 30000.  A temporary workaround is to change the shapes from 20000 to 30000.  We will update the tutorial with the new input shapes shortly.

Thanks for flagging this. In the latest version of the dataset, the number of roadgraph samples has increased to 30000. A temporary workaround is to change the shapes from 20000 to 30000. We will update the tutorial with the new input shapes shortly.

@scott-ettinger Thanks for your clarification. This change resolved the issue for me.

Hello, I'm facing the same issue although samples has been updated to 30000.


Setup initial travis ci config

Creates the initial travis ci config so we can test, build, and publish from travis.

All right. Going to merge this and give it a try. Looks like Travis CI is correctly rejecting building this because it is a PR.


In AD dashboard: Highlight documents that are in AUTH48 and just need the AD approval

Description
(You can guess why I'd really appreciate this enhancement.)
Yes, this would require some data flow from the RFC editor to datatracker; I don't expect this feature next week.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Duplicate of #3275


[SUGGESTION] player/mob attacking condition

I think it'd be cool to change the item texture when the player or mob holding the item attacks. That way I could do sword to mace or sword to nunchuck renames that animate when attacking.
isattacking=true/false
attackduration=(# in ticks or frames the texture lasts before reverting to the original texture)

Holder attacking or not sounds interesting, it could possibly need special handling in terms of caching tho as attacking or not changes frequently and it doesnt modify the item to invalidate the CIT cache.
Attack duration is out of scope, this should be a binary condition and not a case for animations. Should probably be done in a different mod that constantly modifies models or handles animations.


Allow the default pixel_selection method to be overidden

in the MosaicTilerFactory.
For https://github.com/developmentseed/titiler/discussions/492
The default PixelSelectionParams function doesn't change the existing
behavior (it uses PixelSelectionMethod.first if no pixel_selection
query param is provided), but a custom function can be used to change
the default behavior.

Thanks @vincentsarago!


[20.09] dovecot: <IP_ADDRESS> -> 2.3.13

Motivation for this change
Backport of #108404
This fixes CVE_2020-24386, CVE-2020-25725 and a bunch of regular bugs
[1].

CVE-2020-24386: Specially crafted command can cause IMAP hibernate to
allow logged in user to access other people's emails and filesystem
information.

CVE-2020-25275: Mail delivery / parsing crashed when the 10 000th MIME part was
message/rfc822 (or if parent was multipart/digest). This happened
due to earlier MIME parsing changes for CVE-2020-12100.

[1] https://raw.githubusercontent.com/dovecot/core/2.3.13/NEWS
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

@ofborg test dovecot

@ofborg test dovecot

@ofborg test dovecot

@ofborg test dovecot


Routing doesn't work on MAMP but works on live server

Hi guys,
Something is weird, I've setup routing for my Schedule page but on my MAMP server, it says that "The requested URL was not found" but it works perfectly on my live server. Then I tried setting up a new route for my Sign Up page but now it doesn't work on either MAMP or the live server.
Here's the code in my function.php:
Timber::add_route('schedule', function($params) {
	Timber::load_template('schedule.php', null, 200, $params);
});

Timber::add_route('register', function($params) {
	Timber::load_template('signup.php', null, 200, $params);
});

And the code in my schedule.php:
$templates = array('schedule.twig');
$context = Timber::get_context();
Timber::render($templates, $context);

And code for signup.php:
$templates = array('signup.twig');
$context = Timber::get_context();
Timber::render($templates, $context);

Thanks in advance for the help!

My issue is qite the same on mamp an testserver ii is working but on live environment i get a 404

The only difference is that i used a wordpress quick install on live

Thanks for the update @lukasholzer - will take a look today as I am working on a project on MAMP with Timber

Thanks @connorjburton – it is realy urgent, because it is on the live system and i can't realize why it does not work. The test environment (where it is working is on the same server, only in a subfolder) and the theme folder is a git repository with a jenkins build – so it is the complete same code on live and test.
if you want't i can add you to my bitbucket repo for helping me, contact me at<EMAIL_ADDRESS>

I have tested this on MAMP and then pushing up to a live server and everything works fine.
Can you post you post the URL that is 404'ing please? (Doesn't have to be publicly accessible, just so I can see the URL itself)
Also do you have a sendmail.php?

Yea it is public accessible http://www.kleinmuenchner.at/sendmail/t/Fragen/ and i pass some variables with a post and the sendmail.php exists
on my testsystem everything works…
the url to the test system is  http://test.kleinmuenchner.atsendmail/t/Fragen/

I've sent you an email @lukasholzer

Hi @lukasholzer - I have cloned your repo, set it up and tested it on MAMP and it works fine.
Are you sure your server just doesn't have a .htaccess in the web root? If I take the .htaccess out of my local install the same thing happens.
I'm 90% sure this is a server config issue.

Thanks so how should the .htaccess looks like?
Regards Lukas
Lukas HOLZER | Frontend Developer
Web & Kommunikationsdesign
Sandgasse 16/3, 4020 Linz
<EMAIL_ADDRESS>| +43 660/48 355 48
<EMAIL_ADDRESS>| www.lukasholzer.com
Am 3. März 2016 bei 14:43:04, Connor Burton<EMAIL_ADDRESS>schrieb:
Hi @lukasholzer - I have cloned your repo, set it up and tested it on MAMP and it works fine.
Are you sure your server just doesn't have a .htaccess in the web root? If I take the .htaccess out of my local install the same thing happens.
I'm 90% sure this is a server config issue.
—
Reply to this email directly or view it on GitHub.

Like the default wordpress .htaccess https://codex.wordpress.org/htaccess

Did this work for you @lukasholzer

I'm going to assume this is okay, i'm sure these problems are server configuration. Please let me know if this is still an issue and i will re-open


Pool caching

Left one config- related comment you should look at, otherwise looks good. Going to merge now.


DataService download capabilities

Similar to the issue logged in #43 where uploads specifically reference image files, the DataService class contains 2 "download" functions:

Download -> this appears to just be an alias of FindById at the moment, so makes things a little confusing, since one would perhaps expect that this would be the respective companion to the Upload function, and thus be used to download an Attachable item.

DownloadPDF -> this appears to be a download handler for downloading pdf versions of IPPSalesReceipt, IPPInvoice and IPPEstimate types.

So at present, at a glance, it appears there is no support for downloading Attachables? Can that be added?
Regards,
Mark

@markwoods241
Mark, I will need to take a look. Will let you know later.
Thanks
Hao

Done.


Support for display_name in V4DBHandler

What?
Support for customizing names for columns to display in V4DBHandler
Why?
This feature is useful in case you want to rename columns to display after adding metadata.
See also [Optional]
https://github.com/dataware-tools/pydtk/issues/36
https://www.notion.so/humandatawarelab/V4DBHandler-179102ec58db4bf596559e5b976b467b

その認識でOKです！

resolves #36


chore: allow Hive backend preferrence in Flutter

expose backendPreferrence to Hive Flutter

Signed-off-by: TheOneWithTheBraid<EMAIL_ADDRESS>

These small changes should be published to pub.dev soon.


some issues installing and even uninstalling rdpwrap

my version of termsrv.dll is 10.0.18362.657
First I tried download the code as a zip and extracting it and doing "runas administrator" on install.bat , it said "installer executable not found". And indeed in that bin directory there is only 3 bat files. install.bat, uninstall.bat ,update.bat    no exe files there.  But ok that's is from the codebase, so I then tried under release.
Then I tried under release, the MSI installer and that gave some error. When I try to reinstall it the installer gives no error, but I get no concurrent feature. And when I try to uninstall it it says "there is a problem with this windows installer package".
Then instead of trying to install it those ways,  I tried downloading the Zip file under Releases. I extracted that, and it has some executables there including RDPWInst.exe , which I understand is good that should be there,, and I ran cmd as Administrator, and I tried install.bat
And it said
C:\rdpwrap>dir
 Volume in drive C has no label.
 Volume Serial Number is 646E-DA1B

 Directory of C:\rdpwrap

01/05/2020  00:45    <DIR>          .
01/05/2020  00:45    <DIR>          ..
30/04/2020  22:27               160 .gitattributes
30/04/2020  22:27               191 .gitignore
30/04/2020  22:27    <DIR>          bin
01/05/2020  00:45               458 install.bat
30/04/2020  22:27            10,854 LICENSE
01/05/2020  00:45         1,045,504 RDPCheck.exe
01/05/2020  00:45         1,096,192 RDPConf.exe
01/05/2020  00:45         1,460,224 RDPWInst.exe
30/04/2020  22:27            22,472 README.md
30/04/2020  22:27    <DIR>          res
30/04/2020  22:27    <DIR>          src-installer
30/04/2020  22:27    <DIR>          src-rdpcheck
30/04/2020  22:27    <DIR>          src-rdpconfig
30/04/2020  22:27    <DIR>          src-x86-binarymaster
30/04/2020  22:27    <DIR>          src-x86-x64-Fusix
30/04/2020  22:27            26,068 technical.txt
01/05/2020  00:45               249 uninstall.bat
01/05/2020  00:45               249 update.bat
              11 File(s)      3,662,621 bytes
               9 Dir(s)  185,500,344,320 bytes free

C:\rdpwrap>install
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Notice to user:
  - By using all or any portion of this software, you are agreeing
  to be bound by all the terms and conditions of the license agreement.
  - To read the license agreement, run the installer with -l parameter.
  - If you do not agree to any terms of the license agreement,
  do not use the software.
[*] Installing...
[*] Terminal Services version: 10.0.18362.657
[-] This version of Terminal Services is not supported.
Try running "update.bat" or "RDPWInst -w" to download latest INI file.
If it doesn't help, send your termsrv.dll to project developer for support.
[+] TermService found (pid 1328).
[*] No shared services found.
[*] Extracting files...
[+] Folder created: C:\Program Files\RDP Wrapper\
[*] Downloading latest INI file...
[+] Latest INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini
[+] Extracted rdpw64 -> C:\Program Files\RDP Wrapper\rdpwrap.dll
[*] Configuring service library...
[*] Checking dependencies...
[*] Checking CertPropSvc...
[*] Checking SessionEnv...
[*] Terminating service...
[*] Starting TermService...
[-] StartService error (code 1056).
[*] Configuring registry...
[*] Configuring firewall...
Ok.

[+] Successfully installed.
______________________________________________________________

You can check RDP functionality with RDPCheck program.
Also you can configure advanced settings with RDPConf program.

Press any key to continue . . .

C:\rdpwrap>

I then did rdpcheck, and it said number of connections is limited.
I noticed "[-] StartService error (code 1056)."   I don't know if that has anything to do with it.
So then I read that I need rdpwrap.ini
I saw that when I ran install.bat  even though it said "Successfully installed." and "[*] Downloading latest INI file..."   and "[+] Latest INI file -> C:\Program Files\RDP Wrapper\rdpwrap.ini"  It also said  "[-] This version of Terminal Services is not supported.  Try running "update.bat" or "RDPWInst -w" to download latest INI file."
So I tried RDPWInst -w  then rdpcheck, but it still said that "the number of connections to this computer is limited.."
c:\rdpwrap>RDPWInst -w
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017
[] Checking for updates...
[] Current update date: 2018.10.10
[] Latest update date:  2018.10.10
[] Everything is up to date.
c:\rdpwrap>install
RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017
[*] RDP Wrapper Library is already installed.

You can check RDP functionality with RDPCheck program.
Also you can configure advanced settings with RDPConf program.
Press any key to continue . . .
c:\rdpwrap>rdpcheck
c:\rdpwrap>
I don't really know if the version of rdpwrap.ini has to be built for the exact same version as my termsrv.dll  or whether a current/later verson of rdpwrap.ini is still fine.
I looked at https://github.com/stascorp/rdpwrap/issues/1008 because the title of that thread has the same version of termsrv.dll as I do 10.0.18362.657  and from there I downloaded this rdpwrap.ini  that was mentioned there https://raw.githubusercontent.com/asmtron/rdpwrap/master/res/rdpwrap.ini and added it to what I extracted from RDPWrap-v1.6.2
Still though rdpcheck didn't show it working.

You seem to have done enough - apart from not restarting the remote desktop service after replacing the .dll file.
I make use of the autoupdate.bat file in #859 Put all the files in it's zip file and put it in your program files/rdpwrapper folder, run the autoupdate.bat file and it will pull updated .ini files from some trusted github repositories when needed. Us the scripts in the utilities folder to add a sheduled task to make sure you are always up to date.

Thanks.. Judging by how my termsrv.dll isn't the latest one,(maybe I haven't updated windows 10 on there), then would the latest rdpwrap.ini be compatible with it?

The rdpwrap.ini files in this repostiory are not updated regularly. You can find updated ones in this repository's pull requests, or in other users own repositories.
The autoupdate.bat pulls ini files from those repositories.
This .ini file provided by @affinityv has the latest updates.

thanks, I see that ini file you link to is most up to date and it mentions the date at the top of it..
I notice that RDPWinst -w , for me,  isn't actually downloading any ini file to anywhere. (likewise update.bat which I think just runs RDPWinst -w).
Also, I notice I have an rdpwrap.ini in the res subdirectory.
I have been putting the rdpwrap.ini in the main directory where I extracted the release zip to, i.e. c:\rdpwrap, which is where install.bat is. Is the rdpwrap.ini I put in there meant to be in the main directory level, with install.bat, or in the res subdirectory?
Thanks

No - these ini files contain the information for all the termsrv.dll files we know of - updating windows risks updating to a version we don't know about. Not something that will happen at this time, but it does happen.
It should install and save .ini files from C:/Program Files/RDPWrapper/ . That is where the .ini file normally is found. Have you checked there?

OK thanks. I see I have a "c:\program files\rdp wrapper" directory with rdpwrap.dll and rdpwrap.ini
Am I supposed to have two directories, the directory I extracted the zip to, and the "C:\program files\rdp wrapper" directory. Or am I supposed to have just one directory "c:\program files\rdp wrapper" and extract the zip there?

ok I see it looks like I should have both directories. The dll  and ini in program files.
rdpconf.exe says "fully supported", when I use the ini file you mention earlier in this thread, dated 2020-03-29  And  rdpcheck initially said "limited.." but once rdpconf said fully supported and i'd stopped and started 'remote desktop services', then it worked.
Thanks

Duplicate of https://github.com/stascorp/rdpwrap/issues/983


[padsearch] don't save self.db_context

even if it's not actually broken we should prob still not be doing this

closed by #201


Development mode with cloud functions

Hi,
i want use the development mode with the firebase serve but i receive an error...
This is a problem with hot reloading??? Any suggestion?
index.js

import * as functions from 'firebase-functions';
import cors from 'cors';
import express from 'express';
import next from 'next';

const dev = process.env.NODE_ENV !== 'production';
const nextApp = next({ dev, conf: { distDir: 'next' } });
const handle = nextApp.getRequestHandler();

export let app = functions.https.onRequest(async (req, res) => {
  console.log('DEBUG 1');
  await nextApp.prepare();
  console.log('DEBUG 2');
  return handle(req, res);
});

ERROR:
i  functions: Preparing to emulate HTTPS functions. Support for other event types coming soon.
Warning: You're using Node.js v7.4.0 but Google Cloud Functions only supports v6.11.1.
Server#addProtoService is deprecated. Use addService instead
i  hosting: Serving hosting files from: build/public
✔  hosting: Local server: http://localhost:3000

✔  functions: app: http://localhost:3001/next-firebase-functions-497a5/us-central1/app
info: User function triggered, starting execution
info: DEBUG 1
info: Execution took 467 ms, finished with status: 'crash'
info: Execution took 60005 ms, finished with status: 'timeout'
Error: Can't set headers after they are sent.
    at ServerResponse.setHeader (_http_outgoing.js:367:11)
    at ServerResponse.header (/Users/pi/.config/yarn/global/node_modules/express/lib/response.js:730:10)
    at ServerResponse.send (/Users/pi/.config/yarn/global/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/Users/pi/.config/yarn/global/node_modules/express/lib/response.js:256:15)
    at Timeout.req.functionTimeout.setTimeout [as _onTimeout] (/Users/pi/.config/yarn/global/node_modules/@google-cloud/functions-emulator/src/supervisor/supervisor.js:192:14)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)

Your Environment

Tech
Version

next
3.0.3

node
7.4.0

Every single request would trigger a rebuild, developing on serverless won't work.

same problem. How to fix it ?

@jackmatrix see my project => https://github.com/Bolket/next-firebase-functions


Update xml-rs to v0.7 and byteorder to v1

Deduplicates bitflags dependency from xml-rs. Also corrected a typo in Changelog.md.
Edit: Looks like xml-rs is about to drop bitflags, possibly undoing previous version break(?) Best not to merge yet.

Yes, let's wait & see what xml-rs does for a bit.
Good with me other than that, thanks! 👍

Coverage remained the same at 51.759% when pulling cfa8952f3aff33ee5e88ff54739f62b12c10729f on chetgurevitch:master into 90082a30d8ba2ef514ef1a526ccae7c679ea6a4f on Smithay:master.

Coverage remained the same at 51.759% when pulling cfa8952f3aff33ee5e88ff54739f62b12c10729f on chetgurevitch:master into 90082a30d8ba2ef514ef1a526ccae7c679ea6a4f on Smithay:master.

This was done in 0.11.4 release, among other things.


Screen resolution is being modified when minimised

reproduction:

set screen mode to windowed.
minimise
restore
observe that restored window resolution is completely wrong

also visible in osu HUD overlay when restoring from minimised.

Still happens? Cannot reproduce with linux/SDL.

Might be a Windows 8/10 issue. I'm using Windows 7 and I can't get anything either (with and without aero/dwm)

On Windows 10, can't reproduce.

I believe this has been resolved by https://github.com/ppy/osu-framework/pull/1146


docs: add chrono conversions to types table

Just noticed that this was missing from the docs...

Will proceed to merge this as a docs-only addition.


[ACR] Test private whl file

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

see here for more information: https://github.com/Azure/sdk-release-request/issues/1754#issuecomment-881334604
Please can we release the sdk, did some testing and so far looks good. I had some issues because whl dependency conflicted with my local dev branch dependencies.
export policy feature works... tests pass (I edited api version in yaml files, and only re-recorded one file)

ACR


fix invalid escape

Simplifies the earlier PR to only add the escape sequence

any timeline as to when this could be merged to main?

sorry about the wait. should be good now.


Bundle Rule Metadata REST API and add integration tests

Resolves https://github.com/wso2/product-is/issues/21841
This PR bundles the rule metadata REST API and adds the integration tests.
Related PRs:
https://github.com/wso2/carbon-identity-framework/pull/6148
https://github.com/wso2/identity-api-server/pull/746

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12119626610

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12119626610
Status: success

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12133768837

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12133768837
Status: success


Can't install : E282: Cannot read from "/root/.spf13-vim-3/.vimrc.bundles.default"

I tried to install and was unsuccessful:
root@2f39a034e21d:~/.spf13-vim-3# curl http://j.mp/spf13-vim3 -L -o - | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   142  100   142    0     0    716      0 --:--:-- --:--:-- --:--:--   717
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4923  100  4923    0     0   5713      0 --:--:-- --:--:-- --:--:--  5713
trying to update spf13-vim
fatal: Not a git repository (or any of the parent directories): .git
\e[32m[✔]\e[0m Successfully updated spf13-vim
\e[32m[✔]\e[0m Setting up vim symlinks
trying to update vundle
From https://github.com/gmarik/vundle
 * branch            master     -> FETCH_HEAD
Already up-to-date.
\e[32m[✔]\e[0m Successfully updated vundle
\e[32m[✔]\e[0m Successfully cloned vundle
Vim: Warning: Input is not from a terminal
E282: Cannot read from "/root/.spf13-vim-3/.vimrc.bundles.default"
Press ENTER or type command to continue
\e[32m[✔]\e[0m Now updating/installing plugins using Vundle

in my ~/.spf13-vim-3 directory there is only one directory: .vim
The command is being run as  root so permissions shouldn't be a problem .
Any thoughts?

Remove ~/.spf13-vim-3 and everything ~/.vim* (backup any existing custom .vimrc files first if you have them) and try installing again.
As noted here

works for me, thanks

Removing .spf13-vim-3 worked for me as well thanks.


Add support to ImportHighScores to populate old-new mapping pairs

Not yet tested, PRing for discussion. Not 100% on the naming.

Would probably prefer scoreId to be named oldScoreId but it's a bit of a much of a muchness I guess.


I believe ALDocument's suffix_to_append is never used

https://github.com/SuffolkLITLab/docassemble-AssemblyLine/blob/59456da209973de9f2727d5fddb0f0ff45b3abfe/docassemble/AssemblyLine/al_document.py#L696-L699

I see where we use it for logic checks, I just don't see where we actually append it to anything.

We set this up so it was basically backwards compatible and had a little flexibility, but the only purpose was to distinguish between the preview and final versions of a document in automated tests. It's not a general purpose method to add an arbitrary suffix to the end of a generated download.

Might make a separate issue for customizing that then, as @CaroRob wanted to be able to remove the suffix completely. I'll see if they want to make an issue for it.
We might want to clarify this in the docs. The docs say the key is "usually" and "normally" just "preview" and "final". If they really can't be anything else, we should state that clearly. Or maybe key is used differently and wouldn't be related to the suffix?

Might make a separate issue for customizing that then, as @CaroRob wanted to be able to remove the suffix completely. I'll see if they want to make an issue for it.

Caroline can remove the suffix by using the key "final" instead of "preview" on her download page. From what I understand that meets her needs because this interview doesn't have separate preview and final download screens.
She could also achieve it by either setting "suffix_to_append" to any other value that doesn't match the key on that screen, or by making the key another value distinct from "preview." (the point is they just shouldn't match--she can change either the key or the suffix_to_append).

We might want to clarify this in the docs. The docs say the key is "usually" and "normally" just "preview" and "final". If they really can't be anything else, we should state that clearly. Or maybe key is used differently and wouldn't be related to the suffix?

The keys you can use with an ALDocument are totally unrelated to this feature. But it's true that preview and final are just conventions.
You might have a good reason to add more keys or to use just one. The keys can refer to different templates or all share the same templates with logic in the template that checks the value of i. It's for any time you have a logical concept of one "document" that changes for different circumstances, usually just the addition of a signature but it could also handle something like redacted/unredacted, a preview for each screen, or any other situation where the document has variations.
The suffix_to_append parameter allows you, in one test or interview session, to use a distinct name for just one of the file variations. The rest will have to be handled by your browser (e.g., adding (1) etc to the download name).
You might not remember, but you requested this feature to make it possible to distinguish between the preview and final download attachments in ALKiln tests and artifacts. That's all it's really for. The user isn't supposed to have a permanent version of the file with any suffix appended, although they might click and have downloaded the "preview" version it can be discarded. We had a big debate about what this feature should include and this is what we landed on.
Looking at it now, the feature is kind of weird, but it is pretty much a behind the scenes one that most authors shouldn't mess with.
I'm sure we could expand what it does or rename things but I don't think it's relevant at all to what Caroline was trying to do.

It took some digging, but I found the discussion on this feature: https://github.com/SuffolkLITLab/docassemble-AssemblyLine/pull/514


Best practice to store data Using DB

I have been implemented the database using SQLite because I think it's sufficient for a simple CLI application.

Maybe it can be changed to better implementation?
Let say we use SQLite, where to put the database file? on Linux, on Mac, and on Windows?

good reference: https://github.com/ActiveState/appdirs

#10


[BEAM-11023] Fix GroupByKeyTest testLargeKeys100MB and testGroupByKeyWithBadEqualsHashCode failing on Spark Structured Streaming runner

Test: testLargeKeys100MB
Problem: Out of Memory when running test
Solution: Increase max memory in spark_runner.gradle
Test: testGroupByKeyWithBadEqualsHashCode
Problem: IllegalAccessError on inner classes BadEqualityKey and DeterministicKeyCoder
Solution: Add access level modifier "protected" to classes.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Spark StructuredStreaming ValidatesRunner

R: @iemejia Would you be able to review this?
cc: @tysonjh

@benWize You probably noticed that the Spark Structured Streaming runner does not support yet Spark 3 in the code base (that's why it is in a different path than the common one). What is missing is to migrate a pair of classes to use the new Spark 3 DataSource V2 APIs. I have not had the time to dig deeper but in case you feel motivated/interested to tackle this don't hesitate to take the issue BEAM-8827 and if you have more questions don't hesitate to ping me in TheASF slack.

Run Java PreCommit


remove use of empty var QT_LIBRARIES and use VTK_LIBRARIES and ITK_LIBRARIES…

To link to specific qt lib  : look for qt package with the required lib (for example qtsql).

I think there is a problem with the PR @nbaraka you lost all your changes except the last commit :/

It's really cool to improve cmake mechanism and promote "modern cmake" philosophy.
We could discuss later about some points.
For Mathilde and I, we think after the 3.1.1 release it could be the first major PR to look at.


Add boilerplate checking

Is your feature request related to a problem?/Why is this needed

Describe the solution you'd like in detail

could refer to https://github.com/kubernetes/cloud-provider-azure/pull/106
Describe alternatives you've considered

Additional context

Can I work on it?

/assign @tall49er

@tall49er Have you singed the CLA? If not, please follow instructions at https://github.com/kubernetes/kubernetes/wiki/CLA-FAQ to sign the CLA.

I forgot to sign it, and now I've signed it.

@tall49er can you also fix this issue in azuredisk & azurefile csi driver?
https://github.com/kubernetes-sigs/azuredisk-csi-driver/issues/59
https://github.com/kubernetes-sigs/azurefile-csi-driver/issues/45
Let  me add you as collabrator first.

sure!


[tinyfiledialogs] build failure, /debug/lib/tinyfiledialogs.lib does not exist

Host Environment

OS: Windows
Compiler: 19.29.30040 (MSVC)

To Reproduce
Steps to reproduce the behavior:
./vcpkg install tinyfiledialogs:x86-windows tinyfiledialogs:x64-windows
Failure logs
Error on on target_link_libraries:
The imported target "tinyfiledialogs::tinyfiledialogs" references the file
 "vcpkg/packages/tinyfiledialogs_x86-windows/debug/lib/tinyfiledialogs.lib"

but this file does not exist.
Additional context
I think this broke it https://github.com/microsoft/vcpkg/pull/19338

Hi @SamuelMarks
Thanks for posting this issue.
"vcpkg/packages/tinyfiledialogs_x86-windows/debug/lib/tinyfiledialogs.lib" should not exist in tinyfiledialogsConfig.cmake file.
I think we should fix this problem.
But it seems that the usage can work fine.
    find_package(tinyfiledialogs CONFIG REQUIRED)
    target_link_libraries(main PRIVATE tinyfiledialogs::tinyfiledialogs)

Please let me know if you have other concerns about this issue.


QT-Wallet 1.2.4. - issue for first import of a private key.

I use BlackCoin QT Wallet 1.2.4, pulled yesterday from this repo, running under Ubuntu 16.04.
I created a "fake" private key with VersionByte 153.
importprivkey 69frDvS2QNSjiaQYQY1hfgeh7hjohuJN29QqRfPuyDKeUDJgiKt MY_KEY_A5
The key is accepted in terminal, after few seconds the main window gets unresponsive, after minutes or so, the main window gets responsive again but MY_KEY_A5 does not make it to the list of my BlackCoin-Addresses.
If I repeat the command from above, then everything runs quickly, no unresponsiveness for the second time and MY_KEY_A5 appears in the main window.
Here is the program, I've used to generate the key material:
import hashlib
import base58
def encodeWif(secretString, versionByte = 0x80):
    bin_key = [ chr(int(secretString[l:l+2], 16)) for l in range(0, len(secretString), 2)]
    str_key = "".join(bin_key)
    # extkey, secret prefixed by version byte
    ext_key = chr(versionByte) + str_key
    # double hash the ext_key
    d1 = hashlib.sha256(ext_key).digest()
    d2 = hashlib.sha256(d1).digest()
    secret_key = ext_key + "".join(map(chr,map(ord,d2[:4])))
    priv_key = base58.b58encode(secret_key)
    return priv_key

BLK_VERSION_BYTE_SEC_KEY = 153
#raw_key = "0C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D"
#raw_key = "834298650AC8639E075680BBB2D0DC7CFABBC91E85A977D9ECD9C8881FBFE809"
raw_key = "A5"*32
print BLK_VERSION_BYTE_SEC_KEY, encodeWif(raw_key, BLK_VERSION_BYTE_SEC_KEY)

closing old legacy wallet v1.2.x issues
please migrate to Blackcoin More and download it from https://blackcoinmore.org
New issues can be posted on Gitlab: https://gitlab.com/blackcoin/blackcoin-more/-/issues


Pattern: Exception Handing in 'do until'-loop

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
-

Solution Details

Q
A

Solution requires premium license
no

Which connectors are used?
none

Solution uses on-premises connectors?
no

Solution uses custom connectors?
no

What's in this Pull Request?
A simple pattern describing how to easily break out of 'Do Until'-loops when exceptions occur using Variables, Scopes and Run After configuration,

Thank you for this sample @remyblok. I like the idea of having patterns in the gallery! Very cool!


MacOs M2芯片 pip install error

ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"'; file='"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-wheel-fbgk2w9a
cwd: /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/
Complete output (24 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-39
creating build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./test_curl.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./cffi_build.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./init.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./_const.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./example.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
running build_ext
generating cffi module 'build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c'
creating build/temp.macosx-10.9-universal2-cpython-39
building 'curl_cffi._curl_cffi' extension
creating build/temp.macosx-10.9-universal2-cpython-39/build
creating build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39
creating build/temp.macosx-10.9-universal2-cpython-39/include
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c -o build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.o
build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c:50:14: fatal error: 'pyconfig.h' file not found
include <pyconfig.h>
           ^~~~~~~~~~~~

1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
ERROR: Failed building wheel for curl-cffi
Running setup.py clean for curl-cffi
Failed to build curl-cffi
Installing collected packages: curl-cffi
Running setup.py install for curl-cffi ... error
ERROR: Command errored out with exit status 1:
command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"'; file='"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-record-82gum57w/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/shixiaolong/Library/Python/3.9/include/python3.9/curl-cffi
cwd: /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/
Complete output (26 lines):
running install
/Users/shixiaolong/Library/Python/3.9/lib/python/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-39
creating build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./test_curl.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./cffi_build.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./init.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./_const.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying ./example.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
running build_ext
generating cffi module 'build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c'
creating build/temp.macosx-10.9-universal2-cpython-39
building 'curl_cffi._curl_cffi' extension
creating build/temp.macosx-10.9-universal2-cpython-39/build
creating build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39
creating build/temp.macosx-10.9-universal2-cpython-39/include
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Iinclude -I/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -c build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c -o build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.o
build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._curl_cffi.c:50:14: fatal error: 'pyconfig.h' file not found
#    include <pyconfig.h>
^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"'; file='"'"'/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-install-qc26puko/curl-cffi_964d697b07704e03b434331373194977/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-record-82gum57w/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/shixiaolong/Library/Python/3.9/include/python3.9/curl-cffi Check the logs for full command output.

another error
error: subprocess-exited-with-error
× Building wheel for curl_cffi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [107 lines of output]
/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-build-env-zqkkdkyo/overlay/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for [tool.setuptools] in pyproject.toml is still beta.
warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-39
creating build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying curl_cffi/build.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying curl_cffi/init.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying curl_cffi/_const.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying curl_cffi/headers.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
copying curl_cffi/requests.py -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
running egg_info
writing curl_cffi.egg-info/PKG-INFO
writing dependency_links to curl_cffi.egg-info/dependency_links.txt
writing requirements to curl_cffi.egg-info/requires.txt
writing top-level names to curl_cffi.egg-info/top_level.txt
reading manifest file 'curl_cffi.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'curl_cffi/cacert.pem'
warning: no files found matching 'curl_cffi/*.dll'
adding license file 'LICENSE'
writing manifest file 'curl_cffi.egg-info/SOURCES.txt'
/private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-build-env-zqkkdkyo/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'curl_cffi.include' as data is deprecated, please list it in packages.
!!
      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'curl_cffi.include' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'curl_cffi.include' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'curl_cffi.include' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  /private/var/folders/j6/4jxhrj8161xg60h5v_ssfk000000gn/T/pip-build-env-zqkkdkyo/overlay/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'curl_cffi.include.curl' as data is deprecated, please list it in `packages`.
      !!

      ############################
      # Package would be ignored #
      ############################
      Python recognizes 'curl_cffi.include.curl' as an importable package,
      but it is not listed in the `packages` configuration of setuptools.

      'curl_cffi.include.curl' has been automatically added to the distribution only
      because it may contain data files, but this behavior is likely to change
      in future versions of setuptools (and therefore is considered deprecated).

      Please make sure that 'curl_cffi.include.curl' is included as a package by using
      the `packages` configuration field or the proper discovery methods
      (for example by using `find_namespace_packages(...)`/`find_namespace:`
      instead of `find_packages(...)`/`find:`).

      You can read more about "package discovery" and "data files" on setuptools
      documentation page.

  !!

    check.warn(importable)
  copying curl_cffi/cdef.c -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
  copying curl_cffi/shim.c -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi
  creating build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include
  copying curl_cffi/include/shim.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include
  creating build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/Makefile.am -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/curl.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/curlver.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/easy.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/header.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/mprintf.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/multi.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/options.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/stdcheaders.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/system.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/typecheck-gcc.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  copying curl_cffi/include/curl/urlapi.h -> build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/include/curl
  running build_ext
  generating cffi module 'build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._wrapper.c'
  creating build/temp.macosx-10.9-universal2-cpython-39
  building 'curl_cffi._wrapper' extension
  creating build/temp.macosx-10.9-universal2-cpython-39/build
  creating build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39
  creating build/temp.macosx-10.9-universal2-cpython-39/curl_cffi
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Icurl_cffi/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9 -c build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._wrapper.c -o build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._wrapper.o
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/Headers -arch arm64 -arch x86_64 -Werror=implicit-function-declaration -Icurl_cffi/include -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/include/python3.9 -c curl_cffi/shim.c -o build/temp.macosx-10.9-universal2-cpython-39/curl_cffi/shim.o
  clang -bundle -undefined dynamic_lookup -arch arm64 -arch x86_64 -Wl,-headerpad,0x1000 build/temp.macosx-10.9-universal2-cpython-39/build/temp.macosx-10.9-universal2-cpython-39/curl_cffi._wrapper.o build/temp.macosx-10.9-universal2-cpython-39/curl_cffi/shim.o -L/Users/runner/work/_temp/install/lib -lcurl-impersonate-chrome -o build/lib.macosx-10.9-universal2-cpython-39/curl_cffi/_wrapper.abi3.so
  ld: warning: directory not found for option '-L/Users/runner/work/_temp/install/lib'
  ld: library not found for -lcurl-impersonate-chrome
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for curl_cffi
Failed to build curl_cffi
ERROR: Could not build wheels for curl_cffi, which is required to install pyproject.toml-based projects

还没打二进制包，需要在 Apple Silicon 下用的话，现在需要自己编译。

还没打二进制包，需要在 Apple Silicon 下用的话，现在需要自己编译。

能否指点下如何自己编译？从来没编译过。有点懵逼~谢谢了！

还没打二进制包，需要在 Apple Silicon 下用的话，现在需要自己编译。

OK

还没打二进制包，需要在 Apple Silicon 下用的话，现在需要自己编译。

OK

你好，请问你知道怎么编译么？能否教教我，特别需要这个库。或者编译好以后能不能给我发一份直接用？

还没打二进制包，需要在 Apple Silicon 下用的话，现在需要自己编译。

OK

你好，请问你知道怎么编译么？能否教教我，特别需要这个库。或者编译好以后能不能给我发一份直接用？

抱歉，这个我也没有弄呢，在忙其他的事情

我在本地 build 了一份传到 pypi 上了，试试能不能用。但是因为别的都是 github actions 自动打包的，这个得我手动打包，所以更新可能会有延迟。
pip install curl_cffi=0.3.1

pip install curl_cffi=0.3.1

should be pip install curl_cffi==0.3.1

pip install curl_cffi=0.3.1

should be pip install curl_cffi==0.3.1

可以使用！非常非常非常感谢！！


Redux: Using compose for higher order components causes error

The type definition for compose in redux seems to expect that that function is only used with store enhancers, but it can be used more generically. We tend to use it for creating higher order components:
const wrapComponent = compose(
  connect(mapStateToProps, mapDispatchToProps),
  injectIntl,
);

export default wrapComponent(MyComponent);

Would there be any downside to changing the type definition to something more generic, like:
declare function compose(...funcs?: Array<Function>): Function;

(copied from flowRight in lodash)

Another option is the way it's done for recompose:
declare type Compose = (<A, B, C, D, E, F, G, H, I>(
    hi: UnaryFn<H, I>,
    gh: UnaryFn<G, H>,
    fg: UnaryFn<F, G>,
    ef: UnaryFn<E, F>,
    de: UnaryFn<D, E>,
    cd: UnaryFn<C, D>,
    bc: UnaryFn<B, C>,
    ab: UnaryFn<A, B>,
    ...rest: Array<void>
  ) => UnaryFn<A, I>) &
  (<A, B, C, D, E, F, G, H>(
    gh: UnaryFn<G, H>,
    fg: UnaryFn<F, G>,
    ef: UnaryFn<E, F>,
    de: UnaryFn<D, E>,
    cd: UnaryFn<C, D>,
    bc: UnaryFn<B, C>,
    ab: UnaryFn<A, B>,
    ...rest: Array<void>

(etc)

Closing since the latest defs seems to have changed to what you're looking for.


Global statusline support

Is it possible to support the new laststatus =3  in https://github.com/neovim/neovim/pull/17266

Well, simply set it then. I guess airline should simply work with :set laststatus=3

Am 17.03.2022 um 22:01 schrieb Jim Angelo Beren @.***>:

Is it possible to support the new laststatus =3 in neovim/neovim#17266
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.

I set it but there is no airline statusline as you can in these screenshots."
set laststatus = 2

set laststatus =  3

Or do I have to do something else? I'm already at the latest neovim build. (NVIM v0.7.0-dev+1269)

can you please check: :setglobal statusline? and :setlocal statusline? I guess the global statusline needs to use :setglobal? Is there some documentation for what exactly :set laststatus=3 does?

can you please check: :setglobal statusline? and :setlocal statusline? I guess the global statusline needs to use :setglobal? Is there some documentation for what exactly :set laststatus=3 does?

Its working properly now in the latest neovim version NVIM v0.7.0-dev+1280-gf2e5f509d. Not sure what fixed it but I think can close this issue now.

It works but airline still uses the size of the focused window for truncation. So when you start with a single window and begin to split vertically, the statusline will be truncated at some point, even if it is global.

please check if 1d48643 fixes it

Yes, but there is another issue: Section A does not get rendered directly after creating a split, but it will apear after unfocusing and focusing a window

not sure what this means.

Check out the N in the bottom left corner:
https://asciinema.org/a/KaxMqyeN6NOR7Zo9MNgOAxQeV

The N that is vanishing? What is your configuration? What terminal is this?

Yes, but there is another issue: Section A does not get rendered directly after creating a split, but it will apear after unfocusing and focusing a window

I am having the same issue with the neovim 0.7 release

gosh. How about answering the questions asked? Or even better create a new issue with as much information as there is.

It is let g:airline_skip_empty_sections = 1 that makes section A disappears.
mini.vim
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath

call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

set laststatus=3
let g:airline_skip_empty_sections = 1

nvim
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.7.0/share/nvim"

Run :checkhealth for more info

main.cpp
int main(int argc, char *argv[])
{
    // test
    return 0;
}

With let g:airline_skip_empty_sections = 1, section A doesn't show up for some reason. To reproduce, using vim -u mini.vim main.cpp


⚠ Processors has degraded performance

In ecc1937, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 187 ms

Resolved: Processors performance has improved in 4260d36.


Add make help and build-controller-image targets

In learning to build the project it's helpful, for me, to have a make help target with descriptions of what the targets do. I also added a target to build one of the container images and in the build-controller-image.sh script export DOCKER_BUILDKIT=1 because builds are faster (and look better).
cc @nithu0115

I think that addresses all the feedback.


Only throw noLoadedItemError when no item is loaded.

This error was thrown when calling pause() when already paused and play() when already playing.

Codecov Report

Merging #20 into dev will decrease coverage by 0.06%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev      #20      +/-   ##
==========================================
- Coverage   76.29%   76.23%   -0.07%
==========================================
  Files          17       17
  Lines         831      833       +2
==========================================
+ Hits          634      635       +1
- Misses        197      198       +1

Impacted Files
Coverage Δ

...udio/Classes/AVPlayerWrapper/AVPlayerWrapper.swift
88.23% <100%> (-0.58%)
: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 8fb3b84...4097b66. Read the comment docs.


[NumberInput] [Vue]: v-model decimal error

When using v-model with the number input, any decimal point gets formatted away on input.
Steps to Reproduce

Enter number in input.
Try adding decimal point.
See value get reformatted without decimal and logged in the array below.

Reproduction
https://stackblitz.com/edit/nuxt-starter-frcagp?file=package.json,nuxt.config.ts,app.vue
Versions
Ark v1.0
Browser | Chromium v112.0.5615.165
OS | Fedora 38

@jiblett1000 I already transferred your issue from Zagjs to #814


[Closed & Archived] Extra spacing between last message and archived banner

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Follow up issue from here. More info in this comment.
You can reproduce by replacing this with return false so that the isArchivedRoom check doesn't rely on the fallback (which will be removed in a future PR).
Version Number:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:
Break down in numbered steps

Create a workspace
Send a message in a workspace chat (admins, announce...)
Delete the workspace
Navigate back to the workspace chat

Expected Result:
Describe what you think should've happened
There should be the right spacing between the last message and the archived banner in the footer

Actual Result:
Describe what actually happened
There is too much spacing between the last message and the archived banner in the footer

Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

@DylanDylann you can reproduce by adding a return false here so that the isArchivedRoom check doesn't rely on the fallback (which will be removed in a future PR).

Is @DylanDylann implementing this as a follow-up to his PR?

Yes, that's the goal. It was a bug I found from the PR but thought it would be better to handle as a follow up so that we could merge without conflicts.

Great! @DylanDylann can you raise the PR please?

Yeah, The PR will be ready soon

Did we get a PR up for this?

I am working on it

@srikarparsi After investigating, It seems this bug isn't regression from my PR
The RCA: In https://github.com/Expensify/App/pull/40661, we add reportNameValuePairs argument to canUserPerformWriteAction function but we don't add reportNameValuePairs param when using canUserPerformWriteAction function in some places
My solution: Removing reportNameValuePairs argument in canUserPerformWriteAction function. Getting reportNameValuePairs in canUserPerformWriteAction function directly

@srikarparsi The PR is up https://github.com/Expensify/App/pull/45588

The payment for this will be taken care of in this issue since it was brought up in this comment. Does that sound right @DylanDylann?

Yes. Let's close this one


Modify Ui images

Renamed and swapped both Ui images such that Ui.png is the one with the sample output.

Codecov Report

Merging #296 (e03eb69) into master (050fcbc) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #296   +/-   ##
=========================================
  Coverage     73.64%   73.64%
  Complexity      760      760
=========================================
  Files           105      105
  Lines          2436     2436
  Branches        325      325
=========================================
  Hits           1794     1794
  Misses          519      519
  Partials        123      123

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 050fcbc...e03eb69. Read the comment docs.


ApplicationInsight.Flush()

Hi,
I created a LoggerService :
public class LoggerService : ILoggerService where T : class
{
private readonly TelemetryClient _telemetryClient;
private readonly ILogger _logger;
    public LoggerService(
        TelemetryClient telemetryClient,
        ILogger<T> logger
    )
    {
        _telemetryClient = telemetryClient;
        _logger = logger;
    }
    public void Flush()
    {
        _telemetryClient.Flush();
    }

    public void Dispose()
    {
        Flush();
    }
}

And BlockingDetector log this Warning:

2019-10-01 21:02:39.607 +00:00 [Warning] Ben.Diagnostics.BlockingMonitor: Blocking method has been invoked and blocked, this can lead to threadpool starvation.
at System.Threading.Tasks.TplEtwProvider.TaskWaitBegin(Int32 OriginatingTaskSchedulerID, Int32 OriginatingTaskID, Int32 TaskID, TaskWaitBehavior Behavior, Int32 ContinueWithTaskID)at System.Threading.Tasks.Task.InternalWaitCore(Int32 millisecondsTimeout, CancellationToken cancellationToken)at Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.ServerTelemetryChannel.Flush()at Microsoft.ApplicationInsights.TelemetryClient.Flush()at SK.Common.Logging.LoggerService`1.Dispose()

I understand, Flush should be FlushAsync(https://github.com/Microsoft/ApplicationInsights-dotnet/issues/482), many asked for this, but anyway, as Dispose is Synchrone, I have no other way to do it.
So maybe some people already notice it and find a correct way to flush the telemetry client?
But if not, how can I filter this issue in BlockingDetector?

ServerTelemetryChannel.Flush does block as it calls TelemetryBuffer.FlushAsync().GetAwaiter().GetResult() which is an issue with ApplicationInsights as it requires 2 threads to complete as highlighted in @davidfowl's AsyncGuidance which is being moved the official docs https://github.com/aspnet/AspNetCore.Docs/pull/14734. So yes it should offer a FlushAsync method.

but anyway, as Dispose is Synchrone, I have no other way to do it.

Not sure what the interface ILoggerService is, however if you are using .NET Core 3.0 you can implement IAsyncDisposable and also use it with C#8 in an async using statement; however the docs haven't been reflected to update that either yet https://github.com/dotnet/docs/issues/11984

Thanks for this complete and up to date answer!
I found IAsyncDisposable available in :

In my LoggerService, I now have:
    public async Task DisposeAsync()
    {
        await Task.Run(() => _telemetryClient.Flush());
    }

And from what I can see, no warning anymore :).
Note: So my logger service is a service wrapping TelemetryClient and ILogger, it helps to faster log informations in our app.


[BUG] Tests failed with pandas-1.2.0

Describe the bug
Some cases failed with pandas 1.2.0 in CI

[ ] FAILED mars/dataframe/arithmetic/tests/test_arithmetic_execution.py::TestBinary::testChained

[ ] FAILED mars/dataframe/arithmetic/tests/test_arithmetic_execution.py::TestBinary::testRfunc

[ ] FAILED mars/dataframe/arithmetic/tests/test_arithmetic_execution.py::TestBinary::testSameIndex

[ ] FAILED mars/dataframe/arithmetic/tests/test_arithmetic_execution.py::TestBinary::testWithMultiForms

[ ] FAILED mars/dataframe/arithmetic/tests/test_arithmetic_execution.py::TestBinary::testWithPlainValue

[ ] FAILED mars/dataframe/base/tests/test_base.py::Test::testCut - AttributeError...

[ ] FAILED mars/dataframe/base/tests/test_base.py::Test::testTransform - TypeErro...

[ ] FAILED mars/dataframe/base/tests/test_base_execution.py::Test::testCutExecution

[ ] FAILED mars/dataframe/base/tests/test_base_execution.py::Test::testTransformExecute

[ ] FAILED mars/dataframe/base/tests/test_base_execution.py::Test::testTransformWithArrowDtypeExecution

[ ] FAILED mars/dataframe/datasource/tests/test_datasource_execution.py::Test::testInitializerExecution

[ ] FAILED mars/dataframe/datasource/tests/test_datasource_execution.py::Test::testReadCSVExecution

[ ] FAILED mars/dataframe/datasource/tests/test_datasource_execution.py::Test::testReadCSVWithoutIndex

[ ] FAILED mars/dataframe/indexing/tests/test_indexing_execution.py::Test::testOptimization

[ ] FAILED mars/dataframe/reduction/tests/test_reduction.py::TestReduction::testDataFrameReduction

[ ] FAILED mars/dataframe/reduction/tests/test_reduction_execute.py::TestReduction::testDataFrameLevelReduction

[ ] FAILED mars/dataframe/reduction/tests/test_reduction_execute.py::TestReduction::testDataFrameReduction

[ ] FAILED mars/dataframe/reduction/tests/test_reduction_execute.py::TestCount::testUseArrowDtypeNUnique

[ ] FAILED mars/dataframe/tests/test_arrays.py::Test::testArrowStringArrayFunctions

FYI: vineyard tracks the issue at https://github.com/alibaba/libvineyard/issues/112.


Vector-based corrective drive

Autonomous trajectories will try to stay based on a vector. Still, this system could be potentially expanded to turn user inputs into a vector that the robot will follow, ensuring it always travels straight.
This may require a refactoring of the drive subsystems. Perhaps this can be made into a subsystem or component in usual BunyipsLib fashion.

Will make this into a Task as it is most appropriate, with interop available for things that are not command-based.


[1.10.2 TC6 Beta6] Great Oak sapling grows and sapling is still there

I placed a Great Oak sapling down and then a Nitor on top thinking it would stop it from growing. Instead it grew the tree  next to the sapling. See image for details. Effectively it takes 1 sapling to grow the great oak instead of the 4 it probably should.

Effectively it takes 1 sapling to grow the great oak instead of the 4 it probably should.

Greatwoods only need one sapling to grow. I've been growing them like that since TC4.

Can confirm, to my knowledge they've never needed 4 saplings.

I agree that it should take four saplings instead of one. That gives players a bit more control about where it grows. Even if I experimented in what directions the saplings grow to full trees to find out how to set up an optimised farm, it would be a lot better (and would actually make more sense since all large variants of MC trees do the same) and easier if you just needed four of them.
And that Nitor thing looks definetly like an odd bug.

@MainFreak player can control where the tree grows by framing 4 dirt blocks with non-growable blocks (like bricks or sand). Greatwood - like any other wood - grows only on dirt and grass.

huh interesting
I found a vanilla bug that prevents vanilla/modded trees from growing when planted on farmland. May try that out @VallenFrostweaver

I've to admit I just never thought to try plant a tree on a farmland. I usually build a 1x1, 2x2 (or, for silverwood a 5x5) "pedestal" with stairs around it, and place the sapling on a correct shape. The rest is just a waiting game.


unresolved import crate::rt::Signal

Upgraded to 1.69 rust and getting the below error when trying to compile router_v5 from examples.
error[E0432]: unresolved import crate::rt::Signal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/ntex-0.6.7/src/server/builder.rs:8:24
|
8 | use crate::rt::{spawn, Signal, System};
|                        ^^^^^^ no Signal in rt
|
= help: consider importing one of these items instead:
crate::server::ServerCommand::Signal
polling::os::kqueue::Signal

"cargo run --example routing_v5" works for me
this is not an issue, should be in discussions


Support Elasticsearch 2.0

Moved from: https://github.com/serilog/serilog/issues/662

Are anyone working on upgrading the serilog-sinks-elasticsearch to use the NEST 2.0 client that supports elastic search 2.0?

In progress with PR https://github.com/serilog/serilog-sinks-elasticsearch/pull/23

Released as v3.


Fixing autoescape bug and moving sample handlers to separate directory

List of changes:

XSS handler checks if proper jinja2 extension is loaded
sample handlers moved to separate directory

Out of curiosity, did you delete + re-add the handler files?  Or did you use git mv?
(git mv would preserve blame / revision history for the example handler file).

delete and re-add.
If you want to I can git mv them.
2015-11-23 20:02 GMT+01:00 Phil Ames<EMAIL_ADDRESS>
Out of curiosity, did you delete + re-add the handler files? Or did you
use git mv?
(git mv would preserve blame / revision history for the example handler
file).
—
Reply to this email directly or view it on GitHub
https://github.com/google/gae-secure-scaffold-python/pull/11#issuecomment-159029172
.

--
Michal Melewski

Yes, a git mv would be great since then it would also properly show the changes you made to the handler to fix the check for the autoescape extension.

in the morning then
2015-11-23 20:11 GMT+01:00 Phil Ames<EMAIL_ADDRESS>
Yes, a git mv would be great since then it would also properly show the
changes you made to the handler to fix the check for the autoescape
extension.
—
Reply to this email directly or view it on GitHub
https://github.com/google/gae-secure-scaffold-python/pull/11#issuecomment-159031771
.

--
Michal Melewski


add hyper-drop-file to plugin

https://www.npmjs.com/package/hyper-drop-file

add plugin hyper-drop-file which let user drop file path from file explorer into hyper terminal.
Checklist for submitting a resource to awesome-hyper:

[x] Title: The title for the addition uses its npm title (hyper-example) or the resource's title.
[x] Link: The link for the addition uses the npmjs.com link (https://www.npmjs.com/package/hyper-example) or the resource's full URI.
[x] Repository: The package.json file of the resource contains repository information.
[x] Visual: There is a visual representation of what the addition does in its source repository.
[x] Location: The awesome addition is in the correct category or sub-category.

If it's a plugin or resource, put your awesome item at the BOTTOM of the correct section.
If it's a theme, insert it according to the ALPHABETICAL order.

[x] Description: I've written a short (one sentence) description for the addition in the README.md.
[x] Downloads: I've added a download stats badge in the second column ([![npm](https://img.shields.io/npm/dm/hyper-example.svg?label=DL)]())

please merge this to README, lots of people want this feature (see issues on Hyper here: https://github.com/zeit/hyper/issues/3582) as far as I search, don't see alternatives for this.


help file ftplugin broken between 0676 and 0677 [E788: Not allowed to edit another buffer now]

I am using a help.vim ftplugin containing
wincmd L
to open the help in a vertical split
This does not work any more using the most recent patch version 0691, instead vim reports "E788: Not allowed to edit another buffer now".
This happens in a self-compiled version using Windows 10 AND when I copy the gvim.exe to its default location c:\Program Files (x86)\Vim\vim80\gvim.exe
My previous version was 0647 and did not have that error.

Actually 1814183b8 seems to be the commit that broke the help for me.

There was the same issue with :resize; patch 8.0.0688 fixed that one. With :wincmd, I fear it's more difficult, because some variants of the command do switch to another window.

Workaround, in case anyone else has the problem right now:

delete flplugin/help.vim
put this in vimrc:

augroup vimrc_help
  autocmd!
  autocmd BufEnter *.txt if &buftype == 'help' | wincmd L | endif
augroup END

Perhaps also see comments in https://github.com/vim/vim/pull/1804


three possible improvements

Hi! First, thank you for the marvelous postnotes package, I am using it a lot (especially the backreference in the postnote marks). There are a few features I wondered if they could be "easily" added :
1- I would be glad to be able to use multiple series of end notes (therefore, \printpostnotes would print the postnotes sorted by type (and, secondarily, order of appearance).
2- Also, I asked wondered if it was possible to have a "runin" printpostnotes (that is, with no heading at all, and even no new par).
3- finally, It would be interesting for the user to have a boolean to test if the current printpostnotes is empty (rather than printing it and getting the warning during compilation).
I do not know what is easy and what is totally untractable in the previous tracks but I found interesting to ask the package author.
Thanks !

Hi, @krobsp , I'm glad you are enjoying it. And thanks for the suggestions.

1- I would be glad to be able to use multiple series of end notes (therefore, \printpostnotes would print the postnotes sorted by type (and, secondarily, order of appearance).

This is one thing I thought about providing, but eventually didn't (at least so far). For one thing, it is some work, though not impossible either. It would also make the infrastructure more complex, which is something to ponder.
More importantly, I'm not sure the use case for multiple series of end notes is that pressing. Sure, there are critical editions which need it. But someone doing one of those will probably be using reledmac, which already provides such facilities. Other than that, I'm not sure how needed this is. The fact that neither endnotes or enotez provide this functionality suggests the use case is, at most, a niche one. Also, technically, it is possible to use postnotes alongside either endnotes or enotez, so you can get away with different series as things stand. True, not the same functionality, thus not ideal. Still a pretty decent alternative for a special use case.
Could you elaborate on the use case(s) you have in mind in making such suggestion?

2- Also, I asked wondered if it was possible to have a "runin" printpostnotes (that is, with no heading at all, and even no new par).

I'm not sure I understand but, as far as I do, this is already possible. Just choose listenv=none and set an empty postprintnote:
\documentclass{book}

\usepackage{postnotes}
\postnotesetup{
  listenv=none,
  postprintnote=,
}

\usepackage{lipsum}
\usepackage{hyperref}

\begin{document}

\tableofcontents{}

\chapter{Chapter 1}

\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par

\chapter{Chapter 2}

\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par

\printpostnotes

\end{document}

3- finally, It would be interesting for the user to have a boolean to test if the current printpostnotes is empty (rather than printing it and getting the warning during compilation).

What do you mean here? You'd like to be able do "disable the warning"? Is that it?
If that's what you meant, it'd be easy to implement, but I don't think it is a good idea. It is just a warning, not an error. It is the same behavior as biblatex's \printbibliography, which sounds like a good standard practice to follow.

Thanks for the (super-fast) answer !
1- As a case, I thought about a pedagogical document with different "kinds" of postnotes according to the "skill" of the postnote: Apostnotes for very fundamental remarks, Bpostnotes for advanced students, Cpostnotes for hard exercises and so on...
2- Perfect, this is exactly what I meant, thanks !
3- I did not mean to purely disable the warning. Let me elaborate a little bit : I am using very frequently using \printpostnotes in my document (so that, by the way, I am not sure that endnotes and enotez packages are made for that.), say, after each subsection.
But, it happens that there is nothing to print. I wanted to display, in such a case, something in the document itself. So, it would be useful to have a boolean, say \postnotesareempty, so that I can write something like \if\postnotesarempty{There is no postnote here. I had no interesting observation to make}\else{\printpostnotes}

1- As a case, I thought about a pedagogical document with different "kinds" of postnotes according to the "skill" of the postnote: Apostnotes for very fundamental remarks, Bpostnotes for advanced students, Cpostnotes for hard exercises and so on...

I see. Well, for this kind of use case, I'd suggest adding some marker, at the start of the note, or in the margin.
But I get what you'd like to do. Still, I'm not convinced the use case justifies the added complexity which would be required for this to work. I'll keep the suggestion in mind, but I won't make you any promises in this regard.

3- I did not mean to purely disable the warning. Let me elaborate a little bit : I am using very frequently using \printpostnotes in my document (so that, by the way, I am not sure that endnotes and enotez packages are made for that.), say, after each subsection.
But, it happens that there is nothing to print. I wanted to display, in such a case, something in the document itself. So, it would be useful to have a boolean, say \postnotesareempty, so that I can write something like \if\postnotesarempty{There is no postnote here. I had no interesting observation to make}\else{\printpostnotes}

For this situation, I'd suggest a simpler approach: disable the notes heading and add it manually. For example:
\documentclass{book}

\usepackage{postnotes}
\postnotesetup{heading=}

\usepackage{lipsum}
\usepackage{hyperref}

\begin{document}

\tableofcontents{}

\chapter{Chapter 1}

\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par

\section*{Notes foo}
\printpostnotes

\chapter{Chapter 2}

\section*{Notes bar}
\printpostnotes

\end{document}

I know this is not the same thing since the heading is printed unconditionally. But hopefully it is sufficient for what you need.
If you really, really need a conditional test, you could build one base on the main counter of the notes (called, as you'd expect, postnotes). Just test if the counter hasn't changed since the last call with something like:
\documentclass{book}

\usepackage{postnotes}
\postnotesetup{heading=}

\ExplSyntaxOn
\newcounter{mysavedpostnote}
\NewDocumentCommand{\myemptyposnotes}{m}{
  \int_compare:nNnT
    { \int_use:c { c@postnote } }
    =
    { \int_use:c { c@mysavedpostnote } }
    { #1 }
  \setcounter{mysavedpostnote}{\value{postnote}}
}
\ExplSyntaxOff

\usepackage{lipsum}
\usepackage{hyperref}

\begin{document}

\tableofcontents{}

\chapter{Chapter 1}

\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par
\lipsum[1-2]\postnote{\lipsum[3]}\par

\section*{Notes foo}
\myemptyposnotes{No notes on this part}
\printpostnotes

\chapter{Chapter 2}

\section*{Notes bar}
\myemptyposnotes{No notes on this part either}
\printpostnotes

\end{document}

All in all, I don't think there's enough to justify exposing a user interface for this purpose. But, of course, it is possible to perform the test rigorously using the package's internals, if you know your way around the code. Naturally, formally, "it is not recommended nor supported". ;-)
Btw, yes you can use the equivalent of \printpostnotes provided by endnotes or enotez multiple times, this is just standard behavior of end notes packages.

wonderful; thanks a lot !

Thanks again for the suggestions. Cheers!


Export a simple stash run function to external script

So external commands can do something like
_('cp afile bfile')

to ask stash to run the command.

_ might not be a good naming choice - although being short and simple, it is fairly common practice to use _ as a "junk" name in sequence unpacking, e. g. foo, _, bar = somestring.split(";"). The interactive interpreter also assigns the last result to _. Maybe something short but more descriptive like _sh or _shrun?

@dgelessus I think you got the point. I wanted the name to be less intrusive and focus on the actual command texts. _sh seems to be a good alternative.

I think _sh is a good choice. What do you expect the eta on this to the dev branch? I'll scrap the .sh temp creation in pip.

@dgelessus @briarfox
Since the _stash object is already exposed to external scripts. I think it can be reused for this purpose to simplify the overall exported functions. I made _stash callable so that a shell command execution can be as follows:
_stash('cp afile bfile')

This change is already pushed to the dev branch. Comments/suggestions are welcome. Thanks!

Good idea, I didn't think of that possibility.

The function accepts both mulit-line string, e.g.
_stash('cd dir1 \n cp afile bfile')

and list of strings, e.g.
_stash(['cd dir1', 'cp afile bfile'])


Redo Title Card

The title needs to be more than just a picture of some simple words, it needs more character and a backsplash:

Create a font and decorate it in a way that's representative of one of the games core features (story, setting, art style, like have the font be pixelated and blocky if our art style is pixel art)
Put a unique spin on the title to make it more than just a set of words. This could be like adding an object behind the set of letters (like a backsplash), have one of the letters be replaced by an object with a similar shape to said letter, or put a border around the set of words
It's possible to off center, or angle the title, make the letters slanted, etc.

Since the story is based off of working for a delivery company, it could just follow the logo of that company and be a nameplate