chore(main): release wasmer-toml 0.9.3

:robot: I have created a release beep boop
0.9.3 (2024-04-09)
Miscellaneous Chores

release 0.9.3 (#36) (d2e0003)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wasmerio/wasmer-toml/releases/tag/wasmer-toml-v0.9.3 :sunflower:


Issue Type
Performance
Modules Involved
MPC protocol, SPU runtime
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
spu 0.9.3dev20241009
OS Platform and Distribution
Ubuntu 22.04
Python Version
3.9
Compiler Version
GCC 11.2.1
Current Behavior?
下面代码中floyd_opt函数里最后一句代码 “batch_2 = batch_2.at[indices].set(batch_2_upper_triangle)” 导致程序跑得很慢，去掉后程序跑得很快，但是这是简单的赋值操作，不会带来这么大开销，是什么原因呢？输出日志和代码如下。

去掉batch_2 = batch_2.at[indices].set(batch_2_upper_triangle)时输出日志：

[2024-11-24 11:24:13.057] [info] [api.cc:172] [Profiling] SPU execution floyd_opt completed, input processing took 4.11e-07s, execution took 0.00039479s, output processing took 1.413e-06s, total time 0.000396614s.
[2024-11-24 11:24:13.057] [info] [api.cc:220] HLO profiling: total time 3.1869e-05
[2024-11-24 11:24:13.057] [info] [api.cc:223] - pphlo.constant, executed 1 times, duration 3.1869e-05s, send bytes 0 recv bytes 0, send actions 0, recv actions 0
[2024-11-24 11:24:13.057] [info] [api.cc:220] HAL profiling: total time 0
[2024-11-24 11:24:13.057] [info] [api.cc:220] MPC profiling: total time 9.837e-06
[2024-11-24 11:24:13.057] [info] [api.cc:223] - broadcast, executed 1 times, duration 9.837e-06s, send bytes 0 recv bytes 0, send actions 0, recv actions 0
[2024-11-24 11:24:13.057] [info] [api.cc:233] Link details: total send bytes 0, recv bytes 0, send actions 0, recv actions 0
[2024-11-24 11:24:13,057] [ForkServerProcess-4] RunR: builtin_fetch_object at node:3
[2024-11-24 11:24:13,061] [ForkServerProcess-1] RunR: builtin_fetch_meta at node:0
[2024-11-24 11:24:13,062] [ForkServerProcess-1] RunR: builtin_fetch_object at node:0
[2024-11-24 11:24:13,065] [ForkServerProcess-2] RunR: builtin_fetch_object at node:1
[2024-11-24 11:24:13,066] [ForkServerProcess-3] RunR: builtin_fetch_object at node:2
[2024-11-24 11:24:13,067] Shutdown multiprocess cluster...

代码：
def floyd_opt(
    dist
):

    n = len(dist)
    batch_2 = dist

    for k in range(n):
        batch_2 = jnp.delete(batch_2, k, axis=0)
        col_k_without_dkk = batch_2[:, k]
        batch_2 = jnp.delete(batch_2, k, axis=1)
        dist_ik = jnp.zeros_like(batch_2)
        dist_kj = jnp.zeros_like(batch_2)

        for i in range(n-1):
            if(i < k):
                dist_ik = dist_ik.at[i].set(jnp.full(n-1, dist[i][k]))
            else:
                dist_ik = dist_ik.at[i].set(jnp.full(n-1, dist[i+1][k]))

        for j in range(n-1):
            if(j < k):
                dist_kj = dist_kj.at[:, j].set(jnp.full(n-1, dist[k][j]))
            else:
                dist_kj = dist_kj.at[:, j].set(jnp.full(n-1, dist[k][j+1]))

        # 把上三角拿出来算
        indices = numpy.triu_indices(batch_2.shape[0], k=1)
        batch_2_upper_triangle = batch_2[indices]
        dist_ik_upper_triangle = dist_ik[indices]
        dist_kj_upper_triangle = dist_kj[indices]

        # # 把上三角放回去
        batch_2 = jnp.zeros_like(dist)
        batch_2 = batch_2.at[indices].set(batch_2_upper_triangle) ############ 这行代码对运行时间影响很大！！！！！

    return batch_2

def emul_cpz(mode: emulation.Mode.MULTIPROCESS):

    try:
        # bandwidth and latency only work for docker mode
        emulator = emulation.Emulator(
            emulation.CLUSTER_ABY3_3PC, mode, bandwidth=300, latency=20
        )
        emulator.up()

        # 设置样本数量和维度
        num_samples = 100
        Knn = np.random.rand(num_samples, num_samples)
        Knn = (Knn + Knn.T) / 2
        Knn[Knn == 0] = np.inf
        np.fill_diagonal(Knn, 0)
        Knn=emulator.seal(Knn)

        # floyd_opt
        shortest_paths_floyd= emulator.run(floyd_opt)(Knn)

    finally:
        emulator.down()

if __name__ == "__main__":
    emul_cpz(emulation.Mode.MULTIPROCESS)

Standalone code to reproduce the issue
如上

Relevant log output
如上

hello，主要是因为如果那一行被comment，则编译器发现这个函数的return为常量0的array；
如果没被comment，才会按你定义的函数执行，至于为什么这么慢，主要是因为实现里的循环是O(n^2)的

hello，我把里面的两个循环注释掉了时间没减少，还是需要78秒（dist和batch_2只是100*100的）

    for i in range(n-1):
        if(i < k):
            dist_ik = dist_ik.at[i].set(jnp.full(n-1, dist[i][k]))
        else:
            dist_ik = dist_ik.at[i].set(jnp.full(n-1, dist[i+1][k]))

    for j in range(n-1):
        if(j < k):
            dist_kj = dist_kj.at[:, j].set(jnp.full(n-1, dist[k][j]))
        else:
            dist_kj = dist_kj.at[:, j].set(jnp.full(n-1, dist[k][j+1]))

猜测主要原因还是 .at[].set[] 这个语句会产生大量的ops；虽然comm. free，但是cpu time还是比较多的。
建议想想有没有等价的方式可以实现。。

.at[].set[]确实很慢，而且在emulator里格外慢：
(1) 我用emulator跑，需要75s。(2) 不用emulator跑（纯python程序），只需要10s。(3)  不用emulator跑，且把jax.numpy的.at[].set[]操作全部替换为numpy的标准索引赋值，只需要0.03s。

请问如果赋值操作无法避免的话，spu支持其它更高效的赋值操作吗？

只从你提供的代码来看，看上去是要从dist这个矩阵中每次提取一些数据出来组成新的矩阵，不知道有没有可能通过一些特殊的index/gather方法来得到：可以看看jax.numpy.choose, jax.lax.gather等方法


QC: Test mod_ParticipantMetricSummary_Server

QC Details
Implement testing, and make sure this file and any functions it contains are properly named.
Additional Comments

Part of #253


feature: support elastic expansion and contraction capacity

Is your feature request related to a problem? Please describe.
Support elastic expansion and contraction capacity

how to achieve this？


Observability - Important - Logging framework

EDC usages a custom logging framework (Monitor, Console Implementation) that is missing much essential functionality like:

Package and class-level loggers (to control log granularity and provide the class name in logs)
Guards e.g. if (logger.isDebugEnabled){} to skip expensive code, also required by linters such as PMD
Parameter interpolation (to skip toString calls and provide analytical queries in Azure Log Analytics)

Probably SLF4J can be use as it is built precisely as a highly compatible layer on top of other logging frameworks and to provide that functionality. If that is not an option, JUL (java.util.Logging) can be used which is part of the JVM.

We decided not to select a specific logging framework and instead leave that to users to plug in their desired one of choice.
Regarding the specific points:

IMO there are better options than logging class name (which has very little operational value) such as including a more descriptive message or a stacktrace if there is an error. However, if someone wanted to do this in their own code, it can be done by wrapping the existing Monitor interface.

Guards aren't needed because the Monitor interface makes use of Suppliers. In typical scenarios, the performance of string formatting will not be an issue, particularly since most of these messages deal with error, info or warning conditions that will most likely need to be outputted. That's why the Supplier variants are not used much.

If there is a need for parameter interpolation we can added it, but given the existence of the Supplier methods, is it really needed? What specific requirements would this resolve?

Given SLF4J is already a dependency, why not use it? The motivation you quote is exactly the one behind SLF4J, and it seems advantageous to leverage existing work.

The notion of logger hierarchy is quite important in practice, to assign a particular log message to a specific component of an application, and provide granularity in controlling log levels.

Indeed increasing logging scope would greatly increase observability (#420). Indeed it appears that Suppliers make guards unnecessary.

Parameter interpolation keeps code clean, helps mitigate injection attacks, and reduces the cost of string building. In log queries in Azure Monitor, each of the parameters is loaded in a custom field next to the uninterpolated which allows building analytical queries.

Another comment: the name Monitor used in EDC to mean Logger is confusing, this is not about monitoring.

@algattik We have already decided not to use a particular logging framework. The dependency on SLF4J is there because of a third-party library and I would like to remove that.
Regarding the issues, please discuss concrete requirements and we can address those. I'm going to close this issue as we have already addressed this decision.


Project description new lines should be on separate paragraph

For example: http://best.telerikacademy.com/projects/23/ASP-MVC-Lambda-Expression-Helpers

It should be done with Angular Filters


🎨 style(package.json): Change title in config to 'Llama coder'

Updated configuration title to use project name for better readability in vscode settings

Thank you! I was thinking the same!


Documentation: View Source of SCSS pages broken

To replicate:
Go to any component that has a SCSS version > Click View source
Expected: Land in github page
Actual: 404
(I've confirmed these steps for a number of pages: Avatar, Alert, Block List, Button etc).

Thanks, Alex! Should be a quick fix.

Some more background: it's 404'ing because we've moved all of our SCSS packages into a thumbprint-scss package (similar to what we did with React).
We haven't deployed that version of the docs yet since website needs to be migrated. @tomgenoni and I will be doing that on Monday. After that, we'll deploy the new docs and the links won't 404.

Got it. I figured it was something like that, but when I glanced at the repo I couldn't quite figure out where to make that change, so I filed the issue. ✌

@xanderwebs — I've fixed the 404's so I'll close this.
There's a related task (#120) that I'll keep open.

Is #120 the right link to the related task?

Whoops. Meant #102.


TrayIcon

Add TrayIcon style windows 10

or

simple
https://github.com/File-New-Project/EarTrumpet/tree/master/EarTrumpet/UI/Controls
and
https://github.com/File-New-Project/EarTrumpet/tree/master/EarTrumpet/UI/ViewModels

@hamerstandr ?

add style to TrayIcon System Color and Acont Color

@hamerstandr I don't see why we should do this. TrayIcon is an external source at EarTrumpet.

@hamerstandr a tray icon is out of scope of MahApps.Metro. However, I can recommend Hardcodet.NotifyIcon.Wpf which I have used in a project or two. It works great with MahApps.Metro.


opentracker: add overridable build flags

Motivation for this change
Because things like IPv6 support have to be enabled during build, introduce derivation arguments to enable those features.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Rebased onto https://github.com/NixOS/nixpkgs/pull/197405.


Combine Catalog routes to one Switch

📝 Description
Combine Catalog routes into a single component with a nested Switch.
This will help us share state between these routes in a more efficient and isolated way.
Next step is to wrap the new Switch with a custom Context Provider

/lgtm

Next step is to wrap the new Switch with a custom Context Provider

tileview extention
customize-template extention
and review extention
are three separate extensions, giving them a shared context will prevent a good separation, it may tempt users to share data or utilities between this services.
the "contract" between this extensions is that they pass and recive name+namespace of the template, leaving each extension to add/patch/delete the template. sharing a common context break the extension signature.


Deactivate headland

Hi,
Is there a way to deactivate the headland and only have the swafts? My understanding from my agriculture experience is that a vehicle will first drive the headlands and then the swafts. Is this the same with the path planner does it contain the headland and then the swafts? Reason that I do not want a headland is I'm using a drone to survey a field and thus do not need to fly the headland.
Best,
Marno

Hi Marno, welcome to the project!
Right now F2C doesn't have any way to cover the headlands. It just reserve
that space for them. If you want to use it without headlands, you can
simply not use the headland generator module (or create a headland with 0
width).
El vie, 29 sept 2023 12:21, Marno (Marthinus) Nel @.***>
escribió:

Hi,
Is there a way to deactivate the headland and only have the swafts? My
understanding from my agriculture experience is that a vehicle will first
drive the headlands and then the swafts. Is this the same with the path
planner does it contain the headland and then the swafts? Reason that I do
not want a headland is I'm using a drone to survey a field and thus do not
need to fly the headland.
Best,
Marno
—
Reply to this email directly, view it on GitHub
https://github.com/Fields2Cover/Fields2Cover/issues/90, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5R5PQQLETFZVLX5G63KRTX43YQXANCNFSM6AAAAAA5MWMMO4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you very much! After doing all the C++ tutorials I understand the package a lot more! Well done with the package and paper!


Is there a way to prevent copy and image selection on long press?

I use webview, but if I press and hold the image, the image follows. Is there a way to prevent it?

On Android it works fine, but on Ios the image follows.


Show event timeline in DevTools

This PR implements an Events timeline in DevTools:
https://github.com/liveblocks/liveblocks/assets/83844/ef916568-671b-46ac-a773-374a130d92ed
TODO

[x] Collapse these by default
[x] Have a "clear" button
[x] Show event count badge in tab?
[x] ~Fix keying issue in tree view~ Looks like this is a regression in the Arborist tree, out of scope for this PR
[ ] Beautify the UI
[ ] Fix event icon

@marcbouchenoire This PR is ready for final review now. I had a couple UI asks, maybe you can help me get these implemented? 🙏  Feel free to just push those changes straight to this branch, too!

The end result is beautiful — thanks, @marcbouchenoire! 🙏
https://github.com/liveblocks/liveblocks/assets/83844/74e5b61d-b75c-4774-9869-16809b7a7a4d


Some remarks

Just my 2 cents.
Just love the app. It's one worth to pay for (as opposed to the rubbish). A few idea's (don't forget I have no idea at all what is possible or not):

The station selection screen should really be like someone else showed .

Looks great this way.

Is it (im)possible to add the RTL & SBS stations? No idea whether they broadcast on the Internet.

EPG (like shown) would be very nice.

Enable the subtitling of Teletext (page 888)

Remember: it is already a great app.

Hi Antonio,
Thanks for sharing your thoughts 👍
In the current iteration of the app the 'live tv' screen has been greatly improved showing previews (where possible) and what's currently on and coming up.
My focus is initially the NPO, maybe I will look into the commercial channels at some point, but right now I am targeting at making the app working as good as possible with the NPO / Uitzending Gemist. Perhaps after that I might look into the commercial channels.
While the EPG data for the NPO and regional broadcasters is freely available as open data, those of the other channels is not and actually needs to be bought under a subscription license. I might include EPG data at some point, but again the focus is first making this app work as good a possible and fill all the needs of an 'uitzending gemist' service.
Teletext is old and obsolete technology which I do not aim to include in this app :)
Closing this for now...


Embed watcher to monitor imported files change

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #2   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          23     64   +41
=====================================
+ Hits           23     64   +41

Impacted Files
Coverage Δ

src/index.js
100% <100%> (ø)
: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 810ea5d...5174d76. Read the comment docs.


HHH 9937 - bytecode enhancer - add support in Hibernate#isPropertyInitialized()

Hibernate#isPropertyInitialized() only supports the old instrumentation. For the new enhancement it always returns true
Thanks @gbadner for the test case!

Applied after resolving some conflicts.  You might want to check this upstream Luis...


[SPA] Update SPA templates NPM dependencies

Validated:

Angular Individual auth on windows
Angular no auth Individual auth on windows
React Individual auth on windows
React no auth on windows

Can you port this to main also?

@wtgodbe will do. Wanted to make sure to get it in 6.0 first

@wtgodbe  I'm merging this now. Can you please make sure that we get this update through submodule update in aspnetcore ?

Will do


how to disable banner notification on ios?

Do we have possibility to disable banner notification on ios for notification?

What is banner notification? Try to decrease the notification's priority.

generally if you google this phrase you will see. because its strangely named :)
on android the notifications coming is visible by icon appearing on topbar, but in ios there is banner on top of everything.
user can deactivate it or influence in settings, but i am asking if there is some way to setup notification settings for android/ios in this library or not?

Hi! Sorry for taking so long to respond to your issue on GitHub. I was focused on releasing the new 0.7.0 version of awesome_notifications and awesome_notifications_fcm and i didn't had time enough to do both. But now I can answer all your questions.
So now i'm asking you to recreate this topic using the new issue template. There's a lot of missing informations that i need to understand your problem, and all the instructions are already in the new issue template. Also, remember to check beforehand if your issue was posted by another user.
So I will automatically close all previous issues so far.
Sorry for the inconvenience and i will be waiting for your new issue request.
Thank you so much for your support!


Object.prototype.xx is conflict with ionic

Short description of the problem:
I want to make a common method to all Object link this
Object.prototype.getValue = function (keychain) {
    var tree = keychain.replace(/[\]\"\']/g, '').split(/[\[\.]/),
        result = this;
    tree.forEach(function (child) {
        if(child){
            result = result[child]
        }
    })
    return result
}
//test
var obj = {city:{school:{student1:'dingding',student2:'dongdong'}}}
console.log(obj.getValue('city["school"].student1'))  //dingding

It makes get value easier with no sure length of property,also support variable like
var student= 'student2'
console.log(obj.getValue('["city"].school[' + student+ ']')) //dongdong

It works well independent,but in ionic workspace,throw error,seem happend when DOM object event,I can't find the reason.

Cannot read property 'nodeType' of undefined
or
Failed to execute 'setAttribute' on 'Element': 'function (keychain){ ..

How to solve this problem?
Which Ionic Version? 1.3.13

Hello, thanks for using Ionic! Would you mind making a plunker or codepen I can use to reproduce this issue?

@jgw96
I build the plunker

Thanks @dingdong-io ! So just to confirm, this works in a plain Angular 1 project right?

To @jgw96 :Yes,I used angular 1. I have a try,without ionic,just angular and ui-router,no conflict happened,seems conflict with ionic's code.

@jgw96 : Has any progress?

Hello, sorry for the delay! So after reviewing this issue I am going to point you towards our forum. Since this is custom behavior you are writing to work with Ionic 1 and is not really a bug in Ionic 1 but simply a difference with Angular 1 I am going to close this issue for now. Thanks!

In this case,what shall I do if I want realize Object.protype.xx with ionic


Additional installation instructions or updates

This is just a list for now of things that are still missing upon a clean install:

[ ] WSL instructions, since I've been dominantly using that myself for ROS2 now
[ ] Udev instructions for the crazyradio https://www.bitcraze.io/documentation/repository/crazyflie-lib-python/master/installation/usb_permissions/
[ ] I didn't need to do it myself but probably these instructions need to be included too? https://crazyswarm.readthedocs.io/en/latest/configuration.html#update-firmware

I'll update this list once I come across more so you can keep it open for now.

Thanks! For Crayzswarm(1) we were never able to support WSL, because it lacked USB support for the Crazyradio. Has this changed in WSL in the meantime?

There is now this program called usbipd-win which makes it possible to connect a usb directly go wsl. Works pretty good!


carbon copied class will review

[ ] Top-level README “Table of Contents” is updated
[ ] Feature tasks for this challenge are completed
[ ] Unit tests written and passing

[ ] “Happy Path” - Expected outcome
[ ] Expected failure
[ ] Edge Case (if applicable/obvious)

[ ] README for this challenge is complete

[ ] Summary, Description, Approach & Efficiency, Solution
[ ] Link to code
[ ] Picture of whiteboard****


Additional purity patch needed in pptp package

This patch: https://github.com/NixOS/nixpkgs/blob/788800e437c4a0a25d95e217540bded68804b25e/pkgs/tools/networking/network-manager/pptp-purity.patch should also take care of this line in the pptpsetup shell script:
anand@anand-mbp> grep which /home/anand/.nix-profile/sbin/pptpsetup
    my $command = q/strings `which pppd`|grep -i mppe|wc --lines/;

Currently, there's an error when I try to run pptpsetup:
sh: which: command not found

Oops, misreported, will open a correct issue...


ClassAttributesSeparationFixer - fix for properties with type alternation

Commented part in test can be commented out after https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5550 fix.

Coverage remained the same at 91.863% when pulling 6920fd76b5ce40859ac5664a50a2debc3854e653 on kubawerlos:fix_ClassAttributesSeparationFixer into c4b84e08d1c1342010e5656c9f1361aab5b375ba on FriendsOfPHP:2.18.

Shuold I rebase to make fabbot happy?

no, i will squash

Thank you @kubawerlos.


Drop on item entrance instead of mouse pointer

Is there a way to customize the drag and drop behavior, so I can drop the element once its borders touches the drop area, instead of the mouse pointer?

There is not way to do it via the public API. It needs a backend.


allow people to untime out others

you can timeout others but u cant untime out others

Paid timeouts allow you to timeout others; you shouldn't be allowed to untimeout others (as people could easily log onto alt accounts and untimeout their main account after possibly breaking twitch tos)

What @alazymeme mentioned is partially why I often times don't have the paid timeout module enabled anymore - because if a user gets timed out by a moderator they can have their long timeout overriden by the short paid timeout from a random user.
For this to be effective, we basically have to keep track of the active paid timeout on the user and ensure that "untimeouts" are only allowed on those paid timeouts.

this suggestion could be a module setting

Due to pajbot being moved into maintenance mode I'm closing this feature request.


Add Examples of Apollo GraphQL & Prisma

Add Examples of Apollo GraphQL with lambda or appsync & Prisma. These are very popular and widely used technologies

We don't personally use these but I saw a Prisma example in Discord. Would definitely appreciate a PR!


some question about mmse gain

Thanks for sharing the noise reduction code. There  exists some questions that make me confusing in the noise reduction module(in the file dios_ssp_ns_api.c).
In the following code from the dios_ssp_ns_api.c (computing mmse gain), can you tell me the meaning of the  variable "pSAP" or where can I find it in any research paper?
Thanks very much!
for (i = 0; i < srv->m_sp_size; ++i )
{
vk = srv->m_sp_snr[i]srv->m_gammak[i]/(1+srv->m_sp_snr[i]);
j00 = first_modified_Bessel( 0, vk/2 );
j11 = first_modified_Bessel( 1, vk/2 );
tmpC = (float)exp( -0.5vk );
if (srv->m_gammak[i] < 1.0e-3)
{
tmpA = 0; // Limitation
}
else
{
tmpA = (float)sqrt(PI) / 2 * (float)pow( vk, 0.5 ) * tmpC / srv->m_gammak[i] ;
}
tmpB = (1+vk)j00+vkj11;
evk = (float)exp( vk );
Lambda = (1-0.3f) / 0.3f * evk / ( 1+srv->m_sp_snr[i] );
pSAP = Lambda/(Lambda+1 );
	tmp = tmpA*tmpB*pSAP;
	srv->m_gain[i] = tmp;
}

It is a conversion coefficient between a prior SNR and posterior SNR.
You can find it in this paper: Speech enhancement using a minimum mean-square error short-time spectral amplitude estimator.

It is a conversion coefficient to calculate MMSE gain using  a prior SNR and posterior SNR.
You can find it in this paper: Speech enhancement using a minimum mean-square error short-time spectral amplitude estimator.

Thank you for your reply


Move to circleci

Fixes #160

macOS build is disabled, on circle CI it needs a subscription
go integration tests now run in docker with ./test.sh or using its make target make test-coverage-all-dockerized

this was necessary because circle CI does not support docker port-forwarding
decided against docker-compose because the test container would directly exit or needs to wait

Checklist

[x] Added unit / integration tests for windows, macOS and Linux?
[x] Added a changelog entry in CHANGELOG.md?
[x] Updated the documentation (README.md, docs)?
[x] Does your change work on Linux, Windows and macOS?

@dylanhitt would like to have your review on this. windows builds are capped, but I think it is acceptable given this is a small open source project 👍

@dylanhitt would like to have your review on this. windows builds are capped, but I think it is acceptable given this is a small open source project 👍

I am not sure as well how much windows test capacity circleci provides.
Given the builds would be broken for an entire week because the credits are exhausted the windows tests should only be executed on master branch and release tags.

I am not sure as well how much windows test capacity circleci provides.
Given the builds would be broken for an entire week because the credits are exhausted the windows tests should only be executed on master branch and release tags.

Given the builds would be broken for an entire week because the credits are exhausted the windows tests should only be executed on master branch and release tags.

We could possibly run into some issues if we end up in a tight debugging spot. I have a laptop which I break out occasionally for windows problems, but maybe we should think of a branching strategy if we run into an issue on windows on the master branch. Say open up a branch called win-<fixname> that will run the windows tests? Or we can always just address them before a release.
I think I'm personally making an issue out of nothing. Just my two cents. I'd be fine with just running windows test on master/tag. Once that's done I'd be happy to approve.

Given the builds would be broken for an entire week because the credits are exhausted the windows tests should only be executed on master branch and release tags.

We could possibly run into some issues if we end up in a tight debugging spot. I have a laptop which I break out occasionally for windows problems, but maybe we should think of a branching strategy if we run into an issue on windows on the master branch. Say open up a branch called win-<fixname> that will run the windows tests? Or we can always just address them before a release.
I think I'm personally making an issue out of nothing. Just my two cents. I'd be fine with just running windows test on master/tag. Once that's done I'd be happy to approve.

Actually looking into it more, it appears we're capped out completely. The 2500 credits are for both linux/windows. The windows jobs are taking a little under 200 credits per run... So not testing windows on every branch would be fine. Maybe we can still test on windows circle does have the ability to only build on pull request. But then we wouldn't be building on the branch 🤷.
Honestly, I'm fine with just running the docker based builds until master/tags. We could possibly add some type of branching exception if we need it for debugging like win-<name>. I could also always break out my windows machine 🙃.

Actually looking into it more, it appears we're capped out completely. The 2500 credits are for both linux/windows. The windows jobs are taking a little under 200 credits per run... So not testing windows on every branch would be fine. Maybe we can still test on windows circle does have the ability to only build on pull request. But then we wouldn't be building on the branch 🤷.
Honestly, I'm fine with just running the docker based builds until master/tags. We could possibly add some type of branching exception if we need it for debugging like win-<name>. I could also always break out my windows machine 🙃.

@dylanhitt looks better on the linux side:

Organizations on our free plan get 400,000 free credits per month ($2,880 annual value) to use for Linux open source builds. Enabling this will allow this project’s builds to use them and let others see your builds, both through the web UI and the API.

Therefore we can execute windows build just on master & tags that we do not release broken versions for windows.
Enabled your suggestion to only build on PRs, which is okay imho, if I do not create a pull request it is not that of a good PR anyways :D

@dylanhitt looks better on the linux side:

Organizations on our free plan get 400,000 free credits per month ($2,880 annual value) to use for Linux open source builds. Enabling this will allow this project’s builds to use them and let others see your builds, both through the web UI and the API.

Therefore we can execute windows build just on master & tags that we do not release broken versions for windows.
Enabled your suggestion to only build on PRs, which is okay imho, if I do not create a pull request it is not that of a good PR anyways :D


include AmberTools tarfile in circleci artifact

Quick fix for slow downloading from rcsb server.
circleci has size limit of 3GB, so this won't be any issue.

done 'ambertools-ci-prep'


Return type on DemoBoard.discover is loose.

Currently.
def discover(backend: Backend) -> List[Board]:

Should be:
def discover(backend: Backend) -> List['DemoBoard']:

Note: I may be wrong I think.

I am definitely wrong.


Blurred font in PDF printing

I use the latest version. The font in PDF is imitation Song-Dynasty-style typeface. It prints normally with PDF reader and blurs with pdfjs.

Without all of of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md provided, this issue will be closed as INCOMPLETE.

I can't speak English. This is the result of machine translation....
Attach (recommended) or Link to PDF file here:
Application.pdf
Configuration:
Web browser and its version:  Chrome 72, IE11
Operating system and its version: Windows 10
PDF.js version: 1.8.188
Is a browser extension: no
Steps to reproduce the problem:
Preview my PDF file on the web and click Print
The font in PDF is imitation Song-Dynasty-style typeface. It prints normally with office and blurs with pdfjs
What is the expected behavior? (add screenshot)
This is printed using office

What went wrong? (add screenshot)

PDF.js version: 1.8.188

That version is no longer supported, please find the latest releases at https://github.com/mozilla/pdf.js/releases

PDF.js version: 1.8.188

That version is no longer supported, please find the latest releases at https://github.com/mozilla/pdf.js/releases

The problem with the latest version is the same

Probably this is the identical issue as
https://github.com/mozilla/pdf.js/issues/6241

我也遇到同样的问题：
查看PDF文件时，清晰度是正常的。
但是打印到纸上是，非常模糊，不能正常使用。
使用PDF.js最新的版也一样。
另外， 我还遇到另一个问题。
就是，不能打印 横向的文件。

@beijingalex Please only post comments in English. We cannot provide any support in other languages and as such those comments will be removed.

You can set the PRINT_RESOLUTION in web/viewer.js in the function renderPage() to 600 or even 900. Thats still not the perfect print but it is at least acceptable.

I can confirm that printing text produces results at very poor resolution. Printing the same target files  from a native viewer on the same system shows no similar problem.

I can confirm that printing text produces results at very poor resolution. Printing the same target files  from a native viewer on the same system shows no similar problem.

Closing since this is a duplicate of #2750.


Configuration of the NIFI,DB & Visualization for the new Data Sources - scatter plot

[ ] Development
[ ] Integration Test
[ ] https://github.com/Sunbird-cQube/community/issues/64

This issue is not covered in v5.0 and needs to be analysed.

Scatter Plot not included in the current version


Dont delete logs base on config

Hi, can i made a pr for disable delete logs on commands, in case of running it, it will throw exception or warning that clearing log is not allowed,
because we need the logs for generating time in ang time out
i like to pr to config file, set false to disable clearing logs
or any idea what is best?

Hey,
There seems to be some confusion, let me clear it for you. The package itself cannot clear the old logs, in order to remove/delete old logs (as configured in the config file), you need to manually run the php artisan authentication-log:clear command in the console or schedule the same using cron jobs.
As long as you don't run/schedule it yourself, the authentication logs will be persisted until you purge your db. Adding any additional option to the config file is pointless. If you require a dynamic option, you can add one yourself in your scheduler.
-TT

you have a point, thanks


Comma, colon and question mark not implemented yet.

Comma works for some time, adding colon and question mark should be as easy as adding the glyphs.

Colon, question mark and banner (parses # as latin punctuation mark, could be made more general in accepting markdown type headers)


BSC builds: unexpected redirect

Steps to reproduce

npm run dev:bsc-testnet or build:chrome-extension-bsc-testnet or build:chrome-extension-bsc-mainnet partially fixed by #4410, now only on bsc.swap.io
go to any page, /#/ or /#/history ...
press F5
unexpected redirect to the exchange

Causes

#4399

Consequences
broken #4396

partially fixed by #4410, now only on bsc.swap.io (it looks like this domain will be removed soon)


refactor: rename OpenAPI extension x-hyperledger-cactus

Commit to be reviewed

refactor: rename OpenAPI extension x-hyperledger-cactus
Primary Changes
----------------
1. Updated openapi.yaml in connector-corda to match
   the project rename x-hyperledger-cacti

Fixes #2689
Pull Request Requirements

[x] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[x] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[x] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[x] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[x] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

@aldousalvarez please fix the PR and the commit message to the standard one I have mentioned several times.

@petermetz the .json file is already updated with the correct one which is x-hyperledger-cacti, when I tried to clean and configure it does not update automatically so I just updated the .yaml manually

@aldousalvarez

the .json file is already updated with the correct one

In that case https://github.com/hyperledger/cacti/issues/2689 was already completed, no need for this PR.

when I tried to clean and configure it does not update automatically so I just updated the .yaml manually

Let's uncover the reason why it's not getting updated. Could you please investigate why is that?
Once the code generation bug is fixed the yaml in this PR will automatically get updated and we don't need to worry about the diff in here (changing the yaml file manually)

@petermetz okay will dol investigate on this one and will let you know as soon as possible if I have found what is causing this issue and how to fix this as well

Hello @petermetz should I create a new PR or will you reopen this PR and its Issue because I have changes in cactus-plugin-ledger-connector-polkadot that needs to rename the openapi extension to x-hyperledger-cacti
And also regarding the removal of the openapi.yaml in cactus-plugin-ledger-connector-corda should I create also a separate PR and issue or should I just include it here and just explain why we are removing it


[DT] Omit tensor.extract_slice when setting the encodings.

The unset_encoding op supports slicing semantics since https://github.com/iree-org/iree/pull/19023, so the revision removes the tensor.extract_slice creation in SetEncoding pass. With these changes, the revision also updates the materialization methods when lowering an unset_encoding ops to tensor.unpack ops. It infers the destination shape and create the tensor.empty op correspondingly.
Fixes https://github.com/iree-org/iree/issues/18956
Fixes https://github.com/iree-org/iree/issues/18976

It looks like there are compilation for llama405b_fp16.mlir. I rebased to the previous commit and verified that this does fix the issue. Please take a look at the last two commits.


[NIFI-2888] Display processor fill color when sufficiently zoomed out.

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Successfully tested the PR and I'm a +1.
I am not a UI guru though, so I'll defer to someone else to check the code modifications to be sure I'm not missing something here.

I will have an update to the PR later on today @pvillard31....please do not merge yet as this PR currently only addresses the zoomed out color of the processors. The plan is to have all items on the canvas match their birdseye view colors when sufficiently zoomed out (PG's, ports and filters).

Ok guys....this PR has been updated and is ready for review.

Reviewing...

@scottyaslan After checking out the most recent PR I think we may want to to make a few more adjustments.
Coloring the components to align with the birdseye view takes away from the components that have explicitly been colored. I think we may want to revert back to the previous implementation for the zoomed out mode.
Coloring the background of the Processor icon may be sufficient while retaining the current zoomed out effect. This may also make the zoomed in coloration more prominent.
Thoughts?

Thanks for the input @mcgilman! I will close this PR so that the work can remain on this branch in case we want to revisit this later. For now I will open a new PR for NIFI-2888.


Consider parsing fractional shares

Fractional shares were being ignored from the parsing, resulting in the unknown category. This fixes the regex and the financial action to a float to encompass fractional shares

Looks good, thanks! I'm going to change the float into a Decimal later because decimals fit much better in financial environments.


Fix outdated license headers

Fix outdated license headers
This PR is created automatically by Matks PrestaShop Repositories Bulk Editor

Hello @matks, thanks for your contribution, would you mind to rebase your pull request? Thanks

Hello @matks, thanks for your contribution, would you mind to rebase your pull request? Thanks

😭


Not unmounting /mnt/stateful_partition/crouton/chroots/precise as another instance is using it.

After I updated ubuntu I can no longer get back into it....
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/precise...
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.8.11 #1 SMP Wed Oct 15 02:47:19 PDT 2014 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=790795bd-c947-c44b-9bef-fff36180246f/PARTNROFF=1 hashtree=PARTUUID=790795bd-c947-c44b-9bef-fff36180246f/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=7e7bd63d979ab04e5818fbf75aea368f0c0c1fcf salt=271698f6e4e32ea14b7711f7c9681e6cb3e15acd4602395047ed9552c2de936c" noinitrd vt.global_cursor_default=0 kern_guid=790795bd-c947-c44b-9bef-fff36180246f add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3
Build Date: 07 August 2014  11:49:36AM
xorg-server 2:1.15.1-0ubuntu2~precise2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Nov  4 09:43:20 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
setversion 1.4 failed: Permission denied
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
setversion 1.4 failed: Permission denied
Running exit commands...
/usr/bin/xinit: connection to X server lost
waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
Not unmounting /mnt/stateful_partition/crouton/chroots/precise as another instance is using it.

This happened to me after doing a soft-reset (due to changing chrome://flags). Updating the chroot didn't fix, and I didn't try killing processes, but rebooting the computer worked.

After restarting my chromebook, I can no longer access my linux installation. Can anyone tell me if my problem is similar to what was encountered in this thread? The final error line is the same (matching the thread title here), but there looks to be another problem earlier in the output, the "segmentation fault." I've rebooted multiple times, but I keep getting the same error. I'm new to all this and really don't know how to proceed, so I would really appreciate some guidance here.
This is the output I get in the terminal window:
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-70-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Tue Apr 14 18:59:06 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=e0cb23af-a408-794f-bfbf-580d4de7c6ac/PARTNROFF=1 hashtree=PARTUUID=e0cb23af-a408-794f-bfbf-580d4de7c6ac/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=3d41fbcacc4111aade908a95e4998f4a5865c8c0 salt=341aac542a363846309038a85e8237e7844173c36ad747a6f9744377a5b4d8d5" noinitrd vt.global_cursor_default=0 kern_guid=e0cb23af-a408-794f-bfbf-580d4de7c6ac add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 10 December 2014  06:15:52PM
xorg-server 2:1.15.1-0ubuntu2.6 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Thu Apr 23 14:03:44 2015
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x7f16b0751798]
(EE) 1: /usr/bin/Xorg (0x7f16b05a8000+0x1ad489) [0x7f16b0755489]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f16af6a5000+0x10340) [0x7f16af6b5340]
(EE) 3: /usr/bin/Xorg (0x7f16b05a8000+0xb54a6) [0x7f16b065d4a6]
(EE) 4: /usr/bin/Xorg (xf86BusProbe+0x9) [0x7f16b0630d99]
(EE) 5: /usr/bin/Xorg (InitOutput+0x74d) [0x7f16b063f3fd]
(EE) 6: /usr/bin/Xorg (0x7f16b05a8000+0x598ab) [0x7f16b06018ab]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7f16ae0e4ec5]
(EE) 8: /usr/bin/Xorg (0x7f16b05a8000+0x44efe) [0x7f16b05ecefe]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

@milesdx Update your chroot see https://github.com/dnschneid/crouton/wiki/Common-issues-and-reporting

@divx118 Thank you! That worked. I'm so glad it was an easy fix.
Even though it worked, I notice that the terminal output still indicates some kind of error after crouton is launched. Is there anything that needs to be fixed here?
chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Tue Apr 14 18:59:06 PDT 2015 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=e0cb23af-a408-794f-bfbf-580d4de7c6ac/PARTNROFF=1 hashtree=PARTUUID=e0cb23af-a408-794f-bfbf-580d4de7c6ac/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=3d41fbcacc4111aade908a95e4998f4a5865c8c0 salt=341aac542a363846309038a85e8237e7844173c36ad747a6f9744377a5b4d8d5" noinitrd vt.global_cursor_default=0 kern_guid=e0cb23af-a408-794f-bfbf-580d4de7c6ac add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Thu Apr 23 15:20:19 2015
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86: found device 0
xf86: found device 0
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version 1-20150414182244~master:da478a77
release: trusty
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 6812.75.2 (Official Build) stable-channel squawks
kernel: Linux localhost 3.10.18 #1 SMP Tue Apr 14 18:59:06 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: no
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error timeout
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
**Error: target STRING not available
xfce4-session: No gpg or ssh authentication agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable
(polkit-gnome-authentication-agent-1:394): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
(polkit-gnome-authentication-agent-1:394): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

I had this error as well, I must have closed out the chroot from XFCE4 oddly with my trusty chroot. I would get many xorg errors such as :
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue May  5 06:01:54 2015
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
(EE) Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x7fc5bc882798]
(EE) 1: /usr/bin/Xorg (0x7fc5bc6d9000+0x1ad489) [0x7fc5bc886489]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fc5bb7d6000+0x10340) [0x7fc5bb7e6340]
(EE) 3: /usr/bin/Xorg (0x7fc5bc6d9000+0xb54a6) [0x7fc5bc78e4a6]
(EE) 4: /usr/bin/Xorg (xf86BusProbe+0x9) [0x7fc5bc761d99]
(EE) 5: /usr/bin/Xorg (InitOutput+0x74d) [0x7fc5bc7703fd]
(EE) 6: /usr/bin/Xorg (0x7fc5bc6d9000+0x598ab) [0x7fc5bc7328ab]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fc5ba215ec5]
(EE) 8: /usr/bin/Xorg (0x7fc5bc6d9000+0x44efe) [0x7fc5bc71defe]
(EE)
(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

Performing sudo sh ~/Downloads/crouton -n trusty -u fixed my issues and preserved the chroot. Just some info if anyone comes by with my same issue.

I need help every time I try to go to Ubuntu I get this:
Not unmounting /mnt/stateful_partition/crouton/chroots/precise as another instance is using it.


Very out of date 💀

There has been quite a bit of updates made in the past 6 months since you updated it, we (the official community) have been getting some people that are confused which is the official site, I'm requesting you make some changes so people will know this is a mirror and not the real site. I am fine with this project existing as long as it is updated fairly regularly.

alr i made a github account js for saying this but im this dudes friend and he said he doesnt wanna manage it anymore. he says if he can find the password for it he will delete the entire account. the mirror was entirely made for school and nothing else and he didnt think anyone would find it so he was whatever with it.
anyways, this time with permission, can i make a mirror? jw since i can actually manage it

yes i know this is late but please make sure ppl are going to webosu.online for now and not this unmanaged one.

Yeah you are free to make a mirror, I use this one as a backup when our new api has downtime lol

Anyone have the new mirror?


builder.sign_file is hanging and never returning a manifest

I've created an api service for signing files using FastAPI. It's all running in a Docker container and works fine on my local machine. However, when I deploy it to a server, it is failing to sign files at the following line:
c2pa_data = builder.sign_file(signer, file_path, signed_file_path)
I'm not catching any errors, it just completely stalls, which means I have to restart the API service.
I thought it might be related to the server's ability to use the timestamp url, as it's on a University network and there are various restrictions in place. However, I have no problem reaching port 80 of timestamp.digicert.com from the server.
Any thoughts on what else might be causing this?

My best guess would be a timeout on something like a network call. Another thing we occasionally run into is temporary file access. Do you have any special constraints on where temp files are written?

Thanks @gpeacock. Looking at the network traffic, it appears to stall after the first few messages are exchanged with the timestamp server. Here's the section of output from tcpdump where those messages are exchanged. On my local machine it shows continued communication with the timestamp server after this point:
12:32:36.350009 IP <IP_ADDRESS>.http > server.50204: Flags [S.], seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 14600, options [mss 1460,nop,wscale 0,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
12:32:36.350161 IP server.50204 > <IP_ADDRESS>.http: Flags [.], ack 1, win 502, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0
12:32:36.350450 IP server.50204 > <IP_ADDRESS>.http: Flags [P.], seq 1:182, ack 1, win 502, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 181: HTTP: POST / HTTP/1.1
12:32:36.350561 IP server.50204 > <IP_ADDRESS>.http: Flags [P.], seq 182:258, ack 1, win 502, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 76: HTTP
12:32:36.350620 IP server.50204 > <IP_ADDRESS>.http: Flags [P.], seq 258:263, ack 1, win 502, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 5: HTTP
12:32:36.477465 IP <IP_ADDRESS>.http > server.50204: Flags [.], ack 263, win 14862, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

Which temporary file are you referring to? There shouldn't be any constraints that differ from the setup I'm running locally.


non-destructive import

As a content author, I'd like missing content to be able to be imported without modifying existing data
Acceptance Criteria:

[ ] import_ocw_course_sites gains handling for a destructive argument
[ ] This argument is False by default

Closing this as it's not necessary


Fix replapcing typo

I started going through migration guide and noticed a typo that doesn't seem to be fixed in any of opened PRs. Please let my know if there is another way of reporting typos or if you simply don't want to see such nitpicky changes at this moment 😬

PR are perfect 👍 . Thanks for sending this 🙏


Missing support of a "skip" parameter

Currently it's not possible for a module to avoid the execution of the eclipse-settings-maven-plugin. Similar to other plugins, it should support a  flag.
See also:
http://stackoverflow.com/questions/7821152/disable-a-maven-plugin-defined-in-a-parent-pom

I have tested your change. It looks good to me. Thank you!

I know the documentation of this project is not ideal...
But when a new configuration is added to the plugin, I think it should be mentioned at the end of the "Configure Eclipse Settings maven-plugin in your project" section of the readme.markdown File. Something like:

Skipping the plugin execution
The plugin has a 'skip' configuration parameter, to block the configuration of a project. This can be usefull to disable a configuration made in the the parent pom at child pom level. Example:

       <plugin>
          <groupId>org.eclipse.scout</groupId>
          <artifactId>eclipse-settings-maven-plugin</artifactId>
          <configuration>
            <skip>true</skip>
          </configuration>
      </plugin>

@mschaufelberger: What do you think?

@jmini, you're perfectly right. Thank you for the hint and your proposal which I copied into the readme.markdown :innocent:


Override hostname for kubernetes et al.

In kubernetes land, it's not possible to set the hostname of a container, it's always set to a variation of the pod name, with random characters in it.
This PR should allow the env var OVERRIDE_HOSTNAME to replace the hostname commands that are used in the script.

There is a possibility: v1.PodSpec hostname & subdomain. Please, look here for example.
I'm successfully using this image in Kubernetes.

Hi tyanron,
Sure, that's useful, but it doesn't give you the option of returning the dns name.  if you set subdomain, it includes the .svc.cluster stuff.  I still think that giving the option of specifically using env override is better.

@iMartyn moved to another project.
Feel free to get this back to life if needed.

Moved to #484


Fix ui scaling for Chrome

Because of the fact that "gameboy" interface has absolute dimensions and scaled with the browser window, everything inside it (DOM elements) scales as well. The scaled size can have odd dimensions which leads Chrome to render everything blurred. As example a picture below (before/after).
This fix helps to mitigate the issue to some extent: and just forces the target dimensions have nearest even values.

Needed for #168.

this is sophisticated. Don't know that even dimension and odd dimension have this significant difference on rendering. Thank you very much.

this is sophisticated. Don't know that even dimension and odd dimension have this significant difference on rendering. Thank you very much.

Odd or even doesn't matter, what matters is just if you don't scale by a round number (or even a even (: number).  But the main culprit is transform: translate(-50%, -50%), I'm not sure why it leads to a blurry rendering in Chrome, found some posts about this bug, but even dimensions did the trick for me. (my guess, its rendering engine interpolate the whole picture shifted into the space between the pixels)

Intersting issue :D So translate(0.5,0.5) will make the image shift to (1, 1) with blur. If we translate(1,1) directly, it will not blur right?
I also want to give a try. How did you test the issue? did you just scale in and out?

I'm not sure how exactly this rendering stuff works, I need to read about it. As example here is one SO question. If I understand correctly, with use of absolute values for matrix transformations (css translate) instead of relative values it should be rendered sharp because we won't shift anything between pixels. It's just how bilinear filtering works: you translate a pixel onto some fraction position and it have to interpolate surroundings.
I tested on W10 and latest Chrome.
Right now, for me, after I open the app, while it checking the best server everything is sharp but after the moment it render the menu it goes to blur (sic!). Next, when I scale the window most of the times it's blurred. With my fix it stays sharp, just maybe 5% of blur is left.


ROS2 Support

Hi,
Is Foxy the only distribution currently supported? If so, do you know when newer ROS2 distributions will be supported? Thanks!
-Chris

Hi Chris,
Yes, Foxy is the only distribution supported at the moment. We plan to support Galactic soon, and then to follow the release cycle of ROS2, starting with Humble due in May2022.
Please let us know if you have any more questions.
Regards,

Hi Chris,
Currently, Foxy is the only distribution officially supported, though we do intend to support whichever versions of ROS 2 are supported officially, currently Foxy and Galactic. You can run the current version of the driver on Galactic as is, but you have to compile it with Galactic's setup script sourced. Though this should work fine, please bear in mind however that this is untested.
Regards.

Thanks for update! It turns out other requirements are forcing us to use Foxy anyway, so its not a problem. Thanks again.

Hi Oxts,
I'm having trouble trying to deploy the driver using ros2 foxy. After running ros2 launch oxts run.py I only see "Waiting for INS config information..." I have confirmed the following already:

I've specified the proper IP address of the RT3000 (unit_ip rosparam) in the config.yaml before building.
I've confirmed I can ping the RT3000 successfully
Using NavDisplay, I've confirmed the RT3000 is reporting a RTK integer fix and the lat,long, alt reported looks correct.

Any suggestions on how can I further troubleshoot this issue? Thanks!


[Task]: Update getAnvilComponentDimensions logic

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

Figure out if this is necessary
If we have to remove it what needs to change
Implement

This has been done.


update relatedResources in clusterManager and kluterlerlet

issue: https://github.com/open-cluster-management-io/registration-operator/issues/159
Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>in the status of clustermanager and klusterlet, generations filed only has deployed deployments, relatedResources filed has all related resources.

/assign @qiujian16


Bug:  Uncaught TypeError: Cannot read properties of null (reading 'classList') in windows

URL(s)
https://eslint.org/play/
What did you do?

On windows  OS
Open any browser and visit playground
Open console in devtools

What did you expect to happen?

No errors in console
Should add win to the body class, if site is opened on windows machine

What actually happened?
Received document.body is null error in console
Participation

[X] I am willing to submit a pull request for this issue.

Additional comments
Console

Source

Cause
Trying to access document.body from head tag https://github.com/eslint/eslint.org/blob/3fdd3964c4383b1f970f550aa887795a01bcc2d5/src/_includes/layouts/base.html#L128

Thanks for the report!


Configure Renovate

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.
Renovate will begin keeping your dependencies up-to-date only once you merge or close this Pull Request.
If you have any questions, try reading our Docs, particularly the Getting Started section.
You can post questions in our Config Help repository or @ the app author @rarkins in this PR and he'll probably see it.

Detected Package Files

Dockerfile
package.json

What to Expect
With your current configuration, Renovate will create 30 Pull Requests:

chore(deps): pin docker node:8.9.4-alpine image digest

Branch name: renovate/pin-docker-digests
Pins node in Dockerfile to sha256:6bb963d58da845cf66a22bc5a48bb8c686f91d30240f0798feb0d61a2832fc46

chore(deps): update dependency @storybook/addon-actions to v3.4.1

Branch name: renovate/storybook-addon-actions-3.x
Upgrades @storybook/addon-actions in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/addon-info to v3.4.1

Branch name: renovate/storybook-addon-info-3.x
Upgrades @storybook/addon-info in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/addon-knobs to v3.4.1

Branch name: renovate/storybook-addon-knobs-3.x
Upgrades @storybook/addon-knobs in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/addon-links to v3.4.1

Branch name: renovate/storybook-addon-links-3.x
Upgrades @storybook/addon-links in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/addon-options to v3.4.1

Branch name: renovate/storybook-addon-options-3.x
Upgrades @storybook/addon-options in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/addons to v3.4.1

Branch name: renovate/storybook-addons-3.x
Upgrades @storybook/addons in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @storybook/react to v3.4.1

Branch name: renovate/storybook-react-3.x
Upgrades @storybook/react in devDependencies from 3.3.14 to 3.4.1

chore(deps): update dependency @types/storybook__addon-knobs to v3.3.1

Branch name: renovate/storybook__addon-knobs-3.x
Upgrades @types/storybook__addon-knobs in devDependencies from 3.2.3 to 3.3.1

chore(deps): update dependency emotion to v9.1.1

Branch name: renovate/emotion-9.x
Upgrades emotion in dependencies from 9.0.2 to 9.1.1

chore(deps): update dependency file-loader to v1.1.11

Branch name: renovate/file-loader-1.x
Upgrades file-loader in devDependencies from 1.1.10 to 1.1.11

chore(deps): update dependency jest to v22.4.3

Branch name: renovate/jest-22.x
Upgrades jest in devDependencies from 22.4.2 to 22.4.3
Upgrades @types/jest in devDependencies from 22.2.2 to 22.2.3

chore(deps): update dependency node to v8.11.1

Branch name: renovate/node-8.x
Upgrades node in devDependencies from 8.9.4 to 8.11.1

chore(deps): update dependency npm to v5.8.0

Branch name: renovate/npm-5.x
Upgrades npm in devDependencies from 5.6.0 to 5.8.0

chore(deps): update dependency prettier to v1.12.0

Branch name: renovate/prettier-1.x
Upgrades prettier in devDependencies from 1.11.1 to 1.12.0

chore(deps): update dependency react to v16.3.2

Branch name: renovate/react-16.x
Upgrades react in dependencies from 16.2.0 to 16.3.2
Upgrades @types/react in devDependencies from 16.0.40 to 16.3.11

chore(deps): update dependency react-docgen-typescript-loader to v2.0.3

Branch name: renovate/react-docgen-typescript-loader-2.x
Upgrades react-docgen-typescript-loader in devDependencies from 2.0.2 to 2.0.3

chore(deps): update dependency react-dom to v16.3.2

Branch name: renovate/react-dom-16.x
Upgrades react-dom in dependencies from 16.2.0 to 16.3.2
Upgrades @types/react-dom in devDependencies from 16.0.4 to 16.0.5

chore(deps): update dependency react-emotion to v9.1.1

Branch name: renovate/react-emotion-9.x
Upgrades react-emotion in dependencies from 9.0.2 to 9.1.1

chore(deps): update dependency react-test-renderer to v16.3.2

Branch name: renovate/react-test-renderer-16.x
Upgrades react-test-renderer in devDependencies from 16.2.0 to 16.3.2

chore(deps): update dependency storybook-readme to v3.3.0

Branch name: renovate/storybook-readme-3.x
Upgrades storybook-readme in devDependencies from 3.2.1 to 3.3.0

chore(deps): update dependency ts-jest to v22.4.3

Branch name: renovate/ts-jest-22.x
Upgrades ts-jest in devDependencies from 22.4.2 to 22.4.3

chore(deps): update dependency typescript to v2.8.1

Branch name: renovate/typescript-2.x
Upgrades typescript in devDependencies from 2.7.2 to 2.8.1

chore(deps): update dependency webpack-cli to v2.0.14

Branch name: renovate/webpack-cli-2.x
Upgrades webpack-cli in devDependencies from 2.0.9 to 2.0.14

chore(deps): update dependency webpack-dev-server to v2.11.2

Branch name: renovate/webpack-dev-server-2.x
Upgrades webpack-dev-server in devDependencies from 2.11.1 to 2.11.2

chore(deps): update node docker tag to v8.11.1-alpine

Branch name: renovate/docker-node-8.x
Upgrades node in Dockerfile from undefined to 8.11.1-alpine

chore(deps): update dependency node to v9

Branch name: renovate/node-9.x
Upgrades node in devDependencies from 8.9.4 to 9.11.0
Upgrades @types/node in devDependencies from 9.4.7 to 9.6.5

chore(deps): update dependency ts-loader to v4

Branch name: renovate/ts-loader-4.x
Upgrades ts-loader in devDependencies from 3.5.0 to 4.2.0

chore(deps): update dependency webpack to v4

Branch name: renovate/webpack-4.x
Upgrades webpack in devDependencies from 3.11.0 to 4.5.0

chore(deps): update dependency webpack-dev-server to v3

Branch name: renovate/webpack-dev-server-3.x
Upgrades webpack-dev-server in devDependencies from 2.11.1 to 3.1.3

This PR has been generated by Renovate Bot.

Renovate is disabled
Renovate is disabled due to lack of config. If you wish to reenable it, you can either (a) commit a config file to your base branch, or (b) rename this closed PR to trigger a replacement onboarding PR.


Ban content update messages with given resource ID

There is a bug with the partitioning logic which means updates on
one particular content ID--which has started getting updated very
frequently recently--ends up on multiple worker threads. These
threads then compete for the same lock and as a result only one
thread can proceed while the others are blocked. This in turns
slows down the worker and causes a backlog. There is a fix for the
partitioning logic being deployed, however for the sanity of
support over the weekend the affected ID will get temporarily banned.

lgtm


Running Sudoku solver using the spacebar terminates the program with an error

Playing the game normally doesnt cause issues. However, if the user presses the spacebar to solve the board and then closes the program, it terminates the program with an error.

Hey, can I be added to this :)

Sure All the best!

!bounty 50

!bounty 50

Hi, can I please be added to this?

!bounty 50

Hi @gorumeg, this issue has already been solved by #35.


Feature request: limit internet bandwidth per process

It would be really useful. I'd no longer have to use a separate tool.
What do you think about that?

I don't think this is something that Windows has natively, so I think the tool you are using is injecting code into processes and hooking networking calls. This would require building a separate plugin, much more than a features

Yeah, you're right. I had a look at the Windows API, and it seems there is little information. I read about the TC and QoS API, but I'd like to try them on my own also. I don't think they're really a good fit for the job.

have you tried netlimiter? www.netlimiter.com
i use version 3 under win7 for many years no probs at all. and ya that's a whole app so putting that in hacker's a whole lot of work, netlimiter involves drivers too.

I knew driver level code was involved. But I think it is at the user level, not the kernel level luckily.
The thing is ProcessHacker is so handy that having eveything integrated woud be awesome, but I understand your point.
I'm not an expert when it comes to pure Windows development so I'm not even judging. I'll respect what you choose to do, and I'll look at NetLimiter

I'm not sure how to implement per-connection bandwidth control. Years ago NetLimiter used a Winsock LSP to intercept/control connection speeds but I think they're using kernel routines now?
Job objects previously allowed control of IO rates but that's now deprecated and the IOCTL_NDIS_RESERVED8 can also be used to limit the bandwidth for a specific adapter and might have something for per-connection limiting but I can't find many references about this 😕

@dmex are you trying to disassemble NetLimiter?
Prior to open this feature request I tried searching the internet and I couldn't find much info either.
The only decent answer I found is this https://cboard.cprogramming.com/windows-programming/91366-how-throttle-internet-bandwidth.html#post654757 which is basically the socket interception you mentioned

@lppedd
I only know what Netlimiter was doing about 6 year ago (the last time I last used it). The NDIS stuff because we reversed a bunch of stuff for the HardwareDevices plugin which queries network adapter information directly from the NDIS driver: https://github.com/processhacker/processhacker/blob/master/plugins/HardwareDevices/ndis.c#L45
There are some other methods such as the Traffic Control interface but no idea if it works: https://msdn.microsoft.com/en-us/library/windows/desktop/aa374469.aspx

@dmex
Yeah I had read the QoS page over the Microsoft site. There are certian parts of the description which make me think it is applicable to this needs:

... taming the traditional TCP approach of "send all of it out as fast as possible" and its associated clogging effects ...

Familiarity with Windows networking and Windows Sockets 2 programming is required

But here is where I lose hope:

By writing QOS-enabled applications, programmers can ...

Can someon test if this works on all applications powershell.exe New-NetQosPolicy -Name "Name" -AppPathNameMatchCondition Program.exe -ThrottleRateActionBitsPerSecond 8175 ?

@TETYYS
Doesn't work for me :(

Looks like the Windows Connection Manager has some feature to limit the speed. Check out this sample.

@dmex was this closed as a "won't do"? Anyway, thanks for the effort :)

@lppedd
Yep :(


Delay bug if you set a NaN as time

This kind of code (unexpected since 'a' is not a valid time but ... :))
alertify.delay('a');

will set delay to undefined instead of resetting it to default delay.

Argh, sorry for the disturb. Semaphore-ci first steps are laborious


Doesn't find other partition on my SSD Drive

Hello,
sadly Whatsie doesn't find my other partition on my SSD Drive. I've one for my Data and another one for system and programs. Sadly only the system partition is available and the folder where the partition is mounted isn't found.
System: Mint 21
Installation method: Snap (with other snap programs it works)
Version: 4.10
Debug Info:
Version: 4.10
Source Branch: main
Commit Hash: 74216cf
Build Datetime: 2022-12-18T21:07:56UTC
Qt Runtime Version: 5.15.4
Qt Compiled Version: 5.15.4
System: Ubuntu Core 20
Architecture: x86_64

Please run this command to enable access the removable media if you are connecting the ssd as removable device(USB?).
snap connect whatsie:removable-media
I have to add mount-observe plug in order to see the other mounted devices. expect this in next version.
Thanks for opening this issue.

Sadly it still does not work.

Sadly it still does not work.

Please wait for the next release, i will add mount-observe plug to enable support to read from mounted devices.

mount-observe was added in https://github.com/keshavbhatt/whatsie/commit/63440d96fba825ea2831b7f7f07730a0c5626fa1
You can turn it on to allow whatsie see your mounted devices.


Multiple security groups support

Hi,
It seems that currently it is possible to create only one security group id per network, as described here-> https://github.com/cloudfoundry-incubator/bosh-alicloud-cpi-release/blob/master/docs/bosh/alicloud-cpi.md
however, this should be possible to attach multiple different security groups to VMs that will share the same network subnet.
For instance:
networks:
- name: default
  type: manual
  subnets:
  - range: <IP_ADDRESS>/24
    gateway: <IP_ADDRESS>
    ip: <IP_ADDRESS>
    cloud_properties:
      vswitch_id: vsw-2zemyfytfclbcmgfkzokx
      security_group_ids:
       -sg-2zei0mcphxbdxj49qtmz
       -sg-3zei0mcphxbdxj49qtm2

Hi @alexwo CPI release 16 has supported join VMs into multiple security groups. Please update CPI from the following address:
Chinese Mainland：http://bosh.oss-cn-hangzhou.aliyuncs.com/bosh-alicloud-cpi-release-r16.tgz
Hong Kong and Oversea: http://bosh-.oss-.aliyuncs.com/bosh-alicloud-cpi-release-r16.tgz, like http://bosh-eu-central-1.oss-eu-central-1.aliyuncs.com/bosh-alicloud-cpi-release-r16.tgz
Release 16 sha1: dc63a7b28fa77294ae4c7305c85d9590ca690cd9
Thanks a lot
Regards,
He Guimin


Avoid an infinity loop in LineObserver()

Currently if somehow terminator bytes haven't been found in the buffer, the function just continues the outer loop, but it can't acquire more because the buffer isn't empty. So we must first try to acquire bytes and if we get nothing then we will just replace the buffer with an empty byte array. Or else we will have a chance to find terminator bytes this time.
P. S. This project really lacks tests.
Also, why there is no .sln file in the repo? It is really hard to add a tests project to the repo without a .sln file.
And is there a particular reason for a such code style (tabs instead of spaces, this.something to access member variables, Int32 instead of int, etc)?

Sorry I accidently commited different changes to the branch so I'll create another pull request

Currently if somehow terminator bytes haven't been found in the buffer, the function just continues the outer loop, but it can't acquire more because the buffer isn't empty. So we must first try to acquire bytes and if we get nothing then we will just replace the buffer with an empty byte array. Or else we will have a chance to find terminator bytes this time.

That's true. As implemented, the worker does expect that reads from the socket will contain at least one line within the first 4096 bytes. This works by depending on an implementation detail of the Asterisk AMI implementation, but if a theoretical Asterisk-like server uses TCP_NODELAY then that assumption might not hold true. Is this the case you're dealing with?

P. S. This project really lacks tests.

Yeah. It's testable by mocking an Asterisk server using a MemoryStream object.

why there is no .sln file in the repo?

I just haven't committed one because I develop it as part of a larger project. I've assumed others would either use the Nuget package or reference this repository as a git submodule in their own solutions.

is there a particular reason for a such code style

¯\_(ツ)_/¯

tabs instead of spaces

I think tabs for indentation and spaces for alignment is the One True Way.
https://dev.to/alexandersandberg/why-we-should-default-to-tabs-instead-of-spaces-for-an-accessible-first-environment-101f

this.something

I don't like m_something or _something

Int32 instead of int

This is one where I do follow the corefx guidelines. My affinity for being explicit about integer sizes comes from C, where it's better to use int32_t instead of int, since int could technically be 16 bits.

Can you try the branch support-socket-timeout

This branch but not the support-socket-timeout branch?


Obtain filepath from Dask DataFrame

Builds upon https://github.com/dask-contrib/dask-sql/pull/1074
Uses part of https://github.com/jdye64/dask-sql/blob/expand_predicate_pushdown/dask_sql/physical/rel/logical/table_scan.py#L112-134
For some reason, this doesn't work with https://github.com/dask-contrib/dask-sql/pull/1102 yet, indicating some error on the DPP side(?), even though DPP is able to obtain the correct filepaths by using this PR. So DPP still just returns the original plan when create_table uses a Dask DataFrame instead of a Parquet filepath.

Codecov Report

Merging #1145 (0495211) into main (f8b7d05) will increase coverage by 0.14%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1145      +/-   ##
==========================================
+ Coverage   81.43%   81.57%   +0.14%
==========================================
  Files          78       78
  Lines        4395     4402       +7
  Branches      797      798       +1
==========================================
+ Hits         3579     3591      +12
+ Misses        640      631       -9
- Partials      176      180       +4

Impacted Files
Coverage Δ

dask_sql/context.py
93.96% <100.00%> (+0.18%)
:arrow_up:

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add support for Biolink model versions 1.8.1 and 1.8.2?

I noticed that this service doesn't seem to like Biolink model versions 1.8.1 and 1.8.2 at the moment.
e.g., this request:
curl -X GET "https://bl-lookup-sri.renci.org/bl/affects/descendants?version=1.8.1" -H "accept: application/json"

returns No version '1.8.1' available
would it be possible to add support for these?

this will be in the next release coming out shortly


Tests: Vk Validation Layer errors: tests\metal\texture.slang

tests\metal\texture.slang does not assign texture formats to any of the test input textures.
This is a cause for validation error.
There also seems to be other validation errors

I was able to reproduce two validation errors,
One of them is related to a 16-bit integer type.
$ slangc.exe tests/metal/texture.slang -target spirv-asm

error: line 70656: [VUID-StandaloneSpirv-OpTypeImage-04656] Expected Sampled Type to be a 32-bit int, 64-bit int or 32-bit float scalar type for Vulkan environment
  %9148 = OpTypeImage %short 1D 2 0 0 1 Rgba16i

(0): internal error 99999: Validation of generated SPIR-V failed.

And another is about 16-bit float type (half).
$ slangc.exe tests/metal/texture.slang -target spirv-asm -DEXCLUDE_INTEGER_TYPE

error: line 35389: Expected Image 'Sampled Type' to be the same as Result Type components
  %5037 = OpImageGather %v4half %sampledImage_172 %5038 %int_0

(0): internal error 99999: Validation of generated SPIR-V failed.

However, I am not sure about the texture format.
I assume that the issue description talks about the missing optional parameter for //TEST_INPUT.
//TEST_INPUT: Texture2D(size=4, content = zero):name t2D_f32v3
Texture2D<float3> t2D_f32v3;

It could have a format assigned as following,
//TEST_INPUT: Texture2D(format=R8G8B8A8_SINT, size=4, content = zero):name t2D_f32v3
Texture2D<float3> t2D_f32v3;

But I don't think this can be related to the validation.
Because the "TEST_INPUT" is applied at the runtime and the Vulkan validation is based on the static SPIRV-ASM.
I will focus on the validation errors.

It turned out that my repro was not valid.
The compilation for SPIRV for the test should be,
slangc.exe tests/metal/texture.slang -stage compute -entry computeMain -target spirv -emit-spirv-directly -DEXCLUDE_HALF_TYPE -DEXCLUDE_SHORT_TYPE

And slang-test runs correctly with the macros.
//TEST:SIMPLE(filecheck=SPIR): -stage compute -entry computeMain -target spirv -emit-spirv-directly -DEXCLUDE_HALF_TYPE -DEXCLUDE_SHORT_TYPE

I added repro steps with example error to the issue description👍

This turned out to be a problem on the gfx testing framework.
And it is not an issue of slang compiler.
The same errors are observed from existing other tests as well such as tests/hlsl-intrinsic/texture/texture-instrinsic.slang and tests/glsl-intrinsic/intrinsic-texture.slang
It will be nice to fix, but I think the priority of this issue should be very low.
I unassigning myself from the issue, because the priority is much lower than expected.


refactor(transformer/typescript): move all entry points to implementation of Traverse trait

#5422  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


Link checking cypress tests

This PR adds some simple link checking tests and a cypress-remote.json that can be used to test against a remote resource. It adds data-cy elements in a few places.
Cypress doesn't allow you to have tests that act on more than one domain so the external link checks just ensure the element is there and has the appropriate URL.

@denis-yuen Thoughts on number 2? Should we give up on smoke tests for the hotfix, or do you think it is worth redoing this on a hotfix branch for a first iteration?

I'm ok either way, whether we manually test these links or add in the new data-cy attributes (which doesn't seem super disruptive).


bug - squad-server/index.js

squad-server/index.js
334 - const nextMapToBeVoted = nextMap === 'To be voted';
->
334 - const nextMapToBeVoted = nextMap.level === 'To be voted';

What caused this to occur?

Voted

squad-server/index.js
334 - const nextMapToBeVoted = nextMap === 'To be voted';
->
334 - const nextMapToBeVoted = nextMap.level === 'To be voted';

Can you write more info about this issue please?
How did this occure? Did you chang anything? Which version do you use? Does this issue still occure after the upgrade to current version?

v2.0.4
There will be an error when the server turns on map voting

v2.0.4
There will be an error when the server turns on map voting

So let's say mapvoting is STILL ON PROGRESS and you are manually chaning the map to another one and this makes the value of nextMap.level unchanged which stays on to be voted.
Did I understand correctly?

squad-server/index.js
334 - const nextMapToBeVoted = nextMap === 'To be voted';
nextMap = {level: 'xxx', layer: 'xxx'}
nextMap === 'To be voted';
Unable to get map

v2.0.4
There will be an error when the server turns on map voting

So let's say mapvoting is STILL ON PROGRESS and you are manually changing the map to another one and this leaves the value of nextMap.level unchanged which stays on to be voted.
Did I understand correctly?

What XuanFeng means is we enabled the map voting function on our Squad server and using SquadJS.
That is the time when this error occurred.


Contact journal synchronization for multiple phones

Due to my job, I use two cell phones with the Corona-Warn-App (company cell phone and private cell phone).
Since I don't always have both phones with me at the same time, I have to maintain the contact journal separately on both devices, so that both are on the same status. The person behind both phones is the same.
Is there a possibility to provide an optional synchronization or something similar like an export/import feature, which can be used to keep the journal on the same level on both devices without further interaction by me?

Internal Tracking-ID: EXPOSUREAPP-7219

This sounds technically very challenging, as you wouldn't want the data to pass through a central server.

I do have another way. You could do the sync by qr code. (Put the data in the code.)

It's a good idea for exporting and importing, but this won't work conveniently enough for using it as described in OP.

Is it to inconvenient to scan two qr-codes for one sync? Idk, but I think it would be ok for me.

Sync by QR Code is already a good idea.
My idea is the following: All data from the contact journal will be stored in an encrypted file. The user can choose where to store it - in the local filesystem on the phone or even in attached cloud storage (OneDrive, Dropbox or personal OwnCloud etc) or send it via Mail, Airdrop, etc.
You can open the file on another phone by scanning the encryption QR Code from the other phone (or enter password etc). To enable automatic sync the file will be opened every time when starting the app, merge all possible changes like new entries with the contact journal and save the contact journal back to the file. On the other phone, the process starts again.
Another system that also works with this system (and inspired me) was the KeePassium App. https://github.com/keepassium/KeePassium#automatic-sync
Or is this too complicated to implement or problems with data security?

Closing this issue as its related internal ticket was set to obsolete.

This feature would need too much effort for too few benefits.


kepler(0.5.8): bump to release-0.7.11

Bump to release-0.7.11

@rootfs @jiangphcn

sorry for late response. I am back from vacation.


[WAF - Reliability Review] -	avm/res/app/container-app

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Feature Request
Module Name
avm/res/app/container-app
(Optional) Module Name if not listed above
No response
(Optional) Module Version
No response
Description
Hello team,
The AVM core team are performing a review of all AVM modules to ensure they are aligned to the WAF reliability pillar by default, and in the future they will be checking against other WAF pillars also. This is a requirement we have before we can go v1.0.0 for any AVM module.
Links to AVM specs:

https://azure.github.io/Azure-Verified-Modules/specs/shared/#id-sfr2---category-composition---waf-aligned
https://azure.github.io/Azure-Verified-Modules/specs/shared/#id-sfr5---category-composition---availability-zones

Links to WAF Reliability, APRL & Product Docs recommendations used for analysis:

https://learn.microsoft.com/azure/well-architected/reliability/checklist
https://learn.microsoft.com/en-us/azure/reliability/reliability-azure-container-apps?tabs=azure-cli#availability-zone-support

Whilst reviewing this module the following issues have been found that are non-compliant with the AVM specs that need to be resolved in a new version release:

[ ] Set the scaleMinReplicas to 3 & set scaleMaxReplicas to 10 to match description - https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/app/container-app/main.bicep#L29-L33

Please make these changes in a PR to the parameter defaults so a new minor version can be published.
Thanks
The AVM Core Team
(Optional) Correlation Id
No response

Hey @jtracey93, will work on getting this in.


Connect to SQL Server container

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I have followed the documentation, trying code from here and here, I cannot connect to container using Azure Data Studio.
On the second link, I tried to set the password as shown:
var password = builder.AddParameter("password", secret: true);
var sql = builder.AddSqlServer("sql", password);
var sqldb = sql.AddDatabase("sqldb");

This caused an error at runtime:

I tried using the password generated at run time from the environment variables on the dashboard - that did not work either.
I tried adding Aspire conf to both AppHost and then to the WebApi, neither of which had an effect.
So I settled on this in my appsettings.json in the Web API:
{
  "Aspire": {
    "Microsoft": {
      "Data": {
        "SqlClient": {
          "ConnectionString": "Server=tcp://localhost,1433;Database=MyDB;User Id=sa;Password=Password123;",
          "DisableHealthChecks": false,
          "DisableMetrics": true
        }
      }
    }
  },
  "ConnectionStrings": {
    "DBName": "set in user secrets"
  }
}

I then tried plugging that connection string straight into Azure Data Studio, but received the following error;

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No such host is known.)

Also, once I have connected, I don't see any documentation on how to run migrations or scaffold the data from the CLI - the container is only running when the app is running - so how should I run migrations etc? So for example, running any of the recommendations in this documentation
Expected Behavior
I should be able to connect to the DB Server and DB via Azure Data Studio (or SSMS).
I should be able to run migrations.
Steps To Reproduce
Set up AppHost Program like so:
using Aspire.Hosting;

var builder = DistributedApplication.CreateBuilder(args);
var sql = builder.AddSqlServer("sql", port:1433);
var orderDb = sql.AddDatabase("MyDb");

builder.AddProject<Projects.WebApi>("webapi")
	.WithReference(orderDb);

builder.Build().Run();

In the Program.cs file of the WebAPI project have something like this:
builder.AddSqlServerDbContext<OrdersDbContext>("MyDb");

Then try and connect to the DB
Exceptions (if any)
No response
.NET Version info
8.0.5
Anything else?
No response

@csharpfritz hopped on a call with me and we got a lot of it sorted.
The docs was missung a part, which wasn't helping - issue in the works on that already.
This issue can be closed.


can you add DoubleSlider widget?

Can you add a double slider widget? I am attaching an example
doubleslider.txt

[Note to others: This is a feature request for a widget that is a Slider Bar that has two values - presumably to specify a minimum and maximum value.]
Kivy is designed to be extensible, so you can add your own widgets. It appears you have extended it with a widget that is useful to you. Unless you can show that this is a widget useful to a large proportion of the users, it shouldn't be added to the Kivy base code.
Instead, consider adding it yourself to the Kivy Garden or another repository. See https://pypi.org/project/kivy-garden.radialslider/ for an example.

There is no widget for selecting a range in the standard library, and using two sliders looks very crooked, and if you connect the boundaries of these two sliders with each other, then everything becomes even worse (the step becomes uneven, the sliders jump, etc.)
Actually, you can use it wherever you need to specify a range. In my personal example, limiting the visibility of the graph along the y axis

@GvozdevLeonid: Yes, all of that is true.
However, my point stands. It is not the goal for Kivy to have every single widget that anyone ever needs. The goal is for Kivy to be extensible, so you can write your own widgets and share third-party widgets from Kivy Garden.
You have done some of the work to implement DoubleSlider (there still needs to be documentation, unit tests, example code and code reviews to be done). You might like to share that effort with others by making it available on Kivy Garden.


Multiple Swagger file on same connexion app

Description
We would like to use connexion with Flask to serve multiple API using distinct Swagger YAML files that all use the same base path.
Example :
file1.yaml
-> contains route /api/v1/statistics
file2.yaml
-> contains route /api/v1/products
In order to do this, we are calling the add_api method with each Swagger YAML file.
Expected behaviour
Both file are parsed and every routes are served through connexion/Flask.
Actual behaviour
An error occurs because Blueprint name conflicts as they are computed using base_path which is :
file1.yaml -> /api/v1
file2.yaml -> /api/v1
Steps to reproduce
Same as 1032
Additional info:
As a workaround, we replace the add_api call by function that mimic add_api but allow to pass additional **options to the register_blueprint methods.
Instead of :
        curr_api = connexion_app.add_api(provided_api, resolver=ApiResolver('api.provide.gen." + package_name + ".controllers'),
                          pythonic_params=True)

We do :
        api = super(type(connexion_app), connexion_app).add_api(provided_api, resolver=ApiResolver('api.provide.gen." + package_name + ".controllers'),
                          pythonic_params=True)
        connexion_app.app.register_blueprint(api.blueprint, name=provided_api)

Is there any reason to not add add_api **options parameters that could be given back to register_blueprint method ?
Output of the commands:

python --version => Python 3.7.5
pip show connexion | grep "^Version\:" => Version: 2.12.0

Thanks in advance for your help.
Yours faithfully,
Antoine

Hi @AntoineDuComptoirDesPharmacies
The options you mention are framework specific, while we try to keep the connexion interface framework agnostic. Other frameworks support a name parameter as well though (eg starlette), so I would not be opposed to adding the name parameter to the add_api method.