Failure to build using rustc 1.65.0

Hi,
I'm new to rust I install rust on my machine, with an Win10 64 and tried to follow the instalation process running:
rustup toolchain add nightly
cargo +nightly install papyrus
It errors out with the message:
error[E0463]: can't find crate for rustc_ast
--> C:\Users\Dan.cargo\registry\src\github.com-1ecc6299db9ec823\racer-2.2.2\src/racer/lib.rs:16:1
|
16 | extern crate rustc_ast;
| ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_ast_pretty
--> C:\Users\Dan.cargo\registry\src\github.com-1ecc6299db9ec823\racer-2.2.2\src/racer/lib.rs:17:1
|
17 | extern crate rustc_ast_pretty;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
= help: maybe you need to install the missing components with: rustup component add rust-src rustc-dev llvm-tools-preview
error[E0463]: can't find crate for rustc_data_structures
--> C:\Users\Dan.cargo\registry\src\github.com-1ecc6299db9ec823\racer-2.2.2\src/racer/lib.rs:18:1
|
18 | extern crate rustc_data_structures;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
...

Seeing the same issue! Despite installing the suggested rustup components


clash: 1.17.0 -> 1.18.0

Description of changes

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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 250659 run on x86_64-linux 1

2 packages built:

clash
clash-verge

Result of nixpkgs-review pr 250659 run on x86_64-linux 1

2 packages built:

clash
clash-verge


chore: add debug mode for main process

添加主进程 VSCode debug 支持。 / Support VSCode debug mode for the main process.
npm run debug

之后进入 VSCode debug 模式即可调试: Debugging / Then start debugging in VSCode: Debugging

Thanks 😄

@CallanBi What is the launch config Main(inspector) for?
I was able to use npm run debug && Main(vite) to debug the main process sucessfully 🥳.

@Hacksore
Technically there's no difference if you use VSCode to debug.
The only difference is that the Main(inspector) option provides a port, namely 9222 for the Chrome remote inspector, in which you can debug the program. This is because I inject a port exposure to the runtime in the lanuch.json file:
      "runtimeArgs": [
        "--remote-debugging-port=9222",
        "${workspaceFolder}/dist/main/index.cjs",
      ],

You can just use Main(vite) if you don't want to use Chrome remote inspector.

Thanks 😄

通过一下合并呗。


Room details: spinning wheel takes age to goes off on FILES layout

To reproduce:

Open room details of a room with some files.
Hit on the FILES tab

Even if there isn't any files in the room, the calc with spinning wheel takes age to be cleared off.
I don't reproduce it on the web and iOS clients.
My device is a Samsung Galaxy S4.

@ylecollen KO for rooms with no files, there is still the infinite spinning wheel.
Ok for the others.

Validated in 0.6.9-dev (6336758)


Edit change event not triggering on character deletion/backspace

When a character is deleted, no change is detected and the save button remains disabled. Character insert works fine.

Hi, @MRB60
Fixed in v2.23.4
Thank you!!

Hello. Thank you so much for the cool component.
I think the issue still happens in Chrome and Firefox.
Also, I notice there's a delay in the onChange callback. Is there a way to reduce this lag or remove it altogether?
Regards.

Backspace onChange event works for me both in Chrome (v79.0.39) and Firefox on Linux with Suneditor v2.23.4. There is a delay (to reduce events?) though but for me not a problem.

I see. Could you try again when press and hold the backspace? So instead of deleting one character at a time, delete the whole chunk by holding down the backspace key.

You are right - holding down backspace so it repeats does not seem trigger onChange.


📝 Update includes in docs/de/docs/advanced/events.md

Thanks for the effort! :cake:
This was handled in another PR, so I'll close this one now. :coffee:


fix: add after finish to urllib hook

为 urllib 添加 after finish 方法

Codecov Report

Merging #66 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #66      +/-   ##
=========================================
+ Coverage    78.3%   78.3%   +<.01%
=========================================
  Files         181     181
  Lines        5139    5140       +1
  Branches      627     627
=========================================
+ Hits         4024    4025       +1
  Misses        867     867
  Partials      248     248

Impacted Files
Coverage Δ

packages/hook/src/patch/urllib.ts
82.92% <100%> (+0.42%)
:arrow_up:

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 b450d58...0ec76a5. Read the comment docs.


404: page not found error when Deployment on Nginx's reverse proxy

hey, i am deploying my nextjs app on nginx  where django is running on nginx. i want my nextjs app to run on mydomain/something but its not working giving 404 page not found error whereas when i run it on mydomain/ it work fine.
please suggest something how i can run it. i followed your wiki link but its not working.do i need to change my server.js file which is like this.
`const next = require('next')
const routes = require('./routes')
const app = next()
const handler = routes.getRequestHandler(app)
// Without express.js
const {createServer} = require('http')
app.prepare().then(() => {
createServer(handler).listen(4000, err => {
if (err) throw err
console.log('> Ready on http://<IP_ADDRESS>:4000')
})
})`

What's your nginx directive for /something?

Somewhat a duplicate of https://github.com/zeit/next.js/issues/257, it's not possible at the moment.


Fix poison condition for long latency instructions

This caused issues where things wouldn't quite be flushed in some situations, leading to a spurious long instruction writing back.  Interestingly, cosim had a hard time finding it, because the writeback happens out of band, so the commits looked fine.

Nope, that's why this is a subtle bug.  The commit was getting poisoned (so it doesn't show up in cosim), but the writeback was not getting poisoned.  So what would happen is the pipeline would flush on exception, then at some point in the future, the division would complete and write back garbage into the regfile

Should we maybe latch the commit_v signal and writeback only if it's high?

Yeah, probably a good idea

Hi, for each bug fix, we should also see a commit of a regression test.

I'll add the riscvdv tests that raised these bugs


XML Tag not closed

<TextBlock Text="This is the header!" FontSize="16"> in the second sample is not closed. It should end with FontSize="16"/>.

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

ID: c98fd351-dff8-f54c-3466-629c7443e438
Version Independent ID: 7c30dc86-cb99-e3e1-3ae4-c56f97ceb864
Content: HeaderedContentControl XAML Control - Windows Community Toolkit
Content Source: docs/controls/HeaderedContentControl.md
Product: community-toolkit
GitHub Login: @skendrot
Microsoft Alias: mhawker

Fixed, will go live with our doc push for the upcoming release!


http://localhost/signin-oidc   error

**when i goto url: http://localhost/signin-oidc
there is error**
An unhandled exception occurred while processing the request.
Exception: Correlation failed.
Unknown location
Exception: An error was encountered while handling the remote login.
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.HandleRequestAsync()
Stack Query Cookies Headers
Exception: Correlation failed.
Show raw exception details
Exception: An error was encountered while handling the remote login.
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.HandleRequestAsync()
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Show raw exception details
System.Exception: An error was encountered while handling the remote login. ---> System.Exception: Correlation failed.
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

here is the startup.cs

public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
    public IConfiguration Configuration { get; }

    // This method gets called by the runtime. Use this method to add services to the container.
    public void ConfigureServices(IServiceCollection services)
    {
        services.Configure<CookiePolicyOptions>(options =>
        {
            // This lambda determines whether user consent for non-essential cookies is needed for a given request.
            options.CheckConsentNeeded = context => true;
            options.MinimumSameSitePolicy = SameSiteMode.None;
        });

        #region
        JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
        services.AddAuthentication(options =>
        {
            options.DefaultScheme = "Cookies";
            options.DefaultChallengeScheme = "oidc";
        })
            .AddCookie("Cookies")
            .AddOpenIdConnect("oidc", options =>
            {
                options.SignInScheme = "Cookies";
                options.Authority = "http://localhost/iam.web/identity";
                options.RequireHttpsMetadata = false;//
                options.ClientId = "NetCoreMvcWeb";//
                options.SaveTokens = true;

                options.SignedOutRedirectUri = "http://localhost:5000";

                options.ResponseMode = "form_post";//
                options.ResponseType = "id_token token";//
                options.Scope.Add("openid");
                options.Scope.Add("profile");
                options.Scope.Add("roles");
                options.Scope.Add("tlwapi");

            });

        #endregion

        services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }
        else
        {
            app.UseExceptionHandler("/Home/Error");
            app.UseHsts();
        }

       // app.UseHttpsRedirection();
        app.UseStaticFiles();
        app.UseCookiePolicy();

        #region
        app.UseAuthentication();//
        #endregion

        app.UseMvc(routes =>
        {
            routes.MapRoute(
                name: "default",
                template: "{controller=Home}/{action=Index}/{id?}");
        });
    }
}

Not enough info

here is the startup.cs
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
    public IConfiguration Configuration { get; }

    // This method gets called by the runtime. Use this method to add services to the container.
    public void ConfigureServices(IServiceCollection services)
    {
        services.Configure<CookiePolicyOptions>(options =>
        {
            // This lambda determines whether user consent for non-essential cookies is needed for a given request.
            options.CheckConsentNeeded = context => true;
            options.MinimumSameSitePolicy = SameSiteMode.None;
        });

        #region
        JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
        services.AddAuthentication(options =>
        {
            options.DefaultScheme = "Cookies";
            options.DefaultChallengeScheme = "oidc";
        })
            .AddCookie("Cookies")
            .AddOpenIdConnect("oidc", options =>
            {
                options.SignInScheme = "Cookies";
                options.Authority = "http://localhost/iam.web/identity";
                options.RequireHttpsMetadata = false;//
                options.ClientId = "NetCoreMvcWeb";//
                options.SaveTokens = true;

                options.SignedOutRedirectUri = "http://localhost:5000";

                options.ResponseMode = "form_post";//
                options.ResponseType = "id_token token";//
                options.Scope.Add("openid");
                options.Scope.Add("profile");
                options.Scope.Add("roles");
                options.Scope.Add("tlwapi");

            });

        #endregion

        services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IHostingEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }
        else
        {
            app.UseExceptionHandler("/Home/Error");
            app.UseHsts();
        }

       // app.UseHttpsRedirection();
        app.UseStaticFiles();
        app.UseCookiePolicy();

        #region
        app.UseAuthentication();//
        #endregion

        app.UseMvc(routes =>
        {
            routes.MapRoute(
                name: "default",
                template: "{controller=Home}/{action=Index}/{id?}");
        });
    }
}

Not enough info

I have the same problem as you. Recently I have been trying to find the answer, but I have not solved it!

Posting all your code doesn't help give info as to what's happening. We don't debug your code for you on this issue tracker. We listen for bug reports in or feature requests for IdentityServer.

Please give me a definite direction so that I can make some progress in my work again

@wlnh420 Have you solved your problem? If so, please tell me

I am also getting same, but didn't get any solution yet.
I applied the patch but its not a correct solution.
In Configure method of startup.cs
app.UseExceptionHandler("/Home/Error");
In home controller
public IActionResult Error()
{
var exceptionFeature = HttpContext.Features.Get();
if (exceptionFeature != null)
{
Exception exceptionThatOccurred = exceptionFeature.Error;
Log.Error(exceptionThatOccurred, "Logged from Home/Error");
string routeWhereExceptionOccurred = exceptionFeature.Path;
if (routeWhereExceptionOccurred.Contains("signin-oidc"))
{
return Redirect("Home/");
}
}
return View();
}

Unfortunately, this will not solve the root cause of my problem, which I will always pay attention to

Yes agree, but on production you need some work around for this issue.

It may be beneficial that, instead of redirecting to "localhost", you mock a domain using your hosts file and redirect to it.  Just my $0.02 on the subject.


How do you clear an autocomplete manually?

Bug, feature request, or proposal:
Bug
What is the current behavior?
Actually have the same problem which is reproduced in this example
https://stackblitz.com/edit/angular-material2-issue-v5gpri?file=app%2Ftag.component.html
I using an autocomplete chips component. Try to put some letter in input and select one of the values. Note that input not clearing. I trying to reset this value manually and nothing helps.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chrome, MacOS Sierra 10.12.6
Angular ^4.4.6
@angular/material ^2.0.0-beta.12

I'm not sure why this would be set to such a low priority. Through this bug, you cannot combine chip input with autocompletes :/

@We-St You can work around the issue by changing:
  (optionSelected)="add($event)"
To:
(optionSelected)="add($event); chipInput.value = ''"

After a bit of playing around I was able to get it working, however there does appear to be an issue where the formControl setValue is not updating the value displayed in the control:
https://stackblitz.com/edit/angular-material2-issue-wmgcaj
I was able to work around this by using both formControl.setVaue and input.value so both view and model were in sync.

Faced the same problem. After little investigation of source code, found that MatAutocompleteTrigger saves previous value.
Setting empty value and dispatching "input" event worked for me:
input.value = '';
input.dispatchEvent(new Event('input', {
      'bubbles': true,
      'cancelable': true,
    }));

Revisiting old bugs- I think this one is obsolete. We have an example of this in our docs: https://material.angular.io/components/chips/examples#chips-autocomplete


Re-enable large_dot_general2 for Vulkan

This was hitting a GPU driver bug in Pixel 4.

https://buildkite.com/iree/iree-android-arm64-v8a/builds/5914 passes.


XmlReader ReadElementContentAsString Hangs if End of Document Reached in Stream

Given the following XML:
<?xml version="1.0" encoding="utf-16"?><DeviceCommand>PlayTone</DeviceCommand>
Which is generated by the XmlWriter command:
var writer = XmlWriter.Create(namedPipeClientStream)
writer.WriteElementString("DeviceCommand", "PlayTone")
writer.Flush()

This reader command will cause an XML reader on the server to hang until the stream is closed:
var reader = XmlReader.Create(namedPipeServerStream)
reader.MoveToContent()
var txt = reader.ReadElementContentAsString()

The command fails even though the entire element was sent. This alternative command works as expected:
reader.MoveToContent()
reader.Read()
var txt = reader.Value;

However, if the stream is closed, then the XmlReader is able to read the node without issue and the call to ReadElementContentAsString works as expected.
It looks like XmlReader is waiting until it gets the node after the EndElement before it returns the string, but it doesn't properly recognize the end of the root node. This appears to be undocumented behavior.
This was tested on .NET Core 3.0 on Windows.

Realized this is in the wrong project - apologies - moving to dotnet/runtime.


Ember 4 Support

This PR makes a few tweaks necessary to ensure ember-truncate works with Ember 4, which should fix #472.
The key change is running ember-no-implicit-this-codemod over the addon templates to avoid any free-floating references to properties on their backing class.
For tests to pass with recent Ember versions, we also needed to bump some devDependencies (most notably ember-auto-import to v2) and sprinkle a handful of this. prefixes in test templates. With those changes, the ember-release, ember-beta and ember-canary scenarios should all be green now.

(It looks like CI is disabled currently because the repo hasn't had activity in 60 days)

Re-enabled!

I kicked it with an empty amend, now just needs approval to actually run

I think this should be ok to be released as a patch, as ember-auto-import is just a devDependency bump. WDYT, @dfreeman?

Agreed! I had started down the path of only changing the auto-import version as part of the ember-try scenarios, but then realized that since it's only a devDependency, we won't break anyone by updating.

Happy new year @scalvert! Any chance you can approve CI again?

I think this should just be a patch bump. WDYT, @dfreeman?

Agreed 🙂


build FFmpeg with LLVm 12

Hello,
I am using Clang 12 on my macOS:
clang --version
clang version 12.0.0
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

I need to use your project on FFmpeg so I used these commands:
brew install automake fdk-aac git lame libass libtool libvorbis libvpx  opus sdl shtool texi2html theora wget x264 x265 xvid nasm
export LLVM_COMPILER=clang
export LLVM_BITCODE_GENERATION_FLAGS='-g'
mkdir build
cd build
CC=wllvm CXX=wllvm++ /Users/macbook/Documents/github-repos/FFmpeg/configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame  --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libopus --enable-libxvid --samples=fate-suite/

extract-bc ffmpeg

but it shows this:
ERROR:FFmpeg/build/ffmpeg contained no __WLLVM segment

Can you please help me?
Thank you

Hello,
I am using Clang 12 on my macOS:
clang --version
clang version 12.0.0
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /usr/local/opt/llvm/bin

I need to use your project on FFmpeg so I used these commands:
brew install automake fdk-aac git lame libass libtool libvorbis libvpx  opus sdl shtool texi2html theora wget x264 x265 xvid nasm
export LLVM_COMPILER=clang
export LLVM_BITCODE_GENERATION_FLAGS='-g'
mkdir build
cd build
CC=wllvm CXX=wllvm++ /Users/macbook/Documents/github-repos/FFmpeg/configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame  --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libopus --enable-libxvid --samples=fate-suite/

extract-bc ffmpeg

but it shows this:
ERROR:FFmpeg/build/ffmpeg contained no __WLLVM segment

Can you please help me?

Is ffmpeg an elf executable?  (see what:
file ffmpeg

says).
Turn on the logging, and look at the log files.
Look at how it was built (in the logs), how it was linked etc.

file ffmpeg

yes it is:
file ffmpeg
ffmpeg: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=cead7fc672b167dacab1a4ae1a81d2ce103849b3, stripped

It is built with CC which is set to wllvm and but it's linking with ld because of this:--ld="g++" \.
Do I need to change it?
Thanks

In Debian, I used CC as an argument to ./configure and it works! but I don't know why.

WARNING:Did not recognize the compiler flag "-mllvm"
WARNING:Did not recognize the compiler flag "-stack-alignment=16"

Can you help me please?

Those warnings are harmless usually. Using ld as the linker is also harmless, unless it uses flags that strip the executable.
What was the linking line like? Can't hurt to change it though.

What was the linking line like?

sorry I don't know where do I need to check to answer this question:(

Look at the README about logging and debugging.

Then scour the log for something like  -o ffmpeg

Hi, i think this might be related to https://github.com/travitch/whole-program-llvm/issues/114
I had a similar bug.
ERROR:FFmpeg/build/ffmpeg contained no __WLLVM segment means BitcodeGeneration was skipped when ffmpeg was built

So all I can suggest is to turn on logging and watch what is happening.
These sorts of things are possible:
1 The build system is using lto and so the .o files are actually bitcode.
2 The build system has hard coded the compiler.
Some detective work is required. File an issue, solve it, then bask in the fame 😜

FFmpeg‘s configure file does not using system variable "CC".
If you want to using wllvm to build it , you shuold do someting like that:
./configure --disable-yasm --cc=wllvm
and then you can extract it with extract-bc ffmpeg
full commands here:
cd ffmpeg
./configure --disable-yasm --cc=wllvm
make
extract-bc ffmpeg

and you can find ffmpeg.bc here!


Slack - Command Palette

Send a block by hitting the command palette
Have a default channel configured that could be sent without the tag
Sticky Send as User

From Jonathan Leung on Slack

Audit: Won't do


Enter transition wouldn't played when animate css properties defined in enter-active css class

Enter transition wouldn't played when animate css properties defined in enter-active css class.
Sample code:
https://codepen.io/hsuehic/pen/gLNJZj

Sample code on jsfiddle
https://jsfiddle.net/qceecxur/

v-enter-active transition css properties should define in base css selectors


Fix/handle scoped storage again

https://github.com/esafirm/android-image-picker/pull/362 for 3.x
Close https://github.com/esafirm/android-image-picker/issues/422, https://github.com/esafirm/android-image-picker/issues/371
Context: https://github.com/esafirm/android-image-picker/pull/362#issuecomment-1321025997
Tested in Android 11 and Tiramisu

The fix breaks the picker on API 33. The picker gets stuck with a "Please grant storage permission to select images" label.

It seems that we cannot request both Manifest.permission.READ_MEDIA_IMAGES and Manifest.permission.READ_MEDIA_VIDEO permissions using a single RequestMultiplePermissions. Requesting one permission at a time solves the problem.
I haven't dug into the problem to figure out the correct approach on requesting both permissions at once. Changing
private val permissions: Array<String> by lazy {
to
           Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU -> {
                if (config.isIncludeVideo)
                    arrayOf(Manifest.permission.READ_MEDIA_IMAGES, Manifest.permission.READ_MEDIA_VIDEO)
                else
                    arrayOf(Manifest.permission.READ_MEDIA_IMAGES)
           }

solves the problem when selecting only images, but when we want to select both images and videos, the problem is still there.


Jobs scheduled every day get skipped on certain days

I have a strange problem where jobs scheduled everyday will not get executed that day.
Jobs scheduled on specific days can take up to 12 hours to complete, and when that specific-day job completes, it's as if the every-day jobs were never scheduled/pending.
schedule.every().day.at("09:00").do(job1)
schedule.every().day.at("16:00").do(job2)
schedule.every().day.at("16:05").do(job3)
schedule.every().monday.at("05:00").do(job4)
schedule.every().tuesday.at("05:00").do(job5)

while True:
	schedule.run_pending()
	time.sleep(1)

Hi! Thanks for reporting this. As you are mentioning long-running jobs starting in the afternoon I have the strong suspicion it is the same problem as described in #304. Closing this as a duplicate.


PsrLogger methods not follow interface

Google/Logging/PsrLogger::emergency
https://github.com/googleapis/google-cloud-php/blob/8c6f6521ac205f88640ba0b580ef6e01a916d7cc/Logging/src/PsrLogger.php#L172
not follow interface Psr/Log/LoggerInterface
public function emergency(string|\Stringable $message, array $context = []): void;

https://github.com/php-fig/log/blob/fe5ea303b0887d5caefd3d431c3e61ad47037001/src/LoggerInterface.php#L30

Yes, for that reason this library does not support psr/log:3 and only supports psr/log:1 and psr/log:2

@ihsanberahim if you download the individual packages instead of installing google/cloud (e.g. install google/cloud-bigquery, see the complete list of packages), you will be able to install psr/log:3

I lock my psr/log to v2 then no more error. Thanks.


N Queens Visualizer

Describe the project you want to add with tech stack

The N Queens puzzle is the problem of placing N queens on an N x N chessboard such the no 2 queens attack each other i.e no two queens share the same row, column or diagonal. The above project demonstrates the process of finding all such possible configurations using the Backtracking Approach.
Expected behavior

Takes number of queens as input from user
Takes speed as input
Generates the possible configurations on chessboard using Recursion and Backtracking

Screenshots (optional)

Tech Stacks

HTML, CSS , Javascipt
Git Repo Link
https://github.com/divya-2910/N-Queen-Visualizer
Live Site
https://divya2910-n-queens-visualizer.netlify.app/

@pranjay-poddar  @Saurabh-kumar09  @MohitGupta121
Can you please assign this to me under GSSOC'23!!


Fixed #508; Fixed #528; Fixed #532

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

15 of 15 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 94.463%

Files with Coverage Reduction
New Missed Lines
%

Presentation/PresentationLogic/API/PresentationLogic.cs
1
99.37%

Totals

Change from base Build<PHONE_NUMBER>5:
0.02%

Covered Lines:
17658

Relevant Lines:
18693

💛  - Coveralls


docs: add guide for basic info windows

Screenshot of new guide:

Squashed into a new commit so that the commit history isn't overly verbose

Perfect, thanks!


Is it possible to download the maximum resolution? 1080? 4k?

Is it possible to download videos in maximum resolution using your code? If so, tell me in detail how? I need to download a clip in 1080, but all files are saved only in 360.😢

Use my fork (https://github.com/omansak/libvideo)
and you can download 1080p videos without sounds

Use my fork
used
you can download 1080p
i cant. end file 360. i use:
 var youTube = YouTube.Default; var video = youTube.GetVideo(link); File.WriteAllBytes(@"D:\" + $"{i} {video.Title} ({video.Resolution}).{video.Format}", await video.GetBytesAsync());

Fixed. Update 3.0.0


SJAFFE dataset images

Hello,
I wanted to use the dataset SJAFFE. There are 213 samples which correspond to 213 images of the dataset. Is there any way to know which sample id corresponds to each image from the original dataset?
Thanks in advance!

Hi,
I happened to make a list according to the label distributions of SJAFFE. Could you leave your email address so I can send it to you?

Here it is<EMAIL_ADDRESS>Thanks so much!


Better Name for ILoggerAdapter and LoggerAdapter

It would be good to have a better name for ILoggerAdapter and LoggerAdapter in our codebase. They do act as wrappers around the Microsoft-provided ILogger and Logger, however, that's irrelevant to their use.
Anyone calling them should not care that they're "adapting" an interface.

I can do this then. I'll fork and work on this today.

How does ILoggable and LogWriter sound?


random: rand32_timer: Avoid alignment faults by using memcpy

The previous implementation assumed that the dst pointer was always
aligned to a 4-byte boundary in platforms that require alignment for
storage of 32-bit integers. Since this is required for certain platforms
(eg. Arm Cortex-M0), use memcpy() instead, which always takes
alignment into account.
Fixes #33969.
Signed-off-by: Carles Cufi<EMAIL_ADDRESS>

@maweicoltsmart would appreciate if you could test this.


Build failure: 20-cidr-limit failed while waiting for Cilium to shut down

Build 948 of master failed:
03:33:25 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files/dump_gops_output: getting gops output for cilium-agent and dumping to dir /home/vagrant/go/src/github.com/cilium/cilium/tests/cilium-files/20-cidr-limit/profiling/cilium-agent
03:33:25 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files/dump_gops_output: running "gops stack" for cilium-agent
03:33:25 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files/dump_gops_output: running "gops memstats" for cilium-agent
03:33:25 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files/dump_gops_output: running "gops stats" for cilium-agent
03:33:25 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files/dump_gops_output: done getting gops output for cilium-agent
03:33:26 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/gather_files: finished gathering files for test 20-cidr-limit in test suite runtime-tests
03:33:26 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup: removing container id.server2
03:33:26 ==> cilium-master-build-master-948-envoy: id.service2
03:33:26 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup: deleting all policies from cilium
03:33:26 ==> cilium-master-build-master-948-envoy: Revision: 127
03:33:26 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup: stopping cilium with systemctl
03:33:26 ==> cilium-master-build-master-948-envoy: ----- 20-cidr-limit.sh: main/cleanup/wait_for_cilium_shutdown: waiting for cilium to shutdown
03:33:26 ==> cilium-master-build-master-948-envoy: Makefile:5: recipe for target 'runtime-tests' failed

The last log is "waiting for cilium to shutdown" in function tests/helpers.bash:wait_for_cilium_shutdown:
function wait_for_cilium_shutdown {
  log "waiting for cilium to shutdown"
  i=0
  while [[ -f /var/run/cilium/cilium.pid ]]; do
    micro_sleep
    if [[ ${i} -ge 120 ]]; then
      log "Timeout while waiting for Cilium to shutdown"
      exit 1
    fi
    ((i++))
  done
  log "finished waiting for cilium to shutdown"
}

The line log "finished waiting for cilium to shutdown" does not appear in the build output indicating some failure in the logic while we wait for Cilium to shutdown.

cc: @scanf

@ianvernon Are you able to reproduce this reliably? I suspect it's the conditional statement to the pidfile. Maybe using pgreg will fix it alternatively we could just remove it. Could you try the below patch and see if it fixes the issue? Thanks.
From ba57d7827a28bb971f3ea00e96597a56ffc85ad6 Mon Sep 17 00:00:00 2001
From: Alexander Alemayhu<EMAIL_ADDRESS>Date: Sat, 2 Dec 2017 02:47:11 +0100
Subject: [PATCH] tests: use pgrep instead of checking for pidfile

Suspect this fixes the sporadic runtime failure seen.

Related: #2239 (Build failure: 20-cidr-limit failed while waiting for Cilium to shut down)
Signed-off-by: Alexander Alemayhu<EMAIL_ADDRESS>---
 tests/helpers.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/helpers.bash b/tests/helpers.bash
index d98e36e14973..47c1ee8224eb 100644
--- a/tests/helpers.bash
+++ b/tests/helpers.bash
@@ -1102,7 +1102,7 @@ function ping_success {
 function wait_for_cilium_shutdown {
   log "waiting for cilium to shutdown"
   i=0
-  while [[ -f /var/run/cilium/cilium.pid ]]; do
+  while pgrep cilium-agent; do
     micro_sleep
     if [[ ${i} -ge 120 ]]; then
       log "Timeout while waiting for Cilium to shutdown"
--
2.13.6

@scanf it intermittently fails builds on Jenkins, not too often. We could also use set +e then at the end of the function use restore_flag $save "e" as the function itself handles errors and does not need to error out if a command returns a non-zero return code. I prefer this approach because it's what the other functions do and it makes it clear that the function itself handles various failure conditions.

Sounds good will add it to my queue.

Last related failure to this is a timeout... Changing it to use pgrep as well and will trigger 10 more builds.

Also bumped the timeout.

Not seen for 11 builds, please reopen if it shows up again.


[feature] predictable controlplane endpoints

Problem Description
When creating a cluster, the cluster endpoint is picked by the omni system automatically (see https://github.com/siderolabs/omni-feedback/issues/22#issuecomment-1505126598).
Theoretically, this makes it impossible to install Cilium CNI without kube-proxy enabled, because one needs to know the endpoint in advance according to https://www.talos.dev/v1.4/kubernetes-guides/network/deploying-cilium/
However, my observations show that the same endpoint address (unique local ipv6) is picked when a cluster is recycled (i.e., delete the cluster and recreate it). This holds true for one cluster tied to an Omni account, but it is not clear how stable this approach is or even if it is stable at all.
Solution
Allow to manage controlplane endpoints from Omni UI and omnictl and assign them (like machines) to a cluster.
When adding an endpoint, the endpoint address is selected automatically, but can be patched like MachineConfig, etc.
This would help manage the custom/local endpoints I've suggested in #22 where one could add an endpoint and override the endpoint address using a patch.
Alternative Solutions
Show the next endpoint address in the Omni home screen:

Notes
No response

You don't really the Kubernetes endpoint before the cluster is created. You can create the cluster as usual, pull down kubeconfig, and install Cilium using either CLI or Helm once the Kubernetes API server is up.

You don't really the Kubernetes endpoint before the cluster is created. You can create the cluster as usual, pull down kubeconfig, and install Cilium using either CLI or Helm once the Kubernetes API server is up.

Correction: you can find the endpoint in the machine config of any node.

Mhm, I see, but this makes automation hard since I have to create a cluster to see the endpoint, then update the respective files in my IaC git repo (and maybe recreate the cluster).
However, I'll close this issue because it's redundant and you are already looking into #22.


Add validation tests for Apparmor

Part of #24.
Seems apiextensions-apiserver hasn't synced recently, so k8s.io/apiextensions-apiserver/pkg/features will not be found in any packages and updating vendors for k8s.io/apiextensions-apiserver will report WARNING: package k8s.io/apiextensions-apiserver is unused, consider removing it from vendor.conf.

Update: actually only one function is used from k8s.io/kubernetes/pkg/security/apparmor package, replaced with a local function instead.

@Random-Liu Addressed comments, PTAL

LGTM


Add users permission requirements to BPM public documentation

Hello Team,
Customers are sharing their concerns regarding the documentation as there is no information provided regarding the permissions necessary to publish the libraries and only the project owner and admin users for the projects can publish the BPM libraries.
Please consider adding this information in the future.
Thank you in advance for your time and support.

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

ID: ce25d25b-daa2-02f8-89ac-69222074b126
Version Independent ID: 1b3ab8e7-af9b-cc96-0936-2ce8594af909
Content: Complete tasks in Business process modeler (BPM) - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/lifecycle-services/complete-tasks-bpm.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @AngelMarshall
Microsoft Alias: tsmarsha

Bug 24809341 has been logged to address this issue.

Thanks for your feedback. We have passed this feedback onto the product team for consideration.


react forwardRef shows up as namespace and function.

Search terms
react forwardref namespace function kind
Expected Behavior
exporting a forwardRef component should show up once in the generated docs, as a function, consistent with any other functional component.
Actual Behavior
typedoc has any forwardRef component showing up as both a namespace and a function
Steps to reproduce the bug
/**
* @function
* @group Component
*/
export const MyComp = forwardRef((props: { children?: ReactNode }, ref: ForwardedRef<any>) => {
   return <>{children}</>
});

Environment

Typedoc version: 0.25.4
TypeScript version: 5.0.4
Node.js version: 20.6.1
OS: win10

for what it's worth, I was able to subvert this by forcing the type on export with an 'as' .
I think I understand why it happens: React's additional properties like displayName, propTypes, defaultProps, etc, makes a function into an object, and thus a namespace according to typedoc. things like React.memo and React.forwardRef explicitly export that object-function instead of a simple component-shaped-function that one usually exports.
would this classify as a "working as intended" or is there a more elegant way to handle this particular react side-effect?

It does count as working as intended right now, though looking back at #2436, I'm not entirely sure why I decided to make a namespace in this case rather than putting the property declarations on the function. Consistency is nice, but in this case, and the Object.assign case from that issue, I think it makes more sense to treat these as function properties than creating a separate namespace.

Would function properties appear in the index, then?
I ask because I'm working on a project where certain functions have properties and methods; e.g. there is an effect() function with effect.root() and effect.scheduler().  This results in both a namespace and a function, as described by this issue.  I would actually like to unify the namespace and the function, but would at least somewhat prefer to still be able to see the properties in the index.  (But maybe it would be fine as long as the properties are sufficiently prominent on the function's page?)
Slightly more complex: I have a callable const that actually implements an interface with overloads.  This is currently expanded into a function and namespace in the docs, but if I try to document the const directly in any way, I lose all the overload-specific documentation from the interface.  (And if I don't document the const, I can't put it in a category.)  Instead of documented properties + overloads, I get the constant's documentation repeated for each overload, and then the rest of the interface is represented by a namespace.
Playing around with the fix for #2436, it looks like directing the convertSymbols() to apply to the current reflection instead of a new namespace declaration, causes Object.assign-style properties to be added to an "index" section on the function page, but not to the on-page table of contents.  It also works for interfaces, in that the interface's methods get added to the index, but it doesn't fix the inability to keep the overloads' documentation if you document the export.

What do you mean by "in the index"? The change that you made is what I was considering, with a few other adjustments to handle some more edge cases. This results in both properties being shown in the "On this page" section, and the "index", but not under the full site navigation tree as functions are not expanded.

This makes me want to add more options for configuring the navigation tree...

The const is a totally different issue -- and a way worse one. Overloads are awful, overloads without overload syntax (e.g. variables rather than multiple function declarations) are even worse. There is only one declaration, so unless you repeat the type, there's only one place to add the comment, so TypeDoc applies it to all signatures.
const x: {
  /** Docs for signature 1 */
   (): string;
  /** Docs for signature 2 */
   (x: number): number;
} = ...

In this case, since you're just adding a category, we're in luck, as the inline form of @inheritDoc can point to the interface, which will copy the descriptions from the signatures while allowing us to set the category.
export interface Int {
    /** Docs for string returning signature */
    (): string;
    /** Docs for number returning signature */
    (x: string): number;
}

/**
 * {@inheritDoc Int}
 * @category Foo
 */
export const foo: Int = () => {
    throw 1;
};

By "in the index" I meant that on the main index (modules.html) there would be entries for the effect.root and effect.scheduler functions, right after effect itself.
In practice the issue has largely been mooted for me at this point; I gave up on getting Typedoc to match the project and instead made the project match Typedoc, i.e. I got rid of the namespaces/function "methods".
(Of course, after doing that, I ended up spending enough time hacking on the Typedoc default theme figuring out how to get the markdown pages plugin working with the new navigation system, that now if I really needed to I'm pretty sure I could make the navigation work whatever way I wanted now, but I like the namespace-free version of my API better so I'm probably not going back.  :grin:)

Ah, that index doesn't include anything nested. I tend to also prefer namespace-free APIs


Modify uORB API to allow cleaner in-app use

The goal of this branch is to reduce the number of lines per application, or to express it more generally: We need to get rid of boilerplate.

Applied via cherry-pick.


Partial fix for #1388: Allow Agora to restart

First commit should be fairly obvious. Second and third one attempt to address this issue:
2020-11-28 21:22:48,94 Info [SCP] - LocalNode::LocalNode@GDNOD qSet: 204980
2020-11-28 21:22:48,94 Info [agora.consensus.SCPEnvelopeStore] - Loading database from: .cache/scp_envelopes.dat
core.exception.AssertError@source/agora/consensus/EnrollmentManager.d(649): UTXO for validator not found!

This needs a test

I have a test case locally but this needs more work:
2020-11-30 18:47:21,858 Info [agora.network.NetworkManager] - Retrieving blocks [1..1] from Validator #1 (GDNODE3EWQKF33TPK35DAQ3KXAYSOT4E4ACDOVJMDZQDVKP66IMJEACM)..
2020-11-30 18:47:21,858 Info [agora.network.NetworkManager] - Received blocks [1..1]
2020-11-30 18:47:21,858 Trace [agora.consensus.state.UTXOSet] - findUTXO: utxo_hash 0x6d85d61fd9d7bb663349ca028bd023ad1bd8fa65c68b4b1363a9c7406b4d663fd73fd386195ba2389100b5cd5fc06b440f053fe513f739844e2d72df302e8ad0 not found
2020-11-30 18:47:21,858 Trace [agora.node.Ledger] - Rejected block: Transaction: Input ref not in UTXO: Height: 1, Prev: 0x72e6...3b7d, Root: 0x4542...b1c8, Enrollments: [],
Transactions: 8
Type : Payment, Inputs (1): 0x6d85...8ad0:0x02b2...feb7
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0xc378...d314:0x0fbf...ba74
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0x451a...f0eb:0x0cbf...9070
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0xd446...cb92:0x0db4...6a07
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0x7e19...d685:0x0847...80d9
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0x3451...1e85:0x0348...0ecf
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0xfca9...baf8:0x02da...95d1
Outputs (1): GCOQ...LRIJ(61,000,000)
Type : Payment, Inputs (1): 0xff05...beeb:0x052b...09b1
Outputs (1): GCOQ...LRIJ(61,000,000)

Fixed, should look much better now


Disable default use of all features for nostr-sdk dependency

Description
Avoid using the full features of nostr when it's used as a dependency of nostr-sdk.
Right now, using nostr-sdk with a limited subset of features still pulls the nostr dependency with all its features. This causes for example a Cargo.toml which only wants to load feature nip04 alongside other dependencies
[dependencies]
nostr-sdk = { version = "0.18", default-features = false, features = [ "nip04" ] }
unicode-normalization = "^0.1.17"

to fail because the nostr-sdk dependency nostr is loaded with all its features, including nip06 which brings along bip39, which has a specific version of  unicode-normalization:
error: failed to select a version for `unicode-normalization`.
// ...
all possible versions conflict with previously selected packages.

  previously selected package `unicode-normalization v0.1.9`
    ... which satisfies dependency `unicode-normalization = "=0.1.9"` of package `bip39 v1.0.0`
    ... which satisfies dependency `bip39 = "^1.0"` of package `nostr v0.18.0`
    ... which satisfies dependency `nostr = "^0.18"` of package `nostr-sdk v0.18.0`

This PR makes sure the nostr dependency of nostr-sdk is not always loaded with all features.
Using nostr-sdk with specific features will still load the corresponding ones in nostr.
Notes to the reviewers
This is relevant when nostr-sdk is used with with specific features like default-features = false, features = [...].
This also doesn't affect the default case, when nostr-sdk loads all-nips.
Changelog notice
Load only necessary nostr dependencies when using nostr-sdk feature flags
Checklists
All Submissions:

[x] I've signed all my commits
[x] I followed the contribution guidelines
[x] I ran cargo fmt and cargo clippy before committing

Not sure how to fix the CI, but the PR does make setups like
[dependencies]
nostr-sdk = { version = "0.18", default-features = false, features = [ "nip04" ] }
unicode-normalization = "^0.1.17"

load only nip04 for both nostr-sdk and nostr.
Do you have an idea how to fix the CI errors? Or is there another way to do this?

There are some other changes to do. I'll fix the errors and push to the master branch.

Ok, I pushed changes on master branch. Check if now works

Works, thanks!


add GDAL version matrix in all CI runs

right now we test gdal 2 and gdal 3 only in master and is not a required CI

done in #55


what does  tf.image.convert_image_dtype(img, tf.float32)[tf.newaxis, ...] means?

I don't understand 【tf.newaxis,...】what this code does. Would you like to help me understand this code?

@sunshuofeng,
As per my understanding, this issue is related to Tensorflow, and not related to TF Hub. You can raise an issue in Tensorflow Repo, which will be looked into by Tensorflow Experts. Thanks!

i'm sorry about that and thank you


Revert "Count number of bits to create a better estimate of number of hits it…"

Reverts vespa-engine/vespa#22716
2 system tests started failing and some performance tests had worse performance after this change, this should be merged if that is not as expected.
@baldersheim  or @toregge please review.

Not expected at all.... Why hard ....


change "Don't include all files from your uploads directory" to an exclude list

moved to Trello feature board, soon to be made public


Use correct snapshot filename, and wait for it to populate

The snapshots appear to take up to a minute to actually fully write to disk. Wait to download till ready

@caseypugh 60s seems to be sufficient in most of my testing, but arguably the script should be checking for remote file size before trying to download. There's a 0 byte file for 30-45s and then the full ~270mb appears


feat: Add LLaVA-InternLM2-20B

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


fix(storage): public url not updating & azure Sas urls

fix(storage): public url not updated when updating file properties
fix(storage): azure blob Sas not returning proper filenames

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other (please describe)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the main branch
[x] When resolving a specific issue, it's referenced in the PR's description  (e.g. fix #xxx, where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature

Other information:

@kon14 can you please propagate to 0.15.x as well?


Remove drop_duplicates() from SAR method

https://github.com/microsoft/recommenders/blob/efaa3d7742183dee0846877e2dc64977098e1977/reco_utils/recommender/sar/sar_singlenode.py#L232
We may assume that the input data frame has no duplicates, since 90% of the time this has been ensured in prior data prep stages of the data science pipeline.

Remove the drop_duplicates() occurrence
Update doc string to require input DFs contain no duplicates.

@simonzhaoms since you are looking into SAR.


HV-1990 Test Hibernate Validator against JDK 24

https://hibernate.atlassian.net/browse/HV-1990

https://ci.hibernate.org/blue/organizations/jenkins/hibernate-validator/detail/PR-1349/2/pipeline/
Build passed for all JDKs


Not compatible with IE11

px-login not compatible with IE11. Was trying to use the latest version of px-login and getting the following exception -
{ABORT_ERR: 20, code: 3, constructor: DOMException {...}, DATA_CLONE_ERR: 25, DOMSTRING_SIZE_ERR: 2, HIERARCHY_REQUEST_ERR: 3, INDEX_SIZE_ERR: 1, INUSE_ATTRIBUTE_ERR: 10, INVALID_ACCESS_ERR: 15, INVALID_CHARACTER_ERR: 5, INVALID_MODIFICATION_ERR: 13, INVALID_NODE_TYPE_ERR: 24, INVALID_STATE_ERR: 11, message: "HierarchyRe...", name: "HierarchyRe...", NAMESPACE_ERR: 14, NETWORK_ERR: 19, NO_DATA_ALLOWED_ERR: 6, NO_MODIFICATION_ALLOWED_ERR: 7, NOT_FOUND_ERR: 8, NOT_SUPPORTED_ERR: 9 ...}
Please suggest .

Thanks for feedback. Could you please supply us with the following:

Version you are using
Version of Polymer you are using
If you are using this within the Dashboard Seed Starter Pack, could you send us the version of that as well?
If you are using Angular, version
Possible location where we can look at this issue
Data or service endpoint that you are using, if possible
Does this work in isolation outside of your app?

Thank you -- any of these would greatly help.

Hi, I've just tested this in IE11 and IE10 in the production seed and local seed and all works as expected.
Closing this issue as there appears to be a parallel discussion via email. Thanks.


Configure PDF Generation

Describe the feature request.
Using configuration, connect the HTML structure to be used to generate PDF together with the questionnaire that intends to use that HTML structure.
Additional context
N/A
Acceptance criteria
A check list of all things to verify once the implementation by the engineer is complete

[ ] HTML is saved as Binary resource
[ ] Create a property in the config to accept the Binary ID of the HTML structure
[ ] Create a button action type in the config that will trigger the PDF generation

Area path
A list of ordered steps in the app on usage of the feature to support anyone testing it e.g. Code reviewer, QA e.g.

Go to a profile
Tap the button that will trigger the PDF generation
App shows a print manager dialog
Tap save as PDF

Implementation plan (For Engineers)
The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed.

Safe the HTML as a Binary resource
Create a rule in the profile, if the taskQuestionnaireId is X then return that Binary resource ID
Pass that rule that contains the Binary resource ID to the questionnaireConfig's property, probably called pdfStructureId
In the code, use that ID to get the HTML Binary resource
Use the HTML

looks great!


add other targets for multiplatform

Hi, thanks for this lib. I have added it to my project commonTestImplementation("de.peilicke.sascha:kex:1.1.1") but getting errors
my-project:nativeTest: Could not resolve de.peilicke.sascha:kex:1.1.1.

my-project:mingwX64Test: Could not resolve de.peilicke.sascha:kex:1.1.1.

The project doesn't have native and mingwX64 targets yet. Shouldn't be much work though ...


NUT for Discreet Log Contract support

Today I published a first-draft of an idea for discreet log contract integration for Chaumian Ecash mints.
https://conduition.io/cryptography/ecash-dlc/ [Pull request link]
Before I go to the trouble of writing up a NUT submission, is this even the right place for such an idea? Or would DLCs be outside the scope of Cashu?
Naturally I don't think DLC support should be mandatory for any cashu implementation. But DLCs could be a highly desirable feature for ECash... something which might incentivize non ecash users to take the plunge. DLCs could offer a sort of programmable functionality on top of Ecash, outside of simple unconditional payments, without adding much complexity to the mint itself.

There are already NUTs for DLEQ Proofs, P2PK and HTLCs, so yeah I think it's nut-worthy and fine to have optional specs


Assignment_2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
we learned about Linear Regression.
What did you learn from the changes you have made?
3 steps of Data inspection, Data-visualization, Model fit and RMSPE.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
N/A
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
N/A
How were these changes tested?
N/A
A reference to a related issue in your repository (if applicable)
N/A
Checklist

[ ] I can confirm that my changes are working as intended

A2: Incomplete
Q1 part (ii) Please explain what float64 variable type is in short 1-2 sentences, as indicated in the question
Otherwise Great work, should be a quick fix for your A2 to be marked complete

A2: Complete
Great, what I was looking for


Rename Ty::interned to Ty::kind

... since that's the actual method on Chalk side that matches the signature.

bors r+
changelog skip


[Skills Menu] Introduce skills menu

Changes

Skills Menu can be opened by pressing S (changed from Tab because Tab would also move the focus on the buttons)
Menu will spawn a tab for each character
Menu will spawn skill buttons and show their description on click
Player can assign skill points to party members with confirm and undo actions

Implementation details:

SkillMenuButton will take care of upgrading the skill instance, and emit a skill_upgraded signal
SkillMenu will subscribe to skill_upgraded and take care of the available points to spend

I put some test code in to give Aegis class 3 starting points. That's how I tested this (also checked that test code is not committed)

The tooltip:

This is so hype! You're at least 50% done. Now, comes the spicy part.

When the player clicks on the button, boost the rank/level of the related SkillInstance
Depending on the rank/level of the skill instance, and if the SkillData object has skills that get unlocked, allow that next skill to be selected. This is where the skill tree part comes in.

for unlockable_skill in skill_data.unlocked:
  if skill_instance.current_rank >= unlockable_skill.minimum_rank_of_previous:
  # allow that skill to have upgrade points thrown in


Add Browserify support

When loading this module through node or Browserify's require() a "module not found" error is thrown.
This is due to the package.json file missing a "main" entry pointing to the main application script.
By adding this Node and Browserify users can easily use require('@orange-games/phaser-input'), allowing it to be nicely packaged inside their bundled script file.
Do note that using the script in this way still requires one to expose Phaser to the global scope. This is caused by the plugin relying on globals.

Never mind. After testing this out there is no way to properly require() it due to it not exporting anything.


[aes, dv] Debug and enable stress_all test

Description
After discussing with @rasmus-madsen it should be noted that for AES, we have the aes_stress_vseq which covers most of the functionality that the stress_all and stress_all_with_rand_reset tests cover. The risk that we miss something for M2.5.2 by not having these two tests is very very low. That's also why we haven't bothered to enable them earlier.
For AES, the stress_all and stress_all_with_rand_reset tests are currently disabled. When trying to enable them (see this branch on my fork), I noticed that whenever stress_all decides to reset AES in between two sequences, the simulation completely stops. It's not that the DUT doesn't react anymore or that the clock stops, but rather that the timing engine stops completely. At this point, I don't know why but I have observed this with multiple simulation tools.

TOOL:	xrun(64)	22.09-s001: Exiting on Jun 22, 2023 at 21:28:01 CEST  (total: 00:01:02)
make: *** [/home/pirmin/ot/opentitan/hw/dv/tools/dvsim/sim.mk:145: simulate] Error 15

The apply_reset() function for the clk_rst_if looks as follows:
...
        RstAssertAsyncDeassertSync: begin
          `dv_info($sformatf("Waiting %0d ps", dly_ps))
          #(dly_ps * 1ps);
          `dv_info("PULLING RESET")
          o_rst_n <= 1'b0;
          wait_clks(reset_width_clks);
          `dv_info("DEASSERTING RESET")
          o_rst_n <= 1'b1;
        end
...

And the wait_clks() function
 task automatic wait_clks(int num_clks);
    `dv_info($sformatf("Waiting %0d clks", num_clks))
    repeat (num_clks) begin
      `dv_info($sformatf("1 clk"))
      @cb;
    end
  endtask

So the @cb event isn't happening anymore after pulling the reset. The waves recording also stops at that point.
As mentioned above, this isn't ultra critical for M2.5.2 but we should resolve it for V3.

I was able to track down the issue. The problem was a zero latency loop inside the key sideload DV agent occuring as soon as the reset was active. The PR to fix this is here: #19118.
With this fix applied, the work to enable the stress_all test can continue. There are still some changes related to the AES scoreboard and the actual sequences necessary but this should now be more manageable.

Update: I've resolved some more issues and now made a PR to enable the stress_all and stress_all_with_rand_reset tests (https://github.com/lowRISC/opentitan/pull/19207). The former now works fine whereas the latter still fails. This will need to be resolved in a follow-up PR.


[python] docs say categorical features must be encoded as int, but pandas categorical columns work

Currently the documentation on categorical feature support says that:

Categorical features must be encoded as non-negative integers

However, the codes have been updated and now support simply specifying a feature as being of the dtypecategorical.
Reproducible example
LightGBM version or commit hash:
lightgbm 2.2.3

import lightgbm as lgb
from sklearn.datasets import load_breast_cancer
import pandas as pd
import numpy as np

X, y = load_breast_cancer(return_X_y=True)
X = pd.DataFrame(X).iloc[:,:5]
X['x_'] = pd.Categorical(np.random.choice(['a','b'], size=X.shape[0]))

params = {
    'objective': 'binary',
    'use_missing': 'true',
    'is_unbalance': 'false',
    'boosting': 'gbdt',
    'random_state': None,
    'verbose': -1,
    'bagging_freq': 1,
    }

dat = lgb.Dataset(X, label=y, categorical_feature=['x_'])
clf = lgb.train(params=params, train_set=dat,
                categorical_feature=['x_'],
                num_boost_round=10)

Thanks very much @leihuang !
The document you've linked to is documentation for all of LightGBM, not only the Python package. lightgbm's Python package converts data pandas categorical columns to an integer representation before passing the data to the C++ code used to create a lightgbm.Dataset object.
https://github.com/microsoft/LightGBM/blob/b1b6db4bd72746afa41ce9f23683937e872ecc2b/python-package/lightgbm/basic.py#L579-L581
pandas categorical columns have an attribute .codes which contains an integer representation of the data in the categories: https://pandas.pydata.org/docs/reference/api/pandas.Categorical.codes.html.

I think it would be useful to add a note in a bullet point at https://lightgbm.readthedocs.io/en/latest/Advanced-Topics.html#categorical-feature-support that says something like this:

Some LightGBM wrappers in other language may do this conversion for you. For example, the Python package converts pandas categorical columns into an integer representation.

Are you interested in contributing such a change?

@leihuang Thanks for noting this inconsistency!
We have already added a similar note to the categorical_feature parameter description:

Note: only supports categorical with int type (not applicable for data represented as pandas DataFrame in Python-package)
https://lightgbm.readthedocs.io/en/latest/Parameters.html#categorical_feature

I think this issue could be closed. Feel free to reopen if need.


competition?

I totally get the idea, nativehtml's approach is bottom up (native with html as decoration), where webview is kindof of the opposite.
Are there any similar frameworks like this (other than react-native), im really curious about the flavours of this bottom-up approach.
hope all is well

I am not aware of any... Android has a built-in converter that converts HTML to spanned strings


Update the Android App to use the latest SDK version

The SDK got updated, so we need to pull in the new version and verify the code is still running and functioning correctly. A means of automated syncing may need to be developed if the SDK starts getting regular updates.

Thanks, I'll check it out.

I tried merging in the new SDK changes but since I moved the original SDK to the subdirectory Android/App I had trouble.  As a quick fix, I created a new fork of the SDK in the top level repository ftc_app and copied over the changes.  I then updated the new SDK and the PC program to work with the new changes in packet sizes and offsets.  Do you think I should just remove the Android App from the ftc_app_networked_simulator repository and use the standalone ftc_app repository?

Maybe we can apply some logic from this, http://www.arlocarreon.com/blog/git/git-repo-inside-a-git-repo/
It may make life easier, but if we do it, we should provide precompiled packages to make life easier for others.


Raise hand and microphone bug

Describe the bug
When I press raise hand to talk , nothing happens so I cant talk in any room I wish someone help me with this bug.
To Reproduce
Steps to reproduce the behavior:
You tell me

Did you try this version? https://github.com/bit-world/Houseclub/releases/tag/1.0.9

I don't know Sent from my Huawei phone-------- Original message --------From: 7thluci<EMAIL_ADDRESS>Fri, Mar 5, 2021, 8:49 AMTo: grishka/Houseclub<EMAIL_ADDRESS>Subscribed<EMAIL_ADDRESS>[grishka/Houseclub] Raise hand and microphone bug (#246)
Describe the bug
When I press raise hand to talk , nothing happens so I cant talk in any room I wish someone help me with this bug.
To Reproduce
Steps to reproduce the behavior:
You tell me
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Did you try this version? https://github.com/bit-world/Houseclub/releases/tag/1.0.9

Same issue

Same issue to it isn't solved

Use VPN bro

Use VPN bro

Must i force stop the app or what?

I've tried the version 1.0.9 and still have the same issue
I raise my hand and when anyone invites me to speak I cant speak (there's no microphone appears to me)
Please I need to solve it help

VPN worked guys thanks

How can I use VPN?

Anny suggest to good app for vbn

@7thluci could u please name the vpn that worked for you or any one...thanks in advance

I don't know Sent from my Huawei phone-------- Original message --------From: Hossam Mahmoud<EMAIL_ADDRESS>Sat, Mar 6, 2021, 3:47 AMTo: grishka/Houseclub<EMAIL_ADDRESS>Kot52<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Re: [grishka/Houseclub] Raise hand and microphone bug (#246)
@7thluci could u please name the vpn that worked for you or any one...thanks in advance
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.

@Kot52  ??

@Kot52 انا مع حضرتك ف روم السينيما و مش قادر اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟

https://github.com/bit-world/Houseclub/releases/tag/1.0.9
On Sat, Mar 6, 2021, 5:29 AM Hossam Mahmoud<EMAIL_ADDRESS>wrote:

@Kot52 https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر
اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-791853381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A
.

https://<IP_ADDRESS>/
On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot<EMAIL_ADDRESS>wrote:

https://github.com/bit-world/Houseclub/releases/tag/1.0.9
On Sat, Mar 6, 2021, 5:29 AM Hossam Mahmoud<EMAIL_ADDRESS>wrote:

@Kot52 https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر
اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-791853381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-791853381,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A
.

تمام شكرا جدا ياربت تتأسف بلنيابة عني  ل استاذ عمرو عشان مكانتش قادر ارد عليه @Kot52

انا حرفيا مفيش حاجة بتظهر ليا اني ازاي اخش.... البرنامج معلق جدا من اندرويد او من نوع موبايلي فا مش عارف اعمل ايه  بلغ اعتذاري ل عمرو بسبب الموبايل

@Kot52

انا بعتله مسج على انستجرام ياربت لو يقدر يرد

هيرد اكيد Sent from my Huawei phone-------- Original message --------From: Hossam Mahmoud<EMAIL_ADDRESS>Sat, Mar 6, 2021, 6:12 AMTo: grishka/Houseclub<EMAIL_ADDRESS>Kot52<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Re: [grishka/Houseclub] Raise hand and microphone bug (#246)
انا بعتله مسج على انستجرام ياربت لو يقدر يرد
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

سطب الاثنين وشغلهم
…
On Sat, Mar 6, 2021, 5:54 AM Yasser Elkot @.> wrote: https://<IP_ADDRESS>/ On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot @.> wrote: > https://github.com/bit-world/Houseclub/releases/tag/1.0.9 > > On Sat, Mar 6, 2021, 5:29 AM Hossam Mahmoud @.***> > wrote: > >> @Kot52 https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر >> اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟ >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> <#246 (comment)>, >> or unsubscribe >> https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A >> . >> >

عاوز اقولك انت جامد فشخ اقسم بالله ♥♥ شابو بجد اتحلت المشكلة

Same problem vpn don't success with me

After setup verion 1.0.9 the app still open version 1.0.7

Use super vpn it works

https://<IP_ADDRESS>/
…
On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot @.> wrote: https://github.com/bit-world/Houseclub/releases/tag/1.0.9 On Sat, Mar 6, 2021, 5:29 AM Hossam Mahmoud @.> wrote: > @Kot52 https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر > اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟ > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#246 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A > . >

Use warp or <IP_ADDRESS>

It doesnt work sadly could you follow me and we try in a room to check if it is working ?

عنيا ليك
On Sat, Mar 6, 2021, 1:50 PM MeGzX<EMAIL_ADDRESS>wrote:

سطب الاثنين وشغلهم
… <#m_2047929676972759853_>
On Sat, Mar 6, 2021, 5:54 AM Yasser Elkot @.> wrote: https://<IP_ADDRESS>/
https://<IP_ADDRESS>/ On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot @.> wrote:

https://github.com/bit-world/Houseclub/releases/tag/1.0.9 > > On Sat,
Mar 6, 2021, 5:29 AM Hossam Mahmoud @.***> > wrote: > >> @Kot52
https://github.com/Kot52 https://github.com/Kot52 انا مع حضرتك ف روم
السينيما و مش قادر >> اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟ >> >> — >>
You are receiving this because you were mentioned. >> Reply to this email
directly, view it on GitHub >> <#246 (comment)
https://github.com/grishka/Houseclub/issues/246#issuecomment-791853381>,

or unsubscribe >>
https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A
. >> >

عاوز اقولك انت جامد فشخ اقسم بالله ♥♥ شابو بجد اتحلت المشكلة
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-791923216,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7OOJJ2XOD6UR3DE4RTTCIJIHANCNFSM4YUVAX3A
.

عنيا ليك
…
On Sat, Mar 6, 2021, 1:50 PM MeGzX @.> wrote: سطب الاثنين وشغلهم … <#m_2047929676972759853_> On Sat, Mar 6, 2021, 5:54 AM Yasser Elkot @.> wrote: https://<IP_ADDRESS>/ https://<IP_ADDRESS>/ On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot @.> wrote: > https://github.com/bit-world/Houseclub/releases/tag/1.0.9 > > On Sat, Mar 6, 2021, 5:29 AM Hossam Mahmoud @.**> > wrote: > >> @Kot52 https://github.com/Kot52 https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر >> اكون سبيكر هل بيتبعتلي انفايت و مش بخش ؟ >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> <#246 (comment) <#246 (comment)>>, >> or unsubscribe >> https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A >> . >> > عاوز اقولك انت جامد فشخ اقسم بالله ♥♥ شابو بجد اتحلت المشكلة — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#246 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCYQ7OOJJ2XOD6UR3DE4RTTCIJIHANCNFSM4YUVAX3A .

ممكن يسطا الانستجرام بتاعك علشان في كذا مشكلة موجهاني

اعمل سيرش على اسمي هتلقيه
On Sat, Mar 6, 2021, 10:42 PM Hesham942<EMAIL_ADDRESS>wrote:

عنيا ليك
… <#m_837737803081245471_>
On Sat, Mar 6, 2021, 1:50 PM MeGzX @.> wrote: سطب الاثنين وشغلهم …
<#m_2047929676972759853_> On Sat, Mar 6, 2021, 5:54 AM Yasser Elkot @.>
wrote: https://<IP_ADDRESS>/ https://<IP_ADDRESS>/ https://<IP_ADDRESS>/
https://<IP_ADDRESS>/ On Sat, Mar 6, 2021, 5:53 AM Yasser Elkot @.> wrote: >
https://github.com/bit-world/Houseclub/releases/tag/1.0.9
https://github.com/bit-world/Houseclub/releases/tag/1.0.9 > > On Sat, Mar
6, 2021, 5:29 AM Hossam Mahmoud @.**> > wrote: > >> @Kot52
https://github.com/Kot52 https://github.com/Kot52
https://github.com/Kot52 انا مع حضرتك ف روم السينيما و مش قادر >> اكون
سبيكر هل بيتبعتلي انفايت و مش بخش ؟ >> >> — >> You are receiving this
because you were mentioned. >> Reply to this email directly, view it on
GitHub >> <#246 https://github.com/grishka/Houseclub/issues/246
(comment) <#246 (comment)
https://github.com/grishka/Houseclub/issues/246#issuecomment-791853381>>,

or unsubscribe >>
https://github.com/notifications/unsubscribe-auth/ATCYQ7O3HB3ENJ6I3HSIUMDTCGORLANCNFSM4YUVAX3A
. >> > عاوز اقولك انت جامد فشخ اقسم بالله ♥♥ شابو بجد اتحلت المشكلة
— You are receiving this because you were mentioned. Reply to this email
directly, view it on GitHub <#246 (comment)
https://github.com/grishka/Houseclub/issues/246#issuecomment-791923216>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7OOJJ2XOD6UR3DE4RTTCIJIHANCNFSM4YUVAX3A
.

ممكن يسطا الانستجرام بتاعك علشان في كذا مشكلة موجهاني
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-792051101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7NCYXLF7EAJIEALNU3TCKHTLANCNFSM4YUVAX3A
.

باسم kot52?

Yasser Elkot
On Sat, Mar 6, 2021, 10:50 PM Hesham942<EMAIL_ADDRESS>wrote:

باسم kot52?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/246#issuecomment-792052461,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCYQ7M2OJPMQPPJRJM2TYTTCKIQLANCNFSM4YUVAX3A
.

The name for the vpn app that run perfectly ?

المايك عندي مش راضي يظهر


Extende usage for next-multilingual

feat: use key as message when not found

If a component has a message file for the selected locale but not a key entry for the requested key, do not return just an empty string but the key. This makes sense also when using formatJsx and want to see just replacement for values.

feat: allow extended options and different file types for translation…

Instead only using .properties file types also .json and .ya?ml files are possible.
exampleApp.component.myId: This is the text
exampleApp.component.myIdMultiline:
  This is the text over
  multiple lines handled
  by yaml

feat: allow different parser based on translation file ext

Based on the translation file extension select the right parser for dot-properties, json, yaml.

feat: allow option keys from path

Instead have to define fix structure per component (applicationId.segment.key), you may use simple key=value files also. The appId and a unique segmentContext is inserted by components filePath.
pages/about.js
import { useMessages } from 'next-multilingual/messages';
...
  const messages = useMessages();
...
  {messages.format('about')}
  {messages.format('Who we are?')}

pages/about.de-DE.yaml
about: Ein tolles Team!
Who we are?: Wer sind wir?

next.config.js
const config = new Config('myApp', ['de-DE'], { fileExt: '.yaml', keysFromPath: true });

feat: allow DRY if keys from path and key already defines the message

When using full text as keys it does not make sense (DRY) to repeat this for value in 1 to 1.
  {messages.format('Who we are?')}

pages/about.en-US.yaml
Who we are?:

This is handled as existing key and the value is set by key instead of an empty / null value

Attention: I made the changes based on release tag 0.10.3 to stay on stable.

Hi Nicolas - thanks for feedback.
To shorten this - I guess - you have your defined opinions and decisions and you will rely on them. Since you are the owner that's your right and for an understandable reason.
Our Workflow differs a lot for what we are doing and we are looking for. The changes do not have an impact on next-multilingual component but on your opiniated decisions.
While we won't change the flow but interested in your What's in for me we are willing to stay on a forked component.
The changes are minor so that we are able to stay aligned with your upcoming realeases.
In case you like me to do more - just give me a note.
Thanks for your engagement
Cheers, Tom

Thanks for understanding @TomFreudenberg - this is the whole philosophy behind next-multilingual it's based on practical experience in large-scale environments where i18n best practices are critical. This is why we consider ourselves as an opinionated package rather than a generic one trying to please all use cases. Our goal is to promote what we consider best practices from our own industry experience in that space and it's totally fine if you want to tailor your own process using a fork.
I'm going to close this PR for now, happy to chat more on some of these topics outside of GitHub!

We prepared a derived package at:
https://github.com/4commerce-technologies-AG/next-multilingual-alternate
If some wants to know more in detail, please come up to our issue list.
Cheers
Tom


UTF-8 input doesn't work

Describe the bug
ad treats all input as ASCII which doesn't match its buffers.
To Reproduce
Open ad, type or paste (via the terminal's clipboard functionality) non ASCII characters.
ad adds garbage to the buffer.
Possible Fixes
I wrote an unpolished and slightly incorrect fix for this (https://github.com/sternenseemann/ad/commit/375b30d0f8744a873f13f748068a5c9edbbb0e5c) which fills an up to four byte buffer in try_read_char.
However, I think that try_read_char should be replaced since reading input char by char is quite slow (you can already observe that when pasting a large amount of text via the system/terminal clipboard). Instead, the TUI should probably read input in a buffered fashion. If the input handling code was to be rewritten in this fashion, implementing unicode input would be simpler, as a buffer for remaining bytes would already exist.

Ah, yeah the assumption that all characters coming from stdin are a single byte is an oversight from when I first implemented utf8 support. That said, I'm confused as to how you are hitting this through pasting: how are you triggering this? Pasting should directly access the clipboard (currently through xclip though I'm aware that needs improving as per #61) which works fine, and middle clicks should be getting intercepted and handled internally by ad rather than triggering a paste.
Reading input buffered isn't something I'm looking to implement at the current time and I'd need to understand better what the benefits were: as I said, the behaviour of pasting for me doesn't exhibit this behaviour at all.

As I write, I'm not using the clipboard feature in this case. With an TUI editor users will do that occasionally. Besides, you can also just enter unicode characters directly via your keyboard.

when pasting a large amount of text via the system/terminal clipboard


port HCA to use OLS 4

2 HCA components use OLS:

ingest-ui
ingest-validator

options:

use public ols
~upgrade private hosted OLS to use OLS 4~

Option 1 is preferable in terms of maintenance.
Amnon and Enrique need to check whether public OLS can be used or what the gap is.
See discussion from 10/7 by James, Enrique and Amnon
James' github handle - @udp
Deadline for decommission of public OLS 3 - Oct 2023

I am porting ingest-ui to work with OLS4.
There are 2 types of calls:

/select with term id as the query: example
/select select for all terms (*) in an ontology, example

The first one works well.
2nd one results in a 500. I created ticket EBISPOT/ols4#418 and notified @udp.

@amnonkhen @Jeena-Rajan
This has now been bumped up in urgency, ever since the last managed access meeting.
We will need to be able to tag HCA projects with DUO codes, which are driven by an ontology.
Because of this, please provide an estimate of time of completion, but our needs would probably be for a few weeks from today.
Thanks!

Gabby has mentioned will be required for schema updates happening within the next 2 weeks.

Get a refernce for the required changes from biovalidator.

For ingest-validator, the work would involve:

[ ] 1. find OLS api calls used

expand curie: /api/search?q=MONDO:0018177&exact=true&groupField=true&queryFields=obo_id
validate: /api/search?q=MONDO:0018177&exact=true&groupField=true&allChildrenOf=http://purl.obolibrary.org/obo/MONDO_0000001&ontology=mondo,efo&queryFields=obo_id

[ ] 2. compare the results in OLS3 and OLS4

identical inputs yield identical outputs

[ ] 3. If there are differences in the required inputs or outputs, change the code accordingly

Hey, @amnonkhen
Thanks for prioritising this.
@ESapenaVentura @idazucchi - who can do the testing at the end?

In a meeting between @ESapenaVentura @arschat & @amnonkhen we found the following:

data:0006 - This value is missing because the EDAM ontology modified the prefix from data: to EDAM:. The resolution here would be:

in any active datasets modify data: values to EDAM:
in future updates for documents that use data: the validation would fail until the wrangler/contributor fixes the document in a similar way

wieird - I uploaded a submission, the submission had metadata errors but clicking on the link didn't load the errors, the page hangs for a long time
Project 1 - b5d05080-5417-4c22-89f8-4a5eff18d1f9
Project 2 - ec30720b-cfe2-424f-9655-a69a132e2883

After deploying the change that groups documents with identical obo_id together, these projects pass validation. The only errors are due to missing files.

Inspecting the nodes, I  found that one of them has a warning: FreeDiskSpaceFailed:
❯ kubectl describe node ip-10-70-0-62.ec2.internal
Name:               ip-10-70-0-62.ec2.internal
...
Events:
  Type     Reason               Age                     From     Message
  ----     ------               ----                    ----     -------
  Warning  FreeDiskSpaceFailed  2m35s (x6266 over 76d)  kubelet  (combined from similar events): failed to garbage collect required amount of images. Wanted to free<PHONE_NUMBER> bytes, but freed 0 bytes


meal finder application

Describe the project you want to add with tech stack
Uses API to search for the entered meals. Also has a random toggle button to toggle between dishes
Screenshots (optional)

@MohitGupta121


feat: add Apache APISIX dashboard playground on website

Actual Behaviour
Apache APISIX dashboard demo shows on apache/apisix-dashboard readme, but it is so small. Sometimes I can't find it.
Expected Behaviour
I hope to add a dashboard entrance to the website.
Screenshots of the issue

Would like to work on this issue
Please assign this to me

can I get an insight of the feature wanted?

Hi, @DevGautam2000 @1502shivam-singh I just come back 😅 @Serendipity96 means people want to have a quick check before installing Apache APISIX Dashboard, but there has one 1 entrance on the README that says "demo", it's too hidden, so she wants to add an entrance on our website.
Like https://github.com/apache/apisix-website/issues/667#issuecomment-950389732 says, @DevGautam2000 how about adding the demo button on the Website's Homepage?

@DevGautam2000 Are you still doing this? If you do not have enough time, I can try to work on this issue.

@juzhiyuan @1502shivam-singh  Do you think it is possible to add a modal (need add a related dependency)? I think it's hard to design a not ugly block to contain the content of demo account.

@juzhiyuan @1502shivam-singh Do you think it is possible to add a modal (need add a related dependency)? I think it's hard to design a not ugly block to contain the content of demo account.

How about linking a button to Dashboard Demo directly? (with username & password) instead of embedding an inframe

How about linking a button to Dashboard Demo directly? (with username & password) instead of embedding an iframe

I've created a drft PR, https://github.com/apache/apisix-website/pull/947. I designed a block with some desc and a btn.
I think it's hard to design a NOT UGLY btn with username & password😅

Something like this?

@1502shivam-singh Thx for your prototype. I think it's better for users to get account information without additional operations. 😅 But you gave me some inspiration, I will think about it again.

@1502shivam-singh Thx for your prototype. I think it's better for users to get account information without additional operations. 😅 But you gave me some inspiration, I will think about it again.

Keep it clean. It's not necessary that everything should be thrown at once to the user, the ellipsis style button would raise user's curiosity enough to click and get the demo credentials.
Also, would like some more ideas from your side.

@1502shivam-singh @juzhiyuan I'm still struggling.😅 Any suggestion to this prototype?

We can change Downloads or Go to docs ...  to  Request demo as the docs and Downloads columns are already visible in the navigation.
Click the button, The current page pops up with a prompt showing the demo account password
Open demo address in a new window
Just a few of my thoughts, free to play ~😆

We can change Downloads or Go to docs ...  to  Request demo as the docs and Downloads columns are already visible in the navigation.

I would say change Go to docs ... as downloads button is more important I believe in this section.

Click the button, The current page pops up with a prompt showing the demo account password

This modal idea is preferable to me too.

Click the button, The current page pops up with a prompt showing the demo account password

This modal idea is preferable to me too.

I've already mentioned this.

Do you think it is possible to add a modal (need add a related dependency)?

But no reply was received. 😂 It's easy to do it.

How about using a Tooltip component? Just like

Mouse over the button to display the account password, click on the button to jump to the demo.

I would prefer showing the demo account information directly :D

I would prefer showing the demo account information directly :D

@juzhiyuan What do you think of my prototype? I've tried my best. :P

LGTM 🎉 🙌

@juzhiyuan What do you think of my prototype? I've tried my best. :P

Is the big GO like the hover state ?
I am not really sure about it, as it seems really disconnected from the elements in its close proximity because of the large font size.

Better yet, I have a suggestion. How about you animate the gradient on the dashboard playground text with some hover animation. This will hit the sweet spot of being both attention pulling and aesthetic.
Also, left some feedback in the prototype, please check.

Is the big GO like the hover state ? I am not really sure about it, as it seems really disconnected from the elements in its close proximity because of the large font size.
Better yet, I have a suggestion. How about you animate the gradient on the dashboard playground text with some hover animation. This will hit the sweet spot of being both attention pulling and aesthetic.
Also, left some feedback in the prototype, please check.

@1502shivam-singh Hi, I've add a GIF to my pr (our preview dead), you can have a look. I'm worried about how to make the animation more lively. You gave me a good suggestion. Thx. 😊

Also, left some feedback in the prototype, please check.

I checked.
If I change "pass" to "password", it looks less stable (I want its layout to be more triangular). Maybe "passwd" is a better choice, I think.
Thx for your advice. For convenience, I will update my PR directly (I'm too unfamiliar with figma😅).


Craftable Items not showing in blueprints

Not sure if this is the right place to report this, but this mod is not working for me. The items are not showing up in the blueprints area to craft.
Not sure what Info you need, if any.
Running Mod Components. Have taken out all other mods to see if there was a conflict, nope, still not working. Updated Steam copy with DLC.

go to our modding discord and send your log into #troubleshooting, that way me or some other modders can see what's wrong and help you fix it
https://discord.gg/EktcYFwh


Generalize install daemonset and extend by pre-install / post-uninstall hooks

With this PR I'm trying to remove Kata specifics from the controller code. Currently the code, especially the
part where we create the daemon set that runs the runtime installer, is very specific and tailored for kata-deploy.
What I'm trying to do is to factor out all runtime specific variables into custom resource fields and by that making
the code more generic.
On top of the refactoring this PR also brings a patch that extends the functionality of the operator.
Patch 2 adds functionality to run code before the installation of the runtime and also right after it was uninstalled. This gives the opportunity to prepare the nodes and deploy any binaries, configuration files etc before the runtime is installed. The user can now specify a

pre-install daemon set. Runs before the daemon set that install the container runtime
post-uninstall daemon set. Runs after the main daemon has finished uninstalling the container runtime

One example would be to replace the default containerd binary with one that has custom patches to run confidential containers [1]. This is done by specifying a daemonset in the CR yaml that does this. The config/samples/ccruntime.yaml file serves as an example and has all the definitions required to replace containerd, install the Kata containers runtime and eventually remove everything from the cluster.
[1] a daemonset that replaces containerd with the patched one prepared by @fidencio

I pushed a new set of changes. Unfortunately the changes are quite big and I had to force push. Still, I tried to make it as easy to review as possible and also keep it bisectable. I recommend to review commit-by-commit.

by the way, to test it you need to use image: quay.io/confidential-containers/container-engine-for-cc-payload:x86_64-2022042013051650452713 for preInstall.image and postUninstall.Image. The ":latest" tag doesn't work for me (any more). @fidencio

by the way, to test it you need to use image: quay.io/confidential-containers/container-engine-for-cc-payload:x86_64-2022042013051650452713 for preInstall.image and postUninstall.Image. The ":latest" tag doesn't work for me (any more). @fidencio

I think it's happening due to the image policy used, as<PHONE_NUMBER>051650452713 is the same as latest, as shown here: https://quay.io/repository/confidential-containers/container-engine-for-cc-payload?tab=tags


Is that possible to control rate limit dynamically?

In my case, service#1 and service#2 are sharing a same request pool (to access a thirdparty service). The access rate of service#2 is very unstable, usually it's free, but sometimes many connections may come in suddenly and it will become very busy
What I want to implemented is: limit service#1 to 5 qps as a basic,  limit service#2 to 10 qps as a basic, when service#1 reaches its limit, I want to check if service#2 is busy or not , if service#2 is not very busy, I will let service#1 steal 1 quota from service#2 for this perticular access.

I don't believe that's possible to achieve in the current implementation

I worked around this problem, but seems it's hard to integrate my solution to the current zuul-ratelimit inplementation.
What I did :  created a rate limit checker in zuul filter by using "es.moki.ratelimitj", and defined a policy as below:
ratelimit:
repository: Redis
policy-list:
- service-name: service#1
limit: 5
refresh-interval: 1
sharable: false  # can not be stolen
- service-name: service#2
limit: 6
refresh-interval: 1
sharable: true # can not be stolen
- service-name: service#2
limit: 4
refresh-interval: 1
sharable: true # can be stolen

It's totally a new implementation, but I did refer to your solution to define my policy and the limiting process. I would try to implement that by extending zuul-ratelimit after my busy project work finished.
My solution is simple:  I leverage ratelimitj as a standalone limiter, I defined all the three limiters with ratelimitj. When a request comes in, firstly I checked the service name, and found the corresponding limiter that is not sharable. if the limiter is full, I will then look for another limiter that is sharable.

well, making two policies use the same allocation (limit / quota) should be easy enough by adding a property to the policy name and in the other policies add a property that specify they consume the other policy quota.
But that not exactly what described here.
Making one policy overflow to another one as described will be harder but it also doable.
We can add a property to specify the overflow policy and on failure to consume try to take it from the other policy.
I think this request is a combination of those two capabilities

I think if you overwrite filter(RateLimitPostFilter and
) , and do some thing for your customer implementation will control rate limit dynamically.


Add laravel ide helper

Add one dependency and published its config file.
The dependency provides commands to generate PHP Docs for Laravel Facades and Models.
I ran an initial round of the commands to have the docs created inside a dedicated directory which is scanned by PhpStorm.
It is possible that there are methods regarding relations that are not correct if the project would be usingcustom relationship types (see https://github.com/barryvdh/laravel-ide-helper?tab=readme-ov-file#custom-relationship-types).
If that's the case, please let me know. I'm not sure if I can sufficiently check on my own, since I'm still new to Laravel.
The additions were made using the -M(ixin) flag, to be able to prevent annoying IDE warnings for inconclusive type references but still keep changes to the original model files to a minimum.
Alternatively to this whole changeset, we can also force other maintainers to generate these files by themselves. However that would mean that we need to be very cauteous that the PHP docs of the models are not being altered by the script on any commit/pull request.

I added the types of the variables to the blade files for the repository view to demonstrate the behavior of the IDE. Feel free to check it out. The benefit comes in play when trying to use data from a model, since PhpStorm can now autocomplete the fields.
It is not perfect though as for example inside the test_cases_list_with_child_suites view, PhpStorm does not realize that $childSuite is a $suite just by adding the type to $suite. This however is due to the lack of proper return types from the HasAdjajencyList class. I opted to only declare the variables injected through the controller and not local ones. The local ones I'd do inline.

@a13xh7 what do you think, is this worth it? I'd also try to document the handling of the commands somewhere to know what to do when a model got updated, since the helper files need to be regenerated in that case.

I tested the workflow for adding a new field to a model and regenerating the PHP-docs. Unfortunately this marks the models inside ./app/ as changed although the content of the files is not altered. I checked the source of the laravel-ide-helper project and indeed, it writes to the models even if the "nowrite" option is set.
Q1: Is it acceptable to have files marked as changed on a commit even though there is no real change of the content inside the files?
Q2: Where should I document this? I don't think it belongs into the README.md.

@ENG3PLabs I don't have any experience with laravel ide helper, so do as you think is right.

yes
README.md is ok, at the end of the file.


CoE Starter Kit - Admin | Sync Template Flow - Flow Maker Display Name and City field values not set

As part of this process, when the Flow records are upserted into the Flow entity, the Flow Maker Display Name and City fields are not being set. This is because the definition is blank for this fields.
The impact of this is that the PowerPlatformAdminDashboard (Power BI Dashboard) does not display Flows by Flow Maker and the Flow map does not show any items.

The fix is to set the value to the Display Name of the Maker record from the immediate previous step.

After applying this update the Flow completes and the fields populate and the report renders with Makers and the City.

Thanks for letting us know! I found this fix earlier and was going to mention it.

Thanks for reporting this @mathyousee, this has been resolved in the most recent update. Please check out the updated dashboard and let us know if there's still an issue here. Also please look at the new sync template v2 (set of Flows) for an optimized experience.


detection of packages in custom locations (intellisense)

from user:
I have my user-installed packages located in the d:\rlibs directory, and RTVS seems to have trouble picking them up. Intellisense only finds the packages which are installed under the R install tree (…\R-3.x.x\library), and not elsewhere.
How I’ve set it up: I have a .Renviron file under c:\users\hongooi\documents containing 1 line
R_LIBS=d:/rlib
Does RTVS check for this file at startup? Note that everything works fine in R; I can load packages without any problems. It’s Intellisense that doesn’t pick them up.

See #1095