[WLS2] Network share not accessible after boot/resume from standby

Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues.  Please direct all Windows crashes and security issues to<EMAIL_ADDRESS> Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".\
See our contributing instructions for assistance.
Please fill out the below information:

Your Windows build number:  Microsoft Windows [Version 10.0.19041.172]

What you're doing and what's happening:

Map WSL as a network drive via 9P.
Open Explorer Windows to that network drive, browse some folders
Restart your PC / put it to sleep and wake again

What's wrong / what should be happening instead:

Windows should restore those explorer folders on login, instead if errors with "could not reconnect all network drives and closes your explorer windows.

Strace of the failing command, if applicable:  (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

For WSL launch issues, please collect detailed logs.

Here's the error that comes up

This is still an issue with build 19041.264

Bump, I get this issue on restart as well.

In my case, when I'm working in the wsl2 (ubuntu 20.04.2 from the MS Store) and then my machine goes to sleep (ie: during coffee break), when the machine wakes up,  my wls2 distro is no longer listed as "running" and I have to manually start it again so the tools that were connected to the wsl2 pre-sleep (ie: VsCode for example) can reconnect to the wsl2 after the wake up. Quite annoying.
My build is 19042.804

Bump. Any update on this issue? Nothing seems to help.

Sadly not, they've also been super silent about it when asked on Twitter. I assume it's just a Windows issue and not actually WSL but it's really really really annoying.
cc @craigloewen-msft

@craigloewen-msft any chance this could get fixed in Windows 11? Windows 10 would be nice but I understand most dev has been moved to 11 already?

The main challenge that we've had here is reproing it. I've been using this setup on my machine and tried to repro it over the past few days but haven't had any success. I'm on Windows 10 build 22000. Any other tips on reproing this problem?

Sadly not really. That's all there is to it for me, seems to be a recurring issue on Windows though, not even WSL specific:

https://docs.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-network-drive-fail-reconnect
https://www.youtube.com/watch?v=q8KVJdgewNk

I have not tried this one yet: https://www.partitionwizard.com/partitionmagic/could-not-reconnect-all-network-drives.html#:~:text=Disconnect network drive.-,Solution 2. Force Windows “Always wait for the network at computer startup and logon”,-When you start

Sometimes when I launch WSL, I get error messages about the file system being read-only. I see those because my .bashrc sets various things up which complain. Not sure if it's related. Again the "fix" is to shutdown WSL and start it again.

I am also experiencing this issue. Build 19044.1266
I have found that it doesn't happen immediately after a reboot.
Either it takes some amount of time after a reboot or some number of resumes before this issues takes effect.

Damn, issue is now back, even with that GP enabled, on Windows 11 22000.282.

If I attempt to delete a folder stored in WSL of many files from Windows, nine times out of ten Windows Explorer will hang and the entire OS grinds to a halt. I need to logout or reboot, and nearly every time WSL then fails to start until I issue a wsl --shutdown first. The platform just seems really unstable.

This happens to me as well. To get it to work I can simply open a terminal and start wsl back up and immediately everything works.
Windows 11 Home build 22000


feature request: Add vmid to links / create a specific tag for canonical link

https://en.wikipedia.org/wiki/Canonical_link_element
Certainly two components need different canonical urls, and for now there is no way of doing so.

nvm... maybe cache or something, it works okay.


Design guidelines and component design to inform and help further development efforts

It should look very different, and differentiated with regular internet/browser use
Maybe like the page (dashboard) you get when you try to do something on your router?
Different look and feel when using IPFS
The conversation on how to build trust


Sync with upstream from v97 to v107

Up, we now have 10 versions late, we may consider syncing with upstream not too late

Fixed by #10


Added a cache tag.

You can cache the rendering of a portion of a page by using it. Very
useful for static part of a website (a menu/footer for example). It uses
the name and the locale as a key in the cache.
I got a lot of performance improvement by doing so. Our menu/footer uses a lot of function to be constructed and comes from the database, but once constructed, it basically stays the same.
Usage example :
{% cache menu %}
    {% for item in items %}
        {{ item.text }}
        ....
    {% endfor %}
{% endcache %}

Shouldn't a mechanism to invalidate the caches be provided?
Say that you are caching a page's footer with semi-static information. It should be possible for my code to either explicitly say 'Hey, this information has been changed, please purge your cache', or have the cache expire after a little while, so that the new information may be rendered.

I'll make some change to configure the cache in PebbleEngine and pass the reference to the cacheNode. So you'll be able to initialize it with a TTL if you wish or reset the cache.

I'm not so sure if it is a good idea to make a cache per tag. I think a better way would be to use one cache for all tags.
Additionally you build the cache key by combining two strings
String key = this.name + context.getLocale();

You should better use a dedicated object which correctly implements the equals and hashCode methods.

Nice ideas, i'll make changes this week

I've just made changes as @thomashunziker suggested.

I just wanted to say this is great feature! Really looking forward to using this. Good work guys :+1:

Very cool feature :+1:

How about changing cache tag's name from static string to expression, we can get it more powerful.
Like :
{% cache 'item' + item.id %}

... item detail html content

{% endcache %}

I've changed some code and tested it on my machine without expire strategy, seems everything is ok.
Could you please think about this feature?
@ebussieres @mbosecke

@donnior  I've just made a pull request #141 for this feature


Gemini AI models  support

I've been using your excellent extension and find it incredibly helpful. I was wondering if you might consider integrating functionality for the Gemini AI platform in an upcoming release? This addition would greatly enhance the tool's versatility.
Thank you for your consideration and for your ongoing work on this project.
Kind regards,
Enrico

Hi, you can use Gemini with this plugin - first you need to set up OpenAI compatible proxy like littlellm and then configure it as a custom API

Hi madox2,
Thanks for your quick reply. I've set up a proxy with LiteLLM using the following commands:
litellm --model gemini/gemini-pro
INFO:     Started server process [33361]
INFO:     Waiting for application startup.

#------------------------------------------------------------#
#                                                            #
#        'It would help me if you could add...'              #
#        https://github.com/BerriAI/litellm/issues/new       #
#                                                            #
#------------------------------------------------------------#

Thank you for using LiteLLM! - Krrish & Ishaan

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new

INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:4000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:63497 - "POST /chat/completions HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:63497 - "POST /chat/completions HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:63497 - "POST /completions HTTP/1.1" 200 OK

I tested the connection with:
litellm --test

LiteLLM: Making a test ChatCompletions request to your proxy. Model=gpt-3.5-turbo

LiteLLM: response from proxy ChatCompletion(id='chatcmpl-87472afd-9b68-4119-bb91-ee1afccd1e56', choices=[Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content="Midst thoughts profound, a pen in hand,\nA dance of words, at my command.\nIn this test request, I'll try,\nTo weave a poem that meets the eye.\n\nIn ethereal realm, where dreams reside,\nImagination's flight, I cannot hide.\nWith every stroke, a brush of grace,\nA tapestry of words, I'll embrace.\n\nEmotions stir, a symphony of sound,\nIn rhythm's embrace, new depths are found.\nEach verse a canvas, colors bright,\nA world of wonder, takes its flight.\n\nSo here's my humble verse, a test complete,\nA tapestry of words, a heartfelt beat.\nThough short in length, its essence true,\nA glimpse of beauty, just for you.", role='assistant', function_call=None, tool_calls=[]))], created=1720805178, model='gemini-pro', object='chat.completion', service_tier=None, system_fingerprint=None, usage=CompletionUsage(completion_tokens=165, prompt_tokens=11, total_tokens=176))

LiteLLM: Making a test ChatCompletions + streaming request to proxy. Model=gpt-3.5-turbo
LiteLLM: streaming response from proxy ChatCompletionChunk(id='chatcmpl-5a2d6e34-15f5-4b0f-a6da-7dcf75b9b90e', choices=[Choice(delta=ChoiceDelta(content='In verdant fields, where whispers dance,\nA symphony of life, a', function_call=None, role='assistant', tool_calls=None), finish_reason=None, index=0, logprobs=None)], created=1720805183, model='gemini-pro', object='chat.completion.chunk', service_tier=None, system_fingerprint=None, usage=None)
LiteLLM: streaming response from proxy ChatCompletionChunk(id='chatcmpl-5a2d6e34-15f5-4b0f-a6da-7dcf75b9b90e', choices=[Choice(delta=ChoiceDelta(content=' vibrant trance.\nEmerald hues cascade, a gentle breeze,\nStirring the tapestry of rustling trees.\n\nButterflies flutter, their wings a vibrant show,', function_call=None, role=None, tool_calls=None), finish_reason=None, index=0, logprobs=None)], created=1720805183, model='gemini-pro', object='chat.completion.chunk', service_tier=None, system_fingerprint=None, usage=None)
LiteLLM: streaming response from proxy ChatCompletionChunk(id='chatcmpl-5a2d6e34-15f5-4b0f-a6da-7dcf75b9b90e', choices=[Choice(delta=ChoiceDelta(content="\nNature's artistry, a vibrant glow.\nBirdsong fills the air, a cheerful choir,\nGuiding lost souls through dawn's desire.", function_call=None, role=None, tool_calls=None), finish_reason=None, index=0, logprobs=None)], created=1720805183, model='gemini-pro', object='chat.completion.chunk', service_tier=None, system_fingerprint=None, usage=None)
LiteLLM: streaming response from proxy ChatCompletionChunk(id='chatcmpl-5a2d6e34-15f5-4b0f-a6da-7dcf75b9b90e', choices=[Choice(delta=ChoiceDelta(content=None, function_call=None, role=None, tool_calls=None), finish_reason='stop', index=0, logprobs=None)], created=1720805183, model='gemini-pro', object='chat.completion.chunk', service_tier=None, system_fingerprint=None, usage=None)

LiteLLM: making completion request to proxy
Completion(id='chatcmpl-6b5765fe-eeb9-4532-9deb-b8208a42dd4a', choices=[CompletionChoice(finish_reason='stop', index=0, logprobs=None, text="In realms where words dance and thoughts ignite,\nA poet's soul weaves verse with all its might.\nFrom depths of heart, emotions find their voice,\nA symphony of words, a precious choice.\n\nThrough ink and paper, stories gently flow,\nA tapestry of dreams, where truths bestow.\nIn every line, a whisper of the soul,\nA timeless echo, making hearts whole.\n\nSo let the muse inspire, the pen shall roam,\nA poet's journey, where words find a home.\nIn each verse crafted, a world comes to light,\nA testament to beauty, taking flight.")], created=1720805183, model='gemini-pro', object='text_completion', system_fingerprint=None, usage=CompletionUsage(completion_tokens=129, prompt_tokens=11, total_tokens=140))

I've configured the vimrc as follows:
" This prompt instructs the model to work with syntax highlighting
let s:initial_chat_prompt =<< trim END
>>> system

You are a general assistant.
If you attach a code block, add syntax type after ``` to enable syntax highlighting.
END

" :AIChat
" - options: openai config (see https://platform.openai.com/docs/api-reference/chat)
" - options.initial_prompt: prompt prepended to every chat request (list of lines or string)
" - options.request_timeout: request timeout in seconds
" - options.enable_auth: enable authorization using openai key
" - options.selection_boundary: selection prompt wrapper (eliminates empty responses, see #20)
" - ui.populate_options: put [chat-options] to the chat header
" - ui.open_chat_command: preset (preset_below, preset_tab, preset_right) or a custom command
" - ui.scratch_buffer_keep_open: re-use scratch buffer within the vim session
" - ui.paste_mode: use paste mode (see more info in the Notes below)
let g:vim_ai_chat = {
\  "options": {
\    "endpoint_url": "http://localhost:8000/v1/chat/completions",
\    "enable_auth": 0,
\    "max_tokens": 0,
\    "temperature": 1,
\    "request_timeout": 20,
\    "selection_boundary": "",
\    "initial_prompt": s:initial_chat_prompt,
\  },
\  "ui": {
\    "code_syntax_enabled": 1,
\    "populate_options": 0,
\    "open_chat_command": "preset_below",
\    "scratch_buffer_keep_open": 0,
\    "paste_mode": 1,
\  },
\}

However, when I try the AI command, I get the following error:
File<EMAIL_ADDRESS>line 1347, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>

I'm not sure where I've gone wrong. Any guidance would be greatly appreciated.
Thanks,

Not sure but it looks like your proxy is running on port 4000 but you used 8000 in configuration

Not sure but it looks like your proxy is running on port 4000 but you used 8000 in configuration

Yeah, thanks a lot !
E.


Fix spec for platforms with docker 1.7

Docker 1.7 moved the configuration from ~/.dockercfg to
~/.docker/config.json and this is now the version available on CentOS 7.
This change checks the docker version rather than the operating system
so that the check is not bound to the platform.

@hunner thanks!


forcat, dollhouse

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[d,f]

/trunk merge


Cross-build for Native

I think it's blocked by https://github.com/scala-native/scala-native/issues/2712, which will be fixed in next Scala Native release.


AWS API Gateway now supports multi-value parameters but APIGatewayProxyRequest doesn't

Go's standard http.Request has a Query() accessor that returns a map[string][]string (https://github.com/golang/go/blob/master/src/net/url/url.go#L828). This supports requests with multiple query params of the same key name ...?name=foo&name=bar.
The QueryStringParameters field from the APIGatewayProxyRequest is defined as a map[string]string. This prevents doing things easily done with the standard http.request object. Example: Unmarshall URL query parameters using gorilla/schema (https://github.com/gorilla/schema)
The initial issue posted about this can be found here (https://github.com/aws/aws-lambda-go/issues/42)
A statement was made pointing out the limitation was on the APIGateway. This doesn't appear to be the case any longer.
https://aws.amazon.com/blogs/compute/support-for-multi-value-parameters-in-amazon-api-gateway/

#136
The APIGatewayProxyRequest has MultiValueQueryStringParameters for multiple query params.


.Net: ADR proposal for the Semantic Kernel v1.0 project and folder structure

### Tasks
- [ ] https://github.com/microsoft/semantic-kernel/pull/2668

Here, I'll provide a simplified example of what such a proposal might look like using plain text, but typically ADRs are written in a structured document format.
ADR Proposal: Semantic Kernel v1.0 Project and Folder Structure
Context:
The Semantic Kernel v1.0 project aims to provide a robust and flexible foundation for natural language processing and understanding. This ADR outlines the proposed folder structure and key architectural decisions for organizing project files.
Decision:
We propose the following folder structure for the Semantic Kernel v1.0 project:
arduino
SemanticKernel/
├── src/
│   ├── Native/
│   │   ├── Core/
│   │   ├── Components/
│   │   ├── ...
│   ├── Semantic/
│   │   ├── Chat/
│   │   ├── Extractors/
│   │   ├── ...
├── tests/
│   ├── UnitTests/
│   ├── IntegrationTests/
├── docs/
├── config/
├── tools/
Rationale:
src/: The source code for the project is organized under the "src/" directory. It's further divided into "Native" for core functionality and "Semantic" for semantic processing modules.
Native/: This folder contains core components of the Semantic Kernel. It includes the core logic, components, and any shared libraries.
Semantic/: Semantic processing modules are placed under this directory. Each module (e.g., "Chat," "Extractors") has its subfolder.
tests/: Testing is an integral part of this project. The "tests/" directory is divided into "UnitTests" for individual component testing and "IntegrationTests" for testing interactions between components.
docs/: Documentation is essential for understanding and using the Semantic Kernel. This folder contains documentation files, guides, and API reference documents.
config/: Configuration files, such as "config.json" and "skprompt.txt" for semantic skills, are stored here.
tools/: Any development tools, scripts, or utilities related to the project are placed in this directory.
Consequences:
This folder structure provides a clear organization of project files, making it easier for developers to locate and work on specific components.
It encourages modularity by dividing the project into "Native" and "Semantic" sections.
Testing is well-structured, enabling comprehensive test coverage.
Documentation is centralized and easily accessible for both developers and users.
Status:
This proposal is accepted and will be implemented for the Semantic Kernel v1.0 project.
Diagram Structure:
A visual representation of the proposed folder structure:
lua
SemanticKernel
|
|-- src
|   |-- Native
|   |   |-- Core
|   |   |-- Components
|   |   |-- ...
|   |-- Semantic
|       |-- Chat
|       |-- Extractors
|       |-- ...
|
|-- tests
|   |-- UnitTests
|   |-- IntegrationTests
|
|-- docs
|
|-- config
|
|-- tools
The diagram provides a clear visual representation of the folder structure outlined in the ADR proposal.

Moving this out. Planning to meet @shawncal this week to see can we finalise this.

Closing since the status is "Sprint: Done"


Bug: Acrylic DNS and WSL2 Port Conflict Issues

Description
After installing valet-windows, everything appeared to be working great until I rebooted. After the reboot, WSL2 would not launch, which also impacted Docker (uses WSL under the hood in Win 10) and a few other things.
When starting a new instance of WSL (Ubuntu), the following message would appear in the terminal:

Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in C:\Users\jerre.wslconfig
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0xffffffff

After some investigation, it turns out that Acrylic DNS Proxy service was using port 53 (default) which is needed by WSL2 in Windows and since the service was automatically starting, it was able to bind to port 53 first and then block whatever service (svchost.exe >> netsvcs -p) was needed by WSL2.
Following instructions from https://github.com/microsoft/WSL/issues/4364#issuecomment-766760961, I was able to modify %AppData%\Composer\vendor\ycodetech\valet-windows\bin\acrylic\AcrylicConfiguration.ini and changed LocalIPv4BindingPort=54 (was =53).  After running valet restart acrylic, the commands
Get-NetUDPEndpoint | Where {$_.LocalPort -eq "53"} | select LocalAddress,LocalPort,@{Name="Process";Expression={(Get-Process -Id $_.OwningProcess).ProcessName}}

Get-NetUDPEndpoint | Where {$_.LocalPort -eq "54"} | select LocalAddress,LocalPort,@{Name="Process";Expression={(Get-Process -Id $_.OwningProcess).ProcessName}}

showed the expected output:
PS C:\> Get-NetUDPEndpoint | Where {$_.LocalPort -eq "53"} | select LocalAddress,LocalPort,@{Name="Process";Expression={(Get-Process -Id $_.OwningProcess).ProcessName}}

LocalAddress LocalPort Process
------------ --------- -------
::                  53 AcrylicService
<IP_ADDRESS>             53 svchost

PS C:\> Get-NetUDPEndpoint | Where {$_.LocalPort -eq "54"} | select LocalAddress,LocalPort,@{Name="Process";Expression={(Get-Process -Id $_.OwningProcess).ProcessName}}

LocalAddress LocalPort Process
------------ --------- -------
<IP_ADDRESS>             54 AcrylicService

Some alternative suggestions that I didn't try were:

Set the Acrylic DNS service to be Automatic (delayed) start.  In theory, this would give time for the other service that used port 53 to start first, then Acrylic to attempt later (and be denied).

Set LocalIPv4BindingAddress=<IP_ADDRESS> (instead of =<IP_ADDRESS>)

Since the Acrylic configuration change was made in the *.ini managed by valet-windows, what impact would there be for other users to make the above changes part of this package?
Steps To Reproduce
See Description
Diagnosis
N/A

I have now tried the alternative and updated AcrylicConfiguration.ini with:
LocalIPv4BindingPort=53
LocalIPv4BindingAddress=<IP_ADDRESS>

And this also works.
For me, this is the preferred approach since I only want local request to be impacted and not request from other devices on my network (if I were to lower my firewall).

@jerrens I have no idea about WSL2 or docker, as this is specific to Windows and not Linux on Windows. That's great if you've managed to figure it out.
If you would like to create a pull request with the relevant changes, and I can review the code. However, I can not test such solutions with my system not setup for WSL2. So if your tests are successful and it doesn't impact the functionality on standard Windows, then I will be more than happy to merge the PR and publish a patched version.

@yCodeTech Let me experiment with it for a few days to make sure my recommended change doesn't have any side effects.
Also, if any others have run into this problem, and can confirm this fix works for them, that affirmation would be nice.

This change has been working well for me and after reading more of the thread at https://github.com/microsoft/WSL/issues/4364#issuecomment-866700145, this appears to be a recommended solution.
A PR has been submitted.

A patched version has been released as v3.1.4. Thank you for your contribution @jerrens.


[ BUG ] The dest file created by SitemapIndexStream not works on Google Search Console

Describe the bug
The output content not the same as document by https://github.com/ekalinin/sitemap.js/blob/master/api.md#sitemapindexstream,
I got like
<sitemap>
      <loc url="https://example.com/"/>
 </sitemap>

Expected behavior
Expect output to be like this
<sitemap>
      <loc>https://example.com/</loc>
</sitemap>

Context:

Library Version 6.4.0

Cannot reproduce


Fixes issue #668: SlaAlertAction Error

@vvii @juhoautio   Guys, is that correct that class SendEmailAction is never called?

I believe this can be closed, as https://github.com/azkaban/azkaban/pull/673 was merged, fixing the same problem.

#673 was merged. Closing this.


[OTHER] : Improving Website loading and working

Currently

The images on the website are taking time to load as they are in png/jpeg format.

I will convert it into webp format

Advantages of webp over png
Smaller File Size :

WebP images typically have a smaller file size compared to PNG images while maintaining similar image quality. This results in faster webpage loading times, reduced bandwidth usage, and improved overall user experience.

Wide Browser Support:

WebP is supported by major web browsers, including Google Chrome, Opera, and Microsoft Edge. Additionally, popular image editing software like Adobe Photoshop and GIMP provide WebP support, making it easy to work with these files.

Animation Support:

WebP format also supports animation, similar to the GIF format. It can store multiple frames within a single image file, allowing you to create lightweight animations for websites.

change every image there is to webp and also post before and after change in speed of the website and in doing so I will give this a level 3 issue tag

change every image there is to webp and also post before and after change in speed of the website and in doing so I will give this a level 3 issue tag

I think I changed all images


Unrecognized option: -docs

I am getting an Unrecognized option: -docs error when my workflow tries to run:
https://github.com/NYPL/c4-diagrams-DXP/blob/main/.github/workflows/structurizr-cli.yml

Hi @mattkoch614  fixed in https://github.com/aidmax/structurizr-cli-action/releases/tag/v0.2.1
Please check it out.

@aidmax  Fantastic, this solved it! Thanks!


Include a +java option

Now that we have some support for java, let's add an option to use Java for instead of clojure.

After discussion it makes more sense to put this on the backburner for now, as the only kind of teams that would benefit from this would be hybrid clojure/java teams using leiningen.


chore(scheduler): torch 0.12

Hello @LaurentMazare,
I saw you released tch-0.12. This "very cosmetic" PR just brings the API changes introduced after this issue of mine into diffusers-rs.

Thanks!


Build chain

We need a system/process to build changes that conforms to best practices for open-sourced web apps.

How many people do we anticipate contributing code? 3-4? My experience with systems like Jenkins or buildbot is that they require near constant tending and can be tedious to setup. I'm open to suggestions.
Here's what I would like (ideally):

build automation listens for github commit notifies
downloads the world, builds, runs the tests
dumps a little status card to slack with status: person y's change broke / passed / x% coverage

And obviously: the software should build/run from your development environment with a single command. And can/should be added as hook to git-push.
Anyway: I'll assign myself for the moment.

For now I think our main developers are you and me. I don't have a lot of experience with hosted tools like Jenkins. I tend to use grunt on my own system when I need something. I like your ideal situation, I just don't know much about the tools in the space that would get us there.

Have you guys used Travis-CI? I was able to easily get it up and running on my (very simple) gem projects - so, very easy … but I don't know if it's as robust as you want/need.
 Thanks for the suggestion.


Lab742: Configure secure access to your workloads using Azure networking Instructions

Updated step by steps for the following sections.  working on remaining 2.

Virtual Networks
Security and application groups
Firewall

added lab 4 and 5


restart: code=101, text="BAD_SUPVISORS_STATE: Supvisors (state=INITIALIZATION)

Recently we've tried to implement 'supvisors' into our supervisord for easier management using the dashboard, we've encountered an error where the it keep stuck in 'INITIALIZATION' state. We are new to UNIX OS as well as the supervisor, hope that you can help us resolve this issue. Here is error we keep receiving upon re-synchronyzation.
2022-09-19 16:15:45,356;CRIT;SupervisorListener.on_tick: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/supvisors/listener.py", line 265, in on_tick
self.pusher.send_tick_event(payload)
AttributeError: 'NoneType' object has no attribute 'send_tick_event'
2022-09-19 16:15:46,361;INFO;SupvisorsInstanceStatus.state: Supvisors=htv-virtual-machine is CHECKING
2022-09-19 16:15:46,362;WARN;InitializationState.next: synchro timed out
2022-09-19 16:15:46,362;INFO;SupvisorsInstanceStatus.state: Supvisors=htv-virtual-machine is CHECKING
2022-09-19 16:15:46,362;CRIT;SupervisorListener.on_remote_event: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/supvisors/listener.py", line 285, in on_remote_event
self.unstack_event(event.data)
File "/usr/local/lib/python3.10/dist-packages/supvisors/listener.py", line 297, in unstack_event
self.supvisors.fsm.on_tick_event(event_identifier, event_data)
File "/usr/local/lib/python3.10/dist-packages/supvisors/statemachine.py", line 493, in on_tick_event
self.context.on_tick_event(identifier, event)
File "/usr/local/lib/python3.10/dist-packages/supvisors/context.py", line 429, in on_tick_event
self.check_instance(status)
File "/usr/local/lib/python3.10/dist-packages/supvisors/context.py", line 632, in check_instance
self.supvisors.zmq.pusher.send_check_instance(status.identifier)
AttributeError: 'NoneType' object has no attribute 'pusher'
2022-09-19 16:15:46,364;WARN;Context.on_authorization: failed to get auth status from Supvisors=htv-virtual-machine
2022-09-19 16:15:46,364;CRIT;Context.invalid: local Supvisors instance is either SILENT or inconsistent
2022-09-19 16:15:46,364;INFO;SupvisorsInstanceStatus.state: Supvisors=htv-virtual-machine is SILENT
2022-09-19 16:15:46,364;WARN;Context.on_authorization: failed to get auth status from Supvisors=htv-virtual-machine
2022-09-19 16:15:46,364;CRIT;Context.invalid: local Supvisors instance is either SILENT or inconsistent
2022-09-19 16:15:46,364;INFO;SupvisorsInstanceStatus.state: Supvisors=htv-virtual-machine is SILENT
2022-09-19 16:15:46,364;CRIT;SupervisorListener.on_remote_event: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/supvisors/listener.py", line 283, in on_remote_event
self.authorization(event.data)
File "/usr/local/lib/python3.10/dist-packages/supvisors/listener.py", line 338, in authorization
self.supvisors.fsm.on_authorization(identifier, authorized, master_identifier)
File "/usr/local/lib/python3.10/dist-packages/supvisors/statemachine.py", line 604, in on_authorization
if self.context.on_authorization(identifier, authorized):
File "/usr/local/lib/python3.10/dist-packages/supvisors/context.py", line 380, in on_authorization
self.invalid(status)
File "/usr/local/lib/python3.10/dist-packages/supvisors/context.py", line 198, in invalid
self.supvisors.zmq.publisher.send_instance_status(status.serial())
AttributeError: 'NoneType' object has no attribute 'publisher'

Hi Hieu,
My first guess is that PyZmq is not installed. It is a mandatory dependency of Supvisors, as stated in the project README.
I agree that it should be more obvious in the logs and I will raise an exception to the supervisor plugin factory.
Cheers,
Julien.

I've already installed PyZMQ, at first I though it was a version conflic since you stated that it requires PyZMQ 20.0.0, an earlier version. I've tried to downgrade the version and this error still occurs.

ok. could you please send me the full logs and your configuration files (supervisord.conf / XML rules) ?

I've just noticed that you are using python 3.10
Supvisors has not been tested against this version.
The tests are performed with python versions between 3.6 and 3.9.
So this is a possible root cause, I'll check that.

Somehow when recreating new supervisord.conf file the interface just work perfectly. My config file for testing is written as follow:
[inet_http_server]
port=:60000
[supervisord]
logfile=/tmp/supervisord.log
logfile_backups=10
loglevel=info
pidfile=/tmp/supervisord.pid
nodaemon=false
umask=002
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=http://localhost:60000
;[rpcinterface:supvisors]
;supervisor.rpcinterface_factory = supvisors.plugin:make_supvisors_rpcinterface
;[ctlplugin:supvisors]
;supervisor.ctl_factory = supvisors.supvisorsctl:make_supvisors_controller_plugin
[rpcinterface:multivisor]
supervisor.rpcinterface_factory = multivisor.rpc:make_rpc_interface
[include]
files = /etc/supervisor/conf.d/*.ini
This problem does not exist when i'm testing other interfaces for supervisor.

It seems like the problem laid in my config file was using unix socket based on the supervisor's configuration file while your interface require using localhost with a specified port.

that's the first thing I checked in your configuration file but it looked ok.
Supvisors uses the Supervisor XML-RPC to communicate over multiple hosts so it indeed requires an internet socket, not a unix socket.


update data_source_network_device documentation

https://github.com/equinix/terraform-provider-equinix/blob/c33625aec7830b1511be8aa6994c22d61cc739f2/equinix/data_source_network_device.go#L304
metro_code along with many other attributes of this DS are not reflected in the documentation
https://registry.terraform.io/providers/equinix/equinix/latest/docs/data-sources/equinix_network_device
And the field zone_code doesn't appear listed in the API documentation https://developer.equinix.com/catalog/network-edgev1#operation/getVirtualDeviceUsingGET

Close in favor of #309


Update start vm on connect default options per host pool type

Modify default values for start vm on connect setup.
For personal it should be enabled
For pooled it should be disabled and show option for scaling plans once GA

Functionality added


Article updates

Is it possible to update picture with more high resolution and add link to the policy samples?

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

ID: 1bc7261c-bd34-03ef-cdff-4a994b8113a1
Version Independent ID: 5d5f976e-bc4c-e256-18b5-d6262b9646ab
Content: Manage user access in Azure Active Directory B2C
Content Source: articles/active-directory-b2c/manage-user-access.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@krasnovandr Thank you for the valuable feedback,we are investigating the issue.

@krasnovandr I have assigned the issue to the content author to check on your feedback and update as appropriate.

@MohitGargMSFT  Are there any updates?

@davidmu1 Please help with an update here.

Revised the image and added a link to the getting started article for custom policies.
#please-close

@krasnovandr We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Sorry but I can't see any changes regarding the article.


disableHugoGeneratorInject on RSS Template

Referencing the issue #3453
The default RSS template currently generates the generator tag on RSS page
<generator>Hugo -- gohugo.io</generator>
https://github.com/gohugoio/hugo/blob/05a74eaec0d944a4b29445c878a431cd6ae12277/tpl/tplimpl/embedded/templates/_default/rss.xml#L19
Currently disableHugoGeneratorInject disables RSS tag only on homepage but it doesn't affect generator tag on RSS page.
Proposal: My suggestion is to support the disableHugoGeneratorInject on RSS page as well and make it a default behavior of the template.

The disableHugoGeneratorInject is very HTML specific and something we inject into the HTML output. This isn't the same. If you don't want the generator tag, create your own template.


How to get multiple result as Android Speech Recognizer.

I'm going to get String list like on standard speech of Android.
How to config the Speech for that?

Just follow usage. The list you want is in the partial results callback method


implement aws_dynamodb_table primitive module

As a platform engineer,
I'd like to create aws_dynamodb_table resource via TF-controller.

Hi @JamWils @josefaworks
Is it possible for you to help refine this ticket, as this feature is required by @steve-fraser?

This is for ww infrastructure for terraform backends.
This will also be used for internal WGE provisioning for create a s3 bucket for the tf-controller

@chanwit why can't the tf-controller do this today?

Here's the context.
Before v0.13, every TF-controller use need to prepare 1. YAML files and 2. Their own TF files.
In v0.13.0, we have introduced the preview version of AWS package, a ready-to-use OCI bundle. So that the platform operators can use the package out of the box without writing Terraform files themselves.
(This feature gives a Crossplane-like experience to users.)
Currently, the alpha version of the package contains only subsets of the AWS resources. We opt out aws_dynamodb_table because it uses a complex HCL.
Now as it's required by our infra team, we would take this opportunity to polish a UX of the TF-controller from this angle.

Still relevant @chanwit?

We can close it for now.


fix an issue that delete token does not trigger token refresh notification or delegate

Issue #5338: When a token is deleted by calling deleteToken method, messaging doesn't trigger FIRMessagingRegistrationTokenRefreshedNotification notification or calling the FIRMessagingDelegate messaging:didReceiveRegistrationToken: method.
Hence the token parameter in the delegate API messaging:didReceiveRegistrationToken:should be nullable, a change we might need to get in the next breaking change API.
Note: I was trying out combine with FIRMessagingRegistrationTokenRefreshedNotification and want to use token refresh notification/delegate to update the environment variable identity to reflect on UI rather than manually updating UI label as it might not reflect the real values of identity, then I discover this issue.

yeah, I left the public API header change out of this PR.

I will kick out a separate PR for the integration test for this as we have configuration needs to be done.


improve error messages when specifying invalid arguments

Don't keep running when doing so. How do we feel about c++14? Specifically user defined literals for strings.

The Bittorrent bootstrap servers are using gcc 4.8 which doesn't support C++14. I can ask IT to upgrade them, but I suspect it will be rather low priority for them.

ah.. the last version to not support them :/ Ok, I'll update this

I've confirmed that this is supported by GCC 4.8.1 here:
http://gcc.godbolt.org/#compilers:!((compiler:g481,options:'-O3+-std%3Dc%2B%2B11',source:'%23include+<string>
+
std::string+operator+""+_s(const+char*+str,+size_t+len)
{+return+std::string(str,+len)%3B+}

int+main()
{
++char+const*+literal+%3D+"foo"%3B
++
++if+(literal+%3D%3D+"foo"_s)+{
++++printf("yes\n")%3B
++}+else+{
++++printf("no\n")%3B
++}
}
')),filterAsm:(commentOnly:!t,directives:!t,labels:!t),version:3

lgtm


Feature Request

Missing functionality
The data generated is rarely what I need for modeling
Proposed feature
Hi, if I have 10 features of x1/x2/x3 etc, is it possible to customize x1 & x2 and then use CTGAN to fill in the remaining attributes?
Alternatives considered
No response
Additional context
No response

Hi @ZhuTouG ,
ydata-profiling is not a synthetic data generation project. Perhaps your request is for the ydata-synthetic (https://github.com/ydataai/ydata-synthetic) instead?


App Insights parity

Bring app insights functionality in parity with https://github.com/Microsoft/botbuilder-dotnet

Afaik, We should be at parity for Django and Flask.. Tornado just starting to create samples for..

Solved in Preview 2


HTTP module logs user level errors to ballerina-internal.log

The following is an excerpt from a code of mine
    resource function listfiles(http:Caller caller, http:Request req) returns error? {
        system:FileInfo[] fileList = checkpanic system:readDir(rootDir);
        File[] files = [];
        int i = 0;

        fileList.forEach(function (system:FileInfo info) {
            files[i] = {name: info.getName()};
            i += 1;
        });

        json[] respPayload = checkpanic json[].constructFrom(files);

        var result = caller->respond(respPayload);
    }

If an invalid path is given to rootDir, the error message is both, logged to the console and logged to the ballerina-internal.log
Given below is the entry to the ballerina-internal.log:
[2019-08-15 17:29:06,120] ERROR {org.ballerinalang.jvm.scheduling.Scheduler} - Strand died
error: {ballerina/system}InvalidOperationError message=File doesn't exist in path ~/Downloads cause=null
	at ballerina:readDir(system.bal:96)
	   pubudu.file_server.$value$fileService__service_0:listfiles(fileservice.bal:23)
[2019-08-15 17:29:06,138] ERROR {org.ballerinalang.net.http.HttpUtil} - {ballerina/system}InvalidOperationError:File doesn't exist in path ~/Downloads

This is fixed now.


Clock-control device for PWM clock source

Adds a clock control device for a PWM node, such that the PWM
can be controlled using the clock control api.
It is a similar idea to the device driver in linux:
linux/Documentation/devicetree/bindings/clock/pwm-clock.yaml
This PR has a dependency on PR: https://github.com/zephyrproject-rtos/zephyr/pull/59095
to properly compile the sample.

@talih0 Please rebase.

Can we split out the board specific changes to a separate PR and remove the dependency on https://github.com/zephyrproject-rtos/zephyr/pull/59095 ?

Please split in two PRs, one for the board specific changes, one for adding the PWM clock source driver and tests.

yes, I have a separate PR for the xmc4xxx PWM drivers.
Currently the sample for PWM clock source depends on the driver code. I'll prepare a sample for a different board, where the PWM driver is already supported.

I replaced the board in the sample to sam_v71_xult

I am not sure I fully understand the need for specifying the clock frequency in the devicetree?

When we define the PWM target frequency in the devicetree via:
pwms = <&pwm_ccu40 3 PWM_HZ(12000000) PWM_POLARITY_NORMAL>;
The frequency 12MHz gets converted to whole nanosecond units (stored in struct pwm_dt_spec). The period needs to be 83.333.. ns, but it gets rounded down to 83ns causing an incorrect output frequency.
When the 12MHz is set via the dts clock-frequency, the period is converted to PWM clock ticks (which may be a whole number, but it also depends on the PWM configuration).
I tried to use the same approach as in:
https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/clock/pwm-clock.yaml

Also, the sample has limited use. Have you considered writing a test suite instead?

sounds good, I'll convert it to a test.

Also, the sample has limited use. Have you considered writing a test suite instead?

sounds good, I'll convert it to a test.

I converted the sample to a test. Below is the output on sam_v71_xult board:
$ scripts/twister --device-testing --device-serial /dev/ttyACM0 --device-serial-baud 115200 --platform sam_v71_xult --west-flash --fixture console -T tests/drivers/clock_control/clock_pwm/
ZEPHYR_BASE unset, using "/home/andriy/zephyrproject/zephyr"
Renaming output directory to /home/andriy/zephyrproject/zephyr/twister-out.4
INFO    - Using Ninja..
INFO    - Zephyr version: zephyr-v3.4.0-754-ge7f147f67ff0
INFO    - Using 'zephyr' toolchain.
INFO    - Building initial testsuite list...
INFO    - Writing JSON report /home/andriy/zephyrproject/zephyr/twister-out/testplan.json
Device testing on:

Platform
ID
Serial device

sam_v71_xult

/dev/ttyACM0

INFO    - JOBS: 8
INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
INFO    - Total complete:    1/   1  100%  skipped:    0, failed:    0, error:    0
INFO    - 1 test scenarios (1 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO    - 1 of 1 test configurations passed (100.00%), 0 failed, 0 errored, 0 skipped with 0 warnings in 32.97 seconds
INFO    - In total 1 test cases were executed, 0 skipped on 1 out of total 581 platforms (0.17%)
INFO    - 1 test configurations executed on platforms, 0 test configurations were only built.
Hardware distribution summary:

Board
ID
Counter

sam_v71_xult

1

INFO    - Saving reports...

INFO    - Writing JSON report /home/andriy/zephyrproject/zephyr/twister-out/twister.json

INFO    - Writing xunit report /home/andriy/zephyrproject/zephyr/twister-out/twister.xml...

INFO    - Writing xunit report /home/andriy/zephyrproject/zephyr/twister-out/twister_report.xml...

INFO    - Run completed

I rebased to fix merge conflics.
Also, ping pls

I also added xmc45/47 relax kit overlays for the test (now that the xmc pwm driver is merged).

@henrikbrixandersen, could you have another look, please? hope this can get in for 3.5


Conflicts and questions about Shared Runtime ( Browser Runtime Type)

[Enter feedback here]
Hello,
In both Javascript only and Browser Runtime types it's mentioned that Local Storage is supported but in a note is specified that Local Storage won't work in JS Only Runtime. I don't have access to Local Storage in JS Only Runtime and the 1st question is:
1- Is there any way to share data or use some sort of storage like Local Storage in JS Only Runtime?
2- In Excel, using shared runtime which is the preferred and suggested runtime, how is the session management done? I expected the session to be shared and things like UNDO Stack won't be cleared! Can you explain a little bit more about the session management and how is it affecting something like UNDO stack if this is the case?!

Thankyou

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

ID: 73db650a-1e4d-3488-a5b0-3950366a789f
Version Independent ID: 73db650a-1e4d-3488-a5b0-3950366a789f
Content: Runtimes in Office Add-ins - Office Add-ins
Content Source: docs/testing/runtimes.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

I am researching your first question, but I suspect that LocalStorage is not supported by the JS-only runtime. Either way, I will clarify the documentation to remove the contradiction.
Regarding your second question, a shared runtime has a single session with the web app server. I'm not clear on what you mean by the UNDO stack. Could you elaborate?

Thanks. Your second issue is being tracked on this issue: Undo unavailable after running custom functions in Excel. It had mistakenly been tagged as inactive. I have fixed the tag and sent an email to the engineer who is working on it.
I'm still waiting to hear from the engineers about your first question.

Thanks for the update,
regarding this thread  you mentioned, I've seen that and I have shared my videos on that but generally there is a difference between Shared Runtime and JS only Runtime behavior regarding UNDO stack! The repo mentioned in that thread is JS Only Runtime and I don't see such an issue unless I open the Task Pane, but in Shared Runtime every Custom Function Run will cause the UNDO Stack to clear, that's why I'm trying to understand the session management in shared runtime and its relation with UNDO stack.


define "built-in Maven feeds" (and differentiate Maven task's mavenFeedAuthenticate argument from MavenAuthenticate's artifactsFeeds

The docs for the Maven task describe the mavenFeedAuthenticate argument as follows:

Authenticate built-in Maven feeds |
(Required) Automatically authenticate Maven feeds from Azure Artifacts. If built-in Maven feeds are not in use, deselect this option for faster builds.Default value: falseArgument aliases: mavenAuthenticateFeed

It's not quite clear what "built-in Maven feeds" are; the term isn't used elsewhere (for as far as I can tell).
To my mind, it's Maven Central - the repo maven uses when nothing else is defined. What is probably meant, though, is Maven feeds defined in Azure Artifact Feeds, including public feeds for Maven Central, if configured.
A clarification in the docs for the Maven pipeline task would be nice, along with links to the right documentation for the sort of feeds it refers to. Maybe also an explanation how that parameter relates to the Maven Authenticate task's artifactsFeeds - they both seem to do the same thing...?

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

ID: 81921de1-7801-99b8-30ff-92530ceb49b2
Version Independent ID: 50fb21ad-2049-fd80-db73-3d78c305cdac
Content: Maven build and release task - Azure Pipelines
Content Source: docs/pipelines/tasks/build/maven.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @vijayma
Microsoft Alias: vijayma

@anno1985 Thank you for your feedback!
+@ankit348 @daneshbadlani @jorfde

@ankit348 @daneshbadlani @jorfde - Any updates on this?


Avatar not displayed when hide email address

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
Did it on the try gitea here : https://try.gitea.io/ejouvin/MyPRTest
I've create a new account and put a different email address for the avatar and the profile.
On first commit, the email address is not hidden. The avatar is "well" displayed.
After setting my email as hidden, but the email for avatar is correct, the avatar is not displayed for next commit.
Then I set the email address as visible, and avatar is correctly displayed for next commits.
Is it correct that hidding email has impact on the avatar displaying ?
It could be the case if the profile email is same as avatar email, but in other case I am not sure.
...
Screenshots

Yes it is current behaviour as users are identified by email


Long tables, formulas, code blocks, etc. break website width / overall site scrolling

Describe the bug
Long (width-wise) elements in an article break the overall style of the site, especially on mobile.
To Reproduce
Steps to reproduce the behavior:

Set up the website from scratch.

$ hugo new site test-site-20231005
$ cd test-site-20231005/
$ git init
$ git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
# set up the basic configuration from the documentation

Create a post with this content and note that the table extends out of the viewport width on mobile (left-most screenshot below).

+++
title = 'Test Post'
+++

| Table LongHeader 1 | Table LongHeader 2 | Table LongHeader 3 | Table LongHeader 4 |
|--------------------|--------------------|--------------------|--------------------|
| content 1          | content 2          | content 3          | content 4          |

Create a post with this content and note that the equation extends out of the viewport on mobile and breaks out of the website width compared to the header (middle screenshot below).

+++
title = 'Test Post'
+++

{{< katex >}}

$$
\int_2^3 \exp(10^x) \, dx = \left[ \frac{10^x}{\ln(x)} \right]_2^3 = \frac{10^2}{\ln(2)} - \frac{10^1}{\ln(1)} \approx 765.97
$$

Create a post with this content and note that the long inline code block extends out of the viewport on mobile and breaks out of the website width compared to the header (right-most screenshot below).

+++
title = 'Test Post'
+++

Some long sentence referring to a very long bit of encoded data, say `gIkEdOl6WqnbMRhEsezBB8STzq0oTf9gOK1aqqf9fKKEysdkmymzsz3SXl02Y809`, before continuing onwards.

Expected behavior
The long article content either gets a scrollbar or broken onto multiple lines.
Screenshots

Desktop (please complete the following information):

OS: Linux Mint, Windows 10, iOS, and Android
Browser Chrome and Firefox

Hugo & Blowfish versions
Which version of Hugo and Blowfish are you using?
hugo v0.119.0 and the Blowfish repository from today, though the issue has persisted for a few months, at least.

should be fixed


Fix list spacing OR printing HTML elements

When printing lists, there's too much space between list itens. This is caused by "white-space: pre;" from the id "console", index.css.
See last print screen, with "white-space" disabled.

The problem here is that if you disable "white-space: pre;", things like PHP_EOL doesn't work anymore.
If you mean to simulate a terminal, transform strings printed like ">" into html entities should do the trick, so things such as this list doesn't work anymore, and then it's working like a terminal.
And I'm writing everything in english to preserve your choice of opening every issue in english :v

The output should be in "terminal-like" appearance.
I guess a good option is to add a "Show as HTML" option.

Indeed it is. In terminal-like appearance, like I said, transform strings into html entities to avoid printing something like lists. Then, the "show as HTML" don't use "white-space:pre;", avoiding space between list itens, among other things.

Solved.


Update documentation for telegram sink

The documentation for 'Telegram Sink Configuration Settings' has been significantly expanded and improved for better user understanding. A 'Table of Contents' section has now been included along with detailed descriptions of the configuration classes, enumeration options, and even usage examples. This change was done in order to offer a comprehensive guide

Documentations hosts on the Wiki Pages now. Visit them to learn more!


RouteValueDictionary can lead to reflection issues

When instantiating a RouteValueDictionary with a list of constraints, I got an exception stating the Comparer property IOrdinalConstraint needed to be of type string or IRouteConstraint.
This code fixed the issue
var constraints = new RouteValueDictionary();

foreach (var kv in route.Constraints)
{
  constraints[kv.Key] = kv.Value;
}

instead of
var constraints = new RouteValueDictionary(route.Contraints);

I think that it happens when the constructor is called twice in a raw on constraints. In my case I did it on the result of a call to MapAreaRoute which does that already.

Moving it to routing.


How to Dismiss Progress Dialog?

@afollestad How to dismiss the Material Dialog's Progress Dialog when operation is completed. Thanks.

With the dismiss() method. Same as a stock Dialog.

Look at the README file and sample project.

But there is no such method. I am showing dialog.show() & after operation is completed in background, I want dismiss the dialog. But there is no dialog.dismiss() method

There is, MaterialDialog inherits android.app.Dialog. The Builder instance
is not a dialog itself.
On Mon, Jun 29, 2015, 5:34 PM mtwn105<EMAIL_ADDRESS>wrote:

But there is no such method. I am showing dialog.show() & after operation
is completed in background, I want dismiss the dialog. But there is no
dialog.dismiss() method
—
Reply to this email directly or view it on GitHub
https://github.com/afollestad/material-dialogs/issues/597#issuecomment-116868308
.

--
Best regards,
Aidan Follestad,
http://aidanfollestad.com
651-528-1662

Again, look at the README file or sample project. That's what it's for.
On Mon, Jun 29, 2015, 6:00 PM Aidan Follestad<EMAIL_ADDRESS>wrote:

There is, MaterialDialog inherits android.app.Dialog. The Builder instance
is not a dialog itself.
On Mon, Jun 29, 2015, 5:34 PM mtwn105<EMAIL_ADDRESS>wrote:

But there is no such method. I am showing dialog.show() & after operation
is completed in background, I want dismiss the dialog. But there is no
dialog.dismiss() method
—
Reply to this email directly or view it on GitHub
https://github.com/afollestad/material-dialogs/issues/597#issuecomment-116868308
.

--
Best regards,
Aidan Follestad,
http://aidanfollestad.com
651-528-1662

--
Best regards,
Aidan Follestad,
http://aidanfollestad.com
651-528-1662

Ok I am sending the code.
//operation started
MaterialDialog.Builder dialog new MaterialDialog.Builder(MainActivity.this);
dialog.title="Operation Started";
dialog .content="Please Wait...";
dialog .progress(true,0);
dialog .cancelable(false);
dialog .show();
//After some time when
//Operation Completed
dialog.title="Operation Completed";
dialog.neutraltext="Dismiss";
dialog.show();
But when I click Dismiss, the second dialog dismisses but first one can't.
On 30-Jun-2015 4:31 am, "Aidan Follestad"<EMAIL_ADDRESS>wrote:

Again, look at the README file or sample project. That's what it's for.
On Mon, Jun 29, 2015, 6:00 PM Aidan Follestad<EMAIL_ADDRESS>wrote:

There is, MaterialDialog inherits android.app.Dialog. The Builder
instance
is not a dialog itself.
On Mon, Jun 29, 2015, 5:34 PM mtwn105<EMAIL_ADDRESS>wrote:

But there is no such method. I am showing dialog.show() & after
operation
is completed in background, I want dismiss the dialog. But there is no
dialog.dismiss() method
—
Reply to this email directly or view it on GitHub
<
https://github.com/afollestad/material-dialogs/issues/597#issuecomment-116868308

.

--
Best regards,
Aidan Follestad,
http://aidanfollestad.com
651-528-1662

--
Best regards,
Aidan Follestad,
http://aidanfollestad.com
651-528-1662
—
Reply to this email directly or view it on GitHub
https://github.com/afollestad/material-dialogs/issues/597#issuecomment-116875042
.

MaterialDialog.Builder builder = new MaterialDialog.Builder(this)
    .title(R.string.title)
    .content(R.string.content)
    .progress(true, 0)
    .cancelable(false);
MaterialDialog dialog = builder.show();
// do work
dialog.dismiss();

MaterialDialog.Builder is not a dialog, build() and show() of MaterialDialog.Builder return a MaterialDialog. This is how AlertDialog.Builder from the stock framework works too.

Oh is it so simple. Thanks a lot for your time. Excellent libraries from
you.
On 30-Jun-2015 9:05 am, "Aidan Follestad"<EMAIL_ADDRESS>wrote:

MaterialDialog.Builder builder = new MaterialDialog.Builder(this)
.title(R.string.title)
.content(R.string.content)
.progress(true, 0)
.cancelable(false);MaterialDialog dialog = builder.show();// do work
dialog.dismiss();
—
Reply to this email directly or view it on GitHub
https://github.com/afollestad/material-dialogs/issues/597#issuecomment-116934203
.


opt fill schema and table name in protocol column def (#38126)

pick from master #38126
according to mysql text protocol Protocol::ColumnDefinition41, should fill schema name, table name into it if column from table.

run buildall


isDef()

Reading the source I have noticed plenty (~60) occurrences of !isUndef(). To make code more readable I suggest to replace them with newly introduce isDef() one-liner.

As far as a style is a matter if taste, I guess the issue must be closed.

Thank you for the suggestion. That is a fine idea! 459c46e22 carries it out :)


Material Design Components & Responsive Design

It would be nice to have a modern look user interface such as Material Design.
While starting a new GUI it could make sens to focus on the latest GUI trends.

Responsive Design :
Most users are now consuming GUIs from smartphones and tabletes.
A modern GUI shall adapt aswell to those devices easily to be adopted.
Developping using a  GUI framework , even if you aim at desktop, will bring you at some point to port it to a smartphone or tablet (most of the time)

Example of other frame work following material design & responsive design : https://vuetifyjs.com/en/

All of these things have been implemented in v2, which is still under development.


PLAT-11359: Garnet: Fixes samples with new Title

Issue
: Since Title ux will change in garnet, samples which use title should
be modified with this change.
Fix
: Fixed samples to adopt new Title api
https://jira2.lgsvl.com/browse/PLAT-11359
Enyo-DCO-1.1-Signed-off-by: Mikyung Kim<EMAIL_ADDRESS>

It looks fine to me, bu we need SVL enyo team's review.


Un-pin message-ix version in Documentation and Conda CI workflow

Since https://github.com/conda-forge/admin-requests/pull/385 got merged the latest version of message-ix gets again installed via conda install message-ix.
This PR

adjusts the documentation for the steps to install  message-ix via Anaconda and
un-pins the message-ix version in the conda CI workflow.

Closes https://github.com/iiasa/message_ix/issues/558.
FYI: Locally the time to solve the environment takes now around ~7 minutes.
How to review
Note the CI checks all pass.
PR checklist

[x] Continuous integration checks all ✅
[x] Add or expand tests; coverage checks both ✅
~Add, expand, or update documentation.~
~Update release notes.~

@LauWien great news, this appears to work!
The solve times are not too long. The Windows jobs get the correct version of message-ix; however, they still fail because of the pint issue we are tracking. pint 0.19.2, that should contain the fix I contributed, is on PyPI but not yet on conda-forge (conda-forge/pint-feedstock#49).

If that gets merged quickly, the Windows jobs should again pass.
If not, we can insert pip install pint>=0.19.2 to override the version from conda-forge.

NB. that just before we merge this (after confirming that install workflow runs and the docs match) we should git rebase -i and "drop" the one commit with TEMPORARY in the name.

NB. that just before we merge this (after confirming that install workflow runs and the docs match) we should git rebase -i and "drop" the one commit with TEMPORARY in the name.

Thank you! The workflow runs now through (here) and already dropped the commit with the TEMPORARY name. For the documentation I opened a different PR #588, or should we add the commits I made there here and change the title from this PR to a more general title like "Un-pin message-ix version in conda" or so and link the issue https://github.com/iiasa/message_ix/issues/558 directly?

I unfortunately cannot ask for your review, does everything looks good to you @khaeru? The workflow runs now through (here).

Looks great! Please do the honours.

Thanks you!


Add parsing rule for hexadecimal values

Typst allows for C-style hexadecimal strings (0xff) as unsigned integers in code contexts. Currently, the grammar shows (ERROR) for these values

The grammar does support this notation, maybe the bug is due to context. Can you try to isolate the bug, like find the minimal code to produce the error?

Found the bug, my session was pointing to a different pointer


Device tracker remains home if Home Assistant is restarted

Home Assistant release with the issue:

0.69.1
Last working Home Assistant release (if known):
unknown
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

Router based device trackers
Description of problem:
A device that was home when Home Assistant is running, and then becomes not_home while Home Assistant is stopped will remain home after Home Assistant is restart until that device connects/disconnects from the router again.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
device_tracker:
  - platform: unifi_direct
    host: 192.168.X.X
    username: USER_NAME
    password: PASSWORD
    new_device_defaults:
      track_new_devices: False

Traceback (if applicable):

Additional information:
This was reported by a user in the forum and I was able to recreate it. @balloob indicated this isn't the desired behavior. I have been unable to find a solution so far.

This is the same for all device trackers, not just router based.
They won't change status until they get another update, so even the GPS ones will still show home until the phone moves again or the update interval is reached (but even then it's because the phone is providing it's location different to home, not because homeassistant has asked for it).

HA version 0.82.1 still with the same issue.


error while syncing

tapajos_vegation
tapajos_roads
error:
TypeError: Cannot read property 'length' of undefined
    at Request._callback (/vagrant/src/services/layer/hooks/index.js:244:31)

could be layer Tapajos_lulc_2012_storymap (from Layer 2 - Tapajos vegetation data) or Tapajos_roads_storymap (from Tapajos main roads data)

ArcGIS can't generate a valid GeoJSON probably because multipolygon features are too big. Layer property status is set to failed_sync.


AdSchedule type doesn't match actual data type

In the Player.tsx, an adsData prop uses the AdSchedule type. This type is defined as follows:
export type AdSchedule = {
  adscheduleid?: string;
  client: string;
  schedule: string;
};

However, the data seems to differ from the type above:
{
    "rules": {
        "startOnSeek": "pre",
        "timeBetweenAds": 0
    },
    "client": "vast",
    "schedule": [
        {
            "tag": [
                "https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_preroll_skippable&sz=640x480&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=__random-number__"
            ],
            "type": "linear",
            "offset": "pre",
            "skipoffset": 5
        }
    ],
    "adscheduleid": "S2FKhc4J"
}

@AntonLantukh @dbudzins
I think this is caused due to the type casting in the ApiService:
https://github.com/jwplayer/ott-web-app/blob/f52a0f3377ed1c0d22e47f27995c597d7ec71e55/packages/common/src/services/ApiService.ts#L238-L247
Do we want to verify the data using yup instead of assuming the type? 🤔

@ChristiaanScheermeijer I would just modify the AdSchedule type not including yup in checks. yup looks like a good choice for some complex checks we have for AppConfig , but here I would just rely on the api docs (something we need to update):
https://docs.jwplayer.com/platform/reference/get_v2-advertising-schedules-ad-schedule-id-ad-schedule-extension


prettify java-packages/codesnippet-maven-plugin readme java snippets

This is just waiting for a review


IGNITE-11841 Dump page history info in FailureHandler on CorruptedTreeException

The ticket is resolved, closing PR.
Please close PRs for your resolved tickets and other non-needed PRs.
Alternatively, ask a committer

to use GitHub UI (committer can associate accounts here: https://gitbox.apache.org/setup/ )
or /scripts/apply_pull_request.sh from Apache Ignite source.
or mention in commit message 'Fixes #(a number of PR)'.

These methods will automatically close PR.
Feel free to reopen this PR if it is actual.


experimental: use serverless for website

oh, that's interesting, not expected.

Hmm, I don't know how it happens (to be 200 instead of 404).
Help wanted.

Add some log, found issue

What's the issue??

ctx.res === undefined

What's the issue??

ctx.res === undefined

But, then it should be handled by app.notFound, no? At least, waku start on localhost works fine.

But, then it should be handled by app.notFound, no? At least, waku start on localhost works fine.

I'm having a similar 404 issue on my cloudflare pages deploy. I have a console.log in app.notFound and verified it runs. Something must modify the response or the ctx after that. https://fc7720e6.waku-test.pages.dev/asdf
If you build the project and then run the dist output instead of the vite dev server, you should be able to reproduce it locally. I'm going to see if I can set up a step debugger to figure it out.

Fixed by #796.


Error: Could not find command 'unzip'

consul and consul-template fail to install because of this

:+1:


APEXMALHAR-2290 Optimization to fetch meta data in JdbcPOJOInsertOutput Operator.

@bhupeshchawda @chinmaykolhatkar please review

@bhupeshchawda  @chinmaykolhatkar  have made the code changes as discussed on dev mail thread. Travis build has passed have done testing. Please review

@Hitesh-Scorpio Please revert any changes which are not relevant or outside the scope of this Jira.
If you feel anything else outside the scope of this Jira needs a change, please log a new Jira and work on it.

@Hitesh-Scorpio Please revert any changes which are not relevant or outside the scope of this Jira.
If you feel anything else outside the scope of this Jira needs a change, please log a new Jira and work on it.

@chinmaykolhatkar Have made the changes as per your suggestions. Please review

Looks good to me. One last comment, Please add javadoc description for columnNamesSet for method populateColumnDataTypes.
Once above is done, Please rebase with latest apache/master and I can merge it.


Is it possible to obtain higher-fps dataset?

I noticed that the provided dataset is in 10fps. Is it possible to release the original full fps camera data?

No, we don't provide that. Why do you need more than 10fps?

@peisun1115 I am studying the trade-off between object detection latency and computation budget. An example question would be: given higher fps, but lower computation budget for every single frame, will that always reduce the latency to detect objects (of course not) - if not, what fps would be the best choice?

OK. that is interesting to know. We don't provide data more than 10fps for now.


docs(changeset): add zod contract package

resolves #117

Sure, will rebase, should not be too bad


#3463 fix existing user defined field when using multi datasource

Description

fix existing user defined field when using multi datasource
Related Issue : #3463

How Has This Been Tested?

See the issue #3463
Need additional checks?
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 2


[FEATURE] Buy Ticket by ETH

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This is a duplicated issue. Please refer #2


No State History for Command Line Sensors

Home Assistant release with the issue:
0.90.2
Last working Home Assistant release (if known):
Unknown
Operating environment (Hass.io/Docker/Windows/etc.):
Hassbian on Raspberry Pi3 B Plus
Component/platform:
CPU temperature/command_line
https://www.home-assistant.io/components/sensor.command_line/#cpu-temperature
Description of problem:
No State history Found
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
### CPU Temperature
  - platform: command_line
    name: CPU Temperature
    command: "cat /sys/class/thermal/thermal_zone0/temp"
    unit_of_measurement: "°F"
    value_template: '{{ (value | multiply(0.001) * 1.8 + 32) | round(1) }}'

Traceback (if applicable):

Additional information:
I have a command line sensor configured to get my Pi CPU Temp, the sensor works and shows the Temp, but no history is available for the sensor, I have history for all other types of sensors, even tried deleting the database, is this the normal behavior for command line sensors, or is something wrong somewhere, this sensor has been configured, and functional ever since I started with HA back in March 2016, and I don’t remember ever seeing any history data.

I also noticed there is No Sate History for any of my command_line sensors or switches, and the cpu_speed sensor.

How does your recorder config look like? Just tested this in a fresh environment and worked fine with history.

recorder:
purge_interval: 1
purge_keep_days: 14

No idea how I can troubleshoot this issue?


Route rules by method, specially for proxy requests

Describe the feature
Hi,
I have an endpoint I want to proxy to another api, I only want to proxy GET requests, currently there is no way it can be done , if there is a way kindly point me.
Having a method in proxy route rules will help in moving access logic from remote backend to nuxt/ nitro endpoint
Additional information

[ ] Would you be willing to help implement this feature?

this request is similar to this https://github.com/unjs/nitro/issues/2668 so i am closing it , looking forward to v3,
thanks


Add nextjs instrumentation suggestion

Recently saw this tweet, would this be an interesting addition to the nextjs part of the docs? Would mean you could still keep your files with a .ts extension instead of changing it to mjs

Haven't try with it myself, but according to the docs, it runs when a new Next server instance is bootstrapped, which doesn't seem to be a good alternative tho, but I have to try it myself.

use jiti instead. instrumentation is not what this is for


Error with 527 organization

The word
527 organization
Error report
word should be "predominantly" not "predominately" (which isn't a word and if it was would mean something different)
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for the bug report. According to the Merriam-Webster online dictionary, the two words are synonyms.

While I see the words used interchangeably in AP news stories, which I consider a style setter, I suspect predominantly is more commonly used than predominately. I'll make this edit.

This issue was fixed with https://github.com/palewire/moneyinpolitics.wtf/commit/2133fe7c920a92cd026290b3e9e8798e9a07b98b


Customize tooltip shape?

Right now tooltip is a rectangle with 3px rounded corners. It would be nice to express more shapes (e.g. bubble?)

You might want to add a few line to support customizing the tooltip div's
css.
I dont think bubble is worth spending time on as it does not lead to better
understanding of the data and introduces unnecessary complexity to the
logic.
On Fri, Apr 8, 2016 at 7:42 AM Zening<EMAIL_ADDRESS>wrote:

Right now tooltip is a rectangle with 3px rounded corners. It would be
nice to express more shapes (e.g. bubble?)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/vega/vega-lite-tooltip/issues/31

I wrote in README.md that you can overwrite the .vg-tooltip class in user's own css.


Support to report existing issues and vicinity issues

Hi,
first of all thanks for the great plugin. We use it since several week and it is just great.
As we don't want to see only the new issues found during an incremental analysis of a pull request, but also existing issue of modified code and issue which are in the vicinity of the modified code I have implemented two new features:

Report Existing Issues
Setting this property to true the plugin will also report any existing issues in the modified code to Stash/Bitbucket as a comment.
Similar to the first feature this property set to true will also report any issues which are in the vicinity to the modified code of the pull request. Vicinity is hereby determined by the fact that Stash/Bitbucket only allows to set comments on the pull request diff view +/- 10 lines around the modified code. This is respected by the plugin and reports only issues which are in this range.

Both properties are set to false to keep the existing behaviour.
We have this running already for a couple of days and the feedback from the developers are very positive as they can also quickly fix already existing issue and/or vicinity issues as they are anyway touch the code (Boy Scout Rule).
Hope you find this useful as well and accept my my pr.

Hello Christian,
Thank you very much for this new contribution: we will deploy these new features and provide a feedback quickly!

Did you had a chance to look at the pull request? Please let me know if you have any questions/comments.

Unfortunately not yet...
But we will have a look quickly, I hope before end of this week.

Hello @christiangalsterer
I will have a look at your contribution in the week.
I am not sure this feature is something we really want since the objective of the plugin is to give you direct feedback about your new code only. That's why all the plugin is based on the new violations.
However, i can understand in some situations the interest of having this feature (in the case you want to improve quality on legacy code for example), and i think in this case it can make sense, but for sure, this has to be configurable.
I let you know since i have a look at your contribution.

Hi @nvillard ,
I made the new features already configurable and the default is that they are switched off. By this the current behaviour of the plugin is not changed and doesn't interfere.

Hi @nvillard,
as some time has passed did you had a chance to look into this? What are the plans for a next release?

As more then a year has pasted I was wondering if there is every a change to get this approved or if it makes more sense to fork the project...

I agree. Waiting for some other PR's to merge, and this one would also make a lot of sense to me. I guess forking would be the proper way to go, eventually.

#97 has been merged.


bot window closes immediately after start

Yesterday i downloaded the latest poloniexbot-master zip. After editing the config file i double click on lendingbot.py and the window opens for a fraction of a second and then closes. There's some text in the window but it's gone too fast to read.  If i start the bot in a command prompt window with the command "python lendingbot.py" i get the following:
Traceback (most recent call last):
  File "lendingbot.py", line 17, in <module>
    from modules.ExchangeApiFactory import ExchangeApiFactory
  File "J:\temp\Bitcoin\poloniexlendingbot-master\modules\ExchangeApiFactory.py", line 6, in <module>
    from modules.Bitfinex import Bitfinex
  File "J:\temp\Bitcoin\poloniexlendingbot-master\modules\Bitfinex.py", line 6, in <module>
    import requests
ImportError: No module named requests

The older version i have works fine. I enter the same command in the old version and i get this:
Welcome to Poloniex Lending Bot
2017-12-03 20:45:17 Using custom mindailyrate 0.0200% for FCT

(etc... working as it should)

Am i doing something wrong? Am i supposed to use docker? According to the docs at https://poloniexlendingbot.readthedocs.io i should be able to start the bot the same way i always have.
I would also like to run a bot for Poloniex and one for Bitfinex at the same time.  Is this possible without docker? To be honest i'm no that much of a techie. Editing the config file is fine, but setting up docker looks rather intimidating.

Update your dependencies.

If you double click on a python file and it finishes (also with an error) the window will close, that's normal. Is the issue solved?

Yes sorry, it's solved. I ran into problems when i installed the wrong Python version, but once i uninstalled both versions and re-installed the correct version i managed to install the required modules.


Flutter Dev Tools as Chrome Extension

Use case
React has React Developer Tools Chrome extension. In my opinion it is very comfortable to have developer tools right inside in Chrome Developer tools: this allows to see what is happening on the page without switching context.
Proposal
As I know, Flutter Dev Tools is actually a Flutter Web application. Chrome extensions basically are web applications too. What do you think about packaging Flutter Dev Tools as Chrome extension? I suppose it might be helpful for Flutter Web development (and maybe for cross platform development too).

/cc @jacob314

Fyi @grouma
Here is an external request for embedding Dart DevTools in Chrome DevTools.
To support this well we need a change to Chrome so that the sources page in Chrome DevTools stops grabbing focus away from the Dart DevTools tab when you debug an app.

We do have a chrome extension for debugging Flutter Web apps but it is currently focused on enabling you to debug Flutter Web apps without launching chrome with special flags rather than embedding Dart DevTools directly in Chrome DevTools.

This is not something we can fix in Flutter Web itself, so removing the web label.


add dependency to Pygmentize

I guess Pygmentize is used to highlight the Turtle sources ("implementation" of each term).
2) Html: multi-page
Loading graph...
Building visualization...
Error: Pygmentize Failed (30 times)

Add such dependency, or at least describe in the README how to install it.

I'm a complete python noob, so tried the first thing that came to mind but it failed
$  pip install pygmentize
Collecting pygmentize
  Could not find a version that satisfies the requirement pygmentize (from versions: )
No matching distribution found for pygmentize

$  pip install Pygmentize
Collecting Pygmentize
  Could not find a version that satisfies the requirement Pygmentize (from versions: )
No matching distribution found for Pygmentize

$ python -V
Python 3.5.1


 add base build plugin to promote the priority of sofaserverles…

sofaservelress 需要在基座上打一些补丁以和中间件兼容，确保单 JVM 多应用的模式下不出问题。
该构建插件保证 sofasreverless 打补丁的同名类会被优先加载。
Motivation
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
Modification
Describe the idea and modifications you've done.
Result
Resolved or fixed #398
If there is no issue then describe the changes introduced by this PR.

新建 samples
补充单测


Update minimum required version of Java to 17

The guide uses Spring Boot 3.2 so the requirements need to be updated.

Fixed with #34


feat(cdk-graph): add threat composer plugin for generating base threat models

This adds a new CDK Graph plugin which generates Threat Composer threat models from PDKNag apps.
Threat Composer: https://github.com/awslabs/threat-composer/
The generated threat model provides a starting point to build upon for threat modelling an application.

Hmm the build is failing with:
@aws/pipeline: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Looks like a Monday problem 😄

👍


Physics Improvements

Fixes bugs with semisolids colliding incorrectly and poor detection of falling objects

I have some changes wip, don't merge until I finish

Ok i did it

Addresses #63

WIP being added 474b4e6504429d5873d54bee61c43b8d706ae7b1

047fc84145ae4f668d701d206986e7e2d7ccd826 should be done


macOS clang complains -Wno-unknown-pragmas

I saw this during building latest Hadrian (4952e80):
on the commandline: warning:
    unrecognised warning flag: -Wno-unknown-pragmas

Related code:

https://github.com/snowleopard/hadrian/blob/1774b40d0be398953bc0ad03bc364a951d971a7b/src/Settings/Builders/Common.hs#L52
https://github.com/snowleopard/hadrian/blob/4952e8022f805d31035c3ecfd354518c72d07557/src/Settings/Default.hs#L77

clang version:
> clang --version
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I don't know if that is related to Clang's version. I made the change at https://github.com/snowleopard/hadrian/pull/309/files#diff-767d02e64fe5701ad5a0f02510f2c1dcR77 according to https://github.com/ghc/ghc/blob/master/mk/warnings.mk#L37

@izgzhen Thanks for reporting! Not sure what's going on. Your PR seems to match the Make behaviour.
Do you get the warning on your MacOS machine?

Yes, there were several Xcode updates rolled out recently, but I am not sure if this is related.
But anyway this is a low-priority issue.

Looks like this is not actually true, my clang understands this now.


Using custom partition table alter the build folder access (RDT-440)

I have the following action in my Github repository for esp32 project
name: Build firmware

on:
  push:
    branches: [master]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - name: Checkout repo
        uses: actions/checkout@v3
        with:
          submodules: 'recursive'
          fetch-depth: 0
      - name: esp-idf build
        uses: espressif/esp-idf-ci-action@v1
        with:
          esp_idf_version: v4.3
          target: esp32

      - name: Get latest tag name
        id: version_value
        run: |
          tag=$(git describe --tags --abbrev=0 --match "v*")
          echo "value=${tag:1}" >> $GITHUB_OUTPUT
      - name: folder settings
        run: ls -l /

      - name: build folder settings
        run: ls -l build

      - name: Build and Export Binaries
        env:
          version_value: ${{ steps.version_value.outputs.value }}
        run: |
          sudo chmod a+w build
          mv build/*.bin build/"${version_value}".bin
          cp build/*.bin ${{github.workspace}}/

        working-directory: ${{github.workspace}}

      - name: Upload Artifacts
        uses: actions/upload-artifact@v3
        with:
          name: ESP-IDF Binaries
          path: |
            *.bin

This works well and I can see the artifacts when using the default sdkconfig ( partition table only )
#
# Partition Table
#
CONFIG_PARTITION_TABLE_SINGLE_APP=y
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
# CONFIG_PARTITION_TABLE_CUSTOM is not set
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions_singleapp.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table

Changing the above part to
#
# Partition Table
#
# CONFIG_PARTITION_TABLE_SINGLE_APP is not set
# CONFIG_PARTITION_TABLE_TWO_OTA is not set
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_FILENAME="partitions.csv"
CONFIG_PARTITION_TABLE_OFFSET=0x8000
CONFIG_PARTITION_TABLE_MD5=y
# end of Partition Table

I get the following error
STEP : Build and Export Binaries
Run sudo chmod a+w build
  sudo chmod a+w build
  mv build/*.bin build/"${version_value}".bin
  cp build/*.bin /home/runner/work/esp_idf_build_test/esp_idf_build_test/
  shell: /usr/bin/bash -e {0}
  env:
    version_value: 0.0.[2](https://github.com/DDANPEAL/esp_idf_build_test/actions/runs/4671260641/jobs/8272013396#step:7:2)
mv: target 'build/0.0.2.bin' is not a directory
Error: Process completed with exit code 1.

I'm not sure how further I can investigate this !
I check folders permission for when it fails or success and didn't see any changes

Thank you @kumekay for the tips.
Indeed I have multiple bin files but somehow is was working for one case and not for the other !
I changed my workflow to mv specific file by its name instead of wild card


Improve "Upload a new dataset YAML"

"Upload a new dataset YAML" allows the user to copy paste a YAML. To improve debugging:

Can the line number be displayed as it's done here: https://github.com/ethyca/fides/blob/main/demo_resources/demo_dataset.yml That way, when there are error messages - which tell you which line number to fix, you can actually go fix it as you can tell where you need to look based on the line numbers?
I copy pasted the sample dataset yaml and as you can see in the image below the qualifier lines are redlined. However, it doesn't tell you what the errors are. Worse, if you hit "Create Dataset" it goes ahead and does it anyway. So maybe it's a soft error but it's in red which is confusing.

3. Does it make sense to have a file upload button instead of a copy paste button as copy-paste of long YAML files is error prone? This would make sense especially if as the instruction says, you would have received the file from someone rather than hand coded it right there.
4. Can we provide a link to the docs or better yet embed the docs to teach the user the syntax of the yaml, assuming they want to hand code it or in the least fix errors and need the docs to do that?

"Manually generate a dataset" seems permanently disabled.  Why have it then? I tried hand-coding some yaml to see if it would enable it, no luck:

We could look into using the YAML editor which is used on the datastore connection UI. It is using the same library as VS Code. cc: @chriscalhoun1974

Totally agree with @mfbrown statement. Straight forward to implement and provide the user with a consistent user experience within Fides when editing Yaml markup.

@mfbrown @malaethyca Do you want to reuse the existing YAML editor when a user is creating a new or editing a connection workflow? My assumptions is yes.

Here is my PR.

@Kelsey-Ethyca @mfbrown How much effort should we put into the Cypress testing specifically updating the datasets.cy.ts file. Changes are needed to reflect the @monaco-editor/react NPM package. Initially, I ran into issues emulating copy/paste functionality with integrating the @monaco-editor/react NPM package. I updated the datasets.cy.ts file with TODO statements temporarily to function as a placeholder. Thoughts?

tested on test_env with the snowflake_test_dataset


dotnet command not found

Problem encountered on https://dotnet.microsoft.com/install
Operating System: windows
Installed .NET 64-bit SDK and opened new terminal to execute "dotnet" but received not found. I've tried researching other ways but can't seem to find great resources

Did you open a new command prompt to execute the command after the installation was done?
You might want to check if the SDK was properly installed:
https://docs.microsoft.com/en-us/dotnet/core/install/how-to-detect-installed-versions?pivots=os-windows#check-for-install-folders


Add test for snap fail in Python 3.

@liampauling ^^^ build is now failing with the runtime dict size error.  If you pull this onto your branch, it will then pass, validating your fix.

Coverage decreased (-0.4%) to 93.345% when pulling 0a237721ab3f765b30d1d804d1fb058cbde08a60 on seaders:seaders_branch into 42cc6c42db6bfebe2b735d59634e928f103690cf on liampauling:master.

Coverage decreased (-0.4%) to 93.345% when pulling 0a237721ab3f765b30d1d804d1fb058cbde08a60 on seaders:seaders_branch into 42cc6c42db6bfebe2b735d59634e928f103690cf on liampauling:master.

Coverage decreased (-0.4%) to 93.345% when pulling 0a237721ab3f765b30d1d804d1fb058cbde08a60 on seaders:seaders_branch into 42cc6c42db6bfebe2b735d59634e928f103690cf on liampauling:master.


Arduino Board URL is broken

The url for the Arduino boards on the README is broken:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pagespackage_esp32_index.json
What is the correct url and model to choose from?

https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json


Create GitHub actions

Creates a GitHub actions file that runs the tests and builds iOS, Android and Web projects.

@shockbytes I can't add secrets, but I've updated the script to look for a google_services_json secret in the runner, can you add in please?

@shockbytes need you to add a secret for GOOGLE_SERVICES_INFO_PLIST, the same as the json file please!

Added GOOGLE_SERVICES_INFO_PLIST secret too but the build was already working, no?

@shockbytes yeah it must have worked with an empty file, good to have the secret there though if we ever want to build proper files here. Ready for final review now.


Fails to compile

I have followed the instruction on the npm https://www.npmjs.com/package/react-mazer-ui

Installed package by running npm install react-mazer-ui --save
Started my application by running npm run start which runs 'react-scripts --openssl-legacy-provider start'

The error I get is:
./node_modules/react-mazer-ui/dist/index.js Module not found: Can't resolve '../assets/css/app.css' in '...removed my personal directory\ClientApp\node_modules\react-mazer-ui\dist'
I have tried:

Uninstalling and installing the package

Same problem

thanks to reporting this issue, considering to solve this problem please use version @0.1.1-alpha4


Client ID Required

Heyo!
Back after a long time. But Twitch has made some changes to their API and a Client-ID is now required. You can grab a legitimate one from their site when you create your own app. I was curious if there was a way you could update this script so that I can feed it my Client-ID and have it working again?
Thanks!

var client_id = '?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxx';
return 'https://' + host + user + client_id;

see if that works out. :) I haven't tested it.

This worked for me:
return 'https://' + host + user + '?client_id=xxxxxxxxxxxxxxxxxxxxxxxxxx';

Great! That worked for me. Thanks :)
One other thing, I didn't want to create an entirely new issue for but if you'd like me to I can, but...
How would I go about implementing a delay in the checks? For example, in Bash (which I'm much more familiar with) this would be accomplished by simply adding something like sleep=2 which would then only execute the check every 2 seconds. I'd like to be able to delay the checking so it's not a rapid amount of requests to their API which could result in a ban. Thanks!


Introducing: Java client v3

Introducing Java Client v3 ☕
ChangeLog/ New features
Less dependencies!

org.apache.httpcomponents.httpasyncclient
com.fasterxml.jackson.core / jackson-core / jackson-databind /jackson-datatype-jsr310
And that's it...

Injectable HttpCient
The default HttpClient is httpasyncclient from Apache. If you want another one, just implement the  IHttpRequester interface with your favorite HttpClient and inject it!
New test suite!

Powered by JUnit5
Running in less than 30 seconds locally! ⚡

Asynchronous and synchronous methods in the same class!
Before, asynchronous and synchronous methods were split in two different classes. Now, they are reunited in the same class!
All asynchronous methods are suffixed with the async keyword and return a CompletableFuture.
SearchClient searchClient = new SearchClient(ALGOLIA_APPLICATION_ID_1, ALGOLIA_API_KEY_1);
SearchIndex<Employee> index = searchClient.initIndex("employees", Employee.class);

// Async Code
CompletableFuture<SearchResult<Employee>> searchFuture = index.searchAsync(new Query("algolia"));

// Sync code
SearchResult<Employee> search = index.search(new Query("algolia"))

Useful helper: waiTask()
All Algolia's asynchronous operations can now be awaited like this:
index.setSettings(indexSettings).waitTask();

Static factories
We added static factories to Algolia's POJOs such as Synonyms, Rules to help you build valid Algolia's objects.
    Synonym wiiToWiiu =
        Synonym.createOneWaySynonym("wii_to_wii_u", "wii", Collections.singletonList("wii u"));

Getting started locally:

Clone the repo and checkout on the develop branch.

Build the project

mvn clean install

Run the tests

mvn clean test

ping @BenoitPerrot ! :) Integrated some of the improvements we discussed yesterday.

Provided you resolve the last unsolved discussions, LGTM 👌

Thanks! Still need to have a look at the Nullability annotations for some POJOs :)


Fix verify.baselineCompletions used in fourslash tests

Related #43709
I found while working on #43710 that the verify.baselineCompletions used in the fourslash tests were not working properly. This pull request is to fix it.
https://github.com/microsoft/TypeScript/pull/43710#issuecomment-828873765

@sandersn Please review this code.

Thanks!


Add word count utility for tamil

Fixes #68
Functionality to count STDIN is pending to make this tool function similar to wc

Suren, examples can be under any type of OSS license. I prefer you can use MIT like rest of Open-Tamil; or you can also use public - domain, GPL, AGPL etc.
Please add the text on top of your file, as well as a standard copyright statement.
With these changes I can merge this tool.
Thanks!


Fetch Geomed returning empty rasters

Likely a data type issue. Look into it.

Fixed. Was issue with loading/closing netcdf on band rename.


Fix typo in loading file specs

Details
Previously spec didn't create file before trying to load it. While it's a minor problem, it does not reproduce real test case. Also, I've changed the test file name, as it was changing the actual README.md of the project in the test.
Motivation and Context
It improves quality of tests.
How Has This Been Tested?
Running locally, Travis build of fork is green.
Types of changes

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

Thanks @brain-geek, well spotted!


How to align text in right side of pdf

Same way you do it for any other TextView, just call pdfTextView.getView()


Windows support

I'd like to support Windows (gunicorn doesn't work there), but I don't have any experience running Django on it.
How are folks deploying Django projects to Windows? Is waitress the app server of choice or something else?

I have deployed django using waitress + WhiteNoise running as a Windows Service, but it hasn't really undergone any stress / performance testing, as the no of users are still quite low, but we found the performance reasonable, but more importantly, the setup was simple. Below is a snippet if it helps (may not run as it is as I had taken off some bits customized for our folders).
import os

from waitress.server import create_server
from whitenoise import WhiteNoise

from [YOUR_SETTINGS_APP_FOLDER].wsgi import application

BASE_DIR = os.path.dirname(os.path.abspath(__file__))
static_folder = os.path.join(BASE_DIR, 'static')

application = WhiteNoise(application, root=static_folder)
application.add_files(static_folder)
server = create_server(application, host='<IP_ADDRESS>', port=80)
server.run()