”Biborțeni”, ”Bodoș”, ”Căpeni”, ”Micloșoara”, ”Racoșul de Sus” are listed in the drop-down menu

Description:
When user writes ”Biborțeni”, ”Bodoș”, ”Căpeni”, ”Micloșoara”, ”Racoșul de Sus” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bodoș"

Expected results
The location appears in the drop-down menu as "Sat Bodoș, COVASNA (BARAOLT)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Căpeni"

Expected results
The location appears in the drop-down menu as "Sat Căpeni, COVASNA (BARAOLT)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Micloșoara"

Expected results
The location appears in the drop-down menu as "Sat Micloșoara, COVASNA (BARAOLT)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Racoșul de Sus"

Expected results
The location appears in the drop-down menu as "Sat Racoșul de Sus, COVASNA (BARAOLT)".


API for retrieving the current position of the panel

Since a few releases it has been possible to move the bottom panel (the one containing problems, terminal etc.) to the side.
I want to add support for split terminals to an extension of mine, and once 2d splits are implemented I would need to know the position of the panel in order to implementing this properly, because one would probably want to split a terminal in different directions depending on the position of the panel.

I'd say we can tackle this problem when we get there.


37 create continuous integration ci functionality including tests for maven build java jar file on GitHub for code checking before merging

@consultantusa Can we exclude changes to src/test/resources/json/CauseOfDeathCodingUpdateMessage.json from this PR?

Maven testing via GitHub Action is set up. I used the official GitHub action to set up Java, as it automatically include GitHub credentials for publication (see below).
For publication, I don't know what needs to be done for Maven Central, we do however have the option to publish to GitHub (the same repository) so the JAR files can be included in consuming project dependency list (via GitHub). At the minimum it will allow direct download of the compiled JAR.

No worries, it wasn't until recently I turned on notification from GitHub Mobile, been working well so far.

Hey just adding a comment here because it's relevant to hosting. I think there should be a better package domain rather than the gatech branded "edu.gatech" but I'm not sure what it should be. Let me know if you find a more relevant package space.


Not supported for Flutter 3.0

Please upgrade the package.

Please upgrade the package.

i have same issue please upgrade this pkg.......

Latest release should have fix this. Please check.
card_swiper: ^2.0.4

Thanks TheAnkurPanchani


librecad: add .desktop file and icon

Motivation for this change
Use the .desktop file and app icon included in the source package.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Nice, thanks! I didn't check whether the icons show up but the directories are correct.
Just an optional suggestion, you could use install -D src dest to copy the file and create the directory at the same time.

Just an optional suggestion, you could use install -D src dest to copy the file and create the directory at the same time.

Thanks, I'll probably do that going forward (I've been adding XDG files to a bunch of packages which are missing them). If you'd rather see this switched over to use install then I'm happy to do so.

I personally think it's clearer and less cluttery. You can immediately see that the file is copied to the directory you're creating.
And it's included in coreutils so everybody should have it and know about it.

Fair enough. I've updated it to use install and I agree that it does look cleaner.

built it into nix-review. Looked fine. I didn't how to check for the icon until I realized rofi supported it. I enabled the feature and it showed so merging.


Want # of evictions by race, etc.

Not individual records, but rather by in aggregate scale (Maybe if the LLC has evicted >x tenants, add this demographical info into the website in consideration of small sample sizes and privacy)
Of the evicted, pie chart dividing tenants by race?
In addition to race, other demographical info that would be interesting + considering intersectionality:

Median household income
Immigration status
Sex
Age
Educational Attainment

Shows the reader which populations are the most evicted and discriminated against
Not sure if this type of information is obtainable from filings @ericrobskyhuntley

Not possible without some methods I'm not willing to explore (e.g., inference of race from name, which some have used in larger-scale aggregated research into evictions, but I"m not willing to do it for any scale relevant to our application).


bug(Tabs): Timeout while running unit test with Tabs harness

Reproduction
As bug happens only with minimized browser, providing reproduction repo:
https://github.com/Plondrein/jubaj/tree/tabs-bug
Steps to reproduce:

Run tests for TabsComponent (or just run npm run test)
Minimize browser that was launched by karma

Expected Behavior
Test(s) should pass.
Actual Behavior
'TabsComponent should work'  test reurns 'Error: Timeout - Async function did not complete within 5000ms'
With browser non-mimized, everything works well.
Environment

Angular: 12.1.1
CDK/Material: 12.1.2
Browser(s): Chrome
Operating System: Windows 10 (Had such errors on MacOS too)

What I suspect is happening is that the browser doesn't resolve requestAnimationFrame callbacks if it's in the background, causing the test to time out. Have you tried using the NoopAnimationsModule in the test? In general it's a good practice since your tests will run faster.

I just tried NoopAnimationsModule, error still happens :(

@mmalerba do you have any ideas for this?

In general, it would be great when there would be a better error handling or more verbose output for the harness creation. It's extremely hard to debug where the problem is.

That would be difficult to implement, because we depend on zone.js to tell us when to run the harness code. Since zone.js waits for requestAnimationFrame which in turn is blocked by the browser, we can't really distinguish what is causing the timeout.

That's definitely a valid point. But it's also a good hint on where to start/continue searching 😏👍

I submitted https://github.com/angular/components/pull/24000 last week that should hopefully resolve this issue.

Is anything preventing this to be merged?

It would be very cool to have this on production :)

Can I help somehow with merging this?

@crisbeto


mint error

when I mint the NFT, error happans.
Error: Invalid number of parameters for "mint". Got 1 expected 2!
▶ 2 stack frames were collapsed.
claimNFTs
D:/git/hashlips_nft_minting_dapp/src/App.js:132
129 | console.log("Gas limit: ", totalGasLimit);
130 | setFeedback(Minting your ${CONFIG.NFT_NAME}...);
131 | setClaimingNft(true);

132 | blockchain.smartContract.methods
| ^  133 |   .mint(mintAmount)
134 |   .send({
135 |     gasLimit: String(totalGasLimit),
View compiled
onClick
D:/git/hashlips_nft_minting_dapp/src/App.js:359
356 |   disabled={claimingNft ? 1 : 0}
357 |   onClick={(e) => {
358 |     e.preventDefault();
359 |     claimNFTs();
| ^  360 |     getData();
361 |   }}
362 | >
View compiled
▶ 19 stack frames were collapsed.

Check your abi.json to make sure it matches your contract.
It's mentioned here:
https://github.com/HashLips/hashlips_nft_minting_dapp/pull/23

ok,sir. I will try
GottaMinute @.***> 于2022年1月28日周五 14:14写道：

Check your abi.json to make sure it matches your contract.
It's mentioned here:
#23 https://github.com/HashLips/hashlips_nft_minting_dapp/pull/23
—
Reply to this email directly, view it on GitHub
https://github.com/HashLips/hashlips_nft_minting_dapp/issues/55#issuecomment-1023918853,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXDB3SJO6Q4AFH2MH4TXPSLUYIX5LANCNFSM5M7VHHTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Support for Alpine Linux

[ ] Evaluate Rust dependency on GLIBC when used on RISC-V.
[ ] Compile tools as static or with MUSL instead of GLIBC.

Alpine released its 3.20 version with support to riscv64.

https://alpinelinux.org/posts/Alpine-3.20.0-released.html
https://hub.docker.com/r/riscv64/alpine


Any Run(...) call is assumed to be t.Run

The function I'm testing happens to be named Run. When I call it twice in a test function, parallleltest flags them as missing calls to Parallel even though they're not calling the Run function from the testing module.
type foo int
func (foo) Run() {}
func TestFooRunning(t *testing.T) {
    t.Parallel()
    var x foo
    x.Run()
    x.Run()
}

Both calls to Run are flagged: "Function TestFooRunning has missing the call to method parallel in the test run"

I have the same issue
any chance to see this merged?


Added build for Windows.

Build for Windows(32/64) here.

Hi, thanks for the PR, I've changed it to build with electron-builder, can you help publishing a windows release? I can add you to the repo :) Hopefully yarn dist would work.

Built for Windows.
Added installer and unpacked version.
Links: Win_ia32, Win_x64

I've added you to the Collaborators, you can edit the release directly

Updated.

I guess you only need to zip the .exe file

btw, we don't need x64 build, the ia32 works on 64bit platform.
it looks we can directly upload .exe file to github release, so you don't need it zip it

I thought it would not be amiss. (x64)

thanks, looks good ;)


[CI] Enhance with AMI ID, fix for #11

fix for https://github.com/sustainable-computing-io/aws_ec2_self_hosted_runner/issues/11

@rootfs , as it's the 1st time we try with AMIs, could you please double check AWS activities history before merge?

the tests passed but showed a bug that we need to tag the runner with OS images.

@SamYuan1990 all ec2 instances are terminated after tests.


No speedup using XGBClassifier with GPU support

In the following code, I try to search over different hyper-parameters of xgboost.
param_test1 = {
 'max_depth':list(range(3,10,2)),
 'min_child_weight':list(range(1,6,2))
}
predictors = [x for x in train_data.columns if x not in ['target', 'id']]
gsearch1 = GridSearchCV(estimator=XGBClassifier(learning_rate =0.1, n_estimators=100, max_depth=5,
                                                min_child_weight=1, gamma=0, subsample=0.8, colsample_bytree=0.8,
                                                objective= 'binary:logistic', n_jobs=4, scale_pos_weight=1, seed=27,
                                                kvargs={'tree_method':'gpu_hist'}),
                    param_grid=param_test1, scoring='roc_auc', n_jobs=4, iid=False, cv=5, verbose=2)
gsearch1.fit(train_data[predictors], train_data['target'])

Even though I use kvargs={tree_method':'gpu_hist'}, I get no speedup in the implementation. According to the nvidia-smi, the GPU is not much involved in the computation:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66                 Driver Version: 375.66                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1080    Off  | 0000:01:00.0      On |                  N/A |
|  0%   39C    P8    10W / 200W |    338MiB /  8112MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0       961    G   /usr/lib/xorg/Xorg                             210MiB |
|    0      1675    G   compiz                                         124MiB |
|    0      2359    G   /usr/lib/firefox/firefox                         2MiB |
+-----------------------------------------------------------------------------+

I have installed the GPU supported xgboost using the following commands in Ubuntu:
$ git clone --recursive https://github.com/dmlc/xgboost
$ mkdir build
$ cd build
$ cmake .. -DUSE_CUDA=ON
$ make -j

What is the possible reason?

If you look at the XGBoost Python API documentation you will see that arguments passed via kwargs are not guaranteed to work with sklearn functions.
This is currently expected behaviour. We could consider adding the tree method parameter directly to the XGBClassifier to allow this future.

Thanks for your comment.

It does work. I tested that, and you can get gpu support with sklearn. You need to pass the parameter as a regular parameter:
params_dist = {       "n_estimators": st.randint(3, 1000),     'tree_method':['gpu_hist'],      'n_jobs':[-1],     "max_depth": st.randint(3, 10),     "learning_rate": np.logspace(-4, -0.3, num=100),     "colsample_bytree": one_to_left,     "subsample": one_to_left,     "gamma": st.uniform(0, 10),     'reg_alpha': from_zero_positive,     "min_child_weight": from_zero_positive,     'predictor':['gpu_predictor'] }

Thanks. I'll test it again.

Ok, tell me later please if it works.
However, I do not understand why it does not use the gpu so much. I can only use 200/300MB of gpu memory. But still it is 3x faster than the cpu.
P.s do not use gridsearchcv or randomizedcv from sklearn with xgboost. I takes so long to run. Maybe it is a bug. I implemented my own randomizedcv function and it runs 10x faster...

Yes, it works. I ran an experiment and got exactly what you said:
`param = {'max_depth':5, 'objective':'binary:logistic', 'subsample':0.8,
'colsample_bytree':0.8, 'eta':0.5, 'min_child_weight':1,
'tree_method':'gpu_hist'}
num_round = 100
dtrain = xgb.DMatrix(train_X, train_y)
tic = time.time()
model = xgb.train(param, dtrain, num_round)
print('passed time with xgb (gpu): %.3fs'%(time.time()-tic))
xgb_param = {'max_depth':5, 'objective':'binary:logistic', 'subsample':0.8,
'colsample_bytree':0.8, 'learning_rate':0.5, 'min_child_weight':1,
'tree_method':'gpu_hist'}
model = XGBClassifier(**xgb_param)
tic = time.time()
model.fit(train_X, train_y)
print('passed time with XGBClassifier (gpu): %.3fs'%(time.time()-tic))
param = {'max_depth':5, 'objective':'binary:logistic', 'subsample':0.8,
'colsample_bytree':0.8, 'eta':0.5, 'min_child_weight':1,
'tree_method':'hist'}
num_round = 100
dtrain = xgb.DMatrix(train_X, train_y)
tic = time.time()
model = xgb.train(param, dtrain, num_round)
print('passed time with xgb (cpu): %.3fs'%(time.time()-tic))
xgb_param = {'max_depth':5, 'objective':'binary:logistic', 'subsample':0.8,
'colsample_bytree':0.8, 'learning_rate':0.5, 'min_child_weight':1,
'tree_method':'hist'}
model = XGBClassifier(**xgb_param)
tic = time.time()
model.fit(train_X, train_y)
print('passed time with XGBClassifier (cpu): %.3fs'%(time.time()-tic))`
and these are the results:
passed time with xgb (gpu): 14.420s passed time with XGBClassifier (gpu): 15.129s passed time with xgb (cpu): 38.372s passed time with XGBClassifier (cpu): 38.837s
About GPU memory usage, I also noticed that XGBClassifier uses only around 300MB of the memory, but xgb can use upto 500MB (still not a complete usage of the memory).

just not set the paramter "n_jobs",and i will be work,for example

param_depth_child_weight={
'max_depth':np.arange(5,8,2),
'min_child_weight':np.arange(1,4,2)
}
params = {
"learning_rate":0.1,
"n_setimators":140,
"max_depth":5,
"min_child_weight":1,
"gamma":0,
"subsample":0.8,
"colsample_bytree":0.8,
"objective":'binary:logistic',
"nthread":4,
"scale_pos_weight":80,
"tree_method":'gpu_hist',
"predictor":'gpu_predictor',
"seed":27
}
xgb_depth_child_weight = XGBClassifier(**params)
xgb_search_depth_child_weight = GridSearchCV(estimator=xgb_depth_child_weight,param_grid=param_depth_child_weight,
scoring='roc_auc',iid=False,cv=5,verbose=2)

if you set the pamater nthread in XGBClassifer,you do not set the n_jobs in GridSearchCV.


Improve trigger condition in github actions

User description
fix: #827

Type
enhancement, documentation

Description

Added logging in the GitHub Action runner to provide information when an action is skipped and the reason for it.
Updated the GitHub Action configuration documentation to include types for pull_request events. This specifies the action to run on opened, reopened, ready_for_review, and review_requested events, improving the trigger condition.

Changes walkthrough
Relevant filesEnhancement

github_action_runner.pyAdd Logging for Skipped Actions

pr_agent/servers/github_action_runner.py

Added logging for skipping actions with a specific reason.

+2/-0

Documentation

github.mdSpecify GitHub Action Trigger Conditions

docs/docs/installation/github.md
Added types to pull_request event to specify when the GitHub Action should run.  This change specifies the action to run on opened, reopened, ready_for_review, and review_requested events.

+2/-0

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

/help

@idubnori
This PR is reasonable.
Remove the 'review_requested' flag, as it is a bug we already fixed in github app
Also, another optimization I want is to ignore bots. So the action should be:
on:
  pull_request:
    types: [opened, reopened, ready_for_review]
  issue_comment:

jobs:
  pr_agent_job:
    if: ${{ github.event.sender.type != 'Bot' }}

there are additional optimizations that can be done (ignore comments if they don't start with '/', for example), but lets leave them to future PRs.
Adpat the PR to the condition above, and we can merge it

@mrT23 Thank you for your reviewing. fixed them.


External library for console argument/flag parsing

I was looking at the gflags library (https://github.com/gflags/gflags).
It is available via vcpkg for Visual Studio builds. I'd be curious if it has a simple packaging tool for Linux builds.
It is also a github project so could be
Discussion in separate correspondence about keeping the project simple to prevent needing a third party library for flag parsing. This is of course counter to that thought but I am interested in trying one out.

Looks like there is an apt package for it, and it's the latest version (2.2.2). Should be easy to support as a dependency.
apt install libgflags-dev

I looked briefly at the gflags documentation. Seems like it's macro based. Not sure if I'm a fan of the syntax, though there is probably something to learn from the library. You're welcome to experiment with it.

Comments below on gflags:

The syntax for specifying a flag is clean (although not a fan of macros in general)
The auto-generated help file is a mess

gflags lists the full full location of the source code file (see below) which is a bit mess. It is also specifying which source code file the flag is coming from. Maybe useful for a developer, not not good for end user. Since it recursively searches files, it is listing all flags internal to gflags as well...
I tried using the gflags declaration STRIP_FLAG_HELP to strip the help out. We could just home roll the help file an use gflags to handle the command line parsing. However, this declaration appears to only remove some information from the binary and not actually prevent glflags from handling the help file internally.
There is an open PR to allow removing help information (https://github.com/gflags/gflags/pull/206). It has about 12 'thumbs up' and has been around for about 3 years, but it appears the author has not merged yet.
  Flags from C:\Users\Brett\Documents\OutpostUniverseGitHub\OP2BitmapConverter\src\Main.cpp:
    -AccessArchives (Access Outpost 2 volume (.vol) files within the directory
      when searching for bitmaps) type: bool default: true

  Flags from C:\Users\Brett\source\vcpkg\buildtrees\gflags\src\v2.2.2-d9283b9285.clean\src\gflags.cc:
    -flagfile (load flags from file) type: string default: ""
    -fromenv (set flags from the environment [use 'export FLAGS_flag1=value'])
      type: string default: ""
    -tryfromenv (set flags from the environment if present) type: string
      default: ""
    -undefok (comma-separated list of flag names that it is okay to specify on
      the command line even if the program does not define a flag with that
      name.  IMPORTANT: flags in this list that have arguments MUST use the
      flag=value format) type: string default: ""

  Flags from C:\Users\Brett\source\vcpkg\buildtrees\gflags\src\v2.2.2-d9283b9285.clean\src\gflags_completions.cc:
    -tab_completion_columns (Number of columns to use in output for tab
      completion) type: int32 default: 80
    -tab_completion_word (If non-empty, HandleCommandLineCompletions() will
      hijack the process and attempt to do bash-style command line flag
      completion on this value.) type: string default: ""

  Flags from C:\Users\Brett\source\vcpkg\buildtrees\gflags\src\v2.2.2-d9283b9285.clean\src\gflags_reporting.cc:
    -help (show help on all flags [tip: all flags can have two dashes])
      type: bool default: false currently: true
    -helpfull (show help on all flags -- same as -help) type: bool
      default: false
    -helpmatch (show help on modules whose name contains the specified substr)
      type: string default: ""
    -helpon (show help on the modules named by this flag value) type: string
      default: ""
    -helppackage (show help on all modules in the main package) type: bool
      default: false
    -helpshort (show help on only the main module for this program) type: bool
      default: false
    -helpxml (produce an xml version of help) type: bool default: false
    -version (show version and build info and exit) type: bool default: false

I'm considering abandoning gflags and maybe looking at a different solution. Having this little control over the help format coupled with the poor formatting decisions seems maybe like too many CONS.
Also, the spiritual successor to gflags appears to be abseil's flags (https://abseil.io/docs/cpp/guides/flags). I don't think we want to link against all of abseil? Not sure if there is a way to just link to a portion of it.
cxxopts seems pretty popular. Maybe it is a better choice, but I haven't looked at it much yet. https://github.com/jarro2783/cxxopts

Sounds like a pretty good summary.
I don't know about linking just part of Abseil. I've heard it's a pretty big library. I've never worked with it before, so I don't know much about using it. I notice they also use macros to define the options. I read through a bit of their documentation. They had an interesting section about considering if you even need flags.
I kind of like the cxxopts syntax. Seems they avoid C macros, and instead make use of C++ templates. The syntax looks a little more natural for a C++ project.

In terms of Abseil's recommendation about avoiding flags if possible, that raises an interesting point. Do we really need so many flags? And if so, is this the time to add them? Right now we don't have parsing code for the custom bitmap format. Maybe we should prioritize that first, and use it to guide us on what flags we need. For instance, we can probably get away without a flag to access the archives if that is default behaviour. Considering unpacked files have priority over packed files, it shouldn't really matter if the user can't disable checking the archives. At most, it might impact the speed, but not likely by ever as much time as it would take to type the flag.
I'm wondering if we should start with simple positional arguments for a single use case:
OP2BitmapConverter inputFile outputFile

Of course, if flags are on your mind, and that's the problem you really want to work on, then have at it.

I'm going to close this branch for now and try to wrap up the project without flags. If anyone is looking for addition of some flags, we work a solution then.


fix(curriculum): update get-data-from-post-requests.md to fix small typo

Checklist:

[x ] I have read and followed the contribution guidelines.
[x ] I have read and followed the how to open a pull request guide.
[x ] My pull request targets the main branch of freeCodeCamp.
[x ] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Sure thing, Krzysztof.


Allow for installation in browsers via a cdn like unpkg or jsdelivr.

Just a thought, would be nice, I'm lazy.

You mean like this: https://www.jsdelivr.com/package/npm/css-element-queries?

oh cool. still. maybe the readme could make that a little more obvious


volume's capacity must be bigger than 120% used size

Is your feature request related to a problem? Please describe.
when cluster's capacity is not enough, can't shrink volume's capacity because of volume's capacitcy muset be bigger than 120% used size.
Describe the solution you'd like
update 120% to 101%.

fixed by https://github.com/cubefs/cubefs/pull/1722


Help wizard

I want to have a wizard for help: multiple walkthrough screens.
Is this possible?

Hello Colaru, how are you?
I think you are referring to a 'tour' walkthrough (http://www.uxbooth.com/articles/mobile-design-patterns/), this walkthrough is of tip/dialog/embedded/discoverable type. If you are aiming to a multiscreen walkthrough, you can, however, pop first screen and upon close open another and so forth (this is what I and several others do, see closed issues here for demoes on plunkr)
Hope this helps.


添加jarslink-springmvc的使用说明，修改springmvc依赖为必需，修改servlet的依赖为test

Support for <IP_ADDRESS>80401，Fix #64

Pull Request Test Coverage Report for Build 126

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.683%

Totals

Change from base Build 125:
0.0%

Covered Lines:
584

Relevant Lines:
644

💛  - Coveralls

springMVC依赖已经帮你修正过了，下次记得提交前先更新一下保持与服务器的同步，不然有冲突的话在这儿合并很麻烦的：)


Add VolView item to Javascript Visualization

Another viewer, if you please =)

Looks very cool! Thank you for sharing. I left one comment (typo fix and added a link ref to Vue), please review and confirm.

Thanks for the spelling catch.  LGTM!


Added tags to test compatibility with the new SmartThings app

I am not sure if these tags are enough, but I'd like to test them with the new app.

Hi. Thanks for the contribution.
You don't actually need to submit a pull request to do this kind of testing. Just change the code in your local copy of the DTH in your IDE, and try it out on your mobile device with the new ST app.
Personally I am not using the new mobile app and don't plan to until official support has been announced for third party DTHs. It wouldn't make sense to commit this pull request until it's been thoroughly tested.
Please feel to share the pull request modifications with folks on the ST community forums in order to get more people testing!


difficulty in understanding priorities.

simple fix, makes the code pretty.

Thanks. It was a typo. I'll merge this patch when I have time.


System information
Output of clangd --version:
Ubuntu clangd version 14.0.0-1ubuntu1.1
Editor/LSP plugin:
vscode  clangdv0.1.24
Operating system:
aarch64 Ubuntu 22.04.3 LTS

It looks like the error is related to the -mabi=lp64 flag in the compiler command, this is not something clang recognizes.
Users who have run into this before have reported that removing this flag as discussed here resolves the issue.


ENTESB-9524 Add LastProcessingTime and DeltaProcessingTime to Prometheus Metrics

https://issues.jboss.org/browse/ENTESB-9524
Cherry pick over to 7.x

Just FTR: This is the cherry-pick of #178 from master to the fuse-7.x.redhat branch.


Critical Error on App Boot

The Issue
App crashes at boot then won't start again
Steps to reproduce

Open app

Clicked OK.

App says,

Connection Failure
Try closing all LBRY processes and starting again. If this still happpens, your anti-virus software or firewall may be preventing LBRY from connecting. Contact<EMAIL_ADDRESS>if you think this is a software bug

Close app. Try to reopen, nothing happens.

Kill process in task manager.

App still doesn't boot. It's essentially bricked right now.

Expected behaviour
App should boot without error.
Actual behaviour
App crashes, then after the first crash, doesn't launch again. (Haven't tried restarting computer)
System Configuration
Versions inaccessible due to error, but I believe I'm running 12.0

Operating system:
Windows 10 - 64bit v1703 build15063.413

Try looking in the Task Manager for running lbry.exe or lbry-app.exe
processes
Kill them all then restart the app
On Thu, Jun 15, 2017 at 10:01 PM, Ben Hohner<EMAIL_ADDRESS>wrote:

The Issue
App crashes at boot then won't start again
Steps to reproduce

Open app
2.
[image: 2017-06-15 19_57_29-lbry]
https://user-images.githubusercontent.com/1463217/27206445-b6c3d40c-5205-11e7-9606-cdaf8d4ed7c6.png
3.
Clicked OK.
4.
App says,
5.
Connection Failure
Try closing all LBRY processes and starting again. If this still
happpens, your anti-virus software or firewall may be preventing LBRY from
connecting. Contact<EMAIL_ADDRESS>if you think this is a software bug

Close app. Try to reopen, nothing happens.
7.
Kill process in task manager.
8.
App still doesn't boot. It's essentially bricked right now.
Expected behaviour
App should boot without error.
Actual behaviour
App crashes, then after the first crash, doesn't launch again. Haven't
tried rebooting the app?
System Configuration
Versions inaccessible due to error, but I believe I'm running 12.0

Operating system:
Windows 10 - 64bit v1703 build15063.413

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lbryio/lbry-app/issues/245, or mute the thread
https://github.com/notifications/unsubscribe-auth/APoYDM-0s7TFYUdAImHo3YlCFujiG35Hks5sEeIJgaJpZM4N78G_
.

--
Josh Finer
COO/LBRY

I'm getting the same on one of my machines. I know that re-installing has helped in the past - I bet it cleans up some temp files.  But still, would like to get to the root cause.

I get nothing in the lbrynet.log. daemon doesn't seem to start at all, I can run daemon manually just fine. So something with the app not kicking it off.

oh, the lbry daemon file is missing from C:\Program Files (x86)\LBRY\resources\app\dist . That's why a reinstall fixes it. But where did it go?!?!?! lol
Putting the daemon back into the folder fixes the issue.

@finer9 Killed all the processes and tried restarting. App boots but the same error appears and app doesn't initialize.
I'll try reinstalling, I assume that'll fix it if the daemon is indeed missing for some reason.

Also, you may need to revert to 0.12 if you still have issues. Latest rc is buggy in some cases.

Update:
Tried uninstalling via Uninstall LBRY.exe.
First launch, it said LBRY was already running, even though I've thoroughly searched through the task manager details tab for running instances.
Second+ launches, when I click Yes I want to uninstall, nothing happens and the app quits.
@tzarebczan I am running 12.0, checked in the package.json

No need to run install, just re run the setup exe

Rerunning setup seems to have solved the issue.
My only question is, why did the lrby daemon get deleted in the first place?

No idea. I tried looking through event logs, virus scanner etc. Let me know if you find anything.

I don't doubt this was a bug, but realistically without anything reproducable there's little we can do at the moment given so many other priorities. Going to close this, but please re-open if it continues to happen on upgrades.


perf: remove cache from store(iavl)

Description

remove iavl cache and iavl cache manager
closes: #581

Motivation and context

Unlike cosmos-sdk, lbm-sdk uses fastcache in iavl. According to the benchmarking results, the performance was better when the cache was not used. So I decided to roll back.
How has this been tested?

Screenshots (if appropriate):
Checklist:

[ ] I followed the contributing guidelines and code of conduct.
[ ] I have added a relevant changelog to CHANGELOG.md
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

Please add changelog to CHANGELOG.md

Please remove freecache library in go.mod.

Please add changelog to CHANGELOG.md

I added it

Please remove freecache library in go.mod.

I removed 'freecache' from 'go.mod'


Low Bit Optim Instability.

Hi will the torchao low bit optim allow for per layer selection of switching to 32-bit adam for stability? also stablemebedding layers 1. Reference:https://huggingface.co/docs/bitsandbytes/main/en/optimizers#optimize-unstable-parameters
2. Stable Embeddings https://huggingface.co/docs/bitsandbytes/main/en/reference/nn/embeddings#bitsandbytes.nn.StableEmbedding
i see some divergence with torchao optimizer and don't with bitsandbytes

Regarding "per layer selection", I planned for this feature before but forgot about it. Should be easy to add. Do you have an idea how you want this API to look like? I'm thinking like this
optim = AdamW8bit(model.parameters(), exclude_low_bit_optim_params=[model.output.weight])

Regarding StableEmbedding, it looks like an ordinary nn.Module with some custom default. You should be able to use it directly from bnb. I don't think we need to re-implement it in ao.
Would you be interested in contributing a PR for the 1st feature?

hi @gau-nernst yes i believe this seems like a decent API.  sure i can take it up if you can give some pointers

We currently have some checks to only apply low-bit optim for certain params
https://github.com/pytorch/ao/blob/8c07d22b836524f41ced9484e600afd35264258b/torchao/prototype/low_bit_optim/adam.py#L42-L57
You can simply add an extra check if the param is not in exclude_low_bit_optim_params list (or set), and add this extra argument to each Adam variation.

sounds good! i'll create a PR!


Arch linux CROTA audio issue

Describe the "bug''
I ran the audio script, rebooted, and nothing happened.
Boardname
CROTA (hopefully lol)
Logs
debug-logs-Crota-2024-11-20_16h44m.tar.gz

[    2.657576] sof-audio-pci-intel-tgl 0000:00:1f.3: SOF firmware and/or topology file not found.
[    2.658109] sof-audio-pci-intel-tgl 0000:00:1f.3: Supported default profiles
[    2.658110] sof-audio-pci-intel-tgl 0000:00:1f.3: - ipc type 0 (Requested):
[    2.658111] sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file: intel/sof/community/sof-adl.ri
[    2.658111] sof-audio-pci-intel-tgl 0000:00:1f.3:  Topology file: intel/sof-tplg/sof-adl-max98360a-cs42l42.tplg
[    2.658112] sof-audio-pci-intel-tgl 0000:00:1f.3: Check if you have 'sof-firmware' package installed.
[    2.658113] sof-audio-pci-intel-tgl 0000:00:1f.3: Optionally it can be manually downloaded from:
[    2.658113] sof-audio-pci-intel-tgl 0000:00:1f.3:    https://github.com/thesofproject/sof-bin/
[    2.658319] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

Strange, can you send the output of find /lib/firmware/intel?

sure!
intel.log

Sure enough the topology is missing. It may not yet be in arch's package or it may need to be pulled from ChromeOS. I'll see.

alr

have you gotten anything yet?

So google actually just symlinks that tplg to another one, adding this to the script right now.

Run the script again

alright

It works! :D


Columns without a Name page need correction

The code sample needs correction.
The documentation has a small typo in the the namespace declaration.
It should be http://... instead of https://...
USE AdventureWorks2012;
GO

-- fixed namespace
SELECT ProductModelID,
       Name,
       Instructions.query('declare namespace MI="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions";
                /MI:root/MI:Location
              ')
FROM Production.ProductModel
WHERE ProductModelID=7
FOR XML PATH;

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

ID: a88a7156-6a29-a433-ead6-c55aefc41e58
Version Independent ID: e20f7df5-5324-217a-39f4-0f1fbceccb4b
Content: Columns without a Name - SQL Server
Content Source: docs/relational-databases/xml/columns-without-a-name.md
Product: sql
Technology: xml
GitHub Login: @MightyPen
Microsoft Alias: genemi

@ykhabins Thank you for bringing this error (Issue #5281) to our attention here at Microsoft.
The fix for this is building as I write these words (in private sister repo, PR 16398). The fix should be live on our Docs website before Tue Aug/04.

https://github.com/MicrosoftDocs/sql-docs-pr/pull/16398

If you find any more errors, please let us know again.   :-)
I am now finishing / Closing this successful Issue.
MightyPen


Possible memory leak in the PS4?

It's known that the mast1c0re is unstable (especially on 10.01) and causes Okage to crash. I assume that the PS4 completely kills the game on crash including all related processes (correct me if I'm wrong). But once, when I have launched the game again after crash, the TCP server wasn't able to listen on port 9045! Possibly because the server from the previous run is still running in the background? How do you think?

It is possible that the file descriptor to the previous socket is still open in the kernel when the process / game crashes. As the crash is uncontrolled I don't think it's possible to handle that scenario to close the socket. So you just have to let the kernel clean up the socket after a short period of time and then re-run the exploit.


Method!

Do we need to use all of the methods (simpson, adaptive trapezoid, trapezoid) for task 1 or any one of them?

I think we need to do all.


Federated Requeue due to instance unavailability does not work

Required Info:

AWS ParallelCluster version [e.g. 2.9.0]: 3.0.2
Full cluster configuration without any credentials or personal data
Cluster name: pcluster1b, pcluster1c

Bug description and how to reproduce:
Create two clusters, put them in a federation, submit jobs, have a job that ships to the secondary cluster, have that job fail for instance unavailability. The failed job will not requeue, and will get stuck in FedJobLock.
logs.txt
primary.txt
secondary.txt

Hi,
From logs.txt, the cluster use p3.2xlarge as compute instance type, but there are insufficient capacity in the availability zone you are using. Can you switch to another availability zone with more capacity?
Are these two clusters have same node names? Can you unset cloud_dns in slurm.conf? It is possible that with cloud_dns enabled, federation between slurms on multiple ParallelCluster may become problematic as node names could collide.
Thanks

So this is a thing that intermittently happens with GPU nodes - there's a shortage. Will try removing cloud_dns.

Didn't seem to help the FedJobLock, sadly


[Feature Request] Add a crop button

Add a crop button, it would be helpful to have this added if a specific image you're using doesn't fit in the frame like you think it would.

Can you explain a bit more about what you want here?

May I add something, because I don't want to make an extra FR:
Wen you're choosing an image, which has a bigger height (or width? haven't tried it yet) than the frame, the image gets cut without the ability to adjust the picture - the top and bottom of an image can't be 'restored'.
So my Go to is to snip the frame of the image I want to use manually via Snipping Tool and add this istead.
Is there a way to add this to the tokenizer?

May I add something, because I don't want to make an extra FR:
Wen you're choosing an image, which has a bigger height (or width? haven't tried it yet) than the frame, the image gets cut without the ability to adjust the picture - the top and bottom of an image can't be 'restored'.
So my Go to is to snip the frame of the image I want to use manually via Snipping Tool and add this istead.
Is there a way to add this to the tokenizer?

Pretty sure you have enabled the "Crop images?" option in the settings, which is, as noted, not suitable for daily use as it does things like this.


55.1 broke panes

Thanks again for your hard work!
I have a problem with panes since the upgrade to 55.1 with and without extra-commands.
In a single pane everything looks fine:

When creating a pane (horizontal or vertical, same issue) the UI crashes and become unusable, no keyboard keys registered, no command palette:

This is from bugs introduced by the recent memory related fixes in the last release. I think I've gotten to the bottom of the problem now but still need to do more testing. A fix should be in the next few days.
thanks for everyone's patience here.

Fixed in 0.55.2.


Implement USB MIDI bulk transfer end-point

Be nice to be able to download SYSEX patches over USB MIDI say from Dexed.
But have currently only implemented the basic MIDI stream.

LOL seems from the USB MIDI spec. that "bulk transfer" is  the basic MIDI messages, and "Transfer bulk" is what this enhancement is about!

Turns out it was partly my misuse of Dexed. To send SYSEX to the picoX7 you need to also select the picoX7 as the DX7 out in the PARM popup window. With this change a SYSEX starts to be received by the picoX7 using the normal "bulk transfer" so a "Transfer bulk" end-point is not needed.
However the picoX7 crashes cacaphonically halfway through the SYSEX download.

Cacaphonic crash was down to too much debug printf in the USB IRQ handler. So have downloaded a dexed patch. But still testing...


⚠ Bofrost.fr has degraded performance

In 6816b5e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 918 ms

Resolved: Bofrost.fr performance has improved in cd959f1.


[BUG] Unable to create line after last one

To Reproduce
Steps to reproduce the behavior:

Zoom in on a list item that is not the last one in the larger block, but is the last one in its sublist
Hit "Enter"

Expected behavior

A new list item is created
The caret gets moved to the new item

Actual

A new list item is created, but the hiding class gets attached to the HTML element
The list item after the new one becomes visible instead
The cursor stays on the first item

Gif

Desktop (please complete the following information):

OS: Windows
Obsidian Version: 0.12.13
Plugin Version: 1.2

Should be fixed in https://github.com/vslinko/obsidian-zoom/releases/tag/0.2.7 and https://github.com/vslinko/obsidian-outliner/releases/tag/2.0.7


seg fault happens when running CPU code using GPU-supported jaxlib

The following repro script, which is taken from #1239,
import jax
from jax.config import config; config.update('jax_platform_name', 'cpu')
import jax.numpy as np
from jax import random, lax, jit

def welford_covariance():
    def init_fn(size):
        return np.zeros(size), np.zeros(size), 0

    def update_fn(sample, state):
        mean, m2, n = state
        n = n + 1
        delta_pre = sample - mean
        mean = mean + delta_pre / n
        delta_post = sample - mean
        m2 = m2 + delta_pre * delta_post
        return mean, m2, n

    def final_fn(state):
        mean, m2, n = state
        cov = m2 / (n - 1)
        cov_inv_sqrt = np.sqrt(np.reciprocal(cov))
        return cov, cov_inv_sqrt

    return init_fn, update_fn, final_fn

def warmup_adapter():
    mm_init, mm_update, mm_final = welford_covariance()

    def init_fn(z, rng, mass_matrix_size):
        inverse_mass_matrix = np.ones(mass_matrix_size)
        mass_matrix_sqrt = inverse_mass_matrix
        mm_state = mm_init(mass_matrix_size)
        return (inverse_mass_matrix, mass_matrix_sqrt, mm_state, rng)

    def _update_at_window_end(z, rng_ss, state):
        inverse_mass_matrix, mass_matrix_sqrt, mm_state, rng = state
        inverse_mass_matrix, mass_matrix_sqrt = mm_final(mm_state)
        mm_state = mm_init(inverse_mass_matrix.shape[-1])
        return (inverse_mass_matrix, mass_matrix_sqrt, mm_state, rng)

    def update_fn(t, accept_prob, z, state):
        inverse_mass_matrix, mass_matrix_sqrt, mm_state, rng = state
        rng, rng_ss = random.split(rng)
        state = (inverse_mass_matrix, mass_matrix_sqrt, mm_state, rng)
        state = lax.cond(t < 10,
                         (z, rng_ss, state), lambda args: _update_at_window_end(*args),
                         state, lambda x: x)
        return state

    return init_fn, update_fn

wa_init, wa_update = warmup_adapter()
wa_update = jit(wa_update)  # uncomment this will make it fast

z = np.ones(3)
wa_state = wa_init(z, random.PRNGKey(0), mass_matrix_size=3)
import time
for t in range(10):
    tic = time.time()
    wa_state = wa_update(t, 0.1 * t, z, wa_state)
    print(time.time() - tic)

causes
[mutex.cc : 419] RAW: Lock blocking 0x7fbae0006640   @ 0x7fbbc9577eaf 0x7fbbc95785a6 0x7fbbc6a81236 0x7fbbc9576913 0x7fbbc9463f12 0x7fbbf463c421
[mutex.cc : 419] RAW: Unlock 0x7fbae0006640   @ 0x7fbbc6a80ae2 0x7fbbc9578088 0x7fbbc95785a6 0x7fbbc6a81236 0x7fbbc9576913 0x7fbbc9463f12 0x7fbbf463c421

using https://storage.googleapis.com/jax-releases/cuda100/jaxlib-0.1.23-cp36-none-linux_x86_64.whl.
This issue just happens after the recent refactoring of JAX (related to no more tuple). The code runs fine if we change config.update('jax_platform_name', 'cpu') to config.update('jax_platform_name', 'gpu') or if we use jaxlib from pypi.
cc @mattjj @skye

One of the amazing XLA:GPU team members @cheshire tried to repro this internally and the bug didn’t appear. The optimistic explanation for that is this bug is already fixed and we just need to push out an updated jaxlib. The pessimistic explanation is that it’s just hard to repro.
We’ll update jaxlib wheels today and hope that fixes things.

Thanks @mattjj, that's a great news!

@fehiepsi we just uploaded jaxlib 0.1.25 wheels. Does it still repro?

@mattjj The issue still happens, though I don't see mutex.cc messages anymore. When I uncomment the line wa_update = jit(wa_update), the iteration run for the first step and stuck there (all GPU memory is allocated). I tried to restart my computer and create a new conda environment to test, the issue still happens. Are you able to replicate the issue in your machine?

It turns out that we accidentally updated to an XLA version that is still a few days out of date, so we're going to update it one more time just to rule out that category of explanations. (I haven't tried to repro externally on the new jaxlib wheels yet, but will with 0.1.26.)
This is at the top of our priority  list, but just so I understand how many fires we should try to light under people, is this currently blocking your work or your users'?

Hi @mattjj, please don't worry about it. We currently pin the jax version to 0.1.41 so this issue doesn't blocking our work. :)

We just pushed jaxlib 0.1.26 wheels, but unfortunately the bug is still there: I was able to repro using your script on a fresh cloud VM.
We'll follow up with the XLA team and see if we can track this down!

I think I spotted it! I had been thinking this was a jaxlib issue, but I tried rolling back jax a bit and the segfault went away. I realized it must have been xla.py accidentally mixing memory pointers on one device with those on another, or something like that, so I spotted a bug fixed in 434d175 (another of mine, I'm afraid, from the big rewrite!).
I'm not sure why we weren't able to repro this internally. I'm working on a CI test we can use for this to avoid a regression, but right now I'm able to verify that this fixes the issue on a GPU cloud VM.

This test can catch it but only if run in isolation (i.e. not with all the other tests, because of how platform stuff is cached I think):
  def test_instantiate_device_constant_set_platform(self):
    # cf. issue 1241
    try:
      prev_platform = FLAGS.jax_platform_name
      FLAGS.jax_platform_name = "cpu"
      jit(lambda x: x)(np.zeros(2))  # doesn't segfault
    finally:
      FLAGS.jax_platform_name = prev_platform

Thanks @mattjj ! That should be the reason.

Uploaded jax 0.1.43 on pypi with this fix.


LIVE/TEST

When set to test/live, app should point at different directories and databases! Test data should go to ch-test, and should output to a test directory. Configurable via config.xml

Done.


WebCL: Move WebCLException to core/webcl.

This solves a layering violation, even if in an ugly way: ExceptionState depends on V8ThrowException, which was including and depending on WebCLException. The former is in bindings/core, which is not supposed to depend on anything in modules/, which is where the latter was.
The WebCLException.* files do not have any dependency on other files in modules/webcl (some unnecessary includes have been removed), so can easily move them to core/webcl instead so that the layering violations are resolved.
The deeper issue of whether WebCLException should inherit from DOMException and how to do this cleanly in Blink persists.
This change is a requirement for moving to M45, as work on upstream bug 358074 has reinforced these layering separations and causing code built with component=shared_library to fail to link.

ping @ds-hwang @hujiajie @chunkyan

I cannot agree more that WebCLException should not exist in Blink at all.
https://codereview.chromium.org/17229006
https://codereview.chromium.org/17761003
https://codereview.chromium.org/17919002
The only reason for its existence is that the WebCL spec is influenced greatly by the legacy WebKit and Firefox idl style, and the conformance test (https://github.com/KhronosGroup/WebCL-conformance)  depends heavily on WebCLException instead of DOMException. @ds-hwang @chunkyan, do we really need to follow the spec strictly here, or deprecate WebCLException in the future and patch the conformance test to use additional WebCL DOMExceptions instead?

thanks for the insightful comments; it turns out I... forgot to test an Android build with this change :-) I only verified that Linux and ozone-wayland were building again in M45 but didn't check if Android, which is the only one that actually enables WebCL, was also building fine.
I'll have to do some more changes and send another version of the patch.

@hujiajie: I've tested an M45 Android build of patch v3 and it worked.
I've fixed some include problems: some headers in modules/webcl depend on CL/cl.h but were not directly including it, and I've worked around the possible dependency WebCLException would have on WebCLConfig.h by including CL/cl.h there to get all the macros it uses.
As for the WebCLException vs DOMException debate: do we have any contact with the people working on the spec? It's not clear to me if it is still being worked on, and I didn't find it very helpful. WebCLException's IDL in the spec says it inherits from DOMException, but none of the implementations (ours, Samsung's or Nokia's) seem to do that.

I agree with @hujiajie  about WebCLException should not exist in Blink,too. The direct impact of importing WebCLException class as a new type exception in blink is that: other classes which are not related to WebCL could also throw WebCLException , it 's really strange.
and as @rakuco said, in the spec the definition of WebCLException is inherits from DOMException.
So I think the implementation about WebCLException judgement is not good in webcl  conformance-test .
I think deprecate WebCLException in the future and patch the conformance test to use additional WebCL DOMExceptions instead is a good solution.

The latest patch LGTM, thanks @rakuco
On WebCLException, I'll follow it up further and I'm willing to hear opinions from our side.


In search-boxes, offer a context command to regex::escape() the search string

When using search and/or search and replace, one of the options is "regex".  It is tedious to translate raw strings into regular expressions.  There should be a right-click option in the search field to apply the escape() function on the string currently there, so that one can easily start with a valid regular expression, then tweak it.
For example, let's say I want to search for statements having ClassName::Function(), so I can replace them with NewClass::Foo().  I paste in an existing call ClassName::Function("hello world"), I enable regex mode, then I have to escape the parens by hand before it starts to match anything.  Eventually I get to the point that I can start abstracting "hello world" into "[^"]*", but it takes too much work to get to that point.  It would be much nicer if there was an easy way to make any raw string match in or out of regex mode.

It would also be nice if clicking the regex button toggled between regex::escape()'d and vice-versa.  However, only if there was still a means of manually escaping/unescaping, since it would be really annoying to have entered a proper expression in the wrong mode and have it ruined.

Try other way around: enable regexp search and then trigger search from selection. This way editor knows that source is raw string and will escape it.

Try other way around: enable regexp search and then trigger search from selection. This way editor knows that source is raw string and will escape it.

I just noticed that for the first time yesterday, that is handy.  It's still awkward if you do it in the wrong order, since you have to initiate the search a second time (after toggling the button as needed), but that's definitely easier than hand-[un]escaping the string, which is what I'd been doing previously.  The searches in history are also frozen "as-is"... you can step through previous searches, but if the regex button is in the wrong state the historical searches are presumably useless, and there is no way to unescape those anymore, without locating the original code that was originally used as basis of search.
Still, this escape-when-initiating-search feature gets me 80% of what I was looking for.

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


How to change the position of the terminal pane

Hello! The terminal pane is fixed in the below of the window. How to move it to the side of the window?  Thanks :-)

Right now there is an experimental feature that allows you to make the panel a tab. Please try dragging the status-icon to Atom's tab-bar to turn it into a tab. You could then split your pane and put the terminal on the right while a text editor sits on the left.

It works! Thanks :-)

Are there any other solutions?  It appears to be depreciated and no longer works. :(

This package is no longer maintained. Please uninstall terminal-plus and install either terminus or x-terminal


book.tex:1922: is the information in this chapter relevant?

The puzzle 13-3add22a5 from #13 has to be resolved:
https://github.com/objectionary/eo-book/blob/ebb0bf343dc3989c4ef438781da625e6470a3b2b/book.tex#L1922-L1922
The puzzle was created by @rultor on 28-Nov-22.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 13-3add22a5 has disappeared from the source code, that's why I closed this issue.


[Discussion] Why is the model rebuilt every time?

Anyone wants to explain to me why the model is rebuilt every time?
My rationale is that since the model can be recycled for a batch, why can't the model be saved as a file and loaded next time a separation is executed?
It just doesn't make sense to me.
I think that the model should be rebuilt only when asked to do so.

The separate command of spleeter is able to process several files at once, and the model is then build and loaded a single time (as documented in the Wiki):
spleeter separate -i /path/to/audio1.mp3 /path/to/audio2.wav /path/to/audio3.mp3 -o /output_path.

If you want to put Spleeter in a server with on demand separation, then you can use the Separator object of the python API that builds and loads the model once. Then you can use the separate and separate_to_file methods as many times as you want without rebuilding the model.
So there are already ways of not rebuilding the model every time :).

Would be possible to access the API from, say, a NodeJS app?


A metric with the name restify_status_codes has already been registered.

Hello,
When I call your lib as :
this._server.pre(promBundle.preMiddleware(this._server));
I've got this error :
A metric with the name restify_status_codes has already been registered.
Do you know how to resolve it ?
I comment in my code all healthz / metrics routes, it's change nothing..

I found solution, we need to do:
promBundle.client.register.clear();
before
this._server.pre(promBundle.preMiddleware(this._server));
..

"A metric with the name restify_status_codes has already been registered." denotes that the pre-middleware is registered twice.
This could be :

You set this._server.pre(promBundle.preMiddleware(this._server)); twice
You are trying to re instantiate your server (eg: unit test).


Add ability to cancel get (download) request

The Issue
Currently there is no easy way to stop a download once it has started. If you try to delete the file once get started, it can take over a minute for the response. If the file doesn't start properly (happened to me once), I was able to delete it but then the get request hung. Cancelling the request should ensure the file is deleted form file_list and from the harddisk.
It looks like get returns only after it starts downloading data blobs - we should have it return ASAP instead.
2018-05-11 15:02:17,483 INFO     lbrynet.daemon.Downloader:93: Download lbry://ian-freeman-s-speeches-at-420-rally-in status changed to initializing
2018-05-11 15:02:17,486 INFO     lbrynet.daemon.Downloader:93: Download lbry://ian-freeman-s-speeches-at-420-rally-in status changed to downloading_metadata
2018-05-11 15:02:33,065 INFO     lbrynet.core.client.BlobRequester:414: Offered rate 0.000000/mb accepted by <IP_ADDRESS>
2018-05-11 15:02:33,065 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob c03bff4b4e330f5d2f68d8fdd09423beffa30fb0ae6e8ccd734ce692f8efef453af2fb6409189890b814a5eadaaf92d1 from <IP_ADDRESS>:3333
2018-05-11 15:02:33,161 INFO     lbrynet.core.client.BlobRequester:563: Blob c03bff4b4e330f5d has been successfully downloaded from <IP_ADDRESS>:3333
2018-05-11 15:02:33,569 INFO     lbrynet.daemon.Downloader:186: Downloading lbry://ian-freeman-s-speeches-at-420-rally-in (c03bff) --> C:\Users\SoloDolo\Downloads\lbry downloads\ian-freeman-s-speeches-at-420_1.mp4
2018-05-11 15:02:33,569 INFO     lbrynet.daemon.Downloader:93: Download lbry://ian-freeman-s-speeches-at-420-rally-in status changed to running
2018-05-11 15:03:08,582 INFO     lbrynet.core.Wallet:395: Skipping dust
2018-05-11 15:04:18,035 INFO     lbrynet.core.client.BlobRequester:414: Offered rate 0.000000/mb accepted by <IP_ADDRESS>
2018-05-11 15:04:18,035 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 1d427cb2050866b7a92af9608f7f3679136a337f272ec46252cd436162b045ebee71ed35c3e0fe1bb6f41af84eec8e8b from <IP_ADDRESS>:3352
2018-05-11 15:04:19,276 INFO     lbrynet.core.client.BlobRequester:563: Blob 1d427cb2050866b7 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:19,289 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 52e455e8fa6d9fcadf424b19701e57be41c74fe6dff333075e61b972e7901baa680c3b665412cddb84ed2f1a239e07e6 from <IP_ADDRESS>:3352
2018-05-11 15:04:20,331 INFO     lbrynet.core.client.BlobRequester:563: Blob 52e455e8fa6d9fca has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:20,380 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 2ad2fdef682897924f8d18e8095eb588bef78aeeea64011ddb07edfd63d626c3ee227e4ce5459075d0d5d059ce06e684 from <IP_ADDRESS>:3352
2018-05-11 15:04:21,506 INFO     lbrynet.core.client.BlobRequester:563: Blob 2ad2fdef68289792 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:21,588 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 22a13109bfc9a67392d11a0bce24457acf318e3ccbb8bbd9ef51d3e460c2a5a45216149f93607928daa9dcfd85d5db24 from <IP_ADDRESS>:3352
2018-05-11 15:04:22,750 INFO     lbrynet.core.client.BlobRequester:563: Blob 22a13109bfc9a673 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:22,845 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 3a2d9e06a6c7e2f659c8b80ab6886a443b85a50418c035b28b90aa3a752615b885c45d2933cc50f979bd9d230622c491 from <IP_ADDRESS>:3352
2018-05-11 15:04:24,361 INFO     lbrynet.core.client.BlobRequester:563: Blob 3a2d9e06a6c7e2f6 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:24,456 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 692c9c2df96bb12f3a733f1e56e06d0de96fc7d295eedf602ec51c9a66783b248f472ce4618001d9d22f1b30e0d62f42 from <IP_ADDRESS>:3352
2018-05-11 15:04:25,526 INFO     lbrynet.core.client.BlobRequester:563: Blob 692c9c2df96bb12f has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:25,535 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 4ef2616505de4c00a6ed3bdc4f277223a000762342d764ff845ea88e10ab471dfa289ccc4fe62de7f65e16f76ba77649 from <IP_ADDRESS>:3352
2018-05-11 15:04:26,667 INFO     lbrynet.core.client.BlobRequester:563: Blob 4ef2616505de4c00 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:26,759 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 35f2f8f59debfb34e9800d6e426b0247f3b219243ed73bbb40165684b60d69e06e5711c252861236bd6c58f785bb0620 from <IP_ADDRESS>:3352
2018-05-11 15:04:27,857 INFO     lbrynet.core.client.BlobRequester:563: Blob 35f2f8f59debfb34 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:27,864 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob f4dd5ec12546ca5523a9654d6e8e1ee66657732bf7a88c73e1b8f4741db5dabaa61d768e0b6e23d27467ca23be41c18a from <IP_ADDRESS>:3352
2018-05-11 15:04:28,921 INFO     lbrynet.core.client.BlobRequester:563: Blob f4dd5ec12546ca55 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:28,930 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 86ef00f1f5ebb5d883b56d3591b15935bee7f72f220256d3758175e50516f7451b2dd1c79750d9f2612321bf66dc8b03 from <IP_ADDRESS>:3352
2018-05-11 15:04:29,966 INFO     lbrynet.core.client.BlobRequester:563: Blob 86ef00f1f5ebb5d8 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:30,006 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 8289e6b65fe36fe7fe4af4338ce8aa95db5d5055f5f5925bf9dd2d94f3c24d16890c95f43f667e5c1e5b59bd5a7c52e7 from <IP_ADDRESS>:3352
2018-05-11 15:04:31,219 INFO     lbrynet.core.client.BlobRequester:563: Blob 8289e6b65fe36fe7 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:31,227 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob e0b071d8740fdf695334bec560ba3f5864934ef0df4d61986c8ced8ff174bda741ff8045051f4582428afd2852127bd1 from <IP_ADDRESS>:3352
2018-05-11 15:04:32,210 INFO     lbrynet.core.client.BlobRequester:563: Blob e0b071d8740fdf69 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:32,292 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob 544f8fe514cf6eb648c55eae0ca591bb241ecacc5b3f58baffdc1241e66a33613e7c9ddb744ab07e88bcfe6baf5de677 from <IP_ADDRESS>:3352
2018-05-11 15:04:33,322 INFO     lbrynet.core.client.BlobRequester:563: Blob 544f8fe514cf6eb6 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:04:33,329 INFO     lbrynet.core.client.BlobRequester:487: Requesting blob b8ef50ed0d4f2e89327d84456025214767d2394fc93c98a8a39f6efcee8ac6976b4cef74871e3f36fdd5268b8ace8d03 from <IP_ADDRESS>:3352
2018-05-11 15:04:34,276 INFO     lbrynet.core.client.BlobRequester:563: Blob b8ef50ed0d4f2e89 has been successfully downloaded from <IP_ADDRESS>:3352
2018-05-11 15:05:08,648 INFO     lbrynet.core.Wallet:395: Skipping dust
2018-05-11 15:05:29,446 INFO     lbrynet.daemon.Downloader:93: Download lbry://ian-freeman-s-speeches-at-420-rally-in status changed to stopped
2018-05-11 15:05:29,446 INFO     lbrynet.daemon.Downloader:149: Finished downloading lbry://ian-freeman-s-speeches-at-420-rally-in (c03bff) --> C:\Users\SoloDolo\Downloads\lbry downloads\ian-freeman-s-speeches-at-420_1.mp4
2018-05-11 15:05:29,566 INFO     lbrynet.daemon.Daemon:1793: Deleted file: ian-freeman-s-speeches-at-420_1.mp4

Steps to reproduce

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

I removed "good first issue". I don't think this is solvable without https://github.com/lbryio/lbry/issues/854

The behavior is much improved in the latest versions as the file_delete call will stop the download pretty quickly.
This should be taken into account when solving #854 , leaving issue open.

Re-opening this because it's not possible to cancel a pending request before the get call returns (and we are able to successfully download an SD blob)


Add test-report

As a QA, I'm also interested in the test report from a pipeline, and since my team Gitlab show it on a pretty page I also fetched it via the API.
Following a good example of another PR (https://github.com/timoschwarzer/gitlab-monitor/pull/162), I also added a proper flag for it (showTestReport) and made sure it will only show if there's data available.
I also wanted to add the suites/tests as an accordion below that summary, but couldn't make it pretty enough and maybe unnecessary (since one can just click on the summary and see details on Gitlab), but in any case, open for suggestions there.

Thanks for the suggestion!
What do you think of moving the test coverage into the next line and using these icons for the test report stats respectively:
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_success.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_skipped.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_failed.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/error.svg

Thanks for the suggestion!
What do you think of moving the test coverage into the next line and using these icons for the test report stats respectively:
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_success.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_skipped.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/status_failed.svg
https://gitlab.com/gitlab-org/gitlab-svgs/-/blob/main/sprite_icons/error.svg

...and maybe even hiding report stats that are 0.

...and maybe even hiding report stats that are 0.

Good suggestions!
I can hide when 0 sure, but I have no clue how to add those new icons to the src/assets/icons.svg file (so I can reuse gitlab-icon component properly). Any tips there are appreciated, or even a patch with just those added lines that I can add to a commit.
About the move of the coverage part, what should happen if we have showTestReport == false && showCoverage == true? I assume one would like to keep the coverage in the same place as of today... right?

Good suggestions!
I can hide when 0 sure, but I have no clue how to add those new icons to the src/assets/icons.svg file (so I can reuse gitlab-icon component properly). Any tips there are appreciated, or even a patch with just those added lines that I can add to a commit.
About the move of the coverage part, what should happen if we have showTestReport == false && showCoverage == true? I assume one would like to keep the coverage in the same place as of today... right?

I can hide when 0 sure, but I have no clue how to add those new icons to the src/assets/icons.svg file (so I can reuse gitlab-icon component properly). Any tips there are appreciated, or even a patch with just those added lines that I can add to a commit.

I've updated the icon set to the latest version. You should be able to use the after rebasing your branch on main (remember to pull main before).

About the move of the coverage part, what should happen if we have showTestReport == false && showCoverage == true? I assume one would like to keep the coverage in the same place as of today... right?

Yeah, right. Then just remove the separator line as it would be confusing when having multiple pipelines, wouldn't it?

I can hide when 0 sure, but I have no clue how to add those new icons to the src/assets/icons.svg file (so I can reuse gitlab-icon component properly). Any tips there are appreciated, or even a patch with just those added lines that I can add to a commit.

I've updated the icon set to the latest version. You should be able to use the after rebasing your branch on main (remember to pull main before).

About the move of the coverage part, what should happen if we have showTestReport == false && showCoverage == true? I assume one would like to keep the coverage in the same place as of today... right?

Yeah, right. Then just remove the separator line as it would be confusing when having multiple pipelines, wouldn't it?

Ok here it goes!
I took some liberty on the icons, somehow the "status_*" were all the same for me. And removed the separator line. And made everything
Icons sample (hacked version, current code will only show the icon+number if that item is > 0):

Current sample:

Ok here it goes!
I took some liberty on the icons, somehow the "status_*" were all the same for me. And removed the separator line. And made everything
Icons sample (hacked version, current code will only show the icon+number if that item is > 0):

Current sample:

Resolved all conversations, addressed on the new commit @timoschwarzer

Thank you very much! :)


Allow users to upload registration file to the form (as a template)

The user may want to upload once downloaded registration file to continue editing it. Currently, there is no option for that.

Should we allow for upload also for deleting a record?

No, for that you have the trash can button.

 Přidat možnost do formuláře nahrát stažený soubor


Complex nested types json size is huge for ClientTypeSignatureParameter

We have a deeply nested struct column that is 17k when serialized with TypeSignature/TypeSignatureParameter but the client oom's because the ClientTypeSignature/ClientTypeSignature parameter is ~200mb in size.
This is due to the nested structure duplicating the type signatures of structs defined in the outer level. Would there be a way to use id's to reference the signature instead of repeating it?

Changing ClientTypeSignature.getTypeArguments() to
@Deprecated     @JsonProperty     public List<ClientTypeSignature> getTypeArguments()     {         return new ArrayList<>();     }
reduces response size from 200mb to 300kb. Something fishy is going on inside. Older version of presto returns around 1mb for the same query.


Install collector script

Via https://github.com/open-telemetry/opentelemetry.io/pull/1333, based on @chalin's suggestion to have this hosted here:
While updating the collector getting started, I played around with the different ways of getting a collector up and running. Pulling and running it through a docker container is definitely the most convenient way but it comes with plenty of overhead and sometimes I just want to have a collector running on my laptop. This requires a few clicks right now (and you need to read closely because arm64 and amd64 are hard to distinguish), so I thought, why not have a similar install experience as brew or nvm:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/open-telemetry/opentelemetry-collector-releases/HEAD/install/otel-contrib.sh)"
./otelcol --config config.yml

The install.sh looks like the following: https://raw.githubusercontent.com/open-telemetry/opentelemetry.io/6e5511b10d6ae91c28691dbd17fad9e6a96a123f/content/en/install/otelcol-contrib.sh
or in a video:
https://user-images.githubusercontent.com/1519757/169013228-6fbb3835-80ba-4972-886a-1a645c78908b.mp4
what do you think, something OTel needs? :-)

Call me old-fashioned, but I shiver every time I see bash with curl. I personally prefer to get the RPM which would keep my binary up to date (like for kubectl or minikube). When that's not available, a simple RPM is what I prefer. After that, I get the binary and manage it via "alternatives".
But I do understand that some people prefer bash with curl, so, I wouldn't be against it if we have enough people interested in using and maintaining this script.

I agree that from a security perspective this requires a lot of trust by the end user in that URL being benign. Although the goal of this script is serving people that get started with OpenTelemetry and just want to get the touch&feel of the collector quickly. In a production environment it's definitely not the right tool.

Doesn't look like there's a lot of interest, closing.


Update CQD-data-and-reports.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9320
Fixed link.

Docs Build status updates of commit 7bc7492:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/CQD-data-and-reports.md
:white_check_mark:Succeeded

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

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Docs Build status updates of commit 86bf0c6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/CQD-data-and-reports.md
:white_check_mark:Succeeded

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


Prettier support (v2)

Excalidraw should have a button to run Prettier on a text block!

Should probably have syntax highlighting first :p
More seriously, so far I haven’t seen a lot code being used with excalidraw, so not sure how real a use case this is

I've been using JSON in excalidraw for API examples

Syntax highlighting would be awesome!

I'll go ahead and close this, I feel like this is not excalidraw's job to pretty print code. Especially since it would require importing a huge library.