Adjust input position

First off, thanks for putting this library together.
I'm trying to use this in a multiselect (multiple=true) scenario where each selected option produces a new row in the output area rather than just appending tags and eventually wrapping. I have that part working, but I'd like to be able to adjust the input/search area position. Currently it looks like it's always the ~last element in the tags div. Is there a way to make it appear first, or perhaps (more appropriately for my scenario) on top of the tag list, and/or customize the search component itself?
I've seen the caret slot, which is not quite what I need, though I also will need to play with that in order to get this style of tag output to look better (it sticks to the top right of the dropdown, I may just hide it).
I looked through the slot/prop docs as well as other issues and didn't come across anything, but apologies if I just missed it.
Thanks for your help.

@kmatarese Right now we don't support it. We will try to add support for the same. Thanks.


Added listen path validation

Currently it is allowed to register invalid listen path, e.g. hello that makes chi panic. This PR adds listen path validation, so registering new proxy will fail with 400 status code. But if you already have proxies registered - they will be skipped and an error message will be logged.

👍

👍


DTS add odroid support in documentation

link to FAQ explaining how to load DPP keys.

This will be merged after: https://github.com/Dasharo/meta-dts/pull/168/files
@m-iwanicki Also, the links to DES will change, according to the PR: https://github.com/Dasharo/docs/pull/880


Arch: Razor Language Server server is crashing on startup of VS Code

Work around

Open the VS Code settings file (File menu->Preferences->Settings)
Add "razor.disabled": true

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.102
 Commit:    96ff75a873

Runtime Environment:
 OS Name:     antergos
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /opt/dotnet/sdk/2.2.102/

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  2.2.102 [/opt/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.NETCore.App 2.2.1 [/opt/dotnet/shared/Microsoft.NETCore.App]

VS Code version:
Version: 1.30.2
Commit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
Date: 2019-01-08T23:10:56.746Z
Electron: 2.0.16
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Linux x64 4.20.4-arch1-1-ARCH

C# Extension version:
1.17.1
Steps to reproduce

Have the C# extension installed
Open up a random project, even a console app will do, that's what I did
Close down VS Code, and then launch it again and the error message should appear in the bottom right
Close down VS Code, Reboot computer, start vs code and an error message should appear in the bottom right

Expected  behavior
Not to crash I believe
Actual behavior
The Razor Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
[Info  - 6:06:01 PM] Connection to server got closed. Server will restart.
[Info  - 6:06:01 PM] Connection to server got closed. Server will restart.
[Info  - 6:06:02 PM] Connection to server got closed. Server will restart.
[Info  - 6:06:03 PM] Connection to server got closed. Server will restart.
[Error - 6:06:04 PM] Connection to server got closed. Server will not be restarted.

Also breaking the whole code application it seems, the debugger just sits there and doing nothing if you press F5, but I do have a problem with the debugger in a seperate issue.

Another confirmation here.  Issue reappears after reboot.  Quickest solution for now is uninstall the extension in UI, rm -Rf the extension from disk, reload the UI, reinstall the extension as reported by others.  This is using the visual-studio-code-bin package on Arch.

@akshita31 shouldn't the payload verification catch this?

@NTaylorMullen I believe the problem is that the version of the Razor language service that we are shipping is still using the older CoreCLR. Does the latest beta have this problem fixed? What is the right work around for folks who don't need Razor but want C# features?

@NTaylorMullen The verification using checksum is in beta and not yet released.

@NTaylorMullen I believe the problem is that the version of the Razor language service that we are shipping is still using the older CoreCLR. Does the latest beta have this problem fixed? What is the right work around for folks who don't need Razor but want C# features?

I thought so at first but when people were saying they were reinstalling and everything was just working that ruled out that scenario.

@NTaylorMullen The verification using checksum is in beta and not yet released.

Ahh, that makes sense 👍

@NTaylorMullen the fact that somehow a reboot causes the problem to come back makes me think this isn't going to be solved by download verification.

a reboot causes the problem to come back

Oooh, I didn't catch that part of the issue. Yes I agree. A way users can work aroudn this for the interim is to set "razor.disabled": "true"

(NOTE: You said "true" but I am assuming it is a bool rather than a string, so it should be true. Correct?)

Yes, correct.

Also, is there a beta release that folks can try to see if this is addressed with just a newer CoreCLR?

Not yet, if there ends up being enough need for users wanting Razor on arch Linux we can definitely work on one though.

I use Arch, I set the razor.devmode : true, Idk what it means to operate in a mode that allows us to run a Razor dev environment ontop of a shipped omnisharp-vscode. but it works for me.

@reke592, you should be using razor.disabled not
razor.devmode 😁

@NTaylorMullen Out of curiosity, what is the difference? Why should one be used above the other?

@jchand99, razor.disabled stops everything Razor. razor.devmode just stops the starting of the Razor Language Server and the Razor wire up to VSCode. It's all to enable https://github.com/aspnet/Razor.VSCode to ctrl + f5 VSCode and replace the shipped Razor experience with a development version.

@NTaylorMullen Ah, I understand now, thank you for the clerification!

Confirming this issue on manjaro as well (using aur/visual-studio-code-bin 1.31.1-1) .  Works fine on fresh install of C# extension, but after reboot, "Razor language server crashed 5 times and will not be restarted".  Easy workaround so far has been to delete the ms-vscode.csharp directory in ~/.vscode/extensions, then reinstall C# extension in the UI (although it is annoying to have to download everything).

@xgnxs There is a much better work around. See the very top of this issue.

Completely disabling razor isn't exactly a workaround, unless you don't need razor.

I have this issue on Manjaro as well and I do need Razor so the existing workaround is not good for me.
VS Code
Version: 1.32.3
OS: Linux x64 4.19.32-1-MANJARO
C# Extension
Version: 1.18

@djkiwe Could you uninstall and reinstall the extension and see if the problem persists?

@akshita31 When reinstalling the problem disappears temporally, but it comes back once the machine is rebooted, sometimes even when just the VS Code window is reloaded.

@djkiwe so sorry for the inconvenience. Thankfully It's a known issue that will be fixed in our next release though! (mid to late April)
Honestly not quite sure it goes away at all when reinstalling the extension. I'd imagine it'd be broken always 😁.

Awesome. Thanks a lot! :)

Just adding my experience here with the same issue, and I also need the Razor support. Issue returns after reboot.
VS Code
Version: 1.32.3
OS: Ubuntu 18.04.2 LTS
C# Extension
Version: 1.18.0

I also have this issue
VS Code
Version: 1.32.3
OS: Ubuntu 18.04.2 LTS
C# Extension
Version: 1.18.0

I am experiencing the same issue while running Linux Mint 18
VSCode 1.35.1
OS Linux x64 4.4.0-150-generic
ms-vscode.csharp = 1.20

@rledyard could you share the output of your Razor Log?

@NTaylorMullen - Sorry for the delay. I have attached a bug report with log dumps
VSCode_RazorServer_BugReport_2019-07-07.txt
.

"razor.disabled": true  is not work around, it just disables option to view razor logs in terminal.

@Djordje121  "razor.disabled": true will prevent the Razor language server from booting at all. If you're still seeing crashes chances are it's another extension 😢

This is still happening to me. What is the solution ?

Got problem when my Visual Studio Code updating, then tried switching to pre release version of C# extensions then my extensions work normally again, though can change some settings for extensions that may work with next time when another update comes out

We've made lots of updates to the C# extension since this issue was filed. Please file a new issue if you're still experience this.


Update index.html

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.9 Features: set Milestone to 1.9 and Base Branch to release-1.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: Please check the “Allow edits from maintainers” box (see image below) to
allow reviewers to fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.
NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box. This is a temporary workaround to address a known issue with GitHub.

This change is

Generally seems reasonable (seems like you're grouping things in divs so that you'll be able to hook into them with Javascript), but do you mind responding in a short comment what this change is intended to do?
Once that's done, I'll feel safer merging. Thanks! :)

Hi! Sorry about that, I didn't mean to commit a couple times.
The intention is to make this page:
https://kubernetes-io-user-journeys.netlify.com/partners/ have the
capability to sort the sections when clicking the corresponding button, "Add
JavaScript so that when a user clicks on "See KCSP Partners" the page only
displays listings for that category. Same with "See Technology Partners"
and "See Services Partners"  was the request. Let me know if there are any
problems!
On Thu, Nov 2, 2017 at 12:20 PM, Jessica Yao<EMAIL_ADDRESS>wrote:

Generally seems reasonable (seems like you're grouping things in divs so
that you'll be able to hook into them with Javascript), but do you mind
responding in a short comment what this change is intended to do?
Once that's done, I'll feel safer merging. Thanks! :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/6153#issuecomment-341476145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AaqqleHmbim-cZzd0vBu9JQYQkdhSl0Jks5syeu8gaJpZM4QP6zg
.

OK, that makes sense!

(Yeah, next time would prefer if the Javascript code was included in the same PR, but this time I'll go ahead and merge)

Thank you so much!! I appreciate it
On Thu, Nov 2, 2017 at 12:35 PM, Jessica Yao<EMAIL_ADDRESS>wrote:

Merged #6153 https://github.com/kubernetes/website/pull/6153.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/6153#event-1323415011, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AaqqlQiMidHq4G3pYk789PlLD4w5zGgzks5sye9tgaJpZM4QP6zg
.


feat(#2989)!: hover for all modules

I recognize that this change may break or change many existing style.css configurations due to the new buttons and the default configuration containing a general css rule for buttons.
I've just done the minimal job with this approach of implementing the feature. If this approach is acceptable even with breaking changes to existing configurations, I can continue finishing this up with some guiding feedback.
If this is not an acceptable approach, I've been thinking about a different approach of just adding a ".hover" class to the GTK label instead. I haven't really explored that possibility yet and I'm very new to GTK and C++, so I'm not sure about the details in that approach, but it sounds very doable and probably not hard to figure out how to implement. This approach would likely not breaking any existing configurations.

https://github.com/Alexays/Waybar/issues/1792

@Alexays
Is it interesting? Could you please take some time to give feedback on this? How can we got some feature like this merged?
I'm determined to add this hover feature, but maybe this is not the right way because backwards-compatibility. Do you have any thoughts about the alternate solution hooking up GTK mouse enter/leave events and adding/removing the .hover class?


discoverd: Improvements to promotion/demotion

This aims to make promotion and demotion requests idempotent.
Firstly by making requests to add/remove peers from the cluster idempotent and further by altering the promotion/demotion logic to be tolerant of being requested to demote/promote oneself when it appears it should already be in that state.

@temujin9 This may interest you. It will allow you to run flynn-host promote/demote on hosts that have managed to add/remove themselves multiple times without it failing.

Looks like you need to drop the script change from #2918.

Merged the script change and rebased this.

LGTM


baselayers incorrect for some 'sper' projections.

This may be related to #168, but might not.
If your 'sper' basemap is set up to choose corners using xy values, then the baselayers
are not displayed properly.  These all fail: bluemarble, shadedrelief, and etopo.
Any help would be great.
Thanks
Does what I expect:
h = 15000.; lon_0 = -115; lat_0 = 55

m = Basemap(projection='nsper',satellite_height=h*1000.,\
            lon_0=lon_0,lat_0=lat_0,resolution='l')
m.drawparallels(np.arange(-90.,120.,30.))
m.drawcoastlines()
m.shadedrelief(scale=.2)

Fails to correctly display the base layer.
m = Basemap(projection='nsper',satellite_height=h*1000.,\
            lon_0=lon_0,lat_0=lat_0,resolution='l',\
            llcrnrx=-4000000,llcrnry=0,urcrnrx=4000000,urcrnry=5000000)
m.drawparallels(np.arange(-90.,120.,30.))
m.drawcoastlines()
m.shadedrelief(scale=.2)

Here's a gist with what I'm seeing
https://gist.github.com/flamingbear/76eeb588c006965361c6
and a screenshot.

Ping?

Sorry we haven't gotten back to you. Indeed, this looks like a serious bug
that needs to be addressed. I will be focusing on Basemap bugs soon, once
matplotlib 1.5 gets finalized.
On Tue, Oct 6, 2015 at 12:40 PM, Matt Savoie<EMAIL_ADDRESS>wrote:

Ping?
—
Reply to this email directly or view it on GitHub
https://github.com/matplotlib/basemap/issues/199#issuecomment-145922452.


keybase.updater is not running (updater)

Keybase GUI Version: 1.0.18-20161116190722+95f8303
I reinstalled already keybase via the dmg.
OS: OSX El Capitan 10.11.6
The UI shows loading, and errors with:
keybase.updater is not running (updater)

Fixed with update to Sierra 10.12


Notifications and file losted

@Qathom hi man, make a simple change in component notifications, now can custom 'label' of button.
phonon.notif( "my text", 3000, true, "close" );

Why? Well, I need this in one app to put label "stop"...  (I don't make compress file)
I found a file losted in notifications-example app.js, there exists part of code and isn't in use.

Thank you for your contribution @John-Henrique :)

Ok, thanks, days after I saw this...


Style KDoc

The KDoc is hosted via Github Pages. The KDoc is being generated using Dokka  with the HTML output option. When generated the CSS for the HTML option is in a directory above the other HTML for the doc. This makes it incompatable with Github Pages. To make it work The output format needs to be updated from html to gfm. The gfm option stands for GitHub flavored markdown and will allow the styling to be done by Github Pages.
Steps to update:

Change the dokka output format in batchlight/build.gradle from html to gfm`
Update the dokka output directory to be docs/ folder in the root of the project
Run the dokka gradle task (./gradlew dokka)
Put up the PR with the new docs

Fixed with PR https://github.com/YelloCo/Batchlight/pull/5


Deployment

#Deployment
##User Story
As a boot camp student,
I want the prework notes to be structured on a webpage,
So that I can easily find and read the information.
##Acceptance Criteria
GIVEN a Prework Study Guide website,
WHEN I visit the website using the URL,
THEN I can access my website from any browser

Deployed to github pages: https://gaylemcclure.github.io/prework-study-guide/


Added section on how to submit an agent

Do you think this is enough? Anything else that needs to be added or changed?

lgtm. ill add a couple of lines afterward after rebasing.


Question：How to set Time interval displayed over the entire x-axis

How to control the time interval of the entire x-axis, for example, the first screen is as follows

and after one push the next screen

I hope to set the entire x-axis display on-screen in one minute time

sorry i get it by set duration and xAxes[0].ticks.source = 'data'


Generic Argument Builders

In 2.0.0, the CommandArgument.Builder should take in a generic builder argument to properly forward the builder type. The declaration would be
public static final class Builder<C, T, B extends Builder<C, T>>

Currently the argument specific builder methods need to be called before the inherited methods. This is very annoying.

Done


Adding accountRange spec

Adding specification for debug_accountRange call.

@battlmonstr this PR was not completed: updating the JSON specification is not enough, also generating C++ code bindings is necessary. The complete procedure is documented here.
@bzawisto you can update the generated C++ code in a follow-up PR


Add global.json to pin dotnet SDK

Issue describing the changes in this PR
resolves #1769
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests) -- none required

/azp run

/azp run dotnet-worker

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

SAD

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

SAD

haha let me switch to a branch instead of a fork


Fix reindex for multi-index columns support.

Codecov Report

Merging #659 into master will decrease coverage by 2.48%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master     #659      +/-   ##
==========================================
- Coverage   93.43%   90.94%   -2.49%
==========================================
  Files          32       32
  Lines        5314     5333      +19
==========================================
- Hits         4965     4850     -115
- Misses        349      483     +134

Impacted Files
Coverage Δ

databricks/koalas/frame.py
92.92% <94.44%> (-1.72%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
76.92% <0%> (-7.7%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/namespace.py
87.6% <0%> (-1.61%)
:arrow_down:

databricks/koalas/plot.py
92.51% <0%> (-1.58%)
:arrow_down:

databricks/koalas/utils.py
97.31% <0%> (-0.68%)
:arrow_down:

databricks/koalas/testing/utils.py
77.35% <0%> (-0.63%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

Thanks! merging.


Translate to vietnamese

We (ElixirVietnam) finish translating this site to Vietnamese.
Please review this and allow our work to be merged to the main site.
Thanks

@kiennt this is spectacular!  Allow me to look over things and make sure there aren't any configuration issues and then we can merge this.
Do you and/or ElixirVietnam have a Twitter handle?  I'd love to give you all credit!

@doomspork
ElixirVietnam does not have twitter yet, but we have a website http://elixirvn.com. This is just a blog which host in medium, and our team are working to build a homepage to replace it.
I would love if you could mention our site (http://elixirvn.com) :)
BTW, we learned a lot about Elixir while translating ElixirSchool to Vietnamese. Thanks you for a great work.

@kiennt great work 👏

@doomspork I'll take care of the review and merger work for you as I understand Vietnamese and in fact I am part of the ElixirVN group

Wow @joneslee85 that is a very generous offer, that would be fantastic!  Thank you so very much 😀

Thank you for all your hard work @kiennt!!  Thank you for reviewing and merging @kiennt 💜


M2E execution of plugin gives different result than mvn generate-sources

I have a strange issue with the use of the plugin.
Environment:
Eclipse Oxygen.3a Release (4.7.3a) 20180405-1200
org.jvnet.jaxb2.maven2 / maven-jaxb2-plugin / 0.13.3
I have a simple setup with a directory with a bunch of xsd, the primary xsd being in the empty namespace, all other xsd define a targetNamespace.
I use bindings.xsjb with schemaLocation of the primary xsd  and a package override.
If I run Maven Generate Sources (from within Eclipse) everything is properly generated.
If I let M2E execute the generate sources action (e.g. by adding a space to pom.xml), the classes from the empty namespace xsd are put under "generated".
Looking at the verbose output of the M2E run, bindings.xjb is picked-up, but definitely not processed (an erroneous one does not generate an error)
I have no clue on the source of this problem, but it is very annoying!

I understand this is a Java 9/10 problem and the reason it worked with Maven run is that it used JDK8 environment.
Closing, as Java9 is already tracked in #120.


"line exceeded maximum length (sorry)" on a long comment

My project includes a URL in a comment to reference a relevant stack overflow thread.
rustfmt should not reject my code due to the overlong line.  It's only 103 chars.

It's not rejecting your code, rustfmt is just warning you that it went over the limit. You can change the limit if you think 100 characters is too strict.

Ah, it still formats the file?  Perhaps it shouldn't have an error exit in that case?
$ cargo fmt
Rustfmt failed at .../main.rs:14: line exceeded maximum length (sorry)

third party subcommand `cargo-fmt` exited unsuccessfully

Yes, it does. The error code is there to signal that there are warnings to the caller.

I think this is a pretty confusing experience for the user, but I leave it to your judgement!

(Thinking about this just a bit more: I think the underlying problem is that I expect rustfmt to always succeed unless my code is syntactically incorrect.  Here, I know my code is fine (it compiles, after all) but rustfmt is instead doing some sort of linter-like work and reporting errors.)

These are good points. We're currently considering moving the lints to separate binaries. Something to consider: this is a failure of rustfmt (hence the apology in the message ;-)), not of the input.
About the format on save: that's actually one of the uses of the exit code. Without it, your editor wouldn't be able to tell you if there are any issues. Now it can look at the return code and display you the output if it's not nil.


Add wgpu and three-d portable (rust) graphics libraries

Rust has some really nice offers in the graphics ecosystem.
wgpu is really interesting, and it's actually the core of the (experimental) WebGPU implementation in Firefox.
three-d is nice because it's lightweight and easy to target native as well as web apps (OpenGL+ES and WebGL).
I saw that "Learn wgpu" was already mentioned as a tutorial. Not sure how well it suits if someone is interested in using WebGPU in the browser. That's why I moved it to the tutorials sub-section of the new section I've added.
Instead, I've added 2 tutorials for the WebGPU API I've found via a quick google search. But yes, I've seen the note that one shouldn't add something that you can not vouch for (not read/viewed/used). I am happy to delete those 2 tutorials and implement any other improvement/change ideas.

Aaaah. I landed accidentally on your fork instead of the main repo.... I will move the PR to upstream.


Resume

how to resume

i must write by myself by using 'checkpoint'?

have you written a checkpoint? i'm also interested in saving weights periodically to be able to resume

I am using Google Colab and if current loss is better than current loss, I copy weight file to Google Drive


Corrupted graphite stream

Hi
I have experienced strange issue - corrupted data in communication from statsd to graphite:

    master graphite-test /opt/statsd # tcpick -i lo -yP -C "port 2003"
    Starting tcpick 0.2.1 at 2014-01-17 03:47 UTC
    Timeout for connections is 600
    tcpick: listening on lo
    setting filter: "port 2003"
    1      SYN-SENT       <IP_ADDRESS>:60085 > <IP_ADDRESS>:cfinger
    1      SYN-RECEIVED   <IP_ADDRESS>:60085 > <IP_ADDRESS>:cfinger
    1      ESTABLISHED    <IP_ADDRESS>:60085 > <IP_ADDRESS>:cfinger
    stats.statsd.bad_lines_seen 0<PHONE_NUMBER>
    stats_counts.statsd.bad_lines_seen 0<PHONE_NUMBER>
    stats.statsd.packets_received 0<PHONE_NUMBER>
    ---- <many good lines> ----
    stats_counts.statsd.packets_received 0<PHONE_NUMBER>
    stats.server1.worker2.requests 0<PHONE_NUMBER>
    stats.server1.worker2.src1.op.........................................................................................
    ---- <many dots> ---
    ............................................................................................       ...B...B...F.T....R..q"........................
    ....................................E..4.W@.@.mj............;4. .W&=.....(.....
    .=fb.=fb...............................................................
    9926872
    stats.server1.worker2.src3.op_fail 0<PHONE_NUMBER>
    stats_counts.server1.worker2.src3.op_fail 0<PHONE_NUMBER>
    stats.server1.worker2.src3.op_success 0<PHONE_NUMBER>
    stats_counts.server1.worker2.src3.op_success 0<PHONE_NUMBER>

where '.' is 0x00 byte
  master graphite-test /opt/statsd # node -v
  v0.10.24

statsd is latest master
Do you have any ideas?

I see the same here - sniffing traffic between statsd and graphite using socat:
socat -v -d -d -lf/root/socat.log TCP4-LISTEN:2000,bind=<IP_ADDRESS>,reuseaddr,fork TCP4-CONNECT:localhost:2003,bind=<IP_ADDRESS>
> 2015/01/15 00:02:35.979062  length=586 from=0 to=585
stats.statsd.bad_lines_seen 0<PHONE_NUMBER>
stats_counts.statsd.bad_lines_seen 0<PHONE_NUMBER>
stats.statsd.packets_received 0<PHONE_NUMBER>
stats_counts.statsd.packets_received 0<PHONE_NUMBER>
stats.gauges.statsd.timestamp_lag 0<PHONE_NUMBER>
statsd.numStats 3<PHONE_NUMBER>
stats.statsd.graphiteStats.calculationtime 0<PHONE_NUMBER>
stats.statsd.processing_time 0<PHONE_NUMBER>
stats.statsd.graphiteStats.last_exception<PHONE_NUMBER><PHONE_NUMBER>
stats.statsd.graphiteStats.last_flush<PHONE_NUMBER><PHONE_NUMBER>
stats.statsd.graphiteStats.flush_time 1<PHONE_NUMBER>
stats.statsd.graphiteStats.flush_length<PHONE_NUMBER>156
...

Notice the stats_counts.statsd.packets_received 0<PHONE_NUMBER> even though I keep sending packets to UDP port 1825 using:
echo "sample.gauge:12|g" | nc -u -w0 <IP_ADDRESS> 8125

nodejs v0.10.25 on Ubuntu 14.04 LTS on EC2. iptables is disabled and all traffic is over loopback.
I tried this both with the git master branch and the latest release 0.7.2
The whisper file for "sample.gauge" isn't created. sometimes (pretty rarely) statsd picks up the data and sends it over and causes graphite to create the file, but it seems to happen in about <10% of the times I tried.

Hi are hitting the same problem. Statsd sends random data from time to time to graphite backend.
node v0.10.38 on Ubuntu 14.04.1 LTS
Any update/workaround on this will be much appreciated!

@wincus I later discovered that the "socat" or "netcat" version I used for testing has a bug which makes it send extra characters in debug mode, once I switched to another implementation things worked correctly.

Thanks @amosshapira  for the update. I am using tcpick for the network traffic.
Even when I didnt find any explanation to the noise sent to the graphite backend, we found the solution to our problem.
You see, our backend showed blanks in regular intervals, and I thought it was related with the noise.
But actually was due an old server that was still running on the network with the configuration option deleteIdleStats false , and as consequence was sending "0" even when wasn't getting the real values.

Sorry for the delay on this but I'm glad to hear this has cleared up :)


Failling to import converted pb file in tensorflow.

Hello, I have successfully converted tflite file to pb using your script.
But I am not able to load this in tensorflow.
I am wondering what steps I have missed.
I am attaching pb file with thi sissue.
hair_seg.zip
thank you

I just ran the following command, and it seems to be converting well. saved_model.pb is a special format of saved_model format. model_float32.pb is a format that can be read by Netron.
$ tflite2tensorflow \
  --model_path hair_segmentation.tflite \
  --flatc_path ./flatc \
  --schema_path schema.fbs \
  --output_pb True

$ tflite2tensorflow \
  --model_path hair_segmentation.tflite \
  --flatc_path ./flatc \
  --schema_path schema.fbs \
  --output_no_quant_float32_tflite True

The problem has been resolved. I will consolidate to issue #2 in the link.


New Tree relationship lines disappear when the selected node is significantly out of view

Godot version: master Git https://github.com/godotengine/godot/commit/b6f381475fed44be21b8dd66cdb86e1a3b3af9cf
OS/device including version: Fedora 33, GeForce GTX 1080 (NVIDIA 465.27)
Issue description:
The new Tree relationship lines disappear when the selected node is significantly out of view.
cc @pycbouh
Before scrolling up

After scrolling up

Steps to reproduce:

Create a scene with dozens of nodes.
Select a node at the bottom.
Scroll up.

Minimal reproduction project: N/A

Well that's unfortunate. This is because the whole line is drawn from the selected item. Though maybe not a big deal, as I already do the necessary checks to draw each segment, I think.


Components/Checkbox

Related to #172
Read this: Working on a PR | CONTRIBUTING | Galio's docs
Do you want to help? Just comment if you wish to work on:

[ ] Checkbox

🤙🏽

@palingheorghe I would like to work on this, if someone is not working on it already.


add code cleanup docs

Summary of the changes (Less than 80 chars)

Detail 1
Detail 2

Fixes #bugnumber (in this specific format)

Thanks for the effort. How about adding a contribution guidance in the repo, as similar to this one https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md , content here can be in the section of "How to setup develop environment"?

@vicancy I think we can have this simple doc merged first and let everyone have a try on these tools.
Then decide if we could crystalize the convention into laws.

Close since no activity


Use uncompressed source

I'm using this with webpack, and it tells me:
WARNING in ./~/google-libphonenumber/dist/browser/libphonenumber.js
Critical dependencies:
1:487-494 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/google-libphonenumber/dist/browser/libphonenumber.js 1:487-494
Which seems sensible. I'm not sure about the buildprocess being used here. Is it possible to use the uncompresed files as input to browserify/webpack?

It's a fair warning, but one you cannot easily dismiss without re-packaging every dependency that the original lib depends on. That means Google Closure Library and several of its built-in classes - take a look at how this was being achieved on a previous version (the actual procedure changed, but the dependencies remain the same).
The pre-built javascript under dist/browser/libphonenumber.js contains all the stripped-down versions of every dependency needed. it is based on a build system that lets Google decide which dependencies to include using Google Closure Compiler, as well as some simple optimisations on the resulting file. The bundled file is then browserified and also minified for easy consumption.
You could experiment sourcing the original js files from google/libphonenumber, but then you're likely wasting time getting something working on the browserify/webpack ecosystem on something that was built for Google's own tools. Precisely what this project is all about.
I hope this answer your question!

Thanks for the explanation.


Compiling in C++ mode needs C-macros defined in order to compile

I have been working on integration (Android NDK) and needed to do the following in order to get compilation to occur/get down to a single error message (see other issue, lol):
#include <SDL.h>
#include <stdint.h>
#include <limits>
const int UINT32_MAX = std::numeric_limits<int32_t>::max();
const int UINT8_MAX = std::numeric_limits<int8_t>::max();
const int UINT16_MAX = std::numeric_limits<int16_t>::max();
#define UINT32_C(c) c
#define UINT8_C(c) c

#include <bgfxplatform.h>

#include <bgfx.h>

Not doing so led to the following errors:
In file included from jni/src/testbgfx.cpp:8:0:
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:189:40: error: 'UINT16_MAX' was not declared in this scope
  static const uint16_t invalidHandle = UINT16_MAX;
                                        ^
In file included from /home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:12:0,
                 from jni/src/testbgfx.cpp:8:
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:288:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_RESET_NONE                  UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:535:66: note: in expansion of macro 'BGFX_RESET_NONE'
  void reset(uint32_t _width, uint32_t _height, uint32_t _flags = BGFX_RESET_NONE);
                                                                  ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:224:54: error: 'UINT8_C' was not declared in this scope
 #define BGFX_BUFFER_COMPUTE_NONE         UINT8_C(0x00)
                                                      ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:618:75: note: in expansion of macro 'BGFX_BUFFER_COMPUTE_NONE'
  IndexBufferHandle createIndexBuffer(const Memory* _mem, uint8_t _flags = BGFX_BUFFER_COMPUTE_NONE);
                                                                           ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:224:54: error: 'UINT8_C' was not declared in this scope
 #define BGFX_BUFFER_COMPUTE_NONE         UINT8_C(0x00)
                                                      ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:629:102: note: in expansion of macro 'BGFX_BUFFER_COMPUTE_NONE'
  VertexBufferHandle createVertexBuffer(const Memory* _mem, const VertexDecl& _decl, uint8_t _flags = BGFX_BUFFER_COMPUTE_NONE);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:224:54: error: 'UINT8_C' was not declared in this scope
 #define BGFX_BUFFER_COMPUTE_NONE         UINT8_C(0x00)
                                                      ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:645:84: note: in expansion of macro 'BGFX_BUFFER_COMPUTE_NONE'
  DynamicIndexBufferHandle createDynamicIndexBuffer(uint32_t _num, uint8_t _flags = BGFX_BUFFER_COMPUTE_NONE);
                                                                                ^
[armeabi-v7a] Compile thumb  : SDL2 <= SDL_dropevents.c
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:224:54: error: 'UINT8_C' was not declared in this scope
 #define BGFX_BUFFER_COMPUTE_NONE         UINT8_C(0x00)
                                                      ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:675:111: note: in expansion of macro 'BGFX_BUFFER_COMPUTE_NONE'
  DynamicVertexBufferHandle createDynamicVertexBuffer(uint16_t _num, const VertexDecl& _decl, uint8_t _flags = BGFX_BUFFER_COMPUTE_NONE);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:230:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_NONE                UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:823:68: note: in expansion of macro 'BGFX_TEXTURE_NONE'
  TextureHandle createTexture(const Memory* _mem, uint32_t _flags = BGFX_TEXTURE_NONE, uint8_t _skip = 0, TextureInfo* _info = NULL);
                                                                    ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:230:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_NONE                UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:834:132: note: in expansion of macro 'BGFX_TEXTURE_NONE'
  TextureHandle createTexture2D(uint16_t _width, uint16_t _height, uint8_t _numMips, TextureFormat::Enum _format, uint32_t _flags = BGFX_TEXTURE_NONE, const Memory* _mem = NULL);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:230:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_NONE                UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:846:149: note: in expansion of macro 'BGFX_TEXTURE_NONE'
  TextureHandle createTexture3D(uint16_t _width, uint16_t _height, uint16_t _depth, uint8_t _numMips, TextureFormat::Enum _format, uint32_t _flags = BGFX_TEXTURE_NONE, const Memory* _mem = NULL);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:230:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_NONE                UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:856:115: note: in expansion of macro 'BGFX_TEXTURE_NONE'
  TextureHandle createTextureCube(uint16_t _size, uint8_t _numMips, TextureFormat::Enum _format, uint32_t _flags = BGFX_TEXTURE_NONE, const Memory* _mem = NULL);
                                                                                ^
In file included from jni/src/testbgfx.cpp:8:0:
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:870:159: error: 'UINT16_MAX' was not declared in this scope
  void updateTexture2D(TextureHandle _handle, uint8_t _mip, uint16_t _x, uint16_t _y, uint16_t _width, uint16_t _height, const Memory* _mem, uint16_t _pitch = UINT16_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:918:176: error: 'UINT16_MAX' was not declared in this scope
  void updateTextureCube(TextureHandle _handle, uint8_t _side, uint8_t _mip, uint16_t _x, uint16_t _y, uint16_t _width, uint16_t _height, const Memory* _mem, uint16_t _pitch = UINT16_MAX);
                                                                                ^
In file included from /home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:12:0,
                 from jni/src/testbgfx.cpp:8:
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:232:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_U_CLAMP             UINT32_C(0x00000002)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:930:127: note: in expansion of macro 'BGFX_TEXTURE_U_CLAMP'
  FrameBufferHandle createFrameBuffer(uint16_t _width, uint16_t _height, TextureFormat::Enum _format, uint32_t _textureFlags = BGFX_TEXTURE_U_CLAMP|BGFX_TEXTURE_V_CLAMP);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:236:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_TEXTURE_V_CLAMP             UINT32_C(0x00000008)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:930:148: note: in expansion of macro 'BGFX_TEXTURE_V_CLAMP'
  FrameBufferHandle createFrameBuffer(uint16_t _width, uint16_t _height, TextureFormat::Enum _format, uint32_t _textureFlags = BGFX_TEXTURE_U_CLAMP|BGFX_TEXTURE_V_CLAMP);
                                                                                ^
In file included from jni/src/testbgfx.cpp:8:0:
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:95: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:119: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:143: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:167: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:191: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:215: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:239: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
In file included from jni/src/testbgfx.cpp:8:0:
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1064:263: error: 'UINT8_MAX' was not declared in this scope
  void setViewClear(uint8_t _id, uint16_t _flags, float _depth, uint8_t _stencil, uint8_t _0 = UINT8_MAX, uint8_t _1 = UINT8_MAX, uint8_t _2 = UINT8_MAX, uint8_t _3 = UINT8_MAX, uint8_t _4 = UINT8_MAX, uint8_t _5 = UINT8_MAX, uint8_t _6 = UINT8_MAX, uint8_t _7 = UINT8_MAX);
                                                                                ^
In file included from /home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:12:0,
                 from jni/src/testbgfx.cpp:8:
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:321:38: error: 'UINT8_C' was not declared in this scope
 #define BGFX_VIEW_STEREO UINT8_C(0x01)
                                      ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1084:93: note: in expansion of macro 'BGFX_VIEW_STEREO'
  void setViewTransform(uint8_t _id, const void* _view, const void* _projL, uint8_t _flags = BGFX_VIEW_STEREO, const void* _projR = NULL);
                                                                                ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:177:61: error: 'UINT32_C' was not declared in this scope
 #define BGFX_STENCIL_NONE                UINT32_C(0x00000000)
                                                             ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1120:59: note: in expansion of macro 'BGFX_STENCIL_NONE'
  void setStencil(uint32_t _fstencil, uint32_t _bstencil = BGFX_STENCIL_NONE);
                                                           ^
In file included from jni/src/testbgfx.cpp:8:0:
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1138:36: error: 'UINT16_MAX' was not declared in this scope
  void setScissor(uint16_t _cache = UINT16_MAX);
                                    ^
In file included from /home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:12:0,
                 from jni/src/testbgfx.cpp:8:
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:324:43: error: 'UINT8_C' was not declared in this scope
 #define BGFX_SUBMIT_EYE_LEFT  UINT8_C(0x01)
                                           ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfxdefines.h:327:31: note: in expansion of macro 'BGFX_SUBMIT_EYE_LEFT'
 #define BGFX_SUBMIT_EYE_FIRST BGFX_SUBMIT_EYE_LEFT
                               ^
/home/noob/android/android-ndk/sources/bgfx/include/bgfx.h:1267:129: note: in expansion of macro 'BGFX_SUBMIT_EYE_FIRST'
  void dispatch(uint8_t _id, ProgramHandle _handle, uint16_t _numX = 1, uint16_t _numY = 1, uint16_t _numZ = 1, uint8_t _flags = BGFX_SUBMIT_EYE_FIRST);

You have to enable following STDC defines:
https://github.com/bkaradzic/bx/blob/master/scripts/toolchain.lua#L316
Avoid doing crap like this:
#include <limits>
const int UINT32_MAX = std::numeric_limits<int32_t>::max();
const int UINT8_MAX = std::numeric_limits<int8_t>::max();
const int UINT16_MAX = std::numeric_limits<int16_t>::max();
#define UINT32_C(c) c
#define UINT8_C(c) c

That solution looks like it's specific to visual studio. Is there a more general solution available?

@lrperlmu __STDC_LIMIT_MACROS should be defined. What problem you're seeing?

That helps, thanks!
Did you mean to link to this line of toolchain.lua? https://github.com/bkaradzic/bx/blob/03d067c69d9ccfe93656064b835243b1d04bd144/scripts/toolchain.lua#L351

Yes, that was original place where link was pointing, but that file got updated in meantime.


⚠ Bofrost.at has degraded performance

In 9bbe31b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1122 ms

Resolved: Bofrost.at performance has improved in 0e562f7.


Missing step in 'Create the solution'

Type of issue
Missing information
Description
After running this command: dotnet new classlib -o PrimeService
It says the following:
"The dotnet new classlib command creates a new class library project in the PrimeService folder. The new class library will contain the code to be tested."
When I look in Powershell I see that the project library is added, but it is not visible in VS 2022 solution explorer.
The next step, "Rename Class1.cs to PrimeService.cs.", is then not possible to solve, because the proj library is not visible in solution explorer, so there is nothing to rename. What also means that I can not paste in the code snippet in the next step.
Now I looked at the page again and see that the missing step, I was looking for "dotnet sln add ./PrimeService/PrimeService.csproj" comes after "Rename Class1.cs to PrimeService.cs.".
Suggestion:
Move "In the unit-testing-using-dotnet-test directory, run the following command to add the class library project to the solution:
dotnet sln add ./PrimeService/PrimeService.csproj", up before, "Rename Class1.cs to PrimeService.cs." so I comes in the correct order.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/testing/unit-testing-with-dotnet-test.md
Document Version Independent Id
422811cb-6287-03af-ba8d-1daebee9744d
Article author
@ardalis
Metadata

ID: e39c2f1b-f41a-bdf9-2646-09379941453d
Service: dotnet-fundamentals

In the https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test#add-more-tests The tests wont work unless the solution is cleaned and rebuild first.
That would be a nice thing to add to the documentation, so one won't be stuck and wonder why it is not working.
It might be obvious for an experienced developer, but an unnecessary headache for a beginner.


Add @api annotation to ol.VectorTile.getExtent

This resolves #7370

Thanks for the contribution @bobobobo!


feat(core): Add Write::sink API

Fixed https://github.com/apache/incubator-opendal/issues/2085
Part of https://github.com/apache/incubator-opendal/issues/2084

Great!

Bravo


Support Metrics Router configuration for platform metrics

Description

https://cloud.ibm.com/docs/metrics-router?topic=metrics-router-getting-started
Use IBM Cloud® Metrics Routing to configure the routing of platform metrics generated in your IBM Cloud account.

The VSI on VPC landing zone Deployable Architecture already supports an add_atracker_route boolean that creates an atracker COS target and a route for auditing events.
VSI for VPC publishes important platform metrics regarding the VSIs; a Monitoring instance and metrics-router route should also be created as part of the DA.

[ ] Use the existing Observability instances module to manage a Monitoring instance: https://github.com/terraform-ibm-modules/terraform-ibm-observability-da/tree/main/solutions/instances
[ ] Allow an existing Monitoring CRN to be provided instead. Metrics Router supports cross account and cross region.
[ ] Manage a Metrics Router route in the Deployable Architecture. The interface should match ATracker.

New or affected modules

I believe a new metrics-router module needs to be created.

By submitting this issue, you agree to follow our Code of Conduct

I have picked up this issue - instead of creating a new repo - I will use this repo https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances and create a metrics routing module.

@PatrickDuncan A new module has been created to support metrics routing: https://github.com/terraform-ibm-modules/terraform-ibm-observability-instances/tree/main/modules/metrics_routing
We plan to expose this in the Cloud automation for Observability DA (which is currently in the Community registry of IBM Cloud). That work is being tracked internally here. There won't be any explicit call to this in the landing zone DA, so I'm going to close this issue. Feel free to reach out internally if you have any concerns of feedback


Model train execution fails with a PyTorch error message.

Hello,
I would like to ask if anyone is facing the below issue:
TypeError: add(): argument 'alpha' must be Number, not NoneType
The steps I followed are:

python -m pip install -e DynamicHead.
Added custom dataset using register_coco_instance
Update config in def setup(args) with custom dataset name and the number of classes:
cfg.DATASETS.TRAIN = ('coco_docbank_train',) cfg.MODEL.ROI_HEADS.NUM_CLASSES = 13
Run the model:
python train_net.py --config configs/dyhead_r50_rcnn_fpn_1x.yaml --num-gpus 1.

The detailed error message goes like this:
File "train_net.py", line 204, in <module>
    launch(
  File "/opt/conda/lib/python3.8/site-packages/detectron2/engine/launch.py", line 82, in launch
    main_func(*args)
  File "train_net.py", line 198, in main
    return trainer.train()
  File "/opt/conda/lib/python3.8/site-packages/detectron2/engine/defaults.py", line 484, in train
    super().train(self.start_iter, self.max_iter)
  File "/opt/conda/lib/python3.8/site-packages/detectron2/engine/train_loop.py", line 149, in train
    self.run_step()
  File "/opt/conda/lib/python3.8/site-packages/detectron2/engine/defaults.py", line 494, in run_step
    self._trainer.run_step()
  File "/opt/conda/lib/python3.8/site-packages/detectron2/engine/train_loop.py", line 294, in run_step
    self.optimizer.step()
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 65, in wrapper
    return wrapped(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/optimizer.py", line 88, in wrapper
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/sgd.py", line 136, in step
    F.sgd(params_with_grad,
  File "/opt/conda/lib/python3.8/site-packages/torch/optim/_functional.py", line 164, in sgd
    d_p = d_p.add(param, alpha=weight_decay)
TypeError: add(): argument 'alpha' must be Number, not NoneType

Environment Details:
sys.platform = linux
Python = 3.8.12
numpy = 1.21.2
detectron2 = 0.6
CUDA = 11.4
PyTorch = 1.10.0
torchvision = 0.11.0a0
fvcore = 0.1.5.post20211023
iopath = 0.1.9
cv2 = 4.5.4
Kindly request for assistance if you are aware of the solution.

Hi,I have the same problem as you. Have you solved it?

Hi,I have the same problem as you. Have you solved it?

i have the same problem, have you solved it?

@Houseqin @MajorityRreport Hi. Yes I did solve the issue.
The weight decay is not passed to Pytorch due to which the above error occurs.
Add the following lines to your config YAML file to solve this issue:
cfg.SOLVER.WEIGHT_DECAY_BIAS = <desired_value>
This was causing the issue in my case. Also, if cfg.SOLVER.WEIGHT_DECAY is missing in your config, do include that.
It would surely solve the issue.

Thank you very much!!

@Houseqin @MajorityRreport Hi. Yes I did solve the issue.
The weight decay is not passed to Pytorch due to which the above error occurs. Add the following lines to your config YAML file to solve this issue: cfg.SOLVER.WEIGHT_DECAY_BIAS = <desired_value>
This was causing the issue in my case. Also, if cfg.SOLVER.WEIGHT_DECAY is missing in your config, do include that.
It would surely solve the issue.

Thank you very much!!

@MajorityRreport Glad to help. Let me know if it still throws the same error.

I can run with adding cfg.SOLVER.WEIGHT_DECAY_BIAS = <desired_value>, but also has the following print info:
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_coord_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_cuda: no kernel image is available for execution on the device
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_coord_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_cuda: no kernel image is available for execution on the device
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_coord_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_cuda: no kernel image is available for execution on the device
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
^C[01/06 21:26:02 d2.engine.hooks]: Overall training speed: 74 iterations in 0:00:36 (0.4994 s / it)
[01/06 21:26:02 d2.engine.hooks]: Total training time: 0:00:36 (0:00:00 on hooks)
[01/06 21:26:02 d2.utils.events]:  eta: 3:39:14  iter: 76  total_loss: 0.5793  loss_cls: 0.05848  loss_box_reg: 0.01352  loss_rpn_cls: 0.4789  loss_rpn_loc: 0.01165  time: 0.4926  data_time: 0.0046  lr: 0.00015185  max_mem: 11020M

@MajorityRreport Glad to help. Let me know if it still throws the same error.

it also has the same problem with the official config YAML dyhead_swint_atss_fpn_2x_ms.yaml，although with adding cfg.SOLVER.WEIGHT_DECAY_BIAS and cfg.SOLVER.WEIGHT_DECAY

@Houseqin I have never seen this error before. Is it hindering with normal operation?.
If yes, you can try replicating my versions for CUDA, Pytorch, etc that Ive mentioned in the issue description.
It works perfectly for me after the mentioned changes.

@Houseqin I have never seen this error before. Is it hindering with normal operation?.
If yes, you can try replicating my versions for CUDA, Pytorch, etc that Ive mentioned in the issue description. It works perfectly for me after the mentioned changes.

I have found it a compile problem, and fix the issue "nvcc not found" or "Not compiled with GPU support" or "Detectron2 CUDA Compiler: not available" according to https://detectron2.readthedocs.io/en/latest/tutorials/install.html#common-installation-issues
Thank you most sincerely.

cfg.SOLVER.WEIGHT_DECAY_BIAS and cfg.SOLVER.WEIGHT_DECAY

hi could you please tell me what value shoud be set to this decay? Thanks.

WEIGHT_DECAY: 0.05
WEIGHT_DECAY_BIAS: 0.01
Sorry,I'm just a beginner. I set it like this(a random number),and the network could run .But maybe the network didn't match my data set, so it didn't work well.
I hope it helps


adds WinRT JavaScript sample

Implements similar to /samples/winrt/ImageManipulations sample app but using JavaScript (Windows Store JavaScript / WWA app)

Hi @sgrebnov , thanks for the contribution!
Please

Update sample to use VS 2013 as other samples do. VS 2015 CTP is not a widely spread yet.
Fix VS 2013 warnings, e.g. HTML1528: Unexpected "<image>" in HTML content. Use "<img>" instead. File: default.html, Line: 23, Column: 5
Use external property sheet, like other samples. Currently properties are in .jsproj file

Ignore (3), looks like property sheets are apparently not supported by javascript projects

Thank you!


Thinking through behavior regarding transgenic and other problematic sequences

There are transgenic viruses in Genbank that have human virus taxids. For example,

https://www.ncbi.nlm.nih.gov/nuccore/MK733609.1 - "Human gammaherpesvirus 8 transgenic clone BAC16, complete genome"
https://www.ncbi.nlm.nih.gov/nuccore/MH144178.1 - "Measles virus genotype A transgenic strain vac2(GFP)H, complete genome"

These genomes have GFP in them, and @jeffkaufman found that blasting transgenic sequences from something with GFP was giving hits to these viruses.
My understanding is that a way the Kraken2 team tries to deal with this is having vector sequences in their database, so that in cases like this, the reads would not get assigned, or maybe get assigned to 'root' (not sure), because they'd match the transgenic viruses with the virus taxid but also the vectors in the vector category.
I think the current HV workflow, if kraken gave these sequences an 'unassigned' result and these transgenic genbank genomes were in the bowtie db, would by design assign them to the HV taxid. I'm wondering, is that logic correct, and if so, how might we best handle it?
A more general issue is that, by using a bowtie database that does not include vectors and contaminant genomes (like the human genome), we might some of the lose the competitive-mapping behavior that kraken with the standard kraken database provides (https://journals.asm.org/doi/full/10.1128/mbio.01607-23). I think how true this is depends on how sequences that map to both 1) a Genbank genome with an HV taxid and 2) human, bacteria, or vector sequence, end up getting assigned by the Kraken2 step. If these sequences get a Kraken assignment to something that isn't in the tax path of the HV, then these reads should be correctly filtered out. But if they get unassigned by Kraken due to being ambiguous across domains, then they would not get filtered and could still get an HV assignment.

Regarding transgenic sequences, this is handled (somewhat clunkily, but effectively in cases like the ones you list) by FILTER_GENOME_FASTA and the built-in list of exclusion patterns, which includes patterns that match the headers of most transgenic sequences.
But if a sequence made it through that filter, then this...

I think the current HV workflow, if kraken gave these sequences an 'unassigned' result and these transgenic genbank genomes were in the bowtie db, would by design assign them to the HV taxid. I'm wondering, is that logic correct, and if so, how might we best handle it?

...would be correct, yes.

A more general issue is that, by using a bowtie database that does not include vectors and contaminant genomes (like the human genome), we might some of the lose the competitive-mapping behavior that kraken with the standard kraken database provides (https://journals.asm.org/doi/full/10.1128/mbio.01607-23). I think how true this is depends on how sequences that map to both 1) a Genbank genome with an HV taxid and 2) human, bacteria, or vector sequence, end up getting assigned by the Kraken2 step. If these sequences get a Kraken assignment to something that isn't in the tax path of the HV, then these reads should be correctly filtered out. But if they get unassigned by Kraken due to being ambiguous across domains, then they would not get filtered and could still get an HV assignment.

This is also correct.

@mikemc do you have thoughts on how we could improve on the status quo here? Currently I'm mostly relying on not letting transgenic sequences get into the reference DB via manual filtering.


add checkParams() function

fixes #245

Make senses, I'm on it ;-)

@szilvajuhos You're a little too quick to merge PR...


PytestRemovedIn8Warning with pytest 7.2.0

When running tests with pytest 7.2.0, I'm getting:
E               pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release.
E               tests/test_loader.py::TestModuleLoader::test_supports_pathlib_in_list_of_paths is using nose-specific method: `teardown(self)`
E               To remove this warning, rename it to `teardown_method(self)`
E               See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose

Which is probably caused by:
https://github.com/pallets/jinja/blob/6f79daafe868b8ef20baecdcb45d12299529ed2e/tests/test_loader.py#L199
According to the message, renaming the teardown methods to teardown_method should be enough to suppress the warning.

Looks like that was done with 3fadee01b712580d811bdd2cb06cd8a1b5ee0821


Error 500 - Internal server error! This incident will be reported.

Hi, I'd like to report that I'm getting 500 error.
I'm trying to open my email link, so I can update my wishlist, but it's not working.
PS: I've received 4 emails that seems to be a poke from my secret santa.
Thanks

Experiencing the same issue. Unable to access list or participant link.

this problem is fixed. Our server was getting a bit overworked :-) Sorry for the inconvenience. I'll keep an eye on it to make sure everything stays up and running

Thank you @tvlooy! I appreciate it!


testing the notification system

this lab should be earlier in the course. the video is a nice accompaniment.

thanks


python312Packages.pyjson5: init at 1.6.6

Description of changes
A JSON5 serializer and parser library
https://github.com/Kijewski/pyjson5
Fixes #309199

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

4 packages built:

python311Packages.pyjson5
python311Packages.pyjson5.dist
python312Packages.pyjson5
python312Packages.pyjson5.dist


Using SQLite.swift with SQLCipher on a Manual Install

Has anyone been able to do that?

I think this should be possible via integrating and linking the individual component and compiling everything with SQLITE_HAS_CODEC=1 and -DSQLITE_SWIFT_SQLCIPHER.
Since it's a nontrivial setup I'd like to avoid supporting this combination "officially" though.


Need a new release to get rid of known vulnerabilities in the latest image

We need a new release to get rid of the known vulnerabilities in the latest version.
Check here for the vulnerabilities.

@heyitsanthony @gyuho can you please help here?


updated component to add name property to form input element

This addresses:
https://github.com/PredixDev/px-file-upload/issues/18
The px-fileupload control does not work properly in a basic form using a simple form submit button;
The file elements are not actually uploaded from the browser (they are skipped)
Looking into the reason - I see that the px-stylized form element for input (type=file),
leaves the name off the input form element.
Based on the W3C specification - only form elements having a valid "control-name"
are processed for submission (see included reference):
https://www.w3.org/TR/html401/interact/forms.html#successful-controls
Pull Request
Hi,
Thanks for helping us improve the Predix UI platform by submitting a Pull Request.
To help us merge your Pull Request as fast as possible, please fill out the following sections:

A description of the changes proposed in the pull request:

A reference to a related issue (if applicable):

@mentions of the person or team responsible for reviewing proposed changes:

working tests:

The tests need to be functional and/or unit tests, written for the wct framework, and placed in the test folder, following our testing guidelines.

Thanks for the PR! Merged/tagged as v1.0.5.


Fix type errors

Resolves #93.
Explanation
It seems that newer versions of TypeScript are a little more eager to include overriding members in derived classes.
Typescript 4.5:
export class BooleanController extends Controller {
    constructor(parent: any, object: any, property: any);
    $input: HTMLInputElement;
}

TypeScript 4.6:
export class BooleanController extends Controller {
    constructor(parent: any, object: any, property: any);
    $input: HTMLInputElement;
    $disable: HTMLInputElement;
    updateDisplay(): BooleanController;
}

This causes issues becauseupdateDisplay needs to return this, not just any BooleanController.
TypeScript was upgraded in https://github.com/georgealways/lil-gui/commit/763a2217b0f4ef3b0098e4d58e510b2407f5000b which introduced this issue.
Changes
This PR adds JSDoc comments to all the overriding methods that return this in order to fix the type errors. The duplication seems unfortunate, but not sure what other options there are.

Thanks for this as well, wish I had seen it sooner—
I wonder if there's any reasoning behind that change, or maybe a flag to disable this new behavior. Only because duplicating comments like this feels tough to maintain. I wonder if there's some sort of /** @hidden */ annotation we can add to the subclass methods. But in truth I'd rather lock the typescript dep to an older version than do either of the above.

Yeah, I agree it's sub-optimal. I assume you're against actually using TypeScript instead of trying to derive types from JSDocs? In my experience trying to derive types from JSDocs only leads to pain since TypeScript doesn't treat it as a first-class citizen.

@georgealways I created https://github.com/georgealways/lil-gui/pull/96 just in case that's the way you want to go.

// eslint-disable-next-line jsdoc/require-description is still very unpleasant.
Can it be dismissed globally so description isn't required anymore?

I can disable it just for those files. It seems like we would still want that rule enabled for GUI and Controller.

This is nicer but still feels unwieldy. Can you think of any harm that could come from changing package.json to "typescript": "~4.5.2" ?

@georgealways No current harm, just harm in the future if there's a fix or feature in a later version of TypeScript that you need. But that can be tomorrow's problem if you desire. 😄

haha dang @Methuselah96 literally making the PR as I type the comment. I prefer #96 for sure. Right, they'd have to drastically change the way typescript works to invalidate definitions produced with that version.

haha dang @Methuselah96 literally making the PR as I type the comment

Maybe next time I'll remember to base it against dev. 😄

I'll go ahead and close this one since it sounds like you'd rather go with https://github.com/georgealways/lil-gui/pull/96.

I wonder if @override would do the trick to replace @returns { this }:
https://www.TypeScriptLang.org/docs/handbook/jsdoc-supported-types.html#override

I wonder if @override would do the trick to replace @returns { this }: https://www.TypeScriptLang.org/docs/handbook/jsdoc-supported-types.html#override

Unfortunately not. I tried that, along with all combinations of @extends, @augments, and @inheritdoc.

But definitely open to a cleaner solution if I missed something.

I created a TypeScript issue: https://github.com/microsoft/TypeScript/issues/53051.

But definitely open to a cleaner solution if I missed something.

Same—I would prefer to be on the latest version of typescript. Hopefully we can find a way to get the old output back without having to bend over backwards for their compiler, but until then I think locking the typescript version is the best solution.
Thanks for opening that issue!


Fix: correct usage of channels map

I noticed that the map channels comment says:
 /// [Map] of topic names to [PhoenixChannel] instances being
 /// maintained and tracked by the socket.

But what we see before this PR is a numerical reference to channels. This PR fixes this.
As a bonus we were able to reduce the time complexity to add new channel from O(n) to O(1)

Awesome! I noticed it, too, when looking at the code and opened up this: https://github.com/braverhealth/phoenix-socket-dart/issues/58 which relates to this.

Great! Do you mind rebasing on main so we can run the CI check on it?
Thanks!

hey @matehat, are u okay?

Will we ever see this PR merged? @matehat @phildupuis

Hello guys.
Will this PR merged? @matehat @phildupuis ?


[MLS Spec change] Clarify validation rules for ReInit. (#710)

Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/710
Description of the changes

I filed #1096 to track implementing reinit and removed this from the list of spec changes..


 First, I forgot my github password. I usually use ssh. I have a password on my ssh key, no big deal. I added bash as an ssh agent, ran ssh-add, but now dfm would not allow me to add the remote. I thought to myself, "dude, you watched this guy's git talk, you got this," and dove down into my meager git skills. cd'ing into the profile i had added for dfm, i was able to run git remote add origin, and I am in business! Well, sort of. Because I created the new dotfile repo, I had to pull down the readme. I ran into a merge conflict message I had to google, and then added --allow-unrelated-histories to my git pull command. Then finally, dfm push worked as expected.
I have to say, I have tried yadm as well (another dotfiles manager) and couldnt get my head around the concept enough to say I liked using it. I like the concept you have here, it makes more sense to me, but I don't know if the README section needs some caveats for "advanced idiots" like myself, or if I'm just really bad at git in general.
I wont be upset if you just close out this issue with a note that says "user is way too dumb", but if there is something I can add to the readme, or maybe improve some error message, I will be happy to do that and send a pull request. I dont know golang, but how hard can it be for an intelligent chap like myself? :)
If it helps you to suss out what I did wrong, here is a bit of my history, note I skipped to the last, semi-successful attempt;
174  dfm add .dir_colors
175  dfm add .Xresources
176  dfm add .taskrc .tmux.conf .vimrc .kshrc
177  dfm commit -am "init again?"
 I never wrote the remote command! I'll get on that right now thanks for the bug report!

@AffableZonkey I pushed a fix and updated the documentation in the README if you wouldn't mind checking it that would be awesome! If you notice anything feel free to fork it and submit your changes or just open a new issue. Thanks again for the bug report!

Hey thanks Matt! I will try it out shortly.


Fixes #4449 by also validating the PathId for pods.

valid references PathId#validPathChars which allows only non capital letters?

btw. tests succeed, scapegoat complaints unrelated lines


Create Hubbard model with more than 2 spins

From discussing with Joseph Carlson, people want to study a Hubbard model where each site splits up into not only 2 spins, but more. For instance, 3 represents some quark model, 4 some nuclei maybe. We should implement these too. This would be very helpful for the nuclear physics community.

I suggest they implement this!

I'm happy to take a stab at this. Would it be better to generalize the existing single-band Hubbard class or create a new one?

I'm open to you doing it either way.

After rereading Kevin's initial comment, I think I may have misinterpreted what was wanted here. In #465, I implemented a Hubbard model with multiple degrees of freedom per site, but still assuming either no spin or spin 1/2. In any case, what I wrote can easily be extended to the case of larger-spin particles.

@kevinsung Could you provide some links to the types of Hamiltonians you had in mind?

I actually don't know anything about this, but I asked Joe, who said that he would provide us with some.

@bryano Joe provided me with these notes: multi.pdf

Thanks. #465 allows those types of Hamiltonians to be expressed, with two exceptions: it's just fermionic for as is, and is limited to 1- and 2-body interactions. These are straightforward extensions.


UI shows invalid probe configuration when experiment is in progress / running

What happened:
We configured a probe with Continuous mode in the fault as shown in the screenshot below

While running the experiment, it shows SOT (start of the test), as shown in the screenshot below. Also if you notice, the status is always N/A

If you see the finished experiment run it shows the status and configuration correctly

What you expected to happen:
Probe status and mode should be shown correctly when viewing the running experiment.

@S-ayanide can you please re-produce and take a look at this issue.

Hey @smitthakkar96 thanks for creating this issue, the status for the probes are always mapped to the execution result from the point it's been picked up by the subscriber, as soon as its picked up the status would shift to Awaited and either to Passed or Failed post completion, till that time it defaults to N/A since its not a part of the chaos result returned.
For the incorrect status bug that is reported, we've provided a fix for the same on version 3.1.0 and above. Feel free to reopen this issue if you feel this bug wasn't addressed.

I can confirm this is still happening on 3.1.0


[ppc64le] add debian:jessie to make deb

Adds debian:jessie to the list of debs we can make via
'make deb' on ppc64le.
Note: debian:jessie doesn't have any libseccomp packages at all on ppc64le, so seccomp isn't enabled. This is comparable to x86_64 debian:jessie, which doesn't have seccomp enabled because the package is too old.
Tested by running running 'make deb', and installing the resulting deb in a ppc64le/debian:jessie container.
Signed-off-by: Christopher Jones<EMAIL_ADDRESS>

cc @justincormack

Is there seccomp in backports for jessie ppc64le? I am very reluctant to add any more non seccomp builds....
Now a PR for stretch, that would be nice. Everyone should be using stretch now....

Oh hey, not only is there a libseccomp-dev 2.2.3 backport for jessie, but trusty as well. I'll go ahead and add both of those unless you think it should be in a separate pr.
I don't know anyone who has tested docker on stretch ppc64le which is why I did this, but I can take a look at it.

Yes I think we had a discussion about adding the backports to amd64 too, and eventually didnt, although I think that was probably a bad decision...
cc @ijc25

@justincormack this should be updated now.
One downside is that when installing the dependencies you will have to have backports added or the installation will fail, I don't see any way around this, but this is at least consistent with the way it's done for wheezy.
I haven't checked 14.04.0 yet, but at least for 14.04.5, apt sources has backports enabled by default so that shouldn't be an issue for trusty as far as I can tell (still testing that one)

Going to close this. I probably should test this more, and I haven't heard anyone say anything about wanting a jessie deb anyway.


panicked on read_builtins when output builtin used

Here is my code:
%builtins output

func main{output_ptr: felt*}():

    [ap] = 4
    [ap] = [output_ptr]; ap++

    let output_ptr = output_ptr + 1
    return ()
end

Here are the commands I run:
$ cairo-compile program.cairo --output program.json
$ cairo-run --program=check_hash_compiled.json --layout=all --memory_file=memory.bin --trace_file=trace.bin --print_output
Program output:
  4
$ giza prove --trace=trace.bin --memory=memory.bin --program=program.json --output=output.bin
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', runner/src/cairo_interop.rs:95:57
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

This is the function panicking:
pub fn read_builtins(program_path: &PathBuf, output_len: Option<u64>) -> Vec<Builtin> {
    // Read compiled program and set memory codelen (the length of the public memory)
    let file = File::open(&program_path).expect("Compiled program file not found");
    let reader = BufReader::new(file);
    let p: CompiledProgram = serde_json::from_reader(reader).unwrap();
    let builtins = p
        .builtins
        .iter()
        .filter_map(|b| match b.as_str() {
            "output" => Some(Builtin::Output(output_len.unwrap())),
            _ => None,
        })
        .collect::<Vec<_>>();
    builtins
}

It unwrap output_len which is none.

giza prove --trace=trace.bin --memory=memory.bin --program=program.json --output=output.bin --output_len=1
error: Found argument '--output_len' which wasn't expected, or isn't valid in this context

        Did you mean '--output'?

        If you tried to supply `--output_len` as a value rather than a flag, use `-- --output_len`

USAGE:
    giza prove --program <PROGRAM> --trace <TRACE> --memory <MEMORY> --output <OUTPUT>

For more information try --help

giza prove --trace=trace.bin --memory=memory.bin --program=program.json --output=output.bin --help
giza-prove 0.1.0

USAGE:
    giza prove [OPTIONS] --program <PROGRAM> --trace <TRACE> --memory <MEMORY> --output <OUTPUT>

OPTIONS:
    -h, --help                         Print help information
        --memory <MEMORY>              Path to the memory output file
        --num-outputs <NUM_OUTPUTS>    Number of serialized outputs
        --output <OUTPUT>              Path to write the STARK proof
        --program <PROGRAM>            Path to the compiled Cairo program JSON file
        --trace <TRACE>                Path to the execution trace output file
    -V, --version                      Print version information

are you talking about --num-outputs ?

Yes, my mistake, --num-outputs.
The error you're getting now is due to the number of FRI queries being larger than the size of the LDE execution trace. There are a couple of ways to fix this:

Decrease the number of FRI queries (the first argument to the WinterProofOptions constructor), or
increase the blowup factor (the second argument). Changing it to 27 and 8 should work, and give you the same 96 bits of security. These proof options should really be exposed in the CLI and not hardcoded. https://github.com/maxgillett/giza/blob/ce65e652d02fd7995cfca4bf76ca7b592bbc1813/air/src/options.rs#L31-L41
Pad the execution trace to a minimum length. This could be done by modifying the resize_to_pow2 function.
https://github.com/maxgillett/giza/blob/ce65e652d02fd7995cfca4bf76ca7b592bbc1813/runner/src/trace.rs#L427

Ok it worked by changing the number of FRI.
I can probably do a PR exposing those proof options in the CLI. Is there ony two options ? 54/4 and 27/8 ? Or should we provide the user with ability to chose any value for those arguments ?

Great, that would be really helpful. There are several options, and you can find the constraints on their possible values here:
https://docs.rs/winterfell/latest/winterfell/struct.ProofOptions.html#impl. I'm thinking we can have the current options given as defaults so that the flags are optional. The only option we shouldn't expose is the field extension, which can be left at FieldExtension::None.


ERT leaders get a pinpointer and pulse rifle

About the PR

ERT leader gets a nuclear pinpointer and pulse rifle, which has about 400 shots
Why / Balance

ERT is meant to be powerful and might have to find the nuke. even when like 40 ERT is spawned there is usually only one leader
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog
no cl no fun

I think that the amount of ammo in the pulse rifle is fine, considering that someone could grab it from the commander if they were stunned or killed, plus the amount of ammo in it would cause the commander to be the only one that could stay in a drawn-out fight.
Dunno, but I rather the commander retreat with the squad then be the only one that can fight and get ganked by the hostiles.
Pinpointer could just be provided to the commander by the admins or if it is really necessary, but ERT hardly gets called in for nuke ops just because they are already hard enough to deal with.

Pretty sure the 400 shot pulse rifle is supposed to be an admeme weapon. At the very least it’s insanely unbalanced and if admins want ERT leaders to have one they can give it to them. Otherwise they should stay with just the pulse carbine.

the Pulse Rifle is intended to be Admeme as a DeathSquad only weapon. The carbine is the ERT intended variant.

deathsquad doesn't even spawn with the pulse rifle

the rifle has half the firerate of a pulse carbine

Death squad doesn't spawn without admin intervention, and neither does the rifle.
The carbine exists as an alternative for the ERT as it functionally isnt as broken if lost.

ERT also does not spawn without admin intervention

the rifle has half the firerate of a pulse carbine

and does a shitton of damage as well as having what is essentially unlimited ammo

it does the same ammo as the pulse carbine, but with half the fire rate. the only upside is the ammo count. if a pulse rifle and carbine go head to head, the carbine would only lose if both sides have potato aim

And by doing this all you achieve is nothing. Because we will just take it out of their inventory if we spawn them. Or just not spawn them at all.
The reason they spawn without weapons is so we can assign them weapons based on the situation.
Like an ert should.

ERT isn't deathsquad, and it's the game staff's responsibility to choose their outfit.

take your powergame bait elsewhere we're not giving out toys for free


[Debug] [Not For Review] debug UpsertTableSegmentUploadIntegrationTest failure

Description

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7991 (f35c935) into master (823aa07) will decrease coverage by 57.07%.
The diff coverage is n/a.

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

@@              Coverage Diff              @@
##             master    #7991       +/-   ##
=============================================
- Coverage     71.35%   14.27%   -57.08%
+ Complexity     4218       81     -4137
=============================================
  Files          1595     1550       -45
  Lines         82748    80881     -1867
  Branches      12348    12146      -202
=============================================
- Hits          59046    11548    -47498
- Misses        19715    68473    +48758
+ Partials       3987      860     -3127

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.27% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

issue is transient. close for now.


[24.05] Backport of tutanota-desktop updates

Manual backport of #329317.
The current version will be going EOL "within the next few days" (whatever that means).
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Next time I'd recommend cherry-picking all commits and not squashing, so CI is happy


Telegram for Mac doesn't update, it is stuck in 2.9.

Description of issue
Telegram for Mac doesn't update, it is stuck in 2.9.

Newest version is 2.30.x
Even this might not be a problem caused by homebrew-cask, maybe updating the base installed version of the formula would fix this issue.
For reference: https://github.com/overtake/telegram/issues/406
Sierra 10.12.3

2.9 is latest version

Not according to the App Store:

Also if you download from the website, you get 2.30

I’ll update the cask, but as mentioned, the fact it is not updating has nothing to do with HBC.

Now that I look at it, the cask is already at 2.30.

@vitorgalvao that is strange. @overtake where did you get that number (2.9) from?

Reinstalled the app and got this upgrade dialog. Is 2.9 the new alpha? If so, why does it have a version number smaller than 2.30?

@aristidesfl You’ll have to ask them, we have nothing to do with it.

The REAL new version number is 2.91-90072
Ref #31016

@RJHsiao yeah, they released 2.91 yesterday. And was 2.9 was a foresight? At the same time, should the mainline app be suggesting the upgrade to a alpha version? 2.9 didn't have a preference pane.

Hey @aristidesfl
Any question about Telegram for macOS, please go to ask the "Telegram for macOS" developers. They are the developer and they send the notification to you, not Caskroom.
Caskroom doesn't management about when a app developer release new version and should they release a buggy version or not. Caskroom won't send any notification about new version released.
Caskroom just try to help you to download and install apps with latest version, even it's a very buggy version.

Hey @RJHsiao
That has been mentioned a few times on this thread. Thanks ;)


LG: null or empty activity text field results in malformed [Activity ] template

Version
4.9.3
Describe the bug
I have the LG template below which works as long a turn.activity.text contains an utterance:
[Activity
    type = ${turn.activity.type}
    text = ${turn.activity.text}
    name = ${turn.activity.name}
    value = ${turn.activity.value}
    entities = ${turn.activity.entities}
    deliveryMode = expectReplies
]

If turn.activity.text is null or has an empty string, LG ends up generating the activity below:
{
  "type": "message",
  "id": "789d4f20-b312-11ea-88a0-b73f6eede1f9",
  "serviceUrl": "https://msmeeting-assistant-dev.azurewebsites.net/api/skills",
  "channelId": "emulator",
  "from": {
    "id": "2f1f200a-4eb9-4ee3-a82c-6aba3d922a39",
    "name": "User",
    "role": "user"
  },
  "conversation": {
    "id": "fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo"
  },
  "recipient": {
    "id": "883ab300-b308-11ea-b8f9-dbc06dfbe93b",
    "name": "Bot",
    "role": "bot"
  },
  "locale": "en-US",
  "text": "{\r\n  \"lgType\": \"Activity\",\r\n  \"type\": \"message\",\r\n  \"name\": \"null\",\r\n  \"value\": {\r\n    \"skillId\": \"9eea826b-bbe5-43db-94a0-a61064f071cb\",\r\n    \"intent\": \"JoinMeetingCard\",\r\n    \"agenda\": \"\",\r\n    \"duration\": \"\",\r\n    \"endReminder\": \"5\",\r\n    \"recordMeeting\": \"false\",\r\n    \"joinLink\": \"https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0\",\r\n    \"_skill\": {\r\n      \"meeting\": {\r\n        \"duration\": 60,\r\n        \"endReminder\": 5,\r\n        \"joinLink\": \"https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0\",\r\n        \"inMeeting\": false,\r\n        \"cardId\": null\r\n      }\r\n    }\r\n  },\r\n  \"entities\": \"null\",\r\n  \"deliverymode\": \"expectReplies\",\r\n  \"text\": \"\"\r\n}",
  "speak": "{\r\n  \"lgType\": \"Activity\",\r\n  \"type\": \"message\",\r\n  \"name\": \"null\",\r\n  \"value\": {\r\n    \"skillId\": \"9eea826b-bbe5-43db-94a0-a61064f071cb\",\r\n    \"intent\": \"JoinMeetingCard\",\r\n    \"agenda\": \"\",\r\n    \"duration\": \"\",\r\n    \"endReminder\": \"5\",\r\n    \"recordMeeting\": \"false\",\r\n    \"joinLink\": \"https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0\",\r\n    \"_skill\": {\r\n      \"meeting\": {\r\n        \"duration\": 60,\r\n        \"endReminder\": 5,\r\n        \"joinLink\": \"https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0\",\r\n        \"inMeeting\": false,\r\n        \"cardId\": null\r\n      }\r\n    }\r\n  },\r\n  \"entities\": \"null\",\r\n  \"deliverymode\": \"expectReplies\",\r\n  \"text\": \"\"\r\n}",
  "attachments": [

  ],
  "entities": [

  ],
  "relatesTo": {
    "activityId": "789d4f20-b312-11ea-88a0-b73f6eede1f9",
    "conversation": {
      "id": "6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat"
    },
    "channelId": "emulator",
    "locale": "en-US",
    "serviceUrl": "http://localhost:59712"
  }
}

I can work around the issue for now by removing the text = ${turn.activity.text} line from the template if text is null or empty.
[bug]

I notice that the entities is "null", but the real type of entities is Array, this would break the json deserialization.
I suggest you can try to set entities to Array format.
Thanks.

Hi @Stevenic  Thanks for the feedback.
I can repro the issue with the below data scope:
var scope = new
            {
                turn = new
                {
                    Activity = new
                    {
                        text = string.Empty,
                        value = new
                        {
                            skillId = "9eea826b-bbe5-43db-94a0-a61064f071cb",
                            intent = "JoinMeetingCard",
                            agenda = string.Empty,
                            duration = string.Empty,
                            endReminder = "5",
                            recordMeeting = "false",
                            joinLink = "https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0",
                            _skill = new
                            {
                                meeting = new
                                {
                                    duration = 60,
                                    endReminder = 5,
                                    joinLink = "https://teams.microsoft.com/l/meetup-join/fcca6535-8d9e-41f1-8fd8-f1946a5b33ce-9eea826b-bbe5-43db-94a0-a61064f071cb-6e1bf290-b312-11ea-b8f9-dbc06dfbe93b|livechat-emulator-skillconvo/0",
                                    inMeeting = false
                                }
                            }
                        },
                        type = "message"
                    }
                }
            };

Here are my investigations:

I can reproduce the issue. No matter the text is Empty or null
Remove the text = ${turn.activity.text} line does not work for me. (So I don’t know if the following approach works)
The cause of 1 is as follows:

If the expression is evaluated to null and the strictMode of this LG is false(default is false), the output of the expression would be a string "null", which means, the real value of entities property is string "null". It may cause the format conversion error when converting jobject into Activity object, because the original type of entities is IList<Entity>. (Obviously, string cannot be converted into a list).

Workaround

(recommended) use coalesce function to wrap the entities property. After, the line of entities would be like: entities = ${coalesce(turn.activity.entities, [])}
Expression changes the fallback policy, make default output allows null values

@Stevenic may you take a look and have a try?

@Danieladu null becomes "null" is the default treatment in non-strict mode, i expect this would work in strict mode, if not, let's fix the issue there.

Related issue:  #4620

Currently, the null result is supported in the SDK. Recference:  https://github.com/microsoft/botbuilder-dotnet/pull/4669


Fixing ARO API to enable Terraform Provider for ARO

Which issue this PR addresses:
Fixes https://issues.redhat.com/browse/ARO-2124
What this PR does / why we need it:
OpenShiftCluster GET API returns enriched worker profile data under a new field "workerProfilesStatus". This change is introduced only to new API. More details can be found on Design Doc
Any API call made to endpoints /openShiftClusters or /openShiftCluster with GET method using newer API versions (>= v2023-07-01-preview) will return the enriched worker profile data under a new field "workerProfilesStatus" in the response and "workerProfiles" filed will contain the last input that was passed in PUT/PATCH request body for cluster creation or update.
The response and behavior of any older APIs versions (< v2023-07-01-preview) remain unchanged i.e, only "workerProfiles" filed exists in the response.
Test plan for issue:
Existing unit tests and E2E test copied over from previous API.
Is there any documentation that needs to be updated for this PR?
N/A

i think it'd be okay to summarize the outcome from design doc in the PR body. In particular, that table in page 6.

i think it'd be okay to summarize the outcome from design doc in the PR body. In particular, that table in page 6.

updated.

Hey, I'm adding a hold on this since it looks like we might be changing up what API version this lands in. Please reach out if you have any questions.


Broken "Release notes" links on versions.html

On https://facebook.github.io/react-native/versions.html all the "Release notes" links point to this URL: https://facebook.github.io/react-native/-rc.0 which returns a 404.

Fixed in #86 though there's still one broken link for the RC release notes.