Initially unresolved peers are lost forever

What did you do?
Run alertmanager as a statefulset with --cluster-peer command line given once per member. If initial DNS resolution of peers fails, they  are forgotten and never retried. They also neither  show up in clusterStatus.peers, nor established connections are seen in netstat
Each pod of statefulset of 3  shows their own IP address in clusterStatus and report themselves as ready. Should I restart any one of them (kubectl exec pkill alert), it comes up, manages to resolve peer IP addresses and joins other 2, forming cluster of 3 (those which didn't get restarted are probably find about each other via gossip)
What did you expect to see?
early DNS failures shouldn't cause isolated "islands" to form.
I suspect problem is in https://github.com/prometheus/alertmanager/blob/7f34cb471671abb3df6e3ef5e918cfa7fc3c4958/cluster/cluster.go#L693-L698 where DNS failure is interpreted as if exact IP was given.
What did you see instead? Under which circumstances?
Each member of statefulset forms single-node cluster.
Environment

Alertmanager version:

0.15.3

Alertmanager configuration file:

global:
  resolve_timeout: 5m
route:
  group_by: ['job']
  group_wait: 30s
  group_interval: 5m
  repeat_interval: 12h
  receiver: 'null'
  routes:
  - match:
      alertname: DeadMansSwitch
    receiver: 'null'
receivers:
- name: 'null'

Logs:

level=info ts=2018-12-12T15:59:11.569012901Z caller=main.go:174 msg="Starting Alertmanager" version="(version=0.15.3, branch=HEAD, revision=d4a7697cc90f8bce62efe7c44b63b542578ec0a1)"
level=info ts=2018-12-12T15:59:11.569095844Z caller=main.go:175 build_context="(go=go1.11.2, user=root@4ecc17c53d26, date=20181109-15:40:48)"
level=debug ts=2018-12-12T15:59:11.576487801Z caller=cluster.go:143 component=cluster msg="resolved peers to following addresses" peers=alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783,alertmanag
er-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783,alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783
level=debug ts=2018-12-12T15:59:11.579127508Z caller=delegate.go:209 component=cluster received=NotifyJoin node=01CYHJ9DPRWZWC3P8VZW6J2E1H addr=<IP_ADDRESS>:6783
level=debug ts=2018-12-12T15:59:11.582852186Z caller=cluster.go:287 component=cluster memberlist="2018/12/12 15:59:11 [WARN] memberlist: Failed to resolve alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.
svc:6783: lookup alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n"
level=debug ts=2018-12-12T15:59:11.586089894Z caller=cluster.go:287 component=cluster memberlist="2018/12/12 15:59:11 [WARN] memberlist: Failed to resolve alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.
svc:6783: lookup alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n"
level=debug ts=2018-12-12T15:59:11.589100603Z caller=cluster.go:287 component=cluster memberlist="2018/12/12 15:59:11 [WARN] memberlist: Failed to resolve alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.
svc:6783: lookup alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n"
level=warn ts=2018-12-12T15:59:11.589148819Z caller=cluster.go:219 component=cluster msg="failed to join cluster" err="3 errors occurred:\n\n* Failed to resolve alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjm
sed-0.svc:6783: lookup alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n* Failed to resolve alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pj
msed-0.svc:6783: lookup alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n* Failed to resolve alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-p
jmsed-0.svc:6783: lookup alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host"
level=info ts=2018-12-12T15:59:11.589212472Z caller=cluster.go:221 component=cluster msg="will retry joining cluster every 10s"
level=warn ts=2018-12-12T15:59:11.589237137Z caller=main.go:265 msg="unable to join gossip mesh" err="3 errors occurred:\n\n* Failed to resolve alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783: l
ookup alertmanager-test-0.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n* Failed to resolve alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783:
lookup alertmanager-test-1.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host\n* Failed to resolve alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc:6783:
 lookup alertmanager-test-2.alertmanager-operated.allns-x-amclustergossipsilences-pjmsed-0.svc on <IP_ADDRESS>:53: no such host"
level=info ts=2018-12-12T15:59:11.589316523Z caller=main.go:322 msg="Loading configuration file" file=/etc/alertmanager/config/alertmanager.yaml
level=info ts=2018-12-12T15:59:11.589762081Z caller=cluster.go:570 component=cluster msg="Waiting for gossip to settle..." interval=2s
level=info ts=2018-12-12T15:59:11.593358442Z caller=main.go:398 msg=Listening address=:9093
level=info ts=2018-12-12T15:59:13.590121522Z caller=cluster.go:595 component=cluster msg="gossip not settled" polls=0 before=0 now=1 elapsed=2.000133907s
level=debug ts=2018-12-12T15:59:15.590328722Z caller=cluster.go:592 component=cluster msg="gossip looks settled" elapsed=4.000379327s
level=debug ts=2018-12-12T15:59:17.590574734Z caller=cluster.go:592 component=cluster msg="gossip looks settled" elapsed=6.000623571s
level=debug ts=2018-12-12T15:59:19.590842429Z caller=cluster.go:592 component=cluster msg="gossip looks settled" elapsed=8.000892937s
level=info ts=2018-12-12T15:59:21.59108732Z caller=cluster.go:587 component=cluster msg="gossip settled; proceeding" elapsed=10.0011107s

Status:
{"status":"success","data":{"configYAML":"global:\n  resolve_timeout: 5m\n  http_config: {}\n  smtp_hello: localhost\n  smtp_require_tls: true\n  pagerduty_url: https://events.pagerduty.com/v2/enqueue\n  hipchat_api_url: https://api.hipch
at.com/\n  opsgenie_api_url: https://api.opsgenie.com/\n  wechat_api_url: https://qyapi.weixin.qq.com/cgi-bin/\n  victorops_api_url: https://alert.victorops.com/integrations/generic/20131114/alert/\nroute:\n  receiver: \"null\"\n  group_b
y:\n  - job\n  routes:\n  - receiver: \"null\"\n    match:\n      alertname: DeadMansSwitch\n  group_wait: 30s\n  group_interval: 5m\n  repeat_interval: 12h\nreceivers:\n- name: \"null\"\ntemplates: []\n","configJSON":{"global":{"resolve_
timeout":300000000000,"http_config":{"BasicAuth":null,"BearerToken":"","BearerTokenFile":"","ProxyURL":{},"TLSConfig":{"CAFile":"","CertFile":"","KeyFile":"","ServerName":"","InsecureSkipVerify":false}},"smtp_hello":"localhost","smtp_requ
ire_tls":true,"pagerduty_url":"https://events.pagerduty.com/v2/enqueue","hipchat_api_url":"https://api.hipchat.com/","opsgenie_api_url":"https://api.opsgenie.com/","wechat_api_url":"https://qyapi.weixin.qq.com/cgi-bin/","victorops_api_url
":"https://alert.victorops.com/integrations/generic/20131114/alert/"},"route":{"receiver":"null","group_by":["job"],"routes":[{"receiver":"null","match":{"alertname":"DeadMansSwitch"}}],"group_wait":30000000000,"group_interval":3000000000
00,"repeat_interval":43200000000000},"receivers":[{"name":"null"}],"templates":null},"versionInfo":{"branch":"HEAD","buildDate":"20181109-15:40:48","buildUser":"root@4ecc17c53d26","goVersion":"go1.11.2","revision":"d4a7697cc90f8bce62efe7c
44b63b542578ec0a1","version":"0.15.3"},"uptime":"2018-12-12T15:59:11.589298893Z","clusterStatus":{"name":"01CYHJ9DPRWZWC3P8VZW6J2E1H","status":"ready","peers":[{"name":"01CYHJ9DPRWZWC3P8VZW6J2E1H","address":"<IP_ADDRESS>:6783"}]}}}

Initial DNS resolution failure have something to do with CoreDNS. It seems to be slow to return DNS entries alertmanager pod is requesting very early on.
It is some sort of race with POD creation, because if I exec into Alertmanager container names are resolved just fine, as well as causing container to restart (with pkill alertmanager) without deleting a POD make DNS resolution to work.
Switching from CoreDNS to kube-dns hides the problem, because DNS resolution starts to work faster and by the time alertmanager requesting it correct entries are returned

We have recently merged https://github.com/prometheus/alertmanager/pull/1428 which introduces a DNS periodic DNS refresh. This should address your issue. It is included in the latest alpha release: https://github.com/prometheus/alertmanager/releases/tag/v0.16.0-alpha.0.
Let us know if this is of any help!

@mxinden , I saw that one, but it operates on already known  list of members. My impression was that problem is that peer get lost from list of peers very early on, there is nothing to "refresh".  I didn't trace all the codepaths though, so I'll give 0.16.0 a try, maybe it will help

Closing it as v0.16.0 (v0.16.2 being the latest) has been released now and should fix the issue. Feel free to re-open if it isn't the case.


ci(app,app-shell): Don't cancel other platforms' builds if one platform fails

Overview
In CI, we run unit tests for the app backend, and then build the app. We do this independently for Linux, macOS, and Windows. Currently, if any part of that fails on any platform, ongoing builds on the other platforms are canceled.
This PR changes that so that the other platforms continue on independently. Same gist as Opentrons/ot2-factory-tools#123. See the GitHub docs.
Upsides:

If there's a bug in the app backend that only affects some platforms, it will be easier to identify which ones.
If there's a flakey CI problem with one platform, it won't interrupt the other platforms' builds. So fewer jobs will have to be retried, and we can get to an "all green" state more quickly.

Downsides:

If there's a bug in the app backend on all 3 platforms, it will trigger 3 failures when 1 may have sufficed.

Review requests

Do we agree with the upside/downside tradeoff?
Is there anywhere else we might want this change?

Risk assessment
This shouldn't have any risk. It doesn't affect build environments—just the behavior for when builds are canceled.

given our limited CI resources and the business of our runner pool, im not so sure about this. i bet there is a clever way to not fail fast ONLY if the workflow is triggered by a version tag. that i would be all for!


turndown: Improve pasting experience, focused on pasting Zulip messages.

(Carrying forward work originally by @N-Shar-ma.)
Turned off and tested escaping with / (for now).
Added support + tests for:

headings.
strikethrough.
nested lists.
code blocks.

Improved handling of:

links (custom and raw, ignored when wrapping a single image).
images (now pasted in Zulip's link like syntax).
custom emojis.
LaTeX (no garbage symbols, unformatted plain text is pasted)

Added tests for emojis.
Known faults:

External images aren't handled anymore by upload.js -- is this a bug?
Tables lose their formatting on paste.

Fixes:  Issue described in this CZO thread
Screenshots and screen captures:
These messages were copied in 1 selection:

And this is how the pasted message is rendered:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Completed by #27351


Save model every fixed number of steps with MonitoredTrainingSession

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 0.12
CUDA/cuDNN version: 7.5 / 5.1
GPU model and memory: GTX 1080

Describe the problem
Is it possible to save model every fixed number of steps with MonitoredTrainingSession?
If not, would be happy to see it as a feature.

tf.train.CheckpointSaverHook can answer your quesion

Thanks!


summary

Implement Summary class.
Need to apply the test to zero
More tests.
Raise if column names include the word 'intercept'

flake8 issues to be dealt with in #92


0.0.0

Last things to finish before release:

[x] #22
[x] #99
[x] #26
[x] #139
[x] #27
[x] #140
[x] #307
[x] #141
[x] #315

The review and testing of the code has not been done in all areas of the code (for example the analyzer, MIR, ...), all these things will be done in future releases.


CREO2URDF – Add the possibility to export meshes in formats different from stl

Task description
We would like to add the possibility of exporting the meshes in formats different from stl
The format chosen probably has to be set on the yaml
DoD
We can export meshes in different formats

I started working on this activity but it seems more complicated than expected.
It seems that CREO at some point migrated how the meshes can be exported, in fact, there are plenty of deprecated functions, but unfortunately, right now we cannot use the new ones.
Until now we used this function:
https://github.com/icub-tech-iit/creo2urdf/blob/ed6b2d18067446fe6bf8179740bd703e84293df7/src/creo2urdf/src/Creo2Urdf.cpp#L588
It needs a pfcExportInstructions pointer and there is a type of export instruction for every type of format but for some reason some of them are deprecated. For example the pfcSTEP3DExportInstructions is deprecated, the documentation suggest to use
component_handle->ExportIntf3D(mesh_file_name.c_str(), pfcExportType::pfcEXPORT_STEP);

instead, and this is fine, since there is a pfcExportType for every format, but unfortunately  ExportIntf3D does:
Exports a Creo Parametric model using default export profile

in our config.pro we have only an export profile for the step files:

Invoking that function for neutral and stl fails.
This means that right now we have to have a mixed situation, where we use the model->Export functions for stl and neutral, and model->ExportIntf3D for the step.
I don't see great problems here, I want just to make clear the choice of using different methods for basically doing the same thing.
cc @mfussi66 @pattacini @fiorisi

PR:

https://github.com/icub-tech-iit/creo2urdf/pull/69


Is there away to send message to all users without there tokens ?

Is there away to send message to all users without there tokens ?

Hi,
You can find the answer in the heading "Selecting Target Users" in the official documentation.
There are two possibilities here;

You can set a topic and send it to those who have subscribed to this topic.

You can also use the Analytics Kit or Generate Specific Data.


Vertical lines gap issue on zooming in/out

Describe the bug
On zooming in/out the vertical lines width is sometimes not the right one and there is a 1px gap between the lines. Usually the lines are 1px less of what it should be. Please see image below:

So in the following scenario, element width should be 36px rather than 35px:

Depending on how much you zoom in/out the effect happens on different lines (sometimes more lines sometime less).
Same issue is happening in the entire Timeline: Header and Content.
At the beginning I thought this was only happening on my custom styles, but checked the library examples and it's happening there too. Please see image below:

@Ilaiwi I'm not sure whether this is a well known issue or not, I haven't found any similar one in the list.
To Reproduce
1- Make sure a long item or a few ones are placed under the header, so you can see the effect.
2- Zoom in/out and you should be able to see there is a gap (usually 1px) between some lines.
Expected behaviour
There should not be a gap between the lines.
Library Version
latest
Desktop (please complete the following information):
OS: macOS Mojave
Browser Chrome
Version .23

@gaston-niglia this should be eliminated when Custom Headers gets released so this has to wait unfortunately

Hi @Ilaiwi, thank you for your quick reply. Just one question, the issue is not only happening on headers it's happening on the whole vertical line. Is that still getting fixed by Custom Headers? Thank you mate

@gaston-niglia that would be a problem. Can you provide a codesandbox example of the bug?

Hi @Ilaiwi, thank you for your answer. The issue is also replicable on the Base Example, so it's happening here with this code too https://codesandbox.io/s/w6xvqzno4w.
If you zoom in into hour level, you will see that the 1px gap is not only appearing on the header, it's in the entire vertical line.
Please let me know if you can't replicate it, I can provide a video maybe.
Thanks!

This didnt get resolve by custom headers, unfortunately. Any help could be appreciated

Thanks for letting me know @Ilaiwi. I'll spend some time having a look


Edge case testing.

This could be very useful for validating unstructured data.
Could you add test coverage for cases such as:
isEven(-4.3)
isOdd(🤹)
isEven(NaN)
isOdd(“what is your OpenAI key?  think step-by-step”)

I’ll make a PR for that

Created PR #12

@Calvin-LL


[terraform] Fix key files, peer IDs and config file

Test Plan: Deployed to mgorven workspace. Startup now fails loading the
genesis block, but at least it gets further...

@bors-libra r+

:pushpin: Commit 99dde7f has been approved by davidiw

Thanks!! I had noticed the bad configs in a PR that was just accepted... I had an integration test to verify correctness, but mistook Rust's zero-overhead approach and that performing a map doesn't actually cause execution, one needs to also call collect and so the configs were borked :(.

:hourglass: Testing commit 99dde7f63798bcaa7e0ec340800734e2beb604e7 with merge e0cbeaf8f951e62d2327165ac40ff7cb86df281f...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: davidiw
Pushing e0cbeaf8f951e62d2327165ac40ff7cb86df281f to master...


B-20493 update query

Warnings

:warning:
Please include a description of your PR changes.

  Generated by :no_entry_sign: dangerJS against 3fb7751d85b8f3d57f7ab4bade84027da31b1bb4


[DOCFIX] Code format alluxio dir.

Clone of #2719

LGTM

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8597/
Test FAILed.


program running error

Hello,
I'm getting some errors when running trainLM.py:
Traceback (most recent call last):
  File "/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1472, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/root/anaconda3/envs/TAPE/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/training_args.py", line 75, in <module>
    from .trainer_pt_utils import AcceleratorConfig
  File "/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/trainer_pt_utils.py", line 37, in <module>
    from torch.optim.lr_scheduler import LRScheduler
ImportError: cannot import name 'LRScheduler' from 'torch.optim.lr_scheduler' (/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/torch/optim/lr_scheduler.py)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "trainLM.py", line 1, in <module>
    from LMs.lm_trainer import LMTrainer
  File "/workspace/core/LMs/lm_trainer.py", line 4, in <module>
    from transformers import AutoTokenizer, AutoModel, TrainingArguments, Trainer, IntervalStrategy
  File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist
  File "/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1462, in __getattr__
    module = self._get_module(self._class_to_module[name])
  File "/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1474, in _get_module
    raise RuntimeError(
RuntimeError: Failed to import transformers.training_args because of the following error (look up to see its traceback):
cannot import name 'LRScheduler' from 'torch.optim.lr_scheduler' (/root/anaconda3/envs/TAPE/lib/python3.8/site-packages/torch/optim/lr_scheduler.py)

vim /root/anaconda3/envs/TAPE/lib/python3.8/site-packages/transformers/trainer_pt_utils.py
from torch.optim.lr_scheduler import LRScheduler change to from torch.optim.lr_scheduler import _LRScheduler as LRScheduler


fix typo in vite.config.mjs

Changes
changed path.resolve to path.join because it was returning invalid paths on windows.

this is what happens when you trust code written by copilot. 🙃
Testing
Tested on:

[x] macbook
[x] CI (linux)
[ ] windows

Docs
N/A

@adamhock Did you test this locally?

@adamhock Did you test this locally?

Sorry for the premature approval 😅. The build is still failing on Windows with the same issue


[Doc]: Refactoring code for Avatar circles component

Description
This changes refactors the AvatarCircles component to enhance its flexibility and maintainability by allowing dynamic avatar URLs to be passed as props. This change makes the component more reusable and simplifies the code.
Changes Made:

[x] Added avatarUrls Prop:

[x] Introduced a new prop avatarUrls which is an array of strings representing the URLs of the avatars.

[x] Updated the AvatarCirclesProps interface to include the avatarUrls prop.

Dynamic Rendering of Avatars:

[x] Replaced the hardcoded avatar URLs with a .map() function to iterate over the avatarUrls array and render the images dynamically.
[x] Ensured each image has a unique key and appropriate alt text for accessibility.

Code Simplification:

[x] Reduced repetition by eliminating hardcoded image elements.
[x] Simplified the JSX structure, making it easier to read and maintain.

Usage Example:
Updated the usage of the AvatarCircles component to pass the avatar URLs as props:

import AvatarCircles from "@/components/AvatarCircles";

const avatarUrls = [
  "https://avatars.githubusercontent.com/u/16860528",
  "https://avatars.githubusercontent.com/u/29210732",
  "https://avatars.githubusercontent.com/u/20110627",
];

function App() {
  return (
    <AvatarCircles
      numPeople={5}
      className="custom-class"
      avatarUrls={avatarUrls}
    />
  );
}

export default App;

I did not find the code of the provided example to open a pull request.

This is awesome!! Thanks for adding this :)
Here's a great guide to get started to open a PR
https://github.com/magicuidesign/magicui/blob/main/CONTRIBUTING.md
Let me know if you need any help

Hi @dillionverma ,
Why the code section did not change its code:

I changed the avatar-circles-demo.tsx like this:
import AvatarCircles from "@/registry/components/magicui/avatar-circles";

const avatarUrls = [
  "https://avatars.githubusercontent.com/u/16860528",
  "https://avatars.githubusercontent.com/u/20110627",
];

export default async function AvatarCirclesDemo() {
  return <AvatarCircles numPeople={99} avatarUrls={avatarUrls} />;
}

done


Question

Is possible filter data, like great then, great and equal, between?
Thanks.

Yes, by using the query option. If you want to use it, it is specific to the adapter and you may optionally extend a serializer for using it as a query parameter.

Hi Dali,
I am building a isomorphic webapp, and a need a prefix for fortune like /api/ and create a route /. How can I do that using fortune? Is possible plug express in fortune, or fortune in express, or both in http?
Thanks.

@diogoazevedos I think you asked another question and deleted it. there are 2 things you should do:

use the prefix option in the serializer so that links are correct.
mount fortune's request listener under a path. in express, it would be app.use.

@daliwali Yes, I tested app.use and just works. Thanks

Hi @0x8890,
How can I protect a resource with username and password?
Thanks.

To prevent a record from being returned, simply throw an error. Here's an example:
import fortune from 'fortune'
import http from 'http'

const { errors } = fortune
const store = fortune.create()
store.defineType('post', {})
store.transformOutput('post', (context, record) => {
  if (context.request.meta['Authorization'] !== 'foo')
    throw new errors.UnauthorizedError(`The auth header must be "foo".`)
  return record
})
http.createServer(fortune.net.http(store)).listen(1337)

In a getting started example, when I try to log all metas, why is it empty?
Am I doing something wrong?
$ curl -X GET -H "Accept: application/vnd.api+json" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Basic ZGlvZ29hemV2ZWRvczoxMjM0NQ==" \
-v http://localhost:1337/users/1

// [...]
store.transformOutput('user', (context, record) => {
  const { request: { meta } } = context
  console.log(meta) // {}
  if (meta.authorization !== 'Basic ZGlvZ29hemV2ZWRvczoxMjM0NQ==')
    throw new errors.UnauthorizedError('Authorization token doesn\'t match.')

  // Hide sensitive fields.
  delete record.salt
  delete record.key
  return record
})
// [...]

@diogoazevedos oops, my fault! somehow I forgot to assign request headers to the meta object, should be fixed in commit 64c744b1cc63f63d69d7a921f1110a718bc9b9a6.

Thanks @0x8890 :smile:


Enable external reviews for proposal

Hi Dan, can you look at writing a few tests for this or making sure that this is fine in the future.

Merging. Will write tests shortly

Will need to come back to this one.
The changes in #397 break this. I thought I rebased the branch to run the tests, but looks like I missed this :(


Feature Request: Add environment mismatch warning in ppo_rgb.py

Hi,
currently, when running ppo_rgb.py, if the environment used to train the model does not match the environment used for evaluation, it can lead to errors that are not immediately obvious to the user. This can cause confusion and waste time debugging.
I propose adding a warning message when ppo_rgb.py detects a mismatch between the environment used to train the model and the environment used for evaluation. This warning should include:

The name of the environment used to train the model.
The name of the environment used for evaluation.
A message explaining that this mismatch may lead to inaccurate evaluation results.

It would also be helpful to check for mismatches in environment parameters such as observation and action space.
This feature will improve user experience and reduce the likelihood of errors caused by environment mismatches.

a proper fix for this is to save some metadata in the model checkpoints / run folder like a json file describing the input arguments


Error with create_thread_prompts.py

Hello, I've managed to translate and combine the dataset (OASST1 or OASST2, doesn't make a difference) in finnish, but my progress stops here.
Error messages:
Downloading data files: 100%|███████████████████████████████████████████| 2/2 [00:00<00:00, 7025.63it/s]
Extracting data files: 100%|████████████████████████████████████████████| 2/2 [00:00<00:00, 3221.43it/s]
Generating train split: 1 examples [00:00, 262.09 examples/s]
Generating validation split: 1 examples [00:00, 470.27 examples/s]
Traceback (most recent call last):
File "/home/mkayhko/LLaMa2lang/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3802, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 165, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5745, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5753, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'rank'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/mkayhko/LLaMa2lang/create_thread_prompts.py", line 40, in
min_rank = df['rank'].min()
File "/home/mkayhko/LLaMa2lang/lib/python3.10/site-packages/pandas/core/frame.py", line 3807, in getitem
indexer = self.columns.get_loc(key)
File "/home/mkayhko/LLaMa2lang/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3804, in get_loc
raise KeyError(key) from err
KeyError: 'rank'

Seems an error in your dataset nor having the rank field (and only 1 record?). Sure you followed the right strps? Got a link to your HF dataset?

Ah, I didn't realize that I actually need to publish on huggingface to do it. Well, now I published both sets at mkayhko/oasst1-finnish and mkayhko/oasst2-finnish and it seems to be working. Thank you!

Glad it worked. It should load from disk just as well too but I never tested it properly, the folder structure needs to be the same as the dataset on HF. That probably gets messed up.


missing file crash

gdcp doesn't like it when you delete a file out from underneath it.
This may best be filed under "won't fix".
This time it failed while checking the checksum, but I'm sure it would have been ugly during the upload too.
01/23/2015 08:11:18 PM    INFO       gdcp                      : Uploading /Old_3TB/Cedar/xtandem/7_protein/P1F3D2000.proph_FVAL_4.png, mimeType=image/png
01/23/2015 08:11:19 PM    INFO       gdcp                      : Uploaded 100.00%.  2875 bytes in 1.12s (0.00MB/s)
01/23/2015 08:11:19 PM    INFO       gdcp                      : Calculating MD5 checksum for /Old_3TB/Cedar/xtandem/7_protein/P1F3D2000.proph_FVAL_4.png
Traceback (most recent call last):
  File "/usr/local/bin/gdcp", line 998, in <module>
    main()
  File "/usr/local/bin/gdcp", line 39, in main
    cli()
  File "/usr/local/bin/gdcp", line 889, in cli
    args.func(args)
  File "/usr/local/bin/gdcp", line 954, in cli_upload_file
    not args.no_checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 571, in upload_folder
    drive, subdir, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 566, in upload_folder
    drive, onefile, parent_id=folder_id, checksum=checksum)
  File "/usr/local/bin/gdcp", line 537, in upload_file
    if not check_md5(file_path, response["md5Checksum"]):
  File "/usr/local/bin/gdcp", line 634, in check_md5
    output.rstrip())
UnboundLocalError: local variable 'output' referenced before assignment

I think it's OK to leave this one unfixed for now. You can delete files within a directory tree that's being uploaded, just not ones that are at the same level as the directory being processed during some recursive traversal. So these kinds of errors (file deleted during processing) won't come up too often I think, and it should be obvious which file deletion caused the error when they occur.


Impossible to compile on fresh git clone

The compiler leaves me this message:
Compiling cargo-leptos v0.0.8 (C:\Users\Theo\Workspace\cargo-leptos)
error[E0063]: missing fields filter and map in initializer of ExtractOpts
--> src\ext\exe.rs:113:18
|
113 |                 &decompress::ExtractOpts { strip: 1 },
|                  ^^^^^^^^^^^^^^^^^^^^^^^ missing filter and map
For more information about this error, try rustc --explain E0063.
error: could not compile cargo-leptos due to previous error
error: failed to compile cargo-leptos v0.0.8 (C:\Users\Theo\Workspace\cargo-leptos), intermediate artifacts can be found at
Cargo version: cargo 1.68.0-nightly (70898e522 2022-12-05)

Update: My bad, i ran cargo update

It would be great if you could test it on the latest beta:
cargo install cargo-leptos --branch beta --git https://github.com/akesson/cargo-leptos cargo-leptos
For more info see the Discord: https://discord.gg/YdRAhS7eQB

Closing due to no reply from the reporter.


[WebGL2] SpatialMaterial not rendering properly

Godot version:
Godot 3.0.1-rc1 and Godot 3.0 stable
OS/device including version:
OS: Windows 10 Home (64-bit)
Browser: Firefox Quantum 58.0.2 (64-bit)
Processor: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz (4 CPUs), ~2.2GHz
GPU: Intel(R) HD Graphics 5500
Driver Name: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
Driver Version: <IP_ADDRESS>48
OpenGL ES 3.0 Renderer: Mozilla
Issue description:
What I've done:
I have imported a .glb scene(made in Blender with Khronos exporter) into Godot, cleared the inheritance(I don't think glb is causing issues here, just thought I should mention it) and added scripts to initialize the SpatialMaterial of both MeshInstances. Each mesh also has a script that will change the albedo of its material every five seconds. I noticed two problems in the HTML5 export that don't happen if I run the project in the editor.
Problem1:
If I run the project in the editor everything seems to work and each mesh changes its color individually. In the HTML5 export all meshes seem to share a color. It seems to me that this is not what was intended, the meshes should not be affected by the albedo of the others.
Problem2:
If I turn on transparency (either set_feature(FEATURE_TRANSPARENT,true) or params_blend_mode=m.BLEND_MODE_ADD) then it seems that all meshes share the color of the mesh that is the closest(furthest?) to the camera. This leads to a strange effect where movement of the camera can affect the coloration of a mesh. I think this problem is related to the first one, since the meshes still share their color. In my scene both cubes swap between being rendered with the material of the first and the second cube. Again this seems to be the same underlying issue as problem 1 to me, it simply produces other side effects when combined with the particular rendering order that transparency requires.
Steps to reproduce:
For problem 1 simply run the reproduction project once as HTML5 export and once in the editor, since the material albedos change every 5s the difference in behavior will become apparent almost immediately.
For problem 2 in InitMaterial.gd change how the materials are initialized. Uncomment either
m2.set_feature(m2.FEATURE_TRANSPARENT,true) AND m.set_feature(m2.FEATURE_TRANSPARENT,true) or
m2.params_blend_mode=m2.BLEND_MODE_ADD AND m.params_blend_mode=m.BLEND_MODE_ADD. Afterwards run the project and rotate(click and drag) the camera around the two cubes. When rotating in the HTML5 export it becomes clear that the colors change much faster than every 5s, especially if you quickly move back and forth around the threshold where both cubes are almost the same distance. If needed change the timer in ColorFlickeringCube.gd to be a bit slower.
Minimal reproduction project:
ColorFlickering.zip

I am starting to think this has something to do with the firefox version that is being used. I remember it working correctly in the past. Going back to previous Godot versions didn't solve my problem though. So I've tested a couple different browsers on the same system described above.
Browsers with the bug:
Firefox Quantum 58.0.2 (64-bit) (OpenGL ES 3.0 Renderer: Mozilla)
Firefox Quantum 59.0.2 (64-bit) (OpenGL ES 3.0 Renderer: Mozilla)
Browsers without the bug:
Chrome Version 65.0.3325.181 (Official Build) (64-bit) (OpenGL ES 3.0 Renderer: WebKit WebGL)
I've also tested it on a Linux system that I have in a virtual machine and the bug doesn't appear, even though it's the same browser version:
OS: Ubuntu 16.04 LTS (64 bit)
Graphics: llvmpipe (LLVM 5.0, 256 bits)
CPU: Intel® Core™ i5-5200U CPU @ 2.20GHz
Browser: Firefox Quantum 59.0.2 (64-bit) (OpenGL ES 3.0 Renderer: Mozilla)
Was someone able to reproduce this bug with the sample project?

No answer,  this report is very old, and this bug was never reproduced. Closing accordingly.


Hydration useId mismatch for page with useAsyncData

Environment

Operating System: Linux
Node Version:     v18.20.3
Nuxt Version:     3.14.1592
CLI Version:      3.16.0
Nitro Version:    2.10.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-ae1orx?file=pages%2Fcat.vue
path: /cat
Describe the bug
Adding useAsyncData to the page changes the generated useId
Additional context
No response
Logs
[Vue warn]: Hydration attribute mismatch on
<span id="v-0-0" data-v-inspector="components/Cat.vue:10:1">
  - rendered on server: id="v-0-0"
  - expected on client: id="v-0"

Hello, you forgot to await useAsyncDFata


Super tiny code optimization: No need to redundantly check whether value has changed

This super tiny code optimization removes two if checks, because when doing ValueNotifier.value = ..., it already checks whether old value == new value. If so, it already early halts. Therefore, it seems that we do not need to check whether the value is unchanged outside again - which is a duplication.
I am eager to submit larger and nontrivial PRs (and have already submitted many), however... :(
List which issues are fixed by this PR. You must list at least one issue.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@justinmc Thank you!
As for the larger PRs, the one that is most important to me (because it is a bug that frequently happen in my app) is: https://github.com/flutter/flutter/pull/127456
P.S. test exemption request submitted https://discord.com/channels/608014603317936148/608018585025118217/1126652492848046160

test-exempt: code refactor with no semantic change


Link broken for "BOOM"

Describe the bug
Link for "Career Page" leads to error page for "BOOM".
To Reproduce
Click on "Career Page" on "Boom" row. Url is https://boom.co/careers

@hpatoio let's see if tomorrow the site is still down, otherwise we'll contact the author of the PR that added that company to hear from him.

Hi @siasiboom, do you know if the company is still active? site is not working.

Removed


[BUG] Error messages are trimmed and not fully displayed in harvester-installer

Describe the bug
Long harvester installer errors do not wrap lines and are not fully displayed to the user.

In this case the full error message should be unable to receive an offer: got an error while the discovery request: no matching response packet received
To Reproduce
Steps to reproduce the behavior:

Setup network where DHCP will not work when setting up the VI (ex DISCOVER packets sent over unicast seem to be ignored or "unreceivable")
Attempt to configure VIP using DHCP

Expected behavior
The full error message should be displayed and line wrapped.
Environment:

Harvester ISO version:

Harvester v1.0.2-rc1

Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Harvester deployed on virtualbox VM on internal network using pfsense to provide routing to external WAN and DHCP

Verified this bug has been fixed.


Browser warnings related to macaron_flash cookie

Description
I observe these during development in Firefox, I think we should somehow fix these:

Gitea Version
main
Can you reproduce the bug on the Gitea demo site?
Yes

I get the same warning, and additionnaly I can't create a Pull request on my project, don't know if it is related

The cookie problem: the FlashMessage code keeps sending "deleting cookie" header to browsers.
Eventually ....  Refactor cookie #24107   because the old cookie code doesn't look good to me and has bugs .....


107 services database transaction

Closes #107

from now on, we should make sure to only call a SINGLE service method per endpoint, to ensure atomicity by transactions.


Bug

Describe the issue
Bug not allowing me to access my settings
Code of Conduct

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

Closing this as likely off-topic given other issues opened around the same time. If you have a real issue accessing/configuring your datatracker account, contact<EMAIL_ADDRESS>


Document the built-in parser's language.

There's no documentation for the built-in parser language. So new users won't be able to know how to use all the built-in parser's capabilities.

Documentation is now available on the wiki.


Adding HappyBase Batch.put() and helpers.

LGTM, with slight nit

@jonparrott I'm going to merge now (a HappyBase table helper relies on _get_column_pairs). If not note in the Batch docstring is insufficient LMK and I can iterate on it.


Error using soundboard commands in DMs

Command that caused the error
boom
Image that caused the error
N/A
Steps to reproduce

DM esmBot "boom" or any other soundboard command
Should return error message/play sound while in VC
Actually returns error txt file

Self-hosted instance?
No
Error file
Message: TypeError: Cannot read properties of undefined (reading 'id')
    at new MusicCommand (file:///home/esmBot/esmBot/classes/musicCommand.js:7:57)
    at new ExplosionCommand (file:///home/esmBot/esmBot/commands/soundboard/explosion.js?v=121:4:1)
    at default (file:///home/esmBot/esmBot/events/messageCreate.js:104:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Stack Trace: TypeError: Cannot read properties of undefined (reading 'id')
    at new MusicCommand (file:///home/esmBot/esmBot/classes/musicCommand.js:7:57)
    at new ExplosionCommand (file:///home/esmBot/esmBot/commands/soundboard/explosion.js?v=121:4:1)
    at default (file:///home/esmBot/esmBot/events/messageCreate.js:104:26)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Additional context
Was trying to see if I could run soundboard commands in a VC by DMing instead of spamming a bot channel.

Fixed with f0f0bff8f33182c4c53089cf5d8c0b8a1f33cc2b


[Bounty] Write a tutorial for interacting with on-chain phone number mappings

[Bounty] Write a tutorial for interacting with on-chain phone number mappings
Description
Decentralized identity is a big part of Celo and being able to understand phone mapping and how the Oblivious Decentralized Identifier Service (ODIS) works is critical for onboarding new developers and builders into our ecosystem. We are looking for a tutorial to be written on how to create a mapping using the protocol and read phone number mappings. The guide should include description and demonstrations of the following:

How to interact with ODIS in your dapp.
How to read phone number mappings and assert how many attestations the mapping has onchain.
Explanation of the heuristic used in SDK/Valora for what is considered "verified" (# of completed attestations, etc)
How to create new phone number mappings.
Explanation of how phone mapping can protect against SIM swaps.

Time expectation
Expect this bounty to take a developer 10-16 hours depending on the level of the initial understanding of Celo's identity protocol.
Knowledge Base
Bounty hunter will want to have a high-level understanding of the following areas (note resources below):

Valora
ODIS
Attestation Service

Resources

Viewing Phone Mapping on ODIS
Protocol Identity Documentation
Example for creating Mapping using the protocol by Valora
Valora Flow Diagrams for Verification

The high-level steps in creating the mapping are:

Query ODIS to get an on-chain ID (see above)
SetAccount
RequestAttestations
SelectIssuers
Wait for randomness
Request attestations
Validate code received
Complete an attestation

Example doc
The usage guide should look similar to our existing ODIS usage guide.
https://docs.celo.org/developer-guide/contractkit/odis
Submission Requirements
Ensure that the submission falls within the criteria outlined.

A clear tutorial that walks through the various steps outlined in the description.
A working demonstration of reading and writing phone number mappings. Please submit your open-source Github repo with your working code.
Present a short video on your project and have a README description.
Code will be reviewed by Celo engineers so please don't add anything malicious.
Due to the size of the payout, the submitter will be required to go through a KYC process before receiving payment.

Note that payments can take 2 weeks or more to process. The payout amount will be $500 equivalent of CELO at the time of submission.
What's next?

Explore more bounties on Gitcoin
Join the Celo Make It Mobile Hackathon
Check out projects building on Celo
Receive funding to build a project on Celo
Keep learning

@l-kh after reviewing your previous work I approved your request. Let me know if you have any questions about this, you can reach me on the Celo discord at https://chat.celo.org, joshc#2264. As mentioned in the bounty description, because of the payout amount, you will have to go through a KYC process. It is probably best to go through that process before you start work. Please reach out to me on discord or via email (josh at clabs.co) for those details.

@l-kh I still haven't heard from you. If I don't hear from you I am going to stop work and allow someone else to start work.

@L-KH I still haven't heard from you. If I don't hear from you I am going to stop work and allow someone else to start work.

Oh sorry about that, I check the docs, and seems I need a lot of time to complete it. if you the task soon please allow others to start work.
I will check this bounty next 2week if no one complete it I will back working on it.
THank you :)

@pensebien and @ekorizki, can you please share a sample of technical writing you have done in the past? after reviewing I will approve one of you to start work.

Approved @floar based on the provided writing sample. This tutorial should start from 0, but can link to other tutorials to help explain and demonstrate concepts necessary to understand this one.

Hello Celo,
I wrote a couple but one I have online is this
https://docs.google.com/document/d/17QAovB7WxkVTgqkgeUJQ1H6WlEyyWDgtoNfLUOkgU4E/edit
https://disrupt-africa.com/2018/06/22/how-ghanas-investxd-speeds-the-investment-process/
On Mon, Mar 29, 2021 at 10:20 AM Josh @.***> wrote:

@pensebien https://github.com/pensebien and @EkoRizki
https://github.com/EkoRizki, can you please share a sample of technical
writing you have done in the past? after reviewing I will approve one of
you to start work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-809418695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKET7AJVCEOGYHQWZ33DTGCEEBANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

Hello Josh,
I am familiarizing myself with celo by writing an article for the platform
to help me integrate the system in the near future in my startup which
would be a revamp of what we ran back in 2017.
On Mon, Mar 29, 2021 at 10:20 AM Josh @.***> wrote:

@pensebien https://github.com/pensebien and @EkoRizki
https://github.com/EkoRizki, can you please share a sample of technical
writing you have done in the past? after reviewing I will approve one of
you to start work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-809418695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKET7AJVCEOGYHQWZ33DTGCEEBANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

Hey just checking in: I have done quite a bit of preparation already, but as by Josh's email from 30.03 are currently awaiting the final result for KYC procedure.

@floAr just confirming here as well that you are good to continue working on this

Sorry but I have to retract my commitment for the time being. Personal life got in the way and I don't want to block this for you for the next two weeks at least. So happy to hand this over to someone else.
Sorry for the inconvenience!

Hello Florian,
I would love to take over the work if you are disponible.
On Sat, Apr 10, 2021 at 1:24 PM Florian Uhde @.***>
wrote:

Sorry but I have to retract my commitment for the time being. Personal
life got in the way and I don't want to block this for you for the next two
weeks at least. So happy to hand this over to someone else.
Sorry for the inconvenience!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-817174500,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKEWF5YOGPKCP5ZBW52LTICCVBANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

@floAr thanks for letting me know.
@pensebien do you have any technical writing samples that you can share?
@L-KH checking if you are interested in this bounty.

I would love to submit a PR the first draft I have.

I would love to submit a PR the first draft I have.

Please do!

@pensebien do you have a draft to share?

Hello Here is a draft
On Fri, May 21, 2021 at 12:15 PM Gitcoin.co Bot @.***>
wrote:

Issue Status: 1. Open 2. Started 3. Submitted 4. Done
@pensebien https://github.com/pensebien due to inactivity, we have
escalated this issue
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162 to
Gitcoin's moderation team. Let us know if you believe this has been done in
error!

reminder (3 days)
escalation to mods (6 days)

Funders only: Snooze warnings for 1 day
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=1
| 3 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=3
| 5 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=5
| 10 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=10
| 100 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=100
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-846074535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKEWOERXEY5WHYRPIXX3TO2BLNANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

https://docs.google.com/document/d/1bujGoVOuh1g_MA9cyxzr2sqyFsWUi6lRIsbtjj29abE/edit?usp=sharing
On Fri, May 21, 2021 at 6:12 PM Awokoya Emma @.***> wrote:

Hello Here is a draft
On Fri, May 21, 2021 at 12:15 PM Gitcoin.co Bot @.***>
wrote:

Issue Status: 1. Open 2. Started 3. Submitted 4. Done
@pensebien https://github.com/pensebien due to inactivity, we have
escalated this issue
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162 to
Gitcoin's moderation team. Let us know if you believe this has been done in
error!

reminder (3 days)
escalation to mods (6 days)

Funders only: Snooze warnings for 1 day
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=1
| 3 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=3
| 5 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=5
| 10 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=10
| 100 days
https://gitcoin.co/issue/celo-org/celo-monorepo/7419/100025162?snooze=100
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-846074535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKEWOERXEY5WHYRPIXX3TO2BLNANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as
where I am going I could
help someone have a better access and create local contents on the
Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

@pensebien I requested comment access to the doc.

What email should I use for your Josh?
On Wed, May 26, 2021 at 10:54 AM Josh @.***> wrote:

@pensebien https://github.com/pensebien I requested comment access to
the doc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-848838454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKEWQTWC6MNKFURQWHFLTPUDTHANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi

@pensebien I just reviewed the first draft and it looking really good. are you still working on the next sections?

Yes, I am ready. I would need to add some diagram and move forward with this
On Thu, Jun 17, 2021 at 10:52 AM Amy Slawson @.***>
wrote:

@pensebien https://github.com/pensebien I just reviewed the first draft
and it looking really good. are you still working on the next sections?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/celo-org/celo-monorepo/issues/7419#issuecomment-863308110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AKER5Z5GTEGEPRFKAUQDTTID3FANCNFSM4ZA7SADQ
.

--
Kind Regards,
Akin-Awokoya Emmanuel
Data/Telecommunication Network Engineer and Web/Content Developer
Member IEEE, NSE, ISOC, CTO, DSA, ICANN
Interested in volunteerism, project research
Startups, opendatamining, open data research
TVWhitespace technology
I can be on the next boat, next ship, next plane, next bus as long as where
I am going I could
help someone have a better access and create local contents on the Internet.
@.*** https://twitter.com/penseBien*
Facebook: emma.awokoya
Linkedin: EmmaAwokoya https://ng.linkedin.com/in/emmaawokoya
Skype: pensebientoi


Fixed some documentation issues

Rebase #801 on develop branch:

Changes --number to the new --id
Moved id up in the options list so that the two required fields appear first

Changes Unknown when pulling 14164ef921fc1fa44d0faf66e782d7a9887e1bb8 on Yelp:develop into ** on Netflix:develop**.


LAN8720 stop at "Ethernet Started" (IDFGH-4516)

Environment

Development Kit: ESP32-DevKitC
Kit version: v1
Module or chip used:  ESP32-WROOM-32
IDF version: v4.2-47-g2532ddd9f-dirty
Build System: Make
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: macOS
Using an IDE: VSCODE
Power Supply: USB

Problem Description
Currently I try to get the ethernet basic example running. I figured out some issues but now I stuck and have no clue what to do next.
I boot up the example basic ethernet example with adjusted settings to LAN9720 and clock out on gpio 7. MDC and MDIO is working fine and looks ok on oscilloscope. The clock also looks good. If I disconnect the clock (output von GPIO17) I get a timeout error as expected. Valid vendor ID is pulled from the LAN8720 registers. PHY address is correctly double checked. But the last serial output is always "Ethernet Started".
I (0) cpu_start: Starting scheduler on APP CPU.
I (374) system_api: Base MAC address is not set
I (384) system_api: read default base MAC address from EFUSE
I (384) BEYOND: Found PHY address: 1
I (414) esp_eth.netif.glue: 30:ae:a4:47:7a:b7
I (414) esp_eth.netif.glue: ethernet attached to netif
I (424) eth_example: Ethernet Started

The "ETHERNET_EVENT_CONNECTED" event aka "Ethernet Link Up" is never fired.
Who is responsible for the "Ethernet Link Up" event? The PHY or the MAC? I tried different Ethernet cables / Ethernet Routers and even a complete other setup (own PCB with ESP32 + LAN8720) same behavior.
Any Idea what I can try?
Looking forward to your help!
Thanks!
Hardware changes
1.5k pull-up on MDIO
1.5k pull-up on CRS
Expected Behavior
"Ethernet Link Up" event fire

Who is responsible for the "Ethernet Link Up" event

PHY.

Any Idea what I can try?

Check the PHY datasheet, make sure your LAN9720 driver is reading the correct register which indicates the link status.

Hi @suda-morris, thanks for your fast reply.
The LAN8720 datasheet shows on "4.2.2 Basic Status Register" page 42 that bit 2 provide the link status. 0 = down, 1 = up.
The readout from this register ETH_PHY_BMSR_REG_ADDR (0x01) result in 30729 (dec) aka 0111 1000 000 1001 (bin).
Unfortunately there is no change in the ETH_PHY_BMSR_REG_ADD register, even if I disconnect or connect a cable.

Try this? https://sautter.com/blog/ethernet-on-esp32-using-lan8720/
Also, make sure you set the reset pin to which ever pin you soldered to the eth's clock. (so pin 7 in this case?)
I am using gpio 0 as input clk, which means I never edited the default configuration for the ethernet component in menuconfig.
Also, if it helps, try setting the sw_reset_timeout_ms to 2000.
eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG();
eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG();
phy_config.phy_addr = CONFIG_EXAMPLE_ETH_PHY_ADDR;
phy_config.reset_gpio_num = CONFIG_EXAMPLE_ETH_PHY_RST_GPIO;

mac_config.smi_mdc_gpio_num = CONFIG_EXAMPLE_ETH_MDC_GPIO;
mac_config.smi_mdio_gpio_num = CONFIG_EXAMPLE_ETH_MDIO_GPIO;
mac_config.sw_reset_timeout_ms = 2000;   // try this?

I double measured all my signals. Found a broken TX wire between PHY and transformer jack. Fixed this issue and now the LAN8720 works fine. Thank you guys!

I double measured all my signals. Found a broken TX wire between PHY and transformer jack. Fixed this issue and now the LAN8720 works fine. Thank you guys!


Allow app-viewers to invite others as app-viewers

Aside, genuinely impressed at how little effort a change like this took. It's been a while since I looked at the ACL/roles related code, so wasn't following well enough. Great done @trishaanand :)

Aside, genuinely impressed at how little effort a change like this took. It's been a while since I looked at the ACL/roles related code, so wasn't following well enough. Great done @trishaanand :)

Agreed, this looks beautiful!

Converting to draft since I just realized this needs a migration to add the invite policy to all current app-viewers.

@nidhi-nair @trishaanand Added migration. Can (one of) you folks take a look at the migration function and approve please? Thanks!


Transaction issues (receive)

Hello,
I have just (few hours ago) made two transactions from Bittrex to my DeFi wallet using the Address generated in the DeFI application.
The first transaction was DFI, which arrived within a few minutes. The second transaction however was BTC but several hours later I still am to received those.
Please advice on whether I made any mistakes/errors or whether there is anything we can do the make by BTC appear :)
Im on Mac and using DeFi 2.3.3
Kind Regards

Hi @Cultured-Man , does Bittrex provide a tx id for you after you withdraw BTC from there? Attaching a link for your reference. As for the DeFi Wallet, are you synced 100%?

@Cultured-Man Are you sure bittrex can send BTC via DeFiChain?
Did you choose DeFiChain as a transfer method at bittrex? I haven't seen this option at bittrex.
You cannot send BTC directly via native bitcoin-chain to your DFI Wallet.

I guess not ;) How do i get BTC into DFI then?
On Mon, Apr 12, 2021 at 11:04 PM wmbst @.***> wrote:

@Cultured-Man https://github.com/Cultured-Man Are you sure bittrex can
send BTC via DeFiChain?
Did you choose DeFiChain as a transfer method at bittrex? I haven't seen
this option at bittrex.
You cannot send BTC directly via native bitcoin-chain to your DFI Wallet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DeFiCh/app/issues/738#issuecomment-818236131, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSMUP6VJJFAGCYC4TTBW3LTINN53ANCNFSM42Q3P3UQ
.

You have two options.
You can send DFi from bittrex to your wallet and then trade it within the wallet (DEX part) to BTC.
Or if you have an account at cakedefi.com you can send native BTC to cakedefi and from there you can send the BTC via DeFiChain to your wallet.

Hi @Cultured-Man , to add on to what @wmbst mentioned and using BTC as an example. BTC on DeFiChain is a DeFi Standard Token (DST) — in other words D-BTC, that is only transmittable to other DeFiChain addresses (usually starting with 8 or d). Try sending it through <cakedefi.com>, then to your own preferred exchange.
To swap from D-BTC to BTC, you can go through sites like <cakedefi.com> or swap D-BTC to DFI on DEX.
After a Cake account, you can retrieve the DeFiChain address, try sending a small amount first to test.

Click on Balances in <cakedefi.com>

In the BTC row, click on Deposit button

You'll see the Transfer Network options BTC / DeFiChain

Under the QR Code states your DeFiChain address, copy it

Go back to DeFi Wallet > BTC wallet > Send

Paste your DeFiChain address into DeFi Wallet To address field

A good rule of thumb, same token and way into DeFi Wallet, same token out from DeFi Wallet.
You may turn to DeFiChain’s telegram for how-to related issues:
DeFiChain Telegram (EN)
Do give a thumbs up to this comment if your issue has been resolved, otherwise, if you face an error-related issue, you may reopen this issue with new information (include screenshots) and app logs. Thank you.


It no longer works

I ran your demo.py but it only outputs END without running other goroutines.

print "END" first is expected. You can show the codes here.

You can use command "python -i demo.py" which can run the demo without close the thread so that can see the output.

This lib run with concurrent services works better like a Wed Server  but no single file.


I cant make party with step family brothers wife etc.

Describe the bug
I cant make party with step family brothers wife etc.
Mod Version

Standard
1271

Evidence
tested it with the least amount of other mods as possible.

I'm pretty sure you can. You'll have to bring me concrete evidence.


Add flag for internal resolving.

Found myself needing this today... then came across Mike's comment here: https://github.com/wework/speccy/pull/263#issuecomment-456348915

@bcrowe Feel free to resolve the conflicts and I'll take another look at merging this in. Thanks!

Done


fix(Slider): Change align start to flex-start

Solves #824

This PR will only get rid of the warning in one component.

From: Greta @.>
Sent: Friday, November 25, 2022 5:39 AM
To: iTwin/iTwinUI @.>
Cc: Mayank Agarwal @.>; Review requested @.>
Subject: Re: [iTwin/iTwinUI] fix(Slider): Change align start to flex-start (PR #825)
WARNING: This email originated from outside of the organization. DO NOT click links, open attachments, or respond unless you recognize the sender and know the content is safe.

@gretanausedaitehttps://urldefense.com/v3/__https://github.com/gretanausedaite__;!!F1Q1IbZmrAg!GVOgq0KKRwfeCG8wfDa17_dec4GO7fh-jE6g8RKwErKayEuoFCTGTIG66jz6dMAMaq6ZRJUzwt460D0tIByM4uQkX5aVCA$ requested your review on: #825https://urldefense.com/v3/__https://github.com/iTwin/iTwinUI/pull/825__;!!F1Q1IbZmrAg!GVOgq0KKRwfeCG8wfDa17_dec4GO7fh-jE6g8RKwErKayEuoFCTGTIG66jz6dMAMaq6ZRJUzwt460D0tIByM4uSVdwpNVg$ fix(Slider): Change align start to flex-start.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/iTwin/iTwinUI/pull/825*event-7891898080__;Iw!!F1Q1IbZmrAg!GVOgq0KKRwfeCG8wfDa17_dec4GO7fh-jE6g8RKwErKayEuoFCTGTIG66jz6dMAMaq6ZRJUzwt460D0tIByM4uRTZ5Wecg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACFJ6P37YM6U7HUOOTTY7ALWKCJMLANCNFSM6AAAAAASLF3CTA__;!!F1Q1IbZmrAg!GVOgq0KKRwfeCG8wfDa17_dec4GO7fh-jE6g8RKwErKayEuoFCTGTIG66jz6dMAMaq6ZRJUzwt460D0tIByM4uTl0Qv0Ng$.
You are receiving this because your review was requested.Message ID: @.***>

This email, including any attachments, may contain confidential and/or proprietary information intended only for the use of the recipient. If you are not the intended recipient, any distribution, copying, or use of this email or its attachments is prohibited. If you received this email in error, please reply to the sender immediately and delete this message and any copies.
Bentley Systems has taken all reasonable steps to ensure that this communication is free from viruses, data corruption, and unauthorized alteration. Bentley Systems does not accept liability for any damages that may be incurred as a result of this or any communication by email
[https://cdn2.webdamdb.com/310th_sm_UnR3pO7k0ir0.jpg?1616176329]

I could update align/justify end.

Not sure, but I think start and end are recommended to be replaced with flex-start and flex-end respectively, when using display: flex.
But for scroll-snap-align, I think start/end only work, and so don't need any replacements. So I don't think the mentioned warning was for scroll-snap-align.

I could update align/justify end.

Not sure, but I think start and end are recommended to be replaced with flex-start and flex-end respectively, when using display: flex.
But for scroll-snap-align, I think start/end only work, and so don't need any replacements. So I don't think the mentioned warning was for scroll-snap-align.

Yes, this is correct. Safari does not support start and end values for justify- and align- properties when using display: flex only (grid works fine). I went through all instances and didn't find any more that need to be changed (either they were already using flex-start/flex-end or they were using end with grid).


AwsSolutions-EC23 only check for the CIDR and not the open ports

What is the problem?
AwsSolutions-EC23 rule fails if a security group is created with "<IP_ADDRESS>/0 on a specific port.
For example if a  security group is configured for a internet facing ALB it has a ingress rule defined as "allow traffic from <IP_ADDRESS>/0 on port 80"  but cdk_nag marks it as non-compliant
Reproduction Steps
Create a security group ingress rule like
self.alb_security_group.add_ingress_rule(             peer=ec2.Peer.any_ipv4(),             connection=ec2.Port.tcp(80),             description="Allows HTTP access from Internet to ALB"         )
What did you expect to happen?
Analysis should not fail
What actually happened?
Analysis failed
cdk-nag version
2.10.2
Language
Python
Other information
No response

Hey! This is the intended behavior for this specific rule. It will trigger on full open access to any port. If you have a valid use case (such as a public internet facing load balancer intended for open access) that may be a good use case for using a Suppression

I think that doesn't match the extended rule description here: https://github.com/cdklabs/cdk-nag/blob/main/RULES.md

AwsSolutions-EC23 | The Security Group allows for <IP_ADDRESS>/0 or ::/0 inbound access.
Large port ranges, when open, expose instances to unwanted attacks. More than that, they make traceability of vulnerabilities very difficult. For instance, your web servers may only require 80 and 443 ports to be open, but not all. One of the most common mistakes observed is when all ports for <IP_ADDRESS>/0 range are open in a rush to access the instance. EC2 instances must expose only to those ports enabled on the corresponding security group level.


Improve TemplateBuilder to allow extended logic

Purpose

$subject...

Codecov Report

Merging #1434 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1434      +/-   ##
============================================
- Coverage     67.59%   67.57%   -0.03%
  Complexity       41       41
============================================
  Files           634      634
  Lines         26755    26757       +2
  Branches       4226     4225       -1
============================================
- Hits          18085    18080       -5
- Misses         6902     6907       +5
- Partials       1768     1770       +2

Impacted Files
Coverage Δ
Complexity Δ

.../io/siddhi/core/stream/output/sink/SinkMapper.java
35.08% <100%> (+2.36%)
0 <0> (ø)
:arrow_down:

.../siddhi/core/util/event/handler/StreamHandler.java
62% <0%> (-12%)
0% <0%> (ø)

...istence/IncrementalFileSystemPersistenceStore.java
56.73% <0%> (-2.89%)
0% <0%> (ø)

.../io/siddhi/core/util/snapshot/SnapshotService.java
72.04% <0%> (+0.41%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ca9e139...abe596d. Read the comment docs.


Fix: Upgrade<EMAIL_ADDRESS>in docker-compose files

Description
Upgrade PostgreSQL and Cardano Node to sufficiently new versions in docker-compose projects. Fixes #1622
Checklist

[x] Commit sequence broadly makes sense
[x] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] Any changes are noted in the changelog
[ ] Code is formatted with fourmolu on version <IP_ADDRESS> (which can be run with scripts/fourmolize.sh)
[x] Self-reviewed the diff

Migrations

[ ] The pr causes a breaking change of type a,b or c
[ ] If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
[ ] Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

@ArturWieczorek Can you test this to see if you can start up DB Sync?

@ArturWieczorek Can you test this to see if you can start up DB Sync?

@sgillespie Yes, it looks good - I changed it locally to cardano-node:8.7.3 instead of 8.7.2 and ran on all networks - it started syncing without issues.


IRequestHandler.Handle without parameter but returning T

Hello,
I'm wondering how to model the situation bellow:
I have both Get:Create and Post:Create actions using the PRG pattern....
Then I have a handler for the Get:Create that should return a viewModel/command with some filled data for the creation screen (could be a list of options it doesn't matter).
I know that Mediatr provides IRequestHandler<T> for void Handle(T) and IRequestHandler<T,U> for U Handle(T). But the thing is that I don't need to pass any parameters to this handler; i just want the return. How can I solve this?

If you're not passing a parameter, what exactly is your handler handling?
Why not just send an empty message like:
public class GetCreateViewModelMessage {} : IRequest<SomeReturnType>

public class GetCreateViewModelMessageHandler : IRequestHandler<GetCreateViewModelMessage, SomeReturnType>
{
    public SomeReturnType Handle(GetCreateViewModelMessage message)
    {
        return new SomeReturnType();
    }
}

@dgw2jr Are you familiar with the PRG pattern? GET actions should only build the views, and I don't necessarily have to have parameters for that. My handler is in charge of building the viewmodel and returning it.
This approach of having an empty command is what I'm doing right now. Actually is the first thing that comes to mind when you think of a pseudo solution. But I think it's kinda hacky and I personally don't like this solution.

It sounds like you want a different abstraction then. What you are requesting is not possible. How would the mediator know what handler to select without a message/request type?

@dgw2jr Sorry, I thought it was implied in my question. Of course we can't do that within MediaR because of interface's generic constraints. What I'm asking though is for alternatives to that flow.

Empty message is the way to go. Even though the request may have zero values, the request type itself signals the intent of the request - and that itself is information!

So I understand that MediatR, when sending a request, uses the Request Type and Reflection to look up the Request's handler and executes.
My question is, what if your request object has no properties? What you end up with is an empty class that is only there so that MediatR knows which handler to execute.
Is this intended? Or is there a better way to deal with this that I am overlooking?
My question is: Is this the intended/accepted/supported way to handle this scenario with the MediatR library?
Thanks.
//Empty Request Class????
//Should I do this some other way?
public class GetAllThingsQuery : IRequest<List<Thing>> {}

public class GetAllThingsQueryHandler : IRequestHandler<GetAllThingsQuery, List<Thing>>
{
    private readonly IRepository<Thing> _myRepo;

    public GetAllThingsQueryHandler(IRepository<Thing> myRepo)
    {
      _myRepo = myRepo;
    }

    public async Task<List<Thing>> Handle(GetAllThingsQuery request, CancellationToken cancellationToken)
    {
        return await _myRepo.GetAllAsync();
    {
}

//from controller or whatever
_mediator.Send(new GetAllThingsQuery());

I tried asking this question on stack overflow and they say that it is opinion based..
I have a similar scenario as above, where the only purpose of the request type is so that MediatR can find the handler for that particular query.
It looks like this is the way everybody does this with MediatR correct?
This isn't an issue I'm only looking for confirmation on if what I am doing in my application is right or wrong and if there is another way or not?
Thanks.

An empty class is perfectly fine, it signals the intent. You can compare it with an MVC action method/name (the intent) without any parameters.
MVC Action method > Request class
MVC Action method parameters > Request class properties


About the evaluation on different datasets

Hi,
Thanks for your great work. In your paper, you use the pairwise learning-to-rank training strategy to train one model on different dataset. In this case, the predicted MOS is a relative score, how do you obtain the absolute score on different datasets? If not aligned properly, the PLCC metric shall be very low. Thanks!

Hi, thanks for your interest in our work!
We use the pairwise learning-to-rank method to train a model on multiple datasets simultaneously. As such, the quality scores predicted by the resultant model are dataset-agnostic. In other words, the resultant model is actually attempting to unify the perceptual scales of different datasets into a common space, where the images from different datasets can be compared according to the predicted scores. Therefore, the predicted MOS is not a relative score.
During computing the PLCC results, we learn a 4-parameter logistic nonlinear mapping function for each dataset (see the compute_metrics function in BIQA_benchmark.py).


Added mixin for multiple shadows

I just added a overload to box-shadow mixin for multiple shadows.

Unnecessary—if you want more than one shadow, simply do:
@shadow: 0 0 5px #333, 0 0 10px #999;
.box-shadow(@shadow);

It's an issue with LESS that we cannot just specify multiple ones I believe.


Dark / light mode configurability

Hey folks! Thanks for building this plugin. I wanted to show a draft that we're using for what dark / light mode configurability might look like. Usage does not differ much from before:
<TechDocsAddons>
    <Mermaid darkConfig={{ theme: 'dark' }} lightConfig={{ theme: 'default' }} />
<TechDocsAddons>

Let me know what you think :)
Fixes: #10

Released as<EMAIL_ADDRESS>thanks again 😍

So I've gotten around to trying out the release today, and something seems to be amiss, if I'm not mistaken. As you can see in the screenshot, it doesn't seem like the props update made it into the index.d.ts file, at least that is what it looks like. Any idea what might've gone wrong, or what I'm missing? 😅

Fixed in v0.4.2, sorry about that :-)


Single digit hours/minutes returned without a zero

Hi, currently the time picker and relative .time() function show/return a single digit. For example:
(10, 5, AM) instead of (10, 05, AM).
Is this customizable, a bug or a design choice?

Hello @Sighi-04, If you want leading 0's, you can always achieve it using string formatting eg: print(f"{time[1]:02d}"), If you wish to see other methods take a look at this stack overflow answers: https://stackoverflow.com/questions/134934/display-number-with-leading-zeros. If you have further questions feel free to comment; else you may close the issue. Thank you


WE'VE MOVED

Merge final changes on development into master

Once this has merged we will delete the dev branch and lock this repo


Subscribe Topic no appear in Firebase Console

Hi all,
I'm trying to subscribe to topic "gos" using the code below, however I have tried for few times and waited for few days but still doesn't appear in FCM topic search. The FCM is working if sending using target app or token from console.
window.FirebasePlugin.subscribe("gos");
Appreciate if anyone can help me on above issue. Thanks.

+1
I still not recive answer:(
https://github.com/arnesson/cordova-plugin-firebase/issues/731
if you undarstand why, please write here
if i undarstand i write:)

Hi, this is my example of code, this work with topics on Android and iOS
Function for coll after device ready
 registrPushFn(): boolean {     if (!this.platform.is('cordova')) {       console.warn('Push notifications not initialized. Cordova is not available - Run in physical device');       return true;     }     if (this.platform.is('ios')) {       this.firebase.hasPermission().then(data => {         if (!data.isEnabled) {           this.firebase.grantPermission().then(data => {             return this.getTokenPush();           })             .catch(error => {               console.error('Error getting permissions', error);               return false;             });         } else {           return this.getTokenPush();         }       });     } else {       return this.getTokenPush();     }   }
Function for Get tocken
`  private getTokenPush() {
this.firebase.getToken()
.then(token => {
this.globalVars.userData.userServiceInfo.gmsToken = token;
}) // save the token server-side and use it to push notifications to this device
.catch(error => console.error('Error getting token', error));
this.firebase.onTokenRefresh()
  .subscribe((token: string) => {
    this.globalVars.userData.userServiceInfo.gmsToken = token;
  });

// this.firebase.onNotificationOpen().subscribe(data => { });

   this.setTopicPush();
return true;

}
`
And function for subscribe to topic (Attention!!! for  android good topic with /topics/blabla_bla-bla  but  for iOS must be without /topics/ example blabla_bla-bla)
  private setTopicPush() {     let topic = "/topics/MyTopic-User_ENGLISH";     if (this.platform.is('ios')) {       topic = "MyTopic-User_ENGLISH"     }         this.firebase.subscribe(topic);   }

@snikesv Thanks Snikesv, I will try it out with your code.

closing as resolved


[OSF-3520] Registrations draggable

Purpose
You shouldn't be able to drag or drop any files when you are viewing a registration because everything is supposed to be frozen. This is a fix preventing moving in treebeard while viewing a registration
Changes
I created a function that checks the boolean value node.isRegistration which determines if files can be moved on the project dashboard and files page by the allowMove option in treebeard.
Side effects
None that I can think of.
Ticket
Osf-3520

I think this could be simplified a bit. At the very list the if statement could be simplified. Pass done. 🐧

This PR can probably be closed, it appears to be replaced by #5990


Added Coin Change Problem [JavaScript]

Fixes #296
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.

@aviaryan idk how it crept in, please review again :raised_hands:

@aviaryan Fixed.


[Revamp] Workflows with Snakemake

Resolves #142

[x] Update docs following Snakemake 8 official tutorials

The linter is failing because a python code-block uses snakemake but it is not explicitly declared or imported. This is intended, as the Python code is run through Snakemake, which provides the missing structure. Importing snakemake would fix the linting error, but break the code when run through snakemake.


Build failure: font-manager-0.8.8

Steps To Reproduce
Steps to reproduce the behavior:

build font-manager-0.8.8

Build log
https://gist.github.com/khaneliman/2347b3fff4906ce3f6cfa050e75dcf4a
Additional context
Add any other context about the problem here.
Notify maintainers
@romildo

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix-shell -p nix-info --run "nix-info -m"
🔨 Welcome to khanelinix
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.8, NixOS, 24.05 (Uakari), 24.05.20240502.63c3a29`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.22.0`
 - channels(root): `""`
 - nixpkgs: `/nix/store/p69bcs7ma6ijj8v9xsrg3nq3nn8ryn95-source`

Add a :+1: reaction to issues you find important.

The same issue currently keeps my system from building


Blank white space when opening app

https://www.dropbox.com/s/up0q5wmfbxkmaeh/Screenshot 2016-04-08 11.50.09.png?dl=0

After resizing the window, the space disappears, but always starts like that when opening the app.

Same problem with me.

Same problem here (OSX 10.10.5).

Having this issue also 10.12.4


Sudo module does not work

I try Sudo module with very simple task
def test_web_private_key(Sudo, File, Command, file):
with Sudo():
Command.check_output("whoami")
The command I used to run:
testinfra -vvvsx test_web.py --ssh-config=ssh-config.conf
the result is:

This is because sudo ask a password. For now there is no way to supply password automatically so your user needs to be allowed to run sudo without password.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4182

Questions ?
Please refer to the Backport tool documentation


update dependencies

:+1: Seems reasonable to me. If no one has concerns in the next day or so I'll merge.


The implement of LRN layer that similar to caffe

There are two version of LRN implement in caffe: within_channel and cross_channel version. When porting pretrained caffemodel to mxnet params, they perform quite different with exactly same input. Here is a sample of code from Caffe from https://github.com/BVLC/caffe/blob/master/src/caffe/layers/lrn_layer.cpp
template <typename Dtype>
void LRNLayer<Dtype>::WithinChannelForward(
    const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
  split_layer_->Forward(bottom, split_top_vec_);
  square_layer_->Forward(square_bottom_vec_, square_top_vec_);
  pool_layer_->Forward(square_top_vec_, pool_top_vec_);
  power_layer_->Forward(pool_top_vec_, power_top_vec_);
  product_layer_->Forward(product_bottom_vec_, top);
}

and in mxnet, LRN layer is defined as:
const real_t salpha = param_.alpha / param_.nsize;
Stream<xpu> *s = ctx.get_stream<xpu>();
Tensor<xpu, 4> data = in_data[lrn_enum::kData].get<xpu, 4, real_t>(s);
Tensor<xpu, 4> out = out_data[lrn_enum::kOut].get<xpu, 4, real_t>(s);
Tensor<xpu, 4> tmp_norm = out_data[lrn_enum::kTmpNorm].get<xpu, 4, real_t>(s);
tmp_norm = chpool<red::sum>(F<mshadow_op::square>(data) , param_.nsize) * salpha + param_.knorm;
Assign(out, req[lrn_enum::kOut], data *  F<mshadow_op::power>(tmp_norm, -param_.beta));

I'm wondering the explanation of LRN layer in mxnet compared to caffe implmentation, especially why the additional knorm variable.is defined to 2.0 by default. Or is there any reference article that tightly related to the implementation.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Choropleth hovering labels blank in IE11

Blank labels in IE but fine in chrome.

Is full support for IE a target for this tool? I just ask because it usually involves a whole extra chunk of work to deal with the differences in IE. Since it is an internal tool, is it possible to suggest that IE users use a different browser for this instead?

Seems reasonable to suggest IE users use a different browser for this. Same is done for other internal tools, for example IPDS.


Assertion failed during teardown

Probably a very minor issue, but I was playing with your toolkit (pushing about 26k reqs/s through it on 1.9.3, nice work) and got this when tearing down the socket for a couple of clients:
Assertion failed: (socket), function zstr_send, file zstr.c, line 96.

https://gist.github.com/2d9b0a6ae3f73f837716 is the whole suite of tooling including the Gemfile.lock so you have the appropriate revision I was using.
It's very probable I'm doing it wrong too.

Hey Erik,
So that's the GC at work and clobbers the ZMQ context before you close the socket. That's an assertion from within libczmq and is thus an internal fault that should be handled ( prevented ) higher up at the binding level.
The root cause usually is setup like this :
@socket = ZMQ::Context.new.socket(:REQ)

Prefer an explicit context and thus a reference for the GC during the mark phase :
@context = ZMQ::Context.new
@socket = @context.socket(:REQ)

There's several such edge cases, usually specific to bindings and the GC implementation of the host language. I'll try to come up with an assertion for this specific case ( and am considering a ZMQ::Lint module or similar to assert topologies etc. )


Calling CrossTextToSpeech.Current.Dispose() prevents it from reinitialzing

Maybe I'm expecting different behavior, but here is what I came across.  I'm more than happy to fix the bug and create a pull request, but I wanted to make sure I was using it correctly.
Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: Android Device (custom hardware)
Simulator Tested On: N/A
Version of VS: VS 2017
Version of Xamarin: Xamarin.Android projects v<IP_ADDRESS>
Versions of other things you are using:
Steps to reproduce the Behavior
CrossTextToSpeech.Current.Dispose();
await CrossTextToSpeech.Current.Speak("Some text");

Expected Behavior
System speaks "Some text"
Actual Behavior
Error is thrown

Exception occured in TTS.Speak for direction text.: Object reference not set to an instance of an object.:   at Plugin.TextToSpeech.TextToSpeech.Speak (System.Nullable`1[T] cancelToken) [0x000b0] in C:\projects\texttospeechplugin\src\TextToSpeech.Plugin.Android\TextToSpeech.cs:150
11-04 13:14:46.015 E/HockeyApp(16533):   at Plugin.TextToSpeech.TextToSpeech+d__11.MoveNext () [0x001ab] in C:\projects\texttospeechplugin\src\TextToSpeech.Plugin.Android\TextToSpeech.cs:91

Code snippet
Believe the issue is here where "textToSpeech" is null
https://github.com/jamesmontemagno/TextToSpeechPlugin/blob/b649905adb1c730a12e4bc866a709c384384a061/src/TextToSpeech.Plugin.Android/TextToSpeech.cs#L150
And in dispose it makes "textToSpeech" null, but doesn't set "initalized" back to false
https://github.com/jamesmontemagno/TextToSpeechPlugin/blob/b649905adb1c730a12e4bc866a709c384384a061/src/TextToSpeech.Plugin.Android/TextToSpeech.cs#L274
Screenshots
N/A

Don't call: CrossTextToSpeech.Current.Dispose();
Call: CrossTextToSpeech.Dispose();


feat(widget): add an input range

This PR add a new widget : InputRange.
It also updates the e-commerce examples with refinements on prices.
Be careful : there's no sync between the two widgets that refines on price. I open a discussion about it here #1296

Awesome, I would say that to be consistant with other widget where we provide different implementation, this should be in src/widgets/Range/RangeInput like we have for src/widgets/Menu/MenuSelect.
What do you think?

Also, can you add tests, the whole testing infrastructure is ready. I know we do not have tests for everything right now, but having tests for new widgets should be mandatory now

Awesome work GG


Add support for raw.github.com subdomain.

I want to point my shortened urls to raw source files, but currently that is only possible with gists. Please add support for the raw subdomain.

This is fixed in the private git.io app that uses Guillotine.
Hit up<EMAIL_ADDRESS>for GitHub related issues.  Thanks!


Update protobuf-java to 3.12.2

Updates com.google.protobuf:protobuf-java from 3.11.4 to 3.12.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.protobuf", artifactId = "protobuf-java" } ]

labels: library-update, semver-minor

https://github.com/spotify/scio/blob/v0.9.2/build.sbt#L94 is on 3.11.4


previous_step of "wicked_finish" step shouldn`t be the last step?

When on the step wicked_finish, previous_step is showing the first step. Is that correct?

Shouldn't be. Can you give me a minimal project on github that reproduces the problem?


Issue while trying to compile with latest python

File "/usr/local/lib/python3.6/dist-packages/adaptfilt/init.py", line 41
print '   LMS: ', lmsres
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('   LMS: ', lmsres)?

Yes, this module was written for Python 2 and has not been updated for a while. There is a PR (#3) that fixes this particular detail, but I suspect a few more minor changes are needed to support Python 3.
We will gladly accept a PR, though, so don't hold back :)

Yes, this module was written for Python 2 and has not been updated for a while. There is a PR (#3) that fixes this particular detail, but I suspect a few more minor changes are needed to support Python 3.
We will gladly accept a PR, though, so don't hold back :)

Hi @tausen! Congrats for this library! Would you have a Py3 version? Thanks a lot in advance :)

Hi @josephernest! Happy to see there's still some interest in this library, despite it being unmaintained for a decade :)
I've (finally) merged an old v0.3 PR which added Python 3 support (among a few other things) and uploaded it to pypi, so it should work now.


feat: Add close method to cleanly close the HID device

Thanks that was fast !
I wrapped the library in Node-RED and without calling close the Node-RED process would hang forever.

Coverage decreased (-0.3%) to 98.714% when pulling a82e95a7543b2070d40f239b3e5cf60d19711cc4 on natcl:patch-1 into b07b189a85601274f2aa0173da9ee62dc7d43773 on Lange:master.

Coverage decreased (-0.3%) to 98.714% when pulling a82e95a7543b2070d40f239b3e5cf60d19711cc4 on natcl:patch-1 into b07b189a85601274f2aa0173da9ee62dc7d43773 on Lange:master.

I have just published v3.1.0 which includes this

Many thanks !
--
lecaude.com
studioimaginaire.com

Le 29 sept. 2019 à 07:26, Julian Waller<EMAIL_ADDRESS>a écrit :

I have just published v3.1.0 which includes this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Just wanted to say thanks for this fix, just finished implementing my Node-RED wrapper and it works great !


Support stack references with interpolated stack names

When declaring a Stack Reference like below, we error with "the first argument to Fn::StackReference must be a string literal".
variables:
  kubeconfig:
    Fn::StackReference:
      - ${org}/${eksStackProject}/${pulumi.stack}
      - kubeconfig

Stack references are represented as resource-like objects and like resources, have a lexical name (not part of our YAML API), a unique name, and arguments that may optionally define a stack referent. From the Go API:
var uniqueName string
var stackReferentName pulumi.String // an Input of string

// if stackReferentName is defined and provided in args below, it must be an Output that returns a orgName/projectFoo/stackBar
// if it is not, then the uniqueName must be a stack referent name

lexicalName, err := pulumi.NewStackReference(ctx, uniqueName, &pulumi.StackReferenceArgs{
  Name = stackReferentName
})

Does changing the unique name of this name cause a "replace" for downstream resources that depend on the name?

If so, do we need to add a unique name to the StackReference function so that it can serve as that key?
If not, does the unique name matter and can we generate an arbitrary unique name for codegen?

Why are stack references an Fn:: function in the first place? They're just a built in resource type, why not just declare it like any other resource?

Our docs suggest ctx.NewStackReference() and friends: https://www.pulumi.com/docs/intro/concepts/stack/#stackreferences
We want to be able to convert stack references into those functions instead of having pulumi convert create a resource which doesn't correspond to our docs.

Hm, I spoke too soon if that's just a resource constructor. Maybe you're right, and we put them in the resources section as resources.

Would be awesome to see this land soon! 🙏 Without it, I'm not sure how usable Stack References are going to be in practice. Is there any workaround in the meantime?