Update population-geography sql files.

Syncs with 2011 National Data Census.

@pratimakandel
Can you provide a few examples of the geographic locations whose names were changed as part of this? I would like to verify that this works with the current geojson and topojson files.
Providing a list of half a dozen geographic locations whose names were changed would be useful. If the changes were only for local bodies, then examples for local bodies in different districts and provinces would be nice.
If the changes were for districts as well, an example or two of changed districts would also be useful.

I have confirmed that total population now matches the population in the pre-federal version at https://nepalmap.org/profiles/country-NP-nepal. I have spot-checked districts, and the following districts also have matching populations.

District Name
Pre-federal URL

Lalitpur
https://nepalmap.org/profiles/district-26-lalitpur/

Humla
https://nepalmap.org/profiles/district-56-humla/

Dang
https://nepalmap.org/profiles/district-60-dang/

Jhapa
https://nepalmap.org/profiles/district-04-jhapa/

I have navigated through the map, selecting a variety of local bodies without any problems so far. What I notice is that the "long name", the name that appears in the box on the map has been changed for all of the local bodies that I selected, and the map continues to work correctly. I would like to learn more about whether or not the shorter "name" was altered as well for any local bodies so that I can check them to make sure they also display correctly.

Hi @cliftonmcintosh
Based on the issues https://github.com/Code4Nepal/nepalmap_federal/issues/92, I was the one who recommended updating local bodies' name so that it will be easier for users to navigate and find their local bodies, and in this PR both the name and long_name are updated in geography.sql file. We are yet to update the GEO file and currently searching for the easiest way to update geojson and topojson files with the current geography table.
Regarding the change, we can take an example of Rolpa district.
Here is how the previous table looks like:

Name
geo_code
year
parent_level
long_name
geo_level
parent_code

Duikholi
53001
2016
district
Duikholi
local
58

Lungri
53002
2016
district
Lungri
local
58

Madi
53003
2016
district
Madi
local
58

Rolpa
53004
2016
district
Rolpa
local
58

Runtigadi
53005
2016
district
Runtigadi
local
58

Sukidaha
53006
2016
district
Sukidaha
local
58

Sunchhahari
53007
2016
district
Sunchhahari
local
58

Suwarnabati
53008
2016
district
Suwarnabati
local
58

Thawang
53009
2016
district
Thawang
local
58

Tribeni
53010
2016
district
Tribeni
local
58

And here is the updated table with new local bodies name: (for reference: https://myrepublica.nagariknetwork.com/news/33282/)

Name
geo_code
year
parent_level
long_name
geo_level
parent_code

Parivartan Rural Municipality
53001
2016
district
Parivartan Rural Municipality
local
58

Lungri Rural Municipality
53002
2016
district
Lungri Rural Municipality
local
58

Madi Rural Municipality
53003
2016
district
Madi Rural Municipality
local
58

Rolpa Municipality
53004
2016
district
Rolpa Municipality
local
58

Runtigadhi Rural Municipality
53005
2016
district
Runtigadhi Rural Municipality
local
58

Gangadev Rural Municipality
53006
2016
district
Gangadev Rural Municipality
local
58

Sunchhahari Rural Municipality
53007
2016
district
Sunchhahari Rural Municipality
local
58

Sunil Smriti Rural Municipality
53008
2016
district
Sunil Smriti Rural Municipality
local
58

Thawang Rural Municipality
53009
2016
district
Thawang Rural Municipality
local
58

Triveni Rural Municipality
53010
2016
district
Triveni Rural Municipality
local
58

Also there were many other similar kinds of spelling errors, for example:

Jaimuni (at NepalMap) - Jaimini (at National Data Profile)

Kanthekhola (at NepalMap) - Kathekhola (at National Data Profile)

Sahid Lakhan (at NepalMap) - Shahid Lakhan (at National Data Profile)

Sulikot (at NepalMap) - Barpak Sulikot (at National Data Profile)

But unfortunately, we haven't created a separate table for the changed local bodies name.
If there are any problems with the display, I believe it will be because of the GEO file which is yet to be updated as per the “wazimap_geography” table. Do you have any recommendations on how we can do it, we kinda struggle on that part and @pratimakandel is currently exploring the QGIS and learning how to edit & update it.

@nikeshbalami
Thank you for the examples. They are useful. Based on the examples, here is what I have learned:

The local bodies are searchable by new name after the name change.
They can be compared.
Data for the local bodies with name changes can be accessed correctly via the "Show Data" links.
Hovers on the map show the old names. See examples below.

Based on this, it seems that the most important bit of information about each body is the geo code because it allows for matching data to places on the map.
In my experience, the GEO files are some of the hardest things to work with in this project. It's hard to edit them. They are each one giant line of text, and figuring out how to adjust them can be difficult. In this case, since the geo codes have not changed and because we know which local bodies have changed names and what the changes are, it seems like it would be possible to write a script to go over the files and alter the names.
I am curious about what might be best for "name", which is the value that shows up on hover. Will full names, like "Parivartan Rural Municipality" be unwieldy for hovers? Would using just "Parivartan" be acceptable?
Here are some examples showing incorrect hover texts.
Jaimini shows Jaimuni

Parivartan Rural Municipality shows Duikholi

Thank you @cliftonmcintosh - using the short name at "name" field and official name in the "long_name" field is a nice idea, I will go ahead and prepare new sheet accordingly and ask @pratimakandel to update the geography.sql file again.
Regarding the GEO file, we were trying to resolve issue https://github.com/Code4Nepal/nepalmap_federal/issues/61 with the new update but it looks like it's very difficult and time-consuming. For a moment, we will go ahead and create a table of changed local bodies name so that we can write a script to go over the files and alter the names.

Sorry, there is a problem with my latest commit  "Update Geography SQL file".

@cliftonmcintosh I have been playing around with the geojson files to understand how it operates. I accidentally pushed changes to my dev repo with the updated geography sql along with some changes in the local.geojson. I deleted the local.geojson file and uploaded the correct one from Code4nepal repo. Everything works perfectly! However please let me know if there is a better way to make a pull request that does not change the local.geojson file.
Sorry for the inconvenience.

@pratimakandel
I have a question. Are you saying that the local.geojson included in this PR is an updated file that should have changes you made in it? Or is it "the correct one from Code4nepal repo"?
Are you trying to make a commit that does not change the local.geojson file? If so, I can try to provide some guidance for that.

@cliftonmcintosh
Sorry for the confusion, this PR's latest commit has the correct local.geojson from Code4Nepal Repo. And yes, I am trying to make a commit that does not change the local.geojson file at all.

@pratimakandel
Thanks. Since
Github says the local.geojson file that has been included here has changes
That file is very difficult to troubleshoot
I would like to request that we figure out how to adjust this PR so that there are no changes to the local.geojson file. Here are some directions that I think should do that:

Check out the commit from before the changes to that file

git checkout 9b67d63

Copy that file somewhere

cp wazimap_np/static/geo/local.geojson wazimap_np/static/geo/local.geojson.old

Check out your dev branch

git checkout dev

Verify that that file is the only thing changes

git status

This should show one untracked file -- the file that you have just created, something like:
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	wazimap_np/static/geo/local.geojson.old

Replace the current "local.geojson" file with the copy from earlier.

wazimap_np/static/geo/local.geojson.old wazimap_np/static/geo/local.geojson

Checck status to make sure that the "local.geojson" file has been modified.

git status

This should show something like:
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   wazimap_np/static/geo/local.geojson

no changes added to commit (use "git add" and/or "git commit -a")

Stage the change to that file

git add wazimap_np/static/geo/local.geojson

Commit
Push
Verify that this pull request show that there are now no changes to the local.geojson file.

@cliftonmcintosh
Thank you so much for the help. I merged your pull request to fix the local.geojson file. Also I have merged the recent changes too.  While running the server, it worked fine, please let me know if there is anything missing.

Even though this change introduces a discrepancy between the SQL data and the map data, I think it is fine to go ahead and merge this update to the SQL data because the SQL data are more accurate. Subsequent changes to the map data should remove the discrepancy.

This change has been deployed to beta.nepalmap.org


Use DDL for getting sharding options

[ ] Add explicit dependency from ddl module
[ ] Automatically getting sharding options from space schema and work with it

Dup of #166 ?

Yes.


Update quickstart from README

This resolves issue #3832.
I'm not sure how well worded "When prompted on GitHub, give access to your account" is as it can come off as too invasive (when it really isn't), but it can be interpreted the other.

@rtfd/core note this PR passes against master, just need to restart the CI.


delete registry image

please add unit test

need more context to prove the change is reasonable and meaningful. also the branch is out of date,please rebase again. thanks a log.

Current coverage is 41.60% (diff: 74.19%)

No coverage report found for master at d6d6d6f.

Powered by Codecov. Last update d6d6d6f...13019a5

The db model changed, we'd better test the migration and test user about the change.


Help with reading TIFF file

Hello there. I want to try out your software on some of my data but I'm having trouble at the initial registration step. Running into a couple issues. To start, I am not able to supply the channel name, I get this error Exception: Channel name "DAPI" is not in filename marker list: []. I looked into it and io.py seems to expect a ome_info.channel_names field, but this is not present in my metadata when I open my TIFF in ImageJ. I do however have information in the name fields of my channels in the OME XML, it seems this is not parsed by your software though?
I also tried using a variety of integers, Ch1, etc, when I do that I get this error TypeError: VectorIndexSelectionCastImageFilter.__init__() takes 1 positional argument but 3 were given.
Finally, I tried not supplying a channel. The software does say reading whole file, but now I get the error sitk::ERROR: Filter does not support casting from casting vector of 8-bit unsigned integer to 32-bit float.
The images I'm using are originally .czi format. I've tried converting it into a TIFF in both ZEN and QuPath. Have not looked extensively into ImageJ however, as it opens up my image as a set of 4 series for some reason. I don't really know why or what this means. I'm a bit of a novice in image processing, so if you can help point me in the right direction I can try exporting in ImageJ or do whatever else that might get this working.
Looking forward to hearing from you!

Thank you for reporting your issues. The VectorIndexSelectionCastImageFilter error was due to a problem in the code. It has been addressed and v0.4 tagged and packaged. Please update or re-download the package and try again.

Thank you for the prompt fix! The code does indeed run from start to finish now, though I am still not getting usable output. I'll try to summarize my troubleshooting in another issue.


it is trying to push to docker.io/microsoft/...

Firstly, I wonder if it should bail, or at least complain about default registry being a Microsoft's one (to which I have no access), and tell me what to do...
Secondly, there is clearly more guidance needed around some initial configuration parameters, it's probably in the docs, but I think interactive prompt during draft init would work better.

Did you follow the steps here? You forgot to change a few parameters through --set.

Your second point is being addressed in https://github.com/Azure/draft/issues/49 as well.

Did you follow the steps here?

I didn't at the time when I opened this issues.
However, now I've been trying to set registry auth of the past hour with no luck – I don't even know where do I need to look to debug this...
I am glad to hear this is being addressed.


cranelift: Fix indirect tail calls on aarch64/riscv64

x64 now uses a dedicated codegen strategy for tail-calls which writes the callee's stack arguments directly into their final location, but aarch64 and riscv64 still use our previous strategy of setting up for a normal function call and then moving the new stack frame up to overwrite the old one. In order to emit correct code for a normal function call, we need to fake a normal Call/CallIndirect opcode rather than ReturnCall/ReturnCallIndirect.
The new tests are a combination of x64's compile-tests for return-call-indirect.clif, plus a large-stack-frame test from aarch64/riscv64's return-call.clif modified to do an indirect call.

Can we have some runtests exercising this stuff as well?

We do have cranelift/filetests/filetests/runtests/return-call-indirect.clif, we just didn't have the indirect case tested in compile-tests for aarch64 and riscv64. Do you want me to just add a similar stack-arguments test there? It wouldn't have caught this bug because we have preserve_frame_pointers=true in that test, since x64 currently requires it, but there's no harm adding it. I could do the same in the x64 compile tests for that matter.

I think it would be good to have, yeah


gap in map

My experimental equipment is 3xTitan, and according to the rules of Detectron2, set the learning rate to 0.045.
Without modifying any parameters, the resulting map is about 35.6.
why?

batch size 16 / per

Hi, Could you post your training log?

CUDNN_BENCHMARK: false
DATALOADER:
ASPECT_RATIO_GROUPING: true
FILTER_EMPTY_ANNOTATIONS: true
NUM_WORKERS: 8
REPEAT_THRESHOLD: 0.0
SAMPLER_TRAIN: TrainingSampler
DATASETS:
PRECOMPUTED_PROPOSAL_TOPK_TEST: 1000
PRECOMPUTED_PROPOSAL_TOPK_TRAIN: 2000
PROPOSAL_FILES_TEST: []
PROPOSAL_FILES_TRAIN: []
TEST:

coco_2017_val
TRAIN:
coco_2017_train
GLOBAL:
HACK: 1.0
INPUT:
CROP:
ENABLED: false
SIZE:

0.9
0.9
TYPE: relative_range
DISTORTION:
ENABLED: false
EXPOSURE: 1.5
HUE: 0.1
SATURATION: 1.5
FORMAT: BGR
JITTER_CROP:
ENABLED: false
JITTER_RATIO: 0.3
MASK_FORMAT: polygon
MAX_SIZE_TEST: 1333
MAX_SIZE_TRAIN: 1333
MIN_SIZE_TEST: 800
MIN_SIZE_TRAIN:

800
MIN_SIZE_TRAIN_SAMPLING: choice
MOSAIC:
ENABLED: false
MIN_OFFSET: 0.2
MOSAIC_HEIGHT: 640
MOSAIC_WIDTH: 640
NUM_IMAGES: 4
POOL_CAPACITY: 1000
RANDOM_FLIP: horizontal
RESIZE:
ENABLED: false
SCALE_JITTER:

0.8
1.2
SHAPE:
640
640
TEST_SHAPE:
608
608
SHIFT:
SHIFT_PIXELS: 32
MODEL:
ANCHOR_GENERATOR:
ANGLES:

-90
0
90
ASPECT_RATIOS:

1.0
NAME: DefaultAnchorGenerator
OFFSET: 0.0
SIZES:

32
64
128
256
512
BACKBONE:
FREEZE_AT: 2
NAME: build_resnet_backbone
DARKNET:
DEPTH: 53
NORM: BN
OUT_FEATURES:

res5
RES5_DILATION: 1
WITH_CSP: true
DEVICE: cuda
FPN:
FUSE_TYPE: sum
IN_FEATURES: []
NORM: ''
OUT_CHANNELS: 256
KEYPOINT_ON: false
LOAD_PROPOSALS: false
MASK_ON: false
META_ARCHITECTURE: YOLOF
PANOPTIC_FPN:
COMBINE:
ENABLED: true
INSTANCES_CONFIDENCE_THRESH: 0.5
OVERLAP_THRESH: 0.5
STUFF_AREA_LIMIT: 4096
INSTANCE_LOSS_WEIGHT: 1.0
PIXEL_MEAN:

103.53
116.28
123.675
PIXEL_STD:
1.0
1.0
1.0
PROPOSAL_GENERATOR:
MIN_SIZE: 0
NAME: RPN
RESNETS:
DEFORM_MODULATED: false
DEFORM_NUM_GROUPS: 1
DEFORM_ON_PER_STAGE:

false
false
false
false
DEPTH: 50
NORM: FrozenBN
NUM_GROUPS: 1
OUT_FEATURES:
res5
RES2_OUT_CHANNELS: 256
RES5_DILATION: 1
STEM_OUT_CHANNELS: 64
STRIDE_IN_1X1: true
WIDTH_PER_GROUP: 64
RETINANET:
BBOX_REG_LOSS_TYPE: smooth_l1
BBOX_REG_WEIGHTS: &id001
1.0
1.0
1.0
1.0
FOCAL_LOSS_ALPHA: 0.25
FOCAL_LOSS_GAMMA: 2.0
IN_FEATURES:
p3
p4
p5
p6
p7
IOU_LABELS:
0
-1
1
IOU_THRESHOLDS:
0.4
0.5
NMS_THRESH_TEST: 0.5
NORM: ''
NUM_CLASSES: 80
NUM_CONVS: 4
PRIOR_PROB: 0.01
SCORE_THRESH_TEST: 0.05
SMOOTH_L1_LOSS_BETA: 0.1
TOPK_CANDIDATES_TEST: 1000
ROI_BOX_CASCADE_HEAD:
BBOX_REG_WEIGHTS:

10.0
10.0
5.0
5.0

20.0
20.0
10.0
10.0

30.0
30.0
15.0
15.0
IOUS:

0.5
0.6
0.7
ROI_BOX_HEAD:
BBOX_REG_LOSS_TYPE: smooth_l1
BBOX_REG_LOSS_WEIGHT: 1.0
BBOX_REG_WEIGHTS:
10.0
10.0
5.0
5.0
CLS_AGNOSTIC_BBOX_REG: false
CONV_DIM: 256
FC_DIM: 1024
NAME: ''
NORM: ''
NUM_CONV: 0
NUM_FC: 0
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_TYPE: ROIAlignV2
SMOOTH_L1_BETA: 0.0
TRAIN_ON_PRED_BOXES: false
ROI_HEADS:
BATCH_SIZE_PER_IMAGE: 512
IN_FEATURES:
res4
IOU_LABELS:
0
1
IOU_THRESHOLDS:
0.5
NAME: Res5ROIHeads
NMS_THRESH_TEST: 0.5
NUM_CLASSES: 80
POSITIVE_FRACTION: 0.25
PROPOSAL_APPEND_GT: true
SCORE_THRESH_TEST: 0.05
ROI_KEYPOINT_HEAD:
CONV_DIMS:
512
512
512
512
512
512
512
512
LOSS_WEIGHT: 1.0
MIN_KEYPOINTS_PER_IMAGE: 1
NAME: KRCNNConvDeconvUpsampleHead
NORMALIZE_LOSS_BY_VISIBLE_KEYPOINTS: true
NUM_KEYPOINTS: 17
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_TYPE: ROIAlignV2
ROI_MASK_HEAD:
CLS_AGNOSTIC_MASK: false
CONV_DIM: 256
NAME: MaskRCNNConvUpsampleHead
NORM: ''
NUM_CONV: 0
POOLER_RESOLUTION: 14
POOLER_SAMPLING_RATIO: 0
POOLER_TYPE: ROIAlignV2
RPN:
BATCH_SIZE_PER_IMAGE: 256
BBOX_REG_LOSS_TYPE: smooth_l1
BBOX_REG_LOSS_WEIGHT: 1.0
BBOX_REG_WEIGHTS: *id001
BOUNDARY_THRESH: -1
CONV_DIMS:
-1
HEAD_NAME: StandardRPNHead
IN_FEATURES:
res4
IOU_LABELS:
0
-1
1
IOU_THRESHOLDS:
0.3
0.7
LOSS_WEIGHT: 1.0
NMS_THRESH: 0.7
POSITIVE_FRACTION: 0.5
POST_NMS_TOPK_TEST: 1000
POST_NMS_TOPK_TRAIN: 2000
PRE_NMS_TOPK_TEST: 6000
PRE_NMS_TOPK_TRAIN: 12000
SMOOTH_L1_BETA: 0.0
SEM_SEG_HEAD:
COMMON_STRIDE: 4
CONVS_DIM: 128
IGNORE_VALUE: 255
IN_FEATURES:
p2
p3
p4
p5
LOSS_WEIGHT: 1.0
NAME: SemSegFPNHead
NORM: GN
NUM_CLASSES: 54
WEIGHTS: detectron2://ImageNetPretrained/MSRA/R-50.pkl
YOLOF:
BOX_TRANSFORM:
ADD_CTR_CLAMP: true
BBOX_REG_WEIGHTS:

1.0
1.0
1.0
1.0
CTR_CLAMP: 32
DECODER:
ACTIVATION: ReLU
CLS_NUM_CONVS: 2
IN_CHANNELS: 512
NORM: BN
NUM_ANCHORS: 5
NUM_CLASSES: 80
PRIOR_PROB: 0.01
REG_NUM_CONVS: 4
DETECTIONS_PER_IMAGE: 100
ENCODER:
ACTIVATION: ReLU
BACKBONE_LEVEL: res5
BLOCK_DILATIONS:
2
4
6
8
BLOCK_MID_CHANNELS: 128
IN_CHANNELS: 2048
NORM: BN
NUM_CHANNELS: 512
NUM_RESIDUAL_BLOCKS: 4
LOSSES:
BBOX_REG_LOSS_TYPE: giou
FOCAL_LOSS_ALPHA: 0.25
FOCAL_LOSS_GAMMA: 2.0
MATCHER:
TOPK: 4
NEG_IGNORE_THRESHOLD: 0.7
NMS_THRESH_TEST: 0.6
POS_IGNORE_THRESHOLD: 0.15
SCORE_THRESH_TEST: 0.05
TOPK_CANDIDATES_TEST: 1000
OUTPUT_DIR: output/yolof/R_50_C5_1x
SEED: -1
SOLVER:
AMP:
ENABLED: false
BACKBONE_MULTIPLIER: 0.334
BASE_LR: 0.045
BIAS_LR_FACTOR: 1.0
CHECKPOINT_PERIOD: 2500
CLIP_GRADIENTS:
CLIP_TYPE: value
CLIP_VALUE: 1.0
ENABLED: false
NORM_TYPE: 2.0
GAMMA: 0.1
IMS_PER_BATCH: 48
LR_SCHEDULER_NAME: WarmupMultiStepLR
MAX_ITER: 22500
MOMENTUM: 0.9
NESTEROV: false
REFERENCE_WORLD_SIZE: 0
STEPS:

15000
20000
WARMUP_FACTOR: 0.00066667
WARMUP_ITERS: 1500
WARMUP_METHOD: linear
WEIGHT_DECAY: 0.0001
WEIGHT_DECAY_BIAS: 0.0001
WEIGHT_DECAY_NORM: 0.0
TEST:
AUG:
ENABLED: false
FLIP: true
MAX_SIZE: 4000
MIN_SIZES:

400
500
600
700
800
900
1000
1100
1200
DETECTIONS_PER_IMAGE: 100
EVAL_PERIOD: 0
EXPECTED_RESULTS: []
KEYPOINT_OKS_SIGMAS: []
PRECISE_BN:
ENABLED: false
NUM_ITER: 200
VERSION: 2
VIS_PERIOD: 0

There are several key points about how to modify the settings:

Batch size and learning rate. The default settings are set for 8 GPUs with a total batch size of 64 (8 images per GPU). You have 3 GPUs, and set the batch size as 48 (16 images per GPU). Thus, according to the scaling rule, your learning rate should be 0.12 * 48 / 64 = 0.09.
Training iterations and learning rate steps. We training a maximum iteration of 22500 for batch size 64, for batch size 48, you should also modify the maximum iteration from 22500 to 22500 * 64 / 48 = 30000. For the learning rate steps, they also should be re-calculated according to the rule, [15000 * 64 / 48, 20000 * 64 / 48]
The warmup iterations and the warmup factor. For batch size 64, we warm up the training for 1500 iterations. Thus, for batch size 48, you can modify it from 1500 iterations to 1500 * 64 / 48 = 2000 iterations. And for the warmup factor, it can be obtained by: 1. / 2000.

I will modify these parameters and provide the result. Thank you for your reply

After modifying these parameters, 37.39 can be obtained in the iteration times of 30000

This result is reasonable.

thanks you reply

There are several key points about how to modify the settings:

Batch size and learning rate. The default settings are set for 8 GPUs with a total batch size of 64 (8 images per GPU). You have 3 GPUs, and set the batch size as 48 (16 images per GPU). Thus, according to the scaling rule, your learning rate should be 0.12 * 48 / 64 = 0.09.
Training iterations and learning rate steps. We training a maximum iteration of 22500 for batch size 64, for batch size 48, you should also modify the maximum iteration from 22500 to 22500 * 64 / 48 = 30000. For the learning rate steps, they also should be re-calculated according to the rule, [15000 * 64 / 48, 20000 * 64 / 48]
The warmup iterations and the warmup factor. For batch size 64, we warm up the training for 1500 iterations. Thus, for batch size 48, you can modify it from 1500 iterations to 1500 * 64 / 48 = 2000 iterations. And for the warmup factor, it can be obtained by: 1. / 2000.

hi, i have only 1gpu(8gb)
i set batch size as 8
learning rate: 0.12 * 8 / 64 = 0.0015
maximum iteration: 22500 * 64 / 8 = 180000
learning rate steps: [15000 * 64 / 8, 20000 * 64 / 48] == [120000, 160000]
warm up  iterations: 1500 * 64 / 8 = 12000
warmup factor: 1. / 2000 = 0.0005
Is it the way I calculated it？

There are several key points about how to modify the settings:

Batch size and learning rate. The default settings are set for 8 GPUs with a total batch size of 64 (8 images per GPU). You have 3 GPUs, and set the batch size as 48 (16 images per GPU). Thus, according to the scaling rule, your learning rate should be 0.12 * 48 / 64 = 0.09.
Training iterations and learning rate steps. We training a maximum iteration of 22500 for batch size 64, for batch size 48, you should also modify the maximum iteration from 22500 to 22500 * 64 / 48 = 30000. For the learning rate steps, they also should be re-calculated according to the rule, [15000 * 64 / 48, 20000 * 64 / 48]
The warmup iterations and the warmup factor. For batch size 64, we warm up the training for 1500 iterations. Thus, for batch size 48, you can modify it from 1500 iterations to 1500 * 64 / 48 = 2000 iterations. And for the warmup factor, it can be obtained by: 1. / 2000.

There are several key points about how to modify the settings:

Batch size and learning rate. The default settings are set for 8 GPUs with a total batch size of 64 (8 images per GPU). You have 3 GPUs, and set the batch size as 48 (16 images per GPU). Thus, according to the scaling rule, your learning rate should be 0.12 * 48 / 64 = 0.09.
Training iterations and learning rate steps. We training a maximum iteration of 22500 for batch size 64, for batch size 48, you should also modify the maximum iteration from 22500 to 22500 * 64 / 48 = 30000. For the learning rate steps, they also should be re-calculated according to the rule, [15000 * 64 / 48, 20000 * 64 / 48]
The warmup iterations and the warmup factor. For batch size 64, we warm up the training for 1500 iterations. Thus, for batch size 48, you can modify it from 1500 iterations to 1500 * 64 / 48 = 2000 iterations. And for the warmup factor, it can be obtained by: 1. / 2000.

Is this calculation valid for every data set? Are we going to do the same calculation for datasets of different sizes?


Add full screen (presentation) mode

Add a shortcut that switches the window into full screen mode.

Maybe add a button?

If I understand it right, it's the same as f11 pressing does?

Maybe add a button?

Please, tell me what exactly we wanna get?

Like a full screen round button in the corner

Also maybe use alt+enter or ctrl+enter?


[FIX] Docs: Registering Root Tasks - Incorrect/Unclear example

Description
Updates example for adding a root task, and calling it along with the other package level tasks.
Testing Instructions
Review options listed in issue https://github.com/vercel/turbo/issues/8972, and confirm this is the correct implementation of this example.

This is a great observation. I'm thinking we should write both of the options you've described into the docs for thoroughness. Would you be up to adding an example of both?
Warning: It's highly likely that I'll be obnoxiously nitpicky about this, because I really like to make sure that we use succinct, excellent language when we're presenting folks with options. If you're ready for me to be mildly annoying about the precise way this gets written, we can keep going on this PR. Otherwise, I can take this on myself in a separate PR so I can be as surgical as I'd like to be without annoying you. 😄

Thanks @anthonyshew
Closing in favor of https://github.com/vercel/turborepo/pull/9098


Fix error 4012 RESTRICTIONS_CANNOT_BE_MET for Video Futur platform

For Video Futur platform, like for Tizen, key IDs should not be
transformed to big-endian UUIDs, it causes 4012 RESTRICTIONS_CANNOT_BE_MET error.
Issue #2189

Please run python build/all.py and make sure all the linter & compiler checks are passing.

@joeyparrish, as you suggested, I ran python build/all.py and fixed lint error. It's pushed now

Thank you for your contribution!


Fix broken link to dotenv-support in docs/s3-walkthrough

Currently the link to the documentation page dotenv-support is broken.
See http://ember-cli.com/ember-cli-deploy/docs/v0.6.x/s3-walkthrough/#uploading-to-s3
This should hopefully fix the link.

thanks!


Tabbing order

Hi,
If it's possible, tabbing order should be added. Now it is only possible to use the arrow keys and not the tab key.

Hey @PowellPowell,
Unfortunately no. And it has a reason. Tabs are used to go between form fields and go between form sub-grids. So, we can't use a tab inside the editable sub-grid. For navigating in sub-grid we need to use arrow keys and this is Microsoft setup (If you try the standard editable grid of Microsoft, tabs will not work there too. You need to use arrow keys).


[Bug]: Triggers do not persist from session to session on Sonoma / M1

Before submitting your bug report, please confirm you have completed the following steps

[X] Searched the issue is not already listed in the Issue List (I've searched it)
[X] Searched in the Quicksilver Users' Group for questions relating to tech support.
[X] Downloaded the latest version of Quicksilver for your system and confirmed the issue still persists.

Bug description
Mac Studio M1 Ultra
128GB RAM
macOS Sonoma 14.0
QuickSilver 2.4.1
Keyboard triggers must be individually re-set after each restart or shutdown/startup.
Sadly, major Sonoma conflicts with Photoshop and Scrivener – among other apps – are forcing me to downgrade to Ventura.
I haven't had to wipe a boot drive and reinstall macOS in decades. What a mess.
Steps to reproduce

Create keyboard trigger
Restart machine
Try keyboard trigger

Expected behavior
Expected triggers to… well… trigger.
MacOS Version
Other
Quicksilver Version
2.4.1
Relevant Plugins
n/a
Crash Logs or Spindump
No response
Screenshots
No response
Additional info
Keyboard language: US.

I am also noticing this behavior of broken triggers after a system reboot. Currently on Sonoma 14.1.2. Toggling each keyboard shortcut off then back on from the triggers panel gets it working again, but I have many triggers so it's not ideal.
Thanks to all who have made Quicksilver such a great app over the years! 🙏

Agree same issue. They "forget" they are active. The fastest way to have them work again is to go to the Tiggers window, and with one of them selected (they are all already checked). use the keyboard to go up or down and "touch" each row of trigger items. Now they will all work.

I have the same problem after upgrading to Sonoma, with the same workaround: opening the Triggers pane and selecting my custom trigger (I only use one) will get it working again. I have to do this after every system reboot.

I finally gave up and moved to Keyboard Maestro. Sorry devs, an thanks for all your work, but I need to keep up.


Failed to process consensus server notification.

Background
LND failed to initialize with Litecoin-qt.
Your environment

Windows 10 Pro 1803 x64

LND 0.4.1 AMD64

Litecoin Core 0.16.0 (litecoin-qt)

lnd.conf:

[Application Options]
debuglevel=info
debughtlc=true
maxpendingchannels=10
alias=LND
color=#ffffff

[Litecoin]
litecoin.active=1
litecoin.testnet=0
litecoin.mainnet=1
litecoin.node=litecoind
litecoind.dir="C:\\Users\\user\\AppData\\Roaming\\Litecoin"
litecoin.chaindir="C:\\Users\\user\\AppData\\Roaming\\Litecoin\\blocks"
litecoind.rpchost=<IP_ADDRESS>:59332
litecoind.rpcuser=username
litecoind.rpcpass=password
litecoind.zmqpath=tcp://<IP_ADDRESS>:19501
litecoin.basefee=0
autopilot.active=0

litecoin.conf:

txindex=1
server=1
addresstype=p2sh-segwit
rpcbind=<IP_ADDRESS>:59332
rpcuser=username
rpcpassword=password
rpcallowip=<IP_ADDRESS>
zmqpubrawblock=tcp://<IP_ADDRESS>:19501
zmqpubrawtx=tcp://<IP_ADDRESS>:19501

Steps to reproduce
1.Start litecoin-qt, wait it to sync.
2.Start LND:
lnd /litecoind.dir C:\Users\user\AppData\Roaming\Litecoin /litecoind.rpchost <IP_ADDRESS>:59332 /noencryptwallet /d debug

Expected behaviour
LND should start normally.
Actual behaviour
LND throwed out some error & exited.
Attempting automatic RPC configuration to litecoind
Automatically obtained litecoind's RPC credentials
2018-06-29 12:56:24.605 [WRN] LTND: C:\Users\user\AppData\Local\Lnd\lnd.conf:13: unknown option: litecoind.dir
2018-06-29 12:56:24.658 [INF] LTND: Version 0.4.1-beta commit=
2018-06-29 12:56:24.659 [INF] LTND: Active chain: Litecoin (network=mainnet)
2018-06-29 12:56:24.664 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
2018-06-29 12:56:24.747 [INF] LTND: Primary chain is set to: litecoin
2018-06-29 12:56:24.747 [INF] LTND: Initializing litecoind backed fee estimator
2018-06-29 12:56:25.652 [INF] LNWL: Opened wallet
2018-06-29 12:56:25.656 [INF] LNWL: Started listening for blocks via ZMQ on tcp://<IP_ADDRESS>:19501
2018-06-29 12:56:26.579 [INF] LNWL: The wallet has been unlocked without a time limit
2018-06-29 12:56:26.579 [INF] LTND: LightningWallet opened
2018-06-29 12:56:26.589 [INF] LNWL: Started rescan from block 119eedf4d39ee6823e83b9be6828cc207d66e1506e196ddaff349acf3343bb8b (height 40000) for 0 addresses
2018-06-29 12:56:26.596 [DBG] LTND: Adding debug invoice (*channeldb.Invoice)(0xc0424ac0b0)({
 Memo: ([]uint8) <nil>,
 Receipt: ([]uint8) <nil>,
 PaymentRequest: ([]uint8) <nil>,
 CreationDate: (time.Time) 2018-06-29 12:56:26.5969219 +0800 CST m=+2.040872901,
 SettleDate: (time.Time) 0001-01-01 00:00:00 +0000 UTC,
 TermC: (channeldb.ContractTerm) {
  PaymentPreimage: ([32]uint8) (len=32 cap=32) {
   00000000  01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |................|
   00000010  01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |................|
  },
  Value: (lnwire.MilliSatoshi)<PHONE_NUMBER>00000 mSAT,
  Settled: (bool) false
 }
})

2018-06-29 12:56:26.597 [DBG] SRVR: Debug HTLC invoice inserted, preimage=0101010101010101010101010101010101010101010101010101010101010101, hash=72cd6e8422c407fb6d098690f1130b7ded7ec2f7f5e1d30bd9d521f015363793
2018-06-29 12:56:26.603 [INF] HSWC: Restoring in-memory circuit state from disk
2018-06-29 12:56:26.606 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2018-06-29 12:56:26.622 [INF] RPCC: RPC server listening on <IP_ADDRESS>:10009
2018-06-29 12:56:26.623 [INF] RPCC: gRPC proxy started at <IP_ADDRESS>:8080
2018-06-29 12:56:26.624 [INF] LTND: Waiting for chain backend to finish sync, start_height=1447552
2018-06-29 12:56:26.885 [INF] LNWL: Starting rescan from block 119eedf4d39ee6823e83b9be6828cc207d66e1506e196ddaff349acf3343bb8b
2018-06-29 12:56:39.047 [INF] LNWL: Catching up block hashes to height 50000, this might take a while
2018-06-29 12:57:02.458 [INF] LNWL: Done catching up block hashes
2018-06-29 12:57:02.458 [INF] LNWL: Catching up block hashes to height 60000, this might take a while
2018-06-29 12:57:02.458 [INF] LNWL: Rescanned through block 69dc37eb029b68f075a5012dcc0419c127672adb4f3a32882b2b3e71d07a20a6 (height 50000)
2018-06-29 12:57:09.783 [ERR] LNWL: Failed to update address manager sync state for height 60000: Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-06-29 12:57:09.783 [INF] LNWL: Done catching up block hashes
2018-06-29 12:57:09.785 [ERR] LNWL: Failed to process consensus server notification (name: `rescanprogress`, detail: `Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.`)
2018-06-29 12:57:09.785 [INF] LNWL: Rescanned through block<PHONE_NUMBER>b3c78b1f58e606e388501463b5c53e5f592f22768d7e43a962d1e8 (height 60000)
2018-06-29 12:57:09.787 [INF] LNWL: Rescan finished at 63127 (88b10b7a3b2240ac3610bb67e9e6446754fe5711ee7ed7f65249aa63d5dea8ba)
2018-06-29 12:57:09.787 [INF] LNWL: Catching up block hashes to height 63127, this might take a while
2018-06-29 12:57:09.787 [ERR] LNWL: rescan failed: Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-06-29 12:57:09.793 [ERR] LNWL: Failed to update address manager sync state for height 63127: Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
2018-06-29 12:57:09.796 [INF] LNWL: Done catching up block hashes
2018-06-29 12:57:09.796 [INF] LNWL: Finished rescan for 0 addresses (synced to block 88b10b7a3b2240ac3610bb67e9e6446754fe5711ee7ed7f65249aa63d5dea8ba, height 63127)
2018-06-29 12:57:09.796 [ERR] LNWL: Failed to process consensus server notification (name: `rescanprogress`, detail: `Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.`)
Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.

The greater issue here seems to be:
2018-06-29 12:57:09.796 [ERR] LNWL: Failed to process consensus server notification (name: `rescanprogress`, detail: `Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.`)
Post http://<IP_ADDRESS>:59332: dial tcp <IP_ADDRESS>:59332: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.

@Roasbeef
I'm still very confused. What should I do to fix this problem? I have changed RPC binding port for several times, still not working.

@andronoob  You might have something else running on that port.  Try this: Open your cmd.exe and run this:  netstat -aon | findstr :59332  to see what you have.


thalamic nuclei segmentation in FastSurfer

Question/Support Request

Hi,
Is it possible to use the thalamic segmentation script in Freesurfer to segment thalamic nuclei from the Fastsurfer directory?
Thanks,
Vinny

HI Vinny,
we haven't tested that, but it is likely that it just works, since we provide basically all FreeSurfer files that may be necessary. Other pipelines have been tested and we plan to document what works (hopefully all add-ons: hippo, brainstem, thalamic).
So just try out and let us know. We will also try this.

Thanks, I'll install FastSurfer and will give it a try.

It probably needs wmparc.mgz which is not created in the default stream (as we use FastSurferCNN's DKT ATlas based cortical GM segmentation and generate a WM segmentation from that, which has the name "mapped" in it), this should be fixable via creating a symlink:
ln -s wmparc.mapped.mgz wmparc.mgz

Thanks for the tip.  I'll try first with the default outputted file structure, and if it doesn't work, will create the symlink.  Will update on how this goes.

I was to run FastSurfer without a problem.  However, I realized that FastSurfer requires FreeSurfer v6 stable release whereas the thalamic segmentation script ships with only Freesurfer version 7 and later.  I use FreeSurfer v7.2 and copied the thalamic seg script into the FS v6.0.1 bin folder (don't know if this is the correct thing to do), created the sym link in the FastSurfer output/mri folder, but get the following message:
Error using SegmentThalamicNuclei (line 158)
Provided atlas mesh file does not exist
Thanks

it should not matter that FastSurfer is (currently still) based on FreeSurfer 6.0.
For the postprocessing you can simply source FreeSurfer 7.2 and run the thalamic seg add-on.

Thank you, this worked perfectly.

I will keep this open until:

it is documented in the README what pipelines work after FastSurfer and how to make it work
it is decided if we automatically create all necessary symbolic links (I think we should) and until this is implemented
(probably will be in release 1.1)

That's a great idea, thanks again for your help.

fixed by #121 now creating symlinks by default.


pool.md

Hi, I ran into some issues when I tried to follow the pool registration tutorial, under point 1. I had make some changes to make it work.
cardano-cli shelley stake-pool registration-certificate \
     --cold-verification-key-file node.vkey \
     --vrf-verification-key-file vrf.vkey \
     --pool-pledge<PHONE_NUMBER>00 \
     --pool-cost<PHONE_NUMBER>0 \
     --pool-margin 0.01 \
     --reward-account-verification-key-file stake.vkey \
     --pool-owner-stake-verification-key-file stake.vkey \
     --testnet-magic 42 \
     --out-file pool.cert

best regards,
Faustino

Thanks! fixing it now.

My pleasure.

Closing as https://github.com/input-output-hk/cardano-tutorials/pull/179 is merged. Thank you.


feat: control editor focus

Now the editors can leave the dom (e.g. if a tab is clicked), but an editor will only call for focus if the MultifileEditor itself remounts

Slightly less cryptic version (sorry Nick).
If you started a new challenge the correct editor (the one with the editable region) got focus (and hence the cursor).  However, if you start opening and closing tabs, that causes the editors to unmount and remount from the dom.  Prior to these changes, all mounts would cause the mounted editor (with editable region) to call for focus.  So, clicking on some tabs would shift the cursor to to the editable region, but not all.  Subject to the whims of what React choses to mount/unmount.
With these changes, the editable region gets focus once, when you load a challenge and that's it.  Clicking on a tab pulls focus to that tab and never to an editor.

So when a new tab is opened, should the previously selected editor get unselected?


Misleading example of request-scoped data loaders?

https://github.com/graphql-java-kickstart/graphql-java-servlet/blob/master/README.md#request-scoped-dataloaders shows an example of how to use request-scoped data loaders. However, looking at the buildDataLoaderRegistry() method it seems that a new DataLoaderRegistry is created for each request, but the exact same userDataLoader is put in, so as far as I understand the data loader is still shared between requests (including its cache):
private DataLoaderRegistry buildDataLoaderRegistry() {
    DataLoaderRegistry dataLoaderRegistry = new DataLoaderRegistry();
    dataLoaderRegistry.register("userDataLoader", userDataLoader);
    return dataLoaderRegistry;
}

The example at https://github.com/graphql-java-kickstart/graphql-spring-boot/blob/master/example-request-scoped-dataloader/src/main/java/graphql/servlet/examples/dataloader/requestscope/CustomGraphQLContextBuilder.java does create a new DataLoader instance for every call to buildDataLoaderRegistry(), which seems right to me:
private DataLoaderRegistry buildDataLoaderRegistry() {
    DataLoaderRegistry dataLoaderRegistry = new DataLoaderRegistry();
    dataLoaderRegistry.register("customerDataLoader",
            new DataLoader<Integer, String>(customerIds ->
                    CompletableFuture.supplyAsync(() ->
                            customerRepository.getUserNamesForIds(customerIds))));
    return dataLoaderRegistry;
}

Am I correct in thinking the first example should be adjusted to also create new instances for every call to buildDataLoaderRegistry()?

@breun Ah, you're correct. Thanks for pointing it out, will update it.


Update Lammps project for nvt and npt simulations

Include changes to nvt and npt simulations.
Run unit conversions to produce proper log and gsd files.
Potentially will also include the study information checking tail corrections and shifts for different molecules.

Also need to run pre-commit locally or review the error message from pre-commit ci to fix the docstring.


Error: Unknown command or key 'REM' at line: 1.

Hi there,
Why there is no support for "REM"?
It's not a "issue" but it's kinda frustrating to remove all the comments from the payloads.
Anyway, i forked it and added the REM function to my branch.
Thanks

I added it in my branch


gimp cannot open NFS or CIFS files/paths

Under Ubuntu 20.04 LTS the snap-installed gimp -2.10.20 (/snap/bin/gimp) cannot open NFS or CIFS files/paths that are fully accessible to other apps.  After removing the snap version of gimp and installing the non-snap version of gimp 2.10.20 (with sudo apt install gimp) /usr/bin/gimp can access NFS/CIFS files/paths without a problem.
This same issue arises with the snap-installed vlc application:
dmk@del1:~$ cd /export
dmk@del1:/export$ ls
home  home1  miscSave  perfectlyFlat.jpg  root  rsync  Stage  vboxHD  vbShare
dmk@del1:/export$ vlc perfectlyFlat.jpg
cannot open path of the current working directory: Permission denied
dmk@del1:/export$ which vlc
/snap/bin/vlc
dmk@del1:/export$ sudo snap info vlc
[sudo] password for dmk:
name:      vlc
summary:   The ultimate media player
publisher: VideoLAN✓
store-url: https://snapcraft.io/vlc
contact:   https://www.videolan.org/support/
license:   unset
description: |
VLC is the VideoLAN project's media player.
Completely open source and privacy-friendly, it plays every multimedia file
and streams.
It notably plays MKV, MP4, MPEG, MPEG-2, MPEG-4, DivX, MOV, WMV, QuickTime,
WebM, FLAC, MP3, Ogg/Vorbis files, BluRays, DVDs, VCDs, podcasts, and
multimedia streams from various network sources. It supports subtitles,
closed captions and is translated in numerous languages.
commands:

vlc
snap-id:      RT9mcUhVsRYrDLG8qnvGiy26NKvv6Qkd
tracking:     latest/stable
refresh-date: 20 days ago, at 13:46 EDT
channels:
latest/stable:    3.0.11                      2020-06-16 (1700) 304MB -
latest/candidate: 3.0.11                      2020-06-05 (1700) 304MB -
latest/beta:      <IP_ADDRESS>-33-gd54c8ededa     2020-08-25 (1857) 308MB -
latest/edge:      4.0.0-dev-12855-g452372d1e7 2020-08-26 (1858) 352MB -
installed:          3.0.11                                 (1700) 304MB -
dmk@del1:/export$ df

...
//nas3/nas3.dmk<PHONE_NUMBER>  53666017<PHONE_NUMBER>   2% /media/nas.dmk
nas3:/mnt/pool1/nas2Exports<PHONE_NUMBER> 366902656<PHONE_NUMBER>   8% /export
and the snap-installed arduino:
dmk@del1:/export/home/dmk/Arduino%/newGeiger$ which arduino
/snap/bin/arduino
dmk@del1:/export/home/dmk/Arduino%/newGeiger$ arduino newGeiger.ino
cannot open path of the current working directory: Permission denied
dmk@del1:/export/home/dmk/Arduino%/newGeiger$ sudo snap info arduino
name:      arduino
summary:   Write code and upload it to your Arduino-compatible board.
publisher: Merlijn Sebrechts
store-url: https://snapcraft.io/arduino
contact:   https://github.com/snapcrafters/arduino/issues
license:   GPL-2.0
description: |
Arduino is an open-source physical computing platform based on a simple I/O
board and a development environment that implements the Processing/Wiring
language. Arduino can be used to develop stand-alone interactive objects or
can be connected to software on your computer (e.g. Flash, Processing and
MaxMSP). The boards can be assembled by hand or purchased preassembled at
https://arduino.cc
Setup
In order to upload code an arduino board over USB, you need to add your
user to the dialout group.
Python 3 support
This version of Arduino IDE runs in a sandbox for improved security and
stability. As a result, it does not have access to the Python libraries on
your device.
Python 3 and the serial library are installed inside of the sandbox so
they can be used by plugins. If a plugin needs additional Python 3
libraries, you can install them using the arduino.pip command. For
example, the following command installs the requests library inside of
the sandbox so the Arduino IDE can use it.

arduino.pip install requests

Python 2 is currently not supported in this package because it reached end
of life on January 1st 2020. If you have hardware that requires Python 2
support, please let us know.
Are you having issues?
Let us know by creating a new issue here:
https://github.com/snapcrafters/arduino/issues
commands:

arduino
arduino.pip
snap-id:      q7ex9QXSEs0gfmZHBPYtmSGSwjDTuYhF
tracking:     latest/stable
refresh-date: 20 days ago, at 13:48 EDT
channels:
latest/stable:    1.8.13 2020-06-24 (41) 148MB -
latest/candidate: ↑
latest/beta:      ↑
latest/edge:      1.8.13 2020-07-07 (44) 148MB -
installed:          1.8.13            (41) 148MB -
dmk@del1:/export/home/dmk/Arduino%/newGeiger$

suggesting that this is a genreic problem with apps distributed via snap.

Did you connect your snap-app's to the removable-media interface ?
Most of snap need it, but they don't all provide it by default.
On recent gnome environment you can do that through system settings / applications.
With removable-media enabled, a snap can access /media, /mnt, /run/media. So your CiFS or NFS shares must be mounted into one of those places. None else.
A snap has no straight access to the / root system partition and no access to hidden files ( files/folders beginning with a . dot ).

So, anyone that has automounted NFS home directories is just SOL???
Seems to me like a very short-sighted decision by the
backward-compatibility group of the snapd design team!
And the sneaky way they suppress installation of a non-snap version of gimp
or other packages is just downright nasty!
I've been committed to ubuntu since 10.04 LTS, but this new imperialistic,
dictatorial attitude of  the "snap" folks is starting to feel like the last
straw with respect to using ubuntu on any of the systems here   There are
alternatives!
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Mon, Nov 2, 2020 at 3:49 PM Cœur Noir<EMAIL_ADDRESS>wrote:

Did you connect your snap-app's to the removable-media interface ?
Most of snap need it, but they don't all provide it by default.
On recent gnome environment you can do that through system settings /
applications.
With removable-media enabled, a snap can access /media, /mnt, /run/media.
So your CiFS or NFS shares must be mounted into one of those places. None
else.
A snap has no straight access to the / root system partition and no access
to hidden files ( files/folders beginning with a . dot ).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-720716287,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXZHWXOAY4ZR26WBID3SN4LNLANCNFSM4QL7UAUQ
.

I did not mention it but most of snap app's have access to /home by default.
To sum it up, snap can see mounting points when they are in :
⋅ /home
⋅ /media
⋅ /mnt
⋅ /run/media
But you seem right regarding NFS ( or SMB ) :
⋅ https://askubuntu.com/questions/1220209/snap-with-nfs-shares
⋅ https://github.com/snapcrafters/gimp/issues/121
⋅ https://forum.snapcraft.io/t/difficulty-viewing-mounted-fileystems-via-samba-nfs-gvfs-interface/14680
( sorry, English is not my native language, what does SOL stand for ? )

Sorry for the "jargon" ... SOL stands for either short-on-luck or
sh*t-outta-luck, depending on one's level of aggravation.  I'm currently
leaning toward the 2nd option.
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Tue, Nov 3, 2020 at 10:11 AM Cœur Noir<EMAIL_ADDRESS>wrote:

I did not mention it but most of snap app's have access to /home by
default.
To sum it up, snap can see mounting points when they are in :
⋅ /home
⋅ /media
⋅ /mnt
⋅ /run/media
But you seem right regarding NFS ( or SMB ) :
⋅ https://askubuntu.com/questions/1220209/snap-with-nfs-shares
⋅ #121 https://github.com/snapcrafters/gimp/issues/121
⋅
https://forum.snapcraft.io/t/difficulty-viewing-mounted-fileystems-via-samba-nfs-gvfs-interface/14680
( sorry, English is not my native language, what does SOL stand for ? )
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-721188221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXX6YMFCUIQNNVKIIH2LSOAMRLANCNFSM4QL7UAUQ
.

No problem, happy to learn ;-)
I can see here https://forum.snapcraft.io/t/snaps-and-nfs-home/438 maybe some hope in case of NFS /home.

Thanks for the link, but those "fixes" seem just to add to the complexity,
and thus diminish the reliability, of all things "snap" ... maybe I'll go
back 18.04 and get rid of all the snap-crap until I can decide which
non-ubuntu distro to use.  There seems to be a sad user-unfriendly trend in
ubuntu.  For example, I really liked Unity but that went away.  Happily,
most of the things I liked in Unity are in the std 20.04, but this snap
complexity really seems to go against the grain, against the spirit of
Unix, IMHO, for power users.
What exactly are the advantages of snap anyway?
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Tue, Nov 3, 2020 at 10:23 AM Cœur Noir<EMAIL_ADDRESS>wrote:

No problem, happy to learn ;-)
I can see here https://forum.snapcraft.io/t/snaps-and-nfs-home/438 maybe
some hope in case of NFS /home.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-721195913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXYD2WW5SJMU4PBREBTSOAOABANCNFSM4QL7UAUQ
.

In my situation, it's not actually that /home is automounted NFS, but there
are several other important NFS mounts like /export mounted from a FreeNAS
file server which I installed to better secure much of our data).
Also, the plethora of "loop mounts" by snap stuff crowd out the useful info
from the df command.  Until I can ditch the rest of snap, I have aliased
"df" to "df | grep -v loop"
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Tue, Nov 3, 2020 at 10:48 AM Knight, Dave<EMAIL_ADDRESS>wrote:

Thanks for the link, but those "fixes" seem just to add to the complexity,
and thus diminish the reliability, of all things "snap" ... maybe I'll go
back 18.04 and get rid of all the snap-crap until I can decide which
non-ubuntu distro to use.  There seems to be a sad user-unfriendly trend in
ubuntu.  For example, I really liked Unity but that went away.  Happily,
most of the things I liked in Unity are in the std 20.04, but this snap
complexity really seems to go against the grain, against the spirit of
Unix, IMHO, for power users.
What exactly are the advantages of snap anyway?
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Tue, Nov 3, 2020 at 10:23 AM Cœur Noir<EMAIL_ADDRESS>wrote:

No problem, happy to learn ;-)
I can see here https://forum.snapcraft.io/t/snaps-and-nfs-home/438 maybe
some hope in case of NFS /home.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-721195913,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXYD2WW5SJMU4PBREBTSOAOABANCNFSM4QL7UAUQ
.

try
df -x squashfs -x tmpfs
Well for that matter ( mounts location ) snap only follows « classic » linux folder tree where /home, /media and /mnt are the de facto places for user-oriented mounts.
Also note for the moment, you may also bind folders from one place to ( eventually many ) other ( mount --bind or through fstab ) to make them available to snap.
For the moment  → as it goes a bit against designed snap safety concept, I assume it may become impossible ( ? ).

Thanks for the suggestions, but they all seem rather temporary, i.e. "For
the moment" .  I like longer term, robust solutions which, BTW is why I
embraced the LTS distros of ubuntu in the first place.
"For the moment", I have chosen to purge all the snap stuff from this
system (20.04) and, in the case of the "official" chromium, which insists
on reinstallation snap, I have firefox, opera and a non-snap version of
chromium as options which do not.
Maybe snap/snapd has good intentions, but when it intentionally breaks
stuff that has been working literally forever in Linux and in Unix-like
systems in general, it loses it usefulness as far as I'm concerned!
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Tue, Nov 3, 2020 at 12:07 PM Cœur Noir<EMAIL_ADDRESS>wrote:

try
df -x squashfs -x tmpfs
Well for that matter ( mounts location ) snap only follows « classic »
linux folder tree where /home, /media and /mnt are the de facto places
for user-oriented mounts.
Also note for the moment, you may also bind folders from one place to (
eventually many ) other ( mount --bind or through fstab ) to make them
available to snap.
For the moment → as it goes a bit against designed snap safety concept,
I assume it may become impossible ( ? ).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-721259426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXX42AIEPMYZO5DTMAFLSOA2EZANCNFSM4QL7UAUQ
.

It could also just be a matter of « where » are your nfs shares mounted.
It should be ok if they are mounted somewhere in :
⋅ /home
⋅ /media
⋅ /mnt
⋅ /run/media
Anywhere else it won't work, so don't create mounting points like :
⋅ /data
⋅ /export
⋅ /nfs
⋅ …
The purpose here is safety. By strictly following linux-folder-tree recommendations, snap reduce interactions between applications and system. Can be seen as an advantage in some contexts.
For the moment → as it goes a bit against designed snap safety concept, I assume it may become impossible ( ? ).
It's really an assumption of mine, here. As things move quite fast in snap realm. For example, I thought snap never had access to hidden files, they may actually read hidden files, but won't write to them ( unless they are stored in ~/snap/app/.somewhere )

And the sneaky way they suppress installation of a non-snap version of gimp
or other packages is just downright nasty!
I may agree here, but other ways to install things were not suppressed at all. Just a bit pushed away at first sight, the nasty bit.
« app'store » tended to show snap in priority but it's no longer the case, now you can chose « the source for package » ( APT/deb, snapstore, flatpak ).
Synaptic or gnome-package-kit have never gone away, neither command like sudo apt install gimp
PPA are still a thing too, have an eye to https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/gimp if you're looking for an up-to-date .deb for gimp ;-)
The only open-source package distributed by Ubuntu as a snap is chromium web browser.
All others may be found in .deb / flatpak / snap / AppImage, depending on community effort and dev's team to package.
Non-free/proprietary app's may be found only as snap, depending mostly on their editors.

Thanks for you insights and additional suggestions.  I have a developer's
build of chrome-linux  which works fine without any dependencies on snap.
I had to ditch "opera" browser because there seemed to be no way to
disconnect it from google as its default search engine - one can change it,
to duckduckgo, for example, butthe change is not permanent.
For the majority of Linux users I know (power users all)  the complications
of snap in the name of "safety" (i.e. "it's for your own good, you know")
is anathema to those who embraced the founding principles of Unix.
If y'all keep moving in this direction, I know at least a few Ubuntu users
who will go elsewhere.
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Thu, Nov 5, 2020 at 1:38 PM Cœur Noir<EMAIL_ADDRESS>wrote:

And the sneaky way they suppress installation of a non-snap version of
gimp or other packages is just downright nasty!
I may agree here, but other ways to install things were not suppressed at
all. Just a bit pushed away at first sight, the nasty bit.
« app'store » tended to show snap in priority but it's no longer the case,
now you can chose « the source for package » ( APT/deb, snapstore, flatpak
).
Synaptic or gnome-package-kit have never gone away, neither command like sudo
apt install gimp
PPA are still a thing too, have an eye to
https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/gimp if you're
looking for an up-to-date .deb for gimp ;-)
The only open-source package distributed by Ubuntu as a snap is chromium
web browser.
All others may be found in .deb / flatpak / snap / AppImage, depending on
community effort and dev's team to package.
Non-free/proprietary app's may be found only as snap, depending mostly on
their editors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-722563725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXZK3DK6RMNYF36B4R3SOLWJHANCNFSM4QL7UAUQ
.

Yes, and chromium is the thing that I cite as "nasty".  Specifically, when
I:
sudo apt install chromium-browser
I get:
dmk@del1:~$ sudo apt install chromium-browser
[sudo] password for dmk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
snapd
The following NEW packages will be installed:
chromium-browser snapd
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.3 kB/28.5 MB of archives.
After this operation, 126 MB of additional disk space will be used.
Do you want to continue? [Y/n]
I WAS using chromium-browser without snapd and the snap "conspiracy" has
subverted that..
Sadly, I suspect this is a preview of things to come from Ubuntu.
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Thu, Nov 5, 2020 at 8:38 PM Knight, Dave<EMAIL_ADDRESS>wrote:

Thanks for you insights and additional suggestions.  I have a developer's
build of chrome-linux  which works fine without any dependencies on snap.
I had to ditch "opera" browser because there seemed to be no way to
disconnect it from google as its default search engine - one can change it,
to duckduckgo, for example, butthe change is not permanent.
For the majority of Linux users I know (power users all)  the
complications of snap in the name of "safety" (i.e. "it's for your own
good, you know") is anathema to those who embraced the founding principles
of Unix.
If y'all keep moving in this direction, I know at least a few Ubuntu users
who will go elsewhere.
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Thu, Nov 5, 2020 at 1:38 PM Cœur Noir<EMAIL_ADDRESS>wrote:

And the sneaky way they suppress installation of a non-snap version of
gimp or other packages is just downright nasty!
I may agree here, but other ways to install things were not suppressed at
all. Just a bit pushed away at first sight, the nasty bit.
« app'store » tended to show snap in priority but it's no longer the
case, now you can chose « the source for package » ( APT/deb, snapstore,
flatpak ).
Synaptic or gnome-package-kit have never gone away, neither command like sudo
apt install gimp
PPA are still a thing too, have an eye to
https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/gimp if you're
looking for an up-to-date .deb for gimp ;-)
The only open-source package distributed by Ubuntu as a snap is
chromium web browser.
All others may be found in .deb / flatpak / snap / AppImage, depending on
community effort and dev's team to package.
Non-free/proprietary app's may be found only as snap, depending mostly on
their editors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-722563725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXZK3DK6RMNYF36B4R3SOLWJHANCNFSM4QL7UAUQ
.

Here is not the place for our opinions about snap and other things.
Back to topic : gimp or vlc as snap seem to have no access to your nfs share.
Did you try to mount your nfs share inside /home/export or /media/export or /mnt/export instead of /export ?
As far as I understand, that should be enough to solve your problem, given
⋅ both snap are connected to removable-media and network interfaces,
⋅ your $USER has necessary rights and permissions to access /…/export
In other words
⋅ as long as you target /export it won't work, by design so it's not a bug,
⋅ if you manage to change that mounting point from /export to /{home|media|mnt}/export and the problem still occurs, then we probably still have a bug.
I'm not a dev' neither very used to nfs but in my daily usage at work and at home I have no problems with gimp-snap accessing many partitions or removable drives and network resources ( samba ).

Agreed.  Sorry for wandering off into the technical discussion weeds.
Yes, I can mount the NFS filesystem as /media/export or whatever and that
works, and I can make /export a symlink to  /media/export and many of the
scripts etc that depended on the NFS filesystem mounted as /export worked,
but others did not and  operational  access to the NFS files in snap apps
was less straightforward because /export was not listed among the
"accessible" filesystems (i.e. in "open files" selection, click *Other
Locations->Computer) *... i.e. "backward compatibility" was broken for
snap'd apps and some of my more complex system admin scripts.   I tried
some of the solutions you suggested, but users here complained mightily.
Of course multiple "workarounds" are possible, but for me, as both a
developer and local system admin responsible for a dozen Ubuntu hosts, a
handful of raspberry pi hosts and a FreeNAS file server where the exported
NFS filesystems and the /BriefCase revision control and release management
server are hosted, the time it takes to develop those workarounds takes
away from the time I can devote to doing my actual job.  At this time, it's
easier and faster to ditch snapd and find non-snap versions of the snapd
apps.
Thanks for your time and suggestions.   You have been very helpful and
patient with wanderings.
Have a great day!
Dave
--
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Sat, Nov 7, 2020 at 1:08 PM Cœur Noir<EMAIL_ADDRESS>wrote:

Here is not the place for our opinions about snap and other things.
Back to topic : gimp or vlc as snap seem to have no access to your nfs
share.
Did you try to mount your nfs share inside /home/export or /media/export
or /mnt/export instead of /export ?
As far as I understand, that should be enough to solve your problem, given
⋅ both snap are connected to removable-media and network interfaces,
⋅ your $USER has necessary rights and permissions to access /…/export
In other words
⋅ as long as you target /export it won't work, by design so it's not a
bug,
⋅ if you manage to change that mounting point from /export to
/{home|media|mnt}/export and the problem still occurs, then we probably
still have a bug.
I'm not a dev' neither very used to nfs but in my daily usage at work and
at home I have no problems with gimp-snap accessing many partitions or
removable drives and network resources ( samba ).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-723476342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXX4UDT2XGM4ZPMYTTKDSOWEIVANCNFSM4QL7UAUQ
.

the time it takes to develop those workarounds takes
away from the time I can devote to doing my actual job
I'm probably not at the same scale but I can relate and unfortunately sometimes
it's easier and faster to ditch snapd and find non-snap versions of the snapd
apps. is the only way.

Indeed.  FWIW, you seem to be more understanding than your name
(pseudonym?) suggests.
Regards,
Dave
In your time of need, may your piece be with you!
The trouble with many of today's college graduates is not that they're
ignorant, it's that they've been taught so much that just isn't so!
                                                  (with apologies to

Ronald Reagan).
On Sat, Nov 14, 2020 at 8:40 PM Cœur Noir<EMAIL_ADDRESS>wrote:

the time it takes to develop those workarounds takes away from the time I
can devote to doing my actual job
I'm probably not at the same scale but I can relate and unfortunately
sometimes
it's easier and faster to ditch snapd and find non-snap versions of the
snapd apps. is the only way.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/121#issuecomment-727292959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACRXXXZKN7RL6GRILELBI7LSP4WRVANCNFSM4QL7UAUQ
.


Luk10114/965 integrated windows auth

https://devtopia.esri.com/runtime/common-samples/issues/965

@TADraeseke fixed those issues.


Vision Statement -- Project Description

The vision statement should include an executive summary of the project (6 points), including a problem/solution statement
James, Is the problem/solution statement going in this section? I'm not sure how Project Description subsection in the google doc aligns with the rubric. Thanks!

Yes, this section has the executive summary and problem/solution statement.
I structured it this way to follow the example Inception document.

Great, thank you @james-nakashian, I had not seen the example document. I just added links to the inception example doc and the inception grading criteria to the description of the inception milestone

Vision Statement was completed


Fix style error with MenuButton in default theme

Fix #13213

Kinda unrelated, but is this line a typo? Shouldn't it be sb_optbutton_focus?
https://github.com/GodotExplorer/godot/blob/1e8de1e2e1a316d2bbe1527aae6038f2f5ea64c7/scene/resources/default_theme/default_theme.cpp#L313

@Noshyaar It should be

@Noshyaar Fixed


Add signed_register_t for semihosting result

Add a generic definition to hold a signed register.

Fixed on 2022-07-28.


Gearman at 8.1 doesn't work

Describe the bug
php8.1 seems don't compile with gearman extension on MAC M1
PHP versions
8.1
To Reproduce
brew install<EMAIL_ADDRESS>Expected behavior

Screenshots/Logs

Additional context

Are you willing to submit a PR?

Bad request


Adapter not Working since update Synology NAS to 6.2.4

No Connection possible since updated the NAS to Version 6.2.4
Steps to reproduce the behavior:

Go to NAS and Update to Version 6.2.4

Versions:

Adapter version: 1.0.0 (Version 1.0.1 not avaible throught update
JS-Controller version: 3.2.16
Node version: 12.22.1
Operating system: Raspbian GNU/Linux

Additional context

Same here. Running iobroker from docker on that syno.
Is it possible to check logs of that adapter somewhere?

Same here…

same here... ;-)

in my case it was the same error as in ticket:
https://github.com/instalator/ioBroker.synology/issues/77
my iobroker ip was blocked liste:


Train red team element

File added to BACON FTC shared drive -> 23/24 Season -> 7080 -> TFOD Models -> red_element.tflite


Github updater script does not work in PHP 7

Because of issues with the used Parsedown script.

Changes have been merged into the original repository, so the temporary fork has been removed and the next version will use the original repo again.


Lambda node6.10, cannot open shared object file

"libvips-cpp.so.42: cannot open shared object file: No such file or directory",

I caught an error in lambda nodejs6.10
rm -rf node_modules
docker run --rm -v "$PWD":/var/task lambci/lambda:build-nodejs6.10 npm install sharp

What is the reason for not working?
Thanks.

Hello, were there any errors when running npm install?

Does the latest v0.20.8 exhibit this behaviour also? What are the contents of the node_modules/sharp/vendor/lib directory in the zip file you upload to Lambda?

What are the contents of the node_modules/sharp/vendor/lib directory in the zip file you upload to Lambda?

Feel free to re-open with more information if the problem persists.


BitBake Support for Google Cloud CPP?

I am trying to use the Google Cloud Storage C++ SDK on a project that runs on Automotive Grade Linux. It seems that this the build platform for AGL requires a BitBake recipe used by Yocto to compile the images. I found the following BitBake recipes online for Google Cloud SDK, but it does not seem to support C++ use.
https://layers.openembedded.org/layerindex/recipe/67968/
Can anyone confirm if this is the case and if so if there is some way to integrate Google Cloud SDK into BitBake?

I'm going to tag @scotthart who I think may know more about bitbake than I do.

Can anyone confirm if this is the case

Confirmed, but see below.

and if so if there is some way to integrate Google Cloud SDK into BitBake?

I am not sure integrating the Google Cloud SDK is what you want.  The Google Cloud SDK is the command-line tool to access Google Cloud Platform:
https://cloud.google.com/sdk/
It is not a library (or set of libraries) to program against Google Cloud in C++ or any other language.
If you want to integrate the C++ client libraries for Google Cloud into BitBake you would need to create BitBake rules to compile the code in this repository.  Having said that, we have no plans to package the libraries for specific Linux (or other OS) distributions.
We would gladly fix any bugs that make it hard (or even annoying) to package the google-cloud-cpp libraries, and happily accept contributions to make packaging easier, but this is not our focus for the foreseeable future.

Closing as it seems the question has been answered.


Huggingface quantisation

Documentation Update

Why was this update required?: Difficult to load model with such high parameters so needs to be loaded via bitsnbytes

Other information: Added link to hugging face's official bits-n-bytes notebook for reference

Unfortunately users will need to change some code in application/llm/huggingface.py
What you can do is maybe create a differnt class or a q parameter that can be passed to it called q to set quantisation if explicit by users. Will only need to add few lines of code here

Unfortunately users will need to change some code in application/llm/huggingface.py
What you can do is maybe create a differnt class or a q parameter that can be passed to it called q to set quantisation if explicit by users. Will only need to add few lines of code here

Updated in a new pull request #425 you can close this request


how to check if the subscription is active?

My app only has subscriptions. I want to check if the user's subscription is still active.
Can I use the getAvailablePurchases method for this?
If a subscription is canceled before the end date. Will this method return it?
And after the end of the subscription period, does the method return it?
To keep only active users using the premium version, I thought about checking with this method periodically, like every 10 days. or storing the end date of the user's existing subscription, in the storage and run only after this date.
Would that be a viable way?

See my comments at this issue: https://github.com/dooboolab/react-native-iap/issues/1280

You can see the sample source code in my repo.


Update TF Sync Param File to align to portal defaults

Overview/Summary
Update TF Sync Param File to align to portal defaults
This PR fixes/adds/changes/removes

Update TF Sync Param File to align to portal defaults

Breaking Changes
None
Testing Evidence
N/A
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Ensured contribution guidance is followed.
[x] Updated relevant and associated documentation.
[x] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@jtracey93 This one is difficult to review by eye, running an update against this branch to see the diff. Will report back.

@jtracey93 Here we go: https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/pull/1005/files


Move endpoints to indiv pkgs

As a heads up the build will fail due to exported constants not having comments on them. I would recommend adding something simple to them like // GetProjectEndpoint is a string representation of the current endpoint for getting projects


PP-1977 [REVIEW-ONLY] Forgotten Password notifications

WHAT

Added notifications as part of forgotten password journey. Since we don't need any information to send back to selfservice (was building the link for the notification in that side), removed response payload, returning a 200 OK response when creating a Forgotten Password successfully (consistent with second factor)

These changes assume selfservice is using v2 of the resource. This PR will make possible then to use this new version (next PR). So this PR depends on https://github.com/alphagov/pay-selfservice/pull/332 to be merged and deployed.

V2?  I kind of recall we had a long debate over V2 and maybe decided not to version internal APIs??cc: @mrlumbu

Other than that 👍

pay

About the V2 versioning comment:
as discussed this is only temporary, we will use v1 after clean up


test: fix some flakes that might relate to #5104.

Need to be prepared to handle disconnection when resetting the server in
HttpIntegrationTest::testRouterHeaderOnlyRequestAndResponse.

HttpIntegrationTest::testUpstreamDisconnectWithTwoRequests was racy. It was possible before for
both requests to be load balanced and sent to the first upstream connection. When the 200 for the
first request is received, we would then disconnect the upstream. This would then 503 back.

Risk Level: Low
Testing: 1k runs on internal build farm, most flakes disappeared.
Signed-off-by: Harvey Tuch<EMAIL_ADDRESS>

Resuming https://github.com/envoyproxy/envoy/pull/5172 here. BTW, this doesn't fix all flakes, just the most common. I'll hand off to the current on-call to continue the saga.


Dolphin not taking any input of RG353V keypad

Describe the Issue (If applicable)
As a follow up of my layer 8 problem resulting in PEBKAC (https://github.com/christianhaitian/arkos/issues/666) it must be the number... I managed to startup GC games but none of them is taking any input, start, YXAB nothing is working. How to reset the Dolphin key config? How to make it work with the RG353V keypad? I'm again convinced I did read all your Wiki pages, Issues, etc.. And I couldn't find it, managing Dolphin in general seems to be an impossible search query.
Any other games / cores work fine and input is just working, just Dolphin seems to be failing.
How can the issue be reproduced? (If applicable)
Start an GC game and try giving it input
What device are you using?
RG353V
What version of ArkOS are you on?
2.0 03112023
Anything else you'd like to include that may help to review this issue or feature request?

Which game did you test it with? Is it possible that you're testing a Wii game? I've found that NGC games that use controllers work, like SRW GC, but those Wii games that use controllers don't, like SRW Neo

I did try with Pikmin 2, Metroid Prime, Mario Kart Double Dash, Paper Mario. Got them from an certain not to name website under catagory GameCube. All those games are to my knowledge all real NGC games.

Paper Mario was to slow to run but I remember the controls working fine there.  I also have Pikmin 1 working fine on my end.  Did you make any changes to dolphin configurations via linux filesystem?

No didn't change anything in the config, I've openend it though but did not change a thing in it.
Can I safely purge the config folder? Would it recreate the files?

No.  Make sure /home/ark/.local/share/dolphine-emu/Config/GCPadNew.ini contains the following:
[GCPad1]
Device = evdev/0/retrogame_joypad
Buttons/A = Button 0
Buttons/B = Button 1
Buttons/Start = Button 9
Buttons/X = Button 3
Buttons/Y = Button 2
Buttons/Z = Button 7
Buttons/Hotkey = Button 8
C-Stick/Dead Zone = 25.000000000000000
C-Stick/Down = Axis 3+
C-Stick/Left = Axis 2-
C-Stick/Modifier = Control_L
C-Stick/Modifier/Range = 50.000000000000000
C-Stick/Right = Axis 2+
C-Stick/Up = Axis 3-
D-Pad/Down = Button 14
D-Pad/Left = Button 15
D-Pad/Right = Button 16
D-Pad/Up = Button 13
Main Stick/Dead Zone = 25.000000000000000
Main Stick/Down = Axis 1+
Main Stick/Left = Axis 0-
Main Stick/Modifier = Shift_L
Main Stick/Modifier/Range = 50.000000000000000
Main Stick/Right = Axis 0+
Main Stick/Up = Axis 1-
Triggers/L = Button 4
Triggers/R = Button 5


Update SAPBUILD.md

tried to slim down the prerequisites page
Hi Wolfgang, maybe you can add the BAS option? And maybe remove the install command for MTA?
Best regards
Anna

yes the tools section could be removed - we have it again in the setup guide for the mock server


Doesn't work if browser is zoomed out to specific levels

The TrackVisibility component does not display its children on scroll or resize when the browser is zoomed out to 90%, 80% or 67%.
The component works fine when zoomed out to 75%, 50%, 33% or 25%, which leads me to believe this is a pixel offset rounding issue.
Chrome Version 73.0.3683.86 (Official Build) (64-bit) on MacOS 10.14.4

Has this been addressed?


some problem about using NameMapper

I use nameMapper for append default prefix to erver key. but there is some mistake when i do it with RedissonSortedSet.
the “add” operation is ok，but "get" operation does’t work. I flow the source code, and found there a RedissonList member in RedissonSortedSet, when construct the RedissonList instance, it is do the "NameMapper.map" again, so there make double prefix.

Fixed. Thanks for report


Shrink icon.png

😊
ps. Is icon.png being used anywhere other than package.json? I assume this is the icon used for the Visual Studio Code extension.

😊
ps. Is icon.png being used anywhere other than package.json? I assume this is the icon used for the Visual Studio Code extension.

The icon targeting for VSC extension and docker hub main page.

Bump @XiaoningLiu


A more simple AHK solution

You can map "x" to "y" when holding "space" by space & x::Send {y}.
And add space::space to make space bar works alone.

As mentioned in the readme, I don’t use Autohotkey anymore (and haven’t done so for 3 years). I you feel like creating a simpler AHK solution, go ahead! Let me know when you're done, and I'll add a link to it here!

I think the idea is great. But the third layout is kind of personal choice, here is an example: https://github.com/district10/neo_keyboard_layout/blob/master/neo4win/spek.ahk (QWERTY keyboard plus an extra layout).


Missing pip option for [webdav] in documentation.

In the following documentation, there's a missing option for pip install dvc[webdav].
https://github.com/iterative/dvc.org/blob/master/content/docs/install/linux.md
https://github.com/iterative/dvc.org/blob/master/content/docs/install/windows.md

Yes, we have some extras that are not documented:
https://github.com/iterative/dvc/blob/master/setup.py#L131


New readme collaboration link

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

Summary by CodeRabbit

Documentation

Updated the app's description for clarity and consistency.
Expanded the contribution section to encourage broader collaboration.

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


Erik Chan Profile Branch

Adding my profile information

I think this looks great, it's marked as draft right now so I can't merge it but if you are ready just remove that flag and we can merge it into the main website.

Removed draft flag


c-sidebar-minimizer not working as expected

Hi, I'm getting issues with c-sidebar-minimizer, It makes the sidebar thinner but the nav items dont change so half their text is cut off, I would've expected the nav items to display their icons only when minimised. I have tried following the docs and the code from the live demo but cannot resolve this, this was working fine with CoreUI 2.X
Tried on Chrome and Firefox
JSBin with example issue here:
https://jsbin.com/salucufupi/edit?html,output
Thanks
Josh

Fixed this now I was missing c-sidebar-fixed from the sidebar class.


Merge upstream

contains untested change in deploy/kubernetes/console/templates/__stratos.tpl given stratosJetstreamEnv in __stratos.tpl

Codecov Report

Merging #392 into master will increase coverage by 0.42%.
The diff coverage is 70.71%.

@@            Coverage Diff             @@
##           master     #392      +/-   ##
==========================================
+ Coverage   59.19%   59.61%   +0.42%
==========================================
  Files        1052     1057       +5
  Lines       33119    33281     +162
  Branches     4643     4671      +28
==========================================
+ Hits        19606    19842     +236
+ Misses      13513    13439      -74


Add Native Link variable css

Add this to Style Management Natively.
--link-active-ft-color

added in v3.0.8


[RDBMS] enable rdbms-connect extension in Cloud Shell

Description

rdbms-connect extension requires dependencies to be installed beforehand in Linux System including Cloud Shell.
Originally this was prevented since there was no agreement from CloudShell team.
This change is to enable rdbms-connect extension in Cloud Shell, we are installing the dependencies in cloud shell https://github.com/Azure/CloudShell/pull/143 and remove the existing restriction in CLI
Testing Guide

History Notes

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

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

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

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

RDBMS

Please kindly provide some PR description.

Hi @jiasli kind reminder for code complete day. Thank you! :)

@jsntcy @kairu-ms Can you help review as you are the code owner?


WIP mistral tokenizer fix

Description

How Has This Been Tested?

Merge criteria:

[ ] The commits are squashed in a cohesive manner and have meaningful messages.
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has manually tested the changes and verified that the changes work

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.68%. Comparing base (44cc0d5) to head (a121626).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
+ Coverage   61.66%   61.68%   +0.02%
==========================================
  Files          28       28
  Lines        1693     1694       +1
  Branches      208      208
==========================================
+ Hits         1044     1045       +1
  Misses        553      553
  Partials       96       96

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add documentation about .Renviron file

If not using conda R, need to set the path to the library you want to use. Also (important!), the library directory must exist, otherwise it will not be used by R.

Added to https://github.com/csoneson/rnaseqworkflow/wiki/conda-environment


Added shouldDismissPresentedViewController property to options

I recently had the need to stack multiple modal navigation controller in my app. Therefore I added a shouldDismissPresentedViewController property to the options to enable this functionality in my app.
Maybe someone else finds that functionality useful :)

I think this would be useful! if we keep backwards compatibility. I am wary of adding a bunch of options, but I think it's okay for now
can we add a test for this?

@clayallsopp thanks for taking a look so fast, I just fixed the typos, added the method back in for backwards compatibility and fixed the indentation. Please also see my other comment.

awesome! can you add tests? the existing ones should point you in the right direction


Zend Tool Problem

Zend Tool have problems using Zend\Reflection that was moved away

Not valid, with a blank project not run, some resources missing, like \Zend\Code\Generator\Php\PhpFile

See this pull request, I've fixed all the \Zend\Code references, but it seems we're still waiting on \Zend\Reflection to come along before Zend\Tool will actually work.

Thank you so much, I check it today.

Yeah, if you apply that pull request and this quick hack here as a temporary substitute while we're waiting for \Zend\Reflection, then everything just works with Zend\Tool (as best as I've been able to tell).
I don't know whether the project structure is "correct" or if everything is namespaced correctly or anything, but it generates files and there are no errors, so that's a big step up from where we're at with Beta 1 right now.

It works, simple notices exists.
You can uncomment line 89 in FileReflection.php
Thank you so much for this working version.


Documentation on how to use Azure Portal to track Deployments

Benefit/Result/Outcome
Sitting around watching a dancing Running status isn't always the most fun. It's fun to watch the deployment!
Plus, it's helpful to redeploy just a single thing that failed if the rest of the deployment was successful.
Description
Document how to find your deployment in the Azure Portal and point to docs on how to use it.
Acceptance Criteria

Updated docs for the bicep implementation

Also link to existing docs on the azure portal.


Commit for abs support

This commit enables souper to optimize abs() function call. Some details:

A simple test case is added. This test will not call InstCombine, the result is just generated by souper.
Fixed the missing default label of switch.

LGTM, thanks!


Typo fix - "ACESS" to "ACCESS"

Some of the tests contain the word ACESS. It is spelled correctly ACCESS.

Good catch :blush: That must have been there for years...


Use libhdfs3 on fuse-hdfs

how to use  the libhdfs3 on fuse-hdfs ?

libhdfs3 suppose to work with HDFS without fuse. If you have setup fuse-hdfs, you may already get a mounted posix file system, right? Correct me if I am wrong.

xiaojuntong want a special version of fuse-hdfs which access hdfs with libhdfs3, right?
fuse-hdfs with jvm costs too much memory.

Well, you have to modify fuse-hdfs to work with libhdfs3. The api of libhdfs3 and libhdfs are almost the same. So I guess it will not need too much effort.

Vote to close unless @xiaojuntong says otherwise.


Removed duplicate code

In the current version duplicate code exists. This will remove one of these code.

Thanks for the detection :> updating npm package.


Reduce TakeMessageHeaders stack usage

Reduces stack from 296 to 216 bytes
Also drops one of the header scans (4 scans now rather than 5)
Before

Scan to LF
Scan for whitespace
Scan to CR
Processing data
Is Ascii

After

Scan to CR (Check next char is LF)
Scan for whitespace
Processing data
Is Ascii

Before (Single thread)
                   Method |          Mean |     StdDev | Scaled |          RPS | Allocated |
------------------------- |-------------- |----------- |------- |------------- |---------- |
           ParsePlaintext |   741.7011 ns |  6.9376 ns |   1.00 | 1,348,251.99 |     103 B |
  ParsePipelinedPlaintext |   598.3552 ns |  4.2161 ns |   0.81 | 1,671,248.24 |     103 B |
          ParseLiveAspNet | 3,614.6992 ns | 82.1754 ns |   4.87 |   276,648.19 |   1.09 kB |
 ParsePipelinedLiveAspNet | 3,465.4572 ns |114.0107 ns |   4.67 |   288,562.22 |    1.1 kB |
             ParseUnicode | 6,092.6527 ns | 70.9672 ns |   8.22 |   164,132.12 |   1.92 kB |
    ParseUnicodePipelined | 6,015.8772 ns | 89.8432 ns |   8.11 |   166,226.80 |   1.92 kB |

After (Single thread)
                   Method |          Mean |     StdDev | Scaled |          RPS | Allocated |
------------------------- |-------------- |----------- |------- |------------- |---------- |
           ParsePlaintext |   719.5477 ns |  5.4239 ns |   1.00 | 1,389,761.84 |     103 B |
  ParsePipelinedPlaintext |   589.5288 ns |  5.9007 ns |   0.82 | 1,696,269.85 |     103 B |
          ParseLiveAspNet | 3,559.7195 ns | 95.1606 ns |   4.95 |   280,921.01 |   1.09 kB |
 ParsePipelinedLiveAspNet | 3,267.8819 ns | 46.5472 ns |   4.54 |   306,008.61 |    1.1 kB |
             ParseUnicode | 6,124.7344 ns | 72.3207 ns |   8.51 |   163,272.38 |   1.92 kB |
    ParseUnicodePipelined | 5,942.0354 ns | 64.2330 ns |   8.26 |   168,292.50 |   1.92 kB |

Contributes to https://github.com/aspnet/KestrelHttpServer/issues/1316

We're holding back on any changes to request line and header parsing until we merge https://github.com/aspnet/KestrelHttpServer/pull/1277.
@pakrym Is this something you could include in your changes?


Clarify the definition of a unit time step as 1 hour

@knappa Based on a discussion with @jbeezley, my understanding is that each time step (in particular, the target_time argument to nlisim run __) represents 1 hour.
Please let me know if this is correct, or should be interpreted differently. Regardless, the current documentation is clearly inconsistent.

@knappa Waiting for your approval on this too.


panda: refactor can_send

The counter is supposed to be every 64 bytes starting with byte zero (not before each message).  This makes the first byte of every USB packet a counter.
https://github.com/commaai/panda/blob/7393783bc856fb6c700e3d6cbde04a1ac0195783/USB_packet_structure.png
It looks like we could use some unit tests for the send and receive since nothing failed!

my bad. I'll add unit tests for it.

@deanlee I will add more comments to code today so it will be easier to follow. In the mean time it would be awesome if you can add unit tests first!

@briskspirit I'm writing tests cases in https://github.com/commaai/openpilot/pull/22955. please feel free to let me know if I am doing anything wrong


Added an optional memo input

Summary
The Galoy backend API already supports an optional memo field when creating a lightning invoice, but the frontend interface didn't yet have a memo field. This pull request adds an optional memo field and allows users to send memos to each other over lightning invoices.
How it works
The new memo input field lives on the [username] page and passes the memo data to the ReceiveAmount and RecieveNoAmount components. The RecieveNoAmount component passes that memo information to a modified gql mutation which receives a lightning payment request from the backend. The RecieveAmount component passes the memo information to the GenerateInvoice component which generates a lightning invoice containing that memo information.
The memo input has been tested with US-ASCII characters, Korean characters, Chinese characters, and emojis, and has been able to encode memo data into lightning invoices.

as you can see the 'Semantic Pull Request' check is failing. Perhaps you could squash the commits into 1 and force push conforming to https://www.conventionalcommits.org/en/v1.0.0/.

The git commits got squashed and it's passing all checks now. 👍

@daviroo @UncleSamtoshi @jamespierog  I guess we can close this PR since we already have this feature in the cash register


fixbug: fillColumnFirst config/view exception.

Thanks! Can you provide a testcase or describe what problem this fixes?

when job count is just only one , rowCount is zero(bug)
when lots of jobs ,like 1000+,  want to show only running jobs.

Please don't mix different things in one pull request. Please create a pull request for each bug fix or new feature.


Plugging it in various touchups

Proposed changes
Adding content and fixing up various issues.

Updating "How do I teach unplugged" plugging it in paragraph
Adding static programming syntax reminders content in the editor info section. Additionally adding highlight.js to give the code blocks syntax highlighting.
Updating Kidbots Question 6.1 test cases to match the given solution.
Responsiveness updates to the bottom options bar for the editor.
Adding help pop-ups/modals to explain the different status categories - syntax error, time limit exceeded, error and failed.
Enabling the scratch tab on the plugging it in programming list. Adding a warning that the Scratch questions are not supported by the new Plugging it in the system but they can access the old content.

Checklist
Change the space in the box to an x for those you have completed.
You can also fill these out after creating the pull request.
If you're unsure about any of them, don't hesitate to ask.
We're here to help!
This is simply a reminder of what we are going to look for before merging your change.

[ ] I have read the contribution guidelines.
[ ] I have linked any relevant existing issues/suggestions in the description above (include #??? in your description to reference an issue, where ??? is the issue number).
[X] The pull request is requesting a merge into the develop branch.
[ ] I have added necessary documentation (if appropriate).
[ ] If I've added/modified/deleted a third-party system, I've updated the relevant license files.

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.
Feel free to add any images that might be helpful to understand the initial problem/solution.

Thanks @courtneycb !! The changes have been made.