Project doesn't build on Windows

I'm submitting a bug report
Bug Report:

What is the expected behavior?

npm run build should build the front en and the server

What is the current behavior?

npm build fails

Steps to reproduce:

execute npm run build
Useful Info:

Your environment:

Node version: 6.9.4

NPM version: 3.8.0

OS: Windows 10

Other information

npm-debug.txt

Hi @gubagu
I didn't test the project on Windows. But as I heard it works.
Could you share your env variables for a build? Does it work in dev mode (e.g npm run dev)?
Did you built the project from the master branch or applied some modifications(custom code)?

Hi @Metnew ,
Just updated node to 8.4.0 and npm to 5.3.0 to try again with fresh versions the result npm run dev  is similar to npm run build.
About the env variables I haven't set any till now. I pulled the master branch and did not change anything. Was my first attempt to have a look @ the starter.
[SERVER] > webpack --config webpack_config/server/webpack.dev.babel.js
[SERVER]
[SERVER] 'rm' is not recognized as an internal or external command,
[SERVER] operable program or batch file.
[SERVER] child_process.js:634
[SERVER]     throw err;
[SERVER]     ^
[SERVER]
[SERVER] Error: Command failed: rm -rf D:\Guby\WebProjects\react-semantic.ui-starter\dist/server/en
[SERVER] 'rm' is not recognized as an internal or external command,
[SERVER] operable program or batch file.
[SERVER]
[SERVER]     at checkExecSyncError (child_process.js:591:13)
[SERVER]     at execSync (child_process.js:631:13)
[SERVER]     at Object.<anonymous> (D:/Guby/WebProjects/react-semantic.ui-starter/webpack_config/server/webpack.base.js:21:1)
[SERVER]     at Module._compile (module.js:573:30)
[SERVER]     at loader (D:\Guby\WebProjects\react-semantic.ui-starter\node_modules\babel-register\lib\node.js:144:5)
[SERVER]     at Object.require.extensions.(anonymous function) [as .js] (D:\Guby\WebProjects\react-semantic.ui-starter\node_modules\babel-register\lib\node.js:154:7)
[SERVER]     at Module.load (module.js:507:32)
[SERVER]     at tryModuleLoad (module.js:470:12)
[SERVER]     at Function.Module._load (module.js:462:3)
[SERVER]     at Module.require (module.js:517:17)
[SERVER] npm
[SERVER]  ERR! code ELIFECYCLE
[SERVER] npm ERR! errno 1
[SERVER] npm ERR<EMAIL_ADDRESS>server_dev: `webpack --config webpack_config/server/webpack.dev.babel.js`
[SERVER] npm ERR! Exit status 1
[SERVER] npm ERR!
[SERVER] npm ERR! Failed at the<EMAIL_ADDRESS>server_dev script.
[SERVER] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[SERVER]
[SERVER] npm ERR!      C:\Users\Guby\AppData\Roaming\npm-cache\_logs\2017-08-16T23_50_25_399Z-debug.log
[SERVER] npm run server_dev exited with code 1
[FRONTEND] webpack: wait until bundle finished:
[FRONTEND] webpack: wait until bundle finished: /
[FRONTEND]  DONE  Compiled successfully in 22410ms01:50:48
[FRONTEND]
[FRONTEND] > App is running at http://localhost:3000
[FRONTEND]
[FRONTEND] webpack built a40121cc1b0b2ed392df in 22410ms
[FRONTEND] Hash: a40121cc1b0b2ed392df
[FRONTEND] Version: webpack 3.5.5
[FRONTEND] Time: 22410ms
[FRONTEND]                       Asset     Size  Chunks                    Chunk Names
[FRONTEND]   assets/icons.674f50d2.eot   166 kB          [emitted]
[FRONTEND]   assets/icons.b06871f2.ttf   166 kB          [emitted]
[FRONTEND]  assets/icons.fee66e71.woff    98 kB          [emitted]
[FRONTEND] assets/icons.af7ae505.woff2  77.2 kB          [emitted]
[FRONTEND]   images/flags.9c74e172.png  28.1 kB          [emitted]
[FRONTEND]  images/daniel.eaa3ef5e.jpg    15 kB          [emitted]
[FRONTEND]                   client.js  12.9 MB       0  [emitted]  [big]  client
[FRONTEND]               manifest.json  1.65 kB          [emitted]
[FRONTEND]                  index.html  1.12 kB          [emitted]
[FRONTEND] [./node_modules/promise-polyfill/promise.js] ./node_modules/promise-polyfill/promise.js 6.24 kB {0} [built]
[FRONTEND] [./node_modules/querystring-es3/index.js] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[FRONTEND] [./node_modules/react-dom/index.js] ./node_modules/react-dom/index.js 59 bytes {0} [built]
[FRONTEND] [./node_modules/react-hot-loader/lib/patch.js] ./node_modules/react-hot-loader/lib/patch.js 209 bytes {0} [built]
[FRONTEND] [./node_modules/react-hot-loader/patch.js] ./node_modules/react-hot-loader/patch.js 41 bytes {0} [built]
[FRONTEND] [./node_modules/semantic-ui-css/semantic.css] ./node_modules/semantic-ui-css/semantic.css 1.2 kB {0} [built]
[FRONTEND] [./node_modules/strip-ansi/index.js] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/client-overlay.js] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/client.js?reload=true] (webpack)-hot-middleware/client.js?reload=true 6.68 kB {0} [built]
[FRONTEND] [./node_modules/webpack-hot-middleware/process-update.js] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built]
[FRONTEND] [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 517 bytes {0} [built]
[FRONTEND] [./node_modules/whatwg-fetch/fetch.js] ./node_modules/whatwg-fetch/fetch.js 12.7 kB {0} [built]
[FRONTEND]    [0] multi react-hot-loader/patch webpack-hot-middleware/client?reload=true ./src/client 52 bytes {0} [built]
[FRONTEND] [./src/client/index.jsx] ./src/client/index.jsx 1.74 kB {0} [built]
[FRONTEND] [./src/common/index.jsx] ./src/common/index.jsx 2.5 kB {0} [built]
[FRONTEND]     + 1034 hidden modules
[FRONTEND] Child html-webpack-plugin for "index.html":
[FRONTEND]          Asset     Size  Chunks  Chunk Names
[FRONTEND]     index.html  1.48 MB       0
[FRONTEND]     [./node_modules/html-webpack-plugin/lib/loader.js!./webpack_config/assets/index.ejs] ./node_modules/html-webpack-plugin/lib/loader.js!./webpack_config/assets/index.ejs 1.68 kB {0} [built]
[FRONTEND]     [./node_modules/lodash/lodash.js] ./node_modules/lodash/lodash.js 540 kB {0} [built]
[FRONTEND]     [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 509 bytes {0} [built]
[FRONTEND]     [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 517 bytes {0} [built]
[FRONTEND] webpack: Compiled successfully.
[FRONTEND] D:\Guby\WebProjects\react-semantic.ui-starter\node_modules\http-proxy\lib\http-proxy\index.js:119
[FRONTEND]     throw err;
[FRONTEND]     ^
[FRONTEND]
[FRONTEND] Error: connect ECONNREFUSED <IP_ADDRESS>:4000
[FRONTEND]     at Object._errnoException (util.js:1041:11)
[FRONTEND]     at _exceptionWithHostPort (util.js:1064:20)
[FRONTEND]     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:14)
[FRONTEND] npm
[FRONTEND]  ERR! code ELIFECYCLE
[FRONTEND] npm ERR! errno 1
[FRONTEND] npm ERR<EMAIL_ADDRESS>frontend_dev: `babel-node webpack_config/server.js`
[FRONTEND] npm ERR! Exit status 1
[FRONTEND] npm ERR!
[FRONTEND] npm ERR! Failed at the<EMAIL_ADDRESS>frontend_dev script.
[FRONTEND] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[FRONTEND]
[FRONTEND] npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Zarro\AppData\Roaming\npm-cache\_logs\2017-08-16T23_50_54_196Z-debug.log

Oh, I just understand that there is no "rm" on windows
Take a look at:
'rm' is not recognized as an internal or external command,

Try to change this line to something Windows-compatible. E.g:  to do something with rm command on Windows.
Do you use git bash on Windows?

I'll push fixes for this issue in next release.

Thanks for your swift answer. Actually by using git bash builds better than on latest ubuntu. On ubuntu is a problem with a png library. Anyway running build commands through git bash resolved the issue.
Thanks a bunch for the tip was too focused on fixing the code
Cheerz, Guby

About img library - check this issue.
Thanks for your issue @gubagu 👍
I reopen the issue because I need to keep in mind that the project provides bad experience for Windows users.


backend: added registration validation && added rate limitter

Enhancements to User Registration Endpoint
Description

Added input validation middleware to validate user inputs during registration(using express-validator).
Implemented rate limiting using express-rate-limit (to solve the CodeQL Missing rate limiting error of the previous PR)
Fixed a minor typo in the login endpoint.

Changes Made

Created validation.js middleware for input validation during user registration.
Added express-rate-limit package to implement rate limiting.
Created registerLimiter.js middleware. (allow a maximum of 20 requests per 15 minutes for the registration endpoint.)

Checklist

[x] Input validation middleware added.
[x] Rate limiting implemented for the registration endpoint.
[x] Typo fixed in the login endpoint.

Screenshots

Manually tested the registration endpoint with various input scenarios to ensure proper validation.

Please review and let me know if you require any changes further.

also, currently the rate limiter allows 20 requests per 15 minutes, but if you want to increase or decrease the number of requests then you can modify the rateLimitter.js middleware, i.e :
const registerLimiter = rateLimit({
  windowMs: 15 * 60 * 1000,
  max: 20,        // change the number to increase/decrease the number of requests per 15 minutes
});

lastly, If the PR is good enough to get merged, then can you kindly put the IWOC2024 label?

LGTM


Update ome-faq.yml

added update to indicate outlook win32 sends unencrypted mail to encrypt the pdf attachment along with the mial.

@KCCross Please merge the this PR. Thanks


Split System Widget in default dashboard

This is a suggested split of the system widget on the default dashboard. The name/version... are in column 1. The "performance" items are in column2, with widget title "System Performance". Users can customize this anyway, but this might be a useful starting point to give on the default dashboard.
Open for discussion. See forum https://forum.pfsense.org/index.php?topic=129040.0

Yes, I just did this to point out that it is now possible without any real code changes - just modifying the default config. So if someone wants to split the System Information widget - either in the default config, or on their own dashboard - it is this easy.
If splitting it on the default dashboard is not required, then feel free to close this. It is just that there had been a few mentions of maybe doing that.


Ability to disable EventHandler automatic listener assignments

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Hey,
I was wondering why my uninitialized elements in my code — provided they have the data tags in place — get automatically initialized with the bootstrap modules I include somewhere else in my JS/TS code.
Then, after some debugging and tracing I figured it out: it's the EventHandler.on calls on the bottom of respective bootstrap module code.
I'd like to turn this off, but by looking at the code, right now I have no possibility of doing so.
The proposal is to be able to specify bootstrap that I will manually initialize my elements, and Bootstrap should not automatically do so by listening for various events on the document node.
Motivation and context
I am using webpack and typescript to bundle my modules together using the latest bootstrap with vanilla JS. Problem is, once I include one Bootstrap module somewhere (Modal or Collapse are fine examples of this), it automatically starts listening on elements that I didn't even specify it to listen on. This makes development a bit frustrating, as I like to have full control over where I initialize modules.
I don't want Bootstrap modules to take over elements I don't specifically specify. Testing gets really frustrating when I want to see the places I forgot to initialize stuff, and I don't want it to automatically happen by code I have no control over.

just by coincidence, will this be solved with 5.3.4? using the commit e3e00b5002139adb0d5dadd6002e15b7b6cd371f, it seems to work as intended.


Create Validation pipeline for FHIR->FHIR transforms

User Story
We want to check FHIR transforms for potential errors during development
Only handle FHIR->FHIR transforms
Dev Notes

Follow pattern set up for organizations
Add json schema for FHIR transforms

Include references to schema at the top of all fhir transform files

Add Konform validations for FHIR transforms

Acceptance Criteria

FHIR transforms now have Intellij autocomplete
FHIR transforms will now be checked to have valid structure and values

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @brick-green @david-navapbc @jack-h-wang @jalbinson @JFisk42 @mkalish @thetaurean

Please add your planning poker estimate with Zenhub @adegolier

Please add your planning poker estimate with Zenhub @jalbinson


add ciencias medicas mg to list

add escola a lista de escolas br

@andrehc I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Merge paired end reads

As dicussed in #20 , I think it is possible to have single-end and interleaved paired end files in one file. I have here a first version of a rule which merges the paired end files.
I don't know ho to check the condition if the reads are paired or not.
using the, fastq_file  variable we can guide the input/output files easily trough the different conditions.
I removed one decontamination rule, which seems to be a duplicate.

I made a first version of the workflow with optional paired end-end merging.
The reads are in two fractions pe: paired-end (interleaved) file and se:  a single-end file.
Using a fraction wildcard I managed to treat se and pe reads without duplicating the rules decontaminate and error correction.
At the end of quality filtering I split the pe file into R+ and R2, which is what most people use, and it helps also to feed the reads into bbwrap.
the normalization is more complicated, as it needs two runs for pe, and se, using the extra key-word normalization is done on all k-mers.
The workflow should work also for single end reads alone, which I will have to test.
@brwnj,Do you have any comments, before I  start to debug?

Nice work on this. Merge when you're ready.

@brwnj  I tested the workflow on single end and paired end reads.
Trough the QC workflow I keep the the reads in tree files R1, R2 and single+merged pairs. This generates a lot intermediate files but makes it easier to have the same rule accept paired and single end files.
If the reads are paired or not are determined globally, I hope this isn't a problem.
The bbnorm function is a bit clumsy, because it needs also to accept R1,R2 and contig when only the partial workflow is used.


Added cli cert command, changed keylisting to be a map

Added a new cli cert command
Changed the keylisting to be a map instead of list
Fixed removal of normal keys, and force root keys deletion to need -r

Signed-off-by: Diogo Monica<EMAIL_ADDRESS>

Noted a few things, but looks good to me in general. I'd suggest checking for conflicting arguments in certRemove, but the other suggestions are optional.


Fixed an error in server with the Place and PickUP overrides

Moved the functions override to a events based functions to fix an error in the server booting process.

Thanks for all the work you are doing on this, I haven't had much time to do anything on it, but if you want to get in direct contact with me, come join the discord: https://discord.gg/ePBp3hMr

You are welcome!.
I like this proyect because add something that is very important in game too, like electricity, and it keeps the realism. I'll try to do improvements if I have some time ;)
Best regards.


Add download directory pattern and better support for Google Document

Pass IUniversalDownloaderPlatformSettings for add feature (download directory pattern)
Fix the Download of Zero length file for Google Document file.

Ok, while working on this I've got a question - why have you decided to default files without extensions to pdf in google drive plugin?

Alright, I think I get why you did that. Let's hope that refactored code works correctly

Ok, while working on this I've got a question - why have you decided to default files without extensions to pdf in google drive plugin?

At first I tried text/plain, but lost all the images in the document. I thought to myself that PDF was more universal than DOCX. I couldn't figure out how to tell if the document was a text file or something else.


Cannot find eval caption index file when testing image/text retrieval ..

First of all, many thanks for your sharing VinVL model.
However, when I used Flickr-30k pre-extracted features to finetune for Oscarplus base to evaluate Image/Text Retrieval, I found I missed --eval_caption_index_file minival_caption_indexs_top20.pt. So would you mind sharing the download link?  Where could i get the minival_caption_indexs_top20.pt?
Thanks!

Hi, I meet the same issue. Did you finally solve that?

Same here, any idea?

Hi, I meet the same issue. Did you finally solve that?

Same here, any idea?

Download through:
azcopy copy 'https://biglmdiag.blob.core.windows.net/vinvl/datasets/coco_ir' ./ --recursive


Improve palette generation for palettes <16 colors

The palettes that are generated when aiming to use less than 16 colors could benefit for a more specialized algorithm for this use case.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


Windows CI

add Windows CI using Github action
update readme
remove benchmark from testsuite

I think we could easily integrate the Linux build here too. Should I add that or do you prefer to keep the Linux CI on Travis? @jonathan-beard

I think we could easily integrate the Linux build here too. Should I add that or do you prefer to keep the Linux CI on Travis? @jonathan-beard

bitte sehr! keeping everything in one place seems a much easier way to maintain it.

Added both Linux and MacOS jobs.
However, @jonathan-beard you gotta check affinity lib again, does not build on MacOS as of now (some problem with a header not being found in the simple.cpp test).

Unfortunately, I have not found a way to create a status badge for a single job, thus, there is only one badge for everything instead of a badge per platform

Added both Linux and MacOS jobs.
However, @jonathan-beard you gotta check affinity lib again, does not build on MacOS as of now (some problem with a header not being found in the simple.cpp test).

bummer. I wonder if I have header files lurking somewhere in my path that allowed it to build. will check.

Gonna merge then we’ll fix the affinity lib issues for OS X, I think I’m gonna have to find a clean install to test it on.


Param functions should return error

Story: Param functions should return error.
This is required because any pipe/component should be able to call functions that return errors. phono.ParamFunc should return error in order to handle it.

This is a bad design decision because it'll create big problem to handle such errors properly.
Params are applied in runners and state machine. So far, I don't see a clear way of communication errors without returning them from pipe.Push. This will add a need to wait for receive of message for every passed param.
Outline: Param functions must not call methods which return error.
Close for now.


Refactor LinterId from string to Enum to resolve TODO

Resolve TODO item in https://github.com/microsoft/vscode-python/blob/master/src/client/linters/types.ts#L15
See PR #12116
code-health tag please :-)

Q: Do I need to file an issue in future for PRs like this?

@tonybaloney Yes, please.

PR is merged.


cannot import 'moldesign' after seems to be successful installation

on Fedora 21 Linux (Python 2.7.8), I installed with:  pip install -U moldesign
than tried: >>> import moldesign as mdt , which lead to:
/usr/lib/python2.7/site-packages/nbmolviz/init.py:123: UserWarning: Exception while trying to enable nbmolviz extensions: [Errno 13] Permission denied: '/usr/local/share/jupyter'
warnings.warn('Exception while trying to enable nbmolviz extensions: %s' % e)
Installing Jupyter nbmolviz-js extension...
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/site-packages/moldesign/init.py", line 29, in
from . import widgets
File "/usr/lib/python2.7/site-packages/moldesign/widgets/init.py", line 9, in
from .computeconfig import *
File "/usr/lib/python2.7/site-packages/moldesign/widgets/computeconfig.py", line 20, in
from pip._vendor.packaging import version
ImportError: No module named packaging
Strangely, "sudo pip install packaging" does not help:  >>> import moldesign as mdt, now leads to:
Traceback (most recent call last):
File "/bin/jupyter-nbextension", line 11, in
sys.exit(main())
File "/usr/lib/python2.7/site-packages/jupyter_core/application.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "/usr/lib/python2.7/site-packages/traitlets/config/application.py", line 658, in launch_instance
app.start()
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 969, in start
super(NBExtensionApp, self).start()
File "/usr/lib/python2.7/site-packages/jupyter_core/application.py", line 256, in start
self.subapp.start()
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 877, in start
self.toggle_nbextension_python(self.extra_args[0])
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 853, in toggle_nbextension_python
logger=self.log)
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 459, in enable_nbextension_python
logger=logger)
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 374, in _set_nbextension_state_python
m, nbexts = _get_nbextension_metadata(module)
File "/usr/lib/python2.7/site-packages/notebook/nbextensions.py", line 1140, in _get_nbextension_metadata
m = import_item(module)
File "/usr/lib/python2.7/site-packages/traitlets/utils/importstring.py", line 42, in import_item
return import(parts[0])
ImportError: No module named nbwidgetsextension
There's no 'nbextensions' available via: pip install nbextensions !
It is also not documented, how to install those missing extensions.
Completely stuck !
Frank
Completely stuck !

Any solution to this?  The same problem arises with the moldesign  channel conda package version 2<IP_ADDRESS>2 (using a clean conda python 2.7 environment on ubuntu). Tried to manually install to "activated" environment with jupyter nbextension install nbmolviz --py --sys-prefix no joy...tries to install to /usr/local/share/jupyter.


App crashes when hitting "Notifications" in preferences

Summary
When clicking "Notifications" items in Account preferences, it crashes with my custom server (but not on pre-release.mattermost.com).
Environment Information

Device Name: emulator (real device too)
OS Version: 7.1.1
Mattermost App Version: git master and/or 1.0(version 30)
Mattermost Server Version: 3.9.0

Steps to reproduce
Log in to your account -> open account Settings menu -> click on Notifications item
I don't think my server configuration makes sense at this point, but please tell me if additional info are needed.
Expected behavior
Notifications configuration activity pops up.
Observed behavior
Application crashes with the following error: undefined is not an object (evaluating 'emailPreferences.get(_constants.Preferences.EMAIL_INTERVAL).value')

Obviously disabling Enable Email Batching in System console -> Email fixes the problem because we don't go in the problematic if anymore. I believe this is the reason why pre-release.mattermost.com does not crash.

Hi @bagage - thanks for the report!
I filed a ticket here to track the issue: https://mattermost.atlassian.net/browse/RN-147

Fixed in Build 31+


[0.5pt] Add footer - group task

Create footer according to the wireframe:

Pull request with this task


Add response handler

Added a wrapper for apiMiddleware so user can pass his own check if response is OK
User can import as usual apiMiddleware
Or can import function createMiddleware that when called with options will return the apiMiddleware
TODO:

[x] global response OK handler
[x] ~global JSON response handler~
[x] per-request response OK handler
[x] ~per-request JSON response handler~
[ ] Write tests
[ ] Add JsDocs
[ ] Update docs.

Closes #170

Coverage remained the same at 100.0% when pulling 0003ca4b81399b334561b1fbf0dd1b26c5be1698 on iamandrewluca:custom-error-evaluation into ec666f7a40acfe6f7e3ec93453c491d9a12c5751 on agraboso:master.

@nason Yes for response check makes sense per-request basis.
When I'll have more time, I'll try to add this:

[ ] global response OK handler
[ ] global JSON response handler
[ ] per-request response OK handler
[ ] per-request JSON response handler

Hey @iamandrewluca are you still interested in working on this?
My opinion is that adding per-RSAA options (vs global middleware config) is the most useful for now, but I could be convinced otherwise 😆

@nason Yes, still interested, don't have so much time. Next week, I'll try to add some bits of code. 😉

@nason it seems that #174 fixes the problem with JSON handling.

Does this solve redirect handling? Is there an ETA?
At the moment redirects cause broken ApiError

@shulcsm yes, with this PR, you could do your own response status handling, need to write some test, and may be merged.

@iamandrewluca I opened #194 from this branch, rebased it onto next (cut for 3.0 release), did a little cleanup, added docs, tests, and added error handling around the ok(res) call.
I'm going to close this PR and merge the updated one into next. Thank you so much for your help here!

This has been released in 3.0.0-beta.0

@nason Thanks! :octocat:

Any example what is good practice here?


feature: support password decryption

Ⅰ. Describe what this PR did
support druid encryption and decryption
Ⅱ. Does this pull request fix one issue?

fix #2665
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2667 into develop will increase coverage by 0.41%.
The diff coverage is 5.12%.

@@              Coverage Diff              @@
##             develop    #2667      +/-   ##
=============================================
+ Coverage      50.22%   50.63%   +0.41%
+ Complexity      2954     2814     -140
=============================================
  Files            588      557      -31
  Lines          18929    17991     -938
  Branches        2286     2146     -140
=============================================
- Hits            9507     9110     -397
+ Misses          8480     8010     -470
+ Partials         942      871      -71

Impacted Files
Coverage Δ
Complexity Δ

...ava/io/seata/core/constants/ConfigurationKeys.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...ata/core/store/db/AbstractDataSourceGenerator.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...o/seata/server/store/DruidDataSourceGenerator.java
68.75% <16.66%> (ø)
3.00 <1.00> (?)

...ing/annotation/GlobalTransactionalInterceptor.java
8.80% <0.00%> (-15.61%)
2.00% <0.00%> (-5.00%)

...main/java/io/seata/core/rpc/netty/RmRpcClient.java
30.76% <0.00%> (-10.90%)
9.00% <0.00%> (-1.00%)

...main/java/io/seata/core/rpc/netty/TmRpcClient.java
63.04% <0.00%> (-8.15%)
9.00% <0.00%> (-1.00%)

...eata/core/rpc/netty/AbstractRpcRemotingClient.java
18.95% <0.00%> (-3.65%)
6.00% <0.00%> (-2.00%)

...src/main/java/io/seata/server/ParameterParser.java
45.83% <0.00%> (-2.82%)
11.00% <0.00%> (+3.00%)
:arrow_down:

...in/java/io/seata/config/AbstractConfiguration.java
25.92% <0.00%> (-2.65%)
6.00% <0.00%> (-1.00%)

...rc/main/java/io/seata/common/util/StringUtils.java
14.22% <0.00%> (-2.45%)
10.00% <0.00%> (-1.00%)

... and 81 more

add publicKey to config.txt

Codecov Report

Merging #2667 into develop will decrease coverage by 0.15%.
The diff coverage is 31.68%.

@@              Coverage Diff              @@
##             develop    #2667      +/-   ##
=============================================
- Coverage      50.57%   50.42%   -0.16%
- Complexity      3161     3168       +7
=============================================
  Files            598      599       +1
  Lines          19702    19750      +48
  Branches        2443     2402      -41
=============================================
- Hits            9965     9959       -6
- Misses          8749     8779      +30
- Partials         988     1012      +24

Impacted Files
Coverage Δ
Complexity Δ

...ava/io/seata/core/constants/ConfigurationKeys.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...eata/core/store/db/AbstractDataSourceProvider.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...seata/server/storage/redis/JedisPooledFactory.java
31.25% <0.00%> (-8.75%)
4.00 <0.00> (ø)

...rc/main/java/io/seata/common/util/ConfigTools.java
54.23% <54.23%> (ø)
9.00 <9.00> (?)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/BranchReportRequestConvertor.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (ø%)

...obuf/convertor/BranchRollbackRequestConvertor.java
92.00% <0.00%> (-8.00%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

... and 32 more

你们好，我看所有关于加解密的都会被引导到这个地方，但是我没有在这个地方找到如何进行加解密的方式，或许这个文章中提到了一些关键词，但是我对这个方面的知识比较少，目前还是不知道怎么加解密，如果有人知道的话，请告知具体的方式，感谢

Hello, I see that everything about encryption and decryption leads to this place, but I didn't find how to encrypt and decrypt in this place. Maybe there are some keywords mentioned in this article, but I have little knowledge about this. I still don't know how to encrypt and decrypt. If anyone knows, please tell me how. Thanks.


Starting Crouton in a tab

Hey there guys, I have a brand new trusty chroot with xiwi and I didn't bother to install x11 or xorg when setting up the chroot. I try to start unity and it doesn't populate inside a tab. I was wondering if there was a special setting that I am suppose to have for crouton in a tab to work. If not what might I be doing wrong?

To enter the chroot you will need to use the command, "sudo enter-chroot". That will allow you to work outside of the desktop environment. To enter the Desktop environment to have a GUI you will need to use the command, "sudo startunity". I hope that helps you.

Using sudo startunity from within the chroot will not work.
Do not launch gnome-session-wrapper as root inside the chroot.

As an experiment I tried startunity, by itself, and that launches unity from a window with no problem. If anyone does have an issue I found this command sudo enter-chroot -n trusty exec env XMETHOD=xiwi startunity and then to go back to xorg there is this command sudo enter-chroot -n trusty exec env XMETHOD=xorg startunity
So to reiterate, I had to do sudo enter-chroot then I did startunity  from within the chroot.

I apologize to you. I misunderstood the question. I had done a little research about this now though, and I have noticed that there is an extension that can be added to a persons chromebook to assist with the integration. The link for that is posted below:
https://chrome.google.com/webstore/detail/crouton-integration/gcpneefbbnfalgjniomfjknbcgkbijom
I also have noticed that the x11 extension is needed if I am understanding this correctly. Here is an article posted below as well about running Ubuntu in a tab if you would like to read it. I hope this helps you out more.
http://liliputing.com/2014/12/crouton-chromebooks-run-ubuntu-browser-tab.html

You have to specify -t xiwi,unity in that order.


Display Interest as Icon + text in Discover Page recycler view as well as in Full Profile page

Closed this as it was a duplicate of Issue #113


Fix or ignore remaining ruff checks

This is some minor housekeeping to resolve the currently failing pre-commit checks.
Adds local ignores for S607 pending a proper fix.
Closes #36, cherry-picking the pre-commit tool updates.
Given the existence of conflicting and deprecated rules in ruff check, there ought to be a better approach to using ruff with all rules...

Adds local ignores for S607 pending a proper fix.

Linking #32 as this is the suggested long-term fix and should allow us to remove any local instructions to ignore the rule.

Given the code used Path(indir) my inference was indir was assumed to be a string. Perhaps it can be either?
(In fact, I'm not sure the function is currently used at all)

I don't immediately see why COM812 for trailing commas should clash with ISC001 (implicit string concatenation), but personally I'd rather have the latter checked. I think the ruff/black formater itself does a sensible job with trailing commas anyway.

Other the codecov, the tests are all green - OK to merge this now?

Brilliant - thanks @peterjc !


Can not start svc-cat service with helm

When I install service-catalog following the installation, some errors occurred as follows after I run helm install svc-cat/catalog \     --name catalog --namespace catalog:
Error: parse error in "catalog/templates/apiregistration.yaml": template: catalog/templates/apiregistration.yaml:1: function "genCA" not defined

Here is my environment:
os version: Ubuntu 16.04.2 LTS
go version: go1.9.2 linux/amd64
k8s version: v1.9.0 (make from source code)
Thanks!

Perhaps running helm install with --debug will help show where the issue is.

Thanks, but I don't think it would help a lot.
root@test:~# helm install svc-cat/catalog     --name catalog --namespace catalog --debug
[debug] Created tunnel using local port: '39872'

[debug] SERVER: "localhost:39872"

[debug] Original chart version: ""
[debug] Fetched svc-cat/catalog to /root/.helm/cache/archive/catalog-0.1.5.tgz

[debug] CHART PATH: /root/.helm/cache/archive/catalog-0.1.5.tgz

Error: parse error in "catalog/templates/apiregistration.yaml": template: catalog/templates/apiregistration.yaml:1: function "genCA" not defined

You need to be using Helm 2.7.0 or higher. The genCA template function does not exist prior to that. iirc, installation documentation does make note if the 2.7.0+ requirement.

@krancour Thanks! It turns out that my helm version is v2.6.2, and everything works fine after I upgrade it to v2.8.0


Table prefix doesn't work

I'm using cycle in Yii3 application, cycle/migration 4.0.1
Config:
        'dbal' => [
            'databases' => [
                'primary' => [
                    'driver'  => 'mysql',
                    'prefix'  => 'primary_'
                ],
                'default' => ['connection' => 'mysql'],
            ],
        ],

        'migrations' => [
            'directory' => '@root/migrations',
            'namespace' => 'App\\Migration',
            'table' => 'migration',
            'safe' => false,
        ],

Migration:
    public function up(): void
    {
        $this->table('user')
            ->addColumn('id', 'primary')
            ->addColumn('status_id', 'integer', ['length' => 1])
            ->addColumn('created_at', 'timestamp')
            ->addColumn('token', 'string', ['length' => 32])
            ->addColumn('login', 'string', ['length' => 16])
            ->addColumn('password_hash', 'string', ['length' => 32])
            ->create();
    }

What I expect:

created empty table primary_migration
created table primary_user

Result:

created empty table primary_migration
migration filled in table migration (without prefix)
table user created without prefix

@BaBL86 Hi, I was unable to reproduce the issue using the Spiral Framework.
I created a test application, added a test entity, and set up a database connection and a prefix. Generated and executed the migration:
https://github.com/msmakouz/migrations-prefix

Please try to reproduce the issue using the Spiral Framework. When using Yii 3, the issue may be at the level of integration of the framework and database and migrations.

Feel free to reopen the issue if the problem is still actual


FB reels

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi, why yt-dlp is unable to download facebook reels while the very old youtube-dl can do the job very well?
thanks.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

do this:

Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
Copy the WHOLE output (starting with [debug] Command-line config) and insert it below


API Token, X-Papertrail-Token header

I don't see any implementation that accepts X-Papertrail-Token header to pass the token.
Cheers,
Liviu

The X-Papertrail-Token header is used for API access, as for https://github.com/papertrail/papertrail-cli. It's not used for log submission, though. Head over to https://papertrailapp.com/dashboard and click "Add Systems" (upper right corner) to see your settings for sending logs.

On Mar 5, 2015, at 7:36 AM, Liviu Ignat<EMAIL_ADDRESS>wrote:
I don't see any implementation that accepts X-Papertrail-Token header to pass the token.
—
Reply to this email directly or view it on GitHub.

Absent @troy's feedback, was there a specific reason you believe we need to be doing API access as well?

Hi,
I was investigating it as a Heroku add-on and from the interface they provide with papertrail, port and hostname are nowhere to be found, so I initially thought they dropped the hostname and port connection. I just created a new account via their site and it works.
Thanks for the prompt answers,
Cheers,

If you're using Heroku, you can provision the Papertrail add-on and send logs to stdout (like this). No need to use winston-papertrail at all, nor care about the destination. If you're using winston, the Console transport is probably the best fit.
Here's the tradeoffs of different ways to log to Papertrail from Heroku apps.


Release of version <IP_ADDRESS> of xWebAdministration

Releasing version <IP_ADDRESS>

Hi @kwirkykat, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Katie Keim). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Maven dependency?

Would be nice to just include the library as a dependency.

+1. But I think he will add it when the library gets closer to the final
release.
El 3/2/2015 8:14, "stephanemaarek"<EMAIL_ADDRESS>escribió:

Would be nice to just include the library as a dependency.
—
Reply to this email directly or view it on GitHub
https://github.com/TonicArtos/SuperSLiM/issues/12.

+1

Thanks man! Can you post the right depency here or in the read me? Really
appreciate your work
On Feb 10, 2015 5:12 PM, "Tonic Artos"<EMAIL_ADDRESS>wrote:

Closed #12 https://github.com/TonicArtos/SuperSLiM/issues/12 via 1d4e648
https://github.com/TonicArtos/SuperSLiM/commit/1d4e6483de21c88669ea8dd5b94a22e10b1c61e6
.
—
Reply to this email directly or view it on GitHub
https://github.com/TonicArtos/SuperSLiM/issues/12#event-233313094.

I only just uploaded it and I haven't tested using it from maven yet. Please let me know how it goes.
dependencies {
compile 'com.tonicartos:superslim:0.1-SNAPSHOT'
}

Didn't work for me yet
Will retry in a few
On Feb 10, 2015 5:19 PM, "Tonic Artos"<EMAIL_ADDRESS>wrote:

I only just uploaded it and I haven't tested using it from maven yet.
Please let me know how it goes.
dependencies {
compile 'com.tonicartos:superslim:0.1-SNAPSHOT'
}
—
Reply to this email directly or view it on GitHub
https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73729151.

I published on maven central. Try adding that to your repositories
enclosure. Otherwise you'll have to wait for jcenter to pick it up.
On Tue Feb 10 2015 at 16:23:29 stephanemaarek<EMAIL_ADDRESS>wrote:

Didn't work for me yet
Will retry in a few
On Feb 10, 2015 5:19 PM, "Tonic Artos"<EMAIL_ADDRESS>wrote:

I only just uploaded it and I haven't tested using it from maven yet.
Please let me know how it goes.
dependencies {
compile 'com.tonicartos:superslim:0.1-SNAPSHOT'
}
—
Reply to this email directly or view it on GitHub
<https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73729151
.

—
Reply to this email directly or view it on GitHub
https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73729998.

Okay I'll try tomorrow
On Feb 10, 2015 5:26 PM, "Tonic Artos"<EMAIL_ADDRESS>wrote:

I published on maven central. Try adding that to your repositories
enclosure. Otherwise you'll have to wait for jcenter to pick it up.
On Tue Feb 10 2015 at 16:23:29 stephanemaarek<EMAIL_ADDRESS>wrote:

Didn't work for me yet
Will retry in a few
On Feb 10, 2015 5:19 PM, "Tonic Artos"<EMAIL_ADDRESS>wrote:

I only just uploaded it and I haven't tested using it from maven yet.
Please let me know how it goes.
dependencies {
compile 'com.tonicartos:superslim:0.1-SNAPSHOT'
}
—
Reply to this email directly or view it on GitHub
<
https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73729151
.

—
Reply to this email directly or view it on GitHub
<https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73729998
.

—
Reply to this email directly or view it on GitHub
https://github.com/TonicArtos/SuperSLiM/issues/12#issuecomment-73730550.

 I've made a release on MavenCentral instead. It'll take a couple of hours to sync... because MavenCentral. Anyway, when it has I'll check it and see if I got everything correct.


Shift-Ins in console pastes text, but doesn't execute it

From<EMAIL_ADDRESS>on 2011-12-15T02:37:22Z
Spyder Version:  2.1.5
Python Version:  2.7.2
Qt Version:      4.8.0, PyQt4 (API v1) 4.8.6 on Linux
What steps will reproduce the problem?

Select the text below and press Ctrl-Ins to copy to 'clipboard' (not sure if Linux has this notion)
import time
t0 = time.time()
for i in range(10000):
print i

print time.time()-t0
2.Switch to any Spyder console and press Shift-Ins to paste
3.Press Enter What is the expected output? What do you see instead? Text is pasted, new prompt is shown, but commands are not executed. If you
paste text using context menu, everything works ok.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=884

From ccordoba12 on 2014-08-10T17:30:39Z
Status: Duplicate
Mergedinto: 1445

From ccordoba12 on 2014-08-10T17:32:19Z
Shift+Ins needs to be handled in code to cover this case
Status: Accepted
Mergedinto:


Negative index when case matching

In https://github.com/yatima-inc/introit/blob/fd6cf9b0f2c2d50b779b25c609160322a0429a8d/Parser.ya#L104
def State.compare (S E: Type) (x y: State S E): State S E
  = (case x) (λ _ => State S E) (λ x_pos _ _ _ =>
      (case y) (λ _ => State S E) (λ y_pos _ _ _ =>
        (case (Nat.lte x_pos y_pos)) (λ _ => State S E) x y
      )
    )

errors with
thread 'main' panicked at 'Negative index found.', core/src/dag.rs:843:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Simpler example:
package Test
  import Nat as Nat
  import Nat (Nat)
  import Text as Text
  import Text (Text)
  import Bool as Bool
where

def State: Type =
  @self ∀
  (0 P: ∀ (State) -> Type)
  (& new: ∀ (pos: Nat) -> P (data λ P n => n pos))
  -> P self

def State.new (pos: Nat) : State
  = data λ P n => n pos

def State.compare (x y: State): State
  = (case x) (λ _ => State) (λ x_pos =>
      (case y) (λ _ => State) (λ y_pos =>
        (case (Nat.lte x_pos y_pos)) (λ _ => State) x y
      )
    )

def State2: Type =
  @self ∀
  (0 P: ∀ (State2) -> Type)
  (& new: ∀ (pos: Nat) (txt: Text) -> P (data λ P n => n pos txt))
  -> P self

def State2.new (pos: Nat) (txt: Text): State2
  = data λ P n => n pos txt

def State2.compare (x y: State2): State2
  = (case x) (λ _ => State2) (λ x_pos _ =>
      (case y) (λ _ => State2) (λ y_pos _ =>
        (case (Nat.lte x_pos y_pos)) (λ _ => State2) x y
      )
    )

State2 causes the error, but State1 is fine. Replacing x_pos with 0 also works

More information:
I checked the variable indices that we parse on State2.compare:
λ yatima show -t anon bafy2bzacecyomr7hwg2bxzqxhpknzg6jopazesnclkdcdxy2tse2yotcyietu
Lam(Lam(App((App((Cse(Var(1)), Lam(Ref(Cid(bafy2bzacedtlqmvsbcxhnopa4qmw6pvz4olho5yyu425d3w6ndmk574gjmbwk))))), Lam(Lam(App((App((Cse(Var(2)), Lam(Ref(Cid(bafy2bzacedtlqmvsbcxhnopa4qmw6pvz4olho5yyu425d3w6ndmk574gjmbwk))))), Lam(Lam(App((App((App((Cse(App((App((Ref(Cid(bafy2bzacedkvcdx67g2eqqrrxaqxix53b2nvofb5luxf6yp2fwlctx4sf55mk)), Var(3))), Var(1)))), Lam(Ref(Cid(bafy2bzacedtlqmvsbcxhnopa4qmw6pvz4olho5yyu425d3w6ndmk574gjmbwk))))), Var(5))), Var(4)))))))))))))

(you can get the CID of the term_anon via yatima parse, although there's some line noise I should clear up there)
(Nat.lte x_pos y_pos) is (Ref(Cid(bafy2bzacedkvcdx67g2eqqrrxaqxix53b2nvofb5luxf6yp2fwlctx4sf55mk)), Var(3))), Var(1))))
So this appears to be purely an issue in dag::term_from_inner

Issue solved at gb/check-lty-fix


I can not see the Loafwallet in the Korean iOS App Store.

I can not see the Loafwallet in the Korean iOS App Store.
Why did it suddenly disappear?
When can I get it?

We had to transition to a team sized app developer account as we have significantly grown the team at Litecoin-Foundation. By changing the app id, their were some issues.
First...please store your seed (12 word phrase).  A lost seed is a terrible tragedy and LF cannot do anything to find it.
v2.0.5 is live in the App Store.  Please check it out.

Closing due to inactivity.


Mode = spell doesn't work properly

I tried to use Bing Spell Check in Dutch, and for that to work I should use mode = spell instead of mode = proof, and unfortunately this only allows me to use 130 characters according to your documentation. The strange thing is that this mode doesn't actually accept 130 characters, it defers per string on how many characters it will accept before returning an empty object without any results. I've found times where it only goes up to 70 characters before returning empty, and other times it will actually take 122 characters. I don't know if I'm doing something wrong or that it might be a bug somewhere. Do you have any help on this?

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

ID: 0a81d6ae-75e4-aadc-d70e-4a6478a85145
Version Independent ID: 73db6138-5e6c-e8ef-96f6-1bc4c1a5b079
Content: C# Quickstart for Bing Spell Check API - Azure Cognitive Services
Content Source: articles/cognitive-services/Bing-Spell-Check/quickstarts/csharp.md
Service: cognitive-services
GitHub Login: @v-jaswel
Microsoft Alias: v-jaswel

@Mike-Ubezzi-MSFT please reassign to @aahill

Fixed and merged: https://github.com/Azure/azure-docs-rest-apis/pull/2136

#please-close


with_terminal() possibly stopped working with Pluto 0.17.6

Hi it seems that the new logging stuff interfers with with_terminal(). Not that I wouldn't prefer logging, but for backwards compatibility this could be a problem, see the notebook in   https://gist.github.com/j-fu/550df5a6bdb58350c43746d5e8ae453c .

Looks to be working alright on main I think!

Ah ok. I can confirm this. Thanks for the response!


BUG: Transmitter losing next transmitter

I forgot to make this when i last did my test, however while testing the new update, i noticed that if you break the next transmitter in a transmitter line (or loop) while items are moving on it, it will not try and find a new one and the item will be stuck in the the transmitter it was last in. If you break the transmitter with the item stuck in it, it will drop the items and fix the issue for future items.

That sounds intentional - items should not move back to the transmitter they came from. But maybe I am misunderstanding something here, so could you please show a video or give a detailed step-by-step reproduction scenario?

Place down a line of transmitters with a reciever and emitter with max upgrades.
Transfer a lot of items
While items are moving break a transmitter in the line.
Replace the transmitter broken.
items will not be sent to it, (it was not like this before)


Use crossbeam channel to replace std::channel

If we want to use crossbean channel, we must use pubsub, It's a little weird.

NO. if you want to use start_pubseb, you need to use pubsub, you can use crossbeam as you want.

If we want to use crossbean channel, we must use pubsub, It's a little weird.

I prefer to say that: if we want to use the same channel as pubsub, we can use pubsub::channel.
If we want use another channel, that is OK, for example:
https://github.com/cryptape/cita/blob/dd3e0cea53b9f96c3bcd9d387d5eead7042646d1/cita-executor/src/main.rs#L176-L181
https://github.com/cryptape/cita/blob/9e25a72c347f5e9c9b820af9689306e442018fba/cita-network/src/connection.rs#L406

If we want to use crossbean channel, we must use pubsub, It's a little weird.

I prefer to say that: if we want to use the same channel as pubsub, we can use pubsub::channel.
If we want use another channel, that is OK, for example:
cita/cita-executor/src/main.rs
Lines 176 to 181 in dd3e0ce
let (mq_req_sender, mq_req_receiver) = crossbeam_channel::unbounded();
let (mq_resp_sender, mq_resp_receiver) = crossbeam_channel::unbounded();
let (fsm_req_sender, fsm_req_receiver) = crossbeam_channel::unbounded();
let (fsm_resp_sender, fsm_resp_receiver) = crossbeam_channel::unbounded();
let (command_req_sender, command_req_receiver) = crossbeam_channel::bounded(0);
let (command_resp_sender, command_resp_receiver) = crossbeam_channel::bounded(0);
cita/cita-network/src/connection.rs
Line 406 in 9e25a72
pub fn manage_connect(config_path: &str, rx: StdReceiver, task_send: Sender) {

I see.


flake8/pylint have a lot of critique

Builds fail because of flake8.

To be solved together with #14 .


Alamofire.request.responseData must call in main thread?

I did this in background thread:
Alamofire.request(request.method, request.URLString, parameters: request.parameters, encoding: request.encoding, headers: request.headers).responseData

but when I debug with Instruments,it shows the Alamofire request and responseData clousure are also run in main thread,why?

From the code,
    public func response<T: ResponseSerializerType>(         queue queue: dispatch_queue_t? = nil,         responseSerializer: T,         completionHandler: Response<T.SerializedObject, T.ErrorObject> -> Void)         -> Self
If you do not specify a queue,it will use a default value of nil, and
dispatch_async(queue ?? dispatch_get_main_queue()) { completionHandler(response) }
nil means main queue is used then.

@wizzardchao  Oh,you are right!

Why is the main thread a reasonable default? In a simple script, this means requests can never be executed! If I'm missing something fundamental, I'd appreciate an answer on that SO question.

@reitzig, because Alamofire executes in the background, your main thread completes and exits the program before Alamofire has a chance to finish. You'll need to implement a RunLoop to keep your main thread alive until Alamofire has completed.
As an aside, you'll need to do this for any executable runs processes in the background.
import Foundation
import Alamofire

var shouldRun = true

Alamofire.request("https://httpbin.org/get").responseJSON { response in
    print(response.request)  // original URL request
    print(response.response) // HTTP URL response
    print(response.data)     // server data
    print(response.result)   // result of response serialization

    print(response)
    shouldRun = false
}

print("Done")

let loop = RunLoop.current
let loopShouldStart = loop.run(mode: RunLoopMode.defaultRunLoopMode, before: Date(timeIntervalSinceNow: 2))

while (shouldRun && loopShouldStart) { }

Done
Optional(https://httpbin.org/get)
Optional(<NSHTTPURLResponse: 0x7f8491132c80> { URL: https://httpbin.org/get } { status code: 200, headers {
"Access-Control-Allow-Origin" = "";
"Content-Length" = 330;
"Content-Type" = "application/json";
Date = "Tue, 21 Feb 2017 21:05:32 GMT";
Server = nginx;
"access-control-allow-credentials" = true;
} })
Optional(330 bytes)
SUCCESS
SUCCESS: {
args =     {
};
headers =     {
Accept = "/*";
"Accept-Encoding" = "gzip;q=1.0, compress;q=0.5";
"Accept-Language" = "en-US;q=1.0";
Host = "httpbin.org";
"User-Agent" = "Unknown/Unknown (Unknown; build:Unknown; OS X 10.12.3) Unknown";
};
origin = "<IP_ADDRESS>";
url = "https://httpbin.org/get";
}

@joshfreemanIO Thanks for your response!
In fact, I observe that Almofire does not execute the request: if I do what you propose, the application hangs. (I'm on a MacOS target, if that's relevant.)

Aha! I needed to do .response(queue: DispatchQueue(label: "hds-fiddling")) in addition.
Still seeing that error in the production project, though. :/

Turns out the issue in production was unrelated: using URLSessionConfiguration.background(withIdentifier: "my-id") as parameter for Alamofire.Sessionmanager(configuration: _) turns out not to be a good idea, for what ever reason. The error message is very obscure, and it's weird that the same thing seems to work in another project. Is there a bug here, or am I doing something very wrong?


[Feature Request] Extract media from B2S

Would be cool to have VPS open a B2S and easily extract/save the media... a lot of good images/videos in those!

that's what I'm thinking... since you already read the file. I dont know if there is a way to have it export the backglass (with the blinking lights, etc) as a video... I dont know B2S, barely looked at the Designer app but could not find it.

Released with 2.18.0


Overlapping icon + add gui test

Coverage increased (+1.5%) to 83.238% when pulling f75a9d0979f15863c930720ae83f6c47c9cd1645 on ashpa:master into 7a30006205f165557f6f7dd5f739a082e3a746f2 on CS2103JUN2017-T4:master.


Create Simple Password Generator

#173

Hi, I'll be so happy if you merge this little code to your repository :)
Good Luck


Cannot build in Docker container - failed to load config

Describe the bug
Running npm run build inside a node:latest Docker image fails with the error:
 => ERROR [6/6] RUN npm run build                                                                                0.7s
------
 > [6/6] RUN npm run build:
#10 0.434
#10 0.434 ><EMAIL_ADDRESS>build
#10 0.434 > vite build
#10 0.434
#10 0.653 failed to load config from /app/vite.config.js
#10 0.653 error during build:
#10 0.653 Error: The service was stopped
#10 0.653     at /app/node_modules/esbuild/lib/main.js:1222:25
#10 0.653     at /app/node_modules/esbuild/lib/main.js:614:9
#10 0.653     at Socket.afterClose (/app/node_modules/esbuild/lib/main.js:592:7)
#10 0.653     at Socket.emit (node:events:406:35)
#10 0.653     at Socket.emit (node:domain:475:12)
#10 0.653     at endReadableNT (node:internal/streams/readable:1343:12)
#10 0.653     at processTicksAndRejections (node:internal/process/task_queues:83:21)
------
executor failed running [/bin/sh -c npm run build]: exit code: 1

Reproduction
Clone the repo at https://github.com/matbarker/vitejs-docker-repro
Run docker build . -t vitejs-docker-repro
NOTE:
Created with npm init vite@latest vitejs-docker-repro -- --template vue
System Info
System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
    Memory: 11.43 GB / 31.93 GB
  Binaries:
    Node: 16.9.1 - C:\Program Files\nodejs\node.EXE
    npm: 7.23.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 93.0.4577.63
    Edge: Spartan (44.19041.1023.0), Chromium (93.0.961.47)
    Internet Explorer: 11.0.19041.906

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Adding a .dockerignore file with node_modules fixes the issue


Table header row is always centered horizontally

Also reported in https://github.com/GehDoc/textile-js/issues/6.
Describe the bug
The cells of the first row of a table are centered disregarding formatting characters.
To Reproduce
Use this and preview:
|_. Col1          |_=. Col2        |_.  Col3          |
|=.  col1 row1    |   col2 row1    |=.  col3 row1     |
|=.  col1 row end |   col2 row end |=.  col3 row end  |

Expected behavior
As rendered by textile-lang.com, just the second column is centered as specified by _=., the other two columns are not centered horizontally in the first row.

Additional context
This is what is currently rendered in live web editor:

If you check the HTML Output tab of the web editor you can see that the HTML generated is identical to the output from textile-lang.com.
The problem is that browser default styles use centered for all <th> elements. You will need to provide a reset CSS to counter this.


Cleanup types related to the jQuery Event objects.

jQuery.event is a mostly internal namespace - not a type
jQuery.Event is the correct type. Added missing properties.
Any type annotation for jQuery.event should be replaced with jQuery.Event. I don't forsee any other conflicts with the type name changes.
Event listener callbacks no longer have the jQuery.Event argument marked as optional. Fixes #876

Merging with the caveat that we may have to roll back if it breaks someone at Google.

I'll block any other jQuery changes for a week or so to see how this goes.


Fix regression where @seen becomes nil due to JSON parsing

JSON used to raise an exception on an empty file, now it returns nil ...
Should fix #176

:+1:


Feature/add classes

Project features

Create class Person
Create class Student

Inherits from Person.
Constructor extends parent's constructor by adding @classroom and a parameter for it.

Create class Teacher

Inherits from Person.
Constructor extends parent's constructor by adding @specialization and a parameter for it.
Override can_use_services? so it always returns true.

Each class is saved in a separate file and all are in the lib directory.

Thank you @AbelG101
All is fixed

Thank you @thecodechaser


gpt-3.5-turbo-instruct model strange issue

I encountered the following error: cannot unmarshal number into Go struct field GeneralOpenAIRequest.logprobs of type bool, very strange, can anyone help?

I had the same problem. When I changed an api key, this problem was solved.

I had the same problem. When I changed an api key, this problem was solved.

I changed the API KEY, but that didn't fix it. Did you make any other changes?

I had the same problem. When I changed an api key, this problem was solved.我也有同样的问题。当我更改了 api key 后，这个问题就解决了。

I changed the API KEY, but that didn't fix it. Did you make any other changes?我更改了 API KEY，但这并没有解决问题。您还做了其他改变吗？

Change the model in config to 'davinci-002'


Remove obsolete PlaidML code

When we moved most PlaidML plugin code back to the PlaidML repository, I failed to clean up that code from this repo. This PR removes obsolete & redundant code from that move.

When we moved most PlaidML plugin code back to the PlaidML repository, I failed to clean up that code from this repo. This PR removes obsolete & redundant code from that move.

Thanks, I will add this patch in the update.


[Enhancement][Task Plugin] Allows file transfer between tasks

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
DolphinScheduler allows parameter transfer between tasks: https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/parameter/context.html
But it can not allows file transfer between tasks. For example, I have two python scripts to do some analysis work. The second script process the data that come from the first script. I have to pass a path variable as a parameter.
Parameter passing will not work as expected if the two tasks are not the same worker, because actually, the path is not correct.
I think if DolphinScheduler supports this feature, it would be a handy boost for scenarios such as data analysis and machine learning.
Use case
I think we can use the resource center as a file transfer store If the user has enabled the resource center. For example, In the task plugin, we can agree on a new path specification:

use $from_remote(remote_path, local_path) to download file from remote_path to local_path before task start.
use $to_remote(remote_path, local_path) to upload file from local_path to remote_path

The appeal was inspired by AWS Sagemaker
base_uri = f"s3://{default_bucket}/abalone"
input_data_uri = sagemaker.s3.S3Uploader.upload(
    local_path=local_path,
    desired_s3_uri=base_uri,
)
input_data = ParameterString(
    name="InputData",
    default_value=input_data_uri,
)

# This is the path to use directly
ProcessingInput(source=input_data, destination="/opt/ml/processing/input")

Above is the example of Sagemaker. If DolphinScheduler supports it, it should be easier to use it.
Such as
# It will process data and save output data to the local path output/demo.csv, and upload that to bucket1/demo.csv in the resource center after the task is done.
python process_data.py --output=$to_remote('bucket1/demo.csv', 'output/demo.csv')

# It will download data from "bucket1/demo.csv" in the resource center and save it to the local path "output/demo.csv"
# and than the following command actually executes
# python analysis.py --input=data/demo.csv
python analysis.py --input=$from_remote('bucket1/demo.csv', 'data/demo.csv')

Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I'm not sure if I'll be able to implement it anytime soon. If anyone is interested in implementing it, thank you very much

I think this feature depends on configuration center #10283. Otherwise, it is impossible to determine which object to use to store the configuration during uploading and downloading.

close by https://github.com/apache/dolphinscheduler/pull/12552


Listing only the applicable transitions for document

While a new document is being added Instead of listing all the available transitions list only the applicable transitions. At least introduce a new method which does that.

Addresed by PR #53 .


accidentally destructive method?

https://github.com/JNPRAutomate/fluent-plugin-juniper-telemetry/blob/master/lib/fluent/plugin/parser_juniper_analyticsd.rb#L113
this method modifies name, clearly intention was to keep name unchanged.

Hi
it's only used for flat output (Statsd type)
in this mode some characters are forbidden like otherwise it will not work
Unless I missed something, happy to revisit this one if you have a better proposal
Thanks
Damien

My point is you're doing
foo = bar
foo.modify  # you are in-place modifying object_id shared by foo and bar
return foo   # return the common object_id
But you're actually modifying bar as well here. And it looks like the method that intention was not to modify the method argument.


Consfusing screenshot/statement for DisplayActionSheet() that is the same on all platforms

Doc issue description
The below screenshot could be confusing/misleading, people might think that the part of the right (dark one) is done on Android (since previous screenshots are showing iOS and Android renderer aside-by-side), although I it is not the case, because native dialogs on Android don't have a similar default look, It is iOS platform specific: https://developer.apple.com/design/human-interface-guidelines/ios/views/action-sheets/ and Xamarin.Forms is not replicating this same design on Android.
So it should be highlighted that the screenshot is not on Android, the same for this paragraph it is only true for iOS:

The destroy button is rendered differently than the others, and can be left null or specified as the third string parameter. The following example uses the destroy button:

File in question: user-interface/pop-ups.md#L74
Details: https://stackoverflow.com/a/66412914/
Live: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/pop-ups#guide-users-through-tasks

Hi @Cfun1
Thanks for pointing this out. I've fixed it a PR that will go live later this week. When that happens, this issue will be closed.


Keyboard pressing does not trigger submit event for a button inside a form.

😯 Current Behavior
Pressing the space or enter key does not trigger a submit event for type="submit" button inside a form. However, it does trigger the onPress action on button which makes it really confusing.
🤔 Expected Behavior
Pressing the space or enter key should trigger a submit event for type="submit" button inside a form.
💻 Code Sample
https://codesandbox.io/s/weathered-silence-eqr18?file=/src/App.tsx
🌍 Your Environment

Software
Version(s)

react-spectrum
3.3.0

This may be relevant https://github.com/adobe/react-spectrum/pull/904

The PR seems to be stale. Is there any intention to merge and release it any soon?

it stalled because there was no one asking for it, so now it should get some tlc again

is there anything I can do to speed up the process?

Thank you for your offer, the team wants to go over a few options so we'll be making time for it in the next sprint.

thanks for the info!

hi, what's the status of this?


Tuneful forcefully restarts Spotify

When I quit Spotify while Tuneful is running, it forces Spotify to immediately restart. This is undesirable whenever I need Spotify to stay closed.
While I see some utility in this behavior, please at least add a toggle to turn it off, as it is undesirable in many cases. If changing the app to not rely on a running instance is too significant, closing it alongside Spotify would be much more preferable.

I would prefer an option where Tuneful does not restart the closed Spotify, but remains in the menu bar in standby mode until I launch Spotify.
Related #66.

Any updates on this? Still having this issue where i need to shut down Tuneful before attempting to quit spotify. Running on Apple Silicon M4.

I am having the same issue, it would be nice that the tuneful menu bar icon remains in case I want to open spotify easily. If I try to quit spotify it should not re open until I click on the icon in the menu bar.


Matrix block order out of sync from JSON import

I’m really struggling to get a Matrix block imported in the correct order so I have my fingers-and-toes crossed that you can help.
I am creating a JSON file using P&T’s ElementAPI plugin.
To output the Matrix field data, you need to create and empty array and add data to this array as it loops through the blocks. If the data isn’t nested then the second value overwrites the first in the array. With this in mind, I get the following nested output:
{     "data": [         {             "Body": {                 "text": [                     {                         "Body": "
This entry contains content for all blocks to test the import
"                     },                     {                         "Body": "
Another text block
"                     }                 ],                 "video": [                     {                         "YouTube URL": "https://www.youtube.com/watch?v=LtMunDW_cBc"                     },                     {                         "YouTube URL": "https://youtu.be/X7FxX1l2u0I"                     }                 ]             }         }     ] }
Feedme does a great job importing all this data, with the first values for each block imported in the correct order, however, the second value gets appended to the end in an unordered sequence.
Maintaining the order on import is essential for the project I am working on, so I wondered if there is a way to do this.
It would be easy to add each block’s sort order as an additional value, but I guess this would need to be processed by Feedme in some way.
Do you have any ideas?

I have noticed that there is some commented out code within FeedMe_FieldsService.php towards the bottom (line 472-491) that seems to refer to my idea of passing the block sort order attribute within the block data.
I have (temporarily) uncommented this code, however, it seems to have no effect.
I am sure it is commented out for a reason, but from what I understand this method would certainly help with my issue.
Here’s a reduced example of the code generated with the additional order attribute:
{      "data":[         {            "Body":{               "text":[                  {                     "Body":"
This entry contains content for all blocks to test the import<\/p>",                   "order":"1"                },                {                     "Body":"
Another text block<\/p>",                   "order":"9"                }             ],             "video":[                  {                     "YouTube URL":"https:\/\/www.youtube.com\/watch?v=LtMunDW_cBc",                   "order":"3"                },                {                     "YouTube URL":"https:\/\/youtu.be\/X7FxX1l2u0I",                   "order":"8"                }             ]          }       }    ] }
Any help/guidance would very much appreciated.
I would even be willing to pay for your time to look into this as it is key to my project.
Thanks,
Simon

I was wondering if you’ve had a chance to consider this?
With customisation, would it be possible to retrieve the sortOrder value from the craft_matrixblocks table and use it for the order value in FeedMe’s prepMatrix function?
As far as I can work out, this value is derived iterating through the array on line 284 of FeedMe_FieldsService.php
Any assistance would be really appreciated as this has stopped me in my tracks.
Thanks,
Simon

Hey @thoughtfulweb sorry for my lack of response here! Looking into it now

@thoughtfulweb Would you mind posting what would be your expected output from your example? For instance, I need to know your field setup, as my testing seems to order things as I'd expect.
See below screenshots of two different Matrix field with two ways fields are setup. The first one each a different block for Body and Video, while the second in a single block with Body and Video fields.

Thanks for taking the time to look into this. I really do appreciate it.
Here’s the screenshot from Site A:

In this reduced example, I have only used two block types, but the Content Matrix field contains multiple blocks. As you can see, I have ordered these block as TEXT VIDEO TEXT VIDEO
After import, the blocks are ordered TEXT TEXT VIDEO VIDEO like this in Site B:

I need to retain the same order in both Site A and Site B.
As mentioned, I am using P&T ElementAPI plugin to generate the JSON file from Site A. The matrix data it generates is nested, which creates markup like:
{
   "data":[
      {
         "Body":{
            "text":[
               {
                  "Body":"
This entry contains content for all blocks to test the import<\/p>",
                  "order":"1"
               },
               {
                  "Body":"
Another text block<\/p>",
                  "order":"3"
               }
            ],
            "video":[
               {
                  "YouTube URL":"https:\/\/www.youtube.com\/watch?v=LtMunDW_cBc",
                  "order":"2"
               },
               {
                  "YouTube URL":"https:\/\/youtu.be\/X7FxX1l2u0I",
                  "order":"4"
               }
            ]
         }
   ]
}

Essentially this:
Body
   text
      body
      body
   video
      YouTube URL
      YouTube URL

If it is not nested this way then the second instance of body or YouTube URL overwrites the first.
I can’t see anyway to generate the markup like this:
Body
   text
      body
   video
      YouTube URL
   text
      body
   video
      YouTube URL

which I imagine FeedMe prefers.
Having nosed around the code in FeedMe_FieldsService.php I noticed that you’ve commented out code that looks for and order attribute, which I can easily add to the JSON file (as shown in my sample code above).
I was wondering if there is any way to use the value of this attribute to set the order which would overcome the issue of nested data like this?
Thanks,
Simon

Happy to add that code back in - my testing has shown that to produce the output you expect (give your second example with an order attribute).
For instance, using:
{
    "data":[
        {
            "title": "Title",
            "Body":{
                "text":[
                   {
                      "Body":"
This entry contains content for all blocks to test the import<\/p>",
                      "order":"1"
                   },
                   {
                      "Body":"
Another text block<\/p>",
                      "order":"3"
                   }
                ],
                "video":[
                   {
                      "YouTube URL":"https:\/\/www.youtube.com\/watch?v=LtMunDW_cBc",
                      "order":"2"
                   },
                   {
                      "YouTube URL":"https:\/\/youtu.be\/X7FxX1l2u0I",
                      "order":"4"
                   }
                ]
            }
        }
    ]
}

And uncommenting the Matrix processing code in FeedMe_FieldsService.php, I get:

Is this desired behaviour?

Thanks, but just uncommenting that code results in the issue I mentioned when opening this ticket.
If I extend the basic example I’ve given with another (different) block at the end of this order as so:
 "Body":{
    "text":[
       {
          "Body":"
This entry contains content for all blocks to test the import<\/p>",
          "order":"1"
       },
       {
          "Body":"
Another text block<\/p>",
          "order":"3"
       },
       {
          "Body":"
Another text block 3<\/p>",
          "order":"5"
       }
    ],
    "video":[
       {
          "YouTube URL":"https:\/\/www.youtube.com\/watch?v=LtMunDW_cBc",
          "order":"2"
       },
       {
          "YouTube URL":"https:\/\/youtu.be\/X7FxX1l2u0I",
          "order":"4"
       }
    ],
    "gallery":[
       {
          "Title":"Gallery",
          "Images":"http:\/\/new.serious.dev\/images\/images\/1_NW_Album_Shot_920x550.jpg|, http:\/\/new.serious.dev\/images\/images\/131120_Somi_s4_003_by_Glynis_Carpenter.jpg|, http:\/\/new.serious.dev\/images\/images\/15_Nov_Pieranunzi_Zirilli_Guascoyne_Vortex_carousel.jpg|",
          "order":"6"
       }
    ]
 },

This results in:
Body
   text
      body
   video
      YouTube URL
   gallery
      Gallery
   text
      body
   video
      YouTube URL
   text
      body

It appears to be adding any new top-level blocks before it renders the rest of the nested content so, in effect, out of order.
I have also noticed that dropdown fields do not import properly.
I would be happy to give you access to both websites on our development server if that would help, but would need to email you login credentials.
Simon

In fear of becoming an irritation, I really do need some help with this.
As there are no other plugins that come close to this fantastic plugin I am eager to use FeedMe, but this issue has really stopped me in my tracks. I would happily pay for your time to look into this.
I have tried to debug this so I can send more accurate information or fix the issue myself but it is sadly it is proving to be beyond my skills.
Everything I try doesn’t seem to allow the matrix order to be retained and now the dropdown fields have stopped importing data too. See https://github.com/engram-design/FeedMe/issues/66

@thoughtfulweb I apologise for not getting back to you sooner - I'm extremely under the pump with other commitments at the moment, and haven't had a chance to take a deep-dive into this issue. Having said that, I've been looking into this issue since you've requested it, but may very well be a deeper issue. I'm also diving time up between other plugins and Feed Me 2.
I'm working towards a solution, and will let you know in 24 hours.

Thanks and I apologise for applying unwanted pressure. I really do appreciate your help an understand that you’ll have other things going on in your life.
I look forward to hearing from you once you’ve had the chance to review these issues. Cheers.

@thoughtfulweb Thanks for your patience. So first off - postForFieldType() isn't for using an order item in your feed, it was actually put there to re-order Matrix blocks post-import. This was fixed a few releases back, but kept just in case there was some weirdness going on. Its not really relevant here, and simply wont work, because you're not mapping the order item in your feed to anything.
What you're trying to achieve is straying from the norm of how Feed Me should import your data. If you provide Feed Me with the following:
"Body":{
    "text":[
       {"Body":"
This entry contains content for all blocks to test the import<\/p>"},
       {"Body":"
Another text block<\/p>"},
       {"Body":"
Another text block 3<\/p>"}
    ],
    "video":[
       {"YouTube URL":"https:\/\/www.youtube.com\/watch?v=LtMunDW_cBc"},
       {"YouTube URL":"https:\/\/youtu.be\/X7FxX1l2u0I"}
    ]
 }

It will import in that order:
Body
Body
Body
YouTube
YouTube

However - Feed Me lets you perform post-processing on data through a hook. I would recommend creating a plugin that does your custom sorting of data. Normally I would suggest a middle-man script between your feed and Feed Me, but as its coming from another Craft install, this might be easier.
Additionally, to actually get the sorting to work to your needs, you'll need to create a Plain Text field in each Matrix block - otherwise Feed Me doesn't know anything about the order attribute.
I've created a Gist for you to get going with this additional plugin.
Let me know what you think and how that works for you. You may need to pull the latest master which comments back that code in postForFeedMeFieldType, which might mess the ordering up.

This worked perfectly!
Thank you so much for helping find a solution for this issue.
For anyone else who may stumble across this post, the additional feedmecustomsort plugin works perfectly if you are trying to import a JSON feed created using P&T’s ElementAPI plugin, as the data in a Matrix field needs to be nested.
Just make sure you add an additional Sort order field to each Matrix block you’re importing with the field handle sort.
Of course, you also need to make sure this data appearis in your JSON file. I used 'sortOrder' => $block->sortOrder


Lost all groups/tabs, no backups

Hi,
not sure if this is related to just updating to 0.6.2 but I lost all groups and (200+) tabs!!!
Worse: looking into the backup folder, there are only 5-min, 1h and 4h backups (see issue #88) but all those backups are also 'empty'...
Am I completely screwed now?
Am on Win10 w/ latest FF58.

Worse: looking into the backup folder, there are only 5-min, 1h and 4h backups (see issue #88) but all those backups are also 'empty'...

For #88, I answered.
For the empty backup, it is probably because you have no group any more. And the backup system overwrote the files.
Against this, I added a manual back up button for having a back up that is not automatically overwritten. Although less up to date if you don't do it often.
I have no idea of the reason you lost them. I updated without losing anything. On top of that, I have all my back-up and filled.
Without more information, it will be hard to find the source of this problem.
Just in case:

There is error messages in the web console ? (Ctrl+Shift+J)

Am I completely screwed now?

If you have never exported groups manually and you have no filesystem/system backup, I have no solution.

the web console shows the following errors (filtered by "moz-", I hope that is sufficient, I am not at all familiar with the web console)
`Error: Promised response from onMessage listener at initBrowser/Browser.addMessageHandlers@moz-extension://5f2bb1a3-86bd-469d-8429-55fc7d56ebd1/js/common/Browser.js:3:4034 went out of scope  undefined
Error: Promised response from onMessage listener at initBrowser/Browser.addMessageHandlers@moz-extension://5f2bb1a3-86bd-469d-8429-55fc7d56ebd1/js/common/Browser.js:3:4034 went out of scope  undefined
moz-extension://5f2bb1a3-86bd-469d-8429-55fc7d56ebd1/background.html: chrome tabs query did not return a result while changing window focus
Log.js:3
`
Other than that, I am happy to find the problem. All I did is switch the PC off and on again the next morning with everything gone.

Other than that, I am happy to find the problem.

Great!
None of the errors and from Sync Tab Groups.
Have you uninstalled the extension ?

None of the errors and from Sync Tab Groups.
The laptop is off now, but once I have the same problem, I will post the whole console info.

As you have more than one computer, you can share back up between them.
I could but as both FF sessions are not synced, booth do have different groups / tabs -> would absolutely LOVE to have the two computers/groups/tabs in sync!!!

Have you uninstalled the extension ?
No. The groups / tabs were gone once I switched on the laptop in the morning... Must be a bug.
The only thing I can think of from my side is that FF has been closed through the "close window X" instead of the "end FF" (ctrl+shift+q) button. I might have used the X which seems to cause trouble (I think I saw some issue thread here about that). The other things is that FF updated to 0.6.2. No other changes.

I could but as both FF sessions are not synced, booth do have different groups / tabs -> would absolutely LOVE to have the two computers/groups/tabs in sync!!!

I might study this. But it is less priority than 1. Stability and 2. Hidden tabs

The laptop is off now, but once I have the same problem, I will post the whole console info.

Also, If you have data you don't want to share, you can send them by email (cf Firefox Add-On page).

I'm happy to provide as much info as possible to find bugs but I have no programming background and would need clear instructions as to what could be useful for you. Like where logs are etc.

I have tested the extension over and over and things are good in v0.6.3.
If it happens to someone, you can continue on this thread.

Not sure if it's a clue, but the extension lost the "Group Names Sorting" preference, too (the only one I customized).

Not sure if it's a clue, but the extension lost the "Group Names Sorting" preference, too (the only one I customized).

It might be the case all the local data were wiped off. I have no idea if it is the extension or the browser fault.
I am actually working on a logging system to track behavior and errors. With this, you will be able to send it to me. It will improve my debugging capabilities.

Hello, I just noticed I lost all my tabs too ... not sure exactly when, I suspect it was when the UI change happed - at least all backups from the last 3 days only show "empty group list" when I try to restore.

Habe set backup no to one only each day ...

could this be related to closing Firefox via the X (close window) vs closing via "exit" (crtl+shift+Q)?
Although annoying but I am forcing myself to end FF via exit for the last weeks due to the STG issues of loosing tabs etc.
It would be actually great to get some kind of confirmation whether or not it is safe to close FF via X now.

Has not happened to me again (and I always use the X to close FF).
I think it was related to some update of either FF 60 or an update of Sync-Tab-Group extension (when the UI update happened).
Will keep watching it - but for now seems to run stable ...

Marco can you provide me the error log from the preferences ? (End of
settings section)
The back up are in the Groups section in the preferences.
I hope you will retrieve them.
Le lun. 28 mai 2018 à 15:30, Marco Leise<EMAIL_ADDRESS>a
écrit :

Omg, I just lost all my tab groups. No idea how. Just opened Firefox today
and wanted to switch to one of the others, but the list is empty. Where are
the backups stored?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Morikko/sync-tab-groups/issues/89#issuecomment-392527538,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHeAFJjzHBaDAwcwHzfJvQLFmx9CPWt4ks5t2_vsgaJpZM4Sb0ow
.

Here you go: SyncTabGroups-Log-20180529-094349.txt

Simple Tab Groups was able to restore the backups for me.

Ok, this just happened again.  This morning my whole laptop hung.  Powered it off and back on again, and now all the tab groups are gone.  The log shows the extension was reinitialized.
Funny enough, I have the<EMAIL_ADDRESS>directory under git version control.  The storage.js file was simply emptied out and replaced with data from the window that the FF session manager was able to restore.
SyncTabGroups-Log-20180611-155856.json.txt

Where are the automatic backups stored, and why are they deleted when the tabs themselves are?

Where are the automatic backups stored, and why are they deleted when the tabs themselves are?

They shouldn't..

Funny enough, I have the<EMAIL_ADDRESS>directory under git version control. The storage.js file was simply emptied out and replaced with data from the window that the FF session manager was able to restore.

Do the options have been reset back to the default ones ?
I need to improve the error logging to not be cleared each restart.  Sorry, for not being very reactive. At present, I don't have much available time.

It looks like the "Download Back Up" feature stores periodic backups in a place they won't be deleted when the addon data is.  That's a great safety feature that will allow me to keep using this nice extension until we eventually fix this problem.  Thank you!

I also lost all groups with all tabs altogether. All backups are empty.
And I suspect this could happen due to computer power loss or if FF didn't exited properly.

lost all tabs and groups today, any way to recover? at least a list of them,
other wise the trust is for nothing


Revert "Changed continuation_indent_size to 4"

This reverts commit ed261175241807e0f7bb0428db8f2d0c253f6e5e.
As per discussion from the GitHub issue [1], the default continuation
indent for Android should be 8 rather than 4. This matches the Android
Kotlin style guide.
[1] https://github.com/shyiko/ktlint/issues/120

hey @shyiko -- I notice that this commit is mysteriously not present on new releases of ktlint (I would expect it to be present on all releases after 0.14). did you accidentally force push this commit out? or maybe you removed it on purpose? thanks!

Hi @bradmcmanus.
I keep forgetting to ask clarification on https://github.com/android/kotlin-guides/issues/37 but it looks like continuation_indent_size=4 might become official (for example, android/android-ktx is using ktlint --android profile) and so I have reverted the change to avoid "back and forth" between 4 and 8.

@shyiko thank you for the clarification. I agree that the back and forth is troublesome. 4 is reasonable, especially if ktx is using 4. 4 it is!


RazorEngine.Text.RawString and regular MVC

Why isnt new RazorEngine.Text.RawString working for a regular MVC partial? It works with Engine.Parse, but the output in a regular MVC page shows HTML tags.
I can't use Html.Raw, because the same view is used by RazorEngine which needs new RazorEngine.Text.RawString.

Is anyone supporting this?


When release the code？

near the future？
however，it has been a couple of months since last issue.

Thanks for your attention. We will release our code after manuscript published.

Code has been released.


players tab

this is an amazing manager. ive been looking for something like this for years and ive finally found this. but there is only one feature missing and it is a players tab. Please add a tab where you can see and click on currently online players to quickly perform actions such as kick, ban, OP etc...
i have attached an example picture

Thanks for your feedback.
We don't have time to do these functions at present, and we can consider adding these functions in the future.

this is an amazing manager. ive been looking for something like this for years and ive finally found this. but there is only one feature missing and it is a players tab. Please add a tab where you can see and click on currently online players to quickly perform actions such as kick, ban, OP etc...
i have attached an example picture

You can use a plugin to do that. https://www.spigotmc.org/resources/playermanagementgui.91439/

Plugins for Minecraft won’t work for me because I would need to be inside if the game to use.
There should be a gui like MC server soft, on this page

it should be between operation and function OR under command history in my opinion.

Plugins for Minecraft won’t work for me because I would need to be inside if the game to use. There should be a gui like MC server soft, on this page  it should be between operation and function OR under command history in my opinion.

You can make a program with MCSManager API. If you want to use Python, this one may help you XD.

Plugins for Minecraft won’t work for me because I would need to be inside if the game to use. There should be a gui like MC server soft, on this page  it should be between operation and function OR under command history in my opinion.

You can make a program with MCSManager API. If you want to use Python, this one may help you XD.

Unfortunately I dropped out of the programming course due to getting headaches when looking at code (it’s when looking at screens) for too long 😭

Plugins for Minecraft won’t work for me because I would need to be inside if the game to use. There should be a gui like MC server soft, on this page  it should be between operation and function OR under command history in my opinion.

You can make a program with MCSManager API. If you want to use Python, this one may help you XD.

Also would it be possible to do what I need using the api? Adding a players tab to were I mentioned previously?

Plugins for Minecraft won’t work for me because I would need to be inside if the game to use. There should be a gui like MC server soft, on this page  it should be between operation and function OR under command history in my opinion.

You can make a program with MCSManager API. If you want to use Python, this one may help you XD.

Also would it be possible to do what I need using the api? Adding a players tab to were I mentioned previously?

Player Tab can be done using Minecraft Rcon.

#972 (Plugin support)


[Nice to have] Category mapping based on Editor

Will be great we have possibility to map "category" of the tracking based on the Editor.
For example: Browsers can be category of "Browsing", Teams, Skype, Zoom, Viber or etc. can be categorized as Meetings

Will add this as a (low-prio) feature request!


Simplify the data structure

This PR is an attempt to implement @oschwald's idea. We'll simplify the data structure and see how benchmarks perform.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

95 of 97 (97.94%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.9%) to 84.472%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/routesum/rstree/rstree.go
93
95
97.89%

Totals

Change from base Build<PHONE_NUMBER>:
-0.9%

Covered Lines:
272

Relevant Lines:
322

💛  - Coveralls


Blocked host: templatus-hotwire.test

Thanks for sharing your great work as open source! 🚀
Carefully following the README setup guide on MacOS, this occurs after step 5:

Following your setup tutorial Blocked host: templatus-hotwire.test
To allow requests to templatus-hotwire.test make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:
config.hosts << "templatus-hotwire.test"
For more details view: the Host Authorization guide

In .env, changing APP_HOST=templatus-hotwire.example.com to APP_HOST=templatus-hotwire.test, and running bin/setup again fixes this.
But it doesn't seem this is the intended way things should work for the development environment? Perhaps there needs to be a .env.dev, or the README needs updating for clarity.

You are absolutely right, thanks for pointing this out!
I just added .env.development for shared (= not secret) settings, so now it works out of the box.

Wow! That was sueperhumanly fast!
Thank you - hopefully it will help others get started and discover this great tool, which took some digging to find! (on the ruby slim gem page, no less!)
Please don't replace it with haml!


about normalization

will layer norm , group norm be added into it ?i am learning your code,it so perfect lol

Yes sure! that the plan. Will add it soon

LayerNormalization1D added.
as seen on https://arxiv.org/pdf/1607.06450.pdf, layer norm for GRU and LSTM are set up in the individual time units so this will be added as an option in the GRU Cell and LSTM Cells later on

great job


Authentication and SSL for Elasticsearch output

Add authentication to Elasticsearch storage
Add SSL support to Elasticsearch storage
Add worker id to separate parallel jobs

@anyone?
Can someone review and merge please?


On failure, and what to do about it

In a distributed system, it's possible that you are trying to load data that isn't available. The server you're requesting it from might be offlne, your network might be interrupted, the data could be corrupted, or the hosts you can access might decide not to give it to you.
Our current solution to handling these problems comes in two forms, the UNAVAILABLE and the FAILED states.
When we know a document to be definitively unavailable: all the peers you have have responded to say they won't give it to you, then we go to the UNAVAILABLE state. From there, introducing a new peer will result in a new request and possibly a more favorable response.
What's less clear is how to handle documents that have timed out. Right now documents that don't load before #timeoutDelay go into the FAILED state. FAILED is marked as final, so from there our state machine refuses all progress. This is obviously a relatively minor issue, but fixing this bug seems to be more difficult than just transitioning to UNAVAILABLE. (Believe me, I tried.)
The problem I'm studying is as follows:

I try to load a large collection of documents not found in local storage
Requesting these documents enqueues a flood of follow-on document requests via the service-worker.
The service worker doc handles time out after 60s and enter a "failed" state.
From here there is no recovery short of killing the service worker and restarting it.

The question I have -- probably mostly for @alexjg and @acurrieclark is what the behaviour should be? I suspect we may want to do away with the timeout entirely, for starters. But would that actually fix anything? How do we handle slow-to-load documents? Can we identify the difference between "there's lots to load over a slow channel" versus "this just isn't ever going to happen."

I think that's about right, probably with some kind of dynamic delay.


file nesting: impossible to discover nested files if icon theme hides folder arrows

Issue Type: Bug
Testing #141354
After setting "explorer.experimental.fileNesting.enabled": true and "explorer.experimental.fileNesting.expand": false, my nested files are completely hidden, and requires double-clicking the item to expand/collapse.

(stream.js also has nested stream.js.map)
This is because icon themes can hide the arrow next to folders in explorer (doc), one example is the vscode-icons icon theme I'm using, which has a vsicons.presets.hideExplorerArrows option (and Icons: Toggle Explorer Folder Arrows Visibility (User Level) command).
 I was considering some thing like using the description to show a message:

Or just an icon of some sort:

We could perhaps provide a default "nest parent" file icon and let themes customize it.

I think in the case where the theme has chosen to hide the chevron, that is on the theme because that is what denotes a "folder". So creating a "nested parent" option would only help in this case as i wouldn't add additional meta data on the list item.

How about let Code place a little folder icon at bottom right of the original file icon?
Maybe file icon theme authors need to create extra simplified folder icons, or maybe it's completely impossible because they will be too small.

Sub little icon sounds great! Or maybe using plus(➕) to make a difference?

Nest parents will now display a chevron even if folders do not.