✨ feat: Update supporting nodes and modules information in index.md

This commit updates the list of supporting nodes and modules in the index.md file, providing a structured table layout for better clarity and organization. Additionally, it includes instructions to access a more comprehensive and up-to-date list on the dedicated Notion page.

====== 325 passed, 70 skipped, 180 warnings, 1 error in 123.36s (0:02:03) ======```
1 failing details. I don't know, I just changed `md` file. Help me @vkehfdl1 , @bwook00

@hongsw bwook fixed this!!!


Handle failures from mixnet

This issue might be not urgent for the PoC, but needs to be resolved at some point.
Currently, message senders just toss Sphinx packets to mixnodes and don't wait for responses. Even if packets aren't delievered to the mix destination, message senders don't know about it.
There would be several failure cases:

Mixnode failures

Packets cannot be delivered to the mix destination through the mixnet.

NOTE: The mix destination means a mixnode that gathers packets and reconstructs the message. Message senders select N intermediate mixnodes and 1 mixnode as a destination.

Mixclient failures (nomos-node failures)

Packets are delivered to the mix destination (mixnode) successfully, but reconstructed messages cannot be delivered to the mixclient (potentially embedded in nomos-node).

If failures happen, we could either

make mixnodes retry delievering packets/messages.

But, I'm not sure if this is a good idea. Instead...

make senders retry sending packets to the mixnet

For this, we may need to adopt SURB, so that senders can receive responses from mix destinations. If they don't receive responses in a given timeout, they can retry sending packets.

IIRC, Nym has the reputation mechanism, so that message senders can select healthy mixnodes when building Sphinx packets. But, I think that isn't urgent for now.

I think we can postpone this issue until we have the general retry policy (maybe in the consensus layer). Currently, the network layer doesn't manage retries, except https://github.com/logos-co/nomos-node/pull/332.
Even before we think about retrying, we could implement the SURB in advance. But, I don't think it's not urgent and it may make things complicated. We can revisit this at least after having the first version of working mixnet on the testnet.

I think we can postpone this issue until we have the general retry policy (maybe in the consensus layer)

why should the network retry policy be in the consensus layer?

make mixnodes retry delievering packets/messages.
But, I'm not sure if this is a good idea. Instead...

This is what Nym does per hop

Let's do it like this for now.

Goal: Add retry sending packets, so that mixnet works even if several mixnodes are down.
Test strategy: Like the unhappy.rs test we have, we can kill one or two mixnodes and see if blocks are produced without any problem.
Implementation

Step 1: Mixclient retry

We don't need to adopt SURB for now. It would be enough to retry sending packets if mixclient fails to send packets to the first hop.
We might need to select other live mixnodes and build Sphinx packets again with those mixnodes. Let's see if it's necessary.
Depending on the type of network error, we may need to re-establish connections stored in the pool, in order to retry sending packets.

Step 2: Mixnode retry

Retry sending packets to the next hop

Now that we have the exp backoff logic in the libp2p network backend. We can use it for mixnet as well.
There would be many things to be done to make mixnet fault-torelant. But, at this stage, I want to have only minimum/essential parts that make mixnet work stably in our testnet deployment. I think 'retry' is an efficient way that is also what we can easily implement now.

Is this solved now @al8n @youngjoon-lee is this considered solved now?

Is this solved now @al8n @youngjoon-lee is this considered solved now?

Yes. This is resolved. I will close this now


something wrong

/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/diffusers/loaders/lora.py:952: FutureWarning: `fuse_text_encoder_lora` is deprecated and will be removed in version 0.25. You are using an old version of LoRA backend. This will be deprecated in the next releases in favor of PEFT make sure to install the latest PEFT and transformers packages in the future.
  deprecate("fuse_text_encoder_lora", "0.25", LORA_DEPRECATION_MESSAGE)
Traceback (most recent call last):
  File "/home/StreamDiffusion/examples/txt2img/single.py", line 83, in <module>
    fire.Fire(main)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/home/StreamDiffusion/examples/txt2img/single.py", line 78, in main
    output_image = stream()
  File "/home/StreamDiffusion/examples/txt2img/../../utils/wrapper.py", line 230, in __call__
    return self.txt2img(prompt)
  File "/home/StreamDiffusion/examples/txt2img/../../utils/wrapper.py", line 254, in txt2img
    image_tensor = self.stream.txt2img(self.frame_buffer_size)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/streamdiffusion/pipeline.py", line 473, in txt2img
    x_0_pred_out = self.predict_x0_batch(
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/streamdiffusion/pipeline.py", line 423, in predict_x0_batch
    x_0_pred, model_pred = self.unet_step(x_t_latent, t, idx)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/streamdiffusion/pipeline.py", line 313, in unet_step
    model_pred = self.unet(
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/diffusers/models/unet_2d_condition.py", line 1035, in forward
    sample = self.conv_in(sample)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 460, in forward
    return self._conv_forward(input, self.weight, self.bias)
  File "/root/anaconda3/envs/streamsd/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 456, in _conv_forward
    return F.conv2d(input, weight, bias, self.stride,
RuntimeError: GET was unable to find an engine to execute this computation
(streamsd) [root@iZ8vbe58az41quqd311x5rZ txt2img]#

env:
cuda:11.8
python 3.10
torch: 2.1.0
torchvision: 0.16.0

I solved.

I solved.

I solved.

How


Add docs for DNS cache for FreeBSD

Closes #157.
cc @yurivict @Guymer

@StevenBlack : Test failure is because flake8 is broken on Python 2.7, which judging from the previous commits to master, have been ignored up and until this point (as dropping Python 2.x support would do the trick for this anyhow).

Thank you @gfyoung!  Sorry for the delay merging this.

There's a typo in https://github.com/StevenBlack/hosts/pull/738/files#diff-aaeeedba3e17b01c91c4095238e008f1R331: an additional double quote.


deploy an online demo website like “https://marimo.app/” on my own server

Documentation is

[ ] Missing
[ ] Outdated
[ ] Confusing
[X] Not sure?

Explain in Detail
Dear marimo development team:
Hello, I'm a Chinese github user, I've read the marimo deployment docs, and I can't seem to find a suitable deployment method.
Your Suggestion for Changes

My requirement is to deploy an online demo website like “https://marimo.app/” on my own server (so that my friends can program online via my website , preferably via docker, so that I can bind a custom domain name via reverse proxy, it's okay if it's not docker).
Would you please provide me with a suitable deployment plan with detailed steps or other alternatives?

Forgive me for taking the liberty!
I've tried deploying with docker, is there any requirement for me to create my own app.py, such as importing certain modules or writing some code?
Also, does docker deployment only require dockerfile, app.py, requirements.txt?
Finally, is there any support for reverse proxy so I can bind marimo to my own domain?
A million thanks for your help!

hey @Viper373 - yep dockerfile, app.py, requirements.txt, at a minimum. There is sample Dockerfile in the docs.
If you can set up a reverse proxy, we have a flag --proxy you may want to use for the reverse proxy.

Going to close - let me know if you have more questions or hop in our discord https://marimo.io/discord

hey @Viper373 - yep dockerfile, app.py, requirements.txt, at a minimum. There is sample Dockerfile in the docs.
If you can set up a reverse proxy, we have a flag --proxy you may want to use for the reverse proxy.

@mscolnick
I'm sorry to bother you again, unfortunately I'm having problems again.
I've got app.py, requirements.txt, dockerfile all ready to go!
below:

app.py

# -*- coding: utf-8 -*-
#
# 作者：Viper3
#<EMAIL_ADDRESS># 文件：app.py
# 网址：viper3.top
#
# 版权所有（c）2023-2024 Viper3。保留所有权利。
#
# 此站点基于marimo docker 部署。有关详细信息，请参阅marimo.io。
#
# 说明：
# 这是一个基于marimo部署的未来化jupyter在线编辑器。
#
# 用途：
# 运行此脚本以执行应用程序。

def main():
    """
    主程序入口
    """
    print("Welcome Viper3's Marimo!")

if __name__ == "__main__":
    main()

requirements.txt

# 主框架
marimo

# 数据分析和科学计算
numpy
pandas
scipy
matplotlib
seaborn
dask
pyarrow
jupyter

# 机器学习
scikit-learn
xgboost
lightgbm
catboost
onnx
tensorflow-addons

# 网络请求
requests
httpx
beautifulsoup4
aiohttp

# API
fastapi
uvicorn

# 数据库操作
sqlalchemy
psycopg2-binary
mysql-connector-python
pymysql
pymongo
redis

# 安全和加密
cryptography
pyjwt

# 任务调度
celery

# 测试
pytest
coverage
hypothesis
tox

# 文件处理
pydantic
pyyaml

# 实用工具
click

# 爬虫
scrapy
DrissionPage
lxml
html5lib
pyquery
requests-html
parsel
fake-useragent

# 日志
loguru
rich

dockerfile

# syntax=docker/dockerfile:1.4

# Choose a python version that you know works with your application
FROM python:3.9-slim

WORKDIR /app

COPY --link requirements.txt .
# Install the requirements
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/

# You may copy more files like csv, images, data
COPY --link app.py .
# COPY . .

EXPOSE 7832

# Create a non-root user and switch to it
RUN useradd -m app_user
USER app_user

CMD [ "marimo", "run", "app.py", "--host", "<IP_ADDRESS>", "-p", "7832" ]

I've successfully pulled the image, which is about 2G in size, and then I start the container and error with the following log:
Traceback (most recent call last):
  File "/usr/local/bin/marimo", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/marimo/_cli/cli.py", line 582, in run
    codegen.get_app(name)
  File "/usr/local/lib/python3.9/site-packages/marimo/_ast/codegen.py", line 230, in get_app
    raise MarimoFileError(f"{filename} missing attribute `app`.")
marimo._ast.codegen.MarimoFileError: app.py missing attribute `app`.

The hints in the logs are clear, the problem is in app.py, it seems that no marimo related code is written, is this problem mentioned in the documentation?
Can you please give me a sample app.py?

yes, app.py needs to be a marimo application. one that is created with marimo edit

yes, app.py needs to be a marimo application. one that is created with marimo edit

I'd like to know what the sample app.py looks like.
Thanks!

I think maybe there is some confusion.
It seems like you don't have an existing marimo notebook.
 Is that correct?
If you want to deploy a server that allows people to edit notebooks ("edit server"), there are instructions here: https://docs.marimo.io/guides/deploying/index.html#deploying-an-edit-server

I think maybe there is some confusion.
It seems like you don't have an existing marimo notebook.
 Is that correct?
If you want to deploy a server that allows people to edit notebooks ("edit server"), there are some instructions here: https://docs.marimo.io/guides/deploying/index.html#deploying-an-edit-server. For this case there is no app.py.
In particular, you should not follow the instructions about deploying as read-only apps, because it doesn't seem like you want that functionality.

Much appreciated!
I've pulled the mirror “marimo-team/marimo:latest-sql” as deployed on railway, and then bound the domain “marimo.viper3.top” through a reverse proxy, could you please visit the site and help me check if the deployment is correct and complete!


Asset replication

Support the replication of asset objects, including Animation, Skeleton, Level, Material, Sound, MovieSceneSequence, etc.
The replication code of properties with the types that implement IInterface_AssetUserData (except ActorComponent, Level, and WorldSettings) is now generated as they are AssetRef, not the UnrealObjectRef.

Hi @Augkit could you please take a look at this PR?


Downlevel support for Windows 11 doesn't seem to work for some images

On windows 11:
cmd /c ver
Microsoft Windows [Version 10.0.22000.258]

I am able to run some WS 2022 images even thought they have the correct build numbers:
docker run --isolation=process --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c echo hello
 hello

 ./manifest-tool-linux-amd64 inspect --raw mcr.microsoft.com/windows/nanoserver:ltsc2022 | jq ‘.[] .Platform’
{
“architecture”: “”,
“os”: “”
}
{
“architecture”: “amd64”,
“os”: “windows”,
“os.version”: “10.0.20348.288”
}

But not others:
docker run --isolation=process --rm k8s.gcr.io/e2e-test-images/busybox:1.29-2 cmd /c echo hello
docker: Error response from daemon: container 5ff61c6cb106ce89cb0117f810cab29e02cd19c750d9c66a1918aeca5d3176be encountered an error during hcsshim::System::Start: failure in a Windows system call: The container operating system does not match the host operating system. (0xc0370101).

/manifest-tool-linux-amd64  inspect --raw k8s.gcr.io/e2e-test-images/busybox:1.29-2 | jq '.[] .Platform'
{
  "architecture": "",
  "os": ""
}
{
  "architecture": "amd64",
  "os": "linux"
}
{
  "architecture": "arm",
  "os": "linux",
  "variant": "v7"
}
{
  "architecture": "arm64",
  "os": "linux"
}
{
  "architecture": "ppc64le",
  "os": "linux"
}
{
  "architecture": "s390x",
  "os": "linux"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.17763.2114"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.19041.1165"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.19042.1165"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.20348.169"
}

found something suspicious:
PS C:\Program Files\containerd> docker history k8s.gcr.io/e2e-test-images/busybox:1.29-2
IMAGE CREATED CREATED BY SIZE COMMENT
32f74229bd0d 2 months ago ENTRYPOINT ["cmd.exe" "/s" "/c"] 0B buildkit.dockerfile.v0
<missing> 2 months ago ENV PATH=C:\dig\;C:\bin;C:\curl;C:\Windows\S… 0B buildkit.dockerfile.v0
<missing> 2 months ago USER ContainerAdministrator 0B buildkit.dockerfile.v0
<missing> 2 months ago ADD hostname /bin/hostname.exe # buildkit 2.13MB buildkit.dockerfile.v0
<missing> 2 months ago COPY /Users/ContainerAdministrator/AppData/L… 3.82kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /PowerShell/pwsh.exe /Program Files/Pow… 276kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /PowerShell /Program Files/PowerShell #… 148MB buildkit.dockerfile.v0
<missing> 2 months ago COPY /Windows/System32/ntdsapi.dll /Windows/… 149kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /Windows/System32/en-US/nltest.exe.mui … 22kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /Windows/System32/nltest.exe /Windows/S… 527kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /vcruntime140.dll /Windows/System32/ # … 95.7kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /dig-dir /dig # buildkit 7.51MB buildkit.dockerfile.v0
<missing> 2 months ago COPY /netcat-dir/nc64.exe /bin/nc.exe # buil… 45.3kB buildkit.dockerfile.v0
<missing> 2 months ago COPY /curl-dir /curl # buildkit 2MB buildkit.dockerfile.v0
<missing> 2 months ago COPY /busybox-dir /bin # buildkit 1.15MB buildkit.dockerfile.v0
<missing> 2 months ago COPY /tmp-dir /tmp # buildkit 0B buildkit.dockerfile.v0
**<missing> 3 months ago Apply image 1809-amd64 257MB**

After some investigation we found that this is likely due to an issue with the runtime automatically selecting an a version from multi-arch images when it sees that the OS build does not match. It's unclear as to where this bug is occurring but it seems clear that this relates to running multi-arch images on Windows 11.

maybe @claudiubelu has some ideas? same happens with containerd

maybe related to https://github.com/microsoft/Windows-Containers/issues/170 ?

It does look suspicious, and at a first glance it does seem that the right image is not picked up from the manifest list.
Can you try running the ltsc2022 image directly? gcr.io/k8s-staging-e2e-test-images/busybox:1.29-2-windows-amd64-ltsc2022. If it works, it means that docker just picked the first image from the manifest list that matched windows/amd64, disregarding the OS Version. Could it be that docker is out of date? What version are you using?

Looks like it is because of mutli arch manifests as in #170.  pulling gcr.io/k8s-staging-e2e-test-images/busybox:1.29-2-windows-amd64-ltsc2022 worked.
I am using docker  20.10.8   and also had it happen with containerd 1.5.7. Using the direct image worked for both.

Yeah, this looks like a duplicate of #170. I'd suggest closing this in favour of that.

Closing in favor of #170


Text To Speech (TTS) plugin for IOS needed

There is a plugin for Android available :
https://github.com/flutter/flutter/issues/12025
To be useful we need the feature available on IOS also.

This should be trivial to implement, here's some demo code from NSHipster:
NSString *string = @"Hello, World!";
AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:string];
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"];

AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc] init];
[synthesizer speakUtterance:utterance];

Setting utterance.voice probably isn't even necessary (see here).
The only other parts to consider are adding pausing and delegate functionality (ex. for callbacks after speaking finishes). More info here on iOS Speech Synthesis.

@Rockvole I created a package if you want to play with TTS on ios/android until they release an official version.  It's a basic implementation.  I'm still trying to add features such as setting the speech volume and also adding better error handling.  https://pub.dartlang.org/packages/flutter_tts

Cool thanks, I will give it a try.

Hi @dlutton
I tried your plugin, I just added this code to get started :
@override
void initState() {
  super.initState();
  FlutterTts flutterTts = new FlutterTts();
}

Unfortunately I get an error :
E/AndroidRuntime( 4821): FATAL EXCEPTION: main
E/AndroidRuntime( 4821): Process: com.example.testtts, PID: 4821
E/AndroidRuntime( 4821): java.lang.NullPointerException: collection == null
E/AndroidRuntime( 4821): 	at android.os.Parcel.readException(Parcel.java:1552)
E/AndroidRuntime( 4821): 	at android.os.Parcel.readException(Parcel.java:1499)
E/AndroidRuntime( 4821): 	at android.speech.tts.ITextToSpeechService$Stub$Proxy.getVoices(ITextToSpeechService.java:700)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech$15.run(TextToSpeech.java:1712)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech$15.run(TextToSpeech.java:1677)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech$Connection.runAction(TextToSpeech.java:2232)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:742)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech.runAction(TextToSpeech.java:732)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech.getDefaultVoice(TextToSpeech.java:1677)
E/AndroidRuntime( 4821): 	at com.eyedeadevelopers.fluttertts.FlutterTtsPlugin$2.onInit(FlutterTtsPlugin.java:71)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech.dispatchOnInit(TextToSpeech.java:814)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech.access$1400(TextToSpeech.java:59)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask.onPostExecute(TextToSpeech.java:2146)
E/AndroidRuntime( 4821): 	at android.speech.tts.TextToSpeech$Connection$SetupConnectionAsyncTask.onPostExecute(TextToSpeech.java:2101)
E/AndroidRuntime( 4821): 	at android.os.AsyncTask.finish(AsyncTask.java:636)
E/AndroidRuntime( 4821): 	at android.os.AsyncTask.access$500(AsyncTask.java:177)
E/AndroidRuntime( 4821): 	at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
E/AndroidRuntime( 4821): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4821): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 4821): 	at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 4821): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4821): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 4821): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 4821): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

@Rockvole
Thanks for the stack trace.
It appears the android getDefaultVoice method is returning null.
Per the android documentation "The default voice instance for the default language, or null if not set or on error."
Sounds like there is some type of error or the default language on your device is not set, however I'll add a try catch block around that.

Nice job on the TTS plugin @dlutton
I tried out your plugin on a couple of devices.
Nexus 9 : Android 7.1.1 (Hardware) - works well
Nexus 5 : Android 6.0.1 (Hardware) - works well
Nexus 5 : Api 24 (emulator) - works but choppy voice
Nexus 6 : Api 22 (emulator) - gives the error above
I guess the emulator choppiness is just due to the speed of the emulators.
Perhaps the error above is due to the Api being too old ? If so, it would be good to throw an UnsupportedDevice exception or something which can be caught so I can display an appropriate message ?

@Rockvole
Thanks for the additional information.  I'll try to recreate the issue with that Api and throw an appropriate exception.

@Rockvole
Per the android documentation, the methods I'm using should be supported by Android API version 21 and 22, however it appears there are some known Android issues that were never addressed (https://issuetracker.google.com/issues/37012397).  I'll simply add a version check and run the deprecated methods if less than or equal to API 22.

plugin works well.


Gradle daemon should retain/host details about a failed build

When a build fails, the default message isn't always sufficient to diagnose the problem.
FAILURE: Build failed with an exception.

* What went wrong:
...

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 20.276 secs

The "Try:" part of this experience, if necessary, is always a bit frustrating.  You have to modify your run command, wait for your build to rerun and then scan through a bunch of text in a terminal interface.  Ideally, this would always be instantaneous and perfectly repeatable, but depending on your project and build setup it may not be.
It would be an improvement if Gradle upon detecting a build failure would immediately start capturing detail in the daemon's memory.  At the very least, it would have the full trace.  There may be debug level detail it could capture throughout the build by default to augment the profile it could build after an error (in memory, this might not have an appreciable impact on performance).  This snapshot held in the daemon's memory could be instantly recalled with a builtin task or flag.  Even better, start a tiny embedded http server on a random port (with a self-signed cert if necessary for transport security concerns) and print a randomized url after the error message.  Many terminals let you click on links.  Now instead of having to wait and strain your eyes with the terminal output you get a nice HTML formatted view of the trace, etc. in your browser.  Make the error stand out in a way that it never will in text mode.  Link task names and stack frames to guide/DSL/API documentation.  Go a step further and make this interactive giving the user a quick way to rerun the build (if necessary) with various diagnostic flags instead of having to figure out the command line syntax and type it all out themselves.
This would be a significant boost to ergonomics and usability at one of the most potentially frustrating points in the build experience.  Some of it might be more plugin territory, but BuildExceptionReporter is an internal, so at lest some core support would likely be needed to make it possible.

What you describe is a build scan. Give it a try :)

Maybe if build scans were always automatically available at a private local url, but as it stands they require more steps than just rerunning with --stacktrace.  Not going to dispute the "won't fix" (no one else has voted for it), but the point was that Gradle has a persistent, local service footprint that it could utilize to help with the ergonomics at a frustrating point in the usage experience.

You can automatically publish a scan for every build, as well as publish a scan for the previous build if publishing was not enabled back then. If you have activated one scan on the public instance, you will be remembered and further scans can be opened immediately.
If you use Gradle enterprise there is no activation step at all and you have a private installation.
Serving the same kind of information locally may eventually become an option, but our focus is on the pain points of larger enterprises who benefit more from a centralized collection than a local tool.


SUPERMAN UHD error

I've tried DDVT DEMUXER twice on my rip and it errors out at 61% in building the RPU.bin file.  This is the only file I've had problems with.

Did you run the program in debug mode?
So this by going to tools, shell options, set progress Bars debug.
If it completes let me know so I can obtain the source and find the bug. If not we'll talk about what we can do next

I tried it a 3rd time and it worked.
On Thu, Apr 7, 2022, 5:32 PM jlw4049 @.***> wrote:

Did you run the program in debug mode?
So this by going to tools, shell options, set progress Bars debug.
If it completes let me know so I can obtain the source and find the bug.
If not we'll talk about what we can do next
—
Reply to this email directly, view it on GitHub
https://github.com/jlw4049/HDR-Multi-Tool-Gui/issues/4#issuecomment-1092326869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOGDCUPQCNG7VZXQN2YXTTVD55DFANCNFSM5SZWRHEQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I tried it a 3rd time and it worked.
…
On Thu, Apr 7, 2022, 5:32 PM jlw4049 @.> wrote: Did you run the program in debug mode? So this by going to tools, shell options, set progress Bars debug. If it completes let me know so I can obtain the source and find the bug. If not we'll talk about what we can do next — Reply to this email directly, view it on GitHub <#4 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALOGDCUPQCNG7VZXQN2YXTTVD55DFANCNFSM5SZWRHEQ . You are receiving this because you authored the thread.Message ID: @.>

Closing this issue, it could have been any issue. If you have another error, please re-open so I can take a look and solve the issue in the event there is one. In the future (currently working hard on my ffmpeg-audio-encoder project) I'm going to re-work the error handling, progress window and a few other things on this program. Thanks for reporting back!


Add custom editor for test cases

This is just a draft for discussion / communication, and right now a simple empty skeleton
Aims at solving https://github.com/CatalaLang/catala/issues/652

note to @AltGr : while loading a plugin, we cannot seem to be able to dynamically load its dependencies (in our case, yojson) ; for instance in the current state of the branch, it fails with
Some plugins could not be loaded:
│    - error loading shared library: Dynlink.Error (Dynlink.Cannot_open_dll "Failure(\"/home/romain/inria/cat_root/catala-language-server/test-case-parser/_build/default/test_case_parser.cmxs: undefined symbol: camlYojson__Safe__show_1479\")")

Any hints?

Closed in favor of #5 which rebases this branch.


Cannot create default user account during installation  - groups error

Your Windows build number:  (Windows 10 Pro Build 15063.rs2_release.170317-1834)

What you're doing and what's happening:
After clean installation of Windows with Creators Update I have enabled windows subsystem for linux feature then restated windows and executed bash command from non elevated and non elevated cmd with errors when asked for default user name. Was trying installing from Administrator account but with same results. lxrun /uninstall /full didn't help neither
When installation ended was trying to execute apt update and apt install mc as root but with errors aswell. Each fresh start of bash.exe give error groups: cannot find name for group ID 0

lxcore trace of whole bash installation process:
lxcore-trace-bash-installation.zip

strace of apt install mc
strace-apt-install-mc.zip

@HohoMux - What if try to do with another default user name like test1? I have no idea but... you know, there is a very famous little program named test that's used in shell script. Or what if install linux system with command "lxrun /install /y" after remove usging "lxrun /uninstall /full"? With option /y, lxrun did not create default "normal" user when install linux system.

Were trying everything...
As it was clean installation of windows went for another re-installation of windows and everything works as intended now...


Cookbook tip about traditional UNIQUE constraints, the RethinkDB way

So a user can learn about concatenating those fields that compose a UNIQUE constraint  into the table id and leverage ReQL inserts with conflict options.

This question comes up quite a bit. We should try to come up with a reasonably solid code example that handles this.

I'm also interested in seeing this.

I was trying to combine the r.do and r.branch command to validate unique username and unique email (I have a separate table for each with primary key r.uuid([username or email]).
So:
r.do(
  r.table('usernames').get(username_id),
  r.table('emails').get(email_id),
  (username_exists, email_exists) => (
    r.branch(
      username_exists,
      r.error('Username already exists'),
      email_exists,
      r.error('Email already exists'),
      >>[save]
    )
  )
)

The problem is the last command >>[save] is running even if username_exists is true and r.error('Username already exists.') is throw.
I notice that I'm using thinky models in the >>[save] step (would it matter?).
What is wrong?
I'm looking for the best way to do it, even though know it won't be atomic and may have inconsistencies that will need to be dealt with.

@deoqc Is >>[save] a ReQL query? (e.g. r.table(...).insert(...)) or does it call Thinky functions directly? If it calls into Thinky, it might not run as part of the branch query, but will instead be executed once on the client-side, no matter what the branch is evaluated to.

@danielmewes it is option 2, it call Thinky function and so it is executed no matter what.
Two quick questions:

If I called a regular ReQL query in >>[save], would r.do / r.branch be the recommended pattern (aka rethinkdb way) for these uniqueness checks?
I know Thinky is not officially supported, but any clue on why this work this way and how could I use Thinky following the recommended pattern would be deeply appreciated.

@deoqc Sorry for my late response. r.branch would be the way to do this in ReQL.
Note that there's a chance for a race-condition here, since you need to check uniqueness in two tables. You can atomically check for uniqueness in one table by simply trying to insert into it. The insert will fail if the primary key already exists, and otherwise perform the insert.
RethinkDB doesn't support multi-table (or even multi-document) transactions, so in your case you might need to implement additional logic to resolve conflicts between concurrent inserts.
If you think that conflicting concurrent modifications will be rare, the r.branch solution where you do a get on each table might be good enough though.
I'm not sure how this can be done in Thinky natively (pinging @neumino).

Thinky's save command run a query and return a promise, so you can't have it inside r.branch. You have to manually do it with Reql at the moment.

Thanks a lot @danielmewes for your time.
I will do some try / catch while inserting to db, since this is the only safe way. And if some insert fail, rollback removing what was inserted.

Are there any plans to add support for unique attributes on a table?
I also want to ensure a username and an email in a Users table is unique.

?


Add debug API for call stack selection changes (63943)

for https://github.com/microsoft/vscode/issues/63943
Adds a new API to the debug namespace to add listeners to selection changes to call stack selection changes.
This allows listeners to know when focus has changed, allowing additional custom debug views to show information for the selection context, just as the build-in views do (variables, etc).
This is additive; it does not change any existing APIs, and just taps into the current call stack selection.

@microsoft-github-policy-service agree company="Coherent Logix"


Tray icon for Ubuntu 17

I can't see tray icon on Ubuntu 17. I know that it is electron bug and I also know that this bug fixed in latest electron version. So can you update electron?

So can you update electron?

This is a risky process that involves lots of manual testing (I'm currently in the process of doing this with electron@1.7.5).  If there aren't any blocking issues while I test it the next release will have 1.7.5 included


HardFail Limit

Currently if an email hard fails twice its added to suppression list. How can I increase this limit.
Also can I configure after how many days emails in suppression list would be retried ?

I don't believe the hard fails limit is currently customisable presumably because the hard fails are more permanent than the soft fails.
I don't think the days count on the suppression list is configurable either at the minute.
If a message is in the suppression list, messages to it will be held. If you know the message will be able to be sent (i.e. the reason for the hard fail or soft fail has been fixed) you can release the message manually and its successful delivery should remove it from the list.

ok I saw in another issue https://github.com/atech/postal/issues/58 adamcooke said that hard fail is customizable.
Also I was looking to decrease the limit of days itself or a feature to bulk remove everything in suppression.  My suppression list stands very tall right now.

I think there is a typo of either meaning neither given the latter bit of that whole sentence.

For whatever reason, it looks like only the soft fails limit is customisable.
If an email address is on the suppression list, that address is encountering prolonged issues so it doesn't make sense to clear the whole thing.
If you know which addresses should be working, you can release the held messages to that address and it should get cleared if there isn't an issue any more.


AWS Lambda Function Name Fix

AWS performs regex matching on many of their services for different fields, including Lambda function names. The @ symbol is not allowed in a function name, so if a user leverages AWS SSO and their org is configured to send the email address as part of their user id then lithops will fail when creating functions.
I will also submit a PR that fixes this issue, I have already tested it on my end and confirmed it works as expected.
Steps to reproduce

Have an SSO provider configured with email address as part of the user id
Configure lithops for use with AWS including credentials, role ARN, etc
Execute a command that would build a lambda function such as lithops hello

Runtime error
ShadowClone on  main [!?] via 🐍 v3.11.9 (env) on ☁  aws-redacted (us-east-1)
❯ lithops hello -b aws_lambda -s aws_s3
2024-04-17 16:25:56,314 [INFO] config.py:139 -- Lithops v3.2.0 - Python3.11
2024-04-17 16:25:56,430 [INFO] aws_s3.py:68 -- S3 client created - Region: us-east-2
2024-04-17 16:25:56,912 [INFO] aws_lambda.py:109 -- AWS Lambda client created - Region: us-east-2
2024-04-17 16:25:56,913 [INFO] invokers.py:107 -- ExecutorID 2fe613-0 | JobID A000 - Selected Runtime: default-runtime-v311 - 1024MB
2024-04-17 16:25:56,984 [INFO] invokers.py:115 -- Runtime default-runtime-v311 with 1024MB is not yet deployed
2024-04-17 16:25:56,985 [INFO] aws_lambda.py:400 -- Deploying runtime: default-runtime-v311 - Memory: 1024 - Timeout: 900
2024-04-17 16:25:57,267 [INFO] aws_lambda.py:199 -- Creating lambda layer for runtime default-runtime-v311
Traceback (most recent call last):
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 214, in _create_layer
    resp = self.lambda_client.create_function(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/botocore/client.py", line 565, in _api_call
    return self._make_api_call(operation_name, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/botocore/client.py", line 1021, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the CreateFunction operation: 1 validation error detected: Value<EMAIL_ADDRESS>at 'functionName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/redacted/code/ShadowClone/env/bin/lithops", line 8, in <module>
    sys.exit(lithops_cli())
             ^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/scripts/cli.py", line 206, in hello
    fexec.call_async(hello, username)
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/executors.py", line 193, in call_async
    runtime_meta = self.invoker.select_runtime(job_id, runtime_memory)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/invokers.py", line 116, in select_runtime
    runtime_meta = self.compute_handler.deploy_runtime(self.runtime_name, runtime_memory, runtime_timeout)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/serverless/serverless.py", line 84, in deploy_runtime
    return self.backend.deploy_runtime(runtime_name, memory, timeout=timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 539, in deploy_runtime
    self._deploy_default_runtime(runtime_name, memory, timeout)
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 405, in _deploy_default_runtime
    layer_arn = self._create_layer(runtime_name)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/lithops/serverless/backends/aws_lambda/aws_lambda.py", line 253, in _create_layer
    self.lambda_client.delete_function(FunctionName=func_name)
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/botocore/client.py", line 565, in _api_call
    return self._make_api_call(operation_name, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/redacted/code/ShadowClone/env/lib/python3.11/site-packages/botocore/client.py", line 1021, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the DeleteFunction operation: 1 validation error detected: Value<EMAIL_ADDRESS>at 'functionName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?

Cause
Note the UserId is returned as an SSO user with an email address
❯ aws sts get-caller-identity --profile aws-redacted
{
    "UserId"<EMAIL_ADDRESS>    "Account": "redacted",
    "Arn"<EMAIL_ADDRESS>}

Merge of PR #1315 resolved the issue.


Remove state changes in AIMD state machine and add missed flag defination.

Remove state changes in AIMD state machine.
Add missed flag definition.

@UI-RayanWang does this patch solves bitrate drop for you ?

Hi, I'm still testing, and also make some changes. Currently bitrate and bandwidth looks good with 7x cameras, however, I'm using WiFi from home to Taipei office, will test over LTE if WiFi works no problem. I think maybe need to test with WiFi in Taipei office as well since from my observation, this issue looks easy to be reproduced there.

@UI-RayanWang ok, lets test it more before merging. it takes time to prepare all versions. so, would be good to know it works


Docker does not unmount on mount failure if -w option is passed with docker run.

Output of docker version:
On VM1
root@photon-machine [ ~ ]# docker version
Client:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 19:36:04 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 19:36:04 2016
 OS/Arch:      linux/amd64

On VM2
docker version
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 21:37:01 2016
 OS/Arch:      linux/amd64

Output of docker info:
On VM1
docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.11.0
Storage Driver: overlay
 Backing Filesystem: extfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local vmdk
 Network: null host bridge
Kernel Version: 4.2.0-esx
Operating System: VMware Photon/Linux
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.958 GiB
Name: photon-machine
ID: YODH:WTQL:A5ZT:446C:PGNT:FLPE:G3W5:WIE4:VM5W:HLNZ:ALJM:RKW5
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): true
 File Descriptors: 15
 Goroutines: 32
 System Time: 2016-05-06T22:48:32.647615591Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
WARNING: No kernel memory limit support

On VM2
docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 2
Server Version: 1.10.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 4
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local vmdk
 Network: host bridge null
Kernel Version: 4.2.0-27-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.789 GiB
Name: promc-2n-dhcp210
ID: B2D6:WWS6:M3LR:BZJL:FBCO:K7S4:PYVW:VN2K:WFFN:BXL2:T3WZ:LWQB
WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
On VM1
root@photon-machine [ ~ ]# uname -a
Linux photon-machine 4.2.0-esx #1-photon SMP Fri Apr 22 22:28:32 UTC 2016 x86_64 GNU/Linux
root@photon-machine [ ~ ]# cat /etc/os-release
NAME="VMware Photon"
VERSION="1.0"
ID=photon
VERSION_ID=1.0
PRETTY_NAME="VMware Photon/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://vmware.github.io/photon/"
BUG_REPORT_URL="https://github.com/vmware/photon/issues"

VM2
root@210:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.4 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.4 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
root@210:~# uname -a
Linux promc-2n-dhcp210 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@210:~#

Steps to reproduce the issue:

Create a volume and consume it using
docker volume create --driver= --name=datavol -o size=10gb
docker run  -it --rm -v datavol:/data -w /data busybox
When docker tries to mount via the plugin return an error
Unmount request is expected but never received.

Describe the results you received:
Command:
docker run  --rm -v radio2016:/data -w /data busybox cat /data/file
docker: Error response from daemon: VolumeDriver.Mount: Failed to connect to ESX over vsocket.
See 'docker run --help'.

Logs:
May 06 20:07:22 photon-machine docker[2095]: time="2016-05-06T20:07:22.226977123Z" level=debug msg="Calling POST /v1.23/containers/create"
May 06 20:07:22 photon-machine docker[2095]: time="2016-05-06T20:07:22.227550840Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"cat\",\"/data/file\"],\"Domainname\":\"\",\"Entrypoint\":null,\"Env\":[],\"HostConfig\":{\"AutoRemove\":false,\"Binds\":[\"radio2016:/data\"],\"BlkioBps\":0,\"BlkioDeviceReadBps\":null,\"BlkioDeviceReadIOps\":null,\"BlkioDeviceWriteBps\":null,\"BlkioDeviceWriteIOps\":null,\"BlkioIOps\":0,\"BlkioWeight\":0,\"BlkioWeightDevice\":null,\"CapAdd\":null,\"CapDrop\":null,\"Cgroup\":\"\",\"CgroupParent\":\"\",\"ConsoleSize\":[0,0],\"ContainerIDFile\":\"\",\"CpuCount\":0,\"CpuPercent\":0,\"CpuPeriod\":0,\"CpuQuota\":0,\"CpuShares\":0,\"CpusetCpus\":\"\",\"CpusetMems\":\"\",\"Devices\":[],\"DiskQuota\":0,\"Dns\":[],\"DnsOptions\":[],\"DnsSearch\":[],\"ExtraHosts\":null,\"GroupAdd\":null,\"IpcMode\":\"\",\"Isolation\":\"\",\"KernelMemory\":0,\"Links\":null,\"LogConfig\":{\"Config\":{},\"Type\":\"\"},\"Memory\":0,\"MemoryReservation\":0,\"MemorySwap\":0,\"MemorySwappiness\":-1,\"NetworkMode\":\"default\",\"OomKillDisable\":false,\"OomScoreAdj\":0,\"PidMode\":\"\",\"PidsLimit\":0,\"PortBindings\":{},\"Privileged\":false,\"PublishAllPorts\":false,\"ReadonlyRootfs\":false,\"RestartPolicy\":{\"MaximumRetryCount\":0,\"Name\":\"no\"},\"SandboxSize\":0,\"SecurityOpt\":null,\"ShmSize\":0,\"StorageOpt\":null,\"UTSMode\":\"\",\"Ulimits\":null,\"UsernsMode\":\"\",\"VolumeDriver\":\"\",\"VolumesFrom\":null},\"Hostname\":\"\",\"Image\":\"busybox\",\"Labels\":{},\"NetworkingConfig\":{\"EndpointsConfig\":{}},\"OnBuild\":null,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false,\"User\":\"\",\"Volumes\":{},\"WorkingDir\":\"/data\"}"
May 06 20:07:22 photon-machine docker[2095]: time="2016-05-06T20:07:22.244314184Z" level=debug msg="container mounted via layerStore: /var/lib/docker/overlay/752bb2f7a90c487baf52ffa85d81dfd5b93a9cb9e1faee323a939c2481416600/merged"
May 06 20:07:22 photon-machine docker[2095]: time="2016-05-06T20:07:22.245067104Z" level=debug msg="copying image data from a04dc67c3a068a1a3022fe5d8dc23c10c6389265e1b61b1a74c8ed30865dc741:/data, to radio2016"
May 06 20:07:22 photon-machine docker[2095]: time="2016-05-06T20:07:22.251241798Z" level=error msg="Handler for POST /v1.23/containers/create returned error: VolumeDriver.Mount: Failed to connect to ESX over vsocket"

Describe the results you expected:
Command:
docker run  --rm -v radio2016:/data busybox cat /data/file

Logs
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.879817062Z" level=debug msg="Calling POST /v1.23/containers/create"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.880548779Z" level=debug msg="form data: {\"AttachStderr\":true,\"AttachStdin\":false,\"AttachStdout\":true,\"Cmd\":[\"cat\",\"/data/file\"],\"Domainname\":\"\",\"Entrypoint\":null,\"Env\":[],\"HostConfig\":{\"AutoRemove\":false,\"Binds\":[\"radio2016:/data\"],\"BlkioBps\":0,\"BlkioDeviceReadBps\":null,\"BlkioDeviceReadIOps\":null,\"BlkioDeviceWriteBps\":null,\"BlkioDeviceWriteIOps\":null,\"BlkioIOps\":0,\"BlkioWeight\":0,\"BlkioWeightDevice\":null,\"CapAdd\":null,\"CapDrop\":null,\"Cgroup\":\"\",\"CgroupParent\":\"\",\"ConsoleSize\":[0,0],\"ContainerIDFile\":\"\",\"CpuCount\":0,\"CpuPercent\":0,\"CpuPeriod\":0,\"CpuQuota\":0,\"CpuShares\":0,\"CpusetCpus\":\"\",\"CpusetMems\":\"\",\"Devices\":[],\"DiskQuota\":0,\"Dns\":[],\"DnsOptions\":[],\"DnsSearch\":[],\"ExtraHosts\":null,\"GroupAdd\":null,\"IpcMode\":\"\",\"Isolation\":\"\",\"KernelMemory\":0,\"Links\":null,\"LogConfig\":{\"Config\":{},\"Type\":\"\"},\"Memory\":0,\"MemoryReservation\":0,\"MemorySwap\":0,\"MemorySwappiness\":-1,\"NetworkMode\":\"default\",\"OomKillDisable\":false,\"OomScoreAdj\":0,\"PidMode\":\"\",\"PidsLimit\":0,\"PortBindings\":{},\"Privileged\":false,\"PublishAllPorts\":false,\"ReadonlyRootfs\":false,\"RestartPolicy\":{\"MaximumRetryCount\":0,\"Name\":\"no\"},\"SandboxSize\":0,\"SecurityOpt\":null,\"ShmSize\":0,\"StorageOpt\":null,\"UTSMode\":\"\",\"Ulimits\":null,\"UsernsMode\":\"\",\"VolumeDriver\":\"\",\"VolumesFrom\":null},\"Hostname\":\"\",\"Image\":\"busybox\",\"Labels\":{},\"NetworkingConfig\":{\"EndpointsConfig\":{}},\"OnBuild\":null,\"OpenStdin\":false,\"StdinOnce\":false,\"Tty\":false,\"User\":\"\",\"Volumes\":{},\"WorkingDir\":\"\"}"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.899373490Z" level=debug msg="container mounted via layerStore: /var/lib/docker/overlay/7a018b4d33979d6aedfdf638cc7175a754dd66149e05a561ed66535add263e6d/merged"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.899957317Z" level=debug msg="copying image data from 1b1dc474a6c8a81e5ca978545414dc7ae699895f00bc1776324e219f0d47730d:/data, to radio2016"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.904220227Z" level=debug msg="Calling POST /v1.23/containers/1b1dc474a6c8a81e5ca978545414dc7ae699895f00bc1776324e219f0d47730d/attach?stderr=1&stdout=1&stream=1"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.905298577Z" level=debug msg="attach: stdout: begin"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.905978497Z" level=debug msg="attach: stderr: begin"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.906917754Z" level=debug msg="Calling POST /v1.23/containers/1b1dc474a6c8a81e5ca978545414dc7ae699895f00bc1776324e219f0d47730d/start"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.910935261Z" level=debug msg="container mounted via layerStore: /var/lib/docker/overlay/7a018b4d33979d6aedfdf638cc7175a754dd66149e05a561ed66535add263e6d/merged"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.911741477Z" level=debug msg="Assigning addresses for endpoint cranky_wilson's interface on network bridge"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.912290781Z" level=debug msg="RequestAddress(LocalDefault/<IP_ADDRESS>/16, <nil>, map[])"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.919231621Z" level=debug msg="Assigning addresses for endpoint cranky_wilson's interface on network bridge"
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.928945451Z" level=debug msg="Programming external connectivity on endpoint cranky_wilson (d2bc58f7bb466dd11ab29368e474175816561b0daa7dc5658e33d1d23318602c)"
2016-05-06 20:07:07.935254635 +0000 UTC [INFO] Mounting volume name=radio2016
2016-05-06 20:07:07.935335565 +0000 UTC [DEBUG] vmdkOps.Attach name=radio2016
2016-05-06 20:07:07.935731702 +0000 UTC [WARNING] Failed to connect to ESX over vsocket
2016-05-06 20:07:07.935816918 +0000 UTC [ERROR] Failed to mount error="Failed to connect to ESX over vsocket" name=radio2016
May 06 20:07:07 photon-machine docker[2095]: time="2016-05-06T20:07:07.942648069Z" level=debug msg="Revoking external connectivity on endpoint cranky_wilson (d2bc58f7bb466dd11ab29368e474175816561b0daa7dc5658e33d1d23318602c)"
May 06 20:07:08 photon-machine docker[2095]: time="2016-05-06T20:07:08.092797949Z" level=debug msg="Releasing addresses for endpoint cranky_wilson's interface on network bridge"
May 06 20:07:08 photon-machine docker[2095]: time="2016-05-06T20:07:08.093481286Z" level=debug msg="ReleaseAddress(LocalDefault/<IP_ADDRESS>/16, <IP_ADDRESS>)"
2016-05-06 20:07:08.100071566 +0000 UTC [INFO] Unmounting Volume name=radio2016
2016-05-06 20:07:08.100140506 +0000 UTC [ERROR] Failed to unmount volume. Now trying to detach... mountpoint="/mnt/vmdk/radio2016" error="invalid argument"
2016-05-06 20:07:08.100182593 +0000 UTC [DEBUG] vmdkOps.Detach name=radio2016
2016-05-06 20:07:08.100557026 +0000 UTC [WARNING] Failed to connect to ESX over vsocket
2016-05-06 20:07:08.10065241 +0000 UTC [ERROR] Failed to unmount name=radio2016 error="Failed to connect to ESX over vsocket"

Additional information you deem important (e.g. issue happens only occasionally):
This happens on both 1.10 and 1.11. We are writing a plugin for volume and expect to get an umount request on failed mounts. This is needed to maintain refcount within the plugin. The expectation is that docker will always send an unmount independent of the status of mount command and this is what we see when we do not pass in the -w option on run. Discussions part of https://github.com/docker/docker/pull/21015/files also indicate that umount will always be sent.
Either this is a bug in the clean up handling when -w is sent or the behavior of mount and umount needs to be specified.

/cc @cpuguy83

Ping, is this issue going to be fixed in the upcoming RCs for Docker 1.12?

@govint specifying -w has no bearing on volumes.
If mount returned an error, why would docker try to unmount?

@cpuguy83, correct, but that's the bug though, the behavior is inconsistent with when docker sends the unmount to the volume driver.
If -w  is in the command line to run the container and the mount fails, then an unmount isn't issued to the volume driver.
But if -w isn't provided and the mount fails then an unmount is issued to the volume driver.

I think I see the problem.

I lied, I don't see it, but I can reproduce it. It only happens when -w is pointing at a volume dir.

Ok, I think I've found it...
It seems to be related to whether or not the path in the container exists or not.
When -w is used, the container path is automatically created during the create phase of the container. When -w is set to the same thing as a volume path, this will make sure that the path always exists.
Later when we get to CopyImagePathContent(), still in the create phase, it does:
	if _, err = ioutil.ReadDir(rootfs); err != nil {
		if os.IsNotExist(err) {
			return nil
		}
		return err
	}

	id := stringid.GenerateNonCryptoID()
	path, err := v.Mount(id)
	if err != nil {
		return err
	}

	defer func() {
		if err := v.Unmount(id); err != nil {
			logrus.Warnf("error while unmounting volume %s: %v", v.Name(), err)
		}
	}()

Basically, if the volume path in the container does not exist, it will return immediately here and the error you get from docker run is from the start phase, and it will give us the unmount when the container start fails.
When the volume path does exist, the error is returned during the create phase.
I think we should not unmount if mount gave an error. WDYT?

Actually, it would be difficult to track what is mounted and what is not. We can just send the unmount and this can effectively be a no-op for plugins if they don't recognize the ID.

Here we go: #27116
Got an easy way to not unmount unless neccessary, so there would be no unmounts if there was a mount error.

that would change the current behavior though.  Before the fix, Docker sends unmount on mount failures (sans -w existing_path case) , so the volume driver increments refcounts on mount and decrements on refcount, no matter if mount succeeds of fails. With the news behavior, the driver(s) would need to be changed to skip refcount increment on failed mount, and this would have to be dependent on Docker version.
Is there any way just to send an umount on all mount failures (including "-w existing_path") ?

@msterin Right now the behavior is inconsistent.
If the path exists then you get multiple unmounts, if the path doesn't exist then you get no unmount.
A change as you are suggesting is the same problem, just in the other direction (re: changing behavior).
I would rather change to the correct behavior, where it doesn't make sense to send an unmount for something that's not mounted.

@cpuguy83 I don't think you get multiple unmounts on existing path when mount fails, I think you get none.
At any rate - I agree there is no reason to send unmount on failed mounts - it was just a painful inconsistency we've already adjusted to :-)
Now we'll adjust to the correct one.


KEP-3836 documentation for 1.30

Enhancement: https://github.com/kubernetes/enhancements/issues/3836
Original implementation PR: https://github.com/kubernetes/kubernetes/pull/116470
Copy of #45290 but targeting dev-1.30 instead

/milestone 1.30


zeroad: 0.0.24b -> 0.0.25

Motivation for this change
New alpha release of 0 A.D.
I’ve run the game and it seems to work fine, but the ActorEditor binary gives me an error Failed to load image from file "ICON_ActorEditor". I’m not sure if this was working for Alpha 24 though, and their development wiki says that editor is broken on Linux anyway.
I also observed that the archives I downloaded yesterday had a different hash from today. In both cases, the md5sums matched the ones on the release page, so I assume they made some last-minute changes. Hopefully it won’t change further, otherwise the build would break again.
The wxGTK update is probably not necessary but since 3.1 is available and appears to work fine I thought it’s better to update the dependency.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Looks like @nagy just had the same idea: https://github.com/NixOS/nixpkgs/pull/133249
Also pinging @chvp since she’s listed as maintainer.

Both pull requests seem fine to me. I'd prefer to merge this one, since the wxgtk bump does make sense. I started a game, and everything appears to work fine.

Haven't checked yet, but they 're-released' alpha 25 according to their latest blog post. Might cause mismatches.

I'll look into it.


Split the notions of "token balances" and "token accounts"

Part of #218.
The thing that has up to now been known as an "account" is really just a "balance" - ie given an identity, a pool, and optionally a token index, it tracks a number stating how many of that token are owned. All of this existing functionality has therefore been renamed from "token accounts" to "token balances".
This PR also introduces a new concept of what is a "token account" - currently just a filtered, distinct list of all the identities tracked in "token balances". Eventually this may evolve to include more aggregate details on each identity's holdings, but this is the simplest start without adding another table.

Codecov Report

Merging #311 (65cff3a) into main (2bd7e2b) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head 65cff3a differs from pull request most recent head 46bec48. Consider uploading reports for the commit 46bec48 to get more accurate results

@@            Coverage Diff            @@
##              main      #311   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          229       230    +1
  Lines        12562     12582   +20
=========================================
+ Hits         12562     12582   +20

Impacted Files
Coverage Δ

internal/apiserver/route_get_token_accounts.go
100.00% <ø> (ø)

internal/apiserver/route_get_token_pool_by_name.go
100.00% <ø> (ø)

...nternal/apiserver/route_get_token_pools_by_type.go
100.00% <ø> (ø)

...nal/apiserver/route_get_token_transfers_by_pool.go
100.00% <ø> (ø)

...nternal/apiserver/route_post_token_burn_by_type.go
100.00% <ø> (ø)

...nternal/apiserver/route_post_token_mint_by_type.go
100.00% <ø> (ø)

...nternal/apiserver/route_post_token_pool_by_type.go
100.00% <ø> (ø)

...nal/apiserver/route_post_token_transfer_by_type.go
100.00% <ø> (ø)

...rnal/apiserver/route_get_token_accounts_by_pool.go
100.00% <100.00%> (ø)

internal/apiserver/route_get_token_balances.go
100.00% <100.00%> (ø)

... and 7 more

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 2bd7e2b...46bec48. Read the comment docs.


Allow configuring default account for payments

via meta data on the account

maybe also for other categories like over limit fee or cash back?


Update routing.md

Routing won't work with an example provided in that doc. Change '/Products/5' to '/en-US/Products/5'
documentation page

@rynowak  30 second review on your routing doc.

@rynowak 39 second review on your routing doc.

@guardrex  FYI

Ping @rynowak. Please review these changes.

@davidich  sorry this took so long. You fix is much appreciated. Hope to see your improvements again.


ops(generics): remove duplicate command gotip download

Description

Changes

Screenshots

Linked issue

Included in #82.


conclusion/conclusion textual entity  - hypothesis/hypothesis textual entity

From<EMAIL_ADDRESS>on November 03, 2009 00:08:22
OBI voted to add these as synonyms to facilitate writing the paper, but there is concern that they are
incorrect or misleading. Revisit once the paper is out.
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=68

From<EMAIL_ADDRESS>on November 04, 2009 11:44:44
voted to remove for now and work on adding real classes denoting what is meant by
conclusion/hypothesis.
Status: WontFix


made all 3 versions of the button

closes #1629
the last button in the following photo is in it's disabled state

done! @RavindraP04 :)


Add onAck delegation for Session

Added the ability to make an onAck session delegation, so we'll be able to catch when we are getting a SIP ACK from PBX side.
This helps to reduce race conditions, because currently the only way to detect when a call is REALLY being answered is to listen on the session state when it becomes SessionState.ESTABLISHED, usually it becomes ESTABLISHED before the ACK arrives. But waiting for ACK and acting accordingly is more reliable way.
Note: this is my first PR here, I hope it is done according to your guidelines (which I couldn't find).

A request to end a {@link Session} (incoming ACK).

@john-e-riordan for some reason the CI failed as a result of a single test failure. Is there a way to make it re-run the tests without making any additional commit? Because the failed test should not fail because I just changed a comment 😓

Thanks again! Not sure what's happening with Travis, we saw it elsewhere too, will have to investigate.


Unsure if it's intentional

What is your question?
You have your import.sql to create table "newspaper" but your server side calls for a database table "newsstands"

I renamed the resource at some point - must have missed that part. Thanks for letting me know.

Solved in commit<PHONE_NUMBER>fe987bb3dea295974122f8cd1732a3

It looks like the word "newsstands" was just mass replaced to "newspaper" to solve this but now it broke the news stands... you cant actually get a newspaper.

It looks like the word "newsstands" was just mass replaced to "newspaper" to solve this but now it broke the news stands... you cant actually get a newspaper.

You're right. I've not committed the issue in commit 330e021b5db03e28bead896207aecc83669ef55e


[cephfs-provisioner] - unable to provision claim

when I try to provision the claim from the examples I get 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "cephfs": exit status 1. But folders matching the generic share name are created in the ceph-cluster.
env
centos 7
kubernetes 1.17.2
ceph-commons 2:12.2.13-0.el7
details
I0210 09:03:28.814601       1 controller.go:987] provision "default/claim1" class "cephfs": started
I0210 09:03:28.819000       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"claim1", UID:"633462d2-a506-41ee-b865-f72fbb37055b", APIVersion:"v1", ResourceVersion:"739088", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "default/claim1"
E0210 09:03:29.028006       1 cephfs-provisioner.go:158] failed to provision share "kubernetes-dynamic-pvc-342d001d-4be4-11ea-b12e-d219074b8fbf" for "kubernetes-dynamic-user-342d0082-4be4-11ea-b12e-d219074b8fbf", err: exit status 1, output: Traceback (most recent call last):
  File "/usr/local/bin/cephfs_provisioner", line 364, in <module>
    main()
  File "/usr/local/bin/cephfs_provisioner", line 358, in main
    print cephfs.create_share(share, user, size=size)
  File "/usr/local/bin/cephfs_provisioner", line 228, in create_share
    volume = self.volume_client.create_volume(volume_path, size=size, namespace_isolated=not self.ceph_namespace_isolation_disabled)
  File "/lib/python2.7/site-packages/ceph_volume_client.py", line 641, in create_volume
    self.fs.setxattr(path, 'ceph.dir.layout.pool_namespace', namespace, 0)
  File "cephfs.pyx", line 988, in cephfs.LibCephFS.setxattr (/home/jenkins-build/build/workspace/ceph-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/13.2.1/rpm/el7/BUILD/ceph-13.2.1/build/src/pybind/cephfs/pyrex/cephfs.c:10498)
cephfs.Error: (13, 'error in setxattr: error code 13')
W0210 09:03:29.028133       1 controller.go:746] Retrying syncing claim "default/claim1" because failures 2 < threshold 15
E0210 09:03:29.028200       1 controller.go:761] error syncing claim "default/claim1": failed to provision volume with StorageClass "cephfs": exit status 1
I0210 09:03:29.028244       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"default", Name:"claim1", UID:"633462d2-a506-41ee-b865-f72fbb37055b", APIVersion:"v1", ResourceVersion:"739088", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "cephfs": exit status 1

a folder kubernetes/kubernetes-dynamic-pvc-342d001d-4be4-11ea-b12e-d219074b8fbf has been created.

The problems was insuficcent permissions on the user
ceph auth get-or-create  client.autoclaim mon 'allow rwx' mds 'allow rwp,  allow rw path=/autoclaim/log' osd 'allow rwx pool=cephfs_data' did the trick and all works fine now.


[FEATURE] Add special character validation for word textField

hi @danger-ahead, i think words in all language don't contains any digits or special character. If we add a validation for that we can prevent network call for unnecessary invalid word.

Cool go ahead with the fix @nandhagobal


Combine Playwright Test plugin with multiple environments

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.91.1
OS Version: Windows 11

Steps to Reproduce:
I followed these guidelines:
https://chatgpt.com/share/3f4321a4-b060-4b31-b66d-f41f837205cf
But NODE_ENV variable is undefined no matter what I do.
Can you please help? It seems like it is not being passed to the plugin with the launch.json configuration for some reason

https://github.com/microsoft/playwright/issues/31753
Answered already here in case someone else is searching for this, sorry for the confusion, we can close the ticket.


we should only create Jenkins jobs for BuildConfig's configured with the external/jenkins builder kind (whatever the kind looks like in BuildConfigSpec)

I guess this would be fixed by https://github.com/fabric8io/openshift-jenkins-sync-plugin/issues/4 for Pipeline builds and maybe https://github.com/fabric8io/openshift-jenkins-sync-plugin/issues/5 for non-pipeline jobs


Need for discussion board

Since we have no PingPong for this course I think that there's a need for a discussion board where you can ask questions and form assignment groups.
Google Groups is an alternative: https://groups.google.com/

Now fixed:
https://groups.google.com/forum/#!forum/dslsofmath


ENH: RemoveAll() memory performance enhancement.

ENH: RemoveAll() memory performance enhancement.
Load a single model into memory at a time instead of loading all models at once.

Thanks @mfendeksilverstripe - can you please change the prefix of the commit from NEW to ENH?

@GuySartorelli Done, please review.

Looks good and works well locally.
I just checked test coverage and have noticed there aren't any unit tests for removeAll() at the moment. Do you have time to add some unit tests to cover this?

@GuySartorelli Added test as requested ;-)


Have a documented way to create new screed record objects.

Right now you have to call
screed.screedRecord._screed_record_dict()

-- perhaps
screed.Record(name=..., sequence=..., quality=...)
instead?

Working on this.

@mr-c Ready for review!

Fixed by https://github.com/ged-lab/screed/issues/35


Char to double is narrowing!

Hi,
The document says that converting from char to any built-in type is a widening conversion. However, I get C2397 from this code:
int main()
{
	char x = 3;
	double y{ x };
}

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

ID: 4febd6ec-05d8-97cf-fb9f-fc41e4ee2142
Version Independent ID: afe287bd-011f-90f2-eef4-2559e405d277
Content: Type conversions and type safety
Content Source: docs/cpp/type-conversions-and-type-safety-modern-cpp.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

@programehr
Interesting. It appears to only happen when the initializer list contains a variable, not a literal. I recommend bringing this question up on Developer Community. It may be a product issue. I'm not willing to call it a documentation issue on the page you've cited, so I'm closing this, but feel free to follow up here with any response from the dev team.
Here's my expanded test code; notice how a double takes narrower literals just fine:
C:\Users\corob\Documents\Projects\curiosity\narrowing>type narrowing.cpp
int main()
{
    char c = 3;
    short s = 23;
    unsigned short us = 23;
    int n = 42;
    double dc { c };
    double ds { s };
    double dus{ us };
    double dn { n };
    double dlc { 'a' };
    double dls { (short)42 };
    double dlus { (unsigned short)14 };
    double dln { 1729 };
}

C:\Users\corob\Documents\Projects\curiosity\narrowing>cl /EHsc /diagnostics:caret narrowing.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30136 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

narrowing.cpp
narrowing.cpp(7,19): error C2397: conversion from 'char' to 'double' requires a narrowing conversion
    double dc { c };
                  ^
narrowing.cpp(8,19): error C2397: conversion from 'short' to 'double' requires a narrowing conversion
    double ds { s };
                  ^
narrowing.cpp(9,20): error C2397: conversion from 'unsigned short' to 'double' requires a narrowing conversion
    double dus{ us };
                   ^
narrowing.cpp(10,19): error C2397: conversion from 'int' to 'double' requires a narrowing conversion
    double dn { n };
                  ^


Milestone 2: Question Service NoSQL database

You can enter the questions manually. You are also allowed to have alternative methods of entering questions (e.g., uploading and parsing a JSON file)
db

Unique question names
Store question description as HTML or Markdown
Required fields: _id, difficulty, topic
Optional fields: hints, constraints
Topic: Single or array of topics?

Populating questions

Use Leetcode API to create a list of questions as JSON file
Create a script to seed the database

Created MongoDB Docker image with sample questions preloaded
docker run --name question-db -p 27017:27017 -d \
		-e MONGO_INITDB_DATABASE=questions_db \
		-e INIT_QUESTION_COLLECTION=questions \
		alxarkar/cs3219-ay2425s1-g40-question

JSON schemas and Docker definitions can be found in this branch


Temporary Fix for docs build failure

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Fixed docs build error in #1347
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hope this fixes it, I will look into pinning the versions for the docs packages this weekend when I have time


Travis: split unit tests into multiple jobs

This isn't exactly an ideal solution since splitting the tests leads to some dependencies being built twice but it gets the build time down enough to allow for some more tests.
I'm not sure what the long-term solution is here, I've been using GitLab CI lately. While I'm using it in combination with GitLab, it's also available for free for any public projects on GitHub. I generally prefer it over Travis, it has a far more modern and flexible design and it also allows for longer execution times. The only thing I'm not sure about is Mac OS support. Linux support is all I needed for my projects.

Looks good, thanks!
I'll also take a look at GitLab, and in general I agree that the CI setup needs improvement. I've toyed around with a custom jenkins deployment in the past, maybe that could be another way if that type of flexibility is needed.


consider Types as string rather than int.

@tych0 brought up this question in https://github.com/anuvu/disko/pull/49.
In the initial design, @rchamarthy set up constants for "type identifiers" (LVType, DiskType, AttachmentType) using integer type and iota.
As I am (ab)using json as a output format, I then wrote marshallers and unmarshallers that display these types as strings and support reading them as integer or string.
@rchamarthy, could you give some reasoning for why we have:
type LVType int
const (
   THIN LVType = iota
   THICK
)

rather than:
type LVType string
const (
   THIN = LVType("THIN")
   THICK = LVType("THICK")
)

@smoser  these to me are actually enums and i would like to use them as such in code. For example use them as index in an array etc. The go idiom is to go generate the boiler plate for making these types serializable to strings.

@rchamarthy thanks.  I did not know of go generate. Thats useful.
A few googles didn't show any hits for json usage we're doing, but thats fine.  we definitely could use go generate for many of the strings.  thanks.


Remove problematic javascript compiler

This compiler has proven to be useless to us. It showed inconsistencies
and the original developer did not fix them after a request.
If someone would like to show a fully tested Javascript-based compiler,
I'll be happy to merge it. But at this time I feel uncomfortable with
these compilers and the huge, largely incompetent community who can
barely write 4 lines of code.
Signed-off-by: MegaXLR<EMAIL_ADDRESS>

Compilers need to work and we cant give people broken compilers.
Merging..
On Tue, 2018-02-06 at 13:08 -0800, MegaXLR wrote:

This compiler has proven to be useless to us. It showed
inconsistencies
and the original developer did not fix them after a request.
If someone would like to show a fully tested Javascript-based
compiler,
I'll be happy to merge it. But at this time I feel uncomfortable with
these compilers and the huge, largely incompetent community who can
barely write 4 lines of code.
Signed-off-by: MegaXLR<EMAIL_ADDRESS>You can view, comment on, or merge this pull request online at:
https://github.com/Marfjeh/coinhive-block/pull/18
Commit Summary
Remove problematic javascript compiler
File Changes
M
README.md
(7)

D
compilers/src/make.js
(9)

Patch Links:
https://github.com/Marfjeh/coinhive-block/pull/18.patch
https://github.com/Marfjeh/coinhive-block/pull/18.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5
5493e4bb","name":"GitHub"},"entity":{"external_key":"github/Marfjeh/c
oinhive-block","title":"Marfjeh/coinhive-block","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/ass
ets/143418/17495839/a5054eac-5d88-11e6-95fc-
7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent
.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-
b52498112777.png","action":{"name":"Open in GitHub","url":"https://gi
thub.com/Marfjeh/coinhive-
block"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Remo
ve problematic javascript compiler (#18)"}],"action":{"name":"View
Pull Request","url":"https://github.com/Marfjeh/coinhive-block/pull/1
8"}}}


PD(TS migration): migrate PD analytics subrepo to typescript

migrate protocol-designer/src/analytics

closed by #7956


Link the hyper link in the footer with an actual link GDSC GEU page or fix this linkage

With respect to the above title of this issue, I would like to point out that in the footer section of the website the hyperlink with the text GDSC DEU isn't actually linked anywhere...
as shown in the below images

I would like to work on a fix for this issue once assigned to me. Pls let me know regarding the same

With respect to the above title of this issue, I would like to point out that in the footer section of the website the hyperlink with the text GDSC DEU isn't actually linked anywhere...

GDSC GEU *
@tmsagarofficial , please proceed.

hello sir I would like to contribute on this issue please allow me

@Ayush5042 Currently @tmsagarofficial is working on this issue. Please explore other issues listed in issues section or create a new issue (feature request / Bug report) and mention that you want to implement/fix  it.

@AdarshRawat1 You want that hyperlink in the footer to redirect to the following site if I'm not wrong right?

https://gdsc.community.dev/graphic-era-dehradun/
or
https://dscgeu.vercel.app

https://dscgeu.vercel.app

This one !

Thanks for the clarification. Will start working on it. 🚀


ebiten.CursorModeCaptured not supported in browsers

Ebitengine Version
v2.6.0
Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[X] Web Browsers

Go Version (go version)
1.18.3
What steps will reproduce the problem?
Try setting the mouse mode ebiten.CursorModeCaptured in a wasm ebitengine application
What is the expected result?
The cursor is hidden and doesn't leave the game canvas (in fullscreen or not)
What happens instead?
Cursor is free, and gets out like it was not captured at all
Anything else you feel useful to add?
No response

Is there a message in the devtools?

Is there a message in the devtools?

pointerlockerror event is fired. 'sandbox="allow-pointer-lock"' might be required at an iframe. This function on browsers must be called as a result of a gestural interaction or orientation change.

Maybe it's specific to the parent iframe actually..

Is this still an issue? From the Discord discussion, you have already found a solution, right?

Is this still an issue? From the Discord discussion, you have already found a solution, right?
Still an issue to me, I was mentioning ideas, but I didn't find any ways to fix it so far
It might not be related to ebitengine, but I don't what could be causing this

I'm experiencing it here on my last game, for example: https://zyk0.itch.io/siden

After discussing with @hajimehoshi it appears it's on me, I was setting the cursor mode before there was a user interaction on with the window (canvas)
Thank you!

We confirmed that this was just a browser restriction (capturing cursors requires user interaction first)


WIP: Add loading dots spinner

Got inspired looking at some dots and figured I'd try out using an SVG as a spinner element. This felt easier than animating a single element with pseudo-elements (because of some issues animating colors with CSS variables vs opacity) and just seemed like a fun thing to try.
I wanted to get this to work with a <symbol>, but ran into issues where the animation never started for shadow content.
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
  <symbol id="spinner-dots" class="spinner-dots">
    <title>Loading...</title><circle cx="4" cy="8" r="4"/><circle cx="16" cy="8" r="4"/><circle cx="28" cy="8" r="4"/>
  </symbol>
</svg>
<svg class="text-{{ .name }}" width="32" height="16" role="status"><use xlink:href="#spinner-dots"/></svg>

Alas, repeating the SVG manually worked fine. This approach keeps the CSS ridiculously small, but I'd like to keep the HTML small, too, with support for that symbol element. Will come back to this at another time.
Also, we should probably rename spinners to loaders or something hah.
Live preview

We can try to check out there the naming usually used in several DSs or libraries.
At Orange, everything is gathered under the name of "Progress indicators" (bars and spinners). At Adobe, they have Progress bar and Progress circle.

"Loaders" would make sense, we already have "Progress" for progress bar and it should stay separated.
Please consider "pulse" or "wave" instead of "dots", in case replacing <circle> with <rect> would be possible. So, there would be loader-pulse, loader-spin, loader-grow.

Can I work on this @mdo @julien-deramond ?

FWIW you may use the <animate> SVG element to save writing any CSS at all. Here's a demo on CodePen, and FYI it can also be embedded as a background-image.

FWIW you may use the <animate> SVG element to save writing any CSS at all. Here's a demo on CodePen, and FYI it can also be embedded as a background-image.
That may be a bit wordy, but wanted to share in case it could help :)

Oh damn, didn't realize that was doable. I think doing the animation in CSS so that it can be easily modified or replaced makes the most sense here for that part? I wanted to use the SVG itself to save on the HTML most of all and still provide some customization that you'd get with custom elements.
I'll look into more of what @alecpl suggested and maybe I'll change my mind as I go though, so thanks for the CodePen and ideas y'all!

Regarding customisation, CSS is indeed the best way IMHO!


Unable to render components in Laravel 7.x

When trying to render the components in Livewire, I throws:

syntax error, unexpected 'endif' (T_ENDIF), expecting end of file (View: /home/user/laravel/vendor/asantibanez/laravel-blade-sortable/resources/views/components/sortable-item.blade.php)

Livewire: 2.3.17
Laravel: 7.30.4
After further inspection, when I remove the <x-dynamic-component/> in the component's blade views, it was able to render properly.
<x-dynamic-component/> wasn't introduced until Laravel 8.x.
Maybe considering removing illuminate/support ^7.x in the composer.json

Same problem. Is it possible to publish blade template for remove <x-dynamic-component/>
Thanks


[WIP] Gatsby migration fixes

Fixes related to issues that we got after migrating to Gatsby.js in this PR

[x]  404 code is not returned on 404
[x] if I open https://dvc.org/doc/tutorials/versioning#automating-capturing Automatic Capturing is not highlighted on the right sidebar (and it’s not even active)
[x]  go to the last anchor https://dvc.org/doc/tutorials/versioning#whats-next and then click Interactive Tutorial - behavior between previous version and the current one should be the same (no long scrolling animation)
[x] styles are broken (different) in the new version - go carefully through all of them - make sure that docs are identical, inline code blocks, line spacing, list items spacing, notes, notes, cases like titles with links, etc, etc
[x] in a Phablet mode Edit on Github button creates a second line (it might be related to styles issue - we already have two lines in the new version, compared to the previous one)
[x] SEO problems - run Lighthouse new and old version
[x] image subtitles are broken - check this page https://dvc.org/doc/tutorials/versioning , (Who doesn’t love ASCII directory art?)
[ ] make sure that GA runs the same way as before, with all the events
[ ] check Sentry - we are getting some new errors, hard to tell what page they come from, from what action

make sure that GA runs the same way as before, with all the events

I've checked few events and they was sent. So all seems good.

check Sentry - we are getting some new errors, hard to tell what page they come from, from what action

Most critical issues were fixed. The rest needs to be watched.


ReactiveMongoOperationsSessionRepository deleteById throws java.lang.NullPointerException when session is not found

Hi,
I am using spring-session-data-mongodb 2.1.3.RELEASE with spring boot 2.1.5.RELEASE and jdk 11 and I am facing an issue if I have a valid session cookie and for any reason the related session is missing in MongoDB. The deleteById method throws the exception below:
java.lang.NullPointerException: null
	at org.springframework.session.events.AbstractSessionEvent.<init>(AbstractSessionEvent.java:40) ~[spring-session-core-2.1.6.RELEASE.jar:2.1.6.RELEASE]
	at org.springframework.session.events.SessionDestroyedEvent.<init>(SessionDestroyedEvent.java:36) ~[spring-session-core-2.1.6.RELEASE.jar:2.1.6.RELEASE]
	at org.springframework.session.events.SessionDeletedEvent.<init>(SessionDeletedEvent.java:39) ~[spring-session-core-2.1.6.RELEASE.jar:2.1.6.RELEASE]
	at org.springframework.session.data.mongo.ReactiveMongoOperationsSessionRepository.lambda$deleteById$6(ReactiveMongoOperationsSessionRepository.java:142) ~[spring-session-data-mongodb-2.1.3.RELEASE.jar:na]

Looking at the code I think there is a mistake in using "doOnSuccess":
/**
 * Deletes the {@link MongoSession} with the given {@link MongoSession#getId()} or does nothing if the
 * {@link MongoSession} is not found.
 *
 * @param id the {@link MongoSession#getId()} to delete
 */
@Override
public Mono<Void> deleteById(String id) {

	return findSession(id)
			.flatMap(document -> this.mongoOperations.remove(document, this.collectionName).then(Mono.just(document)))
			.map(document -> convertToSession(this.mongoSessionConverter, document))
			.doOnSuccess(mongoSession -> publishEvent(new SessionDeletedEvent(this, mongoSession))) //
			.then();
}

"doOnSuccess" is called even if findSession completes without data, that means mongoSession is null. "doOnNext" should be used instead.
Regards
Mario

Hi there,
is there any chance to have a comment on this?
Thank you
Regards
Mario


Fix and lint subcommands disagree about grouping/ordering of application-relative imports

ni-python-styleguide fix converts this:
"""Tests for validating export signals functionality."""
import random

import pytest

import nidaqmx
from nidaqmx.constants import Signal
from ..helpers import generate_random_seed
from .test_read_write import TestDAQmxIOBase

to this:
"""Tests for validating export signals functionality."""
import random

import pytest

import nidaqmx
from nidaqmx.constants import Signal

from ..helpers import generate_random_seed
from .legacy.test_read_write import TestDAQmxIOBase

However, ni-python-styleguide lint still complains about the grouping and the ordering:
.\tests\legacy\test_export_signals.py:9:1: I202 Additional newline in a group of imports. 'from ..helpers import generate_random_seed' is identified as Application Relative and 'from nidaqmx.constants import Signal' is identified as Application.
.\tests\legacy\test_export_signals.py:10:1: I100 Import statements are in the wrong order. 'from .test_read_write import TestDAQmxIOBase' should be before 'from ..helpers import generate_random_seed'

Workaround: use absolute imports, as per https://github.com/ni/python-styleguide/blob/main/docs/Coding-Conventions.md#o15--do-use-absolute-imports

Note: fixed in #102


[Feature Request] Valorant Drops

Riot Games has many Twitch Drops events for Valorant, would it be possible to add Valorant Twitch Drop campaigns to the miner? Thank you!

Hello o/
Any campaign that's available on the https://www.twitch.tv/drops/campaigns page should be visible in the application, assuming you've added it's game to the priority list, linked your account, haven't excluded it and reloaded the application state. If you'd like them to appear in the inventory overview tab, you'd need to setup the filters properly: tick everything and untick "linked only", hit Refresh, then search for the campaign you want.
Please let me know if this solves your issue.

I'm assuming my previous message solves this.


Min/max validation doesn't update model value

We often put validation in parser and formatter function. If validation failed, return undefined. This action let validation control model value directly. If we have to process validation outside parser/formatter function, then we cannot control model value anymore, which is the problem.
Currently I removed return undefined from min/max validator, which is breaking previous feature.

It's more reasonable that only parsing error will set model value to undefined.

@bkmediagroup-josh

I returned undefined because un-setting the model value on failed validations seems to be a convention in angular. If there is a better place for that validation to live, I am all for moving it.

Starting from 1.3.0, there is a $validate() function in ngModelController, you can manually call that function to run validation. If the validation fails, angular will set the model value to undefined.
Here is how angular observe the min/max changes in input[number]:
https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L1372-L1379
Angular will call $validate() each time the min/max value updated:
http://plnkr.co/edit/xAz9Lj50SszZCLJJjq17?p=preview
But we don't have this function in 1.2.x and validation only happens if view value is changed:
http://plnkr.co/edit/WLSzJkp9HvpRwls9DvvH?p=preview
Maybe we shouldn't observe min/max in 1.2.x.

Fixed in 2.0.0.
Keep the original behavior, which will set model value to undefined if min/max is not valid. Also add support for $validators in Angular 1.3.x:
https://github.com/eight04/angular-datetime/blob/master/src/directive.js#L320


Miscellaneous thread protection patches

Shippable died in https://github.com/zephyrproject-rtos/zephyr/pull/643
Only Anas knows how it works. Working around this breakage by making a new PR.

LGTM.


Storing access token after automatic refresh

What is the conventional way to be informed when the token is updated? I understand that the token is automatically refreshed when the current token becomes expired, but I have not read anywhere how to be informed or store a new token when the old one expires. I was going to use custom logic that I developed with:
oauth2Client.refreshAccessToken(function(err, tokens) {
  // your access_token is now refreshed and stored in oauth2Client
  // store these new tokens in a safe place (e.g. database)
});

But I have seen that this method has been deprecated.
What is the proper way to store new tokens with the google API? Updating the documentation to address this would be helpful to many users.
Thanks in advance.

did you figure it out?

Took a look at:
google/google-auth-library-nodejs
google-auth-library-nodejs/lib/auth/oauth2client.js
You can retrieve the refreshed token here:
oauth2Client.credentials
So:
const that = this;
googleapi.....get({auth: that.oauth2Client}, function(err, response) {
...
    that.oauth2Client.credentials <---- contains the refreshed token
});


How to upload mutiple photos in the same feed

Now Instagram accept multiple photos in the same feed the how can I get this?

Need this too!

#142


tinycc: unstable-2021-10-09 -> 0.9.27+date=2022-01-11

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@06kellyjac look at the new version

I had a look at the change/pr and while I haven't tested it I doubt unstable-xxxx-xx-xx would be accepted by clang ld either so in #181990 I put it back to the 0.9.27+date=xxxx-xx-xx format + the cleaner


fix: normalization to prevent divison-by-zero

Adding a quick fix to prevent divison-by-zero when we un-normalize images.

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 36.13%. Comparing base (97ef45a) to head (e42f3ad).

:white_check_mark: All tests successful. No failed tests found.

Files with missing lines
Patch %
Lines

depthai_nodes/ml/parsers/utils/denormalize.py
0.00%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   36.15%   36.13%   -0.03%
==========================================
  Files          70       70
  Lines        3986     3991       +5
==========================================
+ Hits         1441     1442       +1
- Misses       2545     2549       +4

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


Updated the videoSelectionList to work with Denon Receivers

If VideoSelectList is present, it will work now. Unable to test other brands.

Updated for Denon to make Video Input Select work.


Integrated Tailwind CSS into NeighborhoodAid Project, updated package.json, and created input.css for tailwindcss

added hero section with community image and description


update label for the model mesh pod during rhods install verification

https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1901/