HLS: generates u3u8 files "on fly"?

If steam rtmp://stream.site.ru/hls/streamKey-0.ts(/tmp/hls), then what's URL streamKey.m3u8?

Actually, the streamKey.m3u8 is the 'lexicon'
You want to send that, that is the stream.
rtmp://stream.site.ru/hls/streamKey.m3u8
The .ts files are smaller parts of the stream.

@Vanadiom Hello! Do you know how to solve cross-domain problems? I'm using HLS live.

@Vanadiom Hello! Do you know how to solve cross-domain problems? I'm using HLS live.

Nope sorry, my knowledge is a puddle, it's there, but it's not very deep (:

@Vanadiom Thank you for your reply. It looks like I need to launch an issue, which is a headache.

@Vanadiom  I soved this problem. Just use http protocol url...


Formatting and special variables

Promising project! I've been struggling with creating procedural textures and ping-pong shaders using Processing, JS (with three, react-three-fiber, drei, etc). This project does it out-of-the-box!
I'm trying to get up to speed with swissgl's workflow, but I'm still a bit dazed by all the magic / special variables, and what each glsl call actually does. For example in the Particle Life demo. The following creates and stores a WebGLTexture:
const F = glsl(`
    float(I.x==I.y) + 0.1*float(I.x==I.y+1)`,
    {size:[K,K], format:'r16f'});

This renders the texture to the canvas:
glsl({F}, `F(I/20).x*3.0`);

Here we call glsl two more times to update points - without using the i variable (is this intentional?):
for (let i=0; i<2; ++i) {
    glsl({K, seed:123}, `
        vec2 pos = (hash(ivec3(I, seed)).xy-0.5)*10.0;
        float color = floor(P.x*K);           // why is uv renamed to P?
        out0 = vec4(pos, 0.0, color);`,
        points);
}

Then we call glsl again, providing only a fragment shader function and points as target.
To render to the screen, glsl is called again but this time with a vertex and fragment shader function.
It's somewhat confusing what each glsl() is doing to the stored variables like F, points and the canvas.
The README.md mentions:

invitation to discuss compact and expressive graphics library design

I hope I can provide some constructive initial feedback:

I think the project could benefit from some JS / GLSL code formatting for better readability, I could create a PR for that. Please let me know what you think.
Maybe more descriptive (and less terse) variable names? K, I, P, F, etc.
I'm missing an overview and description of the special variables that can be used with swissgl
This really is very nice, but makes the examples quite hard to read sometimes when a texture is called F or S:

Uniform textures can be accessed with usual GLSL functions, or with a helper macro that has the same name as the texture uniform.

Thank you for the feedback! I'll make a table of special variables with their scopes, and try to make names used in examples more descriptive.

Let me know if I can assist anywhere!
Running all code through a formatter/linter wouldn't take me much time/effort for example.


Dragging makes my list disappear

Hi,
I'm having an issue where when I start dragging my list, it works 2-3 seconds than it disappears. I inspected the code and saw that it's because the slick library is applying a transform: translate3d(-14375px, 0px, 0px);  How did I arrive to -14375px.
Any help would be very appreciated! Thank you!

Have the same issue. Mayby any workarounds?

+1

Hey guys! To solve this issues, I had to play with the css of the parent containers of my angular-slick component. For my situation. I had custom width slick item (ex: 80px width each) and because of that, I had to set all parents to width: auto;. I had width :100% at first and this is why I had the problem.
Hope this help


Select different (custom) build configuration

Is it possible to use a different build configuration besides the default Debug and Release configuration?

Hello! You can check my wiki on Customization of the predefined Build task


WebRTC signalling improvements

right now we use trickle-less SDP swapping through a custom lobby signalling server.
it would be better to use ICE/STUN, but in general I was displeased with the state of many of the signalling servers on npm, which is the main reason I made https://github.com/maxogden/cat-lobby. if someone can recommend a simple signal lobby that can do ICE/STUN then I would be happy to swap out the backend
it would be cool to use TURN, though I need to figure out a way to measure failure metrics first before investing in higher bandwidth infra like that

It's not that you aren't using ICE it's just that when you are using a trickle-less solution, you need to wait for all the candidates to be gathered before you can exchange the SDP.  So you can definitely specify STUN/TURN servers as needed, it will just take longer to negotiate a connection.
I completely get what you are saying re signalling servers, as I think one of the things that we are all getting wrong is going straight to using websockets as the transport layer.  Only very recently did I pull the internals out of rtc-switchboard into pretty much a lighter implementation of what it means to have peers exchanging messages in a room: rtc-switch.
I'm certainly not offended that cat-lobby was created, and I doubt that &yet folks are either, but I'm sure we are all interested in what it is that you would like out of a signalling server to better meet your needs  (and those of your feline companions).
/cc @fippo

@DamonOehlman great points! I am on my phone now but will try and do some thinking about ideal API. also @feross let me know that his module simple-peer has a hardcoded STUN server in it, so screencat is already using STUN (which explains why it works at all lol)

@DamonOehlman there is a number of reasons we switched away from socket.io, node and non-existent json-signaling protocols for the talky beta. Such things are cool if you want to build a demo, but for running things in production...

@maxogden signaling servers have nothing to do with STUN, TURN and ICE. At most, they can vend temporary credentials. See http://hancke.name/webrtc/berlinjs/#/ for some pointers from a talk I gave at berlinjs last year.
You'll also soon notice that @janl is always behind a firewall :-)

@fippo Yep, scalable, production-ready signalling is a different beast entirely, and definitely a conversation for another thread - probably in the @webrtcftw org :)

@fippo ah, thanks for the clarifications, it seems I conflated relay and signaling.  Just trying to get my jargon correct :D

signaling is what people incorrectly use for the two sides of the signaling triangle (shown in
http://hancke.name/webrtc/berlinjs/#/24) that are connected to the signaling server.
signaling (or session establishment) is part of what happens there, but it might be alot more. Basically it's an exchange of structured text in some kind of "chat" protocol. Problem solved since 1990.
ICE happens on the bottom side of the triangle that connects the two peers. That is the hard part (https://docs.google.com/presentation/d/17mVv6_eKqLkKkG-pwx_p-NOrYl2CK02OAtAtcHKJgHU/edit#slide=id.p4 shows how complex it can get) but ideally you don' t have to worry about the details. It is a big concern for UX in the end, but I can't show the slides until I gave a talk on that ;-)


Launching no source apk is very slow

From<EMAIL_ADDRESS>on July 19, 2015 20:54:34
What steps will reproduce the problem? 1.pull facebook apk from device to host
2.AndroidStudio>Tool>Robotium Recorder>Select FB apk>next>new...
3.wait for installing and starting What is the expected output? What do you see instead? The app shows up at last, but it takes about 5 min for apk to show. The same for execute test case. What version of the product are you using? On what operating system? device: android5
host: ubuntu14 Please provide any additional information below.
Original issue: http://code.google.com/p/robotium/issues/detail?id=692

From<EMAIL_ADDRESS>on July 29, 2015 11:55:51
Robotium Recorder uses adb to install and launch the apps. Due to this nothing can be done from inside of Robotium Recorder to speed up the process.
Status: WontFix
Owner<EMAIL_ADDRESS>


[WIP] Optimize JsonWriterUtf8 WriteValue overloads

Does this pattern sounds like a way to go?

Does this pattern sounds like a way to go?

I am not sure. I think we should compare the performance of refactoring the code this way.
Update this performance benchmark to write bool values instead of long values and see how performance is affected:
https://github.com/dotnet/corefxlab/blob/da50fe338613fc061d5652b2cda651ebb770cd9c/tests/Benchmarks/System.Text.JsonLab/JsonWriterPerf.cs#L125

Thanks for the review and the pointer to measuring performance. I am experimenting with performance now.

WriterSystemTextJsonBasic |          True |     False | 17,008.23 ns |
WriterNewtonsoftBasic |          True |     False | 14,822.00 ns |

What changes did you make to get those results? It seems to be an out-lier. All other UTF-8 benchmarks show SystemTextJson is faster. We should try to optimize the implementation further for this case as well.


Exercise TVM under minimal configuration in CI

We have seen a couple bugs due to microTVM being presumed-ON in config.cmake. Namely, you get python errors importing TVM right now when USE_MICRO is OFF. We should have a regression test that verifies basic functionality with everything (or nearly everything) OFF.
Context: apache/tvm#9617
And another micro-related issue of the same kind, which i don't have handy right now.
cc @gigiblender

@gigiblender


Added CosmosRequestContext

Description
Create CosmosRequestContext to encapsulate the request options with only getters. Change setRequestOptions to take a CosmosRequestOption vs a ReadOnlyRequestOption. ReadOnlyRequestOptions moved from public api to implementation package.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-cosmos

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/azp run java - cosmos - tests

/check-enforcer override


Release 2.0.3

Summary

Release 2.0.3, added search terms to searchable objects

Testing Steps

[ ] (optional) Test again
[ ] Review release notes

Notes

I labeled as a patch, as this does not break anything but does add new functionality that would require updates to a site repo depending on the circumstances

Git Flow

DO NOT delete "release/*" or "hotfix/*" branches after merging a PR. These are used to publish the next release, and they are deleted automatically.
"Squash and merge" is good on "feature/*" into "develop"
"Create a merge commit" is good on "release/*" or "hotfix/*" into "main"

@tiller1010 While updating/testing a Content Layout Module update related to this search update, I noticed the index was not being updated correctly. Specifically the search terms were not being included. I add that fix here - so please test updating content in the CMS and confirm the index is being updated correctly


Merge latest master into JS

@kristiandupont @bdash

The title suggests this is merging master into js, but the PR appears to do the reverse.

We definitely want to converge with master as well but we should probably get everyone on board with the threadid issue before we do.

I changed the base, as we want to merge js-latest to js

@bdash @radu-tutueanu does this look good to merge?

👍 LGTM


Authorization`s Tests

Hi, everyone.
Is there any interest in adding an authorization section to the documentation of site?

Hi @RoCampos
What do you mean specifically? If you're talking about adding roles to a package, you would be better off using an existing package which offers that functionality and let the controller of your application take care of which actions you're allowed to execute within the package you're developing. I would always keep those concerns separated.
Could you provide an example of a scenario in which you'd want to incorporate authorization within a specific package?

I'm building package. I wanna use it as 'plugin' to an existing application or build a new one (blog) based on the package. So, I'd like to provide some policies (for exemple) to control access to some resources in the application/plugin. For example, who can writes, who can review and so on.

Hi,
Now it's so clear to me.  I got some errors when testing authorization in my package, but it was not related to the documetation of laravelpackage.com. So, thanks for reply.
I'll close the issue.


I can get movies to work by not TV

Love this integration. I'm not sure what I'm doing wrong. I can get movies to create a sensor and show up. I cannot get the TV function to work. It will not add the TV sensors. Attached my configuration.yaml below. Any help would be greatly appreciated. My apologies if I missed something obvious
trakt_tv:
  language: en
  sensors:
    upcoming:
      show:
        days_to_fetch: 90
        max_medias: 9
      new_show:
        days_to_fetch: 90
        max_medias: 9
      premiere:
        days_to_fetch: 90
        max_medias: 9
      movie:
        days_to_fetch: 180
        max_medias: 9

Hi, did you follow the part 4 and part 5 of the guide ?
Do you have an error message in your Notifications panel.

WOW! Thanks so much for the quick response. I completed steps 4 and 5. I am seeing the movies from Trakt I'm tracking. Here is the error I am getting. Not sure if this is different than the notifications panel.
Logger: homeassistant.components.sensor
Source: custom_components/trakt_tv/model/media.py:225
Integration: Sensor (documentation, issues)
First occurred: August 31, 2021, 9:21:47 PM (2 occurrences)
Last logged: August 31, 2021, 9:21:47 PM
Error adding entities for domain sensor with platform trakt_tv
Error while setting up trakt_tv platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 587, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 711, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 464, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 498, in _async_write_ha_state
state = self._stringify_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 470, in _stringify_state
state = self.state
File "/config/custom_components/trakt_tv/sensor.py", line 67, in state
return max([len(self.data) - 1, 0])
File "/config/custom_components/trakt_tv/sensor.py", line 61, in data
return self.medias.to_upcoming()[0 : max_medias + 1]
File "/config/custom_components/trakt_tv/model/media.py", line 252, in to_upcoming
medias = [media.to_upcoming() for media in medias]
File "/config/custom_components/trakt_tv/model/media.py", line 252, in
medias = [media.to_upcoming() for media in medias]
File "/config/custom_components/trakt_tv/model/media.py", line 225, in to_upcoming
"rating": self.rating,
AttributeError: 'Show' object has no attribute 'rating'

Thank you very much, there is definitely a problem with the code, itself. I will fix that as soon as possible.
For the moment you can only use the movie sensor :/.

You bet. Not a problem at all. Thank you so much. I really appreciate it.

On Sep 1, 2021, at 7:29 AM, Dylan Do Amaral @.***> wrote:
Thank you very much, there is definitely a problem with the code, itself. I will fix that as soon as possible.
For the moment you can only use the movie sensor :/.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dylandoamaral/trakt-integration/issues/13#issuecomment-910237307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHE6IKJAHYWIQMIO3RI2FF3T7YMD7ANCNFSM5DGISTWA.


SwaggerResponseAttribute Description not honored after switching to ApiExplorer

I have been using NSwag for some time, on a .NET Core 2.1 api. It works like a charm. However, after upgrading to latest version (NSwag.AspNetCore 11.20.0). That version bump forced me to use the UseSwaggerUi3WithApiExplorer method instead of UseSwaggerUi3 that has become obsolete. I have compared the resulting swagger document, and found out that the response description is not there.
For example, I have an operation which creates an account, and returns a 201 Created and a description "Account Created". In the code, the operation is decorated as follows
[SwaggerResponse(HttpStatusCode.Created, typeof(GetAccount), Description = "Account Created")]
In the previous version, the output of that operation contained the following json:
"responses": {                     "201": {                         "description": "Account Created",                         "schema": {                             "$ref": "#/definitions/GetAccount"                         },                         "x-nullable": true                     }                 }
After the change, I found out description isn't there.
"responses": {                     "201": {                         "description": "",                         "schema": {                             "$ref": "#/definitions/GetAccount"                         },                         "x-nullable": true                     }                 }

Thanks for reporting. Should be easy to fix... please also report other diffs...

Hiya!!!
Thanks for your quick answer.
now that you mention, I also noticed some differences:
At the document level, the consumes property. Before:
"consumes": [         "application/json"     ]
After:
"consumes": [         "application/json-patch+json",         "application/json",         "text/json",         "application/*+json"     ]
Unintentioned, but not that important in my case (I believe). Also each one of the post / put operations now have consumes, also. It wasn't there before.
Also, in my post operations, I have a model that I receive as parameter, decorated with [FromBody]. Before:
{                         "description": "The model.",                         "in": "body",                         "name": "model",                         "required": true,                         "schema": {                             "$ref": "#/definitions/CreateAccount"                         },                         "x-nullable": true                     }
After:
{                         "description": "The model.",                         "in": "body",                         "name": "model",                         "required": true,                         "schema": {                             "$ref": "#/definitions/CreateAccount"                         },                         "x-nullable": false                     }
So now the model isn't nullable.
And that's all

Body params are not nullable and required by default (in ASP.NET Core 2.0+), that's why this has changed. In Web API and ASP.NET Core < 2.0 you can use the RequireParametersWithoutDefault  to revert to the old behavior or set MvcOptions.AllowEmptyInputInBodyModelBinding to true...
https://github.com/RSuter/NSwag/releases/tag/NSwag-Build-1027

Nah, as a matter of fact that behavior is perfect for me.
Anyway those were the only differences I found out in one of my apis.
Thanks a lot, by the way


Accessibility: Add Space key support for Accordions

According to http://w3c.github.io/aria-practices/#accordion, when focus is on the accordion header, the user should be able to use Enter or Space key to expand or collapse the panel. Right now the Calcite Accordions support the Enter key, but not the Space key.

released in 1.2.5


chore(dashboard): replace feedback form with contact us

fixes #2245

Codecov Report
Patch and project coverage have no change.

Comparison is base (47a2164) 87.07% compared to head (d26a599) 87.07%.

:exclamation: Current head d26a599 differs from pull request most recent head bd07905. Consider uploading reports for the commit bd07905 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2251   +/-   ##
=======================================
  Coverage   87.07%   87.07%
=======================================
  Files          85       85
  Lines        9314     9314
  Branches      494      494
=======================================
  Hits         8110     8110
  Misses       1204     1204

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


UX-03

snake-charmer set project version to 0.7.0. If you do not want to release a new version with this PR remove the release label from this PR

snake-charmer set project version to 0.7.1. If you do not want to release a new version with this PR remove the release label from this PR

snake-charmer set project version to 0.6.0. If you do not want to release a new version with this PR remove the release label from this PR

snake-charmer set project version to 0.7.0. If you do not want to release a new version with this PR remove the release label from this PR


Add more clarity on deb packages being build or runtime dependencies

Consider adding a new option or more information in README about installing deb packages needed for gem compilation and those needed for runtime.
It's about a situation when the app needs a gem for Postgresql, MySQL and MSSQL server to work (as well as GEOS for geospatial extensions). In this case, simply using the -add option does not help, and you have to assign different packages in the section:
FROM base as build

# Install packages needed to build gems and node modules
RUN apt-get update -qq && \
    apt-get install --no-install-recommends -y build-essential default-libmysqlclient-dev git libpq-dev node-gyp pkg-config python-is-python3 \
    freetds-dev libgeos-dev

than the packages needed here:
FROM base

# Install packages needed for deployment
RUN apt-get update -qq && \
    apt-get install --no-install-recommends -y \
    default-libmysqlclient-dev default-mysql-client freetds-bin libgeos-* libvips nodejs postgresql-client && \
    rm -rf /var/lib/apt/lists /var/cache/apt/archives

Apparently --add only adds packages required to build gems.
I am also curious if this tool is to be used to create Docker images for development or is it intended to be only for building production images? I'm asking because here is hardcoded RAILS_ENV production

From https://github.com/rubys/dockerfile-rails#add-a-packageenvironment-variablebuild-argument :

Each of these can be tailored to a specific build phase by adding -base, -build, or -deploy after the flag name (e.g --env-build:).  If no such suffix is found, the default for arg is -base, and the default for the rest is -deploy.

Is this what you are looking for?  Did you just miss it, or do you have any suggestions on how to make it more clear?

I am also curious if this tool is to be used to create Docker images for development or is it intended to be only for building production images? I'm asking because here is hardcoded RAILS_ENV production

If adding a '--dev' option would be of value, I have no objection.  I'm about to merge in the following change https://github.com/rails/rails/pull/47594 which would obviously need to only apply to production.  I'd also drop the setting of BUNDLE_WITHOUT in development.

we should add an example here

Care to make a pull request?  I'd like to keep the front page compact, but anything is fair game on additional pages.

do we have some overlap here with what docked provides?

At the moment, quite different use cases.  dockerfile-rails assumes that you have an application.  docked assumes that you have nothing and want to run rails new inside an empty container.  If you want to complete the picture, I would also include things like VSCode which lets you operate inside a container the same way you would if the code was local.

Care to make a pull request? I'd like to keep the front page compact, but anything is fair game on additional pages.
Gotcha, will do, probably just one phrase.

At the moment, quite different use cases.

Not necessarily, but I get your point. These commands from docked are used for further development after the application is created and could as well be used after "dockerizing" a legacy project
docked rails generate scaffold post title:string body:text
docked rails db:migrate
docked rails server

Hey folks, I just wanted to leave a small bit of feedback to this issue. I was using this project today for an app that leverages SQL Server, and therefor needs freetds-dev to build.
The example @januszm left in the README was extremely valuable today, and I just wanted to thank you for adding it, and @rubys for allowing it in such prime real estate. In addition to helping configure the output, it helps highlight the difference between build and runtime binary deps. A lot of context in such a small example. (Particularly useful that it's the exact example I was trying to add ;))


add loader to index.html

I was going to do your very cool watchdogs loader but to do that requires a lot of math and a lot of CSS so because you like commas so much I added one for you every time you open index.html

yeah nah

yeah nah


About LiDAR data

Hi,
I wanted to ask if the LiDAR data is provided ? When reading the paper and instructions, I am confused about it.
For example, Table 5 in Appendix does not mention LiDAR sensor, while the text talks about it. Similarly, I think the website/instruction do not mention about how to download LiDAR data?
Could you please help clarify it ? I might have missed some important info here.
Thank you very much,

Hey @trungmanhhuynh, we are glad to see people are also interested in the LiDAR pointclouds, which were designed for reference purposes. Thus, we have uploaded these data to our website. You can find the links on the Download page, and more info on Get started.
As we have mentioned in the paper, we would like to bring to users' attention that the provided point clouds are NOT sensitive to domain shift (e.g., rain, fog, …), as the CARLA LiDAR simulation is not affected by different environmental conditions. As such, the pointclouds should not be used for domain adaptation studies of LiDAR-specific behaviors. Some reasonable applications can be 3D detection/tracking under the same domain, or usage as ground truth.

Thanks @suniique. Greatly appreciated !

Hi,
Do you have the code to open the hdf5 file (in particular the PLY format) in order to visualize the point clouds?


Unable to install. Readme information outdated.

From the page: go install -tags 'restapi' github.com\MSOpenTech\packer-azure\packer\plugin\packer-builder-azure
The slashes are wrong. Tag doesn't exist. Instead trying: go install github.com/MSOpenTech/packer-azure/packer/plugin/packer-builder-azure
# github.com/Azure/go-pkcs12
src/github.com/Azure/go-pkcs12/crypto.go:26: oidPbeWithSHAAnd3KeyTripleDESCBC.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/crypto.go:27: oidPbewithSHAAnd40BitRC2CBC.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/crypto.go:43: algorithm.Algorithm.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/crypto.go:45: algorithm.Algorithm.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/mac.go:30: oidSha1Algorithm.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/mac.go:38: macData.Mac.Algorithm.Algorithm.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/mac.go:40: macData.Mac.Algorithm.Algorithm.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/pkcs12.go:159: oidFriendlyName.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/pkcs12.go:160: oidLocalKeyID.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/pkcs12.go:161: oidMicrosoftCSPName.String undefined (type asn1.ObjectIdentifier has no field or method String)
src/github.com/Azure/go-pkcs12/mac.go:40: too many errors
# github.com/Azure/azure-sdk-for-go/core/http
src/github.com/Azure/azure-sdk-for-go/core/http/header.go:120: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/request.go:532: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/server.go:441: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/server.go:442: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/server.go:443: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/server.go:446: undefined: sync.Pool
src/github.com/Azure/azure-sdk-for-go/core/http/transport.go:37: unknown net.Dialer field 'KeepAlive' in struct literal

Thanks, I'll take a look and update


how to solved?

// this can fail
Type type = ass.GetType(meth.DeclaringType.ReflectionFullName);
return type?.GetMethod(meth.Name, flags, null, args, null);

how to?
thanks
how to remove bug labels?

I don't understand what you are asking. If the code you mentioned failed, then there is probably an issue with a renamed name that EazFixer doesn't detect. If that's the case, please open an issue with more information that allows me to reproduce the issue.


(NOT FOR SUBMISSION) Example of what a client builder might look like

I'll create a second PR for DatastoreDb that has all kinds of interesting bits around emulator support, project ID etc - but that can be separate.
This is a more "vanilla" example.

I think this is now what we decided on. Let me know if I've missed something.


Add pdo_sqlite extension for php

There's one more file. Dockerfile-no-stats.

just made a new pull request #201 and edited both files qith opcache and pdo_sqlite


GitHub deprecation warnings.

My initialisatio code looks like:
let state = GitHubState {
          token = Just (AccessToken $ B.pack githubAccessToken)
        , userAgent = "x/y"
        , apiVersion = "v3"
    }

But when using it, GitHub emails me with:
[GitHub API] Deprecation notice for authentication via URL query parameters
<<snip>>
Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated. If this token is being used by an app you don't have control over, be aware that it may stop working as a result of this deprecation.

Guess the project is doing queries for the token and is suggested to otherwise move to auth headers?
I could have a look to see what could change...
Ta!

Not sure what's going on here. The token is added with the Authorization header: https://github.com/LeapYear/github-rest/blob/master/src/GitHub/REST/Monad.hs#L95
Are you adding an access_token query parameter at the callsite? What does the callsite look like?

Nope. Here's my code: https://github.com/danwdart/websites/blob/blog-comments/src/submit-comment.hs

https://github.com/brandon-leapyear/github-rest-issue-18/commit/4cbc860327057c2f7778342a8bab48a1a4211c4d
I just ran your code and I'm not getting any deprecation emails. If you comment out the runGitHubT section, do you still get the deprecation email? (remember to change the user agent each time, since the email is sent out once every three days per token per user agent)

Maybe this?
https://github.com/danwdart/websites/blob/423cca5bc381f877f96495c82d5f0951b3752aca/src/Html/Common/GitHub.hs#L128

Hahaha, that'll be it, won't it... thanks!

Aha, that'll be it.
So I guess I confused it with this because it's using the same token with two "apps". Thanks!


Obtaining reliable ground-truth

Hello Marc
Thank you for your great work comparing basecallers.
I have a clarification question regarding whether the (ground-truth) training data is reliable. As you describe in your methods section, given a raw signal, you use an existing basecaller (guppy) to get a rough basecalled sequence and then align it to a known reference genome, followed by tombo resquiggle. Is the purpose of this to correct for errors introduced with the existing basecaller so that you can surpass its performance?
How was this done in the early days when no existing basecaller was available? Did they measure each single molecule that went through the pore with some chemical procedure as well to get ground-truth nucleotides?

Is the purpose of this to correct for errors introduced with the existing basecaller so that you can surpass its performance?

Yes, otherwise you would train a model to mimic an existing basecaller.

How was this done in the early days when no existing basecaller was available? Did they measure each single molecule that went through the pore with some chemical procedure as well to get ground-truth nucleotides?

I do not know the answer to this, ONT would be the go-to to get an answer to this question.
A naive approach would be to sequence some molecules for which they knew what the ground truth. For example, one could PCR a particular DNA sequence and only sequence that. You can also Sanger sequence such amplicons to obtain a ground truth. If you repeat this many times, for difference sequences, at some point you obtain enough ground truth data to train a basecaller.

Thanks.


Unit tests

I would be curious to see a PR that attempts to create a unit test for a basic MFC subroutine/feature. Some Fortran packages attempt to automate this process:

https://fortranwiki.org/fortran/show/Unit+testing+frameworks
https://www.software.ac.uk/blog/2016-09-28-look-fortran-unit-test-frameworks

However I think the easiest solution might be to just write some driver functions/programs that can then call certain subroutines. Some similar arguments are made around the internet, like here:
https://stackoverflow.com/questions/32434904/basic-unit-testing-for-fortran-in-a-locked-down-environment
and
https://groups.google.com/g/comp.lang.fortran/c/CwJdQm1E_iQ
I'm not entirely sure, though, and maybe some package would do the trick.

relevant: https://github.com/trixi-framework/HOHQMesh

Looking at some of these existing tools and knowing how MFC 'works,' I think using an existing package will be challenging. They often have compiler limitations, introduce a more modern Fortran standard, don't support GPU offload, etc.
It seems like the 'best' solution might be to roll our own. We would need some sort of 'constructor' that creates a data field of the appropriate size. This would take the place of the input data, say the conservative variable fields. Then, these can be inputs to various tests. Many of our subroutines take such fields as inputs (rightfully so, in my view), so it seems these need to be generated a priori.
This would be easier - and not require a constructor - if we used more elemental or pure functions, but I find these to be rather slow on GPU when they are being called so many times per time step.

Going to try something here https://github.com/sbryngelson/MFC/tree/unit

Starting working on something along these lines. Was curious what other folks are using for unit tests for finite volume schemes. Did not find many examples (at least open source ones). But did find these:

https://github.com/thenumbernine/hydro-cl-lua/tree/master/tests
https://gitlab.lrz.de/nanoshock/ALPACA/

Overall, not too many unit tests seem obvious here. Some examples I noticed or made up myself are:

uniform field gives zero derivatives
zero RHS if no source terms and uniform IC
making sure equation of state is doing the right thing (giving an expected result)
[wip]

I sort of ran out of ideas for good unit tests for a CFD solver, especially since MFC wasn't built via TDD. Open to suggestions.

No suggestion for this. Closing for now due to inactivity.


Model fn bindings

ran into this trying to get our code to run on 0.8
cheers

thanks :+1:

actually, I'm not sure this is the right fix because test 'hierarchy order: onunrender' is failing (and a few others I think).
this is my first time modifying ractive. I definitely want to use this in the function. what would be a better way to bind it? would it be better to bind it on the model parse?

Oh, whoops – I thought Travis had given it a green light. Elsewhere (functions in expressions), the wrapping happens once per function/instance to avoid situations where it would otherwise happen hundreds of times, but in the context of an event simply binding it on demand seems like a saner approach. So the PR looked good to me. Let me check it out locally and see if I can figure out why those tests are failing

It needs to be bound to the model's Ractive instance, not the events.
However it may make more sense that model gets on functions always self-bind before returning value.

It needs to be bound to the model's Ractive instance, not the events.

Not sure I follow – aren't models instance-agnostic?
So the good news is also the bad news: for some unfathomable (by me at least) reason, the test in this PR is causing all those others to fail. Comment it out, and we get a full bank of green lights. Bit confused as to why that would happen, the test seems innocent enough

Adding ractive.teardown() to the end of the test fixes everything. Am thoroughly confused.

Not sure I follow – aren't models instance-agnostic?

Not if bar in <button on-click='set("foo",bar())'>click me</button> was mapped from a parent view. It needs to be called bound to the instance in which it was defined.

the test was pretty much copied and pasted from the other pr. the test doesn't do anything extraordinary.
@martypdx, it is bound to the instance (this.ractive) before being called -- otherwise it wouldn't find bar (at least that was my understanding)

Wait, that's not the whole story. It should be bound to it's parent model value, unless it's model parent is root, in which case it should be bound to Ractive instance of root.

Okay, I think I've got my head round this (the ownership issue, not the mysterious failures) – the function should be bound upon initialisation...
ractive = new Ractive({
  data: () => ({
    // this is bound to ractive upon initialisation
    foo () {
      return this.get( 'answer' );
    }
  })
});

...or ractive.set(...):
ractive.set( 'bar', someOtherFunction ); // is immediately bound

That way, the model doesn't need to know anything about which instance it belongs to, and we only need to bind functions occasionally. Does that seem right?

I think initialisation.
omg, wish I had I have known about using this.set ... lol

Yes, but also consider foo.bar() which needs to still be called with foo as the this context

Or does that get parsed as _0.bar()?

Or does that get parsed as _0.bar()?

 I can take my hand at binding on init and writing tests for foo.bar
I'm willing to help out as much as I can cause I really wanna use 0.8 :) I posted 3 fiddles last night of other bugs. I still think there are still quite a few more (it's pretty broken)... btw, if ya'll give me time (and if it would help), I can put the code up on github. the ractive 0.7.3 test version I'm working on is here: ractive.affinaty.com:1155

And you submitted a test. That's like a dinner guest showing up with a fine bottle of wine or liquor, you know they'll be invited back :)

lol cool :)
I'll make the other fiddles into tests and pr them later :)
I'd submit a fix as well, but when I tried last night, I had some difficulty. I still haven't quite wrapped my head around the code (yet).


Cow: Watch certificatepdf.com

Cow requests the watch of the watch_keyword certificatepdf\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

certificatepdf\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Dragonrage in Charcoal HQ


unable to load another local module in cli

Hi, I'm facing a problem, and I came to your project to see if I found a solution but it also happens with your suggested structure.
Without it installed, If we create more files inside src/nameless/ like src/nameless/test.py containing:
def foo():
    return 'bar'

and import it in src/nameless/cli.py like:
import click

from nameless.test import foo
print(foo())

@click.command()
@click.argument('names', nargs=-1)
def main(names):
    click.echo(repr(names))

main()

When executing it like: python cli.py it returns:
Traceback (most recent call last):
  File "cli.py", line 19, in <module>
    from nameless.test import foo
ModuleNotFoundError: No module named 'nameless'

also, It works importing it like:
from test import foo
print(foo())

but If I do that, the command nameless stop working:
$ nameless

Traceback (most recent call last):
  File "/tmp/nameless-virt/bin/nameless", line 11, in <module>
    load_entry_point('nameless==0.1.0', 'console_scripts', 'nameless')()
  File "/tmp/nameless-virt/lib/python3.6/site-packages/pkg_resources/__init__.py", line 564, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/tmp/nameless-virt/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2662, in load_entry_point
    return ep.load()
  File "/tmp/nameless-virt/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2316, in load
    return self.resolve()
  File "/tmp/nameless-virt/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2322, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/tmp/nameless-virt/lib/python3.6/site-packages/nameless-0.1.0-py3.6.egg/nameless/cli.py", line 19, in <module>
    from test import foo
ImportError: cannot import name 'foo'

is there a way to make it work (without install the package) by only running python cli.py and if installed, it also works with the command nameless? I'm not able to manage both, I tried using some relative imports cli but it shows other types of problems too.
Thx.

I assume you have read this piece on the advantages of the src-layout.
Unfortunately the src-layout assumes certain rigor about how the package will be used: the fact that it's always installed somewhere. This is basically the reason lots of people are reluctant to use it and go with the adhoc layout that has shitton of problems.
So, what I'm proposing is to either:

Use develop mode. Run python setup.py develop once in the environment you want to test your package, or
Use tox. For manual testing just use .tox/py27/bin/python instead of your main python.

Another problem with your examples is that you want to use the files from the package as scripts. Eg: if you run python cli.py there won't be any nameless package. Use python -m nameless.cli or similar instead.
PS. You should use https://github.com/ionelmc/cookiecutter-pylibrary instead of copying this project. Python-nameless is meant to be a demonstration and test for cookiecutter-pylibrary.


Added Firefox ESR version 91.0esr.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

For me, it seems to have installed the x86 MSI rather than the x64 MSI? Maybe the missing Scope in x64 is the issue? I am running it in administrator mode.

I thought winget installed as admin by default. Let me investigate.

For me, it seems to have installed the x86 MSI rather than the x64 MSI? Maybe the missing Scope in x64 is the issue? I am running it in administrator mode.

I thought winget installed as admin by default for MSIs, but I guess it just lets the installer do what it wants. Let me investigate.

I actually came across this issue a few days ago, WinGet prioritize the User scope by default, in this case it seems like it prefers the Installer with a Scope?

I thought winget installed as admin by default for MSIs

I'm guessing you mean Scope: machine? Because WinGet does not prompt for admin rights, that is the installer, it will Select the installer bases on the preferences -> start the installer -> if installer requires admin, prompt for admin -> continue install

I'm guessing you mean Scope: machine

Yes, that's what I meant. But I guess for a lot of scenarios that doesn't make sense.

It turns out if you're missing InstallerLocale WinGet will try to get the installer that has that even if there is one available that matches your architecture. Which makes sense since you would probably want one that you could read over one that matched your architecture.

I'm guessing you mean Scope: machine

Yes, that's what I meant. But I guess for a lot of scenarios that doesn't make sense.

Yeah, i think this might have to be a issue on Winget-cli as i also do not want EVERY program to install to current user by default, if preferred scope is not set in winget settings it should pick the first installer in the Manifest matching your Locale and Architecture (I add the scopes this way already)

I don't think the order of how the installers are listed in the manifest is preserved in the sqlite file winget uses, so I'm not sure how they'd go about doing that. (And I personally don't mind this behavior, I understand why you want it to work that way but it makes more sense to try and install with as little privileges needed as possible IMO).


Can't Re-add the accessory after I deleted from my Home

Describe The Bug:

I installed the plugin successfully but I had some issues with hombridge so I decided to uninstall it. When I tried to add it again to my home, it does not appear in the list of devices available to add
To Reproduce:

Remove accessory from Home and try to add it again
Expected behavior:

I want to be able to remove the accessory and install it again
Logs:
Show the Homebridge logs here, remove any sensitive information.

Plugin Config:
{
"name": "Sony",
"platform": "SonyAudio"
}
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:
Raspberry Pi

Plugin Version: 1.1.0
Homebridge Version:
Node.js Version | v15.4.0

NPM v7.0.15

* **Operating System**:  Linux

Same issue cant re-add it after deleting.
Ive changed the homebridge pin to see if that helps but doesn't help.

Hi,
Try to Remove Single Cached Accessory or Remove All Cached Accessories in the Settings of the Homebridge UI
or delete file ~/.homebridge/accessories/cachedAccessories and restart the homebridge

I’ve had the same issue. It is not available to remove from the cached accessories list and when I try to remove the bridge it just comes back on the next restart

I ran into this (was running as a child-bridge) but was able to resolve it with the following steps:

uninstalling the plugin from homebridge
remove the bridge from homekit ( home icon > home settings > home hubs & bridges > name of bridge > delete )
restarting homebridge then re-installing the plugin


Fix renovateBot configuration (2)

Codecov Report

Merging #508 (041d402) into master (caba565) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #508      +/-   ##
==========================================
- Coverage   72.42%   72.20%   -0.22%
==========================================
  Files          70       70
  Lines        5494     5494
==========================================
- Hits         3979     3967      -12
- Misses       1117     1126       +9
- Partials      398      401       +3

see 4 files with indirect coverage changes


close iss47

Codecov Report

Merging #48 into dev will decrease coverage by 0.07%.
The diff coverage is 96.29%.

@@            Coverage Diff             @@
##              dev      #48      +/-   ##
==========================================
- Coverage   97.12%   97.04%   -0.08%
==========================================
  Files           6        6
  Lines         591      610      +19
==========================================
+ Hits          574      592      +18
- Misses         17       18       +1

Impacted Files
Coverage Δ

codemach/tests/test_mach.py
100% <100%> (ø)
:arrow_up:

codemach/machine.py
95.34% <95.45%> (-0.09%)
:arrow_down:

Continue to review full report at Codecov.

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


Remove higher tier runes

Botania's automation fits really well with our gameplay loop. Botanias strict tier system and complex device recipes does not, and so with a heavy heart, unless someone has a better idea, I belive i'll yeet all runes / remove runes as ingredients for devices

Runes can become a product that companies buy from you instead

This is part of the devicify botania efforts

 yarden.zamir on Discord says

Devicify Botania


[Feature Request] Add challenge 4 on challenges

🚀 Feature Request
Is your feature request related to a problem? Please describe.
Add challenge 4 on challenges
Describe the solution you'd like
Add challenge 4 on challenges
Describe alternatives you've considered
Add challenge 4 on challenges
Additional context
Add any other context or screenshots about the feature request here.

Would you like to work on this feature?

[x] Yes
[ ] No

Please don't create spam. We need only four issues open, not a large number. If you want to work on more issues, you can try other open source projects. A large number of issues in a single project can create problems for you and for us.


JavaScript Injector: Red Gate SQL Monitor Dashboard

Customer wants to be able to log in to their Red Gate SQL Monitor dashboards. This is a private site integrated with AD.

Moved to Edge App List.


HetznerBaremetalHosts stuck in: host is still provisioning - state "registering"

/kind bug
What steps did you take and what happened:
Followed the guide here:
What did you expect to happen:
Kamaji Control plane + 2 bare metal hosts
Anything else you would like to add:
clusterctl -n europe-north describe cluster europe-north
NAME                                                   READY  SEVERITY  REASON                       SINCE  MESSAGE
Cluster/europe-north                                   True                                          10m
├─ClusterInfrastructure - HetznerCluster/europe-north  True                                          10m
├─ControlPlane - KamajiControlPlane/europe-north
└─Workers
  ├─MachineDeployment/europe-north-baremetal           False  Warning   WaitingForAvailableMachines  11m    Minimum availability requires 2 replicas, current 0 available
  │ └─2 Machines...                                    False  Info      StillProvisioning            10m    See europe-north-baremetal-c496z-2q8fz, europe-north-baremetal-c496z-9lw49
  └─MachineDeployment/europe-north-cloud               True                                          11m
(⎈ |management:default) stephen@stephen-laptop  ~/srv-folder/maxroll-media/k8s-edge-clusters/management-cluster   main ±  clusterctl -n europe-north describe cluster europe-north --show-conditions=all
NAME                                                   READY  SEVERITY  REASON                       SINCE  MESSAGE
Cluster/europe-north                                   True                                          10m
│           ├─ControlPlaneInitialized                  True                                          11m
│           ├─ControlPlaneReady                        True                                          11m
│           └─InfrastructureReady                      True                                          10m
├─ClusterInfrastructure - HetznerCluster/europe-north  True                                          10m
│             ├─ControlPlaneEndpointSet                True                                          11m
│             ├─HCloudTokenAvailable                   True                                          11m
│             ├─PlacementGroupsSynced                  True                                          11m
│             ├─TargetClusterReady                     True                                          11m
│             └─TargetClusterSecretReady               True                                          10m
├─ControlPlane - KamajiControlPlane/europe-north
│             ├─InfrastructureClusterPatched           True             Succeeded                    11m
│             ├─KamajiControlPlaneIsInitialized        True             Succeeded                    11m
│             ├─KamajiControlPlaneIsReady              True             Succeeded                    11m
│             ├─KubeadmResourcesCreated                True             Succeeded                    11m
│             ├─TenantControlPlaneAddressReady         True             Succeeded                    11m
│             └─TenantControlPlaneCreated              True             Succeeded                    11m
└─Workers
  ├─MachineDeployment/europe-north-baremetal           False  Warning   WaitingForAvailableMachines  11m    Minimum availability requires 2 replicas, current 0 available
  │ │           ├─Available                            False  Warning   WaitingForAvailableMachines  11m    Minimum availability requires 2 replicas, current 0 available
  │ │           └─MachineSetReady                      False  Warning   ScalingUp                    11m    Scaling up MachineSet to 2 replicas (actual 0)
  │ └─2 Machines...                                    False  Info      StillProvisioning            10m    See europe-north-baremetal-c496z-2q8fz, europe-north-baremetal-c496z-9lw49
  └─MachineDeployment/europe-north-cloud               True                                          11m
                ├─Available                            True                                          11m

Environment:

cluster-api-provider-hetzner version:
v1.0.0-beta.33

Kubernetes version: (use kubectl version)

WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.3", GitCommit:"434bfd82814af038ad94d62ebe59b133fcb50506", GitTreeState:"clean", BuildDate:"2022-10-12T10:47:25Z", GoVersion:"go1.19.2", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"29", GitVersion:"v1.29.4+k3s1", GitCommit:"94e29e2ef5d79904f730e2024c8d1682b901b2d5", GitTreeState:"clean", BuildDate:"2024-04-25T17:33:09Z", GoVersion:"go1.21.9", Compiler:"gc", Platform:"linux/arm64"}
WARNING: version difference between client (1.25) and server (1.29) exceeds the supported minor version skew of +/-1

OS (e.g. from /etc/os-release):

---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: HetznerBareMetalMachineTemplate
metadata:
  name: europe-north-md-1
  namespace: europe-north
spec:
  template:
    spec:
      installImage:
        swraid: 1
        swraidLevel: 1
        image:
          path: /root/.oldroot/nfs/images/Ubuntu-2204-jammy-amd64-base.tar.gz
        partitions:
        - fileSystem: esp
          mount: /boot/efi
          size: 512M
        - fileSystem: ext4
          mount: /boot
          size: 1024M
        - fileSystem: ext4
          mount: /
          size: all
        postInstallScript: |
          #!/bin/bash
          mkdir -p /etc/cloud/cloud.cfg.d && touch /etc/cloud/cloud.cfg.d/99-custom-networking.cfg
          echo "network: { config: disabled }" > /etc/cloud/cloud.cfg.d/99-custom-networking.cfg
          apt-get update && apt-get install -y cloud-init apparmor apparmor-utils
          cloud-init clean --logs
      sshSpec:
        portAfterCloudInit: 22
        portAfterInstallImage: 22
        secretRef:
          key:
            name: sshkey-name
            privateKey: ssh-privatekey
            publicKey: ssh-publickey
          name: robot-ssh

Output of go run github.com/guettli/check-conditions@latest all
https://gist.github.com/thecodeassassin/71401f01d4da1b85929990b2a3b1ceee

Are you able to get the server into the rescue system? Because this is a problem with some of the servers. This will be the (not ideal) current reaction of the controller. We already have merged a better error handling. The problem is probably the server though and not CAPH

Are you able to get the server into the rescue system? Because this is a problem with some of the servers. This will be the (not ideal) current reaction of the controller. We already have merged a better error handling. The problem is probably the server though and not CAPH

yeah the server is perfectly accessible, the server reboots and enters rescue mode.

{"level":"INFO","time":"2024-05-04T15:18:34.117Z","file":"controllers/hetznerbaremetalmachine_controller.go:82","message":"Machine Controller has not yet set OwnerRef","controller":"hetznerbaremetalmachine","controllerGroup":"infrastructure.cluster.x-k8s.io","controllerKind":"HetznerBareMetalMachine","HetznerBareMetalMachine":{

Also somehow it's no longer updating the name of the baremetal server(s).

It boots into rescue mode and then does nothing.
    Last Transition Time:  2024-05-04T15:18:35Z
    Reason:                WaitingForNodeRef
    Severity:              Info
    Status:                False
    Type:                  NodeHealthy

    ```

CAPI keeps throwing this error:
I0505 01:05:50.371509       1 machine_controller_noderef.go:60] "Waiting for infrastructure provider to report spec.providerID" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine" Machine="default/europe-north-md-1-n89bb-pscwh" namespace="default" name="europe-north-md-1-n89bb-pscwh" reconcileID="b505c126-e886-4894-9700-fec3b6991de1" MachineSet="default/europe-north-md-1-n89bb" MachineDeployment="default/europe-north-md-1" Cluster="default/europe-north" HetznerBareMetalMachine="default/europe-north-md-1-n89bb-pscwh"
E0505 01:05:50.372039       1 controller.go:329] "Reconciler error" err="failed to retrieve Spec.ProviderID from infrastructure provider for Machine \"europe-north-md-1-n89bb-pscwh\" in namespace \"default\": field not found" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine" Machine="default/europe-north-md-1-n89bb-pscwh" namespace="default" name="europe-north-md-1-n89bb-pscwh" reconcileID="b505c126-e886-4894-9700-fec3b6991de1"

Machine Controller has not yet set OwnerRef

This is something CAPI has to do and apparently didn't (yet). That's not related to the host object being stuck during provisioning.
And related to the other issue that it got stuck in "registering":
Do you have any logs, events, status info from HetznerBareMetalHost that looks interesting? There will be some problem (I thought with rescue) but might be also something else. We will see it somewhere for sure.

@janiskemper
Closing this issue, the problem was that the machine hosting the caph controller could not use port SSH because of a firewall issue.
Maybe in the future this should be included in error handling.


Changing to another custom palette flaws

What I'm used to now is that when loading a custom palette any time, it won't apply until I select current, if that's accidentally alrdy selected before loading the image&palette, I change alpha Treshold for the same effect.
Note: that I always click reduce before loading the image&palette for everything to work.

However, when loading the 2nd custom one, the button is still on current and changing the custom palette reverts to the previous one, even when locked. I either expect A. the whole image making a palette swap (like when u edit current palette) or B. make all pixels reselect the nearest value from the new palette (the proper one).
When loading a palette, all partial transparency gets omitted. I have to use pinta's transparency, which is also flawed for the tmi.
This is that Treshold works like a mask and I don't have the ability to add transparent colours to the palette.

You can test with this good looking web palette I made for a 8-bit mod:
top216.json

Hey! Thanks for testing dpaint.js :-)
1: Yes, I see your point. That's awkward.
I'll probably make a change that changes to the settings in the "reduce palette" don't auto-apply, but that there's a "apply button" you have to click, which will then also (re)take the current palette if the setting is set to "current"
(and maybe with an "auto-apply" option, becasue sometimes it's handy to quickly step through different settins and see the result instantly)
2: yes, that's a bit by design. Dpaint.js is targeted towards image formats for retro-systems like the Amiga and there is no real transparency there. You can paint transparent pixels if the brush is transparent, and have layers that are transparent, but a color itself doesn't have transparency. I don't think that will change any time soon.
3: Hmm.. I see. I my head, color reduction and alpha transparency don't go together (because you'll end up with more/different colors then you asked for) but I see you point. The "threshold" should be optional so that transparency can be retained. I'll put it on the TODO.
Thanks for the feedback !

True, I agree with your decision on 2. Not trying to convince you, but I alrdy use no other values for transparency than 0%, 33%, 66% and 100%. GBA uses 1-bit alpha for a reason (however, if it's 0, then all other channels are wasted, but that can be efficient for the hardware colours & not having to redraw flickering sprites).

Confirmed that #1 is actually a bug - will be fixed soon.

The "apply" bug has been fixed.
I added an "apply" button to re-apply the color reduction with current settings and if the palette option is set to "current", it now always takes the currently loaded palette.

Next to that, the "Alpja threshold" is now a checkbox.
If not enabled it leaves the alpha layer alone, keeping the transparency.
I'm not 100% sure that color reduction is 100% accurate for transparent pixels, especially when dithering is involved.
Colors get surprisingly complex surprisingly fast when transparency is involved ...
I'll keep this issue open for further testing.

Ah, forgot to mention; you can test this on the dev version on https://www.stef.be/dpaint/dev/
The dev version loads the current development codebase, which might be unstable, but most of the time it's fine :-)

Thank you!

Hey, I just wanted to note that Bug #1 wasn't about the applying struggle, cause in the beta, when you load a new custom palette and click the new apply button, it still reverts to the first custom palette.


How to Revert VS2019 to Trial?

A couple years ago, I did something foolish. Rather than search for a tool like this one, I created a throwaway hotmail account to register VS2019. Fast forward to yesterday and VS informs me that microsoft has suspended my throwaway account (which is totally mystifying because I never touched it aside from VS automatically renewing its license) and, as an extra f-you, their recovery system claims to be unable to send a text message to my phone in order to revive the account. So VS is counting down until my license dies. Rather than make another throwaway account, which microsoft may again randomly suspend, I'd like to revert VS2019 to the 30-day trial so that VSCELicense will be able to indefinitely extend the trial.
I would greatly appreciate any guidance/instructions for how to do that.
Following some internet advice, I tried deleting all of 41717607-F34E-432C-A138-A3CFD7E25CDA and then doing a "repair" via the VS installer. This didn't work. Also, it seems to have reduced the remaining lifespan of my license by 1 day.
On a related note, one of the comments in the "VS2022 support" issue claims that VS2022 has no limitations, which I take to mean that I could simply upgrade to VS2022 and never worry about this license crap again. Is that correct?

Tbh, I don't have any VS installed right now, so I can't check, but I think that if you actually authenticated with your credentials before, it's stored on disk somewhere in your LOCALAPPDATA folder. AFAIK this is something that you need to delete to remove your stored account information. A quick search shows up this:

https://developercommunity.visualstudio.com/t/appdatalocalidentityserviceaccountstorejson-is-den/990120
https://www.koskila.net/how-to-nuke-the-identity-cache-in-visual-studio/

So you might try to delete %LOCALAPPDATA%\.identityservice folder and see if it helps you.
W.r.t VS 2022 - yes, it looks like it has a perpetual license built-in, but I cannot guarantee that installing it will fix your issues since you already have your credentials on disk and it might pick it up.

Thank you very much for your reply.
Unfortunately, deleting %LOCALAPPDATA%\.identityservice did not work. Nor did deleting %LOCALAPPDATA%\.identityservice and deleting the reg key 41717607-F34E-432C-A138-A3CFD7E25CDA, and deleting privateregistry.bin, all simultaneously, and then doing a "repair" installation.
What did end up working was installing VS2022 Community. It says "product key applied," and makes no mention of my hotmail account, nor of a trial period. I guess I'll know for sure in 30 days, but it seems to be working.
The stone left unturned was doing a full uninstall and reinstall of VS2019. I didn't try that. Maybe it would have nuked the license linked to the never-used throwaway account MS randomly decided to ban.


Trackpath auto-adjust not working properly on non-default AnimationPlayer

Moving AnimationPlayers with bonetracks is actually broken in Godot. The animationtracks are all renamed wrong. Related issues seem to be open for months and years without fixing.
The new auto-rename of the retargeting tool tries to fix this if child structure is different between source and target, e.g. if your animationplayer path is "TopNode/Skeleton/SubNode:bone" and your target animationplayer has "Skeleton/SubNode:bone" it will automatically try to adjust all trackpaths.
Currently this only works on child nodes with a subnode paths but does not work properly when the AnimationPlayer is moved to a parent or sibling level or the root is changed compared to the default after the skeleton asset import.

Nodepaths for bones are relative to skeleton
Skeleton is relative to AnimationPlayer root
Root is relative to AnimationPlayer

Since all the returned Nodepaths could have plenty of added dots depending on parent and child position or resources a lot can go wrong and a lot of adjustments are required to make the renaming work more reliable.

Fixed by commit a5f864a11ae3bf6d07df0caa1dea83ebc8c1f877 for Godot 3.x and commit 62085ae4cc513b1a8bc3e3f5081c12f23502caaf for Godot 3.x GDScript.


Merge pull request #1 from tananaev/master

update from base

What is this?

Sorry, it was a mistake … I was trying to update my fork …

On 14 Mar 2016, at 11:36, Anton Tananaev<EMAIL_ADDRESS>wrote:
What is this?
—
Reply to this email directly or view it on GitHub https://github.com/tananaev/traccar/pull/1783#issuecomment-196271858.


How to determine wich report user is requested in method CheckAccess

in Authorization.cs, how to determine wich report user is requested   in method CheckAccess, I want to handle some permission .
public bool CheckAccess(
     string userName,
     IntPtr userToken,
     byte[] secDesc,
     ReportOperation requiredOperation)
  {
     // If the user is the administrator, allow unrestricted access.
     if (0 == String.Compare(userName, m_adminUserName, true,
           CultureInfo.CurrentCulture))
        return true;

        HttpContext current = HttpContext.Current;
     AceCollection acl = DeserializeAcl(secDesc);
     foreach(AceStruct ace in acl)
     {
            **//I want to handle some permission here**
            if (0 == String.Compare(userName, ace.PrincipalName, true,
               CultureInfo.CurrentCulture))
            {
                foreach (ReportOperation aclOperation in
              ace.ReportOperations)
           {
              if (aclOperation == requiredOperation)
                 return true;
           }
        }
     }
     return false;
  }

The permissions get handled in the SSRS portal.  Once your user or group has been put in the user table you can manually add and give them permissions in the portal.

I don't like this, but this is what I had to do. Open to better solution if someone has one.
Principal Names come from the Security menu on each report.  So if you add a unique string ("ReportID=1") under security for a report then you can see that unique string ("ReportID=1") string as a ace.PrincipalName and execute whatever logic you want to determine access based on that unique string.
I used this to drive access dynamically based on an external system.


[DCOS-57291] make DC/OS Signal report the license ID

High-level description
DC/OS Signal must be able to read the license ID from the socket file /run/dcos/dcos-licensing.sock that's owned by the group dcos_adminrouter.
Corresponding DC/OS tickets (required)

DCOS-57291 DC/OS Signal doesn't report license ID

Related tickets (optional)

DCOS-ID JIRA title / short description.

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): no change log necessary
[] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot changelog-not-required bugfix under the hood

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot request-review @janisz @br-lewis @drewvanstone


move screen and controller in folders

so that the URL doesn't need to end with ".html"

actually more complicated than it looks


Add def for issues #114 #115

Added definitions for net plot #114  and gross plot #115
Also corrected typo in term 'gross plot' label #115

Hi @KrishnaTO , @marieALaporte I have updated the definitions. Let me know if this is fine for you.

@KrishnaTO could you please obsolete the gross plot class. Thanks

@marieALaporte can be merged now


CSharpValue and CSharpReference are not fully functional yet

When working on Xaml workflows generated by visual studio with CSharpValue and CSharpReference elements, I get a Workflow not compiled error even after setting compilation to true in the settings.
I’ll try and resolve this down to a simple test case, the WF I built was too ambitious.
Has anyone else managed to use a Visual Studio defined Xaml Workflow?
Also with the assembly name change, you have to change the Xaml declaration at the beginning of the Xaml to make it work.
This is related to my testing this in my wfRunnerCore repo.
Related to #7

Workflow code in C# Expressions (generated by Visual Studio) fails with the message:
Expression Activity type 'CSharpReference`1' requires compilation in order to run.  Please ensure that the workflow has been compiled.
XAML from Generated from Visual Studio as a file Activity1.xaml :
<Sequence>
    <Sequence.Variables>
      <Variable x:TypeArguments=""x:Int32"" Name=""myInt"" />
    </Sequence.Variables>
    <Assign>
      <Assign.To>
        <OutArgument x:TypeArguments=""x:Int32"">
          <mca:CSharpReference x:TypeArguments=""x:Int32"">myInt</mca:CSharpReference>
        </OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments=""x:Int32"">5</InArgument>
      </Assign.Value>
    </Assign>
    <WriteLine>
      <InArgument x:TypeArguments=""x:String"">
        <mca:CSharpValue x:TypeArguments=""x:String"">myInt.ToString()</mca:CSharpValue>
      </InArgument>
    </WriteLine>
    </Sequence>

The same Workflow code in expressed using the VB Expressions works:
<Sequence>
    <Sequence.Variables>
      <Variable x:TypeArguments=""x:Int32"" Name=""myInt"" />
    </Sequence.Variables>
    <Assign>
      <Assign.To>
        <OutArgument x:TypeArguments=""x:Int32"">[myInt]</OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments=""x:Int32"">5</InArgument>
      </Assign.Value>
    </Assign>
    <WriteLine>
      <InArgument x:TypeArguments=""x:String"">[myInt.ToString()]</InArgument>
    </WriteLine>
  </Sequence>

I see that this line won't work in netstandard
compilerResults = codeDomProvider.CompileAssemblyFromDom(compilerParameters, this.compileUnit);
Can we just take the generated source from CodeDom and use Roslyn to compile it?
Is it a viable approach?

@nguyencongle this should be done with Roslyn, since CodeDom is a deprecated api.


Utility

Sorry but it might be weird question but how to use Utility ? Is like
If EMA 50 cross ema100 buy or something different?

Hello @Ylelmon,
In short yes. They are basic methods to determine how two series interact. This Issue #406  shows an example as well as an example using ta.xsignals instead.
Hope this helps!
KJ

Oh thinks


LaTeX: gather is not properly generated

Description
Consider the following document:
Some introduction text

\begin{gather}
    E=mc^2
\end{gather}

The issue is that the LaTeX document that it generates becomes:
Some introduction text

\begin{equation}
\begin{gather}
    E=mc^2
\end{gather}
\end{equation}

This should not be surrounded by equation block
Proposed solution

Distinguish which environments need to be within a math environment, e.g. gathered vs gather
Distinguish which environments handle numbering gathered vs gather
Distinguish when we want something to be numbered and not gather vs gather*

Then conditionally add either equation or equation* or nothing to the LaTeX document

The document that you are rendering is built in two phases:

Parsing the LaTeX into our MDAST
Writing the MDAST into LaTeX

Looking at the writer, we acknowledge that we don't yet handle AMS math. I did wonder whether we should flag the AST to indicate that the content is ASMMath, but that would probably require annotating the .data field, or adding a container.
So, my guess is we might want to just identify AMSMath from the content of the node. In the writer, this would probably be a simple as testing for \\\\\{\w+\*?\} at the start of the content. Would you be interested in adding this?

There is a TODO in the writer here:
https://github.com/executablebooks/mystjs/blob/main/packages/myst-to-tex/src/math.ts#L50
Depending on how deep this goes, we might need to have an update to the tokenizer:
https://github.com/executablebooks/markdown-it-amsmath

a simple as testing for \\\\\{\w+\*?\} It would be better to be more explicit with the \w+ and handle AMSMath specifics, unless we want to pass all \begin/\end environments as is? I am not sure how that would work on the site generation side.

Would you be interested in adding this? I could walk you through it

Sure, some help on this would be good, since this is a show-stopper for trying out mystmd

Depending on how deep this goes, we might need to have an update to the tokenizer:
https://github.com/executablebooks/markdown-it-amsmath

That does seem reasonable. I was thinking for this one, to add another MATH_HANDLER for ams math which just passes it down as is. It would be tricky to workout the label, but maybe we can regex the content and register any \label{*} command we see inside it?

If you open a PR, we can collaborate on it.

It would be better to be more explicit

I think we can assume that the contents of the math node are determined by the tokenizer/parser phase, so if we see an environment of any kind it has already been "validated". As such, we just want to re-use the existing environment rather than wrap in a math environment.
The question will be what to do about the label and enumerated options that the user can set on the AST node via directive options (i.e. for MyST sources, not LaTeX). There may be some merit in parsing the environment and modifying it if the user has e.g. written
:::{math}
:enumerated: true

\\begin{gather*}
...
\\end{gather*}

Because these options are only set if the user explicitly creates a math environment in MyST markdown, and specifies them.
We could alternatively ignore them, but I'm somewhat against that.

:::{math}
:enumerated: true

\\begin{gather*}
...
\\end{gather*}
:::

I would say if the user combines math and amsmath it is ill-defined. Do they want the labeling to be as subequations, do they want one to have priority over the other, etc. We should throw an error in those situations and ask them to review it.
Caveat with gathered and friends that are meant to be used inside an already defined math environment. There the intent is well defined and we should just skip it. Should ensure that :::{math} remains a single line math for those though.

If you open a PR, we can collaborate on it.

As soon as I have any commit to open it with :D.

I think we can assume that the contents of the math node are determined by the tokenizer/parser phase

Thanks for the pointer. That would still be in the myst-to-tex? I went through a search of gather and couldn't find anything to tell me where that parsing occurs

That would still be in the myst-to-tex?

That should be tex-to-myst!

Hmm, so if markdown-it-amsmath is used, then it is quite a red-herring. It seems that the main point is where does it choose to use the math handler/where does it inject the math block

@LecrisUT I just had a meeting with @rowanc1 where it became clear I think I misunderstood the document type that you're using; I'd thought you were using LaTeX -> LaTeX, but it seems like you're actually reading MyST -> LaTeX. I'm just working on some other PRs at the moment, but I'll circle back around to this shortly.

It seems to me that we want to include the environment in the math AST node. As such, we also want to support the environment in the math directive e.g.
:::{math}
\begin{gather}
...
\end{gather}
:::

We already strip out the "basic" environments in https://github.com/executablebooks/mystmd/blob/974dde179c40ff57908b55925baf9212455a16bf/packages/myst-transforms/src/math.ts#L251
I believe we should leave the AMSMath environments because there's no strong push factor to use an alternative. We could lift information about the environment to a new attribute of the math node, but I don't think there's a strong benefit, and presently it would probably complicate things more. It's really a question of "what is math".
My proposal is do the simple thing now, and we can "fix" it in future if we realise it was the wrong call.

Hmm, what about for a temporary fix, inside
https://github.com/executablebooks/mystmd/blob/974dde179c40ff57908b55925baf9212455a16bf/packages/myst-to-tex/src/math.ts#L49-L54
We add a quick check for \\begin\{(gather\*?|align\*?)\} and if that passes, we simply print the content as it?

Yes, there are two questions here:

Short-term fix?
Long-term changes?

I think we should look to fix this as-is, and discuss longer-term AST changes in a new issue :)

I think we should try and strip the ASMMath environment so that we can add labels. This makes things more complicated, but is the "right" thing to do imo.

Wait, I thought the opposite, i.e. strip the equation wrapper when asmmath is detected, and give an error if label is added there just in case. The issue is equation is always a single-line math environment, while gather/align are multi-line

The issue is equation is always a single-line math environment, while gather/align are multi-line

That's a good point! Hmm. Maybe the proper solution is then to properly parse AMSMath environments into multiple math nodes. But, that's a complex fix. So, for now, let's just pass-through the environment as-is, as you suggest!

This note is a bit off-topic (in that we should pursue the simple approach suggested in the PR), however, I want to explain some of the previous thinking/work we are trying to put in this direction.
There are some changes we made to parsing latex subequations and for align environments to allow these to be picked up and translated to both JATS (used for archiving scientific documents) and the HTML view with basic rendering and cross-references. The challenge in representing this in MyST (and in JATS) is that those environments need to be in charge of the equation labelling and numbering (with specific nodes/attributes for the cross references), and this fights with latex (or at least needs to share understanding). There is actually no way to do a multi-line, labeled subequations in JATS for example, and the way people do it with an disp-formula-group completely destroys the alignment that is the goal of the align and gather groups in the first place. So we are stuck somewhere between this:

and this:

The way that I am thinking that we get around that is actually by holding both of these variants in the tree, and we introduced a mathGroup (similar to a citeGroup) that has the raw latex to be rendered as well as the children nodes. Right now that mathGroup only renders the children/numbers, but we should update the UI to show the original with the labels they will need to be generated by katex rather than myst (then updating the enumerators with a post html transform or css perhaps to match the numbering). A start in that direction which works from tex-->jats is shown in a test here. I think the combination of these with the fixes suggested above should allow us to fully support both the semantics and the visual-alignment.

Could mathGroup behave like admonitions in that on the markdown side it's a container like the \begin{} environments that we can pass specific class: align? Something like
:::{mathGroup}
:class: align

x + y & \geq 0

x - y & \leq 4

x \times y & \geq 1

x^y + y^x &\geq 1
:::

would generate
\begin{align}
x + y & \geq 0 \\
x - y & \leq 4 \\
x \times y & \geq 1 \\
x^y + y^x &\geq 1
\end{align}

Not sure how to deal with label in that case either unless we just allow them to be defined in there as well and just parse the contents of it from TeX and back.

I moved my comment to #992 to continue the conversation as #977 will close this issue.


Priority_Queue

Description 📜
I can resolve an issue about Priority Queue by defining and including some pictures and at last show a demo program. On the basis:-

Main Priority Operations
Priority Queue Representation
Fixes #1612

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm a GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Plagiarised from here : https://www.upgrad.com/blog/priority-queue-data-structure/#:~:text=The “normal” queue follows a,the time of insertion operation.&text=The priority queue moves the,back of the priority queue.


Simplify azad kube proxy locals

This PR is seriously outdated. We don't use locals in this module anymore. Closing.


The .legacyAlert modifier on a child view will be ignored.

Description
multiple calls to . legacyAlert are ignored
Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
multiple calls to pop an alert when the state is non nil
Actual behavior
the second call to .legacyAlert will never pop
Steps to reproduce
Example code included with 2 Features as children of AppFeature
LegacyAlert.zip
The Composable Architecture version information
0.59.0
Destination operating system
macOS
Xcode version information
14.2
Swift Compiler version information
No response

Issue persists on
swift-composable-architecture.git @ 1.5.0
swiftui-navigation.git @ 1.2.0

Hi @kdeda, can you please describe exactly what the problem is, and the steps to reproduce the problem. It is not clear right now.
Also, the project you have provided is quite complex. I would recommend trying to minimize it a great deal to make it easier for someone to help. Ideally it should be a project only involving legacyAlert since that is what you are reporting a problem with.

Say you have a main FeatureA with a ViewA that has 2 child features (FeatureB and FeatureC)
FeatureA can trigger and handle its own .legacyAlert
Each child feature, FeatureB and FeatureC has its own view, ViewA and ViewB
Each child feature can trigger and handle their own .legacyAlert
When these 2 child features are integrated into the main FeatureA/ViewA
the management of .legacyAlert is interrupted.
The attached Xcode project should demonstrate the issue.

Also, the project you have provided is quite complex. I would recommend trying to minimize it a great deal to make it easier for someone to help. Ideally it should be a project only involving legacyAlert since that is what you are reporting a problem with.

I tried to make it as short as possible.
One Parent Feature with 2 Child Features using Switch and CaseLet to switch between features.

@kdeda I'm pretty certain is a vanilla SwiftUI problem with the original iOS 13 alert view modifier, which our library simply calls under the hood. One of the reasons why we have a "I have determined whether this bug is also reproducible in a vanilla SwiftUI project" requirement for issues is that a lot of these bugs are not TCA-specific, and it's good to confirm that vanilla behavior works first.
If I recall, the general workaround is to throw alerts into parts of the view hierarchy where they are better behaved, e.g. inside a background modifier, though you may want to search for vanilla solutions to the problem.
I'm going to close this for now, but if you do determine that the issue is reproducible only in TCA, please file a new issue that demonstrates it working in vanilla SwiftUI.

Thank you,
I forgot about the entire vanilla thing, since I rarely use it.

Bingo moving around the location .legacyAlert is attached makes a difference.
So we have a workaround.

Oh sorry, I didn't see @stephencelis's response!


Analyzer doesn't treat on-catch variables as final

According to the dart specificztion 17.11

An on-catch clause of the form on T catch (p1, p2) s introduces a new
scope CS in which final local variables specified by p1 and p2 are defined

But analyzer doesn't recognize these variables as final. For example
main() {
  try {
    throw "foo";
  } on String catch (p1, p2) {
    p1 = "";
//  ^^
// [analyzer] unspecified
// [cfe] unspecified
    p2 = new StackTrace.fromString("");
//  ^^
// [analyzer] unspecified
// [cfe] unspecified
  }
}

Dart VM produces an errors on the code above (Error: Can't assign to the final variable 'p1' (and 'p2' as well)) but in Analyzer the code above works without any issues.
There must be an error in analyzer as well
Tested on dartanalyzer version 2.8.0-dev.20.0

https://dart-review.googlesource.com/c/sdk/+/143243


Invalid content /en/testnets/cardano/get-started/what-is-a-cardano-node/

Where does the issue occur?
https://developers.cardano.org/en/testnets/cardano/get-started/installing-and-running-the-cardano-node/
Describe the issue
In 'Supported Platforms' link, would be helpful to mention minimum system specs for individuals.

Thank you for your feedback, we will look into this!


lower CircleCI parallelism

CircleCI is refusing to run our jobs now giving this error message:
Uh oh! When we created this build, your project was configured to use 4x parallelism but you only had 2 containers. If you haven't already, please add more containers or lower your parallelism.
Sorry! Your build didn't run because it needs more containers than your plan allows. Please decrease this project's build parallelism or add more containers to your plan.

Apparently they tweaked our plan so that we have 2 concurrent containers instead of 2 concurrent jobs.
Aargh.

Nevermind. This doesn't work. Looks like we have to switch to the CircleCI open source plan.


Adjust definition of [sensory processing neuron]

@Caroline-99 please review
suggested changes in the label: sensory neuron
use sensory processing neuron as an exact synonym
definition:
A neuron type that is located in a peripheral nervous system and it transmits sensory information from the peripheral (PNS) to the central nervous system (CNS). A sensory neuron converts physical (light, sound, touch) or chemical (such as taste and smell) stimuli into an electrical signal through a process known as sensory transduction. The function of a sensory neuron is to carry informations from the external environment and internal body conditions to the central nervous system for further processing.
database cross reference:
wiki:Sensory_neuron
Akre, K. (2024, June 24). sensory neuron. Encyclopedia Britannica. https://www.britannica.com/science/sensory-neuron
Purves, D., et al. (2018) Neuroscience. 6th Edition, Sinauer Associates, New York
https://www.ncbi.nlm.nih.gov/books/NBK539846/
PMID: 31554486
PMID: 35858549
@aleixpuigb  I want to cite a book as a source, what is the best way to input it in protege? just as a URL?
Thank you!
comments:
Typically, a sensory neuron has a pseudounipolar morphology.
database_cross_reference:
wiki:Sensory_neuron
has an exact synonym:
sensory processing neuron
Logical definition:
neuron part of peripheral nervous system
capable of detection of stimulus involved in sensory perception


Remove unmaintained/archived packages

Description of changes
Related to #167260.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

According to documentation, you're supposed to add an alias, when removing a package. If the package has been marked broken or insecure or not evaluating for some other reason for an extended period of time, IMO this step can be skipped, but otherwise it seems reasonable.


fix: remove speical data

Checklist

[x] commit message follows commit guidelines

Description of change

异常 demo 特殊数据

Pull Request Test Coverage Report for Build 905437659

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 93.512%

Totals

Change from base Build 892925099:
0.07%

Covered Lines:
11054

Relevant Lines:
11462

💛  - Coveralls


Remove unnecessary code

At present there is some unnecessary code in each file. You are supposed to remove that unnecessary code.
Tasks:

Remove unnecessary code(of JS as well as CSS).

Wherever possible replace code like

anotherElement.innerHTML = '<element id="someID" class="someClass">Some text</element>';
with code like
element = document.createElement("element");
element.classList.add("someClass");
element.id = "someID";
element.innerText = "Some Text";
anotherElement.innerHTML = element;

Most important thing is to create separate commit for each file.

I would like to Contribute onto this project .. Feel free to assign me this task.

@bineetNaidu please go through our contributing guidelines and code of conduct.

@bineetNaidu please go through our contributing guidelines and code of conduct.

Yes i have gone through. And i am really excited to look forward and workon this project

@bineetNaidu  Then comment @kpbot claim here.

@kpbot

Go ahead @bineetNaidu, I assigned this to you.

Hello @bineetNaidu, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 4 days. Are you still working on this issue?
If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 3 days.
If you've decided to work on something else, simply comment @kpbot abandon so that someone else can claim it and continue from where you left off.

@kpbot abandon

Some changes have been done by @bineetNaidu, Now this issue is open for further changes.

@kpbot claim

Hi, it seems permission to push is denied for me.

Yeah, in order to contribute you are supposed to make a pull request.

Hi, In order to raise pull request need to push the code into the branch right?

Yeah and read our contributing guidelines.

Duplicate at #159.


Implement OWIN client

Any modern ASP.NET app will use OWIN to make the login interchangeable with Twitter, Facebook, Google, etc. We need an OWIN client to be able to talk to CAS.

Duplicated now by #67.  Larger discussion going on in there.


client-server connection speed is very slow!

I am running the example client and server and downloading a 5 MB video from the server, it works but it takes a very long time (over a minute) I am doing this in a network emulator (Mininet) where in other experiments I can get 1 Gbps speed, I experimented with changing the values of the following arguments at the client side:

--max-data
--max-stream-data
One time the speed went up with --max-data 10 but when I tried it the next day it did not work.

What could be the cause of this?
here is the app that the server is serving:
#
# send video for http3_server.py
#

from urllib.parse import urlencode

from starlette.applications import Starlette
from starlette.responses import PlainTextResponse, Response, StreamingResponse
from starlette.routing import Route

from starlette.types import Receive, Scope, Send

from pathlib import Path

async def hello(request):
    """
    send 'Hello World' to client
    """
    print("sending 'hello world' to client...")
    return PlainTextResponse("Hello World")

async def video(request):
    """
    send video to client over http3
    """
    print("sending video...")
    path = Path("./examples/vid.mp4")
    file_size = path.stat().st_size
    print(file_size/1000, "kBytes")
    if(file_size == 0):
        print("error, file is missing.")
    videoFile = path.open("rb")
    response = StreamingResponse(videoFile, media_type='video/mp4')
    return response

starlette = Starlette(
    routes=[
        Route("/video", video),
        Route("/hello", hello)
    ]
)

async def app(scope: Scope, receive: Receive, send: Send) -> None:
    await starlette(scope, receive, send)

Sorry, no idea you're going to have to do some more digging yourself. Interoperability tests don't show aioquic to be that slow:
https://interop.seemann.io/

I do not think so. The throughput in https://interop.seemann.io/ is restricted in 10Mbps link.
Initially, I consider that the asyncio UDP contributes to the slow speed, and patched https://github.com/python/cpython/pull/91488 to CPython, so asyncio UDP provides at least 100 Mbps throughput when transferring a large file.
Subsequently, I wrote a script as simple as possible in order to measure transfer speed in https://gist.github.com/msoxzw/8c510b44bf8d9f39ddf181e77a481957 . This naive script shows approximately 10 Mbps whether above patch is applied or not.

Great, I look forward to your PR which delivers a 10x improvement.