Deserialization panics at expected start tag close at ..

fn parse_t() {
    let mut f = File::open("assets/example_map.tmx").unwrap();

    let mut s = String::new();
    f.read_to_string(&mut s).unwrap();

    let m = match serde_xml::de::from_str(&s) {
        Err(e) => panic!("{}", e),
        Ok(d) => d,
    };

    println!("{:?}", m);
}

Trying to parse tmx files using serde_xml, my test as seen above panics with the following message:
expected start tag close at line 2 column 13
Is this a bug or am I missing something?
rustc version: rustc 1.11.0-nightly (ad7fe6521 2016-06-23)

Can you give me the file you are parsing? Also, what's the type of m? How does that even compile xD

The file I am parsing is the one that I linked to above. This one
The type of m is Map, a struct I created which currently looks like this:
#[derive(Deserialize, Debug)]
pub struct Map {
    version: f32,
    orientation: String,
    renderorder: String,
    width: u32,
    height: u32,
    tilewidth: u32,
    tileheight: u32,
    hexsidelength: u32,
    staggeraxis: String,
    staggerindex: String,
    backgroundcolor: Color,
    nextobjectid: u32,
    tileset: Vec<Tileset>,
    layer: Vec<Layer>,
    objectgroup: Vec<ObjectGroup>,
    imagelayer: Vec<ImageLayer>,
    property: Vec<Property>
}

(Note that some fields are supposed to be Optional<>, but I changed those while trying to isolate the error, it did not make a difference)
The example above is in my tests/lib.rs file, as my code is currently organized as a library, not as a an executable.

Looks like the compiler was inferring m: () because of the return type of rt::begin_panic_fmt inside the panic! macro. You get the same error if you explicitly specify m: ().
Your code needs to say what type to deserialize. It works if you do let m: Map = match ....

That makes sense. I tried it but now I encounter the following error serde expected some value: Invalid type. Expected Unit at line 0 column 0 .

Please share the full code that is not working.

I was able to fix the error and my code works as intended now, thank you for your help =) .
It was actually caused by my structs being malformed, taking the Map example above: making the attributes missing in the XML actually optional, all of them, same for the additional structs being used inside Map.
However:
The error message Expected Unit at line 0 column 0' stays the same regardless of which field is declared wrong and regardless of the struct containing the wrong declaration.

Error reporting is definitely suboptimal right now. I'll look into it.


Not working with 1.2.3

dont know why it says this
response -> uni_pc_lower_order_final
value is not None (type=type_error.not_none)

@zmvz11 hard to tell without much info, but maybe it's related to this issue: https://github.com/AbdullahAlfaraj/Auto-Photoshop-StableDiffusion-Plugin/issues/251#issuecomment-1541991512

Thank you


Update readme with text for installing on m1 macs

@brimatteng I'm wondering if we should instead default to the Rust allocator and have people opt-in. That way, OOTB it'll work both on Intel and Apple Silicon. The perf bump is nice, but on the majority of projects should be sub-5s on new-ish hardware anyways. What do you think?

It's probably better to pass a flag and have it "work" by default, I didn't notice that much real difference in build time between the two branches

@brimatteng I've attempted to address this indirectly by updating our Homebrew formula to opt-in to MiMalloc here.

@brimatteng I've merged the update to our Homebrew formula, so the stock brew install complexity should now work regardless of architecture.
I'm thinking that we can close this without merging, but will leave that to you to confirm. Thanks for flagging!

I'm good with closing it. Thanks for updating


Not Running on Ubuntu ...

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>Error Messege:
npm ERR! Linux 4.8.0-30-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>start: tsc && concurrently "tsc -w" "lite-server"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'tsc && concurrently "tsc -w" "lite-server" '.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && concurrently "tsc -w" "lite-server"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-quickstart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-quickstart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/saleh/workspace/js/angular/quickstart/npm-debug.log

Heya, was there any other message on the console when you ran mom start?
These npm error logs aren't showing the real error.

having the same problem here. This is the output I receive:
$ npm start

><EMAIL_ADDRESS>start /home/ideais/estudos/ng2/pokedex/pokedex
> tsc && concurrently "tsc -w" "lite-server"

node_modules/protractor/built/browser.d.ts(260,37): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(267,55): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(267,78): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(358,31): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(369,26): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/browser.d.ts(425,36): error TS2503: Cannot find namespace 'webdriver'.
node_modules/protractor/built/ptor.d.ts(13,29): error TS2503: Cannot find namespace 'webdriver'.

npm ERR! Linux 3.13.0-79-generic
npm ERR! argv "/home/ideais/.nvm/versions/v6.2.1/bin/node" "/home/ideais/.nvm/versions/v6.2.1/bin/npm" "start"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `tsc && concurrently "tsc -w" "lite-server" `
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'tsc && concurrently "tsc -w" "lite-server" '.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tsc && concurrently "tsc -w" "lite-server"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-quickstart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-quickstart
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ideais/estudos/ng2/pokedex/pokedex/npm-debug.log

Then this sounds like a dupe of https://github.com/angular/quickstart/issues/325, see https://github.com/angular/quickstart/issues/325#issuecomment-268118533 for a solution.


Draw Map

If I want to do some custom drawing operations on the map, such as encircling a school with red lines, how can I do it?

As I have done it:
You can draw whatever you want in a custom overlay.
https://github.com/osmdroid/osmdroid/wiki/Making-Custom-Overlays

Is there any difference between the effect and my own screenshot? Can you zoom in and out while drawing? Or how do you move the map?

An overlay is just over the Map, it can but don't has to take user interaction (i.e. touches), if it doesn't take them, they are forwarded to the map, so zoom gestures etc. work smoothly. But without more details the rest is speculation.

there's a number of samples that do exactly this...

map data is plotted, not painted as a static screen shot. you can zoom and pan etc and the drawings will always be rendered based on the data. see the various examples for drawing using the same app. The milstd2525 sample does a bunch of stuff that may be of interest, as well as the basic drawing examples.


Update tutorial-sql-server-managed-instance-online.md

correct typo:  article incorrectly recommends unblocking "inbound" instead of "outbound" communication ports to Azure Database Migration Service: 443, 53, 9354, 445, 12000

@brian-harris : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Publishing in this repository is suspended until Tuesday, September 22. Merging will resume at 7 AM Pacific Tuesday.
This PR is ready to merge on 9/22.


Resolve a compiler warning with quoted atom in mix.ex

Example of the warning is here:
warning: found quoted keyword "coveralls" but the quotes are not required. Note that keywords are always atoms, even when quoted. Similar to atoms, keywords made exclusively of Unicode letters, numbers, underscore, and @ do not require quotes
    <unimportant projdir>/deps/riffed/mix.exs:18
Resolving Hex dependencies...
Dependency resolution completed:
New:
thrift 1.3.2                                                                                * Getting thrift (Hex package)

This PR takes the recommended action.

Thanks!


Update stable version in repo from 1.1.0 to 1.1.1

Think about update stable version to 1.1.1
Version: stable=1.1.0 (94 days old) => latest=1.1.1 (15 days old)
Installs: stable=1522 (68.25%), latest=170 (7.62%), total=2230
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.1.1 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.1.1 but the current stable version is already 1.1.1.
So this issue should be closed.
@mcm1957 for evidence


Fix build break

@pranavkm @rynowak @kichalla @kirthik
Fixing a build break introduced by Microsoft.CodeAnalyis.CSharp.1.0.0-beta2-20150105-2
http://projectk-tc/viewLog.html?buildId=82818&tab=buildResultsDiv&buildTypeId=Mvc

:shipit:

will merge in seconds.


Bug in learning suite

Note the double drop-down arrows in the top right. One worked as expected, the other didn't do anything.
Steps to reproduce:
I opened the BYU app (I hadn't used it in a while) and I was already deep inside the learning suite feature. I hit back a couple times to get to the main learning suite activity, and a progress dialog popped up, as it needed to load my classes again. I hit the back button before it finished, and the screen ended up like you see in the screenshot. It'll probably be easier to reproduce if you go to developer options and turn on the "Don't keep activities" option.
I'm on Android 8.1.0

Assigning to @geogor37

@coreywoodfield Are you able to reproduce the error? Or did is seem to only happen this once?

If I have on the "don't keep activities" option I can reproduce it every time

It looks like every time it loads the semesters it adds a new spinner to the toolbar

Other features with spinners (e.g. testing center) don't have this problem. It seems like learning suite is adding a new spinner every time it loads the semesters

@coreywoodfield Are you able to reproduce this error without the developer setting active?

The first time I got it it was without the setting active but you have to
wait for Android to run out of memory and get rid of the activity, so it
would take a while
On Mon, Mar 19, 2018, 12:15 PM Eric Romrell<EMAIL_ADDRESS>wrote:

@coreywoodfield https://github.com/coreywoodfield Are you able to
reproduce this error without the developer setting active?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/byu-oit/android-byu-suite-v2/issues/518#issuecomment-374313166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ6Vphln0v760LnmZh-SIyWJAmlPtLoiks5tf_WzgaJpZM4SuVxb
.

@coreywoodfield The fix has been added and has been staged for deploy. Look forward to the fix in the next release.


[WIP] Cookbook definitions

This branch address #13

These entries look like they are at approximately the right level of vocabulary.

population should be in because it is a common word, but we are using it as jargon, so we want the precise definition.
open/closed population, it is good to have both terms here

We had talked about a level of understanding that justifies inclusion or exclusion from the list. I don't see anything on this list that should be excluded, but I don't see what jargon words are being left out.
Do you have some examples of things you think are borderline?
If there are borderline words maybe we should go ahead and include them in this list but not waste time looking them up in academic pubs.


AmbiguousActionException for different return type of two action method

One Controller have two [HttpGet] action mothods.
[HttpGet]
public IEnumerable Get() { ... }
[HttpGet]
public Entity Get(int id) { ... }
It works on ASP.NET. but, In ASP.NET Core throws AmbiguousActionException.
I asked this problem in stackoverflow, and find one answer.
He said use [RouteParameterConstraint("id", RouteKeyHandling.DenyKey)] and [RouteParameterConstraint("id", RouteKeyHandling.CatchAll)].
But I can't find RouteParameterConstraint  in .net core.
How I can use two action method, without change route ?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Add an index to Packages table Created column

@scottbommarito , @shishirx34, @xavierdecoster @ryuyu

#3286

I recommend testing this change to quantify the performance improvement.  How many queries benefit from this change and by how much do they benefit?


Uat to PRD 13 Februari 2019

Coverage increased (+0.3%) to 78.917% when pulling 52c27cbf08b526cc8066efec9ffccb8720201882 on uat into 43302ead857822d2305abebf8ff4268a7cfea29b on master.


Added support for sections in tableview datasource

This adds the possibility to define an 2d-array of cell declarators in order to add support for multiple sections in the tableview datasource.
The following code snippet shows the usage:
public struct Data {
    var bar: Bar
    var baz: Baz

    var cellDeclarations: [[FooCellDeclaration]] {
        return [bar.cellDeclarations, baz.cellDeclarations]
    }
}

public struct Bar: CellsDeclarator {
    var bar: [BarCellConfiguration]

    public func declareCells(_ cell: (MyDmCellDeclaration) -> Void) {

        if !bar.isEmpty {
            for cellConfiguration in bar {
                cell(.someCell(cellConfiguration))
            }
        }
    }
} //same for Baz

//Data().cellDeclarations can be used as before

I need more explanation of the motivation of introducing sections to this library.
UITableView has sections actually, but I don't think this library should support sections. As Demo illustrates, we already have way to display section headers, so we need strong motivation if we introduce the second way to do the same thing.

I am currently at the FrenchKit conference but I‘ll come back to your question later this day.

Basically the motivation for this change is related to the way UITableView handles separators. If the section headers are just other cell types the section header will get a separator aswell. Of course you could hack around that by setting seperatorInsets or adding a custom seperator to all other cell types and at the same time disable separators for UITableView but I think supporting sections headers in the datasource is the most correct solution to this problem. Also with the section headers support you gain extra functionality like sticky section headers (like in the contact iOS app for example).

I updated the PR to resolve the merge conflicts. What are your thoughts on my comment above ? I just need to know whether I should maintain a fork or if you think this might be a valuable addition to the framework.

I understood the motivation. It is nice to implement section headers in canonical way. However, I still have 2 following concerns.

Definition of contents is separated into 2 places.
Ways to define contents are different each other. Contents of each sections are defined in declarative way, but collection of them are defined by array.

If we support sections in CellsDeclarator, I think everything should be defined in declarative way like below.
struct Data: CellsDeclarator {
    var venue: Venue
    var reviews: [Review]
    var relatedVenues: [Venue]

    func declareCells(
        sectionHeader: (SectionHeaderDeclaration) -> Void,
        cell: (CellDeclaration) -> Void,
        sectionFooter: (SectionFooterDeclaration) -> Void) {

        cell(.outline(venue))

        if !reviews.isEmpty {
            sectionHeader("Reviews")
            for review in reviews {
                cell(.review(review))
            }
        }

        if !relatedVenues.isEmpty {
            sectionHeader("Related Venues")
            for relatedVenue in relatedVenues {
                cell(.relatedVenue(relatedVenue))
            }
        }
    }
}

Unfortunately,  this code introduces another problem because it is not appropriate for some of UICollectionViewLayout.
In short, I'm positive to support sections, but haven't found a reasonable way at this moment.

As mentioned in another pull request, we might support sections by type associated with CellBinder. I will share this idea later.


Updated the links in posts.

Docs Build status updates of commit 75ed771:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/feed.atom
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Array.slice() negative end inconsistent with other languages (off by one)

Godot version
4.0.dev (d74647570)
System information
Linux, Mageia 9 x86_64
Issue description
Follow-up to PR #35901 and issue #53495.
The behavior of the negative end parameter for Array.slice() seems inconsistent with how it behaves in other languages. Our implementation uses:
        if (p_end < 0) {
                p_end += size() + 1;
        }

And this + 1 adds an inconsistency with other implementations.
GDScript
var arr = [1, 2, 3]
print(arr.slice(0, arr.size()))
print(arr.slice(0, -1))
print(arr.slice(0, -2))

prints:
[1, 2, 3]
[1, 2, 3]
[1, 2]

Python / numpy
import numpy
arr = numpy.array([1, 2, 3])
print(arr[0:])
print(arr[0:-1])
print(arr[0:-2])

prints:
[1 2 3]
[1 2]
[1]

JavaScript
arr = [1, 2, 3];
console.log(arr.slice(0))
console.log(arr.slice(0, -1))
console.log(arr.slice(0, -2))

prints:
[1, 2, 3]
[1, 2]
[1]

We can easily remove the +1 but then the question is how to make it easy to go from begin to the size of the original array without repeating arr.size().
Making the end argument optional like in JavaScript could be an option, but I'm not sure it's easily doable in GDScript. Aside from turning the int end into Variant end, we can't easily make it null or use another state to indicate the "go to size()" function. 0 would be a valid end for an empty slice, and -1 should behave like size() - 1 (wraps around).
And binding a slice(int begin) method is not possible either without polymorphism AFAIK.

After discussion with @KoBeWi and @timothyqiu, it seems like making the function more permissive on possible values for begin and end and giving end a default of INT_MAX could do the trick:
<KoBeWi> we could use something like INT_MAX for default argument. It's unlikely someone will need it
<timothyqiu> `arr.slice()` is also different from Python and JS slices when `end` is greater than the array size + 1. In Python/JS, it means the end of array. While in GDScript it fails.
<Akien> Hm if we combine both comments then `INT_MAX` sounds like an option.

I'll give this a try and make a draft PR, we'll see if it's a good idea.


Expanded elements collapse when scrolling on iphone 6 safari and chrome

Hi,
Implemented readmore for long paragraphs. Expand and collapse work fine, however when scrolling the page down on a expanded element (a ), it automatically  collapses.
Debugged my js and did'nt find any triggering of the load event. any idea?

I'm also having this issue, but it collapses when I scroll up. Scrolling down works fine.

Actually, I've determined that it's when I change the direction in which I'm scrolling.
If I open it and scroll up, that will work but scrolling down will make it jump shut.
If I open it and scroll down, that will work but scrolling up will make it jump shut.
Any updates on this? My best guess was that the version of jquery I was using (1.7) was too old, so I updated it to 1.10, but it didn't seem to help.

Hello, have you managed to find a solution. I am experiencing the same issue :(

This issue is related to issue #164
The aria-expanded value is not set correctly. This value is checked in line 105 if the window is resized (some mobile browsers do this on scroll direction change if the address bar appears/vanishes):
isExpanded = (current.attr('aria-expanded') === 'true');
since the value is not set correct the box will be collapsed.
I hotfixed the check like that:
isExpanded = (current.height() > current.data('collapsedHeight'));
This resolves the collapsing on scroll (resize) issue. The correct fix would be to properly set the aria-expanded value...

I added the following styles, which seemed to fix the issue:
html, body {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

These styles are usually used to get around issues with iframes, but I gave it a shot and it worked for me.

The simple fix is just insert strings below into function resizeBoxes
    var innerWidth = $('body').data('innerWidth');

    if (innerWidth != $(window).width()) {
        $('body').data('innerWidth', $(window).width());
    } else {
        return false;
    }

Version 3.0 of Readmore.js will drop jQuery entirely, in favor of vanilla JS. I believe this issue will be fixed in the next version.

@jedfoster why wouldn't you merge the pull request https://github.com/jedfoster/Readmore.js/pull/179 by @studentIvan, this fixes the issue. Alot of people are still using version 2, so why wouldn't you just fix it? Instead you're saying f** everybody that uses version 2, just wait till I (production) release version 3?

@jedfoster why wouldn't you merge the pull request https://github.com/jedfoster/Readmore.js/pull/179 by @studentIvan, this fixes the issue. Alot of people are still using version 2, so why wouldn't you just fix it? Instead you're saying f** everybody that uses version 2, just wait till I (production) release version 3?


Final Fantasy XIV - Stutter since DXVK 0.54

This is my first issue reporting on github, so apologies if it's not as precise as it's expected to be.
I've been using WINE+DXVK for a while now to play Final Fantasy XIV, and since DXVK 0.54, FPS went up, but the game now stutters a lot. It seems like the larger the area, the bigger the stutter.
I've tried all version after 0.53 (0.5,.0.60,0.61,0.62 and 0.63 now) and they all present the same problem.
If i revert to 0.53, the stuttering disappears.
I've tried with many WINE (Staging,PBA,ESYNC,Main) and the issue remains; It seems to be fully DXVK dependent.
I run the DX11 client, and it seems to happen regardless of the ingame settings (although the stutter is not as perceivable if i keep everything on low).
I've got Force Composition Pipeline enabled, but even if I disable it it doesn't change (and it didn't cause any issue before 0.54).
Software information
Env Vars:
__GL_SHADER_DISK_CACHE
__GL_SHADER_DISK_CACHE_PATH
__GL_THREADED_OPTIMIZATION
Env Vars that I've tested after 0.54 to try to rectify:
WINEESYNC
__GL_SYNC_TO_VBLANK
__PBA_CB_HEAP
__PBA_GEO_HEAP
System information
-OS: Ubuntu 18.04 LTS

GPU:Nvidia GTX 1080
Driver: various (currently using 396.45)
Wine version: Many of them, currently running 3.10
DXVK version: 0.63 (and every version since 0.54)

Hope I've provided enough info :)

If the problem was introduced between 0.53 and 0.54, it should be easy for you to bisect the issue.

If you could guide me in how to narrow it down, that'd be much appreciated.
I tried everything within my (limited) knowledge, and I coudln't find anything that would fix it.

https://git-scm.com/docs/git-bisect

If you use staging & are able to compile it yourself, try to exclude the server-send_hardware_message patchset. It causes a lot of camera jitter in the game.

@varris1 not that stutter, it's not the mouse jittery effect (which i figured was cause by staging wine), it's proper stutter :)

If I had to guess, I'd say it's because of the integrated shader cache, that was removed with 0.54. NVidia cache can only hold 128MB. Maybe not enough for the game.

@doitsujin sorry mate, I've looked at a few tutorials online for git-bisect but I'm struggling a bit to carry on.
So, do I have to mark 0.53 as good and 0.54 as bad? and that's all you need?

Ok, so, I'll copy and paste what I got from my terminal and you tell me if it makes any sense.
I've searched for your 0.53 commit, marked it as good, then marked your 0.54 commit, marked it as bad, and then marked as bad any other step.
Got no idea if I made any sense :)
~/test/dxvk$ git bisect start
~/test/dxvk$ git bisect good 8cd9795
~/test/dxvk$ git bisect bad 420b721
Bisecting: 17 revisions left to test after this (roughly 4 steps)
[4a0c81276fd59a9b3dddbaed1e554ee35a7104a3] [d3d11] Implement new auto-flush heuristic
~/test/dxvk$ git bisect bad
Bisecting: 7 revisions left to test after this (roughly 3 steps)
[621aed5fdbaf92764944be7b3a27cbb3df63ba94] [dxbc] Bound-check dynamically indexed constant buffer reads
~/test/dxvk$ git bisect bad
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[a9eff13b920c65ec020fbf170514731980efefc1] [dxvk] Refactor memory allocator
~/test/dxvk$ git bisect bad
Bisecting: 1 revision left to test after this (roughly 1 step)
[e615fc19a91891828919e0029d73cec77553636a] [dxgi] Support SyncInterval values > 1
~/test/dxvk$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[f68bf1a1874ab571df8c33d4716adbb575516a3d] [dxvk] Added correct element size to depth-only and stencil-only formats
~/test/dxvk$ git bisect bad
f68bf1a1874ab571df8c33d4716adbb575516a3d is the first bad commit
commit f68bf1a1874ab571df8c33d4716adbb575516a3d
Author: Philip Rebohle<EMAIL_ADDRESS>Date:   Mon May 28 20:33:49 2018 +0200

    [dxvk] Added correct element size to depth-only and stencil-only formats

    Fixes depth-to-color image copies in Elex and Neptunia VII.

:040000 040000 ed727e4c90dfe2babe8b38d4e2e723a614152bff 6112f602a5aa1a056a3ff9a16d05289672ac915e M	src

@Hekel1989 You are supposed to actually test whether the commit is good or bad.  After you specify the good and bad commits, compile DXVK and test whether the stutter is present, then, if it is, use git bisect bad, and vice versa.  Once you do this, test again and repeat.

Ah, i was wrong. Shader cache was removed with 0.42 already. So the issue is somewhere else. Sorry.

@Guy1524 Thanks, but I did?
I mean, I've used every version since 0.52, I've tried them all on FF14, and 0.52 and 0.53 were fine, since 0.54 it started stuttering.
So I marked 0.53 as good and everything else as bad, as I've tested them all already.
Isn't that the way it should be?

@Hekel1989 You did not, you wrote git bisect bad regardless of whether the commit was good or bad.
Heres the deal, there are many commits (think of them like subversions) between 0.53 and 0.54.  Using git bisect uses a binary search tree to find which one causes the issue.  When you give git bisect it's boundaries by specifying 0.53 as good and 0.54 as bad, then it will take you through multiple commits to find the breaking commit.
Please read my first comment again, it explains that you must compile DXVK after each search (git
bisect good or git bisect bad command).  Test DXVK, then mark that commit as git bisect good or git bisect bad.

omg 8-/

@Guy1524 Thanks, much clearer now :)
Can I abuse your goodwill and very briefly explain how to compile (or even send me to a link where can I learn it)?
I'm very new to the Linux world(to me it all started with DXVK 0.52, so we're literally talking a couple of months) and I want to get involved and help if I can, but I'm very much inexperienced yet.
@bobwya Really not helpful and uncalled for mate, especially when I said in my first sentence this was the first time I've ever done this.

@Hekel1989 It depends on what distro you are on, but the compilation instructions are in the main README of the project

@Guy1524 Thanks, I'm on Ubuntu 18.04 LTS, I'll give it a good read now and see if I can figure it out :)

Although you are on an older version of GCC, you should be fine for an older version like 0.53-0.54

18.04 uses latest gcc (or 8.1 atleast). But you must setup a few things, explained on the dxvk main page @Hekel1989
Have not reviewed the git tree from .53 - 0.54, but git-bisect is not all that fool-proof in finding exactly a commit if there has been tree merges and such inbetween.
However easily explained (atleast in my eyes), lets take the following example.
0.54 = Bad
Then you mark 0.53 as "good". Lets say there is 10 commits made between 0.53 and 0.54. If each commit would have been labeled with a release, it would be 0.53, then 0.53.1, 0.53.2 and so on. When you do git-bisect and compile each "version" like that, you will end up with (hopefully) that eg. 0.53.6 is the first one causing the stuttering, and this would be the problem, but as the other posts say, you have to compile and test each version :)
Atleast gives you something to do i guess.

I have been using dxvk for ffxiv since 0.41 and currently 0.63.
I've experience two stutter issues before:

CPU(intel pstate) scaling keep changing. Once i set governor to "performance" this goes away
Ran out of vram because another application is also using a good chunk of vram. you can check the usage of vram using nvidia-smi and close applications if necessary.

other than that dxvk works pretty well for me for ffxiv. Hunts, 24man, raids are all smooth (dropping to ~40fps on heavy load, 55-60 otherwise)
spec:

GTX 960 2G w/ 396.24.10
vsync, fligging, no forced pipeline composition
i5-6500
wine 3.12 staging + esync + pba
linux kernel 4.17 (previously 4.16)

@freehaha what is "esync"?

@freehaha Mind if i ask what do you use to change you cpu governor?
I use a gnome extension, and it seems to do the job, but I'm happy to try different means.
Regarding the VRAM, I haven't checked, but having a GTX1080 i've got 8gb worth of it, and the game at top usage uses 3.5gb, so that shouldn't be an issue.
In your stats you said you're allowing flipping? mind explaining what that is?
Also, with wine staging, don't you get that weird mouse jitter?
I haven't updated my Kernel to 4.17, wouldn't know if that contributes.
Thanks for your input :)

i use cpufreq-set to set the governor.
cpufreq-set -c 0 -g performance
cpufreq-set -c 1 -g performance
...

As for the 'allow flipping' option in nvidia setting I have no idea what it does but it doesn't affect my fps on or off. I've seen people having trouble with this option on in particular driver versions but on my side I didn't notice any major difference.
For the jitter issue in staging, I compiled wine myself excluding the server-send_hardware_message patch like mentioned above.

@Hekel1989 @freehaha
Or use:
for i in $(seq 0 7); do cpufreq-set -c $i -g performance; done
Dont know if its actually needed to do it in a "per core" kind of way like that, but i do it to make sure tho :) Adjust (seq 0 7) based on number of cores tho.
For Ubuntu distro's:
The cpufreq-set command is part of the cpufrequtils package. Install with sudo apt-get install cpufrequtils
Also you need to run cpufreq-set as root with sudo aswell. Like this: for i in $(seq 0 7); do sudo cpufreq-set -c $i -g performance; done

Apologies for necro commening but dont want to create a new thread. I might have similar issue with Final Fantasy XIV. Using dxvk up to 0.96 gives rock solid 60+ fps. When I switched to 1.0 and later 1.0.1, fps constantly kept changing between 35-60 and giving occasional performance issues. I'm using the latest nvidia vulkan drivers (arch) and wine-staging-esync (tkg) version. Is anyone experiencing similar for dxvk 1.0+ ?

I tested the Stormblood benchmark and it stays above 60 FPS pretty much all the time, not sure what's going on there.

Created a new clean wineprefix but the behavior is the same as I wrote before. Is there any kind of information, logs I can share?

@eproxy I still have occasional stutter (and weird camera movement), but performance was greatly improved by installing a newer version of mesa (19.1 or later). This obviously only applies to mesa drivers (ie. not nvidia), of course.

The game itself works extremely well on latest Proton with no wonky mouse movement for me. Closing since there really doesn't seem to be a DXVK issue here.


EMBED Note, PDF (PDF's specific page), Section do not appear in HTML export

Hi,
I do not know whether it needs to be a bug report or a feature request, because I don't know your plugin supports this at all or not.
Single page/note HTML export.
Try to reproduce:

Embed another note
Embed a PDF page or its specific page

Will appear well in Obsidian in both Live Preview and Reading view, but won't be seen in HTML export.
It would be good to have at least for embedded notes.
Use case: e.g. If sections/chapters of a book are concatenated into a single note document and would be good to see that all in HTML format too.
Thanks for considering or looking after.

Thanks this will be fixed in the next update

Thanks for your notice.
Let me ask, approximately when your next update would be hoped?

I'm very very busy, so I would rather not promise any timeline. But I'm still working on it

Thanks for your answer. Understood :) Still hoping for sooner, because your plugin is very needed.
All the best and good work for you.

Is this a duplicate of issue #207?

Actually I did not see the PDF problem when looking thorugh the issue before, how do you embed a specific page of a pdf in obsidian? I think I could make it embed the pdf but not just a single page of a pdf as that is a feature of obsidian's custom pdf viewer (unless I also build a custom pdf viewer using pdf.js)

Is this a duplicate of issue #207?

Hi,
Yes, it might be, but I did not notice it earlier, and as I read over this above issue it regarded to earlier versions of both obsidian and your plugin version. (btw: I did not understand exactly what did transclusion mean.)
I opened this ticket (issue) because of I tested it ( once again today too)
in this actual environment
WIN 10 Pro, Firefox 120.0.1
Obsidian v.1.4.16
your plugin v. 1.7.3
and noticed neither

the simple other note embed,
embed section,
comment of yours regarding to PDF: https://github.com/KosmosisDire/obsidian-webpage-export/issues/291#issuecomment-1852651927

full PDF page embed,
PDF specific page embed

had exported to HTML did not work!
See picture specifically regarded to PDF

(* The embeds in obsidian's Reading view and Live Preview are right)

Ah right, the pdf embed is coming in the next update as well. I thought I had already implemented it in 1.7
A transclusion is the actual name of the embeded page feature. Transclusions and pdf embeds will work in the next version. However the specific page for PDF's will not work.

Thanks for your answer, both regarding to the explanation of transclusion and the resolutions coming in the next version. Have a good work. :)

This feature has been added in 1.8.0! :)
(PDF's do not support specific pages though, this isn't possible with the default html PDF viewer)
If you find any issues please create a new issue
Thanks!

Hi,
embed;

other notes works (however there is inconsistency in the main TOC if an embedded note has headings)
full PDF even yet doesn't work
embed section works
I will open a new issue

Thanks for looking after


Fix bug in Cm* fastpath when dest is same as src (reg1=reg1==reg2)

I was first moving true to dest and then comparing src1 with src2, that resulted in wrong result when dest and src1/src2 are same.

@satheeshravi please take a look

:shipit:


Split base styles

Ref https://github.com/bespokejs/generator-bespoke/issues/36#issuecomment-271005349

:+1:

I have incorporated this change. Thanks!


Sorry how can I stop the program ?

To stop a program without using 'import threading', you can use the 'signal' module to catch interrupt signals (such as CTRL+C) and set an event defined in 'neonize.event'. Here is a clearer explanation of how it works:
First, import 'event' from 'neonize.event' and the 'signal' module:
from neonize.event import event
import signal

Next, define the 'interrupted' function that will set the event when an interrupt signal is received:
def interrupted(*_):
    event.set()

Register this function as the signal handler for SIGINT (keyboard interrupt):
signal.signal(signal.SIGINT, interrupted)

With this explanation, when you press CTRL+C, the 'interrupted' function will be called, which will set the 'event' from 'neonize.event'. You can then check the status of this event in the program loop to determine if the program should stop. Make sure to handle any necessary cleanup before the program fully stops.
https://github.com/krypton-byte/neonize/blob/master/examples/basic.py

I just run the example/basic.py and first I thought it was my windows and I try with my Ubuntu Server it still running cannot interrupted idk why

I've been confused so I create this command wkwk :v


User Story - Follow Me

User Story:
As a: user,
I want: the car follows me,
So that: I don't have to take care of it.
Acceptance Criteria:
I know I am done when: the car is following me.

Done.


how to learn what the options mean

I found a file which lists the options
https://github.com/koekeishiya/chunkwm/blob/master/src/plugins/tiling/README.md
but idk what they each mean
how can i find out?

Do you have questions about any specific commands or configuration options?
A good way to figure out what they mean is to run the commands manually to see what happens, and to change options in your .chunkwmrc to see how the different options change its behavior


npm i fails

> jspm bundle dev-bundle.config.js out/dev-bundle.js -id

     Building the bundle tree for dev-bundle.config.js...

err  TypeError<EMAIL_ADDRESS>(0 , _getIterator3.default) is not a function
    at Parser.loadPlugins (/home/vith/react-ts-jspm-starter-kit/node_modules/babylon/lib/parser/index.js:96:56)
    at new Parser (/home/vith/react-ts-jspm-starter-kit/node_modules/babylon/lib/parser/index.js:58:27)
    at parse (/home/vith/react-ts-jspm-starter-kit/node_modules/babylon/lib/index.js:47:10)
    at File.parse (/home/vith/react-ts-jspm-starter-kit/node_modules/babel-core/lib/transformation/file/index.js:517:34)
    at File.parseCode (/home/vith/react-ts-jspm-starter-kit/node_modules/babel-core/lib/transformation/file/index.js:603:20)
    at /home/vith/react-ts-jspm-starter-kit/node_modules/babel-core/lib/transformation/pipeline.js:49:12
    at File.wrap (/home/vith/react-ts-jspm-starter-kit/node_modules/babel-core/lib/transformation/file/index.js:563:16)
    at Pipeline.transform (/home/vith/react-ts-jspm-starter-kit/node_modules/babel-core/lib/transformation/pipeline.js:47:17)
    at Object.exports.compile (/home/vith/react-ts-jspm-starter-kit/node_modules/systemjs-builder/compilers/compiler.js:22:22)
    at Object.exports.compile (/home/vith/react-ts-jspm-starter-kit/node_modules/systemjs-builder/compilers/register.js:4:19)
    at /home/vith/react-ts-jspm-starter-kit/node_modules/systemjs-builder/lib/compile.js:117:43
    at tryCatcher (/home/vith/react-ts-jspm-starter-kit/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/vith/react-ts-jspm-starter-kit/node_modules/bluebird/js/release/promise.js:504:31)
    at Promise._settlePromise (/home/vith/react-ts-jspm-starter-kit/node_modules/bluebird/js/release/promise.js:561:18)
    at Promise._settlePromiseCtx (/home/vith/react-ts-jspm-starter-kit/node_modules/bluebird/js/release/promise.js:598:10)
    at Async._drainQueue (/home/vith/react-ts-jspm-starter-kit/node_modules/bluebird/js/release/async.js:143:12)

npm ERR! Linux 4.6.5-1-lqx
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "bundle-dev"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.6
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>bundle-dev: `jspm bundle dev-bundle.config.js out/dev-bundle.js -id`
npm ERR! Exit status 1

full terminal session
version: v0.7.1-1-gae651fc

npm-debug.log

@vith thanks for detailed report, I have checked on clean ubuntu installation with zero global deps and install working fine, it seems like a problem with plugin typescript transpiler.
Could you try to delete jspm_packages folder and reinstall jspm deps with jspm install, then try to manually run npm run bundle-dev command
Other that that, I'm not sure what could be the problem.

but event that solution should be working fine but without dev-bundle optimization, please try to run npm start to see if project is starting

Same error after deleting jspm_packages, running jspm install and npm run bundle-dev. But yes, npm start seems to work fine.
I'll see if I can reproduce it in a new VM.

@vith Would be great if you can share your findings :)
Also please check maybe you have a typescript or jspm packages installed
globally, I would try to uninstall them as well and try again with
bundle-dev.
Pozdrawiam,
Piotr Witek
2016-08-12 15:23 GMT+02:00 Jason Papakostas<EMAIL_ADDRESS>
Same error after deleting jspm_packages, running jspm install and npm run
bundle-dev. But yes, npm start seems to work fine.
I'll see if I can reproduce it in a new VM.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/piotrwitek/react-ts-jspm-starter-kit/issues/12#issuecomment-239444912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtHA7-6qSORHvDgt3vI4b0DFZkRsO7Vks5qfHPlgaJpZM4JjCp1
.

I am able to reproduce it in antergos-2016.07.19-x86_64.iso live environment (2GB wasn't enough to avoid oom, 4GB was). All I did was:
$ sudo pacman -S git nodejs npm
$ git clone https://github.com/piotrwitek/react-ts-jspm-starter-kit
$ cd react-ts-jspm-starter-kit
$ npm i

Again no difference if I remove the jspm_packages directory and run ./node_modules/.bin/jspm install && npm run bundle-dev manually.
Inside the VM there's definitely no global install of typescript or jspm.

Thanks, I gonna check it also with antergos to see if that's some machine specific issue.

I also just tested on Fedora-Workstation-Live-x86_64-24-1.2.iso live environment and could not reproduce with Fedora's packaged nodejs. However, I installed newer nodejs with https://rpm.nodesource.com/setup_6.x and was then able to reproduce.
I'm guessing the Ubuntu version you tested has old enough nodejs to not be affected.
Arch Linux: node v6.3.1: affected
Fedora 24: node v4.4.7: not affected
Fedora 24: node v6.3.1: affected

this is my config, should be same as your original
{ npm: '3.10.6',
ares: '1.10.1-DEV',
http_parser: '2.7.0',
icu: '56.1',
modules: '48',
node: '6.3.1',
openssl: '1.0.2h',
uv: '1.9.1',
v8: '<IP_ADDRESS>',
zlib: '1.2.8' }

also working fine on my windows laptop with this config: (linux is a desktop machine)
npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.5',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }

Could you please also check for which architecture was the node binary used
in a failing cases
On Aug 12, 2016 4:23 PM, "Jason Papakostas"<EMAIL_ADDRESS>wrote:

I also just tested on Fedora-Workstation-Live-x86_64-24-1.2.iso live
environment and could not reproduce with Fedora's packaged nodejs. However,
I installed newer nodejs with https://rpm.nodesource.com/setup_6.x and
was then able to reproduce.
I'm guessing the Ubuntu version you tested has old enough nodejs to not be
affected.
Arch Linux: node v6.3.1: affected
Fedora 24: node v4.4.7: not affected
Fedora 24: node v6.3.1: affected
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/piotrwitek/react-ts-jspm-starter-kit/issues/12#issuecomment-239460073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtHA6aKXWIw_0rn0s2sIVb-eJ2pkN-Uks5qfIHlgaJpZM4JjCp1
.

From my real Arch Linux environment:
~/react-ts-jspm-starter-kit master
❯ npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.6',
  ares: '1.10.1-DEV',
  http_parser: '2.7.1',
  icu: '57.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }

~/react-ts-jspm-starter-kit master
❯ file "$(which node)"
/usr/bin/node: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=abc111a6272f59ebb7d3bb82a9514cb2b5341772, stripped

I am unable to reproduce in a new Ubuntu 16.04.1 VM, but its nodejs is 4.2.6. Have you installed 6.3.1 from a PPA? If so which one?

I don't get the error either on Ubuntu with nodejs from https://deb.nodesource.com/setup_6.x:
$ npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '56.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }

Yes I have installed from nodesource, seems like Arch linux using some kind of community driven repository and might be the case of some differences in node binary
https://nodejs.org/en/download/package-manager/#arch-linux

Arch Linux's "community" repo contains official packages. It's just called community because packages in there started out as unofficial AUR (Arch User Repository) packages but have been adopted by the official maintainers (Trusted Users).
From Fedora using https://rpm.nodesource.com/setup_6.x, where I do get the error:
[vith@localhost react-ts-jspm-starter-kit]$ npm version
{ 'react-ts-jspm-starter-kit': '0.7.1',
  npm: '3.10.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '56.1',
  modules: '48',
  node: '6.3.1',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }
[vith@localhost react-ts-jspm-starter-kit]$ file `which node`
/usr/bin/node: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0551551ef484b7875da457847daf6f01060c9269, stripped

npm version output is identical to what I get on Ubuntu, where the error doesn't happen. So none of those version numbers are the differentiator between it working and not working. Puzzling.

Yea seems like a random bug in node or plugin-typescript.
You could try to use other node ver. that seems to work on your distro, e.g. 4.X which is more stable I suppose and would work on your system.
You can utilize tools for node version management like https://github.com/nodenv/nodenv to set up a local version of node just for that folder and use 6.X for the rest as usual.

I'm closing this as I cannot see anything possible that I could do


Feature/61 gamepad events

Description
Gamepads and Gamepad
Introduce Gamepad class describing  a gamepad state. It includes all the axis and button handled.
The Gamepads class is a container Resource for the supported gamepads (4 by default). Therefore the gamepad states are stored in the Gamepads resource.
Events
New events:

GamepadButtonEvent, with their specializations GamepadButtonPressedEvent and GamepadButtonReleasedEvent, triggered when a gamepad button state change (pressed/released)
GamepadAxisEvent triggered when a gamepad axis value change
GamepadConnectedEvent triggered when a gamepad is connected or disconnected.

SFML
The SFML integration has been updated to support the previous events.
Close #61
Type of change
Please delete options that are not relevant.

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

Minor Fixes
Fix the cmake ecstasy_set_compilfer_flag macro, which wasn't setting the code coverage correctly.
How Has This Been Tested?
New tests have been written in tests_Gamepad.cpp
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #74 (18d7656) into main (1f17687) will increase coverage by 47.92%.
The diff coverage is 28.42%.

@@            Coverage Diff            @@
##           main      #74       +/-   ##
=========================================
+ Coverage      0   47.92%   +47.92%
=========================================
  Files         0       39       +39
  Lines         0      722      +722
  Branches      0      204      +204
=========================================
+ Hits          0      346      +346
- Misses        0      256      +256
- Partials      0      120      +120

Impacted Files
Coverage Δ

src/ecstasy/integrations/event/events/Event.hpp
0.00% <0.00%> (ø)

...y/integrations/event/events/GamepadButtonEvent.hpp
0.00% <0.00%> (ø)

...ntegrations/event/events/GamepadConnectedEvent.hpp
0.00% <0.00%> (ø)

src/ecstasy/integrations/event/inputs/Gamepad.cpp
0.00% <0.00%> (ø)

.../ecstasy/integrations/sfml/demo/02_events/main.cpp
0.00% <0.00%> (ø)

...c/ecstasy/integrations/sfml/systems/PollEvents.cpp
0.00% <0.00%> (ø)

src/ecstasy/integrations/event/inputs/Gamepad.hpp
19.44% <19.44%> (ø)

src/ecstasy/integrations/event/EventsManager.cpp
80.95% <93.33%> (ø)

src/ecstasy/integrations/event/inputs/Gamepads.hpp
100.00% <100.00%> (ø)

src/ecstasy/resources/entity/Entities.hpp
25.00% <0.00%> (ø)

... and 33 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Developer instructions in README → CONTRIBUTING?

Which Section of the Documentation Needs Improving?
The top-level README contains developer instructions which overlap with the instructions in CONTRIBUTING.md.
What Can be Improved About This Section
We should merge these. Presumably all developer instructions out into CONTRIBUTING, and leave README with just instructions for users, and our avatars.
How to Improve This Section
No response

Via #481


[restore] Account for additional CIDRs when checking router IP

WORK IN PROGRESS

Do not need, Hemanth has PR'ed a real fix upstream


TS Conversion: Step 1 - tooling

Step 1 of #4223
To make the entire effort more review-able, I'm breaking it down to multiple steps.
Each step will be more manageable for review vs. a huge changeset.

Checked both dev server and production builds and both work as they did previously.

@arielshaqed I've done exactly that. Debounce is currently used for the repo search input. If you test it out, it makes the header twitchy as-is, which is also not great. I think that replacing the home-grown implementation with the lodash one is a win for all use cases. However, since the current functionality is identical to the functionality before this commit, I suggest we include it in the next commit/step. WDYT?

@arielshaqed To your more general question of how this was tested and how I plan to test this moving forward - I'm trying to make the most minimal changes possible in anything that's not directly related to TypeScript.
As long as things compile, we can debate typeing, if we're strict enough or not, and if we're using a consistent paradigm, but it's not going to break at runtime.
Where I must make changes that are not only in types, I try to define the blast radius and test the UI manually.
Where I'm unsure, I ask around to make sure I didn't miss any use cases.
My next long term goal, after TypeScript, will be E2E testing, which will help with this considerably.


[Bug] 数据湖，文件分析，通配符问题

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.1
What's Wrong?
数据湖，tvf , oss单文件没问题，但是使用通配符就不行，例如file1.csv可以，file.csv就不行，不是支持通配符吗？
What You Expected?
解决
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

file*.csv


Issue with SVG images

It appears that I can't embed SVG images in my PDFs.
If the HTML contains the svg image included in the markup then it works, but if I reference an image like  then it's simply not included in the PDF.

@LukaHorvat Try to set full path to source

@AlexanderSuv , can I set local source like this:

OS: CentOS

Fixed?

Same here. I cannot embed SVGs in  tag using http:// urls.
It is embedded using file:// protocol though

Did you try to set the base option? This fixed it for me...


feat(components): add example of date picker with month and year dropdowns

Hello everyone,
I've noticed there's no option to choose the month and year in the date picker, and I've seen that many people are expecting this feature as well. #1996 #2229
Example:
https://github.com/shadcn-ui/ui/assets/19254700/d969fe2f-695d-4d1d-a6d8-d5af2ecae7dc

@omeralpi man this worked for me thanks! I don't know why they haven't merged it yet :/


Add Oni as a Editor

https://github.com/onivim/oni
WDYT? @bryphe @Akin909

@davesnx that'd be awesome to be included here 😍 👍

👍 , that would be great @davesnx ! Thank you!

It is already added!


Increased build times

SKIE version: 0.5.2
skie {
    features {
        group {
            FlowInterop.Enabled(true)
            SuspendInterop.Enabled(true)
        }
    }
}

As mentioned in the documentation I would like to share analytics report from Android Studio about long build times. It's a report from single iOS task but it happens for all of them.

I know our config is not optimal and we are going to improve it but hopefully that report helps out a bit.
At 11:07, Nov 03, 2023, Android Studio detected the following issue(s) with Gradle plugin co.touchlab.skie.plugin.SkieGradlePlugin

Always-Run Tasks
Task runs on every build because it declares no outputs.

Plugin: co.touchlab.skie.plugin.SkieGradlePlugin
Task: skieUploadAnalyticsReleaseFrameworkIosSimulatorArm64
Task type: co.touchlab.skie.plugin.analytics.SkieUploadAnalyticsTask
Issues for the same task were detected in 1 module(s), total execution time was 0.3s (<0.1%), by module:
  Execution mode: FULL, time: 0.3s (<0.1%), determines build duration: true, on critical path: false, issues: Always-Run Tasks

====Build information:====
Execution date: 03/11/2023, 11:07
Total build duration: 430.3s
Configuration time: 1.1s (0.3%)
Critical path tasks time: 428.6s (99.6%)
Critical path tasks size: 51
AGP versions: 8.1.2
====Platform information:====
AI-223.8836.35.2231.10811636, JRE 17.0.6+0-17.0.6b829.9-10027231x64 JetBrains s.r.o., OS Mac OS X(aarch64) v14.0, screens 1920.0x1080.0, 3440.0x1440.0

AS: Giraffe | 2022.3.1 Patch 2
Kotlin plugin: 223-1.9.0-release-358-AS8836.35.2231.10811636
Android Gradle Plugin: 8.1.2
Gradle: 8.0
Gradle JDK: Azul Zulu version 17.0.7
NDK: from local.properties: (not specified), latest from SDK: (not found)
CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)

Hi @damianpetla, thank you for the report. Would you be able to verify this still happens with SKIE 0.6.1?
I understand the warning can be annoying, but unless I'm misunderstanding the log, the task itself only took 0.3s in total.

This issue should be fixed in 0.6.3.


Python 3.11 : cannot import name 'formatargspec' from 'inspect'

Describe the bug: ...
To Reproduce

Use elastic-apm[flask]==6.12.0 with python 3.11
Initialize elastic-apm
Run your app

Environment (please complete the following information)

OS: Ubuntu 20.04
Python version: 3.11
Framework and version [e.g. Django 2.1]: Flask 2.2.2
APM Server version: 8.3.0
Agent version: 6.12.0

Additional context
Traceback here :
Error: While importing 'app', an ImportError was raised:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/flask/cli.py", line 218, in locate_app
    __import__(module_name)
  File "/app/app.py", line 4, in <module>
    from portail import create_app
  File "/app/portail/__init__.py", line 12, in <module>
    from elasticapm.contrib.flask import ElasticAPM
  File "/usr/local/lib/python3.11/site-packages/elasticapm/contrib/flask/__init__.py", line 45, in <module>
    from elasticapm.handlers.logging import LoggingHandler
  File "/usr/local/lib/python3.11/site-packages/elasticapm/handlers/logging.py", line 42, in <module>
    from elasticapm.utils import wrapt
  File "/usr/local/lib/python3.11/site-packages/elasticapm/utils/wrapt/__init__.py", line 10, in <module>
    from .decorators import (adapter_factory, AdapterFactory, decorator,
  File "/usr/local/lib/python3.11/site-packages/elasticapm/utils/wrapt/decorators.py", line [34](https://gitlab.fr.probance-i1.com/portail/portail/-/jobs/54707#L34), in <module>
    from inspect import ismethod, isclass, formatargspec
ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/local/lib/python3.11/inspect.py)

The problem seems to be in wrapt package used by elasticapm (https://github.com/GrahamDumpleton/wrapt/issues/196), fixed in wrapt 1.14.0.

Hi @chichi13! We already merged a fix for this and will release a new version of the agent ASAP!

Hi,
I have similar problem with FastAPI. Do you have any solution?
Python 3.11.0b5
FastAPI: 0.85.1
wrapt: 1.14.1
Ubuntu 22.04
  File "/build/src/node_api.py", line 2, in <module>
    from web3 import Web3
  File "/usr/local/lib/python3.11/site-packages/web3/__init__.py", line 6, in <module>
    from eth_account import (
  File "/usr/local/lib/python3.11/site-packages/eth_account/__init__.py", line 1, in <module>
    from eth_account.account import (
  File "/usr/local/lib/python3.11/site-packages/eth_account/account.py", line 59, in <module>
    from eth_account.messages import (
  File "/usr/local/lib/python3.11/site-packages/eth_account/messages.py", line 26, in <module>
    from eth_account._utils.structured_data.hashing import (
  File "/usr/local/lib/python3.11/site-packages/eth_account/_utils/structured_data/hashing.py", line 9, in <module>
    from eth_abi import (
  File "/usr/local/lib/python3.11/site-packages/eth_abi/__init__.py", line 6, in <module>
    from eth_abi.abi import (  # NOQA
  File "/usr/local/lib/python3.11/site-packages/eth_abi/abi.py", line 1, in <module>
    from eth_abi.codec import (
  File "/usr/local/lib/python3.11/site-packages/eth_abi/codec.py", line 16, in <module>
    from eth_abi.decoding import (
  File "/usr/local/lib/python3.11/site-packages/eth_abi/decoding.py", line 14, in <module>
    from eth_abi.base import (
  File "/usr/local/lib/python3.11/site-packages/eth_abi/base.py", line 7, in <module>
    from .grammar import (
  File "/usr/local/lib/python3.11/site-packages/eth_abi/grammar.py", line 4, in <module>
    import parsimonious
  File "/usr/local/lib/python3.11/site-packages/parsimonious/__init__.py", line 9, in <module>
    from parsimonious.grammar import Grammar, TokenGrammar
  File "/usr/local/lib/python3.11/site-packages/parsimonious/grammar.py", line 14, in <module>
    from parsimonious.expressions import (Literal, Regex, Sequence, OneOf,
  File "/usr/local/lib/python3.11/site-packages/parsimonious/expressions.py", line 9, in <module>
    from inspect import getargspec
ImportError: cannot import name 'getargspec' from 'inspect' (/usr/local/lib/python3.11/inspect.py)

Hey @OrJaku! That doesn't appear to be in our code, so you may want to file an issue with https://github.com/erikrose/parsimonious


Monochrome/Grayscale to heatmap

When logging a lot of images, the data in rerun grows quickly. A lot of images are RGB heatmaps that stem from grayscale images. It would be nice being able to log images as grayscale and visualize them in rerun with a given heatmap.

Closing as duplicate of

https://github.com/rerun-io/rerun/issues/6897

(but adding a comment there on the size motivation, interesting to capture that)


Cannot find the "Analytics" option in "Overview" menu

I cannot find the "Analytics" option in "Overview" menu... assuming this document needs some update? Thanks.

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

ID: bdca08d8-4a1d-f11c-9e3e-6627ea0f18bc
Version Independent ID: 6bb42537-50b2-2af1-fdf7-86b76ed9afe6
Content: Troubleshoot custom policies with Application Insights - Azure AD B2C
Content Source: articles/active-directory-b2c/troubleshoot-with-application-insights.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@Calvin-Yuhui-Liu Thanks for your feedback! We will investigate and update as appropriate.

@Calvin-Yuhui-Liu yes you are correct . I have verified this and the analytics feature is not part of application insights any more as per the update on the Azure blog.

Updated on July 23, 2019: The functionality described in this blog was retired and no longer exist in Application Insights. Alternatively, you can send your custom log to the Azure Monitor log store, which is Log Analytics. You can query this data from Log Analytics or your Application Insights resource using cross-resource queries.

The article needs to be updated and we will engage the content authors to update the same.

@msmimart Could you please help update the article after review with engineering ?

#reassign:JasSuri

It should say Overview, then click Logs.


Update funding.md

Added Polkadot Assurance Legion in the 'alternate funding sources' list

I have read and hereby sign the Contributor License Agreement.

Thanks, @bhargavbh!


Move all settings to a single config file

The config files have gotten out of control. mqtt.json, telegram.json, pushover.json, soon ha.json. All too much.
This should all be one config.json with separate blocks for all the settings, plus a "general" stetings block.
To make this backwards compatible it should populate each block with data from the separate .json files if they are there.
This will be a big refactor.

MqttManager, PushoverManager, and TelegramManager now all read from the global settings.conf file.
This is gonna be a breaking change. It's just not worth trying to maintain the old separate file way.
Still need to add a "general" settings section with settings for enabling annotation.


model_kwargs_cd  and model_kwargs problem

great work!
But I found that model_kwargs_cd is copied from model_kwargs every time in the sample method.
Is there some problem? Thanks!

I have the same question. I have noticed that the original and distorted image inputs have the same past_key_values setting. I wonder if the past_key_values should be set differently?

I think it does not matter.
you can find the process in llava_arch.py -> prepare_inputs_labels_for_multimodal

Hi all, thanks for your interest and valuable discussions.
We are sorry for this problem we made while cleaning the open-source codes.
For the solution and more discussions, please refer to issue#13.


Native Facebook login

I am implementing a ionic app, I need the Facebook login is native, managed to implement using some examples given by the git Satellizer such as ionic server and the client.
My problem is authentication via Satellizer token.
I am using the https://github.com/Wizcorp/phonegap-facebook-plugin to authenticate via Facebook and other Satellizer for authentication to login and signup without Facebook.
The best method I would modify the satellizer.js own or continue with my implementation by ionic?

If you need native look and feel, then you should use that Cordova plugin imho.
For email and password authentication you don't even need Satellizer because it is so simple. All you need are two input fields and a submit button. You could, however, re-use server implementation: https://github.com/sahat/satellizer/blob/master/examples/server/node/server.js#L155-L196.


Default stage1 path should be configurable with a build option

As mentioned in https://github.com/coreos/rocket/issues/457#issuecomment-73944496, the path where the rkt binary looks for stage1 should be something you can specify when building rocket.
Looking at the code, this doesn't currently appear to be the case.
This is currently blocking a fix to the Arch Linux AUR package, and will probably be necessary for other distributions as well.

I'm proposing using an environment variable at build time to specify this.

lgtm


vscode prisma plugin not working on nodejs v14.20.0

Bug description

From Prisma version 4.0.0, the minimum version of Node.js that we support is 14.17.x

vscode prisma plugin not working on nodejs v14.20.0.
prisma.prisma-4.1.0/node_modules/vscode-languageserver/node_modules/vscode-jsonrpc/lib/common/linkedMap.js:40

Environment & setup

OS: Debian
Editor: VSCode
Editor version: 1.51.0
Extension version:  4.1.0

Interesting. I think the reported Node version is your local one, not necessarily the one that is running inside VSCode. I could show mine via Help -> About:

Can you post the same?

@janpio

I known, it seems to be the nodejs version in vscode, I will try to update it

Thanks, that is still interesting for us to know. Maybe we should handle that in some way and output a warning instead.

@Lizhooh Could you update your VS Code version? (minimum would be 1.56 as it runs on Node.js v14)
https://code.visualstudio.com/updates/v1_56#_electron-12-update

After updating the vscode version the issue was resolved


New SSC Representative Nomination

Hey all,
I sent an email to our team's google group, but wanted to make a public post here for transparency. I'll update our docs here as soon as the new representative is picked.
I am switching roles to the EC and therefore stepping down as the Jupyter Server representative, effectively immediately. Replacing this position is fairly time-sensitive, given the upcoming vote on the Linux Foundation Proposal.
Nominations for a new representative are open until Monday—the form can be found in the google group message. Please self-nominate, or reach out to anyone on the team you'd like to nominate.
Thanks all! It's been a pleasure representing you this past year. Let me know if you have any questions.

Congratulations for your new role @Zsailer and overall, a huge thanks for the work you have been doing to make Jupyter Server a success. From the inception (extracting the server from notebook) and the work around the new extension system, ensuring backwards compatibility, gathering and motivating people on the calls, launching contributor hours, and I could continue with more. I truly have no words to thank you. Jupyter Server will miss you as representative and hope you will still find time to be around these org repositories.

❤  Thank you, @echarles. I really appreciate that. I love this group. Ya'll are amazing! Keep building great things! 🚀

Closing, since nominations have passed and we'll reveal the new representative in today's meeting!


Fix continuous integration issues

The CI server seems to be down for unknown reasons and @brandonscott (server manager) is MIA. If we can't get it back up we will have to look into alternative solutions or spin up a new server somewhere. Problem is a lot of the build configuration was located on that server and that server alone.
If anyone has ideas on possible places to move the build process, please comment on this issue. A third-party build service (so not hosted on a server we control) could improve availability but also limit flexibility and be more expensive.

https://ci.appveyor.com/project/njbmartin/colore

Fixed. Just needed to specify the solution file, next step: artefacts!

I think we'll do some restructuring of the files and add a Cake build script. This will place all the files necessary to build it in the repo, so we can move CI much easier in the future.
After we have the Cake script we can use that in AppVeyor.

Colore now has a functioning CI infrastructure again using AppVeyor and Travis CI!


iscsi-virtualdisk - defaults to dynamic vhdx?

Hi,
https://docs.microsoft.com/en-us/powershell/module/iscsitarget/new-iscsivirtualdisk (New-IscsiVirtualDisk) examples 1 and 3 state that the example commands as written create fixed virtual disks, but the existence and description of the -UseFixed parameter strongly suggest that the default is a dynamic disk, and an experiment seems to verify this.  Are the examples just missing the parameter, or is there something more complicated going on?
thanks
Martin

@martinbherbener  Somehow your issue has been opened without being associated to a documentation topic.
Could you clarify which documentation you're referring to? A link would be helpful.
Thanks.

Hi,
There is a link in the original comment.  However, it appears that the documentation has been updated since I left the comment, and my comment/concern is no longer applicable, so I'll close.
thanks
Martin


Only update needed columns when update user

Also fix #1882. After this merged, I will back ported to branch release/v1.1.

Adding a new function seems like overkill to me, is there a reason we can't just fix the updateUser(..) function to not write to u.Avatar (and require the caller of updateUser() to update u.Avatar if they actually need it)?

@ethantkoenig We could  add a new func generateAvatar that is call before updateUser only when email is change or needed ?

@ethantkoenig I think updateUser is not corrected in many place where only need to update serval columns but update all the columns. So I added a new function updateUserCols to do that. And there are still some place where we should use updateUser to update all the columns.
We cannot finish the work only improve updateUser function, so I create the new one.
For fix of #1882, it's not the PR's main idea. #1882 's problem is when user login, the avatar will be updated, so the avatar changed. In fact, the only needed change column on login is last_login_time but it update all the columns. When I change to updateUserCols, the bug is also fixed.

@sapk that could be another PR.

LGTM

LGTM

Make LG-TM work


Collapse a "panel component"

hi
is there the possibility to collapse a "panel component" (Collapsible option) based on the value of another component?
like it happens for the conditional hidden functionality.
Thanks

hi,
Trying to change the collapsed property dynamically by listening to click event. Able to change every propery by using Merge Component schema option in action  accept collapsed propery. Is there any other property we have to change to do this. Below one is code
schema={'collapsed':false}

the method is now called collapsed.
panel.collapsed = true

Still, it is not working in this way. I am getting the panel and setting the collapsed property dynamically
panel.collapsed = true

@syed-farjana This is working fine on our end and would require a support call to investigate the issue. If you are interested in our support services, please email<EMAIL_ADDRESS>

I had a difficult time getting this to work in a somewhat different context. I wanted to have a view for completed forms where a user wouldn't be able to edit, but rather review. I also had a bunch of panels that when filling out the form would start off closed, so that everything looked nicer. When reviewing a completed form I wanted the page to load with all the panels open so they could see all the info and just easily scroll through. The script i wrote just triggers clicks on the panels (all the panels that aren't nested that is) maybe looking at this will spark something for you. It's a bit more complicated then the above reference, but at the end of the day it works...
      let viewSubmission = true
      window.onload = function() {
        console.log(window.location)
        Formio.createForm(document.getElementById('formio'), 'URLToJSON,EitherFormOrSubmission',
        {
          readOnly: viewSubmission
        }).then((form) => {
          form.on('render', () => {
            if (viewSubmission) {
              for (var i=0; i<$('.formio-form').children().length; i++) {
                if ($('.formio-form').children()[i].children[0].children[0].className.includes("card-header")) {
                  $('.formio-form').children()[i].children[0].children[0].click()
                }
                console.log($('.formio-form').children()[i].children[0].children)
              }
            }
          });
        });
      };

Closed due to no activity. If the issue is still relevant, please reopen


tests(fixtures): fortify service creation

This is an attempt to (maybe) address a mysterious test failure:
https://github.com/Kong/kong/runs/6729326547?check_suite_focus=true
./spec/fixtures/balancer_utils.lua:333: Error 400: {"code":2,"message":"schema violation (host: required field missing)","fields":{"host":"required field missing"},"name":"schema violation"}
stack traceback:
	./spec/fixtures/blueprints.lua:21: in function 'insert'
	./spec/fixtures/balancer_utils.lua:333: in function 'add_api'
	...tion/05-proxy/10-balancer/03-consistent-hashing_spec.lua:207: in function 'test_with_uri'
	...tion/05-proxy/10-balancer/03-consistent-hashing_spec.lua:393: in function <...tion/05-proxy/10-balancer/03-consistent-hashing_spec.lua:388>

This code uses blueprints to create a service object, via the url shorthand. The value of upstream_name in this context is auto-generated by the fixture. I suspect that under some weird circumstance, the generated url is not parse-able, leaving service.host empty.
This changes the behavior such that we set all the fields explicitly instead of using service.url. Hopefully if this condition pops up again, we'll at least get a more meaningful error.

one test errored and looks relevant @flrgh ? https://github.com/Kong/kong/actions/runs/3297346335/jobs/5438058026

one test errored and looks relevant @flrgh ? https://github.com/Kong/kong/actions/runs/3297346335/jobs/5438058026

Checked on this, and the error originates from a different code path in the balancer utils.


Support multiple "magazines.plist" inside the same app

The only impact this change would have is about what was specified in #10.
Instead of ...

Add a modal dialog that will be opened when a user clicks on "Activate". In the this modal dialog, include a form with Title and Subtitle text inputs, and an "Activate" button. When the user clicks on activate, update magazines.plist on the server

.. the new spec is
Add a modal dialog that will be opened when a user clicks on "Activate". In the this modal dialog, include a form with Title and Subtitle text inputs, a dropdown button with the list of all plists present in the app folder (at the root level), and an "Activate" button. When the user clicks on activate, update the plist chosen by the user on the server

Handled with #195


Documentation on how to enable feature gate ShootManagedIssuer is unclear

Documentation on how to enable feature gate ShootManagedIssuer is unclear. This seems to be a different kind of feature gate than eg. UnauthenticatedHTTP2DOSMitigation which goes under `spec.kubernetes.kubeAPIServer.featureGates.
I have tried to add ShootManagedIssuer under spec, spec.kubernetes, spec.gardenlet, spec.kubernetes.kubeAPIServer but the definition either fails with validation error (spec.kubernetes.kubeAPIServer) or is just removed from the yaml (all other places).
Documentation which I have read but which doesn't tell me "where" to enable the feature gate:

https://gardener.cloud/docs/gardener/shoot_serviceaccounts/#managed-service-account-issuer
https://gardener.cloud/docs/gardener/deployment/feature_gates/#list-of-feature-gates

Context

https://sap-btp.slack.com/archives/C9CEBQPGE/p1727178844499599

> kubectl get gardenlet
Error from server (Forbidden): gardenlets.seedmanagement.gardener.cloud is forbidden: User<EMAIL_ADDRESS>cannot list resource "gardenlets" in API group "seedmanagement.gardener.cloud" in the namespace "garden-ag-azbox1"

/area documentation
/kind enhancement
What would you like to be added:
Why is this needed:
People who are not deep in the Gardener context may want to enable Gardenlet Feature Gates (eg. I right now). The documentation is lacking on how to do this.

Issue got resolved. I didn't understand that our Gardener cluster already has this Feature Gates enabled by default.
Annotating the Shoot cluster as described in the next step in the instructions worked.

/close


Error response from daemon: client is newer than server

Description
With recent updates docker-gc is unable to communicate with docker engine server.
How to reproduce
Use latest version of docker-gc with docker 1.10.x
What do you expect
Ideally docker-gc should work with most recent docker engine releases.
As a suggestion - tag docker-gc releases,
thus docker-gc users can pin version and upgrade when they are ready.
What happened instead
Error response from daemon.
Software:
Docker 1.10.3, spotify/docker-gc:latest
Full backtrace
$ sudo docker run --rm -e GRACE_PERIOD_SECONDS=86400 -v /var/run/docker.sock:/var/run/docker.sock -v /etc:/etc spotify/docker-gc
Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.22)

Same issue I ran into using a pinned version of docker.  It would be nice to be able to pin on a version of docker-gc container to match our docker server versions.


Notify HoA events from speakers

Assuming most of ring.com zwave devices are nothing special other than being branded as ring, switch non critical zwave devices to HoA.

Biggest blocker for doing that would be notification with sound that is currently played by ring base station.

Someone says (home-assistant.io):

Google Mini is a popular choice, which I have but haven't thought of linking to HASS. Maybe I should try. This thread veifies.
If you use the speakers for playing music, constant interruption from HASS notification would be an annoyance.

So let's try Google Mini approach.
In HASS things

Google Assistant integration

[x] Start HASS Cloud https://github.com/130s/hut_10sqft/issues/626
[x] Google Home shows devices that are registered on my HASS network.
[ ] Google Cloud Platform configuration

Then maybe things like Alert integration lets me send notification?

Add the google_assistant integration configuration to your configuration.yaml file and restart Home Assistant following the configuration guide below.

Hmm. I've never had to modify configuration.yaml by myself as I've been configuring HASS via lovelace only. Automatic setup via Home Assistant Cloud doesn't explictly indicates what step should be taken, but on my Google Home app I already see devices that are only connected to HASS, so I assume Google Assistant integration is already done by integrating HASS and Google Home??

Add services in the Google Home App (Note that app versions may be slightly different.)

Open the Google Home app.
Click the + button on the top left corner, click Set up device, in the “Set up a device” screen click “Works with Google”. You should have [test] <Action Name> listed under ‘Add new’. Selecting that should lead you to a browser to login your Home Assistant instance, then redirect back to a screen where you can set rooms and nicknames for your devices if you wish.

This fails. I'm sure account and password are correct as I'd get account error if I use a wrong one. Then after passing MFA creds I see "Could not reach [test]. Please try again".

I can see an error on console.cloud.google.com, although I can't find any useful info from this log for debugging.
{
insertId: "19saf03fut7w3a"
jsonPayload: {
syncLog: {
syncs: [1]
}
}
logName: "projects/bridge-home-assistant/logs/assistant_smarthome%2Fassistant_smarthome_logs"
receiveTimestamp: "2021-12-24T05:25:34.778976819Z"
resource: {
labels: {
project_id: "bridge-home-assistant"
}
type: "assistant_action_project"
}
severity: "ERROR"
timestamp: "2021-12-24T05:25:34.778976819Z"
}

While logged on, opening https://%MY_HASS_ID%.ui.nabu.casa/api/google_assistant shows 404 Not found, instead of 405: Method Not Allowed.
Items fixed:

In Scope, actually type in "email", "name" instead of typing in my email addresses.
In "Fulfilment URL", remove double slash (I had casa//api, like casa/api)

Still not good.
As some people e.g. https://community.home-assistant.io/t/google-assistant-is-not-working-anymore-could-not-reach-app-name-test-please-try-again/314976/17 are saying IP port was their issue. I set Port Forwarding on my router e.g. External 9123, Internal 443 on the address HASS server runs on, but no good.
I'll check if Ubuntu Core and snap are not allowing 443 inbound access or not.

Not sure about the status of the posts above, but regarding the original usecase, I've realized in In https://github.com/kinu-garage/hut_10sqft/issues/856.
So closing.


Add a docker config for the demo uma vasp

Current dependencies on/for this PR:

main

PR #56   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 19, 5:19 PM: @jklein24 merged this pull request with Graphite.


Create profile fragment

Create a fragment for the user profile UI that the login will direct to.  Done when the profile page looks like high fidelity model.

DOD. Created and completed profile fragment.


ORC-1059: Align findColumns behaviour between 1.6 and 1.7 release

What changes were proposed in this pull request?
When trying to bump Apache Hive to 1.7 I noticed query failures related to SArgs pushdown.
In more detail, Hive may push Partition column filters that are not part of the columns, until 1.6 recently these columns were ignored, while 1.7 throws IllegalArgumentException. ORC-741 introduced this behavior change in Apache ORC 1.7.0.
Why are the changes needed?
Align findColumns behaviour between 1.6 and 1.7 release
How was this patch tested?
Existing tests

I cherry-picked this to branch-1.7 for Apache ORC 1.7.2 release.

cc @pavibhai and @omalley

Thanks for the quick review @dongjoon-hyun !
This will definitely help us bump to 1.7 quickly (e.g., next 1.7 release) but I was thinking that throwing an exception when a SArg column is not found is probably a better approach than just logging.
I suggest we keep this in mind for 1.8 (and switch back to that behaviour) where we could align downstream consumers like Hive to only push SArgs for columns that are part of the schema.

Is it okay when we handle multiple ORC files in Hive schema evolutions?

I was thinking that throwing an exception when a SArg column is not found is probably a better approach than just logging.

In many cases, Hive partitions might have different schemas. The simplest case is having new columns additionally in new partitions. If a user run a query for all partitions, SArg columns can have new columns which old partitions don't have.
Apache Spark checks the physical schema when we open a file and try to adjust the missing columns. Given this PR's description, Apache Hive doesn't, right?
For me, throwing an exception could be too intrusive and the AS-IS status (-1) would be enough.

BTW, let me try to test the status of branch-1.7 and roll a new release for Apache Hive, @pgaref .


log4j-api - Minor improvements:

Remove Unused import
Unnecessary interface modifier
Replace array whit empty parameter
Inline variable
Simplify "if else"

Thanks for your contribution @arturobernalg! Really appreciated! If you address the small remarks I have raised, I can merge your changes.

HI @vy
Thank you for the feedback. I've made the change  but with one little change. What do you think?
return Objects.equals(list, otherAsList);
TY


Dijsktra's Algorithm

shortest paths from source to all vertices in the given graph

@MuskanChoyla  contribute to https://github.com/Ishaan28malik/Get-Dev-Resources instead


Design System: Add input component

Summary
Adds a checkbox component to the design system.
Designs
Relevant Technical Choices

Using a label with a memoized uuid as the htmlFor property to make sure screen readers can associate the label to the input. This can be overridden using the id property

To-do
none
User-facing changes
none
Testing Instructions
The input can be seen in storybook under `

go to Design System -> Components -> Checkbox

Fixes #4949

@swissspidy seems like percy's never finishing here, any tricks we could try?

@swissspidy seems like percy's never finishing here, any tricks we could try?

I think it's because the karma tests are never finishing in the first place because they are so flakey at the moment. 😞


nasm Error when compilig for other x86_64 architecture.

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution: Ubuntu 21.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: no
TensorFlow installed from (source or binary): source
TensorFlow version: master
Python version: 3.9
Installed using virtualenv? pip? conda?: no
Bazel version (if compiling from source): 3.7.2
GCC/Compiler version (if compiling from source): 8
CUDA/cuDNN version: no
GPU model and memory: no
Host processor architecture: Coffee Lake  (i7-8750H)
Destination architecture: Ice Lake

Describe the problem
When trying to compile TF for Ice Lake, I got the following error when in the libjpeg_turbo dependency:
/bin/bash: line 1:  1429 Illegal instruction     (core dumped) bazel-out/k8-opt/bin/external/nasm/nasm -f elf64 -DELF -DPIC -D__x86_64__ -I $(dirname bazel-out/k8-opt/bin/external/libjpeg_turbo/jconfig.h)/ -I $(dirname bazel-out/k8-opt/bin/external/libjpeg_turbo/jconfigint.h)/ -I $(dirname external/libjpeg_turbo/simd/nasm/jsimdcfg.inc.h)/ -I $(dirname external/libjpeg_turbo/simd/x86_64/jccolext-sse2.asm)/ -o $out $(dirname external/libjpeg_turbo/simd/x86_64/jccolext-sse2.asm)/$(basename ${out%.o}.asm)
Target //tensorflow/tools/pip_package:build_pip_package failed to build

Provide the exact sequence of commands / steps that you executed before running into the problem

Clone this repository. I am using master branch
Set the following env vars:

export BAZEL_VERSION=
export BUILD_AVX2_CONTAINERS=no
export BUILD_AVX_CONTAINERS=no
export BUILD_CLX_CONTAINERS=no
export BUILD_ICX_CLIENT_CONTAINERS=no
export BUILD_ICX_SERVER_CONTAINERS=yes
export BUILD_PY2_CONTAINERS=no
export BUILD_SKX_CONTAINERS=no
export BUILD_SSH=no

export BUILD_TF_BFLOAT16_CONTAINERS=no
export BUILD_TF_V2_CONTAINERS=yes

export ENABLE_DNNL1=no
export ENABLE_GCC8=no
export ENABLE_HOROVOD=no
export ENABLE_SECURE_BUILD=yes

export FINAL_IMAGE_NAME=test/optimized-tensorflow

export OPENMPI_DOWNLOAD_URL=
export OPENMPI_VERSION=
export HOROVOD_VERSION=
export INSTALL_HOROVOD_FROM_COMMIT=no
export IS_NIGHTLY=no
export RELEASE_CONTAINER=no

export TF_BUILD_VERSION_IS_PR=no
export TF_BUILD_VERSION=master

export TF_DOCKER_BUILD_DEVEL_BRANCH_IS_PR=no
export TF_DOCKER_BUILD_DEVEL_BRANCH=master

export TF_REPO=https://github.com/tensorflow/tensorflow

export ROOT_CONTAINER_TAG=latest-python3.9
export ROOT_CONTAINER=tensorflow/build

go to directory master/tensorflow/tools/ci_build/linux/mkl
run: build-dev-container.sh

Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached
compilation.log
I also changed the bazel execution line in the dockerfile to limit the number of jobs and provide more info when faling:
$ git diff Dockerfile.devel-mkl
diff --git a/tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl b/tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl
index 55f68a73..d1c3a35f 100755
--- a/tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl
+++ b/tensorflow/tools/ci_build/linux/mkl/Dockerfile.devel-mkl
@@ -68,7 +68,7 @@ RUN echo "import /root/.mkl.bazelrc" >>/root/.bazelrc
 # Install futures>=0.17.1 for Python2.7 compatibility mode
 RUN ${PIP} install future>=0.17.1

-RUN bazel --bazelrc=/root/.bazelrc build -c opt \
+RUN bazel --bazelrc=/root/.bazelrc build -c opt --jobs=4 --verbose_failures \
     tensorflow/tools/pip_package:build_pip_package && \
     bazel-bin/tensorflow/tools/pip_package/build_pip_package "${TF_NIGHTLY_FLAG}" "${WHL_DIR}" && \
     ${PIP} --no-cache-dir install --upgrade "${WHL_DIR}"/*.whl && \

I am not sure if this is the way of doing this kind of compilation of if I need to compile it in a Icelake machine.

Please use TF SIG Build's Docker images.

Hi @learning-to-play ,
Could you elaborate a little bit more ? As far as I can see, the build-container-dev.sh is running a docker build ... -f Dockerfile.devel-mkl, and in this dockerfile you can see: FROM ${ROOT_CONTAINER}:${ROOT_CONTAINER_TAG}, and those environment variables are set to:
export ROOT_CONTAINER_TAG=latest-python3.9
export ROOT_CONTAINER=tensorflow/build

So it is using the images indicated in the link you provided.

I found the issue.
It was that nasm was compiled with AVX instructions (BUILD_ICX_SERVER_CONTAINERS=yes) and the machine were I was building TF has not those instructions.
It would be nice if the intermediate tooling used to build TF can be excluded of using those flags and only the final "product" is compiled using them. This way it would be possible to compile on any processor generation.


how to run the app

i did pip install -r requirements.txt successfully. now what? how do i run the app?

I can't fully get it working, but a good start would be:

In the terminal: fastapi dev server.py
Go to the API docs: https:/<IP_ADDRESS>:8000/docs
On the "batch" route update the parameters
I.e. Try it out > update the path
Update incognito=true (if you want to use ollama)

It seems time to do a normal description of the project startup process with use cases

Please create a tutorial and graphical user interface!

Yeah I don't really get how this has 3.5k stars but barely any instructions for achieving the use case. And "ollama pull moondream" doesn't work on windows

Set Up the GUI Application

Navigate to the Electron React app directory:
cd electron-react-app
Ensure you have npm (Node Package Manager) installed.
Install the necessary dependencies:
 npm install
Start the desktop application:
npm start

I am having issues running the Electron app, but I am hoping others have better luck.

Yeah I don't really get how this has 3.5k stars but barely any instructions for achieving the use case. And "ollama pull moondream" doesn't work on windows

Same on MacOS: "command not found: ollama"

Yeah I don't really get how this has 3.5k stars but barely any instructions for achieving the use case. And "ollama pull moondream" doesn't work on windows

I'm just as confused, the instructions are there but they just don't really make a lot of sense, granted im a complete noob but still

On MacOS, using the current version of Node, i.e. Node 22, I get
$ npm install
npm error Invalid property "node"

Reverting to Node 18 (using for ex brew install node@18 fixes it for me


Shop stats

CURRENT
Main page = keepalive.games.genie.shop_menu.page

List of items to buy = keepalive.games.genie.shop_list.page

Click on an item to buy = keepalive.games.genie.shop_confirm.page

List of items to manage = keepalive.games.genie.shop_list.page

Click on an item to manage= no idea because I've run out of currency

WHAT WE WANT
All page counternames need minor changes
Main page = keepalive.games.genie.<shop>menu.page

List of items to buy = keepalive.games.genie.<shop>buy.page

Click on an item to buy = keepalive.games.genie.<shop>buyconfirm.page

List of items to manage = keepalive.games.genie.<shop>manage.page

Click on an item to manage= keepalive.games.genie<shop>manageconfirm.page

<shop> being the customizable shop name```

There is still one reliance on checking the scene key - I've added a note to the documentation saying the shops should contain 'shop' in the key. Even if the key doesn't match you'll still get the correct stats, you'll just get some redundant outdated ones too.
Going to merge this in now as it works well enough to match the ACs.


Add sort-by effectivePriority for antctl get networkpolicy

This PR aims to solve #1388

Adds an option --sort-by=effectivePriority for antctl get networkpolicy, which sorts the Antrea internal controlplane NetworkPolicy objects by the order in which they are evaluated.
antctl get networkpolicy displays tier priority and policy priority by default

Codecov Report

Merging #1530 (3079f01) into master (d1e0624) will decrease coverage by 13.08%.
The diff coverage is 24.13%.

@@             Coverage Diff             @@
##           master    #1530       +/-   ##
===========================================
- Coverage   67.58%   54.50%   -13.09%
===========================================
  Files         169      159       -10
  Lines       13465    12486      -979
===========================================
- Hits         9100     6805     -2295
- Misses       3420     4813     +1393
+ Partials      945      868       -77

Flag
Coverage Δ

integration-tests
45.73% <ø> (ø)

kind-e2e-tests
48.77% <24.13%> (-6.51%)
:arrow_down:

unit-tests
?

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

Impacted Files
Coverage Δ

.../agent/apiserver/handlers/networkpolicy/handler.go
41.26% <24.13%> (-17.07%)
:arrow_down:

pkg/controller/networkpolicy/crd_utils.go
0.00% <0.00%> (-94.65%)
:arrow_down:

pkg/controller/networkpolicy/tier.go
0.00% <0.00%> (-90.00%)
:arrow_down:

pkg/apis/controlplane/v1beta1/conversion.go
1.35% <0.00%> (-86.49%)
:arrow_down:

pkg/controller/networkpolicy/endpoint_querier.go
2.70% <0.00%> (-83.79%)
:arrow_down:

pkg/agent/util/iptables/lock.go
0.00% <0.00%> (-81.82%)
:arrow_down:

pkg/agent/controller/networkpolicy/priority.go
8.66% <0.00%> (-81.34%)
:arrow_down:

pkg/cni/client.go
0.00% <0.00%> (-75.52%)
:arrow_down:

pkg/apis/controlplane/helper.go
25.00% <0.00%> (-75.00%)
:arrow_down:

pkg/apis/controlplane/v1beta2/helper.go
25.00% <0.00%> (-75.00%)
:arrow_down:

... and 73 more

I think sorting functionality is typically done on the client-side instead of making the server do this work. This is the case for kubectl for example: https://github.com/kubernetes/kubernetes/issues/80602#issuecomment-515301618
One advantage of sorting client-side would be that we could support "sort by effective priority" when using antctl in controller-mode without having to introduce a new API. @tnqn what do you think?

I think sorting functionality is typically done on the client-side instead of making the server do this work. This is the case for kubectl for example: kubernetes/kubernetes#80602 (comment)
One advantage of sorting client-side would be that we could support "sort by effective priority" when using antctl in controller-mode without having to introduce a new API. @tnqn what do you think?

I agree with @antoninbas, and the apiserver lib doesn't support --sort-by option so we don't have a way to specify the intention for antrea-controller.

I think sorting functionality is typically done on the client-side instead of making the server do this work. This is the case for kubectl for example: kubernetes/kubernetes#80602 (comment)
One advantage of sorting client-side would be that we could support "sort by effective priority" when using antctl in controller-mode without having to introduce a new API. @tnqn what do you think?

I agree with @antoninbas, and the apiserver lib doesn't support --sort-by option so we don't have a way to specify the intention for antrea-controller.

So if we move this to the client side, does it mean we sort the NetworkPolicies by effective priority by default? since it does not take --sort-by option

I think sorting functionality is typically done on the client-side instead of making the server do this work. This is the case for kubectl for example: kubernetes/kubernetes#80602 (comment)
One advantage of sorting client-side would be that we could support "sort by effective priority" when using antctl in controller-mode without having to introduce a new API. @tnqn what do you think?

I agree with @antoninbas, and the apiserver lib doesn't support --sort-by option so we don't have a way to specify the intention for antrea-controller.

So if we move this to the client side, does it mean we sort the NetworkPolicies by effective priority by default? since it does not take --sort-by option

I believe the fact that we do not support flags for controller commands (resourceEndpoint) is more a current limitation of the framework. There is no technical reason not to support flags. Currently these commands all support --name and --namespace:
https://github.com/vmware-tanzu/antrea/blob/b1745fc8852578dae6e124cc48d3c3f607cdbce4/pkg/antctl/command_definition.go#L112.
In theory all commands could support --sort-by (like kubectl does), but that would require implementing that functionality (using JSON paths). I believe it would be fine for now to extend the resourceEndpoint struct to support custom command-specific flags, and only add --sort-by for get netpol (with effectivePriority being the only supported value).

/test-all


admin portal 500 after change of SQL admin password

In order to regain access to an orphaned deployment, our devops had to add admin users to the database - after resetting the password. But by this the service is not able to connect to the DB (http 500).
Where/how can we fix this connection issue without a complete redeployment?

Hi @rgaborgithub1 if the password has been changed, please update that in your keyvault

Please reopen if you have further questions