text:
新版本MJRefresh3.1.13 AutoNormalFooter  加载数据后还是会回弹

新版本MJRefresh3.1.13 AutoNormalFooter  加载数据后还是会回弹

iOS 11

回弹是啥意思？可以具体一点么

意思就是說下拉沒有刷新的過程，下拉之後直接結束刷新了

可能上拉也有這種情況

ios11出現過 pod update之後升級到3.1.13下拉刷新問題就解決了

就是当我用这个AutoNormalFooter类型的时候，滑动到最后自动进行加载下一页数据，加载数据后正常来讲是直接将数据显示在当前位置，但是现在出现加载数据后会跳一下！，正常应该是直接显示第一页的底部和下一页第一条数据的一部分，现在是跳了一下，滚动后才看见第二页的第一条数据

你确定用的是AutoNormalFooter？不是BackNormalFooter？

恩恩  _tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
}];

之前有没有这种情况？检查下cell的高度是否正确。
发自我的 iPhone

在 2017年9月28日，15:46，FSAnonymous notifications@github.com 写道：
恩恩 _tableView.mj_footer = [MJRefreshAutoNormalFooter footerWithRefreshingBlock:^{
}];
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

我看你的demo里面不会出现这种情况,  我看看是我哪里出现了其他问题

我也出现了这样的问题

我也是呀，李大哥

@zhenLuoxiaoming @FSAnonymous  您们是不是 kvo观察 contentSize和contentOffset值的变化.进行一些动画。

我也是出现这个情况

I experiencing this too

我也是，在简书上看到说设置估计高度，但是估计高度给大了就向上回弹，给小了就向下回弹。。

貌似我也有这个情况？有没有解决办法

Duplicate of #1009

authors: CoderMJLee FSAnonymous Suzhibin bananaboss batkov cyW0923 goham wdq123550 wolfcon zhenLuoxiaoming

repo: CoderMJLee/MJRefresh


text:
Agent not moving when in Heuristic only

I have followed part 3 of the tutorial however when in heuristic only behavior type my agent only rotates but does not move forward/backward, left/right or jump. Any idea on what could be wrong

The movement speed setting was set to a super low value so I changed it and that fixed the movement. As for the jumping issue I think there was a problem with CheckIfGrounded and so I just made a new jumping system

source: gharchive/issue

repo: CoderOneHQ/ultimate-volleyball

license_type: permissive

license_source: github-api


text:
Problem with Greetings.yml

Hi,
There is some problem with greetings workflow, it is failing for users. kindly check that
thanks
Honey Bhardwaj

Yes i will check that soon !!

license: MIT


text:
🛑 Date is down

In 059f3ff, Date (https://dubae.vip) was down:

HTTP code: 403
Response time: 1561 ms

Resolved: Date is back up in 987efa2.

repo: Codifta/uptime


text:
Implemented tag system

The tag system, and everything else implemented, follows the conventional C# analyzers and common formatting.
Changes include:

Created the Tag Model

Implemented the Tag Model as a DbSet

Created the services relating to Tags in DataAccessLayer

Implemented the service via commands in GeneralModule

I went ahead and did all this in the most recent commit, along with editing the tag commands to match the naming changes in the DataAccessLayer.

All the changes requested by Directoire have just been commited.

source: gharchive/pull-request

repo: Coding-with-Efehan/CWE


text:
Refactor to use a post request

You can create an interface, but for now, you can use a piece of software called Insomnia to make post requests :)

Thank you for demonstrating the wonder of POST requests! Leaving this as a GET right now for demonstration purposes. 💖

I would still vote for POST request.
With GET request it's possible to send someone a url which instantly votes for them. This sounds like security issue.
For example: http://localhost/vote/a1b2c3d4e/2

integrated into my fork

Ok! I'm good with switching to a POST request (if it hasn't already been altered in another pull request). Feel free to resubmit!

@all-contributors please add @simon-tiger  for code and ideas

authors: BlackBirb ShawKai91 shiffman simon-tiger

repo: CodingTrain/Live-Poll


text:
Add Optimized Brownian Snowflake in Processing

Implemented spatial partitioning to check intersections faster and some other refactoring stuff
Only draw particles once and don't clear screen
Bonus spiderweb-like snowflake mode created by accident
link to demo gif:
https://thumbs.gfycat.com/SaneBelovedHerring-size_restricted.gif

Great work ❤

authors: BoltManGuy gruselhaus

repo: CodingTrain/website


text:
Feature/knotx#186 fragment ids

NOT READY, WORK IN PROGRESS!

[x] Change Fragment model to support multiple identifiers
[x] Update example content with correct identifiers
[x] AbstractKnot refactor - remove Handler from API
[ ] Enable Knot usage decision Server based on data-knot-types
[ ] Move HTML markup concatenation from HandlebarsKnot to AssembeKnot
[ ] Update documentation

Do a merge with master !

authors: marcinczeczko tomaszmichalak

repo: Cognifide/knotx

license_source: bigquery


text:
Preview 1.82.8 Emergency Hotfix

What's new? - 1.82.8

[Fix] Game repair methods failing to check for plugin existence, by @bagusnl

This happened because string matching error between / and \

[Fix] ZZZ Repair failing due to unknown return code, by @bagusnl

is this even a fix? idk, I just ignored the return code LMAO

[Fix] AppUserModelID conflicting between ToastCOM and Velopack, by @neon-nyan
[Imp] Performance improvement for 7z extractor method, by @neon-nyan
[Imp] Performance improvement for any unmanaged calls by increasing buffer size, by @neon-nyan
[Imp] Avoid UI locking when loading Sophon metadata, by @neon-nyan
[Imp] Refactored Progress handler, by @neon-nyan

Templates

Changelog Prefixes
  **[New]**
  **[Imp]**
  **[Fix]**
  **[Loc]**
  **[Doc]**

Blocking: #629 #631

Blocking resolved, preparing release...

repo: CollapseLauncher/Collapse


text:
docs: add first introduction part (Aggragate Programming paragraph)

Site introduction implementation

@Danix002 I suggest not to close PRs, just leave it open and when you'll add a commit on your branch it will refresh automatically.
Or were there other motivations to close it?

There is no reason, i made a mistake. Thank you."

I would suggest organizing the docs with the DIVIO framework

I would suggest organizing the docs with the DIVIO framework

I've structured the documentation in that way, following: https://docs.divio.com/documentation-system/

authors: Danix002 DanySK angelacorte nicolasfara

repo: Collektive/collektive


text:
docs: extend docstrings helicity and kinematics

Added several examples that explain the implementations in the helicity and kinematics modules.
A preview of the API can be viewed here:
https://qrules.readthedocs.io/en/improve-docstrings/usage/conservation.html

@spflueger @Leongrim I think there is something off with formulate_clebsch_gordan_coefficients, as it doesn't agree with Kutschke 1996. The problem can best be seen in the new docstring here
For reference, here is the current implementation:
https://github.com/ComPWA/ampform/blob/b4f6b33be7b7dce740dcf834aa10f2f536f06c1d/src/ampform/helicity/__init__.py#L364-L380

@spflueger @Leongrim I think there is something off with formulate_clebsch_gordan_coefficients, as it doesn't agree with Kutschke 1996. The problem can best be seen in the new docstring here.
For reference, here is the current implementation:
https://github.com/ComPWA/ampform/blob/b4f6b33be7b7dce740dcf834aa10f2f536f06c1d/src/ampform/helicity/__init__.py#L364-L380

Could you summarize the problem for me. I don't understand whats wrong, so some example showing an input an output and what output you expect

Problem has been (partially) solved: AmpForm does not use the canonical formalism directly, but uses Eq. (4.32) in Chung 2014 to compute the canonical basis from the helicity basis (hence formalism="canonical-helicity").
This also explains the problems experienced in https://github.com/ComPWA/qrules/pull/84, namely that nodes on a StateTransition produced with canonical(-helicity) formalism do not comply with spin_conservation (the spin projections are actually helicities and are not conserved in the transformation to canonical).
I extended the docstring to formulate_clebsch_gordan_coefficients with more info a links, hope this reduces any potential future confusion.

@spflueger, there is still one thing in the implementation that bothers me. The example in the new docstring follows Eq. (4.32) in Chung 2014 and correctly reproduces the output from formulate_clebsch_gordan_coefficients:

The implementation is different though. Why is angular momentum projection used there as well?
https://github.com/ComPWA/ampform/blob/b4f6b33be7b7dce740dcf834aa10f2f536f06c1d/src/ampform/helicity/__init__.py#L364-L380

I think all angular momentum projections that are inserted into that CG function call are just zero. I don't know if it has some benefit writing it in this general way though...

I think all angular momentum projections that are inserted into that CG function call are just zero. I don't know if it has some benefit writing it in this general way though...

Ok, so I propose setting m1 to 0 then, because we now quote that formula in Chung. Indeed it seems that QRules always sets l_projection to 0, but we shouldn't rely on that.

https://github.com/ComPWA/ampform/pull/100#issuecomment-886466757
Actually now I notice there is this (unexplained) exception:
https://github.com/ComPWA/ampform/blob/adad83327211342f63f38c79752c6e687fd413e5/src/ampform/helicity/__init__.py#L394-L395

authors: redeboer spflueger

repo: ComPWA/ampform


text:
pip install fails

I have noticed that the pip install fails with the following error
      FileNotFoundError: [Errno 2] No such file or directory: './minisuperb/version.txt'

I am using python 3.10.11
Do you know how I can solve this problem?

Thank you for addressing this issue


text:
not working after upgrade strapi 4.6.1

Hi there,
Just update strapi to 4.6.1 and plugin to 2.3.2.. and not working anymore.
Any known issue?

None that I am aware of. Can you post what your plugin config is and expand on what you meant by "it is not working"?

Hi again,
I just run some test and i can confirm if you are trying to rewrite the same field it no longer does it like it did before
Works properly if the field and references are different.

It's possible they changed something in the newest version, I'll have a look.

In this case you need to enable the shouldUpdateSlug option so it forces an update. Due to the circular reference if this option is not enabled it will skip the slugification as you will always have some content there.

repo: ComfortablyCoding/strapi-plugin-slugify


text:
CI: Fix for sbt make-site

The uniform build is kaput due to the artifactory credentials issue that arose some weeks back.
I've brought uniform forward to use ci2, however there's an issue in building the docs. ci2 expects the project to be using the uniform plugin, which will be the case for all of our projects except this one of course.
This change adds a uniform-specific script to build the gh-pages site (it is a cut down version of this).

👍

authors: andynygard vineethvarghese

repo: CommBank/uniform


text:
Add devcontainer.json and links to open example notebooks in codespace

Also bump torch and torch.scatter from 1.12 to 1.13 in CI.

Not merging yet due to torch-scatter install error in Codespace but not in CI (so maybe related to Python version).

Install logs
2022-11-24 23:35:47.469Z: [23:33:58+0000] Searching for torch_scatter
2022-11-24 23:35:47.469Z: [23:33:58+0000] Reading https://pypi.org/simple/torch_scatter/
2022-11-24 23:35:47.470Z: [23:33:58+0000] Downloading https://files.pythonhosted.org/packages/49/f6/2407e1618ec03952a5fe7ebd6e6f7598ede1201ae8b12a96f85f8a03e81e/torch_scatter-2.1.0.tar.gz#sha256=3a7124c2a033552febbdc72407f7d4d8cb6dce465720e84ab831512e81c1d208
2022-11-24 23:35:47.471Z: [23:33:58+0000] Best match: torch-scatter 2.1.0
2022-11-24 23:35:47.471Z: [23:33:58+0000] Processing torch_scatter-2.1.0.tar.gz
2022-11-24 23:35:47.477Z: [23:33:58+0000] Writing /tmp/easy_install-5fu65dqu/torch_scatter-2.1.0/setup.cfg
2022-11-24 23:35:47.477Z: [23:33:58+0000] Running torch_scatter-2.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5fu65dqu/torch_scatter-2.1.0/egg-dist-tmp-ts5ppchn
2022-11-24 23:35:47.478Z: warning: no previously-included files matching '*' found under directory 'test'
2022-11-24 23:35:47.479Z: gcc: fatal error: Killed signal terminated program cc1plus
2022-11-24 23:35:47.479Z: compilation terminated.
2022-11-24 23:35:47.480Z: error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1
2022-11-24 23:35:47.484Z: "2022-11-24 23:35:46"|ERROR|[23:33:44+0000] running install
...
2022-11-24 23:35:47.692Z: [23:33:58+0000] Running torch_scatter-2.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5fu65dqu/torch_scatter-2.1.0/egg-dist-tmp-ts5ppchn
2022-11-24 23:35:47.693Z: warning: no previously-included files matching '*' found under directory 'test'
2022-11-24 23:35:47.694Z: gcc: fatal error: Killed signal terminated program cc1plus
2022-11-24 23:35:47.696Z: compilation terminated.
2022-11-24 23:35:47.697Z: error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1 | Exit code:  | Please review your setup.py | More information: https://aka.ms/troubleshoot-python

repo: CompRhys/aviary


text:
OCPBUGS-6780: Add a test to expose cleanup issue with SSBs

When you remove a profile from a ScanSettingBinding after it's already
been run, the Compliance Operator doesn't clean it up.
This commit adds a test to expose that.

The assertions in the test still need some work to make sure we're checking the scan properly after updating the binding.
Throwing what I have in review for now.

/hold for test

Below is also the steps to reproduce:
$ oc compliance bind -N test profile/ocp4-cis profile/ocp4-cis-node
Creating ScanSettingBinding test
$ oc get suite
NAME   PHASE   RESULT
test   DONE    NON-COMPLIANT
###delete one profile, and retrigger the scan:
$ oc patch ssb test --type='json' -p='[{"op": "remove", "path": "/profiles/1"}]'
scansettingbinding.compliance.openshift.io/test patched
$ oc get ssb -o yaml
apiVersion: v1
items:
- apiVersion: compliance.openshift.io/v1alpha1
  kind: ScanSettingBinding
  metadata:
    creationTimestamp: "2023-05-17T02:13:46Z"
    generation: 2
    name: test
    namespace: openshift-compliance
    resourceVersion: "38577"
    uid: 5d042f04-2a9b-4e2d-b566-8cbab0c22757
  profiles:
  - apiGroup: compliance.openshift.io/v1alpha1
    kind: Profile
    name: ocp4-cis
  settingsRef:
    apiGroup: compliance.openshift.io/v1alpha1
    kind: ScanSetting
    name: default
  status:
    conditions:
    - lastTransitionTime: "2023-05-17T02:13:46Z"
      message: The scan setting binding was successfully processed
      reason: Processed
      status: "True"
      type: Ready
    outputRef:
      apiGroup: compliance.openshift.io
      kind: ComplianceSuite
      name: test
kind: List
metadata:
  resourceVersion: ""
$ oc get suite -w
NAME   PHASE   RESULT
test   DONE    NON-COMPLIANT
$ oc get scan
NAME                   PHASE   RESULT
ocp4-cis               DONE    NON-COMPLIANT
ocp4-cis-node-master   DONE    COMPLIANT
ocp4-cis-node-worker   DONE    COMPLIANT
$ oc compliance rerun-now scansettingbinding test
Rerunning scans from 'test': ocp4-cis
Re-running scan 'openshift-compliance/ocp4-cis'
$ oc get scan -w
NAME                   PHASE     RESULT
ocp4-cis               RUNNING   NOT-AVAILABLE
ocp4-cis-node-master   DONE      COMPLIANT
ocp4-cis-node-worker   DONE      COMPLIANT
ocp4-cis               AGGREGATING   NOT-AVAILABLE
ocp4-cis               AGGREGATING   NOT-AVAILABLE
ocp4-cis               DONE          NON-COMPLIANT
$ oc get ccr -l compliance.openshift.io/scan-name=ocp4-cis-node-master | head
NAME                                                                  STATUS   SEVERITY
ocp4-cis-node-master-etcd-unique-ca                                   PASS     medium
ocp4-cis-node-master-file-groupowner-cni-conf                         PASS     medium
ocp4-cis-node-master-file-groupowner-controller-manager-kubeconfig    PASS     medium
ocp4-cis-node-master-file-groupowner-etcd-data-dir                    PASS     medium
ocp4-cis-node-master-file-groupowner-etcd-data-files                  PASS     medium
ocp4-cis-node-master-file-groupowner-etcd-member                      PASS     medium
ocp4-cis-node-master-file-groupowner-etcd-pki-cert-files              PASS     medium
ocp4-cis-node-master-file-groupowner-ip-allocations                   PASS     medium
ocp4-cis-node-master-file-groupowner-kube-apiserver                   PASS     medium

/unhold

authors: rhmdnd xiaojiey

repo: ComplianceAsCode/compliance-operator


text:
Refactor: Decouple *Client types from Any* types

The basic reason for this refactor is to be able to separate different IBC clients (Beefy, Near, etc.) from the ibc-rs crate itself. This wasn't possible due to the usage of Any* (AnyClient, AnyConsensusState, etc.) types highly coupled to the particular client implementation, so in order to do this one would need to abstract the clients on some global definition of the Any* types. This is done by introducing GlobalDefs trait and passing it as a generic G to most of the IBC and clients' functions.

Can you provide a high level description of the refactor? @vmarkushin

The final step for this pr will be to remove the Any* types and introduce the macro we talked about @vmarkushin

authors: blasrodri seunlanlege vmarkushin

repo: ComposableFi/ibc-rs


text:
Project Feedback!

👍 Congrats on completing the third project!
I have provided a detailed Project 3 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.

👍 Congrats on completing the fourth project!
I have provided a detailed Project 4 Feedback Guide here which covers the most common issues with this submitted project. Read through the feedback guide point-by-point to determine how you could improve your submission.
Let us know if you have any other thoughts or questions about this assignment. Hopefully by now you feel pretty comfortable with all the major pieces to basic Android apps (Views, Controllers, Models, Authentication, API Communication, Preferences, ActionBar, et al) and see how they all fit together.
/cc @codepathreview

repo: ConceptaNjolima/SimpleTweet


text:
Report block import timings

Description
To improve diagnostics and aim in performance improvements, we need to establish a way to report key timings for the block import process.  This includes:

How long after slot start the block is received
How long between then and ForkChoice.onBlock first being called
How long it takes to retrieve the parent state
How long it takes to create the block post state
How long it takes to actually import the block (ForkChoice.importBlockAndState)
How long it takes for the transaction to commit

The aim is to get a view of what takes time for block import (in a real node).  We need to ensure that capturing the timings is extremely lightweight so it doesn't affect performance.
Reporting this data is challenging - metrics are only sampled periodically so while a gauge showing timings for the last imported block may be useful, it can also miss information between samples being taken. A histogram shows the average well but tends to hide outliers and doesn't show time periods were performance is unusually slow. Logging the data for every block is too noisy.
I'd suggest:

Add a gauge to show timings for the last imported block (a labelled gauge with a label for each step and the value being the number of millis into the slot when that step was completed).
If a block completes importing more than 4s into a slot (and the node is not in syncing mode), log a warning including the full timing details.

Probably worth doing the logging of a warning when the block finishes importing more than 4s into the slot as the first step - that likely gives us really useful information with lots of detail but without being overwhelming since late blocks are always noteworthy as they cause incorrect head votes.

@ajsutton I was thinking to a different approach for metrics:
image we have a labeled gauge for each import stage
the label in this gauges are "0-50ms", "50-100ms", and so on with last ">1s"
and we may have an overall processing time gauge with wider time frames
so we can count blocks processing stages that fall into a particular timeframe
with the overall processing time working similarly
it is just matter of finding timeframe "bands" that make sense for each stage.
and we may activate it with a --Xblock-processing-performance-metrics-enabled or similar

replace "gauge" with "counter"

Yeah I like that idea. If they're counters you can track the rate they  increase or just look at relative distribution between them. Might need to play with grafana dashboards to see how to best visualise it but I think we'd be able to make something work.

authors: ajsutton tbenr

repo: ConsenSys/teku


text:
[BUG] ModuleNotFoundError: No module named 'allennlp.data.tokenizers.word_splitter'

Describe the bug
ModuleNotFoundError: No module named 'allennlp.data.tokenizers.word_splitter'
system env:
macbook pro m1, ventura 13.0.1
Anaconda3-2022.10-MacOSX-arm64
conda env:
conda create -n convlab3 python=3.9
pip install -e .
pip install allennlp, overrides
To Reproduce
Steps to reproduce the behavior:

Go to tutorials/Getting_Started.ipynb
Click on the first cell of "build an agent"
Scroll down to '....'
See error

Expected behavior
no bug
Actual behavior
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /var/folders/4t/jbjy985148dd53fy6b34rtjw0000gn/T/ipykernel_47306/1050441968.py:3 in      │
│                                                                                │
│ [Errno 2] No such file or directory:                                                             │
│ '/var/folders/4t/jbjy985148dd53fy6b34rtjw0000gn/T/ipykernel_47306/1050441968.py'                 │
│                                                                                │
│ /Users//03nlp/chatbot/ConvLab-3/convlab/nlu/milu/multiwoz/init.p │
│ y:1 in                                                                                │
│                                                                                │
│ ❱ 1 from convlab.nlu.milu.multiwoz.nlu import MILU                                               │
│   2                                                                                │
│                                                                                │
│ /Users//03nlp/chatbot/ConvLab-3/convlab/nlu/milu/multiwoz/nlu.py:12  │
│ in                                                                                │
│                                                                                │
│     9 import torch                                                                               │
│    10 from allennlp.common.checks import check_for_gpu                                           │
│    11 from allennlp.data import DatasetReader                                                    │
│ ❱  12 from allennlp.data.tokenizers.word_splitter import SpacyWordSplitter                       │
│    13 # from allennlp.data.tokenizers import spacy_tokenizer                                     │
│    14 from allennlp.models.archival import load_archive                                          │
│    15                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'allennlp.data.tokenizers.word_splitter'
Additional context
Add any other context about the problem here.

I think this is caused by allennlp version. MILU requires allennlp==0.9.0 which is incompatible with latest version. see https://github.com/ConvLab/ConvLab-3/tree/master/convlab/nlu/milu to setup python environment

fixed, thanks a lot


text:
🛑 The Coop Computer is down

In d590c5d, The Coop Computer (https://$COOPWEBSITE/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: The Coop Computer is back up in 39ad787.

repo: CoopPlayzz/CoopWebsitesUptime


text:
⚠ Samsung has degraded performance

In 50b45a8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3010 ms

Resolved: Samsung performance has improved in 8e01493.

repo: CoopPlayzz/Webstatus-electronicbrands


text:
⚠ Samsung has degraded performance

In 9f5dca6, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3168 ms

Resolved: Samsung performance has improved in 64ae7b0.


text:
⚠ Samsung has degraded performance

In d8d95d3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2688 ms

Resolved: Samsung performance has improved in 640f2d6.


text:
⚠ Minecraft has degraded performance

In b2747bc, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1076 ms

Resolved: Minecraft performance has improved in c67a060.

repo: CoopPlayzz/Webstatus-games


text:
🛑 Fortnite is down

In 965fe2f, Fortnite (https://fortnite.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fortnite is back up in 5802e5d.


text:
evaluate the model with customized input

I appreciate the work you shared, but I'm having some problems
I have many samples to predict, what should I do with them？
python inference.py
--model_file ${the path of your saved model}
--sent ${sentence you want to evaluate, str type restricted}
This approach seems to load the model once to process only one sample, which is very slow. Is there any way to process all samples after loading the model once? Do you have any suggestions?
Thanks.

Thank you for your answer, I got it.

repo: Coopercoppers/PFN


text:
Windows资源管理器预览信息版本号没有更新

😨😨😨😨我的锅，可能最后打包错了，不过问题不大，应该就这个版本号没变。感谢提醒！！！

authors: ivysrono wy-luke

repo: CopyPlusPlus/CopyPlusPlus-NetFramework


text:
Add bdjuno to sudo users

This change is

closing it then

authors: alinetskyi ysv

repo: CoreumFoundation/bdjuno


text:
Add GenericCoin trait

Adds a simple GenericCoin trait, to treat native and cw20 coins generically.
Complemented with an equivalent PR in the cosmwasm-plus repo.

This seems a bit too much abstraction for me. I was quite happy with a type like this, which makes it explicit.
pub enum AnyCoin {
  Native(Coin),
  Cw20(Cw20Coin),
}

Either we start storing &dyn CoinTrait or we have to switch on the type in some point when we store them. The de/serialization in particular makes me wary of the traits. I will look at cosmwasm-plus prs.

Closing this PR to avoid the complexity in std lib.

I agree with closing this here as I don't see why this would need to live in the standard library. I think we should bring such a trait to maturity in the place where it is needed (we can implement the trait for Coin in the module where the trait is defined). Then we can consider moving it to std if we have a good reason to.

authors: ethanfrey maurolacy webmaster128

repo: CosmWasm/cosmwasm


text:
.hidesBottomBarWhenPushed = true smooth transition when pushing

I use UITabBarController and UINavigationController in my app. I am pushing another view using custom transition and in need to hide tab bar after push. But I can't make it smooth, it just disappears immediately when the second view controller is pushed

Hi @roteirod thank you for sharing your issue. Can you share your setup code or sample project that we may play with and help you out?

Here is what I do in my first viewController which is inside a navigationController inside a tabBarcontroller
override func viewDidLoad() {
        super.viewDidLoad()
        navigationController?.isMotionEnabled = true
        navigationController?.motionNavigationTransitionType = .none
}

I also setup all the identifiers for transition here
        self.motionIdentifier = "avatar"
        lblName.motionIdentifier = "name"
        scrollView.motionIdentifier = "verified"

Then I push the second viewController
if let profile = ProfileViewController.storyboardInstance() {
            profile.userProfile = userProfile
            profile.delegate = self

            profile.hidesBottomBarWhenPushed = true
            navigationController?.pushViewController(profile, animated: true)
        }

Where I do this
        self.isMotionEnabled = true
        avatarCollectionView.motionIdentifier = "avatar"
        nameDistanceLabel.motionIdentifier = "name"
        verifiedBadge.motionIdentifier = "verified"
        profileTableView.transition(.fade(1))

The transitions which I set identifiers for work amazingly. But the tab bar is visible for a fraction of time after the transition and then disappears abruptly

@roteirod It is really difficult for us to experience this issue first hand to help you with a fix. We would literally have to replicate the situation of your controllers by hand in order to test it. Without a sample project it's hard to diagnose.
I would suggest: Take your storyboard & Accompanying view controllers and put them into a new simple project that demonstrates the issue first hand.
That will let us experience it and see how to go from there.

Ok, I set up a primitive project which has the same structure as my main one:

tabbarissue.zip

The gray thing is a Tab Bar :D

@roteirod wonderful. Will get back to you as soon as possible :)

It does not look that bad on this gif. But it is worse if you run the project. Can I get a smooth fadeOut-fadeIn animation for Tab bar somehow?

@roteirod Ok fixed.
In Motion... you need to have an starting point for the animation. Let's call that animate from: then you need to have an finish point for the animation let's call that animate to:
In the case of your button you have two corresponding motionIdentifiers assigned "view". So the animation works as expected.
But in the case of the tabBarController.tabBar = you have no such tab bar on the second controller because you call hidesBottomBarWhenPushed = true on the first controller.
I've included some sample code for an approach to fix this issue. Simply by fading the tab bar in and out using MotionAnimation. Hope this helps!
//
//  ViewController.swift
//  tabbarissue
//
//  Created by Volodymyr on 9/9/19.
//  Copyright © 2019 Volodymyr Davydenko. All rights reserved.
//

import UIKit
import Motion

class FirstViewController: UIViewController {

  static func instantiateViewController() -> FirstViewController {
    let name = String(describing: FirstViewController.self)
    let storyboard = UIStoryboard(name: name, bundle: nil)
    let viewController = storyboard.instantiateViewController(withIdentifier: name) as! FirstViewController
    return viewController
  }

  @IBOutlet weak var performTransitionButton: UIButton!

  override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    tabBarController?.tabBar.animate(.fade(1), .duration(0.5))
  }

  override func viewDidLoad() {
    super.viewDidLoad()

    navigationController?.isMotionEnabled = true
    navigationController?.motionNavigationTransitionType = .none
    performTransitionButton.motionIdentifier = "view"
  }

  @IBAction func performTransition(_ sender: Any) {
    let secondVC = SecondViewController.instantiateViewController()
    tabBarController?.tabBar.animate(.fade(0), .duration(0.5))
    navigationController?.pushViewController(secondVC, animated: true)
  }
}

@roteirod Feel free to play with the animation fade duration to suit your needs :)

@roteirod i've edited my answer to give you a smooth animation that has the same duration as your red box. See above example again.

That's awesome, thank you!

Np! @roteirod

authors: adamdahan danieldahan roteirod

repo: CosmicMind/Motion

license: mit


text:
Server crash on bootup

Fabric Loader: 0.4.4 Build 138
Yarn: 1.14 Build 3
Epicurean Gastronomy: 2.1.2
Crashlog: https://pastebin.com/Jq7pcChs

Duplicate of #6.

repo: CottonMC/EpicureanGastronomy


text:
fix unconfirmedTxApperances for blockr and sochain

unconfirmedTxApperances always equals zero with blockr and sochain:
https://github.com/CounterpartyXCP/counterblockd/blob/master/lib/blockchain/blockr.py#L64
https://github.com/CounterpartyXCP/counterblockd/blob/master/lib/blockchain/sochain.py#L68
it's a problem because this field is used here:
https://github.com/CounterpartyXCP/counterblockd/blob/5795728e6c85ab2409139d24f8e87385760565a9/lib/api.py#L111

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Why is this issue still opened? It looks related code was gone.

authors: cryptcoin-junkey ouziel-slama

repo: CounterpartyXCP/counterblock


text:
Don't Report "Behind" Immediately Upon Seeing a New Block

There should be a 20s grace period, or something—if the block is that new, then the node is still reasonably "caught up". That is, if the blocktime of the new block is very recent, it's fine.
~Or we could keep it simple and only fail if the node is two blocks behind.~ We already do this?? Then why does this happen so often?
Related to #1327

This is one of the reasons why I think a 503 error is too brutal. There are several use cases where a functional API is interesting but the node is a few blocks behind.
The v2 API systematically returns a result (even with a 503 or 202 error) and it is the responsibility of API clients to systematically check the 3 headers (X-COUNTERPARTY-HEIGHT, X-BACKEND-HEIGHT and X-COUNTERPARTY-READY) and decide what to do depending on the use case.

ah I don't follow... a result is returned even with a 503? That's a good idea! But let's be sure to document that very clearly, because we have to make sure the clients know to do that check!
OTOH, IMO a 503 should ~never happen except when initially catching up or after a large reorganization (>=2 blocks). The node should parse each block in a small number of seconds, and it shouldn't report a 503 during that short window.

ah I don't follow... a result is returned even with a 503? That's a good idea! But let's be sure to document that very clearly, because we have to make sure the clients know to do that check!

yep! an error code does not mean no content!
of course this will even be in the introduction of the v2 API documentation!

OTOH, IMO a 503 should ~never happen except when initially catching up or after a large reorganization (>=2 blocks). The node should parse each block in a small number of seconds, and it shouldn't report a 503 during that short window.

sounds good!
let's just return an error code if X-COUNTERPARTY-HEIGHT >= X-BACKEND-HEIGHT - 1 instead of X-COUNTERPARTY-HEIGHT >= X-BACKEND-HEIGHT ?

@ouziel-slama sorry I was in the middle of editing my comment!
on second thought, I don't think that we should return data if we're going to return a 503... seems like the data should just be a message saying what the error is.

sounds good! let's just return an error code if X-COUNTERPARTY-HEIGHT < X-BACKEND-HEIGHT - 1 instead of X-COUNTERPARTY-HEIGHT < X-BACKEND-HEIGHT ?

Yes! That should be sufficient. But isn't that what's done in the v1 API? https://github.com/CounterpartyXCP/counterparty-core/blob/ae2ba6c8d28e952022529720fcd512d553f72337/counterparty-lib/counterpartylib/lib/api.py#L228

Maybe it makes sense to split API calls into those that can be returned while the node is behind and those that can't?? For instance, if you want the info on an old block, there's no reason that can't be a 200 even when the node is behind; on the other hand, I think it's not great to return an address's balances when they are out of date (even with an error code—that's a bit risky).

This would actually be ideal but too complex I think! IMHO you really have to leave the responsibility to the API client for this kind of thing. Only the client, when it makes the request, knows whether it is best to have an error code or not if the node is late.
hum.. perhaps the flag --api-not-ready-http-code must be in fact an optional header send by the client to indicate what error code he wants ? yeah IMHO that the simpler solution!

sounds good! let's just return an error code if X-COUNTERPARTY-HEIGHT < X-BACKEND-HEIGHT - 1 instead of X-COUNTERPARTY-HEIGHT < X-BACKEND-HEIGHT ?

Yes! That should be sufficient, but isn't that what's done in the v1 API?
https://github.com/CounterpartyXCP/counterparty-core/blob/ae2ba6c8d28e952022529720fcd512d553f72337/counterparty-lib/counterpartylib/lib/api.py#L228

oh I didn't know! :) I'm going to do the same on v2!

oh I didn't know! :) I'm going to do the same on v2!

Yeah I think there's an actual problem that's causing the frequent 503s, like with mempool parsing, or with it taking ~minutes to parse new blocks sometimes.
I don't love the idea of having a flag for the error code. I mean, if the client knows to set the flag, they can also just modify the client code to handle different HTTP codes differently. 🤷♀
Here's what I'm picturing:

We should always use the 503 error code to indicate that the node is behind; and we shouldn't return data, just an error message. (The client should be told to retry.)
We should make sure that (1) never happens unless the node is still catching up or there was just a big reorg.
We could whitelist some routes (e.g. the new version of /nodeinfo, /blocks/<block_hash>, /transactions/<tx_hash>) that will never report a 503 because their data is never out of date, if that's not too complicated.
We could have the --force flag disable the 503 entirely.

oh I didn't know! :) I'm going to do the same on v2!

Yeah I think there's an actual problem that's causing the frequent 503s, like with mempool parsing, or with it taking ~minutes to parse new blocks sometimes.
I don't love the idea of having a flag for the error code... I mean, if the client knows to set the flag, they can also just modify the client code to handle different HTTP codes differently. 🤷♀

yeah exactly! This is why my original idea is to always return a result even with an error code and let the client decide what to do. This is what seems to me to be the simplest and most flexible for the API client.

Here's what I'm picturing:

We should always use the 503 error code to indicate that the node is behind; and we shouldn't return data, just an error message. (The client should be told to retry.)
We should make sure that (1) never happens unless the node is still catching up or there was just a big reorg.
We could whitelist some routes (e.g. /nodeinfo, /blocks/<block_hash>, /transactions/<tx_hash>) that will never report a 503 because their data is never out of date, if that's not too complicated.
We could have the --force flag disable the 503 entirely.

yep it can work like that! I just wouldn't use --force but a specific flag. --force seems to me to be used for too many things..

OK so, if the server is not ready the API v2 returns a 503 error except for /blocks/*, /transactions/*, /backend/* and /.
Also a server is not ready if ledger.CURRENT_BLOCK_INDEX >= BACKEND_HEIGHT - 1
This means that the server may be a block late (parsing time).. this should be enough as a grace period.. @adamkrellenstein
if ok for you we can close I think.

Yep!

Right now, on testnet, there is almost a block by second and the docker compose test fails because counterparty-server cannot be "ready".. there is little chance of this happening on mainnet.. but if we want to handle this kind of case on testnet we probably also need to check the block_time as you suggest! @adamkrellenstein

Yep, sounds right! We should check both.

Done here https://github.com/CounterpartyXCP/counterparty-core/pull/1754

authors: adamkrellenstein ouziel-slama

repo: CounterpartyXCP/counterparty-core


text:
⚠ sandbox-api.piste.gouv.fr healthcheck has degraded performance

In f82d7f3, sandbox-api.piste.gouv.fr healthcheck (https://sandbox-api.piste.gouv.fr/cassation/judilibre/v1.0/healthcheck) experienced degraded performance:

HTTP code: 200
Response time: 2533 ms

Resolved: sandbox-api.piste.gouv.fr healthcheck performance has improved in f40517c.

repo: Cour-de-cassation/judilibre-uptime


text:
file2

check it out

awesome stuff


text:
About Naming Conventions

I have observed that the asynchronous method names in the API do not follow the conventional pattern of including the 'Async' suffix.
This could potentially lead to less intuitive method naming.
Is there any intention to revise the API names to better reflect their asynchronous nature?

This is indeed a best practice, but the asynchronous APIs in the project do not have corresponding synchronous APIs. Additionally, it is reasonable for the API itself to have the same name as the LSP request. Overall, changing the API is reasonable but it is a breaking change and not very necessary.

This is indeed a best practice, but the asynchronous APIs in the project do not have corresponding synchronous APIs. Additionally, it is reasonable for the API itself to have the same name as the LSP request. Overall, changing the API is reasonable but it is a breaking change and not very necessary.

Thank you for your reply. Additionally, I have a question to ask you. I am a novice in networking, so I would like to know: What are the significant differences between using TCP, named pipes, or stdio for communication between an LSP (Language Server Protocol) client and server?

There is no significant difference, but the majority of LSP clients only support communication with the language server using stdio. Additionally, supporting TCP communication is more suitable for debugging

I am now preparing to develop a VSCode extension. If I want to use the IPC protocol for communication, can I use this library?

You can definitely support multiple communication methods. Refer to the LanguageServer.Test I wrote. Additionally, I am not sure if IPC can be used as a stream by the LanguageServer. If not, you can write your own LanguageServer. I recommend only using stdio and TCP communication methods

I learned from AI that IPC has lower overhead compared to TCP, which is why I decided to use IPC. However, despite my efforts, I have not been successful so far.

My apologies for bothering you again, but I'm not sure how to make VSCode emit DidChangeTextDocumentParams.
I've set the capabilities in OnInitialize,
ls.OnInitialize(
    (c, s) =>
    {
        c.Capabilities = new ClientCapabilities()
        {
            TextDocument = new TextDocumentClientCapabilities()
            {
                Synchronization = new TextDocumentSyncClientCapabilities()
                {
                    DynamicRegistration = true,
                    WillSave = true,
                    WillSaveWaitUntil = true,
                    DidSave = true
                }
            },
        };
        s.Name = "EmmyLua.Test";
        s.Version = "1.0.0";
        Console.Error.WriteLine("initialize");
        return Task.CompletedTask;
    }
);

but it hasn't worked. What should I do?

but it hasn't worked. What should I do?

The capabilities do not need to be registered in the initialize method, and your registration method is incorrect. You only need to addHandler and register within the handle.
see: https://github.com/CppCXY/LanguageServer.Framework/blob/main/LanguageServer.Test/Handler/TextDocumentHandler.cs

Thank you, it is now running properly.

authors: CppCXY textGamex


text:
MTL-1827 Pivot back to SP3

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
This restores the SP3 repositories and re-runs the update tool to fetch packages available from SP3 repos.
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
No.

Waiting for NCN and LiveCD to build before merging this regardless if this gets approvals ahead of that.

repo: Cray-HPE/csm-rpms


text:
CASMTRIAGE-4154 - DOCS: --format json missing when checking cray cfs component list

1.2 backport of https://github.com/Cray-HPE/docs-csm/pull/2468

/backport release/1.0

repo: Cray-HPE/docs-csm


text:
CASMPET-6613 Add shfmt

This adds running shellcheck and shfmt to the build pipeline. This will allow for a more consistent formatting among teams and reduce the need for reviewers to check for these issues.

Looks like shellcheck was already in there. Removing it in favor of running shfmt in a similar way.

Discussing with libcsm/docs-csm ppl, this may need to merge with the shellcheck workflow and/or align with what we're doing in libcsm (since docs-csm workflows are a little stale). Will get back to you asap, and get this in.

authors: kburns-hpe rustydb


text:
🛑 sneak.page is down

In b49efd5, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 37b905f after 8 minutes.

repo: Crazy-Marvin/upptime


text:
🛑 sneak.page is down

In d9b6b09, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in afaeabb after 18 minutes.


text:
🛑 sneak.page is down

In a6d260d, sneak.page (https://sneak.page) was down:

HTTP code: 404
Response time: 111 ms

Resolved: sneak.page is back up in 16f325c after 11 minutes.


text:
🛑 sneak.page is down

In 33d472e, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 62e7c08 after 8 minutes.


text:
🛑 sneak.page is down

In 0f4147e, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 939ec5b after 19 minutes.


text:
🛑 Hacker News is down

In 6b64c89, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hacker News is back up in 3c3b68f.


text:
Tooltip gets clipped off if placed on elements inside a scrollable div

Hi, thanks for this extension. Works really well except for this issue that I ran into -

^ see the tooltip getting clipped off on the left. This happens when placed inside a div that has overflow-y: auto;. And still happens even if I also apply overflow-x: visible;.
Any way to work around this? Ideally I want the tooltip to always show on top of everything else.
sample code -

  tooltip

I am having the same issue

Seems like its this issue https://github.com/CreativeBulma/bulma-tooltip/issues/2

authors: charsi jLynx

repo: CreativeBulma/bulma-tooltip


text:
Add a note about hotlinking

Add a note encouraging hotlinking/embedding of images returned from the Unsplash API. Link to https://unsplash.com/documentation#hotlinking

The messaging I used for the official documentation was:

Unlike most APIs, we prefer for the image URLs returned by the API to be directly used or embedded in your applications (generally referred to as hotlinking). By using our CDN and embedding the photo URLs in your application, we can better track photo views and pass those stats on to the photographer, providing them with context for how popular their photo is and how it's being used.

I'm sorry for the question  but the concept s a little unclear to understand for starters. So for this hotlinking necessity should we add some extra code or anything like that? I use one random image everytime when app starts in an android app. Should I now add anything more for it to be valid, thank you

@kilicpl no worries. There's no extra code you need to add to hotlink. If you use the images that are returned by the API, and don't duplicate them onto your own S3 bucket or hosting, then you'll be hotlinking.
It's explained here: https://medium.com/unsplash/unsplash-api-guidelines-hotlinking-images-6c6b51030d2a

Thank you very much sir. Kindly can I ask you two more questions I believe it maybe helpful for people in my position. To be able to apply the production:
1)for "Trigger downloads": Should we supposed to make the images downloadeble in our app , what if we dont make them downloadeble. Is that possible?
2)for "Attribute photographer and Unsplash": This s a hard one I guess. For java starters how can we implement this credits on the image maybe you may give a clue? As you know very well  there is no official library for java but only one unofficial one which s far from complete.. Hope to be able to implement it in my app in a way but couldn't find any info nowhere unfortunately. thank you a lot again

@kilicpl these both depend on what you're building. Shoot us an email at api@unsplash.com and we can help there 👍

authors: kilicpl lukechesser

repo: CrewLabs/Unsplash-PHP


text:
bug dont click on video

Hello, i have bug, when i start he click only this on SORT

no

this click her no on the button

You  may didn't changed the resolution in the settings file...
I know... It should be a json, not a python file.

no python file is good =>

what os and version do you use ?

windows 10 & python 3.8.3


text:
Fix typo in active leadership members widget

Changes proposed ✍

closes #567

Screenshots (front-end changes only)
- ...

Checklist ✅

[ ] Label appropriately with Feature, Enhancement, or Bug.
[ ] Tests are passing.
[ ] New backend functionality has been unit-tested.
[ ] Environment variables have been updated:

[ ] Local frontend configuration: frontend/.env.dist.local, frontend/.env.dist.composed.
[ ] Local backend: backend/.env.dist.local, backend/.env.dist.composed.
[ ] Configuration docs have been updated.
[ ] Team members only: update environment variables in override, staging and production env. files and trigger update config script.

[ ] API documentation has been updated (if necessary) (see docs on API documentation).
[ ] Quality standards are met.
[ ] All changes have been tested in a staging site.
[ ] All changes are working locally running crowd.dev's Docker local environment.

Congratulations to your first contribution @peoray! 🔥 We really appreciate it 🙏

Thank you @jonathimer

authors: jonathimer peoray


text:
New order status handling

The order structure has changed.
We no longer have order_status or order_status_conjunction.
We now have line_item_allocation_status and line_item_designation.
This supersedes #106

@nickcoleman There is a branch call 125-order-docs which has some work done on it. The paw project has changed most if not all of the docs and the params for the 2 endpoints that use it.

repo: CruxConnect/crux-docs


text:
some problems

Hi,
I use in the cmd
the program works until it asks me to enter the number of tiktoks to download
my python version is 3.9.5
Regards.

@Mayaman5566
Check now.
Please follow the README properly.

＠CuriousYoda
Hi,
earlier problem is solved!
but have new error
i think this error means that selenium is not launching correctly?
tik-tok-scraper.py", line 149, in <module>userPosts = api.byUsername(username, count=videosToDownload)
AttributeError: 'TikTokApi' object has no attribute 'byUsername'

@Mayaman5566 can you share the entire log

Sure!
C:\Users\Mayaman\Documents\python\tiktok-downloader-main>python tik-tok-scraper.py
Setting up the selenium headless Chrome Driver
Setting up a connection to unofficial TikTokAPI
Missing property value: VERIFY_FP
Setting up the session for requests

Do you wish to download TikToks for a
   1: User or
   2: HashTag
1
Enter the tik tok user name: Tiktok
Enter the number of tiktoks to download: 1
Traceback (most recent call last):
  File "C:\Users\Mayaman\Documents\python\tiktok-downloader-main\tik-tok-scraper.py", line 149, in <module>
    userPosts = api.byUsername(username, count=videosToDownload)
AttributeError: 'TikTokApi' object has no attribute 'byUsername'

@Mayaman5566 It could be the case that test end points are not accessible in your setup.
I made it optional to use_test_endpoints.
Please do a git pull and try again

The problem still exists, the error message is same :cry:
C:\Users\Mayaman\Documents\python\tiktok-downloader-main>python tik-tok-scraper.py
Setting up the selenium headless Chrome Driver
Setting up a connection to unofficial TikTokAPI
Setting up the session for requests

Do you wish to download TikToks for a
   1: User or
   2: HashTag
1
Enter the tik tok user name: Tiktok
Enter the number of tiktoks to download: 5
Traceback (most recent call last):
  File "C:\Users\Mayaman\Documents\python\tiktok-downloader-main\tik-tok-scraper.py", line 162, in <module>
    userPosts = api.byUsername(username, count=videosToDownload)
AttributeError: 'TikTokApi' object has no attribute 'byUsername'

Seems the update is not properly applied on your end.
You should see one extra logging information about test end points.

Because i set VERIFY_FP  :sweat_smile:
now i removed him
C:\Users\Mayaman\Documents\python\tiktok-downloader-main>python tik-tok-scraper.py
Setting up the selenium headless Chrome Driver
Setting up a connection to unofficial TikTokAPI
Missing property value: VERIFY_FP
NOT USING TEST END POINTS
Setting up the session for requests

Do you wish to download TikToks for a
   1: User or
   2: HashTag
1
Enter the tik tok user name: Tiktok
Enter the number of tiktoks to download: 1
Traceback (most recent call last):
  File "C:\Users\Mayaman\Documents\python\tiktok-downloader-main\tik-tok-scraper.py", line 162, in <module>
    userPosts = api.byUsername(username, count=videosToDownload)
AttributeError: 'TikTokApi' object has no attribute 'byUsername'

@Mayaman5566 Do you have the chromedriver downloaded and added to the folder? I think this was not clear in the documentation. I will update the README

Do another git pull.
Make sure your chromedriver is in the folder. Download the correct version matching your chrome browser version.
Give it another go

@Mayaman5566 Did it work?

doesn't work
Actually I tried other Tiktok downloader project
Surprisingly, the error codes is same
I suspect it's my own problem
Setting up the selenium headless Chrome Driver
Setting up a connection to unofficial TikTokAPI
Missing property value: VERIFY_FP
Setting up the session for requests

Do you wish to download TikToks for a
   1: User or
   2: HashTag
1
Enter the tik tok user name: Tiktok
Enter the number of tiktoks to download: 1
Traceback (most recent call last):
  File "c:\Users\Mayaman\Documents\python\tiktok-downloader-main\tik-tok-scraper.py", line 163, in <module>
    userPosts = api.byUsername(username, count=videosToDownload)
AttributeError: 'TikTokApi' object has no attribute 'byUsername'

@Mayaman5566 My best guess is this is to do with your connection/proxy. Cannot say for sure though

closing as it seems to be a user specific issue

repo: CuriousYoda/tiktok-downloader


text:
🛑 小雅一res-ya.5i.gs is down

In 671389a, 小雅一res-ya.5i.gs (https://res-ya.5i.gs/) was down:

HTTP code: 502
Response time: 3673 ms

Resolved: 小雅一res-ya.5i.gs is back up in 745a97b after 8 minutes.

repo: Cutiei/Uptime


text:
Question around ZSTD_decompressContinue

Hi @Cyan4973
If my understanding is correct, currently ZSTD_decompressContinue expects src to be the [compressed block + block header of next block]. This is a problem in scenarios where we want to decompress blocks independently using the framing format, e.g. we dont have the next block available yet.
Wouldn't it make more sense that ZSTD_decompressContinue takes src as [block header + compressed block] ? This way the current block can be decompressed without needing the header of the next block?

Hi Beyers
You are correct.
The current API uses an integrated frame format.
This frame format specify a header in front of each block.
This header is necessary to know the size of the block.
Longer term, another API, at "block level", will be provided.
It will be similar to the current LZ4 one, meaning one can decide its own encapsulation format, or simply decode on its own the block header. But my understanding is that it's only remotely related to your problem.
Your problem is that, because of current design, it's not possible to provide current block to decompress before receiving the header of next one, which basically means, the next block must be already compressed from the sending side.
This is obviously a shitty design. This simple side-effect totally evaded my attention.
Unfortunately, the other idea, of setting srcSize to be [block header + compressed block], doesn't work either, since by definition, you don't know the size of compressed block before reading and decoding block header.
Even longer term, there will be a "buffered" version of the API, similar to current "lz4frame", where all these side-effects will be automatically handled by an internal buffer, allowing any size to be used as input.
But that's not for now. So we need a shorter term solution.
Simplest solution I can come up with :
divide input into 2 phases, one reading block header, the other reading compressed block.
This is supposed to be slightly detrimental to performance, since instead of one function call, there will be 2 (same for fread). But hopefully, this will be totally negligible. And the added flexibility is very well worth it.
Comments welcomed.

Thank you for the info Yann. I do realize these are early days for ZSTD, so please excuse me for jumping the gun a bit.
OK I now understand your design decision here, the assumption is that typically the compressed data will be read from disk, so there it makes sense to optimize so that you only fread once as per your current implementation.
My use case is that the compressed blocks are already in memory (received via network or IPC/RPC etc.). So I do not have to worry about taking a 2nd fread penalty as I already have the header and block in memory.
So yes, I can certainly use your 2 phase input suggestion.
A ZSTD_setNextcBlockSize public function would be ideal? That way you can still use a single fread if accessing from disk, and would support cases where the header and block is already in memory. The only drawback I can see with this is that the API user would then have to call this manually, since that functionality will have to be removed from ZSTD_decompressContinue. Unless you add a argument to ZSTD_decompressContinue to ask it to read the next header or not, but this would not be so clean.
Any thoughts on this?

Thanks for comments. Difficult to be sure, although I suspect 2 things :

The penalty from having 2 fread() will likely be small enough as to be negligible. This will have to be properly benchmarked to be confirmed.
Complexifying an API is never good. Any additional function prototype, and any additional argument, must really pay off. In this case, I'm afraid the relative performance gap is probably too little to grant another dedicated prototype.

One idea I had in mind when starting the design of current API,
was a prototype with a "totally free input size".
That is, srcSize would be provided as an size_t* pointer, and contain the input size.
On return, the function would modify this pointer content, in order to indicate how many bytes were effectively read from the source buffer.
This is basically current lz4frame design.
This way, if not enough input data is provided, it would return "0", basically stating that it has not even started the decompression process because there is not enough data. Conversely, when provided too much data, it would simply return currentBlockSize + nextBlockHeader within this parameter, inviting the user to present the rest of data to next function call.
In the end, I scrapped the idea, on the ground that I felt it was a bit too complex for casual users. The flexible design was indeed required for the buffered version (lz4frame), because the API has to accept any crazy size, and even the internal buffer can be overrun by some crazy memory sizes combinations (large input buffer + small output buffer), so it needs a signal to tell "I haven't been able to deal with all provided input".
But here, since this version is bufferless, it seemed it was better to be strict on input size to provide a synchronous decompression process, which is likely the one most programmers will want, since its behavior is simple to grasp.
It required though to create a second prototype, to know which size to provide to the function, since now it's a strict value. Hence was born ZSTD_getNextcBlockSize().
I believe it's relatively trivial to modify its behavior in order to provide once the header size, and once the next compressed block size. However, I also wonder if the function name is still valid (ZSTD_getNextcBlockSize), since it's no longer "just" about next compressed block size.
In order to allow a "single fread+decompress cycle", I could, for example, authorize the input to provide "currentBlockSize + nextBlockHeader", and deal with it transparently.
It would work this way :
User call ZSTD_getNextcBlockSize(), and receive next compressed block size (say 100).
User nonetheless provides 103 within srcSize argument to ZSTD_decompressContinue().
ZSTD_decompressContinue() makes an exception for this case, and silently accept to handle 103 bytes in a single row. This would simply be documented in the API comment section as a valid input size.
However, there is also a risk that user might be confused, and for example misled header read phase with cBlock read phases, providing 3+3=6 bytes as srcSize. In which case, function would exit with an error code.
In the end, I'm not even sure if that's a good idea to authorize such a behavior, should it risk generating some confusion.
Maybe the answer to this question will depend on benchmark results : if it measures a performance advantage in making a single call instead of 2, it's likely worth it. If not, it's probably better to keep the API behavior simpler.
Regards

Personally I think what would be least confusing is something like:

read block header from file
call ZSTD_getNextcBlockSize passing in pointer to header from above, returns cBlock size
read cBlock from file
call ZSTD_decompressContinue passing in pointer to cBlock

I'll put together a couple of benchmarks with the different options and report back sometime this week.

There's a new API proposed at :
https://github.com/Cyan4973/zstd/tree/streamAPI2
which tries to solve this situation.
The API is very close to the previous one, with the following 2 changes :

Get the size to load using : ZSTD_nextSrcSizeToDecompress()
Consequently, ZSTD_decompressContinue() is called alternatively to decode a block header, or to decode a compressed block. When it is a block header, the function result is 0, since it has not generated any data into output buffer.

The rest is the same.
For example, end of frame is still detected by ZSTD_nextSrcSizeToDecompress() == 0;
The new API passes automated tests.
But what matters is if it can be properly understood.
(Note : I still have to add a few comments into zstd_static.h)

Yann, just to follow up, I'll get a chance this week to test out the streamAPI2 branch and will report back. Sorry that it is taking so long.

You're welcomed

The streamAPI2 feature branch has been merged into dev.
https://github.com/Cyan4973/zstd/tree/dev
If all tests and reports do well, it will land next into master.
Regards

Merged to master


text:
Intezer-Analyze short-circuit download

Is your feature request related to a problem? Please describe.
Intezer counts download-file actions against a user's quota. See: https://support.intezer.com/hc/en-us/articles/360021366619-How-is-Your-Analysis-Quota-Calculated
Describe the solution you'd like
To prevent un-necessary API hits against Intezer and depletion of the user's quota, I propose that when the assemblyline intezer service is processing sub-analyses, that it look in the AL holdings before trying to download the file from Intezer.
Describe alternatives you've considered
Setting the config download_subfiles=False also prevents the quota from being used this way, but further analysis of the extracted files does not happen in this case.

Would you know, for your Intezer use-case, if you have the subfiles by hash?
Allowing a service to request another file is on our roadmap. For the moment, we are looking at adding requesting by hash (sha256, sha1, md5), or by display name based on the names in the current submission.
I believe Intezer is running as a privileged service, then if you have the sha256, it would be possible to do it today with the following:
from assemblyline.common import forge
fs = forge.get_filestore()
subfile_hash = <insert sha256>
fs.download(subfile_hash, os.path.join(self.working_directory, subfile_hash))

Would you know, for your Intezer use-case, if you have the subfiles by hash?

Yes, the service is attempting to download the sub-files from interzer by sha256. See: https://github.com/ed4wg/assemblyline-service-intezer/blob/6b3703033243d3baf6962c362247ce3d4b6a3fb7/intezer.py#L974
We don't run the service as privileged today, but could change that to make this solution work.

repo: CybercentreCanada/assemblyline


text:
Added support for "strict" gradle dependencies

Good day
I tried using this tool to generate a BOM for an android project and noticed some strange behavior.
Some of the dependency versions were picked up as "{strictly" instead of the actual version e.g. "1.0.0".
Upon further investigation I noticed that the current parser expects it to be a version number, which in this case it is not.
If you create a new project in Android Studio and run the following command
./gradlew :app:dependencies -q --console plain

You will notice that some of the output items include the word "{strictly" in the version number
+--- androidx.core:core:{strictly 1.7.0} -> 1.7.0 (c)

The generated BOM entry looks like this
{
    "group": "androidx.core",
    "name": "core",
    "version": "{strictly",
    "description": "",
    "licenses": [],
    "purl": "pkg:maven/androidx.core/core@{strictly?type=jar",
    "type": "library",
    "bom-ref": "pkg:maven/androidx.core/core@{strictly?type=jar"
}

I have updated the parser regex to ignore the "{strictly" and "}" part of the dependency and tested it locally.
The generated BOM entry looks like this
{
    "group": "androidx.core",
    "name": "core",
    "version": "1.7.0",
    "description": "",
    "licenses": [],
    "purl": "pkg:maven/androidx.core/core@1.7.0?type=jar",
    "type": "library",
    "bom-ref": "pkg:maven/androidx.core/core@1.7.0?type=jar"
}

I am not sure if this is a gradle version issue, my gradle information is as follows
------------------------------------------------------------
Gradle 7.4
------------------------------------------------------------

Build time:   2022-02-08 09:58:38 UTC
Revision:     f0d9291c04b90b59445041eaa75b2ee744162586

Kotlin:       1.5.31
Groovy:       3.0.9
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          11.0.16 (Ubuntu 11.0.16+8-post-Ubuntu-0ubuntu122.04)
OS:           Linux 5.15.0-48-generic amd64

It is worth noting that I am by no means a regex expert and I would appreciate someone with a bit more knowledge to check it out and provide any feedback / changes that might improve it.
Thanks,

Thank you for the PR! 4.0.40 includes this fix.

Hi @willienel, could you help improve the regex to handle the new rich version shown in 271?
https://github.com/CycloneDX/cdxgen/issues/271

authors: prabhu willienel

repo: CycloneDX/cdxgen


text:
setOnClickListener  为什么Deprecated了 ？

现在应该用哪个来给指定控件设置点击事件？

你说的给指定控件设置点击事件helper.getView(viewId).setOnClickListener()，不知道是不是这个

你可以看下文档 http://www.jianshu.com/p/b343fcff51b0

authors: CymChad lgwguang pdog18

repo: CymChad/BaseRecyclerViewAdapterHelper


text:
🛑 Documentación Developer is down

In a1c0799, Documentación Developer (https://api.cymasuite.com/api-docs/index.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Documentación Developer is back up in f9b2fc8.

repo: CymaSuite/upptime


text:
🛑 Servicio de impuestos interno is down

In 31093b6, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 722 ms

Resolved: Servicio de impuestos interno is back up in 91ff65d.


text:
Is there a plan to support DynamicData or to rebuild a similar implementation？

Refer to : https://github.com/reactivemarbles/DynamicData

#20

authors: NeverMorewd reegeek


text:
fix Issue 14587 - generated 64 bit code for switch jump tables is wrong

https://issues.dlang.org/show_bug.cgi?id=14587
This is a critical bug fix.

Auto-merge toggled on

I think this should have gone into branch stable, since it's a regression. I think we need to update the D wiki on how to properly do this. @MartinNowak, what is the proper way to do this, and how do you know whether something goes into stable or not?

how do you know whether something goes into stable or not?

It goes into stable if it makes the compiler more stable :), i.e. regression fixes and bugfixes with low risk.

I think the question is, should it go to stable at this stage, when 2.067.1 is out and 2.068 is next ? Will there be 2.067.2 ? I assume at some point master is going to be merged to stable.

I think the question is, should it go to stable at this stage, when 2.067.1 is out and 2.068 is next ? Will there be 2.067.2 ? I assume at some point master is going to be merged to stable.

Always stable, simpler and leaves us more options, e.g. releasing 2.067.2, even though that isn't planned.

I'll try my hand at updating the wiki.

authors: MartinNowak WalterBright andralex schveiguy tramker

repo: D-Programming-Language/dmd


text:
fix broken link

Found this when clicking around.

Thanks.

repo: D-Programming-Language/visuald


text:
Add active threshold functionality to CW4 voting module, closes #781

Changelog

Added new custom error message to error.rs, InvalidThreshold
Added the query_is_active function and corresponding Query::IsActive
Added the execute_update_active_threshold function and corresponding ExecuteMsg::UpdateActiveThreshold
Added the new optional Config and updated the instantiate function to make use of it.

Author
GhostMac

Needs a few things:

Fix the build
Add tests for active_threshold and being able to update it
Make sure CI passes
Clean up

Needs a few things:

Fix the build
Add tests for active_threshold and being able to update it
Make sure CI passes
Clean up

I have updated the contract with everything you pointed out. Build passes. Moving on to the tests.

Needs a few things:

Fix the build
Add tests for active_threshold and being able to update it
Make sure CI passes
Clean up

I have updated the contract with everything you pointed out. Build passes. Moving on to the tests.

Close, but see above comments.

Get rid of CONFIG, it's duplicate state for no reason
Make sure to save ACTIVE_THRESHOLD on instantiation and validate that it's NOT ACTIVE_THRESHOLD::Percent
Get rid of ACTIVE_THRESHOLD::Percent in the IsActive query, it does nothing right now and we should not allow it
Fix linting errors and tests, CI should pass

authors: JakeHartnell theghostmac


text:
[BUG]: Stats on Dataset page should not be that long

Scenario: https://github.com/DARPA-ASKEM/terarium/blob/main/testing/manual/dataset-enrichment.md
Step: 2.3
Link to the project: https://app.staging.terarium.ai/projects/b0a98ccb-d186-449e-a703-e151dea3f18f/dataset/0d1f7ef4-eebd-4bb4-97e5-9ca7592f1dae

Describe the issue
The numbers in the stats columns are ridiculously to long

we should keep things at 1 digit

authors: YohannParis dgauldie

repo: DARPA-ASKEM/terarium


text:
Sign(s?) missing from the new SignStream Sign Bank

The sign TRIANGLE is not found in the new SignStream Sign Bank.  This was among the signs that we added specifically so that they would fill gaps in the Sign Bank -- i.e., not part of our main SignStream collections.
It is in the DAI Sign Bank online:

Why is it not in the SignStream Sign Bank?
Are there other 'extra' signs that may be missing ??
thanks

FWIW, we are also not finding TRIANGLE in our video search currently

although this is included in the signs that Yang trained on...
Reminder:
"I will create a catch all category for anything that does not fit the current collection types.  I will then add TRIANGLE to the catch all category."
TRIANGLE was coming back among results previously:

repo: DCS-LCSR/ASL-DAI


text:
Chant List page: some links open in new tabs, others don't

Tiny issue: on the Chant List page, the Genre and Office links open in new windows, while the Feast link opens in the same window. There's no reason that these links should behave differently.

assigning a label of "enhancement" - there's nothing functionally wrong here, but we want our website to behave predictably.

This no longer seems to be the case on the Chant Search, Source Browse Chants, and the Source Search Chants page. Links in these columns navigate to the page in the open tab.

authors: dchiller jacobdgm

repo: DDMAL/CantusDB


text:
Refactor: New Logging framework

New Logging Framework
This PR adds a revamp of the log-tab panel(s). Providing a much more extendable and unified way for notifying the user with information, warnings and errors.
https://user-images.githubusercontent.com/4085393/201477650-6a3271aa-acbc-47a8-ace3-d2394bdc94a4.mov
How to use
Using the logging framework is easy, thread-safe and reactive!
Anatomy of a log entry
UUID id,                // autogenerated uuid
String service,         // service that produced the service
String message,         // information about what happened
LogLevel level          // Info/Warn/Error level

Add Entries
The basic usage - simply add new logs:
Log.addInfo("Some information")
Log.addWarning("Some warning");
Log.addError("Some error");

Origin Service
If the log originates from somewhere that is not an internal place (i.e. jecdar, uppaal, codeanalysis or some custom program), you can specify what service generated the log:
var myService = "NotHuppaal";
Log.addInfo(myService, "Some information")
Log.addWarning(myService, "Some warning");
Log.addError(myService, "Some error");

Links
You can add inline links to your log message, markdown style:
Log.addWarning("Something is wrong at location [L23](component:MyComponent/L23). Please check it out");

A link can link to many types of things:
// location regex:      [text](location:ComponentName/LocationId)
// edge regex:          [text](edge:ComponentName/EdgeId)
// subcomponent regex:  [text](subcomponent:ComponentName/SubcomponentId)
// jork regex:          [text](jork:ComponentName/JorkId)
// tag regex:           [text](tag:ComponentName/TagId)
// query regex:         [text](query:QueryId)
// component regex:     [text](component:ComponentName)
// file:                [text](generic:filename) (open OS default app)

On Log Entry Events
You can also add event listeners for when new logs are added:
private void subscribeOnLogAdded() {
    Log.addOnLogAddedListener(this::onLogAdded);
}

private void onLogAdded(Log log) {
    // Your code here...
}

Note that the events are being called on the main javafx thread - so you don't need to perform any Platform.runLater operations in your handlers.
Backwards Compatibility
You may notice that this PR doesn't remove the old tabs. This is on purpose. Links to locations doesn't actually work at the moment, since classes in the dk.cs.aau.huppaal.abstractions.* (everything that is a Nearable implementation) doesn't know who their parent component is, so they can't actually create any (working) clickable links. Because of this, I haven't implemented all syntactic elements in the LogLinkQuantifier enumeration.
I have integrated all static functions from CodeAnalysis to also use the new logging framework. I haven't deleted the old code though.

Update: current implementations of Nearable will be linked correctly (the old tabs are still present, but I am fairly sure they could be removed pretty soon):
https://user-images.githubusercontent.com/4085393/202027530-b6229cac-c9ea-4bec-8949-d29b8dda8f2b.mov

repo: DEIS-Tools/H-Uppaal


text:
🛑 Paper and Cardboard is down

In d275f4d, Paper and Cardboard (https://calculators.sustainability.vic.gov.au/biomass2018/MSW_Paper and Cardboard.csv) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Paper and Cardboard is back up in 20c2884 after .

repo: DELWP-DTV/santa


text:
🛑 Node2 & Tomatenkuchen is down

In c0d2cb7, Node2 & Tomatenkuchen (https://node2.chaoshosting.tk:25508) was down:

HTTP code: 0
Response time: 0 ms

FEATURE

repo: DEVTomatoCake/Status


text:
Add organisations index and details pages

Context
Part of the provider relationship permissions journey relies on an organisations page for a provider user. This page links pages per organisation which display the permissions for that org.

Changes proposed in this pull request

Adds /provider/organisations index page
Adds a page displaying permissions for a single organisation relative to their relationship to various other ratifying and training providers.
Adds a navigation link for organisations index page

Organisations index

Organisations permissions details

Guidance to review
I haven't placed any of these pages behind feature flags as there are no links to actions to manage permissions etc. This might not be the right approach.

Link to Trello card
https://trello.com/c/RDYz6s69/2251-build-provider-organisations-pages

Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Code looks very good to me.
One UI thing: if I don't have any relationships to manage the page looks oddly empty. Do we need an empty state listing all the permissions and/or explaining there's no relationship to manage? I'm not sure whether we should have the header link at all if there are no relationships to learn about. It does feel right that if there are relationships which are affecting what the user can and can't do then we should make them visible.

Minor UI nit: spacing underneath the provider name looks a bit tight here compared with the prototype

@duncanjbrown I see what you mean, it looks bad. I'd gone on the assumption that all provider users would belong to at least one provider, but I hadn't considered that if that provider was self-ratifying then no relationships to other providers would exist and we'd get this blank page.
I'll remove the nav link unless manageable relationships exist.

LGTM 👍

Almost there — the spacing is still off on the list of providers, and in the event I have a mixture of manageable and unmanageable providers, I can still click through to the unmanageable ones, resulting in the blank screen?

Sorry @duncanjbrown, less haste, more speed. I think both outstanding issues are fixed by https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/2202/commits/4abe78b5cc7389addedcbcfd727e3ffe04dd9751 now.

More! Sorry.

Selecting no checkboxes on the organisations page gives me an error:

I still get Access Denied when clicking on a provider that is ratifying-only from the list of providers

I think we should have a gap under the "Change" link?

Maybe not for this PR. The end of the "change" flow is a bit odd when seen for the second time as it assumes I'm new to the process:

(btw, I wonder if this page should always have the Users link — providers could have orgs but not users permission)

@duncanjbrown thanks again for the review, I've attempted to address each point:

The controller error should be fixed by https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/2202/commits/be15794b122f9ab57dbdc652d608d7197d69b178 though we still need to address whether a user should be able to unset all permissions, perhaps in another story.
The Access Denied issue should be rectified by widening the scope of Provider.with_permissions_visible_to as this now retrieves both training and ratifying providers as both should be visible to the user (though not necessarily manageable).
I've placed the 'Change' link in a paragraph tag for additional bottom spacing https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/2202/commits/7b3100e4358be2c196fd676cb4e93fe31d14a204
The end of the change flow is odd here I agree. The confirmation and success steps are part of the onboarding journey so at the very least the wording could be Permissions successfully updated.
@adamsilver should we do something different for post-setup updates to organisation permissions? (The design app doesn't seem to allow me to change permissions from the org page)

@steventux I’ve updated the prototype to show how editing permissions work:
https://manage-applications-beta.herokuapp.com/organisations/show3

authors: adamsilver duncanjbrown steventux willmcb


text:
Update wizard gem for new Identity step

Trello card
Trello-3972
Context
The wizard gem now contains an Identity step that encapsulates common attributes and functionality; we can inherit from it to DRY up this model in the adviser service.
Changes proposed in this pull request

Update wizard gem for new identity step

Guidance to review

@ethax-ross I've tested this and it looks good to me
Happy for this to be deployed to prod in January

authors: ethax-ross gemmadallmandfe


text:
[3147] Course starts in the past, no trainee start date — delete

Context
https://trello.com/c/NEhZ0PLw/3147-m-course-starts-in-the-past-no-trainee-start-date-delete
Changes proposed in this pull request

New controller Trainees::StartDateVerificationsController with form object and views for the start date verification page
New controller Trainees::ForbiddenDeletesController with form object and views for the delete forbidden page
Modified Trainees::StartStatusesController so it can be used in the context of deleting a trainee

Guidance to review

Click on "Pending TRN" trainees
Filter by "School direct"
Click on a trainee and check if it has a "Delete" action. The seed data creates some trainees that can be deleted, but it's done on every other trainee, so you might have to click into the other trainees in the list to find a deletable record.
Once you find a trainee that can be deleted, click "Delete" which should bring you to a confirm page

Scenario 1 - choose "Yes, they started"

You should now be redirected to the trainee start status page
Choose any option and continue
You now see the delete forbidden page which gives you 3 options.
Choose defer first then withdraw - you should be redirect to the appropriate page

Scenario 2 - choose "No, they did not started"

You should be directed to the confirm delete page
Click "Delete this record"
Then you should be redirected back to the trainees index page

Start date verification page

Forbidden delete page

 [M] Course starts in the past, no trainee start date — Delete

repo: DFE-Digital/register-trainee-teachers


text:
🛑 Find postgraduate teacher training is down

In a91a3cf, Find postgraduate teacher training (https://www.find-postgraduate-teacher-training.service.gov.uk/healthcheck) was down:

HTTP code: 502
Response time: 549 ms

Resolved: Find postgraduate teacher training is back up in 90112cf after 6 minutes.

repo: DFE-Digital/teacher-services-upptime


text:
Change vacancy so it can belong to a school or a school_group (aka trust)

Background
An initial requirement of Multi Academy Trust (MAT) access to TVS is that trusts can list vacancies for jobs at the trust, proper, or any number of schools in the trust.  Our current vacancy data model does not fully enable this behaviour, so we need to change it such that a vacancy can belong to a trust or a school.
Eventually, a vacancy will need to belong to a trust and/or any number of schools in that trust, but this is out of scope for this issue.
Done when

[x] A vacancy can belong to a school or a trust (a school association is currently required)
[x] The owning organisation of the school is returned by a single method call (school_or_trust)
[ ] All occurrences of Vacancy#school have been changed to use this new method call
[ ] The code has been PR'd and approved
[ ] The code has been merged to master
[ ] The code has been released to production

Notes
The current school association is declared here:
https://github.com/DFE-Digital/teacher-vacancy-service/blob/master/app/models/vacancy.rb#L214
This code will only change back end implementation details.  Once the new method call has been implemented across the codebase it is safe to release to production as is regardless of the implementation status of the other MAT tickets.

Not all instances of vacancy.school have been updated in #1732. This isn't necessary at this stage, but should be updated as the feature develops and the SchoolGroup object is refined further and the appropriate methods and properties are added.

authors: cpjmcquillan tatyree

repo: DFE-Digital/teacher-vacancy-service


text:
打开游戏设备会自动锁win键

检查清单

[ ] 我并未完整阅读胡桃工具箱文档
[ ] 我不知道文档站的导航栏中有搜索功能，也没有搜索过相关关键词
[ ] 我使用的操作系统是不受支持的版本
[ ] 我没有通过搜索功能确认其他人提出过相同或类似的问题
[ ] 我不明白上述的勾选项是一个有助于快速排查问题的检查清单，而是随手确认的选项

Windows 版本
win10
Snap Hutao 版本
1.6.6.0
设备 ID
No response
问题分类
安装和环境
发生了什么？
启用原神后 自动锁win键 导致win键无任何反应 关闭软件恢复正常  以前从未出现过这种状况
你期望发生的行为？
No response

@Tbaia 有装360或者其他的电脑管家么

没装过杀毒软件 其他游戏都正常 我原游戏启动也不锁win 使用软件启动就会直接锁win

win+TAB会变成切换选项 然后就不会使用了  咋天使用还一切正常今天打开电脑就成这个样子了 重启过电脑  恢复过默认设置还是这个样子

@Tbaia 你的游戏启动选项是什么样的

已经修复了

authors: Lightczx Tbaia


text:
disable auth completely - testing/poc

we are implementing a Cloudstack PoC, and together with CS we want to use BackROLL. Is there a way to disable auth completely
for testing purpose?

Hello @jserviceorg,
The developement versions of Backroll are almost done. You can try them there : https://github.com/DIMSI-IS/BackROLL/tree/main/compose_project.

authors: jserviceorg m-dhellin

repo: DIMSI-IS/BackROLL


text:
Support disabling window decorations in X11 and Win32

Hi, this adds ability to hide the window captions.
It's a starting point to implement such things as popup menu widgets.

On X11, it's using some Motif properties, which seems the widespread method from various toolkits.

On Windows, it's the style WS_CAPTION, needing some particular care to set it on/off.
It needs to recalculate the adjusted window size after setting the hint. I will preserve the former position of the window.

A detail: the window's drawable area has an offset between caption on/off on Windows, because the title bar's top-left is considered the rectangle's origin, unlike in X11.
Other: on Windows it still has the resize border, unless setting isResizable to false.
macOS to be implemented..

What is the usecase or this?

It's to create some popup menus in their distinct window, such as it's not limited to the drawing area.
eg. traditional menu, context menu, combo box

So the window type does not change after it is created right?
If so, I would be prefer this to be a new parameter in the Window constructor, or better yet a new class that subclasses Window and calls its private methods as needed.
Adding 2 methods to the Window class that are only relevant to its creation doesn't seem nice. There is already a bit too much of that already

Another reason to have it as a new class is that these kinds of windows cannot use parentId (for embed).
So a new class would not make that constructor method available at all.
And potentially a parent Window class is required, so that it can set transient hint or even modal stuff.
What do you think?

So the window type does not change after it is created right?
If so, I would be prefer this to be a new parameter in the Window constructor, or better yet a new class that subclasses Window and calls its private methods as needed.

It does not have any need to change after creating.
By personal preference, I would have the subclass instead of introducing a Nth constructor argument.

And potentially a parent window is required, so that it can set transient hint or even modal stuff.

Judgind by the documentation, I think it should definitely have it.
https://tronche.com/gui/x/icccm/sec-4.html#WM_TRANSIENT_FOR

Hmm, I believe there exists an anomaly in Windows code.
It does a forbidden operation according to the MSDN.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowlongptra

Do not call SetWindowLongPtr with the GWLP_HWNDPARENT index to change the parent of a child window. Instead, use the SetParent function.

authors: falkTX jpcima

repo: DISTRHO/DPF

license: isc


text:
[WebApplication] - Obstacle avoidance notification

As a user, I want to be notified when the car that I am driving avoids an obstacle or collision, so that I do not get frustrated if it does not follow my commands during this time.

This is done.

Ideally, we should be also able to tell where in the code this was done. :)

The code is in my local branch, will be merged in the beginning of a working day, which is Monday :)

Then it's not done and therefore this issue should not be closed.

authors: altetmek istanbuly leithhobson platisd


text:
Mapping entries

We want to be able to map the entries.
Possible software includes:
CartoDB
MapBox
Leaflet
Additional visualization software:
D3

I suggest mapzen api supposedly biggest open-data geocoding https://mapzen.com/products/search/

duplicated issue. Refer to #64

repo: DIYbiosphere/sphere


text:
32 spring security

мне сказали создать безопасность без регистрации авторизации и аутентификации

### ВОЗВРАЩАЙ МОИ ПРОЦЕНТЫ!!!

Чет случилось и оно сломалось, хызы

Похуй + похуй на тесты, жду обновлени 003, потом апдейт закидываю и в мейн

authors: RaingGOR nakermaz

repo: DJ-Java-Team/youmiteru-backend


text:
356 provide map plotting for germany

Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:
Always to be checked:

[x] There is at least one issue associated with the pull request.
[x] The branch follows the naming conventions as defined in the git workflow.
[x] New code adheres with the coding guidelines
[x] Make sure that the pre-commit linting/style checks pass.

If functions were changed or functionality was added:

[x] Tests for new functionality has been added
[x] A local test was succesful

If new functionality was added:

[x] There is appropriate documentation of your work. (use doxygen style comments)

If new third party software is used:

[ ] Did you pay attention to its license? Please remember to add it to the wiki after successful merging.

If new mathematical methods or epidemiological terms are used:

[ ] Are new methods referenced? Did you provide further documentation? Has the glossary been updated?

The following questions are addressed in the documentation if need be:

[ ] Developers (what did you do?, how can it be maintained?)

[ ] For users (how to use your work?)

[ ] For admins (how to install and configure your work?)

For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

[ ] Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
[ ] The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
[ ] There are appropriate unit tests and they pass.
[ ] The git history is clean and linearized for the merge request. All reviewers should squash commits and write a simple and meaningful commit message.
[ ] Coverage report for new code is acceptable.

Closes #356

Codecov Report
Base: 92.06% // Head: 92.17% // Increases project coverage by +0.11% :tada:

Coverage data is based on head (1fbfe77) compared to base (740fb37).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #527      +/-   ##
==========================================
+ Coverage   92.06%   92.17%   +0.11%
==========================================
  Files          91       93       +2
  Lines        7084     7173      +89
==========================================
+ Hits         6522     6612      +90
+ Misses        562      561       -1

Impacted Files
Coverage Δ

cpp/models/abm/location.cpp
99.18% <100.00%> (+0.07%)
:arrow_up:

cpp/models/abm/location.h
95.34% <100.00%> (+1.80%)
:arrow_up:

cpp/models/abm/mask.cpp
100.00% <100.00%> (ø)

cpp/models/abm/mask.h
100.00% <100.00%> (ø)

cpp/models/abm/parameters.h
100.00% <100.00%> (ø)

cpp/models/abm/person.cpp
100.00% <100.00%> (+3.12%)
:arrow_up:

cpp/models/abm/person.h
100.00% <100.00%> (ø)

cpp/models/abm/world.cpp
82.11% <100.00%> (+0.75%)
:arrow_up:

cpp/models/abm/simulation.h
50.00% <0.00%> (-50.00%)
:arrow_down:

cpp/models/abm/simulation.cpp
87.50% <0.00%> (-12.50%)
:arrow_down:

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@HenrZu I am OK with your changes, thank you. I just did some final modifications on my side. If you are OK, we can merge it then.

authors: codecov-commenter mknaranja

repo: DLR-SC/memilio


text:
need remove session in case of LIBSPDM_STATUS_SEQUENCE_NUMBER_OVERFLOW

Currently, there is code to detect session overflow.
In libspdm_decode_secured_message, it sets last error.
    if (sequence_number == (uint64_t)-1) {
        libspdm_secured_message_set_last_spdm_error_struct(
            spdm_secured_message_context, &spdm_error);
        return LIBSPDM_STATUS_SEQUENCE_NUMBER_OVERFLOW;
    }

In libspdm_encode_secured_message, it does not.
    if (sequence_number == (uint64_t)-1) {
        return LIBSPDM_STATUS_SEQUENCE_NUMBER_OVERFLOW;
    }

I think the behavior should be consistent.
In requester - libspdm_receive_data, it will end session.
    if (spdm_response->header.request_response_code == SPDM_ERROR) {
        if ((spdm_response->header.param1 == SPDM_ERROR_CODE_DECRYPT_ERROR) &&
            (session_id != NULL)) {
            libspdm_free_session_id(context, *session_id);
            libspdm_release_receiver_buffer (context);
            return LIBSPDM_STATUS_SESSION_MSG_ERROR;
        }
    }

In responder - libspdm_build_response, it does not.
        switch (context->last_spdm_error.error_code) {
        case SPDM_ERROR_CODE_DECRYPT_ERROR:
            /* session ID is valid. Use it to encrypt the error message.*/
            if((context->handle_error_return_policy &
                LIBSPDM_DATA_HANDLE_ERROR_RETURN_POLICY_DROP_ON_DECRYPT_ERROR) == 0) {
                status = libspdm_generate_error_response(
                    context, SPDM_ERROR_CODE_DECRYPT_ERROR, 0,
                    &my_response_size, my_response);

I think the behavior should be consistent.

Since the counter is 64 bits this will never actually happen.

if we add such check, that means we assume it might happen. As such we need do the clean up.

repo: DMTF/libspdm


text:
implementacion de imagenes en certificaciones y candidatos, actualiza…

…cion e implementacion de subida de imagenes en mobil y separacion de candidatos entregados y pendientes

No se que paso pero ya no hay cambios conflictivos

authors: DMarjar Tlacuano

repo: DMarjar/CONCER

license: Unlicense


text:
Error using Intall Extension Wizard - DNN 8.0.4

Message:Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 5.
StackTrace:
InnerMessage:Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 5.

I just downloaded the latest DNN.Reports version Reports_05.07.01_Install.zip and installed it without any problem in a clean DNN8 site.
What are you trying to do that goes wrong?

No reaction. Issue closed

authors: EPTamminga boct


text:
🛑 Fakultas Hukum is down

In 790f161, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in db1ae12 after 11 minutes.


text:
🛑 SSO Unhas is down

In 65c0cc3, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 00ff5d8 after 23 minutes.


text:
🛑 Fakultas Keperawatan is down

In 5707bc4, Fakultas Keperawatan (https://nursing.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Keperawatan is back up in 6284ee9 after 37 minutes.


text:
🛑 Fakultas Hukum is down

In 879c7ee, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in c9c0f0e after 4 minutes.


text:
🛑 Fakultas Hukum is down

In 8413b6c, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 55b3409 after 4 minutes.


text:
🛑 Unhas Main is down

In 087bdcf, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in e661cb0 after 7 minutes.


text:
Abhinavdv/wordcloud enhancement

Modified wordcloud to remove stopwords.

Merging it

authors: abhinavdv swarali-desai


text:
Updating an important link to the DSSAT paper

Original link no longer works. Paper is available for download from researchgate.net.

@david-clifford Thanks!

authors: chporter david-clifford

repo: DSSAT/dssat-csm-os


text:
Discovery REST API

There are two commit regarding the Discovery rest api:
https://github.com/DSpace/DSpace/commit/6aca4fcdfcb65a0cd8e3c331cb28285e1b5b7ab0
https://github.com/DSpace/DSpace/commit/e3740384ee4a841303698f48dfc010491970cf97

Closing as this PR is outdated based on latest Spring REST API

authors: LuizClaudioSantos tdonohue

repo: DSpace/DSpace


text:
External command parameters borked by ValidCommandParameterNames

During experiments, snippet
docker run -id blabla

was changed to
docker run -Id

I presume that -Id is a learned CommandParameter and is stored in ValidCommandParameterNames table. However, maybe it shouldn't be applied for parameters of external commands? Not sure how to fix it though. We would need to detect whether we're inside powershell or an external command.
Slightly related https://github.com/DTW-DanWard/PowerShell-Beautifier/issues/41

Yep, you've hit upon some of the limitations with the current implementation.  Right now the replacement logic is not very smart - for example it can't easily tell PowerShell parameters versus those for external commands.  I do have a plan for fixing this but it involves a complete re-write and using abstract syntax trees.  I've started on this work but it is going to be a long process; I don't expect a beta version for many months.  The plus side: it will have some crazy awesome functionality (not just whitespace cleanup and simple text casing fixes), will be very configurable and will allow users to write their own rules.

Closing this for now; will be addressed (hopefully) in next-gen version.

authors: DTW-DanWard m-kostrzewa

repo: DTW-DanWard/PowerShell-Beautifier